frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Spite: A Dignified Music Player

https://www.jamesreeves.co/spite/
1•schu•1m ago•0 comments

Samsung Lawyer Fails to Differentiate iPad and Galaxy Tab in Court (2011)

https://apple.slashdot.org/story/11/10/14/2051219/samsung-lawyer-fails-to-differentiate-ipad-and-...
1•Caarticles•1m ago•0 comments

Arbitrage

https://grokipedia.com/page/Arbitrage
2•BruceEel•3m ago•0 comments

Brazilian Internet Forum (FIB16) in Belém, Pará: A Visual Tour

https://manualdousuario.net/en/brazilian-internet-forum-fib16-belem-pictures/
1•rpgbr•4m ago•1 comments

Claude Talk Small. Code Still Big

https://spatie.be/blog/claude-talk-small-code-still-big
1•speckx•4m ago•0 comments

The MQ-28 Ghost Bat Is Now Flying in the U.S.

https://theaviationist.com/2026/05/28/the-mq-28-ghost-bat-is-now-flying-in-the-u-s/
1•big_toast•5m ago•0 comments

// The hope is that Claude Code will be unusable on this repository

https://codeberg.org/forgejo-contrib/forgejo-cli/src/branch/main/src/main.rs#L88-L91
1•themgt•7m ago•0 comments

Teaching tmux to babysit my Claude Code agents

https://blog.angeloff.name/post/2026/05/29/teaching-tmux-to-babysit-my-claude-code-agents/
1•StanAngeloff•8m ago•0 comments

The mechanism behind how capsaicin tolerance develops

https://old.reddit.com/r/askscience/comments/hqiut/comment/c1xlzlb/
1•abr0ahm•8m ago•0 comments

Kalshi launches perpetual futures in America

https://news.kalshi.com/p/kalshi-launches-perpetual-futures-america
1•durron•8m ago•0 comments

European startup and scaleup scoreboard: Country reports

https://research-and-innovation.ec.europa.eu/knowledge-publications-tools-and-data/publications/a...
1•jruohonen•8m ago•0 comments

MIT EECS/CSAIL Agentic Coding in Practice Seminar Series

https://people.csail.mit.edu/saman/acpss/
1•matt_d•10m ago•0 comments

The Load-Balance Problem Behind Hybrid Parallelism

https://hecate0821.github.io/blogs/hybrid-parallel-post-training/
1•matt_d•10m ago•0 comments

Deadly fungal storms are sweeping US and spreading disease few doctors recognize

https://www.sciencefocus.com/planet-earth/dust-storms-us-blood-rain
2•ck2•14m ago•1 comments

"I somehow managed to import 1.8M books to calibre"

https://old.reddit.com/r/DataHoarder/comments/1tr37eb/i_somehow_managed_to_import_18m_books_to_ca...
2•r721•15m ago•0 comments

Show HN: I launched a micro-gig marketplace and used it to buy my own GTM plan

1•alanhalley•18m ago•0 comments

Auto-review mode is now available in Cursor

https://cursor.com/changelog/auto-review
2•davidgomes•18m ago•0 comments

Delayed Tensor Parallelism for Faster Transformer Inference

https://blog.kog.ai/delayed-tensor-parallelism-for-faster-transformer-inference/
1•matt_d•19m ago•0 comments

Aliens.gov

https://www.whitehouse.gov/aliens/
3•saikatsg•19m ago•2 comments

The Compose Key and –/.XCompose

https://blog.gavide.dev/blog/compose-key-linux
2•gavide•20m ago•0 comments

The Machine God Wants to Talk to You

https://twitter.com/olvrgln/status/2060419489351754049
1•OliverGilan•22m ago•0 comments

SQLite is all you need for durable workflows

https://obeli.sk/blog/sqlite-is-all-you-need-for-durable-workflows/
16•tomasol•23m ago•6 comments

A call for secure coding standards across the Canada government

https://bsky.app/profile/shehackspurple.bsky.social/post/3mmz25aplk52a
1•mooreds•23m ago•0 comments

Nvidia Twitter Post Teasing: A New Era of PC

https://twitter.com/nvidia/status/2060390710797328574
1•HeyMeco•24m ago•2 comments

Multiplayer Harness for Agents and Humans

https://thruwire.ai
1•noashavit•25m ago•0 comments

The Greatest Show on Earth: The Evidence for Evolution

https://en.wikipedia.org/wiki/The_Greatest_Show_on_Earth:_The_Evidence_for_Evolution
2•chistev•26m ago•0 comments

Tesla's AI trainers don't trust its self-driving tech – or its safety stats

https://www.reuters.com/investigations/why-teslas-ai-trainers-dont-trust-its-self-driving-tech-or...
5•grassfedgeek•27m ago•2 comments

What if remote working, not AI, is to blame for weak junior hiring?

https://www.ft.com/content/2205e2d0-50dc-4e80-9bf7-78d0272276c0
3•uxhacker•27m ago•1 comments

Google DeepMind's AlphaProof Nexus solves decades-old math problems

https://the-decoder.com/google-deepminds-alphaproof-nexus-solves-decades-old-math-problems-for-a-...
1•gmays•30m ago•0 comments

Robinhood now lets your AI agents trade stocks

https://techcrunch.com/2026/05/27/robinhood-now-lets-your-ai-agents-trade-stocks/
34•wapasta•31m ago•36 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 ?