Da Chimpshack


Blog For Free!


Archives
Home
2004 April
2003 August
2003 June
2003 May
2003 April

My Links
Slashdot
Shadowfist

tBlog
My Profile
Send tMail
My tFriends
My Images


Sponsored
Blog



Back
04.28.04 (5:51 pm)   [edit]
Yo.

So i'm single again. Thank goodness.

And busy with work. Also thank goodness for study pay. Contracting makes me want to weep.

It seems this site is in good hands. Anyone up for a night out in Pasadena? I'm watching even less TV now that i don't have satellite at my new place. This is probably good, since i'd be awash in a sea of meaningless playoff basketball right now... and increasingly irritated at meaningless playoff ice hockey.
 
Job hunting
08.23.03 (2:33 am)   [edit]
So... is the job market out there better, worse, or the same as it was 6 months ago?

I'm going through process now, and i'm not sure if i'm better at this than the last time i did it, but i've been seriously searching for about a week now, and i've gotten two mildly successful interviews.

Still, it's a weird Internet economy out there. If all one's skillset is web-oriented, there aren't many truly profitable companies out there. Lots of successful porn companies though. =
 
Korean Programmers
06.27.03 (6:05 pm)   [edit]
"I'm not photogenic... but the bitches love me."
 
Leaving It All Behind
06.25.03 (6:06 pm)   [edit]
So i leave for my missions trip on July 13.

And i leave my job on July 11. (sorry if i didn't tell you this before you read it, rocky)

Perhaps you can forgive my lack of focus. I feel like i'm writing for craigslist.
 
character handling
06.12.03 (10:21 pm)   [edit]
By the way, your code curently chokes on <; there's some HTML-tidy code out there for php which you should run all database content output against before putting it on the page. =) Dealing with this properly is well-traversed territory, and you should find some straightforward functions to do this without too much hate.
 
depth-first tree traversal
06.12.03 (10:17 pm)   [edit]
The problem Taylor is trying to solve is a depth-first tree traversal. This has some rather unique properties which i will exploit in the below solution. It's not the most elegant code i've ever written, but it is surprisingly clean.

$root = "rocky"; # this will actually be a CGI value, right?
$friends = array();
$referrals = array();
$current = "";
$rootname = "";

array_push($friends, $root);

while ($current = array_pop($friends)) {
$referrals = getReferrals($current); # getReferrals defined below
$rootname = array_pop($referrals)
foreach ($referrals as $singleRef) {
list ($realname, $userid) = split(":",$singleRef);
array_push($friends, $singleRef);
array_push($output, $rootname, $realname);
}
}

$referer = "";
$referee = "";
while (($referee = array_pop($output)) &&
($referer = array_pop($output))) {
# print some HTML that uses the referer and referee's
# real names
}

function getReferrals ($username) {
$sql = "SELECT [referred friend col name], U2.Fname, U2.Lname, U.FName, U.Lname ";
$sql .= "FROM referral_table, Users U, Users U2 ";
$sql .= "WHERE U.userid = " . dbx_escape_string($userna me);
$sql .= "AND U.userid = [referring col name]";
$sql .= "AND U2.userid = [referral col name]";
# execute the SQL here with proper error-checking

$refer_set = array();
$fname = "";
$lname = "";
while (($referee_id, $refname1, $refname2 $fname, $lname) = mysql_fetch_array($result , MYSQL_NUM)) {
array_push($refer_set, $refname1 . " " . $refname 2 . ":" . $referee_id);
}
array_push($refer_set, $fname . " " . $lname); # this order is important-- the name should be the last element of the array
return $refer_set;
}

Note that this solution takes O(n) time-- pretty good, all things considered.
 
Weddings
06.09.03 (11:59 am)   [edit]
I went to a wedding this weekend, and even helped out a bit with the slideshow. What is the format for weddings in your sub-culture? In Asian-American Protestant churches, it's rigid, almost formulaic, as the participants try to honor parents, society, church tradition, friends, and, somewhere in there, each other.

Candle-lighters and the "unity" candle are standard, as are flowers for the bride and groom's parents. There's a recessional out, immediately followed by the return of the bride and groom for a series of group pictures by the professional photographer.

A banquet reception in either a Chinese sea food restaurant or (more recently) a hotel ballroom seem to be required as well. The banquet will feature: an introduction as the wedding party comes in, pre-meal prayer by the bride and groom's pastor, a slideshow, a first dance, cutting of the wedding cake, and walking from table to table toasting. A private tea ceremony with the parents seems to be mandatory.

It's only thanks to the Internet and on-line registries that there isn't a more substantial wedding gift problem to solve-- most people seem to come having mailed their gifts before hand. Or, so i hear, sending them after, perhaps doing some sort of analysis of the quality and expense of the celebration before picking a suitable gift.

The day is exhausting, starting at the crack of dawn and ending only when the last guest has left the reception, each one to be personally thanked and fare-well'd by the bride and groom. Does this strike anyone else as vaguely mad?
 
Caesar
06.06.03 (6:12 pm)   [edit]
Yond Cassius has a lean and hungry look. He thinks too much. Such men are dangerous.
 
Memorial Day Weekend
05.28.03 (2:38 pm)   [edit]
I was in Santa Barbara this weekend, where i really patched up some bumpy relationships with people in my church. It was a neat experience; it's very challenging to look at oneself in a new light and recognize that i'm rarely, if ever, 100% in the right.
 
Weddings
05.21.03 (9:59 pm)   [edit]
I'm part of a pretty typical evangelical Christian church-- heavy emphasis on missions, youth programs, and, some days, prayer. It's a small church, and people rely on each other a lot. I hope it's a Biblical picture of community.

My friends Yen-Ting and Cecilia got married this past Sunday. They asked me to videotape their wedding and the reception. I had a good time, though i was quite nervous, as i haven't actually used a video camera since i was sixteen or seventeen. I'm also notoriously withdrawn at social events.

Videotaping: Best. Job. Ever.

I didn't have to congo line, try to catch a garter, or do any of the other "nonsense", as my recently-bitter roommate put it. Fantastic.
 
Fark?
05.20.03 (4:46 pm)   [edit]
I've stopped reading Fark, because it doesn't appeal to me anymore. I think i must be getting old.

Speaking of getting old, the last Buffy is on tonight. I'll be watching in Corona.
 
Collectible Card Games
05.07.03 (12:54 pm)   [edit]
Cardboard crack isn't really for everyone. Have you ever tried?

If so, why do you play? Why do you not play? What do you play? What would you play?

 
Kung Fu Action Heroes
04.27.03 (2:15 am)   [edit]
Where have all the kung fu action heroes gone?