Bulix.org » Life snippets

lundi 21 avril 2008

Google Summer of Code 2008

pics/2007-09-22-google-balls.pngAfter a first participation in 2005, I'm back to the world of summer programming! Although I'm starting to be a bit desperate about finding my 6 months internship (about embedded systems/mobile computing starting in September, for that matters), I have just been accepted as a student in the Google Summer of Code 2008 program.

I will once more, and for the last time (I wont be a student anymore next year), be a GSoC student for the Apache Software Foundation. I will work this time on another exciting module: mod_wombat. Get ready to see more (and easier) Lua integration with Apache!

More details later. Stay tuned for updates!

edit: geez, almost forgot the mandatory Google color balls ;p

# · Un commentaire
lundi 24 mars 2008

Back to the ASF world?

pics/2008-03-24-wombat.jpgI ran across an interesting Google Summer of Code project proposal today, while I was browsing through the Apache Software Foundation.

I have been recently looking for a way to use Lua as a web development language, and I never found anything that really stroke me as neat and easy enough to use than the language itself ... until I read about mod_wombat a few days ago. And then I found that a new project proposal for the Summer of Code has been made, on mod_wombat. That's two much coincidences for me to let it slip off my hands!

So I decided to give it a look this afternoon. And damn, it looks promising! So much actually that I want to see more of it, and will most likely apply for it at the GSoC next week.

As I tried to install it this afternoon, I made a couple of interesting discoveries. First, not running buildconf after a dozen of months since the last build of HTTPD and the APR does lead to a very random compilation behavior. Second, it's always good to keep build instructions and working configure lines, because it can sometimes be a bit hard to remember that tricky not-so-well-documented option that makes the thing actually work. And finally, doing all this while learning Dvorak was an awful lot of frustration ... but this will be the subject of another post.

Anyway, I'm now ready to start hacking some Lua again, and it feels great!

# · 2 commentaires
vendredi 06 janvier 2006

SoC Tshirt

Ian received it three weeks ago. Now, it's my turn : a sweet Summer of Code 2005 Tshirt, along with a Certificate of Achievement. Google's SoC 2005 is now over. I truly hope we'll be able to do this again in a couple of months !


pics/soc-2005/tshirt-certif.mini.jpg
Thanks Google, once more.

# · Aucun commentaire

Autobrainfucking

It's been long since I wanted to make the mod_mbox source code a little bit more organized and split and in a coherent manner (ie. creating some kind of mbox library that handles .mbox files and mails analyzing and treatment).Before, the build process was quite simple : we put almost everything together in a big library -the module-. All files were messed up in a single module-2.0 directory (even if the module works perfectly with any 2.x version of Apache HTTPD).

Rethinking mod_mbox's structure or splitting the code were not the hard parts. A couple of svn mkdir and svn mv and it was almost a job done. But it was forgetting about our so beloved autotools !

I've spent a couple of hours trying to understand how the whole thing works, and another night setting up the new build process. It's kinda frightening to see that making autotools build a single library, a binary and a DSO linked with this library is a long and difficult work for someone who does not want or need a profound M4 knowledge.

Anyway, the surgery branch created a couple of days ago is now close to be merged back, giving mod_mbox a even more comprehensive design.

# · Un commentaire
mercredi 21 décembre 2005

A Release Candidate

After getting some trouble understanding the Release Guidelines of the HTTPd project, I was finally able to deliver the first Release Candidate for mod_mbox.

As told in my mail on the HTTPd developers list, tarballs are available at http://httpd.apache.org/dev/dist/mod_mbox/.

Depending on the vote results, we may make another RC, or go directly to the Alpha, Beta or General Availability level of this version.

# · Aucun commentaire
mardi 20 décembre 2005

Christmas presents travel through time

Although Christmas day is still 4 days ahead, it seems that christmas presents have the ability to travel through time. Indeed, only a few minutes after Ian Holsman's post about the Google's Summer Of Code tshirt and his very, very nice comment about my work on mod_mbox, I was invited to become an Apache HTTPd Project Management Committee member.

I must say that I'm very pleased and honored by this invitation. The list of person I have to thank about this is kinda long, from David Anderson (for more personal reasons) to Ian (my mentor during the SoC) and of course the entire HTTPd community and PMC. So it's a big thank you to you all : I'm very proud of this new status in the ASF ! It's giving me strength and motivation for the upcoming mod_mbox release, and maybe some work on mpm-perchild, who knows ?

As you may have noticed (depending on how you got to read this post), this category of my blog is now aggregated in Planet Apache (the other ones are mostly in French).

# · 3 commentaires
jeudi 13 octobre 2005

Cash and burn

Just received the remaining $350 from Google. The rest (about $1350) of the money is currently hold by the US IRS ... it's gonna be a pain to get this money back. Damn taxes.

Anyway, my code went into production on mail-archives.apache.org a couple of days ago. I must say I'm very proud of it, although we're suffering some segfaults. I think I've said it enough : we all know why ...

Thanks a lot to Paul, who's now in charge of m-a.a.org on Ajax (the box) for setting up the thing, and fixing some awful errors I made.

# · 3 commentaires
samedi 01 octobre 2005

Code merge

I was finally able to merge my changes to the httpd-mbox-if development branch to mod_mbox trunk. I ask many times for review and/or comments, but I did not get real feedback. I just hope my code works well enough.

A new version of mod_mbox, the 0.2, might be released soon. I'm also really looking forward to seeing m-a.a.org/mod_mbox switch to this new code.

# · Un commentaire
lundi 26 septembre 2005

Yehey !

There's some things in life that make you feel really better ...

# · Lire toute l'histoire · 6 commentaires
vendredi 02 septembre 2005

All good things have an end ...

Ok. I've been watching this empty textarea for the last ten minutes, and I must admit that I really don't know how I can express what I feel about this. The first Google's Summer Of Code is over, and I was in. Three months ago, I was desperate because I didn't find a job for the summer, and suddenly, the SoC shows up. Interesting projects, interesting prize, the whole thing set up by one of the most important entity in today's Internet and IT world. But this was nothing compared to the moment I received the acceptance email. And now, I just look back to the last two months, and it's like : "Wow, I did it".

# · Lire toute l'histoire · Un commentaire
mardi 30 août 2005

So close!

Oh my, this is getting more and more exciting ! The deadline is so close ! It reminds me when we were all waiting on #google-summer for the mail that would change our life (well, at least our summer !). Anyway, the next release of mod_mbox is imminent, and I intend to spend the remaining time in writing some docs and tutorials, and as I'm willing to learn how to build a Debian package, I'll try to make the first libapache2-mod-mbox Debian package :)

Today, thanks to the reports I got on my blog and on the mailing lists, I've been able to fix a couple of bugs and to add some useful features. I've also spent a large amount of my afternoon trying to fix some browser compatibility problems, especially with Safari (thanks Justin and Paul for your help). Unfortunately, we did not manage to fix it :/ We finally decided to set up a browser detection (sic) : only Gecko-based browsers can access the AJAX browsing interface.

And as the sun barely rises, I get back to work !

# · Aucun commentaire
lundi 29 août 2005

J-2 (or is it J-3 ? damn timezones ...)

It's been long since I last blog on my work on mod_mbox. I was off the Internet for some vacations, but I got back to work as soon as I was back home. The break was pretty cool, and I was a lot more motivated to work than I though I would be. The result is a very productive week, and I'm now back in schedule ! Let's see what's new.

# · Lire toute l'histoire · 5 commentaires
mercredi 10 août 2005

Mid-august project status

I haven't worked a lot on mod_mbox since my last post about my first code commit into the ASF's Subversion repository. Since then, Justin (the original module author) made some little updates of the trunk/ and updated the ASF's mail archives (running mod_mbox) to trunk/. I'm still waiting for reviews of my code before continuing the development.

Anyway, as I'll be off the Internet for a couple of days, here's the roadmap :

· AJAX browsing interface (settle on design and features) ;
· Charset conversions to UTF-8 (see APR-XLate iconv functions) ;
· MIME part viewing / downloading ;
· Write documentation (developpers, admins, users) ;
· Wrap long lines in mails (to ~90 chars) ;
· Merge Justin changes into the httpd-mbox-if branch.

# · Aucun commentaire
samedi 06 août 2005

My first commit !

A few days ago, I finally became an official Apache Software Foundation committer, with read/write access to the whole mod_mbox Subversion tree. I made about one month that I was writing code for mod_mbox, without any code review, only visual review on the result.

Yesterday, after implementing the boxes list bar in the message list page and a workaround for the apr_date_parse_rfc() problem (A bug squashing story), I found the code ready for a first commit.

I read two or three times the result of svn diff | less in order to make sure no coding style error was left behind, and started to write the commit message.

-branches/httpd-mbox-if sam@skikda% svn commit -F ../first-commit.tmp
[...]
Committed revision 230522.

A weird feeling. Finally, I add a little stone to one of the most important projects of the FOSS world : the Apache HTTPd. It's like sending a message through space : you now it went out, but you don't now if someone will care of it, or even if you sent it correctly.

My commit is kinda big. A long commit message almost 4500 lines of unified diff. For now, I switch to standby mode, waiting for reviews, comments, optimization ideas, etc.

I'm taking a break : for the days to come, I'll be writing an article on how to setup a Subversion + Trac semi-automated hosting platform, using Apache2. Not really a break, after all :)

· My commit mail
· The ViewCVS commit log

# · Un commentaire
jeudi 04 août 2005

A bug squashing story

In order to get the C coding done into mod_mbox, I decided to fix the few remaining issues, starting with the lack of Prev/Next/Prev by thread/Next by thread links while reading a mail.

But as I backported this feature into the new module's code, I noticed a very strange behavior with the date sort ...

# · Lire toute l'histoire · Aucun commentaire

1 · 2