ericfaller.com Pithy Quote Goes Here

Vous recherchez le Eric Faller français? Accédez au site ericfaller.fr

27Aug/062

Splat Monster

It looks like the eyes were probably painted on by somebody, but if not, how cool would that have been if this splat monster had just formed randomly?

Splat Monster

Filed under: General, Random 2 Comments
22Aug/064

Kafka vs. Kefka

Kefka

I just read The Metamorphosis by Franz Kafka, whom I was previously unfamiliar with. I wasn't always precisely sure what constitutes a "Kafkaesque" situation, but now I have a much better idea.

After reading, one thing that struck me was the connection to Final Fantasy III's villain Kefka. I totally missed this connection as a child but now it seems quite obvious. Everything from his theme music ("Metamorphosis") down to the extreme existentialism and absurdism of the character is clearly an homage to Kafka's philosophy. It may not be the most complimentary portrayal, but it's still quite interesting.

Kefka 1

Kefka 2

Filed under: Games, General 4 Comments
14Aug/063

Helpful error message

Note to the Media Center team:

"AUDIO ERROR Exception from HRESULT: 0xC00D1191 (C00D1191)"

is not a helpful error message.

Error Message

I know what HRESULTs and Exceptions are, but I still have no idea what this error message is trying to tell me.

I am reminded of Joel Spolsky's rant about unhandled exceptions.  I guess it's better to say "An unknown error happened!" than do nothing at all, but it's still pretty useless.  Somebody needs more testers..

9Aug/062

Squeezebox

Today's question: What's the best way to stream MP3s from my computer upstairs to my stereo downstairs? (my life seems to be beset with these sorts of problems)

Here are the network music player requirements that I was forced to work with:

  1. It needs to connect wirelessly to my 802.11g network
  2. It must support WPA-PSK encryption
  3. It should have S/PDIF digital audio outputs
  4. It should be super-easy to use once set up (minimal work required to turn the music on and off)

The first thing I tried out was an Airport Express with Airtunes from Apple. It aced the first 3 requirements, and I figured that nothing else would score better on #4. Unfortunately I was wrong on the last one.

The problem with Airtunes is that it just pretends to be a set of "remote speakers" and requires a computer to be running iTunes all the time to play the music. I ended up with two options:

  1. Leave the computer upstairs on all the time playing music (easier now that I have a Mac Mini Media Center). This worked, but in order to switch songs or playlists I had to run upstairs and switch them on the computer, which was annoying.
  2. Run iTunes on a laptop downstairs and play the music from there. This worked if I was already using the laptop, but if I was just eating breakfast I would have to go over to the laptop, wake it up, type in my password, find iTunes and hit play. Then when I was leaving I had to walk back over, stop iTunes and sleep the laptop. Far too complicated.

The only other network music player I could find that fulfilled the first 3 requirements was a Squeezebox (and only the very newest model supports WPA). It works by streaming the MP3 files from a network server and playing them directly. It also has a remote that can be used to browse the music collection on its big LCD and (most importantly) the ability to start & stop playback with one button push. It also runs its own web server so you can manage which music is playing from any computer on the network (including a cell phone).

It was pretty much exactly what I needed. Here's a picture of it in action:

Squeezebox

And here's the back:

Back of Squeezebox

It has a headphone port, analogue RCA stereo jacks, optical and coax S/PDIF jacks, and an ethernet port (for wireless network bridging, also very handy).

So far it works great. Setting it up was the only difficult part. Typing in the 256-bit WPA key with the remote was very painful, especially since it kept crashing with a helpful "malloc failed" error message and rebooting, forcing me to start over. But, now that I have that all sorted out I haven't had any problems with it.

7Aug/063

Hot air balloon flyover

So I'm sitting here and a huge hot air balloon flies right over my apartment, really low to the ground. By the time I got my camera out it was a ways away, so it looks small in the picture. It was a lot bigger when it was right over me:

hot air balloon

Now I have this strange urge to take a hot air balloon ride (something I've never done). It probably costs a lot, so I need some other people. Anybody else want to go on a hot air balloon ride?? Let me know.

Filed under: General, Random 3 Comments
7Aug/067

Synchronizing Media Center TV shows to an iPod Video

Part of my justification for getting a new iPod would be that it would have video support, and I could use it to watch recorded TV shows while I'm on the bus or waiting in line somewhere. I figured that somebody in the world must have written some software to automatically synchronize TV shows recorded on a Media Center PC to an iPod Video. I mean, right?

Apparently not. Or at least I couldn't find any software to do that, free or commercial. Sure, there are various tutorials for converting MCE videos to iPod-compatible files, but they all involve manually running 3 different programs and then importing the video into iTunes by hand. There must be an untapped marked for an MCE plugin that automatically converts and syncs TV shows to an iPod. Somebody could make a killing here!

In the meantime, it looked like I would have to write my own program to do this. These were the requirements I had:

  1. Plop the iPod into the dock
  2. Go to bed
  3. Wake up, the iPod automatically has all the TV shows I recorded the day before

I wrote a small C# program that does the following things:

  1. Check if I have deleted any recorded shows from the Media Center PC. If so, delete the iPod versions out of the iTunes library.
  2. Find all of the new TV shows that the MCE recorded since last syncing to the iPod.
  3. Take each new show and convert it from a .dvr-ms file to a .mpeg2 file using DVRMSToolbox.
  4. Convert the .mpeg2 file to an MPEG-4 file using ffmpeg, shrinking the video to 320x240 at 512 kbps.
  5. Delete the temporary MPEG 2 file.
  6. Save the .mp4 file into the iTunes video library folder.
  7. Force iTunes to update its library database and sync to any connected iPods (using iTunes Library Updater).

Next I created a Scheduled Task to run MCEiPodSync every day at 3:00 AM:

MCEiPodSync

Now all I have to do is plug in the iPod and go to bed. Sweet! Here is a pic of the iPod playing Full House (it was on while I was testing):

Full House

Here's a link to the source code for my little program if anybody's interested: MCEiPodSync.cs. You just have to switch the const strings at the top to point to the correct path to your Recorded TV and iTunes library folders.

6Aug/065

Picture of iPod adapter

I forgot to include a picture of the iPod actually hooked up to the adapter!

Here it is, sporting the VW logo:

iPod

Filed under: Car, General 5 Comments

About Me

Eric Faller

Eric Faller

Software Engineer at Facebook
Palo Alto, CA
Résumé
Facebook Link
Eric Faller's Amazon Wishlist

Photos

DSC01976 IMG_2755 DSC01169 IMG_1771 IMG_1585 IMG_0731 IMG_1890 IMG_4967 IMG_4568 IMG_2071 DSC_4410 DSC02115
More Photos..

Recent Comments

Recent Posts

Topics

Archives

Site Tasks