Tuesday, October 11, 2016

Scrivener can output multiple books from one Binder - if you use keywords rather than labels for the conditional compile.

Scrivener doesn’t do everything I want, but it is able to compile two books from one binder. It’s just not obvious.

The key is creating a conditional (filtered) compile.

I thought I could do this with labels, but they don’t work. Each binder item (text block) can have one label, and the compile condition only supports one label. So there’s no way to create a many:one relationship (ex: two books, 1 chapter).

Text blocks can have only one label, but they can have multiple keywords (tags). So keywords seem like they should work, but there’s no way to do a filtered compile off a keyword.

The trick is to create a named collection from a keyword search. Then use the collection name in the compile. That works. Keywords can be applied to both text blocks and to “folders”; you need the latter for chapter headings for example.

For my book I have two keywords, iPhone and Android, and two saved search collections of the same name. The compile uses one or the other. Common chapters get both keywords, platform specific chapters get one.

- fn -

[1] The keywords UI is an Aperture user element — which is very powerful but amusingly jarring. I assume it’s coming from an OS X API, though I wonder if it’s deprecated. The story of Apple’s abandoned Aperture app would make an interesting book.

Monday, October 10, 2016

Aperture on Sierra: cautious optimism.

Aperture has been sunset, but the Apple Discussion group is still active. I’m encouraged by a discussion thread on Aperture 3.6 in Sierra. Brian O’Reilly in particular has done a great job testing an Aperture Library across multiple Macs (I think he’s a serious photographer, but who has 4 MacBook Pros lying around?) with good results. In his testing many of the El Capitan bugs have been fixed - leaving only the amusing bug of inverted thumbnails in list mode.

Other users are having the kind of problems I’d expect — hard crashes on full screen toggle, uncaught exceptions, etc. There are probably multiple issues, but some of them sound like video driver issues with older Macs. Apple often fixes these bugs 3-5 months after initial release.

I like to wait 6-8 months to do a major Mac update, so there’s lots of time for things to improve. When the time comes I’ll do some testing with an external drive before making the conversion. Still, this is better than I expected. I was pretty sure I’d stay on El Capitan through mid-2018 before switching to Photos.app then. (Surprisingly there’s still nothing in Photos.app I really want.)

I can’t figure out how to link to a specific post in Apple’s new Discussion forums (which I dislike, but they are getting better), but here’s the text from Brian’s summary post with some edits and emphases, followed by my response …

Brian:

…  [Known El Capitan bugs evaluated]

Thumbnails upside down in List view
Curves Adjustment and Straighten - not visible in export
Brush Adjustment - off by one pixel
Link to Plug-In menu not working
Keyboard shortcut ‘f’ (for fullscreen) causes crash
Keyboard shortcut ‘w’ (Inspector - Next Tab) causes crash

Test procedure

External Drive - Firewire 800
Clean install of MacOS 10.12 - customer release
Clean install of Aperture 3.6
Import of JPEG and Nikon Raw Images to a new Library - Images are Managed

Test machines:

The above Hard Disk was used a start-up drive on the following machines - with a Thunderbolt to Firewire adaptor as needed

MacPro 2012 - 64 Gb RAM
MacPro 2012 - 48 Gb RAM
MacPro 2010 -20 Gb RAM
MacPro 2010 -16 Gb RAM
Mac Mini Server Mid 2011 - 8Gb RAM
Mac Mini Late 2014 - 8 Gb RAM
MacBook Pro 17” Early 2011 - 16 Gb RAM
MacBook Pro 15” Early 2011 - 8 Gb RAM
MacBook Air Mid 2013 - 4 Gb RAM
MacBook Pro 15” Late 2014 - 8 Gb RAM

My test results are as follows - and were identical in all of the above tests

Thumbnails upside down in List view - Issue found
Curves Adjustment and Straighten - not visible in export - Issue not found
Brush Adjustment - off by one pixel - Issue not found
Link to Plug-In menu not working - Issue not found
Keyboard shortcut ‘f’ (for fullscreen) causes crash - Issue not found
Keyboard shortcut ‘w’ (Inspector - Next Tab) causes crash - Issue not found

me:

… If machines after 2010 work better than before 2010 that would make me think of a video driver problem with Sierra. The good news is that those kinds of bugs are not app specific and they tend to get fixed in later versions of a major OS update.

If I had updated to Sierra and was having problems I’d try one or more of running Apple’s hardware test on my Mac, rebuilding the Aperture Library, rebuild JPEG previews and thumbnails, create a new empty Library, test that, them import the old Library into it, backup to a fresh Vault and then create a new Library from that Vault, run Aperture as a new user (so eliminate existing prefs), and perhaps try “Reprocess Original” to change to most current RAW processing.

Also, create an external (clean install) Sierra boot drive, install Aperture, and copy Library over to that for testing.

I don't plan to update to Sierra until spring 2017 at the earliest. If I do upgrade I'll do something like this:

1. Do multiple backups of Aperture.
2. Experiment first with a near-empty Library.
3. Be ready to try all the things listed above.

Monday, October 03, 2016

How to backup your iCloud Notes.app data on a Mac

Apple has a support doc on backing up iCloud data with a less than ideal recommendation for macOS Notes.app backup …

Archive or make copies of your iCloud data - Apple Support

To copy notes, open the Notes app at iCloud.com. Copy the text of each note and paste it into a document on your computer, such as a Pages or TextEdit document. Save the document to your computer. To export your notes as PDF, open the Notes app in OS X Mountain Lion or later. Select the note, then click File > Export as PDF and choose a location.

Maybe Automator could make this scale, but I’ve never had much luck with Automator.

There’s a better approach that, oddly, Apple used to recommend …

How do you backup Notes? | Official Apple Support Communities

Open Notes.
Select View > Show Folders.
Create a new folder called Notes Backup in the On My Mac section of your folders list.
Select one or more notes from your All iCloud folder. Holding the Option key down, drag the notes into the Notes Backup folder. A green plus icon should appear as you're dragging the Notes to the new folder. This creates a copy of your iCloud Notes on your computer.
If you have an iCloud section in your folders list, but not an On My Mac section, you will need to create one.
Quit Notes.
In System Preferences, select iCloud. Deselect Notes.
Open Notes. Select File > New Folder. Name your folder Notes Backup. Create a new note in that folder as a placeholder. Quit Notes.
In System Preferences, select iCloud. Select Notes.
Open Notes. You should now see a section for iCloud and a section for On My Mac. Follow the instructions above for making a local backup of your iCloud Notes.

For this to work you need to enable the “On my Mac Account”. That may be disabled on most Macs and I suspect Apple would like to get rid of it. Which is perhaps why it’s no longer part of the backup support doc. In any case this does work on El Capitan, it does scale, and it enables restore.

If you ask Google how to backup Notes.app, the AI presents this as a “pre-answer” above all web page results. Google’s AI does better than Apple’s support documentation team.

Apple needs a better backup/restore solutions for all of its iCloud data, especially Notes.app, but for now this helps.

Sunday, September 25, 2016

Facebook: what to do when you receive a Friend request from someone who is already a friend (impersonation scam).

There are a lot of scams on Facebook. Heck, at one time their revenue came largely from shady games and the covert sale of personal information. It’s kind of in their blood. With time Facebook has become respectable, but the scams continue.

Some scams have no fix. If someone uses a personal email address you haven’t yourself associated with a Facebook account you are out of luck. At best you can lock the scammer out of Facebook by doing a password reset.

Other scams do have a fix, but the fix is usually anti-documented. What’s anti-documentation? It’s to documentation as antimatter is to matter. The opposite of useful; it gives the wrong answer to every question.

The fake-friend scam is anti-documented. When I searched recently for a good explanation I found lots of chaff and nonsense. So here’s a stab at what you do — at least until Facebook changes things again.

The fake-friend scam leverages Facebook’s default behavior of sharing your image, your name, and your friend list. A software program creates a new profile based on your image and name, then sends an invite to everyone it can find on your friend list. Friends accept, and it does the same thing to them. The resulting information can be sold. Eventually someone monetizes the network, usually by sending a link that loads malware with a payoff.

The fix is to report the fake profile. This is what I did when I received a request from someone who was already a friend (I’ve removed her identifying information). If all goes well after the report is done a confirmation request is sent to the friend who is being impersonated (though sometimes Facebook seems to remove the fake profile immediately):

1. Click the mystery drop down icon on right side and choose report.

1

2. Choose report.

2

3. They’re pretending to be … someone I know

3

4. Submit for review

4

5. Facebook will lookup the name from your friend list.

5

A few minutes later you should receive a Facebook notification that the case has been “closed”:

Screen Shot 2016 09 25 at 9 53 38 AM

I’ve done this a few times. So far Facebook has removed the fake profile fairly quickly, but that may depend on your friend managing their followup. So let your friend no what to expect.

Friday, September 23, 2016

What Scrivener does poorly (or not at all)

There’s a lot I like about Scrivener, a writer’s integrated development environment with compilation to platform specific documents. I’m not the only person who wants to like it, there are many enthusiasts online.

It’s easy to find tips and advice online, it’s harder to find a list of what doesn’t work. That’s important to know up front, before you commit to Scrivener.

This is my working list. I’ll expand it over time…

  1. PDF export has no page footnotes. The footnotes become chapter endnotes instead.
  2. Table creation within Scrivener is quite limited (Scrivener uses macOS text editing services).
  3. Table creation in compiled output is poor or unusable. Formatting in PDF and RTF loses font information, formatting in Word .docx defaults table to Word “auto fit to contents” instead of “auto fit to window”.
  4. It’s easy to get formatting drift between chapters, there’s no ready style enforcement (there is a process for redoing all formatting to a default)

Some of Scriveners’s limitations seem inherited from macOS text handling, others may be limitations of third party libraries. Scrivener could be more forthright about what works and doesn’t work, but that’s asking a lot of a small business.

Scrivener works best for writing fiction, though even there style support is a big issue (see also, below). It works less well for non-fiction — we need things like tables. If I do continue with Scrivener for my own book I’ll have to treat Word output as a forked version — with late stage editing being manually replicated in two locations. That’s not ideal, but it might be doable. The alternative, of course, is to use Word from the start [1].

- fn -

[1] At least in light use Word for Mac is now useable and the bugs are manageable. With the rental model Office 365 is also quite reasonably priced.

See also:

Tuesday, September 06, 2016

Set Reminders.app alert sound to Constellation and you can't miss them.

I had one job. I had to put my daughter’s laundry in the dryer. Since I know I’m demented I set a Reminder. Which I never saw because I didn’t look at my phone and the tiny ding went unheard (and perhaps because Reminders sync to El Cap is unreliable).

It’s not the first time I’ve missed a Reminder. When I set one I really want to be reminded.

An alarm option for Reminders would be great but for now there’s a workaround. In Settings:Sounds:Reminder Alerts [1] choose “Constellation” ring tone. It goes on endlessly.

- fn -

[1] Same option can be found in Notifications. iOS changed settings model from a hierarchy to an acyclic graph; settings now appear in multiple places. I think this is a good thing, especially with search. Search is still odd though; if you search on Sounds you find individual Sound settings, but the Sound menu item appears with the description “Lock Sounds”. (I think this is a bug.)

Monday, September 05, 2016

Tweak to my Photos.app, Aperture workflow.

WARNING: There are at least two issues with this workflow.

1. Not all images that appear in iOS UI for “All Photos” are actually available for import into Aperture. I suspect images that have synchronized from iCloud Photo Library are stored in a different physical location from the images Aperture sees.

2. Neither Aperture nor Image Capture can delete photos from iPhone if iCloud Photo Library is active. Aperture doesn’t show an error message but fails. Image Capture doesn’t show the delete control. Turn off iCloud Photo Library to reenable delete.

———- ORIGINAL POST ——————-

With El Capitan it is possible to have Photos.app and iPhone share photos via iCloud, while Aperture owns posting to iCloud photo sharing streams. You have to fight Photos.app a bit, but it works great.

So my workflow has been to use Photos.app on OS X and iOS to cull images, then periodically export from Photos.app to Aperture. Except Photos.app original image export is broken, and has been broken since 1.0. (Exports all images, even those that are “deleted”), so this is a pain.

Finally realized there’s a much better solution. Whenever I want to move images from Photos.app to Aperture I import them from the iPhone into Aperture (iPhone set to keep full res images). Then I use Aperture post-import delete. Then they delete from Photos.app. Much neater.

See also: