frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

JavaNext Language Features

https://www.youtube.com/watch?v=fFocVFEe2TI
1•birdculture•2m ago•0 comments

Opus 4.8 Part 2: Model Welfare

https://thezvi.wordpress.com/2026/06/01/opus-4-8-part-2-model-welfare/
1•gmays•3m ago•0 comments

Show HN: Dense NYT style crossword puzzle generation with Rust and Claude

https://github.com/ekorbia/xword-pipeline
1•ekorbia•4m ago•0 comments

Self-Healing Materials: Mechanisms, Properties, and Applications

https://www.mdpi.com/2227-9717/14/9/1436
1•PaulHoule•5m ago•0 comments

Veltrox – Fleet compliance SaaS in Django with live risk scoring

https://www.loom.com/share/3b1692e91b0b4837824e68f2945f1d30
1•AuroreDev•6m ago•0 comments

Ask HN: What Happened to Hide?

1•what•7m ago•1 comments

Congress wants to tie the United States to Israel with this new legislation

https://www.theguardian.com/commentisfree/2026/jun/05/congress-us-israel-legislation
2•kldavis4•8m ago•0 comments

lab leak straight out of 2080 - time travel in html 5

https://rogmash.neocities.org/torusfield
1•rogmash•8m ago•1 comments

Show HN: Synstax – Smart Supplement Scheduling for iPhone

https://synstax.uppervoid.app/
1•reloading2008•10m ago•0 comments

The sneaky way companies get new chemicals into our food

https://www.npr.org/2026/05/29/nx-s1-5836552/fda-gras-food-chemicals-additives-rfk
2•nkzednan•11m ago•1 comments

BetterSSC is a Discord-style client for Substack Chat

https://github.com/inder/betterssc
1•inderrr•12m ago•1 comments

The Smallest Brain You Can Build: A Perceptron in Python

https://ranpara.net/posts/perceptron-explained-from-scratch/
3•DevarshRanpara•12m ago•0 comments

Eighteen

https://meyerweb.com/eric/thoughts/2026/06/07/eighteen/
2•darekkay•16m ago•0 comments

A Matter Wi-Fi Light Bulb in Rust on the Raspberry Pi Pico 2 W

https://github.com/melastmohican/rust-rpico2-embassy-examples
1•melastmohican•23m ago•0 comments

Guardrails around powerful AI models may be too late

https://www.politico.com/news/2026/06/07/frontier-ai-cybersecurity-china-race-00952786
1•jonbaer•28m ago•0 comments

Brain Appropriation

https://brainappropriation.org/
2•jonbaer•29m ago•0 comments

The AI Coding Bill Is a Headcount Problem in Disguise

https://abhishek-shankar.com/posts/ai-coding-bill-headcount-problem
1•catstyler•35m ago•0 comments

The Tao of Fish Swimming ▸ KITP Chalk Talk by Jimmy Liao [video]

https://www.youtube.com/watch?v=gZyMhlYmmVQ
1•marysminefnuf•37m ago•0 comments

AI Code Stitcher

https://github.com/ue-patcher/code_stitcher/releases
1•code_stitcher•40m ago•0 comments

How the "Perfectionism Pandemic" Is Crushing Young People

https://nautil.us/how-the-perfectionism-pandemic-is-crushing-young-people-1281569
3•ferryth•41m ago•0 comments

I built an AI agent that monitors job boards daily and emails you scored matches

https://www.matchmind.site
1•sinophine•42m ago•0 comments

Mysterious Next-Gen Aircraft Allegedly Spotted Near Area 51

https://theaviationist.com/2026/06/04/mysterious-next-gen-aircraft-allegedly-spotted-near-area-51/
5•billybuckwheat•43m ago•0 comments

Show HN: An mkv player that uses WASM to render you videos

https://parallax.kinosoft.moe/
1•kafkaesqueKino•43m ago•0 comments

GoodQ4All – A Local-First Multimodal Memory and Intelligence System

https://github.com/GoodQ02/goodq4all
1•joesdomingo•44m ago•0 comments

For the Nation's Birthday, Making It Harder to Become an American

https://www.newyorker.com/magazine/2026/06/15/for-the-nations-birthday-making-it-harder-to-become...
1•petethomas•51m ago•0 comments

Engineered biological neural networks as basic logic operators

https://www.biorxiv.org/content/10.1101/2024.12.23.630065v2
2•jonnonz•54m ago•0 comments

Pugilistic Florida billionaire plots law firm stake sale to private equity

https://www.ft.com/content/ac309e7b-b5eb-43d4-a668-d9090b2bceaa
1•petethomas•57m ago•0 comments

World Railway Map [pdf]

https://zhaoxusui.github.io/Earth_Transit.pdf
4•cainxinth•59m ago•0 comments

Show HN: I built free VoiceToText app with local LLM polish to save 60 min/day

https://vox.rizenhq.com/
1•serhiiklymenko•1h ago•0 comments

Waymo getaway a likely S.F. first

https://eedition.sfchronicle.com/infinity/article_popover_share.aspx?guid=c9428237-c353-4f22-a196...
3•tmp10423288442•1h ago•2 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.

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/

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 ?