How to use Arduino 1.0.6 under Mac OS X 10.10 Yosemite

Apple disabled java under newer Mac OS X versions. This is normally no big problem, because if you want to start a Java application, Mac OS X will inform you that you’ll need to install java. In case of Arduino, it requests Java SE 6 runtime:

Taken from https://discussions.apple.com/thread/6488727
Taken from https://discussions.apple.com/thread/6488727

I’ve decided to install Java manually with the packages provided by Oracle, because they are in a higher version and have less security holes. However, this will lead to problems as some Java applications which where build for Java 6/7 cannot start on Java 8 from Oracle.

I’ve tried it then with the most current Arduino Beta 1.5.8 which supports newer Java versions. While Arduino now starts, it cannot compile Arduino sketches. If you try the older Arduino 1.x versions, it will not start at all.

Only after installing Apples Java for OS X 2014-001 update, I could start Arduino 1.0.6 again and then compilation was also no problem anymore. If I check my java version with java -v  in a terminal, I’ll see that the system is using java 8 instead of the installed 6. So I think its safe to use. What do you guys say? Leave a comment if I missed something!

Sync Borderlands Prequel and Borderlands 2 savegames between Mac and PC

I really liked Borderlands 2. So much, that I played over 42 hours already 🙂 This happened all on my gaming PC. With my new Macbook Pro and the availability of Borderlands for Mac, I intend to play it in LAN mode occasionally when I’m visiting friends who also play Borderlands. However, I was shocked when I started Steam on my Mac and did not see the savegames from my PC, although Steam’s Cloud Synchronisation was active.

Borderlands 2 Steam Cloud Sync

A short research showed that the developers of Borderlands had this feature deactivated, because they cannot guarantee that the correct patch versions are applied to all platforms to the same time. This could lead to possible corruption of the savegames and so they disabled Cloud Sync although it is activated by default:

Q: Will I be able to sync my game saves between the Windows PC, Mac, and Linux versions?

A: Yes, but with a caveat: characters and saved games will NOT sync between Windows PC, Mac, and Linux via Steam Cloud.  Since the Mac and Linux versions of Borderlands: The Pre-Sequel may frequently be in an out of sync with the Windows PC version, syncing game saves across platforms via Steam Cloud has been disabled.  This will ensure saved game data will not be lost or corrupt due to incompatible in-game content or other unforeseen reasons.  Users do have the option of transferring game saves via physical media (like a thumb drive) if they wish.

 

Nevertheless, a clever user on the steam forum created a nice tutorial. He intends to use Dropbox with NTFS and HFS+ symlinks to link the savegame folder to Dropbox. He suggests to use the mklink command this way:

What he did miss to tell you is that you’ll need an elevated command window with administrator rights. Just enter cmd on the Windows 8 start menu and select „Open as administrator“ on the command prompt.

The next problem is the order of the folders. In his order, this will result in an error message stating that the link could not be created. However, if you look up the command on MSDN you’ll see that you must switch the order of the arguments. It is first the Link name (in your Dropbox folder) and then the Target (What do you want to link).

All other information in that forum is correct. You’ll need to link this numerical Id folder with your savegames to a Dropbox synced folder and do this also on the Mac. Be sure to create a backup before you create the links in case you overwrite your savegames. After that, it works. This will also work for Borderlands The Pre-Sequel!

How to enable SMS forwarding for iOS 8.1 and Yosemite

Apple just released iOS 8.1. In combination with Mac OS X 10.10 Yosemite, this will add support for answering SMS and calls on your Mac. But this feature is not enabled by default. You need to enable it on your iPhone under:

  • Settings
  • Messages
  • Forwarding of SMS

Here are two screenshots of the activated settings. They are in german, but I’m sure you’ll find the settings in the english version as well.

Messages iOS 8.1

Forwarding of SMS in iOS 8.1

 

There you need to enable other iOS devices and Macs, which also use your iCloud/iTunes account. These enabled devices will then show you a pin code, which you need to enter on your iPhone. SMS forwarding should now be active 🙂

How to create an OS X Mavericks installer USB stick

So you want to install OS X Mavericks on your older Mac from an USB stick. But the Mavericks installer is just an app which wants to upgrade your running Mac OS X, so you don’t have the option to start a fresh installation.

But there is an option available:

1. Download OS X Mavericks

Go to the Mac App Store and search for Mavericks or click this direct link. This will bring you directly to the Mac App Store page for Mavericks. You can download the installer, even when you are already on Mavericks:

Mavericks AppStore

The download will take its time to complete. If it’s finished, go to step 2. Otherwise you can skip the next part, as you have already downloaded the installer.

2. Cancel the installation

When the Mavericks installer opens, don’t continue it. Close it over the menu or press „alt+q“ to quit the installer.

3. Connect the USB stick and prepare it

Now connect your USB stick. I recommend a stick with at least 16GB space available (like this from SanDisk). This stick will be formatted, so make a backup of its content or use a dedicated one especially for this sole purpose.

  • Open the „Disk Utility“ and select your connected USB Stick.
  • Choose Partition and select 1 Partition. Set the name to „stick“. This way we can identify it better in step 4. Select „Mac OS Extended (Journaled)“ and assign the complete space to this partition:
    Partition USB Stick
  • Be sure to select „Options“, „GUID Partition Table“ instead of „Master Boot Record“:
    GUID
  • Now press „Apply“ and let the Mac format the stick.

4. Create the Mavericks installer

Open the „Terminal“ application and enter:

[code]
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/untitled –applicationpath /Applications/Install\ OS\ X\ Mavericks.app –nointeraction[/code]

Replace the „/Volumes/untitled“ with the name of the Volume we’ve created in step 3, e.g. „/Volumes/stick“. This command will ask for your Mac administrator password, so enter it and proceed.

Now the installer will create a bootable USB stick. You should see something like this:

[code]
Erasing Disk: 0%… 10%… 20%… 30%…100%…

Copying installer files to disk…

Copy complete.

Making disk bootable…

Copying boot files…

Copy complete.

Done.
[/code]

If you look your desktop, you should see a new volume called „Install OS X Mavericks“:

Install OS X Maverics IconIf you open it, you will see the „Install OS X Mavericks.app“ which you could now execute to perfom a normal upgrade installation. But you wanted this stick especially for the creation of new clean installation, therefore reboot your mac.

5. Boot into the installer

During the startup sound, press the „alt“ key. This will open up the boot menu selector. You can now select the Volume we’ve created. It should be a yellow symbol with an USB logo on it.

 

Congratulations, you’ve created a bootable Mac OS X Mavericks installer USB stick, which you could now use to create a fresh installation of Mac OS (or to create a Fusion drive).

Synology DS213+ – iTunes Bibliothek verschieben

Neben meinen Bildern möchte ich eigentlich auch meine Musik zentral auf der DS vorhalten. Verschiedene Anleitungen habe ich ausprobiert und bin letztlich bei einer ganz einfachen Lösung hängen geblieben. Wichtig ist natürlich: Macht ein Backup eurer Datenbank bevor ihr die Experimente macht 😉

 

Viele Anleitungen aus dem SynologyForum undWiki schlagen die Erstellung einer komplett neuen Library vor. Dabei verliert man allerdings alle Meta Informationen und Playlisten. Hier hlefen auch Tools wie Tune-Instructor nicht mehr weiter. Bei mir fehlten dann z.B. sehr viele Cover oder die Jahrelang gepflegten Playlisten.

 

Am besten hat mir diese Anleitung geholfen. Ich habe mein iTunes so eingestellt, das es sich komplett um die Verwaltung der Inhalte kümmern soll. Dies ist auch zwingend erforderlich, denn nur so kann man garantieren, dass auch alle Dateien auf das NAS korrekterweise übertragen werden.

  1. Erstellt ein Backup.
  2. Stellt in den iTunes Einstellungen einen neuen Pfad für das iTunes Media Verzeichnis ein. Ich verwende bei mir innerhalb des DS music Ordner den folgenden Pfad: music/iTunes/iTunes Media
  3. Jetzt muss man iTunes neu organisieren lassen. Dazu geht man auf Ablage, Mediathek, Mediathek organisieren.
  4. Wähle „Dateien zusammenlegen“ aus. Damit werden alle von iTunes gerade verwalteten Objekte in den neuen iTunes Media Ordner kopiert.
  5. Wenn iTunes fertig ist, so kann man überprüfen ob alles funktioniert und vorhanden ist. Wenn man sich die Informationen eines Objekts anguckt, so sollte dort der neue Pfad sichtbar sein.
  6. Man kann jetzt den alten iTunes Media Ordner von der lokalen Festplatte löschen.

Es sind bei mir alle Dateien mit allen Metainformationen und Playlisten erhalten geblieben.