# Thursday, 05 February 2009

I was testing a site on various other browsers today, and I needed the browser to present itself as FRESH to the web application, so with IE8 I used InPrivate blocking, and on Chrome I used Incognito mode. Both essentially works the same way, all cookies and browsing history information are discarded after the session, and no previous cookies are carried into the session.

Then I realized that all my ASP.Net Linkbuttons, and other places that required the Javascript method __doPostBack weren't working in Chrome's Incognito mode. Looking at the page's source that got sent to the browser I saw that the whole script definition chunk for the function was missing from the page. It was as if ASP.Net decided NOT to push the script chunk down to Chrome. But it was working fine in normal Chrome browsing.

There was no way this was a problem with Chrome or ASP.Net, but rather with Incognito mode itself. So I loaded up Fiddler and looked at the Requests coming out from Chrome Incognito mode. Then I realized that when in Incognito mode Chrome wasn't sending the UserAgent header that identified what browser was hitting the server.

Because of this ASP.Net could not determine if the client could properly process the script blocks, and thus decided to totally discard the delivery of the script chunk to the client. Of course, without said script chunk a lot of other things were affected.

After doing some poking around I found out that version of Google Chrome seems to be the one afflicted with this issue. As this bug also stopped people from getting into Facebook and some Google sites, they quickly released an updated build which fixes the problem. So update Chrome by going into Help->About->Update Now if you are having problems browsing some sites in incognito mode.

Though the automatic update system (which runs in the background even when Chome isn't running) SHOULD have updated the browser by now. But.. if you're having problems just update the browser and see what happens.

Thursday, 05 February 2009 11:42:10 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Monday, 02 February 2009

So I went to the local car accessories super mall to take a look at the in dash screens. Sure enough they costs roughly RM300, but those were screens ONLY. and I don’t have enough space to put both a screen AND a head unit in the car. So I was looking for something that had the usual MPEG4, USB device support AND happens to have a foldable screen at around RM300.

But they were no where to be found... my dreams of running a PC in the car started fading again. Then I realized something...

Those portable DVD players that could convert into a tablet form factor, supported USB and SD card media input, AND Video In capability. they had the same screen size, could run off the cigarette plug, AND I could remove it when I didn't need it. And they cost roughly the same as a screen only!

Monday, 02 February 2009 13:55:22 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 

For my own reference, in order to call an MTOM encoded web service from .Net 3.5 client I need to stick the following in the custombinding section

<binding name="MyServiceHttpbinding" messageEncoding="Mtom">
         <mtomMessageEncoding messageVersion ="Soap12"  ></mtomMessageEncoding>     <httpTransport/>

Monday, 02 February 2009 10:10:48 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Sunday, 01 February 2009

As I mentioned countless times before whenever I talk about my Intel D945GCLF2 based machine. I have been unable to buy an S-Video to composite converter plug that works. After consulting the Internet and obtaining a schematic for a converter I ventured out to Jalan Pasar (which is starting to look like a baazar street with all the stalls selling shirts, knives and other misc non electric related products) yesterday to grab the components I needed for the converter.


So I needed an S-Video plug, a composite jack, wires, and a 470pf capacitor of 10V or more. The capacitor that I bought was a 471pf 50V capacitor. When I asked the guy who was getting the items for me wheter it was similar in specs to what I needed, he just nodded yes with his face that looked like he was suffering from a hangover or something. So.. 30 minutes later I had completed the connections to the S-Video plug.


It was a pain because the connection points on the plugs are mere PINS, no flats no broad contact points to solder the wires to. Not really something that I have any training to do. The only thing I know about soldering is join the wire to the component, make sure it sticks, and doesn't touch anything else to cause a short. And here's the finished product.


This is a perfect example on how just because someone knows how to use something, doesn't mean he knows how to use it properly. The biggest problem here is that I forgot to put the plug covers on the wire BEFORE soldering them to the plug. The S-Video plug shell has 3 layers, 2 of which close around the plug like a sandwitch and thus I could still close off the plug and then hold it together with duct tape. The composite jack.... well I'm gonna have to get some heat shrink tubing to seal the connection points.

So... did it work? YES! YES it bloody hell worked! after wasting money on countless adapters, the converter I made with my sloppy soldering skills from parts costing less than RM5 worked! Thank goodness!

So what's next in order to fulfill my dream of a carputer? First I'm gonna figure out where's a good place to put the system, if it's going to be a long term placement it'll have to be more or less hidden from view. If it's short term which means I only take it out when I need to then it'll be easier to find a spot for it. I also have to decide how I want to power it. While it's possible for me to just power it from my inverter, the system's AC-DC power adapter tells me something interesting.


Normally an AC-DC plug has a FIXED output voltage, this has got to be the first one I've seen which shows it's output voltage as a variable range. Interestingly enough I once measured the output of my cigarette lighter socket in my car and it's output voltage hovered between 12V ~ 14V so I might be able to just directly tap into the socket for power instead of running through any sort of voltage converter.

Once I've sorted out the placement and power problems, then the last thing left for me to do is to get a in dash screen for the car. I want one that has a motorized screen, and on my last trip to the car accessories shop I've saw that those don't cost an arm and leg anymore thankfully.

Sunday, 01 February 2009 16:01:32 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Friday, 30 January 2009

It's incredibly hard to go for something to eat early in the morning with WZ around, since mommy doesn't want to wake him up too early or stress him out by waking him and then immediately dumping him into the baby seat and then dump him in a baby chair while we ate. So I was lucky today that WZ woke up early enough in the morning that we could go have chicken rice ball in Melaka. Our intended destination was the errr... original shop, a Kedai Kopi Chung Wah located here.

But when we reached there...


Oh noes... it wasn't open!!! Because the wife knew that a lot of other shops have opened due to the popularity of chicken rice ball, we walked down the street and sure enough not far away...

There was another shop, called He Ji.


(This pic was taken AFTER we finished eating, luckily when we arrived there was no queue yet!) The shop had a pretty well operational procedure going, you queued up going into the shop where a lady would ask you what you want.


So she'll ask you how many people's portion of chicken you wanted, what drinks you wanted (from a choice of 3, barley, chinese tea and herbal tea) Then she'd tell you that they didn't have enough rice balls and thus they'll split your order between rice balls and loose rice. So what does that mean? It means this.


They'd give you rice balls... and errr... rice. Cause, well... they were low on rice ball supplies because there's too much demand for the precious balls and they needed to ration out the balls supply. That sounded all nice and dandy until I chomp down everything and my wife asked for more balls.


Lo and behold, extra balls were dropped on our table without so much of a word of how we're deriving the precious balls supply from other people wanted to taste the local delicacy. I just have no idea why the heck they said they had to give you loose rice in the first place if there's no problem asking for more balls anyway! It's really a WTF moment. And WZ agrees!


Overall it wasn't a bad meal, everything tasted ok. Though my wife insists that the original Chung Wah one has better tasting chicken.

Friday, 30 January 2009 15:26:20 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  |