FUDCon 2015 @MIT COE, Pune Register


Stop the Hollyweb! No DRM in HTML5.

Sunday, February 8, 2015

DrupalCamp Mumbai 2015 unfolds

Platinum Sponsors, FOSSEE, IIT Bombay
The DrupalCamp Mumbai 2015 was held at IIT Bombay on 7th and 8th February. The organizers were Rachit Gupta, Ani Gupta, Vishal Gala, Prof. Sunthar from IIT Bombay, Gobinath Mallaiyan and the others from Drupal Community. The Platinum sponsors were TATA Consultancy Services & IIT Bombay FOSSEE. The Gold sponsors were Blisstering Solutions, Capgemini, Axelerant, iksula, intelliswift & Srijan. The Silver sponsors were TRIGYN, QED42 & other partners. If you are looking for career options, there will not be a better platform for you to come and meet with the top Drupal companies.  All of them had their stalls with wacky goodies and contests with exciting prizes.  The kits in the form of keychains and badges for the event were sponsored by TCS.
There were more than 600 participants varying from students from various colleges to Professionals and Experts. 

These were the sessions which were conducted at the DrupalCamp Mumbai 2015: 

Mike Lamb +Drupal Mumbai 
The event was kicked-off with a welcome note by Prof Sunthar followed by a keynote by Mike Lamb, the Director of Marketing Technology Strategy at Pfizer, currently a service member of the board at Drupal Association. The keynote was live-streamed as well. 
Note: Some important sessions were recorded and soon will be made available on Youtube.

VMCC, IIT Bombay
Day 1:
Drupal in a day workshop and training by TCS: This workshop was basically for newcomers and students.

The two best workshops conducted were Porting D7 modules to D8 by QED42 and Headless Drupal for Drupal experts by Azri Solutions


CXO roundtable & Panel Discussion, for heads and decision makers of drupal association only & Birds of Feather for any Drupal enthusiasts were arranged for supportive and productive setting of the DrupalCamp, proliferation of open source in education in India and for discussions related to Drupal and open source. There was also deliberation on Drupal campus ambassador programme(DCAP).
Drupal campus ambassador programme(DCAP) aims to introduce Drupal to top indian universities and engineering college by creating a network of Drupal Campus ambassadors across different universities and engineering colleges of India. 

Panel Discussion

CXO RoundTable

Day 2:
This day was exclusive for Hackathon & Codepsrint.

Codesprint: All the beginners and enthusiasts amassed to learn Drupal.

Hackathon: Especially for skilled Drupalers, where they challenged each others mettle.

So, this concluded the DrupalCamp at Mumbai. Let’s aim for much more accomplishment of the eminent DrupalCon in India in 2016. 

Monday, January 26, 2015

Secure your c#@t$ & m@!l$ with cryptography

Do you want your chat/mail to be secured? Do you want them to be protected from secret readers? Do you want them to be visible only to you and the recipient?  
You are now going to learn symmetric cryptography.
You can have the most secured chat/mail with the following:


  1. Mozilla Thunderbird
  2. Pidgin Messenger
Note: Gmail has a security option in your account settings called Access for less secure apps. Enable the option to make Gmail available to Thunderbird and Pidgin.

1. Mozilla Thunderbird:

Thunderbird is a free email application that's easy to set up and customize - and it's loaded with great features!

For instructions on how to access your Gmail mails from Thunderbird, visit here.

Once you are done with the setup, its now time to make your mails secured. 

Follow the steps:
  • Open your Thunderbird mail client.
  • Goto Tools->Add-ons on the top.
  • Install Enigmail.
  • A new menu called Enigmail appears at the top.
  • Click on Enigmail->Setup Wizard
  • Click on Next for all instructions.
  • Then on the new window select I want to create a new key pair for signing and encrypting my email.
  • Then assign an appropriate 8 characters passphrase for security(your private key).
  • Then it will ask whether you want to generate certificate for the encryption. Don't skip this step as the certificate will be useful incase you forget the passphrase. 
  • You are Done!!!
This entire process generated a certificate, a public key and a private key for your account. 
We must share only the public key with friends to whom we want to send mails to.
Don't worry, Thunderbird takes care of that! Let us see how.

Now send a mail to your friend through Thunderbird:
  • Click on Write on the top menu.
  • Compose a mail as usual.
  • After filling the necessary details, goto Enigmail menu on the top and enable Attach My Public key, Force encryption & Force signing in the submenus.
  • Write in the body "PFA my public key".
  • Now send the mail.
Your friend will receive an encrypted e-mail from you with the public key attached. Tell him/her to do the same.
Once you have exchanged the public keys, you need to import each other's public keys on your Thunderbird.

For that:
  • Open your friend's e-mail having public key attached on your Thunderbird.
  • You will find a yellow notification Unverified signature, click on 'Details' button for more information.
  • Click on Details and import the public key.
  • It will still show Unverified.....
  • Now click on Details and sign for the sender. 
  • This will make the sender fully authenticated.
  • To check the success, goto Enigmail menu on the top and select Key Management.
  • You will find all the public keys here. Check whether you have your friend's key in the list.
Now again send a mail to your friend through Thunderbird:
  • Click on Write on the top menu.
  • Compose a mail as usual.
  • After filling the necessary details, goto Enigmail menu on the top and enable Force encryption Force signing in the submenus.
  • Write in the body "Hi, let's hangout!".
  • Now send the mail.
Your friend will receive an encrypted mail. Once your friend receives your e-mail on Thunderbird, it will automatically ask him/her to enter passphrase which he/she created(the way you created). That passphrase is his/her private key which he/she wont share with you. That key is used just to decrypt messages by him/her sent to him/her. Once he/she enters the passphrase correctly, he/she can read the message "Hi, let's hangout!". Thunderbird automatically detects authorized sender and decrypts the e-mail. 
Congratulations!!! Now you and your friends can share secrets freely.

There is another method by which you can decrypt messages through terminal.
  • Type gpg -d <paste the encrypted code from -----BEGIN PGP MESSAGE----- to -----END PGP MESSAGE----->
  • Press Ctrl+d keys simultaneously on your keyboard.
  • You will get the message decrypted on the terminal.

2. Pidgin Messenger

  • Install Pidgin Messenger.
  • Goto Accounts->Manage Accounts.
  • Click on Add.
  • Select Protocol as Google Talk.
  • Add Username of gmail account before @.
  • Click on Add.
  • Goto Accounts->Manage Accounts->Enable Account
Select the account you created and it will load all the contacts of your gtalk.

Once you are done with the setup, its now time to make your chats secured. 

Follow the steps:

  • You and your friend need to install OTR plugin(off the record messaging plugin) for Pidgin through synaptic package manager.
  • Open the chat box of your friend who is using Pidgin with OTR installed.
  • Go to OTR menu on the top->Select Authenticate Buddy.
  • Select the way you want to authenticate your buddy. I will choose question and answer.
  • The answer which your buddy will enter must match with your answer. 
  • Once they match, OTR will get activated on both of your chat boxes.
  • You will see Private written on your chat box.
From now onwards, your chat will be encrypted with your friend.

Other References:

Thursday, December 25, 2014

Fedora 21 release party @Homi Bhabha Centre for Science Education

What is Fedora???
Fedora is an operating system based on the Linux kernel, developed by the community-supported Fedora Project and owned by Red Hat. Fedora contains software distributed under a free and open source license.

What is Release Party???
As the name implies, it is a party/get-together to promote or release something.

On 21st of December 2014, we had a release party for Fedora21 at +Homi Bhabha Centre For Science Education. It was again one of the awesomely arranged software release party. The session began at half past two with a quick introduction of all enthusiasts present. There were participants from various organisations like IIT Bombay, Red Hat & C-DAC Pune.
The introduction to Fedora21 was presented by Pravin Satpute

Fedora21 has GNOME desktop environment. It is quite interactive than Ubuntu OS. We were introduced to various interesting applications of Fedora21. Fedora 21 includes OpenStack IcehouseOne can directly upload videos and images on any social media in one click.
We were introduced to Docker cloud. In simple terms, it is like sandbox or virtualenv in python. Here there is no limitation with the hardware space and you can experiment whatever you feel like which wont directly affect your machine. Even if you restart your machine, the docker experiments can be saved forever.

As it was a release party, there was a cake cutting ceremony and snacks to relish too.

The event was concluded by Rahul Bhalerao with a presentation on how to contribute & participate actively in Fedoraproject.
People can participate and contribute by following certain guidelines in various forms:
  • translation,
  • design,
  • coding,
  • user support,
  • testing and usability,
  • documentation,
  • marketing,
  • and many other contributions and interests.
Also read about FAS.
You can even earn badges with your contributions.

Lastly, there was openhouse, a kindof group discussion where we discussed about difference between Free Software, OSS and FOSS.
The concept was beautifully explained by Dr. Nagarjuna as follows:
Free Software has 4 freedoms:
  • The freedom to run the program as you wish
  • The freedom to study and change it as you wish
  • The freedom to redistribute copies to help
  • The freedom to distribute copies of your modified versions to others
A free software charges you for their service. Rest you have all freedom to do whatever with the software unlike proprietary stuffs which charges you and even restricts you. 
He even explained how Android, though open source, forces users to have a Gmail account. This is just to scrape users's personal information.

We shell out so much on servers which scrapes our personal information. Instead it is very cheap to host and manage our own servers. Read about FreedomBox.

After the discussion, a group photo was captured and they gave away goodies like Fedora21 stickers, workstation and server DVDS and Red Hat keychains.

You can contact the fedoraproject group with this email id : apps.fedoraproject.org
For contributing or any queries related to contribution please contact : rbhalera@fedoraproject.org

Minimum System Requirements for Fedora21:
15GB Hard disk

How to root your Android device in 2 minutes?

How to root your Android Phone???

Rooting is the process of allowing users of smartphones, tablets, and other devices running the Android mobile operating system to attain privileged control (known as "root access") within Android's sub-system.
This can be achieved with less pain with the help of an android application called Framaroot
With Framaroot you can experiment with your device with full access of your device.

Steps to follow:

  • Download Framaroot APK.
  • If you downloaded the APK file on your pc connect the device to your PC and copy it into the SD card. if you have downloaded directly on the device to go to step 3
  • Make sure that you have enabled the download of other platforms different from Google Play. You can check this in the following path: Menu > Settings > Unknown sources (ON)
  • From your device, click on the Framaroot APK file and then follow all the on-screen instructions you see.
  • Once the app is installed on your phone, launch GingerBreak app and when it will be opened click on the “Root” button in application.
  • Wait a few minutes for the process to finish and reboot your device.
  • If you want to check if you are already root or superuser in your Android phone or tablet you can download HowToRoot app from Google Play Store and click over the padlock in the top-right of the screen. It will show you a message about if your device is rooted or not.
This is an open source operating system for developers which comes with a rooted phone and it has various features like overclocking, where you can tamper with the performance of your android device and create your own themes for your phones.
CyanogenMod does not contain spyware or bloatware.
Check out this link to convert your normal android device to cynogenmod.
Also read the link.

Backups made in recovery are not safe unless they are made to a true external sdcard. If you want to experiment with above stuffs, make preparations for doing safe backup before running the installers.
Rooting varies with different devices. Please check your device compatibility with the apps before rooting.

Saturday, August 2, 2014

Rendezvous with St. iGNUcius

WINDOWS = Where I Never Do Operations With Security

The mail said,
On behalf of TISS, we cordially invite you to a public lecture BY RICHARD STALLMAN titled "FREE SOFTWARE, FREE SOCIETY", ON THE 21ST OF JANUARY 2014, at the Old Conference Hall, TISS Main campus (Time: 5pm-7pm).

Richard Stallman is the founder of the Free Software Foundation and the GNU Project. Stallman pioneered the concept of copyleft and is the author of the GNU General Public License (GPL), the most widely used copyleft license, for free software. He will also talk about the relevance of software freedom in the era of networked computers.

A vehicle was arranged from IIT Bombay to TISS to attend this talk.

He gave a riveting talk on the following topics:

There is an ideological difference between the proponents of the terms "Free Software" and "Open Source".
The term FreeSoftware was introduced in the early 1980's by the movement we now know as the FreeSoftwareFoundation. Thus, the definition of FreeSoftware is focused on the freedom to share with your neighbor.
The term OpenSource was later introduced by another community including ESR, is more or less indifferent to moral issues concerning software sharing. The OpenSource movement argues that developing software using the "bazaar" philosophy (as described in TheCathedralAndTheBazaar) is superior. Hence the definition of OpenSource is focused on effective development using the bazaar model for business. While both discuss software whose users are permitted certain freedoms with respect to the code, OpenSource tends to focus on providing an economic/business argument for FreeSoftware. FreeSoftware focuses on providing a moral/ethical argument for OpenSource. The distinction is between "using/providing FreeSoftware is a good, morally right, thing to do" and "using/providing OpenSource Software is beneficial to you and your business". In most cases OpenSource software is also FreeSoftware, so the difference is mostly that the OpenSource community, probably in order to be more BusinessFriendly, refuses to subscribe to the ethics of the FSF. So, for the most part the effects are the same. Practically, however, the main difference is that OpenSource people think that closed software is OK, if not ideal, so if a XFree86 driver is closed source, that is OK, but the FreeSoftware people believe that these non-free software packages should be avoided if at all possible. OpenSource licenses do not restrict redistribution of identical or modified copies. Some FreeSoftware licenses place one restriction: that redistribution must be under a FreeSoftware license. Such licenses are called Copyleft licenses.
Licenses like BSD, MIT, Apache are not copyleft but are Free Softwares. There is only one license which is Open Source but not Free Software - Reciprocal Public License or RPL.
According to RMS, surveillance, censorship & non-free softwares are major threats to free digital society.

He also talked about Japan's restrictions on several websites, Wikileaks, Free speech not Free Beer, India's UID scam, how Javascript & librejs are not secure.

We even met Nagarjuna G., Research person at HBCSE.
At the end there was an auction session to get the GNU puppet which was then sold at 3000.

 Non-free software controls man

Reverse Engineering in NetBeans and TestCases

NetBeans 7.1

  • Open NetBeans.
  • Tools > Plugins > Settings > Add
  • Name : UML
  • URL : http://dlc.sun.com.edgesuite.net/netbeans/updates/6.9/uc/m1/dev/catalog.xml
  • In Available Plugins, tick "UML" and click on install button.
  • After installation, restart Netbeans.
  • Right click on project package name(Here sample)
  • You will see "Reverse Engineering" in the drop down
  • Select it -> Click on OK
  • A Model folder gets created
  • Inside it go to Model->package name(Here sample)
  • Right Click on package name.
  • Choose Create diagram from selected elements option
  • Choose the diagram type you want. I selected Activity Diagram.
  • Click on Finish.
  • A prompt dialog appears. Click on Yes.
  • You can now view Activity Diagram for your project.
  • Likewise you can generate other diagrams.

Test Cases:

1. JUnit : Visit Link
Right Click on package name and select New->JUnit Test->Finish.
This will create JUnit test file. Right click on the file and select Test File.
It will produce the test result as follows.

Note : If you don't find JUnit option, install the plugin  by searching in
Tools->Plugins->Available Plugins

2. Functional & Regression Testing with TestNG :
If plugin is not installed, then visit link and click on Download.
Extract the downloaded file. We can view 3 nbm file.
Go to NetBeans.
Go to Downloaded->Add Plugins->"add those 3 files except maven.nbm"->Install.
Restart NetBeans.

Right Click on package name and select New->TestNG Test->Finish.
This will create TestNG test file. Right click on the file and select Test File.
It will produce the test result as follows.

3. Load Generator or JMeter or Stress Testing or Volume Testing :
Right Click on package name and select New->JMeter Test->Finish.
This will create JMeter test file. Right click on the file and select Test File.

4. Smoke Testing :
The results of this testing is used to decide if a build is stable enough to proceed with further testing.

5. Sanity Testing :
A sanity test or sanity check is a basic test to quickly evaluate whether a claim or the result of a calculation can possibly be true.

6. Usability testing :
It involves a completely different set of skills and is a subjective form of evaluation, because it depends on the user population that will use the application. Results obtained in this way should not be generalized to other situations and users outside those in the test population.

7. Capacity Testing :
In short, capacity testing is about figuring out what the capacity of the system under test is. Typically, how many transactions per minute or how many simultaneous users a system can bear without crashing.

8.  Recovery Testing :
Examples of recovery testing:
While an application is running, suddenly restart the computer, and afterwards check the validness of the application's data integrity.

9. Reliability Testing :
You have to explain about NetBeans and how it supports reverse engineering with formula
Probability = Number of failing cases / Total number of cases under consideration

10. Ad-hoc testing :
Testing without knowledge of actual system to check functionality.
Ad hoc or regression testing is done after fixing defects to check functionality.

11. Black-Box testing:
If the source code is not available then test data is based on the function of the software without regard to how it was implemented. When performing a black box test, a tester will interact with the system's user interface by providing inputs and examining outputs without knowing how and where the inputs are worked upon.eg: Manually testing

White-Box testing :
The tester needs to have a look inside the source code and find out which unit/chunk of the code is behaving inappropriately. eg:Junit

Tuesday, July 29, 2014

Genymotion, the fastest Android emulator for app testing and presentation

Install Genymotion
Application requirements:
    Oracle VirtualBox >= 4.2.12 (greater is better)
    Ubuntu 12.04

** To download ``Oracle VirtualBox`` visit https://www.virtualbox.org/wiki/Downloads

Download Genymotion from this link.

How to install
  #. In a terminal, run the following commands: 
      ``cd <path-to-install-Genymotion folder>``
      ``sudo chmod +x ./genymotion.sh``
  #. It will Launch genymotion and the main window appears.
  #. And immediately, a pop-up appears and invites you to add your first virtual device.
  #. Click the "Yes" button, the creation window appears.
  #. Click the "Connect" button.
  #. Fill the authentication window with your Genymotion Cloud username/email address and password
     **Note: Deafult username is ``aakashabt`` and password is ``aakashtest1``.
  #. Then click the "Connect" button.
  #. Once connected, you will see all the available virtual devices.
  #. Select a virtual device  ``Custom Phone 7 - 4.2.2 - API 17 - 1024x600`` in the list.
  #. click the "Next" button.
  #. Choose a new name for your virtual device and click the "Next" button.
  #. Your virtual device will now be downloaded and deployed.
  #. Click the "Finish" button to close the deployment window.
  #. Click the "Play" button to start your newly created virtual device.

** Important Note **
  #. If you close genymotion and want to use it again then just run following command:
     ``cd <path-to-install-Genymotion folder>``
Thats it...

Android Screen capture:

  1. Download and untar
  2. cd to directory AndroidScreenCapture_1.1 (after untar you will get AndroidScreenCapture_1.1) on terminal
  3. Enable debug mode in device(Settings->Developer Options->USB debugging)
  4. Connect device to laptop
  5. run java -jar AShot-1.1.jar on terminal
  6. For first time it will ask for sdk location (provide it)