Featured Post
Field Marshal Sam Manekshaw on leadership
Field Marshal Sam Manekshaw on leadership I had a chance to read this article recently and just loved the way he describes leadership...
Friday, March 20, 2009
Choice @ Work
Before I tell about the training I would like to tell something about Senthyil (Not an intro about him) the way he presented to the class. Never have I seen such a presentation. No ppt’s for the presentation and still keeping the people in the classroom awake and enthusiastic. I am sure no person in the class would have slept or nor would he have ever left his mind wandering. Senthyil know how to get peoples attention and how to keep the class active. The voice modulation that he has is just amazing. The stories and examples that he gives are just awesome.
Now let me tell you something about the training. A week before the training started we were given a book from Arbinger, its titled “Leadership and Self-Deception”. To be very frank I have never read any book till now. Well I am not talking about technical books. This is the first non technical book that I have read in my life. And the book is so great that I was just hooked to the book. Each chapter is so interesting that when u read that you feel that you need to finish the next chapter and you will be curious to check what is there in the next chapter. I finished maximum chapters before the training.
The training was supposed to start at 9 AM and last till 5 PM but as expected the training started 30 min late. But the time was not wasted by Senthyil. As people were occupying the seats he went and introduced himself to each person. He asked our names and made a note in a piece of paper. At 9:30 AM he started the course. He introduced himself to the room. He was in the Singapore Army and retired as a Major. After that he joined the Arbinger and is currently heading the South East Asia operations. Then after introducing himself, he told each of our names. There were around 25 people for the training and without missing a person he told everyone’s name in the room. I was totally zapped by that. Don’t know how he remembered all these names in less than half hour.
After that he started the course. He was giving his own life experience and examples. I am sure most of the people in the room would be thinking or relating to their own life experience. As the book name suggests the course is not only for people for their leadership, it is for anyone and everyone. This course information can be used in everybody’s normal life. The training is all about how you see people and what you see about them.
If at any time in your life if you get a chance of attending this training DON’T MISS IT. If you miss this training, you are really missing something in your life.
Go ahead and enjoy your life. !!!
Tuesday, October 21, 2008
Netbeans IDE
If there is an opportunity to win 10 point y miss the bus.
I have been using Netbeans for over a year now. I believe the best feature that netbeans has is the support for swings. I have created couple of project as a hobby and have posted it in sourceforge.
http://prabeshb.sourceforge.net/ . This is a very small utility for finding similar word in different files. I was able to make this utility in very short time and with great quality.
Creating application in netbeans is one of the easiest. To create a project click on File > New Project. You can use short cut keys also to create the project Ctrl + shift + N. Once you click on the New Project, a dialogue window opens which contains many options for creating project. There are not only java application that can be created but also web application, mobility, UML, SOA, Ruby, C/C++ etc. To create a java swings application click on the Java category and select the Java Desktop Application menu under the projects section as shown in the project below.
Click on the next button and you can mention the project name and project location. After you enter the project details on click of finish button the base class and the layout is created by netbeans. So you need not worry about creating the layout and initial setting. The design view is displayed as the finish button is clicked. On the right hand side there are many palettes available that can be dragged and dropped. The drag and drop feature is very useful when creating the application. Simply drag the controls and place it where ever you like in the base panel and that will be stuck to that location. You can alter the location of the control by simply dragging the control. The figure below shows the different section for the netbeans IDE.
To run the application I prefer shortcut keys. To run the application you can use the F6 key. As you click the key the classes will start to compile and the output will be popped up. To clean and make a fresh build you can use Shift + F11.
I hope these small tips and quick guide will help you create wonderful desktop application. Do let me know if anyone needs any information or help in creating desktop application. I will be overjoyed to help you. You can write to me at:prabeshb@gmail.com
Monday, June 23, 2008
First long haul
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
We had our own interests apart from the target KM. We wanted to know the road to BIAL, the distance, the traffic situation and of course see our new international airport. So, we (my brother, my sis-in-law, and me) set out on this city adventure, Oh, yes it was after an awesome lunch that my SIL had prepared for us (I will write about her culinary skills another time, but sssh! don tell her.)
The new airport is a little over 40 KM (I think its 43) from my house so a return trip is 80 to 86 KM. When started from our house at 2:30 PM, took the old madras road and then the KR Puram flyover. At the Hebbal flyover, we took a right turn. DO NOT TAKE THE FLYOVER. That road is OK, it has tons of speed breakers which was nasty. The speed breakers were no match for my Indigo. Not once did the creatively constructed speed breakers touch the base of my car. Awesome clearance. That was good news already. I have heard many complain about road being not approachable, but I don't think I would agree. The road is pretty accessible and with the 3 lane on either side, it does make the driving easier compared to the city driving that we are always frustrated.
There was one common sight on the road to BIAL. The Mahindra LOGAN. There are 100's of them plying in Bangalore as airport cabs. I have heard a lot about Logan and during my research to buy a car I had looked at this one also. Logan has good mileage, and the assumption is that the car gives about 18 km in city conditions. Most of the taxis were from Meru (080-44224422, if you need them) or Easy Cabs (I don't remember this number). They were either green (MERU) or white (Easycab). Some of them, I guess had GPS systems. I did not get a closer look, so I won't confirm. All of them were cruising at a good speed on the way to the airport. But I was stuck at 60 kmph, because "my first service of the car is not over yet". Also cruising along the side of our car were the BMTC's new VOLVO buses. There are special services of the Volvo buses from different part of the city the airport and they were just zooming away.
I kept my speed less than 60 so that my vehicle is available for future also. After an hour of drive we reached the much awaited Bangaluru International Airport. The first impression of the airport was really good. It is a huge and I have read it’s about 2000 Acres. As compared to the old HAL airport this airport has enough space and lots of parking area. There is a separating parking space for buses, city taxis and private vehicles. We drove on the outside the airport. We did not take a closer look at the airport as we did not want to spend time there. We then returned back from the airport and headed towards home. We reached back home by 5:30 PM. The ride to the airport was really too good.
That's all from me now. More later, until then...Take Care!!!
Monday, June 16, 2008
Style Does Matter ...
As promised i was not able to update the Euro scores. Instead I thought to put the widgets so that any one can look at the score rather than me updating daily.
I recently brought a new Tata Indigo CS car. Then it struck me write something about that. I went in search of some good article on Indigo so that anyone who is going in next for that can have a look at this article. Before deciding on this car I have researched and zeroed down to: Maruti SX4, Sokda Fabia, Wagon R, Versa, Esteem, UVA, AVEO.
Then I had to decide what I want. I wanted a luxury vehicle in my budget price of 5 lakhs, a vehicle with boot space, and good leg space for driver seat as well as for the back seater. Then after shortlisting I had zeroed down to TATA INDIGO CS. Just the day before I finalise on the car the petrol prices went up then I made my final decision of going for Diesel car. As the advertisement says “At last style does matter”.
ENGINE SPECIFICATIONS:
Displacement:1396cc, TDi Engine Type:Diesel Maximum Power:70bhp@4500rpm Maximum Torque:135Nm@2500rpm
DIMENSIONS:
Length:3988 mm Width:1620 mm Height:1540 mm
Seating Capacity:5 Tyre Size:175/65 R14 Suspension:Independent McPherson Strut Turning Circle:5.00 Boot Space:380.00 Steering:No Power Steering Brakes:Front Disk, Rear Drum Gears:5 Manual Ground Clearance:165.00 Kerb Weight:1065.00 Fuel Tank:42.00
Wednesday, June 11, 2008
My Interest
Hi..
Most of my blogs were related to technology. For a change let me write about something that’s happening now. The EURO 2008. I will try to put in the updates daily of the match -- IF POSSIBLE DAILY.... :-)
Most of the matches till now were not very exciting. They are mostly one sided or a boring game. There was one match which was really good, Romanian Vs France. Without Thierry Henry France side was looking very dull. Romanian gave a good fight but the match ended in draw.
Today's match is Czech Republic Vs Portugal. Well my bet is on
The other match of the day is the Swiss Vs Turkey. Well not an interesting match but Swiss has got the home side advantage. The current group position is as below.
| Group A | Group B | |||||||
| Teams | Pld | +/- | Pts | Teams | Pld | +/- | Pts | |
| Portugal | 1 | 2 | 3 | Germany | 1 | 2 | 3 | |
| Czech Republic | 1 | 1 | 3 | Croatia | 1 | 1 | 3 | |
| Switzerland | 1 | -1 | 0 | Austria | 1 | -1 | 0 | |
| Turkey | 1 | -2 | 0 | Poland | 1 | -2 | 0 | |
| Group C | Group D | |||||||
| Teams | Pld | +/- | Pts | Teams | Pld | +/- | Pts | |
| Netherlands | 1 | 3 | 3 | Spain | 1 | 3 | 3 | |
| France | 1 | 0 | 1 | Sweden | 1 | 2 | 3 | |
| Romania | 1 | 0 | 1 | Greece | 1 | -2 | 0 | |
| Italy | 1 | -3 | 0 | Russia | 1 | -3 | 0 | |
| Key: | ||||||||
| Pld | Matches played | |||||||
| +/- | Goal difference | |||||||
| Pts | Points | |||||||
Thursday, February 28, 2008
Using terminal services
But it was very useful session that we had. He taught us how to use terminal services. At first when we heard about terminal services we did not understand what it was. We were using windows XP. So when someone says terminal services we were shocked.
Hold on before i go further you must be wondering whom am i saying we we we... Well its just a small team from India with Pradeep and myself. Pradeep is a good expert in technology.When i say technology its not specific technology. Any new technology to be learned he learns very fast not only that he can learns he does lots of R&D in the new stuffs.
Okay now about terminal services:
When we heard about terminal services we thought that it was something great and tough. But the way our onsite coordinator took the class we were just amazed. The onsite coordinator(Jon Aquilio) one of the best person to teach freshers about any technology. He taught the usage of terminal service very perfectly.
Terminal services is nothing but using Remote desktop in windows XP. To open the remote desktop dialog click on start > programs > accessories > communications > Remote Desktop Connection. In the dialog enter the IP address or system name of the system that you would like to connect. Remember that you can connect to systems that have windows flavour. You will not be able to connect to a Unix/Linux box.
After you enter the IP address/system name click on connect button. This will take you to a screen that will ask for username and password. The username and password of the system you would like to connect. After logging you will be able to see the desktop of the machine you are connecting. You will be able to work on that system very similar to the way you work in you desktop. The only difference is that the other system is little slowers that your normal desktop.
Once you have used the other system dont just close the window. You will be have to logoff from that system. To log off click on the start button and select log off user. This will log off you from that machine and someone else will be able to connect to that system.
Thats it. Now you know how to use terminal services. :-)
yahooooooooooooooooo!!! and i have a satisfaction that i taught someone. If you find any information on this article not correct please let me know so that i can change those and let others who read be updated with the right knowledge.
- Cheers be happy and live happy. :-)
Wednesday, June 28, 2006
input type="image" submit's the form
This can happen only for input type="image". It does not apply to img src="".....
Need to take extra care when using input type="image". Or else form will be submitted.
Monday, May 22, 2006
Dynamically adding text box in JSP
Assume you need to create a text box and on run time when you click on add button.
Create a for loop around the text box and on click of the add button increment the for loop condition variable.
for Example.
for(int i=0;i<=count;i++){
text box code.....
}
Add Button.(onClick="javascript:reloadPage();");
when the add button is clicked in the javascript code resubmit to the page.
On top of the page in scriptlet have a variable called count initialise to 1.
for Example: int count = 1;
When the page reloads increment the count with 1. like count++;
Now the count will be 2 and in forloop 2 text box will be created.
If u need the value of the 1st text box to retain. Take that value in request and reassign to the text box.
For text box have the variable as textbox<%=i%>
So each time the loop comes it will create dynamic text box.
Tuesday, March 21, 2006
System.out.println OR out.println
Right click on the jsp you might get a null pointer exception in the view source.
Sunday, March 12, 2006
Shortcut debug technique for developers in JSP/JAVA
Google Custom search