Monday May 05, 2008
Today's Page Hits: 271
Monday May 05, 2008
It gives me immense pleasure to announce that OpenSolaris 2008.05 HAS BEEN LAUNCHED at CommunityOne Today!!
Today, Sun has opened an exciting and critical new chapter in it's open
source story by announcing the first release of a new
binary distribution of the
OpenSolaris operating system, OpenSolaris (TM) 2008.05, now available
for free download at www.opensolaris.com.
Oh btw, Check out the brand new, AWESOME OpenSolaris.com! :

Here's a message from Rich Green (Executive Vice President, Software at Sun Microsystems):
Today's release launched at CommunityOne
marks a fundamental
and deliberate change in the way we are packaging and distributing our
software for both developers and deployers. We are significantly
lowering the
barriers to adoption by modernizing our offerings with powerful tools
and technologies designed to optimize the user experience, get
developers up and running quickly, and
encourage community collaboration
with some of the greatest innovators on the planet. We are listening to
our communities and taking the important next step in building a new
level of volume in the enterprise and web economy markets.
OpenSolaris 2008.05 features LiveCD technology, which allows users to
experience OpenSolaris immediately without installing the operating
system. When users are ready, they can start the fast and easy
installation with a single click and simply add software via the new Image
Packaging System
(IPS). This is a network-based
package repository that enables users to
easily customize their implementations directly over the network by
installing
just the packages they need to
build, test, trouble-shoot and deploy their innovations. OpenSolaris
2008.05 also includes a compelling new set of features such as Solaris
(TM) ZFS,
the Solaris default file system that allows users to protect
and store their data with a new instant roll-back and continual
check-summing capability, Dynamic Tracing (DTrace),
which offers real-time debugging and
acceleration of application development and
Solaris containers, that enable easier
development of
virtualization-aware applications without worry about 3rd party
software compatibility.
Highly scalable, OpenSolaris can be deployed on nearly 1000 systems,
ranging from single machines through multi-CPU and multi-core systems,
from every major vendor. With this kind of
innovation, community
engagement, scalability, usability, familiarity and
access to Sun's world-class support, OpenSolaris not only opens up a
new level of global participation and
innovation, it opens enormous long term opportunities for Sun.
I am extremely proud
of the efforts made to make today's milestone release possible,
but our
work is not done. To make mass adoption of
OpenSolaris possible, we
will need to continue our focus on getting new contributions to our
repository packages. Throughout FY09, we will
encourage the participation of our internal
and external developer communities to build, optimize, and repackage
all of Sun's software along, with popular community open source
projects, to make
OpenSolaris the most innovative, compelling, and comprehensive software
system in the market.
Additional Important urls and
links:
CommunityOne
Launch
JavaOne Information, Schedules
of keynotes,
sessions
For access to latest
OpenSolaris
release, www.opensolaris.com
To Learn more about OpenSolaris, installation guide, IPS and other
features: http://opensolaris.org/os
How to Participate in OpenSolaris documentation:
http://opensolaris.org/os
The IPS Getting Started guide is
available on
OpenSolaris.org:
http://dlc.sun.com/osol/docs
Sunday May 04, 2008
Sun has launched yet another great new and exciting opportunity for us to win fabulous prizes for just doing what we do best -- blogging
about our favourite IDE and operating system's newest versions,
describing our experience with their new features, how they score up
to others, describing our user experience, sharing new usage tips,
code samples, plugins or just about anything related to the new
OpenSolaris and Netbeans IDE 6.1! - The Student Reviews Contest!
Prizes:
Judging:
Tuesday Apr 22, 2008
On April 18th, me and my friend Tauheed (Sun CA of JMI, Delhi) were invited to give talks at Krishna Institute of Engineering & Technology in Ghaziabad, not too far away from my college. The event was organized by the ever enthusiastic good spirited guy -- Arun Singh, who takes deep interest in Open Source and never misses a single open source conference happening around Delhi, and his friend Gautam who is an avid blogger and freelance content writer. KIET is an old college, and as such the infrastructure isn't that cool, though all that really matters when you go to give a talk is the right audience, which we fortunately did get.
This event, which they call TechFandu.in, was, in my knowledge, an attempt to do something like Freed.in, in their college, and although it didn't really turn out to be upto even close to such an event, I'd like to cheer these guys for their efforts none the less, because it was just their first time.. they do have the fire within, just need guidance and support.. and the right opportunities..
The talks were attended by an audience of roughly 40 odd enthu students of KIET, along with a faculty and 2 coordinators.
Tauheed gave a fine talk on OpenSolaris, how it started, why and how is it better than Linux and any other OS out there, what all sits beneath the hood empowering a developer to do super-cool things with it, and where is it heading.. A well presented talk which left the audience with a good impression of OpenSolaris and it's greatness. People did ask him a lot of questions near the end of the talk, which he handled well, and were really interested to try it out on their own systems.. The coordinators distributed OpenSolaris starter kits at the end..
Coming to talk about the reason I was there.. My talk, which was (finally) one on Sun SPOTS! I was waiting long for this and no one was gonna stop me from making it the best one I could give on a technology close to my heart.. the highly fascinating, creative and most innovative piece of hardware Sun Microsystems has put in our hands to show off to the whole world.. the Small Programmable Object Technology, aka Sun SPOTs..
I told what it is, why it was made, how does it work, why you should use it, how do you tell it what to do, how sun has made it super-easy for you to tell it what to do, what so many geeks in the world are doing with it, and.. what all tricks you can do with it!
My talk was interspersed with a variety of Sun SPOT demos including the all-famous Ectoplasmic Bouncing Ball demo and the super-cool AirText demo. I didn't have a second free-range Sun SPOT available for demo (for a reason you'll know when you read on till the end of this post..), so I showed off the cool ball-bouncing-off-of-one-spot-to-the-other effect by connecting the free-range Sun SPOT in my hand to a virtual one on my laptop (using the sample app provided). Everyone watched with gaze and astonishment, as I started waving my hands in the air with the Sun SPOT, showing a magical illusion of words appearing in mid-air, saying "I am a Sun SPOT"! I gave them an inside view of how things work, how the ball bounces and how the text shows in mid-air, with the help of simple and elegant java code running atop the world's smallest Java Virtual Machine -- project Squawk, doing all the magic to bring that smile on your face. I then passed the SPOT around in the audience..
![]() |
![]() |
At the end of the talk, came out my secret weapon. Yes, that's right, my lil creation, RoboControl, the network controlled ^Sun SPOT powered^ robot, which has taken me places I could never have imagined to go.. leaving all the people sitting there amazed at the power a SPOT gives to a Java programmer. I talked a bit about the RoboControl architecture, demoed the apps, and then made the Robot follow around Tauheed at the end.. :)
The overall response was great, and although the people out there were totally unaware of java, robotics, and open source altogether, I showed them how cool it is to have a Sun SPOT and Tauheed surely made them install SXDE as soon as they went home..
Photos Slideshow |
|
[Download Presentation]
Videos [1] [2] [3] [4]
Thursday Apr 17, 2008
I had taken a video interview of my friend and peer Nilay Khandelwal, studying in the 3rd year, in the Computer Science Engineering Branch. I took the interview on the night of our Virtual InstallFest. We talked about Nilay's scoop on the latest face of OpenSolaris -- namely Project Indiana, the good things he liked about it, how is it better than the previous versions of OpenSolaris, and his general experience during the installation, etc.
Watch us talk about the most anticipated OpenSolaris version till date in the following video:
For the time being, Here is a transcript of the entire interview:
I am Angad Singh, the Sun Campus Ambassador of JIIT University. Today, in our hostel, we had a Virtual InstallFest. This is a new concept started by me. Normally we have an installfest in which people of the community gather at a common place, bring their hardware along and help each other install an operating system at that installfest. So, I thought, why not have an Installfest right inside the hotel. This is a new concept called the Virtual InstallFest. What I did is, that I installed OpenSolaris inside of VirtualBox on my system and I broadcasted a live screencast over the hostel network so people could connect to that live screencast and they could follow along the instructions given to them and install OpenSolaris onto their virtual machines. And, if at all they had any problem during the installation, we had a live chat conference going on between all the participants and me, and we were helping each other out here in the chat conference. So, this was the basic idea. And at the end of the installfest, we had told the participants to fill feedback forms about their experiences with Solaris. We had a good amount of participation, we had about more than 40 participants, in the virtual insatllfest. One of the participants, Nilay Khandelwal, is here with me today..He is studying with me in the 3rd year of Computer Science.. He installed OpenSolaris and he is one of the participants of the install fest.. [..greetings and salutations..] I'll just ask you a couple of questions about your experience with OpenSolaris..
Angad: What is your scoop on the latest version of OpenSolaris - Project Indiana?
Nilay: I think Project Indiana is a great initiative from the OpenSolaris community. The option of trying out the install before actually installing it, is a great and really promising feature using by the SlimInstall LiveCD feature. especially for someone like me who doesn't want to mess around with the system too much.
Angad: It's actually nice for someone who is familiar with the ubuntu installation process.
Angad: How was your installation experience?
Nilay: The boot options have simplified, and the single-CD install remains in text-mode for the minimal time, for example, the only time that I was in console mode was for inputting the language preference and keyboard layout.. moving on to a nice sleek installation environment.. The overall look and feel seems to have greatly improved. I have seen the Caiman installer before in the express developer edition, and I am totally in love with it.
Angad: The latest build even has a map to select time zone!
Angad: Did you expect any particular functionality with this release?
Nilay: I would still love to see out-of-the-box support for multimedia file formats, because at the end of the day, the top priority for an end user, as opposed to a server admin, is getting his/her daily work done. Solaris still has a few rough edges though. One major problem which I dont think is fixed yet is that there is no complete out-of-the-box support for all hardware.
Angad: I hope that with the new hardware feedback system that these guys have put in, it would get there one day, it will only take time.
Angad: What was you general experience with OpenSolaris?
Nilay: The new package manager (IPS or Image Packaging System) is too cool. Package installation / management has always been a Solaris nightmare. I always wanted to have the ubuntu like pkg-get experience on Solaris, and though I haven't tried it out myself, I know for sure that this will probably do a good job at that.
Angad: We're all also looking forward to the snapshot/fallback capability provided thanks to ZFS.
Angad: Would you recommend using OpenSolaris to a friend or colleague?
Nilay: I'm glad OpenSolaris made this major leap to the network package repository way of doing things.. Linux took 15 years to get where it is now, and Open Solaris just over 2 years old, it'll take time to catch up. I would definitely recommend it to the linux community at our college.
Yes, we are all eagerly waiting for the release of the most anticipated version of OpenSolaris yet to come, Project Indiana / OpenSolaris, which is being launched on May 5th!
Tuesday Apr 15, 2008
The release of Project Indiana is just around the corner (on May 5th). Me and some other CA's got the chance to get hands on to the bleeding-edge RC0 version from Sun, in order to get feedback about the release from as many students as we can. I was to conduct an InstallFest of sorts on campus at the end of which students would provide feedback about their installation experience, what they liked or didn't like about the new face of Solaris. I was very excited to get this opportunity to provide feedback directly to the OpenSolaris engineering team and the higher-ups at Sun, from students of JIIT! However, at such a short notice, there were problems in conducting an InstallFest in our labs, and past experience suggested that not many people show up at such an event, owing to the need of people carrying their rigs all the way from hostel to the academic block to participate. I thought out a much better way to conduct an InstallFest this time, which was bound to get good participation and would save all the trouble.. we conducted an InstallFest in the Hostel itself.
We successfully conducted a very unique novel event at our college on Sunday, which I like to call the "Virtual Installfest". What is a Virtual InstallFest? Well, In a regular installfest, members of a user group meet at a common place, bring their systems (CPU's or Laptops) along, help each other install their favourite OS, help each other troubleshoot particular problems, drink cola and have fun. A virtual install fest is one which is conducted with no physical gathering of the participants, rather one which is done digitally over the network. It is a new means of conducting InstallFests which avoids having to require the participant to take their CPU’s or Laptops anywhere and just participate in the event from the comfort of their Hostel Rooms. Yes, thats right, an InstallFest in which You don’t have to move around your precious hardware anywhere! Just be wherever you are and join us in the event!
Well, how exactly did it all happen?
To start with, I setup a local intranet website with Drupal, which:
The host (me in this case), conducted several "sessions", and in each session I installed OpenSolaris RC0 inside of a virtual machine (VirtualBox), broadcasting a Live Screencast of my screen to all the participants with the help of the RealVNC server and it's java client. I just set new connections to be shared by default allowing multiple clients to connect, and ofcourse, disabled remote keyboard / mouse inputs so that people couldn't take control of my system :)
As far as the prizes and giveaways are concerned, all participants were given OpenSolaris starter kits. All participants who successfully installed OpenSolaris on their systems (or inside of virtual machines) and filled up the feedback forms were entered into a lucky draw, the winner was awarded an OpenSolaris Mug, Netbeans 6 DVD, and a Sun Cap!
To conclude, the virtual installfest was a great success. Total participation was 43 students, despite it being a holiday and most of the students were outside hostel, and the event been conducted in a single hostel. I'm sure it'll scale well next time if I conduct it across the campus.
I have uploaded the local installfest website at http://installfest.jiitsunclub.org. It can be accessed by anyone, but registrations have been disabled. I just created a view using the "Views" module of Drupal, to allow sun-insiders to see the feedback. One may choose to see it first in a tabular form, to click on the person's name to see the complete feedback or just get all the feedbacks received on a single page. I have setup a "coordinator" role, and only users of this role would be able to access the "View Feedback" section.
I encourage other campus ambassadors to take up this idea and conduct similar virtual installfests in their institutes as it is an easy to conduct event, gets good participation and uses technology to the max! If anyone wants the drupal installation I had setup, I'll be happy to mail it to you.
Useful Links:
Saturday Apr 12, 2008
LUCKY DRAW!
1. Install
OpenSolaris 2. Submit the feedback form 3. WIN prizes!
What’s an
Install Fest?
An InstallFest is an opportunity to get hands on help in installing and/or
configuring OpenSolaris on your computer. Unlike the monthly meetings where you
can only talk about your Solaris issues, at the install fest you can
bring those problems
to your peers and show them what is going on. It is also about getting to know
your peers in the local Open Source User Group, and being able to share
expertise and knowledge in a very informal environment.
What is a Virtual InstallFest?
Installation on a virtual machine:
The host will install OpenSolaris on his system inside of a virtual machine
Live Video
Streaming: Host
provides a live screencast of his system over the network, for others to see
and follow along the installation process on their own systems.
Chat Conferencing: The host and all the participants are in a live
chat conference. If anybody has any trouble following the installation, gets
stuck with any errors, etc they can immediately prompt the host to pause so
that his problem can be resolved. The host responds with the solution over
the conference, so that even others can rectify if they encounter a similar
problem. The participants can also find it useful to share views, opinions
or exchange messages related to their installation experience in the
conference, just as they would physically in a standard InstallFest.
What do I need to do?
What to bring? Where to go?
You don’t have to go anywhere! Just logon to http://installfest at the stipulated time of the event and follow the instructions. Have fun installing Solaris!
What’s an Are there any prizes or giveaways?
Yes! :)
Sunday Mar 30, 2008
Friday Mar 21, 2008

Sunday Feb 17, 2008
Sunday Feb 10, 2008
Today, I have successfully made my first contribution to a Sun Open Source Community, specifically, Netbeans!, and my first submission to Sun Microsystem's Code For Freedom Contest.
My contribution is an an easy to use all-in-one regular expressions plugin (builder, tester, organizer) for the Netbeans IDE.
Flashback
I had initially sought to develop this tool as there weren't such a feature in Netbeans. I had checked out the Netbeans Plugins portal and Netbeans contrib project and found out two plugins which dealt with regular expressions but supported only some aspects of what I had in mind. A much more powerful tool could be developed. I had discussed the idea on the nbdev@netbeans.org mailing list and received enthusiastic response for the development of such a plugin and suggestions for features it should have. Thus, I started off with this plugin and tried to incorporate as many of the features they suggested as possible.
A little background on Regular Expressions
Regular expressions are a way to describe a set of strings
based on common characteristics shared by each string in the set. They
can be used to search, edit, or manipulate text and data.
You must learn a specific syntax to create regular expressions — one that
goes beyond the normal syntax of the Java programming language.
Regular expressions vary in complexity,
but once you understand the basics of how they're constructed, you'll be able to decipher (or create) any regular expression.
There is a lesson available on Sun's website which explains how to use the java.util.regex API for pattern matching with regular expressions. This lesson starts with the basics, and gradually builds to cover more advanced techniques.
There's a good tutorial on learning regular expressions available here.
My Plugin: Regular Expressions Plugin (RegExPlugin 0.1)
What is it?
A simple and easy to use all-in-one solution which helps a
developer in all aspects of working with regular expressions -
Learning, Building, Testing and Organizing.
What all does it do?
Download: At Netbeans Plugin Portal
Usage: To open the regular expressions plugin window, go to Tools > Regular Expressions Plugin.
Demo Video: I've made a small video showcasing the features of the plugin by showing how to build and test a regular expression for checking email addresses:
Do check out the plugin and point out any bugs / suggestions / any valuable input you can give for it's improvement.
Monday Feb 04, 2008
Here's a small initiative I took long ago when I was just appointed as a Campus Ambassador:
View Larger Map
It now shows locations of 57 campus ambassadors. (locations added by the CA's themselves!)
At it's inception, it was meant to keep myself updated about locations of CA's only in India. It was exciting in the early days. As and when I came to know about a new CA, I would add him/her to the map :)
I had shared the map with the Indian campus ambassadors at the sun campus ambassadors google group, so that they could update their locations on it.
A couple of months ago, there was discussion going on at the ambassadors@sun.com alias about a world map proposal, where I pitched in to talk about having a google map mashup and that's when this map started getting extended to cover locations of all CA's in the world.
The CA map is made possible with the new "Collaborate" feature of Google Maps. They've recently added this feature, which lets one add a list of collaborators to the map so that any of the collaborators can edit the
shared map / invite other collaborators! So, anyone having a working google account can edit this map. One can also login to Google Maps, save it to "My Maps", and even embed it into their blog / website (like I've done so here..)
If you are a Campus Ambassador and would like to add yourself to the map, please send me your google account id and I'll be happy to add you to the collaborators list. This is how it's working right now, although I think we would need to automate the process to be able to scale it upto 500 campus ambassadors.
Click here to open the map in google maps
Thursday Jan 31, 2008
The Problem
Let me make the problem clearer. You have to get solaris running on all these
systems (having only Windows XP installed) and you neither have enough time
in your hands nor the permission to install Solaris on all of them. Oh, and they don't have
CD/DVD drives, so booting Live CD's like Belenix is not an option either.
Possible Solutions
There are lot many ways to do this. These are the possible solutions that came to my mind that time:
The last solution is the one I finally used. Its IMHO, the easiest and most elegant solution involving no software installation / tricky stuff on the client systems at all. It does not put any load on the clients and puts very little load on the server. It involves the following steps...
[Read More]The JumpStart Workshop on Solaris conducted by Sun in partnership with NIIT's sun certified trainers has been executed as a 4 day workshop at JIIT. The workshop was rescheduled and stretched over a period of 4 days with the theory sessions conducted from January 24th through January 26th and the final practical (lab) session on this Monday (January 28th).
The general response for the workshop has been better than expected. We had received 54 registrations for the Solaris track and half the number for the Java track. The course started from a basic level understanding of working with unix system shells, common unix and solaris commands all the way upto access control lists in Solaris,etc. The course content was provided by Sun Learning Services. All students were given the SLS course handbook along with an SXDE DVD to install Solaris on their comps at home.
There was slight miscommunication on the part of NIIT on the first day though. They did not mention the requirement of having a Solaris workstation ready in the lecture theatre. The machine in the lecture theatre was way too slow for a Solaris installation and so remote session to a windows box with a solaris VM saved the day (and the rest of the lecture sessions too).
On the last day of the workshop, we had a lab session in CL4 (the one where we had the installfest). This lab session required all those 47 computers in the lab to have Solaris running on them, which wasn't possible owing to their hardware configuration (512 MB of RAM and no space left for installation). This in turn presented itself as a great opportunity for me to tinker of smart ways to get up Solaris running on them without actually installing it. More on that in the next blog post :)
Sunday Jan 20, 2008

We were planning to have an Install Fest for Solaris and Linux since December and we finally organized one today. And it was my very first one too!
Thanks to our college authorities, today, we had our very first InstallFest in one of our smaller labs (CL4). The event was organized on a very short notice. We had announced about it just 2 days back and as such not many people showed up. Never the less, a total of 16 students walked in with their CPU's and laptops till the afternoon. We had asked people to bring their CPU/Laptops (along with any piece of hardware which needs troubleshooting during installation). Keyboards, mice and monitors were provided in the lab. Latest copies of major distributions of OpenSolaris (SXDE, SXCE, Solaris 10) and Linux (FC8, Ubuntu 7 and others) were made available for the x86 / x64 architectures. We made the participants enter details about their PC/Laptop configuration before we started working on them, to handle hardware compatibility issues.
It was a good learning experience. Except a few people from our year, all the participants were my juniors and I had a nice time helping them install the most advanced operating system on the planet - Solaris. Contrary to most people's beliefs, installing Solaris is not a tough job, if you follow some rules and know what you're doing. Everyone was impressed with the new GUI installer in SXDE 9/07. After having their comp's installed and configured with our help, some of the participants themselves started helping others, and that's what made the event a success, as that is the true spirit of an InstallFest, getting to know your peers in the local user group, and being able to share expertise and knowledge in a very informal environment. There were quite a few hurdles along the way, but I was able to resolve most of the problems during the installation of Solaris. Some of the machines required a lot of repartitioning (resizing and moving around) as they already had operating systems and data was needed to be untouched. There were some peculiar problems, like the keyboard not working during some part of the setup (which was solved by using an older version of SXDE), but thanks to an internet connection and the vast amount of online resources (documentation, sun.com articles and blog posts) by Sun and it's employees, we could resolve such problems as they came. We installed many machines with dual and triple boot configurations (solaris + linux + windows). I distributed some SXDE 9/07 DVD's at the end.
All in all, the InstallFest proved to be a great opportunity for the participants (though less in number), to get hands-on help in installing / troubleshooting the installation and configuration of their favorite *nix OS and to imbibe the community spirit.
Friday Jan 18, 2008
On Wednesday, January 16th, 2007, we conducted a hands-on lab on netbeans plugin development. Around 20 odd students showed up. The event was conducted in our shiny new CL1 lab, with new Core 2 Duo powered Lenovo's. We started off explaining the utility of having plugins in Netbeans, showing some useful examples like the Drag and Drop plugin and the AutoSave plugin. We then explained the highly advanced modular architecture of netbeans, making them acquianted to some basic terms we were going to use throughout the lab, and giving them an overview of what all one can "plug in" into the Netbeans UI and functionality through plugins - menus, toolbars, settings, window components, property editor, file types, drag & drop, etc. Then we went into some detail by talking about the System FileSystem and how modules install things into this configuration system to plug-in new features and also gave an introduction to the 2 of the most common API's and their use. Then came the main part of the event - The hands-on workshop, when we guided them step-by-step through the creation of a simple google toolbar plugin project showing how easy it is to extend NetBeans via writing a plug-in module, and moreover, how to share your plugin once you've made it! Varun then gave a demo of a plugin he has been working on called the "WikiWizard" showing use of various API features he has used, followed by a brainstorming session to generate some module contribution ideas for the code for freedom contest. I've put up a collection of useful links up here related to Netbeans Plugin Development with links to useful resources - articles,
tutorials, samples, API documentation - all that one needs to learn to
make plugins in Netbeans.