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?

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
550•pluc•7h ago•171 comments

Open Source Security at Astral

https://astral.sh/blog/open-source-security-at-astral
121•vinhnx•3h ago•18 comments

I ported Mac OS X to the Nintendo Wii

https://bryankeller.github.io/2026/04/08/porting-mac-os-x-nintendo-wii.html
1486•blkhp19•15h ago•255 comments

The Importance of Being Idle

https://theamericanscholar.org/the-importance-of-being-idle/
138•Caiero•2d ago•37 comments

Process Manager for Autonomous AI Agents

https://botctl.dev/
12•ankitg12•1h ago•0 comments

Haunted Paper Toys

http://ravensblight.com/papertoys.html
27•exvi•2d ago•0 comments

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

https://werwolv.net/posts/usb_for_sw_devs/
274•WerWolv•12h ago•31 comments

Understanding the Kalman filter with a simple radar example

https://kalmanfilter.net
315•alex_be•14h ago•42 comments

They're made out of meat (1991)

http://www.terrybisson.com/theyre-made-out-of-meat-2/
506•surprisetalk•20h ago•145 comments

Six (and a half) intuitions for KL divergence

https://www.perfectlynormal.co.uk/blog-kl-divergence
69•jxmorris12•1d ago•4 comments

Muse Spark: Scaling towards personal superintelligence

https://ai.meta.com/blog/introducing-muse-spark-msl/?_fb_noscript=1
323•chabons•15h ago•324 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
443•jfirebaugh•1d ago•460 comments

ML promises to be profoundly weird

https://aphyr.com/posts/411-the-future-of-everything-is-lies-i-guess
472•pabs3•18h ago•467 comments

Git commands I run before reading any code

https://piechowski.io/post/git-commands-before-reading-code/
1974•grepsedawk•22h ago•408 comments

I imported the full Linux kernel git history into pgit

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

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

https://arxiv.org/abs/2604.05091
288•chrsw•19h ago•51 comments

Expanding Swift's IDE Support

https://swift.org/blog/expanding-swift-ide-support/
109•frizlab•12h ago•47 comments

Dr. Dobb's Developer Library DVD 6

https://archive.org/details/DDJDVD6
5•kristianp•4d ago•0 comments

Map Gesture Controls - Control maps with your hands

https://sanderdesnaijer.github.io/map-gesture-controls/
21•hebelehubele•4d ago•2 comments

Show HN: A (marginally) useful x86-64 ELF executable in 301 bytes

https://github.com/meribold/btry
27•meribold•2d ago•7 comments

Ask HN: Any interesting niche hobbies?

339•e-topy•3d ago•483 comments

Understanding Traceroute

https://tech.stonecharioteer.com/posts/2026/traceroute/
118•stonecharioteer•3d ago•19 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
283•CharlesW•10h ago•73 comments

Show HN: Is Hormuz open yet?

https://www.ishormuzopenyet.com/
365•anonfunction•9h ago•143 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...
100•DamnInteresting•1d ago•42 comments

Audio Reactive LED Strips Are Diabolically Hard

https://scottlawsonbc.com/post/audio-led
217•surprisetalk•1d ago•62 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/
343•nickvec•13h ago•166 comments

Veracrypt project update

https://sourceforge.net/p/veracrypt/discussion/general/thread/9620d7a4b3/
1195•super256•1d ago•438 comments

Newly created Polymarket accounts win big on well-timed Iran ceasefire bets

https://www.theguardian.com/business/2026/apr/08/polymarket-trump-us-iran-ceasefire
124•mitchbob•6h ago•89 comments

Union types in C# 15

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
189•0x00C0FFEE•4d ago•161 comments