Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 01/17/2008

Interesting Things

  • There is a gotcha when creating a Ruby Hash with a default value. If you pass a object to the constructor, such as an empty hash, the same object will be used for all default values. That probably isn’t what you want. Instead, use the form of the constructor which takes a block. Here is an illustration:

    $ irb
    >> trickyhash = Hash.new({})
    => {}
    >> trickyhash[:a][:a] = 1
    => 1
    >> trickyhash[:b]
    => {:a=>1}
    >> betterhash = Hash.new {|h,k| h[k] = {} }
    => {}
    >> betterhash[:a][:a] = 1
    => 1
    >> betterhash[:b]
    => {}
    
  • ruby-prof and KCachegrind are very useful for profiling and performance optimization. We had problems compiling the OS X Darwin Port of KCachegrind, though – you may just want to run it on linux.

  • Vine Server and Viewer 3.0 has been released.

Ask for Help

  • “QuickSilver for Dummies?” – What is a good resource to learn about QuickSilver?

Comments
  1. Matt Berther says:

    Hi Chad,

    I’ve found that the lifehacker.com site points to some great resources and articles about quicksilver.

    A google query for:

    site:lifehacker.com quicksilver

    should return a great number of excellent articles.

  2. Don says:

    +1 on lifehacker. They tag all their Quicksilver posts:

    http://lifehacker.com/software/quicksilver/

    The beginner and advanced guides are great, as is the Top 10 plugins post.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *