frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

China executes online scam ringleaders from Myanmar

https://www.abc.net.au/news/2026-01-29/china-executes-online-scam-ring-leaders-from-myanmar/10628...
1•defrost•1m ago•0 comments

What technology takes from us – and how to take it back

https://www.theguardian.com/news/ng-interactive/2026/jan/29/what-technology-takes-from-us-and-how...
1•rognjen•2m ago•0 comments

The creator of Clawd: "I ship code I don't read"

https://www.youtube.com/watch?v=8lF7HmQ_RgY
1•doppp•6m ago•0 comments

Show HN: 1X is a Chrome extension to help with doomscrolling in X

https://1x.kawaicheung.io
1•kiwigod17•7m ago•1 comments

There's no point in learning custom tools, workflows, or languages anymore

https://twitter.com/naval/status/2016343169651409407
1•athultr1997•12m ago•0 comments

Sbt and the Miners of the Wild West

https://eed3si9n.com/sbt-and-the-miners-of-the-wild-west/
1•jmgimeno•13m ago•1 comments

Commission's decision to fine X [pdf]

https://judiciary.house.gov/sites/evo-subsites/republicans-judiciary.house.gov/files/2026-01/ACT_...
2•miohtama•14m ago•0 comments

Get on board with modern banking Taiwan

https://www.taipeitimes.com/News/feat/archives/2026/01/29/2003851387
1•keepamovin•15m ago•1 comments

How shopping chatbots might transform retail

https://www.ft.com/content/9de227a5-2bc1-4730-88b1-dbbb5b559ee8
1•petethomas•17m ago•0 comments

IT Just Takes Too Long

https://github.com/belocci/UniTrainer
1•belocci•17m ago•0 comments

ARM MTE Performance in Practice (Extended Version)

https://arxiv.org/abs/2601.11786
1•todsacerdoti•24m ago•0 comments

Arctic Ascent with Alex Honnold [video]

https://www.youtube.com/watch?v=ep-xRQDTiOg
1•handfuloflight•25m ago•0 comments

Halide cofounder Sebastiaan de With joins Apple's design team

https://www.threads.com/@sdw/post/DUEeAwFksRt
1•wavelander•25m ago•0 comments

The State of (AI) Code Developer Survey

https://www.sonarsource.com/resources/developer-survey-report/
1•ColinEberhardt•26m ago•0 comments

The cold war maps that can help us rethink today's Arctic conflict

https://theconversation.com/the-cold-war-maps-that-can-help-us-rethink-todays-arctic-conflict-274058
2•bryanrasmussen•27m ago•0 comments

QGIS Expression Language as a Tool for Procedural Cartography

https://geoawesome.com/qgis-expression-language-as-a-tool-for-procedural-cartography/
2•bryanrasmussen•28m ago•0 comments

Free URL Editor with a Twist

https://urleditor.online
1•docnavy•28m ago•0 comments

TikTok uninstalls surge 150% after app's US takeover

https://www.emarketer.com/content/tiktok-uninstalls-surge-150--after-app-s-us-takeover
2•FuturisticLover•32m ago•1 comments

Ask HN: We're Shipping MCPs Blind

1•tiluckdave•34m ago•0 comments

Show HN: I built a digital twin to visualize sensor drift in real-time

https://www.predictability-api.com/demo/industrial
1•OGsus•37m ago•1 comments

Generative Music with the Muse

https://computerhistory.org/blog/generative-music-with-the-muse/
10•andsoitis•39m ago•0 comments

Adding dynamic features to an aggressively cached website

https://simonwillison.net/2026/Jan/28/dynamic-features-static-site/
1•onurkanbkrc•42m ago•0 comments

Show HN: Codex.nvim – Codex inside Neovim (no API key required)

https://github.com/ishiooon/codex.nvim
3•ishiooon•46m ago•0 comments

Show HN: Relnotes.app – Turn GitHub PRs into your Friday's report automatically

https://relnotes.app/
1•hubertusputu•48m ago•0 comments

British 2-year-old breaks two world records playing pool and snooker

https://www.upi.com/Odd_News/2026/01/28/Guinness-World-Records-toddler-pool-snooker/1551769621785/
2•austinallegro•54m ago•0 comments

CATL unveils first mass-production sodium-ion battery for vehicles

https://carnewschina.com/2026/01/22/catl-unveils-worlds-first-mass-production-sodium-ion-battery-...
3•achow•56m ago•0 comments

Show HN: Shorlabs – open-source Vercel for Python/Node back ends

https://github.com/aryankashyap0/shorlabs
10•abyssglass02•56m ago•1 comments

Spanish scientists achieve complete eradication of pancreatic cancer

https://www.gamereactor.eu/spanish-scientists-achieve-complete-eradication-of-pancreatic-cancer-t...
4•blufish•1h ago•1 comments

Grok Imagine

https://grok.com/imagine
3•yihongs•1h ago•0 comments

Grok Imagine API

https://x.ai/news/grok-imagine-api
2•yihongs•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

https://appetrosyan.github.io/posts/emacs-widget.html
48•signa11•8mo ago

Comments

spit2wind•8mo 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•8mo 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•8mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•8mo 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•8mo 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•8mo ago
Why did you delete the page?
appetrosyan•8mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•8mo 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•8mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

https://old.reddit.com/r/emacs/comments/1hlj04t/emacs_using_...

appetrosyan•8mo ago
That's the best thing to do for the moment.
robobro•8mo ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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