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?

PHP2Shell: Exploitation Attempts and Remediation Trends

https://www.wiz.io/blog/php2shell-exploitation-so-far
108•acossta•1h ago•39 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
232•f311a•4h ago•120 comments

Wikipedia's Cleanup of AI-Generated Content

https://spectrum.ieee.org/wikipedia-wikiproject-ai-writing-cleanup
221•rbanffy•4h ago•89 comments

Here Be Monsters: What Do You Still Need to Know When Agents Do the Work?

https://blog.adrq.dev/here-be-monsters-what-do-you-still-need-to-know-when-agents-do-the-work
71•adrq•2h ago•17 comments

AI promised less work. I've never worked more

https://oioannou.com/blog/ai-promised-less-work/
452•oorestisime•4h ago•409 comments

Why Micron Is Suddenly Ditching 4F² DRAM as Rivals Double Down

https://hothardware.com/news/why-micron-is-suddenly-ditching-4f-dram
41•rbanffy•1d ago•2 comments

Viral Polls Are Not Representative Polls

https://kevinreuning.com/blog/polling_virality.html
23•m-hodges•1h ago•15 comments

The US Government Is Hiding Secret Court Ruling About How It Spies on Americans

https://www.wired.com/story/the-us-government-is-hiding-a-secret-court-ruling-about-how-it-spies-...
200•helterskelter2•1h ago•41 comments

Giving chat feedback gives Anthropic your data

https://privacy.claude.com/en/articles/7996868-is-my-data-used-for-model-training
94•jonpizza•1h ago•49 comments

Three new discoveries in mathematics, computer science, and physics

https://openai.com/index/building-scientific-understanding-with-academic-communities/
1059•jonluca•18h ago•600 comments

The Mythical Man-Month in the Age of AI

https://j11g.com/the-mythical-man-month-in-the-age-of-ai
338•ilreb•9h ago•212 comments

Software may be getting worse, but it used to be horrible

https://www.bitlog.com/2026/10/27/software-may-be-getting-worse-but-it-used-to-be-horrible/
209•jakevoytko•4h ago•165 comments

Gforth 1.0

https://gforth.org/manual/1.0/NEWS.html
96•joshcsimmons•5h ago•6 comments

A Stackless Floodfill Automaton

https://t3x.org/files/floodfill.pdf
16•andsoitis•1d ago•5 comments

New iMac with M6

https://www.apple.com/imac/
110•notfried•2h ago•96 comments

The Exponential Time Hypothesis Is False [pdf]

https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-Octob...
733•vok•17h ago•264 comments

My video has unit tests

https://pertiller.tech/blog/my-video-written-in-code/
3•Vieltrinker•35m ago•0 comments

Show HN: Specification First Agentic Development Plugin and Prove

https://spec-first.dev/
4•hleichsenring•38m ago•0 comments

Roblox downloaded 145GB models from us (including adult content) without asking

https://open3dlab.com/news/roblox-downloaded-145-gb-of-models-from-our-sites/
385•choult•5h ago•226 comments

Data Recovery CEO Indicted for Allegedly Scamming Ransomware Victims

https://www.propublica.org/article/zohar-pinhasi-monstercloud-ransomware-indictment
8•hn_acker•11m ago•3 comments

188-Year-Old Mystery of Photography's First Human Subjects Solved

https://news.artnet.com/art-world/daguerre-photograph-subjects-location-2826596
34•bookofjoe•3d ago•7 comments

Sebastian Raschka's from-scratch video course on building reasoning models

https://magazine.sebastianraschka.com/p/building-reasoning-models
795•sgiannopoulos•1d ago•105 comments

Oldest GUI application that still runs on Windows 11

https://blog.enlyth.com/posts/oldest-windows-gui-app-win-11/
501•enlyth•21h ago•299 comments

Solar power is becoming bigger than nuclear

https://www.bbc.com/future/article/20261023-how-solar-became-bigger-than-nuclear
475•geox•1d ago•660 comments

Kauldron: Modular, scalable library to train ML models

https://github.com/google-research/kauldron
19•nateb2022•1d ago•2 comments

I still teach OpenGL ES 3.0

https://eliasfarhan.ch/graphics/cpp/2026/01/27/why-i-teach-opengles.html
119•majorchord•13h ago•73 comments

CSS-Tricks has a new owner

https://css-tricks.com/css-tricks-has-a-new-owner/
533•edent•23h ago•109 comments

Type Server Protocol

https://github.com/microsoft/pylance-release/blob/main/docs/tsp/type-server-protocol.md
264•adamnemecek•21h ago•172 comments

Writing about pratt parsing so I remember it

https://www.unix.dog/~yosh/blog/2026-10-25_pratt-parsing.html
76•dverlaeckt80•9h ago•7 comments

How to grow a cacao tree at home (2024)

https://www.cocoterra.com/guide-on-how-to-grow-chocolate-at-home/
136•felipevb•1d ago•39 comments