Events

Tuesday: eXtreme Choosday

eXtreme Tuesday Club is a place to talk about software after work in a retro-style setting. We discuss current topics in software, as well as design patterns and whatever the cool kids are reading right now.

Pizza is ordered. It’s open to the great unwashed, so invite your non-Pivotal friends.

Tuesday: Netflix opensource meetup

Netflix is holding a meetup to talk about their open source projects in Feb 6th. The meetup is happening in Los Gatos and you need to RSVP in meetup.com:

Interestings

nil? is not the opposite of present?

blank? is the opposite of present?. blank? is nil or empty.

false.present? is false.
[].present? is also false.
{}.present? is also false.
“”.present? is also false.

Events

Tuesday: eXtreme Choosday

eXtreme Tuesday Club is a place to talk about software after work in a retro-style setting. We discuss current topics in software, as well as design patterns and whatever the cool kids are reading right now.

Pizza is ordered. It’s open to the great unwashed, so invite your non-Pivotal friends.

Interestings

Watching your browser specs locally from CI

Assuming you’re using the headless gem in CI and have browser specs (Jasmine, Selenium) and want to watch them locally, ssh -X is your best friend. It will have Firefox draw its pixels on your Mac screen. Slow, but powerful.

Helps

we’d like to use a gem (rescue-pool) that uses ‘fork’ in jruby. Right now the gem raises when fork is unavailable in jruby. Is there a pattern for replacing a ruby fork with a java Thread?

Suggestions were made to use Thread.fork instead.

Interestings

Javascript and window.matchMedia

For implementing responsive layout, browsers support the use of event handlers that are tied to state changes of media queries. It means that you can have JavaScript events triggered in a manner similar to how CSS rule changes are implemented.