frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Book Club: 100 best novels of all time

https://www.theguardian.com/books/ng-interactive/2026/may/12/the-100-best-novels-of-all-time
1•fallinditch•2m ago•0 comments

Cerebras IPO Signals Growing Pressure on the GPU Scaling Model

https://www.hpcwire.com/2026/05/14/cerebras-ipo-signals-growing-pressure-on-the-gpu-scaling-model/
2•rbanffy•3m ago•0 comments

A simple Daikon-style runtime invariant miner for Python

https://rahul.gopinath.org/post/2026/05/09/simple-invariant-miner/
1•fanf2•4m ago•0 comments

AI agents make small companies bigger

https://text-incubation.com/ai-agents-make-small-companies-bigger?1
1•krrishd•5m ago•0 comments

Clarify & target potential customers with generated sales campaigns

https://mygtm.io/
1•Bryan2000100•8m ago•1 comments

LSL: Open-source lab streaming layer for synchronized multimodal recording

https://direct.mit.edu/imag/article/doi/10.1162/IMAG.a.136/132678/The-lab-streaming-layer-for-syn...
1•teleforce•8m ago•1 comments

U.S. California 'Rich Dude' Fights $2.5M Fine over Public Beach Access

https://www.wsj.com/us-news/california-rich-dude-fights-2-5-million-fine-over-public-beach-access...
1•iancmceachern•11m ago•0 comments

Wrapping a C Library in RAII

https://lmilz.dev/blog/2026/05/15/Wrapping-a-C-library-in-RAII-unique_ptr-with-custom-deleters-an...
1•lmilz•14m ago•0 comments

Data centers are guzzling California's water. We have no idea how much

https://calmatters.org/environment/water/2026/05/california-data-centers-water-transparency/
2•cdrnsf•14m ago•0 comments

What Is Date:Italy?

http://aesthetikx.info/blog/date_italy.html
1•jollyjerry•14m ago•0 comments

Mearsheimer and Walt versus Nuland and Pompeo

https://mearsheimer.substack.com/p/mearsheimer-and-walt-versus-nuland
1•hackandthink•14m ago•1 comments

Build Live Translation Apps with GPT-realtime-translate

https://developers.openai.com/cookbook/examples/voice_solutions/realtime_translation_guide
1•gmays•17m ago•0 comments

Vegetation Moves Upslope Across the Himalayas

https://eos.org/articles/vegetation-moves-upslope-across-the-himalayas
1•bookofjoe•17m ago•0 comments

Starlink is doubling standby price to $10/mo

https://teslanorth.com/2026/05/16/starlink-is-raising-its-prices-heres-how-much-more-youll-pay/
3•behnamoh•19m ago•0 comments

2ality Blog: Temporarily Offline

https://2ality.com/
1•healsdata•19m ago•0 comments

CodeSpectra the Illusion of Easy Coding: Why AI Still Demands Effort

https://blog.ptidej.net/codespectra-the-illusion-of-easy-coding-why-ai-still-demands-effort/
1•sikandarejaz•21m ago•0 comments

An introduction to TLA+ and its use in parties (2023)

https://www.innoq.com/en/articles/2023/04/an-introduction-to-tla/
1•pramodbiligiri•21m ago•0 comments

Kay Nishi and the Meeting That Started MS-DOS

https://nemanjatrifunovic.substack.com/p/kay-nishi-and-the-meeting-that-started
1•rbanffy•24m ago•0 comments

Whatever Happened to the Near East?

https://jonn.substack.com/p/whatever-happened-to-the-near-east
1•thunderbong•25m ago•0 comments

The Two Europes

https://www.siliconcontinent.com/p/the-two-europes
1•akyuu•26m ago•1 comments

TellmeTruth, open source ledger mapping institutional claims to traceable data

https://tellmetruth.live/
1•L0nl0n•27m ago•0 comments

Rcall – recursive text search in file names and content, written in Nim

https://github.com/isuzano/rcall
1•isuzano•29m ago•0 comments

I built an affordable alternative to AppTweak and Sensor Tower ($19.99 lifetime)

https://appstorestatistics.com/
1•tkrenn06•32m ago•0 comments

Kioxia and Dell cram 10 PB into slim 2RU server

https://www.blocksandfiles.com/flash/2026/05/14/kioxia-and-dell-cram-10-pb-into-slim-2ru-server/5...
2•rbanffy•33m ago•0 comments

Copify: free, offline clipboard manager for Mac with search and pinning

https://github.com/rkeshri04/Copify
13•rkeshri•33m ago•0 comments

Evolution and the Industrial Revolution: New Evidence for the Galor-Moav Theory [pdf]

https://warwick.ac.uk/fac/soc/economics-staging/staff-backup/omoav/evidence_brief.pdf
1•akyuu•33m ago•0 comments

Technofascism

https://third-bit.com/2026/05/15/technofascism/
5•speckx•35m ago•0 comments

A rare disease spills secrets about the brain's amygdala – Knowable Magazine

https://knowablemagazine.org/content/article/mind/2026/genetic-disease-reveals-role-of-brain-amyg...
2•rbanffy•36m ago•0 comments

The Agricultural Origins of Time Preference

https://pmc.ncbi.nlm.nih.gov/articles/PMC5541952/
1•akyuu•37m ago•0 comments

Richard Sutton – Father of reinforcement learning thinks LLMs are a dead end [video]

https://www.youtube.com/watch?v=21EYKqUsPfg
1•evo_9•39m ago•0 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.

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 ?

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/