frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

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

Best buds on this front

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

Pgbackrest is no longer being maintained

https://github.com/pgbackrest/pgbackrest
50•c0l0•38m ago•6 comments

Flipdiscs

https://flipdisc.io
325•skogstokig•3d ago•56 comments

I bought Friendster for $30k – Here's what I'm doing with it

https://ca98am79.medium.com/i-bought-friendster-for-30k-heres-what-i-m-doing-with-it-d5e8ddb3991d
866•ca98am79•14h ago•436 comments

Fully Featured Audio DSP Firmware for the Raspberry Pi Pico

https://github.com/WeebLabs/DSPi
25•BoingBoomTschak•1d ago•3 comments

AI should elevate your thinking, not replace it

https://www.koshyjohn.com/blog/ai-should-elevate-your-thinking-not-replace-it/
542•koshyjohn•15h ago•397 comments

TurboQuant: A first-principles walkthrough

https://arkaung.github.io/interactive-turboquant/
179•kweezar•9h ago•39 comments

Self-updating screenshots

https://interblah.net/self-updating-screenshots
333•bjhess•1d ago•48 comments

The Prompt API

https://developer.chrome.com/docs/ai/prompt-api
150•gslin•9h ago•82 comments

It's OK to abandon your side-project (2024)

https://robbowen.digital/wrote-about/abandoned-side-projects/
97•hisamafahri•3h ago•44 comments

Rust Memory Management: Ownership vs. Reference Counting

https://slicker.me/rust/ownership_and_borrowing_vs_reference_counting.html
30•vinhnx•2d ago•10 comments

Three constraints before I build anything

https://jordanlord.co.uk/blog/3-constraints/
234•nervous_north•1d ago•40 comments

Fast16: High-precision software sabotage 5 years before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
274•dd23•15h ago•56 comments

Bob Odenkirk would like to remind you that life is a meaningless farce

https://www.nytimes.com/2026/04/25/magazine/bob-odenkirk-interview.html
75•wslh•22h ago•59 comments

When the cheap one is the cool one

https://arun.is/blog/cheap-cool/
136•ddrmaxgt37•1d ago•71 comments

A Guide to CubeSat Mission and Bus Design

https://pressbooks-dev.oer.hawaii.edu/epet302/
38•o4c•1d ago•2 comments

Moleskine's AI Lord of the Rings collection can only mock

https://cjleo.com/blog/moleskine-ai-lord-of-the-rings-collection-can-only-mock/
5•lentil_soup•2h ago•0 comments

SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
316•kmdupree•21h ago•170 comments

Box to save memory in Rust

https://dystroy.org/blog/box-to-save-memory/
138•emschwartz•3d ago•39 comments

Electrostatics and High Voltage Links

http://amasci.com/static/electrostatic1.html
9•ludicrousdispla•3d ago•1 comments

Branimir Lambov from IBM on Cassandra

https://theconsensus.dev/p/2026/04/26/branimir-lambov-from-ibm-on-cassandra.html
3•eatonphil•21h ago•0 comments

Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
417•berkeleyjunk•14h ago•276 comments

Mystery Cpuid Bit

http://www.os2museum.com/wp/mystery-cpuid-bit/
19•userbinator•2d ago•2 comments

FreeBSD Device Drivers Book

https://github.com/ebrandi/FDD-book
93•myth_drannon•12h ago•18 comments

EvanFlow – A TDD driven feedback loop for Claude Code

https://github.com/evanklem/evanflow
76•evanklem2004•9h ago•35 comments

Quirks of Human Anatomy

https://www.sdbonline.org/sites/fly/lewheldquirk/figlegq6.htm
139•gurjeet•2d ago•78 comments

The Mushroom That Makes People Have the Exact Same Hallucination

https://www.vice.com/en/article/meet-the-mushroom-that-make-people-have-the-exact-same-hallucinat...
58•thunderbong•4h ago•40 comments

Magic: The Gathering took me from N2 to Japanese fluency

https://www.tokyodev.com/articles/how-magic-the-gathering-took-me-from-n2-to-japanese-fluency
141•pwim•3d ago•64 comments

An AI agent deleted our production database. The agent's confession is below

https://twitter.com/lifeof_jer/status/2048103471019434248
726•jeremyccrane•19h ago•866 comments

Chernobyl wildlife forty years on

https://www.bbc.com/future/article/20260424-chernobyl-wildlife-forty-years-on
117•reconnecting•15h ago•66 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
216•1659447091•14h ago•68 comments