 |
Welcome to Eric Cheng's online journal!
You are not logged in.
[ Log in ]
In older versions of Mac OS X, you could set your PATH variable in terminal by adding to your .profile in your home directory. Recently, a bunch of my scripts started to fail because I use a lot of tools that are located in /opt/local/bin and /opt/local/sbin, and those paths were no longer in my PATH environment variable.
As of the latest updates to OS X 10.8.3 (Build 12D78), Terminal.app no longer seems to parse .profile when it starts up. What works, now, is to edit “/etc/paths”.

I just tested it, and it works.
Let’s say you want to share some assets you have on Dropbox with a friend. Easy, right? You just “Share This Folder” to your friend’s email address.
 “Share Link” and “Share This Folder” are very different
If your goal is to get the file(s) to your friend—and not collaborate on a project together—”Share This Folder” is probably not be the best way to do it. (read more »)
If Safari won’t save or print PDFs (but views them without any problems), you probably have an Adobe PDF plug-in installed. In Safari, go to Help->Installed Plug-ins and do a search for “PDF.” If you have anything with “PDF” in it other than “WebKit built-in PDF,” that is probably the culprit.
On my computer, the problem was “AdobePDFViewerNPAPI.plugin”. To remove it, I quit Safari, did a Spotlight search (Command-Option space) for that file name, and then dragged it to the trash. When I restarted Safari, I could print and save PDFs again. You can also manually find the plugins by going to the system “Library” folder (the one at the root of your hard disk, not in your user folder) and looking in the “Internet Plug-Ins” folder.
I’m on OS X 10.8.2, running Safari 6.0.2 (8536.26.17).
Those of you who follow me on social media know that I complain often about the work required to keep my data securely and reliably backed up. Since 1997, I’ve been a hardcore Crashplan user. I love that it features continuous, versioned backups to multiple destinations, and that it supports multiple platforms. You can backup any Mac, Windows or Linux machine to virtually any destination (folder, second computer, or cloud).
I continue to recommend Crashplan over Time Machine for normal users; for a very-small monthy subscription fee, you can back up every machine in your family to an external drive, and to the cloud—a fast, local backup plus a secure offsite backup, all in one solution.
Unfortunately, I am not a typical user. I have about 10 terabytes of data that I need to keep easily accessible and securely backed up. About half of that are static image files, which are stored on a redundant NAS volume and backed up offsite, which leaves the other half—about 5 TB—needing to be actively backed up. (read more »)
I’m not sure why I upgraded today to Mac OS X 10.8 Mountain Lion. I have the most complicated Mac Pro setup around, and every time I upgrade to a new OS version when it comes out, I suffer. But I am an early adopter, so it’s in my nature to do these sorts of things. It’s how I learn, I suppose.
So far, I haven’t noticed any striking new features in the new OS. I know there are many new features, but none of them have been really obvious, yet—at least, when using my computer in the normal way I use my computer. I am really looking forward to being able to share my screen via AirPlay, but I don’t think my Mac Pro is supported, so I will likely continue using AirParrot to do the same thing. I’m not sure what else will be interesting. I’m not a Safari user, so all web-reading improvements are sort of lost of me. I signed in to Twitter, Vimeo and Flickr, but haven’t seen any signs of integration, yet.
The Mail, Contacts & Calendars preference pane is a disaster. I opened it up and it doesn’t match any of my Mail account settings—it pulls email addresses instead of actual usernames from mail accounts, and then complains that the passwords are wrong. It isn’t obvious what it’s doing.
Mail.app is now super slow. It is laggy—I have to wait seconds to do things—and I can’t bring it to the foreground with a single click unless I click in the header area when it’s in the background. I do have a 28GB mail archive, but Mail.app under Lion was fast, so the new one is definitely worse.
Most apps I’ve tried continue to work. I’ve had (only) the following problems, so far:
- Mail.app (performance)
- YouSendIt Express (doesn’t work)
- Sonnet Presto Gigabit Server PCIe (doesn’t work—apparently, I have the “old” version, which is 15 months old)
- Calendar sync with Google (lots of conflicts, repeatedly)
- Notification center (gave me the same notification every few minutes—I disabled it altogether)
The Sonnet Presto Gigabit Server PCIe card not working was a pain, especially because Sonnet tech support told me directly that it would work. This card is my direct iSCSI conduit to my ReadyNAS image archive (via LACP), and it took me awhile to figure out how to re-establish contact with the iSCSI target (which is configured for LACP, as well). I tried link bonding the Mac Pro’s 2 ethernet ports, but it wouldn’t connect to the ReadyNAS. I eventually solved this (temporarily) by configuring a bond in my switch and connecting the ReadyNAS directly to it (instead of directly to the Mac Pro). This worked, luckily, but going through the switch is definitely slower.
Again, I am not a normal computer user, so I don’t know why I still try to do early upgrades. It never just works.
One last note: iCloud document integration will probably be great for folks who exclusively use 1 application to work with 1 document type (e.g., Pages for all word processing), but it will break down very quickly when used with file formats that are commonly used by multiple applications (e.g., save a picture with Photoshop, and then try to view it in Preview). It doesn’t seem well thought out, but will probably be fine for the people out there who have no idea where they are saving their files…
If you want a great overview / review of 10.8, I highly recommend reading the ArsTechnica review, which is excellent.
The recent Dropbox update on iOS (version 1.5.1) includes a new feature that automatically uploads all photos and videos taken with your iPhone or iPad to Dropbox. Various camera apps and social network apps like Facebook’s Camera app and Google+ have started offering automatic sync to their respective photo albums, but I want my pictures to sync to my computer, not to an online service. Apple’s iCloud service also offers Photo Stream sync of your last 1,000 pictures, but this works best if you’re an iPhoto or Aperture user.
Dropbox Photos and Video Sync
When I upgraded to Dropbox 1.5.1, the app stopped responding altogether, so I had to remove it from my iPhone and re-download it. Once I did that, the first-use wizard connected my account and asked me whether I wanted to automatically sync photos and video to Dropbox. If you have gigabytes of media on your iPhone, be sure to tell the app to only sync new media; otherwise, you may find yourself trying to upload a lot of data over Wi-Fi—or worse, over your mobile carrier’s data plan.
Once you’re set up, you’ll find a new folder called “Camera Uploads” in your Dropbox folder. Initial tests worked very well. Bringing the Dropbox app to the foreground will start the sync process, and when I launched the app and left it running in the background, it continued to upload (once I had kicked it off by launching it); to avoid uploading huge amounts of data over your mobile data plan (if you’re not on an unlimited data plan), you may want to keep Dropbox closed.
Syncing Instagram to DropBox
I also like to sync my Instagram feed to a folder on my computer. To do this, I use a free web service called Instadrop.
Instadrop connects with your Instagram account and automatically pushes new pictures to a Dropbox folder. It works very well—so well, in fact, that it continued to work even after I forgot how I had set it up originally. If you want to stop syncing, you can revoke access to Instadrop by going to Dropbox->Your Account->Manage Applications.
Once you revoke access to Instadrop, the Dropbox sync will stop.
Dropbox security
Remember that any app you authorize to talk to Dropbox will have access to every file you have hosted on the service. I don’t like this, so I use a second Dropbox account for my mobile apps and share folders to my main Dropbox account. I also use an encrypted sparse bundle within Dropbox to store all of my sensitive information. Since Dropbox and most other cloud-based file storage services are insecure by design, you need to protect your sensitive data yourself.
Earlier this month, Adobe announced that there would be three upcoming improvements to the DNG camera raw “standard” that would improve performance. I’ve not historically converted my RAW files to DNG, but performance improvements would certainly be a big factor in a decision to move to that workflow.
I don’t know whether any of the announced improvements have actually made it into Adobe Lightroom 4, but I the upgrade from version 3 to 4 last night ($79), converted some files to DNG, and ran tests. Navigation and editing was as sluggish as ever on my 12-core Mac Pro (with plenty of RAM)—I couldn’t tell if there were improvements when working with DNGs. Then, I did some exports to 1920-pixel JPG files:
Test 1: 28 ARW raw files from Sony NEX-5N
ARW->JPG, 2010 Process: 52 seconds
[ARW/DNG]->JPG, 2010 Process: 40 seconds
DNG export 23% faster
Test 2: 28 CR2 raw files from Canon 7D
CR2->JPG, 2012 Process: 62 seconds
[CR2/DNG]->JPG, 2012 Process: 43 seconds
DNG export 30.6% faster
Here’s the CPU graph for the export process. You can see the clear improvement in CPU utilization in the DNG export.
 CR2->JPG export (green), DNG->JPG export (orange) 24 virtual cores in 12-core Mac Pro
It does seem that there are real reasons to convert raw files to Adobe’s DNG raw format. If Adobe continues to improve DNG performance, I’ll likely move my workflow over to DNG conversion upon import.
I love Lightroom—it is my photo organization and processing app of choice—but in general, Adobe Lightroom 4 feels sluggish, and it took as many as 6 seconds to move between Library and Develop modes (inconsistent, presumably due to caching). No interface move should take 6 seconds on this computer. I hope there is a performance update in the near future that deals with the poor performance.1
I used Final Cut Pro X, Apple’s controversial new “professional” video editing program to cut the trip video during my latest Wetpixel expedition to Indonesia. These slideshows have become a tradition for guests and combine video, stills, and music into something people can take home to show their friends and family.
Using Final Cut Pro X was, for the most part, fantastic. It is really more like an “iMovie Pro” and includes one-click video stabilization, color balancing, and look filters, which were all features I used extensively. Aside from dealing with small bugs, I was able to produce a 30-minute video fairly easily, without being impeded by any critical issues. However, I am back home, and am now in the process of trying to migrate my slideshow project and event files to my main Mac Pro from my MacBook Pro. This is proving to be impossible. Two excellent threads provide work-arounds for reconnecting missing media, but upon following the instructions outlined within those threads, this is what happened:
- After copying events and projects to the Mac Pro, they showed up and opened in FCPx, but all of the media showed up as missing (red thumbnails).
- Per suggestions, I re-imported all of the media (annoying, since the files are spread out over many folders). The red missing media icons for videos and audio were all restored to color (no longer missing). This seemed like a good sign.
- Many JPGs in the media list were not successfully re-connected; instead, they were duplicated. I have hundreds of JPGs in the slideshow, which are now all “missing” and therefore, would need to be re-cut into the timeline.
- Soon after re-import, I noticed an import background task running. Upon closer inspection, I realized that FCPx was in the process of copying over all the newly imported media instead of honoring my request to leave the files in their original location (by leaving “Copy files to Final Cut Events folder” unchecked). The source media is hundreds of gigabytes. Duplicating them is not an option.
- Closing FCPx and re-opening it immediately causes the import process to re-spawn. If I cancel the process, the media simply does not show up in my events.
Put quite simply, there is no way to move a complicated project and its associated event media from one machine to another. The fragility of the media storage system in FCPx is shameful—it’s like the product was never tested in the real world.
I will, in this case, essentially lose this project and never be able to edit it again. I suppose I’ll archive the events and projects in case FCPx improves its media handling capabilities. One significant side effect: if I upgrade my machine or need to reinstall, I’ll effectively lose all of my FCPx projects. Until there is serious improvement in media management, I can’t see myself using Final Cut Pro X again.
I’ve recently moved my local Dropbox folder to a folder that lives in an encrypted sparse bundle. I have nearly 50GB of data in Dropbox, and it was starting to take a toll on my startup volume, which is small—a 250GB SSD. I changed the folder from within the Dropbox preferences area, and it moved my files over successfully.
This setup only works if the encrypted volume is mounted before Dropbox loads (Dropbox complains, otherwise). In particular, this is an issue if Dropbox loads on startup (and the encrypted volume has not yet mounted). I solved the problem by using an AppleScript that mounts the sparse bundle, waits a few seconds, and launches Dropbox. I added the AppleScript to my Login Items, and it is all working perfectly. You must save the sparse bundle password to your keychain for this to work.
do shell script ("hdiutil mount \"/Location/of/sparse/bundle/volumename.sparsebundle\"")
set theAppList to {{name:"Dropbox", vis:false}}
set theDelay to 5
repeat with currentApp in theAppList
tell application (name of currentApp) to launch
delay theDelay
tell application "System Events"
try
if background only of process (name of currentApp) is false then
set visible of process (name of currentApp) to (vis of currentApp)
end if
end try
end tell
end repeat
Note that one can use the same script (without the “hdiutil mount” part) to launch an arbitrary number of applications after a delay. Delayed launch script source: MacWorld Hints
WARNING: This setup can really screw up applications that sync using Dropbox. Your Dropbox will no longer always be available because it can be unmounted. Do this at your own risk.
I recently added a solid-state drive (SSD) to a 2011 MacBook Pro 15″ to use as a new boot / applications drive.1 The MacBook Pro came with Mac OS X 10.7 Lion installed, and I installed the new SSD using the same method I’ve used with every other machine I’ve owned in the pas:t
- I partitioned the SSD into a single volume with a GIUD partition table, choosing Mac OS X Extended (Journaled) as the file system.
- I used SuperDuper! to clone my old drive to the SSD
- I used Disk Utility.app and ran Repair Disk on the SSD (In the past, I have had problems booting from newly-cloned SSDs in the past without first repairing).
I rebooted the MacBook Pro, and everything seemed to work perfectly—the Mac booted quickly and was immediately an order of magnitude more responsive (as is normal when using a machine with SSD storage). However, when I went into the Security & Privacy preference pane to enable FileVault (FileVault 2), it gave me an error message:
FileVault can’t be turned on for the disk XXX. Some disk formats don’t support the recovery partition required for encryption.
It turns out that FileVault cannot be enabled on drives that do not have the Recovery HD partition that is created when Mac OS X Lion is installed. Because I had cloned the bootable volume to the new hard disk without actually installing Lion first, no Recovery HD partition was every created. To solve this problem, I had to first install Lion onto the destination hard disk (the SSD). The installation process creates the necessary Recovery HD partition. After installing Lion, I again cloned my old volume onto the new volume (on the SSD) using SuperDuper!.2
I have just completed this process, and FileVault is now encrypting my SSD.
Useful links/information:
- To download the Mac OS X Lion installer without installing it, run App Store and hold the Option key down while you click on the Purchases tab, and when you click on “Install Mac OS X Lion”. The Install Mac OS X Lion app will be downloaded into your Applications folder. When you run the installer, it will self-destruct, so be sure to back it up somewhere. [more info]
- To burn your own Mac OS X Lion install DVD or USB drive, follow the instructions here.
On Monday afternoon, I decided to use Google+ to post the slides of a talk I had just given at the Monterey Shootout 2011. I really like how pictures and videos are handled by Google+, and using it to present one of my talks (which are typically picture-heavy) seemed to be perfect.
On Tuesday, at 3:38PM, an underwater photographer named Elena Kalis shared my talk with her circles on Google+. At around 7pm, I uploaded 33 underwater pictures to my Scrapbook. At 9:47pm, Vic Gundotra shared a link to the album. At 10:04pm, Brian Rose did, as well. Sergey Brin left a few comments shortly after 11pm (Mr. Brin dabbles in underwater photography, himself). Robert Scoble picked up and shared the album at 12:32am.
At 12:56am, just 6 hours after I updated my scrapbook and 9 hours after Elena shared out the link to my talk, 1,430 people have me in their circles. 1,430 happens to be the exact number of Twitter followers I have. That’s right: it took me 2 days on Google+ to arrive at the same number of followers I attracted on Twitter in 1644 days.1 Granted, I use Twitter as a broadcast service and tweet about all sorts of random things, but the reception to my photography over on Google+ has been nothing short of incredible. After spending a couple hours on the site tonight, it is obvious that the reception to ALL FORMS of photography at Google+ is fantastic, and that engagement levels are extremely high.
Methinks I will be spending some time over there. Want an invite? +Eric Cheng
Side note: What’s amusing is that this post will get picked up automatically by Facebook and Twitter, but not by Google+. I’m really looking forward to a time when Google+ gets integration with HootSuite and other social media aggregators.
Two years ago, I wrote a post in which I quoted some Craigslist / Paypal phishing scam emails. Since then, it has received over 42,000 page views and 35 related comments. I am compelled to post about things that I think will help people (and, frankly, about things that annoy me); I rely on web search for much of my online research, and it feels good participate in the community.

After upgrading to Mac OS X Lion, I booted into Windows 7 / Boot Camp and experienced constant Blue Screens of Death (BSODs). Windows would boot, but I’d only have a minute or two before getting a BSOD citing “cache_manager” as the culprit.
The fix was to rename the Apple HFS driver, which can be found at:
Windows/system32/drivers/AppleHFS.sys
After renaming that file and restarting (BSOD helped me to restart quickly!), Windows 7 became usable again. Note that this will prevent Windows from being able to see your Mac OS X file system (not a big deal, for me).
Source of fix: Apple Support Communities
I had a kernel panic today (quad-core iMac running Mac OS X 10.6.8), and when my Mac started up again, the Command and Option keys on my keyboard (a Microsoft Ergonomic Keyboard 4000) were reversed. Normally, this wouldn’t be a big deal—one just goes to the Keyboard Preference Pane and changes the modifier key settings to swap the two keys. But in this case, no amount of changing the modifier key settings had any effect. This is incredibly frustrating for someone who is nearly 100% keyboard shortcut dependent.
After over half an hour of trying various things like rebooting, resetting PRAM, trashing assorted .plist and preference files, I finally unplugged the Logitech wireless transmitter that talks to my Logitech Performance MX mouse and set modifier key behavior using an Apple Magic Mouse. It worked, and the settings stuck even after I plugged in the Logitech Unifying Device (the USB transceiver). Strangely, if I go to the modifiers preference now, it shows that it has reverted to default, even though my keyboard suggests otherwise.
If you’ve discovered this site because you have same problem, unplug your Logitech mouse and make the changes again using an Apple mouse. I hope it works for you!

Sterling Zumbrunn and I are excited to launch Noodletron, a new technology website dedicated to discussions about technology, digital workflow, social media, and photography.
Our first big article is a review of Apple’s iPad 2, a device that still has people lining up at Apple stores nearly three weeks after its release date. Sterling has tried more iOS apps than anyone else I know, and his thoughts about iPad and iOS are always worth reading.
We could use some help spreading the word about Noodletron and the iPad 2 review! If you like the review, please share it with your friends. :)
I was happy to receive this email today from Sonic.net (my ADSL provider). I love their service: I’m getting 30Mbps down and 2Mbps up, and their current plan (which I’m going to switch to) offers 40Mbps down for less than $70/month. I don’t abuse my bandwidth, but it’s good to know that I have no caps.
With news about AT&T’s announcement last week that they will be imposing usage caps on their ADSL and U-Verse VDSL customers, we have received a lot of inquiries about whether or not this will affect Sonic.net customers, and whether we plan to follow the lead of Comcast and AT&T. We are also being asked why AT&T is imposing caps, and about their $10 per 50GB overage charges.
Here’s the bottom line: Sonic.net has no plans to impose usage caps on our customers. For more details and discussion of this topic, please click to read the article on our site, Drilling Through the Caps.
Thank you for very much your ongoing patronage, and for spreading the word about Sonic.net — uncapped, unlimited, and the best customer service around!
Sincerely,
Dane Jasper
CEO & Co-Founder
[full story]
I have become dependent on DropBox as my cloud solution for working files (with versioned backups!), and for cloud syncing support in many of the apps I use. I’m also an Eye-Fi user, and really like the idea of having a camera that automatically dumps images into a folder in DropBox. I asked Eye-Fi for this feature, but they told me that it’s up to DropBox to integrate with Eye-Fi—not the other way around.
Eye-Fi did, however, recommend that I give Pixelpipe a try. I successfully configured Pixelpipe so that I could automatically transfer all JPG images on my Eye-Fi card to a folder in DropBox, but I want everything to be transfered, including RAW files and videos.
My current solution is to use Eye-Fi Center on a Mac Mini that is (already) running all the time in a closet at home. That Mac Mini has a temporary DropBox account running on it, and Eye-Fi dumps images into a shared DropBox folder there. Once it arrives on my Mac Mini, DropBox pushes it into the cloud, and images and videos are then accessible on all of my machines and mobile devices.
This method is totally wasteful, but it works! I hope someone comes up with a better solution in the long run.
I’m also looking for an iOS camera replacement that shoots directly to DropBox. At the moment, I use the DropBox app to push individual images, which is inconvenient.
I don’t know why Apple doesn’t just retire Numbers. It is so clunky!
There is a 24-hour sale right now on TextExpander, which is one of the Mac OS X utilities that I rely on and use on a daily basis. TextExpander lives in the background and listens for abbreviations, which can be expanded out into frequently-used strings and images. For example, if I type “addresssf”, it auto-expands into my mailing address.
TextExpander works in most Mac OS applications.
The sale is via MacUpdate Promo, and expires in 22 hours (which would be 9PM PST, Feb 23, 2011).
If you take advantage of the discount, please check to make sure that the app you are buying is TextExpander. One of my friends bought the wrong app last time because he forgot to check to see what he was actually buying!
I’ve been struggling with email workflow since selling my MacBook Pro. My notebook computer used to be communication central — the (somewhat) mobile device that held my master email archives and the most current version of projects in process. My more powerful Mac Pro was used for heavier projects (media-related), and occasionally received a sync of working files from the MacBook Pro.
I’m more “local” now, but strangely, it has also made me more mobile. At the same time, I’ve lost access to my main email archive when I’m away from my Mac Pro (which has become the new central repository). (read more »)
|
 |