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: March 2011

David Goudreau

Standup 3/31/2011: Process.spawn pwns all yer codez!

David Goudreau
Thursday, March 31, 2011

Interestings

Get your Rails mentoring on at RailsBridge this April 8th & 9th @ the Modcloth offices in downtown SF. It’s very rewarding.

If you have nested_attributes updating an attribute that is NOT in your attr_accessible attribute list on your ActiveRecord model you won’t get an exception – it will just silently fail. It will, however, output a warning line to your Rails log file. Fun for the whole family.

Using popen to open a process actually calls ‘sh -c’ to open your process, so the process you just ran is actually the child of the ‘sh -c’ process you just ran. This makes tracking down PIDs simply wonderful. :-) You can use ‘exec’ instead and your process will be the parent process. But if you’re using the new hotness you can instead use Process.spawn in Ruby 1.9.

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

NYC Standup 2011-03-30

Pivotal Labs
Wednesday, March 30, 2011

Helps

Floating an image to the bottom right of an element and having text flow around it. Is there a pure CSS solution to this or is Javascript required?

Interestings

Adam wanted an easy command to run during deployment to get the remote master SHA1 of a git submodule.
The command he was interested in was:
git show origin master -- vendor/your-submodule-here

Josh mentioned that Capybara has a new DSL that makes steak unneeded. There’s a good post here on how to get started with it.

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

Standup 03/30/2011

Pivotal Labs
Wednesday, March 30, 2011

Ask for Help

We have an html table with rows that correspond to
database rows. We’d like an easy way to implement per- > row editing of this data, but <TR>s are not happy to be
wrapped in a <FORM>. How fix?

  • use javascript to copy the data to a form element or do a straight AJAX post
  • Backbone.js has the ability to link html elements to server-backed data models, might be handy here
  • put forms around individual <TBODY> elements for the individual rows

We’re using ActiveResource as a foundation for our API client, but it doesn’t process JSON errors correctly. How fix?

This has been in the issues tracker for ActiveResource for over a year and is marked low priority. HttpParty was suggested as an alternative, anyone else have something they like?

Interesting Things

Some folks are using HTML5 Canvas and are taking IE9′s canvas support for a spin. Turns out that if you apply some font settings to text on a canvas and then rotate it, IE9 will actually shift the center point of the text, creating a surprising jump, diagonal in this case. If you don’t want your text to hopscotch across the page, you have to rotate it first, then apply the font.

Webrat used with selenium doesn’t follow redirects with Rails 2.3 on Mongrel. One team used thin instead of mongrel, which solves this problem. Using webrat with thin requires a patch

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

New in Tracker: Story assignment notification, API additions

Dan Podsedly
Tuesday, March 29, 2011

We’ve added a new email notification to Pivotal Tracker which will let you know when someone assigns a story to you. There are also a few new additions to the API, related to projects and iterations.

Story Assignment Notification

In the typical Tracker workflow, stories stay unassigned as they move their way up the backlog and into the current iteration. When a developer frees up, he or she starts the next unstarted story, and becomes that story’s owner.

There are times when it makes sense to assign a story to a particular person before it gets started by someone else, for example when the story calls for certain skills or specialization, like design or UX work.

With this new notification, when you make someone other than yourself the owner of a story, that person will receive an email, saying that the story has been assigned to them. As with all story notifications, it’s possible to reply to that story right from your email inbox, in order to initiate or continue the evolving conversation that the story represents.

This notification is enabled by default, but can be turned off on your Profile page. Look for the Assigned stories checkbox, in the Email Preferences section.

API Enhancements

We’ve added the following information to the projects API response: project start date (if specified in project settings), the exact date/time the first iteration started (based on the date of the first accepted story, or an explicit project start date), current iteration number, and whether tasks are enabled.

Also, iterations now include team strength, all list elements should now include the type=’array’ attribute (to make ActiveResource happy), and you can retrieve the current iteration and all iterations in the backlog in one call, like this:

 curl -H "X-TrackerToken: TOKEN" -X GET http://www.pivotaltracker.com/services/v3/projects/PROJECT_ID/iterations/current_backlog

See the API help page for details and examples.

Note: We’re planing on making more significant improvements to the API soon, as part of a new API version (V4). Look for more information on that in the next few weeks.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Hardware is the New Software

Tuesday, March 29, 2011 | Run time: 38:22

We see the power of cheap cloud hosting, OSS, and incubators to make building a web app cheap, and now the same is happening to hardware. The means of production is becoming democratized and agile hardware startups are popping up to solve problems IRL.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Hardware is the New Software

Sean Beckett
Tuesday, March 29, 2011

We’ve all seen the power of cheap cloud-hosting, open source software, and incubators to make building a web app dirt cheap, but now the same thing is happening in the world of hardware. The means of production is becoming democratized and product designers are becoming like web developers – agile hardware startups are now popping up to solve our problems IRL. Nick Pinkston of CloudFab describes the vision and also the hardware landscape globally and locally in the Bay Area.

See all our talks at http://pivotallabs.com/talks

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Demystifying Autoscale: The Tale of an API Mashup

Sean Beckett
Tuesday, March 29, 2011

Autoscale is a controversial topic. For many applications, autoscale will never be the fire and forget setup we might hope for, but it also shouldn’t require a fancy Platform-as-a-Service. In this talk, Jesse Proudman of the Blue Box Group shows how to combine the New Relic API with the Fog gem to build your own autoscale system using any cloud infrastructure.

See all our talks at http://pivotallabs.com/talks

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Demystifying Autoscale: The Tale of an API Mashup

Tuesday, March 29, 2011 | Run time: 50:58

For most applications autoscale is not fire-and-forget, but it shouldn’t require a fancy PaaS, either. Jesse Proudman of Blue Box shows how to combine the New Relic API with the Fog gem to build your own autoscale system using any cloud infrastructure.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
David Goudreau

Standup 3/29/2011: Git it!

David Goudreau
Tuesday, March 29, 2011

Ask for Help

“Is there a better way to work on a feature, set that feature set aside, do a small change, check that small change in, then resume work on the feature, all using Git?”

git stash was originally used. There were also suggestions to use a feature branch or use one of the Git GUI tools (gitx, tower, smartgit, gitti) that let you partially stage your changes then check in. Or git-friendly workflow scripts or the ol’ reliable git cherry-pick.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Librato Silverline: Application Monitoring and Workload Management Service

Sean Beckett
Monday, March 28, 2011

Joseph Ruscio, Co-founder and CTO of Librato, demonstrates Silverline, their new service providing application-centric monitoring and active workload management. He describes with real-world examples how Silverline improves capacity planning, continuous deployment, root-cause analysis, automated alerting/resolution, and protects applications with predictable degradation under heavy loads.

See all our talks at http://pivotallabs.com/talks

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (781)
  • rails (114)
  • testing (88)
  • ruby (84)
  • ruby on rails (70)
  • jobs (62)
  • javascript (56)
  • techtalk (44)
  • rspec (38)
  • ironblogger (32)
  • productivity (30)
  • activerecord (29)
  • gogaruco (29)
  • git (28)
  • nyc (27)
  • rubymine (26)
  • bloggerdome (24)
  • 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)
  • tdd (14)
  • gem (13)
  • css (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. 4
  5. 5
  6. →
  • 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 >