While the “escape” key has been the usual norm to exit “insert mode” into “visual mode”, the original vi editor encouraged and heavily used the “ctrl+[” keybinding to exit visual mode. Why should we care? Because “ctrl+[” is a lot closer to the fingers and more ergonomic, while hitting the “escape” … Continue Reading Sublime Text 3 – Vi Keybinding to Exit Insert Mode
I have compiled the following resources based on my own experience and what I believe would be an effective learning path for beginners to get up to speed on iOS development. 1. Udacity Start with the free iOS courses available at Udacity. They are not only fun and engaging but … Continue Reading A List of Swift and iOS Learning Resources for an Effective Learning Path
The problem: From page 37, Exercise 4, Chapter 2, Programming Erlang by Joe Armstrong Run the file client and server code. Add a command called put_file. What messages do you need to add? Find out how to consult manual pages. Consult the manual pages for the file module. Additional Specifications … Continue Reading Solution to Exercise 4, Chapter 2: Programming Erlang by Joe Armstrong
Attached is the solution to the Assignment 2: Matchismo 2 (3-Card Matching Game) from the course “Developing iOS7 Apps for iPhone and iPad (Fall 2013)” by Stanford University (available in iTunes). The attached solution is not limited to a 2-card or 3-card matching game. The same method can be used … Continue Reading Solution to Assignment 2: Matchismo 2 (3-Card Matching Game)
One should rewrite code for improved performance, structure and design. But how many times? In the beginning my thought was to possibly rewrite code twice. Later I found rewriting my own code three or four times made it better. This lead to very stable code and useful particularly as a … Continue Reading How Many Times Should One Rewrite Code?