Whenever a new version of OS X is released, I use it as an excuse to rejuvenate my system by doing a clean install. This has become harder as Apple has started to release their OS through the App Store as an update only. Most guides out there to clean install the OS involve some command line gymnastics and tricks involving downloading the update and not running it etc. There is a much easier way using only standard options. The catch, it takes twice as long.
Face Unlock is an Android feature to allow you to unlock your phone by simply looking at it. The phone unlocks by capturing your face with it’s front facing camera. In theory it sounds really cool. You look at your phone before unlocking it anyway. However, in practice, the feature was extremely insecure and I never activated it. Amazon’s Fire Phone may be the first device to be able to support it securely.
Our lives are becoming increasingly digital. Not only do we socialize digitally, most of our information related to our lives is fast becoming digital. Pictures, Videos, Songs, Documents, Bills, Receipts are all available as digital versions and incresingly as the only versions. However, given how easy being digital improves our lives, it makes it easy to loose all that data in a heartbeat. What is your plan if your phone or laptop suddenly stops working?
If you get an MRI scan done, they provide you a CD with the images. However, these images are in a binary format and can only be viewed using the Windows based software on the CD. What do you do if you have a Mac or a Linux PC? OR if you want to share the images online? Here is a Python script that can help.
This post includes Python based implementation of some of the classic basic sorting algorithms. Although Python already includes the excellent Timsort algorithm implementation, this was done more as an academic exercise to not forget the basic principles of sorting.