frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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?

C++: The Programming Language back cover raises questions not answered by front

https://devblogs.microsoft.com/oldnewthing/20260605-01/?p=112391
48•paulmooreparks•2h ago•5 comments

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
127•transistor-man•5h ago•39 comments

Pre-Modern Armies for Worldbuilders, Part I: Why They Fight

https://acoup.blog/2026/06/05/collections-pre-modern-armies-for-worldbuilders-part-i-why-they-fight/
30•gostsamo•2h ago•2 comments

How LLMs work

https://www.0xkato.xyz/how-llms-actually-work/
120•0xkato•2d ago•24 comments

S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic

https://arstechnica.com/tech-policy/2026/06/sp-500-blocks-fast-spacex-entry-wont-waive-rule-for-u...
62•maltalex•1h ago•7 comments

Lockdown Mode

https://help.openai.com/en/articles/20001061-lockdown-mode
28•berlianta•2h ago•11 comments

No Let, No Rec, No Problem: A Gentler Introduction to the Y and Z Combinators

https://irfanali.org/blog/zcom
17•sayyadirfanali•3d ago•2 comments

Astronauts told to return to ISS after sheltering over air leak repairs

https://www.bbc.com/news/live/c4g44ew3g1kt
376•janpot•14h ago•240 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
367•coffeemug•13h ago•84 comments

New method turns ocean water into drinking water, without waste

https://www.rochester.edu/newscenter/what-is-desalination-definition-ocean-water-704732/
314•speckx•14h ago•138 comments

Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency

https://blog.google/innovation-and-ai/technology/developers-tools/quantization-aware-training-gem...
316•theanonymousone•13h ago•96 comments

Ask HN: What was your "oh shit" moment with GenAI?

252•andrehacker•1d ago•503 comments

Did Claude increase bugs in rsync?

https://alexispurslane.github.io/rsync-analysis/
368•logicprog•17h ago•375 comments

Mouseless – keyboard-driven control of macOS/Linux/Windows

https://mouseless.click
504•riddley•2d ago•211 comments

My Agent Skill for Test-Driven Development

https://www.saturnci.com/my-agent-skill-for-test-driven-development.html
160•laxmena•1d ago•66 comments

Ask HN: Why is the HN crowd so anti-AI?

76•Ekami•3h ago•138 comments

Nordstjernen 1.0

https://github.com/nordstjernen-web/nordstjernen/releases/tag/1.0.0
34•andreasrosdal•6h ago•14 comments

The perils of UUID primary keys in SQLite

https://andersmurphy.com/2026/06/05/the-perils-of-uuid-primary-keys-in-sqlite.html
54•emschwartz•6h ago•24 comments

Gov.uk has replaced Stripe with Dutch provider Adyen

https://www.theregister.com/public-sector/2026/06/04/govuk-goes-dutch-on-payments-as-it-dumps-str...
397•toomuchtodo•12h ago•136 comments

Show HN: ABC Classic 100 Rankings visualised

https://classic100.gotski.workers.dev/
26•gotski•4h ago•16 comments

Three of our worst VC stories

https://twitter.com/eastdakota/status/2062860530360959273
211•orgonon•10h ago•104 comments

Europe's largest Copper Age tomb: children's bones show ancient health crisis

https://phys.org/news/2026-05-europe-largest-copper-age-tomb.html
24•gmays•1d ago•5 comments

Conventional Commits encourages focus on the wrong things

https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/
290•jsve•14h ago•224 comments

The Quiet Numbers Station: Decoding Nineteen Years of GPS Cryptography

https://www.benthamsgaze.org/2026/06/02/the-quiet-numbers-station-decoding-nineteen-years-of-gps-...
80•lordgilman•16h ago•69 comments

Nine Ways to Do Inheritance in Rust, a Language Without Inheritance

https://medium.com/@carlmkadie/nine-ways-to-do-inheritance-in-rust-a-language-without-inheritance...
25•pjmlp•2d ago•1 comments

Transformers are inherently succinct

https://openreview.net/pdf?id=Yxz92UuPLQ
110•brandonb•10h ago•32 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
379•mimorigasaka•21h ago•200 comments

India's surprise baby bust

https://www.economist.com/leaders/2026/06/04/indias-surprise-baby-bust-is-a-warning-to-the-world
157•hakonbogen•15h ago•703 comments

Cooldown Support for Ruby Bundler

https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html
151•calyhre•3d ago•42 comments

I tested every IP KVM in my Homelab

https://www.jeffgeerling.com/blog/2026/i-tested-every-ip-kvm/
264•vquemener•15h ago•71 comments