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
  • Tools
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Monthly Archives: January 2012

Pivotal Labs

Standup 01/18/2012: Scream

Pivotal Labs
Wednesday, January 18, 2012

Ask for Help

Enunciate

Adam cant hear you, speak up!

Job chaining in resque

Start the next after the first finishes or create a big wrapper job that does all of them

Inherited resource

Change objects before rendering — no good answer found

Interesting Things

  • Dynamo DB from AWS is out, aparently its faster then simpledb
  • SOPA protest today, if you need wiki, try to disable javascript or go to mobile
  • June 6th is IPV6 day (all IPV4 gets switched off ;) )
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
JT Archie

[Standup][NYC] 1/17/2011

JT Archie
Tuesday, January 17, 2012

Interesting

  • Trying to load Ruby 1.9.3 with RVM on OSX Lion and having problems? Adam has found a solution here.

Events

  • Simple made easy was the tech talk (video) today. The implications being what is easy might not be the best for your code maintenance.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

Standup 01/17/2012: Cross-Site Development

Pivotal Labs
Tuesday, January 17, 2012

Helpful Things

“I’m making an HTML5 web app that consumes a web service, and in development the browser is blocking cross-site requests from localhost. How can I just turn off this security while developing?”

Chrome has a command-line flag just for this occasion! –disable-xss-auditor
For everything else, change your hosts file to have the target site on localhost.

“Rails 3.1 seems to be slowing down my test suite to be about twice as slow. Seems to have something to do with garbage collection time. Thoughts?”

… no one had any definite answers.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Joseph Palermo

Standup 01/13/2012: Will the real 13th please stand up

Joseph Palermo
Friday, January 13, 2012

Ask for Help

“When using the wkhtmltopdf library via the PDFKit gem, if you use an HTML snippet that does not have a height defined, it generates a PDF that appears to only be an image, the text is not searchable or selectable. If you give your element a height however, it behaves as you would expect. Both PDF documents visually look the same though.”

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Adam Berlin

Installing Ruby 1.9.3 w/ RVM on Mac OSX Lion

Adam Berlin
Friday, January 13, 2012
  • Ruby 1.9.3
  • RVM 1.10.0
  • Mac OSX 10.7.2
  • XCode 4.2

Our team ran into an issue installing Ruby 1.9.3 on Lion today. When running…

$ rvm install ruby-1.9.3

… the installer fails with an error message including “checking whether the C compiler works… no” even though we had XCode and gcc installed.

After some reading on StackOverflow and Github I found this solution [1]…

$ rvm install 1.9.3-p0 --with-gcc=clang

… which points an explanation on RVM’s issue tracker [2].

  1. http://stackoverflow.com/questions/8675194/error-installing-1-9-3-with-rvm-on-lion
  2. https://github.com/wayneeseguin/rvm/issues/534

See our full command line history and error messages below:

$ rvm install ruby-1.9.3-p0
Installing Ruby from source to:     /Users/foobar/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...

ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #extracted to /Users/foobar/.rvm/src/ruby-1.9.3-p0 (already extracted)
Fetching yaml-0.1.4.tar.gz to /Users/foobar/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/foobar/.rvm/src
Configuring yaml in /Users/foobar/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/foobar/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/foobar/.rvm/usr
ruby-1.9.3-p0 - #configuring
ERROR: Error running ' ./configure -- prefix=/Users/foobar/.rvm/rubies/ruby-1.9.3-p0 --enable- shared --disable-install-doc --with-libyaml- dir=/Users/foobar/.rvm/usr ', please read  /Users/foobar/.rvm/log/ruby-1.9.3-p0/configure.log
ERROR: There has been an error while running configure.  Halting the installation.

$ cat /Users/foobar/.rvm/log/ruby-1.9.3-p0/configure.log
[2012-01-13 10:31:49]  ./configure -- prefix=/Users/foobar/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml- dir=/Users/foobar/.rvm/usr
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type... x86_64-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/foobar/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Joseph Palermo

Standup 01/13/2012: I certainly don’t have a branch named "-"

Joseph Palermo
Friday, January 13, 2012

Ask for Help

“Trying to write a custom Rails I18n exception handler to catch MissingTranslationData exceptions”

The API didn’t seem to do what it claimed it should.

“RubyMine EAP undo behavior seems broken, it only wants to undo a file deletion, and then go back no farther in history.”

It was suggested that RubyMine undo is context sensitive, and having focus on the file browser has a different undo stack from the editor window.

“mysql2 gem on Lion is giving us an error: “Library not loaded… Image not found” and then a path pointing down into our RVM directory.”

Building the gem with options pointing to your mysql directory was suggested.

Interesting Things

“git checkout -” will toggle you between your last two checkouts (branches or just plain SHA’s). Handy if you are switching back and forth. Can’t seem to find it mentioned anywhere in the docs though.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ash Hogan

Whistlestop.com is looking for a Senior RoR Developer

Ash Hogan
Thursday, January 12, 2012

At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair Programming, Test-Driven Development, rapid iterations, and frequent refactoring.

Below is the job description for a Senior Ruby on Rails developer with whistlestop.com who are an internet start-up designing a fun new website at the nexus of social media and politics. The website will offer users new tools to engage in politics online, and if it works the way we think it will, it could have a game-changing effect on digital politics.

Whistlestop.com is hiring – here’s why you want to work there:

About the position:

We are looking for an experienced, hands-on Ruby on Rails developer who will be comfortable working in a start-up environment, who can leverage Rails best practices, rapidly solve problems and bugs, proactively look for ways to make the product better, and who has a passion for developing innovative and scalable solutions to challenging problems. He or she will be the senior developer for our website, rounding out our technology and product team (along with our CTO and our lead designer).

The senior developer will have the opportunity to be part of a great team that is young, passionate, and has well-rounded experience in business, politics, and technology. We have a pretty decent amount of capital that we raised in a seed round and an ambitious vision for our website. We look forward to working closely with a senior developer who will feel as excited about our website as we are.

Qualifications:

  • Proficient in Ruby, HTML5/CSS3, and Javascript
  • Familiarity with relational databases, preferably MYSQL
  • Experience developing and maintaining RESTful APIs
  • Experience with git, Pivotal Tracker, and other popular collaboration tools
  • Strong analytical skills, self-directed, excellent communication skills, and a strong team ethic
  • BS or MS in computer science or equivalent experience

Compensation:

Competitive and based on the candidate’s experience and qualifications; will also include equity.

How to apply:

Interested candidates should submit a resume to Ryan Sullivan and should provide access to their Github profile.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

Verifying hosts are active in the load balancer pool

Pivotal Labs
Wednesday, January 11, 2012

Most load balancers have a heart beat monitor, that allows the load balancer to decide whether or not to send traffic to a given host.

For example:

http://server1.host.com/check.txt

If the load balancer gets a 200, it will send traffic to server1, if it gets a 404 or a timeout, it will not.

Today we were trying to figure out how to find what servers were up and running in the load balancer pool.

Here’s the capistrano task we came up with:

desc "Curls the check.txt file to see if the host is in the load balancer"
  task :check_load_balancer do
    roles[:web].map(&:host).each do |hostname|
      value = %x{/usr/bin/curl -fs 'http://#{hostname}/check.txt'}
    puts "Curling http://#{hostname}/check.txt: #{value}"
  end
end

This gives you output like the following:

$ cap production deploy:check_load_balancer
  * executing `production'
  * executing `deploy:check_load_balancer'
Curling http://server2.dc1.domain.com/check.txt:
Curling http://server3.dc1.domain.com/check.txt: OK
Curling http://server4.dc1.domain.com/check.txt: OK
Curling http://server5.dc1.domain.com/check.txt:
Curling http://server6.dc1.domain.com/check.txt: OK
Curling http://server7.dc1.domain.com/check.txt: OK
Curling http://server8.dc1.domain.com/check.txt: OK
$

Now we can easily see there are issues with server 2 and 5.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ash Hogan

Pivotal Labs has new opportunities in web, mobile, and at Tracker

Ash Hogan
Wednesday, January 11, 2012

At Pivotal Labs, 2011 was an amazing year. And we want you to help us make 2012 even better. We’re currently hiring for the following positions across our San Francisco, New York City, Boulder, Denver and Singapore campuses:

  • Software Engineer – Mobile
  • Software Engineer – Web
  • Software Engineer – Tracker
  • Sr. Software Engineer

Want to know more? Click here for full job descriptions, and to apply.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ash Hogan

Unpakt is looking for a Lead Ruby on Rails Developer

Ash Hogan
Tuesday, January 10, 2012

At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair Programming, Test-Driven Development, rapid iterations, and frequent refactoring.

Below is the description for a Lead Ruby on Rails Developer position with Unpakt. Ever hired a mover? 37 million people move every year in the USA, but the process of finding a mover remains stressful and confusing. Unpakt is creating the Kayak of the moving industry, and they are looking for talented developers to join our team.

Unpakt is hiring – here’s why you want to work there:

Unpakt

Is a small team with solid financial backing, led by a highly successful entrepreneur. We are creating an intense but fun and respectful culture. Our compensation package includes competitive salary, equity participation, and help with any relocation expenses.

Job Description:

  • Test Driven Development
  • Aggressive Refactoring
  • 5+ years’ experience in production software environments

Additional Skills Desired:

  • Pair Programming
  • Experience with testing frameworks
  • SQL
  • Javascript
  • Ability to coach less experienced developers
  • Ability to communicate well with non-technical teammates

How to apply:

Email a copy of your resume, including the position you wish to apply for. Principals only please!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (783)
  • rails (117)
  • testing (90)
  • ruby (86)
  • ruby on rails (71)
  • jobs (62)
  • javascript (59)
  • techtalk (44)
  • ironblogger (42)
  • rspec (39)
  • bloggerdome (34)
  • productivity (34)
  • activerecord (30)
  • rubymine (30)
  • git (29)
  • gogaruco (29)
  • nyc (27)
  • design (24)
  • mobile (23)
  • pivotal tracker (22)
  • process (21)
  • cucumber (21)
  • jasmine (19)
  • ios (18)
  • tracker ecosystem (17)
  • webos (17)
  • objective-c (17)
  • fun (16)
  • android (16)
  • palm (16)
  • ci (16)
  • "soft" ware (16)
  • bdd (15)
  • tdd (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • css (14)
  • gem (13)
  • mouse-free development (12)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • api (12)
  • keyboard (11)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
Subscribe to Community Feed
  1. ←
  2. 1
  3. 2
  4. 3
  5. →
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Tools
  • 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 >