Archive for the 'Linux' Category

Amazon Unbox

I downloaded Amazon’s Unbox this weekend to watch some BSG (yes I am a nerd). Unbox is Amazon’s video download service. I say service because it is much more than just another download. Amazon allows me to re-download videos or transfer them to multiple machines. Obviously, the Unbox player doesn’t allow burning to DVD, but I am over my purist-open-world days.

As with any service, there is room for vast improvements. The software is slow and buggy, but not bad enough to piss me off, which means it is still very usable. Also, the software only works on Windows XP or Vista, which is annoying for me because I run Ubuntu and Windows. In the future, software for linux that could be integrated with MythTV would be stellar-sweet. (Something tells me the suits are worried about the ability to rip the videos easier in linux).

All things considered, it is exactly what I wanted when my craving for season 4 of BSG got the best of me. I can’t compare it to similar services, but it is worth trying if you don’t care to hook your laptop up to your TV and pay $1.89 an episode.

Review of Ubuntu Gutsy

Today I figured I would upgrade my computers to Ubuntu Gutsy. It turned out to be a long day.

Start with the desktop at work…

My xorg.conf was completely destroyed. After about 40 reboots, I finally had my desktop load without going into failsafe mode. Unfortunately, Xinerama support wasn’t working. After some research I learned that Xinerama is no longer supported by the ati drivers. Instead, XRandR is. The great thing about this is it is in the early stages of development and doesn’t support multiple GPU’s, which my work computer has. Needless to say, I am not happy and may install Vista to spite Ubuntu.

Switch to my laptop…

Perfect upgrade. After about 45 minutes, Gutsy was installed and running. No problems at all were encountered.

After today, my recommendation is not to install Gutsy on any dual-monitor setups unless you know it is going to work. On that same note, don’t install Gutsy on any computer with a complex xorg.conf file. It is way too much of a pain to debug to be worth it.

The Death of MythTV

A few months ago, it occurred to me that I am no longer a college student, I am an adult. That being said, I realized I should start acting like one. While transforming into an adult, I began to understand there is really only one major change, high-definition TVs. I researched TVs for weeks, until I finally chose a Samsung 1080p 40″ LCD which I will blog about in the coming weeks. Then, as most of you probably gathered from a previous post, I got a satellite with HD programming. Needless to say, it has been an exciting time, but in a weird way a sad time.

As some of you might know, HD channels are compressed, mostly into the MPEG2 format, although a push towards MPEG4 is occurring. Anyways, satellite and cable providers go a step further and encrypt the compressed MPEG2’s. This is where the problem lies. While MythTV has the capability of ripping over-the-air (OTA) HD channels from an antenna, it can’t rip from a satellite or cable signal. The cable and satellite providers obviously want users to use their hardware, and not 3rd party hardware. While this sucks, it is understandable on many levels. I think that there should be some way to get the compressed MPEG2’s from the receiver, but currently there isn’t.

Some of you out there might be thinking, “Why can’t you just rip the digital signal on the DVI/HDMI cable?”. That’s what I thought at first, but that is too much data. Since that data is uncompressed, it is just too much for a computer to handle quickly, like MythTV needs to be able to do. Wikipedia gives the follow explanation:

A HDTV camera generates a raw video stream of more than one billion bits per second. This stream must be compressed if digital TV is to fit in the bandwidth of available TV channels and if movies are to fit on DVDs.

Without further ado, I announce that I have deleted all my MythTV recordings and reformatted the box. I love MythTV and will always enjoy the year I spent with it, but it can’t compete in the HD age. I really hope that one day, with technology advances, or new laws, MythTV + HD will be possible. Unfortunately, I can’t wait until then and will gladly use Dish Network’s HD-DVR, even though I will always know MythTV is a better product. I still plan on completing my MythTV guide on my blog, but its priority has taken a dive.

Linux: Find and Replace in Files

Thanks to Jon H., I can now do find and replace in files on Linux machines from the command line. Its pretty simple, but I had never bothered to figure it out.

Here are two examples. The first is for just one file, the meat and potatoes are in the second example, which does a find and replace in all PHP files.

1
2
sed -i -e "s/TOREPLACE/REPLACEMENT/g" temp.txt;
sed -i -e "s/TOREPLACE/REPLACEMENT/g" `find -name '*.php'`;

Super helpful.

IE on Ubuntu

At first, I was hesitant to install IE on Ubuntu.  Basically, I didn’t think I could trust it.  But after spending hours and hours of development time waiting on my windows virtual machine to do anything in IE, I knew I had to try it.

IEs4Linux work great.  I only use IE6, and it is great.  At first glance, it seems to work exactly like IE on my virtual machine, except it runs as fast as a normal desktop application.  This is definitely a tool any web developer who runs Linux should use.

If I notice any inconsistencies between IE on Linux vs. Windows, I will be sure to post it here.