Derek Barber

SSH Public Key Authentication

Do you use SSH to log in to a remote server? If so, do you type your password in every time you log in? Did you know that you don’t have to?

In addition to being more convenient, public key authentication is also more secure since your password is not transmitted over the network. It’s also relatively quick and easy to set up, and I hope the following information will be helpful in that regard.

With SSH public key authentication, instead of using your password to authenticate, it will instead use your public key. Of course the public key is only half of the solution, the other half is your private key. These two keys work together, so that a message encrypted using your public key can only be decrypted with your private key. It is important to remember that you can freely distribute your public key but you must never give your private key to anyone.

Pragmatic Thinking & Learning

"Pragmatic Thinking and Learning"

Pragmatic Thinking and Learning: Refactor Your Wetware by Andy Hunt is yet another classic from The Pragmatic Bookshelf. This is not your typical programming / technical book, where you focus on a specific technology, methodology or toolset. Instead, with this book you take a much higher-level approach, learning how the brain learns, so that you can be more efficient and effective in all that you do.

As a software developer I have to be continually learning each day. I’m either learning new things about the current programming languages and tools that I use, or else I’m learning new programming languages and tools. It never ends, and that is part of the reason why I love working in this field. It keeps things interesting and exciting, constantly pushing you out of your comfort zone and challenging you to keep progressing.

I found this book to be a great help to this process, as it helps you understand how you learn and thus optimize the learning we do, getting more value out of our already busy schedules.

Some Goals for 2012

It’s hard to believe another year has come and gone. 2011 is now just a memory.

Although it is now just a memory, 2011 was a good memory. So many wonderful moments shared with wonderful people.

I find it is important (and accurate) to view each day as a gift. You don’t know how much longer you have left in this incredible thing we call life. And so as another year comes and goes, I find it helpful to think about how I can use the limited time I have. What goals can I set for the coming year?

Journaling With Day One

A couple weeks ago I got introduced to a fantastic app called Day One, thanks to Episode 10 of the Ihnatko Almnanac. It’s a beautiful journal / diary application that is designed to make writing in it incredibly easy. If there is one killer feature that a journalling app should have, effortless entry has gotta be it, and Day One has nailed this.

I must confess that prior to imbibing episode 10 of the Ihnatko Almnanac, the idea of keeping a journal was not even on my radar. However, the episode got me to start thinking about it and the more I thought about it, the more intrigued I became.

The Power of the Pen

As a software developer I work pretty much all day with a computer. During this time I’ll be engaged in various tasks such as writing code, debugging, testing, database design and problem solving. The natural inclination for me is to do all these tasks on the computer. There are so many great software tools available that it’s easy to find something that works for the current task and thus do it all on the screen.

As much as I love working on my computer, I’ve been discovering the power in using a different medium: a piece of paper and a pen (or pencil). There is something about using a pen and actually moving your hand that seems to help me when I’m working through a tough problem. I find it helps tap into the more creative “R-mode” thinking processes.

Fixing Octopress Rake Error

Octopress is a fantastic blogging platform and as I documented in a recent post, converting this site from Wordpress to Octopress was a smashing success. However, I did run into a minor hitch and thought it might be helpful to document the fix.

Today I started work on migrating another website over to Octopress and I ran into a problem with rake. Interestingly enough, I encountered this problem previously but didn’t document the solution. Since this is my second time seeing this error, I thought it might be helpful to document both the error and how I resolved it.

Bright Nights in Stanley Park

One of my favourite things about this time of year is the yearly traditions that we’ve begun to establish in our family. One of those traditions is going to the Bright Nights in Stanley Park event. When you combine trains and Christmas lights, it’s a pretty unbeatable duo, especially in the minds of my two young sons who are pretty big on both of these things.

Put on by the Vancouver Park Board and the British Columbia Professional Fire Fighters’ Burn Fund, this is an essential Christmas event for families in the greater-Vancouver area. Not only do you have a good time by going, you also help support a great cause, the Burn Fund, which helps burn survivors and their families.

Helpful Octopress Resources

As I outlined in a recent post, I switched this site from Wordpress to the excellent Octopress blogging framework. I couldn’t be happier with the switch and I’m not surprised that others feel the same. There were several blog posts that were helpful in convincing me to move to Octopress and also in helping ease the transition. I would like to commend some of these articles to you now, especially if you are considering Octopress for your blog.