pymsn logo

March 24, 2007 Ali Sabil 10 comments

I was talking to Johann, and we realised that having a logo for pymsn would be cool. So I ran my dear Inkscape and started drawing the first stupid idea that came to my head, there result is this :

pymsn logo

 Unfortunately, Johann says that it is ugly… What do you think ?

Categories: Free Software, Graphic, IM

pymsn.gnet Proxy support

March 20, 2007 Ali Sabil 4 comments

Spend the last few days reworking the pymsn underlying network library to make it support proxy tunelling (HTTP CONNECT, socks …).

I chose to implement the proxy classes using a Proxy pattern combined with the Visitor pattern to simplify the addition of new proxy types without affecting the already implemented io classes. I am not sure if it is an elegant design, but at least it works !

Categories: Free Software, IM

pymsn HTTP polling support – episode 2

March 6, 2007 Ali Sabil Leave a comment

Today I managed to complete the pymsn HTTP Polling support, and it is far better than the previous implementation and more reliable than most other free software implementations !

Now we just need to add proxy support to SSL sockets throught the HTTPConnectProxy implementation that Johann is working on. I hope this will be finished by the end of the week so that we can get back to our beloved SOAP and shampoo :D

The other problem is that it seems that the network admins of the campus decided to mess up again with the firewall, and now I can’t push my changes to the pymsn rewrite branch, simply because SSH is blocked for now. I sent a complain mail 3 days ago, but still no answer … I wonder whatare they doing ?

Categories: Free Software, IM

pymsn HTTP polling support

March 3, 2007 Ali Sabil 1 comment

Today, I decided it would be cool to bring that old good HTTP polling support from the stable branch of pymsn to the rewrite branch. I started hacking this, and found it quite easy compared to the old implementation, all this thanks to the new gnet (our own gnet) and its built-in HTTP and HTTPS. I think it will be completed by tonight, yay !

Johann is also working on the HTTPConnect support for gnet, so that all our SSL sockets will be easily tunellable throught an HTTP proxy, pymsn is gonna rock with all this solid proxy support.

I am looking forward to complete the pymsn msnp protocol support so that we can start hacking on the crapy msnp2p and bing those cool (for the 14 years old kids) features that the MSN community enjoy so much (euuurk).

Have a nice day ;)

Categories: Free Software, IM

pymsn AddressBook

February 22, 2007 Ali Sabil 1 comment

 This morning I worked again on the AddressBook, now we have a quite functional addressbook, the next step is to generate the ADL response, this should be a piece of cake given the data structures I used.

Also Johann did somw nice SOAP requests documentation stuff, his work can be found here :  http://telepathy.freedesktop.org/wiki/Pymsn/MSNP

I just hope that the current pymsn design is clean enough, and that building a clean library on top of an ugly protocol is not an utopia ;)

Categories: Free Software, IM

pymsn caching system is back

February 17, 2007 Ali Sabil 1 comment

Tomorrow I have my first mid-sem exam, I am supposed to revise and prepare for this thingie, but … seems like it can’t be helped :( My hacker spirit is back, and I feel more comfortable hacking pymsn than revising for my mid-sems.

Anyway, yesterday I hacked pymsn and brought back the storage system so that the security tokens are requested only once a day, when using the persistant storage system (right now pymsn defaults to the in-memory storage). This will lead to a faster login time, and everyone will be happy, even microsoft because we won’t overload their servers :p

Today I will try to prepare for my mid-sems and maybe write some pymsn code as well, so that we have a fully functional SOAP client stack, and get back to msnp (yes I have been saying the same thing for weeks now … SOAP is so boring).

Categories: Free Software, IM

oSpy Stream HTML converter

February 15, 2007 Ali Sabil 1 comment

Today I managed to produce a finally working version of oSpy Stream HTML converter, which is basically a python script that takes an xml file generated by oSpy Visualizer and produces a (nice looking ?) HTML file out of it.

The script is not complete and still lacks “timelining” but still usable :) You can grab it using bzr :

bzr get http://projects.collabora.co.uk/~asabil/bzr/oSpyStream2HTML/

Then you can try it :
python stream2html.py sample.xml > sample.html

Happy oSpying ^_^

Categories: Tools

Laws insanity !

February 14, 2007 Ali Sabil 3 comments

I am a student of the Computer Science department at INSA Lyon (although I doubt it there is really a computer science department at INSA Lyon…), and I am currently in IIT Bombay as an exhange student (I came here to join a real CSE department). This summer I am supposed to do a 4 to 5 months internship within a company, I managed to find a very interesting internship (thanks to Ole André) in Norway at Tandberg :D The problem is that my university claims that there is a French law (btw I am not a French citizen) that forbids me from doing my internship outside India and France…

The problem is that :

  • I couldn’t find this law anywhere
  • My friends here who are also exchange students and study in France as well are allowed to do an internship anywhere they wish
  • Before leaving France and coming to India I checked that I wouldn’t face any restriction

If anyone has some knowledge about French laws concerning this, please let me know !

Edit:  Fixed, I’ll be going to Norway (if I get the work permit of course) ! In fact, there is no such law, it was just that they don’t know how to handle my case :D (Moroccan, studying in France, exchange student in IITB, willing to go to Norway)

Categories: Personal

Kitties everywhere

February 11, 2007 Ali Sabil 2 comments

Sometimes I just feel like drawing something, so I did yesterday, and here is the result :
Smart Kitty

Categories: Graphic, Personal

pymsn rewrite status

February 10, 2007 Ali Sabil Leave a comment

thanks to Ole André, and his wonderful oSpy, pymsn is getting msnp15 support slowly. The most tedious part was basically working with SOAP, a voodoo technology that microsoft MSN engineer decided to use just to let the world know how cool and smart they are !

The problem was finding a library to deal with our beloved SOAP, we tried SOAPy, it worked quite okay until we found that msn servers got strict about the order of the headers, we then thought about using ZSI, the problem is that it didn’t have a working proxy support, required us to write some code for the networking layer, and wasn’t appealing :D So I decided to grab element-tree and write a very simple, dumb and stupid SOAP client support for GNet (pymsn’s networking library).

Now I am working on the AddressBook SOAP stuff, I hope to finish this today to get back to the core msnp protocol…

Categories: Free Software, IM