Thursday, August 09, 2012

Using an MacBook as a car server for multi-device home sharing doesn't quite work

Home Sharing is cooler than i'd realized. Since all our family devices use one Apple Store ID [2], and all media in the home was purchased with that Apple ID [1], each of the kids can stream anything on the family Library to any of their iOS devices. So in Videos we all can see ...

Since I've been envious Charles Stross' AirStash I wondered if I could move the movies to my Air, set it up for Home Sharing, then create a computer-to-computer network for use in the car.

It almost works. I can create the network (128 bit WEP at best on my Air, I used no security) and if I force the phone into Airplane mode/wireless enabled I can connect to the media library. Connect, that is, after a long pause where I suspect something times out. After connecting I can't see anything.

Given the long time out I suspect the phone wouldn't connect because it couldn't authenticate.

So it almost works.

[1] Is this legal? I think so. Is it what media owners want? Of course not. They the five of us to have five Apple IDs, and buy "Captain America" five times -- stored only in the cloud and streamed on demand. Happily for them, very few households have managed the trick of a unified device and media library.
[2] I personally have four. How many do you have? Did you realize you can't get rid of any? That your purchases and hardware registration and email may be scattered among them and even hop around? That your Apple ID is a huge security risk? That Cook needs to demote a direct report?  

Wednesday, August 01, 2012

Nexus 7 - first impressions

I bought an 8GB Nexus 7 (Asus) primarily as an eBook reader. I didn't want a Kindle because I really don't want to be locked into Amazon's DRM, and the iPad 8" is still 3 months away.

Ok, so maybe the iPad Mini is only 8 weeks away. I admit, it's not a logical purchase. It's at least a look into the Android world, and I'm sure I can find a new owner in a few months.

First impressions:

  • In packaging and in look and feel it's a poor man's iPad. Instead of Apple's compact power supply, it comes with a mini-brick.
  • It's not gorilla glass, just scratch resistant. There's no slip case in the packaging. (Given Google's negative margin on this, a slip case might bankrupt them.)
  • There's no proprietary connector of course, just a micro-USB cable. It's not obvious which way is up, Apple would have embossed the top side of the connector to make that obvious.
  • If you use two-factor authentication authentication/2-step verification things are bit kludgy.
  • If you have multiple google accounts you need to decide which one gets to be "dominant" (others are currently somewhat second class citizens). Shades of my AppleID problems. The device defaults to the Gmail account used to purchase it, which happens to be my two-factor account. I ended up going with that. That's the account that gets contacts and son on.
  • In addition to the $25 app store credit it included one non-public domain book (Bourne Dominion) and one movie (Transformers, dark of the moon). Neither to my tastes, but nice touch.
  • It includes NFC and "Android Beam"
  • There's supposed to be a dynamic range issue with the display. It's not obvious to me yet, but I haven't looked at photos. 
  • You can select wallpapers from your Picasa web albums. The bundled wallpapers are pretty blah.
  • I got an update shortly after launching. No problems.
  • It includes GPS.
  • I like the range of unlock options. I'm trying face unlock for the heck of it. Is slick.
  • It supports encryption, but it's a 1 hour optional process.
  • You can download offline voice recognition support (!)
  • Backup is to the cloud of course.
  • The gesture controls are different from iOS, but there are similarities. I like the calendar interaction.
  • Most things seem stuck in portrait mode.
  • Text entry and editing is less sophisticated than iOS. Also, it doesn't seem to remember that I've disabled acoustic feedback.
  • You can enter multiple Google accounts, each account with a credit card gets $25 on the store. I have 3 accounts of my own, but this means the device supports multiple users.
    • I'm not quite sure how account switching works. After I entered two Google accounts I can switch between them from Gmail, but not from Contacts. I think my Contacts list may be  sum of all accounts?
    • Overall account management seems to be at the app level, and it's incomplete or rocky.
  • There's a set of Google apps, like Gmail, then there's also a Mail app.
  • The UI is a bit puzzling, but I'm used to iOS/Windows/Mac. I can't say the UI is particularly bad, I'm too familiar with the alternatives.
  • I'm surprised there's no Google Drive or Google Docs apps on startup.
  • Messenger creates a G+ account whether you want to or not. I stopped halfway through. Although I never confirmed Picasa integration I think some albums were converted, the old URLs still work but generate a redirect warning. Google can be a rough companion.
  • It fits a 1 quart baggy.
  • There are no parental controls. Not a surprise.

This is a real computer, and Asus is supposed to supply a keyboard/case combination. It will be interesting how much a future version with LTE support will cost.

The Nexus 7 isn't the $125 Barbie B-Smart Netbook I predicted. For one thing it's $75 more, though it does include a battery. For another it's far better value for the dollar. 

So I guess we've made it back into the price range of the 1982 Commodore 64 (cheaper, adjusting for inflation). The price collapse in computing has arrived later than expected, but it's here.

I suspect Apple will come in at $250 for the iPad Mini, whereas a week ago I'd have said $200.

See also:

Saturday, July 28, 2012

Technology defeats the do not call list

I've been getting repeated calls from 459-121-8344. There are web reports on this number, it's supposedly a telemarketer scam.

AT&T will block this number -- for about $6 a month. I tried reporting it as a violation of the do-not-call registry but of course 459 isn't a real area code (it's spoofed). So it can't be reported.

Google Voice will block these numbers.

I suppose if the problem continues I'll have to port my mobile number to GV.

Update 7/31/2012:

I got several more calls, and I tried AT&T support (611). The representative estimates AT&T is getting about 20,000 complaints a week. So the pressure is building for them to provide a free version of the $5/month 'smart limits' call blocking service. He recommended one of those paper things with stamps on them sent to:

AT&T Customer Service
PO Box 246
Artesia, CA 90702

Be polite, do mention that you're on the do-not-call list (even though cell phones shouldn't need to be added, add your number anyway), and request that AT&T provide free call blocking similar to the smart limits service.

In the meantime I added 459-121-8344 to my Contacts list so I could give it a custom ringtone. Later I'll make a ringtone that's a simple soft beep so I don't even hear it.

Friday, July 27, 2012

An AppleScript to prevent the iCloud CRLF bug - normalize line endings

Yesterday I wrote perhaps the fifth AppleScript of my life, and I purged an iCloud paralyzing cloud of "Groups" created as a side-effect of iCloud's CRLF bug.

In the course of writing that brief AppleScript, I benefited from the extraordinary community built known as MacScripter. As I basked in my small victory against the uncaring forces of Appledom, I thought once again of fixing my Address Book's mixed CRLF/LF line terminations with AppleScript. I joined MacScripter and asked for advice.

In response,  Nigel Garvey wrote me a script. I suppose for him it was easier to write the solution than to try to explain it!

I ran it on my Snow Leopard primary address book (of course I made an archive backup). After a few seconds it returned "missing value". I've seen that when scripts complete, though it doesn't seem to be an ideal response.

In any case, I didn't see any evidence of windows style CRLF line terminators. When I exported test addresses as vCard they didn't show unexpected numbers of \n characters; though I continue to have some extra line feeds at the end of notes (but they seem to have LF terminations, not CRLF).

I took an exported archive and imported it into my Mountain Lion machine, then sent it to iCloud. I then viewed on my Lion machine. On all devices I see 1824 contacts and no duplicated notes. The only problem I came across were the extra LF at the end of notes, but they did not appear to be replicating. I think they are benign LF life feeds, not dangerous CRLF pairs.

I believe Mr Garvey's script worked. If you are one of the very few people who ever used MobilMe to sync Windows/Outlook and OS X/Address Book you should back up your Address Book, run this AppleScript, then confirm. Then consider migrating to the Cloud.

Thursday, July 26, 2012

iCloud group replication resolved by AppleScript

It's been a month since my disastrous MobileMe to iCloud migration. Over the course of a week I figured out a convoluted solution for iCloud's CRLF/LF end of line bug, but I was left with "metastatic group replication" in my primary iCloud account/quaternary AppleId [1]. Each of about five Address Book groups had been replicated about 50-100 times (only one of the replicants has associated contacts).
 
The Groups were in iCloud - not Address Book. So even deleting my Address Book Library files didn't remove them. Bento couldn't see them. Mountain Lion didn't help. The only option appeared to be tedious manual deletion. My iCloud account was poisoned.
 
Today I figured out a solution. I had to learn a bit of AppleScript [2] but I'll recover. It was worth it (in ML Address Book has been renamed Contacts):
tell application "Contacts"
repeat 50 times
set theGroup to group "MyGroupName"
delete theGroup
end repeat
save
end tell

It's a crude hack. I had to change "MyGroupName" five times, and when the replicant count dropped I had to reduce the repeat number so it would execute. (One could drop the count  parameter and see if the repeat loop stops when it errors with "missing value"; that would be much faster. I was being cautious.)

At one point Contacts didn't respond very well. I quit and restarted and completed the process.

When I was done I confirmed iCloud's web view was also Group free. Then I purged all the Contacts in that account [3], it's now pristine.

I'm sure an AppleScripter could turn this into a general script for removing all groups all at once. Or could get very clever, and only remove groups that had no contacts (so one could salvage the group/contact relationships).

I didn't need that. My problem has been fixed.

Incidentally, I think iCloud sync works a lot better in ML than Lion. iCloud updated very quickly. 

[1] I have 4 AppleIDs. Two or three of them have iCloud accounts. One has all of my iTunes and AppStore purchases. One was my MobileMe account. A third, which I've never used, acquired, apparently by email transfer, all of my Apple device records. Does Apple have any idea how screwed up their AppleID/iCloud accounts are?

[2] Of which Jamie Zawinski wrote: "I used to think that PHP was the biggest, stinkiest dump that the computer industry had taken on my life in a decade. Then I started needing to do things that could only be accomplished in AppleScript."

[3] They're safe in Snow Leopard until I move my primary machine to Mountain -- which might be sooner than expected. ML seems to be everything Lion should have been.

Wednesday, July 25, 2012

Mountain Lion - my experience

I've never installed an OS on its debut. I generally wait 5-6 months for the .4 release.

This time was different. I really don't like Lion (Apple removed it rather quickly from the App Store, didn't they?). I also have a MacBook Air that I really don't rely on -- so I could sacrifice it.

Notes so far ...

  • I backed up the installer prior to installation. (I did the same thing for Lion. Glad I did since it's now gone from the App Store. I'll have it if someone needs it.)
  • In addition to the 4+GB installer there were GB or so of iWork and iLife and firmware updates to apply.
  • The Guest account was reenabled. I removed it.
  • I was able to add a keyboard shortcut of cmd-opt-S for Save As... (instead of cmd-opt-shift-S). It's good to have Save As back. I also changed Settings:General so I'm asked if I want to save changes on exit (I may change it back to default).
  • Unsurprisingly, my broken iCloud Contacts database (hundreds of replicated groups) is still broken. Contacts sucks less than it did though.
  • It doesn't feel any faster or slower than Lion.
  • I'd read Notational Velocity didn't work. Works fine for me. I run as a non-admin user fwiw. Sync to SimpleNote worked to. That's a relief.
  • There's supposed to be a LaunchBar bug with Contacts, but mine was fine. I have iCloud disabled so maybe that helps.
  • My Time Capsule backup was gone after the upgrade. Good thing I wasn't relying on it. When I ran TM it showed no backups. I used the option-click trick to get TM to validate my backup and now the backups are all accessible through Time Capsule. I think this may be related to the 7.6.1 firmware bug with older Time Capsules.
  • I enabled voice dictation; that's not automatic. (Lately it's working on my iPhone, but I doubt it works as well on the desktop. Unrelated to this, but Siri is actually working again.)
  • None of my apps were moved into an 'incompatible application folder'. This machine has always run Lion, so that's not surprising.
  • Chrome seems fine, I'd heard it had problems. Maybe Google fixed 'em. I had to make it my default browser again.
  • There are new Parental Controls for the Game Center. I didn't see any other changes there.
  • I think I'll like Messages. It does remind me though that I'm going to have to come up with some way to fix my broken iCloud account. I don't think Apple will be much help.
  • What's with Video Chat being in both Messages and FaceTime? Isn't that a bit odd?
  • I like the unification of App Store and system updates.
  • For kicks I tried using Google's m.google.com ActiveSync service as an Exchange Account. Didn't work - couldn't contact server.

Overall it feels like a less broken version of Lion. Maybe I'll upgrade my main machine in September rather than February.

Tuesday, July 24, 2012

My Apple purchase records jumped from true AppleID to one I've never used. This is what I think happened.

I made a rare "Genius" consultation today. The visit confirmed that there's no "safe" Apple-approved way to fix broken glass on an AT&T carrier-unlocked iPhone [1].

That was bad, but along the way we tried checking the devices associated with my Apple ID. That would include several iPhones, iMac i5 27", MacBook Air, iPad, iPods, etc, etc.

Except there were NO devices associated with my Apple ID. All of my registration information was gone. Vanished.

Fortunately the 400+ iTunes purchases associated with that Apple ID appear to be intact [3]. So what happened?

I contacted Apple support who, of course, had no idea what had happened. (I'm sure they thought I was merely senile, but the rep was very polite.) However Apple support's reverse number lookup on the phone I was using brought another of my unwanted four Apple IDs. That AppleID had "lots and lots of purchases".

Except I've never used that Apple ID when doing any kind of purchase or authorization. I always use the (.mac) Apple ID associated with my iTunes account. In fact, I only discovered that AppleID existed about 2 months ago!

So I checked what devices were associated with each of my Apple IDs. I went to Contact Apple Support and chose the Your Products option. This is what I found:

  • AppleID (used for all iTunes purchases and for all product registrations and authorizations): 0 items.
  • AppleID associated with an old developer account: 18 products going back to 2002 or so.
  • AppleID associated with an abandoned MobileMe account: 0 items
  • AppleID associated with a now broken iCloud account (formerly working MobileMe account): 0 items

So everything was now under a single AppleID, but it was an oddball AppleID that I've never used anywhere. How the heck did that happen? Why choose that AppleID rather than a complete strangers?

I don't know of course, but the most likely explanation is that the Apple's IT systems are kludged together.

I'm guessing that Apple had one IT systems that was used by iTunes and that an older system used for product registration. At some point in the past the "product registration system's" true "Key" was either a phone number or (more likely) an email address. Recently Apple lashed together the two systems, perhaps attempting to "join" on the email address.

That's where my May 2012 MobileMe/AppleID bug came in

... I've figured out the bug. It arose as a side-effect of changes to the way Apple IDs work, and it only impacts people who are still on MobileMe accounts and who have the same email address associated with two Apple accounts prior to the time Apple made that illegal...

I won't repeat the details of the bug here, but the workaround was to remove an authenticated email address from my primary AppleID and associate it with ... yes... that oddball developer account AppleID. 

I bet, in database terms, that email address was the "Foreign Key" that linked my iTunes controlled AppleID with my Mac purchase records. Moving the email address from one AppleID to another causes the database query to associate purchases with the AppleID I'd moved it to [2]. 

I could try moving the email BACK to my primary AppleID, but I'm afraid I'd lose my purchase associations altogether.

[1] Apple's only approved fix is a refurb substitution. Unfortunately, Apple will replace an AT&T-unlocked iPhone with a locked iPhone, the Apple product database doesn't correctly track AT&T changes to a phone's lock status. After replacement the IMEI does not match AT&T records, so the new phone cannot be unlocked.
[2] Reading my blog post from May I even noticed the problem then, but I was too tired to f/u on it: "Apple's Support Profile is supposed to show the products associated with my Apple ID. I think it used to. I don't see them any more. It says my home number is associated with a different Apple ID..." So maybe my home number was also associated with the moved email.
[3] Apple's iTunes group manages AppleIDs, not the Mac group.