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?

NetBSD 11.0 Released

https://blog.netbsd.org/tnf/entry/netbsd_11_0_released
100•jaypatelani•1h ago•20 comments

Postmortem for Kernel Soundness Bug #14576

https://leodemoura.github.io/blog/2026-8-1-postmortem-for-kernel-soundness-bug-14576/
45•juhopitk•1h ago•17 comments

The Art of 64-bit Assembly

https://nostarch.com/art-64-bit-assembly-v2
125•0x54MUR41•5h ago•65 comments

Kaisel – Routes as Values. Dart 3 Native Router for Flutter

https://kaisel.dev/
32•TheWiggles•3h ago•5 comments

Explorative modeling: Train on the best of K guesses

https://alexiglad.github.io/blog/2026/explorative_modeling/
52•DSemba•4h ago•19 comments

Pgtestdb's template cloning approach to testing is fast

https://brandur.org/fragments/pgtestdb
44•brandur•3h ago•24 comments

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
210•throwaway2037•7h ago•145 comments

Tell HN: I hate your fuzzy search

63•tehwebguy•1h ago•33 comments

A Surveillance Treaty in Disguise: Canada Signs UN Cybercrime Convention

https://www.michaelgeist.ca/2026/07/a-surveillance-treaty-in-disguise-the-trouble-with-canadas-qu...
205•iamnothere•5h ago•116 comments

Cursor removed cost information from the usage page and CSV export

https://forum.cursor.com/t/usage-page-to-token-amount-what/167153
219•EugeneOZ•4h ago•98 comments

Franken.domains: Stitched-Together Domains, Because Every .com Is Taken

https://franken.domains/
19•klausbreyer•3h ago•28 comments

Oil companies report sky-high profits thanks to wartime crude prices

https://www.npr.org/2026/07/31/nx-s1-5910660/big-oil-earnings-q2-2026
34•speckx•1h ago•36 comments

Register deprivation: spills and runtime under forced register scarcity

https://rjp.io/blog/2026-07-19-register-deprivation
17•surprisetalk•2d ago•3 comments

A directory of people who love RSS

https://andrewshell.org/2026/07/i-%e2%99%a5-rss/
124•speckx•2h ago•66 comments

Kenji/Serious Eats – 30-Min Pressure Cooker Pho Ga

https://www.seriouseats.com/30-minute-pressure-cooker-pho-ga-recipe
23•stasomatic•4h ago•11 comments

Flint: A Visualization Language for the AI Era

https://microsoft.github.io/flint-chart/
230•vinhnx•17h ago•65 comments

Glyphs 4 – the leading Mac font editor

https://glyphsapp.com
15•microflash•4d ago•6 comments

Manual: •.,:;…!?·

https://type.today/en/journal/dots
96•behnamoh•2d ago•19 comments

Linux on ESP32

https://github.com/GrieferPig/esp32-s31-linux
62•boveyking•4d ago•25 comments

RamenHaus

https://ramen.haus/
182•oler•10h ago•90 comments

Kontigo (YC S24) Is Hiring

https://www.ycombinator.com/companies/kontigo/jobs/xAo6tMt-founding-engineer
1•jecastillof•7h ago

qm – Multiplayer agent harness for work

https://github.com/yc-software/qm
640•tosh•1d ago•151 comments

Nyctography: A substituton cypher by Lewis Carroll

https://en.wikipedia.org/wiki/Nyctography
4•nanna•4d ago•0 comments

Solid Queue 1.6.0 now supports fiber workers

https://github.com/rails/solid_queue/releases/tag/v1.6.0
80•earcar•12h ago•33 comments

The tiny holdout building in the middle of Macy’s is back in view

https://ephemeralnewyork.wordpress.com/2026/07/27/hidden-by-billboards-for-over-100-years-the-tin...
170•donohoe•3d ago•52 comments

The development pipeline is a production system

https://sundry.jerryorr.com/2026/07/31/development-pipeline-is-a-production-system
147•firefoxd•16h ago•71 comments

Elevators

https://john.fun/elevators
1543•Jrh0203•1d ago•383 comments

Software for One

https://www.ajwaxman.com/writing/software-for-one
224•awaxman11•3d ago•224 comments

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

https://github.com/sqliteai/waste
318•marcobambini•1d ago•151 comments

How to Exist

https://www.raptitude.com/2026/07/how-to-exist/
352•walterbell•19h ago•208 comments