frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The AI bubble isn't new – Marx explained the mechanisms behind it 150 years ago

https://theconversation.com/the-ai-bubble-isnt-new-karl-marx-explained-the-mechanisms-behind-it-n...
1•vrganj•1m ago•0 comments

What to expect from the fiery, 14-minute return of Artemis II

https://arstechnica.com/space/2026/04/heres-what-to-expect-from-the-fiery-14-minute-return-of-art...
1•trothamel•1m ago•0 comments

Comparison Shopping Is Not a (Computer) Crime

https://www.eff.org/deeplinks/2026/04/comparison-shopping-not-computer-crime
1•hn_acker•2m ago•0 comments

Logic of Self vs. Logic of Role (and Why Confusing the Two Is a Trap)

https://www.leadingsapiens.com/logic-of-self-vs-logic-of-role/
1•sherilm•2m ago•0 comments

Cohn's "Privacy's Defender"

https://pluralistic.net/2026/04/09/bernstein-2/
1•hn_acker•3m ago•0 comments

But What about K?

https://tony-zorman.com/posts/whitney-k.html
1•mpweiher•4m ago•0 comments

UMR: Save LLM model disk space

https://github.com/EvanZhouDev/umr
1•thatxliner•5m ago•0 comments

Show HN: Kubbo – build a medieval city with your daily habits

https://kubbo.app/
1•macfleid•6m ago•0 comments

Let's Talk about LLMs

https://www.b-list.org/weblog/2026/apr/09/llms/
1•mpweiher•7m ago•0 comments

Explaining the Failures of Obesity Therapy

https://www.nature.com/articles/ijo2012114
1•paulpauper•7m ago•0 comments

Claude Mythos Is Everyone's Problem

https://www.theatlantic.com/technology/2026/04/claude-mythos-hacking/686746/
2•paulpauper•8m ago•0 comments

Not all index scans are equal: How we cut query latency by over 99%

https://www.datadoghq.com/blog/detect-inefficient-index-scans-with-dbm/
1•tanelpoder•8m ago•0 comments

Finding your investment lodestar: In search of an investment philosophy

https://aswathdamodaran.substack.com/p/finding-your-investment-lodestar
1•paulpauper•8m ago•0 comments

CIA to embed AI «co-workers» in every analytic platform within two years

https://anonhaven.com/en/news/cia-ai-coworkers-ellis-scsp-april-2026/
2•anonhaven•9m ago•0 comments

NASA's Dragonfly mission will send a nuclear-powered flying drone to Titan

https://www.scientificamerican.com/article/nasas-dragonfly-mission-will-send-a-nuclear-powered-fl...
1•Brajeshwar•10m ago•0 comments

Show HN: Wealth Curve – Financial forecasting with local storage and E2EE

https://wealthcurve.app/
1•fishbone•15m ago•0 comments

Show HN: IBANforge – Free IBAN/BIC validation API with compliance data

https://github.com/cammac-creator/ibanforge
1•Xentyon•15m ago•0 comments

Supply chain nightmare: How Rust will be attacked and what we can do to mitigate

https://kerkour.com/rust-supply-chain-nightmare
3•fanf2•15m ago•0 comments

Chewy to Acquire Modern Animal, Membership-Based Pet Healthcare Platform

https://investor.chewy.com/news-and-events/news/news-details/2026/Chewy-to-Acquire-Modern-Animal-...
2•randycupertino•16m ago•1 comments

Monarch: An API to Your Supercomputer

https://pytorch.org/blog/monarch-an-api-to-your-supercomputer/
1•gmays•17m ago•0 comments

CPU-Z and HWMonitor Compromised

https://old.reddit.com/r/pcmasterrace/comments/1sh4e5l/warning_hwmonitor_163_download_on_the_offi...
18•Wingy•20m ago•1 comments

Show HN: Agents that do the work and show it – kern

https://kern-ai.com/?release=v0.25.0
2•obilgic•21m ago•0 comments

Why do we tell ourselves scary stories about AI?

https://www.quantamagazine.org/why-do-we-tell-ourselves-scary-stories-about-ai-20260410/
7•lschueller•22m ago•5 comments

Bluesky users are mastering the fine art of blaming everything on "vibe coding"

https://arstechnica.com/ai/2026/04/bluesky-users-are-mastering-the-fine-art-of-blaming-everything...
7•ulrischa•22m ago•0 comments

Show HN: I wrote a practical guide to DSPy after 2 years of production use

https://harmlessdspy.com
1•aliirz•23m ago•0 comments

Design and Implementation of DuckDB Internals Course

https://github.com/DBatUTuebingen/DiDi
2•tanelpoder•23m ago•0 comments

How Germany is betting on international students amid demographic shift

https://thepienews.com/how-germany-is-betting-on-international-students-amid-demographic-shift/
1•rustoo•24m ago•0 comments

LibreOffice on the Brink: How the Document Foundation Shut Out Its Own Founders

https://forum.linuxguides.de/core/index.php?article/54-libreoffice-am-abgrund-wie-die-document-fo...
3•cachius•25m ago•1 comments

Nearly half of US data centers planned for 2026 canceled or delayed

https://www.msn.com/en-us/money/economy/nearly-half-of-us-data-centers-planned-for-2026-canceled-...
4•vrganj•25m ago•0 comments

HWInfo and CPU-Z both compromised

https://nitter.gmem.ca/vxunderground/status/2042483067655262461#m
7•_____k•25m ago•3 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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