Thursday, September 10, 2015

Tough times !!!

The most painful thing in life is to sit infront of what you once loved the most and wondering what you are supposed to do.
I used to be able to do things that made me proud of myself. Now I have confined myself to a position where I don't get involved in anything that gives the content. I am merely a calendar that decides and tell other what needs to be done.

Losing something that was your passion once is harder than you can imagine. You feel something slipping out of your hands and still not able to hold it tight.

But there is still hope left for me. I have not become a vegetable as of now. Its just that I am "managing" so many things and actually "doing" less.  May be this is the next level of my career. I just need to make sure that I am able to keep myself together with "managing" and actually "doing" things.
Hoping for the best :)

Monday, April 12, 2010

Everyone has got a little bit of everybody else in them!

Weird it may sound. But it's true.We hav a little bit of everyone else inside us. It means that our character will some time show resemblence to others and vice versa... If you think about some character as irritating.. take a closer look , you too will show a similar character under similar circumstances. So next time when you feel someone as very annoying, think that there is little bit of annoying character in you too.

Monday, January 4, 2010

What is the definition for life?

Though I am a programmer, sometimes my mind becomes a bit philosophical. One day I was wondering about a very complex question. What is the definition for life?. There are some definitions such as "Life is full of ups and downs!", "Life is this","Life is that" and so on...
I am not concerned about the life that we live, but about something that keeps us alive or that makes other say that "He is alive". When someone dies, we know that he is losing something from this body. Not something that we can see or touch. But something more to it.
We cannot say that life is something centered around or inside a particular organ. Because, when brain is dead by stroke or something, we can still keep a person alive by supporting his other vital functionality.Similarly if heart stops pumping, we can even replace it and the person can live for a long time.
So what is life?. What is this thing that we loose when we are dead?. After pondering for a long time,I derived at a conclusion.

My Theory about Life
According to me "Life" is a coordination between the organs. The coordination between different organs can be classified into vital and non-vital. We can say that the coordination link between the heart and brain is a vital link, but that between the hand or legs could be considered non-vital. So when we are amputated, we can still live though with a decreased efficiency, but when vital coordination link with heart or brain is down, we could say that is something  Life threatening. So when this coordination link is completely down, we can say that the person is dead. Hence we can compare the "Life" as a coordination within the body that helps us with each day.

Some java codes

Here I will place some most demanding java codes, actually they are links to the actual code in my site Zybocodes.


Colors for alternate rows of jtable
The class AlternateTableRowColorRenderer overrides the getTableCellRenderer function. It alternates the color and sets it to the row. To use it, create objet of the class and set it as the property setDefaultRenderer(Object.class,object)


Textfield accepting only numeric values
The code for creating a textfield that accepts only numeric values. You can even set the precison and the length of the textfield by changing the attributes.


Auto complete data entry in the combo box
Code to auto complete the data in the combobox as they are typed. If any of the elements in the list matches the data you are entering, they will be auto completed. You just need to create a Object of the class JComboBoxAutoCompleter by passing the combobox as argument to the constructor.


Calendar component for displaying calendar and selecting a date.
The code contains a class JCalendar. It is a subclass of JDialog and can be used to create a Dialog that will pop up a Calendar. Using the calendar, you can select a date and the selected date can be obtained using calendar.getDate() function. Run the class to check its working.


Connect to derby database in embedded or client server mode.

class for connecting to the derby database. Just set the appropriate attribute values and call the static getConnection() method to connect to the database. The code is provided for embedded connection and by checking the comment you can set it for client-server mode also.


Format date, round float,round bigdecimal values and escape sequences in sql

A class that format the date to the form (Month, day year), round the float and BigDecimal to first two decimal values. It has also the code for escape sequencing the single quotes in the sql string.


Garbage collection and finalization. finalize() and gc() methods

Code showing the usage of garbage collection in java.It also shows the clean up tasks done in finalize methods and running the finalization.


gzip compression algorithm, compressing data stream using gzip

The GZIP interface is simple and thus is probably more appropriate when you have a single stream of data that you want to compress (rather than a collection of dissimilar pieces of data). Here\'s an example that compresses a single file.You should provide the filename as commandline arguments


Input and output stream classes demo.

The code shows the creation and use of typical IO configurations so you can use it as a reference when writing your own code. Note that each configuration begins with a commented number and title that corresponds to the heading for the appropriate explanation that follows in the text.


literals in java, range of primitive data types.
Code shows the literals in java and also the range of char, byte, short,long,float and double datatypes.

Saturday, January 2, 2010

What's new?

I have been talking a lot about my past and dreams. But we are all more interested in the present than the past.
I am now developing an online opensource code community for finding and sharing the codes/logics in different programming languages. I am fully working on this project to build the repository and for popularising the website.
If you are interested in programming, you can join hands with me in developing this repository. Just register as a contributor and start contirbuting the codes.
If you just want to see my present venture, goto Zybocodes.

My Dream to next level

So, you know about my dream now. But I wanted to make it true. To start an industry, you need raw materials. I want to start a Software company. Its capital is obviously programs. So I started developing more and more programs. I switched from VB to Java as it is more futuristic.
I developed the following programs in the past 5 years.

Desktop search
An Encryption program using multilevel encryption
A question library
Shareport - Share data management software
Zybocodes- an online opensource code sharing community.

My First Blog

This is my first blog. There has been blogging for a long time and I knew it. Then why didn't I use it?. Don't know. I am bit reluctant to write about myself. But now I think that it is the time to start saying something loud and clear.
I am presently a graduation student. I am highly interested in programming and computers. Actually when digging into my past, the most repetitive thing you will notice is about my fascination to computers.
When the first time I was introduced to computer(at the age of 15), it was just a gaming machine. But things got a drastic change when my cousin brother did a small program in Visual Basic(which my vendor installed when my father asked for QBasic). It proved a turning point in my life. I got immensely interested by the programming. I learned Visual Basic and did a fully-fledged Personal Information Manager within one year. During that time a dream started to shape inside me. I wanted to start a Technology Company. The dream was not just the time pass of 15 yr old. It started to drive my days. I derived power from it. I christened my dream as Megaware. This is just the starting of a never ending dream..........