News for hackers. Stuff that matters.
Re:Urbit: a personal cloud computer by pxndx on Saturday November 08, 2014 @05:37PM (#8578360)
This is either a very elaborate joke or the future of computing.
Re:Urbit: a personal cloud computer by gfodor on Saturday November 08, 2014 @05:50PM (#8578394)
They had me going in the Nock spec until "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: a personal cloud computer by gojomo on Saturday November 08, 2014 @05:58PM (#8578414)
Here's one possible intuition:

There is one ground truth, origin, fixed point like the North Star: zero. There are an infinite number of possible falsehoods: all nonzero numbers. But Urbit chooses 1 as the canonical false.

Re:Urbit: a personal cloud computer by vidarh on Saturday November 08, 2014 @06:50PM (#8578559)
And this is close to the reason why you often see zero used a "success" in languages like C: There are many possible error values.

So it's not very original at all.

Re:Urbit: a personal cloud computer by urbit on Sunday November 09, 2014 @07:43PM (#8581464)
That's correct. :-)
Re:Urbit: a personal cloud computer by randallsquared on Saturday November 08, 2014 @06:15PM (#8578467)
Whoa. That does make it intuitive. :)
Re:Urbit: a personal cloud computer by gfodor on Sunday November 09, 2014 @10:06PM (#8581854)
this is that point where i get frustrated i can't post animated head-explode.gif's in HN.
Re:Urbit: a personal cloud computer by callahad on Saturday November 08, 2014 @05:56PM (#8578410)
To be fair, that's also pretty close to exit code semantics on most POSIX systems, where 0 is success and non-zero is failure...
Re:Urbit: a personal cloud computer by 542458 on Sunday November 09, 2014 @12:26AM (#8579201)
But on POSIX systems, there's a reason for that. There's only one success (Since "success" should do the same thing every time), but many types of errors which can be indicated by the return value. You could argue that 1 should be success, and >1 should be failure, but that's a minor quibble.

Conversely, here it's just because "it's different". I feel that this is a bit if a shame - some of the other parts of the project appear quite interesting, but making fundamental decisions in downright wrong ways just to mess with expectations comes across as silly to say the least. Why deliberately increase the learning barrier and drive people away?

Re:Urbit: a personal cloud computer by urbit on Sunday November 09, 2014 @07:39PM (#8581450)
Yeah, it's probably not one of our better decisions.
Re:Urbit: a personal cloud computer by pavlov on Saturday November 08, 2014 @05:56PM (#8578409)
The same spirit seems to apply everywhere. The Hoon tutorial shows an incredibly elaborate way to build a decrement function, and it notes:

"As you may remember, to decrement 'a' we need to count up to it."

Re:Urbit: a personal cloud computer by tel on Saturday November 08, 2014 @06:39PM (#8578537)
That's completely standard for Peano arithmetic though.
Re:Urbit: a personal cloud computer by krick on Saturday November 08, 2014 @09:05PM (#8578826)
I absolutely understand your reaction, but, believe me or not, I remember myself wondering as a child why it is opposite. That time it seemed to me completely intuitive and natural that 1 should be "false" and 0 — "true".

However, years later I was introduced to boolean algebra, where 1 should be true and 0 — false, if we want multiplication to be "and" and addition "or". And it feels right, because intersection of two sets is (intuitively) multiplication, and joining — addition.

So, yeah, it doesn't seem like a good idea to me as well after all these years.

Re:Urbit: a personal cloud computer by Adlai on Saturday November 08, 2014 @10:35PM (#8579014)
Why is set intersection intuitively multiplication?

My expectation is that a set multiplication would give me a new set consisting of all pairs consisting of a single element from each set.

Re:Urbit: a personal cloud computer by krick on Saturday November 08, 2014 @10:51PM (#8579034)
Compare to probability. Probability of element being in one set AND another distinct set is multiplication of two probabilities (which are, in reality, actually defined by sets).

"Pairs" (and, respectively, cartesian product) is a bit more complex, and not so much related to boolean algebra deduction concept.

Re:Urbit: a personal cloud computer by grayclhn on Sunday November 09, 2014 @12:42AM (#8579225)
x ∈ (A ∩ B) = (x ∈ A) * (x ∈ B) if "x ∈ A" equals 1 when x is in the set A, 0 when x is not in the set A. Using "indicator functions" like this also gives you a nice formulation for probability and integration, etc. that falls apart if you use 1 to represent x ∉ A.

edit: I should add that I'm not claiming "you can't build measure theoretic probability from this formulation of booleans" is a strike against the project. Just addressing the math question.

Re:Urbit: a personal cloud computer by shkkmo on Sunday November 09, 2014 @02:29AM (#8579351)
I don't see how you lose boolean algebra, you just need to flip * and + in your equations. x ∈ (A ∩ B) = (x ∈ A) + (x ∈ B) (and) x ∈ (A ∪ B) = (x ∈ A) * (x ∈ B) (or)
Re:Urbit: a personal cloud computer by grayclhn on Sunday November 09, 2014 @09:35AM (#8579954)
You lose the ability to write step functions as

g(y) = ∑ᵢ cᵢ × (y ∈ Aᵢ)

which is useful when you define integrals and expectations:

E g(Y) = ∫ g(y) f(y) dy = ∑ᵢ g(cᵢ) P(y ∈ Aᵢ)

where Y is a random variable with density function f. Any integrable function can be approximated as the limit of step functions, so this is a well-behaved way to get a general theory of integration.

Of course, one could replace (y ∈ Aᵢ) with 1 - (y ∈ Aᵢ) if one wanted to use "0" to represent the event (y ∈ Aᵢ) and "1" to represent its complement and not affect the truth of the math, but then there will be lots of termf floating around just to convert the notation into the terms that you need for the math.

Re:Urbit: a personal cloud computer by javaexpert101 on Wednesday November 12, 2014 @06:35PM (#8599027)
And it also doesn't matter one bit, because they are `%.y` and `%.n` for all practical purposes.
Re:Urbit: a personal cloud computer by weinzierl on Saturday November 08, 2014 @05:41PM (#8578368)
I think it's neither, it's an interesting experiment.
Re:Urbit: a personal cloud computer by johnloeber on Saturday November 08, 2014 @05:41PM (#8578367)
I can't tell what this is, but it looks very impressive.
Re:Urbit: a personal cloud computer by jeremyrwelch on Saturday November 08, 2014 @05:41PM (#8578369)
It's both.