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?

Toyota, Nissan, and Honda to standardize parts to lower costs

https://www.caranddriver.com/news/a74490092/toyota-nissan-honda-standardize-parts-lower-costs/
687•zdw•9h ago•416 comments

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

https://www.theguardian.com/society/2026/nov/20/pill-pancreatic-cancer-breakthrough-daraxonrasib
1124•rafaelc•1d ago•239 comments

A real Linux kernel, compiled to WebAssembly

https://github.com/pithings/unkernel
106•DonAtimator•4d ago•37 comments

Lean verification of the Riemann Hypothesis

https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
1090•g-b-r•22h ago•910 comments

Sandwich Simulator

https://stulle.app/
336•subdomain•13h ago•120 comments

Self-hosted library branch over public web OPDS

https://joinmayberry.com/
30•philips•2d ago•4 comments

Inkling-2-Mini in 5.4 GB Memory

https://github.com/ShinMegamiBoson/lookatmyquant
493•k__•19h ago•124 comments

Data Processing Incidents on Inference Providers

https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/
190•sdko•11h ago•68 comments

Detonating a pile of lead azide

https://www.science.org/content/blog-post/detonating-huge-pile-lead-azide-really
635•beginning_end•1d ago•400 comments

Show HN: The Riemann Proof Handbook

https://github.com/tamnd/riemann-handbook
68•tamnd•7h ago•39 comments

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

https://github.com/EL4CTEO/fast-anything
70•BaselAshraf81•9h ago•46 comments

Notes on the discrete Fourier transform (DFT)

https://eli.thegreenplace.net/2026/notes-on-the-discrete-fourier-transform-dft/
41•kouosi•6h ago•5 comments

Getting the mind to steer the body to steer you

https://notnottalmud.substack.com/p/getting-the-mind-to-steer-the-body
321•jger15•1d ago•107 comments

My monitor was cutting my download speed by 75%

https://blog.tymscar.com/posts/studiodisplayethernet/
611•soheilpro•1d ago•283 comments

If tiny 'primordial' black holes exist

https://phys.org/news/2026-11-tiny-primordial-black-holes.html
45•wglb•2d ago•27 comments

PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors

https://github.com/sebaandrada-cell/PcapAnalyzer
130•sebaandrada•15h ago•18 comments

String Art Font (2017)

https://erikdemaine.org/fonts/stringart/
7•akkartik•3d ago•0 comments

Field Mice on Drugs

https://ambrook.com/offrange/livestock/field-mice-on-drugs
3•surprisetalk•2d ago•0 comments

Advice for the next 100 Rust GUIs

https://linebender.org/blog/next-100-guis/
200•raphlinus•16h ago•90 comments

Pandex – Official European Law for AI Agents, over MCP

https://www.pandex.io
109•vasie•16h ago•29 comments

87% of the Anthropic power will come from gas and 11% from coal in 2028

https://betterdatacenterproject.com/2026/11/16/how-ai-is-powered-a-breakdown-of-byop-and-grid-power/
249•happosai•4h ago•345 comments

The Mythology of Conscious AI

https://www.noemamag.com/the-mythology-of-conscious-ai/
89•Anon84•11h ago•200 comments

Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator

https://simonwillison.net/2026/Nov/21/muru/
8•joshcsimmons•3h ago•0 comments

Split Radiance Cascades

https://www.jacktollenaar.top/articles/split-rc.html
44•ibobev•2d ago•0 comments

Is 'fork' missing operation in sandboxes?

https://avrea.com/blog/avrea-sandboxes-computers-should-be-forkable
11•damezumari•2d ago•9 comments

LLMs can read and write executables byte by byte from a hex dump

https://sgiannopoulos.github.io/blog/machine-code-programming/
272•fortran77•3d ago•162 comments

Reversing the Next-Page Prefetcher in Skylake-X

https://devsh0.github.io/microarchitecture,/intel,/computer-architecture/2026/11/17/reversing-the...
16•todsacerdoti•3d ago•0 comments

Upload2Shell (CVE-2026-125396)

https://pwn.ai/upload2shell
131•f311a•18h ago•62 comments

GnuPG Security Advisory for GPGME

https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
262•gdgghhhhh•1d ago•112 comments

Hurried Announcement: Alessandro Masullo GRH

https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/
2429•jasondavies•1d ago•1182 comments