Expertester

November 27, 2009

Maxis Broadband 4.5 mbps (actual real world test)

Filed under: Uncategorized — expertester @ 7:36 pm

You gotta be kidding me…Maxis broadband (my sis in law pay RM88 for this kind of connection…omg)

 

The best part is, actual download speed (using IDM) from youtube is faster than speedtest.net where this connection get somewhere around 2 mbps.

 

Weird isn’t it. Actual download speed is faster than speedtest.net. Not satisfied…let test another download from nzones which I know has very fast server.

 

Gosh… 600 to 700 kBps (more than 5 Mbps). This is basically 3 times faster than my RM110 streamyx.

Still can’t believe my eyes.

 

Location : Sg. Buloh,

Time : 3.10 – 3.34 AM

3 Months AV

Filed under: Uncategorized — expertester @ 12:30 pm

http://www.microsoft.com/windows/antivirus-partners/windows-7.aspx

check it out.

note : Norton AV 2010 (3 months). Others, I m not sure ;p

November 12, 2009

ASP.net (VB.net) simple login page

Filed under: Uncategorized — expertester @ 7:37 pm

 

Dim connStr As String = ConfigurationManager.ConnectionStrings(“MainConnStr”).ConnectionString

 

Dim sqlconnet As SqlConnection

Dim MyComm As SqlCommand

 

sqlconnet = New SqlConnection()

sqlconnet.ConnectionString = connStr

 

MyComm = New SqlCommand(“”, sqlconnet)

 

MyComm.CommandType = Data.CommandType.Text

 

MyComm.CommandText = “SELECT * FROM login WHERE (username =’” & txtUsername.Text & “‘) AND (password = ‘” & txtPassword.Text & “‘) “

 

sqlconnet.Open()

 

Dim result As SqlDataReader = MyComm.ExecuteReader(Data.CommandBehavior.CloseConnection)

 

If result.HasRows = False Then

‘MsgBox(“login failed”)

‘Response.Write(“Fail”)

Lstatus.Text = “Your login or password doesn’t match. Login Fail”

 

Else

Session(“username”) = txtUsername.Text

‘MsgBox(“login success…!!!!”)

Response.Redirect(“success.aspx”)

‘Response.Write(“Success”)

End If

result.Close()

Java Servlet Simple Login System (with MySQL)

Filed under: Uncategorized — expertester @ 7:25 pm

Servlet :

package com.arham.servlet;

 

import java.io.IOException;

import java.io.PrintWriter;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import java.sql.Connection;

import java.sql.DriverManager;

import java.sql.ResultSet;

import java.sql.Statement;

import java.sql.SQLException;

 

 

 

public class logincheck extends HttpServlet {

 

 

protected void processRequest(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

 

String username = request.getParameter(“username”).toString();

String password = request.getParameter(“password”).toString();

 

 


Connection connection = null;

try {

 


String driverName = “org.gjt.mm.mysql.Driver”; // MySQL MM JDBC driver

Class.forName(driverName);

String serverName = “localhost”;

String mydatabase = “arhamjava”;

String url = “jdbc:mysql://” + serverName + “/” + mydatabase; // a JDBC url

String sqlusername = “root”;

String sqlpassword = “MyP@SsW0rD”;


connection = DriverManager.getConnection(url, sqlusername, sqlpassword);

}

catch (ClassNotFoundException e) {


// Could not find the database driver

}

catch (SQLException e) {


// Could not connect to the database

}

 


Statement stmt = null;

ResultSet rs = null;

 

String checkUsername = null;

String checkPassword = null;

int checkAccessPower = 0;

 

try

{


stmt = connection.createStatement();

rs = stmt.executeQuery(“SELECT username, password, accesspower FROM account WHERE username = ‘” + username + “‘ AND id > 0″);

 


PrintWriter out2 = response.getWriter();

 


while(rs.next())

{

checkUsername = rs.getString(“username”);

checkPassword = rs.getString(“password”);

checkAccessPower = rs.getInt(“accesspower”);

}

if(checkUsername != null)

{

if(checkPassword.equals(password))

{

out2.println(“Welcome ” + username + “<br/> <h2>Login Success</h2>”);

if(checkAccessPower > 150)

out2.println(“Status : ADMIN”);

else if (checkAccessPower > 50)

out2.println(“Status : Normal User”);

else if (checkAccessPower < 9)

out2.println(“You have been banned by admin. Contact your administrator for clarification”);

}

else

out2.println(“<h1>Login Fail</h1> <br/> Click back to relogin!”);

}

else

out2.println(“<h2>Login Fail</h2> <br/> Reason : Your username not exist in our database.”);

 

}

catch (SQLException ex)

{


// handle any errors

System.out.println(“SQLException: ” + ex.getMessage());

System.out.println(“SQLState: ” + ex.getSQLState());

System.out.println(“VendorError: ” + ex.getErrorCode());

}

 


response.setContentType(“text/html;charset=UTF-8″);

PrintWriter out = response.getWriter();

try {

 

out.println(“<html>”);

out.println(“<head>”);

out.println(“<title>Servlet Login Check </title>”);

out.println(“</head>”);

out.println(“<body>”);

out.println(“</body>”);

out.println(“</html>”);

 

} finally

{

    out.close();

    }

 

 

}

 


// <editor-fold defaultstate=”collapsed” desc=”HttpServlet methods. Click on the + sign on the left to edit the code.”>

@Override

protected void doGet(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

processRequest(request, response);

}

@Override

protected void doPost(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

processRequest(request, response);

}

 

@Override

public String getServletInfo() {

return “Short description”;


}// </editor-fold>

 

}

 

***********************************************************************************

April 6, 2009

Google Chrome + ‘Ads Block’

Filed under: Uncategorized — expertester @ 10:59 pm
Tags: ,

I always love google chrome.

I love it simplicity, elegence, speed, small footprint, detachable tab, small download size and best of all.. it doesnt use much screen space.

However, there is one thing that keep make me double click firefox instead of Chrome…which is Chrome has no adblock pluss plug-in which is a very handy plugin in my opinion.

Fred not, here is the work around…say bye bye to ads :p

Download and install Privoxy at http://www.privoxy.org/
Click on the Wrench icon in Chrome in the upper right corner.
Choose options>Under The Hood>Change proxy settings.
In the Internet Properties dialog’s Connections tab, click on the LAN settings button.
Check off “Proxy settings” and in the address setting add 127.0.0.1 and in the port 8118.
If you have the option, you can also check off “Bypass proxy for local settings”.
Click “OK,” close Chrome and restart it.

February 16, 2009

25 Tips Resume Writing

Filed under: Uncategorized — expertester @ 12:08 pm

Note : I know this is not tech related, but sooner or later we might want to create our very first resume or rewrite our old and outdated resume. In the journey to help my wife rewrite her resume, I found this interesting article (in pdf) and I thought it would be nice to share with my blog readers.

 

*******************************************

 

 

Are you suffering from resume-writer’s block? Does everyone else’s resume seem more professional and better worded than yours? The following are some guidelines to help you create a better resume:

 

1. Be neat and error free.

Catch all typo’s and grammar errors. Make sure someone proofreads

your resume, preferably someone attentive to details. Even

the smallest error could land your resume in the reject pile.

 

2. Write a powerful opening statement.

Form a solid, clear opening statement that will help you carry a

focused message throughout the resume. The best opening statements summarize

your skills and emphasize your strengths.

 

3. Focus on your benefit to employers.

Focus on highlighting accomplishments that will arouse the interest of employers who read

your resume. Answer the question: “How can this candidate fulfill the role and make a positive

impact?” Remember that the goal is to get the interview.

 

4. Make a good first impression.

On average, employers spend less than 30 seconds scanning each resume. Most employers

are more concerned about career achievements than education. Place the most interesting and

compelling facts about yourself at the beginning, such as a list of accomplishments in order of

relevance.

 

5. Emphasize your skills.

Use a skills or capabilities section in your resume that is organized around the main talents

you have to offer. Prioritize everything.

 

6. Use keywords.

Include specific keywords and phrases that describe your skills

and experience, such as Product Launch, Income Statement,

Balance Sheet, Sales, Account Management, C++, Visual Basic,

Word Processing, MS Excel, Adobe Illustrator, Graphic Design, and Advertising.

 

7. Use industry jargon.

Use industry jargon and acronyms to reflect your familiarity with the employer’s business, but

not to the point where it makes your resume hard to read or understand. Spell out acronyms

in parentheses if they are not obvious, such as TQM (Total Quality Management).

 

8. Use action verbs.

Portray yourself as active, accomplished, intelligent, and capable of contributing. Examples:

Managed, Launched, Created, Directed, Established, Organized, and Supervised.

 

9. Avoid personal pronouns.

Never use personal pronouns such as ‘I’ or ‘me’ in your resume. Instead of complete

sentences, use short Action-Benefit statements, like: “Coordinated and published a weekly

newsletter that raised awareness for local community

events.”

 

10. Highlight key points.

Use bold, italics, and underlining to highlight the most relevant information on your resume.

For ASCII text-only resumes, you may use capital letters, quotation marks, even asterisks, to

emphasize important words or section titles.

 

11. Summarize information.

In your resume, use only the amount of space required to demonstrate your qualifications

for the position clearly and succinctly.

 

12. List only recent information.

The general rule of thumb is to show your work experience only for the last

10 to 15 years, unless there is specific prior experience that

is especially relevant to the position you are seeking.

 

13. Quantify or qualify experience.

Numbers are a powerful tool, and should be included in

your Action-Benefit statements. Instead of writing “Responsible for increasing sales in my

territory,” use “Increased sales in my territory 150% over 6 months. Managed 30 accounts

increasing revenues from $1.5M to $2M annually.”

 

14. Be organized, logical, and concise.

In addition to reviewing your experience, employers also use the resume to sense whether

you are organized, logical, and concise. Make sure your resume is balanced, neat, visually

appealing, and flows consistently. Clearly separate sections and emphasize section titles. Leave

sufficient blank space between sections for easy reading.

 

15. Just communicate.

Abandon the use of exorbitant, exquisite vocabulary. In other words, don’t try to impress

employers with the depth of your vocabulary. Use words everyone can understand.

 

16. Omit salary information.

Never refer to salary in your resume. Save this information for the interview.

 

17. Avoid questionable subjects.

Never refer to personal information such as race, religion, marital status, age,

political party, or even personal views. In all but a few instances, it would be illegal

for the employer to consider such issues. Also, avoid the use of humor and clichés

in most resumes.

 

18. Be honest.

Lying or exaggerating your abilities will always come back to haunt you. Since

employers usually check into serious candidates, you will want every detail to check out.

 

19. Sell your strengths.

Do not under-emphasize your strengths and experience. Portray yourself in the best possible

light. Skills that seem natural to you, others may never grasp.

 

20. Write your own resume.

Be personal, yet professional. Create a resume that reflects your best personal characteristics

and positive traits.

 

21. Personal traits.

If you want to include personal traits in your resume, such as “Dependable, Highly-Organized,

Self-Motivated, and Responsible,” rather than just listing these traits, try

demonstrating these characteristics using examples from your experience.

For example, instead of writing “Dependable”, write “Never missed

an important deadline in five years as a project manager.”

 

22. Position yourself in the best possible light.

To de-emphasize glaring gaps in your work history, consider using a

Functional resume, which focuses on your skills and accomplishments rather

than a Chronological format, which emphasizes the progression of your experience.

 

23. Combine sections when possible.

Try to combine any short sections together to make your resume more compact. For

example, if you only have one entry under training, consider placing it under your education

instead and change the section title to “Education and Training”.

 

24. Use common section headings.

Use common section headings. Examples: Objective, Experience, Employment,

Work History, Skills, Summary, Summary of Qualifications,

Accomplishments, Achievements, Capabilities, Education,

Professional Affiliations, Publications, Licenses and Certifications, and Honors.

 

25. Be positive.

Remove any negative comments or feelings conveyed in

your resume, especially when it comes to previous employment

experiences. Emphasize a positive, can-do attitude.

 

 

******************************************************

 

Download softcopy (in pdf) here : MediaFire

Password : expertester.wordpress.com

February 3, 2009

DriverMax : Free Driver Scanner and Updater

Filed under: Uncategorized — expertester @ 11:08 am

How many times did you pull your hair when you can’t find your computer drivers especially if it was freshly formatted? How many times did you sighed when you need to browse one website to another website just to find latest drivers of your computer hardware. And how many times did you curse your <insert anything here> when you found a nice driver scanner and updater software but need to pay for that software?

Well… say bye bye to that days.

DriverMax (freeware) is here.

I am so happy when I found this little tool (but huge impact on my daily computing life). And I can’t believe my eyes…it is free (well, you need to sign-up a free account with them to get registration key…but account sign-up is free too).

Download DriverMax here : http://www.drivermax.com/

After installation complete, you can sign-up a free account within the software itself.

Registration code will be send to your email (thus you need a valid email). Copy that registration code and enter it and viola…

 

 

February 1, 2009

WD 250GB need replacement

Filed under: Uncategorized — expertester @ 11:04 am

I used to use HD Tune 2.55 (freeware) to check my hard disk performance and health. And recently, I found out that data in my almost 3 years old Western Digital Caviar SataII 16 MB Cache (250GB) start to corrupt and certain file can’t be copied to other partition or hard disk. Let alone delete it. Once a while, when I perform scan disk (complete), I notice there was a lot of error need to be fixed.

Finally, I fire up HD Tune 2.55 and I got this :

Health Status : OK….

Hmm… other than very high temperature (I already ignore this one because this model really hot since the very first day I bought it) and Relocated Sector Count, everything seem normal. Like most normal user out there…I thought this is OK. (Actually it is not :D ).

Still not satisfy with this result, I download Hard Disk Sentinel to check my hard disk. Surprisingly….

There are 72 bad sectors on the disk surface. The contents of these sectors were moved to the spare area.

The drive found 5 bad sectors during its self test.

Based on the number of remapping operations, the bad sectors may form continuous areas.

There are 20 weak sectors found on the disk surface. They may be remapped any time in the later use of the disk.

It is recommended to examine the log of the disk regularly. All new problems found will be logged there.

 

It is recommended to backup often to prevent data loss.

 

 

Very handy isn’t it. HardDisk Sentinal mark which partition is OK and which is not.

 

Still not satisfied… test with Western Digital Data Lifeguard Diagnostic and I got this one :

 

Hmm… all these screen shots really made me aware that I need to backup my data ASAP. And of course I gonna need a new hard disk. Further action : Check this hard disk still got warranty under WD or not.

Western D hdd : http://support.wdc.com/warranty/

Seagate HDD : http://support.seagate.com/customer/warranty_validation.jsp

 

 

Ah ha…. This unit still has warranty. Thanks God.

Last step : Call 1800 88 1908 for their WD Express Doorstep Warranty Service. (That number only for Malaysian :p )

 

 

 

 

 

 

 

August 21, 2008

Ok, I love Vista

Filed under: Uncategorized — expertester @ 7:34 pm
Tags: ,

Author : Expertester

Contradict to my old post (Why XP not Vista) I finally fall in love with Microsoft Windows Vista and Microsoft Windows Server 2008 (as server and workstation).

However, this is not happening overnight. A lot of effort and time had been put to understand, learn and study how to fully utilize Vista potential. Vista is the current generation of operating system and I have to work alongside with it instead of keep fighting it in order to enjoy maximum benefits of Windows Vista, thus resulting better productivity.

Bear I mind, I do not compare Vista to any operating system directly, be it Windows XP, 98, 2000, OSX or even Linux. This post more or less, explains why I as a former Windows Vista hater / basher could fall in love with this Operating System.

  • Security : Out of the box experience
  • Speed
  • Reliability
  • Current Technology
  • Matured driver
  • New Networking Experience
  • Advance Sleep
  • Installation and Recovery
  • Ultimate Package
  • Bloated?
  • My Documents Issue
  • Aero
  • I use Office 2007
  • I have to use Ms Visual Studio
  • Compatibility
  • Games and DirectSound
  • Stability
  • DreamScene
  • Fully Bake OS
  • SuperSearch (more…)

July 21, 2008

Why Should I Consider Vista

Filed under: Uncategorized — expertester @ 6:58 pm
Tags: ,

Contradict to my previous post (Why XP not Vista … read here), why don’t we shift our paradigm and look at different perspective. And start to ask ourselves, why should we consider Vista instead of continue to use our old and trusty Windows XP.

Let put out think hat.

Standard De Facto

Latest PC and Notebook come with pre-installed Windows Vista (Either Home, Business or Ultimate). Unfortunately, not many of these manufacturers provide Windows XP driver which will cause a lot of troubles to loyal Windows XP hard die fan. They need to googling here and there to find compatible driver, just want to make it working. So, here is one critical question. Does that driver is highly optimize for your PC or notebook hardware. There is no point to install Windows XP (if the objective is speed) if the drivers for your computer hardwares are not optimize.

(more…)

nVidia GeForce 9100M G Benchmark Comparison

Filed under: Uncategorized — expertester @ 1:37 pm
Tags: , , , , ,

nVidia GeForce 9100MG Benchmark : A Reality Check

Base on previous review (you can read here) for Acer Aspire 4530 which pre-equipped with GeForce 9100MG, we know that 9100MG score 1415 for 3dMark06 and 3393 for 3Dmark03. But, how good/bad this number mean.

Obviously, for benchmark freak, they will recognize how good this integrated chipset will perform since they have ‘built-in benchmark database’ in their head. But, how about the rest of us. So, a quick check to numeruos website need to be done, to get a rough idea what that number mean.

Acer 4350 score 1415 for 3dmark06

(more…)

Blog at WordPress.com.