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?

The Nixpkgs core team has disbanded

https://discourse.nixos.org/t/the-nixpkgs-core-team-has-disbanded/79413
169•Meleagris•3h ago•71 comments

NASA to keep its 48-year-old Voyager 2 probe running for yet another year

https://www.space.com/space-exploration/voyager/nasa-figured-out-how-to-keep-its-48-year-old-voya...
81•wglb•2h ago•11 comments

DeepSeek V4 Flash 0731

https://arcprize.org/results/deepseek-v4-flash-0731
518•tosh•10h ago•311 comments

U.S. Department of Energy Launches the Genesis Open Models Initiative

https://genesisopenmodels.anl.gov/
153•moelf•5h ago•54 comments

Assembly Hall of Shame

https://github.com/xoreaxeaxeax/asm-hall-of-shame
281•piotrgrabowski•10h ago•65 comments

SupererDuperer

https://www.shirtpocket.com/blog/supererduperer
50•zdw•6d ago•1 comments

Physicist Rigged His Pet Hamster's Wheel to Strava. It Runs Far Every Night

https://www.runnersworld.com/news/a73355106/hamster-wheel-strava-running/
28•aanet•2d ago•3 comments

Ancient Library – 1,060 Greek/Latin texts, click any word to parse it

https://ancientlibrary.net/
170•aagha•9h ago•55 comments

What happens if an entire class of workers loses faith in their careers

https://www.noemamag.com/why-is-everyone-in-tech-so-sad/
496•RickJWagner•15h ago•584 comments

Managing AI Coding Costs at Scale

https://www.databricks.com/blog/managing-ai-coding-costs-scale
190•moonikakiss•9h ago•182 comments

Oracle bans AI-generated code from OpenJDK

https://app.dealroom.co/news/feed/oracle-bans-ai-generated-code-from-openjdk-despite-ellison-s-cl...
417•delduca•10h ago•284 comments

Responding to the next frontier of critical cyber capabilities

https://openai.com/index/responding-next-frontier-critical-cyber-capabilities/
168•artninja1988•11h ago•168 comments

An all-sky map of half a million supermassive black holes

https://www.sdss.org/black-hole-mapper-release-20/
152•MarcoDewey•12h ago•37 comments

2027 memory capacity is reportedly sold out

https://www.ign.com/articles/ramageddon-continues-another-year-as-2027-memory-capacity-is-reporte...
282•inigyou•20h ago•265 comments

Water system controllers don't belong on the internet, says ex-NSA chief

https://www.theregister.com/security/2026/08/07/water-system-controllers-dont-belong-on-the-inter...
152•Bender•6h ago•104 comments

Guarded Methods in OCaml (2025)

https://xvw.lol/en/articles/oop-refl.html
57•birdculture•4d ago•5 comments

Carl's Required Reading

https://carlkolon.com/reading/
119•cckolon•6d ago•15 comments

Psychological Warfare in Reverse Engineering (2015)

https://github.com/xoreaxeaxeax/repsych
57•theanonymousone•9h ago•2 comments

Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD

https://malisper.me/how-we-made-postgres-hundreds-of-times-faster-the-query-engine/
263•poly2it•17h ago•124 comments

Mythos social engineering AISI INC-2026-07-28-01

https://web.archive.org/web/20260731053721/http://github.com/ancaferro/myNetwork/pull/3
8•dnnehgf•35m ago•0 comments

Kitesurf: Agent-first browser that runs in V8 isolates

https://blog.cloudflare.com/kitesurf/
174•m3h•17h ago•45 comments

Radical Study Suggests Life on Earth Arose Twice

https://www.sciencealert.com/radical-study-suggests-life-on-earth-arose-from-non-living-matter-twice
113•jnord•15h ago•90 comments

Captain Bible Reverse Engineering

https://github.com/peterkelly/captain-bible-re
21•peterkelly•5d ago•2 comments

Show HN: textlog – A quiet, text-only microblogging platform, open-source, no JS

https://textlog.cc/about
152•stagas•17h ago•63 comments

New Mexico court orders Meta to pay $567m over harms to children’s mental health

https://www.theguardian.com/technology/2026/aug/06/new-mexico-court-meta
741•boplicity•1d ago•397 comments

Möbius-Strip Crosswords

https://quuxplusone.github.io/blog/2026/08/04/mobius-crossword/
59•ibobev•13h ago•9 comments

Show HN: Wyzer Programming Language

https://github.com/Wyzer-Lang/wyzer
182•v0id_isgood•15h ago•103 comments

Why are all the amounts values negative?

https://bankstatementconverter.com/blog/posts/2026-08-02-why-are-all-amounts-negative/
36•4pkjai•5d ago•16 comments

A year of fighting scrapers on my 1.5 million-page website

https://patronview.com/news/99-percent-of-my-website-traffic-is-bots/
397•petercooper•13h ago•366 comments

Why Are There Statues of Beavers on Top of This Oxford Street Shop?

https://londonist.com/london/history/oxford-street-beavers
56•bookofjoe•4d ago•32 comments