frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Let's write a toy UI library

https://nakst.gitlab.io/tutorial/ui-part-1.html
72•birdculture•6d ago

Comments

self_awareness•58m ago
It looks like WinAPI Window Management via CreateWindow / SetWindowText / SendMessage.

https://gist.github.com/a3f/22d0d2688b56e79865f8

imvetri•54m ago
is it an application builder?
formerly_proven•43m ago
If you don't keep it as a toy, it can get out of hand quickly. For example, here's the partial implementation of QWidget, almost 500k of code: https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qwi...
cosmic_cheese•38m ago
I haven't yet written a UI library so it's not something I can state confidently, but based on adjacent work I've done, I imagine that a significant deal of complexity can be avoided by somewhat paradoxically embracing complexity early on and designing for all the eventualities.

UI frameworks are one place where outside of toy projects, YAGNI doesn't really apply as much, and so things like focus systems and accessibility affordances should be factored in from day one. If you go in with the attitude of writing something "elegant", you're going to end up bolting these things on after the fact and writing contorted code to make it all fit together. It's like finding out that you need a skyscraper after building foundations and framing for a cottage.

Mikhail_Edoshin•13m ago
Seems to be exactly what I was looking for. Somehow it's not that easy to find a good explanation of these techniques. I tried old graphic programming books, but their sections on GUI are tiny.

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
69•auraham•1h ago•12 comments

Ultrasound Cancer Treatment: Sound Waves Fight Tumors

https://spectrum.ieee.org/ultrasound-cancer-treatment
39•rbanffy•53m ago•7 comments

GLM-4.7: Advancing the Coding Capability

https://z.ai/blog/glm-4.7
56•pretext•1h ago•7 comments

The Garbage Collection Handbook

https://gchandbook.org/index.html
34•andsoitis•1h ago•1 comments

Claude Code gets native LSP support

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
165•JamesSwift•4h ago•92 comments

Scaling LLMs to Larger Codebases

https://blog.kierangill.xyz/oversight-and-guidance
158•kierangill•4h ago•70 comments

US blocks all offshore wind construction, says reason is classified

https://arstechnica.com/science/2025/12/us-government-finds-new-excuse-to-stop-construction-of-of...
114•rbanffy•59m ago•66 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-μs-utc-after-last-weeks-power-cut
62•jtokoph•3h ago•31 comments

Let's write a toy UI library

https://nakst.gitlab.io/tutorial/ui-part-1.html
73•birdculture•6d ago•5 comments

Vince Zampella, Developer of Call of Duty and Battlefield, Dead at 55

https://comicbook.com/gaming/news/vince-zampella-developer-of-call-of-duty-and-battlefield-dead-a...
5•superpupervlad•18m ago•0 comments

Your Supabase Is Public

https://skilldeliver.com/your-supabase-is-public
68•skilldeliver•4h ago•26 comments

The Rise of SQL:the second programming language everyone needs to know

https://spectrum.ieee.org/the-rise-of-sql
33•b-man•4d ago•15 comments

Things I learnt about passkeys when building passkeybot

https://enzom.dev/b/passkeys/
12•emadda•1h ago•3 comments

Hybrid Aerial Underwater Drone – Bachelor Project [video]

https://www.youtube.com/watch?v=g7vmPFZrYAk
7•nhma•11h ago•0 comments

Jimmy Lai Is a Martyr for Freedom

https://reason.com/2025/12/19/jimmy-lai-is-a-martyr-for-freedom/
205•mooreds•3h ago•95 comments

Henge Finder

https://hengefinder.rcdis.co/#learn
27•recursecenter•2h ago•6 comments

The biggest CRT ever made: Sony's PVM-4300

https://dfarq.homeip.net/the-biggest-crt-ever-made-sonys-pvm-4300/
191•giuliomagnifico•7h ago•123 comments

Microsoft will finally kill obsolete cipher that has wreaked decades of havoc

https://arstechnica.com/security/2025/12/microsoft-will-finally-kill-obsolete-cipher-that-has-wre...
117•signa11•6d ago•70 comments

The ancient monuments saluting the winter solstice

https://www.bbc.com/culture/article/20251219-the-ancient-monuments-saluting-the-winter-solstice
150•1659447091•10h ago•84 comments

Debian's Git Transition

https://diziet.dreamwidth.org/20436.html
148•all-along•12h ago•43 comments

Programming languages used for music

https://timthompson.com/plum/cgi/showlist.cgi?sort=name&concise=yes
202•ofalkaed•2d ago•79 comments

Show HN: Netrinos – A keep it simple Mesh VPN for small teams

https://netrinos.com
72•pcarroll•2d ago•38 comments

There's no such thing as a fake feather [video]

https://www.youtube.com/watch?v=N5yV1Q9O6r4
52•surprisetalk•4d ago•17 comments

Show HN: An easy way of broadcasting radio around you (looking for feedback)

https://github.com/dpipstudio/botwave
19•douxx•4d ago•2 comments

A year of vibes

https://lucumr.pocoo.org/2025/12/22/a-year-of-vibes/
156•lumpa•10h ago•86 comments

Deliberate Internet Shutdowns

https://www.schneier.com/blog/archives/2025/12/deliberate-internet-shutdowns.html
288•WaitWaitWha•4d ago•146 comments

How I protect my Forgejo instance from AI web crawlers

https://her.esy.fun/posts/0031-how-i-protect-my-forgejo-instance-from-ai-web-crawlers/index.html
133•todsacerdoti•1d ago•73 comments

If you don't design your career, someone else will (2014)

https://gregmckeown.com/if-you-dont-design-your-career-someone-else-will/
345•TheAlchemist•10h ago•196 comments

Decompiling the Synergy: Human–LLM Teaming in Reverse Engineering [pdf]

https://www.zionbasque.com/files/papers/dec-synergy-study.pdf
38•matt_d•5d ago•1 comments

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

https://disneyparksblog.com/disney-experiences/robotic-olaf-marks-new-era-of-disney-innovation/
268•ChrisArchitect•22h ago•116 comments