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

Red Bull Book Club Block Party (with fireworks)

Jeff Hui
Friday, February 15, 2013

Helps

Rails remote link gets updated

Rails link remote.

Get HTML into the Dom? Without the callback? (no id)

  • Turbo links?
  • Delete ujs from the app

Events

Friday: Block Party between 4th and 5th on Bluxome

http://engine.is/blockparty

This Friday celebrating start ups in SF w/food trucks at lunch time.

Come meet Engine Advocacy – startups' voice in government.
Bring your friends, enjoy great food, and learn about becoming
an Engine member.

Engine's Startup Block Party
February 15, 2013
11:00 am – 2:00 pm
Bluxome St., between 4th and 5th

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Valentine’s “pair exchange”

Jeff Hui
Thursday, February 14, 2013

Helps

PostGIS 2.0 as a service?

We want to use PostGIS 2.0 but Heroku's docs on the matter say it's in beta and "subject to change". Has anybody used it in production? Does anybody know of a production-quality alternative?

Interestings

Where is my stdout on CI?

The ci_reporter gem suppresses stdout and stderr by default, so you won't see puts results in Jenkins' console output.

Setting your environment variable CI_CAPTURE to the string "off" will stop suppressing the output.

Events

Thursday: Thursday night pair exchange

In addition to the regular Tuesday event. Same time, 6:15 – 9:00.

Friday: Block Party between 4th and 5th on Bluxome

http://engine.is/blockparty

This Friday celebrating start ups in SF w/food trucks at lunch time.

Come meet Engine Advocacy – startups' voice in government.
Bring your friends, enjoy great food, and learn about becoming
an Engine member.

Engine's Startup Block Party
February 15, 2013
11:00 am – 2:00 pm
Bluxome St., between 4th and 5th

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[SF] Fireworks provided by Colin!!!

Jeff Hui
Wednesday, February 13, 2013

Events

Thursday: Thursday night pair exchange

In addition to the regular Tuesday event. Same time, 6:15 – 9:00.

Friday: Block Party

http://engine.is/blockparty

next Friday celebrating start ups in SF w/food trucks at lunch time.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[SF] Where’s Select 1?

Jeff Hui
Tuesday, February 12, 2013

Events

Tuesday: Ruby Meetup

Meet after work to go there:

http://www.sfruby.info/events/96446412/

Thursday: Thursday night pair exchange

In addition to the regular Tuesday event. Same time, 6:15 – 9:00.

Friday: Block Party

http://engine.is/blockparty

next Friday celebrating start ups in SF w/food trucks at lunch time.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[SF] The Year of the Snake

Jeff Hui
Monday, February 11, 2013

Events

Friday: Block Party

http://engine.is/blockparty

next Friday celebrating start ups in SF w/food trucks at lunch time.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[SF] Standup 7/21/12

Jeff Hui
Tuesday, August 21, 2012

Interestings

  • Always call jasmine.Clock.useMock() after anything that uses setTimeout or setInterval (e.g. _.throttle)

This is smallest example that reproduces the problem we saw in our codebase:

describe(”underscore”, function() {
var foo, throttledFoo;

beforeEach(function() {
jasmine.Clock.useMock(); // bad!

var Mod = Backbone.RelationalModel.extend({});
var Col = Backbone.Collection.extend({model: Mod});
new Col([{selected: false, trashed: false}]);

foo = jasmine.createSpy();
throttledFoo = _.throttle(foo, 500);

// jasmine.Clock.useMock(); // good!
});

it(”should 1″, function() {
throttledFoo();
});

it(”should 2″, function() {
throttledFoo();
});

it(”should 3″, function() {
});

it(”should 4″, function() {
});

it(”should consistently pass but doesn’t”, function() {
expect(foo.calls.length).toEqual(0);
throttledFoo();

expect(foo.calls.length).toEqual(1);

throttledFoo();

expect(foo.calls.length).toEqual(1);

jasmine.Clock.tick(501);

expect(foo.calls.length).toEqual(2);

});
});

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jeff Hui

Jeff Hui
San Francisco

Subscribe to Jeff's Feed

Author Topics

agile (6)
rails (1)
  • 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 >