Recent submissions

Comment · 27 days ago
I would think that common lisp being image-based and so therefore having tons of implicit state that is not manifest in code is a huge downside to programming with an LLM since the state of the system is not easily reproduced from program text.
Comment · 1 month ago
Am I missing something or did the anecdote at the beginning have nothing to do with the rest?
Comment · 1 year ago
Clearly a Kool-aid enjoyer
Comment · 1 year ago
do you really have 20+ tabs of LLMs open at a time?
Comment · 1 year ago
Isn't it more differential geometry?
Comment · 1 year ago
Basically, Evan decided he wanted Elm to be a pre-packaged closed ecosystem where it was easy to develop very simple standalone apps, but made it very difficult to impossible to actually integrate with any existing JavaScript code or libraries. This was a baffling decision to people who thought Elm was supposed to be a practical language.

Blaming everything on "entitlement" from people who bought Elm's marketing about "making functional programming practical" is ridiculous. Thankfully there are now plenty of languages with better type systems than Elm (Rust, OCaml) that deploy to the web just fine.

Comment · 2 years ago
You can do something like this with OCaml/SML's module system.

And certainly from an abstraction point of view you can do this in any dependently typed language like Idris/Agda/Coq, but these don't have great implementations.

Comment · 2 years ago
Typed functional languages like Haskell (data)/ML (type) do have a built-in way to define new tree types, and so does Rust (enum). It's one of the biggest things I miss when I'm not using these languages, especially when combined with some metaprogramming (deriving/derive) to get some functions defined for these new types very quickly.
Comment · 2 years ago
It is very bad that abortion is illegal but thousands of people have not been imprisoned for violating abortion laws afaik.
Comment · 3 years ago
I'll be surprised if none of the bigger beer companies ends up buying it for the brand and history alone. But maybe it doesn't have as much name recognition as I thought.
Comment · 3 years ago
It really is remarkable. I think the most remarkable fact about it is that the intensional identity type was invented by Martin Lof in the 70s, the groupoid model was discovered in the 90s and then finally in the late 2000s various people made the connection that Martin Lof's original system from the 70s was in a sense already a type theory for abstract homotopy theory. This led to an explosion of new ideas in type theory (univalence, higher inductive types, modalities) that took a somewhat obscure field of math/cs to the thriving research community it is today.
Comment · 3 years ago
> How can roots be changed without a redo of the universe?

This is a very interesting question and I think reflects a mismatch between how we commonly think about of foundations of mathematics and what role foundations actually play in mathematics. There's no recording online but I recommend looking at the slides to Mike Shulman's talk from JMM 2022 where he discusses this point: http://sigmaa.maa.org/pom/Slides/shulman-2022jmm.pdf . Mike works on, among other things, homotopy type theory, the subject of the original article.

His basic point is that we should think of math more like programs that we can "compile" to various backends. If your math is high level it's not necessarily tied to a particular "architecture" like ZFC.

Comment · 3 years ago
Even emscripten, which compiles LLVM to WASM has to use a relooper algorithm to get around the lack of jumps.
Comment · 3 years ago
Austrian economics is truly indistinguishable from parody
Comment · 3 years ago
This would allow you to do things like compile other assembly languages to webassembly.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton