frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

ChatJC – chatbot for resume/LinkedIn/portfolio info

https://joshuacurry.dev/
1•ogou•3m ago•1 comments

FreeBSD 14.4-Release Announcement

https://www.freebsd.org/releases/14.4R/announce/
1•todsacerdoti•3m ago•0 comments

AgentOps – The Discipline That Didn't Exist Last Year

https://doneyli.substack.com/p/agentops-the-discipline-that-didnt
1•hn247dj•4m ago•0 comments

The "JVG algorithm" is crap

https://scottaaronson.blog/?p=9615
1•jhalderm•5m ago•0 comments

I built an app to replace the DAGR – $3.99 instead of $2,500

https://github.com/RedGridTactical/RedGridMGRS
1•redgridtactical•6m ago•1 comments

Convert Any API Documentation into a CLI for AI Agents

https://github.com/giorgioleonardi/pug
2•giorgiolc•11m ago•1 comments

Many US states planning or have operating system age verification laws

https://www.gamingonlinux.com/2026/03/many-more-us-states-are-planning-or-already-have-operating-...
2•20after4•12m ago•0 comments

A retention mechanic for intrinsic learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
1•aidanadd•13m ago•1 comments

Xkcd: Change in Slope

https://xkcd.com/2701/
3•ravenical•20m ago•1 comments

TLAi+ Benchmarks for Evaluating LLMs

https://github.com/tlaplus/TLAiBench
1•alhazrod•21m ago•0 comments

The Unison Language – The Big Idea

https://www.unison-lang.org/docs/the-big-idea/
2•deterministic•22m ago•0 comments

Two Years of Emacs Solo: 35 Modules, Zero External Packages, and a Full Refactor

https://www.rahuljuliato.com/posts/emacs-solo-two-years
2•celadevra_•24m ago•0 comments

Anthropic sues Pentagon claiming supply chain risk label could cost billions

https://www.ft.com/content/af404e0a-7abc-49bc-9584-cd4690152f86
1•Jimmc414•24m ago•0 comments

Iran's attacks on Amazon data centers in UAE, Bahrain signal a new kind of war

https://fortune.com/2026/03/09/irans-attacks-on-amazon-data-centers-in-uae-bahrain-signal-a-new-k...
6•rawgabbit•29m ago•0 comments

I will pay you if you ship a bug

https://www.getautonoma.com
1•Escafati•30m ago•2 comments

Trump says Iran war is 'complete, pretty much'

https://www.theguardian.com/world/2026/mar/09/us-israel-strikes-iran-supreme-leader
2•hedayet•32m ago•0 comments

Anti-stringing device for a coin acceptor (1996)

https://patents.google.com/patent/US5511645A/en
2•exvi•33m ago•0 comments

Sally, by Isaac Asimov (1953)

https://lecturia.org/en/short-stories/isaac-asimov-sally/8602/
2•antognini•34m ago•0 comments

Why software supply-chain review shouldn't be split across five tools

https://github.com/ferxalbs/rainy-updates
1•ferxalb•35m ago•1 comments

Porting MacPaint to Swift with Claude Code

https://weirdvibes.net/posts/2026-03-07-macpaint-part-1/
1•minorbug•35m ago•2 comments

White House blocks intelligence report warning of rising homeland terror threat

https://www.dailymail.co.uk/news/article-15622933/White-House-blocks-warning-rising-threat-linked...
3•heavyset_go•36m ago•0 comments

FreeBSD 14.4-Release Now Available

https://lists.freebsd.org/archives/freebsd-announce/2026-March/000228.html
2•cperciva•37m ago•0 comments

TrueNAS build system going closed source

https://github.com/truenas/scale-build
2•Teever•38m ago•0 comments

The little shipping company that's making Europe's sanctions look silly

https://www.politico.com/news/2026/03/07/mail-tracking-tariffs-berlin-moscow-00798601
2•thebeardisred•40m ago•0 comments

I Tried to Write a HTTP Service in Zig and Failed

https://maori.geek.nz/i-tried-to-write-a-http-service-in-zig-and-failed-72c4ce581e1d
1•grahar64•44m ago•0 comments

Leap Second

https://en.wikipedia.org/wiki/Leap_second
1•pinkmuffinere•47m ago•1 comments

Ask HN: Read‑only LLM tool for email triage and knowledge extraction?

1•maille•47m ago•0 comments

Show HN: Theme SaaS – Silicon Valley Meets Theme Hospital

https://themesaas.com/
1•fmfamaral•48m ago•0 comments

Ask HN: Any informed guesses on the actual size/architecture of GPT-5.4 etc.?

2•dsrtslnd23•49m ago•0 comments

ThinkPad X14 with Magic Bay

https://www.notebookcheck.net/A-ThinkPad-laptop-with-modules-Unannounced-slim-Lenovo-ThinkPad-X14...
1•bpierre•54m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

https://appetrosyan.github.io/posts/emacs-widget.html
48•signa11•10mo ago

Comments

spit2wind•10mo 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•10mo 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•10mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•10mo 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•10mo 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•10mo ago
Why did you delete the page?
appetrosyan•9mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•10mo 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•10mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

https://old.reddit.com/r/emacs/comments/1hlj04t/emacs_using_...

appetrosyan•10mo ago
That's the best thing to do for the moment.
robobro•10mo ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

appetrosyan•10mo ago
Hi. I just migrated my blog to Hugo yesterday. The correct link is:

https://appetrosyan.github.io/posts/emacs-widget/