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?

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
181•kensai•3h ago•24 comments

Flux 3

https://bfl.ai/blog/flux-3
414•ThouYS•7h ago•102 comments

Em dashes are fucking amazing

https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing
19•surprisetalk•40m ago•4 comments

It's getting harder to focus every day

https://glyphack.com/attention/
260•peykar•5h ago•133 comments

The case for MUDs in modern times

https://www.andrewzigler.com/feed/the-case-for-muds-in-modern-times
35•bw86•1h ago•34 comments

I Tried Building a Real App with AI. It Took a Year

https://www.alexhyett.com/videos/tried-building-app-with-ai-it-took-a-year/
19•surprisetalk•1h ago•10 comments

My security camera shipped a GitHub admin token in its login page

https://hhh.hn/hanwha-github-token/
11•hhh•1h ago•4 comments

Buz – A fork of Bun using modern Zig, with sub-1s incremental builds

https://ziggit.dev/t/buz-a-drop-in-replacement-for-bun-using-modern-zig-with-sub-1s-incremental-b...
91•kristoff_it•3h ago•60 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
22•sohkamyung•4d ago•2 comments

IRGC Claims It Destroyed Amazon's Bahrain Data Center

https://houseofsaud.com/irgc-claims-destroyed-amazon-bahrain-data-center/
36•thisislife2•3h ago•12 comments

The IBM PC, Part 1: Arrival

https://technicshistory.com/2026/07/24/the-ibm-pc-part-1-arrival/
22•cfmcdonald•2h ago•4 comments

Programming language file extensions that match ISO 3166-1 alpha-2 country code

https://www.bruh.ltd/blog/programming-language-file-extensions-that-match-an-iso-3166-1-alpha-2-c...
7•speckx•46m ago•2 comments

Claude Cookbook

https://platform.claude.com/cookbook/
151•saikatsg•8h ago•76 comments

Nothing works and everyone is euphoric

https://ptrchm.com/posts/nothing-works-and-everyone-is-euphoric/
166•pchm•4h ago•128 comments

Why is programming so captivating, yet so agonizing?

https://elsewhere.news/en/zhenfund/why-is-programming-so-captivating-yet-so-agonizing
8•ilreb•1h ago•4 comments

Computational chemistry, Locally? My rant on SSH

https://chillphysicsenjoyer.substack.com/p/computational-chemistry-locally
21•crescit_eundo•2d ago•15 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

417•adam_rida•17h ago•200 comments

Launching Health in ChatGPT to US Users

https://openai.com/index/health-in-chatgpt/
26•mellosouls•3h ago•33 comments

Tangleflow: Converts GitHub Actions workflows to tangled workflows and back

https://github.com/43081j/tangleflow
13•wertyk•2d ago•5 comments

The Book Prize Index

https://book-prize-index.vercel.app
32•Luc•4h ago•2 comments

Eight Newly Produced MQ-9 Reaper Drones Destroyed in Iranian Strike

https://militarywatchmagazine.com/
13•NordStreamYacht•25m ago•4 comments

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
1367•dwwoelfel•22h ago•621 comments

Hetzner is working on LLM Inference

https://sliplane.io/blog/hetzner-inference
79•jonas_scholz•3h ago•34 comments

Game of Trees – Git-based version control from OpenBSD folks

https://www.gameoftrees.org/
18•gregnavis•3h ago•1 comments

AMD's Instinct MI455X: Aiming for the Sun

https://chipsandcheese.com/p/amds-instinct-mi455x-aiming-for-the
38•ingve•6h ago•15 comments

How Do We Stop Vibe Coding?

https://alexklos.ca/blog/how-do-we-stop-vibe-coding
9•prohobo•3h ago•2 comments

The day Steve Jobs dissed me in a keynote (2010)

https://sive.rs/itunes
137•downbad_•4h ago•34 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
1001•theanonymousone•22h ago•804 comments

I regret migrating to Codeberg

https://xn--gckvb8fzb.com/i-regret-migrating-to-codeberg/
401•boramalper•23h ago•303 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
392•nickthegreek•20h ago•185 comments