frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bank Balance Is a Lie, and Fragmentation Is Why Nobody Can Prove It

https://heavenslive.com
1•bbenevolence•3m ago•0 comments

Information Theory for Complex Systems [pdf]

https://annas-archive.pk/md5/2f7824216767bc996173fcf234842cc2
1•gdss•3m ago•0 comments

The Filamentary Funnels That Form Stars

https://www.universetoday.com/articles/the-filamentary-funnels-that-form-stars
1•leephillips•4m ago•0 comments

NuCS vs. Choco: a pure-Python solver meets a JVM veteran

https://github.com/yangeorget/nucs/blob/main/articles/NuCS%20vs%20Choco/nucs-vs-choco.mdsummar
1•yan_georget•4m ago•0 comments

Updates to GitHub Copilot billing and plans

https://github.blog/changelog/2026-06-01-updates-to-github-copilot-billing-and-plans/
1•agluszak•4m ago•0 comments

De Maquinas Y Seres Vivos – Humberto Maturana, Francisco Varela

https://z-library.im/book/8WkmBWGpJj/de-maquinas-y-seres-vivos.html
1•gdss•5m ago•0 comments

Alphabet Announces $80B Equity Capital Raise to Expand AI Infra and Compute

https://abc.xyz/investor/news/news-details/2026/Alphabet-Announces-Proposed-80-Billion-Equity-Cap...
6•gregschlom•9m ago•0 comments

Going multi-cloud with an in-housed status page

https://blog.railway.com/p/multi-cloud-status-page
2•ndneighbor•10m ago•0 comments

What "Memory Compiler" Means: From Bitcells to GDS Tiling

https://thecloudlet.github.io/technical/compiler/memory-compiler/
2•sillysaurusx•12m ago•0 comments

A court just decided how much foot movement counts as 'pedaling' an e-bike

https://electrek.co/2026/05/31/a-court-just-decided-how-much-foot-movement-counts-as-pedaling-an-...
2•Bender•12m ago•0 comments

Verkada Publicly Disparages Major Competitors with Private Google VC Doc

https://ipvm.com/reports/verkada-nps-comp
4•jhonovich•13m ago•0 comments

Bill Maher becomes latest liberal to throw support behind Spencer Pratt

https://www.dailymail.com/media/article-15865069/bill-maher-spencer-pratt-club-random-la-los-ange...
1•Bender•13m ago•0 comments

FastStream 0.7: MQTT support – in-memory tests, AsyncAPI generation and more

https://github.com/ag2ai/faststream/releases/tag/0.7.0
2•Lancetnik•14m ago•0 comments

Red Hat packages backdoored through its offical NPM channel

https://arstechnica.com/security/2026/06/dozens-of-red-hat-packages-backdoored-through-its-offica...
2•jjbinx007•18m ago•0 comments

AI music is flooding streaming services, but who wants it?

https://www.theverge.com/column/921599/ai-music-is-flooding-streaming-services-but-who-wants-it
2•1vuio0pswjnm7•21m ago•0 comments

Show HN: Mqtt Broker for 10 Years

https://github.com/skittleson/mqtt_broker_esp
2•skittleson•22m ago•0 comments

Willis Lamm's traffic light collection

https://www.kbrhorse.net/signals/signals01.html
2•fanf2•22m ago•0 comments

My 15-year-old relative was killed for refusing to marry her cousin

https://www.theguardian.com/global-development/2026/jun/01/kawthar-al-husayjawi-killed-refusing-f...
16•Anon84•23m ago•0 comments

Florida Sues OpenAI over Chatbot Safety Concerns

https://www.nytimes.com/2026/06/01/technology/florida-sues-openai-chatgpt-safety.html
2•1vuio0pswjnm7•23m ago•1 comments

Open Source Initiative Helps G7 Deliver Vision on AI Openness

https://opensource.org/blog/open-source-initiative-helps-g7-deliver-vision-on-ai-openness
1•jomaris•23m ago•1 comments

Debug Project

https://debug.com/
3•Eridanus2•24m ago•0 comments

Lyceum – visual lessons on history, science, and philosophy for curious adults

https://trylyceum.com/
1•LazarusK•25m ago•0 comments

Space race: Why Portugal is reaching for the stars

https://www.dw.com/en/space-race-why-portugal-is-reaching-for-the-stars/a-77303795
2•JoeDaDude•26m ago•1 comments

Ask HN: Are multifocal lenses important for older people who don't drive?

1•amichail•27m ago•1 comments

AI is making it very easy for the government to spy on you

https://www.nbcnews.com/tech/security/ai-making-easy-government-spy-lawmakers-are-worried-rcna341499
3•1vuio0pswjnm7•28m ago•1 comments

Equibles – Open-source, self-hosted mini Bloomberg Terminal for AI agents

https://github.com/daniel3303/Equibles
1•daniel3303•28m ago•1 comments

Déjà View: Looping Transformers for Multi-View 3D Reconstruction

https://research.nvidia.com/labs/dvl/projects/dvlt/
1•theschwa•30m ago•0 comments

AI is crushing a generation of startups built before ChatGPT

https://www.cnbc.com/2026/06/01/ai-startup-valuations-pre-chatgpt.html
2•judahmeek•30m ago•0 comments

A New Chapter for Contentful: Scaling Our Vision with Salesforce

https://www.contentful.com/blog/a-new-chapter-for-contentful/
1•ipmb•31m ago•0 comments

Meteor Explodes over Massachusetts

https://www.nbcboston.com/news/local/meteor-explodes-over-massachusetts-what-we-know-and-where-it...
3•1970-01-01•33m ago•1 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.

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/

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 ?