frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SQL Quest – The Bank Job

https://www.sqlhabit.com/quests/the-bank-job
1•makaronich•1m ago•0 comments

Amazon confirms years-long Russian cyberattack against AWS customers' devices

https://mashable.com/article/amazon-aws-russian-years-long-cyberattack
1•hackernj•1m ago•0 comments

The entire New Yorker Archive Is Now Fully Digitized

https://www.newyorker.com/news/press-room/the-entire-new-yorker-archive-is-now-fully-digitized
1•thm•2m ago•0 comments

Interview with Sebastian Borgeaud, Gemini 3.0 pre-trainng lead [video]

https://www.youtube.com/watch?v=cNGDAqFXvew
1•HarHarVeryFunny•3m ago•1 comments

Penny Farthing Race at 1928 Olympics

https://twitter.com/JamesMelville/status/2002324487576977716
1•keepamovin•7m ago•0 comments

Satellites Used to Have Months to Avoid Collisions–Now They Have Days

https://www.scientificamerican.com/article/satellites-used-to-have-months-to-avoid-collisions-now...
2•mooreds•8m ago•0 comments

China issues new rules to regulate internet platform pricing

https://www.reuters.com/world/asia-pacific/china-issues-new-rules-regulate-internet-platform-pric...
2•mooreds•8m ago•0 comments

Cloudflare Radar Year in Review

https://blog.cloudflare.com/radar-2025-year-in-review/
1•mooreds•9m ago•1 comments

Pg_textsearch is now open-source

https://github.com/timescale/pg_textsearch
1•conradfr•9m ago•0 comments

Getting Emacs and macOS to Play Nice

https://brainbaking.com/post/2025/12/getting-emacs-and-macos-to-play-nice/
2•Brajeshwar•13m ago•1 comments

Philosopher of Pride

https://aeon.co/essays/the-hidden-role-of-pride-and-shame-in-the-human-hive
2•Brajeshwar•13m ago•0 comments

Intel Custom Foundry Was Killed Already, Can the Fabs Rise Again?

https://tickerfeed.net/articles/intel-custom-foundry-was-tried-before
1•sethops1•15m ago•0 comments

Using Abuse Case Scenarios to Find Authorization and Business Logic Flaws

https://blog.nviso.eu/2025/12/18/integrating-abuse-case-scenarios-to-improve-authorization-testing/
1•runtimepanic•17m ago•0 comments

Browser extensions with 8M users collect extended AI conversations

https://arstechnica.com/security/2025/12/browser-extensions-with-8-million-users-collect-extended...
2•thm•18m ago•1 comments

Has anyone tried quantum randomness to drive temp functions for LLMs?

1•inshard•19m ago•0 comments

Google Sues SerpApi

https://www.reuters.com/legal/litigation/google-lawsuit-says-data-scraping-company-uses-fake-sear...
2•thm•23m ago•0 comments

Things people get wrong about Electron

https://felixrieseberg.com/things-people-get-wrong-about-electron/
2•heisenbit•24m ago•0 comments

Explained: You can't move Windows 11 taskbar like Windows 10

https://www.windowslatest.com/2025/12/19/why-you-cant-move-windows-11-taskbar-like-windows-10/
2•fidotron•25m ago•1 comments

Ireland's Profits Look Extraordinary – The Balance Sheet, Not the Real Economy

https://democracychallenged.com/2025/12/05/irelands-profits-look-extraordinary-but-its-the-balanc...
1•robtherobber•26m ago•0 comments

Genetic architecture and mechanisms of host-microbiome interactions in rats

https://www.nature.com/articles/s41467-025-66105-z
1•bookofjoe•27m ago•0 comments

Building with NextJS (When You'd Rather Use Svelte)

https://mohammedeabdelaziz.github.io/articles/go-next
2•mohammede•29m ago•0 comments

A faster UX for checking your appearance on Android – Mirror in lock screen

https://play.google.com/store/apps/details?id=com.mirrorify.app&hl=en_US
1•Iyas_Fouad•29m ago•1 comments

Gnome forbids AI generated Shell Extensions

https://blogs.gnome.org/jrahmatzadeh/2025/12/06/ai-and-gnome-shell-extensions/
1•rhim•32m ago•1 comments

The Fisher-Yates shuffle is backward

https://possiblywrong.wordpress.com/2020/12/10/the-fisher-yates-shuffle-is-backward/
2•possiblywrong•35m ago•0 comments

Show HN: Gather, summarise and curate tech news

https://bethe.guru/
1•abhinavb05•35m ago•0 comments

Show HN: Universal Modloader – Runtime AST Injection for Python

https://github.com/drago-suzuki58/universal_modloader
1•DragoSuzuki58•41m ago•0 comments

AI and the War-Time Economy

https://artagnon.com/art/ai-war
1•artagnon•43m ago•0 comments

Pimiga5, Arm and Intel Amiga emulation at its finest [video]

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

The Shop Time Experiment

https://www.macsparky.com/blog/2025/12/the-shop-time-experiment/
1•1123581321•46m ago•0 comments

Trail – hybrid, multimodal PWA that acts as your offline trail companion

https://devpost.com/software/trail-2ia5xw
1•simonpure•48m 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/