MongoDB and Schema Validation

One part of the MongoDB value proposition is being freed from the constraints of a database schema.
There's a "baby and bathwater" issue here. While a schema can become a low-value constraint, we have to be careful about throwing out the baby when we throw out the bathwater. A schema …
more ...


Hard Copy Books

I've now got my actual souvenir hard-copies of my two Packt books https://www.packtpub.com/application-development/mastering-object-oriented-python https://www.packtpub.com/hardware-and-creative/python-secret-agents So far, so good. I've got one more title in the works. After that, I think I'll have to take a small break and do some …

more ...



Using Bottle as a miniature demo server

Let's talk small. When writing API's, it sometimes helps to have a small demo web site to show the API in a context that's easy to visualize. API's are sometimes abstract, and without an application to provide some context, it can be unclear why the path looks like that or …

more ...

Scipy.optimization.anneal Problems

Well, not really "problems" per se. More of a strange kind of whining than a solvable problem.
Here's the bottom line. Two real quotes. Unedited.
Me: "> There's a way to avoid the religious nature of the argument. "
Them: "Please suggest away."
Really. Confronted with choices between anneal and basin hopping …
more ...

Not sure what went wrong, but...


PyCrypto Experience

Let me start with a wow. PyCrypto is very nice. Let me emphasize the add-ons that go with PyCrypto. These are as valuable as the package itself. Here's the story. I was working with a Java-based AES encrypter that used the "PBKDF2WithHmacSHA1" key generator algorithm. This was part of a …

more ...