frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenClaw on $5 chips, no Linux or Node.js

https://www.mimiclaw.io/
1•ssslvky1•6m ago•2 comments

ChatGPT promised to help her find her soulmate. Then it betrayed her

https://www.npr.org/2026/02/14/nx-s1-5711441/ai-chatgpt-openai-love-betrayal-delusion-chatbot
1•tyjen•8m ago•1 comments

A Framework for Time-Updating Probabilistic Forecasts

https://arxiv.org/abs/2602.09982
1•Luc•8m ago•0 comments

Show HN: I built a personal news-curating AI using Ruby and Claude

https://github.com/ashishra0/news-curator
1•ashishra0•8m ago•0 comments

All in on DLang: Why I pivoted to D for web, teaching and graphics in 2025 [pdf]

https://dconf.org/2025/slides/shah.pdf
2•teleforce•11m ago•0 comments

AI and the Quantity and Quality of Creative Products

https://www.nber.org/papers/w34777
1•tonyedgecombe•13m ago•0 comments

AI film school trains next generation of Hollywood moviemakers

https://www.reuters.com/business/media-telecom/ai-film-school-trains-next-generation-hollywood-mo...
1•giuliomagnifico•17m ago•0 comments

Pentagon Used Anthropic's Claude in Maduro Venezuela Raid

https://www.wsj.com/politics/national-security/pentagon-used-anthropics-claude-in-maduro-venezuel...
3•sbuttgereit•20m ago•0 comments

Mandatory driver impairment sensors clear a funding hurdle, but are they ready?

https://apnews.com/article/federal-law-impairment-detection-car-dui-062d40e885a0e32c6cad0ba70163aef8
2•geox•23m ago•0 comments

Ask HN: What's You Opinon on XMTP

1•julienreszka•23m ago•0 comments

Meeting-Assistant, Local meeting notes assistant and AI analysis in C++

https://github.com/DatanoiseTV/meeting-assistant
1•sylwester•24m ago•1 comments

How to interactively call C code from Chicken Scheme [video]

https://www.youtube.com/watch?v=twm99YQiN8E
1•AlexeyBrin•26m ago•0 comments

Claude Agent in VS Code: no extension required, Copilot subscription supported

https://code.visualstudio.com/docs/copilot/agents/third-party-agents#_claude-agent-preview
1•javiercr•27m ago•0 comments

A Deep Dive into Apple's .car File Format

https://dbg.re/posts/car-file-format/
2•MrFinch•31m ago•0 comments

Best PC Specs to Run Local AI Models Like Minimax, Free

https://twitter.com/meta_alchemist/status/2022614255426769129
1•bilsbie•31m ago•0 comments

Show HN: Foundry: Deploy observability without the complexity

https://github.com/SigNoz/foundry
1•nageshbansal•31m ago•0 comments

Mode Prologue: Luxury 98% Mechanical Keyboard

https://modedesigns.com/pages/prologue
1•subdomain•32m ago•1 comments

CEU Economic Seminar Series: Long-Run Consequences of Propaganda in Classroom

https://events.ceu.edu/2024-02-20/ceu-economic-seminar-series-long-run-consequences-propaganda-cl...
1•taubek•36m ago•0 comments

1x Forth: Chuck Moore on Forth (1999) [video]

https://www.youtube.com/watch?v=NK0NwqF8F0k
2•tosh•39m ago•1 comments

Bothive – An Operating System for AI Agent Swarms

https://bothive.cloud/
2•jeremyace•40m ago•0 comments

Non Asshole Funding for AI Startup – Binary Diffusion

https://pbs.twimg.com/media/HBHe_y4akAAw6Do?format=png&name=900x900
1•corn13read2•41m ago•2 comments

Show HN: ScreenshotIt – What if a screenshot was just a URL?

https://screenshotit.app
2•rufuspollock•43m ago•0 comments

I got tired of my speaker terminal fighting me, so I rebuilt it

https://fiosproject.de/posts/fixing_my_speaker_system/
2•ls-root•46m ago•1 comments

Rules to Be a Better Thinker in 2026

https://ryanholiday.net/26-rules-to-be-a-better-thinker/
2•rwmj•48m ago•0 comments

AI could eat itself: Competitors (..) steal their secrets and clone them

https://www.theregister.com/2026/02/14/ai_risk_distillation_attacks/
1•myk-e•50m ago•0 comments

CPUs are getting so small they're starting to hallucinate

https://twitter.com/lauriewired/status/2022387879390122049
1•guivr•52m ago•0 comments

Bypassing Kernel32.dll for Fun and Nonprofit

https://ziglang.org/devlog/2026/#2026-02-03
1•agluszak•54m ago•0 comments

Swiyu Swiss e-ID app: security and freedom of choice for Android users

https://www.eid.admin.ch/en/swiyu-wallet-security-and-freedom-of-choice-for-android-users
3•nar001•54m ago•0 comments

Only Samsung loves me back

https://www.anuragk.com/blog/posts/Samsung.html
1•beAroundHere•56m ago•0 comments

Starlink is connecting more than 10M active customers

https://twitter.com/Starlink/status/2022446814591615013
1•tosh•57m ago•0 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/