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?

Elevators

https://john.fun/elevators
543•Jrh0203•4h ago•153 comments

qm

https://github.com/yc-software/qm
92•tosh•1h ago•31 comments

Big Food vs. the People

https://www.lighthousereports.com/investigation/big-food-vs-the-people/
115•jruohonen•3h ago•72 comments

Tailscale didn't stop the Hugging Face intrusion

https://tailscale.com/blog/hugging-face-intrusion
23•bluehatbrit•21m ago•7 comments

Termixer (TUI DJ Mixer)

https://github.com/l00sed/termixer
16•l00sed•56m ago•4 comments

Getting 25 Gbps Thunderbolt Ethernet on My Mac Studio

https://www.jeffgeerling.com/blog/2026/getting-25g-ethernet-mac-thunderbolt/
73•speckx•3h ago•44 comments

AI companies destroy rare and non recoverable physical books

https://www.heraldscotland.com/opinion/26422014.library-alexandria-burns-ai-companies-destroying-...
10•DoddgyEggplant•22m ago•0 comments

Algorithms on billion-scale graph using 10GB RAM: I love DataFusion

https://semyonsinchenko.github.io/ssinchenko/post/datafusion-graphs-cc-2/
57•speckx•3h ago•15 comments

Everyone is building LLM routers, we deprecated ours

https://manifest.build/blog/why-we-deprecated-our-llm-router/
15•brunaxLorax•1h ago•3 comments

DeepSeek V4 Flash 0731 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/deepseek-v4-flash
461•theanonymousone•11h ago•249 comments

Miso (YC S16) is hiring for U.S. expansion

https://www.ycombinator.com/companies/miso/jobs/g2uAlMG-founding-business-lead-u-s-expansion
1•victorology•2h ago

DeepSeek-V4-Flash Update

https://api-docs.deepseek.com/updates/
611•dnhkng•13h ago•295 comments

The most official water costs $120k a gallon

https://signoregalilei.com/2026/07/26/the-most-official-water-costs-120000-a-gallon/
73•surprisetalk•4h ago•43 comments

Severance

https://lcamtuf.substack.com/p/severance
21•surprisetalk•2h ago•1 comments

Orca-Bench: How Ready Are Language Model Agents for Oncall?

https://arxiv.org/abs/2607.28545
6•yruzin•52m ago•2 comments

Run Kimi K3 using 29 GB of RAM at 0.50 tok/s

https://github.com/sqliteai/waste
60•marcobambini•5h ago•16 comments

A GTK4 SSH-askpass in Zig

https://xn--gckvb8fzb.com/a-gtk4-ssh-askpass-in-zig/
45•surprisetalk•3h ago•15 comments

How JPEG works: Interactively explore JPEG's lossy compression methods

https://cgjennings.ca/articles/jpeg-compression/
42•at1as•4d ago•3 comments

AFC Stands in Solidarity with UEFA and Concacaf to Protect the FIFA World Cup

https://www.the-afc.com/en/more/afc_news.html/news/afc-stands-in-solidarity-with-uefa-and-concaca...
18•smokeeaasd•1h ago•1 comments

Using the railway network as a flatbed scanner [video]

https://media.ccc.de/v/emf2026-74-1-using-the-railway-network-as-a-flatbed-scanner
6•Jimmc414•54m ago•0 comments

13 Models and 4 Agents on SWE Tasks: Go, Java, Python, Rust, TS

https://swe-rebench.com
28•ibragim_bad•3h ago•11 comments

The End of an Era

https://hughhowey.com/the-end-of-an-era/
341•harscoat•7h ago•382 comments

The session you cannot take with you

https://earendil.com/posts/session-portability/
708•apitman•15h ago•203 comments

The C ``Clockwise/Spiral Rule''

https://c-faq.com/decl/spiral.anderson.html
48•etrvic•5h ago•33 comments

Anti-fraud tools can't keep pace with robocall scammers

https://broadbandbreakfast.com/how-to-fight-back-against-fraudulent-robocalls/
41•dredmorbius•5h ago•54 comments

The Art of Decision-Making (2019)

https://www.newyorker.com/magazine/2019/01/21/the-art-of-decision-making
26•EndXA•3h ago•2 comments

Making Referential Stability a Type

https://jovidecroock.com/blog/referential-stability-types/
5•acmnrs•4d ago•0 comments

Show HN: BitBang – Reach machines behind NAT from a browser, no account

https://github.com/richlegrand/bitbang-cli
47•narragansett•4h ago•9 comments

Golang proposal: container/: generic collection types

https://github.com/golang/go/issues/80590
5•jabits•44m ago•0 comments

Arch Linux disables AUR package adoption

https://lwn.net/Articles/1086489/
97•database64128•5h ago•68 comments