webchick's picture

Welcome to Planet SoC 2008!

Hi, everyone! Welcome to Planet SoC, the unofficial official community site for Google Summer of Code students and mentors since 2005. You can get started in a few simple steps:

  1. First, register for an account. Accounts will be approved within 24-48 hours.
  2. While you're waiting, feel free to introduce yourself on the forums, or check out some recent posts.
  3. Once your account is approved, you'll be able to post your blog feed and have it aggregated here.

If you have any questions or suggestions, feel free to leave some feedback and one of the admins will respond shortly.

Getting Familiar with BIRT ODA

To really get familiar with an Eclipse ODA, I decided to go through the three part “ODA Extensions and BIRT” series by Scott Rosenbaum and Jason Weathersby. It is not publicly linked but can be accessed here by doing some registration. The tutorial is spread across three parts in volume 8, 9, and 14 of the Eclipse magazine.

The end result of the ODA is the ability to use Google Spreadsheets as a data source. This is particularly appropriate for me because I am wrapping up a big networking project where we have been storing the simulation results in a Google Spreadsheet. The project involves the effects of node density on packet delivery ratio for three different wireless routing protocols.

Organization: OpenMRS Original: Source

Vim tips for SWIG

I’ve ever annoyed with the mixed tab and spaces in SWIG’s code. Just talked it with William Fulton in #swig-gsoc. He suggested some tips.

This is a way to specific coding style by project:


au BufRead /[SWIG|swig]/* set tabstop=8 | set shiftwidth=2 | set softtabstop=2 | set expandtab " SWIG

And a Syntax file for SWIG, add this in ~/.vimrc or ~/.vim/filetype.vim to use it:


" SWIG filetype file
if exists("didloadfiletypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.swg setfiletype swig
au! BufRead,BufNewFile *.i setfiletype swig
augroup END

Finally, a big thanks to William! :)

Organization: SWIG Original: Source

Yeah, sigfaults disappered!

Finally I have solved most of the segmentation faults in yesterday’s midnight. Just two lines of code!

Now I understood that PyObject_New() only allocate memory, but haven’t do the works like creating the object’s __dict__ and etc. We should use PyBaseObject_Type.tp_new() to create a “full” object. Or maybe PyType_GenericNew() also works?

Another mistake I’ve made is using obj->tp_dict() directly to access the object’s dict. *Must* use _PyObject_GetDictPtr() instead! Otherwise, we only get the dict of the object’s type!

Well done, now more than 90% test cases passed! Cheers!

Organization: SWIG Original: Source

Slave of technology

This week started slowly as I had some troubles with my Internet provider. It made me realize how much I depend on the Internet. It’s my primary mean of communication as well as one of my primary source of information. I spent nearly 3 days offline and it was hard, I guess it make me a slave of technology. So I took this time offline to think about my project as well as playing around with my OSD. I recorded some shows and played around with the device. I set up my development virtual machine and took some time to look at the OSD source code. I also set a samba share in order to play media from my computers with my OSD. This is a bliss, seriously I was looking for such a solution for a long time.

more on compiling issues

Well I went at it for another few hours yesterday attempting to get a compile going. I’ve yet to bring my issues up to any of the folks on IRC, but I will still talk about what is going on here. As I said yesterday I trudged through my problems with compiling/configuring libtprl. As for compiling tpserver-cpp I have run into many more issues. More on those after the jump.

Now my compilation of tpserver-cpp on Mac OS X has been nothing but problematic. I’ve thus far encountered the following.
The first warning I get happens during autogen.sh, but things finish as per normal:

automake…
tpserver/Makefile.am:5: GNUTLS does not appear in AM_CONDITIONAL
tpserver/Makefile.am:14: AVAHI does not appear in AM_CONDITIONAL
autoconf…
removing config.cache…

Hello Planet Gnome!

Firstly, hello to all that are reading on Planet Gnome as this will be my first post that has been syndicated there. And by way of introduction, I’m a 23 year old student in my final year at York University studying Computer Science and Maths. I’m working on bug 48004 to implement individual workspace wallpapers. (For those that are interested you can find my previous posts at http://gsocblog.jsharpe.net/.)

Organization: GNOME Original: Source

mac config woes

Well I’m starting to wind down from the “have to touch everything I see” phase of playing with my new macbook and have actually moved on to compiling libtprl and tpserver-cpp to run natively in OSX (and not a VM.) I encountered what I would call Bug #0: Nothing works until you try it again the next day. I was having a lot of difficulty getting just libtprl to compile and kept coming back with an error about readline. I eventually got fed up and upon trying again today I stumbled past that hurdle. The only difference was in following mithro’s mac instructions here to the T. Most likely the Mac version of the packages I was hung up on were causing the problem, and specifying to use the Fink versions cleared things up.

День Победы 63 года назад....

Что печатали в газетах в мае перед днем победы.

За десять лет ни одной катастрофы, ни одной крупной аварии, ни одного запоздания — вот счастливое следствие бодрой подтянутости и трудовой сосредоточенности подземной Армии метрополитена, перевезшей за десять лет на 4 655 тысячах поездов 2 600 миллионов пассажиров.Москвичи широко распахнули окна. Многие смотрели с верхних этажей на освещенные улицы. Многие выходили из своих домов, чтобы со стороны посмотреть на свои освещенные квартиры.Всего не передать….

Organization: Ruby Central Original: Source

mac config woes

Well I’m starting to wind down from the “have to touch everything I see” phase of playing with my new macbook and have actually moved on to compiling libtprl and tpserver-cpp to run natively in OSX (and not a VM.) I encountered what I would call Bug #0: Nothing works until you try it again the next day. I was having a lot of difficulty getting just libtprl to compile and kept coming back with an error about readline. I eventually got fed up and upon trying again today I stumbled past that hurdle. The only difference was in following mithro’s mac instructions here to the T. Most likely the Mac version of the packages I was hung up on were causing the problem, and specifying to use the Fink versions cleared things up.

Syndicate content