Owner: Computerized World URL:http://lkamal.blogspot.com/ Join Date: Mon, 07 Aug 2006 03:05:34 -0500 Rating:1 Site Description: Discussion on latest News and Events in my computerized world Site statistics:Click here
WWW (Which Wolf Wins?) 1970-01-01 00:59:59 A valuable story...One evening an old grandfather told his grandson about a battle that goes on inside people.He said, "My son, there is a battle between two wolves inside all of us. One is Evil. It is anger, envy, jealousy, sorrow, regret,greed, arrogance, self-pity, guilt, resentment, inferiority, lies, false, pride, superiority, and ego.The other is Good. It is joy, peace, love, hope, serenity, humility, kindness, benevolence, empathy, generosity, truth, compassion and faith."The grandson thought about it for a minute and then asked his grandfather,"Which wolf wins?"The old grandfather simply replied, "The one you feed."
01:02:03 04/05/06 1970-01-01 00:59:59 On the 4th of May (today), at two minutes and three seconds after 1:00 in the morning, the time and date will be 01:02:03 04/05/06.That won't ever happen again in our lifetime. It is said that, it will be approximately 400 generations before it happens again!!!
06:06:06 06/06/06 1970-01-01 00:59:59 If you check the date and time today at 06:06:06 in the morning, you will see that it's full of sixes.06:06:06 06/06/06This will appear again only after 100 years. If you were living at that time (2106), better to add a comment saying this blog is 100 years older.Related Posts:01:02:03 04/05/06
My first car 1970-01-01 00:59:59 Today I bought my first ever car. It is a Toyata Corsa of 1986 model. I drove it a bit as well.Still I could not get some photos of it, wait for the coming photos.
What is CRUD? 1970-01-01 00:59:59 The word 'CRUD' is a acronym in the computer world. It stands for Create, Read, Update and Delete. Sometimes R in 'CRUD' is used for the word Retrieve and D for Destroy.Most of the time 'CRUD' is related to SQL database operations as follows.C: INSERT R: SELECTU: UPDATED: DELETE
The 20 dollar's bill 1970-01-01 00:59:59 This is a story with a valuable advice which I read today.A well known speaker started off his seminar by holding up a $20 bill. In the room of 200, he asked:"Who would like this $20 bill?" Hands started going up. He said: "I am going to give this $20 to one of you but first, let me do this." He proceeded to crumple the dollar bill up.He then asked: "Who still wants it?" Still the hands were up in the air. "Well," he replied, "what if I do this?" And he dropped it on the ground and started to grind it into the floor with his shoe. He picked it up, now crumpled and dirty. "Now who still wants it?" Still the hands went into the air."My friends, you have all learned a very valuable lesson. No matter what I did to the money, you still wanted it because it did not decrease in value. It was still worth $20.Many times in our lives, we are dropped, crumpled, and ground into the dirt by the decisions we make and the circumstances that come our way. We feel as though we are worthless. But no mat
Firefox Browser 1970-01-01 00:59:59 The Firefox
browser is an excellent browser among the availables today. I found an interesting article that compares the Firefox browser and the IE browser (Internet Explorer).So of the interesting features are;- Tabbed browsing- Popup blocking- Prevent scripts from doing various things- More control over text zooming- Block images from third party sites- Cross-platform- Open Source- Huge range of extensions and ease of installing extensionsRead all the 101 things that the Mozilla browser can do that IE cannot.I installed some more extensions for Firefox today which are listed below.- CustomizedGoogle Adds a selected set of search sites like yahoo, ask jeeva,.. to your google search result page. Also provide an easy customization.- Tab X This is an extension I was looking for. This adds a close button to each browser tab which is not availble in default Firefox.- Gmail Notifier Browser notifies for new mails. Still only the new mail arrival is shown, but showing the mail headin
Extend Firefox Contest finalists 1970-01-01 00:59:59 The finalists of the firefox extension contest has been announced!!!There are many extensions that I am using very much. So here are some comments about some of the extensions that are selected for the final contest.Adblock by Ben KarelBlock ads including Flash ads from their source. Right click on an ad and select Adblock to block ads. Hit the status-element and see what has or hasn't been blocked.Now there's another good enhancement for ad blocks named Adblock Plus.It provides the ability to get the ad list managed at Filterset.G. (For that you need Adblock Filterset.G Updater extension).Firefox
Showcase by Josep del RioView open Tabs and Windows with Showcase. You can use it in two ways: global mode (F12) or local mode (Shift + F12). In global mode, a new window will be opened with thumbnails of the pages you've opened in all windows. In local mode, only content in tabs of your current window will be shown. You can also right click in those thumbnails to perform the most usual op Read more:Contest
, Extend
Extend Firefox Contest - Winners 1970-01-01 00:59:59 Extend FirefoxContest
winners are announced, a set of great developers are appreciated. Congradulations to all.Grand PriceBest New Extension Overall:Reveal by Michael WuBest Upgraded Extension:Web Developer by Chris PederickBest Use of New Firefox 1.5 Features:Firefox Showcase by Josep del RioExtension EvaluationReveal ExtensionReveal allows you to see thumbnails of pages in your session history and quickly find the page you want. Reveal also includes a magnifying glass to help you see everything. Try it now - it comes with a quick tour of all features. Screenshots do not fully capture the experience of using Reveal.As Reveal is an extension that I'm not familiar, I installed and experienced it. It is really easy to use, as a small tutor comes with it so that anybody can easily pick up the idea. Thanks and Congradulations Michael Wu.The thumbnails of my browser looked like above.Related Topics: Extend Firefox Contest finalistsSourceaddons.mozilla.org Read more:Extend
, Winners
Mastering Enterprise JavaBeans 3.0 1970-01-01 00:59:59 Mastering Enterprise JavaBeans 3.0 book is publshed. I still could not read it but must be a great book, same as Mastering EJB Third Edition which we usually read when ever small clarification is needed on EJB.The book is available for download in PDF format at theserverside.I feel this is really a great work. Read more:Mastering
JUnit Getting Started 1970-01-01 00:59:59 Main object: Write a test case using JUnit as simple as possible.Approach: First write a class, then write the TestCase and the TestSuite. Readers: Should have some experience or knowledge in Javaby Kamal MettanandaJUnit is a regression testing framework written by Erich Gamma and Kent Beck. This is used by developers to implement unit tests in Java.Why unit testing is needed?With unit testing the end product is completely checked for the correcteness of the code. With the time, the set of tests grow and the ease of testing improves. One of the most important things is that developers can be confident on the code and less time needed for debugging.What is JUnit?JUnit is a Test framework. The features available are;Assertion methods (test methods)Running tests (TestRunner)Aggregating tests (test suites)Reporting results (text based and GUI based)One factor that developers may worry is : the developers has to write tests.Writing a JUnit Test in 5 minut
[JBoss 4] How to change port 8080 in JBoss? 1970-01-01 00:59:59 With default configurations, JBoss listens on port 8080 for web connections. But this can be changed easily as this port is defined in an configuration xml file.This is how port 8080 is changed on JBoss 4.1. Goto the deploy folder of the server instance you use.2. Goto the jbossweb-tomcat55.sar inside that deploy folder.3. Find the file named server.xml inside that folder. (tomcat service file).Look for the HTTP Connector section inside the server.xml where 8080 configuration is available. Change the port value to what ever the required port number. This change wiill be available when JBoss is restarted.
What is ACID? 1970-01-01 00:59:59 In database world, ACID is an acronym. It stands for; Atomicity, Consistency, Isolation and Durability. Databases should have these four features for them to become a reliable databases. All of these four features relate with transactions.Atomicity: A transaction has to be completely commited or roll-backed, a portion of the transaction should not be committed to the database due to any issue even on a hardware failure. Consistancy:After any transaction the data in the database should be correct and vailid according to the requirements. Database should not be having any illegal data after a transaction.Isolation:When two or more transactions exists, one's behaviour should not give invalid data for the other transaction. That is, when one transaction is in progress, the data alterations made by that transaction should not be visible to any other transactions. Durability:After the commit operation is aknowledged by the database, the data inside that transaction should not be lost. The u
My first ever article published 1970-01-01 00:59:59 I'm really happy to announce that my first ever article (a tutorial) got published
yesterday, which was related to JUnit one of the greatest unit testing tools for Java. You can have a look the tutorial at JUnit - Getting StartedThis was first published on my blog and due to the comments and appreciations from the readers, I decided to publish it.
More new Gmail features 1970-01-01 00:59:59 Even though Google introduced Anti-Virus capabilities to GMail recently, now they have introduced another set of new features
which are available at What's New page.FeaturesWeb ClipsThis will allow users to view news and RSS feeds inside GMail, without having to leave the GMail page.View AttachmentsWith this you will not need to download or open attachments of many file types as it provides a "View as HTML" feature.Supported file types are;.pdf, .doc, .xls, .ppt, .rtf, .sxw, .sxc, .sxi, .sdw, .sdc, .sdd, and .wml.read more | digg story Read more:Gmail
[UNIX Tips] Learn tar utility in 5 minutes 1970-01-01 00:59:59 tar is a facility in Linux that creates archived file using a set of files. One file will be created that contains all the files in it. But do not get misunderstand, ".tar" file is not a compressed file. It is only a collection of files within a single uncompressed file. TAR1. Create tar archive $ tar -cf tarFileName.tar file1 file2 file3This will create an achive named tarFileName.tar and that will include the files specified there (ie: file1, file2, file3).2. View the list of files $ tar -tf tarFileName.tarThis will list the details of the files inside the archive.3. Extract tar archive $ tar -xf tarFileName.tarThis will extract the archive and create the files that were inside the archive.The above options have the meanings as:c - create an archivef - archive filet - list the content of the archivex - extract an archiveGZIPIf the file is a ".tar.gz" or ".tgz" file it is a collection of files that is compressed. To Read more:minutes
Happy birthday to me 1970-01-01 00:59:59 My 26th birthdayYou know... Leo Tolstoy one of greatest Russian authors was also born in the same day as myself, but in 1928. If he was here, he would have celebrate his 178th birthday.I'm not a author like him, but a good logical thinker (as I feel). Read more:Happy
"I tried" Vs "I did" 1970-01-01 00:59:59 < in a court >Judge : You have tried
to kill him, and trying to kill is same as killing. So you have done a crime. I demand you to pay money of Rs: 1,000,000/=. (Verdict thinks for a while.... Put his hand into his bag. Count cash and take Rs: 1,000,000/= to his hand and try to give it to the officer who waits to collect money. Then puts that money back into his bag).Judge : Why? Don't you pay money? You have to pay it !Verdict: (Softly) I tried to give him the money which is same as giving money.Judge: (puzzled !!!!)Even though this story is a bit debatable, there's something to learn.I think TRYING IS CONSIDERABLE, BUT NOT IMPORTANT AS MUCH AS DOING SOMETHING.So better to avoid saying "Yes I tried, but ...".Say "Yes, I did it".What do you feel?
World Record Test Cricket Partnership - 624 1970-01-01 00:59:59 The two Sri Lankan cricketers Mahela Jayawardana (captain) and Kumara Sangakkara (vice captain) put a world record partnership - 624 for any wicket on last Saturday (29/07/2007) against South Africa, a leading cricket team. This is the first time a partnership grew over 600 mark in cricket history.In this brilliant knock the scorecard of the two players;Mahela J - 374 (752 mins, 572 balls) with 43x4 & 1x6 Sangakkara K - 287 (675 mins, 457 balls) with 35x4 This is Sangakkara's 4th double hundred (& carrier best) while Mahela's first ever 300. This is the 21st time a player passed the 300 mark ever in history.Updates for record booksWorld
Best partnership for any wicket - 624 runs (& so the best partnership for the 3rd wicket as well)576 - Sanath Jayasuriya & Roshan Mahanama (SL) v IND 1997467 - Andrew Jones & Martin Crowe (NZ) v SL 1990Best scores by two batsmen in the same innings.Garfield Sobers (unbeaten 365) and Conrad Hunte (260) for the West Indies against Pakistan in 195 Read more:Cricket
, Record
, World Record
Four liquid stages of life 1970-01-01 00:59:59 This is how life goes from birth to death of many people in this world.
Today's To Do List 1970-01-01 00:59:59 This is a To Do list that matches many people who stay infront of a computer for the whole day. "Playing Solitaire" can be changed with what ever the game you play so that it can exactly match you. At the end of the day if you think a bit, you'll recognize that you haven't done anything valuable but just wasted the day.If you are one of those, it's time to change the list and add something important to the list.But this do not apply to all of you. Read more:Today
[JBoss] Logging JBoss CMP SQL 1970-01-01 00:59:59 In many occassions developers tend to get errors when calling the CMP finders. The best method to fix such issues is to view the generated SQL
queries, as it's easy to understand the error in terms of general SQL rather than looking at the EJB-QLs.With the help of log4j, CMP generated SQLs can be logged into a file as follows.1. Goto the conf folder inside your server instance.2. Open the log4j.xml file and add the following two entries to it.<appender name="CMP"> <errorHandler/> <layout/> <layout> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender><category name="org.jboss.ejb.plugins.cmp"> <priority value="DEBUG" /> <appender-ref ref="CMP"/></category>With the above given entries, a file named cmpSQL.log will be created inside the log folder. SQLs send to the server will be logged into this file. If required, name and place of the log file can be
Change of "My day time world" 1970-01-01 00:59:59 Yes, I said "My day time world". The company I'm working always becomes my day time world, but there are sometimes I happend to make it "My full day world" when project deadlines are getting closer.Hey all, now I'm in a new company as I left the previous one after 2 1/2 years of experience there. It's about 1 1/2 months now in my new world. I could not do any blogging after I joined here, not because my new company do restrict it, since I had to do some home work and put extra time and effort to get to the speed on the new projects and all that.Now I'm planning to spend some time here as well. So don't forget to come back often. Read more:Change
Do not complain on what you haven't got 1970-01-01 00:59:59 As human beings we always tend to complain
on what we haven't got. Many people forget to appreciate the things that they have received; even they forget that they have so much to appreciate on their living status than looking at the negative sides.For example think how you feel when your (expensive) meals are little less tasty than how it used to be. You get so annoyed, right? Have a look at the following images as they tell a lot on the above topic.See how much you are fortunate to have this type of a life (even having a chance to have access to computers to do internet surfing while some people do not have a chance to get a drop of water.(I have no idea on who is the owner of these images, but thanks for the nice images).
Setting Java classpath option with spaces and quotes under Windows® 1970-01-01 00:59:59 Java provides two methods for setting paths of the classes.1. Set the command line option
classpath2. Set the CLASSPATH environment variableThe second option is easy, but has a draw back as a common CLASSPATH is shared within all the projects and classes, which makes it harder to test different projects with different classes.So the first option is the prefered way. It is used as;java -classpath first.jar;second.jar TestClientWhen the paths to the jar files have spaces
, the command line classpath option causes errors. Under Windows
installation like 2000/NT/XP, all the users get a folder with the user name under a folder named "Documents and Setting
s" (which has a space). And if the jar files are under the user folder, path would look like "C:/Documents and Settings/someUser/.." which would cause the above error.How to over come this issue1. Put quotes and group the whole class pathjava -classpath "C:/Documents and Settings/user/project/lib/axis.jar; C:/Documents and Settings/user/proj
Margin Vs Padding - CSS Properties 1970-01-01 00:59:59 CSS provides two properties named margin and padding for keeping space between HTML Box type elements. But why do we have two properties for the same reason? Are they similar?No. They have a main difference.Padding
- defines space between border and element content Margin
- defines space between border and other outer elements(Look at the above diagram)So when elements needs space between them, better to use margins. When text or an inner element needs space between the parent box and itself go for paddings.Look at this example for visual clarification generated with this code.<divpadding: 0px;margin: 0px; background: #00aa00;"> Text inside elementText inside elementIn the first <div>, space is set between the border and outside elements but in the second one it is between the boder and text.Hope this will help. Read more:Properties
The input line is too long - Windows command line error 1970-01-01 00:59:59 Today I wanted to run the bat file shown below to run a java program. This file is mainly used to set the classpath as you can see below.@echo offsetlocalset BROKER_HOME=C:/Documents and Settings/user/workspace/myProjectset CP=%BROKER_HOME%/out/lib/activation-1.0.2.jar;%CP%set CP=%BROKER_HOME%/out/lib/activeio-2.1.jar;%CP%set CP=%BROKER_HOME%/out/lib/axis.jar;%CP%set CP=%BROKER_HOME%/out/lib/axis.ns.jar;%CP%set CP=%BROKER_HOME%/out/lib/axis.org.jar;%CP%set CP=%BROKER_HOME%/out/lib/axis-ant.jar;%CP%set CP=%BROKER_HOME%/out/lib/connector.jar;%CP%set CP=%BROKER_HOME%/out/lib/csv.jar;%CP%set CP=%BROKER_HOME%/out/lib/csvman.jar;%CP%set CP=%BROKER_HOME%/out/lib/jakarta-oro-2.0.8.jar;%CP%set CP=%BROKER_HOME%/out/lib/jaxrpc.jar;%CP%set CP=%BROKER_HOME%/out/lib/jmxri-1.2.jar;%CP%set CP=%BROKER_HOME%/out/lib/jmxtools-1.2.jar;%CP%set CP=%BROKER_HOME%/out/lib/log4j-1.2.8.jar;%CP%set CP=%BROKER_HOME%/out/lib/mail.jar;%CP%set CP=%BROKER_HOME%/out/lib/mule/backport-util-concurrent-3.0.jar;%CP%set CP= Read more:command
, error
, input
, Windows