frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Iran establishes 'safe' shipping corridor for approved transits who pay $2M

https://www.lloydslist.com/LL1156656/Iran-establishes-safe-shipping-corridor-for-approved-and-pai...
1•Gaishan•51s ago•0 comments

Show HN: Shoofly – pre-execution security for Claude Code Cowork and OpenClaw

https://shoofly.dev/
1•evanvuckovic•6m ago•0 comments

Krispy Kreme to launch limited-edition doughnut for Artemis II moon mission

https://www.collectspace.com/news/news-032726a-krispy-kreme-artemis-ii-doughnut.html
1•MilnerRoute•7m ago•0 comments

What's your biggest visual testing pain?

1•jingeng•16m ago•0 comments

QR codes can be copied – I built a way to stop reuse

1•YNaka•17m ago•1 comments

Visual testing is too heavy. Anyone else want a 5-min alternative?

1•jingeng•17m ago•0 comments

Mr. Chatterbox is an LLM trained exclusively on Victorian-era British texts

https://huggingface.co/spaces/tventurella/mr_chatterbox
1•asxndu•19m ago•0 comments

Nestlé says 413,793 KitKat candy bars stolen en route from Italy to Poland

https://apnews.com/article/nestle-switzerland-candy-bar-stolen-kitkat-51073cce27a0e193651aa7f31aa...
2•petethomas•24m ago•0 comments

AI Hot Takes from a Platform Engineer / SRE

https://alienchow.dev/post/ai_takeaways_mar_2026/
1•alienchow•28m ago•0 comments

RaBitQ Binary Quantization 101

https://www.elastic.co/search-labs/blog/rabitq-explainer-101
1•tamnd•31m ago•0 comments

Moretti Replication Published in AER

https://blog.michaelwiebe.com/p/moretti-replication-published-in
1•luu•32m ago•0 comments

There's a Good Reason You Can't Concentrate

https://www.nytimes.com/2026/03/27/opinion/technology-mental-fitness-cognitive.html
2•saikatsg•41m ago•0 comments

Show HN: CMPSBL Software Factory — Free Daily Drop $2.9M

https://pastebin.com/54QhPiwZ
1•promptfluid•44m ago•1 comments

I Built CLI for Bullmq

https://github.com/quanghuynt14/bullmq-dash
1•quanghuynt14•48m ago•0 comments

Is Systemd Bloat Real? Dinit vs. Systemd: Which Session Uses Less Memory?

https://grigio.org/is-systemd-bloat-real-dinit-vs-systemd-which-session-uses-less-memory-with-labwc/
1•grigio•53m ago•0 comments

The Future of Text Layout Is Not CSS

https://twitter.com/_chenglou/status/2037713766205608234
1•california-og•59m ago•1 comments

How Accurate is this? [No Access to X:(]

https://twitter.com/CLG98264897/status/2037312460433109106
1•SilentM68•59m ago•0 comments

While one partner sleeps, another vibe codes

https://www.businessinsider.com/claude-gap-relationship-vibe-code-couples-2026-3
2•mlaretallack•1h ago•0 comments

The United States is driving a public health emergency of international concern

https://www.bmj.com/content/392/bmj-2026-089474
5•KnuthIsGod•1h ago•0 comments

EU Commission, Enisa, and DG Digital Services Breached by ShinyHunters

https://twitter.com/IntCyberDigest/status/2038038430752374888
1•CountGeek•1h ago•0 comments

Why question-space can't be baked into LLM weights (preprint)

https://zenodo.org/records/19305025
2•h_hasegawa•1h ago•1 comments

Narcissistic grandiosity predicts greater involvement in LGBTQ activism

https://www.psypost.org/narcissistic-grandiosity-predicts-greater-involvement-in-lgbtq-activism/
3•Tomte•1h ago•0 comments

Zuck's obsession with VR lost him AI leadership

https://twitter.com/futurejurvetson/status/2037925810208960965
1•MrBuddyCasino•1h ago•0 comments

Former NJ AG's Firm Challenges Big Tech's 'Profit Ahead of Public Safety' Ethos

https://www.law.com/therecorder/2026/03/20/openai-targeted-as-former-new-jersey-ags-new-firm-chal...
1•1vuio0pswjnm7•1h ago•0 comments

Disgraced fraudster Elizabeth Holmes caught a break; prosecutors aren't happy

https://nypost.com/2026/03/27/business/disgraced-theranos-fraudster-elizabeth-holmes-just-caught-...
3•1vuio0pswjnm7•1h ago•0 comments

Whats the most surprising business process you've automated with OpenClaw?

1•dhruvkar•1h ago•0 comments

List of Common Misconceptions

https://en.wikipedia.org/wiki/List_of_common_misconceptions
4•thedrexster•1h ago•0 comments

Human brain operates near, but not at, the critical point

https://phys.org/news/2026-03-human-brain-critical.html
3•yoquan•1h ago•0 comments

Fedora 44 will automatically make your Windows games run faster

https://www.xda-developers.com/fedora-44-will-automatically-make-your-windows-games-run-faster-no...
4•Alupis•1h ago•0 comments

WTO reforms talks stalled amid U.S.-India digital services taxation deadlock

https://www.reuters.com/world/india/wto-talks-stalled-going-into-final-day-amid-us-india-e-commer...
4•alephnerd•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•10mo 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•10mo 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•10mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•10mo 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•10mo 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•10mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

appetrosyan•10mo 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/