Java: How To Use SQL LIKE Clasue with PreparedStatement?
One may find that using SQL's LIKE clause in Java PreparedStatement is not straight forward. There is no documentation on how the LIKE clause should be used when it is used with the PreparedStatement object. Thus, most of the programmer would rather use the full SQL to execute the statement.
Security: US Cert Warns Users To Disable Java In Web Browsers
US Certs warns users to disable Java in web browsers on 10 Jan 2013. The main reason is due to Java 7 Update 10 and earlier versions of Java 7 contain a vulnerability that can allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.
Java: How To Create A Simple Web Server Using HttpServer
To program a web or HTTP server from nothing could be very difficult. It's gonna to take you to write thousands of source instructions. The HTTP protocol it self is pretty to understand but it complicated to implement them in programming language. It involves a lot of parsing and need a lot of understanding how the HTTP requests and HTTP responses work together.
Javascript: Get Query String and Key-Value Pairs from URL
In web development, it is important to know how to get query string at the client side from the URL being sent to the server. It is useful when your code (Javascript) that run at client's browser need to know what data has been sent to the server and use the information to produce further more useful information.
eGenting Programming Competition 2012
It's time to take challenge again! The eGenting Programming Competition of year is coming this November. It is now open for registration.
iOS 5.1 Unable to Update
Apple has recently released their latest OS for iPhone/iPad/iPod, the iOS 5.1. However I have difficulty in downloading the updates both from my Macbook or iPhone. It just hang without any response. I tried for a few days but I just can't download the updates.
After some trial and error. I found out that actually the update software cannot find the update server's host name. So to fix this problem, you just need to set you Mac/PC/iPhone's DNS to an open/well know DNS so that the update software can find the exact location of the host name. I use Google's open DNS and I can now download the updates without any issue.
Hope this information helps you too!
eGenting Programming Competition 2011
Calling all talent programmers! eGenting Programming Competiton 2011 is now open for registration! Do you dare to come?
New Top-Level Domain – Dot Whatever
ICANN (Internet Corporation for Assigned Names and Numbers) has recently approved new top-leve domain name. Currently, the web has .com .net .org or country level TLDs. Soon you can expect to have .whatever domain (whatever means whatever).
To have this kind of domain is not cheap. The application alone is $185,000 and the annual fee is $25,000. I wonder why the application fee and the annual fee is too expensive. I think it is meant to control the number of people that own the domain names.
The application for the new generic will be accepted from January 12, 2012 to April 12, 2010 and the new domain name will be appear on the Internet within a year.
Personally I think this is a great idea because it may cause confusion to most people. People might not be able to differentiate a company domain from a government domain for instance.
Google Adsense: Now available for mobile (beta)
Google Adsense is now available on mobile. It is still in beta mode and I have tried it now just now, not much feature but it us pretty good. You can see earnings and graphs.
However it is great that now you can see your website earning on your phone!
Point your browser on your mobile device to Google Adsense website and it will bring you to the mobile version of Adsense website.
Gmail: Priority Inbox
Gmail is great and comes with a lot of useful features like labeling and filter to let your organize your mail box. Although these features are great but they work according to preset or static values. They are not smart enough.
It becomes a problem when you have too much of unread emails. What if a bunch of emails come in at the same time? It could be a pain to find out which email is important to read first.



