Wednesday 30 April 2014

Porting To Python3

So, i did some research and found that it would be best to port sugar in the following way:
1) Resolve the dependency issue - mainly telepathy . Telepathy-python has been deprecated , so what would be the best way to deal with this? Would it best to just port it to python3 or something else?

2)Port sugar-build to Python3

3)Port Sugar-shell to Python3

4)Create a new Sugar-toolkit-gtk3-python3 from the old one and also keep the Sugar-toolkit-gtk3 for activities that haven't yet ported to python3 and slowly deprecate it.

How the porting would be done:
1) Choose a single module.
2)Port the tests carefully and if there is not full test coverage , write some additional tests.
3) Update the code carefully to pass the tests.


These links were and will be helpful as we can draw on the experience of organisations who have already ported their codebase to python3.
http://twistedmatrix.com/trac/wiki/Plan/Python3
https://wiki.openstack.org/wiki/Python3#Port_Python_2_code_to_Python_3

PS: This post was discussed in the mailing list and there have been some changes in the strategy which i will mention in one of the upcoming blog posts.

SELECTED FOR GSoC 2014!


It has been a while since the list of accepted students were announced but I was so busy with college work that I forgot to update the blog. So here goes my first blog post ever:
On the day that the result for GSoC was to be announced I was actually at peace with the thought of not getting selected as I had learnt so much in the last 3 months from the open source community. Even if I didn't get selected I would've continued working with many interesting open source organisations (and I still intend to).Even though apparently I was at peace with not getting selected , my hands were shaking with excitement just before the announcement of results.
When on the night of 21st April, i got the e-mail that I had been selected for GSoC 2014 , I felt the euphoria that I hadn't felt in a long time . It felt amazing to be selected for something that 6 months earlier I had only dreamt of .
The project that I am selected for is : Porting Sugar to Python3 under Sugar Labs.
I want to thank Walter Bender and the Sugar Labs community for being there whenever I needed them and for accepting me to be a part of the sugar community.
I am really excited to be a part of the Sugar and look forward to working for it and making it better through GSoC and beyond.


Math of Intelligence : Logistic Regression

Logistic Regression Logistic Regression ¶ Some javascript to enable auto numberi...