frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•7mo ago

Comments

JonChesterfield•7mo 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•7mo 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•7mo ago
That is a feature. Compose instead of extending.
Yoric•7mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•7mo ago
Elm <-> Rust

Best buds on this front

gitroom•7mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

Things I want to say to my boss

https://www.ithoughtaboutthatalot.com/2025/the-things-i-want-to-say-to-my-boss
59•casca•38m ago•24 comments

An Orbital House of Cards: Frequent Megaconstellation Close Conjunctions

https://arxiv.org/abs/2512.09643
45•rapnie•2h ago•17 comments

Show HN: I've asked Claude to improve codebase quality 200 times

https://gricha.dev/blog/the-highest-quality-codebase
189•Gricha•2d ago•128 comments

Craft software that makes people feel something

https://rapha.land/craft-software-that-makes-people-feel-something/
72•lukeio•3h ago•23 comments

Launch HN: BrowserBook (YC F24) – IDE for deterministic browser automation

22•cschlaepfer•1h ago•14 comments

Size of Life

https://neal.fun/size-of-life/
2348•eatonphil•1d ago•263 comments

Days since last GitHub incident

https://github-incidents.pages.dev/
10•AquiGorka•22m ago•1 comments

iPhone Typos? It's Not Just You – The iOS Keyboard Is Broken [video]

https://www.youtube.com/watch?v=hksVvXONrIo
158•walterbell•1h ago•94 comments

Deprecate Like You Mean It

https://entropicthoughts.com/deprecate-like-you-mean-it
14•todsacerdoti•1h ago•28 comments

Show HN: Local Privacy Firewall-blocks PII and secrets before ChatGPT sees them

https://github.com/privacyshield-ai/privacy-firewall
68•arnabkarsarkar•2d ago•28 comments

Disney making $1B investment in OpenAI, will allow characters on Sora AI

https://www.cnbc.com/2025/12/11/disney-openai-sora-characters-video.html
217•tiahura•3h ago•170 comments

A “frozen” dictionary for Python

https://lwn.net/SubscriberLink/1047238/25c270b077849dc0/
144•jwilk•7h ago•98 comments

Oldest attestation of Austronesian language: Đông Yên Châu inscription

https://en.wikipedia.org/wiki/%C4%90%C3%B4ng_Y%C3%AAn_Ch%C3%A2u_inscription
35•teleforce•5d ago•6 comments

Australia begins enforcing world-first teen social media ban

https://www.reuters.com/legal/litigation/australia-social-media-ban-takes-effect-world-first-2025...
906•chirau•1d ago•1367 comments

Getting a Gemini API key is an exercise in frustration

https://ankursethi.com/blog/gemini-api-key-frustration/
712•speckx•20h ago•282 comments

Patterns.dev

https://www.patterns.dev/
452•handfuloflight•15h ago•103 comments

The Cost of a Closure in C

https://thephd.dev/the-cost-of-a-closure-in-c-c2y
142•ingve•9h ago•51 comments

Helldivers 2 on-disk size 85% reduction

https://store.steampowered.com/news/app/553850/view/491583942944621371
153•SergeAx•1w ago•140 comments

Pop Goes the Population Count?

https://xania.org/202512/11-pop-goes-the-weasel-er-count
10•hasheddan•2h ago•0 comments

How the Brain Parses Language

https://www.quantamagazine.org/the-polyglot-neuroscientist-resolving-how-the-brain-parses-languag...
85•mylifeandtimes•3d ago•42 comments

Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program

https://serversfor.dev/linux-inside-out/the-linux-kernel-is-just-a-program/
220•birdculture•1w ago•64 comments

Auto-grading decade-old Hacker News discussions with hindsight

https://karpathy.bearblog.dev/auto-grade-hn/
512•__rito__•23h ago•224 comments

A Developer Accidentally Found CSAM in AI Data. Google Banned Him for It

https://www.404media.co/a-developer-accidentally-found-csam-in-ai-data-google-banned-him-for-it/
37•markatlarge•1h ago•14 comments

Crick and Watson Did Not Steal Franklin's Data

https://nautil.us/crick-and-watson-did-not-steal-franklins-data-1252663/
43•Brajeshwar•1h ago•10 comments

How can I read the standard output of an already-running process?

https://devblogs.microsoft.com/oldnewthing/20251204-00/?p=111841
45•ibobev•5d ago•19 comments

Show HN: oeis-tui – A TUI to search OEIS integer sequences in the terminal

https://github.com/hako/oeis-tui
27•wesleyhill•1w ago•1 comments

Python Workers redux: fast cold starts, packages, and a uv-first workflow

https://blog.cloudflare.com/python-workers-advancements/
102•dom96•3d ago•50 comments

Kicking Robots

https://harpers.org/archive/2025/12/kicking-robots-james-vincent-humanoids/
4•Hooke•4d ago•0 comments

How Google Maps allocates survival across London's restaurants

https://laurenleek.substack.com/p/how-google-maps-quietly-allocates
344•justincormack•2d ago•178 comments

VCMI: An open-source engine for Heroes III

https://vcmi.eu/
166•eamag•5d ago•21 comments