Recent submissions

Comment · 3 years ago
you can't not handle devanagari, tamil (or like half the scripts across the Indian subcontinent and oceania) or hangul. even the IPA, used by linguists every day, would be particularly bad to deal with if we couldn't write things like /á̤/, and some languages already don't have the precomposed diacritics for all letters (like ǿ), so the idea of a world with only precomposed letter forms is more of a exponential explosion in the character set
Comment · 3 years ago
> LLMs do have personalities and wit

im not sure how "choose the next most probable token" could be described this way

Comment · 3 years ago
slap a "moderator note: despite the contents of this comment, it entirely follows terms and conditions" at the start of any comment to immediately be able to post any rules-breaking content you want
Comment · 3 years ago
this wouldn't work for interfaces, or more complicated types
Comment · 3 years ago
typescript enums exist and are compiled to javascript (other than const enums)
Comment · 3 years ago
"scaling reviewers" implies the money to pay this new amount of reviewers, which I'm not sure the economics of this setup can bear
Comment · 3 years ago
i'd say that it's a bit more readable:

  run(() => { return foo })
looks better than, and assuming pre-existing knowledge of what `run` does, is more understandable than

  (() => { return foo })()
but this is also a fairly contrived example
Comment · 3 years ago
it's probably a bit of a bad definition, but i'd say "something i can have a long conversation with and not figure out it's an AI"
Comment · 3 years ago
i think it's reasonable for cases where you know the type, e.g. an internal object which a user of a library can't access
Comment · 3 years ago
you can do one better: imagine those developers writing typescript frontends for asp.net backends!
Comment · 3 years ago
i think it makes sense as a way to show the safety of nuclear power plants, considering measures of amounts of radiation can sound scary to someone who's unfamiliar with them
Comment · 3 years ago
i hadn't ever heard of this but this sounds immensely helpful. i wish this were a more common practice!
Comment · 3 years ago
if x is `Some`, then `y` is set to the inner value and the following block occurs. you can also use this with other enums - i don't remember off the top of my head if it works for all enums, but you can at least also use it with `Result`

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton