Adventures with Elastic Search – #week 3 & 4

Last week I did not blog about my outreachy internship. That is because I was stuck with elastic search.

I have the feeling of being Alice in the Wonderland. I was lost in the maze last week, and no, there was no special rabbit to help me, no special potion to get me from novice to advanced! However there were bugs,  and the bugs were my enemies.

I got some feedback from my awesome mentor Peter and we decided I change approach.

I usually use to go with small snippets of non functional code seeking for some help to unstuck. However that might have not been the best approach. I mean, I am learning something new, sometimes I have to allow myself to be stuck and get unstuck on my own. It is part of the process, but I have my deadlines and I really did not want to go past them so I resorted to that approach. Now I am shifting from that to shipping some functional code on which I will be asking feedback on instead. That is a great leap. It made me worry initially, being stuck is never fun, but this is worth trying.

Last week there was no functional code. This current  week, I finally started seeing some light in the tunnel. I am optimistic about that.

First of all my elastic search queries work!!! That is a progress that happened yesterday. Read more

Deleting an Item from a List in Python (Pop, Remove, Delete)

Last 2 weeks I was reading django girls tutorial which is something I had promised to do when I wanted to learn more about Django sometime back. This day finally came where I read it.

So as I was reading it, I thought it will be good to have an example of how to delete a list item since it already had one for dictionaries. I decided to suggest  that contribution as it might be a good thing for a newbie to see. Then I got a question lingering in my mind….

What do I feel is the best way to demonstrate that? I went to StackOverflow to research on how others felt was the right way or better way to do it and I notice the main suggested ways, in the few Q&As I read, were the pop method or the del statement.

That led me to think of if I should create a suggestive pull request with one of these two suggestions [by the way this gist code embedding trick was shown to me by another cool Outreachy intern. It looks really pretty I must say. High five to you if you are reading this 😀 ]

Pros
Suggestion #2: Seems like the best option because it also returns the item that gets deleted, in result to that, that value could be used to do something. Read more

Outreachy Internship week blog #2

This week was better than last week. Last week it was a struggle both because my area had no internet and also because I was kind of stuck with ElasticSearch. I will be using pyelastic search instead and I can’t find enough examples of its usage in python/django projects online. I think several examples for an API or library are a good thing to have. It shows you how to use a tool and see it visually in action. In particular real life examples are the best. Maybe I’ll have to research some more for that. I submitted a non functional PR with what I had done so far for review. I mean, I knew it wasn’t working but it had a lot of coding involved and in some way I had to figure out how to make it work or if I was in the right path. I am glad I got a good amount of feedback on it but there is a lot more I have to learn, I hope as time goes on that I will get faster and better than I currently am. This week I also did a small bug fix just to break out from the ElasticSearch cycle I was in and have some break. Now I am back working on ES and then I’ll work on some other area of the project I am working on till I connect the dots. The time is flying pretty fast. I feel it is faster now that the internship started opposed to before where it looked like a long way. I am looking forward to having  a prototype soon.

Just a tip….

This week my mentor mentioned a wonderful tool by Mozilla that I didn’t know existed. It is called Firefox Hello. In fact I didn’t know Mozilla had so many products. I just knew of the Firefox browser and Mozilla Thunderbird.  I believe recruiters should be using Firefox Hello for video calls while recruiting instead of some other software’s because with that tool they do not need to add anyone on their IM list. So the connect/remove thing becomes less discomforting. That’s of course good for anyone of you out there that want to have a chat without necessarily adding someone to your video conferencing software for long. Some other perks of it are…

1. It works from your browser. Firefox preferably though I saw something about browser compatibility but I didn’t read that piece.

2. You don’t need to add anyone you just give them a link.

3. You do not need to download anything or sign up/in/out anywhere! I love no registration items haha because then I do not need to think of a password all the time or give out my emails and wish for no spam messages. I know we have password management tools but I have not tried any yet.

4. Super easy to use!

5. Your conversation gets encrypted

If you want more info about it you can check here => Firefox Hello

Anyways that’s it for today 🙂

Summer Internship Begins #Mozilla #Outreachy

This is more of a late announcement, well, it could be taken as an early announcement as well, based on which point of view you are taking.

* So I was selected to be one of Outreachy 30 interns! Yay. *

What is Outreachy?

Outreachy is the successor of the Outreach Program for Women (OPW). OPW was inspired by Google Summer of Code and by how few women applied for it. The GNOME Foundation first started OPW with one round in 2006, and then resumed the effort in 2010 with rounds organized twice a year. In the May 2012 round, Software Freedom Conservancy joined OPW with one internship with the Twisted project. In the January 2013 round, many other free and open source organizations joined the program. For the May 2015 round, the program was renamed to Outreachy with the goal of expanding to engage people from various underrepresented groups and was moved to Software Freedom Conservancy as its organizational home.

This program is a welcoming link that connects talented and passionate newcomers with people working in free and open source software and guides them through their first contribution. Through Outreachy, participants learn how exciting and valuable work on software freedom can be, while helping us to build a more inclusive community.

For more info on what’s Outreachy you can check here – Outreachy Info

Which company did I apply for?

In specific I applied for only 1 company and that is Mozilla. I believe Mozilla is a cool company to work for and contribute to and I like the way it supports the open web. My mentor from Mozilla is also super awesome! He really knows how to mentor from my experience so far, he is patient, welcoming, resourceful and knows how to keep people motivated. I believe other employees at Mozilla might be as cool, but I haven’t met many of them due to this being done remotely. However the few I have met on the IRC/bugzilla were all super nice, helpful and welcoming. So I am very happy working with them all and believe this will be a nice and productive summer.

So yes I am super happy for it. I might share on how it all went at some point down the road if I get asked a lot.

Day 1 started with memorial day which is a holiday in the USA I got the chance to meet other cool interns doing internships on other opensource projects. I learnt a lot from the few minutes we talked and it is nice hearing how we are all going through this experience.

How did I get involved with Opensource?

Prior to this I had absolutely no idea on how to contribute to opensource even though I really wanted to. I googled endlessly online just to find good but limited information. I couldn’t find something as succinct as I wanted that could help me learn to contribute as a “newbie”, but this whole experience up to this day has made me learn way too much than I knew back then and I am glad that I applied and didn’t let my doubts stop me from it.  If I get the chance maybe I should write a succinct “How – to” sort of thing, to make someone else’s life easier when it comes to doing your first contribution to opensource projects, and get more people involved with it. I’ll think about that, for now I’m focusing on learning and contributing to Mozilla. I have submitted several bug fixes/patches of code that have been merged and that was an awesome experience.

How has week 1 been so far?

This week was my first week, I downloaded elastic search which we plan using for this project I will be working on if it fits what we are looking for. If it doesn’t then it will be switched to something else. So far I have been trying to figure out how to get it to do what I want it to do based on its documentation. I wished  I could find more real-life examples on how it is used in python/django. I am still searching for such materials and trying to read more about it.

OK. What project are you working for?

I am working on Air Mozilla. Air Mozilla is the Internet multimedia presence of Mozilla, with live and pre-recorded shows, interviews, news snippets, tutorial videos, and features about the Mozilla community. Mozilla creates software that promotes the goals of the Open Web.

Wanna have a look on Air Mozilla ? Check here => air mozilla page

 

I am looking forward to the day I complete my project, I really hope that day comes soon so I can take a deep breath of relief that “I made it!”  🙂

In the next weeks I’ll be blogging more of my experience so if you are interested in it, keep an eye on the blog.

while True:

good_luck(“Gloria”)

Stay tuned!