Wednesday, June 25, 2008

Hopefully back on track

It's been a while since my last post, but some progress has been made. At the moment, I am still working on the python code for receiving a web cam. I have a WebcamSession class which is still very rough, but at least it seems like its the correct way to go (perhaps not the best name for the class, but I'll worry about that later). Rough hacking has the project at the first stages of the correct signaling being passed between the two clients, but at the moment I am trying to refine how I do this as it was a just a temporary measure to get some momentum going.

At least I have finally gotten some code written, that actually does something and allows me to start working on the problem at hand, rather than trying to understand previous code - although I still need to understand how to work with individual messages after the first session invite has been sent.

Last week was a fairly frustrating week, as life kept jumping up and demanding attention. I did get some routine medical checkups out the way which took up more time than they should have due to travel time etc but glad to say I passed all the tests (apparently staring at a computer screen for the majority of my life so far hasn't damaged my eyes :) ).

It was also my birthday which involved spending time with my parents out on the farm (my father is the ceo of a wine estate and we stay on a "retired" farm nearby). I am happy to say that finally after about 4 months of living without a couch I am now the proud owner of two couches :)
Once I get my projector, I hope to have many xbox/movie nights with my friends.

Anyway, now that more of life's admin has been taken care of, I predict that the coding will go more smoothly.

Thursday, June 5, 2008

Some code at last

I was a bit fuzzy on some of the details of my project, but feel that things are at last coming together in my head now. One of my misconceptions was that I was just coding a farsight2 plugin, rather than separating the signaling out into a pymsn component and a farsight 2 part.

This distinction gave me a much needed place to start coding, which I have enjoyed so far - mostly due to the excellent work done by the pymsn team. It does however mean that I need to improve my python - I have never written a program in python before, so I have a fair amount of things to learn. Enforced indention ? A bit different to my C syntax :). That said, I think I will have to be careful, I might get converted to python :)

It was a pleasure to read the API and get a simple program running. At the moment I have a client that logs into MSN and sets it's presence to "online" which means my other account can see this testing account.

Onward to the subclassing!