frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Red Queen Bio

https://www.redqueen.bio
1•measurablefunc•2m ago•0 comments

C++ The worst programming language of all time [video]

https://www.youtube.com/watch?v=7fGB-hjc2Gc
2•tartoran•4m ago•0 comments

Toy Story: the first digitally-animated feature film

https://www.bbc.co.uk/sounds/play/w3ct7472
1•austinallegro•5m ago•0 comments

Bamboo scaffolding helped build Hong Kong's skyline, but deadly fire may end it

https://apnews.com/article/hong-fire-bamboo-disaster-scaffolding-b4f3992fd78c068dbebbfbfbcc499495
3•jameslk•8m ago•0 comments

The Criterion Collection

https://en.wikipedia.org/wiki/The_Criterion_Collection
2•tosh•9m ago•0 comments

Ask HN: Is the "Rust tax" (dev time) cheaper than the "RAM tax"?

2•m00dy•11m ago•1 comments

To Get a Man's Attention, Meow Harder

https://www.nytimes.com/2025/11/27/science/to-get-a-mans-attention-meow-harder.html
2•TMWNN•12m ago•0 comments

'A step-change': tech firms battle for undersea dominance with submarine drones

https://www.theguardian.com/business/2025/nov/28/tech-submarine-drones-startups-big-defence-compa...
3•beardyw•13m ago•0 comments

GrapheneOS Moving Out of France

https://xcancel.com/GrapheneOS/status/1993035936800584103
4•LaSombra•14m ago•1 comments

A personality-filter for LLM chatbots (holiday project)

https://zonoid.xyz/
1•sourav_sen_duke•18m ago•1 comments

Need feedback from people who think about incentives in their sectors

https://www.capitalfolly.com
1•d_e_solomon•21m ago•1 comments

Ask HN: What did you replace bitnami with?

1•kachapopopow•21m ago•0 comments

Heyoner Mario Logo: AI Builds Retro Gaming Brand Identity for Model Figure Shops

https://www.ailogocreator.io/blog/heyoner-mario-logo-ai-builds-retro-gaming-brand-identity-for-mo...
1•RoyKim24•27m ago•1 comments

93% Faster Next.js in (Your) Kubernetes

https://blog.platformatic.dev/93-faster-nextjs-in-your-kubernetes
1•djhu9•34m ago•0 comments

Project Cybersyn

https://en.wikipedia.org/wiki/Project_Cybersyn
3•zynovex•36m ago•0 comments

AI Tools for Streamlining Customer Communication. Halper

https://halper.ai/blog/ai-tools-for-streamlining-customer-communication
1•EduardGev•36m ago•1 comments

New insight into why LLMs are not great at cracking passwords

https://techxplore.com/news/2025-11-insight-llms-great-passwords.html
2•maxloh•38m ago•0 comments

100 Days To Offload blogging challenge

https://100daystooffload.com/
1•Curiositry•39m ago•0 comments

Lenovo ThinkBook Plus Gen 2 – Laptop with an E-Ink Lid (2021)

https://youtu.be/4-WC2Ilhrxs?si=KLY5Yqb64fRYyEh0
1•Tarmo362•39m ago•1 comments

Tidy flying motorcycle with electric microjets opens pre-orders

https://newatlas.com/aircraft/leo-flight-solo-evtol/
1•harambae•40m ago•0 comments

Air pollution may reduce health benefits of excercise

https://medicalxpress.com/news/2025-11-air-pollution-health-benefits.html
1•fuzzythinker•48m ago•0 comments

Show HN: Swatchify – CLI to get a color palette from an image

https://james-see.github.io/swatchify/
1•jamescampbell•49m ago•0 comments

One-fifth of the jobs at your company could disappear as AI automation takes off

https://www.theregister.com/2025/11/27/ai_employee_overcapacity_report/
1•pjmlp•51m ago•0 comments

slbounce: DRTM Secure-Launch implementation for Qualcomm devices

https://github.com/TravMurav/slbounce
1•transpute•52m ago•0 comments

How a Data Model Dependency Nearly Derailed My Project

https://medium.com/@HobokenDays/the-fate-of-shared-data-model-cf8a3dc88ac9
1•steven-123•55m ago•0 comments

Show HN: Codex Swarm – Local ChatGPT swarm for coding with Git-tracked agents

https://github.com/basilisk-labs/codex-swarm
1•densmirnov•59m ago•0 comments

Show HN: I made a shell with AI suggestions – Caroushell

https://github.com/ubershmekel/caroushell
2•ubershmekel•1h ago•0 comments

Brendan Gregg on being copied as an 'AI Brendan'

https://www.brendangregg.com/blog//2025-11-28/ai-virtual-brendans.html
3•anitil•1h ago•1 comments

Show HN: Ray-BANNED, Glasses to detect smart-glasses that have cameras

https://github.com/NullPxl/banrays
2•nullpxl•1h ago•0 comments

Git-reabsorb: Reorganize Git commits with new structure using an LLM

https://github.com/AllyMarthaJ/git-reabsorb
5•benno128•1h ago•2 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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