Programmer's Day today - Sept 13, for you people on Gregorian

Discussions

News: Programmer's Day today - Sept 13, for you people on Gregorian

2. Old school[ Go to top ]

"TSS says: fie! 256 is a power of two. (2^8=256, of course.) It's the point after an 8-bit unsigned byte has rolled over. What's so great about that?" A byte holds 256 unique values, the first being zero. The byte is still a datatype in Java, and used heavily in the java.io package. I think the idea of September 13th being programmers day is a cool thing.
3. Re: Old school[ Go to top ]

"TSS says: fie! 256 is a power of two. (2^8=256, of course.) It's the point after an 8-bit unsigned byte has rolled over. What's so great about that?"

A byte holds 256 unique values, the first being zero.

The byte is still a datatype in Java, and used heavily in the java.io package.

I think the idea of September 13th being programmers day is a cool thing.
But the celebration is over the VALUE 256, not the fact that the byte holds 256 values... and sure, bytes still exist, they have to. But they're no longer in the position of primacy. I think Sept 13 is a cool thing, just not as "Programmer's Day."
4. Counting issues[ Go to top ]

Just wanted to point out that 8 bits can represent 256 different values, starting from 0. Someone fell for the off-by-one trap, no?
5. Re: Programmer's Day today - Sept 13, for you people on Gregoria[ Go to top ]

Our "Humble editor" is drunk. :-)
6. Re: Programmer's Day today - Sept 13, for you people on Gregoria[ Go to top ]

Our "Humble editor" is drunk.
:-)
I wish! Actually, I'm a teetotaller - I don't drink alcohol at all. :)
7. Hm...[ Go to top ]

Our "Humble editor" is drunk.
:-)
I wish! Actually, I'm a teetotaller - I don't drink alcohol at all. :)
Stomach ulcer? :o)
8. Re: Hm...[ Go to top ]

Our "Humble editor" is drunk.
:-)
I wish! Actually, I'm a teetotaller - I don't drink alcohol at all. :)
Stomach ulcer? :o)
Nope. Quite honestly, it's none of your business, but it's fairly well-known to the people who keep offering to buy me beer at various events, in the hopes of making me do nice things for 'em. :)
9. Wikipedia Article Deleted[ Go to top ]

It seems the article was recently deleted "Because Wikipedia is not the place to promote new ideas." http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Programmer%27s_day
10. Re: Wikipedia Article Deleted[ Go to top ]

Due to (somewhat) popular demand, WhatIs.com, a sister site of TheServerSide.COM, has put together a little definition of Programmer's Day. Much credit must go to Our Humble Editor. http://searchvb.techtarget.com/sDefinition/0,290660,sid8_gci1272110,00.html
11. 12 September[ Go to top ]

Jan 1st is day 0000 0000, so the 255th day is 1111 1111. The programmer's day is 12 September.
12. 32 bits[ Go to top ]

We could change it to 32 bits (or 31, to avoid sign) in order to match with Java's int type. But I guess that this number will be higher than the 365 days usually available in a year :)
13. Overflow Day[ Go to top ]

Since 256 means overflow for a byte, unsigned of coz, so we could also name it as "Overflow Day", which should make more sense.
14. Re: Overflow Day[ Go to top ]

Since 256 means overflow for a byte, unsigned of coz, so we could also name it as "Overflow Day", which should make more sense.
programmers should take care of the potential overflow problem, since the primitive data types are still sized and will keep being that for sometime. Ever notice the bug in the following? c = (a + b) / 2 Joshua Bloch has blogged [1] about the broken search algorithm in JDK, simply caused by the above single line of code. [1] http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html