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: October 2010

Dan Podsedly

Tracker and session hijacking

Dan Podsedly
Saturday, October 30, 2010

Last week a certain new Firefox extension made headlines by making it trivial to hijack sessions over wireless networks, and easily access unsuspecting users’ accounts on a long list of major social networking and other websites. Pivotal Tracker had the dubious honor of being on that list.

The plugin author’s intent was to raise awareness of the insecure nature of wireless networks, and encourage websites to increase the use of secure (SSL) sessions, which encrypt transmission of data and prevent network sniffing and session hijacking.

Today, most sites use SSL for sign-in, and selected pages that handle sensitive information, but SSL is generally not enabled (or available) site wide. What this means is that after you sign in to Facebook, as soon as you visit any Facebook page that isn’t SSL enabled (for example, your private messages page), your session cookie becomes exposed, and allows a hacker (or just any bored person with Firefox at your local coffee shop) to gain full access to your Facebook account.

The recommended solution is for sites to enable SSL for all pages, from sign-in to sign-out.

As of this morning’s update, this is now the default in Tracker. After signing in, you should notice that every page is served via SSL (https:// prefix in the URL). If you never access Tracker on shared networks, however, and would prefer to turn this off, you can do that on the My Profile page by un-checking the ‘Always Use HTTPS’ option.

In addition, you can enable the ‘Always Use HTTPS’ option for specific projects, which will force SSL for every member of the project who visits the project, even if they’ve disabled the HTTPS option on their profile.

We have also added a secondary secure session cookie to prevent your session from being hijacked if you accidentally end up on a non-HTTPS page while signed in (via a bookmark, for example). This approach is similar to what Github describes in their blog post about the problem and their solution.

Note: As part of this change, we’ve had to remove the ‘remember me’ functionality, so you will have to sign in again after you close your browser. We’ll add a more secure version of this feature back to Tracker in the next update, later this week.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Pivotal Tracker moving to new hosting environment on Nov. 6

Dan Podsedly
Friday, October 29, 2010

The last 2 1/2 years have been exciting for Pivotal Tracker. It’s grown from an internal tool we at Pivotal Labs occasionally shared with clients and friends to a mainstay of the Ruby, Rails and Agile worlds. Over this period, Engine Yard has provided us with their top-tier private cloud hosting, free of charge, as a service to the community. For this we are extremely grateful, and we hope our users share our gratitude for their generosity, in this and in so much else in the Ruby on Rails ecosystem.

As we’ve grown, Tracker has become a mission-critical system not just for us, but for over 140,000 developers, entrepreneurs, product owners, and enterprise clients on over 100,000 projects. The application handles over 50,000 requests per minute now, with peaks above 1,400 requests per second.

To support this level of usage, we’ve increased our level of investment in Pivotal Tracker on a number of fronts. So far, many of the changes have been invisible to our users: we’ve allocated more resources to Tracker development, and increasingly to Tracker operational support. We’ve also evaluated our hosting needs, including factors such as performance, level of control, and reliability. We’ve considered a number of options, and have chosen a hybrid solution made up of dedicated hardware for our database tier and private cloud for application servers. We think this option will provide the right level of control for our team, and provide the best overall performance and scaling capability.

What does this mean for you?

Specifically, it means that there is a migration coming up. We’re planning to cut over to the new hosting environment next Saturday, November 6th, starting at 8:00am PDT. Tracker will be unavailable during this migration, in a planned outage not to exceed 6 hours. We chose this time to minimize downtime during business hours for our customers in 158 countries worldwide. We don’t actually expect the move to take this long, but since it’s a big move, we want to make sure everything is working correctly before bringing things back up.

Pivotal Tracker will be moving to new IP addresses, so if you have any firewall rules or third party integrations that depend on this information, you will need to update them. We will be publishing the new IP addresses within the next few days, prior to the actual migration.

We’ve set the DNS TTL low leading up to the migration, so we don’t anticipate significant DNS propagation delays. If you are in a place where DNS changes take longer to propagate, however, please keep an eye out for this. We’ll help you with workarounds if the issue persists.

Thanks again to Engine Yard for all their great support. We continue to appreciate all they’re doing for the larger Rails community, and the huge investment they’ve made to support Pivotal Tracker. Tracker wouldn’t be what it is today without them.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Tracker service restored

Dan Podsedly
Thursday, October 28, 2010

Tracker should be fully back to normal as of early afternoon today. Please let us know if you are still experiencing any unusual slowness or connectivity issues.

Our apologies for not being able to access your projects this morning. We continue to investigate, and are waiting for our hosting provider to provide more information about the cause of the outage.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Tracker outage this morning

Dan Podsedly
Thursday, October 28, 2010

Our apologies for the site outage this morning. We’re working with our hosting provider to bring Tracker back up ASAP, and are investigating the cause.

For most current updates on the outage, please follow @pivotaltracker.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Davis W. Frank

Pivotal Labs & Movember

Davis W. Frank
Wednesday, October 27, 2010

It’s that time again. Pivots grow mustaches. We laugh, we itch, we cry, we talk about testosterone and whisker styling. Why do we do it? For Cancer research.

Last year we joined up with Movember and used this time of facial hair to raise money for prostate cancer research. It makes that shave on the night of Movember 30th feel even better.

This year we’re at it again. We’ve has seen some growth at Pivotal. We now have five offices, four timezones and two continents. That means growing both our facial hair and our fundraising goal: we’ve set a challenge to raise $10,000.

Which means we challenge you as well.

Have you found the tips & questions on this blog useful? Please donate!

Have an upper lip? Register at Movember.com, shave clean on Movember 1st and spend your month with exchanges like this one:

Some Guy: “Hey. What’s with the ‘stache?”
You: “Raising cash for Cancer, dude. Donate!”

Have a group of people in your office that like a noble challenge? Start a team!

Have the will to help the fight against cancer, but have a follically-challenged upper lip? Then spread the word and raise money for Pivotal, your team, or your friends. Movember will supply you with mustache stickers, but I don’t recommend you wear them every day.

If you’re going to participate, we’d love to have you join the Pivotal Labs Movember Network to help us hit our goal of $10,000.

And of course, stay tuned to Pivotal Blabs for Movember updates all month long…

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Andrew Kitchen

Open Source Development Workshop — Thursday, October 28 at 6:30PM

Andrew Kitchen
Wednesday, October 27, 2010

Open Source Development Workshop

Thursday, October 28 at 6:30PM

Pivotal Labs is hosting and our own Sarah Mei is leading an open source workshop for developers interested in learning about contributing to open source projects. Sarah will be using the Diaspora project as an example, and the Diaspora team will be on hand to assist. Email Sarah at sarahmei at pivotallabs dot com for more info, or view the meetup page here

Standup 2010-10-26 and 2010-10-27

Help!

“How do I use RVM on the server?”

RVM on the server can be fraught with peril. Be sure that your (or your process’s) shell is being invoked in a way which plays nice with RVM, for instance bash -lc or bash -ic in cron.

“Why does Google Street View give me a grey dead area instead of a picture of some dude’s house?”

Most likely this is due to having requested a view for an area where none is available. The Google docs have been found to be a bit misleading on this, however there is an api call to see if there is an available street view for a given radius — try increasing this radius near your lat & long until you get success in order to avoid a useless response.

Interesting

  • Running MySql in ramdisk does not yield any discernable performance boost for small to medium-sized rails projects, for test suites or the app itself. This is probably due to the fact that most projects’ code and data are already small enough to fit in cache.
  • Looking for a real perf boost? Try REE with the Twitter GC tweaks
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Upgrading your Rakefile from RSpec 1.3 to RSpec 2

Alex Chaffee
Tuesday, October 26, 2010

I’m updating Erector to RSpec 2 and came across two problems for which solutions were surprisingly difficult to Google. Here are my (finally successful) results.


Problem:

no such file to load -- spec/rake/spectask

Before:

require "spec/rake/spectask"  # RSpec 1.3

After:

require "rspec/core/rake_task" # RSpec 2.0

Problem:

undefined method `spec_files=' for #<RSpec::Core::RakeTask:0x00000101550aa8>

Before:

# RSpec 1.3
Spec::Rake::SpecTask.new(:core) do |spec|
  spec.spec_files = FileList['spec/erector/*_spec.rb']
  spec.spec_opts = ['--backtrace']
end

After:

# RSpec 2.0
RSpec::Core::RakeTask.new(:core) do |spec|
  spec.pattern = 'spec/erector/*_spec.rb'
  spec.rspec_opts = ['--backtrace']
end

See also http://github.com/rspec/rspec-core/blob/master/Upgrade.markdown (curiously cloaked from Google searches for the above problem strings).

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Mike Barinek

Rails 3 with RVM and Cruise Control

Mike Barinek
Tuesday, October 26, 2010

Here are a few notes on how to get individual CruiseControl.rb project Builders running with RVM.

[Note: I'm making an assumption here that you know and understand Bundler and RVM.]

[Also: Cruise may or may not be running on RVM]

Create and check in a .rvmrc file in your rails root directory. Here’s an example.


rvm ruby-1.8.7-p174@rails-example

Then, add a project build command to your cruise_config.rb file.


Project.configure do |project|
  project.build_command = './cruise_build.sh'
end

Finally, create a cruise_build.sh file. The bash script setups rvm and just calls your cruise control build task.

[Note: Your cruise rake task should probably call Bundler's "bundle install".]


#!/bin/sh

source $HOME/.rvm/scripts/rvm && source .rvmrc

rake cc:build

…and your cruise project builder is now using RVM!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Andrew Kitchen

Standup 2010-10-25 — Rails 3-related helps and interestings

Andrew Kitchen
Monday, October 25, 2010

Help

  • Edit: followup to delayed_job job logging failures

Switching to resque might help, but not without first rewriting the jobs.

More research yielded the fact that delayed_job reopens all files (including the log files) when it spins up. Under Ruby 1.8, File#reopen defaults file mode to last set, while 1.9 defaults to read only. This could easily cause logging failures. (with a nod to Davis W. Frank for the followup info)

Interesting

  • Calling .destroy on a has_one relationship does not update the record association to nil, which can cause problems when the relationship is subsequently updated. It was suggested that calling .clear on the association might help work around the issue.

  • Rails 3 request helper methods in ActionController::TestCase::Behavior take the session and flash hashes as parameters, as opposed to setting them explicitly before making a normal get request. Compare http://api.rubyonrails.org/classes/ActionController/TestCase/Behavior.html#method-i-get with http://api.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html#method-i-get for more detail

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Colin Shield

Standup Oct/19/2010: Cedar, a BDD Testing Framework for Objective C

Colin Shield
Wednesday, October 20, 2010

Interesting Things

Cedar, a BDD Testing Framework for Rails”, Saturday, October 23, 2010 11:00 AM!

  • 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. 1
  2. 2
  3. 3
  4. →
  • 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 >