Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Monthly Archives: August 2012

Austin Vance

[Standup][Boulder] 08/20/12: MailCatcher in the Rye

Austin Vance
Monday, August 20, 2012

Helps

  • Rails runs very slowly on a brand new MacbookPro, something like 5 seconds to load the welcome to rails page. This happens when using Thin and WeBrick.

Hmm…

Interestings

  • jQuery $.each acts like Ruby’s Object#tap.

  • Rails model.has_many_association.pluck will not scope to the model, it will just return the result of a SQL query for the attribute of the association’s model. It will also not use any in memory objects are in the association but not in the database. So, be weary and use map.

  • MailCatcher is a gem that will catch all email sent from your app so you don’t have to remember and create a bunch of unique emails. It also makes email debugging a snap.

  • jQuery pseudo selector :input will select all elements that can take a value. Useful for grabbing inputs and clearing forms.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jonathan Berger

[Standup][NY] 08/20/12: Raiders of the Lost JSLint

Jonathan Berger
Monday, August 20, 2012

Helps

TeamCity Cucumber Options

If I call a rake task that sets cucumber options, TeamCity seems to clobber the options.

  • Talk to Zabes

Hardware group mailing list

Who handles invites for nyc-hardware-hackers@ ?

  • talk to JPB

Ping Pong Hygiene

Please put away balls and paddles in the newly-labeled bins.

Interestings

JSLint non-free license

Douglas Crockford used an MIT derivative licence with the addition of ““The Software shall be used for Good, not Evil.” which makes it “non-free” according to Google Code and Debian.

http://coffeespoonsofcode.wordpress.com/2012/04/11/jslint/

(Thanks Dennis C.)

  • JSHint from within Jasmine

http://opensoul.org/blog/archives/2011/02/19/jslint-and-jasmine/

Events

  • Monday: JavaScript Design Patterns
  • Monday: Movie Night in Byant Park: Raiders of the Lost Ark
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Matt Royal

And that’s the week!

Matt Royal
Friday, August 17, 2012

Interestings

  • http://www.realtime.co

Cloud realtime messaging, simple javascript API.

Many fancy demos like realtime mouse [1]. 1 Dollar per 1 Million messages after surpassing the free 1 Million.

[1] http://www.realtime.co/business/demos/demo/mouselive

  • Factory Girl Traits

They are awesome, check them out.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Mark Rushakoff

Shorthand for searching a View’s DOM in Backbone

Mark Rushakoff
Thursday, August 16, 2012

Sometimes you use a pattern so frequently that you don’t realize that other people might not know about it. Here’s the most recent one for me — I was surprised that this wasn’t being used in the last few codebases I’ve seen:

If you’re using Backbone.js, instead of writing

view.$el.find('span.timestamp')

or worse

$(view.el).find('span.timestamp')

or

$('span.timestamp', view.$el)

Backbone provides a $ method such that you can simply write

view.$('span.timestamp')

It’s less to type and it doesn’t hurt readability.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ryan Spore

Please sir, I want some more pizza

Ryan Spore
Thursday, August 16, 2012

Interestings

  • Where’s my last bit?

    1.9.3p194 :019 > (2**62).class.name
    => “Bignum”
    1.9.3p194 :020 > (2**62 – 1).class.name
    => “Fixnum”

Q: Why is this not 2**63?
A: Fixnum object ids are the odd numbers, eg, 2.object_id = 5. This means you run out of bits one bit early.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Matt Royal

He’s coming to the party?!

Matt Royal
Wednesday, August 15, 2012

Helps

  • Jasmine Gem HEAD and undefined JSON

We’re trying to use the latest jasmine with ci_reporter, and jasmine complains that json is undefined. We’re unclear why it would disappear with an additional task being loaded?

Anyone seen this before?

Running “rake && rake jasmine:ci” should fix this

  • Anyone have experience writing FFI in Ruby?

crickets

Interestings

  • Capybara Webkit on Lobot

If you’ve successfully installed Qt >= 4.6 on CI, Jenkins might fail because bundler is unable to build capybara-webkit, raising the following error in the log:

[code]
Installing capybara-webkit (0.12.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
[/code]

If this happens, ensure that you have qmake in your PATH, since it is needed by the capybara-webkit build script.

  • Version 1.2.1 of the Jasmine gem is out
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ryan Spore

Get your volunteering hand ready

Ryan Spore
Tuesday, August 14, 2012

Helps

  • Nesting separate rails apps

What’s the best way to do a request test against another rails app in a separate directory?

We want:

  • not to deal with separate processes
  • to be able to use nice capybara test matchers (i.e. visit “/other_service/foo” and page.should have_content(”other service title”) )
  • for it to work on CI well

Should we use a Rack middleware?

Capybara Servers and Pow seemed like good solutions, Engines not so much. Also trying to run integration tests with the adaptors and stub adaptors in other tests.

Events

  • Today’s Tech Talk: The Psychology Behind Pair Designing

Folks from the outside can register on EventBrite to come. Lunch is included.

There will be opportunities to get up on stage and pair live with Karl.

Summary:
More design clarity. Less redesign time. What if methods like Pair Design could increase the efficiency of your team and the quality of your products? Karl Dotter will explain his hypothesis on Pair Design, how he is helping teams practice pair design to build great products and what to do to start practicing pairing with members of your team. You’ll also find out how to participate in P.A.I.R (Pairers Against Inefficiency and Rework), a fun research program he’s working on which will help quantify the benefits of Pairing.

  • eXtreme Tuesday

Weekly eXtreme Tuesday returns again! 6:30 in the presentation space.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Matt Royal

SF Standup – Left Handers Day

Matt Royal
Monday, August 13, 2012

Interestings

  • Be sure to close your connections inside an Enumerator

Since the block in an Enumerator has its own Thread context and thus connection, be sure to close it at the end od the block.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jonathan Berger

Compiling Command-T and MacVim

Jonathan Berger
Friday, August 10, 2012

Vim is a great text editor, and MacVim makes it play nicely on a Mac. RVM is a great utility for managing multiple versions of Ruby on a single machine. The Command-T plugin is a great fuzzy-finder for filematching in Vim. But put all of these together, and things can get hairy: if Command-T is not compiled with the correct version of Ruby, it’ll break. Here’s how to compile it correctly:

cd .vim/bundle/command-t/ruby/command-t/
rvm use system
make clean
ruby extconf.rb
make
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charlie Springer

Tracker Screencast: Reorganize panels with multiple story selection, cloning panels, and more!

Charlie Springer
Wednesday, August 8, 2012

When you’re running East and the project goes West, it’s time to reorganize the backlog. This can be painful but Tracker comes to the rescue with multiple story selection and cloning panels. Here’s a little cheat sheet!


Dan Podsedly covered this in a blog post last year, here’s an excerpt:

To select multiple stories, use the small checkboxes to the right of story titles. If you’d like to select a range of stories, select the first story in the list, then shift-click on the last story. This will select all in the range, and allow you to drag them together, or use some of the other actions in the Stories drop-down, such as export to CSV or move to another project. Note: range select with shift-click only works in a single panel at a time, but you can select multiple ranges of stories across the whole project.

You can deselect a large number of stories in the Stories drop down menu.

Check out this short Screencast to see a demo of working with multiple stories in Tracker!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (781)
  • rails (113)
  • testing (88)
  • ruby (83)
  • ruby on rails (70)
  • jobs (62)
  • javascript (55)
  • techtalk (44)
  • rspec (38)
  • ironblogger (32)
  • productivity (30)
  • activerecord (29)
  • gogaruco (29)
  • git (28)
  • nyc (27)
  • rubymine (26)
  • bloggerdome (23)
  • mobile (22)
  • process (21)
  • pivotal tracker (21)
  • cucumber (20)
  • design (19)
  • jasmine (19)
  • ios (18)
  • webos (17)
  • objective-c (17)
  • android (16)
  • tracker ecosystem (16)
  • palm (16)
  • "soft" ware (16)
  • fun (15)
  • ci (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • bdd (14)
  • gem (13)
  • css (13)
  • tdd (13)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • api (10)
Subscribe to Community Feed
  1. ←
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. →
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >