frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Cybersecurity researchers aren't happy about the guardrails on Anthropic's Fable

https://techcrunch.com/2026/06/10/cybersecurity-researchers-arent-happy-about-the-guardrails-on-a...
110•speckx•7h ago•93 comments

πFS

https://github.com/philipl/pifs
463•helterskelter•5h ago•117 comments

A Written Language for the Cherokee So Efficient It Was Thought to Be Magic

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
55•grahambargeron•2h ago•31 comments

Raspberry Pi 5 – 16GB RAM

https://www.adafruit.com/product/6125?src=raspberrypi
136•akman•4h ago•160 comments

Anthropic requires 30 day data retention for Fable and Mythos

https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models
119•lebovic•1d ago•51 comments

Aws.com and google.com don't have DNSSEC enabled

https://gist.github.com/acetousk/3c17d2aefde9175ffef21a8ec4673053
8•moquilabs•13m ago•2 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
159•pseudolus•6h ago•34 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

495•eries•9h ago•401 comments

What is it like to be a bat? (1974) [pdf]

https://www.sas.upenn.edu/~cavitch/pdf-library/Nagel_Bat.pdf
52•shadow28•3h ago•46 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
139•idlewords•1d ago•23 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
365•levkk•10h ago•185 comments

GeoLibre 1.0

https://geolibre.app/
131•jonbaer•6h ago•8 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
130•kbyatnal•8h ago•30 comments

Deficient executive control in transformer attention

https://academic.oup.com/pnasnexus/article/5/6/pgag149/8698838
5•derbOac•36m ago•2 comments

World Capitals Voronoi

https://www.jasondavies.com/maps/voronoi/capitals/
25•vincnetas•2d ago•12 comments

Farmer donates land for a park, city sells it for $10M as data center land

https://www.tomshardware.com/tech-industry/farmer-donates-land-for-a-park-city-sells-it-for-data-...
351•maxloh•5h ago•153 comments

Who's the smartest corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
55•NaOH•1d ago•48 comments

Show HN: HelixDB – A graph database built on object storage

https://github.com/HelixDB/helix-db/tree/main
85•GeorgeCurtis•8h ago•30 comments

Unix GC Remastered

https://mohandacherir.github.io/Qdiv7/posts/unix_new_gc/
7•mananaysiempre•1h ago•0 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
969•edent•11h ago•444 comments

Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use

https://github.com/anthropics/claude-code/issues/29045
322•tonyrice•6h ago•228 comments

Authentication issues related to API requests

https://www.githubstatus.com/incidents/fcj3088jg1wx
152•Multicomp•8h ago•30 comments

Apache Burr: Build reliable AI agents and applications

https://burr.apache.org/
168•anhldbk•9h ago•88 comments

Why are there so many canines in fine art?

https://www.theatlantic.com/magazine/2026/07/the-dogs-gaze-thomas-w-laqueur/687312/
7•prismatic•3d ago•5 comments

Anthropic's model naming, extrapolated

https://samwilkinson.io/posts/2026-06-09-anthropics-model-naming-extrapolated
268•sammycdubs•5h ago•74 comments

All 9,300 Japanese train station, animated by the year it opened (1872–2026)

https://jivx.com/eki
183•momentmaker•11h ago•65 comments

Smudging the game disc to make speedrunning 'SpongeBob' faster

https://www.inverse.com/input/gaming/the-dirty-secret-that-makes-speedrunning-on-spongebob-a-lot-...
68•pncnmnp•21h ago•40 comments

Policy on the AI Exponential

https://darioamodei.com/post/policy-on-the-ai-exponential
122•yjp20•5h ago•181 comments

Show HN: Atlasphere – Live Infrastructure Diagrams

20•andreygrehov•1d ago•7 comments

A €0.01 bank transfer could compromise a banking AI agent

https://blue41.com/blog/how-we-helped-bunq-secure-their-financial-ai-assistant/
159•tvissers•10h ago•148 comments