frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

FireAI – AI Chat, Image Generation and Poster Design

https://www.bedpage.com/
1•icefunc•7m ago•1 comments

OpenAI faces 7 lawsuits claiming ChatGPT drove people to suicide, delusions

https://thehill.com/homenews/ap/ap-business/ap-openai-faces-7-lawsuits-claiming-chatgpt-drove-peo...
1•01-_-•7m ago•0 comments

Show HN: Lakekeeper – a fast, lightweight Iceberg REST catalog in Rust

https://github.com/lakekeeper/lakekeeper
1•WavyPeng•13m ago•0 comments

People at Joint Base Andrews fall ill after package delivered with white powder

https://www.cnn.com/2025/11/06/politics/joint-base-andrews-military-base-suspicious-package
2•jb1991•13m ago•0 comments

Shutting down our search proxy Leta

https://mullvad.net/en/blog/shutting-down-our-search-proxy-leta
1•HotGarbage•14m ago•0 comments

Blackstone Is Offloading a Flopped $1.8B Investment in Senior Housing

https://www.wsj.com/real-estate/blackstone-is-offloading-a-flopped-1-8-billion-investment-in-seni...
1•petethomas•17m ago•0 comments

How to avoid seasonal depression, according to the expert who discovered it

https://www.washingtonpost.com/wellness/2025/11/06/seasonal-affective-disorder-depression/
1•gurjeet•17m ago•0 comments

Archer Acquires Hawthorne Airport

https://www.investors.archer.com/news/news-details/2025/Archer-To-Acquire-Los-Angeles-Airport-As-...
1•bharbr•19m ago•0 comments

Japan deploys its military to stop bears

https://www.npr.org/2025/11/06/nx-s1-5600582/japan-bear-attacks
1•halamadrid•26m ago•0 comments

What happens when you mix live faculty with generative AI?

http://www.sampaddock.com/blog/2025/10/27/1-week-five-faculty-130-students-ai-tutor-paski-nps-78-...
1•ryanjshaw•28m ago•0 comments

China launches 18 day Arctic shipping route

https://www.highnorthnews.com/en/china-launches-18-day-arctic-express-containership-route-europe-...
2•bharbr•29m ago•0 comments

End of The Line: how Saudi Arabia's Neom dream unravelled

https://ig.ft.com/saudi-neom-line/
2•zekrioca•38m ago•0 comments

A 400-Year-Old Ring That Unfolds to Track the Movements of the Heavens

https://www.openculture.com/2025/11/a-400-year-old-ring-that-unfolds-to-track-movements-of-the-he...
1•MaysonL•41m ago•0 comments

Primitive Technology: Wood ash and crushed terracotta mortar [video]

https://www.youtube.com/watch?v=UqJHfTkvVY4
2•thunderbong•42m ago•0 comments

EU Explained in 10 Minutes

https://www.lesswrong.com/posts/88CaT5RPZLqrCmFLL/eu-explained-in-10-minutes
2•surprisetalk•43m ago•0 comments

Allow me to introduce the two-sentence journal

https://alexanderbjoy.com/two-sentence-journal/
1•surprisetalk•43m ago•0 comments

Standard Model – Part 2: The Big Ideas [video]

https://www.youtube.com/watch?v=tGCUjsF7Dgg
1•surprisetalk•43m ago•0 comments

JermCAD: Browser-Based CAD Software

https://github.com/jeremyaboyd/jerm-cad
2•azhenley•48m ago•0 comments

Array Programming the Mandelbrot Set

https://jcmorrow.com/mandelbrot/
2•jcmorrow•48m ago•0 comments

Bridging the gap between fast-evolving code libraries and AI models

1•siddythings•50m ago•0 comments

Show HN: I built a browser extension to help turn ideas into well-crafted tweets

https://tweetbl.ink
1•thanhdongnguyen•50m ago•0 comments

Possible effects of cheap fentanyl on drug markets, use and harm

https://www.tandfonline.com/doi/full/10.1080/17440572.2025.2561658
2•PaulHoule•51m ago•0 comments

Building an Accessible Before/After Slider in React

https://jsdev.space/react-before-after-slider/
1•javatuts•52m ago•0 comments

What Leaders Carry

https://nikrad.io/blog/what-leaders-carry/
2•nikradm•54m ago•0 comments

China's Shenzhou-20 return mission delayed due to space debris impact

https://www.nbcnews.com/world/asia/chinas-shenzhou-20-return-mission-delayed-due-space-debris-imp...
1•gmays•1h ago•0 comments

Molten-Salt Reactor

https://en.wikipedia.org/wiki/Molten-Salt_Reactor_Experiment
2•felineflock•1h ago•0 comments

Show HN: FlashVSR – High-Speed 4K Video Super-Resolution

https://www.aiupscaler.net/flashvsr
2•lu794377•1h ago•0 comments

Apple TV's colorful new branding was built with glass and captured in-camera

https://twitter.com/avstorm/status/1986419403253035080
5•johnhamlin•1h ago•2 comments

A Tiny 29-Pound Electric Motor Just Beat Everyone in Power Density

https://www.popularmechanics.com/cars/hybrid-electric/a65490281/tiny-electric-motor/
1•nobody9999•1h ago•0 comments

Show HN: Practice your captcha skills with Google's weirdest Street Views

https://street-captcha.netlify.app/
1•SantiDev•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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