frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: EnvMark – Git-based .env management with zero infrastructure

https://www.envmark.tech/
1•grazulex•1m ago•0 comments

Microsoft investing $17.5B in India for AI and cloud, CEO Satya Nadella says

https://apnews.com/article/india-microsoft-ceo-nadella-modi-artificial-intelligence-e1d0f47dea566...
1•whoknowsidont•1m ago•0 comments

AI Is Killing Entry-Level Programming Jobs. But Could It Also Help Save Them?

https://thenewstack.io/ai-is-killing-entry-level-programming-jobs-but-could-it-also-help-save-them/
1•CrankyBear•4m ago•0 comments

Building boring webthings for lazy maintainers

https://overengineer.dev/blog/2025/12/10/boring-webthings/
1•danburzo•6m ago•0 comments

Prompt injection is not SQL injection (it may be worse)

https://www.ncsc.gov.uk/blog-post/prompt-injection-is-not-sql-injection
1•funtech•8m ago•0 comments

How Space Alters Human DNA and What NASA Is Learning from It [video]

https://www.youtube.com/watch?v=zOCKGmiZAgM
1•thunderbong•8m ago•0 comments

Human-to-Human Rabies via Solid Organ Transplantation from a Donor

https://www.cdc.gov/mmwr/volumes/74/wr/mm7439a1.htm
1•mudil•10m ago•0 comments

Curiouser and curiouser: a riddle at the Alice detector

https://www.symmetrymagazine.org/article/curiouser-and-curiouser-a-riddle-at-the-alice-detector?l...
1•elashri•10m ago•0 comments

Typeframe PX-88: Raspberry Pi-powered CyberDeck inspired by a 1980s portable PC

https://liliputing.com/typeframe-px-88-is-a-raspberry-pi-powered-cyberdeck-inspired-by-a-portable...
1•PaulHoule•13m ago•0 comments

Michigan man dies of rabies after receiving kidney from infected donor

https://www.foxnews.com/health/michigan-man-dies-rabies-after-receiving-kidney-from-infected-dono...
1•mudil•13m ago•0 comments

Sandia Supercomputer Built on NextSilicon's Maverick-2 Accelerators

https://www.hpcwire.com/off-the-wire/sandia-unveils-spectra-supercomputer-built-on-nextsilicons-m...
1•eyalitki•13m ago•0 comments

Rust-script – Run Rust files and expressions as scripts

https://rust-script.org/
1•gjvc•14m ago•0 comments

Balanced Ternary Transformers: 93.8% Energy Reduction Using 1965 Soviet Research

https://zenodo.org/records/17875182
2•ZaneHam•16m ago•1 comments

Show HN: RAG-TUI – Visual chunking debugger for RAG pipelines in the terminal

https://pypi.org/project/rag-tui/
1•rasinmuhammed•18m ago•0 comments

Show HN: DskDitto

https://github.com/jdefrancesco/dskDitto
1•jdefr89•20m ago•0 comments

LLM Council – Your Local Multi-Model AI Advisory Board

https://github.com/karpathy/llm-council
2•the-mitr•21m ago•0 comments

SpaceX to Pursue 2026 IPO Raising Far Above $30B

https://www.bloomberg.com/news/articles/2025-12-09/spacex-said-to-pursue-2026-ipo-raising-far-abo...
1•donsupreme•23m ago•0 comments

NPM Revokes Classic Tokens, as OpenJS Warns Maintainers About OIDC Gaps

https://socket.dev/blog/npm-revokes-classic-tokens
1•feross•23m ago•0 comments

Show HN: DskDitto

1•jdefr89•27m ago•0 comments

Pet Artist

https://petartist.ai/en
1•NikkiWang•27m ago•1 comments

Show HN: What Paid Directories Charge in 2025

https://directoryideas.ai/pricing-benchmark-study
1•tejas3732•43m ago•0 comments

Cybernetic Methods in Chemistry and Chemical Engineering (1976)

https://archive.org/details/v.-kafarov-cybernetic-methods-in-chemistry-and-chemical-engineering-m...
2•the-mitr•43m ago•0 comments

The Autobiography of JGB

https://www.newyorker.com/magazine/2009/05/11/the-autobiography-of-j-g-b
2•jdkee•44m ago•2 comments

Do Not Optimize Away

https://matklad.github.io/2025/12/09/do-not-optimize-away.html
1•todsacerdoti•44m ago•0 comments

Elon: Satellites best way to scale AI within 4 years

https://twitter.com/elonmusk/status/1997706687155720229
1•lquist•1h ago•1 comments

Orchids – The Vibe Coding IDE

https://www.orchids.app/
2•doppp•1h ago•2 comments

Nvidia Isn't Enron – So What Is It?

https://www.wheresyoured.at/nvidia-isnt-enron-so-what-is-it/
2•s3graham•1h ago•1 comments

Gmail emoji reactions will be enabled by default starting Feb

https://www.prettyfwd.com/t/XOR4SAN3R1qitLNl5hHwNg/
1•Alex3917•1h ago•0 comments

Meesho Goes Public

https://www.ycombinator.com/blog/meesho-goes-public/
3•todsacerdoti•1h ago•1 comments

Dependable C

https://dependablec.org/
5•RossBencina•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•7mo 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•7mo 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•7mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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