One of the great things about Python is the way you can easily juggle items around in collections -- lists, dictionaries, sets -- and the shortcuts you get when you combine them. For example, to get a unique collection of elements in a list: list(set(my_list)) will do it. Similar things happen in Smalltalk but these … Continue reading Smalltalk collections for Python coders
Category: Computing
Setting up QuantLib in Linux
[ This is an article that I started writing a few years back, when I was experimenting with Puppy Linux, then put on hold. Much of it is still useful, so the post merits to go public. ] Having written a walk-through on how to set up a Linux system ready for compiling software (see here), … Continue reading Setting up QuantLib in Linux
A walkthrough guide to building yourself a Linux system for coding
In any technical role it is important to strike the balance between getting-things-done-quickly and knowing-all-the-details, and this is especially true when it comes to building computer systems. You can find lots of different Linux distributions to download, and most have a relatively easy system for adding components or software via some kind of package manager. … Continue reading A walkthrough guide to building yourself a Linux system for coding
Writing Latex articles with Vim
Vim is a text editor, part of the standard suite on a UNIX system. This is a short post which is a store of some Vim keystrokes that I am progressively discovering, and which are worth sharing for anyone interested. The main point is that with Vim you learn a new method of moving around … Continue reading Writing Latex articles with Vim
Some links on Lisp
Curious about the programming language Lisp? Follow these few links to some thought-stimulating commentary and sites. lisperati: a fun introduction to Lisp. Lisp as super-powered XML: I thought this article was a pretty good go at describing what is great about Lisp. Paul Graham: generally interesting chap who made a lot of money with a … Continue reading Some links on Lisp
The power of notation in problem solving
It's trivial when you think about it: good mathematical notation is one way of making a problem easier to solve. In my introduction to advanced probability theory I put emphasis on how probability theory has developed a clever and natural way to describe the processes we deal with. If you think about it some more, … Continue reading The power of notation in problem solving
LISP = Super-powered XML
I am fascinated by the programming language LISP, since it seems to me that it offers a better union of the concept of instructions and data. Experience shows us that the shape of data often expresses an obvious algorithm for processing it, but most languages don't try to take advantage of that. LISP does. This … Continue reading LISP = Super-powered XML