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?

Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case

https://arxiv.org/abs/2604.25679
96•mrtz•2d ago•64 comments

Alert-Driven Monitoring

https://simpleobservability.com/docs/alert-driven-monitoring
21•khazit•1h ago•5 comments

Mercedes-Benz commits to bringing back physical buttons

https://www.drive.com.au/news/mercedes-benz-commits-to-bringing-back-phycial-buttons/
56•teleforce•55m ago•20 comments

Automating Hermitage to see how transactions differ in MySQL and MariaDB

https://theconsensus.dev/p/2026/05/02/automating-hermitage.html
10•zdw•19h ago•1 comments

Show HN: Apple's Sharp Running in the Browser via ONNX Runtime Web

https://github.com/bring-shrubbery/ml-sharp-web
99•bring-shrubbery•6h ago•18 comments

Group averages obscure how an individual's brain controls behavior: study

https://med.stanford.edu/news/all-news/2026/04/brain-scans-individual-versus-group.html
72•hhs•2d ago•20 comments

A couple million lines of Haskell: Production engineering at Mercury

https://blog.haskell.org/a-couple-million-lines-of-haskell/
339•unignorant•15h ago•158 comments

What Is Z-Angle Memory and Why Is Intel Developing It?

https://www.hpcwire.com/2026/02/05/what-is-z-angle-memory-and-why-is-intel-developing-it/
5•rbanffy•2d ago•0 comments

Business Owners Are Worst Clients

https://zencapital.substack.com/p/business-owners-are-worst-clients
17•zenincognito•32m ago•8 comments

Utah to hold websites liable for users who mask their location with VPNs

https://www.tomshardware.com/software/vpn/utah-becomes-first-us-state-to-target-vpn-use-with-age-...
114•GavinAnderegg•1h ago•91 comments

This Month in Ladybird – April 2026

https://ladybird.org/newsletter/2026-04-30/
429•richardboegli•18h ago•118 comments

Six Years Perfecting Maps on WatchOS

https://www.david-smith.org/blog/2026/04/29/maps-on-watchos/
387•valzevul•18h ago•94 comments

Dav2d

https://code.videolan.org/videolan/dav2d
549•dabinat•22h ago•155 comments

Breaking Up with WordPress After Two Decades

https://yusufaytas.com/breaking-up-with-wordpress-after-two-decades
29•owenbuilds•1h ago•7 comments

Haskell: Debugging

https://wiki.haskell.org/Debugging
12•tosh•2d ago•0 comments

Do_not_track

https://donottrack.sh/
427•RubyGuy•21h ago•134 comments

Windows quality update: Progress we've made since March

https://blogs.windows.com/windows-insider/2026/05/01/windows-quality-update-progress-weve-made-si...
110•jovial_cavalier•1d ago•330 comments

Neanderthals ran 'fat factories' 125,000 years ago (2025)

https://www.universiteitleiden.nl/en/news/2025/07/neanderthals-ran-fat-factories-125000-years-ago
247•andsoitis•18h ago•131 comments

Utilyze measures how efficiently your GPU is doing useful work

https://github.com/systalyze/utilyze
32•nateb2022•2d ago•9 comments

Care homes and hotels in Japan shut as expansion strategy unravels

https://www.newsonjapan.com/article/149075.php
83•mikhael•14h ago•32 comments

I rebuilt my blog's cache. Bots are the audience now

https://hoeijmakers.net/thirty-years-of-caching-sorted-in-an-afternoon/
4•robhoeijmakers•2h ago•3 comments

Inventions for battery reuse and recycling increase seven-fold in last decade

https://www.epo.org/en/news-events/news/inventions-battery-reuse-and-recycling-increase-more-seve...
222•JeanKage•3d ago•26 comments

Unverified Evaluations in Dusk's PLONK

https://osec.io/blog/2026-04-30-unverified-evaluations-dusk-plonk/
30•deut-erium•2d ago•4 comments

Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML

https://acai.sh/blog/specsmaxxing
202•brendanmc6•9h ago•225 comments

VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage

https://github.com/microsoft/vscode/pull/310226
1364•indrora•19h ago•737 comments

The agent harness belongs outside the sandbox

https://www.mendral.com/blog/agent-harness-belongs-outside-sandbox
134•shad42•18h ago•99 comments

Clojurists Together – Q2 2026 Open Source Funding Announcement

https://www.clojuriststogether.org/news/q2-2026-funding-announcement/
124•dragandj•18h ago•14 comments

Systemd-manager-TUI: A TUI application for managing systemd services

https://github.com/Matheus-git/systemd-manager-tui
54•thunderbong•4h ago•14 comments

A more efficient implementation of Shor's algorithm

https://lwn.net/Articles/1066156/
103•signa11•2d ago•29 comments

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
259•moosia•1d ago•96 comments