frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

2025 Bitcoin Node Performance Tests

https://blog.lopp.net/2025-bitcoin-node-performance-tests/
1•enz•48s ago•0 comments

M-Lab: Measure the Internet, save the data, and make it accessible and useful

https://www.measurementlab.net/
1•tanelpoder•1m ago•0 comments

Foreign tech workers are avoiding travel to the US

https://www.computerworld.com/article/4110681/foreign-tech-workers-are-avoiding-travel-to-the-us....
2•CrankyBear•3m ago•0 comments

David Long's "Adventure 6" (LONG0751) has been found

https://quuxplusone.github.io/blog/2025/12/29/long0751/
2•quuxplusone•3m ago•0 comments

Greenhouse Gas Emission Data: Public, difficult to access and not always correct [video]

https://media.ccc.de/v/39c3-greenhouse-gas-emission-data-public-difficult-to-access-and-not-alway...
1•hannob•4m ago•0 comments

Show HN: AuthForge – open-source auth for AI agents (early preview)

https://auth-forge-web-two.vercel.app/
1•ashish_sharda•5m ago•0 comments

Show HN: Hear Yourself – Free low-latency audio monitor for macOS

https://github.com/gabrycina/hear-yourself
1•gabrycina•6m ago•0 comments

Math slop has hit a new low [video]

https://www.youtube.com/watch?v=LiSA4hFjNUM
1•xqcgrek2•6m ago•0 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
8•birdculture•9m ago•0 comments

I write and ship code ~20–50x faster than I did 5 years ago

1•EGreg•11m ago•0 comments

5 Years, 12 Pivots

https://boundaryml.com/blog/5-years-12-pivots
2•dhorthy•13m ago•0 comments

Remembering the Night Boats

https://www.scenichudson.org/viewfinder/remembering-the-night-boat/
1•eatonphil•13m ago•0 comments

Collaboration Sucks

https://posthog.com/newsletter/collaboration-sucks
1•zX41ZdbW•14m ago•1 comments

Cheap Solar Is Transforming Lives and Economies Across Africa

https://www.nytimes.com/2025/12/30/climate/solar-south-africa-china.html
2•JumpCrisscross•15m ago•0 comments

Escaping Containment: A Security Analysis of FreeBSD Jails [video]

https://media.ccc.de/v/39c3-escaping-containment-a-security-analysis-of-freebsd-jails
5•todsacerdoti•16m ago•0 comments

Internet Archive Wayback Machine is currently 503

https://web.archive.org
4•burnt-resistor•19m ago•0 comments

Docker Sandboxes

https://docs.docker.com/ai/sandboxes
1•ahurmazda•19m ago•0 comments

Iran Protests Enter Third Straight Day as Students Join In

https://www.wsj.com/world/middle-east/iran-protests-enter-third-straight-day-as-students-join-in-...
10•JumpCrisscross•20m ago•0 comments

Illuminating the Insides of Mlx Models

https://github.com/batson/mlux
1•cottonseed•20m ago•0 comments

The Podcast 'Productivity' Trap

https://www.theatlantic.com/ideas/2025/12/podcasts-music-listening-productivity/685448/
2•furrowedbrow•20m ago•0 comments

Engineering Yourself – Characteristics of a software engineer

https://www.youtube.com/watch?v=cJDcPeQG7Bw
1•pmbanugo•21m ago•1 comments

Objects of Desire

https://indiantinker.bearblog.dev/the-object-of-desire-embodiment-manipulation-and-desire/
1•indiantinker•21m ago•0 comments

Zen Buddhism and Meditation in Japan

https://www.japan.travel/en/guide/meditation/
1•wslh•25m ago•0 comments

The birth of the internet, according to Jon Bois [video]

https://www.youtube.com/watch?v=zmyBSrQodnI
1•hemloc_io•25m ago•0 comments

Moving AI from Emotion Detection to True Understanding

1•buttersmoothAI•27m ago•0 comments

Mutatis – Database that mutates its schema based on semantic patterns

https://github.com/ScooterMageee/mutatis-public
2•Mutatis•27m ago•3 comments

Welcome to "necroprinting"–3D printer nozzle made from mosquito's proboscis

https://arstechnica.com/science/2025/12/welcome-to-necroprinting-3d-printer-nozzle-made-from-mosq...
1•PaulHoule•27m ago•0 comments

Apple's AI Bet: Playing the Long Game or Missing the Moment?

https://philippdubach.com/2025/12/30/apples-ai-bet-playing-the-long-game-or-missing-the-moment/
1•7777777phil•29m ago•0 comments

Ask HN: LLMs and Code Style Compliance

1•blinkbat•29m ago•0 comments

40 Principles of Invention

https://en.wikipedia.org/wiki/40_principles_of_invention
1•tosh•30m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•7mo 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•7mo 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•7mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•7mo 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•7mo 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•7mo ago
Why did you delete the page?
appetrosyan•7mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•7mo 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•7mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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