frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A case study with Aeneas and jxl-rs

https://jonathan.protzenko.fr/2026/05/05/jxl-rs.html
1•matt_d•42s ago•0 comments

Top universities hit after Canvas breach

https://www.techradar.com/pro/security/top-universities-among-victims-named-in-canvas-data-breach...
2•JustSkyfall•3m ago•0 comments

Brandolini's Law

https://en.wikipedia.org/wiki/Brandolini%27s_law
2•nvahalik•3m ago•0 comments

Sleep polysomnography predicts 130 health conditions, including CVD

https://www.empirical.health/blog/your-sleep-could-predict-your-next-cardiovascular-event/
2•brandonb•3m ago•0 comments

More Than a Portfolio: Building a Scroll-Driven 3D World with Something to Say

https://tympanus.net/codrops/2026/04/28/more-than-a-portfolio-building-a-scroll-driven-3d-world-w...
2•shreedx•4m ago•0 comments

Need Testers

https://play.google.com/apps/test/com.base69bf50b6337791963585c087.app/3
2•curbsidefree•4m ago•0 comments

Massive August 2025 Alaska megatsunami was second largest ever recorded

https://www.bbc.com/news/articles/c1m253033m4o
2•bookofjoe•5m ago•1 comments

A bird sings, a duck quacks

https://lattice.engineering/notes/2026/05/07/a-bird-sings-a-duck-quacks
1•rglover•5m ago•0 comments

Florida surgeon who removed wrong organ says hes forever traumatized by pt death

https://www.nbcnews.com/news/us-news/florida-surgeon-removed-wrong-organ-traumatized-deposition-r...
1•randycupertino•6m ago•0 comments

CVE-2026-42511 Breakdown: RCE in FreeBSD

https://aisle.com/blog/aisle-discovers-cve-2026-42511-a-21-year-old-freebsd-remote-command-execut...
2•mmsc•6m ago•0 comments

PLUR: Persistent memory for AI agents. Local-first, zero-cost

https://github.com/plur-ai/plur
2•mpgirro•7m ago•0 comments

Why The Pentagon Is Quadrupling Missile Production, and Why It Won't Be Enough

https://militarymachine.com/pentagon-missile-production-surge-2026
3•JumpCrisscross•8m ago•0 comments

Companies plan to ramp up production of Patriot missiles (2024)

https://www.defensenews.com/land/2024/04/09/how-companies-plan-to-ramp-up-production-of-patriot-m...
2•JumpCrisscross•9m ago•0 comments

Show HN: DiffCAD, a FreeCAD workbench to review model changes like code

https://github.com/eblanshey/DiffCAD
4•eblanshey•10m ago•0 comments

Cpp2Rust: Automatic Translation of C++ to Safe Rust

https://github.com/Cpp2Rust/cpp2rust
3•clairesutton•11m ago•1 comments

The Brazil Nut Effect

https://www.futilitycloset.com/2026/05/07/the-brazil-nut-effect/
2•speckx•11m ago•0 comments

Inside A Roadmap For Mass-Producing Small Nuclear Reactors In India

https://swarajyamag.com/economics/how-sound-is-indias-roadmap-for-mass-producing-small-nuclear-re...
2•rustoo•15m ago•0 comments

Previewing the Framework Wireless Touchpad Keyboard

https://frame.work/blog/previewing-the-framework-wireless-touchpad-keyboard
2•duck•16m ago•0 comments

Data Science Weekly – Issue 650

https://datascienceweekly.substack.com/p/data-science-weekly-issue-650
4•sebg•16m ago•0 comments

Students' personal data stolen in major education breach

https://www.malwarebytes.com/blog/news/2026/05/millions-of-students-personal-data-stolen-in-major...
3•palashawas•18m ago•1 comments

Basic Income: Housing Stability, Health, and Wellbeing

https://www.mdpi.com/1660-4601/23/4/417
3•PaulHoule•18m ago•0 comments

Who will drive the driverless car revolution?

https://www.ft.com/content/8c691499-5aaf-42e4-a765-4b676baa91d6
2•JumpCrisscross•18m ago•0 comments

CLI Printing Press – create go CLI tool from any API

https://github.com/mvanhorn/cli-printing-press
3•rahimnathwani•19m ago•0 comments

AI Push to Add $1.6B to Maryland Power Bills, State Says

https://www.bloomberg.com/news/articles/2026-05-07/ai-push-to-add-1-6-billion-to-maryland-power-b...
2•spankibalt•19m ago•1 comments

CalHomeAid – Searchable affordable housing directory for Orange County

https://calhomeaid.info/?lang=en
2•censore•20m ago•0 comments

Steam Controller: Reservations open May 8th

https://store.steampowered.com/news/group/45479024/view/702141174212725149
2•SockThief•20m ago•0 comments

Mr. Wonderful's Utah Data Center Will Be More Than Twice as Big as Manhattan

https://www.motherjones.com/politics/2026/05/mr-wonderful-utah-stratos-data-center-shark-tank/
3•cdrnsf•21m ago•1 comments

Google's next-gen reCAPTCHA system could spell trouble for de-Googled phones

https://www.androidauthority.com/google-recaptcha-play-services-requirement-3664806/
3•throwaway81523•22m ago•0 comments

Jelly no puzzle – remade in puzzlescript

https://jackkutilek.com/games/jelly-no-puzzle/
2•rahimnathwani•23m ago•0 comments

AI short video generation platform for content creator

https://www.qten.ai/
3•bandishankar•23m 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•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•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•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/