frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

People who obsessively exercise are boring

https://mathbabe.org/2014/04/14/people-who-obsessively-exercise-are-boring/
1•brailsafe•2m ago•0 comments

Anthropic wins preliminary injunction in DoD fight on 1A

https://www.cnbc.com/2026/03/26/anthropic-pentagon-dod-claude-court-ruling.html
2•m-hodges•2m ago•0 comments

Apple Discontinues the Mac Pro

https://www.thurrott.com/mobile/mac-and-macos/334274/apple-discontinues-the-mac-pro
2•ingve•3m ago•0 comments

Monetization needs its Platform Engineering moment

https://www.withsahel.com/blog/monetization-needs-platform-engineering-moment
1•iajiboye•6m ago•0 comments

Trump's signature to appear on paper currency in first for sitting President

https://www.nbcnews.com/politics/donald-trump/signature-appear-paper-currency-dollar-bills-first-...
3•anigbrowl•10m ago•0 comments

Postmortem of March 2026 Archive of Our Own Downtime

https://archiveofourown.org/works/81635876
1•teddyh•11m ago•0 comments

US Treasury plans to put Trump's signature on new paper currency

https://apnews.com/article/trump-currency-signiture-treasury-first-d919877e39f907eba1172a07920ea80e
1•geox•11m ago•0 comments

Know where your AI budget is going

https://www.flowstate.inc/
1•ahmadassaf•13m ago•0 comments

OpenChamber – Desktop and web interface for OpenCode AI agent

https://github.com/openchamber/openchamber
1•indigodaddy•13m ago•0 comments

One API for every AI model. Lower costs on autopilot

https://www.deepmyst.com/
1•ahmadassaf•13m ago•0 comments

Show HN: A Postgres Extension to Write PostgreSQL Functions in TypeScript

https://github.com/isaacd9/pg_typescript
1•idd2•13m ago•0 comments

Considering MMAP() verus plain reads for my recent code

https://utcc.utoronto.ca/~cks/space/blog/unix/MmapVsPlainReadThoughts
1•ingve•16m ago•0 comments

MacBook Neo, the Benchmarks

https://birchtree.me/blog/macbook-neo-the-benchmarks/
2•ingve•17m ago•0 comments

What Will It Take to Build the World's Largest Data Center?

https://spectrum.ieee.org/5gw-data-center
1•pseudolus•21m ago•0 comments

Unorthodox Financial Advice

https://liamrosen.com/unorthodox-financial-advice/
1•paulpauper•21m ago•0 comments

ERC-8004 Launch Day was 11 days ago. We shipped a live implementation

https://openpub.ai/blog/erc-8004-launch-day
1•doughardman•22m ago•0 comments

Judge blocks Pentagon effort to 'punish' Anthropic with supply chain risk label

https://www.cnn.com/2026/03/26/business/anthropic-pentagon-injunction-supply-chain-risk
7•prawn•27m ago•0 comments

Trump Says He'll Sign Order to Pay TSA

https://gizmodo.com/trump-says-hell-sign-order-to-pay-tsa-2000738813
3•pseudolus•32m ago•0 comments

The Complete Guide to Deploying Rails 8 with Kamal on Hetzner

https://mooktakim.com/blog/deploying-rails-with-kamal/
2•mooktakim•32m ago•0 comments

I built a tiny CLI that writes my commit messages from Git diff

https://github.com/saccofrancesco/gitsloth
1•s4ccofr4ncesco•34m ago•0 comments

Speaking of Voxtral

https://mistral.ai/news/voxtral-tts
1•claudiug•34m ago•0 comments

Show HN: Drift – Linter for Documentation Rot

https://fiberplane.com/blog/drift-documentation-linter/
1•keturakis•38m ago•0 comments

Every Venue and Every Concert in San Diego 2026

https://www.sdconcerts.app
2•goldkey•39m ago•0 comments

A cross-shell framework for managing aliases, plugins, completions, and themes

https://github.com/g-udi/gaudi-shell
1•ahmadassaf•41m ago•1 comments

Chicago artist creates tourism posters for city's neighborhoods

https://www.chicagotribune.com/2026/03/25/chicago-neighborhood-posters/
6•NaOH•43m ago•2 comments

DataSwift – A client-side toolkit for mock data, JSON parsing, and CSV to SQL

https://data-swift-kappa.vercel.app
1•dearmmv•44m ago•0 comments

AI will test governments on jobs, training, and public trust, Hoover panels warn

https://www.hoover.org/news/ai-will-test-governments-jobs-training-and-public-trust-hoover-panels...
1•hhs•47m ago•0 comments

The Hard Problem of Consciousness: Triveritas and the Third Impossibility

https://zenodo.org/records/18930279
1•amelius•49m ago•0 comments

Apple Discontinues Mac Pro

9•alifeinbinary•49m ago•6 comments

Order Granting Preliminary Injunction – Anthropic vs. U.S. Department of War [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.465515/gov.uscourts.cand.465515.134.0.pdf
28•theindieman•49m ago•2 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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