How I made Treeherder do something it was not meant to
For the past couple of months I have been working on integrating Try Extender with Treeherder. The goal was to add an “Add new jobs” button to Treeherder that would display every possible job...
a blog about my programming journey
For the past couple of months I have been working on integrating Try Extender with Treeherder. The goal was to add an “Add new jobs” button to Treeherder that would display every possible job...
There are a lot of good altruistic reasons to contribute to Open Source Software, but this post focuses on my selfish reasons.
I’m OK at reading books, implementing examples and doing exercises,...
Last Tuesday was the last day of my Outreachy internship :(
It all started last December. I was at the Recurse Center when Sonali told me about the project. At first...
Are you tired of having to do a new try push just because you forgot a test? Your problems are over! Meet Try Extender. This new web app allows you to add new jobs to...
Thanks to Mozilla and Outreachy, I was able to spend one week visiting Mozilla’s Toronto office and it was awesome. My mentor, armenzg, really went out of his way to make me feel welcomed. It...
I love Python, but it can be a little resource-hungry at times.
For example, allthethings.json is a 12MB json file. How much memory does a Python script take to load it? Let’s profile the...
I started my Outreachy internship with Mozilla on May 25th, working with mozci. A lot happened in the first five weeks:
At Mozilla CI Tools, we use Coveralls to track our test coverage progress. In the past month we noticed that sometimes the coverage changes even in PRs that only changed files that are...
Recently we had an ‘UnboundLocalError’ in mozci. A local variable was being referenced before assignment. Turns out we were only defining the variable in one branch of an ‘if’ statement. It was very straightforward...
Pulse Actions is a service that listens to retrigger/cancel messages on exchange/treeherder/v1/job-actions and acts upon them using Mozilla CI Tools.
The project was deployed to Heroku today in dry-run mode, i.e., instead of...
At Mozilla CI Tools we have a script that can sometimes be annoyingly slow. I used cProfile with gprof2dot to better understand how to improve it.
To get a pretty graph of the script’s...
Given a positive integer, compute the sum of its digits. This very simple task ended up taking me in my first journey through Python’s internals.
The first solution that came to my mind was:
When I asked about larger projects to get involved in, Joel (:jmaher) told me about a new tool suite that’s being written in Python: Mozilla Continuous Integration Tools. The project maintainer is Armen Zambrano...
Test Informant is a test monitoring service for Mozilla. It provides a high level view of what’s going on with automated tests.
It currently uses pulse to listen for the completion of build...
During Hacker School’s winter break, I decided that I was finally ready to do something I’ve always wanted to do: contribute to Open Source.
The first thing I had to do was...
In the last post I showed my finished ray-tracer. Now I’m going to show the steps I took to get there.
I started creating Lines and Spheres in geometry.py and generating an PNG image...
It’s Winter break now at Hacker School, but the week was quite productive. I worked on two projects.
My first project of the week was a ray-tracer. I started creating classes for...
I spent the past week doing Google Foobar exercises, and that was really fun (and really addictive). I managed to stop doing that to start working on a fun project: calculating a given person’s For the past week I’ve been working my way through SICP. I’m using DrRacket to test my code and after suffering for a little bit to find the right implementation of Scheme, I found...
This is my second day at Hacker School. Yesterday I spent my day installing Ubuntu, setting up Emacs Prelude and learning more about Git. My plan for today was to start working my way through...
Fun with SICP
The start of Hacker School