Monday, November 22, 2010

System Software Exam

Well I am gonna face the real test tomorrow. 3 days completely devoted to studying System Software and this is one of the subjects for which I have put my best efforts into (this semester) , and I hope everything goes well. God please give me what I deserve.

Saturday, November 20, 2010

Desperately Waiting for December 1

Its being on for a quite a while now. First the model exams then the Semester Practicals and now the biggie is still going on and scheduled to get over by early next month...:(

Tired of Studying for Exams...Desperately waiting for December 1 as I Need some break and gotta prepare myself to the most crucial year of my life 2011...Have a hell lot to learn and I mean 'Learning' and not 'Studying', both has got a difference..

Monday, November 15, 2010

Next Generation Indians

I wonder why is that revolutions like Google, FB, Wikipedia all orginate from the United States...Take the list of Nobel Laurates and you can find that Majority of them are from the US..And obviously many Best Schools in the World are in US...

I always feel bad why there isn't much originating from our Country??

But we still wander saying 1 Indian equal to 2 Japanese, and we discovered Zero...But the fact of the matter is "WHAT ARE WE DOING RIGHT NOW ?? ".. We gotta find an answer to this and show who we are...

We the Next Generation Indians are really capable of changing the fortune of our Nation in terms of Economy, Technology, Education, Social Welfare etc..



So whats Holding us??..Lets go do some Work...

G.Vivek Venkatesh

Monday, November 1, 2010

Age No Bar

"AGE NO BAR for Learning." - Most of us would certainly agree with it. At this point I would like mention about my Grandfather's recent interests and what's the lesson for me in it.

Few months back my grandpa who is little more than 70 years of age, informed me that he is gonna buy a second hand laptop and all he wanted from me was to teach him how to operate computers. Well initially it seemed funny to me, an old man who is over seventy and haven't used computers till then in his life , all of sudden showing inquisitiveness in learning computers. I casually said yes and eventually failed to keep up my word as I thought it would be of no use teaching him considering his age. He got kind of fed up asking me repeatedly. Few months passed away and one day, I was surprised to see a friend request from him in Orkut and Facebook. Then I came to know that he himself somehow manged to learn the basics of turning on and off the computers, use the mouse, the OS, browsers and gradually entering into Social networking sites.

Well all it took was nothing more than his interest and he proved that age no bar for anything. If a 70 over old fellow can learn something about a gadget which was completely alien to him, me at 20 can definitely achieve what I want. Thats the lesson I had learned from this.

And the funnier part comes now, yesterday I went to his house to spend some time with my relatives. There I saw a 'Java Complete reference book' which I initially misinterpreted to be mine and was wondering how my book came there. Later I came to know it was not mine and that it was his book which he had bought after coming to know there is something famous called Java. I was really surprised to see this old man, sitting with actually two laptops and wondering what was Java. Although I am very much confident this time that it would be a Mission Impossible for him to explore java, I still got to learn something from this...

PS: The book which he was having was Third Edition, while the one which I am currently using is Second Edition..LOL..and I got that paper to pass in this Semester...:P...

Wednesday, October 27, 2010

No Facebooking for Some Time

I can now clearly see what is meant by Facebook Addiction. Before things go out of control I have decided to put off Facebooking for sometime. Considering the fact that exams are nearing and my preparations for it is awful, I have come to the conclusion and I am also gonna try reducing my time spent on the internet to improve my productivity.

Hoping for the best.
G.Vivek Venkatesh

Tuesday, October 26, 2010

Right, Wrong ???

I wonder if there is anything Right or Wrong. What may be right for one person may be wrong for other person. What is right for one country may be completely wrong for another country....

Something Inside me says that Right and wrong are merely creations of Self. So let us Shed the Shackles of our Perceptions and live a life of bliss.

Monday, October 25, 2010

Amazon Kindle is Cool

Recently got a new 3G kindle with WI FI from my aunt in US as a gift...This has topped my wish list for over 2 years and I always had the belief that I would get it somehow.. It is very difficult to buy it in India and now I am finally happy that I have it my hands now..

I am really really satisfied with it...Its really a COOL gadget, and if you are a bookworm i guess this ebook reader will be very much useful to you...The 'Whispernet' (free 3G internet offered by Kindle) is actually working in Chennai, Earlier it wasn't working and now its working and its really useful.. Right from native pdf support to Highlighting and note taking this Kindle is Awesome in its features. The E INK technology that it uses make u feel that you are reading an actual book, I bet you won't feel any strain that you get while reading ebooks in your laptop or mobile phone...

To put it simple "Kindle kindled my passion for reading books..." :) :)

Sunday, October 24, 2010

I Admire My Friends

I am the one who always believes this - "Friends can be a source of Inspiration too". Friends, are the people who in fact have a profound impact on the way we shape our lives. Each and are everyone of us are bound to meet many new Friends on this great Odyssey of life. We can't disprove the fact that each one of them have some role to play in our life. The only constraint here is that, some play a Significant role while others only a little role. But we can really learn from every one of them no matter the kind of role they play. Likewise we can offer something to them.

Although I am not the kind of one who hangout much with their friends on a nice weekend, I still learn a lot from them and admire my friends. Be it the 'Curious Santhosh', or 'Success crazy Satish' or 'Humorous Rohith and Bala', or ' --Stong in his Principles-- Yogesh', or 'Sanjay who is as jubilant as a child' or 'Paul - who is my Role model in Studies and an example of positive thinking' or ' Shrewd Ritam Das' or 'Hard working Raga' or 'Loved by All Tamizh' or 'Difficult to understand Surya' or a ' --Active and Take all easy-- Sneha' or 'Sincere Sangeetha' etc.. (excuse me for lots of 'OR's here because the list is even more big, sorry If I have left some..), everyone has something to offer for me and I have learned something or other from them. And I hope they feel the same.

Thank you all for the pleasant journey so far and I wish u all success in life. Be happy.

With regards,
G.Vivek Venkatesh

Monday, October 11, 2010

Inspirational "Movies"

Well...Movies, after all movies....can it inspire??? well certain movies can....

Here I write about the two movies that really inspired me and ofcourse would have inspired many in the world. These are really not stereotype movies which you are bound to forget once you come out of theaters or soon after watching it in your home.



The Pursuit of Happyness

'Rags to riches' Story of Chris Gardner, adapted from his Biography. The film revolves under the character of Chris Gardner(Will Smith). The film potrays the kind of struggle he faces because of poverty, he starts many business but only to become a failure in it. His determination and his love towards towards his son would be really amazing. At one stage his wife leaves him, and he would come to a situation where he would rendered homeless forcing him to take shelter in a Subway restroom for a night. How he manages with his son?, how he shines in life? forms the movie.

It would definitely inspire anyone watching it.


Shawshank Redemption



Well the best movie made on earth so far according to me. It deals with Friendship, grit and determination, and how HOPE can set one free from all miseries.

IMDB #1 for many years, so it ought to have some really fantastic stuffs.

I bet you be really awed by the movie at the end.

Saturday, October 9, 2010

My Latest Buy


Finally I bought a new "Notebook" with some adequate configurations. Its Dell Inspiron 14 r (or) Inspiron n4010...

You can consider various aspects before buying a laptop, here are the factors that I considered buying this notebook, (you can take it as my suggestions to buy a new laptop)...

1. Size - Well this is an important issue. There are lots of difference between 14",15" and 17" when it comes to portability and look. According to me 14" is best suited for most of the notebook users. In fact, it is more portable and cute than other 15" or 17".

Verdict - 14" all the way...

2. Processor - Well this is major issue to be considered if you are computer freak and use computers more than for Word Processing and such simple tasks. Intel is currently concentrating on its new set of Processors core i3, core i5, core i7.

Core i3 is more than enough for Word Processing and regular day activities.

Core i5 = Core i3 + turbo boost technology. There are two types within this itself - dualcore and quadcore. Dualcore i5 consists of two physical cores + additional two cores simulated by hyperthreading. On the other hand Quadcore i5 has no hyperthreading and 4 physical cores. So this ought to be comparatively better in performance than the former.

To put it in a nutshell "Dual core i5 processors are little above i3 processors and Quadcore i5 processors are little below i7 processors."

Core i7 - Expensive processors but the best of all right now.

Veridct - Core i5 for most of us.

3. Ram

If you have any plans of using 64 bit OS in the future, then atleast 4 GB RAM is required.

Verdict - 4 GB RAM for multitasking and performance demanding apps.

4.Hard disk

Well If you are planning to buy a new laptop, please don't settle less than 500 GB, as anything less than that will look like nothing in the future.

5. Graphics

Well the current laptops either ships with Dedicated graphics or simpy with no dedicated graphics.

If you are an intensive Gamer or use Graphics demanding s/w, then 1 GB dedicated graphics would be a good option.

But if you don't do gaming then I guess the integrated graphics that come with Intel Processors is sufficient enough.

6. Battery

This is the most important of all. Something around 3 hours( 6 cell battery) would be a reasonable one. Remember 14" and 15" inches have a difference in battery life to. Logically former is bound to give more battery life than the latter.

Then other options like Blu ray disk reader would be a good one.

Overall this n4010 satisfies all my needs and I would recommend this one...Really cool....But please don't buy this with dedicated graphics as it has some battery issues yet to be sorted out...

Friday, August 27, 2010

A Simple Calculator in Java

Hi Friends....just had some free time, so thought of creating a "Simple Calculator" in Java...As claims it is "Simple" and don't expect anything Big out of it (Just some basic operations).....I have added the source code for it too....

(You can use it to Create your own Calculator and may be which is more efficient than mine..Just in case u find any flaws in this, pls do mail me abt it..)

Screenshot of "Calculator" that I created in Java



Download the "Calculator"

Download the Source Code

Code of Calculator.java

// Initial Declarations

import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;

// Creating a class named Calculator

class Calculator
{

// Components that are required to create the Calculator

JFrame frame = new JFrame();
// Creating the Menu Bar
JMenuBar menubar = new JMenuBar();
//---> Creating the "Calculator-->Exit" Menu
JMenu firstmenu = new JMenu("Calculator");
JMenuItem exitmenu = new JMenuItem("Exit");
// Creating The TextArea that gets the value
JTextField editor = new JTextField();
JRadioButton degree = new JRadioButton("Degree");
JRadioButton radians = new JRadioButton("Radians");

String[] buttons = {"BKSP","CLR","sin","cos","tan","7","8","9","/","+/-","4","5","6","X","x^2","1","2","3","-","1/x","0",".","=","+","sqrt"};

JButton[] jbuttons = new JButton[26];
double buf=0,result;
boolean opclicked=false,firsttime=true;
String last_op;

// Creating a Constructor to Initialize the Calculator Window

public Calculator()
{
frame.setSize(372,270);
frame.setTitle("Calculator - By G.Vivek Venkatesh.");
frame.setLayout(new BorderLayout());
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setResizable(false);

ButtonHandler bhandler = new ButtonHandler();

menubar.add(firstmenu);
firstmenu.add(exitmenu);
exitmenu.setActionCommand("mExit");
exitmenu.addActionListener(bhandler);

editor.setPreferredSize(new Dimension(20,50));

Container buttoncontainer = new Container();

buttoncontainer.setLayout(new GridLayout(5,5));
for(int i=0;i {
jbuttons[i] = new JButton(buttons[i]);
jbuttons[i].setActionCommand(buttons[i]);
jbuttons[i].addActionListener(bhandler);
buttoncontainer.add(jbuttons[i]);
}
JPanel degrad = new JPanel();
degrad.setLayout(new FlowLayout());
ButtonGroup bg1 = new ButtonGroup();
bg1.add(degree);
bg1.add(radians);
degrad.add(degree);
radians.setSelected(true);
degrad.add(radians);

frame.setJMenuBar(menubar);
frame.add(editor,BorderLayout.NORTH);
frame.add(degrad,BorderLayout.CENTER);
frame.add(buttoncontainer,BorderLayout.SOUTH);
frame.setVisible(true);
}

// Class that handles the Events (that implements ActionListener)

public class ButtonHandler implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
String action = e.getActionCommand();
if(action == "0" || action=="1" || action=="2" || action=="3" || action=="4" || action=="5" || action=="6" || action=="7" || action=="8" || action=="9" || action==".")
{
if(opclicked == false)
editor.setText(editor.getText() + action);
else
{
editor.setText(action);
opclicked = false;
}
}
if(action == "CLR")
{
editor.setText("");
buf=0;
result=0;
opclicked=false;
firsttime=true;
last_op=null;
}
//Addition
if(action=="+")
{
firsttime = false;
if(last_op!="=" && last_op!="sqrt" && last_op!="1/x" && last_op!="x^2" && last_op!="+/-")
{
buf = buf + Double.parseDouble(editor.getText());
editor.setText(Double.toString(buf));
last_op = "+";
opclicked=true;
}
else
{
opclicked=true;
last_op = "+";
}
}
// Subtraction
if(action=="-")
{
if(firsttime==true)
{
buf = Double.parseDouble(editor.getText());
firsttime = false;
opclicked=true;
last_op = "-";
}
else
{
if(last_op!="=" && last_op!="sqrt" && last_op!="1/x" && last_op!="x^2" && last_op!="+/-")
{
buf = buf - Double.parseDouble(editor.getText());
editor.setText(Double.toString(buf));
last_op = "-";
opclicked=true;
}
else
{
opclicked=true;
last_op = "-";
}
}
}
//Multiplication
if(action=="X")
{
if(firsttime==true)
{
buf = Double.parseDouble(editor.getText());
firsttime = false;
opclicked = true;
last_op = "X";
}
else
{
if(last_op!="=" && last_op!="sqrt" && last_op!="1/x" && last_op!="x^2" && last_op!="+/-")
{
buf = buf * Double.parseDouble(editor.getText());
editor.setText(Double.toString(buf));
last_op = "X";
opclicked=true;
}
else
{
opclicked=true;
last_op = "X";
}
}
}
//Division
if(action=="/")
{
if(firsttime==true)
{
buf = Double.parseDouble(editor.getText());
firsttime = false;
opclicked=true;
last_op = "/";
}
else
{
if(last_op!="=" && last_op!="sqrt" && last_op!="1/x" && last_op!="x^2" && last_op!="+/-")
{
buf = buf / Double.parseDouble(editor.getText());
editor.setText(Double.toString(buf));
last_op = "/";
opclicked=true;
}
else
{
opclicked=true;
last_op = "/";
}
}
}
// Equal to
if(action=="=")
{
result = buf;
if(last_op=="+")
{
result = buf + Double.parseDouble(editor.getText());
buf = result;
}
if(last_op=="-")
{
result = buf - Double.parseDouble(editor.getText());
buf = result;
}
if(last_op=="X")
{
result = buf * Double.parseDouble(editor.getText());
buf = result;
}
if(last_op=="/")
{
try
{
result = buf / Double.parseDouble(editor.getText());
}
catch(Exception ex)
{
editor.setText("Math Error " + ex.toString());

}
buf = result;
}

editor.setText(Double.toString(result));
last_op = "=";
}
// Sqrt
if(action=="sqrt")
{

if(firsttime==false)
{
buf = Math.sqrt(buf);
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "sqrt";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = Math.sqrt(buf);
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "sqrt";
}
}

}
// Reciprocal

if(action=="1/x")
{

if(firsttime==false)
{
buf = 1/ buf;
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "1/x";
}
else
{
if(editor.getText()==null)
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = 1 / buf;
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "1/x";
}
}

}

// Square

if(action=="x^2")
{

if(firsttime==false)
{
buf = buf * buf;
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "x^2";
}
else
{
if(editor.getText()==null)
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = buf * buf;
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "x^2";
}
}

}

// Negation +/-
if(action=="+/-")
{

if(firsttime==false)
{
buf = -(buf);
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "+/-";
}
else
{
if(editor.getText()==null)
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = -(buf);
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "+/-";
}
}

}
// Exit
if(action=="mExit")
{
frame.dispose();
System.exit(0);
}
if(action=="mCut")
editor.cut();
if(action=="mCopy")
editor.copy();
if(action=="mPaste")
editor.paste();
if(action=="sin")
{
if(radians.isSelected())
{
if(firsttime==false)
{
buf = Math.sin(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "sin";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = Math.sin(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "sin";
}
}
}
else
{
if(firsttime==false)
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.sin(rad);
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "sin";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.sin(rad);
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "sin";
}
}
}
}// end of sin

if(action=="cos")
{
if(radians.isSelected())
{
if(firsttime==false)
{
buf = Math.cos(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "cos";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = Math.sin(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "cos";
}
}
}
else
{
if(firsttime==false)
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.cos(rad);
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "cos";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.cos(rad);
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "cos";
}
}
}
}// end of cos
if(action=="tan")
{
if(radians.isSelected())
{
if(firsttime==false)
{
buf = Math.tan(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "tan";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
buf = Double.parseDouble(editor.getText());
buf = Math.tan(Double.parseDouble(editor.getText()));
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "tan";
}
}
}
else
{
if(firsttime==false)
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.tan(rad);
editor.setText(Double.toString(buf));
opclicked=true;
last_op = "tan";
}
else
{
if(editor.getText()=="")
JOptionPane.showMessageDialog(frame,"Enter input pls...","Input Missing",JOptionPane.ERROR_MESSAGE);
else
{
double rad=Math.toRadians(Double.parseDouble(editor.getText()));
buf = Math.tan(rad);
editor.setText(Double.toString(buf));
firsttime = false;
opclicked=true;
last_op = "tan";
}
}
}
}// end of tan
}
}
}


Comments are welcomed....(Although care has been taken it may contain logical errors or bugs, because I did it in few hours....)



Thursday, August 26, 2010

Got Inspired from "The GOOGLE STORY"

It is not often that I read books, but at times I do, and especially "Books of Inspiration". Recently I had been to Delhi, where I had bought a book "The GOOGLE story" by David A Vise for `200 (download rupee font if you don't see it Rupee Symbol).

Just now completed some 50 Pages of the 320 pages book, but the Kind of Inspiration that it gave me was Amazing. I wonder the hard work put, and the commitment shown by Youth Legends Larry Page and Sergey Brin. The book has been perfectly written by David A Vise and it can assure you its a Gripping book written like a Detective Story.....The various points that have been highlighted in the books can give you vast amount of confidence and create Zeal and ardor within you to achieve something. Its a detailed account of spectacular rise of the Worlds No 1 Search Engine.

So just in case you haven't read the book, and get a chance to read, don't miss out!!!....Looking for some surprises, inspiration from the Remaining part of the book....


G.Vivek Venkatesh


(Google Books Preview)



Saturday, August 14, 2010

Productive Indian YOUTH

Ten things that I believe should be done for making INDIAN YOUTH MORE PRODUCTIVE, (some of these things may be harsh and even I would have been addicted, but if all these things done means there would be a Drastic change.)


1. Ban SMS BOOSTERS by all Mobile Networks and 'charge per SMS' must be higher than 'charge per call'. This is the first and foremost thing that I would do If i were a PM. Because it is such small things that matter a lot.

2. Adopt a comprehensive approach for effective usage of Social Networking sites. The Kind of addiction that has been caused by these must be a key issue to be considered.

3. As we all know it is impossible to stop people from smoking without banning 'Cigarettes', similarly a stage may come where we can't stop YOUTH from getting addicted to Social Networking Sites without imposing a Ban on it. (Although either cases it is difficult to impose a Ban and hard to Digest if it is done.)

4. Stop Colleges from putting restrictions on Student's Dress codes and Thinking. U know they got to allow students to be more creative in their approach and Dressing sense. I strongly oppose putting restrictions on Dress (with the exception of Vulgar dresses).

5. Students are Lethal Weapons for a country if it decides to be a Superpower. And our INDIA is highly lucky and fortunate that the population in the Coming years would comprise majority of YOUTH in it. So EDUCATION SYSTEM has to be designed in such a way that it has to nurture the talents within the students rather than making them MUG UP something.

6. The Conventional Pedagogies adopted by Colleges and Schools have to be replaced by Pedagogies of Scientific approach so that we soon have a Microsoft and Google of Indian origin....and of course great scientists too...

7. Education - Both Quantitative Approach, and Qualitative Approach have to be adopted. It is not only our responsibility to take Education to all the Children but also the Quality of Education that is being Imparted must be taken care. (At present we are more worried of Quantity that we almost neglect the Quality, If IITs are ranked around 50s in world colleges list means there is some defect..right??).

8. Both Parents and Children must have compulsory counsellings when the children are in their adolescent age as they are Susceptible to more problems during that period.

9. No Massive Structure or a Big Company can be created Single handedly. It requires Team Work. Students have to be trained to work in TEAMS. Like for Example - Lots of Project Works and Group Discussions can be done in Colleges and Schools rather than giving boring Assignments and having DROWSY classes.

10. Last but not the least...PATRIOTISM, DISCIPLINE...(Patriotism for country is necessary at any level of life). All these have to be imparted from Kinder Garden Level itself. If we leave Tiny Tots without proper attention, then TINY TOTS would become BIG SHOTS in committing mistakes.


Written by G.Vivek Venkatesh.


Wishing u ALL a 'HAPPY INDEPENDENCE DAY' for this AUGUST 15th.......

Saturday, July 17, 2010

Download JAVA and IDE for it

Download links to get JAVA

http://java.sun.com/javase/downloads/index.jsp


Given Below are two IDEs which I believe to be good,


Netbeans:

NetBeans refers to both a platform framework for Java desktop applications, and an integrated development environment (IDE) for developing with Java, JavaScript, PHP, Python, Ruby, Groovy, C, C++, Scala, Clojure, and others.

The NetBeans IDE is written in Java and runs everywhere where a JVM is installed, including Windows, Mac OS, Linux, and Solaris. A JDK is required for Java development functionality, but is not required for development in other programming languages




Download Links for Netbeans IDE

http://netbeans.org/


Eclipse

Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written primarily in Java and can be used to develop applications in Java and, by means of various plug-ins, other languages including C, C++, COBOL, Python, Perl, PHP and Ruby (including Ruby on Rails framework). The IDE is often called Eclipse ADT for Ada, Eclipse CDT for C/C++, Eclipse JDT for Java and Eclipse PDT for PHP.

Download Links for Eclipse

http://www.eclipse.org/downloads/

Tuesday, July 13, 2010

Knowing Knoppix

Knoppix is an astoundingly clever product. It runs Linux completely from a CD or DVD. There is no need to install. It bypasses all the software already installed on your PC or laptop and automatically detects the hardware in your computer (subject to suitable hardware). When you've finished using Knoppix, simply restart. Your computer will return to your regular system, and it will behave as if nothing has happened. Knoppix is Free Software and open source under the terms of the GNU General Public Licence (GPL).

It is often possible to rescue files using Knoppix from crashed Windows computers, even when Windows cannot be started.



Download Knoppix Live CD/DVD

http://www.knoppix.net/

Wikibook on Knoppix

http://en.wikibooks.org/wiki/Knowing_Knoppix


Sunday, July 4, 2010

Ubuntu Linux 10.04 LTS

I have been using Ubuntu linux for the past few months and it is really cool.....The kind of facilities it offers is really amazing and all of this at no cost as it supports Open source environment...It tops among Best Linux Distros in the market, and this 10.04 offers you more features....

The various features that I believe to be interesting are,

1. Easy Installation of Software - Installing Software is no longer a difficult process as all the Installations are just a click away in Ubuntu...The "Ubuntu Software center" offers more than 35000 software packages and utilities.


But if you are a Computer geek and you like challenging ways then you can always install the software via lines of code in the TERMINAL and thereby gaining some Knowledge....

2. Cool and Eye Catchy GUI

The GUI that comes with Ubuntu is really cool and can easily attract you....


3. Social Networking, Chatting, Mailing made easier

Ubuntu's new Me Menu brings all your social networks to you. Connect to Facebook, Twitter and more through a single window..




You can use Empathy to chat and Evolution mail to handle your mails...




4. Easy to Install Ubuntu

The major advantage of this is that you can easily install Ubuntu than other Distros. You can install it from Windows itself...And within 20 minutes(give or take a few) you can install Ubuntu. Its like installing any other software.


5. Easily Switch over between KDE and GNOME environment.


6. It can fit in any PC or Laptop and Portability has been its major achievement.

7. Various IDEs like Netbeans, Eclipse, etc to assist you in programming.


I could guarantee you that it would be really useful for you...



Download Link given below

Ubuntu Download


Friday, May 28, 2010

CBSE's Grade System

CBSE Class X results are out, but this time the ambiance among the student fraternity after the results is different from previous years. Generally students would be anxious to know the marks they have scored, but this time since CBSE has implemented the grade system and so they are relieved of the mark pressure that prevailed in the otherwise MARK System. Students will now get to know the grades in each subject, plus the grade point and the cumulative grade point average (CGPA). So the discrimination among students(based on marks) that prevailed in the Mark system has been brought down significantly. As the expectations and the anxiety level among the parents has dropped down, I believe that the number of suicides that would normally occur after board exam results would be brought down dramatically.

Many counselors and psychologists have welcomed this move by the CBSE, now what I think is that various state boards around the country must rethink their system and follow what CBSE has done. Good thing done by Mr.Kapil Sibal in implementing this system. Also this grade system is not new and widely adopted in various developing countries.

Thursday, March 4, 2010

Linking VB 2008 with Oracle

Here is the code to display the contents of the table in oracle in a DataGrid control in Visual Basic 2008....

Initally declare the following code in the "General Declarations."

Imports Oracle.DataAccess.Client

Then use a command button to initiate the process of displaying the contents in data grid from the table(in its click event),



Dim oradb As String = "user id=tiger;password=tiger;data source=localhost"



Dim conn As New OracleConnection()

conn.ConnectionString = oradb

conn.Open()

Dim sql As String = "select * from stu" ' Visual Basic

Dim cmd As New OracleCommand(sql, conn)

cmd.CommandType = CommandType.Text


DataGridView1.DataSource = conn.DataSource

Dim da As OracleDataAdapter

Dim cb As OracleCommandBuilder

Dim ds As DataSet

da = New OracleDataAdapter(cmd)

cb = New OracleCommandBuilder(da)

ds = New DataSet()

da.Fill(ds)

DataGridView1.DataSource = ds.Tables(0)

Sunday, January 17, 2010

Change your XP Boot Screen

The first step to change your XP boot Screen safely is to download a software from the following link,

BootSkin

Once you download and install the Application perform the following steps,

1. Once you have the application running, changing the boot screen is very simple. Just
navigate through the list of boot screens by using the scroll bar arrows.

2. Once you find the boot screen that you like, click the item and then click the Preview
button to see a full-screen animated preview of what the boot screen will look like.

3. Click a button on the mouse again to exit the full-screen preview. If you like the boot
screen, then click the Apply button. That’s it!

You can get various skins for Boot screen from the following link

WinCustomize

Sample BootSkin Preview:



End.

Friday, January 15, 2010

The KM Player

KM Player is one of the most convenient Media Players i have ever used for my PC....The Interface is really cool and attractive, really simple to use....I feel it to be better than VLC media Player... It plays most of the video formats, so just try it out if you haven't....

Screenshot


Download
KMPlayer

Tuesday, January 12, 2010

Create a Simple Web Browser

Here is a procedure to create a very simple WebBrowser in Visual Basic 2008 with less than 7 lines of code. Just follow the given steps, (remember this is only to create a simple one and pls don’t expect it to be in par with good ones. Just uses IE control of the system, these steps assume that you are relatively new to VB environment). Click the pictures to get an enlarged view of it.


Open Visual Basic 2008


Select File->New Project


Enter the name of the New Project As “WebBrowser”



Select the “Web Browser” Control from the Toolbox.




Your window should now look as below, in that select the WebBrowser Component(default name is ‘WebBrowser1’ and in the “Properties” window in the right side of your side change the Dock property to value None as shown in the figure below.





Now you can resize your WebBrowser as per your wish. Now create 5 command boxes and 1 TextBox from the toolbox. The following pictures demonstrate the procedure,





Just click the controls and drag it in the form and resize it as per your wish,


Then set the “Text” property(you can change the property of a control from the properties pane in the right side with the control clicked), change the name of the first command box to “Back” second one to “Forward” third one to “Stop” fourth one to “Refresh” and fifth one to “Go”. Then place the controls at the appropriate places. The completed form will look like this,





The controls along with their name property (in quotes) is given below


Back – “Button1


Forward – “Button2


Stop – “Button3


Refresh – “Button4


Go – “Button5


Textbox – “TextBox1


WebBrowser – “WebBrowser1

Now double click the Button1(back button) and enter the following code,


WebBrowser1.GoBack()


Now your code window should like this,





Similarly double click the button2(forward) and enter the following code


WebBrowser1.GoForward()


Double click button3(stop) and enter the following code,


WebBrowser1.Stop()


Double click button4(Refresh) and enter the following code,



WebBrowser1.Refresh()


Double click button5(Go) and enter the following code


WebBrowser1.Navigate(TextBox1.Text)


Double click the webbrowser control and enter the following code in its “DocumentCompleted” event,


Me.Text = "WebBrowser - " + WebBrowser1.DocumentTitle



Your final code window should look like this,





Now press F5 to run your project and your Simple Web Browser is ready for usage.


Final page looks like this






Have Fun. Do drop in your comments and queries.


Saturday, January 2, 2010

Student Mark Database

(coming soon........)

Screenshots



Opening Screen:


Sort Records by GPA


Male students Vs Female Students Statistics:




Convert to Excel
one of the salient features of this software




Adding a Record



Disclaimer - The data entered in the above displays are only random pics and not the exact one and is not intended to hurt anyone's feelings whatsoever.