frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

1•invariantjason•18s ago

Your AI Use Is Breaking My Brain

https://www.404media.co/your-ai-use-is-breaking-my-brain/
1•simonw•47s ago•0 comments

Show HN: Hivemind turns agent traces into skills and shares with your team

https://github.com/activeloopai/hivemind
1•davidbuniat•1m ago•0 comments

AI-powered hacking has exploded into industrial-scale threat, Google says

https://www.theguardian.com/technology/2026/may/11/ai-powered-hacking-industrial-scale-threat-thr...
1•chrisjj•2m ago•0 comments

Swiss Cheese Model

https://en.wikipedia.org/wiki/Swiss_cheese_model
1•nathanh•2m ago•0 comments

U.S. Estimated to Have Only 50 Thaad Interceptors Remaining [pdf]

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-04/260424_Cancian_Park_Last_Rounds.pdf
2•tcp_handshaker•5m ago•0 comments

Free attachment style quiz and personalized assessment

https://www.pasthepast.com/p/free-attachment-style-quiz-personalized
1•ElysiumAbove•5m ago•0 comments

Unpacking OpenAI and Anthropic's consulting joint ventures

https://www.aienablementinsider.com/p/unpacking-openai-and-anthropic-s-latest-pe-joint-ventures
2•dylancollins•5m ago•1 comments

3M Word2Vec vectors searched locally on an ESP32-S3

https://github.com/brunokeymolen/nn20db-word2vec
1•brunokeymolen•6m ago•1 comments

Marco Polo: Finding a friend with only distance and motion

https://www.jackhogan.me/blog/marco-polo
1•jackhogan11•6m ago•0 comments

1997 FW19 F1 Car for Sale Is a Reminder of When Williams Could Win

https://www.thedrive.com/news/1997-fw19-f1-car-for-sale-is-a-reminder-of-when-williams-could-win
1•PaulHoule•10m ago•0 comments

A financial crisis may be coming – it won't be like last time

https://www.bbc.com/news/articles/cp3p5l0nyevo
5•speckx•11m ago•0 comments

Chatbots Need Guardrails to Prevent Delusions and Psychosis

https://spectrum.ieee.org/mental-health-chatbot-guardrails
1•oldnetguy•11m ago•0 comments

Show HN: SLayer, a semantic layer maintained by your agent

https://github.com/MotleyAI/slayer
3•yannranchere•13m ago•0 comments

Exploring 8 Shaft Weaving

https://algorithmicpattern.org/2026/03/11/exploring-8-shaft-weaving/
2•surprisetalk•13m ago•0 comments

The Problem of Pedagogy in Advanced Mathematics

https://susam.net/advanced-mathematics-pedagogy.html
3•Brajeshwar•15m ago•0 comments

The Cognitive Overload of AI Development

https://dataengineeringcentral.substack.com/p/the-cognitive-overload-of-ai-development
5•eigenBasis•16m ago•0 comments

Welcome to go-acme/Lego v5

https://ldez.github.io/blog/2026/05/11/lego-v5/
3•linsomniac•16m ago•0 comments

Creativity is three trainable things. You're probably working on the wrong one

https://appliedcraft.blog/posts/creativity-three-components.html
2•theeBugger•17m ago•0 comments

Best Headless CMS for SEO (Top Pick in 2026)

https://focusreactive.com/blog/the-best-headless-cms-for-seo-in-2026/
1•katyadrozd•18m ago•0 comments

One Year Since "Liberation Day" Tariffs– The Economists Were Right

https://www.nominalnews.com/p/liberation-day-tariffs-one-year-research
4•NomNew•19m ago•0 comments

Geography Is Four-Dimensional

https://sive.rs/4d
3•herbertl•20m ago•0 comments

Tanking is ruining NBA basketball. Can math save it?

https://www.scientificamerican.com/article/tanking-is-ruining-nba-basketball-can-math-save-it/
4•0in•20m ago•0 comments

Prosecutors Investigating Drugs-for-Votes Scheme Were Told Not to Pursue Charges

https://www.propublica.org/article/trump-doj-puerto-rico-election-fraud-prison-drugs-votes
1•hn_acker•21m ago•1 comments

Iran's two-tier internet access fuels anger and exposes cracks in the regime

https://www.cnn.com/2026/05/10/middleeast/iran-internet-pro-blackout-access-vpn-intl
7•mohi-kalantari•23m ago•1 comments

AI Targeting Firm Faces Protests for Shipments to Israeli Military

https://theintercept.com/2026/05/05/portland-sightline-ai-surveillance-drones-israel/
3•speckx•24m ago•0 comments

BuzzFeed (Still Exists) Missed a Debt Payment, Could Default

https://www.amediaoperator.com/news/buzzfeed-still-exists-missed-a-debt-payment-could-default/
3•thm•24m ago•0 comments

Software engineering may no longer be a lifetime career

https://www.seangoedecke.com/software-engineering-may-no-longer-be-a-lifetime-career/
11•movis•24m ago•3 comments

The Interstitium, the Human Body's Hidden Pathways

https://www.nytimes.com/interactive/2026/05/11/magazine/interstitium-anatomy-acupuncture-medicine...
1•tmoertel•25m ago•0 comments

Mechanical Pencil: An illustrated celebration of the engineering around us

https://mechanical-pencil.com/
2•herbertl•26m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•12mo 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•12mo 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•12mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•12mo 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•12mo 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•12mo ago
Why did you delete the page?
appetrosyan•12mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•12mo 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•12mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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