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?

Binance-hacker-1029 – $5.6B stolen from Binance

https://arkm.com/explorer/entity/21a94755-f604-45e5-9501-6542e23005e8
1306•Tiberium•11h ago•801 comments

We're releasing the weights of Mistral Large 4

https://mistral.ai/news/mistral-large-4-oss/
1450•kuberwastaken•19h ago•390 comments

Cuis: The Modern Smalltalk-80

https://cuis.st/
102•theanonymousone•3d ago•15 comments

Astroterm: A Planetarium for Your Terminal

https://github.com/da-luce/astroterm
131•nvmdbljstm•2d ago•11 comments

I'm so bad at billiards that I ended up in the hyperbolic plane [video]

https://www.youtube.com/watch?v=kL9BTbIGxLg
121•surprisetalk•1d ago•11 comments

Herdr has released native app

https://github.com/herdrdev/herdr-app
188•cherioo•8h ago•115 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
18•benbreen•2d ago•2 comments

We ran AI agent swarms in Minecraft and Mindustry

https://labs.ycombinator.com/projects/games/index.html
277•sandslash•11h ago•95 comments

A tiny world model running games on a Raspberry Pi Pico 2 W

https://github.com/SheepSeb/tinyworldformer
204•airinei•12h ago•14 comments

H.264 Is Magic (2016)

https://sidbala.com/h-264-is-magic/
428•ea016•17h ago•149 comments

Wasmer (YC S19) Is Hiring OS/Hypervisor Experts in Europe

https://www.workatastartup.com/jobs/98722
1•syrusakbary•2h ago

Show HN: I Turned DOOM into a Transformer

https://github.com/mottopanikeiku/doomformer
87•falperc•9h ago•27 comments

'Elite North Korean hackers' blamed for $6.3B Binance hack

https://www.theguardian.com/business/live/2026/oct/30/uk-house-price-growth-crypto-industry-6bn-b...
29•tosh•1h ago•22 comments

LLM Voice

https://martinfowler.com/bliki/LLM-Voice.html
469•ibobev•18h ago•250 comments

Python on My Wrist

https://tildeweb.nl/~michiel/python-on-my-wrist.html
43•roywashere•3d ago•6 comments

Pico CSS is no longer maintained

https://github.com/picocss/pico/discussions/754
127•henrid•7h ago•51 comments

Launch HN: Simantic (YC F26) – Firmware Simulation for AI Agents

68•shong0504•17h ago•21 comments

A Pig, the State, and War: Porco Rosso (Kurenai No Buta) (2014)

https://journal.animationstudies.org/article/id/66/
118•simonebrunozzi•10h ago•28 comments

Patrick Stewart has died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
2947•j4mie•13h ago•624 comments

An illustrated online book on Hewlett-Packard equipment

https://blog.adafruit.com/2026/10/27/an-illustrated-online-book-on-hewlett-packard-equipment/
17•sohkamyung•2d ago•4 comments

Artificial Analysis v5 and the benchmarker's dilemma

https://www.interconnects.ai/p/artificial-analysis-v5-and-the-benchmarkers
4•6thbit•1d ago•0 comments

If IPv4 were land

https://iptrust.co/blog/if-ipv4-were-land
282•rokostik•21h ago•397 comments

The Great American Rascal: Tom Sawyer at 150

https://claremontreviewofbooks.com/the-great-american-rascal/
67•beatstop•11h ago•38 comments

Show HN: Auto Dismiss Mac OS "Allow <app> to find devices on local networks?"

https://github.com/johncassil/dontallow
134•johncassil•13h ago•99 comments

What we know so far about Spain train crash

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
197•ZeljkoS•1d ago•359 comments

Historical Scientific Instruments

https://nealstephenson.substack.com/p/historical-scientific-instruments
41•peteforde•2d ago•3 comments

ElementaryUI – Swift, in the Browser

https://elementary.codes
99•frizlab•12h ago•23 comments

Should a medical diagnosis reshape the past? (2025)

https://chengela.substack.com/p/should-a-medical-diagnosis-reshape
40•wyndham•11h ago•5 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
118•memalign•17h ago•9 comments

NetBSD adds a new text editor called atto

https://mastodon.sdf.org/@netbsd/117518160563539748
179•luke8086•21h ago•142 comments