My WordPress spam filter has caught 384 spam comments as of today.
Am I weird because I saw that and immediately thought "Ooh, 384 is a nice round number: 256 + 128!"? (110000000 binary)
I used the golf gift certificate this afternoon with Eric L and Andrew. The weather was pretty good, although it had rained in the morning so it was a bit damp. As for the actual golfing, well.. I got par on one hole at least
I went to UW last week for the info session about their master's program. It sounds good, so I'm at least going to apply. On Saturday I'm taking the GRE test. I haven't really been studying for it - I assume it's relatively easy like the SAT. If nothing else at least I bought a GRE book at Borders:
I nearly cut my hand while opening my copy of Office, and my brother just sent me a string of angry emails after banging on his Vista box for 5 minutes trying to get it open. So to prevent further pain, I present this guide about how to open your Windows or Office box.
First, rip off all the little plastic seals from the sides (This step updated 4/2/07 with a picture sent in by Erin (thanks!)):
Next, you need to cut the circular sticker across the top using your trusty Swiss Army knife. Note: don't try ripping this sticker off, or else it will probably rip the 'certificate of authenticity' off the box as well. Pic:
You might have to cut the sticker on both the front and the back if it covers both sides.
At this point you might be tempted to push in the tab things on the side of the box and pull it open:
Don't do this, however, because these tab things are actually supposed to hold the box shut, so if you grab them you prevent the box opening at all. The trick is to leave the tabs alone and find the little recessed grip thing on the top of the box and pull on it:
The center of the box slides outward radially, so you actually have to pull up on it, which might not be what you expect. Once you do that the box pops open:
Alternatively, you could also read the little visual diagram of how to do this that's on the first little plastic thing you rip off, but that would be too easy .
Went hiking at Rattlesnake Ridge today. It was pretty cloudy so we didn't get a very good view of either the lake or Mt. Si.
I'm the proud new owner of the most suspicious-looking gift certificate ever:
Despite the fact that it's already expired and the amount has been crossed out multiple times, it's supposedly legit. We'll see if the golf course accepts it..
I won it in the weekly office happy hour competition. This week the challenge was to write an implementation of a function with the signature "void ArraySort(int array, int length)" that has O(1) memory usage. This was my entry:
void ArraySort(int _array, int _length)
mov eax, [_length]
mov eax, [_array]
mov eax, [qsort]
add esp, 16
mov edx, [ebp-8]
mov ecx, [ebp-4]
mov eax, [ecx]
cmp eax, [edx]
mov eax, 1
cmp eax, [edx]
mov eax, -1
xor eax, eax
I particularly like this implementation because the code for the qsort callback is embedded inside the ArraySort function. I was sad that not everybody else appreciated the sublime beauty of this as much as I did.
|Sunday Mar 11 20:21:32 2007 - View on Facebook...|
|Sunday Mar 4 15:39:26 2007 - View on Facebook...|
|Thursday Mar 1 11:12:05 2007 - View on Facebook...|
|Thursday Mar 1 10:22:07 2007 - View on Facebook...|