‘Uncategorized’ Category

May 5th, 2008 How to Profit with the Open Source Community

I love open source software. I love the idea of open source software. Involving people in the development process that would not otherwise get the chance. Tapping into talent that would not normally be available to you. Best of all, giving everyone the opportunity to benefit others as they benefit themselves. I’m always interested in how I can benefit the communities that I’m a part of.

The question that I’m asked most often when I talk to people about open source software is “Who pays for all this?” as well as variants like “Then how do they make money?” or “Won’t people eventually stop working for free?” We live in a capitalistic society, and people don’t understand why someone would work for free when they could be making money. In this article, I’m not going to cling to ideals on why doing something for the community shows more worth than your bank account balance, instead I’m going to explain how open source developers (myself included) do in fact make money by developing quality software for free. Hopefully in the process you will find a way to give back to the community and get your piece of the pie.
Read the rest of How to Profit with the Open Source Community »

April 30th, 2008 A Marketing Strategy You Can Believe In

Do you remember in the good old days, when you went to the market down the street because you knew the owner, John, and his kids went to school with yours? When you went to the mechanic across town, because you new that Dave wouldn’t ever charge you for something you didn’t need? I don’t, I’m only 26 after all, but I wish I did. I’m tired of choosing a company based on impersonal tv commercials, that the owner of the company may or may not have even seen. I don’t want the cheapest, I want the best value, and I don’t necessarily want whatever the latest celebrity wants.

Building a company is hard work, but I’ve decided to draw a line in the sand. Xavisys is going to be a great company because I stand behind it, and I’m an upstanding, honest person that you can get to know.
Read the rest of A Marketing Strategy You Can Believe In »

April 28th, 2008 Creative Brainstorming Meeting

Over the weekend I had James Pearson (of Surviving America and Acholi Beads) and Steven Homestead staying at my house. I couldn’t help but take advantage of this abundance of creativity I suddenly found at my disposal. As a developer rather than a designer, I find the creative process to be mysterious, possibly even magical. Seeing phrases like “Enslave the Internet” written on the windows of my home, I was far from disappointed as I was treated to a rare opportunity to take a peek inside the creative mind.
Read the rest of Creative Brainstorming Meeting »

April 14th, 2008 Google Maps for Wordpress

Download from wordpress.org

Warning: This plugin was affected by Trac ticket 6444, which was fixed in WordPress 2.5.1, so get 2.5.1!

The Google Maps for WordPress plugin allows you to easily insert Google maps into your blog, making use of the new shortCode system in WordPress 2.5. The maps can be configured to offer directions to or from the location, show or hide the zoom/pan controls, show/hide map type, activate zoom using mouse wheel, and more.

It requires a Google Maps API key, and then gives you a nice interface near your editor to help you build the map and send it to the editor.

March 28th, 2008 Google Maps API

I started working some with the Google Maps API, and it’s pretty nice. The documentation is decent, the examples are good, etc. I realized that I’ve come to expect this from Google, so I wanted to take the time instead to point out that this is an exceptional product. For example, I began to look into making the scroll wheel zoom on my maps like they do on the Google Maps site. What does it entail? One line:

map.enableScrollWheelZoom();

However, as great of a product as it is, it seems to be lacking some things. For example, if I want an info window that gives the options to get directions to or from that location, I have to do all that myself. I have to generate the links, and make them replace the content of the info window with a form that I have to make, and I have to make that form run some JavaScript when executed to get the directions. Why? This has GOT to be a common task. Why not build it into the API? However, in the end, that pales in comparison to the real problem. There is no way to validate a Google Maps API key! Instead, you have to load JavaScript using that key, and it uses an alert to announce that the key was bad! No one wants a JavaScript alert to pop up on their page! Since I’m making a WordPress plugin out of this (teaser!), I needed to make sure that the users of my plugin wouldn’t have this issue. I ended up having to override the alert function on the options page for my plugin like this:

var KillAlerts = true;
var realAlert = alert;
var alert = new Function('a', 'if(!KillAlerts){realAlert(a)}');

Then I added a function that runs on page load, re-enables the alerts, and checks if the key was valid:
function load()
{
    // Re-anable alerts
    KillAlerts = false;
 
    if (GBrowserIsCompatible()) {
        // Key is valid
    } else {
        if (G_INCOMPAT) {
            // Key is NOT valid.
        } else {
            // Can't tell if the Google API Key is valid, due to the browser not being compatible with the Google Maps API.
        }
    }
}

There is no reason that it should be that complicated. They should have a web service where I can send a request to verify a key, or their script should set a global variable rather than send an ugly alert! In the end, it’s a great product, but I would have expected that these kind of rough edges would have been taken care of by now. Google, you make me sad.

Search