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?

Mercedes‑Benz starts large‑scale production of electric axial flux motor

https://media.mercedes-benz.com/en/article/bebac2af-acdc-465a-9538-adb0bf3d8ccf
145•raffael_de•3h ago•64 comments

macOS Container Machines

https://github.com/apple/container/blob/main/docs/container-machine.md
833•timsneath•11h ago•305 comments

Claude Fable 5

https://www.anthropic.com/news/claude-fable-5-mythos-5
2291•Philpax•18h ago•1783 comments

Port React Compiler to Rust

https://github.com/react/react/pull/36173
59•boudra•2h ago•31 comments

AWS Bedrock to require sharing data with Anthropic for Mythos and future models

109•TomAnthony•3h ago•48 comments

Upcoming breaking changes for npm v12

https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
392•plasma•14h ago•155 comments

Notepad++ Zero-Click RCE via Path Traversal (CVE-2026-52884)

https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-p58x-r3c9-x9p6
10•ringzeropirate•2h ago•2 comments

Reviving Papers with Code

https://paperswithcode.co/
45•nielz_r•2d ago•11 comments

Rich Sutton on AI creativity and discovery

https://twitter.com/RichardSSutton/status/2061216087744946656
134•yimby•9h ago•69 comments

German ruling declares Google liable for false answers in AI Overviews

https://the-decoder.com/landmark-german-ruling-declares-googles-ai-overviews-are-googles-own-word...
630•ahlCVA•9h ago•361 comments

RIP software hackathons. Long live the hardware hackathon

https://blog.oscars.dev/posts/rip-software-hackathons-long-live-the-hardware-hackathon/
193•ozcap•12h ago•92 comments

Ultrafast machine learning on FPGAs via Kolmogorov-Arnold Networks

https://aarushgupta.io/posts/kan-fpga/
235•ag2718•16h ago•35 comments

What it feels like to work with Mythos

https://www.oneusefulthing.org/p/what-it-feels-like-to-work-with-mythos
295•swolpers•18h ago•245 comments

Surprise, Pay $1000

https://forestwalk.ai/blog/surprise-blacksmith-costs/
194•apike•13h ago•75 comments

The oldest surviving animated feature film at 100

https://www.bbc.com/culture/article/20260603-how-a-26-year-old-german-woman-made-the-worlds-oldes...
116•1659447091•3d ago•16 comments

Magnetoelectric antennas could transform how underwater robots talk

https://newatlas.com/engineering/magnetoelectric-antennas-submarine-robots-communications/
10•breve•3d ago•5 comments

I Thought I Knew How Electrolysis Worked [video]

https://www.youtube.com/watch?v=eq7fR9ISuCw
41•tambourine_man•4d ago•2 comments

More Molly Guards

https://unsung.aresluna.org/more-molly-guards/
140•zdw•3d ago•17 comments

Hacking for Defense Stanford 2026 – Lessons Learned Presentations

https://steveblank.com/2026/06/08/g-for-defense-stanford-2026-lessons-learned-presentations/
3•sblank•1d ago•0 comments

OpenCV 5 Is Here: The Biggest Leap in Years for Computer Vision

https://opencv.org/opencv-5/
772•ternaus•4d ago•139 comments

If Claude Fable stops helping you, you'll never know

https://jonready.com/blog/posts/claude-fable5-is-allowed-to-sabotage-your-app-if-youre-a-competit...
853•mips_avatar•14h ago•415 comments

Show HN: macOS menu bar gauges for your Claude Code quota

https://github.com/grzegorz-raczek-unit8/claude-quota
4•grzracz•1h ago•4 comments

Vibe coding my way to a healthy family: Introducing Gamow Labs

https://www.ddmckinnon.com/2026/06/09/vibe-coding-my-way-to-a-healthy-family-introducing-gamow-labs/
143•dmckinno•8h ago•71 comments

Lies we tell ourselves about email addresses

https://gitpush--force.com/commits/2026/06/lies-we-tell-ourselves-about-email/
130•theanonymousone•1d ago•123 comments

Premature Optimization Is Fun Sometimes

https://invlpg.com/posts/2025-06-19-premature-optimization.html
42•throawayonthe•2d ago•11 comments

CEOs who think AI replaces their employees are just bad CEOs

https://www.techdirt.com/2026/06/09/ceos-who-think-ai-replaces-their-employees-are-just-bad-ceos/
704•speckx•16h ago•254 comments

Grit: Rewriting Git in Rust with agents

https://blog.gitbutler.com/true-grit
152•cbrewster•15h ago•223 comments

A giant star may have destroyed itself in one of the rarest explosions

https://phys.org/news/2026-05-giant-star-destroyed-universe-rarest.html
191•wglb•1d ago•29 comments

Test-case reducers are underappreciated debugging tools

https://tratt.net/laurie/blog/2026/test_case_reducers_are_underappreciated_debugging_tools.html
127•ltratt•1d ago•15 comments

Making Graphics Like it's 1993

https://staniks.github.io/articles/catlantean-3d-blog-1/
878•sklopec•1d ago•147 comments