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?

Mario Meets Pareto

https://www.mayerowitz.io/blog/mario-meets-pareto
277•theanonymousone•3h ago•47 comments

I added a real-time chat to my blog, people used it to attack me

https://en.andros.dev/blog/b6c32a90/i-added-a-real-time-chat-to-my-blog-people-used-it-to-attack-me/
37•andros•51m ago•35 comments

How to Make a Nintendo 64 Game in 2026

https://phoboslab.org/log/2026/08/xibalba64-making-of
285•atan2•2d ago•82 comments

Crime Pays but Botany Doesn't

https://www.crimepaysbutbotanydoesnt.com/reading-list
402•DarkContinent•9h ago•126 comments

Tiny Black Holes May Be Exploding Stars Across the Milky Way

https://www.sciencedaily.com/releases/2026/07/260729051515.htm
15•jandrewrogers•22h ago•7 comments

Humans missed 1 in 3 threats approving AI agent commands across 40k game runs

https://scalex.dev/blog/ai-agent-permissions-stats/
73•Wirbelwind•2h ago•55 comments

Pareto Front

https://en.wikipedia.org/wiki/Pareto_front
112•binyu•1w ago•46 comments

US beef prices have soared but farmers aren't making more money

https://www.bbc.com/news/articles/cdrv0k0j662o
30•tartoran•1h ago•37 comments

Telephones Caught in Between

https://computer.rip/2026-08-02-telephone-leasing.html
10•speckx•2h ago•0 comments

Discovery Loop

https://www.discoveryloop.com/
817•xtreak29•22h ago•507 comments

Show HN: demake – one source project compiles to any retro game console ROM

https://geosona.com/demake/
22•gste•3h ago•3 comments

Changes at Google DeepMind: Demis Hassabis from CEO to Chair, Jeff Dean departs

https://blog.google/company-news/inside-google/message-ceo/next-chapter-ai-momentum/
743•colesantiago•22h ago•799 comments

Join Me in Jamverse

https://contraptions.venkateshrao.com/p/join-me-in-jamverse
17•surprisetalk•6d ago•1 comments

Zed DeltaDB

https://zed.dev/deltadb
477•ahamez•19h ago•267 comments

The title cards in Blade Runner are amazing

https://randsinrepose.com/archives/blade-runner-title-cards/
340•ExMachina73•17h ago•162 comments

Muse Code and Muse Spark 1.2

https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2
290•paulkrush•19h ago•189 comments

Beating GPT-5.6 Sol on retrieval with 100x cheaper open models

https://neon.com/blog/how-castform-neon-beats-frontier-models-on-price-and-efficiency
362•moonikakiss•20h ago•99 comments

Branchless Rust: Making a Filter 4x Faster by Removing an If

https://www.greyblake.com/blog/branchless-rust/
242•greyblake•3d ago•75 comments

Born Against, or why hobby programming communities are against LLM usage

https://blog.fogus.me/llm/born-against.html
327•lladnar•20h ago•370 comments

Unearthing my 1996 windowed OS in machine code for Am29000 homebrew computer

https://nanochess.org/the_am29000_computer.html
68•nanochess•5d ago•8 comments

Cloudflare OS: an open platform for agents, apps, and work

https://blog.cloudflare.com/cloudflare-os/
603•speckx•1d ago•291 comments

On non-rooted Android 17, ADB uninstall of system apps fails

https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/issue...
157•microtonal•8h ago•114 comments

NVIDIA’s Vera Whitepaper Has a Thread Loose

https://chipsandcheese.com/p/nvidias-vera-whitepaper-has-a-thread
173•pella•17h ago•36 comments

Former Federal Prosecutors to Senate: Stop Confirming Election Deniers as Judges

https://abovethelaw.com/2026/08/former-federal-prosecutors-to-senate-stop-confirming-election-den...
5•hn_acker•19m ago•1 comments

Prime Agent: A self-improving RLM agent

https://www.primeintellect.ai/blog/prime-agent
209•Xeophon•17h ago•51 comments

Quantego: A Family of Lego Models of IBM Quantum Computers

https://quantego.org/
53•rbanffy•6d ago•24 comments

Morioka Shoten

https://www.takram.com/projects/a-single-room-with-a-single-book-morioka-shoten
35•skogstokig•5d ago•12 comments

Atlassian Rovo Exfiltrates Data, Bypassing Controls

https://www.promptarmor.com/resources/atlassian-rovo-exfiltrates-data
264•hackerBanana•21h ago•114 comments

GNU Hurd News 2026-Q2

https://www.gnu.org/software/hurd/news/2026-q2.html
203•plaguna•3d ago•135 comments

Celld: Self-hosted, distributed Durable Objects

https://github.com/denoland/celld
250•calvinfo•21h ago•43 comments