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?

JEP 401: Value Objects (Preview) merged to OpenJDK master

https://github.com/openjdk/jdk/pull/31120
45•mfiguiere•2h ago•13 comments

The session you cannot take with you

https://earendil.com/posts/session-portability/
154•apitman•3h ago•22 comments

Stacked PRs are now live on GitHub

https://github.blog/changelog/2026-07-30-stacked-pull-requests-are-now-in-public-preview/
597•tomzorz•14h ago•200 comments

Where USB Memory Sticks are Born (2013)

https://www.bunniestudios.com/blog/2013/where-usb-memory-sticks-are-born/
35•jacquesm•3d ago•2 comments

I flagged two research papers for fake authors and both were accepted as orals

https://geospatialml.com/posts/reviewing-ai-slop/
162•volumes94•8h ago•66 comments

Gemini Robotics 2 brings whole body intelligence to robots

https://deepmind.google/blog/gemini-robotics-2-brings-whole-body-intelligence-to-robots/
538•ai2027•16h ago•431 comments

Show HN: What should the GUI for AI agents look like?

https://marbleos.com/demo
16•akbabu•2h ago•4 comments

The mean means nothing: data visualization to debug a latency problem

https://fzakaria.com/2026/07/27/the-mean-means-nothing
15•fanf2•1d ago•0 comments

DeepSeek-V4-Flash Update

https://api-docs.deepseek.com/updates/
52•dnhkng•1h ago•20 comments

The Religion of Speed

https://graybeard.ing/the-religion-of-speed/
101•MobiusHorizons•7h ago•39 comments

Read this before you buy that TV streaming stick

https://krebsonsecurity.com/2026/07/read-this-before-you-buy-that-tv-streaming-stick/
682•speckx•14h ago•388 comments

The AI Aesthetic

https://blog.jim-nielsen.com/2026/ai-aesthetic/
279•montroser•7h ago•119 comments

Physicists Solve a Muon Mystery. Now, Old Results Don't Add Up

https://www.quantamagazine.org/physicists-solve-a-muon-mystery-now-old-results-dont-add-up-20260729/
204•ibobev•15h ago•121 comments

Rune 1.1: adds Python, an Emacs editor, a symbol index and is now free

https://rune.build/blog/rune-1-1-release
77•ernestrc•9h ago•25 comments

The Economic Benefit of Refactoring

https://martinfowler.com/articles/exploring-gen-ai/refactoring-economic-benefit.html
230•javaeeeee•16h ago•93 comments

CodePen 2.0

https://chriscoyier.net/2026/07/30/codepen-2-0/
159•robin_reala•13h ago•45 comments

The American Grilled Cheese Sandwich Essay (2024)

https://buttondown.com/theswordandthesandwich/archive/the-best-american-grilled-cheese-sandwich-e...
42•NaOH•3d ago•33 comments

Bad Apple but It's Traceroute

https://jssfr.de/2026-07-27-bad-apple-but-traceroute.html
95•jssfr•3d ago•24 comments

Show HN: Gander, an Android file viewer that asks for no permissions at all

https://github.com/mokshablr/gander
6•mokshablr•1h ago•3 comments

UEFA and its national associations will not participate in FIFA competitions

https://www.uefa.com/news-media/news/02a7-213a92896eb0-54dfbf454e3b-1000--statement-on-behalf-of-...
950•dickfickling•12h ago•518 comments

Memo-1: A 6502 computer built from scratch, using a Minitel as its terminal

https://github.com/MemoireMorte/Memo-1
69•sciences44•2d ago•7 comments

GCC steering committee announces AI policy

https://lwn.net/Articles/1086041/
277•arto•19h ago•308 comments

Investigating three real-world incidents in our cybersecurity evaluations

https://www.anthropic.com/news/investigating-incidents-cybersecurity-evals
166•surprisetalk•8h ago•126 comments

Saber-toothed cats became inbred–and struggled to move–before they went extinct

https://www.science.org/content/article/saber-toothed-cats-became-inbred-and-struggled-move-they-...
49•gmays•9h ago•16 comments

Simulating TCP loss and congestion in browser using Go/WASM

https://ccsim.fly.dev
4•dilyevsky•2d ago•0 comments

The lost civic life of movie rental stores

https://thereader.mitpress.mit.edu/the-lost-civic-life-of-movie-rental-stores/
159•facundo_olano•17h ago•211 comments

Show HN: Distilling DeepSeek into GPT-OSS doesn't transfer censorship. Try it

https://www.ctgt.ai/research/distillation-censorship-transfer
115•cgorlla•13h ago•63 comments

Advancing the price-performance frontier with GPT‑5.6

https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/
555•tedsanders•14h ago•364 comments

Show HN: Kedge – Full-stack cloud with forkable VM snapshots and global SQLite

https://kedge.dev/
105•wgjordan•1d ago•20 comments

Why is everyone trying to build a solid-state battery?

https://www.construction-physics.com/p/why-is-everyone-trying-to-build-a
186•crescit_eundo•18h ago•238 comments