frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

3D Printed Photobioreactor [video]

https://www.youtube.com/watch?v=SLckTj_tJg4
1•asalahli•3m ago•0 comments

Trump Officials Asked Agency to Obtain and Hack a Voting Machine

https://www.ibtimes.co.uk/trump-appointees-cisa-hack-voting-machine-1826479
1•razorbeamz•3m ago•0 comments

Keycloak: Unauthenticated account takeover via reset-credentials flow bypass

https://access.redhat.com/security/cve/cve-2026-18963
1•pamcake•5m ago•1 comments

UUIDv7 doesn't have the properties you think it does

https://alexsci.com/blog/uuidv7-is-weird/
1•ajorgensen•8m ago•0 comments

History of Civilization, the Game Franchise

https://www.polygon.com/civilization-games-oral-history/
1•rgun•9m ago•0 comments

Brain organoid computing for robotic decision-making

https://www.biorxiv.org/content/10.64898/2026.09.09.750426v1
1•anigbrowl•10m ago•0 comments

AI Agents Kinda Broke the Internet

https://jacobg.co/ai-agents/
2•jgx0•10m ago•0 comments

CVE-2026-107891: musl Libc: multiple integer overflow in regcomp

https://www.openwall.com/lists/oss-security/2026/10/21/18
1•keyle•13m ago•0 comments

Create Prospect focused sales collateral

https://edithly.com/gtm/
3•bizguy•18m ago•0 comments

PHP situation 24h later [video]

https://www.youtube.com/watch?v=SP7y1h0laN0
1•qwertyforce•20m ago•0 comments

The PHP exploit simply explained [video]

https://www.youtube.com/watch?v=JGZxVTpw3GU
5•daan_nijl•22m ago•0 comments

Patching the Sony PS3 for RGB Scart When Playing DVDs and BluRay

https://github.com/WeebLabs/RGB-DVD-Patch-for-PS3
2•WeebLabs•23m ago•1 comments

MathEconLib – Machine-checked mathematical economics

https://mathecon.dev/
1•the-mitr•24m ago•0 comments

Cherry Processing

https://sftw.substack.com/p/the-second-most-photographed-fruit
1•mhb•27m ago•0 comments

FreeToolkit – 384 client-side dev utilities (regex, SQL, cron, cURL, more)

https://freetoolkit.dev/
1•scottymal•27m ago•0 comments

Syntax-Highlighting for Word, PowerPoint, Google Docs, Google Sheet, Keynote

https://onlineimageoptimizer.com/code-to-image.html?cols=80&size=24&scale=2&font=Courier+Prime&la...
1•ImageOptimizer•30m ago•0 comments

Show HN: What LLM fits my GPU? – VRAM measured on real hardware for 117 models

https://quantized.uk/
1•sheephess44•34m ago•0 comments

The Customer Is the Builder: how AI coding agents change software economics

https://arxiv.org/abs/2610.30307
1•riponcm•35m ago•0 comments

Median product "lifespan" has fallen from ~4y down to ~1.5y

1•stanislavb•39m ago•0 comments

Beyond tree cover: mapping the forest types

https://deepmind.google/blog/beyond-tree-cover-mapping-the-worlds-forest-types/
1•loughnane•39m ago•0 comments

Building Event-Driven Microservices with Python and Kafka

https://rsbh.dev/blogs/python-kafka-microservices
1•rishabh09•40m ago•0 comments

Ask HN: Are half the Ask HN posts leading to "Sorry." for you too?

1•hahnchen•41m ago•1 comments

Virtual3D – Now has Nanie like "Flux" LOD system

https://starsigndev.itch.io/virtual3d
1•antonyrobwells•42m ago•0 comments

The Signal Chats That Cost OpenAI Researchers Their Jobs

https://www.wsj.com/tech/ai/the-signal-chats-that-cost-openai-researchers-their-jobs-594c5853
2•elffjs•45m ago•0 comments

Agent Compute Engine deep dive

https://cloud.google.com/blog/topics/ai-infrastructure/agent-compute-engine-deep-dive
1•simonpure•46m ago•0 comments

FrontierCS 2: A Benchmark for Computer Science R&D

https://frontier-cs.org/?v=2
1•matt_d•52m ago•0 comments

Low-cost, evasive malware for benchmarking reverse engineering capabilities

https://malwarebench.com
1•rexpository•57m ago•0 comments

Japan: Scientists develop autonomously swarming robodogs for anti-bear patrols

https://soranews24.com/2026/10/22/japanese-scientists-developing-cute-autonomously-swarming-robo-...
1•snarky-comments•58m ago•1 comments

AI RSS reader with summaries – Brew beta

https://testflight.apple.com/join/CgRdkqc4
1•getbrewapp•59m ago•0 comments

Agent Evals Considered Harmful

https://twitter.com/noriagent/status/2113338229470441579
3•theahura•1h 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 ?