A Few Questions About The iPhone SDK

Posted on March 12th, 2008

This post was originally posted to FourStarters.com on the 12th of March 2008

Steve Jobs and the iPhone

I was talking and thinking about the recently released Apple iPhone SDK today, and realized that while I like the major idea of a controlled application platform I did have my doubts about some of the more intricate details. Selling an application for your price through the Apple controlled store sounds like solid business model for both Apple and developers, but quickly shows an contrast with how developers really build a community around their products.

Uniform Price Model

As far as I can understand, Apple let’s you set your own price, which at first sounds very cool, but is eventually very limiting in real life. Inherently this model will force anyone into a uniform price plan, which isn’t the same uniform price plan that is set in the iTunes music store where every song is either £0.79 or £0.99, but it does force every developer to stick to the same price for every customer. This poses an intricate problem for developers that might want to perform some kind of price discrimination.
(more…)

My Bookmarks For March 9th - March 10th

Posted on March 10th, 2008

My Bookmarks For March 3rd - March 7th

Posted on March 7th, 2008

hKit and Tidying (X)HTML: A Serious Failure [Update]

Posted on March 6th, 2008

After promoting hAvatar during BarcampBrighton and SemanticCamp, I was starting to get pretty happy with the response we got from people. So, you can imagine how annoyed I was when suddenly my own avatar stopped working on several sites. Today I took a dive into the code behind the hAvatar plugin for Wordpress, and most importantly: hKit.

Problem Found

As I expected the issue was not with Alper’s code of the hAvatar plugin but rather with the hKit PHP library. As a step in the process of determining the hCard in the hKit library, the source code that is read is “Tidied”. hKit has 3 build in ways of doing this, the default being using the W3C tidy service.

The W3C service is a very simple service that simply takes a URL as a parameter like this:

http://cgi.w3.org/cgi-bin/tidy?docAddr=http://google.com/

As a result this gives the tidied output of the source of that URL. Now the serious issue that I ran into was that for some weird reason my URL (http://cristianobetta.com) causes a timeout in this service. To be more precise: about every URL on my server causes an issues. Obviously I contacted my hosting provider about this issue but let’s put the problem in a different perspective.

The Bottleneck Dillema

The problem here in my opinion is that hKit relies on a “bottleneck” in their process. Normally this bottleneck only causes a performance issue, but this time it even caused errors. Sadly though, because of this use hKit is not really a standalone script and things can therefore go wrong without hKit knowing. In my opinion hKit would be much more interesting if it shipped with an in-build, platform independent solution to take care of this step.

There are currently some other options besides the proxy to tidy up code. One of the settings of hKit allows for changing the tidy mode to “exec”, “php” or “none”. The first tries to use the tidy command, the second the tidy php functions. Unfortunately none of both are by default available on most systems, making an easy deployment of hAvatar on those systems way harder. To use the “php” option the tidy library needs to be compiled into PHP, which is sometimes impossible, and to use the “exec” command a binary is needed, which makes the solution rather platform dependent.

The Plead

So here I am, asking for a new solution that makes hKit a more independent library. I think it makes sense from a technical and philosophical perspective, but most of all from a performance view. Currently hKit isn’t that fast already (you can’t instance it more than once, making parallel processing of avatars fairly hard) and I think that a server side, non-proxy solution would seriously give this kit a performance boost. Obviously I would be happy as people would by default probably be able to load my avatar, as where it is currently unclear why W3C can’t fetch my url.

* Update: After an email with my hosting provider it seems that the W3C proxy now has access to my server, enabling all hAvatar activities on my domains. Still, I think my point above is valid from a performance point of view.

London GeekDinner with Holmes Wilson of Miro and the PCF - Thursday 13th March

Posted on March 4th, 2008

Holmes Wilson

The Geekdinners are coming thick and fast now, In the forth one of this year we have special guest Holmes Wilson one of the brains behind the very popular Miro Player (formally Democracy Player) and the Participatory Culture Foundation. A non-profit group setup to build tools and services that give people more ways to engage with and in their culture..

When: Thursday, March 13, 2008, 7:00 PM - 11:00 PM
Where: Ye Olde Cock Tavern (upstairs bar), 22 Fleet Street, EC4Y 1AA
Nearest Underground: Temple or Chancery Lane
Special Guests: Holmes Wilson

Cost: 5 pounds for Food
Upcoming: 419336

Please use the upcoming link or comment below to indicate your interest

© Cristiano on Tech/Life • Powered by Wordpress • Themed based loosely on the Swiss Cool theme.