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?

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
291•sohkamyung•5h ago•128 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
33•signa11•1h ago•3 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
454•tamnd•10h ago•99 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
34•teleforce•4h ago•3 comments

Bitsy

https://bitsy.org/
68•tosh•3d ago•3 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
703•memalign•4d ago•222 comments

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
303•unrvl22•12h ago•159 comments

A short history of Cerro Torre, the most controversial mountain (2012)

https://www.markhorrell.com/blog/2012/a-short-history-of-cerro-torre/
15•joebig•4d ago•2 comments

Show HN: Trace – Offline Mac meeting transcripts you can flag mid-call

https://traceapp.info
123•AG342•1d ago•48 comments

Prove you're human by winning a claw machine

https://feralui.vercel.app/#/captcha
11•speckx•2d ago•3 comments

David Sacks on Anthropic export control

https://twitter.com/DavidSacks/status/2065853007619588171
11•satvikpendem•11h ago•5 comments

Write for One Person

https://wizardzines.com/comics/write-for-one-person/
153•evakhoury•2d ago•50 comments

Ask HN: What are you working on? (June 2026)

178•david927•12h ago•670 comments

Formal methods and the future of programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
220•eatonphil•15h ago•81 comments

Chaosnet (1981)

https://tumbleweed.nu/r/lm-3/uv/amber.html
70•RGBCube•9h ago•7 comments

TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

https://github.com/meta-pytorch/torchcodec/releases/tag/v0.14.0
33•scott_s•4d ago•3 comments

Segmented type appreciation corner (2018)

https://aresluna.org/segmented-type/
66•unexpectedVCR•3d ago•14 comments

Show HN: Discover Wikipedia articles popular on Hacker News

https://www.orangecrumbs.com/
73•octopus143•10h ago•19 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
143•hollylawly•3d ago•52 comments

Perlisisms (1982)

https://www.cs.yale.edu/homes/perlis-alan/quotes.html
102•tosh•13h ago•49 comments

Caddy compatibility for zeroserve: 3x throughput and 70% lower latency

https://su3.io/posts/zeroserve-caddy-compat
165•losfair•14h ago•49 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
32•denismenace•4d ago•6 comments

The hallucinogenic mushroom that contains no known psychedelic

https://psychedelics.co.uk/news/a-mushroom-genus-that-gets-people-high-but-not-the
42•thunderbong•3h ago•19 comments

FarOutCompany

https://faroutcompany.com/
109•bookofjoe•14h ago•17 comments

AI is code – and can't be prompted into being smarter

https://www.theregister.com/ai-and-ml/2026/06/14/ai-is-code-and-cant-be-prompted-into-being-smart...
111•wglb•8h ago•79 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
138•josephcsible•6h ago•68 comments

I indexed 669 GB of my GoPro videos using my M1 Max computer and local ML models

307•iliashad•13h ago•75 comments

The Birth and Death of JavaScript (2014)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
219•subset•15h ago•124 comments

Lisp's Influence on Ruby

https://blog.tacoda.dev/lisps-influence-on-ruby-6a54f1a7740e
227•tacoda•3d ago•65 comments

USB Power Delivery: Plugging into the Benefits

https://www.aptiv.com/en/insights/article/usb-power-delivery-plugging-into-the-benefits
38•mooreds•3d ago•86 comments