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?

Running local models is good now

https://vickiboykis.com/2026/06/15/running-local-models-is-good-now/
600•jfb•4h ago•280 comments

Claude: Elevated errors across many models

https://status.claude.com/incidents/xmhsglsz3h3w
114•forks•1h ago•87 comments

SpaceX to buy Cursor for $60B

https://www.reuters.com/legal/transactional/spacex-buy-anysphere-60-billion-2026-06-16/
548•itsmarcelg•8h ago•927 comments

TIL: You can make HTTP requests without curl using Bash /dev/TCP

https://mareksuppa.com/til/bash-dev-tcp-http-without-curl/
84•mrshu•2h ago•46 comments

Mechanical Watch (2022)

https://ciechanow.ski/mechanical-watch/
528•razin•7h ago•98 comments

GPT‑NL: a sovereign language model for the Netherlands

https://www.tno.nl/en/digital/artificial-intelligence/gpt-nl/
22•root-parent•57m ago•6 comments

But yak shaving is fun

https://parksb.github.io/en/article/32.html
108•parksb•4h ago•26 comments

Calvin and Hobbes and the price of integrity

https://therepublicofletters.substack.com/p/calvin-and-hobbes-and-the-price-of
26•pseudolus•3h ago•8 comments

Making ast.walk 220x Faster

https://reflex.dev/blog/why-ast-walk-when-you-can-ast-sprint/
45•palashawas•2h ago•9 comments

SubQ 1.1 Small

https://subq.ai/subq-1-1-small-technical-report
75•EDM115•4h ago•34 comments

10Gb/s Ethernet: switching to a Broadcom SFP+ module

https://www.gilesthomas.com/2026/06/10g-ethernet-switching-to-broadcom-sfp-plus
19•gpjt•1h ago•10 comments

Apple's weird anti-nausea dots cured my car sickness

https://www.theverge.com/tech/942854/apple-vehicle-motion-cues-review-really-work
226•neilfrndes•2h ago•77 comments

Correlated randomness in Slay the Spire 2

https://tck.mn/blog/correlated-randomness-sts2/
229•rdmuser•9h ago•73 comments

I admire Fabrice Bellard. He is almost certainly a better overall programmer

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
767•apitman•13h ago•366 comments

Why is Meta destroying its engineering organization?

https://newsletter.pragmaticengineer.com/p/why-is-meta-destroying-its-engineering
140•throwarayes•2h ago•80 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/
24•nextos•4d ago•1 comments

After AI Takes Everything

https://ursb.me/en/posts/after-ai-takes-everything/
63•speckx•3h ago•55 comments

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

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
452•paulmooreparks•14h ago•146 comments

Qwen-Robot Suite: A Foundation Model Suite for Physical World Intelligence

https://qwen.ai/blog?id=qwen-robotsuite
56•ilreb•5h ago•5 comments

Stop Using JWTs

https://gist.github.com/samsch/0d1f3d3b4745d778f78b230cf6061452
25•dzonga•2h ago•15 comments

Cooling at the Speed of Light

https://cacm.acm.org/news/cooling-at-the-speed-of-light/
10•sohkamyung•3d ago•1 comments

The octopus architecture for AI agents

https://blog.goodman.dev/blog/octopus-agent-architecture/
11•joshbetz•1h ago•2 comments

An interview with an Apple emoji designer

https://shadycharacters.co.uk/2026/06/ollie-wagner/
73•nate•3d ago•36 comments

'Ghost jobs' could soon be illegal in New York

https://www.fastcompany.com/91558427/ghost-jobs-could-soon-be-illegal-in-new-york
54•toomuchtodo•1h ago•23 comments

Has AI already killed self-help nonfiction books?

https://tim.blog/2026/06/12/has-ai-already-killed-nonfiction/
7•imakwana•1h ago•3 comments

Specs Augmented Reality Glasses

https://newsroom.snap.com/introducing-specs-augmented-reality-glasses
24•haberdasher•1h ago•12 comments

Getting Creative with Perlin Noise Fields

https://sighack.com/post/getting-creative-with-perlin-noise-fields
132•0x000xca0xfe•2d ago•21 comments

Unicorn – The Ultimate CPU Emulator

https://www.unicorn-engine.org/
69•tosh•7h ago•19 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
130•california-og•14h ago•21 comments

Feds freaked over Fable 5 after 'fix this code', not jailbreak, say researchers

https://www.theregister.com/security/2026/06/15/feds-freaked-over-fable-5-after-simple-fix-this-c...
494•_tk_•9h ago•295 comments