… of many things …

… of many things … header image 4

Entries Tagged as 'Software'

Force.com Migration Tool (a real world example)

August 28th, 2008 · No Comments

I think the docs that come with the Force.com Migration Tool are woefully understated. Jon Mountjoy's article is a good overview, but it doesn't do much to help at the nitty-gritty-detail-level. So, I thought I would post this showing how we use the tool.
First things first. What is it? The [...]

[Read more →]

Tags: Force.com · Computing · Software

Meta-Programming in Smalltalk vs. Ruby

September 8th, 2007 · 1 Comment

I am both a Rubyist & a Smalltalker. I enjoy both environments immensely and use them for different purposes. In a recent flurry of posts, James Robertson over at Cincom completely misunderstood the point Neal Ford was making about the meta-programming facilities Ruby offers versus the facilities Smalltalk offers, or better yet the [...]

[Read more →]

Tags: Computing · Software · Ruby · Smalltalk

Javascript: Get number of months between two dates

April 2nd, 2007 · No Comments

PLAIN TEXT
JAVASCRIPT:

function monthsBetween(thisDate, thatDate) {

if (thisDate> thatDate) {

return monthsBetween(thatDate, thisDate);

}

 

var number = 0;

if (thatDate.getFullYear()> thisDate.getFullYear()) {

number = number + (thatDate.getFullYear() - thisDate.getFullYear() - 1) * 12;

} else {

return thatDate.getMonth() - thisDate.getMonth();

}

 

if (thatDate.getMonth()> thisDate.getMonth()) {

number = number + 12 + thatDate.getMonth() - thisDate.getMonth();

} else {

number = number + (12 - thisDate.getMonth()) + thatDate.getMonth();

}

return number;

}

[Read more →]

Tags: Computing · Software

A good article on testing timeouts

November 22nd, 2006 · No Comments

http://jroller.com/page/Groboclown?entry=unit_testing_time_sensitive_code

[Read more →]

Tags: Computing · TDD · Java · Software

Dave Astels on BDD

October 21st, 2006 · No Comments

Dave Astels has a pretty good, if not controversial, post on BDD vs. TDD. As some BDDers will tell you, BDD is a specifications-centric instance of TDD. I don't think the two are mutually exclusive (as Dave suggests) nor that BDD is just a specifications-centric instance of TDD. TDD done right is [...]

[Read more →]

Tags: Computing · TDD · Software