News for hackers. Stuff that matters.
Re:How domains became backwards by andrewcooke on Sunday February 17, 2013 @03:04PM (#5236499)
that sounds interesting, but i'm having a hard time getting my head round it. can you give an example where math is right to left?

[edit oh, numbers! thanks! i was thinking about algebra.]

Re:How domains became backwards by T-hawk on Sunday February 17, 2013 @03:18PM (#5236563)
Numeric notation is built right to left. To count up from 1 to 9 uses single digits, of course. Then to go from 9 to 10, the ones place increments and rolls over, and we add the new tens digit on the left, not the right.
Re:How domains became backwards by bnegreve on Sunday February 17, 2013 @03:31PM (#5236605)
Not sure, the numeric notation is little endian wheras DNSs are big endian.
Re:How domains became backwards by B-Con on Sunday February 17, 2013 @04:10PM (#5236739)
That's the point. Numeric notation is right-to-left. It was around long before the concept of endianness.
Re:How domains became backwards by bnegreve on Monday February 18, 2013 @05:24PM (#5241169)
What does it mean to be right-to-left? If it means that least significant values are on the right side and most significant ones on the left side, then domain names are left-to-right (as opposed to numeric notation).
Re:How domains became backwards by taproot on Sunday February 17, 2013 @03:45PM (#5236669)
He meant left to right. It was a [fixed]mistake in the article.
Re:How domains became backwards by Retric on Sunday February 17, 2013 @03:15PM (#5236548)
Think about basic math aka addition, subtraction, and multiplication work.

  1237 + 4567
  7+7 = 14 = 4
  3+6 + 1 = 10 = 0
  2+5+1 = 7
  1+4 = 5
  5704
That's right to left. If we wrote numbers left to right we the 1's place would be on the left.
Re:How domains became backwards by lutusp on Sunday February 17, 2013 @03:18PM (#5236559)
Sure -- Scheme:

Link: http://weber.marblefalls.txed.net/mfhs/academics/electives/c...

Example:

    (+ 5 (* 10 x))
Which more or less means 5 + 10 * x in everyday notation.

Compare to Reverse Polish Notation (used in Hewlett-Packard calculators and elsewhere), which would express the above as:

    10 x * 5 +
Re:How domains became backwards by Turing_Machine on Sunday February 17, 2013 @03:15PM (#5236542)
Think of the standard addition and multiplication algorithms. You start with the rightmost place, right?