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: September 2012

Jonathan Berger

Tips for Agile Design talk at Method Design.

Jonathan Berger
Thursday, September 13, 2012

I had a great time meeting the Method Design crew when I gave a short lunchtime talk “Tips for Practicing UX Design that I learned from Agile Development” at their studio. Thanks to Ted, Lindsay, and the gang for hosting!

Slides are here.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Bleicke Petersen

[Standup][SF] 09/13/12: Diamond Gold Bar Day

Bleicke Petersen
Thursday, September 13, 2012

Helps

  • How far to go when testing production?

  • Test something when you’re afraid it’s going to fail, e.g because you don’t trust an API

  • This becomes monitoring

Events

  • SF DevOps meetup tonight!
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Desmond Bowe

Best Standup Ever!

Desmond Bowe
Thursday, September 13, 2012

(Title: 09/13/12: Best Standup Ever!)

Events

  • Thursday: NYC Lean Startup Meetup

Q&A with Eric Ries
Description: Eric Ries, the author of The Lean Startup, is in NYC and joining us to answer questions from the community. We will be doing light moderation, but this event is really about you getting a chance to talk to Eric.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Doc Ritezel

[Standup][SF] 09/12/12: The Milkshake Fiasco

Doc Ritezel
Wednesday, September 12, 2012

Events

  • Chocolate Milkshake Day was announced but not substantiated.

    The SF office is now in breathless anticipation of chocolate milkshakes.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Desmond Bowe

09/12/12: [NY][Standup] 9/12/2012 $0-$4 in Chrome

Desmond Bowe
Wednesday, September 12, 2012

Interestings

  • $0 – $4 in Chrome

You can reference the 4 most recently selected elements from the Elements panel via these variables.

  • Bundler.with_clean_env

When you shell out from your ruby script and run the “bundle” command, it will bundle within the context of your script’s Gemfile (even if you cd first to another directory with a different Gemfile).

If you need to shell out and bundle outside the context of your script’s bundle, use Bundler.with_clean_env. For example:

Bundler.with_clean_env do
  `cd /some/other/bundled/project  && bundle`
end

We ran into a need for this on LicenseFinder – we wrote an integration test suite that bootstraps a bundled project, adds dependencies with various licenses to it, then tests the output of license finder on the project.

Events

  • Wednesday: Happy Programmers’ Day! (256th day of the year)

http://en.m.wikipedia.org/wiki/Programmers’_Day

  • Wednesday: Junior Developer Panel Meetup (or… How to Get Your First Coding Gig)

http://www.meetup.com/nyc-on-rails/events/79685082/

Are you someone teaching yourself to code, looking for your first job as a developer? This panel will address the questions of how to get your first job as a professional programmer, and what is expected of someone in that sort of role. Questions from the audience are also welcome. Our panelists:
Jeffrey Baird (Junior Developer @ Medivo)
Aidan Feldman (Developer @ Jux & Teacher @ NYU) – moderator
Avi Flombaum (Founder of Flatiron School)
Pedro Ha (Teacher @ NYU & Developer @ CNBC)
Dan Langevin (CTO @ Lifebooker)
Debbie Madden (Exec. VP @ Cyrus Innovation)
Beforehand, make sure to check out Jeffrey’s great post on getting his job. If you have other good resources around this topic, feel free to post in the comments. We will do our best to record this, for those who can’t make it. Note this event is not Rails-specific. Drinks and snacks provided by Pivotal Labs. Lastly, in an unusual meetup twist,recruiting [for junior developers] is welcome!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charlie Springer

Tracker Screencast: How many ways can you view a file attachment?

Charlie Springer
Tuesday, September 11, 2012

This screencast covers a lot of bases. Check it out to see file attachments and full page story view in action! There are a couple ways to attach files. Drag them into an open story or press the paper clip button, and don’t forget, you can drag in multiple files at once! Click the cogwheel to download or delete the image. The same rules apply in full page story view.

VIDEO

There are also a few ways to view attachments, pop out to full story view, clicking on the attachment for a full page view of the single attachment. You can also view all images by flying over the speech bubble, click the “view all images” in flyover to see just the images on a separate page. This is my favorite way to view attachments because they’re large and in once continuous column which is great for walking through new UI changes.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Danny Gagne

[Standup][NY]09/11/12: CanCan condition hashes)

Danny Gagne
Tuesday, September 11, 2012

Interestings

  • CanCan, condition hashes, and index actions

If you have something like:

`can :manage, Group, memberships: { user_id: user.id }`

and:

`class Group < AR::Base
has_many memberships
end
`

you will get duplicate Groups in index action’s @groups ivar when you load_and_authorize (sic) :group as CanCan will do an SQL join of the groups and memberships table.

The solution for us was to use a block and populate the @groups ivar ourselves in the action.

Events

  • Tuesday: NYC.rb Presentation Night
    http://www.meetup.com/NYC-rb/

Founded in 2004, NYC.rb is the place for experienced Ruby and Rails programmers in New York City.
MEETUPS
We meet on the second and fourth Tuesdays of the month. Second Tuesdays are for one or more talks, and fourth Tuesdays are just hackfests, where people bring their laptops and hang out.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Bleicke Petersen

[Standup][SF] 09/11/12: As far as standups are concerned, it was ok

Bleicke Petersen
Tuesday, September 11, 2012

Helps

  • Tracker search: NOT label

I’d like to run a search in Tracker for stories that are not marked (labelled) “blocked”. How?

Try “-blocked”

  • Compass Rails + Premailer + Heroku = File to import not found or unreadable

Sass::SyntaxError
Error
File to import not found or unreadable: compass/css3/box-shadow. Load path: Sass::Rails::Importer(/app/app/assets/stylesheets/email.scss)
/app/app/assets/stylesheets/text_styling.scss:1
/app/app/assets/stylesheets/email.scss:2

Possibly, your gem is in the assets-group, not the production-group. This means it will not be loaded on production. Try moving it to production.

Interestings

  • heroku maintenance mode works through the API but not the CLI

i.e., through herokusan but not by doing heroku maintenance:on.

May be a bug in the heroku gem.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Austin Vance

[Standup][Boulder] 9/11/2012: I’m sick with your Errors

Austin Vance
Tuesday, September 11, 2012

Interesting

  • ActiveRecord::Base#clone and ActiveRecord::Base#dup will hold reference to the same ActiveModel::Errors. This will create situations where running valid on one record will add errors to both.
class Dog < ActiveRecord::Base
  validates_presence_of :ball
end

fido = Dog.new
fido.valid?

rex = fido.dup
rex.ball = "tennis"
fido.valid?

fido.errors.empty? == false

Events

Ruby Group Tonight @ 6:30

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Brian Cunnie

Accessing the Packages that underlie Apple’s App Store

Brian Cunnie
Monday, September 10, 2012

Apple uses its App Store as a mechanism to distribute software, and it works quite well when a human operator is available to interact with it.

Unfortunately, many configuration management tools (e.g. chef, puppet) can’t interact with the App Store, but they can interact with MAC OS X installer packages (.pkg, .mpkg files). We’ll show you how to extract the underlying installer package file from the App Store.

This was tested under OS X 10.8.1 installing the OS X server package. It may not work for other packages.

Procedure

Bring up the App Store, find the package you would like to install, install it, and as soon as it starts downloading, jump to a terminal window and stop the installd daemon by sending it a STOP signal:

sudo killall -STOP installd

Find out where the package file was downloaded to using the lsof command:

sudo lsof | grep storeagen | grep pkg

The pathname should be a long and fairly random string, similar to “/private/var/folders/83/5wx556bd59zbj0n2j0w7kjyc0000gn/C/com.apple.appstore/537441259/mzm.unntdyyb.pkg”. You’ll need to move that file to the appropriate location.

mv /private/var/folders/83/5wx556bd59zbj0n2j0w7kjyc0000gn/C/com.apple.appstore/537441259/mzm.unntdyyb.pkg ~/os_x_server.pkg

Now that we’ve moved the package to a safe place (and inadvertently pulled the rug out from under the installd daemon), we’re ready to let the installd daemon continue and generate an error message:

sudo killall -CONT installd

Ignore the error message about a failed install.

The package would be subsequently installed by using the installer command, e.g.:

sudo installer -pkg ~/os_x_server.pkg -target /
  • 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. 4
  6. 5
  7. 6
  8. →
  • 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 >