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?

Peter Salus has died

https://www.tuhs.org/pipermail/tuhs/2026-May/033750.html
82•speckx•1h ago•8 comments

The last six months in LLMs in five minutes

https://simonwillison.net/2026/May/19/5-minute-llms/
112•yakkomajuri•3h ago•38 comments

Click (2016)

https://clickclickclick.click/
237•andrewzeno•5h ago•57 comments

Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions

https://nicholas.carlini.com/writing/2025/regex-chess.html
60•surprisetalk•4d ago•10 comments

Anyone on the Internet Can Ring Your Doorbell

https://www.abgeo.dev/blog/anyone-can-ring-your-doorbell
38•jrdres•2d ago•13 comments

Anthropic acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
397•tomeraberbach•11h ago•273 comments

Pope Leo XIV’s first encyclical Magnifica humanitas to be published May 25

https://www.vaticannews.va/en/pope/news/2026-05/pope-leo-xiv-first-encyclical-magnifica-humanitas...
154•cucho•5h ago•92 comments

We stopped AI bot spam in our GitHub repo using Git's –author flag

https://archestra.ai/blog/only-responsible-ai
442•ildari•13h ago•200 comments

War game exposed U.S. vulnerability to low-tech warfare

https://nsarchive.gwu.edu/news/2024-11-01/rigged-war-game-exposed-us-vulnerability-low-tech-warfare
23•KnuthIsGod•2h ago•13 comments

PyTorch Landscape

https://pytorch.landscape2.io
3•salamo•21m ago•0 comments

Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp

https://hyperpolyglot.org/lisp
145•veqq•9h ago•34 comments

The Quiet Renovation at Bitwarden

https://blog.ppb1701.com/the-quiet-renovation-at-bitwarden
589•DaSHacka•2d ago•262 comments

Show HN: Files.md – Open-source alternative to Obsidian

https://github.com/zakirullin/files.md
588•zakirullin•15h ago•293 comments

We let AIs run radio stations

https://andonlabs.com/blog/andon-fm
210•lukaspetersson•10h ago•177 comments

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
34•lionkor•1d ago•6 comments

Show HN: Number Gacha, a gacha game distilled to its essence

https://isabisabel.com/gacha/
94•babel16•5d ago•37 comments

Project Glasswing: what Mythos showed us

https://blog.cloudflare.com/cyber-frontier-models/
303•Fysi•15h ago•115 comments

Earth's Radio Bubble: Every signal we've ever sent into space

https://www.thescientificdrop.com/2026/05/earths-radio-bubble-every-signal-weve.html
52•jonbaer•20h ago•29 comments

Elon Musk has lost his lawsuit against Sam Altman and OpenAI

https://techcrunch.com/2026/05/18/elon-musk-has-lost-his-lawsuit-against-sam-altman-and-openai/
862•nycdatasci•11h ago•434 comments

Agora-1: The Multi-Agent World Model

https://odyssey.ml/introducing-agora-1
93•olivercameron•10h ago•17 comments

Why is it called Kent House?

https://diamondgeezer.blogspot.com/2026/05/kent-house.html
5•susam•2d ago•1 comments

Peter Neumann Has Died

https://www.tuhs.org/pipermail/tuhs/2026-May/033748.html
3•pabs3•1h ago•0 comments

Two computers, one monitor, zero fiddling (2025)

https://alexplescan.com/posts/2025/08/16/kvm/
188•ankitg12•3d ago•106 comments

Coding on Paper

https://wickstrom.tech/2026-05-16-coding-on-paper.html
62•owickstrom•1d ago•18 comments

Alignment pretraining: AI discourse creates self-fulfilling (mis)alignment

https://arxiv.org/abs/2601.10160
38•anigbrowl•7h ago•14 comments

Sieve – scans Cursor/Claude chat history for leaked API keys

https://apps.apple.com/us/app/sieve-secret-scanner/id6767409365?mt=12
3•helpful_human•1h ago•0 comments

The FBI Wants to Buy Nationwide Access to License Plate Readers

https://www.404media.co/the-fbi-wants-to-buy-nationwide-access-to-license-plate-readers/
255•cdrnsf•9h ago•102 comments

The Futility of Lava Lamps: What Random Means

https://loup-vaillant.fr/articles/lava-lamps-and-randomness
55•birdculture•2d ago•43 comments

The Fil-C Optimized Calling Convention

https://fil-c.org/calling_convention
120•pizlonator•2d ago•23 comments

The American Rebellion Against AI Is Gaining Steam

https://www.wsj.com/tech/ai/the-american-rebellion-against-ai-is-gaining-steam-94b72529
83•JaakkoP•2h ago•72 comments