frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•8mo ago

Comments

JonChesterfield•8mo 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•8mo 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•8mo ago
That is a feature. Compose instead of extending.
Yoric•8mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•8mo ago
Elm <-> Rust

Best buds on this front

gitroom•8mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

The struggle of resizing windows on macOS Tahoe

https://noheger.at/blog/2026/01/11/the-struggle-of-resizing-windows-on-macos-tahoe/
1765•happosai•13h ago•712 comments

JRR Tolkien reads from The Hobbit for 30 Minutes (1952)

https://www.openculture.com/2026/01/j-r-r-tolkien-reads-from-the-hobbit-for-30-minutes-1952.html
95•bookofjoe•4d ago•16 comments

CLI agents make self-hosting on a home server easier and fun

https://fulghum.io/self-hosting
543•websku•13h ago•362 comments

39c3: In-house electronics manufacturing from scratch: How hard can it be? [video]

https://media.ccc.de/v/39c3-in-house-electronics-manufacturing-from-scratch-how-hard-can-it-be
107•fried-gluttony•2d ago•31 comments

Lightpanda migrate DOM implementation to Zig

https://lightpanda.io/blog/posts/migrating-our-dom-to-zig
12•gearnode•47m ago•0 comments

This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

https://iczelia.net/posts/snake-polyglot/
206•snoofydude•12h ago•56 comments

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
456•reconnecting•15h ago•192 comments

Conbini Wars – map of Japanese convenience store ratios

https://conbini.kikkia.dev/
42•zdw•5d ago•13 comments

I'm making a game engine based on dynamic signed distance fields (SDFs) [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
318•imagiro•3d ago•42 comments

The next two years of software engineering

https://addyosmani.com/blog/next-two-years/
144•napolux•12h ago•105 comments

Himalayas bare and rocky after reduced winter snowfall, scientists warn

https://www.bbc.com/news/articles/clyndv7zd20o
111•koolhead17•7h ago•74 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
169•ag8•14h ago•50 comments

Uncrossy

https://uncrossy.com/
74•dgacmu•8h ago•23 comments

FUSE is All You Need – Giving agents access to anything via filesystems

https://jakobemmerling.de/posts/fuse-is-all-you-need/
139•jakobem•13h ago•51 comments

Perfectly Replicating Coca Cola [video]

https://www.youtube.com/watch?v=TDkH3EbWTYc
221•HansVanEijsden•3d ago•148 comments

Insights into Claude Opus 4.5 from Pokémon

https://www.lesswrong.com/posts/u6Lacc7wx4yYkBQ3r/insights-into-claude-opus-4-5-from-pokemon
84•surprisetalk•5d ago•17 comments

Gadget Exposed a Spy Camera [video]

https://www.youtube.com/watch?v=1reman2waLs
52•rib3ye•10h ago•25 comments

XMPP and Metadata

https://blog.mathieui.net/xmpp-and-metadata.html
7•todsacerdoti•5d ago•0 comments

Xfce is great

https://rubenerd.com/xfce-is-great/
206•mikece•5h ago•141 comments

Ask HN: What are you working on? (January 2026)

195•david927•17h ago•621 comments

Garbage collection is contrarian

https://trynova.dev/blog/garbage-collection-is-contrarian
46•aapoalas•2d ago•4 comments

Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

https://elo-lang.org/
84•ravenical•4d ago•24 comments

Don't fall into the anti-AI hype

https://antirez.com/news/158
1016•todsacerdoti•1d ago•1189 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
130•medunes•4d ago•21 comments

Poison Fountain

https://rnsaffn.com/poison3/
202•atomic128•17h ago•121 comments

Erich von Däniken has died

https://daniken.com/en/startseite-english/
87•Kaibeezy•15h ago•144 comments

Show HN: An LLM-optimized programming language

https://github.com/ImJasonH/ImJasonH/blob/main/articles/llm-programming-language.md
35•ImJasonH•7h ago•21 comments

Show HN: Shellock, a real-time CLI flag explainer for fish shell

https://github.com/ibehnam/shellock
8•behnamoh•5d ago•4 comments

Show HN: Engineering Schizophrenia: Trusting yourself through Byzantine faults

81•rescrv•12h ago•10 comments

Moving Scratch generation to Python on browser

https://kushaldas.in/posts/introducing-ektupy.html
39•kushaldas•3d ago•12 comments