frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Reasoning-core: 130M-param guardrail keeping AI agents honest

https://github.com/jakubkrzysztofsikora/reasoning-core
1•mnvibe26x7•3m ago•0 comments

Show HN: SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)

https://github.com/swenyai/sweny
1•wickdninja•3m ago•0 comments

Hex: Introducing Generative Data Apps

https://hex.tech/blog/introducing-generative-data-apps/
1•tomtomau•6m ago•1 comments

The Space Shuttle and the Horse's Rear End

https://astrodigital.org/space/stshorse.html
1•thunderbong•8m ago•0 comments

Jupiter supercomputer breaks world record with 50-qubit quantum simulation

https://www.sciencedaily.com/releases/2026/05/260510234715.htm
1•jldew93•8m ago•0 comments

SSHD Log Security Analysis - popular languages SDKs

https://github.com/melezhik/Sparrow6/blob/master/task.check
1•melezhik•9m ago•3 comments

Prompting Patterns (Groq Documentation)

https://console.groq.com/docs/prompting/patterns
1•tacone•12m ago•0 comments

AI was made for junk mail

https://junkmailmagic.com
1•husky8•17m ago•0 comments

I got tired of realizing "discounts" weren't discounts

https://apps.apple.com/us/app/silicon-ai-price-comparison/id6764054291
2•stayoneup•26m ago•0 comments

Show HN: SelfCertForge, manage root CAs and self-signed certs on macOS/Windows

https://github.com/rbonestell/SelfCertForge
2•rbonestell•27m ago•0 comments

I vibecoded a game and got my first paying supporter

https://gunguesser.com
1•salad_v•34m ago•1 comments

xkcd: Well 2

https://xkcd.com/568/
2•ulrikrasmussen•46m ago•0 comments

Solving Brain Aging: Fast and Slow

https://blog.amaranth.foundation/p/solving-brain-aging-fast-and-slow
2•pminimax•57m ago•0 comments

Fear of layoffs what should I do?

3•cipherdc•59m ago•0 comments

'Googlebooks' have a premium focus, some Chromebooks can be upgraded

https://9to5google.com/2026/05/12/googlebooks-have-a-premium-focus-some-chromebooks-can-be-upgraded/
1•theanonymousone•1h ago•0 comments

NPM-Scan – Detects TanStack Worm, Beats Socket/Snyk (Local/BYOC)

https://github.com/lateos-ai/npm-scan
1•lateos-ai•1h ago•0 comments

eBay rejects $56B GameStop bid as 'neither credible nor attractive'

https://www.ft.com/content/554f76a6-218d-4f88-bcad-9c52623ef533
1•petethomas•1h ago•0 comments

The identity join problem: Linking SSO profiles to directory users

https://workos.com/blog/linking-sso-profiles-to-directory-users
2•jamilbk•1h ago•0 comments

Let's Encrypt: Gen Y Cross-Certified Subordinate CAs Missing ServerAuth EKU

https://bugzilla.mozilla.org/show_bug.cgi?id=2038351
4•XYen0n•1h ago•0 comments

Ask HN: Freelance Billing in the Age of LLMs?

2•meter•1h ago•0 comments

Temu is advertising filet mignon on X

https://twitter.com/shoptemu/status/2053092200632685016
41•noleary•1h ago•8 comments

Rectangle Shopping (Almost Anything)

https://www.rectangle.so
1•Waseemkhalo•1h ago•1 comments

Cemu (WiiU emulator) compromised by Russian threat actor

https://rentry.co/cemu-security-psa
4•gassi•1h ago•0 comments

Claude for Legal Launches

https://www.artificiallawyer.com/2026/05/12/claude-for-legal-launches-may-reshape-the-legal-tech-...
1•msolujic•1h ago•0 comments

[PATCH linux] README: Don't organize the README by arbitrary "roles"

https://lore.kernel.org/lkml/20260513004616.2877-1-me@runxiyu.org/T/#u
1•runxiyu•1h ago•0 comments

Self-hosted AI memory with web dashboard – Cloudflare Workers, D1, Vectorize

https://github.com/rahilp/second-brain-cloudflare
1•rahilpirani•1h ago•0 comments

Diversity and functional profile of the "microbial proteome" in fermented foods

https://pubs.rsc.org/en/content/articlelanding/2026/fo/d5fo05039a
2•PaulHoule•1h ago•0 comments

BYOM stock analysis via MCP, looking for feedback

https://stocks.lynxdi.com/
2•pezhao•1h ago•0 comments

Show HN: I spent $100 in Claude tokens and 1k battles training my AI tank

https://agentank.ai/history/mat_8v9fSEZE8295dcZ8U
2•mazzystar•1h ago•0 comments

DMARC Fail: 7 Causes and How to Fix Each

https://dmarcguard.io/blog/dmarc-failed-how-to-fix/
2•meysamazad•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.

robobro•12mo ago
Why did you delete the page?
appetrosyan•12mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•12mo 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•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•12mo ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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