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?

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
797•minimaxir•7h ago•491 comments

Why does kinetic energy increase quadratically, not linearly, with speed? (2011)

https://physics.stackexchange.com/questions/535/why-does-kinetic-energy-increase-quadratically-no...
51•ProxyTracer•2h ago•10 comments

A C++ implementation of a fast hash map and hash set using hopscotch hashing

https://github.com/Tessil/hopscotch-map
56•gjvc•3h ago•8 comments

US allows Anthropic to release Mythos to 'trusted partners'

https://www.reuters.com/technology/us-releases-anthropic-model-mythos-some-us-companies-semafor-r...
165•bobrenjc93•2h ago•108 comments

U.S. government will decide who gets to use GPT-5.6

https://www.washingtonpost.com/technology/2026/06/26/openai-says-us-government-will-vet-users-its...
779•alain94040•6h ago•887 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
252•justincormack•3d ago•143 comments

The gap between open weights LLMs and closed source LLMs

https://blog.doubleword.ai/frontier-os-llm
104•kkm•3h ago•88 comments

We can still stop California's 3D printer surveillance scheme

https://www.eff.org/deeplinks/2026/06/we-can-still-stop-californias-3d-printer-surveillance-scheme
180•hn_acker•3h ago•49 comments

A Tiny Compiler for Data-Parallel Kernels

https://healeycodes.com/a-tiny-compiler-for-data-parallel-kernels
18•healeycodes•1d ago•1 comments

AI in mathematics is forcing big questions

https://spectrum.ieee.org/ai-in-mathematics
25•rbanffy•2h ago•6 comments

The "Bizarre Headgear" exhibit at the Sam Noble museum

https://svpow.com/2026/05/15/the-bizarre-headgear-exhibit-at-the-sam-noble-museum-is-incredible/
67•surprisetalk•3d ago•6 comments

Show HN: DBOSify – Drop-in Temporal replacement built on Postgres

https://github.com/dbos-inc/dbosify-py
9•KraftyOne•2d ago•2 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
138•adchurch•8h ago•86 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers#open-positions
1•joshwget•3h ago

Ultrasound imaging of the brain

https://alephneuro.com/blog/ultrasound-brain
230•rossant•12h ago•92 comments

What Is a Nomogram and Why Would It Interest Me?

https://lefakkomies.github.io/pynomo-doc/introduction/introduction.html#what-is-a-nomogram-and-wh...
79•Eridanus2•7h ago•14 comments

PlayStation Is Deleting 551 Movies from Customers' Accounts

https://kotaku.com/playstation-store-movies-digital-studio-canal-terminator-2000711013
138•ortusdux•4h ago•84 comments

The open source DOCX editor submitted to HN a few weeks ago has been deleted

46•gcanyon•2h ago•34 comments

Om

https://daringfireball.net/2026/06/om
26•throw0101a•1h ago•2 comments

A human postmortem of the 1996 AOL outage

https://ngrok.com/blog/aol-was-down-1996
35•EndEntire•2d ago•7 comments

Long Wave radio era set to end with Droitwich switch-off

https://www.bbc.com/news/articles/c74yn7v7k4qo
45•speckx•5h ago•20 comments

Gossamer: a Rust-flavoured language with real goroutines and pause-free memory

https://gossamer-lang.org/
65•mwheeler•6h ago•57 comments

Pre-Modern Armies for Worldbuilders, Part III: Paying for It

https://acoup.blog/2026/06/26/collections-pre-modern-armies-for-worldbuilders-part-iii-paying-for...
42•jfoucher•6h ago•5 comments

Lippmann Photography

https://www.jonhilty.com/lippmann
15•andsoitis•2d ago•0 comments

Modern GPU Programming for MLSys

https://mlc.ai/modern-gpu-programming-for-mlsys/
57•crowwork•3d ago•9 comments

Show HN: Autofit2 – End-to-end pipeline for multilingual text classification

https://github.com/neospe/autofit2
13•leschak•1d ago•1 comments

The Art of Kite Flying (1430–1929)

https://publicdomainreview.org/collection/art-of-kite-flying/
24•benbreen•4d ago•10 comments

LaTeX.wasm: LaTeX Engines in Browsers

https://www.swiftlatex.com/
84•theanonymousone•3d ago•30 comments

My Steam Machine is a 50ft HDMI cable

https://blog.matthewbrunelle.com/my-steam-machine-is-a-50ft-hdmi-cable/
160•speckx•3d ago•155 comments

Data centers trigger voter backlash

https://www.newsweek.com/cost-me-the-election-data-centers-trigger-voter-backlash-12118327
156•randycupertino•7h ago•285 comments