frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Membrane – Structured persistent memory for local LLMs

https://github.com/chedim/membrane
2•chedim•4m ago•0 comments

Cross-Modal Alignment Without Paired Data

https://arxiv.org/abs/2610.09411
2•nicholascarolan•4m ago•0 comments

Show HN: Launch Videos Gallery – A free collection of startup launch videos

https://launchvideos.gallery/
1•ahmetsulek•4m ago•0 comments

I Investigated $100B in Healthcare Fraud [video]

https://www.youtube.com/watch?v=9eWJISlh0fw
2•aliasxneo•5m ago•0 comments

Agents as End Users

https://railcode.dev/blog/agents-as-end-users
1•yakkomajuri•6m ago•0 comments

Tanstack Start 1.0 is stable

https://tanstack.com/blog/tanstack-start-1-0
1•cameronjones•6m ago•0 comments

Computer History Museum Interview with Margaret Hamilton (2017) [video]

https://www.youtube.com/watch?v=6bVRytYSTEk
1•throw0101a•8m ago•0 comments

PC Techniques and Visual Developer Magazines Archive

http://www.duntemann.com/vdmarchive.htm
1•kristianp•9m ago•0 comments

Moirélephant

https://weird.vivien.garden/transparency/
2•gregsadetsky•11m ago•0 comments

Iran threatens Gulf data centres: How exposed is the region's internet?

https://www.aljazeera.com/news/2026/10/13/iran-threatens-gulf-data-centres-how-exposed-is-the-reg...
3•snarky-comments•15m ago•0 comments

Mobile phone sales plunge to lowest level in 14 years

https://www.computerworld.com/article/4234747/cell-phone-sales-plunge-lowest-level-in-14-years.html
3•clumsysmurf•17m ago•0 comments

OCP 2026: Agentic AI Pushes the Data Center from Chip to Grid

https://www.datacenterfrontier.com/hyperscale/article/55411534/ocp-2026-agentic-ai-pushes-the-dat...
1•wondersky•18m ago•0 comments

Y Combinator Category on Jeopardy

https://j-archive.com/showgame.php?game_id=9554
4•ojbyrne•20m ago•0 comments

A purely in-browser harness – let SaaS users act with natural language

https://twitter.com/gametorch_app/status/2110192170116534566
2•gametorch•21m ago•0 comments

Elm-Toolkit – Collection of Elm Tools for Devs in the Node and TypeScript World

https://github.com/kioan000/elm-toolkit
1•TheWiggles•24m ago•0 comments

Early results show 65% fewer input tokens overall

https://github.com/cauebraz/squeeze/tree/main/bench
3•cauebraz•31m ago•0 comments

Drone Strikes Didn't Take Out Russian Bot Farm, but We Were Primed to Believe It

https://www.motherjones.com/politics/2026/10/ukraine-drone-strike-yandex-russian-bot-farm-right-w...
5•ggm•32m ago•1 comments

Visa gets Beijing's green light for bank card business

https://www.cnbc.com/2026/10/13/visa-china-green-light-bank-card-business-.html
5•lxm•33m ago•0 comments

Show HN: Brutus CLI – Tiny Dagger to Kill Your Mac's Caesar

https://github.com/smashah/brutus
3•smashah•34m ago•0 comments

Light Touch: a classic iOS device emulator (iOS 1–7)

https://github.com/samhenrigold/LightTouchMac
4•ghoulishly•37m ago•0 comments

Why robots can't pick strawberries yet [video]

https://www.youtube.com/watch?v=TumxO2glmPQ
5•xqcgrek2•38m ago•0 comments

Nvidia Reportedly Ending the RTX 5090, Reserves GB202 for Workstation GPUs

https://www.techpowerup.com/353578/nvidia-reportedly-ending-the-rtx-5090-reserves-gb202-silicon-f...
8•kristianp•44m ago•2 comments

Original iPhone OS 1.0 Emulated in the Browser

https://2007.mobile/
7•tech234a•44m ago•0 comments

AI Scaling vs. Human Scaling

https://www.tobyord.com/writing/ai-scaling-vs-human-scaling
4•gmays•47m ago•0 comments

Ask HN: What do you think will be hot in 2027 with on-device AI

3•mrburton•50m ago•0 comments

An Open Letter on AI and Cybersecurity from the Scientific Community

https://ai-security-letter.org/
8•qainsights•52m ago•0 comments

Show HN: Can AI read your mind?

https://jeffyclassify.com/blog/mind-reader/
4•nico•57m ago•5 comments

Everything New in OpenCode 2.0

https://www.augmentedswe.com/p/whats-new-in-opencode-2
6•wordsaboutcode•57m ago•1 comments

It Could Be Otherwise: Science in the Age of Uncertainty

https://blue-continuum.com/it-could-have-been-otherwise
7•dnetesn•58m ago•0 comments

Show HN: AI Hub – Open Access Lesson Plans for Teaching Students about AI

https://aihub.remakelearning.org/
6•gault8121•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•1y 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•1y 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•1y ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•1y 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•1y 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.

LargoLasskhyfv•1y ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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

robobro•1y ago
Why did you delete the page?
appetrosyan•1y ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•1y 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 ?