Go to run and type ‘matlab’, or just open the matlab application by double clicking it. Copy the M-file and change the wroking directory to that directory.

now type this in your command window :

>>send_mail_message(‘roll_no’,’subject’,'my message is hello world’);

I have customized this code to send mail from and to nittmail accounts only. When i tried to send to other service providers it was showing error.

I got this code from central file exchange library of matlab.

Remember

1. You can send and receive mails using any name and password. (they do not really matter). Infact no need to login to send those messages. (this is for nittmail only)

2. Be cautious and dont use it in any way that may end up in trouble.

3. This is very useful for people like those who have to send mail to everybody inside the campus.(“especially while sending the assignment questions :) “).

Here is the link for sending common messages with attachment.


Here is the link for sending common messages wothout attachment.

I have tested the above codes in OCTA lan only. Dont know whether they would work in internet but quiet confident that they will work.

I got another for updating Twitter status message. Here is the link to mathworks.

For sending mail to gmail account here is the code.

:)

Learning matlab !!!

Its fun unlike learning C,php,sql etc. which I am afraid of. My first experiment started with the function magic() long ago long long ago when i was i first year. It was nice to identify the pattern of numbers for odd square matrices while had to break the head for the even dimensional matrices. Then the greed made me to go through the help to understand the code that they wrote (nice algo :P ). It was then I found 3d plots very interesting and one day i sat to write a matrix (i forgot the dimentions of the matrix) to show A in the graph. Then I started playing with a lot of functions and started forgetting the older ones :( . You keep forgetting unless you dont use them in preactice. And today probably was the first time i used the functions for a proper use. And here is my first proper matlab file :) .

Here is the code (any suggestions of improvement is welcome I’ll learn frm them)

function generation=game(m)
%my first MATLAB problem statement is “GAME OF LIFE”
temp=0;
generation=0;
X=round(rand(m,m));
[i,j] = find(X);
figure(gcf);
plothandle = plot(i,j,’.', ‘Color’,'blue’);….this is nice way to write comment
axis([0 m+1 0 m+1]);
n = [m 1:m-1];
e = [2:m 1];
w = [m 1:m-1];
s = [2:m 1];
Z=0;
while 1
if((temp==0))
Y=X;
temp=1;
elseif(temp==2)
Z=X;
temp=0;
elseif(temp)
temp=temp+1;
end
if(Z==Y)
break
end
N = X(n,: ) + X(s,: ) + X(:,e) + X(:,w) + X(n,e) + X(n,w) + X(s,e) + X(s,w);
X= (X & (N == 2)) | (N == 3);
[i,j] = find(X);
set(plothandle,’xdata’,i,’ydata’,j)
drawnow
generation=generation+1;
end

%the number of generation i.e the answer returned is sometimes far less
%than the actaul number of generations it takes to stabilize a population

%Also here the universe is circular which could be made flat by modifying
%the values of news.

EOF

Rules of Game Of Life

In the “Game of Life” the domain is a 2-dimensional array of cells, and each cell can have one of two possible states, usually referred to as “alive” or “dead.” The array is usually intialized using random numbers and the system then evolves in time. At each time step, each cell may or may not change its state, based on the number of adjacent alive cells, including diagonals. There are three rules:

  1. If a cell has three neighbors that are alive, the cell will be alive. If it was already alive, it will remain so, and if it was dead, it will become alive.
  2. If a cell has two neighbors that are alive, there is no change to the cell. If it was dead, it will remain dead, and if it was alive, it will remain alive.
  3. In all other cases — the cell will be dead. If it was alive it becomes dead and if it was dead it remains dead.

You can have a look at those images here if you have matlab

If you don’t have matlab click here.

I was in 8th standard when i got my first email id. It was an yahoo id (i still remember it :) ). My uncle created it for me and gave me the password.

It was the first time i went to an internet centre to access internet. (infact it was first time i went into the world of internet :( ).

Then the first problem arised how to login to my account !!!

I didnt know it that time…so i tried

www.arun88@yahoo.com

www.arun88@yahoo.co.in.com

www.arun88@yahoo.edu (one of the previous guy’s visited site had the extension .edu so i tried that)

I tried it for half an hour as I felt shy to ask about it to anybody around…

That time internet was Rs.30 or 50 an hour (i dont remember exactly) and half an hour was wasted already… :( . So after some 40 mins I asked the incharge over there why i am unable to login ???

he told you will be able to … just try again…

I without trying told him that i am unable to read my mail for past half an hour it shows something else….

He came to me and asked to login. I went to address bar and typed the same and asked .co.in.com or .com to be entered :) He took the keyboard from me and typed something which now i know is http://www.yahoo.com

and asked me to type the username and password over there. I started typing “www.arun88….” he snatches the keyboard from my hand and asks me what my username is, i told www.arun88@yahoo.com . He typed over there arun88 and told this is your email id and not what i told him.

He asked me to enter the password (thank god he didnt ask for it otherwise i might have told it and he might have hacked my account :( ). And then I continued happily ever after :)

The account was disabled subsequently deleted probably because I didnt login for long. :)

Happy login

Recently i came across this in wikipedia/wiki/portal:mathematics

Do you know that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type the complete works of William Shakespeare.

Only then I realized the application of “convergence of random processes”. One semester i studied this subject and was very happy to see its application :(

Here are few interesting gmail status messages…
will add as i get more… (just got idea of collecting few days ago :) )

You can get much farther with a kind word and a gun than you can with a kind word alone.

 

There is a great value to DISASTER….u can start all over again…!!!

You know you’re in love when you don’t wanna go to sleep at night because your life is better than a dream

Pencils could be made with erasers at both ends, but what would be the point?

【ツ】 ♥♥♥♥♥♥♥♥♥ 【ツ】

“I don’t believe in an afterlife, so I don’t have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse.” ….Issac Asimov

There’s no place like 127.0.0.1

Eschew obfuscation

“The reason why people talk behind your back is because you are ahead of them”

If you’re not a part of the solution, there’s good money to be made in prolonging the problem! ;)

Girls can’t have enough shoes and bags :P

♫ I eez the gooddest boy in the whoale warald!!!

 

When a vampire decided to become a poet, everyone said he went from bat to verse.

Whoever is careless with the truth in small matters cannot be trusted with important matters.

he who falls in love wid himself will have no rivals

loving someone who doesnt love u is like watching a star u knw u can never reach…………..but u hav 2 keep on trying …….n y not…..after all stars also fall

fools fooled by fool’s foolish statements… :(

Success is not permanent and failure is not final!!!

stupid sql query takes 287 seconds to execute :(

Thappad maarna CRIME hai…. sahi samay par Thappad maarna……RAGGING!!!

When people are free to do as they please, they usually immitate each other.

Everytime I play, millions across the world win.

green -available , red -busy , orange – idle , what colour for ’somebody chat with me please’ ??? :P

World is better without Gates & WIndows !!!

Time flies like an arrow. Fruit flies like a banana.

A dirty book is never dusty !

♫ yeh hai youngistan meri jaan
♫ you say it best when u say nothing at all

 

Windows PowerShell is here….now even i can show off by using a terminal :P

This space is for RENT !!!!

♫ I have a Philosophical Amnesia :)

non ritiro non comportino

Genius may be

♫ Today’s fortune: You will travel to many places

 

If you don’t know where you are going, any road will get you there.”

A smile is an inexpensive way to change your looks.

experience from past interviews….a fool can ask more questions than a wise man can answer..

hume pata nhi dil ki manzil kahan hai, hum to unke peeche peeche chalte rahenge, safar khatam kar denge wahin par, jahan tak unke kadam le chalenge….!!!!!!!!

Auri sacra fames

Always remember that you are unique. Just like everyone else.

When I was a kid, I was yelled at for doing my homework sitting in front of the TV. Now I’m yelled at for doing office work sitting in front of the TV.

As i SAID before… I DONT REPEAT!!!

Tum aao na aao hum to bulayengey, Tum bhula do hum na bhula payengey, tumhe haq hai bhula do humari dosti ko, Humne dosti ki hai, har hal mey nibhayengey

“You can avoid reality, but you cannot avoid the consequences of avoiding reality.”

“Aasmaan ko zid hai jahan bijliyaan giraane ki…hume bhi zidd hai wahi aashiyaan banane ki”

The greatest mistake you can make in life is to be continually fearing you will make one

Thinking what is the hobby of collecting gmail status messages called :) ??

CAPTCHA “Completely Automated Public Turing test to tell Computers and Humans Apart”.

Many times in orkut you might have come across this what is called “CAPTCHA” especially when you are sending same scrap or a link (without using javascript).

According to wiki “A captcha is a type of challenge-response test used in computing to determine that the response is not generated by a computer”

This is one is a captcha … Captcha

These captcha are used to prevent many of the spams. But recently i came across many ways spammers use to bypass this captcha. Here are few….

1. Use of several object and text recognition algorithms.

2. Use of advanced artificial intelligence.

3. The “Pornography Attack” (this one is new)
Spammers are using pornographic sites to solve CAPTCHAs: the CAPTCHA images are sent to a porn site, and the porn site users are asked to solve the CAPTCHA before being able to see a pornographic image.

Intelligent spammers…:(

few gooogle tips ….

1. want to know the exact time goto www.google.com and search for “time”. (don’t search for date)
TRY WATCHING THE GIF IMAGE JUST BEFORE THE TIME IT SHOWS YOU THE TIME IN ANALOG FORMAT :)

2. want know what is “1 million + 47282″ again search for it

3. phrase search
The search engine supports three types of phrase search.

To match an exact phrase, use quotes around the phrase

Example: “free search engine”

4. + and – qualifiers
If you prepend a word with + that word is required to be on the page.
If you prepend a word with - that word is required to not be on the page.
Example: +always -never0

GMAIL

  • Append a plus (“+”) sign and any combination of words or numbers after your email address. For example, if your name was mearunkumars@gmail.com, you could send mail to mearunkumars+friends@gmail.com or mearunkumars+mailinglists@gmail.com.
  • Insert one or several dots (“.”) anywhere in your email address. Gmail doesn’t recognize periods as characters in addresses — we just ignore them. For example, you could tell people your address was mearunkumars@gmail.com, hiking.fan@gmail.com or me.arun.kumar.s@gmail.com. (GMAIL understand that there has been some confusion about this in the past, but to settle it once and for all, you can indeed receive mail at all the variations with dots.)

Until i find or read about many more techniques just keep googling and if you find anything new send it to me… :)

these links would be useful

http://www.google.com/support/bin/static.py?page=searchguides.html&ctx=basics&hl=en

http://www.google.com/support/

One of the best movies I have ever seen. I can’t say whether its a comedy or tragic or romantic movie “In fact it is a mixture of all”. Its mainly about the extermination of Jews during the second world war (WW II).

Director : Roberto Benigni
Starring : Roberto Benigni (Guido)

Giorgio Cantarini (Joshua)

Nicoletta Braschi (Dora)

Life Is Beautiful

The first half of the movie is a whimsical, romantic comedy and often slapstick.

In the second half of the movie, Guido, Guido’s uncle Eliseo, and Joshua are taken to a concentration camp on Joshua’s birthday. Dora demands to join her family and is permitted to do so. In an attempt to keep up Joshua’s spirits, Guido convinces him that the camp is just a game – a game in which the first person to get 1000 points wins a tank. He tells Joshua that if you complain for hunger you lose points, while quiet boys who hide from the camp guards earn points. He convinces Joshua that the camp guards are mean because they want the tank for themselves and that all the other children are hiding in order to win the game. He puts off every attempt of Joshua ending the game and returning home by convincing him that they are in the lead for the tank. Despite being surrounded by rampant death and people and all their sicknesses, Joshua does not question this fiction both because of his father’s convincing performance and his own innocence.

How he convinces Joshua and in spite of death in front of him how he enjoys and make Joshua enjoy every moment of stay in the concentration camp is what it is all about.

It was Saturday 8march 2008 (last week) i wanted to buy a book . I went to T-nagar dont ask me why there just  to buy books three shops. the time was almost 6 pm by then as i left late. i then decided to go to higginbothams in mount road. was about to take a bus to mount road a a fren of mine asked me to go to chtpet by train and then take a bus as it would be fast …

i hate traffic jam …

i walked back to railway station and thank god i had a ticket (no need to stand in a Km long queue). got down at chetpet and realized that its the same station where we had adventure… what adaventure i’ll say later (fresh thing first). i had to walk a few 10 hundred metre to catch a bus. was waiting for a bus half hour no even one…  fate.

due to my previous adaventure experience i thought of walking to mount road instead of taking auto :-| . on my way i saw trice the bus which i should have taken. ;-0

to the worst i took a wrong turn and instead of going to mount road i went the opposite direction and reached a place which i recognized as the place where i gave my NDA exam egmore.  oh god … i was abt to take auto that the same bus came and as i was abt to take it i asked if the bus goes to higginbothams  he told no it goes somewhere else frm where you have to walk a bit. i again walked backward and reached egmore museum

enough of that i took a auto and realized there were two places where i missed the correct way.. ;) after reaching over there already i was frust and when i asked for the book search … he asked me what book i wanted. reply was “yannis viniotis” the immediate reply was only those books which are in the stack are there. in neighbouring shop “international book house or indian book house”  -ve result over htere also …

:’-):’-):’-):’-):’-):’-):’-)

« Previous PageNext Page »