frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Judge Orders ICE Chief to Appear in Court over Potential Contempt

https://www.nytimes.com/2026/01/27/us/politics/ice-director-minnesota-contempt.html
1•boplicity•1m ago•0 comments

Gaming the Answer Matcher: Text Manipulation vs. Automated Judgment

https://arxiv.org/abs/2601.08849
1•PaulHoule•1m ago•0 comments

Neurotech Startups Are Confusing

https://www.owlposting.com/p/questions-to-ponder-when-evaluating
1•abhishaike•2m ago•0 comments

When Fixed-Point Beats Floating-Point (and When It Doesn't)

https://speytech.com/insights/fixed-point-vs-floating-point-tradeoffs/
1•william1872•2m ago•0 comments

Samsung's TriFold phone will cost $2,899 in the US

https://techcrunch.com/2026/01/27/samsungs-trifold-phone-will-cost-2899-in-the-us/
1•gloxkiqcza•3m ago•0 comments

I Built a 2300-File Codebase with AI. How I Prevented Architectural Drift

https://medium.com/@stefanvanegmond/i-built-a-2300-file-codebase-with-ai-heres-the-jig-i-built-to...
1•stefanve•5m ago•1 comments

Show HN: Semantic Primitives- TypeScript types that understand natural language

https://github.com/elicollinson/semantic-primitives
1•emcodes•5m ago•0 comments

Show HN: I vibecoded an X64, ARM64 operating system that boots on real hardware

https://github.com/viralcode/vib-OS
2•xdpi542•7m ago•0 comments

Show HN: Kimi K2.5 (Agent Swarm, beats GPT-5) now on RouterLab (Swiss hosting)

https://routerlab.ch/blog/kimi-k2-5
1•ScioNos•9m ago•0 comments

Hope vs. Realism: The Stockdale Paradox

https://www.leadingsapiens.com/stockdale-paradox/
1•sherilm•10m ago•0 comments

Nils' K1v – Kawai K1 Emulation Plugin VSTi/AU

https://www.nilsschneider.de/wp/nils-k1v/
1•unleaded•10m ago•0 comments

Ask HN: Best email service for custom domain?

1•max_•10m ago•1 comments

Yahoo Scout, a New AI Answer Engine

https://www.yahooinc.com/press/introducing-yahoo-scout-a-new-ai-answer-engine
1•drtz•11m ago•0 comments

Ask HN: Anyone else finding Claude failures almost unusable?

1•boringg•13m ago•1 comments

China has purged its highest-ranked military general. Why?

https://www.bbc.com/news/articles/c8d0l0g8yz5o
2•tartoran•14m ago•0 comments

Professional wedding photo retouching service

https://www.photorestorationretouching.com/wedding-photo-retouching/
1•prophoto•14m ago•1 comments

Cursor lied about it's new Browser [video]

https://www.youtube.com/watch?v=U7s_CaI93Mo
1•shantnutiwari•14m ago•0 comments

Sync vs. async vs. event-driven AI requests: what works in production

https://modelriver.com/how-modelriver-works/event-driven-async
2•akarshc•17m ago•3 comments

Kimi K2.5 – new open weights SOTA

https://huggingface.co/moonshotai/Kimi-K2.5
1•nikhizzle•17m ago•0 comments

The Mysterious Electrides

https://knowablemagazine.org/content/article/physical-world/2026/chemistry-of-electrides-new-cata...
1•Brajeshwar•18m ago•0 comments

Trump raises US tariffs on South Korea imports to 25%

https://www.bbc.com/news/articles/cwyw3ynwe37o
19•tartoran•18m ago•3 comments

A drying climate is making East Africa pull apart faster

https://www.livescience.com/planet-earth/a-drying-climate-is-making-east-africa-pull-apart-faster
1•Brajeshwar•18m ago•0 comments

An ultra-high-resolution map of (dark) matter

https://arxiv.org/abs/2601.17239
1•Brajeshwar•18m ago•0 comments

Show HN: SpecFlow – I added a "Bad Cop" auditor to Claude Code

https://github.com/ivkan/specflow-cc
1•easysolpro•18m ago•0 comments

Ask HN: How do you budget for token based AI APIs?

1•Barathkanna•20m ago•1 comments

Decoding the elite soccer player's psychological profile

https://www.pnas.org/doi/10.1073/pnas.2415126122
1•mhb•21m ago•0 comments

Claude-subconscious: Give Claude Code a subconscious

https://github.com/letta-ai/claude-subconscious
1•simonpure•21m ago•0 comments

Medusa AI-First Security Scanner – A Simple Look at Its Powerful Features

https://thecyberedition.com/medusa-ai-first-security-scanner-a-simple-look-at-its-powerful-features/
1•thehacknews•21m ago•0 comments

What Happened to MCP?

https://hntrends.net/compare/words?words=mcp
1•TimCTRL•22m ago•1 comments

DeepMind chief Demis Hassabis warns AI investment looks 'bubble-like'

https://www.ft.com/content/a1f04b0e-73c5-4358-a65e-09e9a6bba857
2•1vuio0pswjnm7•22m ago•1 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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