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?

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
597•Gecko4072•5d ago•144 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
20•vinhnx•2h ago•5 comments

Clinical failure rates over the decades: yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
51•EA-3167•3h ago•28 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
46•alphabetatango•3h ago•19 comments

GM Backs Sodium Ion Batteries for U.S. Grid Storage

https://spectrum.ieee.org/sodium-ion-battery-peak-energy
133•rbanffy•4h ago•52 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
18•nateb2022•2h ago•1 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
65•birdculture•3d ago•19 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
175•mellosouls•6h ago•121 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
90•oliculipolicula•3h ago•55 comments

Running a 28.9M parameter LLM on an $8 microcontroller

https://github.com/slvDev/esp32-ai
88•boveyking•7h ago•18 comments

Producing ammonia and fertiliser using wind power in Morris, Minnesota

https://ammoniaenergy.org/articles/flexible-renewable-ammonia-demonstrator-now-operational-in-min...
100•gritzko•7h ago•69 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
14•vinhnx•2h ago•8 comments

LLM Usage in Debian: Three Proposals

https://www.debian.org/vote/2026/vote_002
85•zdw•7h ago•79 comments

Turn And Face The Strange

https://fly.io/blog/kurt-scott-money-sprites/
149•subarctic•6h ago•111 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
138•stunningllama•1d ago•15 comments

Open-weight AI is having its Kubernetes moment

https://tobi.knaup.me/2026-07-25-open-weight-ai-is-having-its-kubernetes-moment/
318•tknaup•11h ago•258 comments

GDID Windows – Cut the tracker that follows you even under VPN

https://korben.info/en/gdid-windows-cut-tracker-vpn.html
112•rfarley04•4d ago•79 comments

Memory Safety Absolutists

https://itsallaboutthebit.com/memory-safety-absolutists/
62•drogus•8h ago•78 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
137•jsax•9h ago•45 comments

Did They Ghost You?

https://didtheyghostyou.com/
311•mooreds•6h ago•138 comments

Zero roadkill as Amazon canopy bridges secure 15,000 crossings

https://news.mongabay.com/2026/07/zero-roadkill-as-amazon-canopy-bridges-secure-15000-crossings/
302•hn_acker•3d ago•94 comments

Rethinking Legal Education in the AI Era

https://www.law.uchicago.edu/news/ai-strategy-statement
10•jjwiseman•2d ago•0 comments

Possible invasive species superspreader event near Strait of Hormuz

https://abcnews.com/International/scientists-warn-invasive-species-superspreader-event-due-stalli...
22•russfink•1h ago•3 comments

Multicast TV Distribution on My Home Network

https://www.apalrd.net/posts/2026/isp_mcast/
41•mrngm•5h ago•12 comments

Show HN: Writemark, a dependency free web component for inline Markdown editing

33•_boffin_•6h ago•11 comments

Bitchat is now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
214•h1watt•13h ago•127 comments

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
882•shscs911•19h ago•424 comments

Show HN: SpinWin – A macOS menu bar app to visually rotate or spin any window

https://github.com/alokdhir/spinwin
23•dbm5•9h ago•5 comments

How My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
218•surprisetalk•3d ago•74 comments

Becoming a Research Engineer at a Big LLM Lab

https://www.maxmynter.com/pages/blog/jobhunt
21•felixdoerp•5h ago•6 comments