Sunday, May 31, 2015

Week 1: Warming up with Roundup

This week, I had been playing Maze game with Roundup. The project structure is quite complex, I can say. However, my experiment was a success in creating a REST-like GET page based on the template of displaying list of issue.

The first step is reached but I'm not satisfied with it. It is relying on the web template and so, it is restricted in many way: loaded via zope, restricted from displaying only 50 items in the list, being slow (600ms delay on localhost, I'm sure it can be improved), ....

So next week, I'm looking to hook my code to a lower level, my target is the same as Web and xmlprc at client.py to lower the cost of unnecessary process, thus increase the speed.

Tuesday, May 12, 2015

About me

Greeting, everybody.

My name is Chau (pronounce as /chow/). You might notice that my nickname is kinggreedy, with "greedy" from "Greedy Algorithm". Why "king" then ? Well, I love the greedy algorithm so much that I will make sure no one will ever greedier than me, That's why it's "king". (Hint: I did choose my GSoC project based on Greedy Algorithm :P)

About my project
This summer, I'm working for CorePython. My project is "Create a RESTful API for Roundup". Roundup is an issue tracker for Python. Currently there is no official web API to get the data from Roundup. This project aims to implement the RESTful API for Roundup, thus enable the opportunities for developers to create and develop new services and features, which can easily keep track of the data for users.

Additionally, I have to develop some basic tools that use the API, for example, improved stats page or dashboard. And my ultimate aim is to contribute it upstream.


Monday, May 11, 2015

Week -2: Getting my workspace setup

This week, I have my workspace setup on my computer. Usually, this part is very boring and it always a nightmare for me. We all want to get into the fun soon™ and no one wants to spend to much time trying to open the box.

But now, I got the solution. My mentors are using Vagrant as instructed here https://wiki.python.org/moin/TrackerDevelopment (they will move to Docker soon).  So I just needed to install Vagrant, VirtualBox and type in "vagrant up", and ta dah, my VM got installed and configured. The guest home directory is synchronized with host directory, so I can use PyCharm (yes I'm Windows-user) to develop without having to make a deployment script.

Talking about performance, the VM is very light, it just takes 400MB RAM away and nothing more. So now I can spend my time tinkering with Roundup.

Saturday, May 2, 2015

Week -3 : And the journey begin

So finally, after a month of waiting, I have been accepted to join GSOC 2015 this summer. I got this summer working for Python Software Foundation.

My project is to add a REST API to Roundup. The project is initially aimed to bugs.python.org, but I also want to contribute it to the code upstream.

So far, the experience with Python is very nice. I hope it will be the successful summer.