Krishna’s page … “One Blog-Mavin’s Solutions”

September 30, 2008

Java Lessons Learned – Eclipse Shortcuts

Filed under: Java, Technical — krishnaspage @ 1:44 am

Most of the times while working with IDE’s it is gud to have short-cuts on our finger tips.
I found this pdf useful one while working on ecclipse …

Eclipse Shortcuts – Download

http://www.allapplabs.com/eclipse/eclipse_shortcuts.htm

September 29, 2008

Week-end Time Pass

Filed under: Fun — krishnaspage @ 9:41 am
This week-end time pass is just movies and shopping, of course this is my general and routine week -end.
My movies of the week :
  • Rock on(Hindi)
          I can say one should watch this if believe in FRIENDSHIP.Though all most of the all songs are with Hindi lyrics Rock music dominates the lyrics.So we can ultimately enjoy the music.Those who loves rock music concerts must see this.
  • Souryam(Telugu)
          Another Gopichand’s(Actor- Hero) typical movie. No specials apart from Ali, Krishna Bagavan’s Comedy for total 15 to 2o Min’s . Anushka helped to entertain people just only before intervel. Planning to watch for Anushka ? I can say no need to go. you can just enjoy trailers.
  • Harold & Kumar Escape from Guantanamo Bay(English)
          Won “Golden Trailer” for in Best Comedy TV Spot For “Campaign”. It’s a adventures comedy movie for adults. Story of two friends and room mates ; Harold looks like Chinese and kumar Patel a typical Indian in US for his studies. The very introduction scene between Harold and Kumar in shower was quite witty. The dialogues were good.Scenes like their travel on road, jumping out from plane, landing in living-room of President George W. Bush printed their funny snaps in my mind. Overall move is funny and anybody can enjoy this.
  • Saroja(Telugu)
          Nothing great in this movie. To be frank there are no thrills. Nikhita item song is good.
Apart form movies – playing cards and shopping in forum are just part of this week end mania.

September 28, 2008

one crore dollars for your ‘idea’

Filed under: Holocene — krishnaspage @ 10:38 am

Source : http://www.project10tothe100.com/index.html

An !dea can change your life …this is caption for Idea Mobile operator …but Google’s new project motto is “One idea can change the world by helping as many people as possible”.
If you have that idea which can change the world you will be awarded one crore Dollars(approx 45crore INR)  by Google.
If you want to just grab your dollars just send your idea to the above mentioned url.
In view of Googles 10th anniversary Google has announced this project.In just 10 years Internet giant Google has done so much to world of Internet users.
As part of this project Google is going to select best 5 ideas and they are going to give this prize amount. Your idea can be just small or big , technical or nor technical, simple or complex …all that it needs is to “CHANGE THE WORLD” to help as many as possible. 
So hurry-up,  sharpen your mind,  think BIG …to be part of Google – Ideas team.

September 26, 2008

xhost , Xserver, Xterminal …

Filed under: Technical, UNIX — krishnaspage @ 12:52 pm

What is xhost ?

The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. 
What is Xserver ?
Example for Xserver: Xvnc
X is the generic name for the X Window System display server. It is frequently a link or a copy of the appropriate server binary for driving the most frequently used server on a given machine.
An X server is a server of connections to X terminals in a distributed network that uses the X Window System. From the terminal user’s point-of-view, the X server may seem like a server of applications in multiple windows. Actually, the applications in the remote computer with the X server are making client requests for the services of a windows manager that runs in each terminal. X servers (as part of the X Window System) typically are installed in a Unix-based operating system in a mainframe, minicomputer, or workstation.
The X server may be compared to Microsoft’s terminal server product except that the latter is running on a Windows-based operating system. However, there are X servers designed to run on a Microsoft Windows-based operating system.
What is Xterminal ?
 An X terminal is typically a disk less computer especially designed to provide a low-cost user interface for applications that run in a network X server as part of a distributed X Window System. Typically, X terminals are connected to a server running a Unix-based operating system on a mainframe, minicomputer, or workstation.
X terminals (and the X Window System) appear to have been the forerunner for what is now generally called “network computers” or thin clients. The X Window System and X terminals continue to offer an alternative to Microsoft’s terminal server product and their NetPCs.
Example : putty
Case Study:
  • Using a xterminal, telnet to a server.(say using root user) Ex : server1
  • Start the Xserver application say VNC on server1
  • Now Xserver(vncserver) is running on this server1 exports all Display stuff to a particular port(say port number 2).
  • User(root) who started this vncserver can now able to see all his display related stuff by exporting DISPLAY environmental variable.

          ex  :export DISPLAY=server1:2

  • Using xterminal new user say user1 has telnet to the server1.
  • Now user1 wants to use the same VNC server for his dispaly stuff.
  • He just exported DISPLAY variable as follows

           export DISPLAY=server1:2

  • When we try launching a window it may not happen …

So solution for this is to run a command on server1 ….
Command : 
xhost +
Xhost accepts the following command line options described below. For security, the options that effect access control may only be run from the “controlling host”. For workstations, this is the same machine as the server. For X terminals, it is the login host.
-help
Prints a usage message.
[+]name
The given name (the plus sign is optional) is added to the list allowed to connect to the X server. The name can be a host name or a user name.
-name
The given name is removed from the list of allowed to connect to the server. The name can be a host name or a user name. Existing connections are not broken, but new connection attempts will be denied. Note that the current machine is allowed to be removed; however, further connections (including attempts to add it back) will not be permitted. Resetting the server (thereby breaking all connections) is the only way to allow local connections again.
+
Access is granted to everyone, even if they aren’t on the list (i.e., access control is turned off).
-
Access is restricted to only those on the list (i.e., access control is turned on).
nothing
If no command line arguments are given, a message indicating whether or not access control is currently enabled is printed, followed by the list of those allowed to connect. This is the only option that may be used from machines other than the controlling host.

September 25, 2008

Being a root also , Not able to install when ur builds are on NFS drive???

Filed under: Technical, UNIX — krishnaspage @ 12:43 pm
I logged in as root in Solaris 10 machine, my intention is to use the builds located on one of the NFS drive and finish my product installation.
I untared the build on my NFS drive itself.
Started the installation,it went fine for some time and stopped automatically.
There is no product specific failure messages in the logs.
I am surprised …tried other ways of installing but no use.
When I moved the builds from NFS drive to local file system I was successful …I wondered ..when analyzed the facts …I came to know the following things
  • If the NFS server is set up correctly (by someone with a bit of security knowledge)      then it will “squash” root;that means that root gets demoted to the nobody account. We can call it as foreign root.
  • So if you have any files in the install archive which are readable only by root then   you have problems.
  • It translates root to a less privileged account so you can not peek at other peoples   files on the same server – basically over NFS root is not really root in fact in most   cases root becomes the least privileged account on the NFS server.
  • If you require your package to be installed by root over NFS then you need to ensure   that all installer files are publicly readable  (as chmod 777 will not be worked on   those files).
  • If you did relax security on the NFS server then it may work around your issue but a   customer with a decent NFS would have the problem.
  • The “chmod” would probably fail if you tried it as root – what you need to do is copy the installer locally, changed the permissions to be publicly readable and then copy the revised archive to the NFS drive.
  • So better avoid installing to and from NFS – there are many other issues aside from the squashed root one – even with non-root users.

             In most sites NFS is very slow compared to local disks 

Note : I faced this issue when i am using IBM Netcool Tivoli’s Network Monitor(Proviso) which uses IBM installers and frame work

September 24, 2008

Gutsy Indian Women – Smoking

Filed under: Feel, India — krishnaspage @ 1:07 am

India is a respectable country with its great culture and civilization. 
But now all Indians should think before, to say this with their great pride.
In olden days in Indian culture women are very obedient and were far from smoking.
But the people run behind modern life, has changed their desires and their habits. One among them is Women’s smoking. Today’s metropolitan India cities go widely behind the western styles. Guys and gals are becoming fond of western life styles with these environmental changes.
People don’t have even time to think about the good and bad of western culture, but they just try copying them. This is simply their servile mentality.   
Indian culture is not only based on superstition but also on science. Why our culture doesn’t support Women smoking
1. Women should not smoke because they have to carry children, if she smoke it will affect her baby!!
2. smokilng Women are more porne to respiratory problems than their male counter parts.
3. Asthma like problems never controlled in smoking women.
4. Smoking kills women more easily than men.
5. Heart attack rate is more in smoking women than men.
Despite of all these – Women are least bothered about the ill-effects of smoking. Women are more susceptible to smoking as they may feel it as trend. Western skirts became the symbols of accepting their culture replacing our saris’.Like this habit of smoking is also became a pitch to them. Modern life styles adnd trend passions  are simply ruing the Educated people also.

Whenever if somebody saw a female smoker in restaurant, office lobby, or somewhere on the roads one should easily get a feeling about them as “loose woman”. Still woman are least bothered to ruin our culture. This kind of culture is growing rapidly only in developing courtiers like our India.

Statistics and problems to Female Smokers
According to above Statistics the 1/3 of women population in india are smokers and most of them are educated. If this trend continues; by 2025 there will be equal or more number of women smokers than men.
When we ask a simple question to Edcuated people who smokes – “Why do u smoke ?” their answers and reasons are pretty simple and silly.
Look at their answers 
“I smoke in order to keep from slowing down.”
“Handling a cigarette is part of the enjoyment of smoking it.”
“I light up when I feel angry about something.”
“I smoke without being aware that I’m smoking.”
“I smoke to perk myself.”
“I get a great pleasure out of smoking.”
“I’m very aware of when I’m not smoking.”
“I like watching the smoke when I exhale.”
“I want a cigarette the most when I feel relaxed.”
“I get a gnawing hunger for a cigarette if I haven’t smoked in a while.”
“I find a cigarette in my mouth I don’t even remember putting there.”
This is really awakening time for women smokers …please do understand the importance of our culture…
“Stop smoking”.
These are few lines from famous personalities about smoking
It is truly remarkable that one single factor, namely smoking, which is entirely preventable, accounts for nearly one in ten of all deaths in India.  It is also very disturbing to see that even the poorest of the poor, who can buy very few other things, suffer so much from an injury that may be self-inflicted, but which is hugely promoted by commercial interests in the tobacco industry. The empirical results presented in this study bring out forcefully the need for immediate public action in this much neglected field.
                        Amartya Sen, Nobel Laureate in Economics, 2001, Harvard University
Women who smoke are equally at risk of being killed as are men. I am alarmed by the statistics for women in this historic study. The gender disadvantage that Indian women face in society can only be made worse by smoking. The key message here is simple:  Quit! Lead by example. Help protect life that’s worth living.
            Nafisa Ali, National Swimming Champion 1974, Miss India 1976, Actor and          Social Activist.
 
These are simply feelings in my mind; which are awakening me, after seeing a situation in “Barista“, A cofee shop – near coconut grove, Koramnagala in Bangalore.
Situation : Boredom made me to walk to this coffee shop last Sunday. While entering in, observed the table arrangement, which best suits to couples. And on each table the woman sitting beside man was continuously smoking (I can say chain smoking). You believe me or not there were around 8 couples (the place can accommodate only approximately 12 couples at a time), none of them were non smokers.

September 22, 2008

Looking for Invisible mode on G-Talk ????

Filed under: Downloads, Holocene — krishnaspage @ 11:26 pm

I know many of us are thinking of having a invisible mode option in G-Talk IRC,  like Yahoo Messenger.

Now it is readily available from Google’s new messenger Google Talk Labs Edition, along with many other features like Smileys, Tabbed view, Group chat, Calender,Gmail notification, Orkut Scrap Notification and many more.
So start downloading it now – to enjoy the wondrous features in it …. 
Click here to Download.
 FAQ’s about G-Talk Labs.
Hope you will N-joy invisible chat. :)

September 21, 2008

Blogger of the Day(BOTDA)

Filed under: Awards — krishnaspage @ 6:27 pm
Blog Awards Winner
I am awarded the best “Blog of the day” this Friday 19Th Sept 2008.
I am glad to win this award … Thanks to Bill Austin.My * Hugs * to you.
I never expected this award as I am having less experience in blogging.
Sunday I was checking my mails casually; and I surprised to see a mail with subject about BOTDA.
I got this from a site which this award has been linked to, it’s an official award.
Its all happened purely with all my readers encouragement … My grateful thanks to each of my readers for nominating my blog to have this success.
Reference : http://blogofthedayawards.blogspot.com/2008/09/krishnas-page.html
                    https://www.blogger.com/comment.g?blogID=6133978473254512685&postID=8909341514491540906
How this award ?
Blog of the Day Awards offers the best selection of weblogs and famous blogs on a variety of topics. Selection of Best Blogs of the Day is usually done a few days ahead of time based on nominations up to that point. Criteria include content, quality, creativity, and the personal opinion of the judges. Judges grant up to four awards each day in recognition of outstanding nominees who are recommended by visitors to the site and by a panel of judges who bestow the honor of a Daily Blog Award upon the recipients. Being named a Blog of the Day Awards Winner can be the crowning achievement of a lifetime of work or it can be the beginning of a new chapter in the life of a blogger. Presentation of these awards can bring acclaim and notoriety beyond their wildest imaginings. The accolades and praise heaped upon winners of these prestigious awards can be best described as fabulous and the stuff of legends. We don’t care what blog hosting platform your weblog is hosted on. We want the best blogspot blogs, the best wordpress blogs, the best typepad blogs and so forth. If you know a weblog that should be nominated for these Daily Weblog Awards or if your own blog seems to be a likely candidate for the prize, nominate it by submitting a comment to the most recent award post.

Not able to find ur DVD/CD drive on VISTA ????

Filed under: Uncategorized — krishnaspage @ 12:38 am

I am a Windows VISTA Home Premeium user, Though I am satisfied and enjoying its graphics I am facing lot of small issues like memory and user access controll of programs.
Very common and crucial problem , I have been facing since start of my hands on VISTA is – DVD/CD drive missing automatically after windows update.
After some days we got a solution for this which will be as follows ….

It is strongly recommended that you backup your registry, before performing these steps. If not sure, please do not perform these steps and contact a system engg.

  •  Click the Start Button/Windows Icon (start menu).
  •  Either type “regedit” or click Run and type regedit.

         NOTE: User Account Control may ask for permission to continue. Select Continue
                       This will then load the Registry Editor.

  •  In Registry Editor, navigate to:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}

          NOTE: You will know you are in the right place because the Status Bar at the bottom of                 Registry Editor will show the above in the status bar.
          Remember, you’re looking for 4D36E965-E325-11CE-BFC1-08002BE10318
          There are other entries with only 1, 2 digit differences – so don’t get confused!

  •  In the right hand pane, find and click UpperFilters.
  •  Right click and select Delete. If you’re not confident using the right click, then select the Edit menu, then click Delete.
  •  In the right hand pane, find and click LowerFilters.

  •  Right click and select Delete. If you’re not confident using the right click, then select the Edit menu, then click Delete.

  •  Exit Registry Editor.

Now restart your computer. You should have your DVD/CD Rom again.

September 19, 2008

Word of Farewell !!! @ BlueSpice

Filed under: Uncategorized — krishnaspage @ 2:42 pm
I know there wont be good in goodbye at all …but have to accept …

Its farewell time for Sriram and Jagadish(Jags). They arranged us party in Blue spice.We were around 2o people assembled there with prior booking of our table.Blue spice is famous for its buffet lunch with affordable price(130/-) and quality of items. So far in my view; this is the best buffet with many food items and other things what you expect like ambiance and nice music that to in Koramangala.
Its been 3 years since we are working together, now its come to an end. When I recollected the days – This is the prime time in my life where my career has been shaped. 
And Jags – I , still cant predict his mood. But he is really an ideal employee where ever he works. According to his team members he never rely on his team to finish the work before deadline as he himself take care of it , despite what has been assigned to others. What else a team member needs when TL is like that ..is’t it ? :)
The time we had in office & in restaurants are really memorable.
A goodbye isn’t painful unless you’re never going to say hello again.Be well, do good work, and keep in touch. In the hope to meet shortly again, and make our absence sweet.
I wish you – All the very best to your future ….
 You and I will meet again
When we’re least expecting it
One day in some far off place
I will recognize your face
I won’t say goodbye my friend
For you and I will meet again
                        by – Tom Petty
Older Posts »

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.