Weekend.py

On 23rd and 24th of April, 2016 our GLUG DSCE organised a basic Python and Django hands-on workshop.
python
On 23rd, Santosh from HackerEarth taught the students about basic python programming. The duration of this workshop was around 3 hours. Most of the basics concepts were covered. Most of the students who attend this workshop were from 4th-semester. They knew about C programming and Object oriented programming language like C++ which helped them to learn python quickly.

They all were amazed at the flexibility providedย  by the python. Santhosh’s talk was impressive enough for students to fall in love with python. ๐Ÿ™‚
T-shirts were awarded to students who solved the bounty questions quickly.

django

On 24th, we had Ramaseshan from Fractalio Data Pvt Ltd who took a hands-on workshop on Django. Firstly, he explained about the MVC, MTV architecture to make them understand how architecture plays an important role in building an application.

The duration of this workshop was around 5 hours (excluding 1-hour lunch break). We worked on a building a basic Django app – writing notes something like Evernote. It was taught very well.

At last, we had an hour for open discussion. Students were made to as any question related to Django or anything related to technology. I and Farhaan spoke about our GSoC project ideas and motivated them to contribute to Free and Open source software projects.

Ramaseshan spoke about Free Software philosophy, mesh network, censorship, privacy, free software communities and lot other things. His talk was very much impressive, many students wanted to join GLUG as core members and contribute in whichever field they are interested in. ๐Ÿ™‚

A meeting was conducted soon after the workshop with the newly joined GLUG members.

Google Summer of Code 2016 – KDE – WikiToLearn

gsoc-2016

Something I’ve wanted to say for more than a year. Yes! I am a GSoCer now!
This was one among my biggest dreams. ๐Ÿ™‚

GSoC – Google Summer of Code is an annual program, in which Google awards healthy stipends to students for contributing to Open Source projects.

All these days, I was spending most of my time fixing bugs on different open source projects. Now I have got the opportunity to work with WikiToLearn,ย  a proud member of KDE community, for a long period of time, implementing a new feature to wiki editor.

I would like to tell a bit about our WikiToLearnWikiToLearn wants to provide free, collaborative and accessible textbooks to the whole world.
Our philosophy is synthesized in the sentence: โ€œknowledge only grows if sharedโ€. We provide a platform where learners and teachers can together complete, refine and re-assemble notes, lecture notes in order to create textbooks, tailored precisely to their needs so that you can โ€œstand on the shoulders of giantsโ€.

I should thank my mentors Cristian Baldi, Gianluca Rigolettiย  and other community members for helping me in reviewing and getting a great project proposal done. I’m really excited to work with them this summer. ๐Ÿ™‚

Looking at previous GSOCers like Sayan, Sagar, Vignesh, Parth was always motivating me to contribute to open source and become a GSoCer.
I thank F.S.M.K, DGPLUG, and our GLUG-DSCE which taught me a lot about free/open source technologies.

More love to WikiToLearnย  folks for giving me this opportunity to work with them. ๐Ÿ™‚

 

You can have a look at my proposal abstract here.
Soon I’ll push my complete project proposal on GitHub.

The real fun begins now. ๐Ÿ™‚

Why git ?

Why git ?

Hey people,

This post is dedicated for my friends who are new to FOSSย  world or would like to get started with git.

Every time I start to explain about git to my friends I give them this problem statement and ask them to give me the solution :

You are in a project team which consist of 5 people and each of them stay in 5 different countries. Your project is to build some application where all 5 of you have to do some code contribution to it. Now, how this work can do done collaboratively ?

(I know that people usually share the code via storage devices like USB drives. ๐Ÿ˜€ That’s the reason I said your team mates are in different countries.)

Do you think you can share the code snippets over email ?
Or by using any cloud platforms like dropbox, google drive, etc ?

Well, these approaches are possible too but they are not very much efficient. Management of the code becomes hectic.

This is where the git comes for the rescue.

Git is a popular version control system (VCS) used for software development. As I have seen, most of the open source projects development are done with this VCS. Git has been beautifully designed with graph theory tree model.
Git provides lots of features like code tracking, reverting, keeping the development of new features separately from the main code base using branches.

$ man git

Documentation of git on man page is not much helpful. One has to look for stack overflow for most problems he usually faces.ย  For instance, three of the top five highest voted questions on Stack Overflow are questions about how to carry out relatively simple tasks on git.

Steve Bennett explains about 10 things he about git.
Some of his points are true.
It may be complex, lengthy process, new technology to learn, but it will keep developers life simpler. ๐Ÿ™‚

git
So, no more sharing code via storage drives, emails, dropbox or google drives. You can use git, push the code onto some server like gitlab, github or bitbucket and work collaboratively. ๐Ÿ™‚

In my next post, I’ll write about how to work collaboratively using git. ๐Ÿ™‚

Facebook CLI

Most of the time I would love to stick on to my terminal rather using GUI.

Last time I had tried Telegram CLI. This time I’m back with Facebook CLI.

I know you may not believe for the first time if I tell you that I updated my facebook status through terminal of my ubuntu 14.04 ๐Ÿ˜€ But trust me, it is possible and I did it just now. ๐Ÿ™‚

To do this we need to have a fbcmd application which gives you a command line interface for facebook.

Chill ๐Ÿ˜€ I will teach you to install this in a easy way

You need to have php installed in your system to do this.

If you don’t have, install it by typing the following command in your terminal :

(copy Ctrl+c and to paste on terminal use Ctrl+Shift+v)

$ sudo apt-get install php5 php5-cli

Download fbcmd.zip from the this link.

Note: make sure you have kept the downloaded file in home folder and Unzip the file.

You are almost done. ๐Ÿ™‚

Now get into that folder.

$ cd fbcmd

To complete the installation you need to execute following 2 commands :

$ sudo php fbcmd_update.php

$ sudo php fbcmd_update.php install

That’s it. ๐Ÿ™‚

You are done with installing. ๐Ÿ™‚

To begin type fbcmd:

$ fbcmd

The application needs to be authorized to access your Facebook account.

So follow these 4 steps to do this:

Step 1: Allow initial access to your acount via this url, execute this command :

$ fbcmd go access

You will see the following screen:

sagarhani1

Step 2: Generate an offline authorization code, execute:

$ fbcmd go auth

You will see the following 2 screens:

sagarhani2sagarhani3

Step 3: After you get your authorization code (XXXXXX), execute:

$ fbcmd auth XXXXXX

Step 4: Most FBCMD commands require additional permissions. To grant default permissions, execute

$ fbcmd addperm

Yay! You are done now. ๐Ÿ™‚

Learn to play with it by executing this command :

$ fbcmd help

I know you are excited. ๐Ÿ˜€

First update your status :

$ fbcmd status “I’m updating this status from the terminal of my ubuntu…. ๐Ÿ˜€ Next time I will tag you all :D”

sagarhani4

SCROLLBACK IS AWESOME

After reading this blog post, you will definately understand what made me to give the title as โ€œScrollback is Awesomeโ€.

image

Why did I give the title as Scrollback is Awesome?

1. Scrollback is an open source text chat service. I being a FOSS enthusiast, I would love to contribute to this project. So, anyone from any part of the world can also contribute to this project.

2. As per my knowledge it is not an easy decision for anyone to put out their company’s source code in public. Hats off to the founders of Scrollback (Arvind Ravi Sulekha & Gaurav Srivastava). These two really have a braveheart.

3. The user interface of Scrollback chat rooms are amazing. You won’t feel bored at all. ๐Ÿ™‚ . But I’m waiting to see few smileys out there. If not they, I’ll only try to add some simleys since the source code is available. ๐Ÿ˜€

4. It is user-friendly. You need not sign-up nor sing-in. Usually other social network like Facebook, Twitter etc. asks you to sing-up. But in Scrollback. You need not to do it. Just jump in to chat room and start chating. This helps in maximum participation in the chat rooms.

5. Once you enter the chat room, you will be automatically assigned a funny nick name. :D. You can also change you nickname by singing-in through Persona or Facebook.

6. Scrollback allows you to create your own chat rooms and have fun in your community. ๐Ÿ™‚ And it is free. (free as in both freedom and cost) ๐Ÿ˜‰

7. You can integrate the IRC channel with Scrollback. Before we used to have our online meets @ IRC, but from past 1 month (time at which we were introduced to Scrollback) we are you using Scrollback chat room which has been integrated with our IRC channel. So all those who are fed up of using IRC, you must use Scrollback from now onwards.

8. You can even integrate with twitter hashtags. It will bring those tweets instantlyย  into your room.

9. Scrollback chat rooms can also be embedded in your websites. Once you create your own chat room, in configure settings you will get the HTML/CSS source code for your chat room. You can just copy and paste it in your HTML file. A small chat box will be created in your webpage which will be linking to your chat room. By creating a local host I tried this in my webpage and it really works awesome. If you are a web developer you must try this. ๐Ÿ™‚

10.ย  Suppose you had an online meet in an IRC channel and due to some reason you arrived to the meet a bit late. You will be not knowing what all had been discussed before you come. If you had integrated that IRC channel to a Scrollback chat room, all the things which were discussed before would have been stored there. You can just Scrollback and go through it.

11. If you observe properly the logo of our Scrollback is similar to an elevator.ย  ๐Ÿ˜€ ๐Ÿ˜€ ๐Ÿ˜€
sounds funny, but it’s true. It will similar to the elevator.

12. Scrollback has aย  program for Scrollback Campus Ambassadors named as โ€œElevator programโ€. Even this program is similar to an elevator. ๐Ÿ˜€

I hope by now you would have understood โ€œWhat made me to give the title โ€“ Scrollback is Awesome?โ€