Recent submissions

Comment · 2 years ago
Comment · 2 years ago
Balrogs would be under the Maiar category, but most have no recorded name. I suppose the one from the trilogy could have been listed as "Durin's Bane."
Comment · 2 years ago
I think the way F# implemented it is pretty good: if you want to use a keyword or whitespace in a variable or function name, it has to be enclosed in double backticks.

e.g:

  [<Property>]
  let ``Reverse of reverse of a list is the original list`` (xs:list<int>) =
      List.rev(List.rev xs) = xs
Comment · 3 years ago
Comment · 3 years ago
You wouldn't necessarily need to track every change, you could just have 2 tables, one which contains the last "saved" version of the document, and one which contains the last modified version of the document. Upon opening after a crash, if there is a more recent modified version, the program will ask if you want to load that version.
Comment · 3 years ago
Don't forget centi-, deci-, deka-, and hecto-.
Comment · 3 years ago
Comment · 3 years ago
Encrypted disks would be the key issue here, older CPUs likely can't handle the encryption work required.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton