frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Venom and Hot Peppers Offer a Key to Killing Resistant Bacteria

https://www.wired.com/story/mexican-science-transforms-scorpion-venom-and-habanero-chile-into-ant...
1•littlexsparkee•49s ago•1 comments

Accelerator Applicant's AI System Makes Faux Pau; Critical of Accelerator Model

https://news.novonavis.com/news/intel_080526_2297
1•capagg•4m ago•1 comments

Show HN: Launch and Run Companies on Autopilot

https://lakyus.com/live
1•edonnie•6m ago•1 comments

Claude FM music for thinking and building [video]

https://www.youtube.com/watch?v=AUQKjgKQF7w
1•davidk42•7m ago•0 comments

CVE-2026-7413: Persistent undocumented backdoor access with Yarbo

https://takeonme.org/cves/cve-2026-7413/
1•shakna•8m ago•0 comments

AI Canasta Scoring App

https://canastascore.com/
1•alohaplannerapp•10m ago•0 comments

Playing Around with OpenAI's GPT Realtime Voice API

https://nathancooper.io/blog/2026-05-08-gpt-realtime-audio
1•coop57•13m ago•0 comments

Show HN: AI-native tech assessments (end of LeetCode)

https://www.openround.ai/
2•vetted_so•14m ago•0 comments

The Big Engine That Could

https://medium.com/human-offset/the-big-engine-that-could-de152076bb82
1•gdessau•15m ago•0 comments

Archive.today Reverts to Monero-Only Donations

https://archive.fo
1•Cider9986•16m ago•1 comments

Opentype.js 2.0.0 Released

https://github.com/opentypejs/opentype.js/releases/tag/2.0.0
1•ILOVEPIE•17m ago•0 comments

Dirty Frag Linux kernel local privilege escalation vulnerability mitigations

https://ubuntu.com/blog/dirty-frag-linux-vulnerability-fixes-available
2•zajio1am•17m ago•0 comments

Show HN: MOG Simulator, Emergent galaxies via ensemble of grids [video]

https://github.com/tbmo/mog-solver
1•tbmo•17m ago•0 comments

X A "Clean Room" for 2026 technical and logistical news

https://xreport.news/
1•XREPORTNEWS•19m ago•0 comments

James Schuyler's Genius

https://yalereview.org/article/james-schuylers-genius
1•Thevet•19m ago•0 comments

A Robot Just Became a Monk at a Buddhist Temple in South Korea

https://www.smithsonianmag.com/smart-news/meet-gabi-the-new-robot-monk-at-a-buddhist-temple-in-so...
1•lisper•21m ago•0 comments

Loom -single line install TTY IDE for agent coding

https://github.com/claytantor/loom-tty-ide
1•claydronze•22m ago•1 comments

Porn website at center of CNN investigation into sexual abuse taken offline

https://www.cnn.com/2026/05/08/europe/porn-site-motherless-taken-down-dutch-authorities-intl
1•NDlurker•24m ago•1 comments

Jane Street earned $10B in first quarter as it doubled trading revenue

https://www.ft.com/content/fe483e68-097a-4b80-ad3a-0792dda8f94a
2•KnuthIsGod•25m ago•0 comments

I built a pixel oven that tells you if you're cooked

https://broamicooked.com/
1•HealthAI47•27m ago•0 comments

Ask HN: What are the most joyful AI projects you've seen?

3•adagradschool•28m ago•1 comments

San Francisco's housing market has lost its mind

https://techcrunch.com/2026/05/08/san-franciscos-housing-market-has-lost-its-mind/
1•littlexsparkee•31m ago•0 comments

Iran war's global energy crisis sharpens China's advantage in clean tech

https://apnews.com/article/iran-middle-east-war-energy-asia-china-05d198d6e8dc99d0209dddfff26ae52a
4•breve•38m ago•0 comments

Reduce friction and latency for long-running jobs with Webhooks in Gemini API

https://twitter.com/GoogleAIStudio/status/2051421109506228656
1•gmays•44m ago•0 comments

Pushing Local Models with Focus and Polish

https://lucumr.pocoo.org/2026/5/8/local-models/
1•wrxd•45m ago•0 comments

Show HN: [Video] Tribute to LLM releases in April 2026

https://www.youtube.com/watch?v=uu5ffMH_X9w
2•everlier•50m ago•0 comments

The FCC Wants Your ID Before You Get a Phone Number

https://reclaimthenet.org/the-fcc-wants-your-id-before-you-get-a-phone-number
8•bilsbie•54m ago•1 comments

You Might Be a Late Bloomer (2024)

https://www.theatlantic.com/ideas/archive/2024/06/successs-late-bloomers-motivation/678798/
2•breve•54m ago•0 comments

The Tax of Living in a Low-Trust Society: How Collapsed Trust Costs You

https://yourbrainonmoney.substack.com/p/low-trust-society-cost
22•ot•56m ago•4 comments

U.S. Schools Face a Crisis as the Number of Children Drops

https://www.nytimes.com/2026/05/08/upshot/public-schools-enrollment-crisis.html
6•Teever•57m ago•2 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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