SameShirtEveryDay.com

Personal blog of the one called Alex Gorbatchev, from Toronto, Canada.
follow me on Twitter

Dreamhost just made my day

Posted on June 10th, 2007 by Alex Gorbatchev. In Misc. No comments yet...

$ mc

I’m in love with Midnight Commander. In fact, I’ve been a huge fan of dual panel interface since good old Norton Commander and later a far superior Dos Navigator. Far Manager is the very first thing I install after installing Windows.

Midnight Commander makes it a pleasure to navigate remote host but very few IPSs actually install it.

Growing up

Posted on June 5th, 2007 by Alex Gorbatchev. In Misc. No comments yet...

I didn’t think this moment would come this soon for me. I’ve only been playing with Rails and Ruby for about 3 months.

I did some growing up as a Rails developer last night when I had to change Rails core for Noobkit.

Testing ‘production’ at 3am right before I “quickly” put up the new build brought up a problem with page caching. Noobkit is using URLs which include ‘::’ characters in their paths and silly Rails tries to create fragment cache files with those characters in the path.

That resulted in an obscure and very non descriptive error Errno::EINVAL. This had to be fixed, and so it was:

module NoobkitCaching
  def self.append_features(base)
    base.extend(ClassMethods)
  end

  module ClassMethods
  private
    def page_cache_file(path)
      super.gsub(/::|\^/, '')
    end
  end
end

# and then in environment.rb
ActionController::Base.send :include, NoobkitCaching

A little bit of restyling

Posted on May 16th, 2007 by Alex Gorbatchev. In Misc. No comments yet...

A little bit of restyling goes a long way. I love the Simpa theme from ifelse.co.uk, but it seems to be everywhere these days. I suppose that’s the price of success. A little bit of damask, a new font for those on Vista and it’s done.

 

If you want some for your own site, this page has almost 300 tileable damask patterns.

Dual screen in Vista

Posted on May 12th, 2007 by Alex Gorbatchev. In Misc. No comments yet...

I’ve recently upgraded my workstation at home and among other things installed Vista. On XP I’ve always used UltraMon but on Vista it proved to be somewhat less than stable and I had to figure out something else. Read the rest of this entry »

Hello world!

Posted on May 12th, 2007 by Alex Gorbatchev. In Misc. No comments yet...

… Ruby on Rails.

That’s right, I’m doing most of my off hours development in Ruby on Rails now. Of course you don’t care, and why should you? You aren’t one of three people who know me. I just think it’s very editorial of me to address the crowd as if I’m a famous .NET celebrity. And by “crowd” I mean you. Read the rest of this entry »

home
Subscribe to this blog Follow me on Twitter My bookmarks on Delicious My photography on Flickr