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?

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
377•advisedwang•7h ago•167 comments

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
291•T-A•7h ago•106 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
78•gregsadetsky•2d ago•9 comments

Sakana Fugu

https://sakana.ai/fugu/
72•Finbarr•3h ago•33 comments

Everything is logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
172•E-Reverance•8h ago•35 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
62•pizlonator•2d ago•13 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
126•amarble•8h ago•75 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
73•dev-experiments•6h ago•14 comments

Danish privacy activist Lars Andersen raided by police

https://twitter.com/LarsAnders1620/status/2068208864747540516#m
38•I_am_tiberius•38m ago•11 comments

Efficient C++ Programming for Modern C++ CPUs, Chapter 4/part 2

https://6it.dev/blog/infographics-operation-costs-in-cpu-clock-cycles-take-2-80736
23•birdculture•2d ago•3 comments

1983 Northern Telecom Commodore Phone

https://www.oldtelephoneroom.ca/1983-northern-telecom-commodore-phone/
38•arexxbifs•4h ago•10 comments

How I play video games with spinal muscular atrophy

https://www.openassistivetech.org/how-i-actually-play-video-games-with-sma-the-tools-i-use-every-...
75•dannyobrien•3d ago•11 comments

Identity verification on Claude

https://support.claude.com/en/articles/14328960-identity-verification-on-claude
662•bathory•16h ago•560 comments

JSON-LD explained for personal websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
188•ethanhawksley•10h ago•56 comments

Beyond All Reason (Free Total Annihilation Inspired RTS)

https://www.beyondallreason.info
460•mosiuerbarso•17h ago•270 comments

PowerFox Browser

https://powerfox.jazzzny.me/
103•thisislife2•8h ago•30 comments

Japanese verb conjugation the simple hard way

https://underreacted.leaflet.pub/3mmevu6woys27
59•valzevul•6h ago•81 comments

Minecraft: Java Edition 26.2, the first version with Vulkan 1.2

https://www.minecraft.net/en-us/article/minecraft-java-edition-26-2
105•ObviouslyFlamer•4d ago•32 comments

Show HN: HN Game Stories – mini-documentary of games that hit the front page

https://video.intellios.ai
8•coolwulf•1d ago•0 comments

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
87•paytonjjones•16h ago•57 comments

Prefer duplication over the wrong abstraction (2016)

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
449•rafaepta•13h ago•305 comments

Rent collections are down in New York

https://www.politico.com/news/2026/06/21/rent-collections-are-down-in-new-york-and-no-ones-sure-w...
60•JumpCrisscross•7h ago•186 comments

HPV jabs cut risk of dying from cervical cancer before 30 to almost zero

https://www.theguardian.com/society/2026/jun/17/hpv-jabs-reduce-risk-dying-cervical-cancer-before...
228•toomuchtodo•4d ago•135 comments

The minimum viable unit of saleable software

https://brandur.org/minimum-viable-unit
146•brandur•12h ago•56 comments

Show HN: Recall – Local project memory for Claude Code

https://github.com/raiyanyahya/recall
95•mateenah•8h ago•61 comments

Architecting a Conversion Engine in Swift

https://blog.minimal.app/conversion-engine/
18•arthurofbabylon•4d ago•4 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
72•olievans•1d ago•15 comments

FDA advisors unanimously vote to approve Moderna's mRNA after agency drama

https://arstechnica.com/health/2026/06/fda-advisors-unanimously-vote-to-approve-modernas-mrna-aft...
157•worik•7h ago•84 comments

(How to Write a (Lisp) Interpreter (In Python)) (2010)

https://norvig.com/lispy.html
172•tosh•13h ago•56 comments

Wildcard (YC W25) is hiring an applied ML engineer

https://www.ycombinator.com/companies/wildcard/jobs/SEmo4di-founding-applied-ml-engineer
1•kaushikmahorker•12h ago