sysadmin field notes http://www.evilrob.org/journal/ Rob Meyer's weblog (java, unix, software development, and the occasional personal tidbit) en-us 2010-06-28T12:04:53-08:00 iMovie for iPhone tips http://www.evilrob.org/journal/archives/2010/06/28/imovie-for-ipho.html So, you can certainly make yourself feel a little silly by complaining about the features/capabilities of iMovie for the iPhone, since you know, it's an HD video editor running on a friggin phone.

I love it though, it's limited but it's quick, fast, and pretty fun to use. I thought I'd share a few tips I've discovered.

Fading in or out

You can cross fade between clips, but you can't fade in or out from black or white to start/end a video. So, just plop the phone on a flat surface and record 10-20 seconds of blackness, then you can fade to that clip and adjust the time in the timeline. If you don't want titles over the solid color, you can use a photo (don't forget to turn the light off either way), but if you want titles make sure you use video.

Splitting a clip

This I think is the most painful omission. You can't split a clip in the middle to drop in a closeup (for example). So the workflow I came up with is to drop in two copies of the clip, and shorten the end of the first one and the beginning of the second one, then drop you cut-in clip in-between them. If timing is important, you'll have to play with it a bit. It helps to zoom out as much as you can (pinching in the timeline) so you can see the full length of both clips for a better approximation. Use the duration in seconds shown in the video window if you need it really exact.

Shortening titles

Each clip either has titles on/off. So if you're first shot is kind of long, you might not want the titles over the whole thing. Like the splitting tip, grab another copy, add it to the timeline, and shorten it to as long as you want titles on, then shorten the other clip's beginning by the same amount. Delete the transition and you can then just add titles to the first clip.

Hope that's useful for someone.


]]>
Geeky Indulgences rmeyer 2010-06-28T12:04:53-08:00
Can't burn DVD's with a MacBook Pro? http://www.evilrob.org/journal/archives/2010/01/20/cant-burn-dvds.html I was trying to burn an ISO disk image through Disk Utility last night on my MacBook Pro (where burning previously worked flawlessly). At first I thought it might have been related to the recent drive firmware that came in an update and that I was going to be in for a real fight to get it to work.

The error message was very simple, and didn't have any real useful details, but Disk Utility keeps a burning log at ~/Library/Logs/DiscRecordling.log and it said this:

Disk Utility: Burn started, Wed Jan 20 01:00:58 2010
Disk Utility: Burning to DVD+R (RITEK F16) media with DAO strategy in MATSHITA DVD-R   UJ-868 KB19 via ATAPI.
Disk Utility: Requested burn speed was 47x, actual burn speed is 8x.
Disk Utility: Burn failed, Wed Jan 20 01:01:17 2010
Disk Utility: Burn sense: 3/73/03 Medium Error, Power calibration area error
Disk Utility: Burn error: 0x8002006D The disc can't be burned; it might be incompatible with this disc drive. Please try a different brand of disc, or try burning at a slower speed. 

Some googling got me to the Apple support forums, with a whole bunch of suggestions, many of which sounded like superstition (SMC reset, fix permissions, etc.). I went with the simple one.

Blow some compressed air into the drive.

The thing worked flawlessly after that. Try that first. :-)

]]>
Geeky Indulgences rmeyer 2010-01-20T07:16:46-08:00
Installing an iPod/iPhone interface into a Honda Accord with Navigation http://www.evilrob.org/journal/archives/2010/01/17/installing-an-iphone-into-honda-accord-with-navigation.html So I've been using some form of FM Transmitter/radio adapter in the car to play my iPhone through the stereo. I finally found some stations that work around here in my area (Sacramento, 97.5 and 95.7 work just about everywhere, fairly well), but the cable picked up a short in it, so channels would keep cutting out and it would turn off spontaneously. Rather than buy another and continue to suffer through, I figured I'd wire things up more permanently.

I bought a DICE r4-5v integration unit. Seemed like that was supposed to somehow be able to work, even if meant losing XM (which I could live with). It also seemed like it would work with my iPhone, since that's what I usually use it with.

First off, usual disclaimers apply. I have no idea what I'm doing around cars, so your mileage may vary. Whatever happens is not my fault. Break your trim pieces off? Not my fault. Break some wires? Not my fault. Battery explodes? Not my fault. See the pattern?

One major warning, I would definitely disconnect the negative battery terminal. According to the official Honda service manual, there are airbag components in this area of the dash, which are usually not to be messed with when power is applied. You'll need your radio codes. Yes, codes. One for the nav, one for the radio. I'll get to that later...

There are already several great tutorials on the internet about how to get the console apart and install an iPod adapter. I used them extensively and many thanks to their authors. The only problem is, I have Navigation in my Accord. Which, as it turns out, once you've got the whole console apart, you can't reach any of the connectors. Piecing things together from the internet, I realized you have to go through the top to get at them.

Halfway through of course.

You can actually buy 3 day access to the service manuals from Honda for only $10, so I did that to help me out.

Removing the radio and navigation unit from a Honda Accord

So this picks up after right after you remove the box from under the radio. Here's what I saw:

View from under the radio

Uh Oh. No easily accessible connectors. So the vent panel on top needs to come off, then you can undo some screws to pull the audio/nav unit out, and access the connectors. Don't panic, because it turns out none of these things need to come out too far. But I could not for the life of me find a walkthrough on the internet, so here we go.

First, push in the hazard button; there's a little slot under there. Put a small flathead screwdriver in there to push a clip. You can kind of feel it release. Once it does, give it a gentle pry forward to pop it loose a bit.

Push in hazard button and insert screw driver to release clip

Now you need to release two clips on the sides of the vents. There are little holes/slots on the outside bottom of each vent. There's a special honda tool to do both sides at the same time, but I find that it was doable one side at a time. Just wrap a flathead screwdriver in some tape to keep it from scratching the surface; insert it into the slot and push, while prying forward a bit. At the same time, keep a screwdriver in the slot in the hazard button. Not sure if that's strictly necessary, but that's kind of what the manual said. Then do the other side.

Insert a screwdriver into the slot and pry forward to release clips

After doing both sides, you should be able to pop the whole vent up a bit from the car. You can grab it from there and pull towards you. The clips in the back release fairly easily. There are up to three wired connectors to the various buttons and display units; I didn't disconnect them, there was enough slack to just lift it and set it aside. You just need to be able to get to the screws that should now be exposed, and get it enough out of the way to see once the radio is out.

Three screws to be removed

Then there's the two bolts on the bottom of the radio...

That's all the screws. Now we have the most annoying part by far. The manual just says "remove the audio unit" at this point. This starts to feel easy enough; the top of it rotates kinda easily forward, and you can feel give if you push from the back of the radio.

Pulling the radio forward

But, the bottom definitely feels stuck. Those are the three clips (the picture of their location was taken after reassembly):

Location of three clips

They are behind the plastic facade. Basically there's a plastic bar that goes all the way across the opening, towards the bottom of the audio unit. That part is supposed to stay, and the audio unit clips into it. This was a pain, because the plastic bar flexes as you apply enough to remove the clips, which feels really weird and wrong. You can work your fingers in between the facade and the bar to help pry the clip open more directly, rather than just yanking on the whole unit. This is what finally worked for me. The sides were easier to get than the middle one. Here's a blurry-cam close up of the bugger that made it such a pain:

Totally annoying clip

Now you can just pull the whole audio/navigation unit forward pretty easily, just far enough to expose the connectors:

Connector exposed!

Now it proceeds basically like other tutorials. The only differences is room. Not a lot of cable to work with. You may want to unwrap some of the black plastic on the existing XM connector so you can better place the Y-cable. I didn't bother, I just kind of let it hang, but that cuts into some of the room needed for the door on the compartment to open. So my door doesn't open quite all the way. I don't think I care, YMMV.

Connector placement

At this point I restored battery power to make sure we were all good to go. Here I discovered a slight problem. I had checked before I started to see that I had the radio code, it was on a card in the meticulously kept records that my parents kept. But that was the radio code. There are two codes. One for nav, one for the radio. The nav code was nowhere to be found. To recover it from the website you need the following:

  • VIN
  • Phone number and zip code of original purchaser
  • Serial number of nav and serial number of radio

What fun. The radio serial number is on the bottom, or can be retrieved through the radio while it's on, and the nav serial number is on the DVD-ROM unit in the trunk. Once I had the codes, everything worked. Except the XM preview channel was playing through the audio over the iPod. No surprise really, since the iPod interface manual said that you had to disconnect XM. It recommended doing it in the trunk, and that seemed easier to get to if I ever changed my mind, so I went ahead and did it there.

Disconnecting XM in the trunk

First pop off the plastic trunk protector on the back. I got it started with a small, wide pry bar, and then used my fingers. Then unscrew the grocery hook if you have one on the RIGHT side of the trunk. You then have some annoying little black plastic connectors to deal with. If you try to pry them directly without the magic honda tool, they break (which is not the end of the world, I'm sure you can get more). So I found it best to work my hands under the liner close to the connector and push up on the liner.

Trunk liner connector locations

Now you can see the XM Receiver hopefully. Just unplug the two connectors and put it all back together.

XM Receiver connectors for unplugging

That was basically it. I'll post a follow-up with how the whole thing works. I left a lot of cable out in the car, since I use an iPhone, and so often need to be able to use the phone, so a short little stubby cable wouldn't work very well. Again, your mileage may vary, but I assume this works with 2003, 2004, 2005, or 2006 Accords at least. Good luck!

]]>
Geeky Indulgences rmeyer 2010-01-17T09:32:37-08:00
Flash must die http://www.evilrob.org/journal/archives/2010/01/05/flash-must-die.html Wow. Hard to describe my feelings on this video showing flash player on the new Google Nexus One phone.

So this is supposed to be the fastest burliest phone around. Yet our flash mobile player, in a controller demo:

1. has a terrible frame rate on the demo game (especially notice when there are two animated things on the screen at the same time)
2. Kills the scrolling performance of each web page they show it on.
3. Makes the the scrolling sort of flash in and out parts of the page
4. And, if the guys' battery life is any indicator, kills the battery (okay, cheap shot, maybe he just hadn't plugged it in in a while).

But best of all, aside from the bevy of technical flaws, the guy doesn't seem to notice. Shouldn't he be falling all over himself apologizing for the poor performance?

Finally, almost 1/2 the video is actually pimping flash ads. How out of touch do you have to be to think that users want to see flash ads that kill performance on their mobile device? I block flash on the desktop because it's too annoying for words, and they want it on my phone?

Please, Apple, never implement flash on the iPhone. Ever. I beg of you.

Please websites (looking at you car manufacturers and restaurants), stop making your sites in 100% flash and make them accessible to mobile users.

]]>
Geeky Indulgences rmeyer 2010-01-05T22:47:20-08:00
National Novel Writing Month 2009 - Winner. http://www.evilrob.org/journal/archives/2009/11/30/national-novel.html

50,062 words. 29 days.

]]>
Personal rmeyer 2009-11-30T00:16:45-08:00
Pain. http://www.evilrob.org/journal/archives/2009/11/19/pain.html Okay, by now we've all seen Microsoft employees breaking into the electric slide. And suffered. What really blows me away though, and what I just noticed, is the video description. "The blackeyed Peas compel the employees..."

Do we really think for a second it was the Blackeyed Peas that compelled them and not the person who controls their paychecks?

]]>
rmeyer 2009-11-19T16:40:15-08:00
If only it were true. http://www.evilrob.org/journal/archives/2009/11/07/if-only-it-were.html The response to American Airline's firing for a designer who communicated about their design process to an outsider prompted this response: So Serious | Creating Controversy for its own Sake (and How Humility is a Rare Bird Indeed These Days)

The choice quote is this:

They’re not clueless, they're heartless-they exist to make as much money for their shareholders as possible

If that were true, the enterprise would be in much better shape. It's not that employees don't want to make money for the shareholders, it's just that often that is not the goal most immediate in their head

More prominent motivations:


  • How will this advance my career?
  • How much work will this be for me?
  • Could I lose my job for this?
  • Has this been done before?
  • Will my boss like it?
  • Will it result in a bigger bonus?
  • Will my department get bigger?
  • Will the customer experience be better?
  • Will it be fun?

Real enterprise leaders, as rare as they are, align those goals and still manage to make things happen.

]]>
rmeyer 2009-11-07T08:31:56-08:00
The Minks: Totally awesome all girl kinks cover band. http://www.evilrob.org/journal/archives/2009/10/25/the-minks-total.html After the Mika show last night, went across the street to the uptown bar and saw The Minks, an all Girl Kinks cover band. They seriously know how to rock.

The Minks

]]>
Personal rmeyer 2009-10-25T08:53:50-08:00
App Store = Near Perfect Capitalist Marketplace http://www.evilrob.org/journal/archives/2009/10/17/app-store-near.html Gizmodo asks if iPhone apps are headed towards oblivion arguing about the app store effect that is driving prices down to unsustainable levels and will spill out onto other platforms as well because "Customers expect to see functionally identical apps priced the same way across platforms, because to us, that's what makes sense".

There's just classic economy of scale working here. Even if there was no app store, I think iPhone platformed software would still be cheaper. Developers are welcome to bemoan "man I wish I could charge $20 for my app instead of $2", but my hunch since their sales numbers would look like the sales numbers for blackberry apps then. Thousands of sales, not millions. That quite clearly means to make the same amount of money, prices need to be higher. The high volume of app purchasers on the iPhone platform means lower prices.

Consumers are familiar with this. Microsoft Windows is maybe the largest, most complicated program ever. Yet it's only $100-200, because the market is so large. Photoshop is $700, because it has to be to allow Adobe to survive. The narrower the market, the higher the costs. If even consumers don't consciously remember this from 12th grade economics, they do understand it on some level.

The app store is brutally capitalist. There's near perfect information (search, reviews available, there are no discounts, and there is no other outlet) so consumers are able to vote with their wallets very effectively. Other platforms where you can sell directly to consumers, you can exploit the lack of information to inflate your price.

Notice I'm not talking about penetration of the platforms themselves. Obviously the numbers of installed users are large, but we're talking about the app-purchasing market. Apple has created a platform where apps are more obviously and prominently available to the consumer, and therefore they buy more. Until other platforms match this, Apple will have the advantage in market potential for apps to offer to developers.

If the complaint is that this is unsustainable, then companies offering apps at unsustainable price points will start to fail. This will either force them to raise prices, or close up shop, which will lift prices for that category. I don't believe in capitalism as the perfect model for everything, but it's really, really good at setting reference market prices at sustainable levels.

Apple isn't setting a race to the bottom, consumers are. As long as developers continue to provide quality software at a $1-5 price point, low prices are here to stay. If no one can stay in business at those prices, a higher price point will emerge.

]]>
iPhone rmeyer 2009-10-17T08:38:37-08:00
How you can tell a real engineer from a poser. http://www.evilrob.org/journal/archives/2009/06/30/how-you-can-tel.html So the engineers at Parc like Bob Metcalfe maybe invented ethernet and conceptualized wireless ethernet 35 years ago, but you how you can tell they are real engineers.

Close up of first ethernet cable with dynamo label

They use a dynamo label maker.

]]>
Geeky Indulgences rmeyer 2009-06-30T17:04:59-08:00
The real reason copy and paste is so cool http://www.evilrob.org/journal/archives/2009/06/19/the-real-reason-1.html Glyphboard is exactly why cut and paste on the iPhone is really cool. It's a way for apps to share information, no longer are they completely sandboxed off. Look for more really cool apps.

Bonus points for this one being an HTML5 web app.

]]>
iPhone rmeyer 2009-06-19T08:37:27-08:00
Samsung Blu-Ray Experience: BD-p1600 vs. BD-p3600 http://www.evilrob.org/journal/archives/2009/06/15/samsung-bluray.html So I took my first foray into Blu-Ray a few weeks ago with the Samsung BD-p1600. It crashed/locked up/needed a hard reset every time I tried to stream Pandora. It had problems playing 4 of the discs I tried. Deja-Vu broke up and crashed the player 5 minutes in (then it wouldn't eject the disc). Pirates of the Carribean locked up 1 hour in. Mad Men Season 1, Disc 1 and some other disc that I don't remember now just spit it back out and said "This disc could not be played" 2-3 times until it finally played them fine.

I tried taking it back, and the 2nd one had all the same symptoms. Since Amazon had their special on the p3600, I went ahead and ordered that one.

So far it hasn't failed to play a single disc, Pandora streaming works fine, and it's faster to boot. Whereas with the p1600 I had no confidence in it's ability to play a movie, I'm feeling pretty good about this one. Based on the internet it doesn't seem like my p1600 experiences are typical, but I don't know what I could be doing wrong when it comes to just dropping a disc in the tray.

Any rate, here's a vote for the 3600 over the 1600 any day.

]]>
General Technology and Gadgets rmeyer 2009-06-15T23:52:10-08:00
Formatting XML with Emacs http://www.evilrob.org/journal/archives/2009/06/15/formatting-xml.html I always forget this, so here it is so I'll remember. For some reason search engines don't seem to return good results here.

If you've got an ugly, un-tabbed, unformatted blob of xml, just paste it into emacs and do:

M-x xml-mode
M-x sgml-pretty-print

And will be nicely indented. Presumably this requires a modernish Emacs.

]]>
Software Development rmeyer 2009-06-15T13:45:15-08:00
Great placement, dumb ad. http://www.evilrob.org/journal/archives/2009/06/07/great-placement.html Great place for an ad, too bad it's not very good. How exactly does loading from iTunes on my Sansa cure iPhone envy (if you have it)? The cure for iPhone envy I'd think would be a similar but better phone, not a piece of software....


]]>
rmeyer 2009-06-07T14:25:39-08:00
Blu-Ray really is a giant bag of hurt. http://www.evilrob.org/journal/archives/2009/05/22/bluray-really-i.html So since I'm cancelling all cable and switching to netflix, I'd figured I'd go Blu-Ray for movies. After all, they've had a few years to work it all out right? Got a Samsung BD-1600.

First experience, everything looks great, movie is play. 5 minutes in, massive artifacting, skips, pauses. So I stop the thing and eject the (rental) disc. It's got a tiny smudge, weak that it's that sensitive, but okay. I polish to a nice clean surface, seemingly completely pristine, put disc back in. Movie plays, but no audio. Turn off stereo and player. Turn stereo back on and player back on. Player hangs and just says "LOAD" for 5 minutes. Unplug, plug back in. Same thing. LOAD. Press eject. Disc doesn't eject. Press "Skip" for 5 seconds to "restore to factory settings". Nothing happens. Oh, you have to have no disc in there to do that.

Except the disc won't eject. No matter what I try. It just says LOAD.

So the most modern, supposedly compatible player can't even play a disc without crashing and totally shitting the bed?

]]>
General Technology and Gadgets rmeyer 2009-05-22T21:59:04-08:00