Sunday, March 28, 2010

Google Translate - Is it reliable?


Google Translate is a powerful and Free tool for doing translation of any text and webpage online.

We can do the translation from here.

Using this tool is very simple and easy.

Either we can enter the text to be translated or the url of the webpage. And, we can upload the document also.

Very cool feature is "Detect language" feature.

Even if you don't know the source language of the text, just select "Detect language" in the "Translate From" drop-down list.

This tool will automatically detect the source language. Interestingly it will detect the language while typing the text itself.

For example, immediately after typing "et", this tool has detected the source language as French.

From technical perspective, definitely this tool is a powerful tool.

Now, my question is whether translation from this tool is reliable or not?.

I am planning to use this tool more for our future web2.0 projects. So, I started testing this tool by inputting some text in different languages and translated them back to the same language.

For example, first I translated the text "Why Google should stay in China" from English to Chinese.

I got below text as translation output.

谷歌为什么要留在中国.

Again, I translated this Chinese text into English. And, I got the text "Why does Google want to stay in China"

i-e The original text "Why Google should stay in China" is changed into "Why does Google want to stay in China" during two translations.

i-e The text is completely changed to give the opposite meaning after translation.

I don't know whether this change happened during English-Chinease translation or Chinese-English translation. If you know Chinese you can specify it thro' comment section.

Anyway, I am just thinking whether it is reliable or not. If you have used Google translate previously/frequently, you can share your experience.

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Saturday, March 27, 2010

PayPal is providing Debit Card for Indian users?


It seems PayPal is going to provide Debit Card for Indian users.
According to the email sent from PayPal to its Customers, the Debit Card will a MasterCard.

So, the PayPal users can withdraw money from MasterCard supported ATM centers immediately. Otherwise, normally withdrawing money to Bank account from PayPal will take 2 or 3 days.

You can read this eHow article to learn more about getting PayPal Debit Card.

You can refer the discussion about this news here.

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Thursday, March 25, 2010

Steps for converting XLSX file into XLS file


This post will explain the steps for converting XLSX files into XLS file.

XLSX is the format of spreadsheet files created by Microsoft Office 2007. XLS is the format of spreadsheets files created by older versions of Microsoft Office.

We can follow below steps for for converting XLSX file into XLS.

- Download the Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint File Formats from here.

-Double click the FileFormatConverters.exe file, and complete the installation.

- Right click on the .XLSX file that needs to be converted, and click on "Open with".

- Choose ‘Microsoft Open XML Converter’ and give name for the XLS file.



More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Monday, March 22, 2010

Xoom will not accept PayPal as Payment method.


Xoom has announced that it will not accept PayPal as payment method.

Find below the blog post from Xoom.

After Wednesday, March 24, 2010, Xoom will not accept PayPal as a payment method for money transfers. Any PayPal-funded transactions that have been placed before that time will be processed as usual.

We sincerely apologize for any inconvenience this change in our service may cause our customers.

Customers will still be able to pay for Xoom money transfers after March 24 by using either a United States bank account, a debit card or a credit card. Using a United States bank account is an easy, secure and low cost way to send money with Xoom.



More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Thursday, March 18, 2010

Added Google Talk chatback badge


I have added Google Talk Chatback badge in the sidebar of this blog.

Using this badge anyone can chat with me if I am available online. (i-e logged in to google talk).


Anyway I prefer to get email (rajamanickam.a@gmail.com) instead of using this live chat. So, send your feedback/suggestions/comments about this blog thro' email. This chat badge can be used for contacting me to report any issue (e.g broken link, page loading problem, page alignment issue) which needs my immediate attention.


The important feature of this badge is, users can chat as Guest without having Google account. (i-e No need to login for doing chat from this blog).

Code for putting this badge can be obtained from here. (You need to login with your google account for reaching this page).


More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Wednesday, March 17, 2010

Google Adsense allows other Ad Networks to compete directly with adWord


Google has announced that AdSense will now show advertisements from other Advertisement networks also.

i-e Other Ad Networks can directly compete with AdWord for showing adSense advertisements.


- AdSense users will get higher earnings in future as the competition is getting increased. (Anyway there won't be any immediate change in earnings)

-Adsense users can block any adnetwork from ad review center in their adSense account.

- It is applicable for only the Google certified Ad Network. You can see below the current list.

Adchemy
Invite Media
Specific Media
Turn
[X+1]
OwnerIQ, Inc.
Adconion Media Group
Adtegrity.com
AudienceScience Inc.
Dapper Inc.
Dedicated Media
FetchBack
LucidMedia
NetSeer Inc.
NextAction
QuinStreet, Inc.
ReTargeter
RichRelevance, Inc.
Teracent Corporation
ValueClick, Inc.
Aggregate Knowledge
Atrinsic
Brand.net
BrightRoll
Chitika
Collective Media
CPM Advisors, Inc
DataXu
Datran Media
Dotomi
Efficient Frontier, Inc.
InterCLICK
Media6Degrees
MediaMath
OpinMind
Quantcast Corporation
Rocket Fuel Inc.
Semantic Sugar, Inc.
Sooth Software Corporation (dba AdBuyer.com)
TellApart
Traffic Marketplace
Triggit
Acxiom Corporation
Advertise.com
Ad Pepper
AdReady
AOL Inc
Xtend Global Media LTD
Goodway Group
Innovation Interactive
Cyberplex, Inc
Didit
Announce Media
Media Innovation Group
VivaKi
AppNexus
Epic Advertising
AccountNow, Inc.
People Media, Inc
Bizo
EchoSearch
MaxPoint Interactive
Mpire
Pinnacle Dream Media
Pulse 360
Radius Marketing Inc.
Reply! Inc.
Criteo Europe
Criteo UK
Infectious Media
The Exchange Lab
Mixpo
Mexad
Adpepper Germany
ClickDistrict NL
DSNR
Hurra Germany
Criteo US
Cossette Communications
Pennyweb, Inc. (DBA Ybrant Digital)
Spongecell
OpenX Technologies
Red Aril, Inc.
Redux Media Inc.
ShareThis, Inc.
HTTPool
DQ&A
Mediaplex
Veremedia
ValueClick International Ltd
Struq Limited


More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Sunday, March 14, 2010

Mysql - Use utf8 for supporting multibyte languags.


Some languages such as Chinese will use many bytes to store single character.

Latin1 is the default charset in mysql.

Latin1 won't support the multibyte characters. i-e if we store the chinese characters in mysql server with the default charset, the characters won't appear correctly.

So, if we are going to store multibyte characters in mysql database we need to specify the charset as utf8.

If we need to migrate the existing latin1 database into utf8 database we can follow any one of the below approaches.
- We can use sql such as "ALTER DATABASE DEFAULT CHARSET=utf8" to migrate the database charset. But in this case, the existing table will continue to use latin1 only. So we need to again alter each table and the required columns.

-Or, we can just export the latin1 database into a file and then import it after replacing "DEFAULT CHARSET=latin1" into "DEFAULT CHARSET=utf8".

Migrate into utf8 charset if only it is required. Because, it will occupy 3 bytes for storing single character. And, case insensitive search query is difficult with utf8. And, we need to make some required changes in sql queries also. For example, "select * from table_name1 where column_name1='value1'" won't work correctly in UTF8 charset.
Instead of this sql we should use "select * from table_name1 where column_name1 like 'value1'"

i-e "=" should be replaced with "like".

This article will give more details about migrating mysql latin1 charset into utf8.

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Saturday, March 13, 2010

Birthday of most successful scientist Albert Einstein (Father of modern physics)




Today ( 14, March) is the Birthday of Albert Einstein who is known as Father of Modern Physics.

-He was born on 14 March 1879 in German.
-He started his career in Swiss as Patent Examiner evaluating patent applications for electromagnetic devices at the Swiss Patent Office.
-He received the 1921 Nobel Prize in Physics "for his services to Theoretical Physics, and especially for his discovery of the law of the photoelectric effect.
-Einstein published more than 300 scientific and over 150 non-scientific works.


His Important contributions are,


- The theory of relativity.
- The founding of relativistic cosmology.
- The prediction of the deflection of light by gravity.
- The quantum theory of atomic motion in solids.
- The zero-point energy concept.
- The quantum theory of a monatomic gas which predicted Bose–Einstein condensation

Find below his famous Quotes

Intellectual growth should commence at birth and cease only at death.

Information is not knowledge.

A perfection of means, and confusion of aims, seems to be our main problem.

A person who never made a mistake never tried anything new.

Anyone who doesn't take truth seriously in small matters cannot be trusted in large ones either.

Everything should be as simple as it is, but not simpler.

Human beings must have action; and they will make it if they cannot find it.

Everyone should be respected as an individual, but no one idolized.

I believe that a simple and unassuming manner of life is best for everyone, best both for the body and the mind.

If you can't explain it simply, you don't understand it well enough.

I think and think for months and years. Ninety-nine times, the conclusion is false. The hundredth time I am right.

I never think of the future - it comes soon enough.

Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.

Look deep into nature, and then you will understand everything better.


Try not to become a man of success, but rather try to become a man of value.

You have to learn the rules of the game. And then you have to play better than anyone else.





Time Line of Einstein's Life
Listen to Albert Einstein explain his famous formula
Einstein's Gravity Confirmed on a Cosmic Scale
Einstein's relativity manuscript goes on display in Israel
Einstein Quotes
10 Strange Facts About Einstein.
Einstein and the Indian minds: Tagore, Gandhi and Nehru

Einstein on God

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Wednesday, March 10, 2010

Google is promoting AdWords in India


Google has started promoting their Adwords in India.

They are sending promotion codes for creating new adWords account. This free coupon will allow the user to run campaign worth around 2500 rupees.

And, even they are making calls to the customers and helping them to setup adWord account, running campaigns and tuning keywords to get maximum quality score.

The customer support can take control of the users' adWord account to setup & run campaigns if the user gives "client manager" access for them.

If you are not familiar with adWords you can read below things,

- AdWord is PPC (PayPerClick)advertisement program run by Google. i-e advertiser will pay only if the user clicks the advertisement.

- The advertiser can easily create campaigns targeting with specific budget and region.
- Campaigns can have several adGroups which can have multipe ads and Keywords.

- Keywords can be easily added/managed using Keyword tool. Even we can get automatic keyword suggestions from AdWords.

- By setting proper Keywords we can improve QualityScore which will help to reduce the ad cost.

- Adwords can be integrated with Google analytics.

- The Ads will appear in Google search result page and also in their content network as AdSense Ads.


-We can track the conversion by putting conversion tracking code in our target webpage. Even we can specify the budget by targeting conversion also.



More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Sample PHP code for creating forgot password feature in any website


Most of the websites will require the users to register them for getting username/password which can be used for logging into their website.


It is very common that the users forget their password. So, the websites should allow the users to receive their password into their email using forgot password link available in the login page.

Find below the sample php code which can be used for implementing the forgot password feature.


$email_to=$_POST['email'];

if ($email_to == "") // Email address cannot be empty
{
header("Location: mail-password.php?send=Email not entered");
}
else
{
if(is_valid_email($email_to)) // check the valid email address or not
{
$to=$email_to;
$subject="QualityPoint Password"; // Your subject
// From
$header = 'From: info@qualitypointtech.net' . "\r\n" .
'Reply-To: info@qualitypointtech.net' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
//add code for selecting $userid and $pass for user table for the input $email_to.
// Your message
$messages.="Forgot password - qualitypointtech.net \r\n";
$messages.="-------------------------------------- \r\n";
$messages.= "Your login information to our website is- \r\n";
$messages.="UserId: $userid \r\n";
$messages.="Password: $pass \r\n";
$messages.="-------------------------------------- \r\n";

// send email
$sentmail = mail($to,$subject,$messages,$header);

if($sentmail) //if your email succesfully sent
{
header("Location: mail-password.php?send=Password has been sent to your email id");
}
else // Cannot send password to your e-mail address
{
header("Location: mail-password.php?send=Not able to send email");
}
}

else //Email address has not been found in our database
{
header("Location: mail-password.php?send=Email address not found");
}
}


function is_valid_email( $address )
{
$rx = "^[a-z0-9\\_\\.\\-]+\\@[a-z0-9\\-]+\\.[a-z0-9\\_\\.\\-]+\\.?[a-z]{1,4}$";
return (preg_match("~".$rx."~i", $address));
}




The step involved are,
1. First provide a form with input text box with name "email" for allowing the user to enter his email id.

2. On submitting this form, the "email" will be posted to the php page mail-password.php.

3. From user table, query the password corresponding to the entered email id. (If you have stored the password in encrypted form then reset it with default/random password and send this default/random password to the user)

4. Validate the email id.

5. Prepare the email message and send it using php mail() function.


More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Sunday, March 7, 2010

Published eBook for learning Software Testing and QTP


Few months back I have released draft version of ebooks for learning Software Testing and QTP automation.


Now we have provided a sales page for easily buying it online.
You can safely buy thro' paypal.

For further details refer our new website.

You can join the discussion about this eBook in our forum

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Friday, March 5, 2010

Selecting Random Row from MS Access table


In my previous post, I have explained about selecting random row using php and mysql.

Today I get a chance to see the code which was written in ASP for selecting random row from ms access table.

It seems there is no straight way for doing this. We had to write code something similar to below one.

set rs=server.CreateObject("ADODB.recordset")

rs.Open "select quotes from quotes",connObj,3,3

Randomize()

intRangeSize = rs.recordcount - 1 + 1

sngRandomValue = intRangeSize * Rnd()

intRandomInteger = Int(sngRandomValue)

for i=1 to intRandomInteger

rs.movenext

next

response.write rs("quote")



So, it is very obvious that php/mysql is very easy and effective while comparing with ASP/MS-Access. But I couldn't understand why people are still using ASP/MS-access.

If you want to convert your asp webpage into php webpage you can refer my previous post about asp to php conversion.

Anyway, I think random row from sql server can be easily fetched just by adding "order by newid()" in the query.



More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Thursday, March 4, 2010

Synchronous execution of .exe file from VC++ application


Recently, in one of our project we have faced some difficulty in executing a windows/shell program from VC++ application.

Previously we used shellexecute () for calling a windows .exe file (e.g cmd.exe with some parameters) from VC++. But next step after calling shellexecute() started to begin its execution before the shell execution completes. It created some mess-ups.

We came to know that WaitForSingleObject can be used for synchronizing the execution.

But we have to use shellexecuteex () instead of shellexecute ().

And, syntax of shellexecuteex () will be different from shellexecute ().

You can refer the below sample code refered from codeguru.com

SHELLEXECUTEINFO lpExecInfo;

lpExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
lpExecInfo.lpFile = "c:\\one.exe"; //file name or whatever you want to open
lpExecInfo.fMask=SEE_MASK_DOENVSUBST|SEE_MASK_NOCLOSEPROCESS ;
lpExecInfo.hwnd = NULL;
lpExecInfo.lpVerb ="open"; // open, explore, or print
lpExecInfo.lpParameters = NULL;
lpExecInfo.lpDirectory = NULL;
lpExecInfo.nShow = SW_SHOW;
lpExecInfo.hInstApp = (HINSTANCE) SE_ERR_DDEFAIL ; //WINSHELLAPI BOOL WINAPI result;
ShellExecuteEx(&lpExecInfo); // explore, print, or open the exe file

//wait until a file is finished with working or the user closed it.
// another way of saying freez the program until one.exe is closed.
if(lpExecInfo.hProcess !=NULL)
{
::WaitForSingleObject(lpExecInfo.hProcess, INFINITE);
::CloseHandle(lpExecInfo.hProcess);
}


More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Wednesday, March 3, 2010

Open Identity Exchange (OIX) Launches at RSA




Industry leaders Google, PayPal, Equifax, VeriSign, Verizon, CA, and Booz Allen Hamilton today announced at the RSA Conference 2010 the formation of the Open Identity Exchange (OIX) , a non-profit organization dedicated to building trust in the exchange of online identity credentials across public and private sectors.

This will save you from creating different accounts in several websites. So, we need to remember all different usernames and passwords.

The U.S. Government Information and Credential Access Management Committee has approved the OIX as a Trust Framework Provider.
You can read this article to know about What is Trust Framework.


PayPal has posted below message it its blog post.


In this digital era we’re living in, consumers should have ultimate control over their personal information and online identity. This is why a multichannel trust framework is so critically important. It will allow everyday citizens to maintain their privacy while conducting everyday activities online — things like posting comments on government Web sites and making purchases on their favorite online shops. We here at PayPal are proud to be part of the team shaping how this structure facilitates trusted interactions and transactions.


Google has posted about OIX as below in its blog post.



Google's identity, security, and privacy specifications have been certified so that a user can register and log in at U.S. government websites using their Google account login credentials. The National Institute of Health (NIH) is the first government website ready to accept such credentials, and we look forward to seeing other websites open up to certified identity providers so that users will have an easier and more secure time interacting with these resources.


Verizon has stated as below about the formation of OIX.


"As a leader in identity infrastructure, we are excited about the progress the OIX is making in creating a common set of process and protocols that will ultimately result in Internet users having a single user name and password to more securely access any site on the Web."


FAQ section of the OIX site provides below details.

-The Open Identity Exchange (OIX) is a non-profit corporation serving as an independent, neutral provider of certification trust frameworks for open identity technologies.
-Google, PayPal, and Equifax are the first three OIX members to be certified for as identity providers at US ICAM LOA 1 (level of assurance 1). Verizon and VeriSign are currently in the certification process.
-Canada, the UK, and France (FC2 consortium) all have projects investigating the use of open identity technologies and trust frameworks.
-Trust communities can also be entirely private.
-OIX welcomes governments, professional associations, non-profit networks, and other communities who want to develop their own trust frameworks.

Current Executive members of OIX are listed below,



This idea of storing user name and password in a centralized place/database may be good idea. But it may increase the risk also, because compromising single password may affect all related websites.

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Tuesday, March 2, 2010

NASA estimates 600 million metric tons of water in Moon


NASA has estimated around 1.3 trillion pounds (600 million metric tons) of water ice near the north pole of Moon by analyzing data from a NASA radar that flew aboard India's Chandrayaan-1 spacecraft.

Last year November month, NASA confirmed existence of Water on by the Moon by analyzing the impact data gathered by 'bombing' moon using LCROSS

Find below the CPR map of north pole of the Moon.



More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Need to enter purpose code for withdrawing money from PayPal to Indian Banks.


As mentioned in previous post, PayPal has released new instructions for withdrawing money from PayPal to Indian Banks.

According to the new instructions, Indian PayPal customers should enter Purpose Code while withdrawing money from PayPal to local Bank in India.

The purpose code will vary according to the nature of income source.

For example,

Software Programmers (system, web development) should use P0802
Consultants,data management and processing consulting workers should use P0803
Consultants (Hardware troubleshoooting,product guide etc) should use P0801
Logo Designers, web designers (PSD,HTML/XHTML layouts,video,audio,ebooks etc) which includes creative works and under licensing should use P0902
Bloggers, Article Writers, Online Journalists should use P0805
If you own any online newspapares,news aggregation websites should use P0806
Market Researchers Marketing/ brand consulting / logo design / event management services can be exported should use P1007

For complete list of purpose code you can refer the paypal blog.

And, personal payments and donations to charity thro' paypal are blocked now.

Many people are having a question about which purpose code should be entered if there is more than one type of income source?

More Articles...


You can bookmark this blog for further reading, or you can subscribe to our blog feed.
Read more ...

Search This Blog