frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

TTal – CLI that turns Claude Code into a multi-agent software factory

1•neilbb•2m ago•0 comments

Nominal Connect: Shipping Realtime Desktop Software with Rust, Bevy, and Egui

https://nominal.io/blog/nominal-connect-shipping-realtime-desktop-software-with-rust-bevy-and-egui
1•slopinthebag•6m ago•0 comments

Teardown of a 2026 Lego Smart Brick

https://hackaday.com/2026/03/18/teardown-of-a-2026-lego-smart-brick/
1•Tomte•8m ago•0 comments

Giant IPOs from SpaceX to OpenAI Put Index Rules Under Pressure

https://www.bloomberg.com/news/articles/2026-03-18/spacex-fueled-index-rethink-draws-fire-with-tr...
1•m-hodges•10m ago•0 comments

Spendgauge – a simple way to know how much you can safely spend today

https://spendgauge.devsip.tech/
1•KoomeK•11m ago•0 comments

The Spectrum of Intelligence

https://upmaru.com/blog/the-spectrum-of-intelligence
1•zacksiri•14m ago•0 comments

iOS 26.4 Fixes iPhone Keyboard Accuracy Bug

https://www.macrumors.com/2026/03/18/ios-26-4-iphone-keyboard-bug-fix/
3•Tomte•19m ago•1 comments

Checkout Codex, A new language designed by me, written by AI

https://github.com/damiant3/NewRepository
1•damiant3•22m ago•1 comments

Try TorMessenger

https://tormessenger.lovable.app/
2•jackcom•23m ago•0 comments

What 81,000 people want from AI

https://www.anthropic.com/features/81k-interviews
2•dsr12•23m ago•0 comments

Researchers uncover iPhone spyware capable of penetrating millions of devices

https://www.reuters.com/technology/researchers-uncover-iphone-spyware-capable-penetrating-million...
1•petethomas•24m ago•0 comments

LLMs Are Manipulating Users with Rhetorical Tricks

https://hbr.org/2026/03/llms-are-manipulating-users-with-rhetorical-tricks
1•ryan_j_naughton•26m ago•0 comments

Show HN: Astruno – Your thoughts become stars on a 3D globe and celestial sky

https://www.astruno.com/
1•hsong1101•26m ago•0 comments

Show HN: MidiStickers – learn music theory visually

1•Frauber84•27m ago•0 comments

I Reverse-Engineered the TiinyAI Pocket Lab from Marketing Photos

https://bay41.com/posts/tiiny-ai-pocket-lab-review/
1•davidklemke•28m ago•0 comments

23.77M Secrets Leaked by AI in 2024 – GitGuardian Report

https://blog.gitguardian.com/the-state-of-secrets-sprawl-2026/
1•thomaslwang•31m ago•1 comments

Starting Early

https://siddhesh.substack.com/p/starting-early
1•weekendvampire•32m ago•0 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
1•notcodingtoday•35m ago•1 comments

Show HN: UI-stack – Claude skill that enforces design system on AI-generated UI

https://www.ui-stack.dev/
1•rashoodkhan•37m ago•1 comments

Invisalign Became the Biggest User of 3D Printers

https://www.wired.com/story/how-invisalign-became-the-worlds-biggest-3d-printing-company/
3•mikhael•43m ago•0 comments

Show HN: Clog – CLI and skill for debugging apps

https://github.com/ferrucc-io/clog/
1•0xferruccio•46m ago•0 comments

Electronics for Kids, 2nd Edition

https://nostarch.com/electronics-for-kids-2e
1•0x54MUR41•48m ago•0 comments

The Dumbing Down of Advanced Placement Tests

https://www.educationnext.org/dumbing-down-of-advanced-placement-tests-high-school-grade-inflation/
1•barry-cotter•51m ago•0 comments

Trump store is selling 'Trump 2028' hats

https://thehill.com/homenews/administration/5266019-donald-trump-store-merchandise-third-term-2028/
1•KnuthIsGod•52m ago•0 comments

The New World War

https://www.newstatesman.com/international-content/2026/03/the-new-world-war
3•d_silin•53m ago•1 comments

Being John Rawls

https://www.astralcodexten.com/p/being-john-rawls
3•jdkee•54m ago•0 comments

I Don't Drive

https://maxmautner.com/2026/03/17/why-i-do-not-drive.html
1•mslate•55m ago•0 comments

OpenClaw modular GTM Agents all free

https://marketplace-weld-alpha.vercel.app/
1•LargePanda•56m ago•0 comments

What's new in Swift: February 2026 Edition

https://www.swift.org/blog/whats-new-in-swift-february-2026/
1•Austin_Conlon•57m ago•0 comments

Talent Is Not Rare

https://tasshin.com/blog/talent-is-not-rare/
2•tasshin•58m ago•0 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/