Recent blog entries for tmorgan

forrest is exactly right. I think the one addition you have to make is make key-signing be more than a binary concept, as in "I trust this person". It needs to be more of a way of verifying attributes. E.g. there should be a way of saying:
  • "I trust that this email address belongs to this real-life person"
  • "I trust the owner of this email address not to send me spam"
  • other attributes as need arises?
I'm not very familiar with GnuPG - is this a feasible idea?
mikehearn, the boost python library has pretty seamless C++ to Python exception translation that by default handles some of the standard C++ exception types, and allows you to provide custom exception translation functions.
An example is given here.

Do you think that it's better for exceptions to be defined by the OS or the runtime environment, given that not all languages support exceptions, and the definition of an exception and exception handling semantics vary between languages?
Functors in Haskell and C++

C++ is my language of choice for almost every project I do, not least for it's wide range of support language paradigms - OO, functional, generic etc. But I'd be the last person to say that it's a pretty language. Example: creating an object that will add 2 to a number:-


std::binder1st<std::plus<int> > binder= std::bind1st(std::plus<int>(),2);

Now compare this with Haskell


I haven't got very far with Haskell yet, I'm just trying to learn it to stretch my brain a bit, but this does highlight the hoops one has to jump to to make C++ behave like a functional language. That said, the boost people are making this easier with the boost::bind library, which I use a fair bit, and maybe the lambda library, though I haven't tried that yet.

I guess it's a testimony to the power of C++ that it can handle so many diverse paradigms, even if it isn't always pretty. And it can be taken far beyond what the original creators intended - witness what's been done with template meta-programming.

It also seem that the C++ compile-time language (i.e. template meta-programming) is a purely functional language, (see here, so we have this weird hybrid of a language that is OO and procedural at runtime, but functional at compile time. No wonder it takes so long to become truly skilled at using it.

slamb, , I'm also very glad I stumbled across scons. It's made maintaing cross platform library software vastly simpler than the ugly makefiles I was writing. It definitely should be publicised more, it's a very nice piece of work.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!