Maps on Rails at CodeRage 2007

Posted by admin, Fri Mar 16 03:06:54 UTC 2007

Today I am presenting “Maps on Rails” at CodeGear’s virtual conference CodeRage 2007.

For general Ruby and Rails discussions, you should probably look up the Google group RubyOnRails. For more stuff about maps and the APIs I discussed in my presentation, follow the links in my presentation. (will update this page with link when CodeGear posts it).

There are also a number on interesting presentations in the Yahoo Group CRUserS (Calgary Ruby User Society) file download area, including a more detailed presentation on Map Swapping.

If you want a more in-depth introduction to Ruby on Rails, I can highly recommend the PeepCode videos. Yes, they cost money, but they are well worth the very modest prices.

0 comments | Filed Under: | Tags:

Aren't VLT's addicting enough?

Posted by admin, Tue Feb 27 08:38:18 UTC 2007

Ontario removes video slot machines flashing winning images

Ontario’s provincial gambling operator has pulled 87 video slot machines out of service or physically removed them from its casinos after a CBC investigation found what appear to be subliminal messages flashing at players.

0 comments | Filed Under: | Tags:

The classic Web 2.0 business model

Posted by admin, Fri Feb 23 04:29:29 UTC 2007

A VC: The Freemium Business Model

Give your service away for free, possibly ad supported but maybe not, acquire a lot of customers very efficiently through word of mouth, referral networks, organic search marketing, etc, then offer premium priced value added services or an enhanced version of your service to your customer base.

If you build it, they will come…

0 comments | Filed Under: | Tags:

Go James!

Posted by admin, Wed Feb 21 11:52:10 UTC 2007



Java creator named to Order of Canada

The man credited with inventing the Java programming language commonly used on the World Wide Web has been appointed to the Order of Canada. James Gosling, a vice-president of Sun Microsystems Inc. of Santa Clara, Calif., has been named an officer of the Order of Canada, the office of the Governor General announced on Monday. Java creator James Gosling at the Sun Microsystems campus in Menlo Park, Calif., in 2005. Gosling is one of 29 Canadians named Officers of the Order of Canada and will receive his insignia later in 2007.




I wonder if he’ll show up for the ceremony wearing that t-shirt… Just kidding, James!

0 comments | Filed Under: | Tags:

What is the truth?

Posted by admin, Tue Feb 20 14:32:53 UTC 2007

These guys think they know what the truth is.  Maybe they are right.  It is an interesting experiment, in any case.  ;-)

0 comments | Filed Under: | Tags:

ParticipACTION is back

Posted by admin, Mon Feb 19 10:36:36 UTC 2007



$5M to bring back ParticipACTION exercise program

The federal government pledged $5 million over two years Monday to renew ParticipACTION, the federal fitness-awareness campaign. Starting in the early 1970s, the non-profit agency encouraged Canadians to get fit. The program included a series of television ads that encouraged people of all ages to “keep fit and have fun.” The program ran for three decades, until its funding was cut in 2001. The federal government decided to renew ParticipACTION to help Canadians develop healthier lifestyles, said Secretary of State for Sport Helena Guergis. The focus is on kids 12 and younger, and groups at high risk, such as seniors, aboriginals and people with disabilities. The renewal of ParticiPACTION and a new website, www.HealthyCanadians.ca, were announced by Guergis, Health Minister Tony Clement and Public Works Minister Michael Fortier in Toronto and Montreal on Monday. “We all remember the ads … and so that’s the kind of thing we want to see happen again,” Clement said.


And I think that’s a good thing.  Canadians of all ages remember ParticipACTION.  My husband and I were just laughing over a ParticipACTION reference in a television show last week, and wondering how many Canadians would realize what a Canadian in-joke that was, and how many non-Canadians would even notice.  (And if you were wondering, it was on Stargate Atlantis).

Now, I guess that means setting up the exercise bike in the basement just became my evening priority…

0 comments | Filed Under: | Tags:

This just in... Hell froze over

Posted by admin, Tue Feb 06 10:06:44 UTC 2007

When Bill Gates and Steve Jobs agree about something…

Technology Watch » Blog Archive » Bill Gates : DRM causes too much pain for legitmate buyers

In an honest analysis of the Digital Rights Management (DRM) sector, Bill Gates conceded that DRM is causing too much pain for legitimate users and that few are satisfied with the current state.

Apple – Thoughts on Music
The third alternative is to abolish DRMs entirely. Imagine a world where every online store sells DRM-free music encoded in open licensable formats. In such a world, any player can play music purchased from any store, and any store can sell music which is playable on all players. This is clearly the best alternative for consumers, and Apple would embrace it in a heartbeat. If the big four music companies would license Apple their music without the requirement that it be protected with a DRM, we would switch to selling only DRM-free music on our iTunes store. Every iPod ever made will play this DRM-free music.

0 comments | Filed Under: | Tags:

Having trouble fixing assert_invalid_column_on_record deprecations?

Posted by admin, Thu Jan 25 09:38:48 UTC 2007

The current deprecation warning is:

DEPRECATION WARNING: assert_invalid_column_on_record is deprecated and will be 
removed from Rails 2.0 (use assert(record.errors.invalid?(column)) instead)


But it would be much easier to fix this warning if the docs said something like:

DEPRECATION WARNING: assert_invalid_column_on_record is deprecated and will be 
removed from Rails 2.0 (use assert(find_record_in_template(key).errors.invalid?(column)) instead)


So you change your bad/old code that looks like this:

<br />assert_invalid_column_on_record "user", :password<br />


To something like this:

<br />assert(find_record_in_template("user").errors.invalid?(:password))<br />


9 comments | Filed Under: | Tags:

It's good to be a Rails programmer

Posted by admin, Tue Jan 23 11:59:09 UTC 2007



java.net: Migrating from EJB 2.x to EJB 3.0

The EJB 3.0 specification makes programming much simpler. It makes the container do more work and the developers do less work. It decreases the number of programming artifacts for developers to provide, eliminates the requirement to implement ejb callback methods, and reduces the complexity of the entity bean programming model.


I was just reading this article, and I had one of the “twitchy” moments. You know, those ones where you go… twitch – gawd, I’m glad I don’t have to do this.

I’m not complaining about EJB 3.  Oh, no.  As an early adopter of Java technology, I’ve been with EJB’s since the beginning, and I think they’ve made huge strides with EJB 3.

But I’m using Ruby on Rails now, so I’ll just skim over the details, shake my head over the complexity, and the XML, and be content that I can do my work without all that icky overhead.  It’s GOOD to be a Rails programmer.

0 comments | Filed Under: | Tags: