News for hackers. Stuff that matters.
Re:ASCII is 50 years old by nsns on Tuesday June 18, 2013 @03:44PM (#5901537)

     __  __                     __     
    /\ \/\ \  __               /\ \    
    \ \ `\\ \/\_\    ___     __\ \ \   
     \ \ , ` \/\ \  /'___\ /'__`\ \ \  
      \ \ \`\ \ \ \/\ \__//\  __/\ \_\ 
       \ \_\ \_\ \_\ \____\ \____\\/\_\
        \/_/\/_/\/_/\/____/\/____/ \/_/
Re:ASCII is 50 years old by mililani on Tuesday June 18, 2013 @05:27PM (#5902193)
I can't even figure out what that is supposed to say. I'm guessing, Hiee! ????
Re:ASCII is 50 years old by peter_l_downs on Tuesday June 18, 2013 @05:42PM (#5902268)
"Nice!" ?
Re:ASCII is 50 years old by mililani on Tuesday June 18, 2013 @11:00PM (#5903507)
Ahhhh...I see, said the blind man.
Re:ASCII is 50 years old by smaili on Tuesday June 18, 2013 @06:22PM (#5902445)
<3
Re:ASCII is 50 years old by js2 on Tuesday June 18, 2013 @03:32PM (#5901454)
I've probably consulted the ASCII(7) man page more frequently than any other, and consistently for almost two decades now.
Re:ASCII is 50 years old by fnordfnordfnord on Tuesday June 18, 2013 @03:57PM (#5901628)
I'm embarrassed to admit that TIL there is a man page for ASCII. I wish I had known this years ago.
Re:ASCII is 50 years old by breckinloggins on Tuesday June 18, 2013 @04:00PM (#5901642)
And on OS X at least, it gives you a path to a file. If I "cat /usr/share/misc/ascii" on Mountain Lion, I get an ASCII table (in ASCII, of course).
Re:ASCII is 50 years old by decklin on Tuesday June 18, 2013 @06:15PM (#5902411)
I got tired of looking at it in my terminal, so I made this: http://man-ascii.com/

(I had forgotten until now that the Linux and BSD versions of this man page are so differently laid out! I was running Linux at the time.)

Re:ASCII is 50 years old by StefanKarpinski on Tuesday June 18, 2013 @03:30PM (#5901437)
Man, it would have been nice for printing numbers in bases greater than ten (e.g. hex) if 0-9 had come right before A-Z.
Re:ASCII is 50 years old by breadbox on Tuesday June 18, 2013 @04:07PM (#5901698)
There's a well-documented reason for the placement of (nearly) every single character in ASCII. Unfortunately, not all of the reasons are still very compelling. In fact, a distressingly large number of them have to do with the various techniques for encoding bytes on punch cards.

For the curious, I recommend the book "Coded Character Sets: History and Development" by Charles E. Mackenzie. It's an older book, and so it's about the pre-Unicode, US-centric codes. Also, most of the pages focus on the many variants of EBCDIC rather than the stabler ASCII standard. But I guarantee that it will give you a lot of historical perspective.

Re:ASCII is 50 years old by asmithmd1 on Tuesday June 18, 2013 @04:13PM (#5901745)
Holy $h!7 - That book is 650 pages. That is a lot of history.
Re:ASCII is 50 years old by LowKarmaAccount on Tuesday June 18, 2013 @04:37PM (#5901910)
Amazon's information is incorrect. According to WorldCat and Google Books, the book is 513 pages, not 650. Also, its copyright date should be 1980, not 1979.
Re:ASCII is 50 years old by kps on Tuesday June 18, 2013 @07:53PM (#5902812)
Since this is such a burning question — my copy is ©1980 and ends at page 513. I am now desperate to see the 137 pages of shocking censored material from the legendary 1979 edition.
Re:ASCII is 50 years old by JoeAltmaier on Tuesday June 18, 2013 @07:20PM (#5902686)
Surely EBCDIC is what you're referring to?
Re:ASCII is 50 years old by js2 on Tuesday June 18, 2013 @03:41PM (#5901518)
Turns out there's a reason for their placement:

- "The digits 0–9 were arranged so they correspond to values in binary prefixed with 011, making conversion with binary-coded decimal straightforward."

- "The letter "A" was placed in position 0x41 to match the draft of the corresponding British standard."

(Source: wikipedia.)

Re:ASCII is 50 years old by leviself on Tuesday June 18, 2013 @11:38PM (#5903629)
Another interesting bitwise trick: flip bit 5 to swap the case of an alphabetic letter.
Re:ASCII is 50 years old by kps on Tuesday June 18, 2013 @03:57PM (#5901627)
The 1963 standard (linked from the article, and below[1]) does a reasonable job of describing the design rationale in the appendices.

“B4.2 Base 12 Numeric Digits. For those applications requiring use of the sterling monetary system or duodecimal arithmetic, the digits 10 and 11 can replace the two graphics immediately following the digit 9.”

[1] http://www.wps.com/projects/codes/X3.4-1963/index.html

Re:ASCII is 50 years old by DanBC on Tuesday June 18, 2013 @04:04PM (#5901684)
For anyone confused about pre-decimal English currency (http://gwydir.demon.co.uk/jo/units/money.htm)

4 farthings = 1 penny

48 farthings = 1 shilling

960 farthings = £1

There were farthings, half-pennies, pennies, threepences, sixpences, shillings, florins, and half-crowns.

I guess we're lucky in only having to fiddle around with dates in awkward formats.

Re:ASCII is 50 years old by sjwright on Tuesday June 18, 2013 @05:20PM (#5902152)
> I guess we're lucky in only having to fiddle around with dates in awkward formats.

And that thing that isn't the metric system.

Re:ASCII is 50 years old by vacri on Tuesday June 18, 2013 @10:01PM (#5903340)
To be fair, traditionally there weren't a lot of events where you needed to figure out the number of farthings in a pound. I also read somewhere that loans were generally set at 5% (one shilling interest per pound loaned) because working out any other number was a pain in the neck. No idea of the date or veracity of that little nugget though.

I always thought the guinea was particularly funny, given that it doesn't really add much in the way of demarcation.

Re:ASCII is 50 years old by jokoon on Tuesday June 18, 2013 @05:50PM (#5902299)
I wish there would be other ways to encode text, even phrases.

I once put a lot of time to gather a very short list of the most used english words.

Why not encode a phrase with its grammar ?

Re:ASCII is 50 years old by AaronFriel on Tuesday June 18, 2013 @06:02PM (#5902342)
Because then you could never encode real works of literature that use esoteric or non-standard grammar. Good luck encoding Huckleberry Finn with your system.

On the other hand, encoding smaller units reliably (phonemes, graphemes, whatever is appropriate) and using compression over top of that usually gets you really close to what you wanted, but with greater expressiveness. English text compresses really fantastically well, so why overthink it?

Re:ASCII is 50 years old by stox on Tuesday June 18, 2013 @03:33PM (#5901463)
And the US Navy has finally decided allow use of lower case in messages.
Re:ASCII is 50 years old by mogrim on Tuesday June 18, 2013 @04:55PM (#5902007)
ASCII: what a disaster. As anyone who's ever had to program in any language other than English will have discovered.
Re:ASCII is 50 years old by dragonwriter on Tuesday June 18, 2013 @05:04PM (#5902072)
> ASCII: what a disaster. As anyone who's ever had to program in any language other than English will have discovered.

Isn't programming always in some language other than English?

Re:ASCII is 50 years old by StefanKarpinski on Tuesday June 18, 2013 @07:15PM (#5902657)
ASCII: the American Standard Code for Information Interchange.
Re:ASCII is 50 years old by Avshalom on Tuesday June 18, 2013 @07:20PM (#5902682)
It's not that ASCII is a disaster. It the refusal to default to larger encodings for so long after it became obviously useful (that is as soon as computers stopped being one offs).
Re:ASCII is 50 years old by EvanAnderson on Tuesday June 18, 2013 @08:46PM (#5902999)
Bob Bemer, often cited as the "Father of ASCII", proposed escape sequences to extend ASCII to handle larger encodings in 1960, pre-standardization. http://www.bobbemer.com/ESCAPE.HTM
Re:ASCII is 50 years old by Dylan16807 on Wednesday June 19, 2013 @02:39AM (#5904033)
What else would you use? The only sane format for storing text is unicode, and unicode is a superset of ASCII. Unicode also is an enormous undertaking so don't be impatient about it.

Go ahead and complain about the proliferation of 8-bit extensions of ASCII, but that's not a problem with ASCII itself.

Re:ASCII is 50 years old by angersock on Tuesday June 18, 2013 @05:00PM (#5902048)
Pax americana, my friend.
Re:ASCII is 50 years old by nyar on Tuesday June 18, 2013 @04:30PM (#5901862)
And I still can't triforce
[deleted]
Re:ASCII is 50 years old by dragonwriter on Tuesday June 18, 2013 @05:07PM (#5902085)
I think you mean:

   ▲
  ▲ ▲