Index Animi Mei
Google


Search WWW Search Index Animi Mei
  

2006 May 18 (Thu)

Definition of Windows
I'm pretty sure I've seen this before, but it just came up again on the Catalyst mailing list:

Windows (n.): 32-bit extensions to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.

[all posts in /tech/]  [permanent link]


My Star Trek Character
Thanks Louis :-) I see it as surprisingly representative of my personality too. Your results:
You are Chekov
Chekov
70%
Will Riker
65%
Mr. Scott
65%
Uhura
60%
Data
59%
An Expendable Character (Redshirt)
55%
Jean-Luc Picard
50%
Geordi LaForge
45%
James T. Kirk (Captain)
45%
Worf
40%
Mr. Sulu
40%
Spock
39%
Leonard McCoy (Bones)
25%
Deanna Troi
20%
Beverly Crusher
20%
Brash, rash and hasty,
but everyone loves you.
Click here to take the "Which Star Trek character are you?" quiz...


2006/05/19 09:30
Angelo

Call me Welshie.

"An Expendable Character (Redshirt) 50%"

[all posts in /]  [permanent link]


2006 May 16 (Tue)

mindless amusement

Saw a link to this on Julie's homepage (congrats on going to UPitt for grad school!):
DDysfunctional
AAppealing
VVirile
IInspirational
DDirty

Name / Username:

Name Acronym Generator
From Go-Quiz.com

[all posts in /]  [permanent link]


2006 May 08 (Mon)

Travel Map

So I went to this website referred to from this blog and realized how little I have traveled.

Travel Map

Luckily I stepped foot inside Canada when I was up in Montana with the family, and also went down to Mexico a couple times. The two countries in Europe (France and Italy) I just happened to visit just this past year. Unfortunately, both of them are small compared to all three of the countries I've been to in North America. Even though the European countries are small, I find them absolutely beautiful. I recommend anyone to go if they haven't been already. Anyway, I hope to travel to Asia, Africa, and South America within the next three years to make the map more decent.

create your own visited countries map

[all posts in /]  [permanent link]


2006 May 06 (Sat)

Perl Regexes and Math

Just a few weeks ago, I started solving some of the problems on projecteuler.net. The third problem asks you to find the largest prime factor of 317584931803, which I did by modifying the sieve method that I picked up from the second chapter of the Perl Cookbook (2nd Ed.). I've been reading a few pages from the Perl Cookbook (2nd Ed.) for the past couple months, and so I was glad that I was actually able to use some of it for fun. Tonight, I just read recipe 6.16, which discusses detecting doubled words. I had almost skipped chapter six entirely because I'm already half way through reading Mastering Regular Expressions (2nd Ed.), but I'm glad I didn't. I found these two little gems (not very practical, but interesting) in recipe 6.16:

for ($N = ('o' x shift); $N =~ /^(oo+?)\1+$/; $N =~ s/$1/o/g) { print length($1), " "; } which calculates prime factors when given a number as an argument, and # this solves the equation 12x + 15y + 16z = 281 if (($X, $Y, $Z) = (('o' x 281) =~ /^(o*)\1{11}(o*)\2{14}(o*)\5{15}$/)) { ($x, $y, $z) = (length($X), length($Y), length($Z)); print "One solution is x=$x; y=$y; z=$z.\n"; } else { print "No solution found.\n"; } # One solution is: x=17; y=3; z=2. which solves for Diophantine equations of order one. The regex can be modified to give different solutions: ('o' x 281) =~ /^(o*?)\1{11}(o*)\2{14}(o*)\5{15}$/ # One solution is: x=0; y=7; z=11. ('o' x 281) =~ /^(o+?)\1{11}(o*)\2{14}(o*)\5{15}$/ # One solution is: x=1; y=3; z=14. Now I'm not sure which shocked me more: that others experimented with regexes like this or that I actually understood how and why each worked. Either way, like I said, I'm glad I didn't skip over this chapter. :-)

[all posts in /tech/]  [permanent link]


2006 May 05 (Fri)

Is GTA available in prison?

Someone on irc.perl.org#catalyst posted this link. A guy thought he could outrun the police because, allegedly in his own words, "I've been playing a lot of 'Grand Theft Auto' and 'NASCAR' on PlayStation. I thought I could get away." He ended up injuring an officer and dragging his girlfriend's 11-year-old daughter when she was attempting to get out of his car. Since he's most likely going to jail, I'm wondering if he'll be able to brush up on his GTA skills...for next time.

[all posts in /]  [permanent link]