Author: Xuan Hu

  • 新座驾+怒刷奥体公园

    昨天完成了可以说是生命中又一件重要的事情,入手新座驾——2013款GIANT ATX 770,27变速,BB5碟刹,其他的更多参数就不太懂了,总之很棒很赞!买的过程略曲折,刚开始在北航东门的那个GIANT店差点被忽悠买了除了油刹其他都显得很山寨的ATX 777,还奇葩的遇到了两个收了钱马上就翻脸的傻逼店员,后来打110叫来了警察叔叔才把钱退了回来,最后去清华西门的店还算顺利,老板很爽快,于是一入手晚上就去刷街了。

    从北大东门沿成府路方向,到奥林匹克公园怒刷了三圈。一圈大概六七公里,北至北五环,南至科荟南路,东西分别是奥林匹克东路和奥林匹克西路,可以在15分钟左右刷一圈。回程的时候走的是大屯路、清华东路、双清路,也就差不多是运通110路的路线。全程下来不到40公里,连玩带歇差不多用了2个小时。

    终于有了自己的新座驾,Wishlist和Equipments页面都可以更新了,以后也可以更多的出去骑行了。Just Enjoy Life!

    P.S. 感谢光哥的全程陪伴,不仅帮忙试车还帮我处理了紧急情况,要不然我一个人估计就真傻逼了……很高兴能在园子里遇到你这样的好哥们!

  • Report #1 about Porting GTG

    These weeks, I was mostly working on merging pygtk trunk to gtk3 porting branch. I have created a new branch here [1] where you guys can follow more specific progress. It is the first time for me to deal with such a big diff [2] (with more than 170k lines and more than 4.8 MB sized). It’s really exciting to make it almost done. Most changes are caused by the pep8 modification in the upstream, it brings many conflicts which spend me a lot of time to resolve and double-check.

    There is another little bug which consume me a lot of time to solve [3]. The bugzilla plugin `import pynotify` which import pygtk implicitly and block the debug script to work. Cause the import of pynotify is not in the header part of the code but only when it is needed also surrounded with `try except` to handle potential depedency missing, I failed to pay more attention to it in early time. This really teaches me a lesson. Besides, I also fixed some little porting bugs with some of them also been merged into upstream.

    In the next stage, I will foucus on debug and test making the port-to-gtk3 branch stronger. To be more specific, I will try to apply coverage [4] into current porting branch and solve known issues marked with `# FIXME` in the code. I will also investigate more about porting from python2 to python3 to prepare for furture works.

    P.S. Sorry for the delay of report caused by final exams, but it’s over now. Just enjoy time for GSoC!

    [1] https://code.launchpad.net/~huxuan/gtg/port-to-gtk3
    [2] http://bazaar.launchpad.net/~huxuan/gtg/port-to-gtk3/revision/1288
    [3] http://bazaar.launchpad.net/~huxuan/gtg/port-to-gtk3/revision/1291
    [4] https://pypi.python.org/pypi/coverage/

  • Hello GSoC 2013! Hello Planet of GNOME!

    Finally landing on the Planet of GNOME! [0] Thanks for Alberto Ruiz’s help and patience!

    This is the voice from huxuan, the spelling of My Chinese name 扈煊. And my English Name is Sean Hu. So you can call me Sean, Xuan Hu or just huxuan is OK. I am from Beijing, China, a graduate student majoring in Applied Computer Technology of Peking University [1]. It’s really excited to be accepted as GSoC 2013 Students for GNMOE. I will spend this summer working on Getting Things GNOME! (GTG) [2], or to be more specific, ‘Porting GTG and Liblarch to Gtk3 and Python3’. The proposal can be found here [4] and more latest update would be listed here [5].

    Just as the project title indicated, The porting work means more about testing and debuging. I have already been fighting with various strange bugs even before coding period [5][6][7][8][9], and currently I am working on merging trunk branch of PyGtk version GTG into the Gtk3 ported branch and try to find some tricky methods to solve the credits wrap bug of AboutDialog [9]. As I will play with Gtk3 and PyGObject all this summer, so don’t be surprised if you find me on mail list or bugzilla of Gtk3, PyGObject or others related to Gtk App Development. Also, wish you capable guys can help me to better my GSoC work. Thanks in advance!

    I will have my last exam tomorrow, next Monday (06/24/2013). So some documentation work like GNOME Live Page and weekly report hasn’t been finished. Fortunately, I will have my free summer time after that, and it will been spent on GSoC 2013 absolutely! It’s really honorable to “stand” here making friends with all you talented guys!

    Hello GSoC 2013! Hello Planet of GNOME!

    [0] https://planet.gnome.org/
    [1] http://www.pku.edu.cn/
    [2] https://live.gnome.org/gtg
    [3] http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/huxuan/38002
    [4] https://live.gnome.org/SummerOfCode2013/Projects/XuanHu_PortingGTG
    [5] http://stackoverflow.com/questions/13882076/how-to-have-drag-and-drop-and-sorted-gtktreeview-in-gtk3
    [6] https://github.com/liblarch/liblarch/pull/7
    [7] https://github.com/liblarch/liblarch/pull/8
    [8] https://bugzilla.gnome.org/show_bug.cgi?id=698711
    [9] https://bugzilla.gnome.org/show_bug.cgi?id=702421