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?

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
23•paulmooreparks•18m ago•0 comments

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
892•lwhsiao•9h ago•171 comments

Banned Book Library in a Wi-Fi Smart Light Bulb

https://www.richardosgood.com/posts/banned-book-library/
253•sohkamyung•6h ago•118 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
1041•chadfowler•13h ago•304 comments

Microsoft turns to AWS as GitHub faces AI capacity crunch

https://runtimewire.com/article/microsoft-github-aws-ai-capacity-crunch
138•ilreb•2h ago•56 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
685•tinywind•12h ago•144 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

800•cloudking•14h ago•380 comments

I Hacked into the Worst E-Bike and Fixed It [video]

https://www.youtube.com/watch?v=hPrtVGimBYs
31•alexis-d•5d ago•9 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
181•speckx•8h ago•110 comments

Why I email complete strangers

https://www.goodinternetmagazine.com/why-i-email-complete-strangers/
109•karakoram•7h ago•51 comments

Cohere's First Model for Developers

https://cohere.com/blog/north-mini-code
50•hmokiguess•4d ago•12 comments

The 90-year-old idea behind JEPA models: Canonical Correlation Analysis

https://shonczinner.github.io/posts/embedding-prediction/
26•Anon84•4d ago•6 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
77•thelonelyborg•4h ago•62 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
274•rsgm•13h ago•51 comments

Peopleless economy? Not technically impossible

https://gmalandrakis.com/writings/ad-economicum.html
129•l0new0lf-G•7h ago•247 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
372•tuhtah•15h ago•527 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
301•thm•16h ago•383 comments

What every coder should know about Gamma Correction

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
82•sph•2d ago•24 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

51•PrimalNick•12h ago•55 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
295•colesantiago•16h ago•218 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
270•bookofjoe•14h ago•101 comments

Reviews have become expensive, rewrites have become cheap

http://ishmeetbindra.com/posts/reviews-have-become-expensive-rewrites-have-become-cheap/
39•arzh2•4h ago•34 comments

Game Engine White Papers Commander Keen

https://forgottenbytes.net/commander_keen.html
179•mfiguiere•11h ago•58 comments

US battery manufacturing output continues to break records

https://fred.stlouisfed.org/series/IPG33591S
187•epistasis•8h ago•156 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
133•lkanwoqwp•11h ago•15 comments

What job interviews taught me about Kubernetes

https://notnotp.com/notes/what-job-interviews-taught-me-about-kubernetes/
127•chmaynard•8h ago•97 comments

Show HN: Veterinarian turned founder, AI lawn diagnosis

https://grassdx.com/
47•andrewbr•11h ago•49 comments

Claude Corps

https://www.anthropic.com/news/claude-corps
106•Mustan•11h ago•69 comments

Show HN: Fata – Spaced repetition to fight skill rot from AI coding

https://fata.dev
91•djoume•4d ago•49 comments

How memory safety CVEs differ between Rust and C/C++

https://kobzol.github.io/rust/2026/06/15/how-memory-safety-cves-differ-between-rust-and-c-cpp.html
124•nicoburns•12h ago•126 comments