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

Dennis Cahillane

Command-T keyboard shortcuts

Dennis Cahillane
Friday, November 30, 2012

Command-T is an awesome vim plugin installed by default on the Pivotal workstation. There are some great keyboard shortcuts that make it even better.

Normally to use Command-T, you type leader-f, locate your file using the fuzzy finder, then hit <CR> (vim-speak for carriage return) to open it. But instead of <CR>, you can hit the following:

<CR>        open the selected file
<C-CR>      open the selected file in a new split window
<C-s>       open the selected file in a new split window
<C-v>       open the selected file in a new vertical split window
<C-t>       open the selected file in a new tab

<C> is control. To learn more about Command-T, type

:help command-t

At the vim prompt. Thanks to my pair today, Ian Zabel, for showing me this stuff.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Arjun Sharma

11/30/12: I still believe in your mustache, McGinley

Arjun Sharma
Friday, November 30, 2012

Interestings

mock.as_null_object doesn’t do what it says it does

The comments in the implementation suggest that it will respond to every message that isn’t explicitly stubbed with self, but there are some exceptions. Ones we found:

  • nil? # returns false
  • class? # returns RSpec::Mocks::Mock
  • present? # returns false, since blank? returns self, and !self is false
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charles Hansen

Standup 11/29/12: Time.now, more like Time.at(2011)

Charles Hansen
Thursday, November 29, 2012

Helps

mock object nil when it shouldn’t be

(rdb:1) @registration

RSpec::Mocks::Mock:0x3fda7eabfd68 @name=”mocked registration”

(rdb:1) @registration.present?
false
(rdb:1) @registration.nil?
false

  • mock objects don’t always define nil? or present?

Interestings

David Chelimsky handing off rspec

David Chelmisky is stepping down as the RSpec lead after 6+ years. http://blog.davidchelimsky.net/2012/11/28/myron-marston-and-andy-lindeman-are-rspecs-new-project-leads/

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charles Hansen

Standup 11/28/12: Mohawk Day!

Charles Hansen
Wednesday, November 28, 2012

Helps

Request log output in controller specs

We are getting info level log out put when running our specs from the controller examples. I don’t know how they are getting turned on nor how to turn them off

  • Crickets

default host when using url helpers in regular classes

How do most projects handle the default host for url helpers when the helper is being included in presentation classes etc?

  • Pass your controller to your presenter and ask the controller for url helpers

making rspec2 custom example groups

any one know how to define custom example groups in rspec and associate them with specs in a given folder.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Robbie Clutton

Using Jasmine on tddium

Robbie Clutton
Tuesday, November 27, 2012

With thanks to Ben we discovered a nice way to get Jasmine tests to work on Tddium today. We had a number of issues with the jasmine-headless-webkit dependency Tddium said we had to use. Issues around requiring a file that required erb to compile; not finding the source files; getting to work in the browser but not the command line and maybe a few others.

Ben pointed out some undocumented configuration for Tddium which outlined ‘custom’ build steps wherein you could call the jasmine:ci rake task. This cleared everything up. Although I’m not sure how as Tddium said it could only cope with a headless browser environment.

Here’s the gist I hope it saves you as much time as it did me.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Arjun Sharma

11/27/12: T-1 Day Until Mohawkvember

Arjun Sharma
Tuesday, November 27, 2012

Interestings

Tech in the World

Joshua Lee, a Summer ’12 intern in San Francisco, has co-founded Tech in the World, an initiative to expose top computer science students to underserved needs in developing communities.

Please visit http://www.techintheworld.org/ and consider supporting Joshua and his team.

Events

Tuesday: Tech Talk – Craig Muth on Xiki

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ronan Dunlop

Tracker Ecosystem: Redline.cc – Translating Designerese into Developerish

Ronan Dunlop
Monday, November 26, 2012

It’s not that designers and developers don’t or can’t get along. What the team at Redline realized is that they speak a different language. So to facilitate the communication between these two life forms they created this tool

It’s simple to set up, simple to use and simple to incorporate into your Pivotal Tracker account – what else could you ask for?

Redline.cc is in beta – so cut them some slack (not that there’s anything to gripe about) and ask the designers you work with to give them try.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Charles Hansen

Standup 11/26/12

Charles Hansen
Monday, November 26, 2012

Interestings

dotenv Gem

Have you tried this gem? It kind of rocks it. Works great with a Heroku development environment. It even has files for different Rails modes, e.g. .env.test

https://github.com/bkeepers/dotenv

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

The Journey to Using a Standing Desk

Jonathan Berger
Friday, November 23, 2012

Why a standing desk?

Ultimately the goal is to go to a treadmill desk (for reasons outlined here), but before sinking the money and effort into that endeavor, I’d been meaning to try out a standing desk. It was never really a priority and I was working at a client-site (which inhibited my ability to request furniture) and so I kept putting it off. Finally one day I snapped. After lunch I went to the copy room, started grabbing reams of paper, and in less than 10 minutes I had a standing desk from W.B. Mason.

Standing Desk #1: Improvised Standing Desk

Standing Desk #1: Improvised Standing Desk

After half a day standing I felt pretty good—my legs were a little tired, but less than I’d expected. The next day we went back to the home office for a lunchtime tech talk. The plan was to stand at the WB Mason in the morning and then sit for the rest of the day at my home office, but I found that I wanted to remain standing. I commandeered an unused metroshelf and built a desk out of it.

Standing Desk #2: Quick metro standing desk

Standing Desk #2: Quick metro standing desk

I wanted a few surfaces on the desk: a shelf for the monitor, another for the keyboard and mouse, a third for random work / storage (e.g. to set down keys or reference book or to put your cup of coffee out of accidental-spill range), and a place to rest my feet. Changing position is important if you’re going to stand for long periods of time, and resting a foot on a raised surface changes the way your body carries weight (this is why taverns often have a brass bar to rest your foot on). Its also helpful to have a shelf at the bottom which gives rigidity to the structure of the desk. Metroshelves aren’t very deep, but here’s the trick: it’s possible to hang a shelf on only 2 of the 4 poles, and thereby double the depth. The cantilevered shelf won’t bear as much weight as a shelf with 4 supports, but its sufficient for a keyboard, or even an iMac.

In order to get better foot access to the bottom shelf, I cantilevered the top shelf behind the desk, so the keyboard shelf is over the foot shelf. As a bonus, the iMac floats above the air conditioning unit, reclaiming a bit of wasted space.

It’s hard to see in this photo, but the back of the shelf directly leans against the wall. Note also that the UPSes on the bottom shelf to act as a counterweight to lower the center of gravity. This thing is secure from falling towards the window; no one wants a $2000 iMac tipping over.

Standing Desk #3: Kitchen Island

Standing Desk #3: Kitchen Island

The next day was a blizzard, and I decided to work from home. Not willing to quit my standing streak, I moved my spare monitor to kitchen island and worked from there for the day. I also experimented with using an iPad and AirDisplay as an additional monitor. Its small and suffers from high latency, but it works just fine as a Pivotal Tracker display.

Standing Desk #4: Keyboard Shelf Metrodesk

Standing Desk #4: Keyboard Shelf Metrodesk

Cantilevering an iMac scared enough people that I reconfigured the desk to put the keyboard at front. The footrest is pretty much unusable now (but the bottom shelf is still nice for rigidity and storage), but the desk definitely feels more solid. Wooden butcher-blocks are added for a nicer work surface.

Standing Desk #5: Cantilevered 48in. Metrodesk

Standing Desk #5: Cantilevered 48in. Metrodesk

Back at the client site, I finally found some metroshelves to build into a standing desk. This one followed the rear cantilever design, which worked nicely given this particular A/C unit and space constraints. This one is a 4-foot-wide desk, which is substantially nicer to pair on. Again, you can see the shelf directly leaning against the structural wall to prevent tipping over backwards. Here we use Mac Pros as the counterweight.

Conclusion

I’ve been standing at desks almost exclusively for ~24 months now, and aside from the occasional exhausted day when I grab a high stool to sit on, I doubt I’ll ever go back to sitting full-time. Standing desks have blossomed at the office too: we’ve got 5 Metroshelf standers, and another 4 or 5 Geekdesk-style adjustable desks. Since we’re a pair-programming shop, that’s ~20 people standing every day. We use bar stools and architectural drafting chairs to let a stander pair with someone who prefers to sit, and the standing Metroshelf desks have proven to be economic, ergonomic, efficient in their use of space, robust, and flexible. Now I just need to figure out how to get a treadmill desk in here…

Appendix

A NOTE ABOUT SHOES:

Don’t wear them. Your feet are perfectly built to support your bodyweight for long periods of time. Even the best running or walking shoes are less than perfect. Barefoot or socks is the way to go.

A NOTE ABOUT FITNESS:

If you’re the kind of person who’d be sitting on a balance ball at a sitting desk, try a Bosu Ball for your standing desk. It’s a great all-day workout for your core and legs, and its a lot of fun. A word of warning: for the first day or two, your vestibular system (i.e., sense of balance) will get quite a workout. I definitely felt the added cognitive load, and while it doesn’t prevent you from using the rest of your brain for work, it definitely takes a bit of concentration. By the second or third day I was used to it, and not standing on a balance ball just felt boring.

A NOTE ABOUT WHEELS:

Get them. Being able to easily relocate the desk is unexpectedly awesome and useful.

A BONUS: Tete-a-tete Pairing Desk

This could provide a standing version of Susser’s Tete-a-tete pairing configuration. We mocked it out when we ordered the second desk, but haven’t had a chance to try it out for real.

Standing Desk #6: Tete-a-tete experimental pairing standing Metrodesk

Coming Soon:

How to build a metroshelf standing desk.

UPDATE 2013-02-10: check out How to Build a Standing Desk!

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

Mid-ish Movember

Davis W. Frank
Wednesday, November 21, 2012

We’re about 2/3 of the way through Movember. How are we doing?

Movember 1st, a bunch of us in the SF office started clean-shaven. We’ve talked about prostate cancer. And we’ve grown some Mo’. We’ve talked about testicular cancer. And we’ve grown some Mo’. We’ve raised some money…actually, we’ve raised a LOT of money.

The Webstache network has raised over $12,000 so far – and that’s before we’ve all been the laughing stock of our various Thanksgiving tables tomorrow. Thanks to all the friends at AirBnB, Square, and Snapfish who’ve helped and itched our way to such a good mark.

But there’s so much more to do. More people to inform, more whiskers to grow, more money to raise, and maybe a few heads to shave.

Stay tuned.

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