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?

All elementary functions from a single binary operator

https://arxiv.org/abs/2603.21852
536•pizza•10h ago•133 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/
19•edent•41m ago•0 comments

The economics of software teams: Why most engineering orgs are flying blind

https://www.viktorcessan.com/the-economics-of-software-teams/
207•kiyanwang•6h ago•108 comments

Taking on CUDA with ROCm: 'One Step After Another'

https://www.eetimes.com/taking-on-cuda-with-rocm-one-step-after-another/
197•mindcrime•13h ago•152 comments

DIY Soft Drinks

https://blinry.org/diy-soft-drinks/
520•_Microft•19h ago•155 comments

Bring Back Idiomatic Design (2023)

https://essays.johnloeber.com/p/4-bring-back-idiomatic-design
583•phil294•1d ago•331 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
408•a-ve•19h ago•220 comments

Ask HN: What Are You Working On? (April 2026)

249•david927•20h ago•801 comments

Most people can't juggle one ball

https://www.lesswrong.com/posts/jTGbKKGqs5EdyYoRc/most-people-can-t-juggle-one-ball
397•surprisetalk•3d ago•135 comments

A perfectable programming language

https://alok.github.io/lean-pages/perfectable-lean/
149•yuppiemephisto•15h ago•51 comments

Optimization of 32-bit Unsigned Division by Constants on 64-bit Targets

https://arxiv.org/abs/2604.07902
94•mpweiher•1d ago•12 comments

Show HN: I built a social media management tool in 3 weeks with Claude and Codex

https://github.com/brightbeanxyz/brightbean-studio
70•JanSchu•3h ago•52 comments

I gave every train in New York an instrument

https://www.trainjazz.com/
309•joshuawolk•2d ago•63 comments

Caffeine, cocaine, and painkillers detected in sharks from The Bahamas

https://www.sciencedirect.com/science/article/abs/pii/S0269749126001880
40•LostMyLogin•4h ago•30 comments

Tell HN: Docker pull fails in Spain due to football Cloudflare block

975•littlecranky67•1d ago•361 comments

We have a 99% email reputation, but Gmail disagrees

https://blogfontawesome.wpcomstaging.com/we-have-a-99-email-reputation-gmail-disagrees/
282•em-bee•23h ago•247 comments

Is math big or small?

https://chessapig.github.io/talks/Big-Small
55•robinhouston•1d ago•18 comments

Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)

https://github.com/rochus-keller/OberonSystem3Native/releases
203•Rochus•23h ago•56 comments

Apple's accidental moat: How the "AI Loser" may end up winning

https://adlrocha.substack.com/p/adlrocha-how-the-ai-loser-may-end
254•walterbell•9h ago•237 comments

Exploiting the most prominent AI agent benchmarks

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
538•Anon84•1d ago•134 comments

I ran Gemma 4 as a local model in Codex CLI

https://blog.danielvaughan.com/i-ran-gemma-4-as-a-local-model-in-codex-cli-7fda754dc0d4
100•dvaughan•15h ago•46 comments

A Canonical Generalization of OBDD

https://arxiv.org/abs/2604.05537
21•luu•8h ago•9 comments

Seven countries now generate nearly all their electricity from renewables (2024)

https://www.the-independent.com/tech/renewable-energy-solar-nepal-bhutan-iceland-b2533699.html
602•mpweiher•23h ago•374 comments

JVM Options Explorer

https://chriswhocodes.com/vm-options-explorer.html
201•0x54MUR41•1d ago•92 comments

How long-distance couples use digital games to facilitate intimacy (2025)

https://arxiv.org/abs/2505.09509
107•radeeyate•20h ago•34 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
229•_Microft•1d ago•34 comments

Pro Max 5x quota exhausted in 1.5 hours despite moderate usage

https://github.com/anthropics/claude-code/issues/45756
685•cmaster11•23h ago•607 comments

A Tour of Oodi

https://blinry.org/oodi/
159•zdw•3d ago•44 comments

Struggling to heat your home? How about 500 Raspberry Pi units?

https://www.theregister.com/2025/10/03/thermify_heathub_raspberry_pi/
4•cmsefton•1h ago•1 comments

Galactic Algorithm

https://en.wikipedia.org/wiki/Galactic_algorithm
5•tmtvl•1h ago•0 comments