frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
282•hggh•6h ago•147 comments

My I3-Emacs Integration

https://khz.ac/software/i3-integration.html
23•nosolace•2h ago•6 comments

Sales and Dungeons: Thermal printer TTRPG utility

https://sales-and-dungeons.app/
41•hyperific•1d ago•12 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
211•James72689•3d ago•125 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
346•ravenical•12h ago•106 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
530•tlhunter•1d ago•928 comments

wake up! 16b

https://hellmood.111mb.de/wake_up_16b_writeup.html
9•MaximilianEmel•52m ago•2 comments

Byrne's Euclid

https://www.c82.net/euclid/
11•layer8•3h ago•4 comments

.NET (OK, C#) finally gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
132•ingve•1d ago•117 comments

Hengefinder: Finding when the sun aligns with your street

https://victoriaritvo.com/blog/hengefinder/
107•evakhoury•1d ago•25 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
39•sohkamyung•3d ago•6 comments

Show HN: Anyone interested in a tool helps to explore C++ ASTs

https://uvic-aurora.github.io/acav-manual/index.html
14•leomicv•2d ago•1 comments

ICE Awards $25M Iris-Scanning Contract to Bi2 Technologies

https://www.projectsaltbox.com/p/ice-awards-25-million-iris-scanning
64•cdrnsf•1h ago•11 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
17•NaOH•13h ago•1 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
357•busymom0•1d ago•232 comments

Don't Roll Your Own

https://susam.net/do-not-roll-your-own.html
76•adunk•2h ago•58 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
82•elpocko•8h ago•16 comments

Toxic chemical leak at a manufacturing facility in Orange County

https://www.bbc.com/news/articles/c3w2l249j8go
104•borski•3h ago•71 comments

NeuralNote

https://github.com/DamRsn/NeuralNote
3•hyperific•6h ago•0 comments

80386 microcode disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
217•nand2mario•13h ago•43 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
192•dxs•12h ago•124 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
95•thejoeflow•4d ago•116 comments

The Security of Ephemeral Pages

https://schalkneethling.com/posts/the-security-of-ephemeral-pages/
4•speckx•3d ago•0 comments

Making deep learning go brrrr from first principles (2022)

https://horace.io/brrr_intro.html
151•tosh•13h ago•59 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
116•cf100clunk•4d ago•128 comments

-​-dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
91•fagnerbrack•15h ago•109 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
192•dboon•3d ago•171 comments

Justice Department scrubs its website of news releases about Jan. 6 defendants

https://apnews.com/article/justice-department-capitol-riot-news-releases-purged-29c580044a9ed27b6...
45•logickkk1•31m ago•4 comments

Italy moves to Airbus A330 tankers

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
232•embedding-shape•9h ago•78 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
626•abawany•7h ago•269 comments
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?