U.S. Congressman Marsha Blackburn (R - TN) on MSNBC earlier today:

When it comes to the experience question, if you’re going to give me the choice between a man who has run a committee in the US Senate, or a woman who has been a wife, a mother, a businesswoman, a PTA chairmen, a mayor, and a govenor, I’m going to take the experience that woman has, because of this: it is more well-rounded. She has more life-skills. Leadership is a transferable commodity, and women are experts at that. They build leadership skills through so many different areas of their life. They’re not single focused. And if you’re going to give the American people to get someone who has a wealth of leadership experiences from many different platforms in their life, and many different disciplines or give them the opportunity to have someone who has been a chairman or a ranking member of a committee in the US Senate, I think the American people are going to speak out and take that woman with a wealth of experience.

So, apparently PTA experience is an important skill for being one of John McCain’s heartbeats away from the presidency.

Oh, and apparently Barack Obama has no family (Barack has been “on a committee” but Palin is a wife and mother).

How does she breathe with all that horseshit in her mouth?

{ 2 comments }

Tales of Drobo Tech Support

August 28, 2008

Not long ago I bought a USB Drobo to replace the multiple hard drives that I had collected over the years.

I started by purchasing four 500GB drives, which I am already replacing with 750GB drives. Due to the way that Drobo works, you get redundant storage but less than you’d get if you added the drives up. For example, if you have 4x500GB drives you get about 3x500GB worth of storage, and Drobo protects your data so that if any one of those drives dies, you can replace it without losing your data.

I had heard about Drobo on Twitter and on Mac Break Weekly and had watched the demo, so I knew basically how it worked before it arrived.

Imagine my surprise when I saw this

New Drobo Volume.png

I dutifully checked the Help file before contacting support, and saw that the only way to change it was to reformat the entire {bleepity-bleep} thing.

I sent this email to Drobo tech support:

So I replaced my 500GB drives with 750GB drives, and now Drobo is telling me that I have to have another Volume (see attached image), and that the only way to get around this is to reformat the entire thing?!?! If I chose HFS+ why would you limit me to 2GB by default?! I really don’t want 2 volumes, but I don’t have enough space elsewhere to move all the data off the Drobo and then reformat and move it back on. This is pretty disappointing. Had I known about this earlier I would have set it up differently, but EVERYTHING I saw said “Hey, just add more hard drives later, it’s just that simple!” not “Just add more hard drives and eventually end up with multiple volumes” :-/ I know it’s my fault for trusting marketing-speak, but you could throw in a line there about the 2TB limit, if not in the “commercial”, then at least when I start putting drives in for the first time. Had a dialog come up and explained this limit to me (similar to the Help file), I would have chosen 4TB without hesitation. Anyway, that’s my feedback, for what it’s worth. TjL

And received this reply.

Date: Thu, 28 Aug 2008 14:05:02 +0000 (GMT) From: Drobo Technical Support To: “luomat@gmail.com” Subject: Drobo Case # 10909 [ ref:00D56kRy.500556Q8D:ref ] Good Morning, Timothy, I apologize that when you were given the option to size your volume to 2 TB, 4 TB, 8 TB or 16 TB, in the Drobo Dashboard, you chose to size it to 2 TB. Next time you run into something you do not understand in our software, please do not hesitate to give us a call and we will walk you through it. Have a wonderful day, Wanda ref:00D56kRy.500556Q8D:ref

to which I wrote back

{Expletive deleted} you and your snotty passive aggressive attitude. You’re marketing something that you claim is so simple you don’t need to worry about a thing. Oh, except for this one setting that you’ll probably run into pretty soon if you’re dealing with such large quantities of data. I’ve already had people ask me what I think about my Drobo. I’ll be sure to tell them what I think about the support they offer. I’ve got 4 extra hard drives that I was thinking “Hrm, return them or buy another Drobo.” Guess I’ll return them. TjL

I gather from Wanda’s snide comment that I chose a 2TB setting. I have no recollection of that being asked, but of course with 4x500gb worth of data, I would have thought “Oh, well, it’s less than 2TB, so I’ll choose that.”

There’s an old saying that goes something like “try to make something fool-proof and they’ll start making better fools.”

I wish I could see the initial start sequence again, perhaps I didn’t read it carefully enough, but I would hope that it says something like “Confirm 2TB partitions? If you add larger drives that exceed a total of 2TB, Drobo will automatically make a second partition.”

And I would have said “Oh, well, in that case, I’ll go for the larger size.”

(Technical aside: the strangest thing is that the default format is HFS+ which is a Mac format, but the 2TB limit is there for Windows compatibility [if I am remembering the Help file information correctly] which has trouble dealing with discs larger than 2TB. Ok, but then why is HFS+ the default format?)

The minor aggravation of the 2TB partitions is minor. The response from Drobo tech support is not.

Maybe it’s just because I’ve known so many people in tech support, but each line of it reads “You did this yourself, you stupid moron.”

And that’s perfectly understandable to think but it is not acceptable to say when you are being paid to be the public-facing side of a company that I just shelled out $350+ to. I don’t expect you to kiss my ass because I bought your product, all I expect is something like this:

When you initially setup the Drobo, you *were* asked how large you wanted the partitions to be. I’m sorry if it wasn’t clear what this setting meant.

Boom, that’s all you need to say. Simple, clear, precise.

You could even throw me a bone and add “I’ll pass along your comments” even if you don’t do anything but roll your eyes and file my email under “Clueless Morons Who Are Unfortunately Our Customers.”

Do I allow that “Wanda” might have been having a bad day? Sure. Tech support is often a godawful job. But when you’re being paid a salary to respond to people’s tech support emails, you scream in the breakroom, and smile in the email.

Should I have used profanity in my response? No, that was a dickish move on my part, but I did it, and I admit to it. But if you want to know how to turn a minor irritation with your company’s product into full-blown anger at your company, here’s a good recipe.

(BTW I was quite serious that I was considering purchasing a 2nd Drobo, because I’ve got 4x500GB drives already. But after this I will not. No, I don’t mean `not ever’, I mean anytime soon.)

{ 9 comments }

Joe Maller asks on Twitter:

what is iPhoto doing that manages grind every other app to a standstill while importing?! Copying JPEGs over USB shouldn’t be this hard

I have no idea, but it’s bad enough that I don’t bother trying to make it work anymore.

I did what any self-respecting geek would do:

I wrote a shell script, and took out most of the vowels when naming it: pics2hd.sh

Long story short:

1) It moves .jpg and .avi files from your SD card (or whatever) to a folder

2) It renames them to the date and time when the picture was taken (handy in case the EXIF data ever gets lost)

3) It ejects the card

4) You have to be comfortable with some basic Terminal.app usage (i.e. you have to know what it means when I say “Download this script, unzip it, chmod 755 it, and put it somewhere in your $PATH)

5) Read the script in BBEdit/TextWrangler whatever for some other important notes and usage instructions

6) No warrantee or guarantee expressed or implied. If it breaks, you get to keep both pieces and all of the responsibility. Welcome to adulthood.

7) I welcome improvements, corrections, or questions, but don’t expect much by the way of tech support for this.

8) Free of charge, free to modify, free to whatever you want to do with it.

Download here: pics2hd.sh

{ 4 comments }

(UPDATE 9:03 AM: see comments section for an easier solution if you haven’t setup your iTunes library yet.)

When I first heard that Apple was thinking about releasing a version of Leopard that was (almost) nothing but bug fixes, I thought “Nah, never hapen…”

Boy I hope I’m wrong.

Lately I’ve been finding more and more “little things” that need Apple’s attention.

For example: I recently jumped on the Drobo bandwagon, and one of the things I most anticipated was being able to put my iTunes library on it and never touch it again.

I’ve lost playlists, play counts, and more due to moving my iTunes library around in the past. I want to be able to, as they say, “Set It and Forget It.”

The Problem

Unfortunately, iTunes doesn’t make this as easy as one might like.

Sure, it looks easy enough:

iTunes Library Location Preference

But guess what? Not everything gets added there.

For example, album art, podcasts, and mobile applications (aka iPhone/iPod Touch apps).

All of these continued to show up in ~/Music/iTunes.

The Hack

This is not a great solution. It isn’t something I would suggest that anyone else do unless they were willing to take full responsibility for their actions and hold harmless anyone who suggested it to them.

But there is a solution.

Simply put:

0) Make sure iTunes is not running

1) Create an Alias of your “Mobile Applications” folder on your external drive

2) Drag the Alias to ~/Music/iTunes (where ~ refers to your home directory)

3) Rename the Alias to remove the word “Alias” from the end of it.

Here’s a 16-second video showing you how it is done

(If you’d like to download that, right (or “option”) click this link and save it to your hard drive: MakeMobileApplicationsAlias.flv.)

4) NOTE: after you do that, launch iTunes — and none of your Mobile Applications will appear!

5) Don’t panic

6) Drag all of your applications (Note: they should all end with .ipa) from the Finder window into the iTunes “Applications” window. You may get warnings about Older versions. I just kept hitting “Replace” (otherwise the whole import seems to cancel. Another bit of Snow Leopard attention needed).

7) Give iTunes a few minutes to process the applications (it will be clear when this is finished).

8) Download any updates that iTunes tells you are available

9) Sync your iPhone or iPod Touch.

Note: you may notice that I did the same thing for “Album Artwork”, and “Downloads” and “Podcasts.” I have no idea what the long-term effect of that will be. Again, caveat emptor (if it breaks, you get both pieces and all of the responsibility. Welcome to adulthood. :-)

Another Answer

You might wonder why I didn’t just make an alias of the iTunes folder from my Drobo to my hard drive.

The answer is simple: the first time I tried it, iTunes threw an error and failed to launch.

However, when I went back to try it again (to record to error for you, gentle reader), it seemed to work just fine.

Except that I was starting from a clean iTunes slate.

That wasn’t too bad for me, given my fairly-new iTunes slate anyway, but it might be a problem for others.

The Real Answer

Of course, the real solution is for Apple to fix iTunes so that it stores album artwork, podcasts, and mobile applications wherever the user wants, rather than where Apple thinks is best.

The Unix Way

Being a long-time hard-core Unix geek, the way that I would actually do this is in Terminal.app:

cd ~/Music/iTunes
ln -s ../../../../Volumes/Drobo/iTunes/Mobile\ Applications  ../../../../Users/luomat/Music/iTunes

But I am, as I said, I’m sort of a giant geek. Or nerd. Or whatever it is they’re calling us now.

Fini

Until we meet again - adieu…

{ 2 comments }

More from Our Local News

August 17, 2008

The male anchor (previously seen here) and the female co-anchor.

{ 1 comment }

Clone Wars Sucks

August 15, 2008

[Warning: this post contains strong language and a minor spoiler about a movie that you really shouldn’t go see anyway.]

Every Star Wars movie after Empire Strikes Back has sucked.

Return of the Jedi was the worst of the original trilogy. Lucas was trying to wrap up everything into a nice, neat package and forgot that the movie needs to be entertaining. There are some entertaining moments in ROTJ, but overall, it’s the weakest link.

The Ewoks are too cute. The dialogue with the Emperor is painful, and the ending part where Vader dies was truly groan-worthy as he endeavored to have a “After-School Special” moment with Luke.

“But there were problems in the first two movies too!” Yes, there were. If you go back and watch A New Hope, you will hear some truly awful lines of dialogue. Luke whines. Han talks about how fast the Millennium Falcon is using a unit of time instead of a unit of speed. And you know what else? Shut up.

Yes, shut up. When you saw the movies, even when they re-released them in the 90s, you didn’t care about the few bad lines. You didn’t care about what a dumb name the “Hyperdrive Motivator” was. Why didn’t you care? Because the movie was still pretty good.

Even when I was watching ROTJ, I could smell the rot.

Then.

Then.

Then Lucas went back. And tweaked them. Which is to say that he added all these little cutaways. Most of them were completely useless. Most of them were designed to get a cheap laugh. Most of them had nothing to do with furthering the story.

Take, for example, the scene with Han Solo and Jabba from Episode 1. The scene was cut from the original movie, and had actually been filmed with an actor playing Jabba instead of the giant slug he became.

But Lucas would not be stopped. He wanted to add the scene, so he was going to add it. And who is going to stop him, after all, he’s George “Swingin’ Dick” Lucas. You gonna tell him ‘no’?

So what do we get? We get a scene which adds nothing to the movie, nothing to the series.

Oh, and I forgot. In the original scene, Han walked behind the actor who was playing Jabba. Now Jabba has been replaced by a giant slug, so Lucas has Han step on Jabba.

Right. Like Jabba wouldn’t have resented that at all. No response.

So after deproving (the opposite of “improving)”) the first three movies, Lucas set out to make three more.

Which gave us Jar Jar Binks.

How did Jar Jar get approved? Because Lucas didn’t have anyone to say, “Um George, the Rastafarian swamp lizard thing is not only offensive, but annoying as hell.”

You’ve got the leader of the Gungans who vigorously shakes his head and spews spittle everywhere when he’s excited, upset or happy. Yeah.

My Theory As To What When Wrong

The long delay between the first trilogy and the second trilogy was explained by Lucas’ contentious divorce from his wife. The story went that he didn’t want to give his wife any money from the future movies, and she wanted to say they were products of the marriage, so she was owed half.

I don’t know if there’s any truth to that or not, but I can tell you that what ruined the second trilogy was very clear to me:

Lucas had grandchildren.

He made the second trilogy for them.

Don’t believe me? Watch them with a 6-year old. I have. Again, and again, and again.

Little kids love Jar Jar. I’m not sure what the medical explanation for this is, but I believe it has to do with the soft-spot on the top of the head not being hardened.

Ask him which of the 6 movies he wants to watch, and he’ll pick one of the first 3.

The awful dialogue between Anakin and Padme doesn’t bother him; he’s 6.

The goofy stupidity of having battle droids that say things like “Roger Roger” and “Uh Oh” doesn’t bother him; he’s 6.

The absolute absurdity of having General Grievous, who is 99.99% robot, who has a hacking smoker’s cough doesn’t bother him; he’s 6.

When Count Dooku and Yoda face off, and Dooku says “It is obvious we will not be able to settle this with the force, but with the lightsaber” he doesn’t ask “WHO TALKS LIKE THAT?!” because he’s 6.

When you have Chancellor Palpatine saying “No, no, no, no” like some bizarre scarecrow, he doesn’t care.

So if the majority of the movie is entertaining to a 6 year old and annoying to the rest of the population, either Lucas is amazingly stupid, or he wrote it for 6 year olds — like his grandchildren.

What Went Right

The good parts of the second-trilogy is quite simply the battle scenes. Lucas does them well. It’s why the Death Star invasion at the end of the 1977 movie was so good, why the Hoth battle and Luke-vs-Vader in Empire was so good, and why the best parts of ROTJ were the battle scenes.

In the second-trilogy, we get a multitude of light-saber battles, including Darth Maul, whose lightsaber battle with Qui Gon and Obi-Wan is by far the best part of The Phantom Menace, and why the Jedi battles are the best parts of the next two.

Which Brings Us To Today

We went to Clone Wars because of the aforementioned 6-year old, but I was hopeful. I wasn’t bothered by the fact that it was all-CGI. As many others have said, a lot of the second-trilogy was CGI anyway, so why not just go all-out?

What did we get?

Some good battle scenes.

But not enough.

Not nearly enough.

The 6-year old loved it.

I did not.

First of all, the story starts and you’re not given any help figuring out where this movie fits in. If you are expecting it to be after the last movie, you’d be wrong — as you would soon figure out. Eventually I figured out that it was between the 2nd and 3rd movies.

Which, by the way, makes this a… what? Prequel? Prequel to a prequel? I don’t think we even have a word for what this is.

My hope started to die off fast. The voiceover at the very beginning of the movie is so far over the top that it puts us squarely in the ridiculous. It isn’t quite as bad as the “SUNDAY SUNDAY SUNDAY! MONSTER TRUCK PULL” guy, but it’s close enough that the comparison came quickly to my mind.

There’s plenty of gawd-awful dialogue that makes you wonder if the writers have ever been in a discussion with normal human beings here on earth. Fortunately, we are not asked to endure any of the bile-chunk laden, vomit-inducing “romantic” language between Anakin and Padme.

But It Gets Worse

I had heard that there was a “new Hutt” in this movie who “speaks like Truman Capote” and I thought “Oh man, people are just getting way over-wrought about this before it is even released.” And then I kind of forgot about it.

Until it happened, and all I could think was “OH MY SWEET BUTTERY JESUS, YOU HAVE GOT TO BE [EXPLETIVE] [EXPLETIVE] [EXPLETIVE] [EXPLETIVE] [EXPLETIVE] KIDDING ME, RIGHT?”

Let me be absolutely clear: imagined someone playing Truman Capote. Now imagine that the director asked you to “Gay it up a little.” And you did. Now, imagine that he said “No, more. Really really gay it up.” And you did. Then imagine the director kidnapped your family and held them at gunpoint and threatened to scar and/or rape them with a cattle-prod unless you made it so amazingly over-the-top that people would actually lose brain cells as they tried to imagine if you had really CREATE SUCH AN OBSCENE CARICATURE.

Did I mention this character was a Hutt aka giant slug?

The only way this character could be any more ridiculous is if he was wearing a pink-tutu and delivered his dialog in stuccato bursts between thrusts as he was sodomized by The Village People as they sang “I Feel Pretty” in four-part harmony.

Oh, and guess what? He turns out to be a bad guy.

Um “spoiler alert.”

Sorry. Actually I’m not. There’s no way this movie could be spoiled. You could set this movie on fire and urinate on the ashes and not ruin it.

But since the cat is out of the bag, isn’t it nice that Lucas created over-the-top gay caricature “uncle” who turns out to be a bad guy?

Way to be creative there, Georgey boy. So, can we expect that someday you’ll go back and release a “Special Edition” of The Phantom Menace where Jar Jar is smokin’ weed and listening to Bob Marley while cleaning a rifle wearing a Che Guevara t-shirt? Because that would be less-offensive.

Please, let this movie fail

The only hope we have for this to be the last Star Wars movie is if it is a horrible box-office failure. (Or have an asteroid land on George Lucas.)

Please, do your part.

Do not see this movie.

If anyone asks you about this movie, tell them you heard it was horrible, painful to listen to and offensive. Even if you don’t care about the stereotyping (really?), you should care about good movie making.

Star Wars, which was once the pinnacle of science-fiction movie making, became a bad joke with the second trilogy, and is now a bad, unfunny joke — which is to say, tedious.

It needs to end now. It needs to be put into a nice retirement community where it can bask in the glow of What Used To Be, until some new director can come up with a vision of what a great action/science-fiction adventure can be for this generation.

Just keep Lucas the hell away from it, because the stench from the shit on his hands will ruin the whole thing.

{ 0 comments }

44 seconds of levity from the local news.

Not the story itself, but when told with a slight lisp (I have a similar one myself) and a certain… punch on a certain line, it made me laugh.

(Oh, I know it cuts off at the end, but there’s no phone number given for the Ashland Police Department. They don’t want tips from slackers who can’t be bothered to look up a phone number.)

{ 0 comments }

For those who have seen Dark Knight, which seems like most of the world, I have a question.

Note: if you have not seen it, stop reading, because I’m going to give away a major plot point (aka “spoiler”).

[Read On…]

{ 11 comments }

AT&T home voicemail sends me a WAV email attachment that iPhone can’t play. Synergy (n): Still Meaningless Bullshit After All These Years. (Source: Me on May 29th, 2008)

The Problem

Part 1) We have AT&T for our home voicemail. When someone leaves a voicemail message there, I can get an email or text message. However, then I have to dial a 10 digit number, enter our home phone number, then a 6 digit PIN, then press 1, then press 1 again.

Which is annoying.

Part 2) AT&T can send me a copy of the voicemail as a .wav file — but (and you’ll love this part!) the .wav file can’t be played on an iPhone.

(Yes, this is the same AT&T with the exclusive contract with Apple to sell the iPhone in the USA.)

Part 3) There are lots of areas with poor/weak cell reception. The process described in Part 1 can take a couple of minutes just to get to the message.

Part 4) There’s no easy way to go back and search through old messages, unless you know the number. I can download the .wav on my desktop but it ends up with the name “message-x.wav” where X is a number. Not helpful..

The Solution

The easiest solution seemed to be to convert the file to MP3 and then send that file.

But, while I was at it, I might as well throw in a few extras such as doing a reverse lookup on the phone number to see who the call is from.

I used to scrape content from reverse lookup websites until I found Whitepages.com had released an API earlier this year.

I spent several days figuring out how to parse the information.

Then they changed it so you were getting a lot more information, which meant that I had to re-do everything that I had done.

Geeky Part #1: The Procmail Part

Procmail geeks will understand this next part

:0
* ^X-DCL-Caller-Number: \/[^ ]+
{
    # The phone number is sent as a Header to the email
    PHONE="$MATCH"

# find a unique datestamp ready
TIMESTAMP=`date '+%s'`

# set AND EXPORT (I forgot that part at first) a unique variable
export METAMAIL_TMPDIR=$HOME/voicemail/temp/$TIMESTAMP

# This will do nothing except dump the
# file into the METAMAIL_TMPDIR above
:0 fb w
| (mkdir -p "$METAMAIL_TMPDIR" && metamail -q -x 2>&1>/dev/null)

# this external program does all of the heavy lifting
:0 fb i
| process-new-voicemail-wav.sh "$PHONE" "$METAMAIL_TMPDIR"

}

Geeky Part #2: The

This is the ‘process-new-voicemail-wav.sh’ script

!/bin/sh

PHONE="$1"

METAMAIL_TMPDIR="$2"

Get the Reverse Lookup Information for the phone number

reverse.sh $PHONE >/dev/null

I am in Eastern Time, server is on California time, so we adjust +3 hours

TIME=date --date '+3 hours' '+%Y-%m-%d-at-%H.%M'

Make sure that the folder we were given is valid

if [ ! -d “$METAMAIL_TMPDIR” ] then

echo "$NAME: FAILED could not find a directory $DIR at $TIME" |\
Mail -s "$NAME Fatal error" $MAILTO
exit 1

fi

make sure we can get into the dir

cd “$METAMAIL_TMPDIR” || exit 2

for INPUT_FILE in find $METAMAIL_TMPDIR/ -type f -print do

# get JUST THE NAME of the person who called
VM_NAME=`reverse.sh --just name $PHONE`

# make sure we don't hit the API again too quickly
sleep 1

# get the just the ADDRESS of the person who called
VM_ADDRESS=`reverse.sh --just address $PHONE`

# Save the filename in a variable, since we use it
# several times
OUTPUT_MP3="$PHONE.$MESSAGE_FOR.$TIME.mp3"

# This is the core of the whole operation
# ffmpeg will conver the WAV to MP3 and tag it
# Unfortunately the tagging is limited to 30 characters per field, so we couldn't do a whole lot with it
# so we use several fields. This means that I have to adjust my 'reverse.sh' script
# so that it will give just the name and/or address if so requested
#
# Note the "MESSAGE_FOR" part below was never fully implemented. My wife and I
# both have voicemail systems so I want to be able to tell those apart
# most folks wouldn't need that part anyway.
ffmpeg  \
    -i "$INPUT_FILE" \
    -author "$VM_NAME" \
    -timestamp "`date --date '+3 hours' '+%H:%M on %Y-%m-%d'`" \
    -album "Voicemail for $MESSAGE_FOR" \
    -comment "$VM_ADDRESS" \
    "$OUTPUT_MP3"

if [ -f "$OUTPUT_MP3" ]
then

    # mpack keeps chocking on "No such file or directory"
    # without an explicit TMPDIR
    #
    # YEAH THAT TOOK A LONG TIME TO FIGURE OUT
    #
    TMPDIR=.

    export TMPDIR

    mpack -s "Voicemail Test $TIME" \
        "$OUTPUT_MP3" myemailaddresswhichisntthis@gmail.com

fi

done

exit 0

EOF

Geek Part #3: The Reverse Lookup Script

This was where I spent the majority of my time. After I had gotten it worked out the first time, Whitepages changed things so that you got much more data back, and all my underlying assumptions no longer held. This is a good thing, I guess, but it made things much more complex.

Plus, then I realized that I needed to take mobile phones into consideration, which was a whole other rathole to deal with.

I won’t post the whole script, since it is currently 362 lines long, but suffice it to say, it is huge and complex.

Bumps In the Road

Actually there were a bunch of snags in the road.

1) Metamail wasn’t using the folder I told it to use. Without that, we didn’t know where to look for the voicemail file.

2) ffmpeg wasn’t the first program I tried.

First I tried ‘sox’ and then ‘lame’.

Both said that they could not deal with this specific kind of WAV (Thank you AT&T for using an odd kind of .wav file!) which is described by ‘file’ as “RIFF (little-endian) data, WAVE audio, ITU G.711 mu-law, mono 8000 Hz”

Lame died with an error “Unsupported data format: 0x0007”

It was only then that I did even more research and found that ffmpeg could do it, and it was already installed! YAY!

3) ‘mpack’ is a program to email files from the commandline. I had to download, compile, install it. All of which worked fine.

It just refused to work once it was installed.

It kept telling me the file wasn’t there when it was.

I finally tracked that down to needing to be explicit when dealing with a Temp directory for mpack as well.

4) After many, many frustrating hours over many days trying to get this all to work, my wife came in and said “You do realize that the amount of time you are hoping to save will never match the amount of time you’ve spent on this, right?”

So, you know… ouch.

On the other hand, she was also looking for a voicemail message from a friend of ours we haven’t spoken to in years. She had deleted off her voicemail, and I knew I must have a copy of it somewhere, but was it called ‘message.wav’ or ‘message-5.wav’ or ‘message-10.wav’ or what? I know she’s in California but none of the files are marked in any way to tell what the phone number was.

We ended up having to look for her number a totally different way which wouldn’t work 99% of the time.

I Finally Solved All of the Problems (*)

(*) Except for one.

Remember how excited I was that ‘ffmpeg’ was already installed on the server?

Well it is.

Sorta.

It is installed on the webserver. It is installed on the machine I ssh into to make sure that everything was running (vs testing on my Mac and then having new problems on the actual machine).

However, mail is not delivered to the same machine as the webserver/ssh machine.

Mail is delivered to a different machine.

That machine does not have ffmpeg installed.

Sometimes the Answer is: “Go To Bed”

I finally quit around 2 a.m. last night and decided to go to bed. Of course, as soon as I got into bed I realized what I could do:

Solution: Have procmail run ‘wget’ or ‘lynx’ on a specific URL (web page) which would run PHP which would execute the shell script on the webserver not the mailserver.

Since I was tired, I went to sleep.

Today I tried working on the PHP page, using what is no doubt an entirely unsafe method of calling a shell script and feeding the $QUERY_STRING directly to it.

It seemed to work, so I tried to add some security to it…

…at which point I broke it so badly I couldn’t even figure out how to make the un-safe method work again (I haven’t done that much PHP work and haven’t written raw PHP in 5+ years).

So I gave up.

Sometimes the Answer is: Give Up

It might not make a great after-school special, but the truth of the matter is that sometimes you just need to give up.

At least for a little while.

You need to take a break, step back, and re-evaluate everything.

For example, I realized that I had gotten really far afield from my original goal: make an MP3 (I haven’t even mentioned some of the other grandiosity that I had in mind, such as a web-accessible, searchable archive).

Sometimes the Answer is: Doest Thou Shitteth Me?

So have you guessed what I missed?

I’ll give you a hint: something happened last Friday.

With Apple.

And the iPhone.

iPhone OS 2.0 was released.

Here’s a bug-fix for iPhone 2.0 that you won’t see listed in the reviews my Macworld, or Ars Technica, or Engadget, or anywhere else except here:

iPhone 2.0 brings compatibility with the kind of .wav file used by AT&T for their home voicemail.

Now I’ve already mentioned that this was an odd kind of .wav file, so I cannot believe this was an accident. Apple fixed their mobile media player to work with AT&T’s home voicemail.

Quote The Wife

Relaying this information to my wife she said “So this is one of those times when I should NOT say ‘I told you so’ right?”

Well, the fact of the matter is that I’d still like to get the reverse lookup information in there, but with the free People application for iPhone which uses the Whitepages.com data, it is easy enough to do a manual reverse lookup.

All things being equal, this is probably the best possible outcome. Ok, well, the best possible outcome would be that the reverse lookup information is included, but really, that’s not a huge issue.

This means that I don’t have to worry about any piece of the chain breaking down between a procmail receipe, a PHP page, and two shell scripts.

And it means that I have spent the evening relaxing with the family and writing this up… and now I can go to bed.

UPDATE: I am told that Vonage also uses “RIFF (little-endian) data, WAVE audio, ITU G.711 mu-law, mono 8000 Hz” files which also play on the updated iPod Touch.

{ 5 comments }

Twitterrific for iPhone

July 11, 2008

Few iPhone apps have been more highly anticipated than Twitterrific.

Until now, using Twitter on the iPhone has meant using a website such as the excellent Hahlo.

Compared to a web app, Twitterific is much faster and easier to use.

Killer feature?

Inside Twitterrific is a “mini browser” which is used when you click on links inside Twitter.

No waiting for a Mobile Safari tab to launch when you want to checkout a link.

Genius.

No Twitter user will want to be without Twitterrific.

Don’t take my word for it, try the free ad-supported version which will show occasional ads via The Deck.

Ads are not overdone, but if you prefer ad-free, the $10 cost is very reasonable.

{ 1 comment }