May. 13th, 2005
the way they look at us
May. 13th, 2005 10:29 amодин мой корешок, только обитающий третий год за океаном, мучимый приступом алкоголизма и ностальгии, минут двадцать выговаривал мне по телефону
Fuck. They think we are miserable losers here, poor immigrants, dreaming of getting back pretending to be winners. Fuck. Maybe thaaat explains why they never contact us first. Fuck. And I thought calling them meant keeping in touch with friends. Fuck. They don't want to hear from us. Fuck. That's the good reason to keep radiosilence. Fuck.
Relatives are a different story. Relatives are forever, as my wise mom told me many times when I was young and even more stupid than I am now.
Fuck. They think we are miserable losers here, poor immigrants, dreaming of getting back pretending to be winners. Fuck. Maybe thaaat explains why they never contact us first. Fuck. And I thought calling them meant keeping in touch with friends. Fuck. They don't want to hear from us. Fuck. That's the good reason to keep radiosilence. Fuck.
Relatives are a different story. Relatives are forever, as my wise mom told me many times when I was young and even more stupid than I am now.
wtf of the year
May. 13th, 2005 04:17 pmhttp://thedailywtf.com/forums/34366/ShowPost.aspx
Christoph (Mathieu Rouleau's coworker) was presented with a daunting challenge: flip all of the bits of an integer (representing a bitfield) to zero. Many programmers would run away and never look back at just the thought of being given such a task. But not Christoph; being the courageous coder he was, he took this vexing problem head-on and engineered a rather elegant solution ...
#define GENBIT(x) 1<<x
#define NUMBITS 32
// ED: Snip ...
unsigned int resetBits(unsigned int bitfield)
{
int index=0;
for(index=0;index<NUMBITS;index++)
{
unsigned int flag;
flag = GENBIT(index);
flag = ~flag;
bitfield = bitfield & flag;
}
return bitfield;
}