frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A task manager that only shows tasks you can actually do

https://app.nexttask.cc/
1•obezzad•4m ago•0 comments

A pilot turned an old plane into a two-bedroom apartment

https://www.popsci.com/technology/plane-apartment-alaska/
2•1659447091•5m ago•0 comments

'Wicked: For Good' Rebuilt Oz, from Yellow Brick Road to Dorothy's House [video]

https://www.youtube.com/watch?v=QBUnd4VQkLA
1•gmays•5m ago•0 comments

Tide-Predicting Machine

https://en.wikipedia.org/wiki/Tide-predicting_machine
1•thunderbong•10m ago•0 comments

Rich Harris on frameworks, the web, and the edge (2023) [video]

https://www.youtube.com/watch?v=uXCipjbcQfM
1•saltymimir•13m ago•0 comments

England's AI World Cup masterplan: From perfecting penalties to powering players

https://www.bbc.com/sport/football/articles/cj0e7y754zpo
1•1659447091•18m ago•0 comments

Tech for Small vs. Big Firms

https://lexifina.com/blog/technology-for-firms-big-and-small
1•alansaber•25m ago•0 comments

Show HN: Promptv (local first prompt & .env management)

https://github.com/thompson0012/promptv
1•thompson0012•34m ago•0 comments

Show HN: Design Language System (Waitlist)

https://dls.labs21.dev/
1•thompson0012•35m ago•0 comments

Physics Quantum experiment settles a century-old row between Einstein and Bohr

https://www.newscientist.com/article/2506830-quantum-experiment-settles-a-century-old-row-between...
2•ashishgupta2209•40m ago•0 comments

Show HN: StackMark – Docker stack management CLI with auto port allocation

https://stackmark.tech/
2•grazulex•40m ago•0 comments

CVE-2023-20078: Triggering command injection in Cisco IP phones

https://www.ibm.com/think/x-force/cve-2023-20078-technical-analysis
2•jandeboevrie•42m ago•0 comments

Particle Physicists Detect 'Magic' at the Large Hadron Collider

https://www.quantamagazine.org/particle-physicists-detect-magic-at-the-large-hadron-collider-2025...
1•lc0_stein•53m ago•0 comments

Once a Gamble in the Desert, Electric Grid Batteries Are Everywhere

https://www.nytimes.com/2025/12/05/business/energy-environment/battery-prices-electric-grids.html
1•thelastgallon•1h ago•0 comments

The Forge Roblox Calculator

https://theforge-calculator.com/
1•thecrecipe•1h ago•0 comments

$700 for a bed? San Francisco startup plots 'sleeping pod' expansion

https://www.theguardian.com/us-news/2025/dec/03/san-francisco-sleeping-pods-rent
3•mitchbob•1h ago•1 comments

Show HN: OpenAI-compatible API hosted on German bare metal (GDPR-compliant)

https://supa.works/
2•haferfloq•1h ago•1 comments

AWS Announces Graviton 5

https://aws.amazon.com/ec2/instance-types/m9g/
3•AlexClickHouse•1h ago•0 comments

Limitless (Rewind) Aquired by Meta

https://www.limitless.ai/
5•lezuber•1h ago•1 comments

Google research: Titans and MIRAS: Helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
1•l3x4ur1n•1h ago•0 comments

Create viral videos without showing your face using 9 different creative modes

https://ai-video-gen.org/faceless-generator
1•dond1986•1h ago•0 comments

ModelingToolkit V11 Library Split and Licensing

https://discourse.julialang.org/t/modelingtoolkit-v11-library-split-and-licensing-community-feedb...
1•darboux•1h ago•0 comments

Revelation Order of Quranic Surah

https://tanzil.net/docs/revelation_order
1•teleforce•1h ago•1 comments

Christmas Tree Exec

https://en.wikipedia.org/wiki/Christmas_Tree_EXEC
1•jamesgill•1h ago•1 comments

Vital Cat Update (or how Google AI Overview makes up false information)

https://terribleminds.com/ramble/2025/12/04/vital-cat-update/
3•GeneralMaximus•1h ago•0 comments

Alphie – Self-hosted Ansible/Terraform automation controller

https://alphieui.com
1•thetodd-design•1h ago•1 comments

One Side Has Definitively Won the Missing Heritability Debate

https://www.astralcodexten.com/p/the-good-news-is-that-one-side-has
2•nsoonhui•1h ago•0 comments

Fearless frogs feast on deadly hornets

https://www.kobe-u.ac.jp/en/news/article/20251204-67323/
2•breve•1h ago•0 comments

When does a physical system compute? (2013)

https://arxiv.org/abs/1309.7979
3•nill0•1h ago•0 comments

Largest EV manufacturer is coming to the Western market

https://newatlas.com/motorcycles/yadea-comes-to-europe/
4•breve•1h ago•1 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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