frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PGSimCity - How PostgreSQL Works

https://nikolays.github.io/PGSimCity/
264•jonbaer•4h ago•34 comments

Show HN: Physically accurate black hole you can put in your room

https://blackhole.plav.in
133•aplavin•3d ago•32 comments

Jacobian Conjecture for Baby

https://muchmirul.github.io/jacobian-conjecture/
53•porphyra•4d ago•2 comments

Decker, a platform that builds on the legacy of Hypercard and classic macOS

https://beyondloom.com/decker/
259•tosh•10h ago•67 comments

Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

https://github.com/vercel-labs/scriptc
66•maxloh•5h ago•29 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
227•saaaaaam•10h ago•132 comments

US citizen charged after GrapheneOS phone wipes during airport search

https://www.techspot.com/news/113236-us-prosecutors-charge-atlanta-man-after-grapheneos-phone.html
382•eecc•6h ago•245 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
118•zdw•7h ago•24 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
387•rcy•16h ago•132 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
139•tosh•10h ago•38 comments

Design is compromise

https://stephango.com/design-is-compromise
211•ankitg12•12h ago•76 comments

Fonts In Use – Find out where a font is used

https://fontsinuse.com/
34•open_•4h ago•2 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
95•xterminal•8h ago•42 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
119•zeldone•12h ago•24 comments

Teaching Kids Forth

https://gracefulliberty.com/articles/teaching-kids-forth/
66•rbanffy•6h ago•20 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
41•jxmorris12•3d ago•2 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
92•geneticdrifts•11h ago•49 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
187•AbuAssar•16h ago•47 comments

History of John Backus's functional programming project [draft]

https://softwarepreservation.computerhistory.org/FP/
18•cwbuilds•2d ago•1 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
50•marc__1•8h ago•28 comments

The relay market powering token resellers and fraud

https://vectoral.com/blog/token-relay-market
173•mlenhard•13h ago•101 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
174•mooreds•15h ago•50 comments

How to Block Some of the Bots

https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Some-Of-The-Bots/
90•Bender•10h ago•106 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
187•interfeco•3d ago•35 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
171•pompomsheep•15h ago•55 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
874•rapnie•16h ago•428 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
141•surprisetalk•5d ago•88 comments

Show HN: Port Zero – how I learned to stop worrying and love PORT=0

https://portzero.net/
15•octopoc•4h ago•8 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
172•sohkamyung•4d ago•38 comments

Using sed to make indexes for books (1997)

https://www.pement.org/sed/make_indexes.txt
55•TMWNN•4d ago•10 comments
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?