Annual Navel Gazing

Well, it's been a year since I started this blog, and I have been pleasantly surprised by the personal changes that I have seen, as well as other people's responses to my writing.

I appreciated feedback that people gave me over the course of the year, whether through comments or discussions. This helped me realize that I can provide value through writing and that people are actually interested in reading what I am thinking about.

Read on →

Regular Expression Anchor Mnemonic

In most languages, regular expressions have symbols to indicate when the first part or last part must match the first or last part of the string or line. These are called anchors. Anchors are usually the caret (^) for matching the beginning of a string, and the dollar sign ($) for the end of the string. Hence:

'abc' =~ /c$/     => true
'abc' =~ /a$/     => false
'abc' =~ /^a/     => true 
'abc' =~ /^c/     => false

I can remember what the anchors are. When I have trouble remembering which is which, I use the following mnemonic:

Read on →

Free Software Documentation

Found a site that is trying to improve free software documentation. I found this interesting because the idea is related to a previous post that I had about open source tech writers.

It seems that their goal is to improve the documentation of free software products to increase their adoption. You can check this out on the about tab. The discussion on their FLOSS manuals overview reminded me of thoughts that I was having about having some sort of open source documentation or tech writing business. They basically outline the major models for producing content and being compensated for it. There were several sections that focused on the prevailing mindset, technologies, and economics of doing open source (in this case, for free software) documentation. I agree with them that adequate and consistent documentation is something that keeps most open source and free software from being widely adopted on the desktop.

Read on →

Dream Recall

I've had vivid dreams for a long time, and at some point in high school I got interested in remembering them. Here are my experiences.

Why I'm interested in this

Dreams are a great way to get to know yourself better. Plus, they are a good way to solve problems. Your subconscious mind works in an environment with different constraints than reality, often providing valuable insights. You may know something that you cannot apprehend consciously. I think that it makes you more creative because you get better at listening to different parts of your brain. Plus, you're sleeping anyway, so you might as well make the best of it. :)

Read on →

Caps Lock Remapping

You don't really need your caps lock key. Seriously.

You can swap it with a different function that you use all of the time. I recommend switching it to the escape key. You can also change it to function as a control key. But why would you want to do this?

Benefits

First, the caps lock key is modal, which means that much mayhem can result from misplaced keystrokes with the caps on, especially when working with complex text editors. There is little visual and no tactile feedback on the state of the caps lock. This inevitably leads to annoyances when the lock is on. There's a reason that login dialogs always warn you when the caps lock is on.

Read on →