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?

Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
101•danybittel•1h ago•44 comments

Photo GIMP – A Patch for GIMP 3 for Photoshop Users

https://github.com/Diolinux/PhotoGIMP
46•SockThief•2d ago•21 comments

I Found Ultra-Pure Quantum Crystals in an Abandoned Mine in the Atacama Desert

https://medium.com/@breid.at/ultra-pure-quantum-crystals-from-an-abandoned-mine-in-a-mysterious-d...
103•vi_sextus_vi•2d ago•25 comments

Show HN: Id-agent – Token efficient UUID alternative for AI agents

https://github.com/vostride/id-agent
10•pranshuchittora•50m ago•18 comments

Peter Neumann has died

https://www.tuhs.org/pipermail/tuhs/2026-May/033748.html
165•pabs3•8h ago•10 comments

Polypad

https://polypad.amplify.com/
98•ivank•2d ago•8 comments

Click (2016)

https://clickclickclick.click/
322•andrewzeno•13h ago•79 comments

Kv4p HT – A homebrew 1W radio (VHF or UHF) that plugs into an Android phone

https://www.kv4p.com/
107•krupan•2d ago•36 comments

The last six months in LLMs in five minutes

https://simonwillison.net/2026/May/19/5-minute-llms/
507•yakkomajuri•10h ago•383 comments

Cursor Introduces Composer 2.5

https://cursor.com/blog/composer-2-5
172•asar•18h ago•126 comments

Anthropic acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
470•tomeraberbach•19h ago•331 comments

The lasting influence of Netscape Time

https://thehistoryoftheweb.com/the-lasting-influence-of-netscape-time/
46•zdw•2d ago•9 comments

PyTorch Landscape

https://pytorch.landscape2.io
50•salamo•7h ago•14 comments

1024000^2 Blocks, 2B2T Minecraft Server World Download Project, and Discoveries

https://github.com/2b2tplace/1m_release
151•exploraz•21h ago•93 comments

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

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

Energy return in running shoes explained (2025)

https://runrepeat.com/guides/energy-return-in-running-shoes
15•jstrieb•1d ago•7 comments

We let AIs run radio stations

https://andonlabs.com/blog/andon-fm
281•lukaspetersson•17h ago•219 comments

Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised

https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/
130•theanonymousone•7h ago•71 comments

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

https://hyperpolyglot.org/lisp
167•veqq•16h ago•39 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...
244•cucho•12h ago•159 comments

Make ZIP files smaller with ZIP Shrinker

https://evanhahn.com/make-zip-files-smaller-with-zip-shrinker/
38•zdw•2d ago•20 comments

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

https://isabisabel.com/gacha/
174•babel16•5d ago•66 comments

Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust

https://github.com/harmont-dev/hsrs
36•suis_siva•8h ago•3 comments

AI eats the world (Spring 26) [pdf]

https://static1.squarespace.com/static/50363cf324ac8e905e7df861/t/6a0af5d0484fbf5fe9a7743e/177910...
252•topherjaynes•23h ago•138 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/
986•nycdatasci•18h ago•494 comments

Peter Salus has died

https://www.tuhs.org/pipermail/tuhs/2026-May/033750.html
148•speckx•9h ago•12 comments

Two computers, one monitor, zero fiddling (2025)

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

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
70•lionkor•2d ago•52 comments

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

https://arxiv.org/abs/2601.10160
59•anigbrowl•14h ago•24 comments

Agora-1: The Multi-Agent World Model

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