frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

JonChesterfield•1y 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•1y 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•1y ago
That is a feature. Compose instead of extending.
Yoric•1y ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•1y ago
Elm <-> Rust

Best buds on this front

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

Claude Haiku 5.5

https://www.anthropic.com/claude-haiku-5-5
727•sfkgtbor•9h ago•369 comments

Margaret Hamilton has died

https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007
924•muglug•6h ago•105 comments

Cleo (Mathematician)

https://en.wikipedia.org/wiki/Cleo_(mathematician)
57•djoldman•1d ago•5 comments

How did Rosalind Franklin miss the helix in her iconic DNA image? She didn't

https://www.science.org/content/article/how-did-rosalind-franklin-miss-helix-her-iconic-dna-image...
93•pavel_lishin•2d ago•43 comments

Living off-grid: Hundred Rabbits

https://100r.ca/site/home.html
26•Muhammad523•2d ago•4 comments

'Jonathan' is the oldest land animal on Earth

https://www.404media.co/oldest-living-land-animal-jonathan-the-tortoise/
83•gumby•7h ago•33 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
396•SpeakingOfBrad•11h ago•115 comments

GPT‑6 and Intelligent UI for everyone

https://openai.com/index/gpt-6-for-everyone/
532•joshuawright11•9h ago•278 comments

Shipping JPEG XL in Chrome

https://developer.chrome.com/blog/jpeg-xl-in-chrome
504•AshleysBrain•16h ago•344 comments

In Vienna and Beijing, the first (thorium) nuclear clocks begin to tick

https://www.nytimes.com/2026/10/07/science/first-nuclear-clocks-thorium-229.html
35•gumby•9h ago•3 comments

Docker Agent

https://github.com/docker/docker-agent
192•saikatsg•9h ago•87 comments

A minimal kernel in Swift, running in QEMU

https://carette.xyz/posts/minimal_swift_kernel_on_qemu/
36•surprisetalk•1d ago•7 comments

Push ifs up and fors down: The idiom, its algebra, and its limits

https://debasishg.github.io/blog/push-ifs-up-fors-down/
115•speckx•8h ago•56 comments

A new write and space optimized storage engine for MySQL is here

https://tidesdb.com/articles/tidesdb-now-available-for-mysql/
40•alexpadula•2d ago•18 comments

If somebody tries to hot-patch an already-hot-patched function

https://devblogs.microsoft.com/oldnewthing/20261005-00/?p=112755/
46•ibobev•1d ago•17 comments

Sharing AI progress in mathematics

https://openai.com/index/sharing-ai-progress-in-mathematics/
1244•OfficialTurkey•1d ago•1419 comments

Brownian Motion

https://gregorygundersen.com/blog/2026/04/22/brownian-motion/
43•signa11•1d ago•2 comments

Animated ASCII Art for Web Pages

https://ascii.rest/
307•turrini•12h ago•58 comments

Navier–Stokes Lost in Translation

https://arxiv.org/abs/2610.08144
268•nill0•12h ago•168 comments

How machines learned precision

https://glinscott.github.io/how-machines-learned-precision/
116•glinscott•1d ago•57 comments

House with 15m underground tunnels for sale for 300k

https://www.readingchronicle.co.uk/news/26612080.house-15m-underground-tunnels-sale-300k/
172•librasteve•14h ago•163 comments

Wood Tape (2004)

http://gamesbyemail.com/WoodTape/Default.htm
170•NaOH•1d ago•22 comments

Google Playground: Create and play custom games

https://blog.google/innovation-and-ai/technology/ai/playground-experimental-gaming-platform/
125•acossta•15h ago•203 comments

Anti-patterns in software blogging

https://refactoringenglish.com/blog/anti-patterns-software-blogging/
218•ilreb•14h ago•125 comments

Meta and Microsoft take steps to reduce employee usage of Claude AI

https://www.rswebsols.com/news/meta-and-microsoft-take-steps-to-reduce-employee-usage-of-claude-ai/
298•speckx•8h ago•289 comments

Visa, Mastercard, major banks facing new litigation over 'anticompetitive' fees

https://www.classaction.org/news/visa-mastercard-major-banks-facing-new-litigation-over-anticompe...
500•DeepLogin•12h ago•361 comments

SynthID Detector

https://synthid.com/
97•ilreb•13h ago•87 comments

God of War on PSP, recompiled to WebAssembly and running in the browser

https://github.com/snuri00/psp-web-recomp
170•sn001•16h ago•90 comments

The art of defusing a second world war bomb

https://www.theguardian.com/news/ng-interactive/2026/oct/06/it-could-knock-a-whole-street-down-th...
119•sandebert•23h ago•92 comments

Why were Victorian elites so effective?

https://worksinprogress.co/issue/the-seven-vices-of-highly-effective-victorians/
107•karakoram•12h ago•179 comments