Michael

Bootstrap Ubuntu Server 8.10 Intrepid 64-bit

Posted by Michael on February 14, 2009 in Bootsrap, Setups

This post covers getting the basic Ubuntu Server 8.10 Intrepid up and going and ready for further configuration (such as Ruby on Rails, or MySQL Server, or Bind 9, etc.).

Ubuntu Site: http://www.ubuntu.com
ISO Image: ubuntu-8.10-server-amd64.iso

If you’re new to my bootstrapping series, please see Bootstrapping my blog for some background information.
Install the OS
No need to [...]

Bootstrapping my Blogs

Posted by Michael on February 14, 2009 in Setups

Ever notice that blogs that are tutorial in nature spend a lot of time providing instructions on installing things, but a whole lot depends on what the author already has installed that he’s forgotten to tell you about? Or perhaps the author simply left out the details necessary for you to fully replicate his [...]

Ultraviolet gives new life to Syntax highlighting

Posted by Michael on February 5, 2009 in General, Programming

I am tired of Google’s Syntax highlighter.  If I accidentally switch to Visual mode in the editor and do some edits and switch back to HTML mode, then I lose the class=”code” moniker and I have to go through the entire post and fix.
Another drawback I have with Google Syntax highlighter is that the page [...]

Ramaze and ActiveRecord

Posted by Michael on February 4, 2009 in General, Programming, Ruby Language

Thanks to the great folks on IRC over at Freenode#ramaze, I was able to not only get Ramaze working with Erubis and Activerecord for a pseudo apples to apples comparison of Rails vs. Ramaze performance benching, but I was also able to get Apache 2.2.9 talking to Passenger to Ramaze. This quick post will [...]

Initial release of Elemental

Posted by Michael on February 3, 2009 in Programming, Ruby Language

I am happy to announce the initial release of Elemental 0.1.1.
Elemental provides enumerated collection of elements that allow you to associate ruby symbols to arbitrary “display” values, thus allowing your code to think symbolically and unambiguously while giving you the means to easily display what end-users need to see. Additionally, symbols are associated with ordinal [...]

Ruby, Mysql, CentOS 5, and 64-bit

Posted by Michael on January 19, 2009 in SQL, Systems

I have lately switched away from Ubuntu as my desktop and started using CentOS 5.2 because I wanted better support for a lot of RAM and virtualization (where I can quickly commission Linux servers to build out my testbed of target environments).  With the change, I also make the leap into pure 64-bit libraries with [...]

Overview of Xen Virtualization

Posted by Michael on November 24, 2008 in Servers, Systems

Many people start looking at Virtualization Technologies because of the promise of doing more with less and high-availability solutions that the technology offers. However, there are many other benefits to virtualizing your data center, which are explored herein. Here, we will mainly focus on the free, open-source offering of Xen. This post [...]

Getting mouse wheel to work with KVM and Ubuntu

Posted by Michael on November 3, 2008 in Servers, Systems

I have been busy getting a Ubuntu based Network Attached Storage server up and running as well as finally switching my trusty desktop to Ubuntu running my old Windows XP as a VMWare Server image.  All was fine and dandy until I decided to add a KVM to the mix so I could easily switch [...]

Jumpstarting your Virtual tour with Oracle VM

Posted by Michael on October 29, 2008 in Servers, Systems

Server virtualization technology has come a long ways in the last 18 months (today being a wonderful October 28, 2008 crisp, cold Fall Sunny day).  Here, I am going to take a look at Oracle VM, one of the relative newcomers to the game and show you how to quickly get up and running with [...]

Rails has and belongs to many (habtm) demystified

Posted by Michael on October 27, 2008 in CSS, Programming, Ruby Language

Every time I have to implement a many-to-many relationship between Rails models, I seem to have to figure out how to do it effectively all over again. Especially as Rails seems to evolve the relational hooks with better support and elegance. Here, I will show a has_and_belongs_to_many strategy that works well for me. Along the way, I’ll expose a few other minor tricks, such as adding a custom inflector for pluralizing your model or not adding the ID column on a table declaration.