frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Largest electric autonomous container ship begins commercial service

https://global.chinadaily.com.cn/a/202604/16/WS69e0ee90a310d6866eb43dd4.html
1•Geekette•1m ago•0 comments

Show HN: GitHub Commits Leaderboard

https://ghcommits.com
1•GustyCube•6m ago•0 comments

Hit and Run and a Business Idea

https://rozumem.xyz/posts/15
1•rozumem•7m ago•0 comments

Metal Gear Solid 2's Source Code Has Been Leaked on 4Chan

https://www.thegamer.com/mgs2-hd-edition-source-code-massive-leak/
2•rishabhd•11m ago•0 comments

Speed of Thought

https://www.twoscomplement.org/#podcast/speed-of-thought
1•tosh•13m ago•0 comments

Greg (2017)

https://blog.samaltman.com/greg
1•tosh•14m ago•0 comments

Messy Model Bench Tests; Qwen3.6-27B vs. Coder-Next

https://github.com/Light-Heart-Labs/MMBT-Messy-Model-Bench-Tests
1•seemaze•19m ago•0 comments

Show HN: Kadō – habit tracker app for iOS, open source and privacy-friendly

https://github.com/scastiel/kado
4•scastiel•23m ago•0 comments

Underwater robot tracks sperm whale conversations in real time

https://www.reuters.com/business/environment/underwater-robot-tracks-sperm-whale-conversations-re...
2•thedebuglife•24m ago•0 comments

Why you should still type code in 2026

https://www.slater.dev/2026/05/type-your-code/
2•sltr•25m ago•0 comments

Ask HN: Those building Swift apps without touching Xcode, what is your workflow?

2•p5v•26m ago•0 comments

Batteries Not Included, or Required, for These Smart Home Sensors

https://coe.gatech.edu/news/2026/04/batteries-not-included-or-required-these-smart-home-sensors
2•gnabgib•27m ago•0 comments

Uncle Bob: It's Over

https://old.reddit.com/r/vibecoding/comments/1srfqm0/uncle_bob_its_over/
14•lopespm•30m ago•5 comments

Show HN: Software Engineer to Novelist: Writing a Book Like Coding

https://frequal.com/forwriters/
2•TeaVMFan•33m ago•0 comments

Shell Is Just a Loop

https://douxx.blog/?p=15-your-shell-is-just-a-loop
1•dblog•34m ago•0 comments

Eliza effect at work: Avoiding emotional attachment to AI coworkers

https://www.ibm.com/think
2•thinkingemote•36m ago•0 comments

Google search treats the word "crumble" as a misspelling of cookie brand Crumbl

https://bsky.app/profile/cait.bsky.social/post/3mkxdtprzmk2e
1•davidgerard•38m ago•0 comments

When Is Nextcloud Overkill?

https://samueleamato.xyz/2026/05/03/you-dont-need-nextcloud
1•rd_wei•38m ago•0 comments

I built a Chrome extension that exposes product markups

https://chromewebstore.google.com/detail/sniff-it-shopping-assista/lhgpbkoaoigajoppckjeobgfafhkgjfn
1•sniffit•40m ago•0 comments

'The Iran war strengthened Ukraine. Could a ceasefire with Russia be closer?'

https://www.bbc.com/news/articles/cgjp7vpee03o
2•MilnerRoute•41m ago•0 comments

Tanker boarded south of Trelleborg – suspected violation of maritime law

https://www.kustbevakningen.se/en/more-news/tanker-boarded-south-of-trelleborg--suspected-violati...
1•madspindel•41m ago•0 comments

Ghost Operators: How Israeli Telecoms Were Exploited to Track Citizens Worldwide

https://www.haaretz.com/israel-news/security-aviation/2026-05-03/ty-article-magazine/ghost-operat...
1•miohtama•43m ago•0 comments

OSM-FR Panoramax server "only for testing if outside of France"

https://community.openstreetmap.org/t/osm-fr-panoramax-server-only-for-testing-if-outside-of-fran...
1•marklit•44m ago•0 comments

Can Investors Trust AI Sales Figures?

https://www.wsj.com/opinion/can-investors-trust-ai-sales-figures-c60c46bf
3•ericlamb89•45m ago•1 comments

Viewstamped Replication (1988) [pdf]

https://www.cs.princeton.edu/courses/archive/fall09/cos518/papers/viewstamped.pdf
1•tosh•46m ago•0 comments

DigiCert: Misissued Code Signing Certificates

https://bugzilla.mozilla.org/show_bug.cgi?id=2033170
1•baal80spam•47m ago•0 comments

Container Is Not a Sandbox

https://emirb.github.io/blog/microvm-2026/
2•xngbuilds•47m ago•0 comments

China became addicted to its tobacco monopoly

https://www.theexamination.org/articles/how-china-became-addicted-to-its-tobacco-monopoly
4•Teever•50m ago•0 comments

Spirit pilot gets overwhelming sendoff from rivals after final flight cancelled

https://www.theguardian.com/world/2026/may/03/spirit-pilot-send-off-from-southwest
2•cf100clunk•54m ago•0 comments

Screw You Realtek

https://www.growse.com/2026/05/02/screw-you-realtek.html
4•birdculture•56m 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•11mo 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/