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?

Claude Design

https://www.anthropic.com/news/claude-design-anthropic-labs
922•meetpateltech•13h ago•607 comments

Towards trust in Emacs

https://eshelyaron.com/posts/2026-04-15-towards-trust-in-emacs.html
54•eshelyaron•2d ago•3 comments

All 12 moonwalkers had "lunar hay fever" from dust smelling like gunpowder (2018)

https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/The_toxic_side_of_the_Moon
278•cybermango•10h ago•159 comments

A simplified model of Fil-C

https://www.corsix.org/content/simplified-model-of-fil-c
133•aw1621107•7h ago•68 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
5•fouronnes3•3h ago•1 comments

Isaac Asimov: The Last Question (1956)

https://hex.ooo/library/last_question.html
670•ColinWright•16h ago•270 comments

Are the costs of AI agents also rising exponentially? (2025)

https://www.tobyord.com/writing/hourly-costs-for-ai-agents
139•louiereederson•2d ago•26 comments

Measuring Claude 4.7's tokenizer costs

https://www.claudecodecamp.com/p/i-measured-claude-4-7-s-new-tokenizer-here-s-what-it-costs-you
567•aray07•13h ago•395 comments

Show HN: Smol machines – subsecond coldstart, portable virtual machines

https://github.com/smol-machines/smolvm
270•binsquare•11h ago•91 comments

Slop Cop

https://awnist.com/slop-cop
120•ericHosick•13h ago•76 comments

NASA Force

https://nasaforce.gov/
247•LorenDB•12h ago•255 comments

Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock

https://github.com/paniclock/paniclock/
155•seanieb•12h ago•64 comments

Landmark ancient-genome study shows surprise acceleration of human evolution

https://www.nature.com/articles/d41586-026-01204-5
60•unsuspecting•6h ago•52 comments

"cat readme.txt" is not safe if you use iTerm2

https://blog.calif.io/p/mad-bugs-even-cat-readmetxt-is-not
130•arkadiyt•9h ago•72 comments

Casus Belli Engineering

https://marcosmagueta.com/blog/casus-belli-engineering/
20•b-man•3h ago•2 comments

Hyperscalers have already outspent most famous US megaprojects

https://twitter.com/finmoorhouse/status/2044933442236776794
158•nowflux•12h ago•127 comments

Middle schooler finds coin from Troy in Berlin

https://www.thehistoryblog.com/archives/75848
216•speckx•13h ago•96 comments

The Unix executable as a Smalltalk method (2025) [video]

https://www.youtube.com/watch?v=sZjPQ7vtLNA
40•surprisetalk•1d ago•2 comments

NIST gives up enriching most CVEs

https://risky.biz/risky-bulletin-nist-gives-up-enriching-most-cves/
187•mooreds•13h ago•41 comments

Introducing: ShaderPad

https://rileyjshaw.com/blog/introducing-shaderpad/
65•evakhoury•2d ago•9 comments

Arc Prize Foundation (YC W26) Is Hiring a Platform Engineer for ARC-AGI-4

https://www.ycombinator.com/companies/arc-prize-foundation/jobs/AKZRZDN-platform-engineer-benchma...
1•gkamradt_•7h ago

Brunost: The Nynorsk Programming Language

https://lindbakk.com/blog/introducing-brunost
5•atomfinger•4d ago•0 comments

Ben Lerner's Big Feelings

https://www.vulture.com/article/ben-lerner-transcription-interview.html
6•prismatic•1d ago•0 comments

Generating a color spectrum for an image

https://amandahinton.com/blog/generating-a-color-spectrum-for-an-image
30•evakhoury•2d ago•4 comments

I built a 3D printing business and ran it for 8 months

https://www.wespiser.com/posts/2026-04-12-3D-Printing-Biz.html
95•wespiser_2018•2d ago•86 comments

Ban the sale of precise geolocation

https://www.lawfaremedia.org/article/it-is-time-to-ban-the-sale-of-precise-geolocation
649•hn_acker•14h ago•168 comments

Show HN: Stage – Putting humans back in control of code review

https://stagereview.app/
106•cpan22•1d ago•95 comments

The GNU libc atanh is correctly rounded

https://inria.hal.science/hal-05591661
61•matt_d•3d ago•13 comments

Healthchecks.io now uses self-hosted object storage

https://blog.healthchecks.io/2026/04/healthchecks-io-now-uses-self-hosted-object-storage/
156•zdw•14h ago•65 comments

Connie Converse was a folk-music genius. Then she vanished

https://www.bbc.com/culture/article/20260413-the-mystery-of-a-missing-folk-music-pioneer
83•mellosouls•2d ago•19 comments