frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Blender 5.2 LTS Released with Many Great Enhancements

https://www.phoronix.com/news/Blender-5.2-Released
1•Bender•34s ago•0 comments

Blender 5.2 LTS

https://www.blender.org/download/releases/5-2-lts/
1•makizar•1m ago•0 comments

Open Sourcing the Atuin AI Server

https://blog.atuin.sh/atuin-ai-oss/
1•johnbehnke•2m ago•0 comments

How I built my site with no frameworks and Claude Code (PHP, vanilla JavaScript)

https://ivanmisic.net/blog/ai-tools/how-i-built-this-site-with-claude-code
2•imisic•5m ago•0 comments

Show HN: Poseberry: create AI influencers that pose with your products

https://poseberry.com
1•itsdevdaniel•7m ago•0 comments

Chinese CXMT to Match Micron's DRAM Manufacturing Capacity This Year

https://www.techpowerup.com/350726/chinese-cxmt-to-match-microns-dram-manufacturing-capacity-this...
1•yogthos•8m ago•0 comments

Why not LLMs?

https://codeberg.org/ethical-foss/open-slopware/src/branch/main/why_not_llms.md
2•lr0•9m ago•0 comments

US fossil fuel power spending to beat China for the first time in decades

https://www.reuters.com/business/energy/iea-forecasts-us-fossil-fuel-power-spending-beat-china-fi...
1•ironyman•10m ago•0 comments

The US may be hitting a tipping point for heat pumps

https://grist.org/energy/the-us-may-be-hitting-a-tipping-point-for-heat-pumps/
1•toomuchtodo•11m ago•1 comments

One Model or Twenty-Six?

https://www.supcpu.com/research/one-model-or-twenty-six/
1•romellogoodman•12m ago•0 comments

Uber's robotaxi lobbying effort puts it on a collision course with Waymo

https://techcrunch.com/2026/07/13/ubers-robotaxi-lobbying-effort-has-put-it-on-a-collision-course...
1•nickvec•12m ago•0 comments

Skydreams

https://killedbyapixel.github.io/TinyCode/1K/Skydreams/
1•memalign•13m ago•0 comments

You matter more than you think

https://www.youmattermorethanyouthink.com/whatmatters/relationships-matter
1•hypertexthero•13m ago•0 comments

LLMs and Shaders

https://amitp.blogspot.com/2026/07/llms-and-shaders.html
2•ibobev•13m ago•0 comments

Two month calendar format for pocket notebooks

https://ratfactor.com/cards/pocket-notebook-calendar
1•ibobev•14m ago•0 comments

Consumer Aesthetics Research Institute – Index of Aesthetics

https://cari.institute/aesthetics
1•o4c•15m ago•0 comments

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
3•ibobev•15m ago•2 comments

We scored 1,018 real-world AI prompts. Robustness averaged 31/100

https://prompt-eval.com/state-of-prompt-quality/2026-q3
1•Franciscoferr•16m ago•0 comments

Finding Eliza – The First Chatbot

https://findingeliza.org
2•aanet•16m ago•0 comments

Llm.c ported to Mojo with Metal kernels, 1.72x faster than PyTorch MPs

https://github.com/ulmentflam/llm.mojo
1•ulmentflam•16m ago•0 comments

Inventing Eliza – How the First Chatbot Shaped AI

https://mitpress.mit.edu/9780262052481/inventing-eliza/
1•aanet•17m ago•1 comments

Kalshi Has Been Temporarily Banned in Nevada

https://www.wired.com/story/nevada-bans-kalshi-prediction-market/
3•1vuio0pswjnm7•18m ago•1 comments

Show HN: I built Habbo but for your website – 3D chat rooms, one script tag

https://floorsjs.com/
1•vynse•18m ago•0 comments

Exit time as a measure of ecological resilience

https://www.science.org/doi/10.1126/science.aay4895?ijkey=noPPVGqZpliKo&keytype=ref&siteid=sci
1•hypertexthero•19m ago•0 comments

Fifty Years After Xerox PARC, the Malleable Computer Exists

https://dave5.com/2026/07/13/right-today-i-want-to-be-able-to-fifty-years-after-xerox-parc-the-ma...
1•davetenhave•19m ago•1 comments

Musk promises purge after Grok Build caught sending repos to the cloud

https://www.theregister.com/ai-and-ml/2026/07/14/musk-promises-purge-after-grok-build-caught-send...
1•Bender•20m ago•3 comments

US Military sent explosive drone boats into combat for the first time

https://arstechnica.com/ai/2026/07/us-military-sent-explosive-drone-boats-into-combat-for-the-fir...
2•Bender•20m ago•0 comments

New York bans data center construction for a year, rattling AI industry

https://arstechnica.com/tech-policy/2026/07/new-york-is-the-first-state-to-impose-a-data-center-m...
1•Bender•20m ago•0 comments

What Is a Cognitive System? Software That Pursues Goals

https://medium.com/@alanscottencinas/what-is-a-cognitive-system-software-that-pursues-goals-not-i...
1•encinas88•21m ago•0 comments

'Unbelievable how accurate': How paid influencers hype Polymarket's odds

https://www.politico.com/news/2026/06/05/polymarket-paid-political-influencers-00932789
1•1vuio0pswjnm7•22m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•1y 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•1y 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•1y ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•1y 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•1y 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.

LargoLasskhyfv•1y ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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

robobro•1y ago
Why did you delete the page?
appetrosyan•1y ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•1y 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 ?