frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Super-Flat ASTs

https://jhwlr.io/super-flat-ast/
1•mpweiher•1m ago•0 comments

Kiss vs. DRY in Infrastructure as Code: Why Simple Often Beats Clever

https://rosesecurity.dev/2025/11/14/kiss-versus-dry-iac.html
1•prognostikos•2m ago•0 comments

A lost idea can be a lost universe

https://rishi.monster/posts/a-lost-idea-can-be-a-lost-universe/
1•wawhal•2m ago•0 comments

Things You Shouldn't Leave in the Shed This Winter

https://www.countryliving.com/gardening/garden-ideas/a69611445/things-to-not-put-garden-shed-winter/
1•mooreds•2m ago•0 comments

Show HN: Octopii – a distributed runtime written in Rust

https://github.com/octopii-rs/octopii
1•joeeverjk•3m ago•0 comments

Glitches on video calls linked to real-world decisions

https://www.theregister.com/2025/12/04/glitchy_video_calls_research/
1•radeeyate•3m ago•0 comments

What makes a Platform Team work [audio]

https://www.swarmia.com/podcast/mason-jones-zapier/
1•mooreds•5m ago•0 comments

Show HN: PyTorch-World v0.1.0: Build & Train World Models

https://github.com/ParamThakkar123/pytorch-world
1•paramthakkar•5m ago•0 comments

Memory Crunch Hits PCs: Dell Hikes Prices 20%, Lenovo from January 2026

https://www.trendforce.com/news/2025/12/05/exclusive-memory-crunch-hits-pcs-dell-hikes-prices-15-...
1•akyuu•6m ago•0 comments

New discovery: The 'sacred boundary' surrounding Stonehenge

https://www.dw.com/en/new-discovery-the-sacred-boundary-surrounding-stonehenge/a-75039682
1•politelemon•6m ago•0 comments

SDA Church pays fines for 11 inmates at Nsawam Prisons

https://www.adomonline.com/sda-church-pays-fines-for-11-inmates-at-nsawam-prisons/
1•sipofwater•7m ago•1 comments

The Last Year Before AGI and How to Build Software Teams That Survive the Shift

https://www.tenmas.tech/post/2026-the-last-year-before-agi-and-how-to-build-software-teams-that-s...
1•mooreds•7m ago•0 comments

Show HN: I kept forgetting my supplements while cutting, so I built an app

https://apps.apple.com/us/app/gymdose-supplement-tracker/id6756020237
1•baransel•7m ago•1 comments

GrapheneOS is the only Android OS providing full security patches

https://grapheneos.social/@GrapheneOS/115647408229616018
1•akyuu•9m ago•0 comments

Beeple unleashes uncanny robot canines at Art Basel Miami Beach

https://www.theartnewspaper.com/2025/12/04/beeple-robot-dogs-elon-musk-art-basel-miami-beach
1•cs702•11m ago•0 comments

The Forge Roblox Calculator

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

How I discovered a hidden microphone on a Chinese NanoKVM

https://telefoncek.si/2025/02/2025-02-10-hidden-microphone-on-nanokvm/
3•ementally•13m ago•0 comments

Biological LLM Evo 2: Getting Started

https://predictbiolabs.com/evo2/
1•reinvent42•16m ago•0 comments

When square pixels aren't square

https://alexwlchan.net/2025/square-pixels/
1•surprisetalk•16m ago•0 comments

Montaigne's Epistemology

https://www.jenn.site/montaignes-epistemology/
1•surprisetalk•16m ago•0 comments

What did you do [video]

https://www.youtube.com/watch?v=bC-8y2R6IxI
1•surprisetalk•17m ago•0 comments

Because I Wanted To

https://aaronfrancis.com/2024/because-i-wanted-to-12c5137c
2•Kerrick•17m ago•1 comments

Testing Absurd Queues for AI Workloads

https://leblancfg.com/trying-absurd-postgres-workflows.html
1•leblancfg•19m ago•0 comments

A Risk of Cognitive Convenience

https://davidepstein.substack.com/p/a-risk-of-cognitive-convenience
2•RickJWagner•19m ago•0 comments

React2Shell (CVE-2025-55182): A Log4Shell Moment for the Front End Ecosystem

https://securitylabs.datadoghq.com/articles/cve-2025-55182-react2shell-remote-code-execution-reac...
3•birdculture•25m ago•0 comments

Show HN: KnockKnock – Circular video calls that bring you closer, faster(macOS)

https://apps.apple.com/ca/app/knockknock/id6740499661?mt=12
1•HamounKarami•29m ago•1 comments

A Dao of Web Design (2000)

https://alistapart.com/article/dao/
1•Kerrick•32m ago•0 comments

A New Best Practice for User Friendly 404 Page Design?

https://kerrick.blog/posts/2025/a-new-best-practice-for-user-friendly-404-pages/
1•Kerrick•32m ago•0 comments

Artificial Womb Technology: Survey of 750 Researchers

3•biostark•35m ago•1 comments

Show HN: FastAPI Matrix Admin – Zero-config secure admin panel with cyberpunk UI

https://github.com/rasinmuhammed/fastapi-matrix-admin
1•rasinmuhammed•36m ago•0 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/