frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I made a free tool to check iOS version market share

https://ioscompatibility.com
1•_jogicodes_•49s ago•0 comments

Who Invented Vector Clocks?

https://decomposition.al/blog/2023/04/08/who-invented-vector-clocks/
1•fanf2•3m ago•0 comments

Olson's portrait of SOE bravery in WW2 undone by incompetence at the top (2017)

https://www.afr.com/life-and-luxury/arts-and-culture/olsons-portrait-of-soe-bravery-in-ww2-undone...
1•robtherobber•5m ago•0 comments

Netflix Offers Mostly Cash for Warner Brothers

https://www.bloomberg.com/news/articles/2025-12-01/warner-bros-gets-mostly-cash-netflix-offer-in-...
1•mgh2•6m ago•0 comments

Goatmire Elixir 2025 – Elixir Programming Language Forum

https://elixirforum.com/t/goatmire-elixir-2025-videos/73509
1•amalinovic•9m ago•0 comments

Scientists Built a Working Computer Memory Out of Shiitake Mushrooms

https://www.sciencealert.com/scientists-built-a-working-computer-memory-out-of-shiitake-mushrooms
1•sundarurfriend•10m ago•0 comments

Double Threat: How AI Code Review Eradicates SQL Injection and Hardcoded Secrets

https://codeprot.com/articles/code-security.html
1•allenz_cheung•11m ago•0 comments

Visualize 4B Years: The Trillions of Generations: LUCA to Modern Human

https://www.g9n.com/tools/learning/evolution-visualisation
1•appsoftware•16m ago•1 comments

North American Computational Linguistics Open Competition

https://naclo.org/practice.php
1•Antibabelic•18m ago•0 comments

AI Headshot Generators Are Killing the $500 Photoshoot – Here's Why That Matters

https://medium.com/@naveensky/ai-headshot-generators-are-killing-the-500-photoshoot-heres-why-tha...
1•naveensky•20m ago•0 comments

Is Nano Banana Pro Overhyped?

https://twitter.com/GiaconeStefano/status/1995785300694471077
1•johntiror•22m ago•0 comments

Examining the security posture of an Anti-Crime Ecosystem [pdf]

https://github.com/GainSec/anti-crime-ecosystem-research/blob/main/whitepaper/GainSec_Whitepaper_...
1•beeburrt•25m ago•0 comments

Age of the 'scam state': how an illicit industry took root in south-East Asia

https://www.theguardian.com/technology/2025/dec/02/scam-state-multi-billion-dollar-industry-south...
1•n1b0m•25m ago•0 comments

Show HN: I want food – Simple swipe based restaurant discovery app

https://iwant.food/
2•b44rd•25m ago•0 comments

Invisible XML

https://www.xml.com/articles/2025/12/02/invisible-xml-update/
1•protomolecool•26m ago•1 comments

Rockstar co-founder compares AI to 'mad cow disease'

https://www.pcgamer.com/software/ai/rockstar-co-founder-compares-ai-to-mad-cow-disease-and-says-t...
2•nreece•26m ago•0 comments

Show HN: I was reintroduced to computers: Raspberry Pi

https://airoboticist.blog/2025/12/01/i-was-reintroduced-to-computers-raspberry-pi/
3•observer2022•31m ago•0 comments

After years building software, AI forced me to rethink a few assumptions

https://www.indiehackers.com/post/after-years-building-software-ai-forced-me-to-rethink-a-few-ass...
1•lyn03•31m ago•0 comments

Nvidia announces new open AI models and tools for autonomous driving research

https://techcrunch.com/2025/12/01/nvidia-announces-new-open-ai-models-and-tools-for-autonomous-dr...
1•sundarurfriend•33m ago•1 comments

Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025

https://chrisebert.net/comparing-aws-lambda-arm64-vs-x86_64-performance-across-multiple-runtimes-...
2•hasanhaja•33m ago•0 comments

Samsung Launches Galaxy Z TriFold Smartphone with 10-Inch Display

https://www.macrumors.com/2025/12/01/samsung-galaxy-z-trifold-debut/
2•tosh•35m ago•0 comments

DataGuard responds as German parliament passes NIS2

https://www.dataguard.com/press/nis2-in-germany
1•doener•36m ago•0 comments

London Mayor urged to ban ads promoting cars and flights

https://walthamforestecho.co.uk/2025/11/25/mayor-urged-to-ban-ads-promoting-cars-and-flights/
1•robtherobber•36m ago•0 comments

Show HN: Nakso – An Excalidraw Alternative for Desktop

https://nakso.app
2•niklauslee•43m ago•2 comments

Would you rent B300 (Blackwell Ultra) GPUs in Mongolia at –$5/HR?

https://old.reddit.com/r/LocalLLaMA/comments/1pbzw8f/would_you_rent_b300_blackwell_ultra_gpus_in/
1•guerrilla•43m ago•1 comments

Show HN: SQLite-repair-go – Recover corrupt SQLite DBs when standard tools fail

https://github.com/Tougee/sqlite-repair-go
1•touge•44m ago•0 comments

$0 1-Year SSL Certificates (Certum Root)

https://www.servbay.com/store
1•Saltyfishh•45m ago•2 comments

Stanford AI Club: Jeff Dean on Important AI Trends [video]

https://www.youtube.com/watch?v=AnTw_t21ayE
1•intelkishan•45m ago•0 comments

Duplication Isn't Always an Anti-Pattern

https://medium.com/@HobokenDays/rethinking-duplication-c1f85f1c0102
2•birdculture•47m ago•0 comments

Decompiling Sanchar Saathi: Code Review of India's New Mandatory App

https://onlinetinker.com/blog/sanchar-saathi-security-analysis
3•shashikumar•54m ago•0 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/