Archive for October, 2005

Becoming all ‘New Media’

Friday, October 21st, 2005

Well I’ve jumped on the bandwaggon and downloaded the flock web-browser. First impressions:

  • Blog editing - cool but I want a way to enter HTML dammit.

    The bullet-list support appears broken :).

    The favourites system is actually quite nice. Sorta like the GMail appreach to email folders. Having multiple, switchable, categorised bookmark bars is cool too :).

Whoops

Thursday, October 20th, 2005

Nice evening in the pub although I should really try to convince my brain there are people whom it is fine to freely associate[1] with and those it isn’t :). Particular appologies to to whom I said something more because it occurred to me than because I thought it to be true.

[1] As in let my, particularly associative, memory fly around with.

Argh — Schoolboy error!

Thursday, October 20th, 2005

I’m an idiot. I spent the first half of today trying to track down a bug which (due to its nature) ended up manifesting itself in a totally non-deterministic place. The C++ code in question looked like this:

// ... inside a method, m_pMutex and
//     m_refCount are member variables ...
if(m_pMutex->Lock()) {
  m_refCount--;
  if(0 == m_refCount) {
    delete this;
  }
  m_pMutex->UnLock();
}

Looks fine? No, of course if m_refCount is 1 on entry I end up deleting the object then trying to access a member variable.

A schoolboy error that I should’ve found in five minutes.

MLP

Tuesday, October 18th, 2005

Blatently stolen from :
Kiss my cherry red ass!
How long before this hits b3ta? :)

Satisfaction

Friday, October 14th, 2005

Well after yerterday’s pain I got down and started writing some real code today. It is so pleasing to be given the chance to rewrite much of one’s PhD code from scratch since I can already see how this will be perhaps twice as fast :).

Arghh

Thursday, October 13th, 2005

Not many entries for a while…

This is mainly due to having started a new job with a startup here in Cambridge. Currently I am swearing at PDCs, Samba and mixed MS operating system networks. Anyone who has done similar will sympathise I’m sure :).