30 May 2014
Developers of Git are making a serious effort to improve intuitiveness for first-time users. Of course, all users benefit from intuitive tools. When our tools just work, we spend less time sifting through documentation and more time solving problems for our customers.
Continue reading →
28 May 2014
Last week, Coraline Ehmke and Liz Abinante met with three members of the WindyCityRails organizer team: Kevin Zolkiewicz, Alonda McCree, and me. Good dialog. End result: The updated WindyCityRails Code of Conduct.
Continue reading →
15 Apr 2014
Dotfiles, the configuration files used by Unix-like machines, can become disorganized over time. Entropy rules! This article describes my recent attempt to bring order to dotfile chaos. The steps can be summarized as follows:
- Move the non-private dotfiles (dotfiles that will be viewed by others on Github) into a directory called
~/.dotfiles
.
- From the
home
directory, create a symbolic link to each dotfile in the ~/.dotfiles
directory.
- Use Git to manage the
~/.dotfiles
directory, and share it on GitHub.
Dotfiles are normally hidden when you try to view them in the Mac OS X Finder. To view them from the command prompt, use $ ls -al
.
Continue reading →
12 Apr 2014
To iterate is human, to recurse divine.
~ L. Peter Deutsch
Recursion is available in many high-level languages, including Ruby. Recursive solutions can be joyfully elegant. At the same time, the pursuit of elegance can lead to unexpected performance pitfalls.
Fortunately, we can use optimization techniques to address performance problems before they occur. Memoization is one technique in our arsenal.
Continue reading →
10 Apr 2014
Earlier today, I upgraded from RubyMotion v 2.24
to v 2.26
. Immediately after the upgrade, I attempted to run a RubyMotion app that I’m working on. The result?
$ rake
Build ./build/iPhoneSimulator-7.1-Development
Compile ./app/app_delegate.rb
Compile ./app/views/score_label.rb
Compile ./app/views/paddle_view.rb
Link ./build/iPhoneSimulator-7.1-Development/pong-rm4.app/pong-rm4
Undefined symbols for architecture i386:
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
$
What happened? It just ran a few minutes ago, right before the upgrade! Was RubyMotion broken? Was it time to reach out to the Twitterverse or Stack Overflow for assistance?
Not yet.
Continue reading →