if(date == "09/13/2007") Engadget.Write("Happy Programmer's Day");
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
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
A look back on popular stories from today in a specific year.

Now that we've thrown 'em off the trail, use the form below to get in touch with the people at Engadget. Please fill in all of the required fields because they're required.
Thanks Engadget's Programmers!!! :)
End If
}
dammit!!!
Java > C++
*runs away*
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.
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"). :¬)
That date headline is locale dependant!
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.
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".
That was my first thought as well, should be in ISO 8601 format.
It should be a UNIX timestamp :P
In other words 1189710411.
That only works for one second, not the whole day.
{o,o}
|)__)
-”-”-
The O RLY Owl says:
H@ppy Pr0gr@mmers D@y!!
NERRRRRRRRDDS! Oh wait, I too am a developer.
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 ;)
Oops, forgoet to paste in the link:
http://www.timeanddate.com/library/abbreviations/timezones/
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
10 print "thank you Programmers"
run
GOTO 10
20 GOTO 10
Gads!
I've been debugged.
Don't use GOTO statements, lest raptors eat you.
He's right...
http://xkcd.com/292/
If I 'fix' the bug will it quit mating and producing more bugs?
#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);
LOL!
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.
LMAO just seeing who was the bigger geek, and buddy you just WON
(in best Napoleon Dynamite voice) Yessssssss!
"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...
Wow. I never knew. It seems everyone indeed has a day. I wonder when's mine...
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!
Everyone knows it's Red Bull and Jagermeister
I thought it was 15 min of fame? Dang it, is it being cut just like social security?! Sign of the times.
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.......
48 61 70 70 79 20 32 35 36 21
Happy 256! to you too!!!!111
Thanks engadget!
From programmer to programmer ;)
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
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 ;)
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.
Well, keep telling her until you've told her sizeof(long) times!!
How many people in can read hex if you and DEAD people can read hex?
@cvuletich302
Wouldn't be 57006 would it?
Both the binary joke and the hex riddle are t-shirts you can get from ThinkGeek. :P
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.
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...
Andir:
sizeof(long) == 4/8 (depending on the compiler and architecture) -- i think you mean the upper bound of long...
@CapWKid
Why do computer geeks celebrate Halloween on Christmas?
Because Oct 31 is equal to Dec 25.
Yeah Cody... but it wouldn't have been as funny :)