frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

PowerShell

https://www.duckduckgo.com
1•ptrvan•4m ago•1 comments

Memory Allocation in Go

https://nghiant3223.github.io/2025/06/03/memory_allocation_in_go.html
1•begoon•8m ago•0 comments

Show HN: FLM- Audio, our 7B spoken dialog chatbot with native full-duplexity

1•BAAIBeijing•9m ago•0 comments

Figma Rendering: Powered by WebGPU Blog

https://www.figma.com/blog/figma-rendering-powered-by-webgpu/
1•tosh•11m ago•0 comments

Ask HN: What's solution to periodic Deep Research using LLM?

1•j1000•12m ago•0 comments

Ruby Central's Attack on RubyGems [pdf]

https://pup-e.com/goodbye-rubygems.pdf
3•jolux•14m ago•1 comments

Nvidia just spent over $900M on Enfabrica CEO, technology licenses

https://www.cnbc.com/2025/09/18/nvidia-spent-over-900-million-on-enfabrica-ceo-ai-startup-technol...
1•michaelnoguera•18m ago•1 comments

The Economy Is Turning into a Black Box

https://www.theatlantic.com/economy/archive/2025/09/economic-data-crisis-bls/684238/
1•FinnLobsien•18m ago•0 comments

MI6 launches dark web portal to attract spies in Russia

https://www.bbc.co.uk/news/articles/c0r0vk1j4j8o
1•gbxyz•19m ago•0 comments

Introduction to Arm Memory Tagging Extensions

https://thore.io/posts/2025/09/introduction-to-arm-memory-tagging-extensions/
1•lkapp•20m ago•0 comments

Firefox Release 143

https://www.firefox.com/en-US/firefox/143.0/releasenotes/
1•ksec•22m ago•1 comments

An Honest Pre-Flight Safety Video

https://www.youtube.com/watch?v=SZB4_-tiRt0
1•lifeisstillgood•31m ago•0 comments

Show HN: Hydrate – Drink Water Reminder [Figma Widget]

https://www.figma.com/community/widget/1549449040230142547
1•akhilius_•32m ago•1 comments

Intel says blockbuster Nvidia deal doesn't change its own roadmap

https://www.pcworld.com/article/2913872/intel-nvidia-deal-doesnt-change-its-roadmap.html
1•bbarnett•32m ago•1 comments

Show HN: TermChat – Terminal chat (rooms/DMs) via SSH

1•unkn0wn_root•34m ago•0 comments

JEP 500: Prepare to Make Final Mean Final

https://openjdk.org/jeps/500
1•chillax•45m ago•0 comments

AngelScript

https://www.angelcode.com/angelscript/
2•indigoabstract•51m ago•0 comments

The Rise of 'Conspiracy Physics'

https://www.wsj.com/science/physics/the-rise-of-conspiracy-physics-dd79fe36
1•Michelangelo11•56m ago•0 comments

Looking for partners for a new open network and hosting project

https://tux.re/forum/index.php?topic=6.0
4•sys3000•56m ago•1 comments

ChatGPT seemed to think on the fly when put through an Ancient Greek math puzzle

https://www.cam.ac.uk/research/news/chatgpt-seemed-to-think-on-the-fly-when-put-through-an-ancien...
1•timthorn•58m ago•0 comments

Testing a new rate-limiting service – feedback welcome

2•0megion•59m ago•2 comments

Nvidia to invest $5B in Intel after Trump administration's 10% stake

https://www.theguardian.com/business/2025/sep/18/nvidia-intel-ai-partner
1•beardyw•59m ago•0 comments

Theodore Roszak – Cult of Information [video]

https://www.youtube.com/watch?v=Y4mzEvqsiuY
1•apples_oranges•59m ago•0 comments

My family's creepy, unsettling week with an AI toy

https://www.theguardian.com/technology/2025/sep/16/i-love-you-too-my-familys-creepy-unsettling-we...
1•hansmayer•1h ago•0 comments

Show HN: Skip docs, give your devs a working app with your API/SDK in 60s

https://groq.sampleapp.ai
2•junlianglee•1h ago•1 comments

"Freedom of Maneuver" on Geo: Joint Mission by Anduril and Impulse Space

https://universemagazine.com/en/freedom-of-maneuver-on-geo-joint-mission-by-anduril-and-impulse-s...
1•bryanrasmussen•1h ago•0 comments

I lived underwater for 100 days

https://www.theguardian.com/lifeandstyle/2025/sep/19/experience-i-lived-underwater-for-100-days
2•nickcotter•1h ago•0 comments

Vibe Coding: easy to say, difficult to survive

https://gioorgi.com/2025/vibe-coding1/
1•daitangio•1h ago•1 comments

I made a ESP32 based phone-like personal security device

https://github.com/BlathanAevon/ESP32_TOTP
3•blathan•1h ago•1 comments

Egyptian Hieroglyphic Alphabet

https://discoveringegypt.com/egyptian-hieroglyphic-writing/egyptian-hieroglyphic-alphabet/
2•teleforce•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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