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?

Adafruit: Arduino’s Rules Are ‘Incompatible With Open Source’

https://thenewstack.io/adafruit-arduinos-rules-are-incompatible-with-open-source/
108•MilnerRoute•13h ago•38 comments

Rio de Janeiro's talipot palm trees bloom for the first and only time

https://en.jardineriaon.com/The-talipot-palm-trees-of-Rio-de-Janeiro-bloom-for-the-first-and-only...
121•1659447091•1w ago•32 comments

Arborium: Tree-sitter code highlighting with Native and WASM targets

https://arborium.bearcove.eu/
51•zdw•3h ago•10 comments

Why proteins fold and how GPUs help us fold

https://aval.bearblog.dev/nvidiaproteins/
15•diginova•1h ago•1 comments

Ask HN: What Are You Working On? (December 2025)

234•david927•14h ago•751 comments

Running on Empty: Copper

https://thehonestsorcerer.substack.com/p/running-on-empty-copper
48•the-needful•6d ago•41 comments

The Whole App is a Blob

https://drobinin.com/posts/the-whole-app-is-a-blob/
43•valzevul•3h ago•8 comments

How well do you know C++ auto type deduction?

https://www.volatileint.dev/posts/auto-type-deduction-gauntlet/
30•volatileint•5d ago•17 comments

John Varley has died

http://floggingbabel.blogspot.com/2025/12/john-varley-1947-2025.html
42•decimalenough•4h ago•6 comments

The Problem of Teaching Physics in Latin America (1963)

https://calteches.library.caltech.edu/46/2/LatinAmerica.htm
27•rramadass•10h ago•8 comments

Unscii

http://viznut.fi/unscii/
27•Levitating•3h ago•0 comments

CapROS: Capability-Based Reliable Operating System

https://www.capros.org/
71•gjvc•6h ago•27 comments

Read Something Wonderful

https://readsomethingwonderful.com/
77•snorbleck•3h ago•13 comments

Roomba maker goes bankrupt, Chinese owner emerges

https://news.bloomberglaw.com/bankruptcy-law/robot-vacuum-roomba-maker-files-for-bankruptcy-after...
60•nreece•6h ago•70 comments

Hashcards: A plain-text spaced repetition system

https://borretti.me/article/hashcards-plain-text-spaced-repetition
300•thomascountz•14h ago•137 comments

Elevated errors across many models

https://status.claude.com/incidents/9g6qpr72ttbr
293•pablo24602•9h ago•141 comments

JSDoc is TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
147•culi•11h ago•180 comments

An attempt to articulate Forth's practical strengths and eternal usefulness

https://im-just-lee.ing/forth-why-cb234c03.txt
50•todsacerdoti•1w ago•22 comments

SVG Fullstack Website

https://github.com/icitry/SVGWebsite
9•modinfo•2h ago•1 comments

AI agents are starting to eat SaaS

https://martinalderson.com/posts/ai-agents-are-starting-to-eat-saas/
82•jnord•7h ago•109 comments

The History of Xerox

https://www.abortretry.fail/p/the-history-of-xerox
5•rbanffy•3d ago•0 comments

In the Beginning was the Command Line (1999)

https://web.stanford.edu/class/cs81n/command.txt
134•wseqyrku•6d ago•63 comments

Rob Reiner has died

https://www.hollywoodreporter.com/movies/movie-news/rob-reiner-dead-harry-met-sally-princess-brid...
28•RickJWagner•3h ago•19 comments

If AI replaces workers, should it also pay taxes?

https://english.elpais.com/technology/2025-11-30/if-ai-replaces-workers-should-it-also-pay-taxes....
29•PaulHoule•7h ago•69 comments

History of Declarative Programming

https://shenlanguage.org/TBoS/tbos_15.html
46•measurablefunc•8h ago•13 comments

SoundCloud just banned VPN access

https://old.reddit.com/r/SoundCloudMusic/comments/1pltd19/soundcloud_just_banned_vpn_access/
77•empressplay•4h ago•43 comments

Microsoft Copilot AI Comes to LG TVs, and Can't Be Deleted

https://www.techpowerup.com/344075/microsoft-copilot-ai-comes-to-lg-tvs-and-cant-be-deleted
124•akyuu•6h ago•101 comments

2002: Last.fm and Audioscrobbler Herald the Social Web

https://cybercultural.com/p/lastfm-audioscrobbler-2002/
187•cdrnsf•10h ago•108 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
214•nkko•21h ago•130 comments

DARPA GO: Generative Optogenetics

https://www.darpa.mil/research/programs/go
41•birriel•8h ago•11 comments