frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

EU wants households to cut peak time energy use as industry and AI demand soars

https://www.politico.eu/article/eu-households-electricity-energy-artificial-intelligence-ai/
1•pseudalopex•12s ago•0 comments

How should we think about Starship?

https://mceglowski.substack.com/p/how-should-we-think-about-starship
1•PanMan•17s ago•0 comments

'Beauty and the Beast' singer Peabo Bryson dies at 75

https://abcnews.com/GMA/Culture/singer-peabo-bryson-dies-75/story?id=133533357
1•bookofjoe•1m ago•0 comments

Microsoft Deliberately Bricking All Office for Mac 2019/2021 Installations

https://www.osnews.com/story/145179/microsoft-is-intentionally-bricking-all-office-for-mac-2019-i...
1•m463•1m ago•0 comments

Are Young People Lazy, or Are They Just Hopeless?

https://www.newsweek.com/are-young-people-lazy-hopeless-2037840
1•paulpauper•1m ago•0 comments

Advice for amateur mathematicians on writing and publishing

https://cohn.mit.edu/advice/
1•paulpauper•2m ago•0 comments

Do you really want that computer-science degree?

https://www.economist.com/graphic-detail/2026/06/01/do-you-really-want-that-computer-science-degree
2•pseudolus•3m ago•1 comments

Inference Optimization for MiniMax Sparse Attention

https://www.together.ai/blog/serving-minimax-m3-for-efficient-inference-unlocking-1m-token-contex...
1•zagwdt•4m ago•0 comments

Why We've Been Thinking about the Fertility Crisis Wrong

https://www.richardhanania.com/p/why-weve-been-thinking-about-the
1•paulpauper•4m ago•0 comments

A Mathematician's Lament – Paul Lockhart (2002) [pdf]

https://worrydream.com/refs/Lockhart_2002_-_A_Mathematician%27s_Lament.pdf
1•xeonmc•6m ago•0 comments

Bend the beam like Beckham to defeat anti-jamming tech

https://www.theregister.com/networks/2026/06/03/curving-beams-could-fool-anti-jamming-tech/5250872
1•Bender•6m ago•0 comments

Google's new Gemma 4 12B model is designed to run on any laptop with 16GB of RAM

https://arstechnica.com/google/2026/06/googles-new-gemma-4-open-ai-model-is-sized-for-your-laptop/
1•Bender•7m ago•0 comments

Dashlane issues opaque advisory warning 20 encrypted vaults were stolen

https://arstechnica.com/security/2026/06/dashlane-issues-opaque-advisory-warning-20-encrypted-vau...
1•Bender•8m ago•0 comments

Sir Alex Younger has died

https://www.bbc.com/news/articles/cwy201wge44o
1•x86a•8m ago•0 comments

The American AI Sovereign Wealth Fund Act [video]

https://www.youtube.com/watch?v=VN4b4UCWMKI
1•simonpure•12m ago•0 comments

Genie that ate the Internet, hidden masters and fifty-year-old weakness

https://w00t.rs/blog/genie/
1•DistressedKiwi•13m ago•0 comments

SpaceX wins Texas tax breaks for chip project, ahead of record IPO

https://www.reuters.com/business/media-telecom/spacex-wins-texas-county-approval-reinvestment-zon...
5•lschueller•14m ago•0 comments

Splash Is a Colour Format

https://www.todepond.com/lab/splash/
1•tobr•16m ago•0 comments

Gemini Spark is the most impressive and terrifying AI experience I've had yet

https://www.theverge.com/ai-artificial-intelligence/941388/gemini-spark-ai-agent-trip-planning
3•haldean•17m ago•0 comments

Banned Russian Submunitions Found After Mali's Military Announces Airstrikes

https://www.bellingcat.com/news/africa/2026/05/26/banned-russian-submunitions-found-after-malis-m...
2•lschueller•18m ago•0 comments

Microsoft Scout: Your always-on personal agent

https://www.microsoft.com/en-us/microsoft-365/blog/2026/06/02/introducing-microsoft-scout-your-al...
1•brianmcnulty•19m ago•1 comments

Naively Summing an Alternating Series

https://www.johndcook.com/blog/2026/06/03/naive-sum/
1•SVI•19m ago•0 comments

Commodore Can't Survive Solely on Nostalgia

https://www.timeextension.com/news/2026/06/commodore-cant-survive-solely-on-nostalgia-c64-ultimat...
1•GTP•21m ago•0 comments

Bernie Sanders introduces bill giving the public a 50% stake in top AI companies

https://finance.yahoo.com/economy/policy/articles/bernie-sanders-introduce-bill-giving-135431485....
2•rmason•21m ago•1 comments

A New Path Forward for Session

https://getsession.org/
1•Cider9986•21m ago•1 comments

Why Vector Search Alone Isn't Enough: Hybrid Retrieval for RAG

https://www.infoq.com/articles/vector-search-hybrid-retrieval-rag/
1•aadityachauhan1•22m ago•0 comments

Scaling Past Informal AI – Carina Hong, Axiom Math

https://www.latent.space/p/axiom
1•SVI•22m ago•0 comments

Laid off. Broke. Depressed. & idk how to market my SaaS

2•touseefbuilds•24m ago•8 comments

Grand Theft Auto V cheat service gets hacked, exposing gamers

https://techcrunch.com/2026/06/01/grand-theft-auto-v-cheat-service-gets-hacked-exposing-thousands...
1•Cider9986•24m ago•0 comments

WebKit position stated as opposed to WebMCP

https://github.com/WebKit/standards-positions/issues/670
1•msub2•25m ago•0 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 ?