frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We Backtest High-Frequency Options Spread Strategies with Volatility Timing

https://medium.com/@DolphinDB_Inc/backtesting-application-medium-and-high-frequency-options-sprea...
1•CrazyTomato•1m ago•0 comments

What it was like working on LLMs and security at Meta (2022-2026)

https://joshuasaxe181906.substack.com/p/what-it-was-like-working-on-llms
1•takira•4m ago•0 comments

AltTab Pro

https://alt-tab.app
1•frizlab•5m ago•1 comments

CAISI states open models lag behind the American frontier, with the gap widening

https://www.nist.gov/news-events/news/2026/05/caisi-evaluation-deepseek-v4-pro
1•nilen•7m ago•0 comments

Ask HN: Is anyone using vibe coding harnesses like OmO or Ralph loops at work?

1•choam•10m ago•0 comments

AI red teaming agents change how LLMs get tested

https://www.helpnetsecurity.com/2026/05/21/ai-red-teaming-agents-research/
1•SVI•10m ago•0 comments

AVX-512 and Validating Usage on AMD EPYC

https://www.amd.com/en/blogs/2026/understanding-avx-512---validating-usage-on-amd-epyc-.html
1•tosh•12m ago•0 comments

Google search AI mode, the biggest update

https://www.usatoday.com/story/tech/2026/05/20/google-search-ai-mode-biggest-update/90180507007/
1•aledevv•14m ago•0 comments

Show HN: Gemini Omni Flash access notes and AI video generator

https://omnigemini.video
1•howardV•14m ago•0 comments

Why Optimistic Merging Works Better

http://hintjens.com/blog:1061
2•jimsojim•20m ago•0 comments

Nvidia Rides Blistering Chip Sales to Another Record Quarter

https://www.wsj.com/tech/ai/nvidia-nvda-1st-quarter-earnings-report-2026-stock-c2bb9c1c
2•andsoitis•20m ago•0 comments

Fate: Building an Astro Blog with a Modern React Data Client

https://jsdev.space/meet-fate-react-astro/
1•javatuts•21m ago•0 comments

Twelve Ways to Be Wrong About AI-Assisted Coding

https://third-bit.com/2026/05/20/twelve-ways-to-be-wrong/
2•calcifer•22m ago•0 comments

Can ChatGPT order a jumbo breakfast roll without messing up?

https://www.rte.ie/brainstorm/2026/0520/1574290-chat-gpt-breakfast-roll-irish-english-dialect-phr...
2•austinallegro•25m ago•0 comments

GraphMyCode –Visualize any codebase as an interactive knowledge graph,in-browser

https://graphmycode.com
1•FValero•25m ago•0 comments

How to Build a Tech Startup When You Barely Know What a Boolean Is

https://bwanaerp.medium.com/how-to-build-a-tech-startup-when-you-barely-know-what-a-boolean-is-vi...
1•instarlaxy•26m ago•0 comments

Unix has been changing, but in places where I don't see it

https://utcc.utoronto.ca/~cks/space/blog/unix/UnixChangingQuietly
1•ingve•27m ago•0 comments

Immigrants taking your jobs? [short video]

https://www.youtube.com/shorts/hrej-oY3xbg
1•stiray•27m ago•1 comments

"Don't Be Evil" Was a Lie from the Start (2024)

https://old.reddit.com/r/degoogle/comments/1g5uepg/dont_be_evil_was_a_lie_from_the_start_google/
3•huijzer•32m ago•2 comments

Don't Build a General Purpose API (4 Years Later)

https://max.engineer/server-informed-ui-p2
1•goranmoomin•34m ago•0 comments

The physicists who convinced Fermilab to send Brazil's emails

https://buttondown.com/blog/brazil-fermilab-email
1•maguay•40m ago•0 comments

Economics Lessons from Home Depot

https://www.economist.com/finance-and-economics/2026/05/20/economics-lessons-from-home-depot
1•andsoitis•40m ago•0 comments

Linki – open-source AI SDR for LinkedIn sequences and cold email

https://github.com/moaljumaa/linki
3•moisacow•41m ago•1 comments

How to scrape any website and get structured data with a single API call

https://spidra.io/blog/scrape-any-website-structured-data-single-api-call
2•joelolawanle•42m ago•0 comments

Are TypeScript back end frameworks ready for AI Agents?

https://encore.dev/blog/ai-benchmark
3•dohguy•44m ago•0 comments

Docket – another beautiful, minimal task manager that lives in macOS menu bar

https://github.com/santoru/docket
1•meliot•45m ago•0 comments

Transforming Digital Pathology with AI

https://www.thelancet.com/journals/landig/article/PIIS2589-7500(26)00049-X/fulltext
1•teleforce•46m ago•1 comments

Bitcoin's Price Relies on Strategy's Record Buying Under Michael Saylor

https://www.bloomberg.com/news/articles/2026-05-20/bitcoin-grows-more-dependent-on-michael-saylor...
1•helsinkiandrew•50m ago•1 comments

SpaceX pitches itself as integrated interplanetary proto-monopolist – IPO filing

https://www.theregister.com/systems/2026/05/21/spacex-pitches-itself-as-integrated-interplanetary...
2•beardyw•56m ago•0 comments

Cannot see all pull requests [still true after a month]

https://github.com/orgs/community/discussions/193463
4•carreau•58m ago•2 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.

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 ?

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/