frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The End of Gangs – Policing and Crime in Los Angeles

https://psmag.com/social-justice/the-end-of-gangs-los-angeles-southern-california-epidemic-crime-...
1•caycep•49s ago•0 comments

John Deere to Pay $99M in Monumental Right-to-Repair Settlement

https://www.thedrive.com/news/john-deere-to-pay-99-million-in-monumental-right-to-repair-settlement
2•CharlesW•2m ago•0 comments

The Journal of Post-Constructivist Economics and Strategic Non-Delivery

https://claude.ai/public/artifacts/4d98eaa0-b71c-48ad-b930-1cfc6e15bc7b
1•measurablefunc•2m ago•0 comments

Agents Can Steal Your Files [video]

https://www.youtube.com/watch?v=fJY5IAGU7U4
1•dangtony98•4m ago•0 comments

Show HN: Give Claude Code disposable servers to work on tasks in parallel

https://www.gibil.dev/
1•AlexFromTwelve•4m ago•0 comments

Grammaticus Maximus

https://magludo.itch.io/gramax
1•goekjclo•5m ago•0 comments

Show HN: A website to track live music attendance

https://www.showcount.com/
1•henryrobbins00•6m ago•0 comments

What if you could test ideas on simulated users before building them?

https://www.askreplicas.com
1•PoshanPandey•6m ago•0 comments

To Forecast AI's Impact on Biosecurity, We Asked: Why Are Attacks So Rare?

https://secondthoughts.ai/p/why-arent-bioweapons-common
1•speckx•7m ago•0 comments

AWS S3 now includes NFS 4.1 support via Mount-Points

https://thenewstack.io/aws-s3-files-filesystem/
1•pvtmert•7m ago•0 comments

I spent ~28 hrs a month waiting on Claude Code. This month its less than 1 hour

3•vilvaathibanpb•10m ago•0 comments

DHH's new way of writing code: Agent-first

https://newsletter.pragmaticengineer.com/p/dhhs-new-way-of-writing-code
3•CharlesW•10m ago•0 comments

Show HN: Metrya – Private HealthKit AI advisor with your own LLM key

https://metrya.app/
1•rjozefowicz•10m ago•0 comments

Building pro-worker artificial intelligence [pdf]

https://economics.mit.edu/sites/default/files/2026-03/Building%20Pro-Worker%20Artificial%20Intell...
1•wslh•13m ago•0 comments

The sad state of smart homes

https://cruftbox.com/2026/04/08/the-sad-state-of-smart-homes/
1•cruftbox•13m ago•0 comments

Anthropic's AI to Help Apple Find iOS, macOS, and Safari Vulnerabilities

https://www.macrumors.com/2026/04/08/apple-anthropic-project-glasswing/
1•tosh•14m ago•0 comments

Show HN: The go-to Python package for App Reviews

https://github.com/firattamurcw/app-reviews
3•notaiagent•14m ago•0 comments

Show HN: Gimble CLI – turn your terminal session into a live debugging chat

https://github.com/gimbleHQ/Gimble-dev
1•saketpradhan•16m ago•0 comments

Self-host your homelab tunnels on bunny.net

https://alec.is/posts/cloudflare-tunnels-on-bunny-net/
1•arm32•16m ago•0 comments

A Ceasefire, a Chip Deal, and the Fastest Mood Swing in History

https://rawtext.io/money/ceasefire-chip-deal-fastest-mood-swing/
1•just_a_watcher•20m ago•0 comments

Why Are Flock Employees Watching Our Children?

https://jasonhunyar.substack.com/p/why-are-flock-employees-watching-720
4•therobots927•20m ago•1 comments

Broken window theory: software in the post AGI world

https://tekbog.substack.com/p/broken-window-theory-software-in
2•tekbog•20m ago•0 comments

Simulating a 2D Quadcopter from Scratch

https://mrandri19.github.io/2026/04/03/2d-quadcopter-simulation.html
1•daww•23m ago•1 comments

Construction Manager Vibe Codes Paperwork Tool, Accidentally Breaks It

https://www.businessinsider.com/construction-manager-vibe-coded-paperwork-tool-2026-4
1•jboss10•23m ago•0 comments

Cursor AI Documentation of a 61GB RAM failure and subsequent forum shadowbanning

https://github.com/blackysdeamon/cursor-ai-negligence-report
2•Lunurubus•25m ago•0 comments

Let Me Claude That for You

https://lmctfy.blmc.dev/
2•henryaj•26m ago•0 comments

An active phishing campaign is targeting Rust crate owners

https://social.rust-lang.org/@rust/116370165967851720
1•etaweb•27m ago•0 comments

AI Code Is Hollowing Out Open Source, and Maintainers Are Looking the Other Way

https://www.quippd.com/writing/2026/04/08/ai-code-is-hollowing-out-open-source-and-maintainers-ar...
3•speckx•28m ago•0 comments

Maki – The Efficient Coder (Agent)

https://maki.sh/
5•wrxd•32m ago•0 comments

Show HN: YTGrowAI – Get detailed analytics for YouTube channel growth

https://ytgrowai.com/
2•ninadwrites•33m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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