Archive for November, 2009

ASUS Tops Laptop Reliability Research

SquareTrade has recently published the results of a research about laptop reliability. The conclusion is that reliability of today’s laptop is very dependent on the manufacturer. The research results are very similar to my laptop experiences based on my own purchases and repair requests from my clients.

Laptop Malfunction Rates by Manufacturers

In the research, ASUS comes out to be the most reliable brand with only 15.6% malfunction rate over 3 years. This is why I always prefer to buy ASUS laptops. I have owned 3 ASUS laptops over the last 6 years with my newest purchase of the ASUS UL30A. The last 2 laptops are still working perfectly as of today.

On the other end, HP is the least reliable with the highest malfunction rate of 25.6% over 3 years. That is 1 out of 4 HP laptops would likely to break after 3 years lifetime. It is also consistent with my experiences where most of the laptops I fixed were from HP. And the most common problems I have seen are overheating issues and broken USB ports. I always have a feeling that there are some problems with the internal design of their laptop chassis.

A little surprise from this research is that Apple only ranks forth. Apple’s products always seem to be high quality products to me and I would expect it to rank in the top three. Nonetheless, 17.4% is still way better than HP’s malfunction rate.

If you are planning to get a new laptop during this holiday, you should really look into ASUS as they always provide high quality and sleek designs. You can read about the full report of laptop reliability here.

Linux Version of App Store?

Today I read a blog post from the technology section of Canada.com. In the post, the author mentioned about Apple’s App Store in which it is really true that “there’s an App for that”. He was saying that there are over 100,000 applications available on App Store and you can find anything you want. As a Linux user myself, I have to say that Linux users have been enjoying this for a long time ever since the availability of package management tools. More to that, Linux users have been enjoying it for free. Although the number of applications available may not be as many as App Store, but you can find much more complex and functional programs in Linux.

No matter which Linux distribution you use, there is a package management tool implemented to let you find and install free applications in just a click. If you are Ubuntu user like me, then you would find the new Ubuntu Software Centre available. If you are using OpenSuse, then you would use the Software Management function from its YaST Control Center.

To be fair for both sides, you can not really compare between Linux’s package management tools and Apple’s App Store because one is for the desktop and laptop platforms while the other is specifically for iPhone. The users and demands between the two are very different. However, Linux is a very scalable operating system and it has very high potential in the mobile platform. One day we may have mobile versions of our favorite Linux apps and an App Store for Linux mobile with full integration between the mobile and desktop apps. And on top of that, everything is free!

Connecting Visual Basic to MySQL Database

Over the past year, I have spent a lot of time in learning and doing programming with Visual Basic using Microsoft’s Visual Studio 2008. As a “junior programmer”, I have found myself spending a lot of time in searching for solutions to problems that I have encountered during the development of the program. Therefore, I would like to start documenting my solutions to the problems so that you do not need to spend as much time as I did.

Requirements

The programming language I chose to work with is Visual Basic, simply because someone told me it is easy to learn. Most programs today work with a certain database which stores all the data collected by the program. I have decided to use MySQL as my database because it is free and it provides flexibility in case I want to build a web interface on it in the future with PHP.

To allow your Visual Basic codes to talk to MySQL database, you need to install couple things.

  1. MySQL Community Server
  2. MySQL .Net Connector

You can find both items on MySQL’s website. The first one is the server providing the actual database and the second item is the .Net Connector that provides the connection machanism between a .Net program and the MySQL Server. Once you have installed both items, you need to create a database and a user on your MySQL Server, and the user should be given privileges to to the database.

Referencing MySQL Connector Library

To connect to your MySQL database from Visual Studio 2008, you need to reference the MySQL.Data library in your project.

  1. In Visual Studio 2008, click on “Project” from the menu. Then click on “Properties” – the last item in the drop down menu.
  2. On the properties screen, click on “References”.
  3. Click on “Add…”
  4. In the Add Reference dialog box, under the .Net tab, select the “MySQL.Data” component. Click “OK”
  5. In the list under “Imported namespaces”, make sure “MySQL.Data” is checked.
  6. Save your project.

Creating Connection String

The following Visual Basic codes show you how to establish the connection.

Dim DBConnect As MySqlClient.MySqlConnection
Dim connectionString As String = "Data Source=localhost; Database=DB_Name; " & _
"User ID=DB_User_Name; Password=DB_User_Pw"
DBConnect = New MySqlClient.MySqlConnection(connectionString)
DBConnect.Open()

The most important part is the construction of the connection string. It contains the information about where your database is, the name of the database, and the login credentials. These information should match with the configurations you have made when you were installing MySQL Server.

After you have successfully established the connection with the line DBConnect.Open(), you can begin creating queries as if you are connecting to a MS SQL Server, using the MySqlClient namespace instead of SqlClient namespace. When you are done querying the database, you need to close the connection with the following code.

DBConnect.close()

UTF-8 Encoding

If you plan to allow insert data that contains fonts from lanuages other than English, then you should add “CharSet=utf8″ to the end of your connection string to make sure everything is saved as UTF8 encoding.

Dim connectionString As String = "Data Source=localhost; Database=DB_Name; " & _
"User ID=DB_User_Name; Password=DB_User_Pw; CharSet=utf8"

This is extremely important if you are using different operating systems between the server (e.g. Linux) and the client (e.g. Windows).

ASUS UL30A – 10 Hours Up Time

I have been searching for a new laptop for the past few months. I always wanted to get a 12″-13″, light weight model and longer battery life. I was looking at Lenovo’s U350 series as they were the first to have DDR3 laptops in the 13″ form factor. But I have waited for a long time and it is still not available in Canada. So I kept searching until couple weeks ago.

ASUS = Expensive?

ASUS have always been my brand when choosing a laptop because of their innovations and quality. My first laptop was customized with an ASUS barebone in 2002. It is still working perfectly fine today in my dad’s office. The only factor that would hold me back from getting another ASUS laptop was its price. Most of ASUS’ laptops are over $1000, especially for the 12″ – 13″ models.

ASUS != Expensive

Finally, 2 weeks ago I bought the ASUS UL30A-2A laptop for less than a thousand dollar. Its configuration is this:

  • Intel® Core 2 Duo ULV SU7300 processor
  • Windows7® Home Premium 64
  • 4GB DDR3 memory
  • 500GB hard drive
  • 13.3″ HD (1366×768) screen
  • Built-in Wireless N
  • HDMI output

I have waited for Windows 7 to be officially released so that I can get this laptop with the new OS pre-installed. The large hard drive and 4GB of memory is more than enough for me to virtualize another operation system such as Ubuntu Linux using VirtualBox. It is also nice to have HDMI output along with the stand VGA port. The LCD screen is bright and sharp and it’s perfect for watching movies.

Substitute of MacBook Air

However, the features attracted me the most about this laptop are its physical size and battery life. It is under 1 inch thick and it weighs a little bit more than 3 pounds, which gives me a feeling of a MacBook Air. Due to this light weight design, it dosen’t have an optical drive but that’s fine to me because I can easily store CD/DVD images on the spacious hard drive.

10 Hours Up Time

Regarding the battery life, it just amazed me. The ASUS website claims that it can run for 12-hours but I never believe in any manufacturer’s claim about battery life. However, I was able to get at least 7-8 hours with normal usage. I also had a practice in which I like to remote control my laptop from my desktop at work so that I can use a larger screen and only one set of keyboard and mouse among 2 computers. With this practice, I can turn off the screen of the laptop and the ASUS UL30A is able to last for 10 hours before I need to plug in the power.

Other features worth mentioning are:

  • SmartLogon – ASUS developed facial recognition technology where it utilizes the built-in webcam to recognize your face and automatically logs you on to Windows.
  • Speaters – It uses Altec Lansing speakers which are much better than other brand’s low budget laptops.
  • Express Gate – This model incorporates the Express Gate in which you can boot into a stripped Linux operating system within 8 seconds. It gives you a web browser, music player, online gaming, photo manager, chat, and Skype functions.

Nothing is Perfect

Well, nothing is perfect in reality and there are some downside of this laptop. The touchpad is not working very well as it is very difficult to make very precise move with the pointer. The pointer seems to be “skipping” on the screen. This is probably due to the “too smooth” surface of the track pad. Another weakness is that it doesn’t come with bluetooth, which seems to be a standard for today’s laptops. But it is also a standard that I don’t really need and good to trade it off for a lower price tag.

Reminder

If you are looking for mobility and affordability, then this ASUS UL30A would be a very good choice with up-to-date technologies. And if you are getting an ASUS laptop, you should not forget to register it with ASUS within 60 date to activate the 1 year Accidental Warranty. Just in case you “accidentally” dropped your laptop.

ASUS UL30A Top View ASUS UL30A Keyboard ASUS UL30A Altec Lansing ASUS UL30A Touchpad ASUS UL30A height ASUS UL30A Specifications ASUS UL30A Express Gate ASUS UL30A Screen