Jason’s musings

I just need a little time

Archive for the ‘Summer of code’ Category

Moving and mid-term

leave a comment »

Yep, I moved house successfully, however it caused quite a bit of disrupution during the previous week.

Soc-wise, I’ve still been looking at code, Qt networking is pretty nice. Still have been looking at Justin’s code and thinking more about the design of the whole thing. I want to adapt his service browsing code to be able to use the Apple dns_sd.h as well as the current jdns backend it uses. Also looked a good bit at his Ambrosia jabber server, because that’s what my design (it’s a proxy jabber server) will be working from. Also looked at the Jabber XMPP RFCs a bit.

Oh, got my ‘ proof of enrollment’ to Google too, it seems like it’s impossible to get actual transcripts. Ah, academic bureaucracy.

Yea, KDE devs have it easier: http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/dnssd/html/servicebrowser_8cpp-source.html

As far as I can tell it uses the good ole dns_sd.h and provides functions in that nice Qt way.

Advertisements

Written by jasonmc

June 30, 2006 at 12:43 am

Posted in General, Summer of code

The week of fixing compilation errors mostly

leave a comment »

My last post was complaining about QCA2, (wasn’t qmake’s fault!) that turned out to not be such a big problem after all. The linker (when compiling the tools) was looking for the qca library in the system directory, which of course contained QCA1. I solved it very ungracefully by writing over the system qca lib temporarily with a symlink to the qca2 lib. That worked. Although, now it even works without the need to do that, which i *think* is because of the fact that the lib is in /usr/local now. Although I can’t remember if that was the reason…

I went on to compile the latest dev version of psi from the source repository, which of course had problems… but thankfully it only required a ‘darcs pull’ (cvs update equivalent) the next day to solve the problem. There’s some nice stuff in the latest psi.

Went on then to compile various bits of Justin’s code. Had multiple compile errors but nothing to serious. Irisnet is a proof of concept tool that he wrote that does _presence._tcp service announcement, and ambrosia is a proof of concept jabber server that uses iris. Iris is very powerful

Also learned more about Qt this week, the whole signals and slots paradigm is pretty nifty! I’ve definately learned quite a bit from all the compile errors I’ve been getting too, both general Makefile and Qt specific.

Oh, I got the Google surprise! Hopefully nobody will read this and doesn’t already know!

Google surprise

And this is where I work and will be for only 1 more week…:

Where I work

Written by jasonmc

June 20, 2006 at 12:28 am

A week on and still QCA2 won’t compile

with one comment

The headline says it all. I spent way too long last week trying to get QCA2 to compile, I still haven't found the error but I suspect it's a problem with my qmake (the Makefiles are not correct). I decided not to continue the torture into the weekend so instead did some reading on Bonjour and printed out and read some of C++ GUI Programming with Qt 3. Seems to be a good book.

I just updated the wiki page [link here!] realising that my dealines didn't really make sense. What is crap is that I must move house in 2 weeks and it will be at least a few days before the network engineers active the network in my new place. So no net at home for a few days. 

Written by jasonmc

June 13, 2006 at 12:10 am

SOC Progress

leave a comment »

So, just at the end of a bank holiday. I didn't get as much done as I'd have hoped but I needed to rest from just having finished exams!

Set up my linux box perfectly for development and got the psi sources and compiled it. Then tried playing around with eclipse to build it and after 2 hours I just gave up. Stupid java.

Haven't really looked at the Zeroconf book yet but that's the first thing to do. I've been thinking about which route to take (the two possibilities are mentioned on the Psi wiki) and the proxy one is obviously much better. So, unless something big stops me, I'll do it that way. I'll have to figure out more about the Iris system for building Jabber servers than Justin made. It looks awesome anyhow. 

And I just got a massive blue static shock from cleaning dust off my laptop screen… 

Written by jasonmc

June 6, 2006 at 12:02 am

Summer of code day 2

leave a comment »

And no, I'm not going to continue numbering the days.

So I finally just got my tax form sent to Google, and all it required was running all around campus to use a printer in one lab and then to find a scanner in another. But it's all done with now.

I also went and collected my Zero Configuration Netoworking O'Reilly book. Not that it was entirely necessary to buy it, since we get our O'Reilly Safari accounts on Monday!, but I enjoy time off the computer monitor. I also printed out some stuff on Bonjour yesterday, but that's probably covered in the book anyway.

And that is what this very beautiful day in Trinity College looks like from my bedroom window.

Written by jasonmc

June 3, 2006 at 7:17 pm

Starting summer of code – not good first day

leave a comment »

So I've just been looking around today and I discover this: http://www.porchdogsoft.com/products/howl/ -howl is dead.

So I need to reconsider and talk to my mentor about what to go with at this stage for the mDNS implementation. Avahi is not multiplatform and Bonjour is licensed under the "Apple Public Source LIcense", which I'm skeptical about but need to find out more about it. Hopefully since Avahi is just a compatibility layer anyway, then they both have the same interface and so I can sorta get around the problem. Avahi should eventually get ported to Windows although I think there is an issue of different IPC mechanisms to overcome first.

So, having just completed my exams yesterday, now a week behind all the other SOCers I might have an obstacle. My original deadline for completing the initial mDNS was 18th June. I really hope I can still make that.

Update: The Apple public source license is OSI certified open source, which is cool. 

Written by jasonmc

June 2, 2006 at 4:14 pm

Summer of code

with 3 comments

So I got accepted for Google summer of code!

It'll be nice working with all the Jabber guys; but first I need to finish my exams. Two down already, but four more to go!

Written by jasonmc

May 25, 2006 at 8:07 am