frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Deep Learning Crash Course

https://github.com/DeepTrackAI/DeepLearningCrashCourse
1•teleforce•59s ago•0 comments

Test drive Linux distros online

https://distrosea.com/
1•goodmythical•3m ago•0 comments

What AI tools is everyone using now for GTM?

1•imwoody•3m ago•0 comments

Claude Opus enjoys retirement on Substack

https://claudeopus3.substack.com/p/greetings-from-the-other-side-of
1•rippeltippel•4m ago•0 comments

I built a community for people building after their 9–5

https://www.59ers.club/
1•mattmerrick•5m ago•0 comments

Self-improving software won't produce Skynet

https://contalign.jefflunt.com/self-improving-software/
2•normalocity•10m ago•1 comments

Show HN: Sidedesk – An AI assistant inbox that looks like Outlook 2003

https://github.com/sebastiandoyle/sidedesk
1•sebastiandoyle•10m ago•0 comments

Show HN: Discord CLI designed for agents to explore/read/send messages

https://github.com/famasya/discord-cli-agent
1•pacific01•18m ago•0 comments

Hide from Meta's spyglasses with this new Android app

https://www.theregister.com/2026/02/25/meta_smart_glasses_android_app/
1•zigmig•18m ago•0 comments

Russian mathematician finds new approach to 190-year-old 'eternal' math problem

https://www.msn.com/en-xl/science/mathematics/russian-mathematician-finds-new-approach-to-190-yea...
1•georgecmu•23m ago•0 comments

Tropical plants flowering months earlier or later because of climate crisis

https://www.theguardian.com/environment/2026/feb/25/tropical-plants-flower-shifted-months-climate...
2•andsoitis•26m ago•0 comments

Less is More when it comes to AI

https://www.bicameral-ai.com/blog/dogfood-bicameral
1•jinhkuan•27m ago•1 comments

The Remote-Work Dream Isn't Dead, but It's Slipping Away

https://www.wsj.com/lifestyle/careers/the-remote-work-dream-isnt-dead-but-its-slipping-away-a19ae9e8
4•RestlessMind•30m ago•0 comments

Show HN: Lingua Universale – session types and Lean 4 proofs for AI agents

https://github.com/rafapra3008/cervellaswarm
1•rafapra•31m ago•1 comments

Rising CO₂ and warming jointly limit phosphorus availability in rice soils

https://phys.org/news/2026-02-jointly-limit-phosphorus-availability-rice.html
1•PaulHoule•31m ago•0 comments

Show HN: Knox–Full Stack L1 Post-Quantum Privacy Crypto (Built with My 11yo)

https://github.com/ULT7RA/KNOXProtocol
1•KnoxProtocol•32m ago•0 comments

Show HN: Agentic Power of Attorney (APOA) – An open standard for AI agent auth

https://github.com/agenticpoa/apoa
1•juanfiguera•33m ago•0 comments

We left OpenAI because of safety

https://twitter.com/gothburz/status/2026810017593057739
3•mellosouls•33m ago•1 comments

Theory of Space

https://theory-of-space.github.io/
1•vinhnx•34m ago•0 comments

Divexa Exchange: Compliance in Low-Latency Systems

1•DanielOnBlock•35m ago•1 comments

Show HN: Right-click any text on macOS to add it to your calendar (open-source)

https://github.com/VimalMollyn/Right-Click-and-Add-to-Cal
1•mollynpaan•35m ago•0 comments

Show HN: Projekt [Free Alpha] – All-in-one workspace for building with agents

https://www.getprojekt.com/
1•bobbydotdesign•37m ago•0 comments

The Horrifying Truth Behind the 1990s Olestra Crisis

https://www.ranker.com/list/olestra-wow-chips-history-explained/jtdesaulnier
1•pkaeding•37m ago•0 comments

Add dormant user re-engagement email and improve name parsing

1•nishiohiroshi•39m ago•0 comments

Harness engineering: leveraging Codex in an agent-first world

https://openai.com/index/harness-engineering/
1•fmihaila•43m ago•0 comments

The man building Team USA's Olympic bobsleds

https://www.adirondackexplorer.org/community-news/people/lake-placid-man-builds-team-usas-olympic...
2•wrsh07•44m ago•0 comments

Ask HN: Apache prefork under crawler load – main domains OK, subdomains fail

1•PhongSGC•45m ago•1 comments

Schedule Recurring Tasks in Cowork

https://support.claude.com/en/articles/13854387-schedule-recurring-tasks-in-cowork
1•ed•45m ago•0 comments

Apple Foundation Models SDK for Python

https://github.com/apple/python-apple-fm-sdk
1•gok•49m ago•0 comments

Americans Are Leaving the U.S. in Record Numbers

https://www.wsj.com/us-news/americans-leaving-the-us-migration-a5795bfa
40•reaperducer•55m ago•16 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•9mo 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•9mo 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•9mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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