08.20.09

Belkin Skype phone not connecting

Posted in misc, using an iPhone tagged , , , , , , , , at 6:11 am by tetontech

My son purchased the Belkin Skype phone and it came today.  He was very excited to use it.  We spent hours trolling the internet, trying to install updates as was suggested in many places and all kinds of goofy ideas to get this thing to work.

It turned out that the device reacts very negatively to WEP wireless access points.  We had chosen WEP since the early iPod touchs and iPhones didn’t react well to WPA.  Of course they do now.

To fix the “cannot connect to Network” problem all we had to do is switch from WEP to WPA.  The Skype phone works great now.  He also reports that the FaceBook iPhone app is working better now as well.

Go figure.

06.04.08

WebKit speeds

Posted in iPhone development, misc, using an iPhone tagged , , , , , , , , at 4:49 am by tetontech

A year ago I created a test to see how different JavaScript loop types compared based on speed. I compared a variant for loop against an invariant for loop and the for each loop. The test results, which can be found in the book Oracle Database Ajax & PHP Web Application Development (Oracle Press) by myself and Michael McLaughlin, showed that for all of the browsers examined the for each loop was much slower than the already slow variant loop and that the invariant loop was significantly faster.
If we were iterating over the elements in an array or map a standard looking variant loop would look like

for(var i = 0; i < array.length; i++)

An invariant loop would be

var len = array.length;
for(var i = 0; i < len; i++)

and a for each loop would look like

for (var i in array)

While the original tests were looking for percent speed improvements within a browser achievable by selecting the different types of loops I thought it would be interesting to modify the test to report raw speeds in milliseconds and then compare various browsers.
The speeds reported here are for the fast invariant for loop over a series of runs.
Safari 3.0 – 98 milliseconds
WebKit 3.1.1 – 37 milliseconds
Firefox 2.0.0.14 – 200 milliseconds
Firefox 3.0 RC1 – 28 milliseconds

The new WebKit shows a dramatic increase over the older Safari as does the new Firefox. WebKit appears to be nearly 3 times faster in this test than its’ older version used in Safari. This may be due to the changing of the JavaScript interpreter to SquirrelFish in the place of the older one. A discussion of SquirrelFish and why it is faster can be found at WebKit’sblog.
It will be interesting to see if this new version makes it into the upcoming iPhone OS 2.0. It would be fantastic if it was stable enough and did. Every bit of speed you can get on a handheld device is precious.

05.20.08

iPhone Exchange Server Client

Posted in using an iPhone tagged , , , at 6:39 pm by tetontech

I connected my iPhone up to my works’ exchange server today. My iPhone is running the version 2 beta 5 OS. It connected right up without a problem. Best of all, when I started looking at my email I could view Word and Excel files directly within the mail application. I tried both 2003 and 2007 formats and both worked really well.

I am very pleased. Now if the client would insert meetings into my Calendar when the meeting file is selected just like mail does on my mac it would be super.