frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Solving the Third Condiment Mystery with Primary Source Documents

https://review.gale.com/2025/09/02/solving-the-third-condiment-mystery/
1•thunderbong•4m ago•0 comments

Distributed Counters in NATS JetStream

https://www.synadia.com/blog/distributed-counter-crdt
1•latchkey•11m ago•0 comments

Cost of AI-Driven Development

https://blog.codonomics.com/2026/05/cost-of-ai-driven-development.html
1•sirkarthik•13m ago•1 comments

Image Loading on the Web

https://www.ludicon.com/castano/blog/2026/05/image-loading-on-the-web/
1•Aissen•16m ago•0 comments

Show HN: SongShift, an advanced, AI-powered song conversion service

https://songshift.reachnick.co
1•lobf•18m ago•0 comments

OpenAI Raises $4B for 'The Deployment Company' to Help Businesses Leverage AI

https://officechai.com/ai/openai-raises-4-billion-for-the-deployment-company-to-help-businesses-l...
1•0xsn3k•22m ago•0 comments

Is making IRL friends are hard

1•sumanrani•28m ago•0 comments

Show HN: Retroguard – Verifiably secure AI guardrails

https://retroguard.ai
2•ttttonyhe•29m ago•0 comments

New study shows how Nazi-era propaganda influences present-day attitudes

https://www.psypost.org/new-study-shows-how-nazi-era-propaganda-influences-present-day-attitudes/
2•giuliomagnifico•31m ago•0 comments

Brockman Says Musk Vowed on Trial's Eve to Make Him 'Hated'

https://www.bloomberg.com/news/articles/2026-05-04/openai-s-brockman-to-testify-after-musk-s-text...
1•1vuio0pswjnm7•32m ago•0 comments

Anthropic quietly nerfed Claude Code's 1-hour cache

https://www.xda-developers.com/anthropic-quietly-nerfed-claude-code-hour-cache-token-budget/
2•mikhael•33m ago•0 comments

Qwem Meetup Presentation: Function Calling Harness, from 6.75% to 100%

https://typia.io/blog/function-calling-harness-qwen-meetup-korea/
1•autobe•35m ago•0 comments

The week my AI assistant deleted my production model (and made it better)

https://medium.com/@cmitre/the-week-my-ai-assistant-tried-to-end-me-and-accidentally-helped-me-bu...
2•ceemite•36m ago•1 comments

What Is Authorship When Machines Can Write?

https://thereader.mitpress.mit.edu/what-is-authorship-when-machines-can-write/
2•Hooke•37m ago•0 comments

Anthropic entering AI services business

https://www.anthropic.com/news/enterprise-ai-services-company
2•darshanmakwana•39m ago•0 comments

Wolfgang Koeppen's Structural Musicality

https://www.theparisreview.org/blog/2026/05/04/wolfgang-koeppens-structural-musicality/
1•prismatic•44m ago•0 comments

What Silicon Valley layoffs hide about the future of the job market

https://www.washingtonpost.com/technology/2026/05/01/ai-jobs-tech-layoffs-austerity/
1•1vuio0pswjnm7•44m ago•1 comments

Major Ubuntu Outage

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQEbtT2eC1f61ywPf...
2•NiekvdMaas•44m ago•1 comments

I built a WordPress AI agent that handles sales and support (No monthly fees)

https://www.indiehackers.com/post/i-built-a-wordpress-ai-agent-that-handles-sales-and-support-no-...
1•shahisoft•48m ago•0 comments

Why Does a Single Firefox Tab Take Almost 1.5GB RAM?

4•syeare•50m ago•2 comments

Kavya – A local-first Markdown writing app for macOS

https://kavya-app.com/
1•juanmanuelf•52m ago•0 comments

OpenAI president defends motives in for-profit restructuring, reveals $30B stake

https://www.ft.com/content/5c24fa13-ae43-4d5a-9b68-b6ebae227dce
1•1vuio0pswjnm7•58m ago•1 comments

Anthropic co-founder Jack Clark: 60%+ chance of automated AI R&D by 2029

https://importai.substack.com/p/import-ai-455-automating-ai-research
5•thoughtpeddler•1h ago•1 comments

Kenya: AI was used to load Health System costs onto poorest

https://sha.africauncensored.online/
2•gmargari•1h ago•0 comments

Apple Plans to Let Users Build Their Own Passes in iOS 27 Wallet App

https://www.bloomberg.com/news/articles/2026-05-04/ios-27-features-apple-plans-to-let-users-build...
3•petethomas•1h ago•0 comments

Why Your Country Sucks-A World Cup Satire from Mexico City

https://almaasfalto.com/why-your-country-sucks/
3•JFWFTW•1h ago•0 comments

Halley's Comet Meteor Shower (Eta Aquariids) About to Peak

https://www.sciencealert.com/look-up-the-halleys-comet-meteor-shower-is-just-about-to-peak
2•Gaishan•1h ago•0 comments

'Engineer' is so 2025. In AI land, everyone's a 'builder' now

https://sfstandard.com/2026/03/05/engineer-2025-ai-land-everyone-s-builder-now/
2•geetee•1h ago•0 comments

OpenClaw Got Safer in Public

https://openclaw.ai/blog/openclaw-security-in-public
3•drippurp•1h ago•0 comments

Ask HN: Why would we care about "extended time horizons" and LLMs?

2•ozozozd•1h ago•1 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

appetrosyan•11mo 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/