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?

Since Chronium 148, Math.tanh is now fingerprintable to link underlying OS

https://scrapfly.dev/posts/browser-math-os-fingerprint/
79•joahnn_s•50m ago•24 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
75•naves•1h ago•3 comments

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
331•systima•3h ago•186 comments

Old and new apps, via modern coding agents

https://terrytao.wordpress.com/2026/07/11/old-and-new-apps-via-modern-coding-agents/
382•subset•10h ago•107 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
61•brryant•4h ago•7 comments

Can we understand how large language models reason?

https://cacm.acm.org/news/can-we-understand-how-large-language-models-reason/
57•adunk•3h ago•55 comments

Irish datacenters now guzzle 23% of the country's electricity

https://www.theregister.com/on-prem/2026/07/11/irish-datacenters-now-guzzle-23-of-the-countrys-el...
84•Bender•1h ago•52 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
69•softwaredoug•2d ago•116 comments

Nuclear war survival guide reveals seven everyday items if disaster strikes

https://www.dailymail.com/sciencetech/article-15795297/Forgotten-nuclear-war-survival-guide-revea...
5•Bender•27m ago•1 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
76•root-parent•5h ago•37 comments

I love LLMs, I hate hype

https://geohot.github.io//blog/jekyll/update/2026/07/12/i-love-llms.html
234•therepanic•3h ago•126 comments

The One-Step Trap (In AI Research)

http://incompleteideas.net/IncIdeas/OneStepTrap.html
32•jxmorris12•3h ago•5 comments

Kode Dot Programmable pocket device for makers, pentesters and geeks

https://kode.diy
5•iNic•35m ago•0 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
97•BerislavLopac•5h ago•23 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
50•georgex7•3h ago•17 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
9•azhenley•4d ago•2 comments

Against Usefulness

https://www.motivenotes.ai/p/against-usefulness
65•supo•4h ago•15 comments

Don't you mean extinct?

https://fabiensanglard.net/extinct/index.html
163•zdw•6h ago•89 comments

Deir El-Medina Strikes

https://en.wikipedia.org/wiki/Deir_el-Medina_strikes
47•mooreds•5d ago•5 comments

How to read more books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
221•silcoon•6h ago•127 comments

The State of MCP Security [pdf]

https://www.canopii.dev/State%20of%20MCP%20Security%202026.pdf
7•mavzer•1h ago•0 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
5•rawsh•1h ago•0 comments

Defining new Jax types with hijax

https://docs.jax.dev/en/latest/hijax_types.html
10•fhchl•2h ago•2 comments

The shingles vaccine may reduce the risk of dementia

https://www.economist.com/leaders/2026/07/09/a-no-brainer-for-protecting-your-brain
181•saikatsg•6h ago•150 comments

Neocities: Create your own free website

https://neocities.org/
58•Tomte•2h ago•15 comments

Why study Diophantine equations?

https://hidden-phenomena.com/articles/modular
57•mb1699•6h ago•18 comments

Show HN: Adaptive Recall, persistent memory for AI assistants over MCP

https://www.adaptiverecall.com/
4•abratabia•54m ago•0 comments

The power of collaboration: How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
45•raahelb•6h ago•38 comments

The Seed Beneath the Snow

https://eli.li/the-seed-beneath-the-snow
8•surprisetalk•3d ago•0 comments

Show HN: Shirei, cross-platform GUI framework in native Go

https://github.com/hasenj/go-shirei/
69•hsn915•5h ago•39 comments