frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

1km tower in the desert is not progress it is a farewell letter to common sense

https://www.doubleglazinginbanbridge.co.uk/29-171405-1km-tower-in-the-desert/
1•patrakov•2m ago•0 comments

Google agrees to pay $68M to settle Google Assistant "false accepts" privacy ls

https://www.theguardian.com/technology/2026/jan/26/google-privacy-suit-settlement-voice-assistant
1•nuclearm•4m ago•1 comments

Lean 4.27.0

https://lean-lang.org/doc/reference/latest/releases/v4.27.0/
1•tzury•4m ago•0 comments

Show HN: o2go – a minimal, provider-agnostic OAuth2 client for Go

https://github.com/gokhanaltun/o2go
1•5gkhn2•5m ago•0 comments

Are AI cryptocurrencies a good investment in 2026?

https://altcoindesk.com/perspectives/learn/are-ai-cryptocurrencies-a-good-investment/article-22644/
1•aisshwarya20•5m ago•0 comments

Traditional Onboarding Excludes the People Tech Needs Most

https://vetswhocode.io/blogs/how-traditional-onboarding-excludes
1•bityard•5m ago•0 comments

MAME 0.285

https://www.mamedev.org/?p=559
1•chungy•5m ago•0 comments

UK-based pair behind messaging app accused of giving data to Iranian regime

https://www.theguardian.com/technology/2026/jan/29/iran-app-gap-messenger-tsit-user-data-uk-sussex
2•n1b0m•7m ago•0 comments

Benchmarking Reward Hack Detection in Code Environments via Contrastive Analysis

https://arxiv.org/abs/2601.20103
1•darshandesh1504•8m ago•1 comments

Sentry releases new CLI for developers and agents

https://cli.sentry.dev/
1•BYK•8m ago•0 comments

Flameshot

https://github.com/flameshot-org/flameshot
1•OsrsNeedsf2P•9m ago•0 comments

Next 50 Years of AI

https://www.dimamik.com/posts/next_50_years_of_ai/
1•dimamik•11m ago•0 comments

School is worse for kids than social media

https://unpublishablepapers.substack.com/p/school-is-way-worse-for-kids-than
1•amadeuspagel•12m ago•0 comments

NOAA Releases Updated Model of Earth's Geomagnetic Field

https://www.ncei.noaa.gov/news/upgraded-goemag-model-aids-energy-exploration
1•krunck•12m ago•1 comments

Ferrari vs. Markets

https://ferrari-imports.enigmatechnologies.dev/
2•merinid•14m ago•1 comments

Grokipedia just surpassed 4,06,070 edits across 60,92,140 articles

https://twitter.com/elonmusk/status/2016889938327847415
1•usefulposter•15m ago•4 comments

3D-Printed Kit Gives the DJI Osmo Nano Vintage Hasselblad Style

https://petapixel.com/2026/01/12/3d-printed-kit-gives-the-dji-osmo-nano-vintage-hasselblad-style/
1•PaulHoule•16m ago•0 comments

AI Assisted Interviews

https://www.spakhm.com/ai-interviews
1•coffeemug•17m ago•1 comments

Show HN: The Profanity API – Context-aware content moderation

https://the-profanity-api.com/docs
1•Olehype•19m ago•1 comments

Tomo: A statically typed, imperative language that cross-compiles to C [video]

https://www.youtube.com/watch?v=-vGE0I8RPcc
1•evakhoury•19m ago•0 comments

The Clawdbot (Moltbot) Enterprise AI Risk: One in Five Have It Installed

https://www.token.security/blog/the-clawdbot-enterprise-ai-risk-one-in-five-have-it-installed
1•thoughtpeddler•20m ago•0 comments

OpenStreetMap: Everything Everywhere All at Once

https://www.youtube.com/watch?v=U_GxGnAdWZI
1•faebi•24m ago•0 comments

Half of Kubernetes Clusters Are About to Lose Security Updates

https://thelandsca.pe/2026/01/29/half-of-kubernetes-clusters-are-about-to-lose-security-updates/
2•sylvainkalache•24m ago•1 comments

Loopy: A filesystem API over a single Python string

https://github.com/tg1482/loopy
1•tg1482•25m ago•1 comments

Networks Hold the Key to a Decades-Old Problem About Waves

https://www.quantamagazine.org/networks-hold-the-key-to-a-decades-old-problem-about-waves-20260128/
2•makira•29m ago•0 comments

ServiceNow Stock Tumbles 50% in a Year: Good Earnings Don't Stop 'Death of SaaS'

https://www.salesforceben.com/servicenow-stock-tumbles-50-in-a-year-good-earnings-dont-stop-death...
2•xnx•29m ago•0 comments

The 'Busy' Trap (2012)

https://archive.nytimes.com/opinionator.blogs.nytimes.com/2012/06/30/the-busy-trap/
2•thoughtpeddler•30m ago•0 comments

Using AI Engines for DSP [pdf]

https://reach.avnet.com/rs/730-NST-988/images/AVNET-ADIUVO-AMD-AIE%20for%20DSP%20White%20Paper-FI...
1•signalhound•36m ago•0 comments

You can code only 4 hours per day. Here's why

https://newsletter.techworld-with-milan.com/p/you-can-code-only-4-hours-per-day
6•birdculture•38m ago•0 comments

Bun: New Markdown parser has builtin support for rendering to React

https://twitter.com/jarredsumner/status/2016733616743862462
2•tosh•38m 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/