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?

Astronauts on ISS told to shelter as repairs under way to fix air leaks

https://www.bbc.com/news/live/c4g44ew3g1kt
142•janpot•1h ago•82 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
54•coffeemug•40m ago•14 comments

Mouseless – keyboard-driven control of macOS/Linux/Windows

https://mouseless.click
261•riddley•2d ago•119 comments

Cooldown Support for Ruby Bundler

https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html
79•calyhre•2d ago•13 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
276•mimorigasaka•8h ago•123 comments

I tested every IP KVM in my Homelab

https://www.jeffgeerling.com/blog/2026/i-tested-every-ip-kvm/
49•vquemener•2h ago•11 comments

Redis 8.8: New array data structure, rate limiter, performance improvements

https://redis.io/blog/announcing-redis-8-8/
141•ksec•2d ago•62 comments

Launch HN: General Instinct (YC P26) – Frontier models on edge devices

3•guanming0717•7m ago•0 comments

Dutch gov't will only allow European company to operate DigiD platform

https://nltimes.nl/2026/06/05/dutch-govt-will-allow-european-company-operate-digid-platform
76•TechTechTech•1h ago•25 comments

C++: The Documentary

https://herbsutter.com/2026/06/04/c-the-documentary-released-today/
288•ingve•12h ago•202 comments

Changing how we develop Ladybird

https://ladybird.org/posts/changing-how-we-develop-ladybird/
681•EdwinHoksberg•9h ago•449 comments

Entanglement Builds Space-Time. Now "Magic" Gives It Gravity

https://www.quantamagazine.org/entanglement-builds-space-time-now-magic-gives-it-gravity-20260603/
119•rbanffy•8h ago•111 comments

Stop Using Conventional Commits

https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/
83•jsve•1h ago•64 comments

U.S. Military Turned GPS into a Global "Numbers Station"

https://www.404media.co/the-u-s-military-quietly-turned-gps-into-a-global-numbers-station-evidenc...
21•awkwardpotato•34m ago•1 comments

Nango (YC W23, dev infra) is hiring staff back end engineers

https://nango.dev/careers
1•bastienbeurier•4h ago

Fine-tuning an LLM to write docs like it's 1995

https://passo.uno/fine-tuning-docs-llm/
155•taubek•10h ago•55 comments

ESP32 Bit Pirate, a Hardware Hacking Tool with WebCLI That Speaks Every Protocol

https://github.com/geo-tp/ESP32-Bit-Pirate
124•geotp•9h ago•39 comments

Ask HN: What is your (AI) dev tech stack / workflow? (June 2026)

35•dv35z•1h ago•30 comments

Lee Kuan Yew's Singapore Story (2023)

https://www.historytoday.com/archive/feature/lee-kuan-yews-singapore-story
116•pepys•9h ago•105 comments

Meta enables ADB on deprecated Portal devices [video]

https://fb.watch/HxPu0fSyeH/
276•jenders•15h ago•107 comments

Azure Linux 4.0 is Microsoft's first general-purpose Linux

https://www.boxofcables.dev/azure-linux-4-0-is-microsofts-first-general-purpose-linux/
151•haydenbarnes•13h ago•127 comments

Leap in DNA synthesis slashes time to build new genetic sequences

https://spectrum.ieee.org/faster-dna-synthesis-sidewinder
95•natalcleft•22h ago•22 comments

Anthropic's open-source framework for AI-powered vulnerability discovery

https://github.com/anthropics/defending-code-reference-harness
493•binyu•20h ago•139 comments

databow: a Rust CLI to query any database with an ADBC driver

https://columnar.tech/blog/introducing-databow//
99•hckshr•2d ago•19 comments

I'm skeptical about efforts to revolutionize schooling

https://www.scotthyoung.com/blog/2026/05/27/revolutionize-schooling/
272•andrewstuart•2d ago•434 comments

At the Autograph Show

https://oldster.substack.com/p/at-the-autograph-show
30•NaOH•2d ago•2 comments

Open Code Review – An AI-powered code review CLI tool

https://github.com/alibaba/open-code-review
240•geoffbp•16h ago•66 comments

Programmers will document for Claude, but not for each other

https://blog.plover.com/2026/03/09/#documentation-wins-2
121•surprisetalk•4h ago•118 comments

Do transformers need three projections? Systematic study of QKV variants

https://arxiv.org/abs/2606.04032
201•Anon84•17h ago•37 comments

The IsUpMap lets you check the status of over 100 major sites at once

https://isupmap.com/
109•mikelgan•11h ago•39 comments