frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Strait Jacket of Hormuz – Solved and Resolved

https://jeffreylminch.substack.com/p/the-strait-jacket-of-hormuz-solved
1•rmason•53s ago•0 comments

Scaling AI Vulnerability Scanning Beyond One File at a Time

https://brian-chastain.com/field-notes/scaling-ai-vuln-scanning/
1•ZeroDumb•1m ago•0 comments

We need re-learn what AI agent development tools are in 2026

https://blog.n8n.io/we-need-re-learn-what-ai-agent-development-tools-are-in-2026/
1•healsdata•2m ago•0 comments

DocumentDB Fuse – FS interface for the database

https://github.com/xgerman/documentdbfuse
1•xgerman•6m ago•1 comments

Mindfulness, Programming, and the Mistake I Made

https://yonatanmedan.github.io/blog/mindfulness-programming-and-the-mistake-i-made/
1•eranation•6m ago•0 comments

AI coding assistant skill (Claude Code, Codex, OpenCode, OpenClaw, Factory Droid

https://github.com/safishamsi/graphify
1•safishamsi•13m ago•0 comments

Trump suspends Iran attack for two weeks, subject to Hormuz Strait opening

https://www.cnbc.com/2026/04/07/trump-iran-ceasefire-hormuz-strait.html
2•shinryudbz•14m ago•2 comments

Behind the curtain. A comprehensive guide to Russia internet censorship in 2026

https://en.zona.media/article/2026/04/07/russian_internet_censorship_2026
1•rudnevr•15m ago•0 comments

Crag – One governance file, every AI coding tool (50 repos, 96.4% accuracy)

https://github.com/WhitehatD/crag
2•whitehatd•15m ago•0 comments

Russian military hackers reroute British internet users' traffic

https://www.ft.com/content/d7e3294c-0a0e-4598-8687-93f5490d0cc5
1•petethomas•22m ago•0 comments

Xilem – An experimental Rust native UI framework

https://github.com/linebender/xilem
2•Levitating•23m ago•0 comments

Show HN: When Seeing Isn't Enough: Rescuing Stuck LLM Agents

https://zenodo.org/records/19463134
1•Caum•24m ago•0 comments

Voice AI that helps families find a parent's finances before crisis hits

https://www.clearnestme.com/landing.html
1•Avinash9menon•29m ago•0 comments

Ask HN: My Mac decided out of the blue to delete Node. Why?

1•JSLegendDev•30m ago•1 comments

Sardine: A stock market where AI agents trade in real time

https://github.com/lightbearco/sardine
1•dawar0•38m ago•0 comments

DRAM Memory Refresh

https://en.wikipedia.org/wiki/Memory_refresh
2•ivanjermakov•38m ago•0 comments

The pinnacle of enshittification, or Large Language Models

https://blogs.gentoo.org/mgorny/2026/04/05/the-pinnacle-of-enshittification-or-large-language-mod...
3•birdculture•39m ago•0 comments

North Korea's Contagious Interview Campaign Spreads Across 5 Ecosystems

https://socket.dev/blog/contagious-interview-campaign-spreads-across-5-ecosystems
1•pier25•41m ago•0 comments

US, Iran to pause war, agree to 2-week ceasefire

https://www.axios.com/2026/04/07/iran-2-week-ceasfire-trump-pakistan
26•cdrnsf•42m ago•20 comments

Apple and Lenovo have the least repairable laptops, analysis finds

https://arstechnica.com/gadgets/2026/04/apple-has-the-lowest-grades-in-laptop-phone-repairability...
3•jnord•46m ago•2 comments

An Autonomous Behavior System

https://www.axopods.com/
2•jsherm76•46m ago•0 comments

USCIS.gov sends user/visitor data to Meta and Google

https://varlog.in/inspect/
4•sricola•49m ago•0 comments

Show HN: Open Browser Control – drive your real Chrome from any MCP client

https://github.com/smankoo/open-browser-control
2•smankoo•51m ago•0 comments

Minecraft Java Edition 26.2 Snapshot 1: Initial Vulkan Support

https://www.minecraft.net/en-us/article/minecraft-26-2-snapshot-1
1•exploraz•51m ago•0 comments

Molecular editing tool relocates alcohol groups

https://openyourmindabretumente.blogspot.com/2026/04/molecular-editing-tool-relocates.html
1•ericzapata•51m ago•1 comments

Tabsdata vs. Airbyte: Up to 86x faster

https://medium.com/tabsdata/benchmarking-airbyte-vs-tabsdata-ee67a0639bef
1•immortan_dag•52m ago•0 comments

Nix: Privilege escalation via symlink following during FOD output registration

https://discourse.nixos.org/t/nix-security-advisory-privilege-escalation-via-symlink-following-du...
1•hexa-•55m ago•0 comments

The Musician's Guide to Leaving Windows [video]

https://www.youtube.com/watch?v=UaY23TSa4-0
1•Kye•56m ago•0 comments

When the compiler lies: breaking memory safety in safe Go

https://ciolek.dev/posts/when-the-compiler-lies
1•irke882•57m ago•0 comments

Anthropic holds Mythos model due to hacking risks

https://www.axios.com/2026/04/07/anthropic-mythos-preview-cybersecurity-risks
4•FergusArgyll•57m ago•1 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•10mo 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•10mo 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•10mo ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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