December 18, 2008

Latest News

geeks.jpg

October 25, 2008

Testing syntax highlighting

Test:


class GroupsController < ApplicationController
  def index
    @group = nil
   end
end

Not working...

October 13, 2008

My del.icio.us tags in grand style

tags.jpg

Get yours.

Thoughbot Advanced Rails Training Check List

Loading up my newly resuscitated laptop with Rails goodies for tomorrow's training.

Git pull the two private thoughtbot training apps. Check.

Git pull thoughtbot Suspenders. Check.

Install Shoulda Gem. Check.

Git pull and install Dr. Nic's TextMate Shoulda bundle. Check.

Git pull thoughtbot factory_girl. Check.

Install a UI driven visual db tool. Check.

Signup for Hoptoad. Check.

Watch PeepCode TextMate screencast. Check.

=================

Update: No, Allan, I didn't get a "I <3 Tammer" t-shirt :). I do have a "has_many: shoes" t-shirt from thoughtbot, which I find way too cheerleady to wear tomorrow. :)

September 30, 2008

Rails Plugins: Rolling Your Own

I put together a tech talk at my last gig about plugins and gems, but at a very conceptual, almost philosophical, level.

September 25, 2008

Not an everyday twitter screen

I just got this several times a few minutes ago when trying to access twitter:
twitter.jpg

September 17, 2008

For Hire: A Dream Job

lovejob.jpgLooking for a job that can rock my world. Must allow me to be productive on a daily basis. Rails preferred.

Would require tools that would automagically run integration tests and provide colorful bars and emoticons indicating where I did good and where I should focus on to improve, because I'm a color-code loving sucker.

Git would be lovely.

Team would be crazy results oriented. Never say "can't do it", always "what do we need to do to make it happen?" It would be great if they wanted to be famous for doing good things.

Ideally, there would be a multitude of challenges to best make use of my different skills and interests. I can haz variety. I would love opportunities to work out business logic for innovative products or services. It would be beneficial for both of us if you didn't mind my giving input into your marketing strategy and usability concepts.

September 13, 2008

IgniteBoston 4


DSC_0003, upload feito originalmente por davefishernc.

Wow! I was sitting next to the hottest guy at IgniteBoston!

September 10, 2008

Gem require looking in the wrong path

I was getting the error below when running a rake task. Which meant I couldn't rebuild my database. In specific, I started getting the error after freezing the ruby-net-ldap gem:

mm157859-pc:app carlisia$ rake (in /Users/carlisia/development/surveyengine)
ERROR: Please update /Users/carlisia/development/surveyengine/vendor/gems/ruby-net-ldap-0.0.4/init.rb with the require path for linked RubyGem ruby-net-ldap

Re__gemloadprob2






When I followed what the error message was informing and looked at the init.rb file, I noticed that none of the strings in the"require_options" array matched what was in my local directory. The two original strings to search for were "ruby-net-ldap" and "ruby/net/ldap":

Re__gemloadprob1






However, my directory layout required a string search like so: "net/ldap":

Re__gemloadprob3
























I changed one of the elements in that array to "net/ldap". That took care of this problem.

Ruby 1.9 #bostonrb Writeup

Ruby19_3

The main message I took home from last night's #bostonrb meeting is that when moving to Ruby 1.9 a lot of things will inevitably break, because some of the changes are not going to be backwards compatible. So even if you sanitize your code, think about all the gems and plugins you are using: will they have sanitized their code too? And how will THEY keep backwards compatibility?

This last question was raised at the meeting and there was no good answer. The option that prevailed was to keep two separate files and load the one that corresponds to the running version.

It was emphasized that it will be crucial to have a good test coverage when making the transition. It will probably be a good idea having a plan to get your code ready.

1.9 is being frozen at the end of this month, and is slated to be release on 12/21.

Other than that backwards compatibility issues, 1.9 will:

  • have better performance
  • have some new features
  • have more bugs

Bruce Williams (@wbruce)was the person who presented the new Ruby 1.9. He has a tool that will let you compare the results of running code in 1.8 x 1.9 here, it's pretty cool:

http://github.com/bruce/compare-1-9/tree/master

+ a post from his blog on 1.9:

Arrow Lambdas, a Ruby 1.9 Vignette

Here is a pdf version I dugg out of Bruce's Ruby 1.9 presentation that is dated around April/2008.

The other presenter, Francis Hwang, also had some interesting stuff. He talked about some very interesting dynamic programming gotchas. Unfortunately, the link to his presentation pdf file doesn't work, only a link to an mp3 recording of a previous presentation on the same topic, "The API Construction Set":

Assorted Good Stuff

If any new pdf files from this meeting gets posted to the bostonrb mailing list I will update this post with links to them.

I can't neglect to mention that the meeting, as always, was hosted by Sermo, which provides not only a nice space but also amazing food. And they are hiring tons.


UPDATE ON 09/11/08: Francis sent #bostonrb his slides in pdf.
UPDATE ON 09/15/08: Bruce sent a link to a blog post with his slides.
My Photo

share the love

  • Recommend Me

Attending

I did it

My Twitter Updates

    follow me on Twitter

    Blogroll

    • Amy Hoy
      design, rails, web, writing
    • Jay Neely
      Social Strategist
    • David Cancel
      Making something from nothing.
    • My Better Half
      Blog on Data Mining and Analytics, with a special focus on Oracle. Analytics paves the way to transform databases into Knowledgebases.