Archive for March, 2007

Trucks

Friday, March 30th, 2007

Another day, another life threatening incident on a freeway caused by a truck. I am getting sick and tired of big trucks on the freeway. It doesn’t bother me when they are in the right lane, or even when they are passing one another in the second lane. What does bother me is when they feel the need to consume 3 out of 4 lanes! Especially when they whip into that third lane with no regard for the person that they come within inches of killing.

Now for my solution… Enact a law that forces trucks to remain in the right lane only!

Doh!

Monday, March 26th, 2007

So… now you should be able to leave comments! Ha!

Dance Dance Revolution!

Thursday, March 22nd, 2007

Debian + Ruby + Gem + Rails + Mongrel = RubyOnRails

Wednesday, March 21st, 2007

After much frustration, I think I finally have a working installation recipe for RubyOnRails on Debian Linux.

  1. Install Debian
  2. Install ssh and sudo
  3. apt-get install ssh sudo

  4. Remove “root” login from ssh config file
  5. Create a “source” directory
  6. cd /
    mkdir source

  7. Install tools for compiling from various sources
  8. apt-get install gcc gcc-3.4-doc gcc-3.4 g++-3.4 make libc6-dev flex openssl curl wget zlib1g-dev libzlib-ruby

  9. Download latest Ruby (1.8.5 as of this entry), unpack and install
  10. cd /source
    wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p2.tar.gz
    tar xzvf ruby-1.8.5-p2.tar.gz
    cd ruby-1.8.5
    ./configure
    make
    make install
    cd ..

  11. Download, unpack, compile and install zlib (not included in testing version of Ruby?)
  12. wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz
    tar xzvf ruby-zlib-0.6.0.tar.gz
    cd ruby-zlib-0.6.0
    ruby extconf.rb
    make
    make install
    cd ..

  13. Download, unpack, compile and install Ruby Gems (0.9.2 as of this entry)
  14. cd /source/
    wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
    tar xzvf rubygems-0.9.2.tgz
    cd rubygems-0.9.2
    ruby setup.rb

  15. Install Rails
  16. gem install rails --include-dependencies

  17. Install Mongrel
  18. gem install mongrel mongrel_cluster --include-dependencies

  19. Create a dummy application
  20. cd ~/
    rails test
    mongrel_rails start

  21. Go to http://your.ip.address:3000/ to see if it works
  22. Sources

Comments

Wednesday, March 21st, 2007

Alright people… Listen up! I received a few requests to enable comments on this blog. Well, I did, a while ago, and guess what… No comments!!! Please leave me comments, I beg you. It is the only reason to continue my pitiful online existence.

California’s Transportation Woes

Wednesday, March 21st, 2007

Back in November of 2006, California voters approved Proposition 1B1, that will provide nearly $20,000,000,000.00 for improvements to our ailing transportation systems. In case that is too may zeros for you, it translates to twenty billion (with a “b” billion) dollars. To put that sort of money into perspective, consider that it is greater that the GDP of all but 79 of world’s nations2. In other words, it is a lot of money.

Now that the money has been approved, it is time for the hyenas (politicians) to try and gather as much of it for themselves as possible. Locally, there will be 11 billion dollars earmarked for a car pool lane on the 405 Interstate freeway that runs through Los Angeles. My problem with all of this is that before we spend 11 billion dollars on a carpool lane, perhaps we should figure out if car pool lanes work or not. I personally do not think that they work, at all. Adding more lanes to a freeway does not necessarily alleviate congestion. The only way we can get rid of congestion, is to reduce the number of cars on the road. Increasing the amount of road, only serves to increase the number of cars on the road. What we need are alternatives. Instead of constructing a carpool lane, I would like to see a rail based mass transit system put into place. Especially on the 405, which runs right next to LAX. Currently there is no commuter rail going to LAX, that is preposterous!

References:


  1. California state elections, 2006

  2. List of countries by GDP (nominal)

What I’m Listening To

Thursday, March 8th, 2007

Bloc Party - A Weekend in the City

Bloc Party

Weekend in the City

I can’t quite figure out what it is that I like so much about Bloc Party, but I do like them! I just downloaded their latest offering A Weekend in the City and I am giving it a listen. So far, I like it…

Linux

Wednesday, March 7th, 2007

It may just be me, but it seems as though Linux has been in the news with increasing frequency. It seems like a giant snowball is beginning to form and may have the potential to be a serious game changer. With the upgrade to Vista looming in a dark corner for most organizations, it seems like once passed over alternatives are looking considerably more viable. As one who works in the IT industry, I am all for it! While I don’t dislike Microsoft’s Windows XP operating system, it is definitely lacking. The next version of Microsoft’s operating system, entitled Vista does offer some new features, but it is a fear of the unknown security flaws that makes me less than enthusiastic about it. Being a complete Linux noob, I have quite a few questions and concerns, most of them concerning integrating Linux into our existing server environment. I am sure that these questions all have answers, I just don’t know them yet!

Moving Day…

Friday, March 2nd, 2007

This is my second major move, and this one was WAY less painful. I decided to change my web hosting company from Textdrive to DreamHost. Textdrive has been good to me, but in the recent past the server that I was on required entirely too many reboots from the administrators at Textdrive. As a result of this, my websites were going down for anywhere from a few minutes to as long as a number of hours. While I don’t run any Fortune 500 companies on Textdrive, I do think the server crashes are unacceptable. I think Textdrive may do a better job of handling large websites that aren’t sitting on “shared” servers, but the nature of the openess of their servers meant that any one of the people doing development on the server could bring it down. I don’t require that sort of configurability, so DreamHost should work beautifully for me.

That being said, I will be working to customize the look and fell of this WordPress powered weblog of mine. Now with commenting! My previous “roll your own” approach to weblogging left me wanting for a few features, and while I could have programmed those features, I really never could find/make the time. Hopefully this new weblog engine will reinvigorate my enthusiasm for writing.