Wednesday, July 16, 2008

Physics hurts: the iPhone battery life and how to work around it

Physics is a pain sometimes. Jobs told us 3G was going to suck way more power than EDGE, but some were skeptical (I recall I was inclined to believe him).
AppleInsider | Apple's iPhone 3G battery good for about 3.5 hours of browsing

...While Anandtech's chart shows the Apple handset to last about 30 minutes more than Samsung's 3G Blackjack, the unsettling comparison exists between the iPhone 3G running on AT&T's 3G network and the original iPhone running on AT&T's EDGE network. In the site's tests, the original iPhone lasted 2 hours and 26 minutes longer while browsing over EDGE than the new iPhone did browsing over 3G...
I've found that the battery life on my low end 3G Nokia phone is similarly quite poor, even though that phone has no data services at all. 3G is bad on batteries even when the traffic is voice only; of course 802.11 is far worse.

We know the iPhone will function on EDGE networks if 3G is not available, I wonder if Apple and AT&T will provide an option to use EDGE when power is at a premium. (See comments -- in fact this is available now. So why do only my readers know to mention this?)

Meanwhile, a solid Tidbits review recommends the APC UPB10 Mobile Power Pack USB Battery Extender. These are $63 on Amazon; however there are newish airline regulations about carrying external LiOn batteries. The terminals must be covered and it has to go through security in a bin.

These regs are enough of a pain to make the $10 APC external USB AA battery charger very appealing; I would want to test in a store that it really charged an iPhone however.

At work it's easy to charge a phone from a USB source, on the road it's easy to carry a USB car charger. One does have to learn to treat a power supply the way long distance cyclists treat a shower -- get it while you can.

Update: disabling push email helps tooArs has a in-depth review of accessory battery packs.

Update 7/23/08: More tips, including holding down home key to shut off background tasks.

Tuesday, July 15, 2008

How to wrap earbuds so they don't tangle

Life Hacks explains how to keep headphone wires from getting tangled (2/2006)

The attached image is missing, but the technique is simple. I just tried it and I like the results. The comments reference various organizing techniques for larger cables and ropes.

iPhone 2.0 development: it must have been a death march

iPhone 1.0 development must have been insane, but I'm guessing iPhone 2.0 development was a classic death march.

We can gather that from the things that were left out:
  • cut, copy, paste: Apple has now admitted they wanted to put this in, so the omission must have been a desperate decision
  • tasks: If they couldn't add tasks, then they were beyond cutting features and deep into slashing organs (emphasis mine):
More hints from early users:
Entirely Random Notes On iPhone 2.0 - Inside iPhone Blog

... There appear to be crashing bugs with both many third party applications themselves, as well as the OS itself. Prior to updating to 2.0, I can't recall the last time my iPhone reset. I've seen it a half dozen times already so far, however.

Searching in Contacts is nice. However, I find I still generally just scroll for the contact, and the search doesn't look inside each contact, just at the name...
Search only looks at contact names.

It must have been really, really, ugly in Cupertino over the past few months.

I'm definitely feeling sympathy for the iPhone development team. They must be toast. It's going to take more than a few months to get things patched up. Corporate customers are going to want to hold off on significant deployments until next year.

Update: More death march evidence

iPhone availability widget

Minnesota is among the 21 states with no current iPhone availability.

What a nuisance.

Apple has a widget that works only after 9pm (local time?) to check local Apple Store stocks:
Apple Retail Store - iPhone availability at the Apple Store

Check availability after 9:00 p.m. the night before you plan to visit an Apple Retail Store.

Get there early. Shipments arrive most days, but be sure to arrive early since iPhone 3G is sold on a first come, first served basis.

I'd prefer to buy at an AT&T store due to the tactical complexity of AT&T's deliberately evil contracts, but I suspect Apple stores are getting more shipments. AT&T is not offering a similar availability widget, they suggest payment up front and they'll hold a phone when it arrives. Fortune reports they have no phones anywhere, and no word on when they'll receive any.

I'd pay to reserve at an AT&T except I know AT&T is so Satanic that Hell itself could not abide them. (Apple, on the other hand, is merely a close confidante of Beelzebub. AT&T store staff, in my experience, are quite good btw.)

Update 7/15/08 9pm: no iPhones available in Minnesota. Ok, 1 8GB white.
Update 7/16/0810pm: none at all

Monday, July 14, 2008

Epocrates Rx is out for the iPhone (and iTouch)


Epocrates Rx is available for the iPhone.

Not the web version -- the true iPhone client.

Free medical PDA software: Epocrates Rx for iPhone / iPod touch:
  • Apple iPhone/iPod touch with OS 2.0
  • Minimum available memory 8 MB
  • 20K per free health plan formulary selected
This is only for healthcare professionals -- Epocrates makes its money based on prescriber licensees.

It's a big deal for physicians, my wife couldn't switch from her Palm to her Blackberry Pearl until Epocrates was available for the Pearl. My friend Andrew keeps his Palm for the same reason.

The iPhone is going to be really big in healthcare; this is one important landmark. As soon as the line dies down and I can get my phone, I'll give it a try. It's distributed by the Apple Store (free), but you need an Epocrates account to use it.

Find unchecked songs in iTunes -- still need this workaround

Three years after this clever hint was written, there's still no other way to find all unchecked items in iTunes. You can't directly sort or filter on checked status.

This becomes important when your Library outgrows your iPod. Movies can do that to any iPod. (Note that the tip works up to 99,999 items and you need to first define all checked to find all unchecked.)
macosxhints.com - Use a Smart Playlist to see unchecked songs in iTunes

Part 1: Create a playlist with all checked songs in your library:

1. Create a new Smart Playlist in iTunes.
2. Uncheck "Match the following condition" in the new playlist dialog. This will cause all songs to be in the playlist.
3. Check the box by "Limit to" and fill it out with a very large number -- one that is much larger than the number of songs in your library (say, 300,000). Again, this will cause the playlist to include ALL songs.
4. Check "Match only Checked Songs" and leave "Live Updating" checked. This will only match songs that are checked.
5. Click OK and name the Playlist "Songs (Checked)".

This playlist now includes all the checked songs in your library.

Part 2: Create a playlist with all the unchecked songs in your library:

1. Create a new Smart Playlist in iTunes.
2. This time, leave "Match the following condition" checked.
3. As the condition, select "Playlist is not 'Songs (Checked)'"
4. Click OK and name the Playlist "Songs (Unchecked)".
Apple, please make the checkbox state a full fledged column/attribute.

PS. This tip surprisingly hard to find in Google. I first went through several forum posts that had no answers. Maybe this post will help. Comments also include an AppleScript alternative and some interesting workarounds to iPod management.

The problem with tabbed browsing ...

I'm used to applications containing related windows.

So at work Word has documents, Excel has spreadsheets, Outlook has email, Explorer has files, etc.

So I tab between apps, then navigate tabs within apps.

This breaks down in the world of tabbed browsers. Do I tab between browser windows, or click within a window between tabs? How do I mix browser tabs with applications outside the browser? How do I organize windows into OS X Space?

It doesn't help that even FF 3 hasn't learned from the OmniWeb example of hierarchical views of windows and tabs, allowing reorganization at least within a browser space.

I need a better conceptual model for organizing like this -- views of documents, views of spreadsheets, etc. The tabbed browser approach was a good start, but it's only a start.

There's nothing new here of course, but it really is time to think differently. I'm inclined now to think that we need to get rid of tabs and certainly, absolutely, get rid of the "application owns the window" model.

Just give me windows. Then let me use OS X spaces, and the ability to navigate and reorganize the windows within spaces. In any app I need to be able to see all windows owned by the app, to expedite finding and organizing what I'm interested in.

Moving Outlook/Palm contacts to the iPhone via MobileMe

iTunes reads in Outlook data (which can sync with a Palm PDA), then sends it to MobileMe. No mention is made of calendar, notes or task synchronization. iTunes by itself has some capability to browse calendar data, but I’ve never tested that.

TUAW Review: MobileMe - The Unofficial Apple Weblog (TUAW)

…Windows and MobileMe: Windows and MobileMe play surprisingly nicely together. MobileMe comes pre-packaged with iTunes 7.7 for Windows, and lives as a Control Panel item. You can then choose to sync contacts, email, and bookmarks. For bookmarks, you can choose which browser to sync with, and MobileMe works with Safari (of course), Firefox, and Internet Explorer 7. IE7, though, doesn't work a hundred percent with the web apps, so Apple recommends you use Safari or Firefox instead. For more information about how to connect your Windows computer to MobileMe, you can visit Apple's MobileMe support page.

I couldn’t find anything more on the MobileMe support page. I’ll update this post if I find more details in Apple’s kb or support. I’ve yet to purchase MobileMe – waiting until it’s been stabilized.

Sunday, July 13, 2008

The best feature in Safari 3.1: drag and drop urls

There are a few features of Internet Explorer I really like.

Save as archive for example, which creates a MIME formatted version of a web page in a single .mht file.

Most of all though, I like the drag and drop URLs. Click on a title bar URL, drag it to an edit field, and IE creates a link using the title of the source page.

Every other browser, as best I can recall, simply displays the URL. (I just verified that Firefox 3 just copies the URL.)

Today, on a whim, I tried the drag and drop operation into a Blogger "compose" box. Here's an example of what I got: Gordon's Tech: iTunes library: recreate, move and more.

So Safari has adopted IE's behavior.

Did it always do that? When did this change?

Great improvement. Now if Firefox could only learn this trick ...

iTunes library: recreate, move and more

I've moved my iTunes Library a few times. As far as I can recall, whatever I did worked. I've even moved it from Mac to PC and back again.

Here are the official ways to move and, if necessary, regenerate your iTunes Library:
Here are the unofficial ways I've done things like this in years past. I recommend the official route, but if you get stuck these resources might provide ideas:
If you want to do more with your iTunes Library, consider PowerTunes. I've no personal experience, but I've used iPhoto Library Manager from the same author.

So, lots of options. Which brings me to the inspiration for this post - a completely confused article on Mac OS X Hints. How can it be that genuine OS X geeks don't know to search Apple's knowledge base?

To be fair, I tried a Google search on the topic and the results were pretty bad. Then I tried iTunes Help, and that was useless. Searching Apple's knowledge base worked though. This should really be in Apple's Help file, so I'll give my fellow geeks a bit of slack.

Maybe this post will help Google do a bit better ...

Update 8/16/08: I tried again today, and now Google's search works just fine. Coincidence, I'm sure.

New Blogger bug with attaching labels

There's a brand new Blogger bug with labels.

The drop down for attaching new labels to existing posts shows"Publish" where it should show "create new tag".



The Publish really publishes -- I unwittingly published some old draft posts.

I'm seeing this on only one of my blogs, it was fine on another.

The workaround is to first add the label to one post by editing the post, then apply it to the selected group.

Evernote's import/export test (updated)

[see update - as of Sept 2008 Evernote has reformed]

Palm to iPhone migration is hard. In particular, what do we do with Tasks and Notes?

On the Task side we're waiting to see if either Apple decides to support Tasks (I guess their engineers are too young to have complicated lives), Google adds Tasks and iPhone sync, or OmniFocus supports import/export.

On the Notes side I took a look today at Evernote. Evernote follows the new model of web service, desktop app, phone support, and synchronization.

That's a tough development challenge, but it comes with a great business benefit. If customers don't keep paying, they lose access to their data.

I'm cautiously supportive of this model -- it means good developers can get predictable income without having to constantly obsolete existing software. On the other hand, there's a terribly powerful temptation to never quite build export capabilities. This produces Data Lock (see also: Data Lock search), an outcome that has sustained many a software empire. (To it's credit Google has been recently resistant, but maybe being ad supported and wealthy makes virtue easier ...)

The software as service solution means users need to examine and test export capabilities before they sign up with a service, and to retest regularly as the service evolves. If export starts to fail, bail.

So how does Evernote do?

I created a free account and downloaded the OS X desktop app to find out.

Sure enough, there's no import/export for OS X users. So that's a total fail.

Support has more information ...
Questions and Answers | Evernote Corporation

... Yes, you can import notes into Evernote for Windows in Evernote 2.x database (.enb), Evernote 2.x XML (.enx), and (in a future release) Evernote XML (.enx3) formats using the Note Import menu in Evernote Beta for Windows. There is also a Note Import Wizard menu for importing selected image, text, and HTML files. To get imported databases onto a Mac, first import the database into Evernote Beta for Windows, synchronize with the service, and then synchronize the Mac client with the service...

...you can export one or more notes from a notebook as an HTML formatted document from within Evernote for Windows using the Note > Export... menu. You can also export via e-mail using the Note > Send by Email... menu. This feature may be added to the Mac version in a future release....
That's a total fail, even on the better supported Windows platform. The minimum requirement would be a tab delimited export (this would require some data loss since Evernote attaches binary data) and a comprehensive XML export from the Evernote database.

So Evernote is not an option for my Palm to iPhone conversion, and I'd say it's not an option for anyone on any platform until they demonstrate Data Freedom.

Update: Phil Libin, CEO of Evernote, responds in comments. Quote:
Data Freedom is vital to our plans. We're serious about Evernote as an "external brain" and that means users have to have confidence that their memories will always be accessible. Part of that accessibility is making sure that users can import/export Evernote data in standard formats with no restrictions. Our current limitations on import/export capabilities are due to developer resource constraints, not any philosophical or business reasons; we can't afford to do import/export poorly because that could muck with your data and flood our support lines. Doing it well takes time.

We're currently testing a full set of Evernote APIs that will give people a lot of options for getting data in and out. We'll roll these out publicly later in the summer. We'll also be expanding the structured import/export capabilities on the local clients, though I don't have a specific date on that yet. We're doing this because data freedom is good for more than just peace of mind - it'll let us build lots of great functionality that we couldn't accomplish with a "walled garden" approach.

I'm glad you like Evernote enough to try it and I hope you take a look at our import/export capabilities once we launch them.

--
Phil Libin
Ok, I'm impressed. I revised the title of my post to "fails ... for now".

If Evernote really does deliver on their Data Freedom promises, I'll be a happy paying customer.

Update 7/27/08: I'm warming to Evernote as I make my painful adjustment to the iPhone. In fact, I expect to become a paying customer it it continues to work as well as it has today.

Evernote appears on initial iPhone tests to have significant value as a transient repository. I send things there I'll process later, including voice notes that may turn into tasks, notes, etc. Thing's I'd have once scrawled on my Palm screen as "ink" work better as Evernote sound fragments with optional metadata.

As a transient repository data lock is not an issue, and if Phil is able to deliver on his data freedom promises it will have more value. The key for me is that it has real value now.

Update 8/17/08: I find this post from 2005:

Laura
Mar 14, 2005 at 12:09 pm

I, too, was waiting eagerly for the web clipping function to be enabled for Firefox. Wait no longer ..

..Now, I’m waiting (im)patiently for some kind of export feature! Evernote obviously is a database, so I’m thinking an export to a comma-delimited file, or a spreadsheet would be nice.

That was three years ago. Phil Libin has no credibility when he talks about data freedom.

Update 10/3/08: Evernote has reformed, and Phil Libin has credibility again. They have an API and XML import/export. It's not the simple tab delimited format anyone can use, but that format is a poor match for Evernote's data complexity. Full credit for turning the corner!

Update 12/27/09: I took a look at Evernote again. The OS X manual still doesn't reference any import tool other than using Evernote's own XML format.

Saturday, July 12, 2008

Apple can't do synchronization - again

In 20 years before the mast I've seen synchronization work effectively in one configuration -- the original Palm and Palm Desktop.

Beyond that, it's been a thrash. I've done thousands of synchronizations, and I count myself fortunate to run into problems only once monthly or so. I know a bit about translation between diverse data models, so I'm a bit sympathetic.

Synchronization is hard. The original Palm team had more than one genius, though they must have left in later years.

Apple doesn't have the knack. They're quite bad at sync ...
TidBITS Macs & Mac OS X: MobileMe Fails to Launch Well, But Finally Launches

... .Mac synchronization has been the bane of my life for years, with it working erratically, duplicating entries, and working magically without intervention for periods of time. During the MobileMe transition, my laptop Address Book locked up, and despite all efforts won't synchronize at all even when it says it has. (I've deleted its data store, reset the sync, and repaired disk permissions.)

My office desktop Mac restored hundreds of deleted entries, many duplicated, which must have been cached at .Mac, even though they were removed. I went through and reculled my contacts. My iPhone, which is now set and apparently working with live sync, appears to have an out-of-date set of contact entries from after the duplicates were added back in and before I culled...
The worst of the hard problems in software development is one that executives think is easy to solve -- because they don't know they don't know. These problems tend to get funded with about 1/10 of the necessary resources.

I think that's what Apple has done with synchronization. Underfunded development by an order of magnitude ...

MobileMe trials require a credit card

I thought I'd take a look, but I'm not ready to provide a credit card ...
MobileMe Signup

....A credit card is required to start your free trial. After your trial ends, your card will be charged an annual subscription fee of $99.00. Don't worry, you can cancel your subscription online at any time during the trial...
Too big a chance I'd forget and be enrolled with whatever test ID I use.

One acceptable reason for this policy would be to reduce spammer abuse.

Using Blogger: Camino in place of Firefox 3

Things were going too well with Blogger. It had been months since a real disaster. Heck, I was even using Blogger in Draft (draft.blogger.com)!

Then, after installing Firefox 3, the wellness resolved ...
Gordon's Tech: Blogger a mess with Firefox 3

... Every other post I've written over the past 3-5 days has had problems with lost line breaks. All my text runs together. It's as though Blogger had broken their age-old management of paragraph breaks. I've tried Safari 3, Firefox 3, ScribeFire, XP, OSX, Blogger-standard and Blogger-in-Draft...
I'm not sure what's going wrong, but on various posts Blogger will abruptly treat the text as though it were true HTML -- instead of treating paragraph breaks as though they included a paragraph tag.

I think the trick is having edited it at one point with Firefox 3 and the Blogger in Draft editor. I think there's some style sheet persistence that's not exposed to the HTML editor. Subsequent editing with FF 3, even when Blogger in Draft is disabled, can trigger the problem.

Once a post gets into this mode, there's no escaping it -- turning off Blogger in Draft or using the HTML editor doesn't fix things.

I've found I can fix the post using either the superb Windows Live Writer (XP only) or Safari 3.

I've disabled the beta/draft version of blogger and returned to regular Blogger. On XP I can avoid this by simply using WLW. On OS X though I don't want to revert to FF 2. Safari 3 doesn't work very well with regular Blogger. So how can I get FF 2 type behavior on OS X?

Easy, use Camino. Works great.

I'll take another look at things in a couple of weeks, but until then I'll stay with Camino for my OS X blogging.