# Monday, 02 July 2007

If you're a programmer that deals with databases you OWE it to yourself to know what SQL Injection is.

SQL Injection is not a new vulnerability attack, just check out this 3 year old article talking about it.

SQL Injection affects ANY type of data access code, it's not a problem that's specific to MS development platforms, as it is caused by bad coding practices.

SQL Injection is RIDICULOUSLY EASY to protect against (compared to HTML, XSS injection, etc. etc.), but it seems most programmers have no idea how to do it.

If you're a programmer, you owe it to yourself to Google SQL Injection NOW!

Here's some more reference links.

- In the context of ASP.Net
- In the context of MS SQL Server

Monday, 02 July 2007 11:18:27 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Sunday, 01 July 2007

When filing claims for purchase in foreign currencies, check how much was charged to the credit card first instead of relying on xe.com to get the current exchange rate and end up claiming for the wrong amount.

Sunday, 01 July 2007 22:58:12 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 

As mentioned in my C730 post, the phone doesn't have a standard audio jack.

BUT... it does have Bluetooth A2DP support, so I decided to get this Creative Bluetooth transmitter dongle set. What is it?


It basically consists of 2 dongles, one is a Bluetooth A2DP receiver with a stereo jack where you can plug in any normal headphones or speakers, etc. etc. The other is a Bluetooth A2DP TRANSMITTER with a stereo plug which you can plug into any standard audio output device.

I was more interested with the A2DP receiver and it paired easily enough with the phone, and within seconds I had music playing on the C730 and piping out of my portable speakers.

I was very satisfied with the solution... until I played a video and discovered the awful truth about the transmitter. THERE'S A DELAY!!! It's almost about a second... which makes it VERY VERY bad for videos since lips doesn't match up!!

Also.. seems like decoding both 480p video and audio and ENCODING audio so that it can be transmitted to the A2DP device is just too much for the puny 400Mhz processor in the C730.

So I thought it was because the C730 was not specialized in performing A2DP transmissions, so I used the Creative A2DP transmitter, plugged it into my DS Lite, and fired up Ouendan 2. Sure enough.. there's a half a second delay on the audio making it very VERY hard to play games with it.

So while it might work for music, this solution would never work for video.. Looks like I'm gonna have to get myself a real cable adapter if I want proper audio output from the phone.

Sunday, 01 July 2007 19:38:54 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
As someone who has been searching for the best portable power solutions, let me just list out a few of the portable power solutions that I have acquired and you too can use if you feel the need to keep that gadget of yours powered.

Sunday, 01 July 2007 19:13:07 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Thursday, 28 June 2007

When I bought the external battery slab people laughed at me, wondering why the hell did I buy such a monsterous piece of equipment. Well.. the battery more than proved it's worth yesterday when I was on the field doing some remote deployment testing, without having to use any power plugs or wireless hotspots. My notebook just kept on ticking for 4 hours and the slab was only down to 50% of battery capacity, for internet access I relied on the Dopod C730 to provide data connection through HSDPA... luckily Maxis did NOT let me down this time! :P

Thursday, 28 June 2007 23:03:25 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  |