frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why Cheap Used Cars Are So Hard to Find

https://www.nytimes.com/2026/09/11/your-money/buying-used-cars.html
1•bookofjoe•1m ago•1 comments

Tiny village votes for 'independence' from UK amid asylum seeker row

https://www.manchestereveningnews.co.uk/news/uk-news/tiny-village-votes-independence-uk-34623788
1•Danhale93•2m ago•0 comments

High context and low context environments

https://notnottalmud.substack.com/p/on-high-context-and-low-context-environments
1•theblazehen•4m ago•0 comments

The Boox Palma 3 gets stylus support and a sleek redesign

https://www.theverge.com/tech/995826/boox-palma-3-e-ink-reader-pocket-smartphone-android-16
1•ndrake•5m ago•0 comments

EU Chief calls for Canada to become bloc's first associate member

https://www.theglobeandmail.com/world/article-eu-chief-canada-first-associate-member-carney-von-d...
2•arunbahl•6m ago•0 comments

A girl with a will to live: the love, hope and pain of raising Elsie

https://www.theguardian.com/lifeandstyle/2026/sep/16/love-hope-pain-raising-elsie-rare-genetic-di...
1•ljf•7m ago•0 comments

14,000 Security Guards for Major Tech Companies Plan to Strike

https://www.kqed.org/news/12099765/14000-security-guards-for-major-tech-companies-plan-to-strike
1•PLenz•7m ago•0 comments

I Only Wanted the Tests to Run Faster

https://www.differentshelf.com/i-only-wanted-the-tests-to-run-faster/
1•seductivebarry•10m ago•0 comments

JJ Con '26 [video]

https://www.youtube.com/watch?v=DFjbAsWQ9ns
2•joshka•12m ago•0 comments

The Google Play app review process now regularly takes longer than a week

https://gultsch.social/@daniel/117280438824908947
2•inputmice•12m ago•0 comments

I Made a Time Machine

https://1matin.com/time-machine/
1•1matin•14m ago•0 comments

Is anyone else losing their motivation to nerd out and tinker because of AI?

1•rizsyed1•15m ago•1 comments

Anna Holmes on Saying No and Yes

https://www.cjr.org/the-interview/anna-holmes-saying-no-and-yes-jezebel-founder-struggle-freedom-...
1•Tomte•15m ago•0 comments

Nvidia announces native GPU programming in Rust

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
1•nonmaskable•16m ago•0 comments

Europe Time Machine, an interactive map of Europe's borders

https://europe-time-machine.vercel.app/
1•bebanR•17m ago•0 comments

Ask HN: How do you prevent customer PII from reaching LLMs unnecessarily?

1•Securelytixdev•18m ago•0 comments

An LLM-Turbocharged Community Calendar Reboot (2024)

https://thenewstack.io/an-llm-turbocharged-community-calendar-reboot/
1•zeristor•18m ago•1 comments

Devastated father says his 9-year-old son spent $118,000 on YouTube ads

https://www.tomshardware.com/video-games/devastated-father-says-his-9-year-old-son-spent-usd118-0...
4•vanburen•18m ago•1 comments

Silly Sound Bastard It is yet another clone of the well known Covox Speech Thing

https://github.com/necroware/silly-sound-bastard
1•Bluestein•25m ago•0 comments

Should markets discount the AI apocalypse?

https://www.ft.com/content/845a7c03-15b4-4bff-a49c-25781287b75c
1•cc62cf4a4f20•25m ago•0 comments

Cyber Defense for the Hybrid Enterprise in the Age of AI

https://www.ciscopress.com/store/cyber-defense-for-the-hybrid-enterprisein-the-age-of-9780135472781
1•teleforce•26m ago•0 comments

AI models need more data about biology, and OpenAI is paying to create it

https://www.technologyreview.com/2026/09/15/1144129/ai-models-need-more-data-about-biology-and-op...
1•joozio•29m ago•0 comments

Show HN: Omastorm – Live NEXRAD weather radar for Omarchy

https://github.com/wesleygrimes/omastorm
1•wesgrimes•30m ago•0 comments

Apodex – FrontierAgent

https://github.com/ApodexAI/FrontierAgent
1•marksully•31m ago•0 comments

Internal Tool Delegation for Agents vs. External Payment Auth

https://skyfire.xyz/ai-agent-authentication-authorization-platforms/
1•mooreds•32m ago•0 comments

Ask HN: What is the most career altering course or book you have gone through?

3•learner_yearner•33m ago•2 comments

China's open-weight AI models are now just 4 months behind frontier US offerings

https://www.tomshardware.com/tech-industry/artificial-intelligence/chinas-open-weight-ai-models-a...
2•rbanffy•33m ago•0 comments

What writing for the Washington Post taught me about standup comedy

https://pammoore.substack.com/p/what-writing-for-the-washington-post
1•mooreds•34m ago•0 comments

Mythos 5 Transcript Release

https://github.com/anthropics/mythos-5-incident-transcript
2•marksully•34m ago•0 comments

HP ZBook Ultra G3a 16 Preview: 192GB Unified Memory Aims for Top Local AI Laptop

https://www.storagereview.com/review/hp-zbook-ultra-g3a-16-preview-192gb-of-unified-memory-aims-f...
1•rbanffy•35m 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.

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/

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 ?