frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We removed 80% of our agent's tools

https://vercel.com/blog/we-removed-80-percent-of-our-agents-tools
1•forks•21s ago•0 comments

Jim Beam halts production at main distillery for a year

https://www.bbc.com/news/articles/cy5gv5z24n2o
2•geox•5m ago•0 comments

Snitch – a friendly netstat alternative for humans

https://github.com/karol-broda/snitch
1•karol-broda•5m ago•0 comments

Grok Collections API

https://x.ai/news/grok-collections-api
1•lmariscal•7m ago•0 comments

San Francisco power won't be fully restored until Tuesday, PG&E says

https://www.sfgate.com/bayarea/article/san-francisco-power-pge-outage-21255221.php
1•bryan0•11m ago•0 comments

Colorado Windstorm Causes 4.8 Microsecond Glitch in Official US Time

https://gizmodo.com/colorado-windstorm-causes-4-8-microsecond-glitch-in-official-u-s-time-2000702524
1•Stratoscope•11m ago•1 comments

Salisbury Steak is super weird

https://www.youtube.com/watch?v=d9z8DK_VWKs
1•bane•11m ago•0 comments

Document search using Claude and Inverted Index

https://annanay.dev/claude-inverted-index-search/
1•annanay•13m ago•0 comments

Aspartame study suggests that current guidelines should be re-examined

https://www.sciencedirect.com/science/article/pii/S0753332225010856
1•shaggie76•14m ago•0 comments

Trump Administration Declares Foreign-Made Drones a Security Threat

https://www.nytimes.com/2025/12/22/us/dji-drones-china-barred-us.html
1•Sherveen•16m ago•2 comments

Regenerative Software

https://aicoding.leaflet.pub/3majnyfydzs2y
2•andsoitis•19m ago•0 comments

Architecture Patterns: Caching (2022)

https://kislayverma.com/software-architecture/architecture-patterns-caching-part-2/
1•sneakerblack•20m ago•0 comments

Instacart halts AI testing program that raised costs for some shoppers

https://www.washingtonpost.com/business/2025/12/22/instacart-price-testing-program/
1•bookofjoe•21m ago•1 comments

Saudi Arabia witnesses rare snowfall for first time in 30 years

https://www.gulftoday.ae/lifestyle/2025/12/22/saudi-arabia-witnesses-rare-snowfall-for-first-time...
1•teleforce•24m ago•0 comments

Show HN: Lumina – a minimal AI reflection app (source code)

https://github.com/Encoremuff/lumina-preview
1•EncoreVlaced•26m ago•0 comments

Larry Ellison gives $40B personal backing to Warner Bros Discovery bid

https://www.ft.com/content/4df74892-456a-47aa-a80f-77d1360571a2
3•KnuthIsGod•28m ago•1 comments

Running WordPress under a Next.js app as /blog (without SEO penalties)

https://www.mikealche.com/software-development/how-to-have-a-next-js-app-and-wordpress-blog-in-th...
1•yoouareperfect•30m ago•1 comments

The Return of the Weirdo

https://www.honest-broker.com/p/the-return-of-the-weirdo
2•paulpauper•31m ago•0 comments

Instacart scraps AI pricing tests that made some products more expensive

https://www.theverge.com/news/849061/instacart-ends-ai-pricing-tests-eversight
2•cdrnsf•33m ago•0 comments

Cecot – 60 Minutes

https://archive.org/details/insidececot
47•lawlessone•33m ago•8 comments

How to stop AI agents from littering your codebase with Markdown files

https://solmaz.io/agent-doc-workflow
3•hosolmaz•33m ago•0 comments

The Death and Rebirth of Programming

https://aicoding.leaflet.pub/3malrv6poy22a
2•mooreds•33m ago•0 comments

I Created a Honey Proxy Client (DeHoney)

https://twitter.com/Gh0styTongue/status/2003257100940759348
1•GhostyTongue•37m ago•0 comments

Welcome to the Machine, a guide to building infra software for AI agents

https://me.0xffff.me/welcome_to_the_machine.html
1•c4pt0r•38m ago•0 comments

Kubernetes v1.35: Kubelet Configuration Drop-In Directory Graduates to GA

https://kubernetes.io/blog/2025/12/22/kubernetes-v1-35-kubelet-config-drop-in-directory-ga/
1•fleahunter•39m ago•0 comments

Somali Sentenced to Life for Conspiring to Commit 9/11-Style Al-Shabaab Attack

https://www.justice.gov/usao-sdny/pr/cholo-abdi-abdullah-sentenced-life-prison-conspiring-commit-...
3•737min•39m ago•1 comments

AI Native Google Drive and One Drive Alternative

https://www.xda-developers.com/found-best-google-drive-one-drive-alternative/
1•sftechdude•39m ago•0 comments

The Revolution of Rising Expectations

https://thezvi.substack.com/p/the-revolution-of-rising-expectations
2•paulpauper•41m ago•0 comments

America Has to Feel Fair

https://www.noahpinion.blog/p/america-has-to-feel-fair
3•paulpauper•41m ago•0 comments

Microsoft to replace all C/C++ code with Rust

https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030
2•ape4•42m ago•2 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•7mo 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/