"Life In The Stack Trace..."

Main feature

About Me:

I am a developer and an entrepreneur. I have twenty plus years of experience in the field of computing. My experience spans many platforms, programming languages, and I am an advocate of the open-source world. Uniquely positioned in life, I search for application and service ideas that can be converted into profitable or open-source products. Most important to me is positive energy and accomplishment.

Recent Article:

Ubuntu - GTK Tool Tips

Last updated: 07/25/2014 09:56:16 AM

My favorite IDE happens to be Geany. It is very powerful and most important; it is very FAST!! However, there is one aspect of using Geany that kinda always annoyed me.Tool Tips!!Turns out that Geany is built upon or uses GTK, so, it's really no Geany's fault. Once upon a time, I tried disabling the tool tips, however, that simply caused some strange behavior. Such as the Tree View Browser plugin freezing up. So, today...

Installing Go on Ubuntu (Quantal) 12.10

Last updated: 04/26/2014 12:33:22 PM

The Go Language appeared on my radar sometime in 2009. It looked very impressive, however, my thinking at the time was to let it ride a little while and wait for it to mature a bit more. Today, I'm starting to look at it a little. For me, step one is install and start playing around.Ya know, you gotta love it when you read and follow some instructions and it actually works!! However, all of...

Using apt-cache to determine package version prior to install

Last updated: 03/05/2014 01:13:12 PM

Ever want to know the version of a package that you are about to install prior to installing it? I found two different ways to accomplish this task.The policy option is a lot less verbose that the show option. For example, let's say we would like to install the minidlna package from the repositories and would like to know the version that would be installed first.The following command:You can see the version information:The policy option...

Ruby 2.0 - New Kernel method __dir__

Last updated: 02/25/2014 06:27:11 PM

Ruby 2.0 Kernel includes a new convenience method named: "dir" which returns the canonicalized absolute path of the directory of the file from which this method is called. The symbolic links in the path will be resolved. "dir" returns nil if "FILE" is nil.How many times have you done something like the following in your code.Now, all you need to do is......

Install rtorrent 0.9.0 on Ubuntu

Last updated: 02/25/2014 06:22:49 PM

So, today I decided to install the latest version of rtorrent. I dug around most of the doc found at:http://libtorrent.rakshasa.no/and attempted to install stable version 0.8.0, however, I could not get it to compile, so, I decided to give the unstable version 0.9.0 a shot.I figured it would compile and install without a hitch as I have just have many development packages installed on my machine. There were two packages I needed to install to...

Ruby 2.0 NilClass OpenStruct Struct have a to_h method

Last updated: 02/25/2014 06:21:53 PM

Some Ruby 2.0 classes have a to_h method. to_h converts the object to a Hash. At the time of this writing, the following classes have the to_h method:Here is the contents of test.rb...

Ruby 2.0 Symbol Arrays

Last updated: 02/25/2014 06:21:24 PM

Ruby 2.0 supports a feature to make the creation of an Array of Symbols convenient.Below are a few variations producing the same results.Download the support file and run the example....

Installing Ruby 2.0.0

Last updated: 02/25/2014 06:20:58 PM

Ruby 2.0.0 has been released!! Follow the release link here: http://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/I run Linux exclusively and my favorite distro is Ubuntu. The following is an install script I used to install Ruby 2.0.0 on my Ubuntu distro. You may need to tweak it a little to meet your needs, however, the actual script is in the support files....

Determine Rails Autoload Paths

Last updated: 02/25/2014 06:20:11 PM

Determining the autoload path for your app at runtime is pretty simple.Create a Rails app.Edit config/application.rb and add the lib directory to the autoload paths.Fire up the Rails consoleAt the prompt, type:If you created your rails app in the /tmp directory, then, you should see something like the following:It will work in any Rails environment: test, development, production....

Ruby 2.0.0, Apache, and Passenger

Last updated: 02/25/2014 06:19:45 PM

I was very excited when I noticed that Ruby 2.0.0 had been released. I jumped through all of the hoops to install Ruby 2.0.0 and ran into a small snag while testing everything on my staging server. While trying to install Passenger on my staging server the following error occurred:After digging around a little bit I figured out something that would work:passenger-4.0.0.rc4.gem is the file that was produced at the time of this writing. You...