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?

EEG shows brain can simultaneous encode two speech streams

https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3003876
117•giuliomagnifico•5h ago•68 comments

Kimi K3: Open Frontier Intelligence

https://www.kimi.com/blog/kimi-k3
1680•vincent_s•20h ago•989 comments

Pebble Mega Update – July 2026

https://repebble.com/blog/pebble-mega-update-july-2026
128•crazysaem•7h ago•52 comments

How Has Roman Concrete Lasted for Millennia? 1,900-Year-Old Latrine Offers Clues

https://www.smithsonianmag.com/smart-news/how-has-roman-concrete-lasted-for-millennia-a-1900-year...
136•divbzero•7h ago•104 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
697•jervant•19h ago•155 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
571•ray__•18h ago•135 comments

An Engineer's Guide to USB Typе-С (2024)

https://www.ti.com/lit/eb/slyy228/slyy228.pdf?ts=1759892558029
184•gregsadetsky•6d ago•18 comments

LM Studio Bionic: the AI agent for open models

https://lmstudio.ai/blog/introducing-lm-studio-bionic
264•minimaxir•14h ago•92 comments

Solod: Go can be a better C

https://solod.dev
141•koeng•3d ago•80 comments

Starlink from 1984

https://nemanjatrifunovic.substack.com/p/starlink-from-1984
40•ingve•5d ago•15 comments

$100 AI Music Video: Claude Fable 5 vs. GPT-5.6 Sol

https://www.tryai.dev/blog/ai-music-video-arena-claude-vs-gpt-5.6
288•hershyb_•15h ago•383 comments

SQLite Is All You Need

https://www.dbpro.app/blog/sqlite-is-all-you-need
11•upmostly•2d ago•3 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
315•xnx•18h ago•160 comments

The Little Book of Reinforcement Learning

https://github.com/alxndrTL/little-book-rl/
145•mustaphah•12h ago•18 comments

I Owe My Life to the Commodore 64

https://www.goto10retro.com/p/i-owe-my-life-to-the-commodore-64
18•ingve•1h ago•7 comments

Camera Chase Vehicle

https://transistor-man.com/gimbal_camera_rover.html
21•geerlingguy•1w ago•1 comments

Immersive Linear Algebra Book with Interactive Figures (2015)

https://immersivemath.com/ila/
235•srean•19h ago•27 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
204•uneven9434•18h ago•147 comments

Old Icons

https://leancrew.com/all-this/2026/07/old-icons/
64•zdw•5d ago•14 comments

In Praise of Exhaustive Destructuring

https://antoine.vandecreme.net/blog/exhaustive-destructuring-praise/
23•avandecreme•5d ago•5 comments

Helium escaping from atmosphere of nearby rocky exoplanet in a habitable zone

https://www.science.org/doi/10.1126/science.aea9708
112•anyonecancode•14h ago•35 comments

Mathematics of Data Science

https://arxiv.org/abs/2607.11938
169•Anon84•14h ago•10 comments

CD sales growth outpaced vinyl in the first half of 2026

https://consequence.net/2026/07/the-cd-revival-is-getting-hard-to-ignore/
117•speckx•17h ago•127 comments

'Likweli': A new monkey species discovered in the Congo Basin

https://news.yale.edu/2026/07/15/meet-likweli-new-monkey-species-discovered-congo-basin
84•gmays•13h ago•18 comments

The human-in-the-loop is tired

https://pydantic.dev/articles/the-human-in-the-loop-is-tired
232•haritha1313•10h ago•129 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
237•JeremyTheo•23h ago•244 comments

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
139•zhinit•19h ago•67 comments

Solving Santa Claus Puzzle

https://wyounas.github.io/puzzles/concurrency/2026/01/10/how-to-help-santa-claus-concurrently/
6•simplegeek•5d ago•1 comments

Show HN: Clx – Compile Lua to Native Executables Through C++20

https://github.com/samyeyo/clx
120•_samt_•5d ago•20 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
168•yabones•21h ago•84 comments