Category: Python

Tips for maintaining Python code

I like making cookies. It’s kind of fun, but it takes a while, mostly because I’m very slow at weighing. I also insist on chopping up at the chocolate chips myself, which takes me ages: I still haven’t got the knack of chopping quickly. There are of course pre-made chocolate chips available, but the quality…

Build or buy for quant tools

It’s always tempting to do everything yourself. After all, it’s easy to think I know best. I once tried to make macarons. Once my uneven mess of macarons emerged from the oven, I had a much better understanding of what motivated people to buy macarons from Pierre Hermes. Subsequent attempts at baking them proved more…

A few ideas from natural language processing

We’re all smarter than computers! One area where we have a particular advantage is understanding human language. For computers, human language is, perhaps (excuse the pun) somewhat inhumane. After all, computers like numbers. Humans (well, some of us) also like numbers, but to communicate, unsurprisingly, we stick to using human language. It’s sheer ambiguity is…

Storing time series data

As regular readers of my posts may have realised, I kind of like burgers. It’s a simple meal, but somehow very satisfying. There’s obviously vast differences between the burgers on sale, in terms of quality. It isn’t necessarily the case that the most expensive burger will be best. In practice, excessively expensive burgers, end up…