frontpage.
newsnewestaskshowjobs

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?

Fable turned reMarkable into Tom Riddle's diary from Harry Potter

https://github.com/MaximeRivest/Riddle
173•modinfo•3h ago•106 comments

How to sequence your own DNA at home

https://bradleywoolf.com/links-1/sequencing-my-own-dna-at-home
68•bilsbie•2h ago•17 comments

OpenWrt One – Open Hardware Router

https://openwrt.org/toh/openwrt/one
461•peter_d_sherman•8h ago•183 comments

CoMaps – FOSS Offline Maps

https://www.comaps.app/
334•basilikum•7h ago•64 comments

GLM 5.2 and the coming AI margin collapse

https://martinalderson.com/posts/the-upcoming-ai-margin-collapse-part-1-glm-5-2/
189•martinald•6h ago•117 comments

Ternlight – 7 MB embedding model that runs in browser (WASM)

https://ternlight-demo.vercel.app/
84•soycaporal•3h ago•29 comments

NSA and IETF: Fairness

https://blog.cr.yp.to/20260706-fairness.html
51•WatchDog•3h ago•24 comments

A global workspace in language models

https://www.anthropic.com/research/global-workspace
282•in-silico•8h ago•101 comments

Pruning RAG context down to what the answer actually needs

https://www.kapa.ai/blog/how-we-prune-rag-context
60•emil_sorensen•7h ago•6 comments

Small AI Models Gain Traction In places with unreliable networks

https://spectrum.ieee.org/small-language-models-ai-pharmaceuticals
21•sscaryterry•2h ago•3 comments

A 2048-spin bulk acoustic wave Ising machine for number partitioning and Sudoku

https://arxiv.org/abs/2607.02112
28•Jimmc414•2d ago•1 comments

AMD Ryzen AI Halo – $4k AI Dev Kit

https://www.lttlabs.com/articles/2026/07/06/amd-ryzen-ai-halo
284•LabsLucas•11h ago•203 comments

Resetting Xbox

https://news.xbox.com/en-us/2026/07/06/resetting-xbox/
491•dijksterhuis•12h ago•477 comments

Linux on the Atari Jaguar

https://cakehonolulu.github.io/linux-for-jaguar/
113•cakehonolulu•8h ago•19 comments

OpenSSH 10.4/10.4p1 Released

https://www.openssh.org/txt/release-10.4
30•throw0101a•4h ago•7 comments

Stealth robotics startup (YC S26) is hiring principal engineers (Palo Alto)

1•david-venegas•10h ago

Full Writeup of the Windows GDID

https://github.com/SmtimesIWndr/gdid-reversal
44•typeofhuman•4h ago•20 comments

Acronym Fatigue Series Introduction: why I'm wary of acronyms

https://devz.cl/posts/acryonym-fatigue-series-why-i-m-wary-of-engineering-acronyms/
22•DanielVZ•4h ago•11 comments

Craig Mod built his own Good Reads

https://craigmod.com/roden/115/
11•natbennett•3d ago•5 comments

OfficeCLI: Office suite for AI agents to read and edit Microsoft Office files

https://github.com/iOfficeAI/OfficeCLI
130•maxloh•9h ago•36 comments

Learning to code is still worthwhile

https://stevekrouse.com/learn-to-code
113•stevekrouse•5h ago•113 comments

Poly/ML – A Standard ML Implementation

https://github.com/polyml/polyml
27•Lyngbakr•4h ago•4 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
24•luu•4d ago•2 comments

Aluminum foil (2021)

https://dernocua.github.io/notes/aluminum-foil.html
244•firephox•13h ago•106 comments

The LLVM Compiler Infrastructure

https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
47•tosh•2d ago•5 comments

The Music of Destruction

https://thebaffler.com/latest/the-music-of-destruction-fuelling
12•lermontov•4d ago•3 comments

AI: The ROI Runway Could Be Long Outside the Tech Sector

https://www.apollo.com/wealth/insights-news/insights/daily-spark/ai-the-roi-runway-could-be-long-...
57•u1hcw9nx•5h ago•50 comments

M/PC – A Concatenative OS

https://wiki.xxiivv.com/site/m_pc.html
42•caminanteblanco•6h ago•4 comments

Januscape: Guest-to-Host Escape in KVM/x86 [CVE-2026-53359]

https://github.com/V4bel/Januscape
81•Imustaskforhelp•9h ago•26 comments

Rotman Lens

https://en.wikipedia.org/wiki/Rotman_lens
80•thomasjb•5d ago•21 comments