Sounds like you're spoofing your user agent... maybe you should check that...
bitpirate
@bitpirate
Best posts made by bitpirate
Latest posts made by bitpirate
-
RE: Really, facebook?
-
RE: Generic programming in C
@r3jjs said:
The use of the 'register' keyword is also a good clue for the age of the code.
Care to explain? Alot of us still use the register keyword today, since it's a nice compiler optimizer hint (like const, restrict, etc)
-
RE: Fifa 07 - file not found
@bjolling said:
Spoiler: The background of the top left pane reads "file not found".
The real WTF is that it's actually the top right pane...
-
RE: Preprocessor mastery
Of course, people who actually know how the preprocessor works can be evil too: (this is from memory, but i've seen it many many times)
#define ITERATE(_type, _array, _size, _code) \
for (unsigned int currentIndex=0;currentIndex<(_size);currentIndex++) \
{ \
_type currentValue = _array[currentIndex]; \
_code \
}[...]
int array[512];
ITERATE(int, array, 512,
printf("[%d] = %d\n", currentIndex, currentValue); /* Imagine this code spanning 50 lines or so */
) -
RE: Axe advert
if ( you.isDebating(this) && you.isUsing("internet") )
{
you.incGeekynes();
}What's pretty funny though is they clearly used some sort of programmers text editor since 'this' got hightlighted... I'm guessing it maybe intentionaly bad code to weed out the real geeks. :P
-
RE: What has the UK ever done for you?
The ipods CPUs (two ARMs) are of British design too. :)
-
RE: Interesting image names
@broekage said:
C'mon guys, just two more characters to avoid the WTF
It's not really a WTF.... I think the guys writing the site probably had a mental age higher than about six and just read 'butt_' as button, it's extremely common to shorten resource names (even if it does only save a few chars)
Hell the win32 api is full of such stuff... hwind anybody? Also only saving two characters...
-
RE: School IT sets my homepage
Well they're not garbage characters, they're 0xff 0xfe... the unicode points 0xfffe and 0xfeff are usually put at the begining of UTF-16 files for easy detection of endianess.
Also, since something hasn't read this as unicode it's possible there are in fact linebreaks encoded as UTF-16, which would be (NUL) CR NUL LF (NUL), and since this is windows it might only do a line break on "CR LF". I'm also guessing it's interpreting NUL as space for some reason....
-
RE: A couple of Error'ds
@Lingerance said:
Which is odd because isn't the UNIX epoch Jan 1st 1970, not the day before?
Correct, but it's Jan 1st 1970 UTC... So if you're in a negative time zone (UTC-1, etc.) It'll be December 31st 1969 in your local time.
-
RE: Departing to... End program
@kswanton said:
Why is using windows here a 'WTF'? From what I see some application that is running on Windows has stopped responding. Can you enlighten me as to how you have figured out this is due to a flaw in Windows and not the non-responsive application itself?
A real embedded system wouldn't have a dialog window like that, it'd kill the program quietly (logging it to a server maybe) and restart without the "user" (general public) seeing anything weird or requiring intervention at all.Yes it's technically the apps fault for not-responding, but it's windows' "fault" for not acting embedded and showing something suitable only for desktops.