Cool new features in OS X Lion. The trackpad.

The coolest thing here is the dictionary - double-tap with three fingers. Adding extra dictionaries is not very straight-forward, but go to this guy: http://mac.tashev.info/:

You can link the dictionary with wikipedia (even the bg version of it). It is amazing.

Another very cool thing is the three finger drag.

Screen 2 - smart zoom, but it doesn't work everywhere.

When OS X Lion came out, the three-finger horizontal drag (swipe) was for switching between screens. In the previous versions it was four-finger. In the latest update they went back to four-fingers, since the three-finger swipe is for dragging windows.

I wouldn't trade a macbook just for the trackpad. I stopped using a mouse since my first one. I am so used to it that when I get back to a normal trackpad it looks like I'm back in the stone age.

Anonymous SMB sharing from OS X Lion (10.7)

Sharing a folder via SMB (the so called Windows Sharing) with OS X is easy. But username and password were always required. I wanted to make an anonymous share and didn't know how.

Sharing is done like this:

One can see the Everyone user added and still a password was required to log in. Accidentally I found the fix for that.

I had to enable the guest user for file sharing:

That's it. Problem solved.

NOTE: The guest user is disabled by default in OS X Lion. You'll have to enable it first.

Local torrent server on OS X

Today I had to share 13 GB with ~10 people, and I had to do it quickly. I thought of many options - ftp (it would take a while), usb flash drive - even worse.

I thought of the P2P capabilities of the torrent technology. How hard can it be?

Starting a local server couldn't have been easier. I used Tomato Torrent:

There aren't many options, the defaults are good enough. To share the torrents initially I used Transmission. uTorrent for some reason refused to share the files or it was too slow, I don't know.

Transmission:

The torrent server even has a very basic web interface that doesn't tell much, but it is helpful:

13 Gb transmitted to  ~10 people in a 100mbit LAN network in less than an hour. And my machine didn't take that much of a performance hit. I worked during that time.

NOTE: creating the torrents as private somehow made sharing faster. I don't know why. But it did.

Time machine is not perfect! A mobile backup solution for OS X

There's this rule that drives fail and stuff must be backed up.

My main operating system is Apple's OS X. OS X has a backup infrastructure called Time Machine. Time Machine is a way to do a version control on the whole file system. In layman's terms: if you delete a file, you will have a version saved. Or if you mess up a document, you can recover an old version from the Time Machine. This is how the interface looks:

Also if you mess up the OS by installing something stupid, you can recover the whole OS to a state that was for example 1 hour ago. A week ago I had to test this option, because by accident I destroyed some virtual network interfaces and was too lazy to try to fix them manually. This requires an installation cd and then the whole hdd is restored. 120 gb in 50 minutes. I thought it could figure out what to reverse and do it faster without an installation cd, but I guess this is how stuff works. It worked perfectly however.

I have a Time Machine router from Apple. It's a router with a hdd inside it. Backup/restore happens via wi-fi. It works perfectly.

Note: when restoring the whole hdd to an old state, you should link the laptop and the router with a cable. This cuts the restore time in half (10 mb/s on wi-fi, 20 mb/s with cable).

Drawbacks: when a drive fails, I need an installation cd, new hdd, screwdrivers to change the drive and a lot of time for the restore operation (1 hour in my case). This solution is not mobile. The router is big, so I can't take it with me on the road.

Why would I want to have a mobile backup solution?

Well, I have an SSD drive. They tend to fail quite often and without warning. What would happen if I have work abroad and need a laptop and drive that sould not fail, or at least have a backup option? Should I bring a spare hdd, screwdriver, installation cd and the bulky router?

The mobile backup solution

No, there's a better option. Use a drive-cloning software that clones the whole SSD to an external HDD via usb for example. If the SSD fails, I don't even have to change the drives. OS X can boot from the USB drive easily, so I don't need a screwdriver. No downtime, no 1 hour restoration. Just reboot and the new drive kicks in. Well, it's not going to be as fast as the SSD:

I have a 120gb SSD with a 750 gb HDD for a mobile backup. The backup is 120gb, 200gb if I want some history of the most changed files (yes, the software can even do versioning and incremental backup). What should I do with the rest? Split the drive and have some extra space. Now I have a mobile backup with enough space to bring a ton of music or TED hd lectures.

The two softwares I know that can do that are Carbon Copy Cloner (ccc) and SuperDuper! (yes, the exclamation mark is part of the name). CCC is free, that's what I use. Easy to setup. I did all in an hour. I even rebooted to see whether the backup drive would work. It worked like a charm. It copies with around ~30mb/s.

I have not tested SuperDuper!, but it has great reviews, especially the support, they say, is awesome.