News for hackers. Stuff that matters.
Re:Urbit: an operating function by deegles on Friday September 25, 2015 @02:08PM (#10279681)
One example is that they flipped the meaning of 0 and 1 in their new language.

>We should note that in Nock and Hoon, 0 (pronounced “yes”) is true, and 1 (“no”) is false. Why? It’s fresh, it’s different, it’s new. And it’s annoying. And it keeps you on your toes. And it’s also just intuitively right.

Re:Urbit: an operating function by yarvin9 on Friday September 25, 2015 @02:14PM (#10279725)
I'll give you that one! It's an old mistake and not very costly in practice, but the intuitive rightness isn't worth the pain in the butt. But the pain in the butt also isn't painful enough to match the difficulty of fixing it.

I actually got this bad idea from Unix: !strcmp(), etc. It's certainly easier to overload error codes into a 0=true scheme, although Urbit doesn't actually do that.

Re:Urbit: an operating function by david-given on Friday September 25, 2015 @03:56PM (#10280317)
"It's an old mistake and not very costly in practice, but the intuitive rightness isn't worth the pain in the butt."

Why is it intuitively right?

Re:Urbit: an operating function by melloclello on Friday September 25, 2015 @05:48PM (#10280920)
"a string can be slack in many ways, but taut in only one"

0 is true, everything else is false. At least that's my intuition.

Re:Urbit: an operating function by emmelaich on Saturday September 26, 2015 @08:45AM (#10282960)
Huh! Pretty similar to my comparison to Tolstoy's quote on happy and unhappy families.

https://news.ycombinator.com/item?id=10282933

Re:Urbit: an operating function by pcmonk on Friday September 25, 2015 @02:13PM (#10279716)
This is exactly the way it's used in shell scripting, and honestly, it's more useful that way for us because it makes booleans default to true instead of false. If we're going to redo everything, we may as well do it right this time.
Re:Urbit: an operating function by minitech on Friday September 25, 2015 @03:11PM (#10280080)
> This is exactly the way it's used in shell scripting

You say that like it’s a good thing.