Sunday, March 01, 2015

How to find the damned MAC address for an Airport client so you can configure access times

There is such a thing as too few features. 

Apple stripped a lot out of Airport Utility between v5 and various v6 iterations. Among other things they made it much harder to find the MAC address for a connected device. You need this address to control access times.

The trick is to Option-double-click the base station to get the Summary tab, from which you can see the MAC address. You can’t copy paste that address however. To do that run the terminal command [arp -a]. Look up the IP and MAC address, that you can copy paste.

Of course you may find copy-paste isn’t all that useful. I tried a copy-paste operation into the MAC address field of Airport Utility 6.3.2 and the “Save” button stayed unclickable. I had to type the MAC address in character by character to enable the Save button.

Dumb. Really.

Thursday, February 26, 2015

iTunes Cloud videos not showing up? Maybe you're over the device limit Apple is now enforcing.

Recently Apple revised their US family sharing policy … "… up to 10 devices per account, only five of which can be computers … Not all products, including In-App Purchases … eligible for Family Sharing. “

Recently I think I ran into the policy limits. All of our family devices use a single iTunes account, but I’ve not run into trouble before. I think Apple has changed more than the Family Sharing policy. I think the new limit applies to wise old timers who’ve always used a single iTunes ID for the entire family (though everyone has their own iCloud account).

There’s no error message, instead my son’s iPhone 5 simply failed to show our Cloud video resources (TV/Movies). It would only show what was on the phone.

This happened after we introduced an i6 to the family. Emily doesn’t want anything bigger than a 5, so she got my 5s. Most importantly #2 finally got rid of his dying 4 in favor of a fairly fresh 5. 

Except the 5 wouldn’t show his Cloud video. They simply weren’t there. Signing in and out of the store did nothing.

So I pulled his old 4 out of the reserve bin and logged out of iTunes there. A few minutes later the videos showed up on his 5.

Looks like we went over the (new) limit. Turns out it’s not simply for Family Sharing, it’s for devices associated with an iTunes account.

In our case we have 6 active iPhones, 1 Apple TV and 3 Apple computers. We seem to be right at the 10 device limit, so #2’s old 4 pushed us over the limit.

It’s not documented but the iTunes App Store account information now provides some info. According to Account info we had 4 authorized computers and 10 devices. The device detail list provides some policy information:

Screen Shot 2015 02 26 at 10 45 36 PM

There’s no additional information on the 4 authorized computers. I know of 3 and an Apple TV. I could reauthorize them all and reauthorize but that’s a bit of a pain.

Interestingly the 10 devices includes 2 computers (should be 3) and doesn’t include the Apple TV or my own phone! It does, however, include several devices no longer in use. I removed all of those, but I needed to figure out why my new iPhone 6 wasn’t on the list.

Poking around with Apple ID on my own phone I saw this: “Enabling Automatic Downloads … or downloading a previous purchase … will associated this device with your Apple ID for use with iTunes in the Cloud”. So I launched a video and updated an app on my iPhone 6 Sure enough, I now show up on the list.

So we are again under the limit — for the moment. Buy some iPads though, and we’ll be in trouble. I think we’re done buying iOS devices for a while. We need to stay under the limit. The limit is likely to fall; the RetinaLock [1] screws are tightening…

… patent pending 2040) RetinaLock™ (Palladium Inside!™). The RetinaLock™ prevents any access to DRMd material by control of visual inputs. BrainLock does the same for auditory, tactile, and olfactory inputs. BrainLock Enhanced™ (mandatory upgrade 2045) makes it impossible to consider any action that would circumvent the workings of the BrainLock™ (thereby ending the trickle of death sentences related to violations of the DMCA amendment of 2043). 

[1] Incidentally, Google couldn’t find that 2005 blog post. Duck Duck Go had it #2 on the list.

Update 2/27/2015: I wonder now if the syncproblems I saw four months ago were related to bugs with Apple’s implementation of this device cap.

Wednesday, February 25, 2015

Aperture 3.5.1 empty project bug - a workaround

Maybe this is fixed in 3.5.2 — but I doubt it. This bug has been around for years.

Periodically Aperture will show a project as empty on opening — event though an image count is displayed and images scroll if you mouse over the project. It’s a dangerous bug, with some configurations it would be easy to accidentally delete an image filled project.

The usual fix is to restart Aperture.

The only other fix I’ve found is to create a truly empty project, then drag the apparently empty project into it. All the images reappear.

Saturday, February 21, 2015

Clearing thousands of Star tags from Gmail - two techniques and notes on Star support in OS X, iOS and Airmail.

Remember Inbox Zero?

Perhaps you’re there. Maybe, by dint of filters, of carefully constructed responses, of terror induced in potential correspondents, you’ve finally achieved productive nirvana.

You’re feeling good about it. Proud perhaps.

I’m here to ruin that. Because beyond Inbox Zero lies Sentbox zero.

In Outlook Sentbox zero means the “Sent” folder has no emails in it save those awaiting a response. They may have a flag that goes red 2 days after initial send. All other Sent emails have been deleted or (most often) dropped into the “keep” bin [2].

In Gmail things work differently. I don’t have/use folders; I make sparing use of a handful of tags. So I need a different way to tag sent emails that are awaiting a response.

There are several ways to “tag” such emails. I could use a Gmail tag/label, or a star, or a priority flag. The Star option is quick and synchronizes well across Google Gmail desktop, Google.app on OS X, and Mail.app on iOS and OS X (alas, Airmail doesn’t quite work [1]). So I went with the Star.

The problem was that I had 4,500 stared emails in Gmail - largely from 2007 and prior. Maybe in those days I used the star? Maybe Google automatically set it? Long ago, but I needed to clear them out.

My web searches for a quick way to clear 4,500 flags failed. app.net@jwssuggested using an undocumented? Gmail keyboard shortcuts (edited here):

If you use desktop web UI with shortcuts, search is:starred or whatever and then *a to select all. Gmail then provides a link/offer to select all results, not just those on page. 

Once you’ve selected hitting ’s’ will toggle starred status.

I couldn’t test however, because I’d already used OS X Mail.app to clear the Stars. In Mavericks Mail.app maps the Star to a “red” (Default) flag — so I elected all of those and cleared the flag. Mail.app then updated and cleared the Gmail flags.

No that my Flags are cleared, I can create and clear flags on my Sent emails that are awaiting a response. So now I can implement Sentbox zero-equivalent on Gmail.

- fn - 

[1] My copy of Airmail did not have a STARRED folder mapped to Gmail Star status. I had to create one using an obscure method. Pick any email and “star” it. Assuming preferences has Automap enabled, a new starred folder is created. On restart Starred now shows in the Folders section of the app title bar. Unfortunately it does’t work correctly, items starred in Gmail web app don’t appear in Airmail.app Starred folder — updates are one way from Airmail to Gmail. Fail.

[2] Not filed of course. Subject line is precisely correct and has key words used by search, retrieval will be by metadata search.

Tuesday, February 10, 2015

You can delete Facebook ID and Google ID, but Apple IDs are eternal (also iCloud).

My mother died on Dec 14, 2014. She was fortunate to live in Quebec, which manages the dying process far better than anywhere in the US. It went about as well as it could, and, thanks to all that socialism stuff, she left her family the estate she was determined to pass on. Points for a stubborn woman.

Dying is a complicated business, and I’m only now getting around to cleaning up her online accounts. They are a bit simpler than mine — I had only 3 identities to remove - Facebook, Google and Apple.

Facebook and Google were simple.

Apple — not so much. There is no way to remove an Apple ID, or to remove the associated iCloud data. Apple IDs are eternal.

Sigh. Oh Apple, you get away with so much.

The best I could do was to change her password to something awesomely strong by today’s standards and hope it doesn’t get hacked around 2040 or so.

Wednesday, February 04, 2015

Restoring iOS deleted Contacts: the iTunes method and OS X Contacts.app method

Clark Goble has a solid iOS 9 wish list addressing longstanding half-implemented oddities like Contact Groups. It omits one longstanding product gap though.

There’s no iOS backup feature.

Yeah, I hear your scoff, but iCloud Backup is not Backup. It’s a system clone. If you delete Contacts accidentally, you can’t readily restore Contacts of, say, 3 days before. When my sister accidentally deleted most of her contacts she had no way to restore them from iCloud.

If she’d been synchronizing with iTunes she could have used a remarkably complicated hack: Recovering iCloud contacts, calendars, and bookmarks from an iTunes backup of an iOS device. Honestly, Apple, that’s just embarrassing.

In this case I had a Mavericks account for her on my primary machine that’s linked to her iCloud account (even though she’s never used it). I took the machine off the network and launched her account. Most of her Contacts were there. I created a local Contacts archive backup, did some cleanup, and put the network cable back in. I didn’t need to use my archive backup though — when sync was done she had a complete set again (which is weird, actually, but that’s iCloud).

I’ve read rumors of some sort of Time Machine/Time Capsule support in 8.x for true iOS backup, but that would still require a desktop machine. IOS needs more than system clone backup, it needs real backup.

Sunday, January 25, 2015

Aperture: How can I tell my videos from my stills?

Is that a blurry still to delete or is it a precious video?

Aperture can store both video in addition to still images, but there’s only one way to tell the difference in the usual Project/Album views.

You need to have Badges enabled in your metadata configuration (see official docs or below):

Screen Shot 2015 01 25 at 6 00 55 PM

and in Customize …

Screen Shot 2015 01 25 at 6 01 31 PM

Badges are likely enabled by default, but I wasn’t showing them — perhaps because the UI is so wasteful. Unlike other metadata elements the Badge occupies an entire row of the UI, empty except for the Badge.

If you do enable Badges you’ll want to review the symbols; I don’t see any mouseover tooltip. In addition to Video look for Badges that indicate:

  • Location assigned
  • Referenced image
  • Album pick
  • Stack (number)
  • Keywords applied
  • Adjustment applied (1 or >1)

Friday, January 23, 2015

Make Gmail less painful for obsessives: set Promotions to "Read" status.

You know who you are. When you see a number badge you gotta clear it. When you open Gmail and see “5 updates” in Promotions you have to get rid of ‘em.

Yeah, we need drugs.

But I’ve got something even better. A Gmail filter that sets all email of type “Promotions” to a status of Read. Brief version:

Create gmail filter so promotions auto-read. | Gordon's shares:

enter the value “label:^smartlabel_promo” in the “Has the words” field, then mark as read. Ignore warning. No promotions are easy to ignore, delete at leisure.

For the full story see Stack Exchange. The Stack Exchange article is about recreating the Promotions filter after deleting it, but you can use the same filter logic to set status to Read:

  1. Create a new filter and enter the value "label:^smartlabel_promo" in the "Has the words" field. When you do a sample filter search, that value becomes "category:promotions" automatically
  2. Set action to  “Mark as Read”

When you do this you have to click through a warning message:

Screen Shot 2015 01 23 at 7 42 47 PM

Yeah, Google doesn’t want you to do this. When you’re done you get:

Screen Shot 2015 01 23 at 7 42 07 PM

You could also send all Promotions to the trash of course. I may yet do that, but for now I ignore them until I get the urge to select all and delete.

Now if only I didn’t have to do shift-click on edit subject then shift click to get Compose Window floating for every ding-dang email reply.

Sunday, January 18, 2015

AVI video files in 2014 on the Mac -- you should probably convert them while you can.

In the process of slogging through an unexpected iMovie migration, I came across some old AVI files that iMovie 2013 basically swallows and hides. 

I dug them out of the Package and started searching for AVI conversion tools (bear with me, I’m out of video practice). Google returned pages of spammy looking hits marketing suspiciously “free” third party tools. 

That’s a clue folks. It typically means a market segment has died because Apple has made it part of OS X. Sure enough, FaceTime in Mavericks and later now converts most AVI files (AVI is a container, the real problem is the funky video compression standards inside the container) to .mov.

I experimented with one old AVI file — the original (low res) 40MB camera clip becomes a 64MB quicktime .mov file with H.264 compression and Microsoft ADPCM audio (I wonder if that was unchanged from the AVI file). The 50% growth is typical of migrating from one lossy format to another lossy format — it would be quite bad news if .mov file were the same size as the AVI file. That would indicate too aggressive compression.

I played the converted file back in QuickTime (Mavericks) and the original in QuickTime 7 and they didn’t look too different. Not bad. (As noted below I actually have Quicktime Pro 7. I’m not sure AVI files play in QT7 without the now defunct Perian plugin).

You can’t control the codec or parameters QuickTime Mavericks/Yosemite uses for conversion, for that you can try QuickTime 7 Pro ($30, I suspect part of that is for licensing codecs). Yes, it’s on the App store! First you download the Snow Leopard installer (works on Mavericks/Yosemite) then you pay. I was about to buy it, but then I thought I should check I didn’t already own it. I bought it in 2008 (!). I really should use it a bit more often.

You can also use Handbrake to convert AVI files, or VLC to view them.

I really need to convert those old files; conversion is only going to get harder. However, it’s weirdly good that QT Pro from Snow Leopard still works and is still sold on the Apple store. So we have a bit of time.

See also

General refs on AVI  

Older posts of mine on the horrors of video codecs and compression — there’s been limited progress since 2008

I migrate from iMovie whatever to iMovie 10/2013 whatever and of course it hurts

Screen Shot 2015 01 18 at 9 12 46 PM

Dilbert, 4/14/94

In retrospect, things started to go wrong for Apple 9 years ago. Back then Apple’s iPhoto, iMovie and iTunes were all running pretty well on Leopard. Then Apple jumped from iMovie HD 6 to “iMovie ’08”, a complete reboot and major regression. Since then we’ve lived through a series of half-baked regression-heavy reboots all too reminiscent of SONY’s Spiderman. There’ve been reboots of FinalCut, iWork/Pages, iPhoto and now Aperture/Photo.app…

Oops. I forgot iTunes. It gets randomly rebooted yearly.

Three years after iMovie ’08 Apple recovered most of the lost ground with iMovie ’11. Which was then followed by iMovie 10, another reboot with feature regressions.

Yeah, Apple went from “’08” to “’11” to “10”, sometimes called “2013”.

I picked up iMovie 10 as an automatic update — I don’t use iMovie all that much (it’s been a discouraging ride) and I didn’t realize the product had had yet another reboot. So when I launched it yesterday to work on my daughters dance performance it took me a while to realize I was in a world of hurt. iMovie 10 has a new file structure and Apple cut a few corners on the migration tools - particularly for Libraries located on external drives.

The conversion and recovery process was too painful to recount here, but here are a few of things that might help if you’re trying to figure this out:

For my conversion I did the “Update Projects and Events” twice. I first did it for the Projects and Events in my iMovie folder. Then I moved my external (large capacity) files to the root of an external drive and repeated it. Once the new Library Package is created you can move it wherever you want.

I then compared what I had in the old Projects and Events folders to what I saw inside the new Packages. When I was convinced those lined up I tested viewing each movie/video. I found a number of problems that I was able to fix with iMovie by changing metadata and creating events.

I also ran into a curious problem where one Project seemed to have pieces in two Libraries. The fix for that included creating a new empty Library and moving events one at a time into it from a damaged Library. There doesn’t seem to be any Library rebuild/repair function.

There’s a native menu option for moving Events between Libraries, so one can theoretically move them from an SSD to an external drive and vice-versa.

Good luck!

 

 

 

 

 

Saturday, January 17, 2015

Wanted - A tool to chop Pinboard HTML export into Spotlight searchable HTML files

Pinboard provides a nice range of export options including XML, JSON and HTML.

The HTML export uses the ancient Netscape bookmark file standard (I love simple, ancient standards). My 10MB export file starts like this:

Screen Shot 2015 01 17 at 10 44 23 AM

There are also XML and JSON versions:

Screen Shot 2015 01 17 at 10 50 03 AM

Screen Shot 2015 01 17 at 10 49 09 AM

I’d like to follow the example of my nvAlt/Simplenote archive [1] and have every bookmark as a Spotlight searchable file. The HTML file seems the easiest to process — wrap each DT/DD pair with HTML tags and save to file system with the file name taken from the Initial “Description” text field (truncate at nn characters, append ADD_DATE to make unique).

Seems like something somebody could whip out in AppleScript or Python and then sell on the Mac App store for a few dollars. Wouldn’t make a fortune, but I think Maciej Ceglowski would add this to the Pinboard Resources page. So maybe good for a few hundred bucks?

- fn -

[1] Simplenote is all-but-dead today. The beauty of the nvAlt (or Notational Velocity) and Simplenote system is that one can easily transition to Dropbox and something like Notesy, and all notes are available on my Mac and Spotlight indexed with all metadata all the time. That means I can hang with dead Simplenote, just like I hang with dead Aperture. It helps that Brett Terpstra’s (not free) nvAlt replacement is almost here…

 

Wednesday, January 14, 2015

dd, the Mac OS X (Unix) native solution to hard drive testing, cloning, drive recovery ...

App.net’s gaelicwizard posted this approach to hard drive testing back in Oct 2013. I’d lost it for a while but just found it again today:

$ dd if=/dev/disk1s2 of=/dev/null If it hangs indefinitely, replace the hard drive. If it I/O Error’s, replace the the hard drive. If it completes without problem, the hard drive has no bad blocks.

I’ve not seen this mentioned anywhere else recently, but I found a related MacOS X Hint from 2005 that explains what dd is, and how it can be used for drive recovery and as an alternative to “Norton Ghost”:

The Unix program dd is a disk copying util that you can use at the command line in order to make a disk image. It makes a bit-by-bit copy of the drive it's copying, caring nothing about filesystem type, files, or anything else. It's a great way to workaround the need for Norton Ghost.

Normally, in order to make a disk image, the disk you're copying from has to be able to spin up and talk -- in other words, it's OK to make a copy if the disk is healthy. But what happens when your disk is becoming a doorstop? As long as it continues to spin, even with physical damage on the drive, dd and Mac OS X will get you out of the fire.

We had a situation recently where a friend sent a disk to us that had hard physical errors on it. It would boot in Windows, but then it would hit one of these scratch marks and just die. We fired up dd, and it started OK, but stopped at the same physical error location -- complaining about a Hard Error.

So the workaround was to designate the dd mode as noerror -- which just slides over the hard stops, and to add the mode sync, which fills the image with nulls at that point. We did it on BSD Unix, but as long as you can get the hard drive attached to your Mac, the command is the same:

dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync

… Once you’ve established the disk image (in this example, foo.dmg), you're almost home. Here's where your Mac OS X box is far and away the best thing to have. In this example, the dd output file is foo.dmg. You have to realize that this is an exact copy of a busted drive, but the "holes" are filled with nulls. As long as the damage isn’t to the boot sector, though, when you double-click on it, Mac OS X mounts it without breathing hard … who cares if it's FAT32, NTFS, whatever...

On a Mac or Unix machine “man dd” will provide the explanations of the parameters in @gaelicwizard’s example:

  • if=file Read input from file instead of the standard input.
  • of=file  Write output to file instead of the standard output. 

So the command reads every byte of disk1s2 and writes it to “null” (Nowhere). Why disk1s2? It’s a common boot drive. You can use “diskutil list” to find out the name of attached drives. On my machine the result looks like:

/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Stanford 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Media 2.0 TB disk1s2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_CoreStorage 3.0 TB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: confidential *102.4 MB disk3
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS BACKUP_B *3.0 TB disk4

I tested dd on disk4 (my backup disk). I found I had to run from my admin account, I needed to use sudo, and I had to unmount the drive first (or I got “resource busy” error message):

Admin$ sudo dd if=/dev/disk4 of=/dev/null

Please be careful what you type — especially for the of parameter. One little typo and you could be writing data anywhere.

It runs silently, you can stop with a Ctrl-C. It then reported:

1451352+0 records in

1451352+0 records out

743092224 bytes transferred in 48.218709 secs (15410869 bytes/sec)

I’ll let this run overnight on one of my backup drives some time, but it looks like an inexpensive way to test a hard drive. I’m surprised it’s not described more frequently. gaelicwizard knows the dark arts.

Monday, January 05, 2015

Aperture Tip: ⌘↑ or ⌘↓ will change focus to selected image

You select an image in Aperture, one among thousands. Now scroll up. How do you get back to your selected image? ⌘↑ or ⌘↓ will change focus to selected image.

Sunday, January 04, 2015

Google Voice for the home - Obihai SIP/VOIP devices and porting landline number to Obihai/Google Voice.

Obihai Technology is marketing Google Voice use with their Obi VOIP-landline bridge products (SIP & OBiTALK VoIP services, $40 on Amazon).

Unfortunately there’s no way to port a landline number directly to an Obi device. Instead you have to use the T-mobile hack - port to T-Mobile then port to Google Voice (best documentation of this hack I’ve seen by the way). Once you’ve made this irksome port however, you do get to use GV’s great features from a home landline and VOIP. (Compare, however, to mix of GV, Bluetooth, Mobile, landline.)

Alas, the future of Google Voice is problematic — we know it’s going to be replaced by Hangout, but we don’t know what Google Voice features will survive. 

Still, it’s amazing to watch the twisty-turny evolution of voice communication. This is NOT what we expected back in 1994; then we expected voice communication to become essentially “free” by 1998. Remember that the next time someone predicts the evolution of the marketplace based on technological innovation. The market is very good at fighting back - for example. (Use a fax machine lately?)

See also

Saturday, January 03, 2015

Wanted - a way to make an old style landline work over a cellular connection.

My 93 yo father is a resident of a Canadian Veterans long term care facility. He’s doing pretty well there, but it’s a bugger to reach him. Their landline costs are very high, and installation seems to take eons. Vets who can use a cell phone are fine, but that’s hard for him.

What I need is a cell phone that looks and acts like this phone:

1

I’m sure they make these for the China market, they’ve turned everything into a cell phone.

The closest I can find in the US market is the Panasonic Link2Cell Phone (note, however, complex compatibility grid.pdf - 3GS is borderline).

Screen Shot 2015 01 03 at 8 22 52 PM

I could put an old iPhone in his room, leave it permanently plugged in and maybe this would work. It’s pretty complicated though he has used similar devices. (I think these are sold to people who  get rid of their landline and transfer the landline number to a cheap cell, but want to share a home phone.)

I fear what I really want is only sold in China  It’s either mobile that looks just like old red except that it has a plug rather than a phone cable, or it’s a bluetooth device that fools an old style phone into thinking it’s on a phone line.

Update: I found a few other options…

2