User login

Use OpenDNS
Valid XHTML 1.0 Strict
Valid CSS!

Books and eBooks

I bought a Sony Reader Touch a month or so ago and it's pretty much going to revolutionize how I decorate my apartment. So now my #1 concern isn't "where do I put another bookshelf?", it's more "why do I live in such a terrible apartment?" But that's a problem for another day.

Right now, I'm kind of baffled by something. One of the things I thought would be a perk of this device is that I could hop online and download books (depending on availability) right at moment's notice. And while this is true, it's not exactly a bargain. For example: I thought it would be fun to grab a copy of that Pride and Prejudice and Zombies book I've heard about. So I jumped into the Sony Book Store and discovered it was 10 bucks. This is not terribly expensive but it's more than I would have guessed for something that has no new production costs now that it's gone to print. Jumping over to Amazon.com to compare was illuminating:

Remotely enabling VNC

A good exercise in futility is trying to enable Vino remotely and attach it to your locally logged-in session. There's basically no documentation for this stupid program and even when I could get it running (on the wrong display) it had caused dozens of brand new SELinux violation alerts. I have no idea why this is the default VNC server in Fedora.

So, note to future John, save yourself the headache and do this instead:

[john@home]$ x11vnc -display :0 -usepw &

It will even terminate itself automagically once I disconnect. That can be remedied by adding the '-forever' flag if I plan to disconnect/reconnect several times over the day.

Log Parser

I wonder if there's a better way to accomplish this:

C:\Program Files\Log Parser 2.2>logparser "SELECT [#Fields: date-time],session-id,remote-endpoint,data FROM RECV200912*.log WHERE session-id = (SELECT DISTINCT session-id FROM RECV200912*.log WHERE data LIKE '%MAIL FROM%someguy@domain.com%')" -i:CSV -nSkipLines:4 -o:DATAGRID -q

My SQL experience amounts to the above text and two chapters of example problems from Learning SQL so I'm a bit on the novice side, to put it lightly.

Quick and Dirty

Ah hurried Perl, I love you.

This morning, I needed a detailed report of the unclassified Netflow traffic. And ended up with this (multi-line for sorta readability):

C:\>perl -ne "chomp; @line = split(/,/);
if ( $line[13] eq "Other" && !($line[5] eq '1515' || $line[8] eq '1515') )
{ print qq{$line[0] $line[13]\t$line[4]:$line[5]\t\t$line[7]:$line[8]\n}; }"
\\backup\log\weekend.log

Never again

My neighbors sure like to give me confused denial about the noise they make. Still, I can't help but notice that both times I've gone over to complain the noise is suddenly gone.

I am going to have to move. This place was nice and quiet at first but it's getting more and more white trash every day.