frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ClickHouse is winning the Observability Wars

https://matduggan.com/clickhouse-is-winning-the-observability-wars/
1•emschwartz•1m ago•0 comments

Public company deep research demo on Atlas SDK

https://github.com/steel-experiments/atlas-demo
1•nkko•1m ago•0 comments

Palantir: Our thoughts on the importance of AI sovereignty

https://twitter.com/PalantirTech/status/2072114267776491695
1•frb•2m ago•0 comments

Show HN: MP3toText – Fast, high-accuracy AI audio transcription

https://mp3totext.ai
1•cyk888•2m ago•0 comments

PeerTube is a free, decentralized and federated video platform

https://github.com/Chocobozzz/PeerTube
1•doener•3m ago•0 comments

OpenAI: In early talks to give 5% stake to US Government

https://www.theguardian.com/technology/2026/jul/02/openai-stake-us-government-ai-sam-altman
3•tosh•4m ago•1 comments

Free interactive ancient Rome atlas

https://domdemetz.github.io/Ancient-Rome/
2•fbn79•5m ago•0 comments

Build reliable multi-agent applications with ADK Go 2.0

https://developers.googleblog.com/announcing-adk-go-20/
1•atkrad•7m ago•0 comments

Functional Programming in hica

https://www.hica.dev/docs/functional-programming/
1•cladamski79•8m ago•1 comments

Facebook Images Downloader – Grab FB Photos in Seconds

https://chromewebstore.google.com/detail/images-downloader/enjebjknnihfklkmkbhdailacipnhcep
1•qwikhost•9m ago•1 comments

Show HN: OtaKit – open-source, self-hostable OTA updates for Capacitor apps

https://github.com/OtaKit/otakit
1•garymiklos•9m ago•0 comments

Google must pay €4.1B fine for using Android to 'block' rivals

https://www.bbc.co.uk/news/articles/cvgj0pp5p62o
1•fredley•9m ago•0 comments

Mid-tier factory knives – value sweet spot?

https://www.paragon-knives.com/
1•bgzlsxaz•11m ago•0 comments

Who Controls the Privacy-Enhancing Technology Layer?

https://medium.com/@vektormemory/who-actually-controls-the-privacy-enhancing-technology-layer-8d5...
1•vektormemory•11m ago•1 comments

Roundtables: Longevity's Next Frontier: "Reprogramming" Your Body

https://www.technologyreview.com/2026/06/30/1139958/roundtables-longevitys-next-frontier-reprogra...
1•joozio•13m ago•0 comments

GPS Interference Off California Offers Warning for Global Shipping

https://gcaptain.com/gps-interference-off-california-offers-warning-for-global-shipping/
1•ablation•13m ago•0 comments

Various projects disappeared from kernel.org hosting overnight

https://gts.q66.moe/@q66/statuses/01KWGXZTGX06HSQBXW21DYH4G0
4•marvinborner•16m ago•0 comments

PostScript on the Societies of Control – Gilles Deleuze (1990) [pdf]

https://deleuze.cla.purdue.edu/wp-content/uploads/2023/09/Deleuze_Gilles-Postscript-on-the-Societ...
1•Avicebron•17m ago•0 comments

India asks WhatsApp to pause username feature rollout

https://www.bbc.com/news/articles/ckg8e0n9l41o
3•0xedb•18m ago•2 comments

How do you think, is Atlassian slowly dying?

https://ampin.app
1•kpbogdan•18m ago•1 comments

NPM staged publishing for supply-chain security

https://nuqs.dev/blog/staged-publishing-for-supply-chain-security
1•franky47•18m ago•0 comments

Japan Study Finds Cats Eat Less If They Become Used to Food Odors

https://japannews.yomiuri.co.jp/science-nature/science/20260606-331268/
1•mushstory•18m ago•0 comments

Why California's carbon manure math doesn't add up

https://www.technologyreview.com/2026/07/02/1139981/why-californias-carbon-manure-math-doesnt-add...
1•joozio•19m ago•0 comments

Bending Spoons: Letter from the Team

https://www.sec.gov/Archives/edgar/data/2004711/000110465926076487/tm2613674-10_f1.htm#tLETT
2•dominikposmyk•19m ago•0 comments

Why did your metric change? Root-cause and significance testing for CSVs

https://github.com/NaiaLorente/data-analyst
1•naialorente•20m ago•0 comments

Trying to Break MD5 Hash

https://remedysec.com/blog/posts/md5-avalanche-effect/
2•mrxlimitless•20m ago•0 comments

Authenticating MCPs: three ways we do it

https://matthew-johnston.com/authenticating-mcps/
2•mattjstn•20m ago•0 comments

Show HN: What is the benefit of integrating AI into wearable Healthcare Apps?

https://geekyants.com/blog/integrating-ai-with-wearable-healthcare-apps-architecture-compliance-roi
1•vanessa1211•20m ago•1 comments

Ask HN: How do you handle Code compliance today?

3•vimaldwivedi86•23m ago•0 comments

Does AI Have Speech Rights?

https://www.cjr.org/ask-anika/does-ai-have-speech-rights-journalists-using-ai-first-amendment-pro...
2•Tomte•23m ago•1 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 ?