frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Multi-Layer ASCII Art

https://typeart.mitpit.com/
1•MitPitt•7m ago•0 comments

France approves $11B tax based on content delivered to French subscribers

https://www.tomshardware.com/software/social-media/french-lawmakers-approve-usd11-2-billion-inter...
2•jnord•16m ago•1 comments

The AI boom spawns job market for data-center liaisons

https://www.semafor.com/article/10/30/2026/the-ai-boom-spawns-job-market-for-data-center-liaisons
1•giuliomagnifico•24m ago•0 comments

Screen Capture for macOS – Open-source sticky-aware scrolling capture

https://github.com/nasadunadu/screen-capture-macos
1•nasadunadu•25m ago•0 comments

Show HN: LanesMac – A scrolling tiling window manager for macOS

https://lanesmac.com
1•mansi126•25m ago•0 comments

Show HN: What [67] MCP servers do at startup, with the internet cut off

https://mcp.brydge-ai.com
1•DevanshKontey•30m ago•0 comments

Show HN: Create a Dumbphone on Android

https://beeswax.getflourish.org/
3•privacyishuman•39m ago•0 comments

"Vibe coded my parents' TV this afternoon "

https://twitter.com/gathint/status/2111379569030939102
2•obilgic•42m ago•1 comments

Why Sam Altman is against a single superintelligence

https://cheekypint.substack.com/p/why-sam-altman-is-against-a-single
1•gmays•48m ago•0 comments

Astronomers make startling discovery of a possible dwarf planet beyond Pluto

https://www.rnz.co.nz/news/world/2281346/it-s-big-astronomers-make-startling-discovery-of-a-possi...
4•slyall•50m ago•1 comments

Samourai Wallet developer Keonne Rodriguez recounts a 29-day prison transfer

https://www.therage.co/letter-8-notes-from-the-inside/
1•privacyishuman•58m ago•0 comments

If CA matched TX on property taxes, it would raise more than the billionaire tax

https://fortune.com/2026/10/31/california-billionaire-wealth-tax-prop-40-revenue-prop-13-texas-ta...
5•jameslk•1h ago•2 comments

A Second Life Under Constraints

https://zenodo.org/records/23836212
1•shailesh-1403•1h ago•0 comments

The History of Every Video Game Genre

https://www.youtube.com/watch?v=Dbgdi7BzMR0
1•primogen•1h ago•0 comments

Defeating highly encrypted and obfuscated code – tutorial (SRBMiner-MULTI 3.7.3)

https://www.yourdev.net/blog.php?post=unpacking-a-commercial-miner
1•noppers•1h ago•1 comments

Getting Back in the Zone

https://alexcwatt.com/back-in-the-zone/
1•acwatt•1h ago•0 comments

Knowledge Spillovers, Competition, and Individual Careers [pdf]

https://discovery.ucl.ac.uk/id/eprint/10230050/1/manuscript_with_fig_and_tables.pdf
1•rohanm93•1h ago•0 comments

We're Training a Figma-Fluent Editing Model

https://www.figma.com/blog/training-a-figma-fluent-editing-model/
3•gmays•1h ago•0 comments

I replaced macOS say with local neural speech

https://www.lukasrieder.com/blog/i-replaced-macos-say-with-local-neural-speech/
1•ankitg12•1h ago•0 comments

The first life and death of Italian computing (1954 – 1964)

https://zeitgame.net/archives/17619
5•PeterHolzwarth•1h ago•0 comments

Vroot – Instant, daemonless root sandboxes from a single flag

https://github.com/gairxx/vroot/tree/main
2•garrettcadams•1h ago•0 comments

Mitigations for CVE-2026-98432 [IPv4 TCP handshake use-after-free]

https://blog.rodmena.com/entry/cve_2026_98432_and_the_ipv4_options_nobody_sends
3•rodmena•1h ago•0 comments

Do you still need embeddings for semantic search? - my little experiment

https://internals.laxmena.com/p/can-an-llm-and-a-keyword-index-replace
2•laxmena•1h ago•0 comments

Free Invoice Generator PDF Online – Global Tools Box

https://www.globaltoolsbox.online/2026/10/free-invoice-generator-pdf-online.html
1•mustjabk761•1h ago•0 comments

I recreated subvocal in 9 minutes with one prompt for AirPods Pro 3

https://twitter.com/joeblau/status/2116347756138856734
1•joeblau•1h ago•0 comments

Ask HN: Anyone here still writing code for reasons other than fun or learning?

4•czhu12•1h ago•0 comments

Accountability

1•EarRelevant•1h ago•0 comments

Earliest spoken audio of endangered U.S. language discovered

https://www.cam.ac.uk/stories/louisiana-creole-earliest-spoken-audio
1•gmays•1h ago•0 comments

CPU Simulations Show Building Blocks of Life Didn't Arrive on Prehistoric Comets

https://www.cnn.com/2026/10/31/science/origin-life-theory-comet-simulation
1•smurda•1h ago•0 comments

When a wedding fell apart, 11 strangers helped create something unforgettable

https://www.bbc.co.uk/news/articles/cx4g1vdyzem6o
1•thunderbong•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 ?