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?

Kimi K3: Open Frontier Intelligence

https://www.kimi.com/blog/kimi-k3
854•vincent_s•7h ago•509 comments

LM Studio Bionic: the AI agent for open models

https://lmstudio.ai/blog/introducing-lm-studio-bionic
49•minimaxir•1h ago•13 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
415•jervant•5h ago•95 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
289•ray__•5h ago•79 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
48•hershyb_•1h ago•35 comments

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

https://www.science.org/doi/10.1126/science.aea9708
29•anyonecancode•1h ago•3 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
179•xnx•5h ago•100 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
118•uneven9434•5h ago•85 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
497•pilililo2•11h ago•281 comments

Immersive Linear Algebra Book with Interactive Figures (2015)

https://immersivemath.com/ila/
119•srean•6h ago•24 comments

The privacy problems hidden in your period tracker

https://www.bbc.com/future/article/20260715-how-period-trackers-share-womens-private-details
33•tchalla•1h ago•9 comments

Abstracting Effects with Continuations

https://crowdhailer.me/2026-07-15/abstracting-effects-with-continuations/
9•crowdhailer•11h ago•0 comments

Mathematics of Data Science

https://arxiv.org/abs/2607.11938
14•Anon84•1h ago•0 comments

Show HN: BambooGrid – Open-source web UI for power grid modeling and power flow

https://bamboo.kickstage.com
9•soaringmonchi•5h ago•1 comments

Pseudpocalypse

https://dynomight.net/pseudpocalypse/
38•surprisetalk•2d ago•15 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•4h ago

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
140•yabones•8h ago•68 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

20•XiaHua•4h ago•9 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
79•zhinit•6h ago•52 comments

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
350•jorangreef•10h ago•195 comments

Optimizing Lua string literals to save 400 bytes

https://purplesyringa.moe/blog/guest/optimizing-lua-string-literals-to-save-400-bytes/
25•ibobev•3d ago•4 comments

Guide to data tools landscape for developers

https://sinja.io/blog/data-landscape-guide-for-developers
99•OlegWock•6h ago•31 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/
31•speckx•4h ago•34 comments

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
4•muchael•1h ago•0 comments

AttoChess, a complete, playable chess program for 16-bit x86 DOS in 278 bytes

https://nicholas-afk.github.io/AttoChess/
22•SeenNotHeard•3h ago•13 comments

Ente – Opening Our Books

https://ente.com/open/
213•Sherex•11h ago•82 comments

Sony deletes more movies from the accounts of people who ‘bought’ them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
541•nekusar•9h ago•331 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
57•patonw•5h ago•17 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
151•JeremyTheo•9h ago•161 comments

Timeline Scan – AI fixes the dates on your scanned photos

https://timelinescan.com/
6•HoserHoser•1h ago•14 comments