frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mitigating Ongoing Supply Chain Attacks

https://hawksley.dev/blog/supply-chain-attacks/
1•ethanhawksley•1m ago•0 comments

Eric Schmidt booed at University of Arizona after praising AI

https://bsky.app/profile/404media.co/post/3mm2ivguvq22x
3•poisonfountain•2m ago•0 comments

The mistake of conflating intelligence and power

https://www.dwarkesh.com/p/the-mistake-of-conflating-intelligence
1•crescit_eundo•4m ago•0 comments

The Long History of the Figurative 'Literally' (2023)

https://www.mentalfloss.com/language/words/famous-writers-used-literally-figuratively
1•theanonymousone•5m ago•0 comments

Microsoft warns of Exchange zero-day flaw exploited in attacks

https://www.bleepingcomputer.com/news/microsoft/microsoft-warns-of-exchange-zero-day-flaw-exploit...
4•billybuckwheat•6m ago•0 comments

Enabling Resizable Bar on RTX 3080 Vbios via GitHub

https://github.com/danindiana/rtx3080-rebar-vbios/tree/master
1•linux_lorax•7m ago•0 comments

Smartmedia Card Spec Opened, available free (2000)

https://www.edn.com/smartmedia-card-interface-spec-opened-available-for-free/#google_vignette
1•brudgers•10m ago•0 comments

Growing Neural Cellular Automata

https://distill.pub/2020/growing-ca/
2•pulkitsh1234•12m ago•0 comments

Bun Audit: Add UB-exorcism audit workspace and executive guide

https://github.com/oven-sh/bun/pull/30903
1•gmays•14m ago•0 comments

Show HN: GPT-2 inference in pure C#, 0 bytes allocated per token

https://github.com/DevOnBike/Overfit
1•dev-on-bike•16m ago•0 comments

Ex150nosauce+ACV-6: new all-time low.. by 1lb

https://www.exfatloss.com/p/ex150nosauceacv-6-new-all-time-low
1•paulpauper•16m ago•0 comments

Swatch stores close for second day after crowds

https://www.bbc.co.uk/news/articles/c302vjqz563o
3•hmmmmmmmmmmmmmm•19m ago•0 comments

Consider the Sister

https://www.thesmallbow.com/p/consider-the-sister-2b94
1•NaOH•20m ago•0 comments

Show HN: Cooklang Rich Preview

https://cook.sjer.red
1•shepherdjerred•20m ago•0 comments

Energy return in running shoes explained (2025)

https://runrepeat.com/guides/energy-return-in-running-shoes
4•jstrieb•21m ago•0 comments

Show HN: HypergraphZ – directed hypergraph library in Zig with Python bindings

https://github.com/yamafaktory/hypergraphz
1•yamafaktory•24m ago•0 comments

Russia pressures university students to become wartime drone pilots

https://arstechnica.com/gadgets/2026/05/russia-pressures-university-students-to-become-wartime-dr...
2•Bender•25m ago•0 comments

Continuous Modeling, or What Happens to the Model on Tuesday?

https://docs.eventsourcingdb.io/blog/2026/05/18/continuous-modeling-or-what-happens-to-the-model-...
1•goloroden•28m ago•0 comments

Why Crouching Tiger, Hidden Dragon Is a Masterpiece

https://yusufaytas.com/why-crouching-tiger-hidden-dragon-is-a-masterpiece
10•yusufaytas•28m ago•1 comments

Trapped in the dark web – a crisis growing in the shadows

https://apps.bostonglobe.com/2026/05/business/trapped-dark-web/child-exploitation-exploding-online/
1•abawany•29m ago•1 comments

Classic 7 is Windows 10 LTSC cosplaying as Windows 7

https://www.theregister.com/oses/2026/05/17/classic-7-is-windows-10-ltsc-cosplaying-as-windows-7/...
2•Bender•29m ago•0 comments

Pause App

https://pauseapp.space
2•coldcosmas•29m ago•0 comments

AI-generated code is 'pain waiting to happen'

https://www.theregister.com/ai-ml/2026/05/16/ai-generated-code-is-pain-waiting-to-happen/5241574
4•Bender•31m ago•0 comments

Temperate super-Earth found orbiting nearby red dwarf Ross 318

https://www.stellarcatalog.com/news/ross-318-temperate-super-earth-found
1•speckx•32m ago•0 comments

How to Start Investing with $100

https://comuniq.xyz/post?t=1095
1•01-_-•34m ago•0 comments

Microsoft is 1.84 Peters, Google is 0.66. What's the Peter unit?

https://github.com/zozo123/peter-gt-your-org
7•zozo123OR0x90•35m ago•1 comments

OpenSparrow – Open-source admin panel builder with zero dependencies

https://opensparrow.org/
1•tomaszwrobel•36m ago•0 comments

Rolling Shutter Demo

https://chiuhans111.github.io/spin/
1•Eduard•37m ago•1 comments

Journey to King Edward VIII Falls, Tallest Waterfall in Guyana

https://twitter.com/bronzebust/status/2056038216994529329
2•telotortium•38m ago•0 comments

Subscription Bombing: Email Under Attack

https://cacm.acm.org/practice/subscription-bombing-email-under-attack/
1•birdculture•39m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

https://appetrosyan.github.io/posts/emacs-widget.html
48•signa11•1y ago

Comments

spit2wind•1y ago
There's also the Emacs Widget Library[1] (which I hoped this posted would be about). It's a plain text widget library that's quite powerful. Unfortunately (and surprisingly for Emacs), the documentation for it could use some love.

My understanding of the Widget Library is that it attaches various keywords and plists to a symbol which is considered the "widget". The library otherwise consists of functions that expect certain keywords on the "widget" symbol in order to perform actions or to be drawn on the screen.

The challenge is, the documentation doesn't clearly lay out what the keyword API is. This makes it hard to compose widgets in ways beyond what's shown in the docs.

[1] https://www.gnu.org/software/emacs/manual/html_mono/widget.h...

appetrosyan•1y ago
The idea is that we extend that and give it direct access to SDL. Such that we can e.g. run a shader in the buffer background, or allow you to have floating windows (frames) interacting with each other.

I am very aware of the advantages conferred by TUI and I seek to expand those to the GUI; not dumb-down to the level of modern GUI toolkits (that to be fair are dealing with a completely different problem). Hopefully, this can lead to some ideas being easier to implement from within Emacs.

_mlbt•1y ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•1y ago
Personally, and contrary to the article, I do prefer Emacs's plain text widgets over more "GUI-like" ones. Plain text widgets minimize the differences between TUI and GUI Emacs and also inherently offer text selection, searching, copying, and pasting, which nicely integrates with Emacs. I mean, not many GUI frameworks let you place a cursor within a button and select its text, do they? I believe this is a unique advantage of text-based widgets: while other GUI applications require a dedicated mechanism for searching through their settings, text-based widgets allow you to use any text-searching packages to perform these actions.

Reading through the article, the author seems to be hoping for a pure GUI approach with Emacs-like navigation mechanisms, but I am not convinced that this can be as flexible as text-based widgets. However, for packages used exclusively within a GUI environment (like el-easydraw [1], which relies quite heavily on SVG-based widgets), it would be nice to have a dedicated GUI widget library.

(There was a discussion on Reddit about this a week ago [2], and I saw some comments defending GTK and PGTK that might be worth reading.)

[1] https://github.com/misohena/el-easydraw/

[2] https://www.reddit.com/r/emacs/comments/1kcgwme/the_emacs_wi...

appetrosyan•1y ago
Author of the article.

This is what I was referring to when I talked about "rich verbs".

Many people feel that way. The idea here is not to tell you that you're wrong, but understand what you want and do it better on the GUI side. TUIs can do a lot and we should recognise their benefits. GUIs can do that too, and can sometimes do better things.

The text-based widgets done graphically do the trick. We can add stuff that can't be done in a TUI and see if they give you anything useful. If it can be done with text widgets means that it can be done in principle. GTK can't do it, and that's why I'm leaving it behind.

> (There was a discussion on Reddit about this a week ago [2], and I saw some comments defending GTK and PGTK that might be worth reading.)

The author of those comments abused their power on reddit. I will not get into the weeds, just say that I'd be happy to respond to the critique presented here in good faith.

robobro•1y ago
Why did you delete the page?
appetrosyan•1y ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•1y ago
I agree and only use emacs in the console and love it. With the advent of lsp modes and real time typescript and linting it’s fantastic. But one thing I don’t like about the console is when LSP mode is giving you an in-line error on the right side of the terminal it’s wrapped and beautifully interspersed amongst your code, but it’s impossible to select multi line errors in order to paste into tools like ChatGPT. Since selecting the error, also selects your code on the left side.

Anyone have a good solution to this ?

LargoLasskhyfv•1y ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

https://old.reddit.com/r/emacs/comments/1hlj04t/emacs_using_...

appetrosyan•1y ago
That's the best thing to do for the moment.
robobro•1y ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

appetrosyan•1y ago
Hi. I just migrated my blog to Hugo yesterday. The correct link is:

https://appetrosyan.github.io/posts/emacs-widget/