Archive for May, 2006

Recording Internet Streaming Radio

May 22nd, 2006

A while ago I wanted to record my favorite streaming radio station, Radio Paradise, so I could listen to it in my car.

Recording was no problem with mplayer:

mplayer -playlist ~/radioparadise.m3u -dumpstream -dumpfile ~/radioparadise/rp_$(date +%m%d%H%M).mp3 -vc dummy -vo null ;

But now I’m left with one huge file, and no way to skip over songs I’d rather listen to later.
The radion station uses IceCast I believe, and sends the meta data along with the stream – but now I’m trying to figure out how to capture the meta data and flag the stream to mark the track changes.

Until I have wireless Internet everywhere I’m at – I’ll have to come up with creative ways to listen.
I hope someone out there has a suggestion.

May 2006: Paphiopedilum Red Prince x Hsinying Web

May 22nd, 2006

Paphiopedilum Red Prince x Hsinying Web
Very deep purple on this paph. Pretty amazing little orchid… but be careful… this orchid has broken off twice. Best to stake it as close to the bloom as possible.

Java Frustrations in Ubuntu

May 13th, 2006

I noticed gij-4.1 was eating all my CPU when I was running Eclipse, so I decided to switch to Sun’s JRE.

Adding Sun’s JRE was no problem… there are plenty of tutorials on how to do that at ubuntuforums.org, but the bigger issue was getting Eclipse to recognize my preferred virtual machine. Even though update-alternatives showed /usr/lib/j2re1.5-sun/bin/java as preferred, and even after I set it’s priority higher so I had

*+    1        /usr/lib/j2re1.5-sun/bin/java

Eclipse still wouldn’t recognize it!

I finally gave up and added a command line argument to Eclipse’s startup:

/usr/bin/eclipse -vm /usr/lib/j2re1.5-sun/bin/java -vmargs -Xmx128M

Notice I had to increase the memory size because the default is 64Mb, which is NOT enough.

Now my load average is back to about 0.2 and 90% idle instead of gij-4.1 taking 90%.

I refuse to be a WP sellout.

May 11th, 2006

WP = WordPress.

And I refuse to use it. I’ve seen it’s features, it does have a decent template system, but I feel like 75% of it is feature overkill. Not to mention a ton of code which could be simplified by just using a few PEAR packages.

To those people that like it, that’s fine… go a head and use it. But I’m not interested in using some huge app for what should be a tiny blog system. I want something PEAR installable, uses PDO, PHP5 compliant, and most importantly – simple.

So I’m starting work on the salty blog system… it’s a derivative of my current site. It’ll have all the standard blog software bull: multi-users, commenting, categories, archives, fully customizable templates etc. But it’s not going to be huge, and it will be easy to install and upgrade.

It uses:

  • MDB2_Schema
  • DB_DataObject
  • Savant3
  • maybe FormBuilder

and most importantly, it will be PEAR installable and upgradable. I plan on using it here at home for my personal site, and at work to start documenting some of the work things I do and foster some communication between coworkers. So stay tuned if you care, or don’t – I don’t care…. but one things for sure.

I ain’t no WP sellout.

IE 6 text-align:justify and <em>

May 8th, 2006

I just spent about 20 minutes struggling with a rendering issue in IE. Apparently IE 6 has an issue with justified and italicized text.

Something inside a page was causing the content to jump around below floated divs. It showed the classic signs of a block element taking more width than it’s parent container and jumping below to where there was free space, but I couldn’t figure out what element it was.

Finally I found out it was a paragraph of italicized text. Nothing struck me as unique about this paragraph, except that it was the only paragraph that was italicized on the page. Removing the <em> wrapper around the text fixed the issue, but I didn’t understand why <em> was blowing up my layout – until I put together that the paragraph was italicized AND justified. Those two in common caused my container block to explode wider than the 100% it was taking and force everything out of place.

PC IE 6 has problems rendering justified & italicized text. So be careful placing a paragraph like this inside your pages, at least if you care about IE…. you’ll notice I don’t.

May 2006: Cattleya Princess Bells

May 7th, 2006

Cattleya Princess Bells
This is the first big cat I’ve been able to bloom with any success.
It was quite a shock because it has been in my garage over the winter under flourescent lights, but to my surprise it sheathed and bloomed.
The orchid is Cattleya Princess Bells. I picked it up about 3 or 4 years ago at Jewell Orchids in Iowa, and I’ve been moving it around with me ever since.
The big cattleyas have been pretty intimidating orchids for me because I’ve had mixed luck, but this one seems to have done alright despite the toture.
The color is nice and it is slightly fragrant in the afternoon… finally after 4 years it felt like blooming.

The saltybeagle has a new look. . .

May 6th, 2006

Well this is what happens when you become embarrassed about your website. You re-design… you build it using valid xhtml (or try to at least), CSS, PHP… and you have fun.

The new look is wider… I went with a width of about 1000px. The underlying code is all a custom PHP blog system I built over the weekend. It wasn’t built in 10 minutes, but while I was working on it I DID say ‘whoops!’ as many times as possible. It uses some neat introspection techniques for templated output…. and I dropped Blogger like a bad habit. I was getting sick of their spotty server response etc.

So, welcome. Hope you like it. I promise I’ll write more often (yea right).