frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Poverty Bayes: fitting million-parameter models for pennies with serverless MCMC

https://christopherkrapu.com/blog/2026/poverty-bayes-serverless-mcmc/
1•ckrapu•5m ago•0 comments

How should we think about Starship?

https://mceglowski.substack.com/p/how-should-we-think-about-starship
1•idlewords•6m ago•0 comments

Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs

https://arps18.github.io/posts/claude-code-mastery/
1•arps18•8m ago•0 comments

A locus-coeruleus model for LLM agents (phasic and tonic attention gain)

https://github.com/mrshanebarron/lc-attention
1•iampneuma•11m ago•0 comments

Hugh Broughton: The man designing more of Antarctica than anyone else

https://www.cnn.com/2026/05/25/style/antarctica-architecture-hugh-broughton
1•testfrequency•14m ago•0 comments

Build System Reworked

https://ziglang.org/devlog/2026/#2026-05-26
1•signa11•16m ago•0 comments

The underground mega tunnels redrawing the railway map of Europe

https://www.cnn.com/2026/05/26/travel/europe-rail-base-tunnels-alps
1•tkocmathla•17m ago•0 comments

How to Make xt850 Match xt 850

https://medium.com/@s_nikolaev/how-to-make-xt850-match-xt-850-2175e701fbfe
1•snikolaev•25m ago•0 comments

Self Hosted Jukebox with NFC Cards

https://www.pedaldrivenprogramming.com/2026/05/self-hosted-jukebox-with-nfc-cards/
2•Fudgel•28m ago•0 comments

Annotate PDF: A zero-server, privacy-first PDF annatator

https://annotatepdf.io/
1•prius-lab•33m ago•0 comments

Hows the weather? A theoretically self improving weather app

https://plc.vc/42z
1•pclark•35m ago•1 comments

Nine Crypto Whales Dominate Polymarket Disputes Worth Billions

https://www.bloomberg.com/news/videos/2026-05-26/nine-crypto-whales-dominate-polymarket-disputes-...
2•igortru•36m ago•1 comments

Show HN: Programming language demand index ranked by real job listings

https://www.datamatastudios.com/languages
1•datamatastudios•39m ago•0 comments

The AI Agent Harness: The Glue That Turns LLMs into Digital Workers

https://thingswithai.org/posts/ai-agent-harness
1•UtkarshPatel13•41m ago•0 comments

Ask HN: Is magnifica humanitas a big deal?

2•alonsovm44•41m ago•2 comments

•42m ago

Show HN: Tasmap – Canva for Maps

https://tasmap.app/
1•apolkingg8•45m ago•0 comments

Show HN: Stumbleback – StumbleUpon for the bookmarks you've been hoarding

https://chromewebstore.google.com/detail/stumbleback/fkmbjmmdkpfpcnmbgnpmnkhnhecieigk
1•jimsojim•47m ago•0 comments

Tell HN: Android Chrome deletes your browsing history silently

2•grehbies•49m ago•0 comments

The Other Side of On-Call

https://i0exception.substack.com/p/the-other-side-of-on-call
1•wapasta•51m ago•0 comments

Did the Pope use AI to write about the dangers of AI?

https://www.theverge.com/ai-artificial-intelligence/937801/pope-leo-xiv-magnifica-humanitas-ai-pa...
5•droidjj•51m ago•1 comments

An invisible problem in California housing

https://jonharris665470.substack.com/p/what-the-hell-are-we-building-here
1•Inspector_guy•52m ago•0 comments

Advancing Mathematics Research with AI-Driven Formal Proof Search

https://arxiv.org/abs/2605.22763
1•mrkn1•54m ago•0 comments

Shareholder groups push companies for stricter AI oversight

https://www.theglobeandmail.com/business/article-ai-oversight-artificial-intelligence-shareholder...
2•1vuio0pswjnm7•54m ago•1 comments

Show HN: Posthorn, self-hosted mail without the mail server

https://github.com/craigmccaskill/posthorn
2•craigmccaskill•55m ago•0 comments

Ho-scale slot car racing in the Santa Cruz Mountains

https://stewartraceway.org/
1•HoldOnAMinute•57m ago•0 comments

Microsoft Edge Multiple Vulnerabilities

https://www.hkcert.org/security-bulletin/microsoft-edge-multiple-vulnerabilities_20260527
1•GeorgeWoff25•58m ago•0 comments

Tintello: A color quiz where cobalt is named after a goblin

https://medium.com/@paul.gedeon/tintello-judgment-is-harder-to-delegate-than-code-54fa16d09508
1•airpaulg•59m ago•0 comments

IBM Confidential System/360 File Organization [video]

https://www.youtube.com/watch?v=zokKqP0plrM
1•1970-01-01•59m ago•0 comments

The Pope Should Be Going to War Against A.I. Why Isn't He?

https://www.nytimes.com/2026/05/26/opinion/pope-leo-encyclical-ai.html
2•1vuio0pswjnm7•1h ago•6 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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