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…