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

Ian Zabel

[Standup][NY] Wed 5/18/2011: TeamCity + git + symlinks == fail

Ian Zabel
Wednesday, May 18, 2011

Interesting Things

A standup of pivots (Sam Coward, Sean Moon, Peter Jaros, and Brent Wheeldon) have recently run into a bug in TeamCity that causes trouble with symlinks when using git.

If you commit symlinks into your repo, TeamCity will not properly transfer these to the build agents. They end up being copied over to the agents as plain text files.

The workaround for this issue is to use Agent-side Checkouts instead of Server-side Checkouts.

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

Ending Support for Tweed, our Twitter client for HP webOS

Davis W. Frank
Tuesday, May 17, 2011

Over the past two years we’ve worked on Tweed, our webOS Twitter client, we’ve learned a lot about mobile development, JavaScript techniques and of course the Twitter client space. But the landscape has changed a lot recently so we’ve been thinking a lot about Tweed.

We’ve realized that it takes a lot of resources to maintain a Twitter client to the level of features and quality that Twitter users demand. The Twitter API changes frequently and new Twitter-related services appear all the time.

HP is shipping new webOS devices and has a new framework to go with them so we would need to reinvest a lot of time in order to keep up with the platform.

Add in that Twitter recently changed their policy regarding 3rd party client applications and the justification of continued effort is questionable.

After careful consideration we decided that the correct course of action is to formally end development and support for Tweed.

What does this mean for me?

If you have Tweed on your phone currently, it will continue to work.

However, Tweed will (shortly) no longer be available in the App Catalog. This means you will no longer be able to purchase, re-download, or restore Tweed to another webOS device.

There are several ways to use Twitter on your webOS device, including Twitter’s excellent mobile web interface. But the application that has the richest, most-comparable-to-Tweed feature set is Carbon by dots & lines.

We’ve let dots & lines know about our plans and they’ve graciously offered to lower their price to $1.99 for a couple of weeks to help current Tweed users who want to migrate to an actively-maintained Twitter client. The price change should go live shortly.

Thanks to all of you who have bought Tweed, helped us find and fix bugs, and supported each other in the Twitterverse.

UPDATE Price drop for Carbon is live and dots and lines has some nice things to say on their blog

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

Standup 5/17/2011 — You can't un-ring the bell

Andrew Kitchen
Tuesday, May 17, 2011

Help!

heroku_san + autotagger >>> anyone? anyone? Ken wants to talk to you.

Half help, half interesting

versions in .rvmrc — use them. If you’re simply using ree@gemset things might fall apart after an upgrade. A better practice would be to use bundler, which will be more reliable in reinstalling your required gems if your ruby is upgraded.

Totally interesting

Pair eXchange at Pivotal SF tonight. Bring your side project and your thinking brain, and look forward to some fun pair programming!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ian Zabel

[Standup][NY] Tue 5/17/2011: ActiveResource, you're still my friend.

Ian Zabel
Tuesday, May 17, 2011

Interesting Things

Mike Gehard mentioned that there is a movement to extract ActiveResource from Rails. For now, it’s been shot down. But don’t bet against the haters! Work is underway to rewrite it from scratch. We’ll probably hear more about this as RailsConf proceeds.

Events

  • TechCrunch Disrupt Hackathon is this weekend, May 21-22. Pizza, beer, and RedBull will be provided, and there will be much hacking.

Stretch!

Todd taught us a new stretch that involved us standing with one leg crossed over our other knee while bending and touching the floor. I always wonder what we must look like to innocent bystanders.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ken Mayer

[Standup][sf] 2011-05-16 Too much cowbell

Ken Mayer
Monday, May 16, 2011

Needful Things; Help

  • How to test command line applications? Use the old stand-by, expect, patch into the highline library, or the new hotness, aruba (CLI steps for Cucumber).

Very Interesting Things

  • fbAsyncInit does not fire when Facebook is really ready, only kind of sorta, maybe ready.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ian Zabel

[Standup][NY] Mon 5/16/2011: Best Stretch Leader EVAR

Ian Zabel
Monday, May 16, 2011

Interesting Things

  • Beware setting class variables in Rails Initializers: Schubert warned us that if you’re setting vars on your Rails classes inside of config/initializers, you’ll see weird things happen in development mode.

    If you set a class var on a model in an initializer, the value will be available on your first request to the app. However, upon the second request, Rails will reload the class, but it will not reload the initializers. At this point, you’ll have lost the value.

  • Bash Brace Expansion: If you ever find yourself renaming a file in some faraway path, you think to yourself, “Wouldn’t be nice if I didn’t have to specify the entire path and filename twice?” Many shells provide you with a nice shortcut.

    So, instead of:

    mv /a/b/c/d/foo.feature /a/b/c/d/bar.feature
    

    You can use:

    mv /a/b/c/d/{foo,bar}.feature
    

    It’s pretty hot. Of course, there are many other applications of brace expansion. Check out the reference here:
    http://www.gnu.org/software/bash/manual/bashref.html#Brace-Expansion

Dangerous

Schubert rewired a bunch of power cables in the server room. If you notice that something isn’t right, you now know who to blame.

Events

  • Peter mentions that BarCamp NYC is this weekend, May 21, 22. It sounds like a lot of fun, and a great place to learn and meet interesting people.

  • Agile UX will be meeting here this Thursday. The topic will be Rails for UXers.

Stretches

Finally, Austin lead us in stretches this morning. It was quite exhilarating. Most of us ripped our pants and snapped our credit cards in half.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Matthew Kocher

Yaml, Psych and Ruby 1.9.2-p180 – Here there be dragons

Matthew Kocher
Saturday, May 14, 2011

As mentioned in yesterday’s standup blog, my pair and I encountered some problems with YAML parsing over the last few days, and now that I think I understand it I wanted to document it for posterity.

Psych is a new YAML parser which presumably is better than what came before it, but can’t merge hash keys correctly and doesn’t work with delayed job. The merging of hash keys is serious, as our standard databse.yml defines a common section, and back references it merging in individual database name and settings. When psych is loaded, we get a blank database name, which makes active record pretty much useless.

Ruby 1.9.2 optionally compiles psych into ruby if you have libyaml installed on the computer. Some gems will require psych if it’s available, thus poisoning any future YAML parsing which does not expect psych’s pedantic (and currently broken) behavior.

You can always look at the value of the YAML constant – it can varry between YAML, Syck and Psych, depending on what’s loaded. You can switch the yamler by adding YAML::ENGINE.yamler = ‘syck’, but you need to make sure this happens at every code entry point.

For now, I’m no longer install libyaml and libyaml-devel on servers, which got there because I had been following RVM’s information ruby prerequisites. I’ll also write a chef recipe to assert that libyaml is not installed.

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

Standup for 5/13/2011: requiring yaml and psyche, order matters

David Stevenson
Friday, May 13, 2011

Interesting Things

  • require "psyche"; require "yaml"? WRONG! We’ve found you have to do them in opposite order or your parsing is “all screwed up”.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jonathan Berger

NY Stand-up: Gonna Get Down on Friday the 13th

Jonathan Berger
Friday, May 13, 2011

Interesting

Kris Hicks reassures us that the vim path through git interactive rebases need not lead to maddness. If you’d like to do an interactive rebase in your editor of choice (rather than Textmate, the Pivotal default) you can set the GIT_EDITOR flag. So go ahead to the terminal and

export GIT_EDITOR=vim && git rebase -i origin/master

Vim will launch, changes will be made, commits will be squashed, and all will be right with the world. Until you try to save; after making your changes and :wq-ing, the terminal will admonish you Could not execute editor.

The problem is a vi + Mac OS X + git incompatibility with pathogen (the vim package manager). To fix it, add the following lines to your .vimrc file:

filetype on
filetype off
...pathogen crap...
filetype on

For more on this issue, see http://andrewho.co.uk/weblog/vim-pathogen-with-mutt-and-git

Dangerous

Rayban reminds us that you best yield before you exit the block.

For example:

around_save :check_something, :if => "my_attribute_changed?"

def check_something
  return unless my_attribute == "foo"
  yield
  # do some stuff...
end

will not save unless my_attribute == "foo"— if your condition to run the around filter rarely happens you might not notice this fairly obvious behavior and be confused confused confused.

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

Powering down gems.pivotallabs.com

Sean Beckett
Friday, May 13, 2011

We’re planning to decommission our gems.pivotallabs.com RubyGems server on Friday, June 17th. If you are dependent on gems hosted there, and the logs suggest there aren’t many of you, please find an alternate source for your gems.

Since Bundler has become available, there are now other options for making custom or forked gems available to Ruby applications, so we no longer have a need for our own dedicated Gem server. You can point to rubygems.org or direct bundler to the github repos for all of the gems we are currently hosting. We hope this doesn’t cause any significant inconvenience and please leave a comment if you have concerns.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (783)
  • rails (117)
  • testing (90)
  • ruby (85)
  • 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. →
  • 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 >