… of many things …

… of many things … header image 4

Entries Tagged as 'Computing'

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

JRuby

May 20th, 2007 · No Comments

WOH!  I wasn't very excited about JRuby until I went to the "JRuby on Rails" session at RailsConf 2007! Check it out.  Also, check out GlassFish from Sun (an open source application server).

[Read more →]

Tags: Computing · Java · Ruby

RailsConf 2007

May 20th, 2007 · No Comments

Some quick thoughts on RailsConf 2007:

the overwhelming thing is that I think it's a shame that we can't have a conference for geeks without degrading to the basest forms of entertainment

I realize I can't impose my morality on anyone else, but uses of absolutely inane four-letter words is completely unnecessary.  Why can't we keep a [...]

[Read more →]

Tags: Computing · Ruby

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