frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Simple self-distillation improves code generation

https://arxiv.org/abs/2604.01193
259•Anon84•4h ago•72 comments

Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw

871•firloop•16h ago•677 comments

Some Unusual Trees

https://thoughts.wyounas.com/p/some-unusual-trees
118•simplegeek•6h ago•34 comments

Artemis II crew take “spectacular” image of Earth

https://www.bbc.com/news/articles/ce8jzr423p9o
885•andsoitis•19h ago•302 comments

The Cathedral, the Bazaar, and the Winchester Mystery House

https://www.dbreunig.com/2026/03/26/winchester-mystery-house.html
67•dbreunig•3d ago•18 comments

The CMS is dead. Long live the CMS

https://next.jazzsequence.com/posts/the-cms-is-dead-long-live-the-cms
62•taubek•3h ago•38 comments

Why Inventing Color TV Was So Difficult [video]

https://www.youtube.com/watch?v=hyjCmIbRRvs
20•DamnInteresting•3d ago•7 comments

The most-disliked people in the publishing industry

https://www.woman-of-letters.com/p/the-most-disliked-people-in-the-publishing
46•Caiero•3d ago•11 comments

Claude Code Found a Linux Vulnerability Hidden for 23 Years

https://mtlynch.io/claude-code-found-linux-vulnerability/
164•eichin•15h ago•100 comments

Mbodi AI (YC P25) Is Hiring

https://www.ycombinator.com/companies/mbodi-ai/jobs/mf9L3sy-senior-robotics-engineer-systems-cont...
1•chitianhao•3h ago

iNaturalist

https://www.inaturalist.org/
482•bookofjoe•21h ago•115 comments

Ask HN: How do you handle clients who don't pay on time?

19•Hustlr786•2h ago•30 comments

OpenClaw privilege escalation vulnerability

https://nvd.nist.gov/vuln/detail/CVE-2026-33579
459•kykeonaut•22h ago•216 comments

Herbie: Automatically improve imprecise floating point formulas

https://herbie.uwplse.org/doc/latest/tutorial.html
165•summarity•4d ago•32 comments

Jack Dorsey says Block employees now bring prototypes, not slides, to meetings

https://www.businessinsider.com/block-ceo-jack-dorsey-bring-prototypes-not-slide-decks-meetings-2...
51•taubek•3h ago•41 comments

Run Linux containers on Android, no root required

https://github.com/ExTV/Podroid
175•politelemon•16h ago•59 comments

Author of "Careless People" banned from saying anything negative about Meta

https://www.thetimes.com/uk/technology-uk/article/sarah-wynn-williams-careless-people-meta-nrffdfpmf
4•macleginn•17m ago•1 comments

Improving my focus by giving up my big monitor

https://ounapuu.ee/posts/2026/04/01/focus/
139•Fudgel•3d ago•149 comments

We replaced RAG with a virtual filesystem for our AI documentation assistant

https://www.mintlify.com/blog/how-we-built-a-virtual-filesystem-for-our-assistant
354•denssumesh•1d ago•136 comments

The smallest ELF executable (2021)

https://nathanotterness.com/2021/10/tiny_elf_modernized.html
12•michelangelo•2d ago•0 comments

The Technocracy Movement of the 1930s

https://donotresearch.substack.com/p/welcome-to-the-technocracy
137•lazydogbrownfox•1d ago•106 comments

Trying for 1 month but can't learn pixel art still

10•limondas•1h ago•6 comments

What changes when you turn a Linux box into a router

https://patrickmccanna.net/7-configuration-changes-that-turn-a-multi-homed-host-into-a-switch-rou...
197•0o_MrPatrick_o0•4d ago•48 comments

Go on Embedded Systems and WebAssembly

https://tinygo.org/
181•uticus•22h ago•24 comments

Build your own Dial-up ISP with a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/build-your-own-dial-up-isp-with-a-raspberry-pi/
182•arjunbajaj•23h ago•32 comments

F-15E jet shot down over Iran

https://www.theguardian.com/world/2026/apr/03/us-fighter-jet-confirmed-shot-down-over-iran
546•tjwds•23h ago•1225 comments

Big-Endian Testing with QEMU

https://www.hanshq.net/big-endian-qemu.html
102•jandeboevrie•1d ago•113 comments

Delve removed from Y Combinator

https://www.ycombinator.com/companies/delve
410•carabiner•13h ago•250 comments

Fake Fans

https://www.wordsfromeliza.com/p/fake-fans
136•performative•16h ago•38 comments

How to make a sliding, self-locking, and predator-proof chicken coop door (2020)

https://www.backyardchickens.com/articles/how-to-make-a-sliding-self-locking-and-predator-proof-c...
120•uticus•20h ago•52 comments