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?

Claude Sonnet 5

https://www.anthropic.com/news/claude-sonnet-5
969•marinesebastian•10h ago•547 comments

Claude Code is steganographically marking requests

https://thereallo.dev/blog/claude-code-prompt-steganography
1557•kirushik•12h ago•449 comments

Google copybara: moving code between repositories

https://github.com/google/copybara
119•reconnecting•4h ago•17 comments

Supersonic flight returning to US after half-century ban

https://www.forbes.com/sites/suzannerowankelleher/2026/06/30/faa-supersonic-flight-no-boom/
33•lobbly•2h ago•20 comments

Forestiere Underground Gardens

https://en.wikipedia.org/wiki/Forestiere_Underground_Gardens
34•onemoresoop•3h ago•4 comments

Department of Commerce has lifted export controls on Claude Fable 5 and Mythos 5

https://twitter.com/AnthropicAI/status/2072106151890809341
412•Pragmata•4h ago•198 comments

Claude Science

https://claude.com/product/claude-science
398•lebovic•11h ago•128 comments

Nano Banana 2 Lite

https://deepmind.google/models/gemini-image/flash-lite/
330•minimaxir•11h ago•131 comments

How does a pull-back car work? Illustrated teardown

https://mechanical-pencil.com/products/car
132•Muhammad523•2d ago•28 comments

From brain waves to words: a new path to communication without surgery

https://ai.meta.com/blog/brain2qwerty-brain-ai-human-communication/?_fb_noscript=1
125•alok-g•6h ago•70 comments

Leanstral 1.5

https://docs.mistral.ai/models/model-cards/leanstral-1-5-26-06
127•vetronauta•7h ago•30 comments

CERN bids farewell to the LHC and enters Long Shutdown 3

https://home.cern/cern-bids-farewell-to-the-lhc-and-enters-long-shutdown-3/
156•HelloUsername•1d ago•36 comments

Hatari – Online Atari ST/STE/TT/Falcon Emulator

https://hatari.frama.io/hatari/online/hatari.html
44•gregsadetsky•5h ago•4 comments

Deriving the SVD (Single Value Decomposition) from scratch

https://stillthinking.net/posts/connections-in-math-svd/
22•pcael•2d ago•4 comments

I ported Kubernetes to the browser

https://ngrok.com/blog/i-ported-kubernetes-to-the-browser
196•peterdemin•7h ago•65 comments

Scaling Laws, Carefully

https://lilianweng.github.io/posts/2026-06-24-scaling-laws/
36•tehnub•4d ago•11 comments

Ante: A new way to blend borrow checking and reference counting

https://verdagon.dev/blog/ante-blending-borrowing-rc
63•g0xA52A2A•2d ago•15 comments

I built a mmWave material classification radar (2025)

https://gauthier-lechevalier.com/radar
156•GL26•10h ago•39 comments

Tokyo has only two barley tea makers, we visited one to see how mugicha is made

https://soranews24.com/2026/06/30/tokyo-has-only-two-barley-tea-makers-and-we-visited-one-to-see-...
98•zdw•8h ago•20 comments

Segmenting Robot Video into Actionable Subtasks

https://macrodata.co/blog/annotating-robot-video-subtasks
4•tomaspduarte•1d ago•0 comments

Stroustrup's Rule (2024)

https://buttondown.com/hillelwayne/archive/stroustrups-rule/
70•bmacho•3d ago•10 comments

TabFM: A zero-shot foundation model for tabular data

https://research.google/blog/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data/
54•brandonb•6h ago•6 comments

Building a custom octocopter from scratch with no prior hardware experience

https://karolina.mgdubiel.com/drone/
338•noleary•3d ago•71 comments

Structural Correctness

https://blog.sao.dev/structural-correctness/
14•stuartaxelowen•1d ago•0 comments

Long Island's decommissioned nuclear power plant

https://nickcarr.com/scouting-a-decommissioned-nuclear-power-plant/
100•mkmk•6d ago•34 comments

Americans see their country's past, present and future

https://www.economist.com/graphic-detail/2026/06/29/how-americans-see-their-countrys-past-present...
9•andsoitis•3h ago•2 comments

Have you restarted your computer this week?

https://taonaw.com/2026/06/27/have-you-restarted-your-computer.html
133•surprisetalk•14h ago•239 comments

Show HN: My 13-year-old built an ant colony tracker

https://formicarium.es
54•abelgvidal•11h ago•38 comments

Knoppix

https://www.knopper.net/knoppix/index-en.html
274•hoangvmpc•15h ago•107 comments

Reading the internals of Postgres: Database cluster, databases, and tables

https://www.buraksen.dev/articles/internals-of-postgresql-db-cluster-and-tables
65•buraksen•1d ago•1 comments