After a long time

This is a long pending post for so many things that have happened over a long time. I couldn’t post due to  so much of frenzy going around.

To start off, I conducted around 3 workshops and talks,

First one was a workshop for the Faculty of University of Pune, which was conducted at PVG College, Pune. It was aimed at giving a brief idea of how OpenStack works and Eucalyptus along with it.

I then went on to demo Cloud setup over Openstack.

Slides @ http://vipul.byclor.org/slides/presentation.html

Second was a workshop on Android for a state level student workshop which was conducted for around 150 students from 28 colleges of Maharashtra. It was held at ADCET College Ashta {http://www.adcet.org.in/}.

This one was special for me, as I received a splendid response from the participants. It was awesome!

You can find demoes from the workshop over at https://github.com/vipulnsward/AndroidWorkshop

Then came a brief Lightening talk over Git and Ruby and Cloud, at the RubyConfIndia 2012.{rubyconfindia.org}

Slides @https://github.com/vipulnsward/RubyLighteningTalk

I then happen to have conducted a workshop on Blender at SKNCoE {skncoe.edu.in} which was one whole day thing, and then the same at PICT{My College| pict.edu}.

Well thats all about for now. There have been many exiting projects I have been working over, which I will be posting soon. But you can find many @github.com/vipulnsward

Android Workshop

Completed a three weekend workshop on Android today..
There were participants from my college, PICT , VIT, some MCA, and MCS students over from karrox, and DY Patil COE, and some of my acquitances.

The workshop was done in three sundays, that is three legs
First Leg covered basics of Android Development, the Environment behind it, and much more. And a head start to components in Android.

The Second Day concentrated on Intents, Multiple Activities, Cross Activity workings, and coding sessions

The Last day was spent on revision, and App Creation, also some topics like “Touch”, “Networking”, JSON Parsing, Twitter Timeline App were done..

Altogether I got a good response from around 12-20 students.

The examples in this workshop can be found over here..

https://github.com/vipulnsward/AndroidWorkshop

Module Compilation

Following is another of my old dumps while showing installation and use of three types of Kernel Modules: Simple, One returning from /proc and another a /dev

You can find the modules directories listed below in this compilation
sward@sward:~$ cd /boot/
sward@sward:/boot$ sudo update-grub
[sudo] password for sward:
Generating grub.cfg …
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.38.2
Found initrd image: /boot/initrd.img-2.6.38.2
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found Windows 7 (loader) on /dev/sda1
done

#After Compiling and rebooting
sward@sward:~$ uname -r
2.6.38.2

##Make
sward@sward:~/module/hello_printk$ make
make -C /lib/modules/2.6.38.2/build M=/home/sward/module/hello_printk modules
make[1]: Entering directory `/home/sward/kernel/linux-2.6.38.2′
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/home/sward/kernel/linux-2.6.38.2′
sward@sward:~/module/hello_printk$

##Install
sward@sward:~/module/hello_printk$ sudo insmod ./hello_printk.ko
sward@sward:~/module/hello_printk$ dmesg | tail
[ 36.299929] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 41.163597] lp: driver loaded but no devices found
[ 41.386104] ppdev: user-space parallel port driver
[ 62.467260] sshd (2235): /proc/2235/oom_adj is deprecated, please use /proc/2235/oom_score_adj instead.
[ 88.182166] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 393.599872] Hello, world!
[ 438.178403] Goodbye, world!
[ 1590.507930] Hello, world!
[ 3249.532024] Goodbye, world!
[ 3253.303910] Hello, world!

##UnInstall
sward@sward:~/module/hello_printk$ sudo rmmod hello_printk
sward@sward:~/module/hello_printk$ dmesg | tail
[ 41.163597] lp: driver loaded but no devices found
[ 41.386104] ppdev: user-space parallel port driver
[ 62.467260] sshd (2235): /proc/2235/oom_adj is deprecated, please use /proc/2235/oom_score_adj instead.
[ 88.182166] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 393.599872] Hello, world!
[ 438.178403] Goodbye, world!
[ 1590.507930] Hello, world!
[ 3249.532024] Goodbye, world!
[ 3253.303910] Hello, world!
[ 3286.511989] Goodbye, world!
sward@sward:~/module/hello_printk$

##Using /proc to print
sward@sward:~/module/hello_proc$ sudo insmod ./hello_proc.ko
sward@sward:~/module/hello_proc$ cat /proc/hello_world
Hello, world!
sward@sward:~/module/hello_proc$

##Using /dev to print,Yeah thats the device
sward@sward:~/module/hello_dev$ sudo insmod hello_dev.ko
sward@sward:~/module/hello_dev$ sudo cat /dev/hello
Hello, world!
sward@sward:~/module/hello_dev$

##For module licences:

/*
* The following license idents are currently accepted as indicating free
* software modules
*
* “GPL” [GNU Public License v2 or later]
* “GPL v2” [GNU Public License v2]
* “GPL and additional rights” [GNU Public License v2 rights and more]
* “Dual BSD/GPL” [GNU Public License v2
* or BSD license choice]
* “Dual MIT/GPL” [GNU Public License v2
* or MIT license choice]
* “Dual MPL/GPL” [GNU Public License v2
* or Mozilla license choice]
*
* The following other idents are available
*
* “Proprietary” [Non free products]
*
* There are dual licensed components, but when running with Linux it is the
* GPL that is relevant so this is a non issue. Similarly LGPL linked with GPL
* is a GPL combined work.
*
* This exists for several reasons
* 1. So modinfo can show license info for users wanting to vet their setup
* is free
* 2. So the community can ignore bug reports including proprietary modules
* 3. So vendors can do likewise based on their own policies
*/

Kernel Compilation

Should have put this looooooooong before, but better late then never, so this one’s for all you BE people

Don’t mind the wordings, this is just a dump of my notes and outputs.

Step 1: Get kernel stable source code from kernel.org.we will get an archive  name something like linux-x.y.z.tar.bz2. here x indicates version no, y indicates whether kernel is stable or not and  z indicates kernel release number.if y is even then kernel is stable  otherwise unstable.we can download using command

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2

Step 2: untar a kernel archive in /usr/src(not necessarily) using

#tar -xjvf linux-2.6.25.tar.bz2 -C /usr/src then go to directory where u have untarred the file cd /usr/src

Step 3: Check whether you have gcc or not: You can check it by following shell command which gcc if gcc is not installed,u can get it using command sudo apt-get install gcc

Step 4: Now you can start kernel configuring by typing any one of the command:

make menuconfig – Text based color menus,  radiolists & dialogs.  This option also useful on remote server if you wanna compile kernel  remotely.

make xconfig – X windows (Qt) based configuration tool,  works best under KDE desktop make gconfig – X windows (Gtk) based configuration tool,  works best under Gnome Dekstop.

For example make menuconfig command launches following screen:make menuconfig

You have to select different options as per your need.  Each configuration option has HELP button associated with it  so select help button to get help. finally select save an alternate configuration as .config file and exit.

Step 5: ~Modules Start compiling to create a compressed kernel image,

enter: make

Start compiling to kernel modules: make modules

Install kernel modules: make modules_install

Step 6 : ~Install kernel So far we have compiled kernel and installed kernel modules.  It is time to install kernel itself. make install

Step 7: Create an initrd image After this you will have to create initrd image of kernel. This can be done as follows : first goto /boot directory cd /boot create initrd image:

mkinitrd -o initrd.img-2.6.38.2 2.6.38.2

Many linux distros does not support this naturally,like Debian Wheezy does not suppport mkinitrd tools and so we have to use initramfs tools.

You can simply type following commands for this case: update-initramfs -k 2.6.38.2 -c and then update grub update-grub

Step 8:

This step includes actually modifying grub. This can be done by actually modifying  file grub.conf or using command update-grub

Step 9: reboot

Reboot from your new kernel.U can find out ur kernel version using: uname -a #Mine gave this sward@sward:~/module/hello_dev

$ uname -a Linux sward 2.6.38.2 #5 SMP Thu Apr 14 00:19:30 IST 2011 i686 GNU/Linux

Workshops Follow-up

Today I met a professor from SKN, where I had presented and held workshops three time till now. She reminded me for more.

It also brings me back to posting here, reports of 2 workshops I had taken back in Impetus and Concepts,well basically~4

These were~
1. Blender ~ Chamba Chapter
This was a two day workshop on Blender, with a Film -Fest and an introduction to the Chamba Open Source Movie Project. It was fun! I started off as usual, and made the (trademarked, :-P) table modelling and other blender stuff.
There was good interaction with the crowd, it was a good experience to have people from college that were out of city, and mingle with them over the two days..Labeeb had joined me for the same.

2. Introduction to Indic Computing and Silpa Project “http://smc.org.in/silpa/”

Here I and Praveen just dropped in at the end, my friends Nikhil, Prajakta, Smriti had learned localization over weeks, and were guided by Santosh T(who’s a member of the Wikimedia Languauges Committee)
There were some question regarding JSON and Silpa in general which we tried to answer

3. InstallFest-
Well cant call this a workshop, but had set a days stall with good support from my juniors which hosted Chamba as a stall, and GNU/Linux InstallFest, we had laid cool stickers, and other stuff to roll out for free..

4.Android-
This was my one day attempt to teach the crowd, setting up the environment for Android(2.3/3.0).,moving around with the Architecture and the basics of Development.
I started off with a presentation, gave an overview of Android, moved across its environment, the command line, managing dvm, dvm debugger, and browsed through the various data over the Android image from command line.
Then I introduced image management.

I then moved to Resources and other contents of an Android project. Introduced with main.xml and actual coding of Activity.

I started coding a simple hello world application and then a converter(First steps first)

All in all, I tried completing:
1. Activity
2. Services
3. Intents
4. SQLite Database Access
5. Showed creating Alarms

To round up I showed the creation of a NotePad and a Twitter App in Android.

It was a good experience to teach such a technology for the first time(which was not just Linux i mean!)

–More to come~other workshop and seminar experiences–

Blender Workshop[Episode 1]

In accordance with the Chamba Open Movie Initiative, we’ve been reaching to colleges to gain support, and promote people to work on Blender, for attracting more Artists to Chamba. One such attempt was by taking a workshop in Sri KashiBai Navale[SKN], College of Engineering, Sinhagad Campus, Pune.

A few Moments from this Workshop can be found over here..
Facebook Link

I preceded over taking the two-day workshop to give an insight in the Basics of 3-D Modelling, Texturing, Animation and Blender Game Engine.

About 60 students participated in the two-day event over 22-23 January,2011. What began as a mild introduction soon lead to a session with overwhelming response. I was happy to see the last of the student trying to notch out every piece of solution for whatever mistakes they made over the two days.

I was astonished to find that even in the last session of the two days, 97% of the crowd was still present!!![I have a huge experience with Workshops, and this is a bit strange.]

I was able to complete basics of 3-D modelling,Sculpting,Editing on the First Day, with them taking time to be familiarized with the Blender Environment.

Later in the Evening of the first day, Praveen and Labeeb dropped in to show the Open Movies[under the Open Movie Fest]. With Sintel, Big Buck Bunny and likes, the crowd seemed to be relieved from the day long Workshop.

On the next day I started off with screening of “Sita Sings the Blues” and completed it half. Then I began with Basics of Animation and Camera movements.

Post Lunch Shravan and Praveen dropped in whence I had started off with Basics of Blender Game Engine.

Later I handed over the movie sessions to the both and left for Lokayat.

All in it was a superbly managed event. I thank Sonal, a lot for taking in the initiative and helping me out,Praveen,Labeeb and Shravan from Chamba, and the team of people with Sonal. I also thank the Staff of SKN , along with the authorities for granting me to hold such an event.

For more information over Chamba:

Chamba Project Main Page

“Saundarya”-Beauty..[contd.]

Continued from this Article

So the idea decided was that we portray a Circus and in group of twos depict various characters. The roles were chosen below..

  • Bal- A Lion
  • Medha-Calisthenics Performer
  • Abhijit-Joker
  • Shaku-Calisthenics
  • Prashant-Ring Master and Circus Manager
  • Me-Joker

The outlines of our and other stories are as below-

Group 1.
Name-“Sundar Prabhat”-A beautiful Morning

This group showcased a two parts play, two people enter in[Hrishikesh and Puneet] turn on the Television..

[In T.V.]

Program turns on KBC[Who wants to be a millionaire?], the host Amitabh[Jeetu] calls in the guest Salman Khan[Tushar]. Special celebrity support are called..Manmohan Singh[Neeraj] and Sonia Gandhi[Mangal], the question begins..

Which beauty cream does Katrina Kaif[relative to Salman] use?

And a fun dellima continues..

The next scene is a changed show portraying Chitrahaar..
all people dance to a beautiful Morning Song..

Note:
-This Showcases the present Media use to portray beauty relative to external features.. Beauty products and its mass propagation.
-It also feature how the same media also can portray beauty of Nature’s Beauty, and wonderful thoughts if used so..

Group 2.

Name-Evolution of Beauty

A wonderful rhythmic attempt to portray real beauty

All players lay on the stage asleep, morning streak breaks silence, all animals awake one after another. There’s a pig, crow, donkey,tadpole, all supposedly ugly animals. They begin by small sounds leading a full fledged noises.. A brilliant music arises in the rhythmic croaking, squeaking, squealing, bleating. The character swirl around and change to common day workers, a woman preparing food, a person using his Axe, village workers, farmers, yet the uneven actions depict a beautiful music once again, portraying beauty existent in smallest and even the so called ugliest things..
End note with the song from Rock On!!
“Socha Hai..

Notes:
-A brilliant approach to display beauty exists in each and every creation
-The neglegance of people to this aspect of beauty
-Should be improvised into a full fledged play..

Group 3.

Name- Satyam Shivam Sundaram

A three part play questioning aspects of beauty or its existence itself.
A mountain enters[Anuj] a questions publicly – “Am I beatutiful?”, goes ahead and asks one or two individually.

Moves into Backdrop. People enter around the mountain. An Artist simmers the mountains beauty in a painting, another person appears proposing to a girl , a trekker enjoys hiking about the mountain, a photographer captures mountain Pics.

A representation of different points of view in beauty of a mountain.

Next Part depicts two characters and thier children emerging from them-

Sabhyata[Civilization] -Essence of competition
Sanskriti[Culture] -Love[Prem],etc..

Notes:
An attempt to abstractly touch various aspects of beauty, questioning its existence ,its inhibitant nature.

Group 4.

Name- Drishtikon [Perspective]

This was our groups presentation, It started of with us all entering and dancing to the tune of “Jeena Yahaan” from “Meera Naam Joker”.

[TBC]