frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

We Will Not Be Divided

https://notdivided.org
1484•BloondAndDoom•7h ago•503 comments

How do I cancel my ChatGPT subscription?

https://help.openai.com/en/articles/7232927-how-do-i-cancel-my-chatgpt-subscription
646•tobr•2h ago•162 comments

Croatia declared free of landmines after 31 years

https://glashrvatske.hrt.hr/en/domestic/croatia-declared-free-of-landmines-after-31-years-12593533
216•toomuchtodo•5h ago•35 comments

Don't use passkeys for encrypting user data

https://blog.timcappalli.me/p/passkeys-prf-warning/
136•zdw•5h ago•73 comments

Rust Is Just a Tool

https://lewiscampbell.tech/blog/260204.html
63•JuniperMesos•2h ago•35 comments

Cash issuing terminals

https://computer.rip/2026-02-27-ibm-atm.html
54•zdw•3h ago•2 comments

OpenAI agrees with Dept. of War to deploy models in their classified network

https://twitter.com/sama/status/2027578652477821175
560•eoskx•5h ago•287 comments

Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)

https://github.com/maloyan/manim-web
95•maloyan•2d ago•13 comments

A new California law says all operating systems need to have age verification

https://www.pcgamer.com/software/operating-systems/a-new-california-law-says-all-operating-system...
566•WalterSobchak•17h ago•521 comments

OpenAI raises $110B on $730B pre-money valuation

https://techcrunch.com/2026/02/27/openai-raises-110b-in-one-of-the-largest-private-funding-rounds...
477•zlatkov•17h ago•522 comments

Smallest transformer that can add two 10-digit numbers

https://github.com/anadim/AdderBoard
147•ks2048•1d ago•64 comments

Statement on the comments from Secretary of War Pete Hegseth

https://www.anthropic.com/news/statement-comments-secretary-war
883•surprisetalk•7h ago•298 comments

Bootc and OSTree: Modernizing Linux System Deployment

https://a-cup-of.coffee/blog/ostree-bootc/
32•mrtedbear•5h ago•2 comments

Qt45: A small polymerase ribozyme that can synthesize itself

https://www.science.org/doi/10.1126/science.adt2760
79•ppnpm•9h ago•14 comments

U.S. and Israel Conduct Strikes on Iran

https://www.nytimes.com/live/2026/02/28/world/iran-strikes-trump
194•gammarator•1h ago•147 comments

Inferring Car Movement Patterns from Passive TPMS Measurements

https://dspace.networks.imdea.org/handle/20.500.12761/2011
7•wisdomseaker•1h ago•1 comments

A better streams API is possible for JavaScript

https://blog.cloudflare.com/a-better-web-streams-api/
404•nnx•18h ago•139 comments

The Eternal Promise: A History of Attempts to Eliminate Programmers

https://www.ivanturkovic.com/2026/01/22/history-software-simplification-cobol-ai-hype/
10•dinvlad•3d ago•1 comments

A Chinese official’s use of ChatGPT revealed an intimidation operation

https://www.cnn.com/2026/02/25/politics/chatgpt-china-intimidation-operation
200•cwwc•16h ago•122 comments

Package Managers à la Carte: a formal model of dependency resolution

https://arxiv.org/abs/2602.18602
22•avsm•3d ago•5 comments

NASA announces overhaul of Artemis program amid safety concerns, delays

https://www.cbsnews.com/news/nasa-artemis-moon-program-overhaul/
250•voxadam•16h ago•271 comments

5,300-year-old 'bow drill' rewrites story of ancient Egyptian tools

https://phys.org/news/2026-02-year-drill-rewrites-story-ancient.html
9•PaulHoule•2d ago•0 comments

Eschewing Zshell for Emacs Shell (2014)

https://www.howardism.org/Technical/Emacs/eshell-fun.html
28•pvdebbe•3d ago•12 comments

Open source calculator firmware DB48X forbids CA/CO use due to age verification

https://github.com/c3d/db48x/commit/7819972b641ac808d46c54d3f5d1df70d706d286
172•iamnothere•17h ago•88 comments

Time-Travel Debugging: Replaying Production Bugs Locally

https://lackofimagination.org/2026/02/time-travel-debugging-replaying-production-bugs-locally/
17•tie-in•2d ago•2 comments

Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions

https://github.com/hjtenklooster/claude-file-recovery
79•rikk3rt•16h ago•30 comments

Inventing the Lisa user interface – Interactions

https://dl.acm.org/doi/10.1145/242388.242405
35•rbanffy•2d ago•2 comments

Show HN: Unfucked - version all changes (by any tool) - local-first/source avail

https://www.unfudged.io/
96•cyrusradfar•1d ago•52 comments

Let's discuss sandbox isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
139•shayonj•13h ago•44 comments

Can you reverse engineer our neural network?

https://blog.janestreet.com/can-you-reverse-engineer-our-neural-network/
287•jsomers•3d ago•186 comments