# Tuesday, 15 July 2008

Yes I realized it's a bit late to make a first look video, but there's a lot to talk about the device so I'm going to break it down into a few areas starting with of course.. the physical appearance of the device.

Tuesday, 15 July 2008 10:16:23 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Monday, 14 July 2008

As I was feeding WZ yesterday night, his hand reached up and grabbed my hand that was holding the bottle. At first I thought he just wanted to hold my hand, then I realized the tugging motion he was putting on my hand, he wanted to throw my hand away! Then he reached both hands up beside the bottle and I realized what he wanted, I let go of the bottle as his hands closed in on it.

Usually 2 seconds later he'll let go, but this time... this time he hung on, this time he actually tilted the bottle to drink, this time he was actually drinking himself!

He pulled out the bottle from his mouth, and then with a quick motion he stabbed it back into his mouth.

But he missed and stabbed it into his nostril instead.

I pulled it out before too much milk got in. :P

But he actually managed to finish the bottle ALL BY HIMSELF!!!


Monday, 14 July 2008 13:44:36 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Wednesday, 09 July 2008

Is so that you don't have to ask someone if a particular element is needed or not.

Wednesday, 09 July 2008 23:14:18 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Monday, 07 July 2008

You basically have 2 options of uploading files to the Silverlight Streaming services, either you use the application management page over at silverlight.live.com or you could use the WebDAV API and upload files via your own code.

To upload through the website you need to zip up the contents of your application and upload the entire zip file in one go. It's an absolute nail biting experience when trying to upload a 50MB file from my connection cause I know that all it takes is one little hiccup and I have to reupload EVERYTHING again.

Using the WebDAV API you can basically write a program that can upload all the files in your Silverlight application one by one onto the services, the advantage of doing so is of course you only have to reupload failed files in case of failure.

But one problem which I was having was that I kept getting an idle disconnection error whenever my upload took more than 5 minutes, and since I'm now uploading video files which are much much bigger than 2MB this was a problem. I thought it was my code but after refering to the WebDAV sample I realised that my code was similar to the sample.

Finally after testing out some more fixes and theories I think I finally found out what the problem was. So in relation to the sample provided I did the following changes.

  • Instead of reading the entire file and then writing it to the request stream in one go, I pushed chunks of it say... 64kB chunks at a time.
  • Set readwritetimeout  and timeout of the HTTPWebRequest object to integer.maxvalue (which basically means infinite timeout..... somehow I don't think this is such a good idea or really has anything to do with the actual problem, will test it with a more practical value and see)
  • and most importantly HTTPWebRequest.SendChunked  was set to true.

Setting SendChunked to true immediatelly allowed me to spend 80 minutes uploading a 25MB file so I think that should be the main thing to concentrate on.


After some discussions with Bill Reiss over at the Silverlight forums it seems like SendChunked is not the best way to get it to work. Setting AllowWriteStreamBuffering to FALSE and Preauthenticate to TRUE seems to work just as well, and seems to be faster too!

Monday, 07 July 2008 10:10:17 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Sunday, 06 July 2008

The last time I did this I told myself I'd tried to make it last for more than a year this time. See... I even wrote it down in a new year resolution. But... on June 9th 2008... I broke that resolution... And I was so close to actually making the C730 last a year...


Meet the HTC Touch Diamond. Yes I've come full circle back to a Pocket PC device again.... oh well.. On paper the specs for the device sound very impressive.

  • Windows Mobile 6.1
  • VGA Screen
  • First WM device to carry Opera 9.5 browser, which enables almost full desktop like browsing on the device.
  • Tilt sensor (I HATE AutoRotation features!)
  • 3.2MP Opticial Focus camera

And it sports some nifty tricks too. EPIC video review to come... once I work out the script. :P

Sunday, 06 July 2008 23:07:12 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  |