Category Archives: Uncategorized

Making DSLs with Ruby

My favorite Ruby Kaigi talk was by Yasuko Ohba (@nay3) of Everyleaf Corporation in Japan. Despite the fact that the talk was in Japanese, with nice code examples on the slides and key translations over IRC, I was able to follow the presentation and learn some tricks. The coding techniques are really quite [...]

Blazing Cloud Sign

We have a new sign for our office. Check it out next time you visit:

What’s weird about floats in objective-c?

Aright, what’s up with this? This code using a double works just fine:

double myDouble = 2.2;
NSLog(@"myDouble %f", myDouble);

[self testDouble:myDouble];

- (void) testDouble:(double)myDouble {
NSLog(@"testDouble %f", myDouble);
}

This code prints:
myDouble 2.200000
testDouble 2.200000
No surprises there. But the same code using a float behaves very strangely:

float myFloat = 3.3;
NSLog(@"myFloat %f", myFloat);

[self testFloat:myFloat];

- (void) testFloat:(float)myFloat {
[...]

Our First Chef Cookbook

We recently deployed an Amazon EC2 instance and I was tasked with installing and configuring Red5 and Openfire on the system. As I often do, I took careful notes of what I did on a wiki, which is useful to have in case another instance needs to be brought up later. Manual installation using notes, [...]

Strategies on Improving Pair Programming

For last week’s retrospective, we decided to focus on strategies to improve our performance as pair programmers. We chose the “Force Field Analysis” activity from the Agile Retrospectives book, an activity geared toward gaining insight. I was pleased to hear at the end of the retrospective, one of the newer engineers remark:
“In my [...]

Deploying a Redmine Wiki to Heroku

One of the recommendations that came out of our recent retrospective was to create a Blazing Cloud wiki where we would store all of our project information, best practices, how to’s, etc.  We wanted a wiki that was free, configurable/customizable and could be easily deployed to either Heroku or another hosting provider we are familiar [...]

Retrospectives: The Fish Bone

Can a fish bone help make a good team great?  That depends on what kind of fish bone we are talking about…
Blazing Cloud recently purchased the book Agile Retrospectives: Making Good Teams Great.  I skimmed through the book’s activities last week in preparation for leading a retrospective.  I picked the Fish Bone activity because [...]

Cucumber Debugging Tip

Tracking down the root of an unmet expectation is even trickier when you can’t see what the expectation is being compared to… one great resource I’ve been using as-of-late is cucumber_rails_debug. Here’s the readme, in all of its complexity:
Usage:
Add:
require ‘ruby-debug’
require ‘cucumber_rails_debug/steps’
To features/support/env.rb
Then use:
Then debug # opens the debugger
or
Then what #prints out params, url and html
Simply [...]

ReadWriteWeb Mobile Summit

I was excited to participate in the ReadWriteWeb Mobile Summit last Friday. Elesterama has a nice write-up of the keynote, which was followed by an unconference led by the fabulous Kaliha Hamlin. The unconference format puts the hallway track front and center, allowing for lots of interaction and great conversations. The hot [...]

Rails3, RSpec2 and WebMock

Yesterday we were deep in the middle of coding using RSpec 2 and Rails 3 and needed to verify that a method made a specific http request. I happily discovered WebMock, which appears to be a next generation FakeWeb. Originally developed by Bartosz Blimke, I was happy to see that Sam Phillips had [...]