frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Claude Code Phantom Usage

1•randoments•31s ago•0 comments

Bonsai: Use It Where Eval() Would Be Reckless

https://danfry1.github.io/bonsai-js/
1•thunderbong•35s ago•0 comments

Google's Gemini AI chatbot rolling out to all Hongkongers

https://hongkongfp.com/2026/03/16/googles-gemini-ai-chatbot-finally-rolling-out-to-all-hongkongers/
1•ksec•1m ago•0 comments

OpenCLI – Turn any website into a CLI, reusing your Chrome login

https://github.com/jackwener/opencli
1•jackwener•2m ago•0 comments

South Korea to get functioning Google Maps

https://www.scmp.com/news/asia/east-asia/article/3345293/south-korea-finally-get-fully-functionin...
1•ksec•2m ago•0 comments

The Coding Agent Bootstrap

https://www.monperrus.net/martin/coding-agent-bootstrap
1•ColinEberhardt•3m ago•0 comments

Catenator – an open standard for machine-readable AI specs

https://catenator.com/docs
1•parthupadhye•3m ago•1 comments

Shopify CEO Tobias Lütke Against Liquid, Shopify's OSS Ruby Template Engine

https://simonwillison.net/2026/Mar/13/liquid/
1•talboren•6m ago•0 comments

Rise of the AI Soldiers

https://time.com/article/2026/03/09/ai-robots-soldiers-war/
2•bbor•6m ago•0 comments

Show HN: Paperverse, an Hyperbolic Presentation

https://paperverse.net
1•Nesco•6m ago•0 comments

Neo-Stoicism is the religion of the 21st century

1•Bashkiroff•8m ago•0 comments

Polynomial Time Factoring Algorithm

https://geohot.github.io//blog/jekyll/update/2026/03/16/polynomial-time-factoring.html
2•greyface-•8m ago•0 comments

Artist Resources We Love, Vol. 5

https://animationobsessive.substack.com/p/artist-resources-we-love
2•vinhnx•9m ago•0 comments

Facing bankruptcy after unauthorized Gemini API usage of about $128k

https://old.reddit.com/r/googlecloud/comments/1rv3xr9/we_are_facing_possible_bankruptcy_after/
3•gbrindisi•10m ago•0 comments

The Memetic Backdrop for American Collapse

https://medium.com/luminasticity/the-memetic-backdrop-for-american-collapse-5b480c59e893
3•bryanrasmussen•11m ago•0 comments

Palantir and Nvidia Team to Deliver Sovereign AI OS Reference Architecture

https://www.businesswire.com/news/home/20260312795208/en/Palantir-and-NVIDIA-Team-to-Deliver-Sove...
3•alberto-m•11m ago•0 comments

Wolfram LLM Benchmarking Project

https://www.wolfram.com/llm-benchmarking-project/
2•rzk•17m ago•0 comments

Building a Reader for the Smallest Hard Drive

https://www.willwhang.dev/Reading-MK4001MTD/
2•voctor•17m ago•0 comments

Docker Sandboxes and Docker Agent

https://www.docker.com/blog/building-ai-teams-docker-sandboxes-agent/
2•Mopolo•20m ago•0 comments

Plan 9: Audio-Video Pipeline

http://lifeofpenguin.blogspot.com/2026/03/plan-9-audio-video-pipeline.html
3•renehsz•21m ago•0 comments

AI Agent predict the market in realtime

https://x.com/bots_of_wallst
2•nykodev•21m ago•0 comments

Show HN: Signbee – An API that lets AI agents send documents for signature

https://signb.ee
2•mjcbeckett•21m ago•1 comments

I may 'hire' AI instead of a graduate student

https://www.science.org/content/article/why-i-may-hire-ai-instead-graduate-student
18•doener•23m ago•3 comments

A list of my favourite podcast episodes

https://adadithya.notion.site/podcast
2•trojanalert•24m ago•1 comments

AI and Visual Editor to Create and Host Landing Pages

https://getaipage.com/
4•gagan2020•24m ago•1 comments

What's the Best LLM for Coding in 2026

https://www.hpc-ai.com/blog/Best-LLM-For-Coding
1•hpcaitech•28m ago•0 comments

Benchmarking LLMs at the Game of Science (Eleusis) [video]

https://www.youtube.com/watch?v=tz5wALHhhds
2•rzk•30m ago•0 comments

Show HN: Browser grand strategy game for players on maps

https://borderhold.io/play
2•sgolem•31m ago•1 comments

The Removed DOGE Deposition Videos Have Been Backed Up Across the Net

https://www.404media.co/the-removed-doge-deposition-videos-have-already-been-backed-up-across-the...
4•robtherobber•34m ago•0 comments

Flame – A PureScript Front-End Framework Inspired by the Elm Architecture

https://github.com/easafe/purescript-flame
2•TheWiggles•43m 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•10mo 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/