Google Intern!

Finally, got selected for the prestigious google summer of code 2016 (GSoC’ 16). GSoC is a yearly summer internship program conducted by Google in connection with open source organizations where students get an opportunity to work on projects under an experienced panel of mentors.

Congrats to all those who have attempted for this selection process. The proposal writing itself is a wonderful experience where we could work with many high profile people, discussing a lot about the possible implementation patterns of various projects.

This was the first time I was applying for this program and luckily by god’s grace, everything clicked well and I am into the final list of selected members for this year’s GSoC. So, I will be coding for Drupal, on the project, ‘Port Search Configuration Module to Drupal 8’. I am mentored by Naveen Valecha, Neetu Morwani and Karthik Kumar.

April 2016 was really a lucky month for me. Apart from this internship, my team ended up as runner ups in the Amrita Super Minds Quiz finals. I also got one of my article published on contributing to Drupal in the upcoming edition of Open Source For You, Asia magazine.

Hoping to have a nice summer ahead.

Working with the database Part 1/2

Recently I was installing PostgreSQL and related tools.So,I decided to share you my experience and help you to establish the same.

We are currently having Database Managment systems(DBMS in short) for our semester 5 B.Tech course.We are following the PostgreSql and pgadmin3 as the interface application.So,I hope this post will definitely help my friends in installing the PostgreSql and the related tools in handling it.

Initially,I recommend everyone to have Apache installed in your system.Localhost is a very cool service which will help you to host things and apache establishes it and localhost will be useful as a host in the pgadmin process.

So,lets get started Ctl+Alt+T

As the terminal comes up,enter the command:
sudo apt-get install lamp-server^

This will help you install the LAMP(Linux Apache Mysql Php) in ubuntu.Mysql is also another sql database.If you go to 127.0.0.1 in your browser you will see the localhost page.You will probably get something like this given in this below snap.

127.0.0.1
127.0.0.1

Once it is done,lets move into the postgreSql part.
To install PostgreSql,enter
sudo apt-get install postgresql postgresql-contrib

Now,we need to setup it.Enter,
sudo -u postgres psql postgres

You are now in the postgres.Add a password to your postgres by entering

\password postgres

You will be prompted to enter the password once you enter the above command.
To create a new database enter:
sudo -u postgres createdb db

where db is the database name
To exit the postgres,enter Ctl+D or \q

Now,to install pgadmin.

sudo apt-get install pgadmin3

I think this post is getting a bit longer.So.working with pgadmin in my next post.

See you guys.

Have a nice time.

Hacks with Saktimayi

Hello guys,

Its been so long since I wrote my last post.These days I was working on some of the issues of Drupal.And Drupal seems to have clicked for me.

Its been a long dream for me to have my saktimayi account in my browser.I got a public html folder in my account and started working on it.Initially,it was just like a stationary page without any css that just displays the files in my saktimayi.After seeing some of my senior’s saktimayi web pages,I decided to enhance it.I like all these web hacks by the way.

Finally,I have now added a web template and made it look better,prettier.

And now the shape of my saktimayi is like:http://saktimayi.amritavidya.edu/~u4cse13128/

Thanks Dhanvi for that notification.It seems like this link is only available for wifi users in amrita.So,non-amrita users,please follow:http://geojoyce.github.io/

Look cool,right?

Its always fun for me to work with the web stuffs.I am currently working with creating modules in Drupal.Hoping to add more posts in the future.

Have a good time guys.

WRITE BROKE,BROKEN PIPE ISSUE [SOLVED]

Hey all,
Recently I was cloning a git repository(mediawiki core).As you all know it takes a lot of time as there is a large amount of data and moreover my campus wifi is not in a good pace.I waited a long time(around 4 hours),the cloning reached 99% and I was feelling very much excited.Suddenly something like this popped out:
broken_pipe

I repeated the same process three times,but faced the same error all the times.(I think many who have cloned large repositories have faced the same).This is mainly due to network problem.
So,googled a lot and got help from some of my friends(special thanks Dhanvi ;))

It was fixed by trying the shallow clone,i.e
Here we are not cloning the git repo at a stretch,the process is divided
Step 1:
git clone --depth=1 git_repository

Step2:
Enter the cloned repo.
Deepen the clone using:
git fetch --depth=N git_repository
Note:N should be substituted with any positive value

Step 3:
To download rest of the revisions;

git fetch --unshallow git_repository

Have fun 😉

Boot Repair in ubuntu

Boot repair is something which is really necessary if you are having multiple Operating systems in your system.This post will help you to do boot repair in ubuntu.

A breif introduction which resulted me to do boot repair recently:
Last night,I was trying to fix some driver errors and installed some new softwares into my windows machine.I downloaded all the drivers and necessary softwares from HP website(am having a HP Laptop).All the driver issues were fixed comfortably and I was really happy that after some work I have set up the windows – ubuntu dual boot .

But,unfortunately,when I restarted my system,I could no longer see my grub.I was directly booted into my windows os.I never expected it because I  spend a long time working on installing many necessary softwares in ubuntu.But,when I went to my disk partition,I saw the ubuntu partition alive.Moreover,I also thought of reinstalling ubuntu and I inserted a live CD.But,I saw a message like erase your ubuntu 14.04 and install new ubuntu which strengthened me.I understood that some softwares  or drivers I have installed screwed me.

I went into windows and uninstalled some of the softwares.Now,I could see my ubuntu OS in the BOOT MENU OPTIONS.But,since I had to do some extra steps to get into my ubuntu every time ,I thought of doing a boot repair.Some of the commands I got from the Internet didn’t work for me.I had to do more search .So,here goes BOOT REPAIR:

Boot into your ubuntu machine and get connected to the internet.Open a terminal and enter
Step1:sudo add-apt-repository ppa:yannubuntu/boot-repair
If the above command was working successfully,go ahead with the next step,
If you got something like this:
ppa_error
 
Dont worry, go to Launchpad  and click on technical details about this ppa and select you ubuntu version.Select you ubuntu and you will see 2 lines of instruction in the rectangular box below.
You need to manually add the ppa.
Enter in the terminal:
 sudo gedit /etc/apt/sources.list
You will get a text document with PPA’s.Go to the bottom and paste the 2 lines you have seen in the rectangular box.
Now,
Sudo apt-get update
So,now you are done with adding the ppa.

Step2:sudo apt-get update(no need to do again,if you have done while adding ppa)

Step3:sudo apt-get install -y boot-repair && boot-repair

You will see:
boot_repair

Selected recommended repair.
Once it is finished.Restart into you system.You will get something like:
grub

I hope this helped you.Have fun 😉

Error mounting Filesystem

A usual scene while using dualboots
A usual problem in Dual-Boots

This is a common error you can see in ubuntu if you are using multiple Operating systems in your system.I too had the same problem.I found that this error appears due to some shutdown mistakes you commit in Windows.I could solve this sytem by adding some codes to the fstab file.If you ever face this problem of mounting devices,you can follow this.

Open a terminal(Alt+Ctrl+T),

1.Enter sudo blkid
This is to get the to get the UUID (Universally Unique Identifier) of the partition you want to mount.
If you have 3 Windows partitons,you will see 3 UUIDs.Each partiton is having a unique ID.

2.Now you need to open fstab file in your system to add the UUIDS of the partitions that needed to be mounted.

Enter gksu gedit /etc/fstab

If you don’t have gksu installed in your system please do the following steps:

sudo apt-get update

sudo apt-get install gksu

now run,
gksu gedit /etc/fstab

3.Now add the following line at the bottom of the file you have opened

UUID=1234567890123456 /media/ntfs ntfs rw,nosuid,nodev,noatime,allow_other 0 0

Replace the “1234567890123456” with the UUID you have got in the first step.
If you have done more than 1 partition make sure to add the UUIDs of all the partitions in the similar manner.

Now click save and close the fstab.
Restart the system and check whether the partition is mounted.