
Quick: what's two to the eighth power? 256, of course, and if you knew the answer before you even had a chance to read it, we can say with some confidence that you're a
nerd mathematician liar programmer. Programmer's Day is celebrated annually on the 256th day of the year, which happens to be today -- so reach over and give that special computer scientist in your life a big bear hug, flowers, chocolates, or a simple "thanks" for making Engadget (and pretty much everything else we care about) possible. If you're a programmer, grab another Red Bull and get back to work, playboy; we've got a list of bugs about a mile long and they're not fixing themselves.
Reader Comments (Page 1 of 3)
Matthew @ Sep 13th 2007 1:40PM
Thanks Engadget's Programmers!!! :)
blade417 @ Sep 13th 2007 1:44PM
End If
Raptor007 @ Sep 13th 2007 1:45PM
}
blade417 @ Sep 13th 2007 2:14PM
dammit!!!
JohnTitor @ Sep 13th 2007 2:30PM
Java > C++
*runs away*
Don Wilson @ Sep 13th 2007 2:34PM
Just to set the record straight, the title of this article is accurate, in that if can have a following code of line without having { }.
And endif; will not work since you need a colon after the parenthesis to make it an if-called statement.
Raptor007 @ Sep 13th 2007 3:13PM
Yeah, my comment wasn't to say they needed any closing, just that "}" is how you should end an if block with more than one statement (rather than "end if"). :¬)
Roceh @ Sep 13th 2007 1:47PM
That date headline is locale dependant!
Jon @ Sep 13th 2007 1:57PM
It would only be date dependent if the target locale celebrated a leap year or some other 'holiday' that added or removed a date from their calendar.
Being hung over, and missing a day does not count.
Raptor007 @ Sep 13th 2007 2:06PM
No Jon, it's locale dependent because not everyone uses "MM/DD/YYYY". Heck, I'm in the US and I use "YYYY-MM-DD".
Matt @ Sep 13th 2007 2:48PM
That was my first thought as well, should be in ISO 8601 format.
Kevlar @ Sep 13th 2007 3:07PM
It should be a UNIX timestamp :P
In other words 1189710411.
Matt @ Sep 13th 2007 3:38PM
That only works for one second, not the whole day.
Wesburl @ Sep 13th 2007 1:47PM
{o,o}
|)__)
-”-”-
The O RLY Owl says:
H@ppy Pr0gr@mmers D@y!!
E71 @ Sep 13th 2007 5:18PM
NERRRRRRRRDDS! Oh wait, I too am a developer.
Cristatus @ Sep 13th 2007 1:48PM
I think we should celebrate programmers day by making the Engadget staff hack in a time zone control feature. I can never figure out what time something was posted if I haven't been on in a couple of hours.
This is coming from someone in CEST (Central European Summer Time [UTC +2).
A "beginners how-to" on timezones ;)
Cristatus @ Sep 13th 2007 1:49PM
Oops, forgoet to paste in the link:
http://www.timeanddate.com/library/abbreviations/timezones/
no_link @ Sep 13th 2007 3:49PM
I think they should implement a javascript to convert dates automatically, as shown here:
http://javascript.codeislogic.com/convert-utc-dates-to-local-timezone-offset-automatically
R1cebrner @ Sep 13th 2007 1:53PM
10 print "thank you Programmers"
run
Michael Riecken @ Sep 13th 2007 5:38PM
GOTO 10
White_Pheonix @ Sep 13th 2007 3:29PM
20 GOTO 10
Michael Riecken @ Sep 13th 2007 6:15PM
Gads!
I've been debugged.
pj.davis @ Sep 13th 2007 8:39PM
Don't use GOTO statements, lest raptors eat you.
Ashish @ Sep 14th 2007 1:57AM
He's right...
http://xkcd.com/292/
LJKelley @ Sep 13th 2007 1:58PM
If I 'fix' the bug will it quit mating and producing more bugs?
JD @ Sep 13th 2007 1:59PM
#include
#include
int main(void, void)
{
cls(0);
printf("Stuf U all, Im not a fraGGin nErd");
wait(2000);
printf("Ok then I am");
}
return (0);
Jonathan Keim @ Sep 13th 2007 2:06PM
LOL!
Raptor007 @ Sep 13th 2007 2:15PM
Error: `void' must be the only parameter
Warning: No return value for `int main'
Error: Unexpected `return'
I'm not gonna mention the includes since I think Engadget probably stripped the carrots from your code, thinking them to be HTML tags.
JD @ Sep 13th 2007 2:18PM
LMAO just seeing who was the bigger geek, and buddy you just WON
Raptor007 @ Sep 13th 2007 2:20PM
(in best Napoleon Dynamite voice) Yessssssss!
Andir3.0 @ Sep 13th 2007 2:26PM
"LMAO just seeing who was the bigger geek, and buddy you just WON"
I guess I should be glad I didn't post the multi-threaded version of your app...
Darnell @ Sep 13th 2007 1:58PM
Wow. I never knew. It seems everyone indeed has a day. I wonder when's mine...
Andrew Jones @ Sep 13th 2007 2:04PM
Incorrect assertion - every DOG has it's day. Every BODY gets 5 minutes of fame. Using the estimate of programming jobs in California alone - 86,700, the programming gods clearly require more than a single day of penance. BRING ME GIFTS OF RED BULL AND CAPTAIN MORGANS!
Andir3.0 @ Sep 13th 2007 2:27PM
Everyone knows it's Red Bull and Jagermeister
Daniel @ Sep 13th 2007 4:42PM
I thought it was 15 min of fame? Dang it, is it being cut just like social security?! Sign of the times.
Mr. Power @ Sep 14th 2007 8:47AM
Happy Programmers Day, I have about ten thousand people that I guess I'll have to send that to. See I'm a big fan of psp homebrew and well, they're all programmers. Thanks for programming all this neat stuff to read and watch. Thanks for putting up great contests that people all over the world can enjoy. As for time zone hacks, my timezone is NDT Newfoundland Daylight time(GMT-3.5 hours). thats a HALF HOUR away from everyone else. which is a half hour longer to wait for the next contest. see I have no life thats why i need goodies.......
oshean @ Sep 13th 2007 2:02PM
48 61 70 70 79 20 32 35 36 21
nitr0gen @ Sep 13th 2007 3:14PM
Happy 256! to you too!!!!111
Sandybanks @ Sep 13th 2007 2:06PM
Thanks engadget!
From programmer to programmer ;)
Sia @ Sep 17th 2007 7:31PM
Well that would be my husband most definitely. Not that I ever needed an excuse to give him a hug, but he DOES need an excuse for some chocolate !
Happy Programmers Day
Sia
CapWKidd @ Sep 13th 2007 2:11PM
Oh my, I knew the answer to that math equation before I read the answer (too easy)... then again I know all 4 numbering systems, like anyone should... and as a friend of mine likes to say:
"there are 10 kinds of people in the world, those that know binary, and those that do not" ... I think that was an exact quote ;)
blade417 @ Sep 13th 2007 2:21PM
I've been programming for 6 years now, and my fiance' still does not get that joke after I have explained it to her for a forgotten number of times.
Andir3.0 @ Sep 13th 2007 2:28PM
Well, keep telling her until you've told her sizeof(long) times!!
cvuletich302 @ Sep 13th 2007 3:10PM
How many people in can read hex if you and DEAD people can read hex?
Fruition @ Sep 13th 2007 3:19PM
@cvuletich302
Wouldn't be 57006 would it?
Both the binary joke and the hex riddle are t-shirts you can get from ThinkGeek. :P
PavPanchekha @ Sep 13th 2007 4:31PM
There are 10 types of people in the world, those who know trinary, those who don't, and those who confuse it with binary.
Or even further:
There are 10 types of people in the world, those who know trinary, those who don't, those who confuse it with trinary, and those who won't shut the f*** up with their stupid jokes.
CapWKidd @ Sep 13th 2007 4:50PM
blade417, you started programming 6 years ago? I stopped, I think about 20 years ago :)! haha... Only really programmed in Basic, and Assembly. Anyone remember "BASM"? Yes, I programmed on the Atari... by the ways, anyone know any good Octal jokes? Probably aren't any ;)
Ok, here is an oldie but a goodie:
"If builders built building the way programmers program programs, the firs woodpecker to come along would destroy all of civilization" .... Of course, those that have actually created a conscript (yes program), know, that at best it works, never mind works well... that’s much harder to do...
Cody Brocious @ Sep 13th 2007 5:00PM
Andir:
sizeof(long) == 4/8 (depending on the compiler and architecture) -- i think you mean the upper bound of long...
Cody Brocious @ Sep 13th 2007 5:00PM
@CapWKid
Why do computer geeks celebrate Halloween on Christmas?
Because Oct 31 is equal to Dec 25.
Andir3.0 @ Sep 13th 2007 5:37PM
Yeah Cody... but it wouldn't have been as funny :)