Monthly Archives: January 2007

Java 7: The Closure Debate

Closures are code blocks; think of them as function literals that can be assigned to a variable and passed as a parameter to a function. Another name for closures that I have heard use is functors. Ruby and Groovy have closures and both of these languages run on the Java Platform. So [...]

Posted in Java, Programming, TechKnow | Leave a comment

MySQL Optimization Tutorial

A while back I wrote a little introductory MySQL Administration tutorial. The tutorial had your basic information about starting the database server and creating databases. Now, I would like to jot down some commands that are useful when trying to optimize a SQL query on MySQL.
The first thing you need is to have [...]

Posted in Programming, SQL, TechKnow | 3 Comments

Mac OS X F11 Key

I have been using a PowerBook G4 for nearly two years and just today I figured out something that I wish I had known a long time ago.
Here is a scenario… When I have too many application windows opened and I need to see the desktop, I would normally minimize and shuffle around all [...]

Posted in Programming, Rant, TechKnow | 7 Comments

Ruby Class Tutorial

Classes and interfaces are the primary building blocks of a typical Java application. Classes are the blue prints used to create objects in a running system. In contrast to Java, Ruby’s building blocks are classes, modules, and mixins. In this post we will take a tour of classes in Ruby.
Classes
To get started, [...]

Posted in Programming, Ruby, TechKnow | 10 Comments

Reopening Ruby Classes

In Ruby the implementation of a class is not closed. In Ruby, it is incredibly easy to add new methods to any existing class at runtime, even core system classes like String, Array, and Fixum. You just reopen a class and add new code. This language feature makes the language incredibly flexible. [...]

Posted in Java, Ruby, TechKnow | 8 Comments

Top 10 WordPress Plugins

1. Akismet by Automattic is probably the best WP plugin out there. Akismet is a comment and trackback spam filter for your WP powered blog. It is a true mathematical equation that your blogs page rank is exponentially proportional to the number of viagra and penis enlargement spam comments you will receive. [...]

Posted in CMS, PHP, TechKnow | 16 Comments