Travelling Programmer

Lemme learn

Page 2


[Week 3] Adding Slideshow bundle and fixing video bundle

Hello All!

As you would have already read on this blog that I was working on the media module for Drupal 8. Here is the introduction blog post just in case you missed it.

Last week I worked on the video media bundle and its default configuration to be included in the media module. This week I worked on fixing the video media bundle as well as creating a basic slideshow media bundle.

Last week, I wrote about how I wrote a custom script in before_script section of the travis configuration file to install video_embed_media module. This week I modified the .info.yml file to include the name of the project as well as the module. You can see the commit here. Here is a relevant change record on d.o.

The pull request for the entire video bundle can be found here.

This week I worked on the slideshow bundle too. I first created a basic slideshow media bundle with an entity reference type of...

Continue reading →


[Week 2] More media bundles and tests

Hello all!

So the second week of GSoC ends. As mentioned in the introduction post, I was working on the media module for Drupal 8 with Janez Urevc (​slashrsm) and Tadej Baša (​paranojik). We decided to finish media bundles for video and slideshow first before moving on to the file browser.

Last week we finished the image media bundle, so similar kind of work had to be done for video and slideshow.

I included default configuration files for video and wrote tests to check if the bundle is being created or not. But strangely the tests on Travis CI were failing. Our .travis.yml file is using drupal_ti which uses drush to install modules. Since video_embed_media is a dependency of our media module, drush was trying to search for the module and was failing to find it. The reason was video_embed_media is a submodule of video_embed_field which needs to enabled first and then...

Continue reading →


[Week 1] Creating basic media bundles

Hello all!

So the first week of GSoC ends! What a week it was! :D

In my last blog post, I informed you guys that I will be working on the media module for Drupal 8. In the first week we had three major goals to accomplish:

  • Create a basic media module scaffolding
  • Investigate how “Lightning” distribution uses media_entity and how it solves media problems. Identify if there are any pieces that could be re-used.
  • Create media bundles for image and write suitable tests for it.

So let me tell you about the tasks in detail:

  • Creating media module scaffolding: This is always the easiest part of the module. You just have to define files like .info.yml which contains basic information, .module file which implements methods like hook_help(), .travis.yml file for using Travis CI, a composer.json file which contains project information for composer and a Readme file for the module. You can...

Continue reading →


GSoC’ 16 with Drupal

I am glad to tell you that I have been selected in GSoC’ 16 to work on the Media module for Drupal 8.

The Drupal Media team has been working on various Media related modules for a couple of years now. Since all the modules are almost functional, now is the time to work on a complete Drupal 8 media module which would bundle the components and configurations of the existing independent media modules.

From April 22nd 2016, the day the projects were announced, to May 22nd 2016, students participate in something called “Community Bonding”. During this period, the students are required to interact with the community, introduce themselves, discuss about the project details with mentors etc.

I am lucky enough to work on this project under Janez Urevc (​slashrsm) and Tadej Baša (​paranojik) who have been involved with Drupal for years now and have been contributing to Drupal Media as well. In...

Continue reading →


What are some things you realize as you get older?

QuoraLove

I have lost count of the number of times I have read something so pleasing, so refreshing, so heartening on Quora that I’ve felt an urgent desire to share it with the complete world. The title of this post was the question I was reading today. And I absolutely loved the Anne-Marrie Yerks.

1) Be confident in yourself. When I look back, I regret all the times I didn’t do something or gave up because I didn’t believe I could succeed at it. I once wanted to be a dancer, but I didn’t think I had a dancer’s body. Well, along came contemporary dance that celebrates all shapes. If I had believed in myself, I could have been part of that movement. I also wanted to be a writer but I didn’t believe in the things I was writing and would lose faith in them. Now, when I read those things I see I was doing just fine and should have kept on going. Be confident in anything and everything...

Continue reading →


APOGEE 2015

The Beginning

It was late night on Wednesday, 25th March 2015 when everyone except Rahul Majethia sir and me, refused to go to one of the biggest tech fests in India, the BITS APOGEE. We both didn’t want to miss this opportunity in any case and started to prepare for the IBM Hackathon and other events of the fest. It was the third night when I had not slept and I wasn’t fortunate enough to sleep for the upcoming nights too.
I don’t know what happened in the night, but on Thursday afternoon four more people were ready to accompany us to the fest. Now that’s gonna be fun!

We left at 5 in the evening and boarded the bus for Pilani at 10PM from Anand Vihar. The bumpy road and my proclivity to sit at the rearmost seat, didn’t allow me to sleep again. Sighs. But I had a whale of a time with my own thoughts, gazing at the beautiful starry sky and enjoying the early spring breeze. At 4 in the...

Continue reading →


Adventure travel under ₹1000

The Beginning

It was the late night on 12th March. Everyone was busy trying to grasp the concepts of Physics for the Mid Semester exam which was going to be held on the next day from 17:15-18:45.

Boredom breeds arbitrary desires. Sometimes you end up acting on them.

After few hours of “trying” to study, came the time when students are fed up and start making plans to somehow get out of the misery. We all know deep within our hearts that none of is actually gonna come true but still it feels good to conjure up the fantasy. Someone out of the group suggested to go to some place next weekend. Someone said let’s go to Mussoorie. And everyone started coming up with ideas. It was then decided that we’ll leave for Rishikesh just after tomorrow’s exam. Hmm..daring idea of travel with no plans only means LOADS OF FUN!

So just after the exam, 8 of us left for Ghaziabad and bought the tickets...

Continue reading →


The beginning

Hello Everyone

I have good knowledge of web development and have worked with Drupal and Sahana Foundation in the past. The days I have realized that I still need to learn a lot of new things. So I have started with Python. I read a lot about python and currently working on making small projects in python. I would be moving to Android Application Development and Competitive programming once I am done with Python projects. I’ll be updating this blog with my learning journey!

Stay tuned!

View →