MacksMind

Technical Wizardry, Rants, and just a Whiff of Insanity

Entries for April, 2008

The Longoria Identity

Playing the Hot Corner
If you’re confused about Eva Longoria of Desperate Housewives vs. Evan Longoria of the Tampa Bay Rays, I say it doesn’t matter. They’re both winners… they just play for different teams. ;-)

Leave a Comment

Using belongs_to in Rails model validations when the parent is unsaved

Can’t get there from here
In one of my Ruby on Rails projects, I have a model validation which is dependent on attributes from a belongs_to parent. Normally, you can refer to a parent model as child.parent and access the parent’s attributes as child.parent.attr. The difficulty arises when the parent object is unsaved. Let’s look at [...]

Comments (5)

Integrating your WordPress Blog with Google Analytics

If you’re like me, you’d like to know whether anyone is paying attention to what you have to say online. There are plugins for WordPress that will make this information available through the wp-admin pages. There are also tools such as AWStats that your hosting provider can likely provide. If you’ve outgrown those options, you [...]

Leave a Comment

Moving to WordPress

Well, here it is my blog is only a week old and I’m already switching to a different engine on the back end. As I find my way around WordPress I’ll get the old content moved over.
My primary reason for moving is the apparent lack of full support for trackback in Typo.

Leave a Comment

Speeding School Bus

So I was rolling through a 25MPH School Zone yesterday at 35MPH. I know, I’m bad, I should be punished. ;-) Then why the hell was the Washington Township school bus passing me!

Leave a Comment

Economic Misfortune

Apparently, Madonna, Justin Timberlake, and Timbaland originally had 5 minutes to save the world. Until, that is, Warner Bros insisted on a 20% across the board cost reduction.

Leave a Comment

Twitter is the new CNN

I noted with some interest Douglass Karr’s post on Twitter as a search engine last month. I don’t have enough contacts to receive the benefits he describes, but I found another raison d’etre for Twitter this morning. While drinking coffee and contemplating the best use of the hour before my kids awake, Something gently picked [...]

Leave a Comment

Installing Typo Blog Engine and mod_rails for Multiple Accounts

I decided my to use Typo for my new blog, but I wasn’t satisfied to install it in the usual way because I want multiple blogs. This is also my first hands-on experience with mod_rails, so it’s a nice opportunity to play.

The following instructions work for Ubuntu 7.10 (gutsy gibbon), and I’m assuming some level of familiarity with Ubuntu and/or Debian. Same ideas should apply elsewhere though (YMMV). If I’ve glossed over too much, leave a comment and I’ll try to clarify.

Comments (4)