frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Taking more asymmetric bets, and reflections on 2025

https://techne98.com/blog/taking-more-asymmetric-bets/
1•fixedprog•43s ago•0 comments

I scraped startups for sale on Trust MRR to find SaaS opportunities

https://bigideasdb.com/saas-sellers-report
1•OmPatel555•3m ago•1 comments

How Meta tries to win back teens for Instagram

https://www.washingtonpost.com/technology/2025/12/26/meta-instagram-teen-strategy/
1•mmarvin•5m ago•1 comments

Behind the scramble to engineer the Pop-Tarts Bowl trophy

https://www.espn.com/college-football/story/_/id/47407119/pop-tarts-bowl-trophy-engineer-viral
1•1659447091•13m ago•0 comments

What Technologies Are Running Across 5.5M Websites (Nov 2025)

https://versiondb.io
1•_chse_•14m ago•0 comments

2026 resolution: if Mozilla tampers with "uBlock Origin", I'm giving it up

2•fl4tul4•19m ago•0 comments

Show HN: RustX – Help me test/architect this new Rust-based scripting language

https://github.com/GrandpaEJx/RustX
1•ZOROX•22m ago•0 comments

More Dynamic Cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
2•0928374082•29m ago•0 comments

The nightmares were horrific: Dads open up about crippling post-natal depression

https://www.bbc.com/news/articles/cy8v8xe24gzo
1•1659447091•35m ago•0 comments

GenAI experts replace 'Halo: Evolved' staff to impact Xbox game development

https://www.notebookcheck.net/Generative-AI-experts-replace-Halo-Campaign-Evolved-staff-to-impact...
1•MilnerRoute•45m ago•0 comments

Netflix automated its DVD operations

https://maxmautner.com/2019/12/06/netflix-dvd-automation.html
2•mslate•46m ago•1 comments

AI, Tariffs and Box Office – 14 Charts That Explain 2025

https://www.nytimes.com/2025/12/20/business/dealbook/charts-2025-economy.html
1•Mehuleo•50m ago•1 comments

Pay Remote Workers a Premium

https://maxmautner.com/2020/03/31/remote-work.html
2•mslate•51m ago•0 comments

The Compiler Is Your Best Friend, Stop Lying to It

https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it
1•sothatsit•51m ago•0 comments

Learn Your Way – Re-imagining textbooks for every learner

https://learnyourway.withgoogle.com/
1•the-mitr•52m ago•0 comments

Rust GUI Dev on an Ancient Laptop with Zed and Waypipe

https://www.pedaldrivenprogramming.com/2025/12/zed-and-waypipe-for-remote-gui-development/
2•WD-42•59m ago•0 comments

Her daughter was unraveling, and she didn't know why. Then she found the AI chat

https://www.washingtonpost.com/lifestyle/2025/12/23/children-teens-ai-chatbot-companion/
5•impish9208•1h ago•1 comments

Can Apple's AirPod Translation Get You Through Tokyo? We Tested It.

https://www.nytimes.com/2025/12/26/travel/airpods-live-translation-japan.html
3•mitchbob•1h ago•1 comments

The Economy Avoided a Recession in 2025

https://www.nytimes.com/2025/12/22/business/economy-unemployment-wages-affordability.html
1•Mehuleo•1h ago•1 comments

Just Fucking Use Markdown

https://justfuckingusemarkdown.com/
4•Charmunk•1h ago•0 comments

Ask HN: What was the hardest bug you tracked down in 2025?

2•varshith17•1h ago•1 comments

Encore: TypeScript Infrastructure Framework

https://encore.dev/
1•handfuloflight•1h ago•0 comments

HUML – YAML Without Ambiguity

https://huml.io/specifications/v0-1-0/
1•itsfarseen-1•1h ago•0 comments

Move Over, Genghis Khan. Many Other Men Left Genetic Legacies

https://www.smithsonianmag.com/smart-news/move-over-genghis-khan-many-other-men-left-huge-genetic...
1•thunderbong•1h ago•0 comments

Before This Physicist Studied the Stars, He Was One

https://www.nytimes.com/2025/12/27/world/europe/brian-cox-astronomy-profile.html
2•quapster•1h ago•0 comments

Building Team. One 26MB Primitive. Air-Gapped. Deterministic. Runs Anywhere

https://www.getarbiter.dev/
2•getarbiter•1h ago•1 comments

Next Generation File System?

https://github.com/hydra-nexus/hn4
2•phboot•1h ago•0 comments

Finding Where to Compromise with LLM's

https://trueml.org/thoughts/14
1•ramenlover•1h ago•2 comments

Claude Use Cases

https://claude.com/resources/use-cases
2•Anon84•1h ago•0 comments

Ask HN: What Disappointed You in 2025?

1•adrianwaj•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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