Passion matters

The last two days brought in new lessons for me. Due to electricity problem, we were unable to pursue our work. Then we had an activity that illustrated a way to permanent learning.

The other day I attended the presentation on C++ which was highly informative. After attending it, I came to know that a few things I have learnt were outdated. Before this big-bang presentation, we were shown a video by Inder which emphasised on the fact that in order to have a great career, you have to be passionate about your work(not only work), be it anything. In order to excel, all you need is passion. Well I totally agree. We reach nowhere without full-on determination and passion.

Then there was another activity which cleared the parity-check concept.

In the last 24 hours, I was down with fever. Somehow I continued working on my project at home.

"Enthusiasm is one of the most powerful engines of success. When you do a thing, do it with all your might. Put your whole soul into it. Stamp it with your own personality. Be active, be energetic and faithful, and you will accomplish your object. Nothing great was ever achieved without enthusiasm."      -Ralph Waldo Emerson  


Small step

Today I resumed my learning of php. I was looking on how to store the data entered in a html form by the user in a csv file. Initially couldn’t find it out. I got frustrated when nothing was working out. But finally I have done it.

Well let me tell you how to do it. It’s just basic understanding of php.

First, create a html form:

 <form action="process-form.php" method="post">
 Enter name:<input type="text" name="name">
 Enter email:<input type="text" name="email">
 <input type="submit"  id="s1" value="Submit">

Next, create a csv file say formdata.csv. A csv file can be created by writing the names of attributes separated with commas. Write the following line in csv file:


Save this file in the folder where you have your form file and php script that saves the form data in csv file.

Now let’s move onto the php code:

 $name = $_POST['name'];
 $email = $_POST['email'];
 $fp = fopen("formdata.csv", "a");
 $savestring = $name . "," . $email . "rn";
 fwrite($fp, $savestring);
 echo "<h1>Your data has been saved in a csv file!</h1>";

The first two lines save the form data in php variables. The 3rd line opens the csv file in write mode. The next line creates a string that combines the two values -name and email and puts a comma between them and then inserts the new line character. The fwrite function writes the newly-created line.

Yeah, it’s done. The data you entered in html form will be stored in the csv file.

Regular day

Today I was a regular day. I have started my work on making web page that enables the user to make any kind of certificate. I learnt basics of php today. Well I am working on it more so that I can incorporate it to achieve my target.

I also attended a presentation on Django, given by two of my friends Kamaljeet and Jasvir. I enjoyed it.  Django’s a framework used to make the creation of complex websites simpler. Well it was interesting.

One of my seniors, Inderpreet taught us to make use of all ten fingers while typing. I am following it now as well. It’s effective in increasing the typing speed.

I know my progress is slow but I am making a small step everyday towards my target.

Basic LaTeX


LaTeX is a typesetting language that is suitable for mainly math, science and other professional documents. It can be used to type books and small documents (reports, say).

Required Software:

You need a plain text editor and the LaTeX package. You can install it by using the following command:

sudo apt-get install texlive-full

Well, the package installation takes time. You have to be patient.

Getting Started:

Let’s start with a simple LaTeX document:

% Example 1

This is my first {LaTeX} document.

Understanding syntax:


This sets the document type to article.




These commands mark the beginning and the end of document.

Paste this code in your editor and save it with name say example.tex.

Next, compile the code and see the output using following commands:

pdflatex example.tex
evince example.pdf

Now your first document of LaTeX is ready. It was not very tough. You will enjoy further. 🙂

I am learning

Today, it was a totally different day for me. The last few days I was not in my usual state of mind. I had the feeling that I have not learnt anything. But I realized that learning is a slow process and the fact is that once we realize that we have reached nowhere and know nothing, is itself  a very crucial stage in learning process. The thought  that "we know nothing" is the very first step to board the plane for learning.

The good thing is that I have gone through all such experience and I have been guided on continuing my journey with more zeal and enthusiasm.

Every day life takes our test and difficulties are always to make us stronger. Always be dedicated to your work and you are sure to shine one day or the other.

Well I am ready for whatever comes my way.

"I am born with potential, I am born with goodness, I am born with ideas and dreams, I am born with greatness, I have wings, I have two wings, I am meant for creativity because I have wings, I will fly, I will fly, I will fly !!!" — DR. A. P. J. Abdul Kalam



Being optimistic…

These days I came to learn many things. I worked on making of certificate and completed it yesterday. The overall experience was good.

Finally, today the designs were shown to the respected person. But mine was not selected. No worries, you are not always at the top. You have to keep striving to accomplish the forthcoming tasks. One day or the other, we definitely get the best apple that is in store for us. I will give my best and no doubt, I will get the best apple. 🙂  All I have to do is being optimistic and keep on working.

June 13,2013

The last few days brought a change in my perspective for different things. I learnt to focus both on my work and my approach to be a good human being (no doubt I am already 😉 ). I got a clear overview of my project.

The presentation by Prof.Ashish Malik opened my eyes to a different world. He introduced some ways to captivate the power of brain. He concluded on the note that patience is really a big power and the fact is that as my friend says , my patience has a negative value. So I have to work on it . Besides , Dr.H.S.Rai also motivated emphasising the fact that nothing is impossible.

I feel myself to be lucky that I am surrounded by such encouraging people.

June 6,2013

Today I was alotted my project. I was assigned a project of certificate making using LaTex.I was all ‘question marks’. I had never heard it before.Later I came to know , it was something related to typesetting and I had attended a presentation on typography the previous day.

But no doubt the motivation we were being provided at TCC encouraged me. In all the previous days,what all I went through,somehow,taught me that nothing was impossible and we can do anything . Never give up and you could rule the world someday.

June 5,2013

I was having some boot repair problem. As I sorted it out , some problem occurred again and while booting a "grub rescue" error showed up.Neither I was able to start Windows nor Ubuntu. Then again I had to follow some long process and everything was set. It , initially , irritated me. I was like , why was it happening again and again but then I realised everytime anything went wrong,I was learning something new.

The important part was that I cooled up my mind and gave my best to have what I needed to have.