Before I was an entrepreneur, I was a developer. And a geek.
Today, I still like to think of myself as a full stack hacker, from DB design to front-end dev, through server security and performance optimization.
This blog is about code, the OS (Mac or Linux), database design, web app, responsive websites, webperf, server maintenance and looking at nerdy metrics...
I haven't ranted for a while, so here's something: my biggest gripe about Apple Carplay!
I basically need two things when I drive:
- and controls for what I am listening to.
But Carplay refuses to let these 2 essential things share the screen.
To add insult to injury, Carplay makes switching from one to the other especially hard!
For example, when on the "Now Playing" screen, I have an icon to go to Navigation: (so far, so good)
But now, when on the Navigation screen, all I have is a completely useless compass in the place where you'd expect an icon to switch back to "Now Playing":
In case you wonder why I can't just use the car controls to skip to next and previous song, it is because I am not listening to songs! I am listening to Podcasts and Audiobooks. And for those, the controls you need the most are:
- "I didn't get that, rewind by 15 seconds"
- "yada yada yada, skip forward 15 seconds" (also useful for boring commercials)
Now, after years of no change to this, I have a tiny tiny hope that the next version will finally solve this. Look at this screen from the WWDC Keynote:
The compass is gone! Yay! But did they replace it with a "Now Playing" icon when something is playing??
Every now and then my Git Tower will stop working "out of the blue" with a message saying something like "Device not configured".
I found out it actually doesn't really happen out of the blue. Rather, it happens every time I upgrade Xcode... or when I upgrade Mac OS X altogether.
The real problem is git doesn't want to work any more as long as you haven't accepted the new Xcode user license.
To fix this, simply open a terminal and type
sudo git. Then follow the instructions and accept the Xcode license.
Then restart Tower and everything should be fine again.
After a lot of doubt and long consideration of alternatives such as Adobe Lightroom, I finally switched from Aperture to the new Photos app in Mac OS X 10.10.3 – and to the iCloud Photo library too.
Unfortunately, the Apple’s official page didn’t answer all my questions. Neither did Google. So I started experimenting a little… Here’s a quick overview of my pain points and how I overcame them.
Easier than expected
Good news: it’s non-destructive and it doesn’t require double the disk space! When you import your iPhoto or Aperture library, Photos.app creates hard links to the images files already on your disk. That means that both apps have a handle on the same file. So although you’ll have 2 libraries, you won’t use twice the disk space. (You will use a little though for anything that is specific to Photos).
Also, if you delete a hard linked file on one side, it’s still there on the other. So if you decide you don’t like Photos and delete your Photos library, the Aperture or iPhoto library stays unharmed. Similarly, if you decide you don’t need your iPhoto or Aperture library any more, you can delete it without worry. Your Photos library will have all the files it needs.
Note: If you have multiple Libraries, Photos will let you choose which one to import. If you have only one, it will import it automatically (again, it’s a non-destructive process). Now, in case you actually don’t want to migrate your single iPhoto/Aperture library when you launch Photos for the first time, hold down the Alt or Option key during launch. This way, Photos.app will let you create a new Library. This is useful if you he secondary Macs with junky libraries you want to replace with a clean iCloud synced version…
- The importing and hard linking is more like “forking", NOT like “this stays in sync forever". Any edits you make to your Photos or to your Aperture/iPhoto library after the import will NOT be reflected on the other side.
- Aperture allows you to merge libraries. Photos.app does not. So you should merge anything you will want in your Photos library *before* the import.
- If you had your originals in an external folder in Aperture, you can still import fine and everything will work as expected. BUT, if you later want to switch to iCloud Photo Library (and you should) you will be required to consolidate your originals into your Library. At that point there will be no more hard-linking any more and consolidating will double the disk space used by originals (as long as you still use your old Aperture library). Thus, you might want to consider consolidating all your originals into your Aperture Library before you migrate, especially if you’re tight on disk space.
I imported an Aperture Library of 31.000 Photos and 200 GB in size. It took about 10 minutes to process on a 2014 Mac Pro.
Everything imported cleanly and as expected except for one slideshow. It is a slideshow I initially made in iPhoto, then imported into Aperture and modified in Aperture, which created a copy of it. The original iPhoto one ended up broken (it referenced wrong photos) while the Aperture version imported fine. This is probably an edge case. It didn’t really bother me.
The important thing is that all my originals and all my edits imported fine, with all the albums and keywords preserved.
It is a dark text on light background theme, with vivid highlights.
This is the theme I use to work on b2evolution.
You need to copy the color scheme into the Sublime Text Packages directory.
- You can find the path of the directory using the
Preferences -> Browse Packagesmenu within Sublime Text.
- Copy the color scheme into this directory.
- Use the Color Schemes option of your preferences menu to select the evo color scheme.
Sometimes you have to install Adobe Reader because some pesky government agency forces you to use a pesky PDF file that only works with Adobe Reader. And once you install Adobe Reader, it will take over your whole Mac, even the default PDF preview in Safari.
Here's how to restore the default PDF preview on OS X:
/Library/Internet Plug-ins (there is a "Go To Folder..." option in the "Go" menu of the Finder if you need it).
In that folder, delete the following 2 plugins:
Restart Safari and you're done ;)