frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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 newest Instagram “exploit” is the goofiest I've seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
1097•ssiddharth•6h ago•259 comments

Debug Project

https://debug.com/
77•Eridanus2•1h ago•33 comments

AI Agent Guidelines for CS336 at Stanford

https://github.com/stanford-cs336/assignment1-basics/blob/main/CLAUDE.md
256•prakashqwerty•5h ago•103 comments

Should you normalize RGB values by 255 or 256?

https://30fps.net/pages/255-vs-256-division/
143•pplanu•4h ago•57 comments

CS336: Language Modeling from Scratch

https://cs336.stanford.edu/
300•kristianpaul•8h ago•39 comments

What appear to be biochemical processes may be a natural feature of geology

https://www.quantamagazine.org/the-dirt-that-refused-to-die-20260601/
164•speckx•7h ago•47 comments

Florida sues OpenAI and Sam Altman over AI risks

https://www.politico.com/news/2026/06/01/openai-hit-with-florida-lawsuit-00944215
151•cyunker•6h ago•116 comments

GrapheneOS Speech Services version 2 released

https://discuss.grapheneos.org/d/36001-grapheneos-speech-services-version-2-released
57•pretext•3h ago•8 comments

Stealing from Biologists to Compile Haskell Faster

https://www.iankduncan.com/engineering/2026-05-30-stealing-from-biologists-to-compile-haskell-fas...
68•mooreds•2d ago•4 comments

I made my phone slow on purpose

https://vinewallapp.com/notes/i-made-my-phone-slow-on-purpose/
144•gcampos•4d ago•131 comments

Ask HN: Who is hiring? (June 2026)

131•whoishiring•7h ago•200 comments

A 10 year old Xeon is all you need

https://point.free/blog/gemma-4-on-a-2016-xeon/
652•cafkafk•15h ago•265 comments

Nvidia RTX Spark

https://www.nvidia.com/en-us/products/rtx-spark/
269•shenli3514•17h ago•229 comments

Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
96•jbk•10h ago•264 comments

GitHub and the crime against software

https://eblog.fly.dev/githubbad.html
162•pplanu•3h ago•61 comments

Anthropic confidentially submits draft S-1 to the SEC

https://www.anthropic.com/news/confidential-draft-s1-sec
395•surprisetalk•6h ago•314 comments

Windows GOG DOS Games on M-Series Macs

https://f055.net/technology/windows-gog-dos-games-on-m-series-macs/
122•f055•9h ago•75 comments

I missed Network integrated tools on Windows so I built a Linux equivalent

https://github.com/thongor77/nmlinux
12•magetriste•2d ago•3 comments

Only 17% of all 64-bit Integers are products of two 32-bit integers

https://lemire.me/blog/2026/05/22/only-17-of-all-64-bit-integers-are-products-of-two-32-bit-integ...
178•sebg•4d ago•86 comments

Flipper Zero Zig Template

https://github.com/NishantJoshi00/flipper-template
114•Nars088•9h ago•7 comments

Building a custom mount for a telescoping webcam

https://john.mercouris.online/webcam-mount.html
6•jmercouris•1d ago•2 comments

Launch HN: Expanse (YC P26) – Unlock Wasted GPU Capacity

62•ismaeel_bashir•9h ago•13 comments

Ask HN: Who wants to be hired? (June 2026)

69•whoishiring•7h ago•234 comments

Malicious npm packages detected across Red Hat Cloud Services

https://github.com/RedHatInsights/javascript-clients/issues/492
701•kurmiashish•9h ago•390 comments

The Pirate Bay Remains Resilient, 20 Years After the Raid

https://torrentfreak.com/the-pirate-bay-remains-resilient-20-years-after-the-raid/
447•speckx•8h ago•226 comments

Superintelligence: The Idea That Eats Smart People (2016)

https://idlewords.com/talks/superintelligence.htm
100•thoughtpeddler•4h ago•109 comments

Sysadmining Like It's 2009

https://lambdacreate.com/posts/sysadmining-like-its-2009
82•yacin•8h ago•32 comments

Linux Basics for Hackers (2019)

https://github.com/ahegazy0/linux-basics-for-hackers-notes
117•ibobev•9h ago•21 comments

Handmade Hawaiian Islands Map

https://www.notesfromtheroad.com/roam/hawaiian-islands-map.html
40•bovermyer•2d ago•16 comments

Show HN: Textile – A desktop app for weaving together bits of text

https://www.gettextile.app
19•stack_framer•3h ago•7 comments