frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•11mo ago

Comments

JonChesterfield•11mo ago
Exhaustive compile time checking of dispatch statements is a wonderful thing, sorely missing from the languages that decided "sum types" are a bit weird and niche.
fredrikholm•11mo ago
They make it near impossible to extend from the outside.

I can pass a Reader interface to your function, but I cannot (easily) add a

> | UnusualProtocol(Socket)

as a third party consumer.

Other than that, sum types are the better abstraction. With exhaustive first class pattern matching (eg. with proper matching on destructuring), nothing comes close in terms of ergonomics.

hermanradtke•11mo ago
That is a feature. Compose instead of extending.
Yoric•11mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•11mo ago
Elm <-> Rust

Best buds on this front

gitroom•11mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

I ported Mac OS X to the Nintendo Wii

https://bryankeller.github.io/2026/04/08/porting-mac-os-x-nintendo-wii.html
1142•blkhp19•8h ago•207 comments

USB for Software Developers: An introduction to writing userspace USB drivers

https://werwolv.net/posts/usb_for_sw_devs/
139•WerWolv•4h ago•22 comments

Git commands I run before reading any code

https://piechowski.io/post/git-commands-before-reading-code/
1721•grepsedawk•14h ago•378 comments

Understanding the Kalman filter with a simple radar example

https://kalmanfilter.net
186•alex_be•6h ago•28 comments

Muse Spark: Scaling towards personal superintelligence

https://ai.meta.com/blog/introducing-muse-spark-msl/?_fb_noscript=1
241•chabons•7h ago•274 comments

They're made out of meat (1991)

http://www.terrybisson.com/theyre-made-out-of-meat-2/
374•surprisetalk•12h ago•105 comments

Expanding Swift's IDE Support

https://swift.org/blog/expanding-swift-ide-support/
65•frizlab•4h ago•33 comments

Pgit: I Imported the Linux Kernel into PostgreSQL

https://oseifert.ch/blog/linux-kernel-pgit
58•ImGajeed76•3d ago•7 comments

John Deere to pay $99M in right-to-repair settlement

https://www.thedrive.com/news/john-deere-to-pay-99-million-in-monumental-right-to-repair-settlement
123•CharlesW•3h ago•30 comments

ML promises to be profoundly weird

https://aphyr.com/posts/411-the-future-of-everything-is-lies-i-guess
338•pabs3•10h ago•383 comments

Škoda DuoBell: A bicycle bell that penetrates noise-cancelling headphones

https://www.skoda-storyboard.com/en/skoda-world/skoda-duobell-a-bicycle-bell-that-outsmarts-even-...
497•ra•15h ago•525 comments

Show HN: Is Hormuz open yet?

https://www.ishormuzopenyet.com/
189•anonfunction•2h ago•62 comments

MegaTrain: Full Precision Training of 100B+ Parameter LLMs on a Single GPU

https://arxiv.org/abs/2604.05091
248•chrsw•11h ago•47 comments

Understanding Traceroute

https://tech.stonecharioteer.com/posts/2026/traceroute/
74•stonecharioteer•2d ago•10 comments

What does ⍋⍋ even mean? (2023)

https://blog.wilsonb.com/posts/2023-08-04-what-does-grade-grade-even-mean.html
32•tosh•3d ago•12 comments

Who is Satoshi Nakamoto? My quest to unmask Bitcoin's creator

https://www.nytimes.com/2026/04/08/business/bitcoin-satoshi-nakamoto-identity-adam-back.html
262•jfirebaugh•19h ago•182 comments

Exposing and Understanding Scrolling Transfer Functions (2012) [pdf]

https://direction.bordeaux.inria.fr/~roussel/publications/2012-UIST-scrolling-tf.pdf
6•t23414321•2d ago•0 comments

Show HN: Orange Juice – Small UX improvements that make HN easier to read

http://oj-hn.com/
75•latchkey•5h ago•103 comments

I've been waiting over a month for Anthropic to respond to my billing issue

https://nickvecchioni.github.io/thoughts/2026/04/08/anthropic-support-doesnt-exist/
244•nickvec•6h ago•121 comments

Show HN: Tired of logic in useEffect, I built a class-based React state manager

https://thales.me/posts/why-i-built-snapstate/
8•thalesfp•1h ago•6 comments

Ask HN: Any interesting niche hobbies?

227•e-topy•3d ago•357 comments

We moved Railway's frontend off Next.js. Builds went from 10+ mins to under 2

https://blog.railway.com/p/moving-railways-frontend-off-nextjs
171•bundie•17h ago•156 comments

Microsoft terminates VeraCrypt account, halting Windows updates

https://www.404media.co/microsoft-abruptly-terminates-veracrypt-account-halting-windows-updates/
441•donohoe•9h ago•178 comments

Show HN: Skrun – Deploy any agent skill as an API

https://github.com/skrun-dev/skrun
39•frizull•11h ago•9 comments

US cities are axing Flock Safety surveillance technology

https://www.cnet.com/home/security/when-flock-comes-to-town-why-cities-are-axing-the-controversia...
607•giuliomagnifico•11h ago•354 comments

Teardown of unreleased LG Rollable shows why rollable phones aren't a thing

https://arstechnica.com/gadgets/2026/04/teardown-of-unreleased-lg-rollable-shows-why-rollable-pho...
74•DamnInteresting•1d ago•34 comments

Audio Reactive LED Strips Are Diabolically Hard

https://scottlawsonbc.com/post/audio-led
190•surprisetalk•1d ago•55 comments

Veracrypt project update

https://sourceforge.net/p/veracrypt/discussion/general/thread/9620d7a4b3/
1114•super256•16h ago•418 comments

Union types in C# 15

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
162•0x00C0FFEE•3d ago•148 comments

Show HN: Unicode Steganography

https://steganography.patrickvuscan.com
45•PatrickVuscan•1d ago•11 comments