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?

God Sleeps in the Minerals

https://wchambliss.wordpress.com/2026/03/03/god-sleeps-in-the-minerals/
296•speckx•4h ago•72 comments

Open Source Isn't Dead. Cal.com Just Learned the Wrong Lesson

https://www.strix.ai/blog/cal-com-is-closing-its-code-due-to-ai-threats
152•bearsyankees•2h ago•98 comments

Want to Write a Compiler? Just Read These Two Papers (2008)

https://prog21.dadgum.com/30.html
365•downbad_•8h ago•110 comments

Good Sleep, Good Learning (2012)

https://super-memory.com/articles/sleep.htm
272•downbad_•8h ago•124 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
23•muchael•1h ago•4 comments

How do Wake-On-LAN works

https://blog.xaner.dev/post/wake-on-lan/
30•swq115•4d ago•11 comments

The Future of Everything Is Lies, I Guess: New Jobs

https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs
176•aphyr•4h ago•115 comments

Adaptional (YC S25) Is Hiring Founding AI Engineers

https://www.ycombinator.com/companies/adaptional/jobs/k7W6ge9-founding-engineer
1•acesohc•53m ago

Do you even need a database?

https://www.dbpro.app/blog/do-you-even-need-a-database
87•upmostly•5h ago•158 comments

Fix monitor that goes black, off or blinks due to static electricity in chair

https://aalonso.dev/blog/2023/how-to-fix-monitor-that-goes-black-off-due-to-static-electricity-in...
9•cyclopeanutopia•3d ago•9 comments

Forcing an inversion of control on the SaaS stack

https://www.100x.bot/a/client-side-injection-inversion-of-control-saas
29•shardullavekar•5d ago•27 comments

Gemini Robotics-ER 1.6

https://deepmind.google/blog/gemini-robotics-er-1-6/
141•markerbrod•3h ago•41 comments

Costasiella kuroshimae – Solar Powered animals, that do indirect photosynthesis

https://en.wikipedia.org/wiki/Costasiella_kuroshimae
113•vinnyglennon•3d ago•47 comments

Anna's Archive loses $322M Spotify piracy case without a fight

https://torrentfreak.com/annas-archive-loses-322-million-spotify-piracy-case-without-a-fight/
143•askl•9h ago•157 comments

Wacli – WhatsApp CLI

https://github.com/steipete/wacli
203•dinakars777•10h ago•134 comments

Fixing a 20-year-old bug in Enlightenment E16

https://iczelia.net/posts/e16-20-year-old-bug/
233•snoofydude•13h ago•130 comments

We ran Doom on a 40 year old printer controller (Agfa Compugraphic 9000PS) [video]

https://www.youtube.com/watch?v=cltnlks2-uU
42•zdw•3d ago•12 comments

Metro stop is Ancient Rome's new attraction

https://www.bbc.com/travel/article/20260408-a-150-metro-ticket-to-ancient-rome
85•Stevvo•5d ago•20 comments

Pretty Fish: A better mermaid diagram editor

https://pretty.fish/
87•pastelsky•5d ago•18 comments

Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

https://www.gizmoweek.com/gemma-4-runs-iphone/
220•takumi123•12h ago•150 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
138•porsche959•5h ago•60 comments

Study: Back-to-basics approach can match or outperform AI in language analysis

https://www.manchester.ac.uk/about/news/back-to-basics-approach-can-match-or-outperform-ai/
24•giuliomagnifico•5h ago•9 comments

The tiniest e-reader in the world, and you can build one yourself

https://www.androidauthority.com/tiny-e-reader-diy-3657661/
15•Brajeshwar•1h ago•3 comments

AI ruling prompts warnings from US lawyers: Your chats could be used against you

https://www.reuters.com/legal/government/ai-ruling-prompts-warnings-us-lawyers-your-chats-could-b...
105•alephnerd•5h ago•62 comments

CRISPR takes a bold leap toward silencing Down syndrome's extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
17•amichail•1h ago•13 comments

Dependency cooldowns turn you into a free-rider

https://calpaterson.com/deps.html
175•pabs3•15h ago•111 comments

Elevated errors on Claude.ai, API, Claude Code

https://claudestatus.com/
213•redm•3h ago•197 comments

MIT Radiation Laboratory

https://www.ll.mit.edu/about/history/mit-radiation-laboratory
39•stmw•3d ago•9 comments

Not all elementary functions can be expressed with exp-minus-log

https://www.stylewarning.com/posts/not-all-elementary/
127•mmastrac•15h ago•106 comments

New Modern Greek

https://redas.dev/NewModernGreek/
10•holoflash•3d ago•19 comments