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?

Code mode yields a 99.2% cost reduction in our systems

https://www.agent-swarm.dev/blog/code-mode-token-savings
47•tarasyarema•1h ago•34 comments

Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot

https://jointhefreeworld.org/blog/articles/emacs/emacs-eglot-scala-kotlin/index.html
87•jjba23•2d ago•54 comments

Terence Tao's ChatGPT conversation about the Jacobian Conjecture counterexample

https://chatgpt.com/share/6a5fdc7a-d6f8-83e8-bbea-8deb42cfed56
931•gmays•18h ago•537 comments

Cruller: Bun's Zig Runtime, Continued on Zig 0.16

https://ziggit.dev/t/cruller-buns-zig-runtime-continued-on-zig-0-16/16734
73•Erenay09•6h ago•37 comments

Quality non-fiction books are the antithesis of AI slop

https://resobscura.substack.com/p/quality-non-fiction-books-are-the
395•benbreen•21h ago•154 comments

EU fines Google €890M for competition breaches over search and apps

https://www.theguardian.com/technology/2026/jul/23/eu-fines-google-for-competition-breaches-over-...
58•Stevvo•1h ago•53 comments

The Unity CLI: manage Unity from your terminal

https://unity.com/blog/meet-the-unity-cli
15•nateb2022•1d ago•2 comments

GigaToken: ~1000x faster Language model tokenization

https://github.com/marcelroed/gigatoken/
532•syrusakbary•18h ago•110 comments

Show HN: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)

https://bento.page/slides/
877•starfallg•20h ago•197 comments

Everyone should know SIMD

https://mitchellh.com/writing/everyone-should-know-simd
471•WadeGrimridge•18h ago•170 comments

Are AI labs pelicanmaxxing?

https://dylancastillo.co/posts/pelicanmaxxing.html
573•dcastm•18h ago•222 comments

ANSI escape injection in MCP servers: Hidden from humans, visible to AI

https://brightsec.com/research/detecting-ansi-escape-sequence-injection-in-mcp-servers-with-dast/
27•xgpyc2qp•2d ago•10 comments

Worse on Purpose – How Corporate Greed Killed Product Quality – Worse on Purpose

https://www.worseonpurpose.com/
26•bilsbie•50m ago•7 comments

New Framework Desktop Option with AMD Ryzen AI Max+ Pro 495 and 192GB Memory

https://frame.work/desktop?tab=192gb-coming-soon
15•PhilippGille•45m ago•2 comments

So Reddit has decided that plain HTML is unsafe

https://www.cole-k.com/2026/07/21/reddit/
511•montroser•23h ago•512 comments

git's –end-of-options Flag

https://nesbitt.io/2026/07/21/end-of-options.html
163•Erenay09•1d ago•97 comments

Protecting our FLOSS commons from LLMs

https://blog.codeberg.org/protecting-our-floss-commons-from-llms.html
92•acmnrs•10h ago•33 comments

Amiga 1000: Ten years ahead of its time

https://dfarq.homeip.net/amiga-1000-ten-years-ahead-of-its-time/
102•giuliomagnifico•6h ago•86 comments

Making

https://beej.us/blog/data/ai-making/
381•erikschoster•20h ago•150 comments

The startup's Postgres survival guide

https://hatchet.run/blog/postgres-survival-guide
431•abelanger•23h ago•197 comments

Show HN: Cactus Hybrid: We taught Gemma 4 to know when it's wrong

https://github.com/cactus-compute/cactus-hybrid
152•HenryNdubuaku•17h ago•33 comments

Making ASCII Art in Vim

https://alexyang.dev/vim-ascii-art/
80•evakhoury•2d ago•8 comments

John C. Dvorak has died

https://twitter.com/na_announce/status/2079952538040672302
787•coleca•16h ago•264 comments

Medici family mystery may be solved after more than 400 years

https://www.cnn.com/2026/07/15/science/medici-family-mystery-dna-malaria
130•effects•13h ago•38 comments

Why malloc always does more than I asked for?

https://ssenthilnathan3.github.io/blog/malloc/
44•nathaah3•3d ago•36 comments

Businesses with ugly AI menu redesigns

https://blog.fiddery.com/businesses-with-ugly-ai-menu-redesigns/
320•speckx•23h ago•231 comments

Frequently Asked Questions on Expertise

https://jtpeterson.substack.com/p/faq-on-expertise
11•surprisetalk•2d ago•0 comments

Malleable Computing, Emacs, and You

http://yummymelon.com/devnull/malleable-computing-emacs-and-you.html
118•kickingvegas•14h ago•33 comments

Nobody knows what a used GPU cluster is worth

https://ciphertalk.substack.com/p/nobody-knows-what-a-used-gpu-cluster
243•rbanffy•1w ago•220 comments

Fairphone 6 wide camera experimental Linux support

https://nondescriptpointer.com/articles/fairphone-6-wide-camera-linux/
130•helonaut•15h ago•41 comments