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?

Ghostmoon.app – The Swiss Army Knife for your macOS menu bar

https://www.mgrunwald.com/ghostmoon/
9•mgrunwald_•19m ago•1 comments

The curious case of retro demo scene graphics

https://www.datagubbe.se/aipixels/
220•zdw•6h ago•46 comments

ChatGPT won't let you type until Cloudflare reads your React state

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
714•alberto-m•15h ago•445 comments

I use excalidraw to manage my diagrams for my blog

https://blog.lysk.tech/excalidraw-frame-export/
86•mlysk•4h ago•39 comments

Hamilton-Jacobi-Bellman Equation: Reinforcement Learning and Diffusion Models

https://dani2442.github.io/posts/continuous-rl/
53•sebzuddas•4h ago•15 comments

VHDL's Crown Jewel

https://www.sigasi.com/opinion/jan/vhdls-crown-jewel/
75•cokernel_hacker•7h ago•30 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
566•speckx•19h ago•212 comments

Copilot edited an ad into my PR

https://notes.zachmanson.com/copilot-edited-an-ad-into-my-pr/
698•pavo-etc•7h ago•215 comments

15 Years of Forking

https://www.waterfox.com/blog/15-years-of-forking/
199•MrAlex94•2d ago•35 comments

MCP is great, you're just using it wrong

https://techstackups.com/comparisons/mcp-is-solving-the-wrong-problem/
3•ritzaco•1h ago•0 comments

Ninja is a small build system with a focus on speed

https://github.com/ninja-build/ninja
31•tosh•3d ago•3 comments

Coding agents could make free software matter again

https://www.gjlondon.com/blog/ai-agents-could-make-free-software-matter-again/
206•rogueleaderr•13h ago•192 comments

C++26 is done: ISO C++ standards meeting Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
246•pjmlp•17h ago•221 comments

Douglas Lenat's Automated Mathematician Source Code

https://github.com/white-flame/am
31•hydrolox•4d ago•4 comments

Philly courts will ban all smart eyeglasses starting next week

https://www.inquirer.com/news/philadelphia/smart-glasses-ai-meta-courts-20260326.html
282•Philadelphia•10h ago•108 comments

How A Spartan Revolutionized Baseball

https://msutoday.msu.edu/news/2026/03/spartan-revolutionize-baseball
6•rmason•4d ago•1 comments

Hardware Image Compression

https://www.ludicon.com/castano/blog/2026/03/hardware-image-compression/
31•luu•1d ago•8 comments

My MacBook keyboard is broken and it's insanely expensive to fix

https://tobiasberg.net/posts/my-macbook-keyboard-is-broken-and-its-insanely-expensive-to-fix/
228•TobiasBerg•16h ago•268 comments

Pretext: TypeScript library for multiline text measurement and layout

https://github.com/chenglou/pretext
326•emersonmacro•1d ago•61 comments

When Coupled Volcanoes Talk, These Researchers Listen

https://www.quantamagazine.org/when-coupled-volcanoes-talk-these-researchers-listen-20260327/
9•ibobev•2d ago•0 comments

Eclipse GlassFish: This Isn't Your Father's GlassFish

https://foojay.io/today/eclipse-glassfish-this-isnt-your-fathers-glassfish/
26•henk53•4d ago•18 comments

Midnight train from GA: A view of America from the tracks as airports struggle

https://apnews.com/article/airports-shutdown-long-lines-train-travel-amtrak-e4d8ea591b3b036142c2b...
107•walterbell•15h ago•88 comments

The First Video Game Was Just a Box in the Corner of a Bar

https://lithub.com/the-very-first-video-game-was-just-a-box-in-the-corner-of-a-bar/
11•PaulHoule•3d ago•2 comments

Show HN: The Alphabetical Clock

https://boat.horse/clock/
8•secretdark•4h ago•5 comments

15 years, one server, 8GB RAM and 500k users – how Webminal refuses to die

https://community.webminal.org/t/15-years-one-server-8gb-ram-and-500k-users-how-webminal-refuses-...
136•giis•5h ago•26 comments

The Cognitive Dark Forest

https://ryelang.org/blog/posts/cognitive-dark-forest/
460•kaycebasques•16h ago•202 comments

The road signs that teach travellers about France

https://www.bbc.com/travel/article/20260327-the-road-signs-that-teach-travellers-about-france
123•1659447091•15h ago•54 comments

"Roadrunner": a bipedal, wheeled robot for multi-modal locomotion [video]

https://www.youtube.com/watch?v=9kae-UAME1U
43•surprisetalk•4d ago•19 comments

Interview: Nobonoko, Master of the Minimal Sequencer

https://fi-le.net/nobo/
38•fi-le•2d ago•3 comments

Stripe is down

https://status.stripe.com/
46•tompccs•2h ago•16 comments