All That is Gold Does Not Glitter

PCWorld : The 100 Best Products of 2008

Monday Jul 07, 2008

Do check it out. Though I do not completely agree with the link (primarily because I do not understand all of it in depth). 

Things to check : Hulu, Amazon mp3 site, partition logic

http://www.pcworld.com/article/146161-12/the_100_best_products_of_2008.html

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Firefox, Youtube and UNIX (and may be other OS)

Friday Jul 04, 2008

Lately I have been seeing firefox giving error that your javascript is turned off or you are not using latest version of Flash player (and hence download one).

I don't why this is happening but apparently if you clear firefox cache (and cookies may be) it works well. Youtube videos starts playing video again.  I am investigating.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

VirtualBox : Setup your own Debugging Environment

Friday Jul 04, 2008

The idea is that you have a problem to fix and you don't want to play with your system. VirtualBox gives you ability to have another OS run (now onwards Guest OS) on your top your OS (now onwards Host) on which VirtualBox (now onwards VB) is installed.

Problems where you don't need networking support to solve issues, it is straightforward. When you need networking support, it is little tricky. I will mention here one way which worked for me.

  1. You need OpenSolaris Crossbow bits
  2. Setup Virtual Interfaces on Solaris
    • Crossbow allows you to do Network Virtualization
    • We will create Virtual Network (called as vnic)
    • We create vnic on top of either your ethernet (then your virtual network would behave same as your ethernet as far as networking is considered) or create a virtual network on your machine (then the network is internal to your Operating system (Host OS for Virtual Box).
    • I will create Virtual Network over ethernet. This way you guest OS will get same network infrastructure as your host OS. You would want to do that in most of the cases so that your guest OS is accessible over network.
    • Command to use is dladm. I don't have my laptop right now otherwise I would mentioned exact commands here. You need something like "dladm create-vnic". Please check the syntax.
  3. Setup VirtualBox (i..e your Guest OS)
    • Once you create a vnic, you get will get a MAC address. You need to specify that MAC ID for the guest OS. This should be done under Network Adapters settings
    • After this is done,  your machine will get IP address if your are using DHCP. Otherwise you need a static IP which should be specified in step 2 while using dladm

I will post more details shortly. It's been pending for past 2 months now.

Happy Debugging

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

tips for travelogues

Monday Dec 31, 2007

Thi s is for those who write travelogues. It is very nice to get review of the places you visit but I have a suggestion.

 When you write a travelogue, please also mention some handy contacts which you make at that places. It helps reader if they want to visit that place because they get some contacts to arrange things or at-least to get information.

 


 

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

A very good Shri Ram Arati / Bhajan (eng: Devotional Songs) collection

Thursday Nov 29, 2007

Hi

I recently discovered a very good collection of Shri Ram Bhajan from SRK math chennai.

If you like to listen to these, this surely best of the lot. I highly recommend following

 Sri Ramnam Sankirtan
(Sanskrit)
By Swamis and Brahmacharins of Sri Ramakrishna Math, Chennai
Sung on all ekadasi days at all centres of Ramakrishna Math

Link : https://www.sriramakrishnamath.org/books/EList.asp?ProductType=AB01  (second cd from top)

Moreover there are sample for you to listen

Happy Listening

Hari Om

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Enable remote login after installing trusted extensions on Solaris

Thursday Nov 29, 2007

I got this from Jan Parcel, a sun colleague. I think it is quite useful

 In most cases step 3,4 and 5(svcadm enable rlogin) suffice.


1.  Keep root as a user (it can ALSO be a role, you can add it as a role to
users without making root a role.

(by adding roles=root to the user's line in /etc/user_attr)

2. Keep 0.0.0.0 as admin_low in /etc/security/tsol/tnrhdb

3. As with all Solaris systems, comment out the CONSOLE entry in
/etc/default/login

4. Make these changes to /etc/pam.conf:

-- add information to allow rlogin, note USE TABS not spaces.

Modify /etc/pam.conf
From: other account requisite pam_roles.so.1
To: other account requisite pam_roles.so.1 allow_remote

From: other account required pam_tsol_account.so.1
To: other account required pam_tsol_account.so.1 allow_unlabeled


5. As with all Solaris systems, re-enable rlogin via svcadm, or just reboot.
I always reboot.

 

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

cool way of downloading video (like youtube)

Saturday Sep 22, 2007

I recently discovered a new and very nice way of downloading videos from net. Download real player 11. It would ask your permission for installing some sort of a tool or plugin for firefox. That would enable you to download video just by taking your mouse over to top left corner of the video. Click download and boom! It would start download and store the video on your machine. It is in flv format and I am not sure if there is any other format available.

Check out real player

 

The video is here
 

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

ls and \ls

Sunday Jul 29, 2007

you may ask why would I blog about this. The answer is simple. People who are new to Unix based systems do not know about it.

ls as everyone knows is a command to list files and directories. Anyone could create a alias for ls so as to customize it, a typical example being  [ alias ls='ls --color=auto'  ]

Now there are situations where you would like that when you say ls, it should run the ls command as decided by $PATH varilable and not run any alias that you have created. For Ex, you are one a terminal and color display is difficult to read. you dont want remove the alias for this one-time situation. \ls comes to your rescue then. It would run ls as determined by $PATH and does not take into account aliases that have been created.

As you must have guessed, this applies to any command.

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

emergic.org Rajesh Jain's Weblog on Emerging Technologies, Enterprises and Markets

Sunday Jul 29, 2007

For sake of introduction, Rajesh Jain is an IIT-B and Columbia University alumni who is now an entrepreneur. He was owner of IndiaWorld which he sold to Sify for reportedly USD 115 million. You could read about him here

www.emergic.org is his weblog where he blogs about technology, his ideas and philosophy, markets and other concomitants of technology. It is a good read and if you care and crave to know about what's happening in technology sphere, you surely want to add this blog to your readings.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Multi Touch X Windowing System

Monday Jul 16, 2007

Pradhap shared this link with our team here. The link describes a X Windowing System that supports Multi-Touch feature. Essentially, you could use your fingers to perform activities on the Desktop. It is pretty neat. Here is the link 

http://wearables.unisa.edu.au/mpx/?q=node/86

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Use Netbeans to debug a remote/local Java Process

Monday Jul 16, 2007

I just noticed that too many people have been asking for it. Unfortunately current good search do not give back pertinent results.  Here is what it takes to attach to Netbeans debugger to a Java Process.

 a) The Java process should be started with a provision to enable a debugger to attach to it. A Java program should have following options.

        -Xdebug -Xrunjdwp:transport=dt_socket,address=8800,server=y,suspend=y

Ex :

1) java -Xdebug -Xrunjdwp:transport=dt_socket,address=8800,server=y,suspend=y SomeProgram

2) For a java program which is started from a shell

java \
-Xdebug -Xrunjdwp:transport=dt_socket,address=8800,server=y,suspend=y \
SomeProgram

 If you say suspend=y, then the process would not start unless you attach debugger. Sometime you just want to start the process and want to connect to it, when there is a problem. In that case, you could start it in suspend=n mode. Then the process would start as normal. You could anytime connect to the process via  a debugger and see what it is doing.

Also look at http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/jdb.html  for more info on these parameters

b) Attaching netbeans to the Java process

 
Click Run->Attach debugger. Select dt_socket. Give the hostname and give the port to connect to. That's it you are done.

Happy  Debugging. Don't foget to compile your java code in debug mode (-g) to get maximum information out from the running java process.

Cheers

 

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Start using Google in Black

Thursday May 31, 2007

May be we can start using an alternate homepage of google than the regular google.com
the new page has black background. Reason: white colour display consumes more energy than black colour background.

Here is what celine posts on her site.

Black Google Saves Energy

by Celine Ruben-Salama, New York, NY on 05. 7.07


A few months ago, TreeHugger Mark Ontkush wrote a post on his blog EcoIron titled Black Google Would Save 750 Megawatt-hours a Year. The post lays out the following train of thought. "An all white web page uses about 74 watts to display, while an all black page uses only 59 watts." Google, which has a white background and gets about "200 million queries a day" could reduce global energy use by 750 Megawatt-hours a year by simply changing the color of its homepage to black. (For more detailed calculations and assumptions check out the original post here.)

In response to this post a black version of Google emerged called Blackle.com. According to Blackle's homepage at publication time, 4,408.917 Watt hours have been saved by. The site encourages users to "make a difference today [by] ... Blackling "energy s avi ng tips" or visit[ing] treehugger.com a great blog dedicated to environmental awareness." Nice ideas. But how does the search me asu re up? Very well indeed. Give it a whirl yourself and start s avi ng energy one search at a time. :: Blackle.com

Here are some links
1) It lists how much watt every color takes
http://www.microtech.doe.gov/EnergyStar/info.htm#display

2)A popular blog following these recommendations
http://ecoiron.blogspot.com/2007/01/emergy-c-low-wattage-palette.html
 

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Headines: Polls to re-elect Mush as Prez will be held from Sep15 to Oct 15

Thursday May 17, 2007

Yes! This is what one of the headlines of Time Of India read. Looks like the elections are not to get a new President to but get Mush re-elected as President so that he can put a stop on people from crying foul and saying he is a dictator. Or it is media which claims that the election is a just to fool people into believing that Mush is not a dictator but has been rightfully chosen the people.

Who knows, but it is interesting to follow media.
 

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

A Usability issue with cdrecord command

Tuesday Apr 03, 2007

Yesterday I was looking for some tool which can overburn cds. cdrw does not allow to overburn. Then I found cdrecord. I struggled for quite some time to figure how to burn a iso file using cdrecord. The issue what that device name has to be given to cdrecord, even when there is only 1 cd/dvd drive. Why should that be required? cdrecord should be intelligent enough to do scanbus on his own and pick up the device. If there are more than 1 devices then give user a option to pick up the device. It makes life easy for people.

 Guess what? It did not burn 3 of my cds correctly and I had to throw them. Today when I checked the cd which was supposedly burnt successfully by cdrecord, I discovered that it was also not burnt correctly (it was a fedora installation disc and I checked it via Media Check utility of Fedora). I finally had to burn other mechanisms.

I am disappointed by cdrecord. It ought to be improved.




 

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

an excellent firefox skin

Saturday Mar 03, 2007

macfox II graphite is a firefox theme based on mac. It is just brilliant and visually very appealing. On top of it, it is not heavy as other some other themes like NOIA.

try it at https://addons.mozilla.org/firefox/3430/ 

[3] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg