The Cost of Ideas

At Gizmodo, I found this video which I found quite interesting:

I have the exact opposite problem. I have ideas every day, of varying potential. But without the time or capital to spend on them, they are mostly untried and eventually forgotten. So instead of having expensive ideas, I have really cheap ones. Unfortunately, even the best cheap idea is not worth much since there is no execution.

To Do: Do a better idea recording and saving ideas, and work on finding a way to actually execute the better ones.

My First Android App on the Marketplace!

This Android App provides a fully functional blog interface for Michelle Malkin’s blog. It supports several ways of listing posts, a way to Star posts you like, post viewing, comment viewing, comment posting as well as new post notifications. A number of configuration options allow you to tweak text and image sizes as well as set the notification check frequency or completely disable them.

The primary benefit from the app is a much cleaner and very intuitive user interface (have you tried to read blogs for any length of time on any mobile browser?) that is themed for the site. It is also much more efficient since the app is not requesting fully rendered pages but instead requesting data via xmlrpc – so the response on the app is much faster than rendering and pulling an entire page. It also has to potential to reduce server load (theoretically – if enough people switch to using the app instead of the browser).

To give it a try, search for ‘Michelle Malkin’ in the android Marketplace. Alternatively, you can just scan the barcode shown above with your phone.

By the way, if you are running WordPress and are interested in an app like this for your site, feel free to contact me for a quote and timeframe.

Subsidized Broadband

I love tech and as access to faster and faster broadband has grown, we’ve seen the pace of innovation increase dramatically. I also love the opportunities this creates for small entrepreneurs like myself. That said, I have to say I agree 100% with George Ou in that government specified minimum broadband speeds is a bad thing.

Forcing businesses to comply with artificial benchmarks or mandated business plans eliminates the need (or ability) to make sound business decisions based on supply, demand and future planing. The end result is either government entitlements to keep businesses afloat or future bankruptcies. Sometimes it makes sense for a company to invest in a net loss market because it fits their long term plans, but lets allow them to make that decision. Unfilled market niches often become opportunities for smaller players or startups, but this kind of mandate permanently eliminate those opportunities. (They also discourage startups in an entire market segment since only the largest players are actually capable of meeting these kinds of mandates.)

I’m not impressed at all with the level of foresight those who legislate have – they seem completely unable to comprehend what effect (and side-effects) a piece of legislation will make on those affected.

The government that governs least, governs best.
Thomas Paine

I cannot agree enough.

(Hat-tip to John Henke)

Summer is Busy

…especially when you live in Colorado since there is just too much to do.  Work has been busy, blogrescue stuff has been busy plus throw in a few vacations and most weekends out and about and thus no blog posts.

The good news is I’m very close to releasing my first Android app which provides a direct interface to a high profile blog.  I’m hoping this is the first of many, now that I’ve got a mechanism to quickly get data from Wordpress.  Just a bit more spit and polish and we can load it up on the Marketplace.

Stylesheet Mahem

Just finished up redesigning my 4th site in the past 5 weeks (along with 4 relocations and 2 migrations). I love starting with a brand new template and coding something very clean and neat, however sometimes it is just better to update existing templates. Anyone who has reworked templates for a major set of changes knows that sometimes it feels like things are messy and out of control.  Especially with stylesheets.

I still have not found a decent way to order classes in a stylesheet that makes any sense (and is maintainable) but search functions make that passable. However, I still cannot help but feel like the stylesheet is messy since I really have no idea which classes I’ve obsoleted vs. which classes are still used by some obscure template I never touched.  I’ve always been meaning to find a better solution to this then my usual method: <i>leave them all there – just in case</i>.  A clean and tidy stylesheet reduces server load and is easier to maintain.

So instead of doing the work I was supposed to be doing today, I goofed off and coded a little stylesheet analysis program.  The idea is pretty simple: Read the rest of this entry »

Wordpress and XML-RPC

What is XML-RPC? Stripping all the technological detail away, it is merely a specific way of requesting data and getting a response back. It uses xml to make the request and sends and receives the data over http. (A more technical discussion can be found here.)

I’m currently working on a project that needs to get data from a WordPress installation. Fortunately, WordPress provides an XML-RPC interface which includes several stock APIs as well as a WordPress specific API. This is far more efficient than using custom templates or parsing actual html pages for both sides of the transaction.

With all that said, how do you use it? Depending on what you are trying to do and the platform you are using, there should (hopefully) be a nice library already coded so you can worry about requesting and receiving data without fretting about the details of xml-rpc. However, sometimes a q&d (quick and dirty) script is useful to test a request and look at what is actually coming back. I do that using a simple php script:
Read the rest of this entry »

Yet Another Marketplace

We started with the iPhone App Store, added the Android Marketplace and now Google announces a new one: The Google App Marketplace. These apps will be part of Google’s cloud (think Google Docs).

So much to learn, so little time. (At least for us independent developers.)

Wikipedia…

Wikipedia topics are usually dominated by the fanatic with the most time to spare, which is why I don’t rely on Wikipedia when the matter is both controversial and important.

Jerry Pournelle

Android App Idea

Since getting an Android phone, I’ve been installing (and uninstalling) lots of different apps. The creativity and variety is fantastic and the way the phone works with Google maps is incredible. But I still haven’t found the app I’m looking for.

I’m a backpacker and although GPS is a wonderful thing, you really need to couple it with a set of good Topo maps to make it useful when you are on the trail. Oh, and no cell service – the maps have to be locally stored on the device. Getting maps is not difficult – the USGS offers free downloads of the entire US (download here). These are extremely high quality maps which also makes them very large files – some approach 15MB for a single 7.5 minute square.

The app I want uses the phone’s GPS to show me where I am on a USGS Topo map. It should be able to zoom in and out (within reason) and it should not kill the phones memory, which means smaller map segments tiled in the same way the Google maps does.

Right now I’m just sketching out ideas on how to pull it off. Oh and I guess I should finish learning how to program in Android too.

Migrating From TypePad – Images

Migrating from TypePad isn’t too difficult – they provide the standard MT export file, which most platforms readily accept. The one big challenge my latest migration project involved was getting the images out. Since the client is a domain user, their images hosted at TypePad will stop working once the domain is switched over and there is no way in the TypePad control panel to export them.

The solution I came up with was to use php on the new destination (a dedicated server) and parse the export file itself, denoting when I’m in a body section, and using a regular expression to try and find any image tags that point to the domain being relocated. For each TypePad hosted image that was found, the same directory structure was created locally, and then the file was copied from the TypePad server to the local matching directory structure.

It took quite a while to run, since the client had been on TypePad since 2004, but the result was wonderful – all I have to do is relocate the created directory to the webspace and not only have all the images been released from they TypePad prison, but all the existing links will still work correctly. The one caveat is that the base image directory started with a period, which is not a problem as long as you understand that Unix variants hide all files and folders that start with a period. Use ls -la to see what is normally hidden.

Code is below the fold… Read the rest of this entry »