frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Microsoft blocks trick to unlock native NVMe driver, but workarounds still exist

https://www.tomshardware.com/software/windows/microsoft-blocks-the-registry-hack-trick-that-unloc...
2•josephcsible•12m ago•0 comments

Ask HN: AI companies' bots are making my server slow, what do you do?

1•aabbcc1241•14m ago•1 comments

Alibaba Unveils New Chip Design to Meet Surging Demand for AI

https://www.bloomberg.com/news/articles/2026-03-24/alibaba-unveils-new-chip-design-to-meet-surgin...
1•voxadam•17m ago•1 comments

Show HN: ArXiv metadata as Parquet files (2.99M papers, 1.44GB, 417 files)

https://huggingface.co/datasets/open-index/open-arxiv
1•tamnd•19m ago•0 comments

FCC Clearing the Air on Wi-Fi Software Updates (2015)

https://www.fcc.gov/news-events/blog/2015/11/12/clearing-air-wi-fi-software-updates
1•walterbell•24m ago•0 comments

Sovereign AI OS and SAMN Introduction

1•twocats7701•26m ago•0 comments

How Do US Men and Women Spend Their Time?

https://www.pewresearch.org/social-trends/feature/how-do-u-s-men-and-women-spend-their-time/
1•gmays•26m ago•0 comments

Firefox ext: Bkmker · Your bookmarks, encrypted and private

https://addons.mozilla.org/en-US/firefox/addon/bkmker/
2•fullstacking•32m ago•0 comments

OpenTarget Core: Laser Shooting Platform for Raspberry Pi Using OpenCV

https://github.com/JSK-Project/OpenTarget-Core
1•laurieg•35m ago•0 comments

Aspect Ratios with Sinners Director Ryan Coogler (2025)

https://www.youtube.com/watch?v=78Ru62uFM0s
1•hbcondo714•37m ago•0 comments

Halo-Gravity Traction

https://www.childrenshospital.org/conditions-treatments/halo-gravity-traction
1•walterbell•39m ago•0 comments

California bill aims to help vibe coders

https://www.semafor.com/article/03/20/2026/california-bill-aims-to-help-vibe-coders
2•gnabgib•41m ago•1 comments

A city that wasted nothing [video]

https://aeon.co/videos/the-extraordinary-efficiency-of-japans-edo-economy
4•billybuckwheat•42m ago•1 comments

Show HN: Locro – Fast and accurate local OCR through Chrome's screen_ai

https://github.com/sergiocorreia/clv-locro
1•zzleeper•42m ago•0 comments

'Microshifting' puts a new spin on 9-to-5 schedules

https://apnews.com/article/microshifting-work-time-flexible-schedule-balance-97a98519916b447cd60c...
1•donutshop•43m ago•0 comments

California bill to stop 'dominant platforms' from blocking competition

https://yro.slashdot.org/story/26/03/22/2025249/tech-leaders-support-california-bill-to-stop-domi...
4•MilnerRoute•43m ago•0 comments

Mars to Wars: New Space pivots to weaponize space

https://www.defensenews.com/space/2026/02/19/spacex-and-blue-origin-abruptly-shift-priorities-ami...
3•infinitewars•44m ago•1 comments

The Un-Slop Fiction Prize

https://www.hyperstitionai.com/unslop
1•Curiositry•47m ago•0 comments

Blackburn AI Bill Repeals Section 230, Expands AI Liability, Age Verification

https://reclaimthenet.org/trump-america-ai-act-section-230-repeal-ai-liability-age-verification
5•walterbell•50m ago•0 comments

Nashville library launches Memory Lab for digitizing home movies

https://www.axios.com/local/nashville/2026/03/16/nashville-library-digitize-home-movies
3•toomuchtodo•50m ago•0 comments

Show HN: Generate, preview, and export 3D models without complex software

https://www.ai3dgen.com
2•stewardyunn•56m ago•0 comments

My Prodigal Brainchild

https://nealstephenson.substack.com/p/my-prodigal-brainchild
2•martinlaz•56m ago•0 comments

Show HN: A form builder that feels like chatting

https://www.typerson.com
1•briandev•59m ago•0 comments

Box of Secrets: Discreetly modding an apartment intercom with Matter

https://www.jackhogan.me/blog/box-of-secrets/
16•swq115•1h ago•1 comments

PwC will say goodbye to staff who aren't convinced about AI

https://www.theregister.com/2026/03/19/pwc_ai/
4•gnabgib•1h ago•1 comments

StackOverflow's questions per day have fallen 99%

https://meta.stackoverflow.com/questions/433864/do-you-agree-with-gergely-that-stack-overflow-is-...
13•stevage•1h ago•3 comments

Music manuscripts from Cologne now linked to digitized copies

https://rism.info/library_collections/2026/03/19/Music-manuscripts-from-Cologne.html
1•gnabgib•1h ago•0 comments

Where did 400 MiB go?

https://frn.sh/pmem/
3•thunderbong•1h ago•0 comments

Naomi Klein and Karen Hao: The Empire of AI and the Fight for Our Future [video]

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

The Equal Vote Coalition

https://www.equal.vote/
3•pabs3•1h ago•1 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/