frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Is in the Trenches. I'm in Bali. This Is Called Leverage

https://medium.com/@bwanaerp/claude-is-in-the-trenches-im-in-bali-this-is-called-leverage-f39ec27...
1•instarlaxy•1m ago•0 comments

Why is Inkwell stuck in review

https://www.manton.org/2026/05/19/why-is-inkwell-stuck-in.html
1•speckx•4m ago•0 comments

Newborns' cry melody is shaped by their native language (2009)

https://www.cell.com/current-biology/fulltext/S0960-9822(09)01824-7?_returnURL=https%3A%2F%2Flink...
4•ViktorRay•5m ago•0 comments

The Alaska Permanent Fund as Loose Precedent for AI Data Center 'UBI' Payments

https://daringfireball.net/linked/2026/05/18/alaska-permanent-fund
1•haunter•7m ago•0 comments

What Happens When Fish Get Drunk

https://www.mentalfloss.com/animals/fish/heres-what-happens-when-fish-get-drunk
2•Markoff•10m ago•0 comments

Claude Code, now powered by Gemini 3.5 Flash, GPT-5.5, Grok 4.3, and more

https://dechained.ai
2•sryDarioXOXO•11m ago•0 comments

OpenAI Prepares to File to Go Public in Coming Weeks

https://www.nytimes.com/2026/05/20/technology/openai-ipo.html
3•m-hodges•11m ago•0 comments

Show HN: Sentience – governance that carries across AI agent sessions

https://pypi.org/project/sentience-governor/0.2.5.1/
1•roynal•12m ago•0 comments

The AI bots are coming and the young are booing, not applauding

https://www.reuters.com/business/world-at-work/ai-bots-are-coming-young-are-booing-not-applauding...
2•1vuio0pswjnm7•12m ago•0 comments

An introduction to focusing: Six steps

https://focusing.org/gendlin/docs/gol_2234.html
1•ankitg12•13m ago•0 comments

Northlight

https://northlight.ai
1•austinkennedy•14m ago•0 comments

Boarding China's Last Bus

https://asteriskmag.com/issues/14/chinas-last-bus
1•Brajeshwar•14m ago•0 comments

How to sell RL envs and data to AI labs [video]

https://www.youtube.com/watch?v=gn8prz51Iqs
1•zitoshi•14m ago•0 comments

Polymarket launches private company trading for speculating on Anthropic, OpenAI

https://www.cnbc.com/2026/05/19/polymarket-launches-private-company-trading-so-investors-can-spec...
2•1vuio0pswjnm7•14m ago•0 comments

FMA Instruction Set

https://en.wikipedia.org/wiki/FMA_instruction_set
1•tosh•15m ago•0 comments

Lojban is a carefully constructed spoken language

https://mw.lojban.org/papri/Lojban#Learning_Lojban
1•zdgeier•15m ago•0 comments

Show HN: Headless terminal in zig allows AI agents to use interactive CLIs

https://hty.sh/
1•anonfunction•15m ago•1 comments

Guidelines for Human-AI Interaction

https://www.microsoft.com/en-us/research/project/guidelines-for-human-ai-interaction/
1•ankitg12•15m ago•0 comments

OpenAI to confidentially file for IPO as soon as Friday

https://www.cnbc.com/2026/05/20/openai-ipo-filing.html
3•koolba•16m ago•0 comments

The may 2026 fedi software vulnerability

https://w.on-t.work/activitypub/may-2026-vulnerability
1•speckx•17m ago•0 comments

Bezos brushes off concerns of an AI bubble: 'You shouldn't worry about it'

https://www.cnbc.com/2026/05/20/bezos-ai-bubble-concerns-amazon-prometheum-blue-origin.html
1•1vuio0pswjnm7•18m ago•1 comments

Risks are mounting in the life insurance industry

https://www.nbcnews.com/news/us-news/paid-insurance-company-99000-generate-retirement-income-life...
1•bryan0•18m ago•0 comments

Silk: Open-source cooperative fiber scheduler

https://github.com/ClickHouse/silk
1•animetyan•18m ago•0 comments

OpenAI Is Preparing to File for an IPO in the Coming Days or Weeks

https://www.wsj.com/tech/ai/openai-ipo-filing-date-0ec95af5
3•mfiguiere•21m ago•1 comments

Resident: Vibe coding firmware (our new sandbox library for ESP32 devices)

https://interconnected.org/home/2026/05/20/resident
2•speckx•21m ago•0 comments

Trump phone data leak [video]

https://www.youtube.com/watch?v=c8TwGH1B5wA
3•colonCapitalDee•22m ago•0 comments

Deadlines [pdf]

https://web.mit.edu/ariely/www/MIT/Papers/deadlines.pdf
1•ankitg12•22m ago•0 comments

DMARCbis Is Published: RFC 9989, 9990, and 9991 Replace RFC 7489

https://dmarcguard.io/blog/dmarc-rfc-9989-9990-9991/
1•meysamazad•23m ago•0 comments

Gemini Omni

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-omni/
2•theanonymousone•24m ago•0 comments

Hackers Reached GitHub's Internal Repositories Through a VS Code Extension

https://firethering.com/github-breach-vs-code-extension-attack/
4•steveharing1•26m ago•0 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/