Fun with Apple’s Swift: Using the @prefix operator to mimic Lisp’s + function

Apple’s latest language Swift provides some nifty behaviors and characteristics. Three things we are loving about Swift so far are: Awesome OOP features: Structs, Enums, Classes can all have methods, optional binding, type safety Cool Functional language features: Closures (the shorthand syntax is a delight to use), nested functions and types … Continue Reading Fun with Apple’s Swift: Using the @prefix operator to mimic Lisp’s + function

Notes on Lecture 1: Developing iOS7 Apps for iPhone and iPad (Fall 2013) by Stanford University

What’s in iOS7: 4 major layers Starting from the bottom to top: Core OS OS X Kernel Mach 3.0 BSD Sockets Security Power Management Keychain Access Certificates File System Bonjour Core Services Collections Address Book Networking File Access SQLite Core Location Net Services Threading Preferences URL Utilities Media Core Audio … Continue Reading Notes on Lecture 1: Developing iOS7 Apps for iPhone and iPad (Fall 2013) by Stanford University

Developing iOS7 Apps for iPhone and iPad (Fall 2013) by Stanford University

The Stanford University has released a new course “Developing iOS7 Apps for iPhone and iPad by Stanford University” on iTunes 2 days ago, October 31, 2013. https://itunes.apple.com/us/course/developing-ios-7-apps-for/id733644550 So far, Lecture 1 to 4 has been released. In contrast to the previous semester, this time Paul Hegarty stresses more on the importance of … Continue Reading Developing iOS7 Apps for iPhone and iPad (Fall 2013) by Stanford University

Restarting MySQL Server on Mac OS X

Tested on: Mac OS X Mountain Lion MySQL Community Server 5.6.10 (installed via direct binary download from http://www.mysql.com/downloads) Type the following at the Terminal: sudo /usr/local/mysql/support-files/mysql.server start sudo /usr/local/mysql/support-files/mysql.server stop This is useful for restarting the MySQL server via the command line on Mac.