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?

Show HN: HackerBooks – HackerTube, but for books recommended on HN

https://hackerbooks.org
235•roansh•1h ago•69 comments

Seoul Biosys Begins Production of Rare Earth-Free White Micro LEDs

https://www.ajupress.com/view/20261028171670308
64•gmays•1h ago•5 comments

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
1833•karpathy•21h ago•477 comments

Police chief unplugs Flock cameras after company ignores contract cancellation

https://www.tomshardware.com/tech-industry/big-tech/police-chief-physically-unplugs-flock-cameras...
224•entryleveljobsc•3h ago•63 comments

Patrick Stewart taught us what good men do with power

https://www.vox.com/politics/508526/patrick-stewart-jean-luc-picard-star-trek-liberalism
30•rhaynes•27m ago•15 comments

Proving and improving the Platonic Representation Hypothesis with JEPAs

https://arxiv.org/abs/2610.39302
63•Anon84•4h ago•30 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
65•dverlaeckt80•4h ago•21 comments

Lenovo's 'encrypted' fingerprint USB is just an unencrypted SD card in a case

https://www.reddit.com/r/technology/comments/1xl2pr3/lenovos_encrypted_fingerprint_usb_drive_is_j...
196•entryleveljobsc•3h ago•71 comments

Frontier Airlines Likely Breached

https://www.reddit.com/r/frontierairlines/comments/1xl20e8/psa_email_scam/
53•999900000999•1h ago•7 comments

Copper – A minimal low-level programming language with OOP and generics

https://tibleiz.net/copper/
35•bogdanoff_2•1d ago•13 comments

One-minute frequency disturbances from synchronization in power systems

https://www.nature.com/articles/s41560-026-02144-0
65•croes•1d ago•24 comments

An Italian farmer found some unknown seeds in his attic and planted them

https://www.smithsonianmag.com/science-nature/italian-farmer-found-unknown-seeds-attic-with-nothi...
647•ecares•19h ago•179 comments

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

https://kevs3d.co.uk/phoria2/
40•kevs3d•1d ago•5 comments

Brazilian Court Sanctions Lawyers for Prompt Injection in Court Filing

https://jetstream.security/insights/brazilian-court-sanctions-prompt-injection-filing/
255•doodlesdev•15h ago•136 comments

Memdoor: A team of 5 Qwen3.8-27B models beats Fable 5 on LiveCodeBench Hard

https://github.com/guregodevo/memdoor/tree/main/examples/workflows/team-solve
376•guregodevo•19h ago•184 comments

TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8

https://atlasum.net/blog/cve-2026-98432-linux-ipv4-tcp-uaf
616•oger•22h ago•304 comments

Radiation Map of the World

https://radiaverse.com/
68•slater•3d ago•28 comments

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

https://github.com/ivankovic/omnidiff
35•FabCH•4h ago•17 comments

Show HN: Point your camera at a landscape to learn about its geology

https://outcrop.rocks/
92•headsupernova•3d ago•27 comments

SS27 Color Stats

https://sarahconstantin.substack.com/p/ss27-color-stats
3•surprisetalk•3d ago•0 comments

Enlightenment 0.28.0 Release

https://www.enlightenment.org/news/2026-10-31-enlightenment-0.28.0
41•birdculture•2h ago•12 comments

Landline phones will switch off across Britland in 100 days, no extensions

https://www.theregister.com/networks/2026/11/01/landline-phones-will-switch-off-across-britland-i...
36•edward•2h ago•19 comments

Understanding Email Encryption

https://www.fastmail.com/blog/email-encryption/
87•nmjenkins•1d ago•21 comments

Domain hacks with unusual Unicode characters (2018)

https://xn--69f31l4t57c0mag4b613h.xn--7uh4898msjaso/🆆🆃🅵/
40•n_plus_1_acc•7h ago•33 comments

Leaking Secrets from Air-Gap Computers by Spelling Radio Signals from RAM (2024)

https://arxiv.org/abs/2409.02292
155•hapax_legomena•16h ago•77 comments

AI agent swarms in Minecraft fail to build civilization, drown in bureaucracy

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-agent-swarms-unleashed-in-m...
100•entryleveljobsc•4h ago•39 comments

Running a bootstrapped SaaS for 20 years with my brother

https://blog.zamzar.com/2026/10/30/20-years-766-million-files-two-chameleons/
196•whyleyc•2d ago•46 comments

Restrooms along the Norwegian Scenic Routes

https://www.visitnorway.com/plan-your-trip/travel-tips-a-z/norwegian-scenic-routes/worlds-best-to...
620•giuliomagnifico•7h ago•354 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
205•luu•11h ago•144 comments

Zinc creep in cable spelter sockets brought down the Arecibo telescope in 2020

https://maketecheasier.com/arecibo-zinc-creep-collapse/
154•ohjeez•1d ago•46 comments