frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

1964 New York World's Fair

https://en.wikipedia.org/wiki/1964_New_York_World%27s_Fair
1•teleforce•7m ago•0 comments

Show HN: Black Box QA testing system to automate QA process

https://www.rocksmith.ai/
1•orangeAvocad0•9m ago•0 comments

KGGen: Extracting Knowledge Graphs from Plain Text with Language Models

https://arxiv.org/abs/2502.09956
1•delichon•13m ago•0 comments

Show HN: Endless, a easily deployable and scalable social media

https://github.com/XS-Xspert-Software/Social-Media
1•thegoodduck•13m ago•0 comments

Breakfast menu prices are likely to see the biggest increase from food inflation

https://londonlovesbusiness.com/breakfast-menu-prices-are-likely-to-see-the-biggest-increase-from...
1•teleforce•14m ago•0 comments

The Force Is with Cristal Beer

https://en.wikipedia.org/wiki/The_Force_is_with_Cristal_Beer
1•handfuloflight•17m ago•0 comments

"Without searching, what's the likelihood of Maduro being kidnapped by US"

https://chatgpt.com/share/695b0f8b-8c20-8004-b17a-6a90adc8a646
1•softwaredoug•19m ago•0 comments

Tech Startups Are Handing Out Free Nicotine Pouches to Boost Productivity

https://www.wsj.com/tech/tech-startups-are-handing-out-free-nicotine-pouches-to-boost-productivit...
1•croes•19m ago•1 comments

Show HN: Shipping Without Judgment

https://dantelex.com/blog/shipping-judgement
2•lexokoh•23m ago•0 comments

ADF Opus: open, browse, and manage Amiga .ADF disk-images natively

https://github.com/chironb/ADFOpus2025
1•doener•25m ago•0 comments

Minimig RTG Magic [video]

https://www.youtube.com/watch?v=DBO9sD6EYS4
1•doener•28m ago•0 comments

GNU Ddrescue 1.30 Orders of Magnitude Better Working on Drives with a Dead Head

https://www.phoronix.com/news/GNU-ddrescue-1.30
3•Qem•29m ago•0 comments

Riot Games's League of Legends login issues due to expired SSL certificate

https://old.reddit.com/r/leagueoflegends/comments/1q40aen/comment/nxpij3c/
2•dossy•32m ago•1 comments

Voting for Mayor Who Promised to Blow Up City Doesn't Mean I Approve of It

https://www.mcsweeneys.net/articles/voting-for-the-mayor-who-promised-to-blow-up-the-city-doesnt-...
3•Geekette•35m ago•0 comments

How the sugar industry bought out scientists for decades

https://www.extremetech.com/extreme/235472-how-the-sugar-industry-bought-out-scientists-for-decad...
2•aldarion•38m ago•0 comments

Show HN: Airgapped Android Setup with a Makefile

https://blog.thisago.com/announcement/20260104-phoneSetup1.html
1•thisago•41m ago•0 comments

NeXTSTEP on Pa-RISC

https://www.openpa.net/nextstep_pa-risc.html
1•andsoitis•41m ago•0 comments

Alexa+ at Your Fingertips

https://alexa.amazon.com/about
1•qainsights•44m ago•1 comments

2026: The year of Not-invented-here syndrome

https://system32.ai/blogs/nih-on-steroids
3•bitlad•47m ago•0 comments

Warren Buffett emails Microsoft exec

https://www.techemails.com/p/warren-buffett-emails-microsoft-exec-jeff-raikes
4•cinaboniver•52m ago•1 comments

Show HN: Turn meetings into summaries, presentations, and an AI to ask questions

https://notefy.pro/
1•jimmydin7•54m ago•0 comments

Ask HN: What AI systems have you adopted across your work and personal life?

1•alexjray•59m ago•2 comments

Chromosome region linked to neurodev disorders influences locomotor behavior

https://www.nature.com/articles/s41467-025-68047-y
4•bookofjoe•1h ago•1 comments

Wallpaper Symmetry

https://math.hws.edu/eck/js/symmetry/wallpaper.html
4•xnx•1h ago•0 comments

The most impressive 15min tech demo you've never seen [video]

https://www.youtube.com/watch?v=72y2EC5fkcE
2•thundergolfer•1h ago•4 comments

"HP-UX hits end-of-life today, and I'm sad"

https://www.osnews.com/story/144094/hp-ux-hits-end-of-life-today-and-im-sad/
11•SanjayMehta•1h ago•1 comments

The Napoleon Technique: Postponing Things to Increase Productivity

https://effectiviology.com/napoleon/
2•Khaine•1h ago•0 comments

Waymo wants to be Big Tech's nice guy. Will San Francisco buy it?

https://www.sfchronicle.com/sf/article/waymo-car-san-francisco-21270363.php
1•mikhael•1h ago•0 comments

Show HN: OBTF-2, simple notes with screenshots

https://vgkids.github.io/obtf-2/
1•james_marks•1h ago•0 comments

'Moral injury' officially recognized as mental health condition

https://hsph.harvard.edu/news/moral-injury-officially-recognized-as-mental-health-condition/
2•rendx•1h ago•0 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/