Thursday, December 11, 2008

HTTP v/s HTTPS

The main difference between http:// and https:// is, It's all about keeping you secure

HTTP stands for HyperText Transport Protocol, which is just a fancy way of saying it's a protocol (a language, in a manner of speaking) for information to be passed back and forth between web servers and clients.

The important thing is the letter S which makes the difference between HTTP and HTTPS.

The S (big surprise) stands for "Secure". 
If you visit a website or webpage, and look at the address in the web browser, it will likely begin with the following: http://.

This means that the website is talking to your browser using the regular 'unsecure' language.

In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the website.

If you fill out a form on the website, someone might see the information you send to that site.

This is why you never ever ever enter your credit card number in an http website!

But if the web address begins with https://, that basically means your computer is talking to the website in a secure code that no one can eavesdrop on.

You understand why this is so important, right?

If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https://.

If it doesn't, there's no way you're going to enter sensitive information like a credit card number!

Monday, December 1, 2008

Converting text to speech in linux

  1. Download festival, espeak or freetts.
  2. Install festival (Press Ctrl and D to exit it when it is running) or espeak.
  3. A default voice is included but you can get voices from FestVox, MBROLA project, CMU Arctic or Nitech HTS.
  4. Unpack them by typing for t in `ls` ; do tar xvf $t ; done.
  5. Install them
    sudo mkdir -p /usr/share/festival/voices/english/
    sudo mv * /usr/share/festival/voices/english/
    .
  6. Get a audio encoder.
  7. Go to the command line.
  8. In festival type (SayText "Hello and welcome to Wikihow")
  9. To see a list of installed voices type (voice.list). To switch to a voice, type (voice_us2_mbrola) for example.
  10. Or from the command line type echo "It's such a beautiful day! Why are you in front of the computer?" | festival --tts
  11. Convert.
  12. Type (quit) to quit.