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?

Opus 4.7 to 4.6 Inflation is ~45%

https://tokens.billchambers.me/leaderboard
129•anabranch•1h ago•119 comments

The electromechanical angle computer inside the B-52 bomber's star tracker

https://www.righto.com/2026/04/B-52-star-tracker-angle-computer.html
34•NelsonMinar•1h ago•8 comments

Migrating from DigitalOcean to Hetzner

https://isayeter.com/posts/digitalocean-to-hetzner-migration/
440•yusufusta•4h ago•244 comments

State of Kdenlive

https://kdenlive.org/news/2026/state-2026/
223•f_r_d•6h ago•79 comments

Fuzix OS

https://www.fuzix.org/
27•DeathArrow•2h ago•8 comments

Sumida Aquarium Posts 2026 Penguin Relationship Chart, with Drama and Breakups

https://www.sumida-aquarium.com/special/sokanzu/en/2026/
86•Lwrless•2d ago•5 comments

Scientists discover "cleaner ants" that groom giant ants in Arizona desert

https://www.sciencedaily.com/releases/2026/04/260414075641.htm
20•t-3•2d ago•1 comments

UpCodes (YC S17) Is Hiring SDRs to Help Make Construction More Productive

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•46m ago

Show HN: MDV – a Markdown superset for docs, dashboards, and slides with data

https://github.com/drasimwagan/mdv
16•drasim•2h ago•5 comments

Michael Rabin has died

https://en.wikipedia.org/wiki/Michael_O._Rabin
299•tkhattra•2d ago•57 comments

80386 Memory Pipeline

https://nand2mario.github.io/posts/2026/80386_memory_pipeline/
33•wicket•4d ago•4 comments

Amiga Graphics Archive

https://amiga.lychesis.net/
193•sph•11h ago•51 comments

Claude Design

https://www.anthropic.com/news/claude-design-anthropic-labs
1155•meetpateltech•1d ago•730 comments

Category Theory Illustrated – Orders

https://abuseofnotation.github.io/category-theory-illustrated/04_order/
179•boris_m•11h ago•53 comments

Why Japan has such good railways

https://worksinprogress.co/issue/why-japan-has-such-good-railways/
195•RickJWagner•5h ago•204 comments

It's OK to compare floating-points for equality

https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html
126•coinfused•4d ago•87 comments

Amazon is discontinuing Kindle for PC on June 30th

https://goodereader.com/blog/kindle/amazon-is-discontinuing-kindle-for-pc-on-june-30th
70•tech234a•1h ago•57 comments

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

https://victorpoughon.github.io/interval-calculator/
255•fouronnes3•16h ago•48 comments

Understanding the FFT Algorithm (2013)

https://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/
7•peter_d_sherman•3d ago•0 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
665•aray07•1d ago•469 comments

A Dumb Introduction to Z3 (2025)

https://ar-ms.me/thoughts/a-gentle-introduction-to-z3/
44•y1n0•4d ago•20 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
419•cybermango•23h ago•235 comments

I’m spending months coding the old way

https://miguelconner.substack.com/p/im-coding-by-hand
303•evakhoury•1d ago•290 comments

The quiet disappearance of the free-range childhood

https://bigthink.com/mind-behavior/the-quiet-disappearance-of-the-free-range-childhood/
91•sylvainkalache•6h ago•102 comments

Towards trust in Emacs

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

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
103•azhenley•2d ago•12 comments

The USDA's gardening zones have shifted. (Interactive app and map)

https://apps.npr.org/plant-hardiness-garden-map/
18•nuke-web3•1h ago•1 comments

Brunost: The Nynorsk Programming Language

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

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

https://www.tobyord.com/writing/hourly-costs-for-ai-agents
277•louiereederson•3d ago•109 comments

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

https://github.com/smol-machines/smolvm
412•binsquare•1d ago•127 comments