MythTV Rebuild

Wow, MythTV is a pain in the ass to build. Luckly I found a site that had OpenSuSE 10.2 rpms. That made it easier. I still had to copy over my config files from the old MythTV build. I had to manually alter the recording tables to copy the data from the old system to the new database. The following query was used to compare settings from the old settings table and the new settings table:

WordPress Captcha

Here is a good captcha anti-comment-spam tool for wordpress Make sure to note This comment which has the fix for WordPress 2.0. If you don’t then the captcha is there, but any value will still allow a post. This looks to be an even better version

Blackberry Orphans?

I think not. The Wall Street Journal did a piece on On BlackBerry Orphans, children of parents who are totally obsessed with their BlackBerry or Treos. I’m getting really sick and tired of these “work/life balance” articles. I understand why the media does it. Filling column inches based on the random drivel of so-called experts is pretty easy. Still, there never seems to be much perspective, and what little there is comes in the form of a one line quote from someone interviewed for the story.


halsey# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 9.6G 2.8G 6.8G 30% / proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 849M 644K 849M 1% /etc/svc/volatile /dev/dsk/c0d0s4 9.6G 77M 9.5G 1% /var swap 849M 8K 849M 1% /tmp swap 849M 24K 849M 1% /var/run data 919G 49K 919G 1% /data halsey# uname -a SunOS 5.10 Generic_118855-14 i86pc i386 i86pc

Treo Hacking Links

Google Maps Get out of meeting free card Take apart guide And of course i need to remove the cingular branded rom to get DUN (which is the whole point of going to Tmobile). Treo650-1.02-CNB

perl code snipet for issuing POST

This took way to long to lookup how to do. This issues a POST command to a cgi ($url), fetches the resulting content back and then parses the XML data. <br /> use XML::Simple;<br /> use LWP::UserAgent;<br /> use HTTP::Request::Common qw(POST);</p> <p> my $ua = LWP::UserAgent->new;</p> <p> my $req = HTTP::Request->new(POST => $url);<br /> $req->content_type(‘application/x-www-form-urlencoded’);<br /> $req->content("Mac_Id=$mac");</p> <p> my $res = $ua->request($req);<br /> my $xml = $res->content;</p> <p> # Parse cfgdata<br /> my $xsl = XML::Simple->new();<br /> my $config = eval { $xsl->XMLin($xml)} ;<br /> if($@) { # bad XML<br /> print "Invalid XML for $mac\n";<br /> print ERROR "Invalid XML for $mac\n";<br /> next;<br /> }</p> <p>

Trixbox Issues

The Web GUI can’t read /var/run/asterisk/asterisk.ctl, chmod 777 fixes System Recordings can’t copy files to the /var/lib/asterisk/sounds/custom/ directory. Not sure the root cuase, but the recorded wav files are /tmp/EXT-ivrrecording.wav where EXT is the extention that dialed *77