Relative Frequency of Letters in English Text

20120328-232751.jpg

Something I found interesting

Advertisements

Installed WordPress App for IPod Touch

Installed the WordPress App on my iPod touch. Let’s see if this makes a difference. Although I like posting from my laptop more than using my iPod because it’s more comfortable to type.
The app looks pretty neat with almost all the functions you get to use on a desktop. Much more sophisticated than some other blogging software I have used plus it’s fast.
With the kind of Internet connection I have around here in college it’s nice to have an app that doesn’t need to pull much data online. Try it if you want to. I’d say go for it.
Anyways
Tc
More later
Joys

Cyber Threats and Laws

So I was attending a seminar about Cyber Laws on how your playful attitude on the internet can turn into a real serious issue.

We all have a playful side to us. Sometimes it goes too far that we forget what we are doing.

Sometimes we do things, we think is nothing serious, but in fact, they turn out to be. Numerous people have spoiled their life this way.

Releasing cracks for software, hacking into official websites (and proudly posting about it on the internet), releasing ripped movies on the internet can all get you to places you don’t want to go.

Example 1: (How not to ACT SMART)

A perfectly good software engineer earning well and living comfortably is on his way in a train to the airport when he figures out that he is a bit late and the flight is about to start. He sends a message to the airport saying there is a bomb in the flight. He got arrested and put in Jail. Job lost. Life ruined.

Example 2: (How not to GET FOOLED)

A senior official earning around 1.7 lacs per month receives a mail which looks fairly clean asking him to leave the job he is currently working on and come over to their country which is paying him 3 lacs per month. He was all set to leave the country when at last he found out that it was fake. Phishing. Can ruin your life for good. Be careful with the mails that you receive.

Example 3: (How not to be AN IDIOT)

Remember how you receive mails with a photo of a poor old baby or a famous actress or photo of God himself, saying if you send this to twenty people you will receive luck, favor bla bla bla. Well let me put a stop to all the stupidity. None of it WORKS.!. They are all either spam or its a form of encryption that KNOW HOWs use to send messages. Its a process called Steganography.
The terrorist attack on the parliment (or on hotel Taj), one of it, was actually communicated through messages like this with a Picture of Aishwarya Rai. More on steganography later in the next post. The message was actually communicated through the picture. So from now on. Please stop spamming others with emails such as the ones i told you about. If you ever find one DELETE it.

Example 4: (How not to be SO PROUD)

When you find out something. A crack. A good rip of a DVD. A script by which you could hack into a website.etc etc etc. It would help if you keep it to yourself. Posting on your blog or posting on your website will only get you into a big mess. Someday somehow someone will track you down and nail you.

Example 5: (How to be CAREFUL ENOUGH)

A famous E Commerce Website hosting millions of products. Some user posts a Porn Video on it for sale without any of the site managers knowing about it. The CEO gets Jailed for hosting Porn Videos on his website for sale. He didn’t do anything wrong. But Carelessness.

Example 6: (How not to be UNAWARE)

This is one of the most important aspect that people need to concentrate on. Most people do not know what will get them into trouble. What will not.
The story of a Ph.D student in Russia goes like this.
He builds a tool that converts E-Books to Text files completely. Lovely. What a piece of work. But no.
Here’s the twist. E-books contain Password protection that helps it to be sold for a PRICE. While converting the E-Books to Text files. Our man here forgets to write a code for this i suppose. So a famous E-Book Software maker whose name i do not want to specify wishes to sue this person. But they couldn’t because they are from another country. So what do they do. They invite our Nice guy to present a seminar about his software in their own country and when he was done. He got arrested.

So what do i wanna say. The law is everywhere and there are powerful people around us whom we cannot fight with too. Be careful what you post on the internet before it costs you your good life.

Take Care of Yourself

Joys.

Making HTML Pages

I have given you the source code for some basic HTML i have written but have not specified how to make them, in the sense, where to type them and how to save them and how to open them. 

So for HTML you do not need any sort of compiler that you need for stuff like C, C++ or Java for that matter. 

A Notepad will do. 

How a notepad.?

All you have to do is copy and paste the code i have given in the other blog posts and ‘Save as’ … <filename>.html
That is just save it with a ‘.html’ filetype.

So if you want your file to be named ‘testpage’ then save the page as, ‘testpage.html’

Hope i was clear enough

For linux users, you can use Gedit. or Kedit, which ever you have. 

Why not High-End Softwares

People usually go for high-end softwares for making webpages. Softwares such as Adobe Dreamweaver. But for learners it is recommended that only notepad be used. Reason for this is, when you learn, you need to learn the real thing. High-end softwares can do a lot of work for you and they do correct mistakes themselves if you will. So that pulls you back on your road to learn HTML properly. 

P.S: If you want something a little more powerful than notepad on windows i suggest you download notepad++. Its opensource so you can download it for free on the internet. Search Google. I assume that most linux users will be satisfied with G-edit or K-edit.

 Thanks for reading.

Comments and doubts are welcome. 

Tc. Joys. See ya

Using Forms in HTML (Sample Webpage #1)

This is a Simple web page created using forms made mainly for you to copy and paste it and play around with the tags so that you can learn a bit more about HTML. Be bold to delete, edit and replace stuff in this code. Thats the way to go.

This is a form to take info about people participating in an interview. This could be used as an online registration form or anything you want it to be called.

Try it out!..

<html>

<head>
<title>Off Campus Entry Form</title>
</head>
<body>
<h1>
Off Campus Entry Form
</h1>

<form name=”input” action=”index.html” method=”get”>
Name: <br />
First name: <input type=”text” name=”firstname” /><br />
Last name: <input type=”text” name=”lastname” /><br />
<br/>
Gender: <br />
<input type=”radio” name=”sex” value=”male” /> Male<br />
<input type=”radio” name=”sex” value=”female” /> Female<br />
<br/>
Email id: <input type=”text” name=”email” /><br />
<br/>
Languages Known:<br/>
<input type=”checkbox” name=”lang” value=”C” /> C<br />
<input type=”checkbox” name=”lang” value=”C++” /> C++<br />
<input type=”checkbox” name=”lang” value=”java” /> Java<br />
<input type=”checkbox” name=”lang” value=”.net” /> .Net<br />
<br/>
Field:<br/>
<input type=”radio” name=”field” value=”arts” /> Arts and Science<br />
<input type=”radio” name=”field” value=”engg” /> Engineering<br />
<br/>

Qualification:<br/>
<input type=”radio” name=”qualification” value=”ug” /> Under Graduate<br />
<input type=”radio” name=”qualification” value=”pg” /> Post Graduate<br />
<br/>

<input type=”submit” value=”Submit” />
</form>
</body>

</html>

Post your doubts.

Thank you.

Joys

Simple Web Page

Here’s the code for a simple web page i created to start off with. Though this is really really basic and when i say really its REALLY basic. This would help in understanding what each tag does. Take a trip around w3schools.com HTML tutorial and come back here and you can play around with the tags and see what each one does.

<html>
<head>
<title>
J Cafe
</title>
<style type=”text/css”>
body {
background-color: #d2b48c;
margin-left: 20%;
margin-right: 20%;
border: 1px dotted gray;
padding: 10px 10px 10px 10px;
font-family: sans-serif;
}
</style>

</head>

<body>
<h1>
Welcome to J Cafe
</h1>

<p>
You’re in for a real treat…. Take a look at our exquisite menu..
</p>

<h2>
THE MENU
</h2>

<h3>
House Blend, 80 /-
</h3>
<p>
A smooth blend of coffee from mexico and Bolivia
</p>

<h3>
Mocha Cafe Latte, 75
</h3>
<p>
Expresso, Steamed milk and Chocolate Syrup
</p>

<h3>
Cappuccino, 70
</h3>
<p>
A mixture of Expresso, steamed milk and milk foam
</p>

</body>
</html>

Post your doubts. Will answer them if i can. As soon as possible. Thank You.

Learning HTML

As a part of my course work, I’m supposed to learn HTML, XML and Javascript. So you can be expecting some posts about that too here.

Learning HTML would be the easiest thing i guess. Log on to w3schools.com and you will have everything you need to get going. In about one hour or so. You will have learnt enough to make your own website. The site also allows you to test out the things that you have learnt side by side, with some workspaces. This would be one way to go about it. This is how i first learnt it few years back and i’m going through it again.

So anyways. There are plenty of good books out there which you can use to learn too. A particular one that I am using now as a reference is this book called “Head First – HTML (with CSS & XHTML) written by Elisabeth and Eric Freeman, published by O’Reilly Publishers. This would be a good read if you want to take a dive into HTML. It will get you starting in no time and to add more. The book is awesome. You can read it as though you were reading a story book but really you would be learning a lot too.

Tc

Joys