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?

Using the railway network as a flatbed scanner

https://philo.gay/linecam/
222•otherayden•3h ago•39 comments

Fixing a Bricked Framework Laptop

https://quantum5.ca/2026/08/16/fixing-bricked-amd-7040-series-framework-13-laptop-with-20-tools/
167•jp_sc•3h ago•85 comments

The Amazon Tax

https://seths.blog/2026/08/the-amazon-tax/
364•herbertl•3h ago•266 comments

Apple announces changes for apps in the European Union

https://www.apple.com/newsroom/2026/08/apple-announces-changes-for-apps-in-the-european-union/
12•newusertoday•11m ago•1 comments

How I Under-Engineered My Book

https://chriskiehl.com/article/how-i-under-engineered-my-book
32•goostavos•21h ago•4 comments

Linux 7.3 improves performance when running out of vRAM

https://pixelcluster.dev/VRAM-Overcommit/
393•flaburgan•8h ago•158 comments

Python Polars Cheatsheet (based on our O'Reilly book)

https://opensource.posit.co/resources/cheatsheets/polars/
66•jeroenjanssens•2h ago•11 comments

Launch HN: machine0 (YC S26) – Persistent CPU and GPU VMs from the CLI

https://machine0.io
3•bwm•6m ago•0 comments

Teaching my kid to code with a modern MUD

https://tau.dev/2026/08/07/canon
138•andrewjanke•6d ago•44 comments

Fairphone is now officially available in the United States

https://www.fairphone.com/nl/stories/the-fairphone-gen-6-is-all-about-giving-you-more
206•Vinnl•3h ago•108 comments

Composable Tests

https://newsletter.kentbeck.com/p/composable-tests
38•vinipolicena•3h ago•33 comments

Babies born under sugar rationing grew into adults with lower cancer risk

https://theconversation.com/babies-born-under-sugar-rationing-grew-into-adults-with-lower-cancer-...
92•zeristor•2h ago•24 comments

Splitting a Git Commit

https://blog.gnoack.org/post/git-history-split
31•signa11•3d ago•13 comments

Code-native generation of highly programmable 3D assets (2026)

https://arxiv.org/abs/2607.22738
16•baigy•1h ago•15 comments

Google has acquired the data of failed US airline Spirit

https://www.theregister.com/ai-and-ml/2026/08/18/google-buys-crashed-airline-spirits-data-at-auct...
430•pseudolus•6h ago•305 comments

Meta Files Patent for Facial Recognition, Automatic Recording of People

https://www.privacyguides.org/news/2026/08/17/meta-files-patent-for-facial-recognition-automatic-...
161•DeepLogin•4h ago•108 comments

How Bluesky draws its logo on screenshots

https://timmarinin.net/2026/bluesky-screenshots/
654•gavide•18h ago•413 comments

Memory prices climb 500% in 12 months

https://www.tomshardware.com/pc-components/ram/memory-prices-climb-500-percent-in-12-months-up-to...
109•haunter•22h ago•86 comments

Show HN: Shoehorn – Quantize any model down to run on your machine

https://notactuallytreyanastasio.github.io/shoehorn/
9•rhgraysonii•2h ago•2 comments

Rethinking Database Programming

https://acadia.engineering/blog/rethinking-database-programming
173•honungsburk•9h ago•88 comments

California's new tire efficiency rules could save drivers $1B a year

https://grist.org/transportation/californias-new-tire-efficiency-rules-could-save-drivers-1b-a-year/
45•littlexsparkee•13h ago•44 comments

Baking a Model: A Metaphor for LLM Training

https://newsletter.kentbeck.com/p/baking-a-model
24•KentBeck•3d ago•1 comments

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
4•therepanic•1h ago•0 comments

Quake Shareware, a CD-ROM just a little too full

https://fabiensanglard.net/quake_shareware_cd/index.html
452•shdon•18h ago•191 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
40•mcclowes•1d ago•46 comments

Deus Ex creator Warren Spector is retiring from game development

https://www.videogameschronicle.com/news/its-just-not-as-much-fun-for-me-anymore-deus-ex-creator-...
91•danbolt•3h ago•61 comments

The coolest anti-surveillance tools at Defcon [video]

https://www.youtube.com/watch?v=-2uAsJ5EPAw
34•neom•1h ago•0 comments

Finger: Social network that never died

https://en.andros.dev/blog/54572bc7/finger-the-1971-social-network-that-never-died/
119•andros•9h ago•38 comments

Ask HN: Ive quit six systems for tracking my illness. What works?

6•Abh1Works•2d ago•1 comments

Israel creates fake think tank in likely attempt to dupe AI chatbots

https://responsiblestatecraft.org/israel-influence-chatgpt/
931•DeepLogin•19h ago•549 comments