frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Someone bought 30 WordPress plugins and planted a backdoor in all of them

https://anchor.host/someone-bought-30-wordpress-plugins-and-planted-a-backdoor-in-all-of-them/
730•speckx•9h ago•205 comments

GitHub Stacked PRs

https://github.github.com/gh-stack/
462•ezekg•6h ago•258 comments

Lean proved this program correct; then I found a bug

https://kirancodes.me/posts/log-who-watches-the-watchers.html
110•bumbledraven•2h ago•60 comments

WiiFin – Jellyfin Client for Nintendo Wii

https://github.com/fabienmillet/WiiFin
67•throwawayk7h•3h ago•21 comments

Nothing Ever Happens: Polymarket bot that always buys No on non-sports markets

https://github.com/sterlingcrispin/nothing-ever-happens
365•m-hodges•11h ago•179 comments

How to make Firefox builds 17% faster

https://blog.farre.se/posts/2026/04/10/caching-webidl-codegen/
141•mbitsnbites•8h ago•23 comments

Write less code, be more responsible

https://blog.orhun.dev/code-responsibly/
37•orhunp_•2d ago•17 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://nypost.com/2026/04/11/us-news/us-appeals-court-declares-158-year-old-home-distilling-ban-...
313•t-3•13h ago•231 comments

Servo is now available on crates.io

https://servo.org/blog/2026/04/13/servo-0.1.0-release/
429•ffin•14h ago•140 comments

Design and implementation of DuckDB internals

https://duckdb.org/library/design-and-implementation-of-duckdb-internals/
24•mpweiher•3d ago•3 comments

Make tmux pretty and usable (2024)

https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
322•speckx•12h ago•204 comments

GAIA – Open-source framework for building AI agents that run on local hardware

https://amd-gaia.ai/docs
103•galaxyLogic•7h ago•24 comments

Building a CLI for all of Cloudflare

https://blog.cloudflare.com/cf-cli-local-explorer/
265•soheilpro•11h ago•84 comments

The AI revolution in math has arrived

https://www.quantamagazine.org/the-ai-revolution-in-math-has-arrived-20260413/
22•sonabinu•3h ago•5 comments

Air Powered Segment Display? [video]

https://www.youtube.com/watch?v=E1BLGpE5zH0
52•ProfDreamer•2d ago•9 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
114•cvrajeesh•7h ago•26 comments

I just want simple S3

https://blog.feld.me/posts/2026/04/i-just-want-simple-s3/
108•g0xA52A2A•2d ago•61 comments

Android now stops you sharing your location in photos

https://shkspr.mobi/blog/2026/04/android-now-stops-you-sharing-your-location-in-photos/
305•edent•15h ago•278 comments

N-Day-Bench – Can LLMs find real vulnerabilities in real codebases?

https://ndaybench.winfunc.com
38•mufeedvh•5h ago•11 comments

Tracking down a 25% Regression on LLVM RISC-V

https://blog.kaving.me/blog/tracking-down-a-25-regression-on-llvm-risc-v/
100•luu•1d ago•19 comments

What we learned building a Rust runtime for TypeScript

https://encore.dev/blog/rust-runtime
43•vinhnx•2d ago•10 comments

Visualizing CPU Pipelining (2024)

https://timmastny.com/blog/visualizing-cpu-pipelining/
66•flipacholas•8h ago•9 comments

B-trees and database indexes (2024)

https://planetscale.com/blog/btrees-and-database-indexes
89•tosh•9h ago•37 comments

If you started a company two years ago, many assumptions are no longer true

https://steveblank.com/2026/03/17/your-startup-is-probably-dead-on-arrival/
148•tie-in•2d ago•120 comments

Why it’s impossible to measure England’s coastline

https://www.bbc.com/travel/article/20260410-why-its-impossible-to-measure-englands-coastline
17•BiraIgnacio•3h ago•16 comments

MEMS Array Chip Can Project Video the Size of a Grain of Sand

https://spectrum.ieee.org/mems-photonics
79•bookofjoe•12h ago•36 comments

Tool to explore regularly sampled time series

https://github.com/rajivsam/tseda
3•rsva•3d ago•0 comments

Just Enough Chimera Linux

https://www.dwarmstrong.org/chimera-install-zfs/
46•speckx•7h ago•11 comments

New Orleans's Car-Crash Conspiracy

https://www.newyorker.com/magazine/2026/04/20/the-car-crash-conspiracy
78•Geekette•9h ago•46 comments

Introduction to Obsidian

https://bryanhogan.com/blog/obsidian-introduction
162•bryanhogan•2d ago•110 comments