frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ambient music mixed with the sounds of San Francisco public safety radio

https://somafm.com/player24/station/sf1033
1•indigodaddy•2m ago•0 comments

Bad programmers are about to become exposed

https://sundaylettersfromsam.substack.com/p/bad-programmers-are-about-to-become
1•soham•2m ago•1 comments

Show HN: AWS VPC/Subnet Calculator and Terraform Generator (Itcmds.ai)

https://itcmds.ai/AWS_IP_Calculator
1•munyunting•4m ago•0 comments

Ancient dirty dishes reveal decades of questionable findings

https://news.cornell.edu/stories/2025/12/ancient-dirty-dishes-reveal-decades-questionable-findings
1•geox•12m ago•0 comments

Hong Kong holds Legislative Council election

https://qazinform.com/news/hong-kong-holds-legislative-council-election-7cdc44
1•Bolat14•14m ago•0 comments

Northern California's largest non-Tesla fast charging hub: now online in Oakland

https://electrek.co/2025/12/04/northern-california-largest-non-tesla-fast-charging-hub-is-now-onl...
1•MilnerRoute•14m ago•0 comments

Years after anime imagined it, Japan has realized exosuits

https://twitter.com/CyberRobooo/status/1997656741363036595
2•keepamovin•21m ago•0 comments

Constructivist AI: A New Approach to AI

https://github.com/DanexCodr/Constructivist-AI
1•DanexCodr•22m ago•0 comments

Making Software: Blending modes

https://twitter.com/DanHollick/status/1583080119068807168
1•vismit2000•28m ago•1 comments

Postgres CDC in ClickHouse, A year in review

https://clickhouse.com/blog/postgres-cdc-year-in-review-2025
1•saisrirampur•32m ago•0 comments

Stanford PhD dropout hired Meta's brightest minds to join AI math startup

https://www.businessinsider.com/axiom-math-stanford-dropout-meta-ai-researchers-startup-2025-12
2•teleforce•35m ago•0 comments

Cold Case Inquiries Hampered After Ancestry.com Revisits Terms of Use

https://www.nytimes.com/2025/12/07/nyregion/ancestry-dna-police.html
2•WarOnPrivacy•36m ago•3 comments

Martin Hairer: Do Mathematicians Need Computers? [video]

https://www.youtube.com/watch?v=fbVqc1tPLos
1•vismit2000•37m ago•0 comments

Show HN: Matchmyvc.com – Is this going to be useful?

https://matchmyvc.com
1•tapan_garg•57m ago•0 comments

Color Recreation from First Principles

https://ycao.net/posts/recreating-color-simplified/
1•xiaoyu2006•1h ago•1 comments

The surprising countries pulling off fast clean energy transitions

https://www.cnn.com/2025/11/07/climate/solar-wind-renewables-transition-global-pakistan-hungary-c...
3•toomuchtodo•1h ago•1 comments

Earth needs more energy. Atlanta's Super Soaker creator may have a solution

https://www.ajc.com/business/2025/11/earth-needs-more-energy-atlantas-super-soaker-creator-may-ha...
2•TMWNN•1h ago•0 comments

I made a prompt framework that makes LLMs stop hedging and speak straight

2•DrRockzos•1h ago•1 comments

The Web Runs on Tolerance

https://shkspr.mobi/blog/2025/12/the-web-runs-on-tolerance/
4•benwerd•1h ago•1 comments

Show HN: Peephole

https://peephole.greg.technology/
3•gregsadetsky•1h ago•1 comments

AI Interview Coder Assistant

https://interviewcoder.top
2•ainterviewcoder•1h ago•2 comments

ChatGPT claims to have solved Navier-Stokes problem

https://github.com/vporton/navier-stokes
2•porton•1h ago•2 comments

Noninvasive imaging could replace finger pricks for measuring blood glucose

https://news.mit.edu/2025/noninvasive-imaging-could-replace-finger-pricks-diabetes-1203
15•ivewonyoung•1h ago•2 comments

I'm a Professor. A.I. Has Changed My Classroom, but Not for the Worse

https://www.nytimes.com/2025/11/25/magazine/ai-higher-education-students-teachers.html
1•bookofjoe•1h ago•2 comments

Open Source Doesn't Fail Because of Code

https://blog.ulisesgascon.com/open-source-doesnt-fail-because-of-code
1•gpi•1h ago•0 comments

India reviews always-on A-GPS tracking plan for phones

https://news.kagi.com:443/tech/2025120618/india-reviews-always-on-a-gps-tracking-plan-for-phones?...
2•hereme888•1h ago•2 comments

Use AI without skill atrophy

https://www.augmentedswe.com/p/use-ai-without-skill-atrophy
1•wordsaboutcode•1h ago•1 comments

New Augmented Reality Tech Can Turn Any Surface into Keyboard

https://news.utdallas.edu/science-technology/augmented-reality-tech-keyboard-2025/
2•ashishgupta2209•1h ago•0 comments

Why We're Treating Dogs Like People and People Like Dogs

https://thewalrus.ca/why-were-treating-dogs-like-people-and-people-like-dogs/
4•pseudolus•1h ago•1 comments

Socialist ends by market means: A history

https://lucasvance.github.io/2100/history/
33•sirponm•1h ago•7 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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