macro bits & bytes - c o r n u c o p i a -

Saturday Oct 11, 2008

Bashish rocks your socks: http://bashish.sourceforge.net/

Linux prompt like Angelina Golie: http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/

Friday Oct 10, 2008

To use update centers in your NetBeans based RCP application, you will have to add a couple of extra libraries so as to enable the 'Auto Update' feature.

  • Right-Click on your RCP project properties and add the libraries- Auto Update Services and Auto Update UI (under the cluster 'platform9')



  • To add update centers to your application, add a new Module to the suite and fill in the usual properties:




  • Right-Click on the module just added and create a New > Update Center



  • Fill in the description of the Update Center (I have used dummy values here) and Click on Finish



  • If you want to add more than one Update Center, just repeat the previous step as many times

  • Clean and Build (Why Clean?, Thanks Jan) your RCP and run it. You should see the new update center under Tools > Plugins > Settings




Reference:

Thursday Oct 09, 2008

Join in the discussion at http://www.opensolaris.org/jive/thread.jspa?threadID=78357&tstart=0

http://www.google.com/search2001.html


Monthly newsletter by, for and about the OpenSolaris Community: http://www.sun.com/emrkt/opensolaris/ignite/index.html

First Issue: October 2008

Subscribe Now

Tuesday Oct 07, 2008

NetBeans IDE is usually run as a non-root user on Unix systems (a healthy practice :-)). Hence, if you have installed the DTrace plugin for NetBeans on your Solaris installation, you will not be able to use it since DTrace requires root priviliges.

Follow this blog post at http://blogs.sun.com/observatory/entry/dtrace_privileges to enable DTrace access from your non-root account.

Once you have done that, you will be able to use the plugin and also access DTrace as a non-root user!
Slides introducing the Code For Freedom is up at http://in.sun.com/communities/univ/codeforfreedom/pdf/cff_preso_2008.pdf

Sunday Oct 05, 2008

http://www.netbeans.org/kb/docs/java/import-eclipse.html provides some useful background information for Eclipse users to import their projects into NetBeans.

This document is a good read for the specific scenarios dealt in the documents at http://wiki.netbeans.org/EclipseToNetBeans  which is a NetBeans Community Docs sub-project

Project updates are available at http://nb-community-docs.blogspot.com/search/label/eclipse-to-netbeans

Friday Oct 03, 2008

I have written an article for Linux For You- Virtual Appliance: It’s ‘Just Enough' for its October issue. Its out in the stands. Go GRAB it!


PS: This article marks a comeback for me of sorts. This is my first article in 6 months :-) My writings are compiled here at http://amitsaha.in.googlepages.com/writingsandtalks


Thursday Oct 02, 2008

Scenario: You need a internal network among your guest machines. Internal network would mean a sandboxed network among your guests.

Solution:





  1. For every guest machine you want in your network, attach it to "Internal Network". Give the internal network a name: (Give the same name to all the guests whom you want to be in that network)


  2. Assign a static IP address to each of your guests




And, you have your Internal network ready. The possibilities are endless now :-)

Tuesday Sep 30, 2008

In the user manual, installing the guest additions is well documented. However, where do you get the guest additions ISO?

On Linux it lives in /usr/share/virtualbox (provided you have installed it to the standard locations)

PS: Guest additions provide a lot of value addition to your guests. So, if you are looking to do anything serious, go ahead and install them. I have installed the guest additions for Windows XP and Solaris. Works like charm.

Sunday Sep 28, 2008

It is well documented that Google Chrome has a multi-process architecture and forks a new Chrome process for a every new TAB or a plugin. 

I have got 4 tabs and 1 plugin running:

 

 Here is the process tree: (using Process Monitor)

 

 The visual explain the multi-process hierarchy. During startup there is a browser process which forks a new renderer process everytime a new tab is opened and/or a new plugin process everytime a plugin is opened.

The blog post Multi-process Architecture is an excellent read.

Saturday Sep 27, 2008

 I am working on an article on Google Chrome and have been exploring the various usability/UI features and the internal architecture. 

In terms of the User Interface, IMO Google Chrome scores with the following features : (in order of my likeness)

  1. Application Shortcuts: Using this feature you can place a Desktop/Start Menu shortcut to a web application of your choice. Whenever you launch the web app using the shortcut, you will not see any of the browser features- Back/Forward/Reload buttons and misc other browser features. All you see is the web application. In a sense the website starts behaving like a true web application on the desktop and does not give the impression of running in a browser. I like this feature since I often have applications like GMail running all-day and all I need is the web application and not the browser with all its features. More on Application shortcuts here
  2. No Crab like mentality : If 1 out of the 10 tabs open crashes, its the ONLY one. The other 9 are usable and safe. No crab like mentality
  3. Task Manager : Google Chrome has a multi-process architecture at its core and has an inbuilt task manager that lists the various processes currently running under the browser. Think the core browser to be your OS and the open tabs, plugins as processes. More here
  4. Dynamic Tabs: With tabs as the primary focus, Google Chrome has truly dynamic tabs enabling a seamless tab based browsing experience. More here

All the features are listed here at http://www.google.com/chrome/intl/en/features.html

A must-watch video is the Google Chrome announcement: http://www.youtube.com/watch?v=LRmrMiOWdfc&feature=user

Friday Sep 26, 2008

Tomorrow is our next BOJUG Meet.

Date/time/location available on the wiki at http://bojug.wikispaces.com

Tuesday Sep 23, 2008

Check this link at http://www.linuxjournal.com/content/google-chrome-linux to try Google Chrome on Linux.

This is a proof-of-concept magic using WINE by CodeWeavers