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
342•BloondAndDoom•1h ago•104 comments

Statement on the comments from Secretary of War Pete Hegseth

https://www.anthropic.com/news/statement-comments-secretary-war
162•surprisetalk•44m ago•29 comments

Smallest transformer that can add two 10-digit numbers

https://github.com/anadim/AdderBoard
57•ks2048•1d ago•9 comments

Qt45: A small polymerase ribozyme that can synthesize itself

https://www.science.org/doi/10.1126/science.adt2760
39•ppnpm•2h ago•5 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...
379•zlatkov•11h ago•463 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...
380•WalterSobchak•11h ago•376 comments

Emuko: Fast RISC-V emulator written in Rust, boots Linux

https://github.com/wkoszek/emuko
39•felipap•3h ago•4 comments

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

https://www.cnn.com/2026/02/25/politics/chatgpt-china-intimidation-operation
139•cwwc•10h ago•90 comments

I am directing the Department of War to designate Anthropic a supply-chain risk

https://twitter.com/secwar/status/2027507717469049070
1040•jacobedawson•3h ago•865 comments

NASA announces overhaul of Artemis program amid safety concerns, delays

https://www.cbsnews.com/news/nasa-artemis-moon-program-overhaul/
209•voxadam•9h ago•206 comments

A better streams API is possible for JavaScript

https://blog.cloudflare.com/a-better-web-streams-api/
371•nnx•12h ago•124 comments

Inventing the Lisa user interface – Interactions

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

Distributed Systems for Fun and Profit

https://book.mixu.net/distsys/single-page.html
27•vinhnx•3d ago•0 comments

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

https://github.com/hjtenklooster/claude-file-recovery
44•rikk3rt•9h ago•17 comments

Let's discuss sandbox isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
100•shayonj•7h ago•30 comments

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

https://github.com/c3d/db48x/commit/7819972b641ac808d46c54d3f5d1df70d706d286
139•iamnothere•10h ago•67 comments

Otters as Bioindicators of Estuarine Health

https://emt.pensoft.net/article/185117/
19•PaulHoule•3h ago•2 comments

Writing a Guide to SDF Fonts

https://www.redblobgames.com/blog/2026-02-26-writing-a-guide-to-sdf-fonts/
76•chunkles•7h ago•5 comments

Get free Claude max 20x for open-source maintainers

https://claude.com/contact-sales/claude-for-oss
443•zhisme•16h ago•200 comments

Building secure, scalable agent sandbox infrastructure

https://browser-use.com/posts/two-ways-to-sandbox-agents
57•gregpr07•11h ago•9 comments

Kyber (YC W23) Is Hiring an Enterprise Account Executive

https://www.ycombinator.com/companies/kyber/jobs/59yPaCs-enterprise-account-executive-ae
1•asontha•7h ago

Allocating on the Stack

https://go.dev/blog/allocation-optimizations
123•spacey•9h ago•49 comments

We gave terabytes of CI logs to an LLM

https://www.mendral.com/blog/llms-are-good-at-sql
170•shad42•10h ago•91 comments

Show HN: Unfucked – version every change between commits - local-first

https://www.unfudged.io/
65•cyrusradfar•1d ago•39 comments

PCB Tracer

https://pcbtracer.com
52•Luc•3d ago•29 comments

Implementing a Z80 / ZX Spectrum emulator with Claude Code

https://antirez.com/news/160
125•antirez•2d ago•61 comments

Rob Grant, creator of Red Dwarf, has died

https://www.beyondthejoke.co.uk/content/17193/red-dwarf-rob-grant
240•nephihaha•6h ago•69 comments

Reading English from 1000 AD

https://lewiscampbell.tech/blog/260224.html
112•LAC-Tech•3d ago•37 comments

Modeling cycles of grift with evolutionary game theory

https://www.oranlooney.com/post/grifters-skeptics-marks/
80•ibobev•3d ago•36 comments

Court finds Fourth Amendment doesn’t support broad search of protesters’ devices

https://www.eff.org/deeplinks/2026/02/victory-tenth-circuit-finds-fourth-amendment-doesnt-support...
512•hn_acker•10h ago•92 comments