frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Communicating the Value of Publicly Funded Science

https://cacm.acm.org/opinion/communicating-the-value-of-publicly-funded-science/
1•visha1v•41s ago•0 comments

The Hitchhiker's Guide to Agentic AI: From Foundations to Systems

https://arxiv.org/abs/2606.24937
1•tamnd•1m ago•0 comments

New European Search Engine

https://www.qmay.eu
1•Qmay_Dev•2m ago•0 comments

Anthropic CEO: Open-Source AI is getting dangerous

https://xcancel.com/coinbureau/status/2071330294452666695
2•therein•4m ago•0 comments

Berkshire Hathaway – It's essentially a pre-diversified empire

https://en.wikipedia.org/wiki/Berkshire_Hathaway
1•modinfo•8m ago•0 comments

Show HN: Sidequest is a better /btw for Pi

https://github.com/peterp/pi-sidequest
1•pistoriusp•9m ago•0 comments

LLM-free, layout-aware PDF chunker in pure Rust

https://github.com/matthiasnordwig/pdf-struct-chunker
1•MatthiasNordwig•9m ago•0 comments

Ukraine's newest strike weapon, Balloons

https://www.defensenews.com/global/europe/2026/06/25/ukraines-newest-strike-weapon-drifts-into-ru...
1•garyclarke27•10m ago•0 comments

SpecManager – a full agile team for founders, as a Claude Code plugin

https://github.com/joanseg/specmanager
1•joansg•17m ago•0 comments

Understanding Android's Project Treble, Project Mainline, APK Signature Schemes

https://medium.com/@Max_Sir/understanding-androids-project-treble-project-mainline-and-apk-signat...
1•thunderbong•17m ago•0 comments

Why did this journal retract two 1940s papers by Max Planck?

https://arstechnica.com/science/2026/06/why-did-this-journal-retract-two-1940s-papers-by-max-planck/
6•DR_MING•18m ago•0 comments

Life After Oligarchy

https://www.commonweal.scot/articles/magazine-zrell
1•robtherobber•18m ago•1 comments

War at the Final Frontier

https://medium.com/@firstfromreverse/war-at-the-final-frontier-2f9af096a297
1•WishingWisp•20m ago•0 comments

N8n Docker Compose stack with secrets, TLS, and a 16-check validator

https://github.com/empostigo/n8n-compose-field-guide
1•44_88•22m ago•1 comments

OctoPerf MCP – drive load tests from any LLM (OAuth 2.1, no API key)

https://api.octoperf.com/doc/mcp/
1•Jellly•22m ago•0 comments

Computer Networking: A Top Down Approach (9th Ed): Online Video Presentations

https://gaia.cs.umass.edu/kurose_ross/lectures.php
2•teleforce•28m ago•0 comments

Create sandboxed rich-text telegram agents with a single config file

https://github.com/montyanderson/007
2•montyanderson•31m ago•0 comments

The Race to Reliable Visual Understanding

https://cacm.acm.org/news/the-race-to-reliable-visual-understanding/
2•visha1v•33m ago•0 comments

Show HN: Closedtab: a shared record for human-agent teams

https://www.npmjs.com/package/closedtab
1•omnivore•35m ago•0 comments

About Latency-focused disk benchmarks for Linux VPS environments

https://github.com/haydenjames/VPS-Disk-Latency-Bench
2•ashitlerferad•35m ago•0 comments

Context engineering for analytics agents: six months of building and rebuilding

https://blog.getcassis.com/context-engineering-for-analytics-agents/
1•matthieu_bl•35m ago•0 comments

Kog Laneformer 2B: The Latency-First Model Behind Kog Inference Engine

https://blog.kog.ai/kog-laneformer-2b-the-latency-first-model-behind-kog-inference-engine/
1•thomasjb•35m ago•0 comments

Show HN: Claude Code plugin to draw feedback and send it back into the session

https://github.com/tomreinert/claude-annotate
1•tom2948329494•38m ago•0 comments

Show HN: Jerkarator (SFW): award-winning axial electromagnetic generator

https://github.com/rmit-wgbowley/Isopod
1•wgbowley•40m ago•2 comments

2026 GPU Price Report

https://cast.ai/reports/gpu-price-report/
3•BlackPlot•43m ago•2 comments

Using Local Coding Agents

https://magazine.sebastianraschka.com/p/using-local-coding-agents
4•mariuz•45m ago•1 comments

ProtonVPN is AI support only. 4 days no human, made me BOTNET. Begging for help

2•protonisafk•45m ago•1 comments

SimpleX: A messaging platform with no user identifiers

https://github.com/simplex-chat/simplex-chat
2•mpfect•47m ago•0 comments

The People Who Will Thrive in the AI Age

https://www.theatlantic.com/ideas/2026/06/ai-open-ai-anthropic/687689/
1•cplan•51m ago•2 comments

GPT-5.5 Instant (June 2026) Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/gpt-5-5-instant-06-26
3•theanonymousone•53m 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.

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 ?