Apache 1.3.28
2003-07-19 10:57:33 ET

Looks like another version of Apache is out. Time to upgrade.
1 comment

2003-07-17 08:57:45 ET

I've had strange, but pleasent dreams, for two nights in a row now.

The other night I dreamt I was the sampler/keyboard player for The Prodigy. While I like their music, I'm not an obsessive fan of theirs (as I am with Pop Will Eat Itself), so it's kind of odd that I played keyboards for them.

One thing about the Prodigy, is that most of their music when played live is from ADAT. There's only one person that is even sitting at a musical instrument (one is an MC and the other one is a crazy dancer) and that's the guy who pretty much is The Prodigy. When they play live, he usually handles the mix board and sometimes does a few samples or keyboard instruments.

In the dream I was doing what I call "loop triggering". Where a good portion of the song is triggered live via a MIDI keyboard plugged into a sampler. I used to do this in high school. One key would be depressed constantly or repeatedly pressed every 4 bars, as the drum loop, and other keys would be triggered as various samples. In my dream I played the entire song "Poison", my favorite of theirs (other than Their Law, which they collaborated over mailed floppys with Pop Will Eat Itself).

The dream I had last night was just as strange. I dreamt I had previously built an amateur rocket and sent a probe to Mars, which conisted primarily of a webcam and a server running Linux. It was something like a year later, and I tried to log in using an uplink from a Radio Telescope that had been dedicated to sending and recieving telemetry from the various Mars missions, so it was always pointed at Mars (this is actually the case). So, I SSH'd in and it worked. Then I realized something was wrong, because the response to my keyboard typing was far too quick. If there was some sort of TCP/IP link to Mars, it would take around 30 minutes for me to get an echo, because of the speed of light. Yeah, weird dream.


PHP versus Perl
2003-07-15 17:49:45 ET

Perl's got some advantages when it comes to scripting and certain file manipulation work, but it's MySQL connectivity sucks. I'm hating it more and more.

First off, integrating MySQL (or even PostgressSQL, or even Oracle) into PHP is pretty easy to do at compile time.

./configure --with-mysql=/usr/local/mysql

Getting the DBI module, compiling it, and installing it was rather a pain, and very poorly setup and documented. There's inherent complexity, and then there's sloppy complexity.

Plus, the syntax seems overly complicated for Perl. Let's say I wanted to pull the data for SystemName from table System, where the SystemID was "4". Here is the Perl code:

use DBI();
my $dbh = DBI->connect("DBI:mysql:database=somedatabase;host=localhost", "dbuser", "dbpassword", {'RaiseError' => 1});
$query = "select SystemName from System where SystemID = '4'";
$sth = $dbh->prepare($query);
my $SystemName = @row[SystemName];
print "$SystemName\n";

Here is the PHP code:

$query = select SystemName from System where SystemID = '4'";
$result = safe_query($query); // safe_query is a popular function shortcut for PHP
$row = mysql_fetch_array($result);
$SystemName = $row['SystemName'];
echo $SystemName;

Maybe it's the time I've been spending with PHP lately, but the PHP way seems much easier to follow, and to troubleshoot. The $sth arrays seem fairly counter-intuitive, at least to me. Who knows.


Running. Damn.
2003-07-09 16:31:16 ET

For the past week it's been in the 80's and even 90's, and running hasn't been easy. Tonight was rather cool, but I had other plans and couldn't go running.

The night before last I ran, from my place to my old place to Washington Square park, and then back. About 3 miles, and I wondered if I was going to pass out from the 85 degree heat.

I went and got sushi today, and scored me a nifty new "Aqua Teens Hunger Force" shirt. I be stylin' now.

Digital Underground
2003-07-02 07:03:08 ET

Holy shit! Digital Underground is playing tonight live! I wonder if they'll play The Humpty Dance.

I loved that song so much, I actually did get busy in a Burger King bathroom.

Jump to page: [Previous] 1 « 9 10 11 12 13 » 26 [Next]
Back to shadeland's page