Tag Archives: code

Factoring the Luhn algorithm

I work a lot in the field of e-commerce, and have written at least two shopping carts. Anyone who has implemented any kind of payment processing probably knows about the Luhn algorithm, which is a simple test that one can … Continue reading

Posted in blag, code, factor | Tagged , , , | 3 Comments

This is your weblog on Dexy!

Well, this last weekend, instead of writing code or blog posts, I fiddled with Dexy. And I’ve come to one simple conclusion: Dexy is freakin’ awesome! Dexy is a documentation writer’s dream tool: it takes words about code, pictures, and … Continue reading

Posted in code, factor | Tagged , , , , , , , | Leave a comment

Sorting in Factor

So, mrjbq7′s post with words to find the maximum and minimum of a sequence of tuples got me thinking, and playing, and reading the Factor docs: all good things! I started with his test data: TUPLE: person name age ; … Continue reading

Posted in blag, code, factor | Tagged , , | 2 Comments

QR codes in Factor

Wow, so Factor is one of the most amazing programming languages that I’ve ever used. And I’ve used a bucketful of them in my checkered past, that’s for sure. But there’s something about using this odd little stack-based “concatenative” language … Continue reading

Posted in blag, code, factor | Tagged , , , , | 2 Comments

Problems installing (easy_install) Python Imaging Library

OK, this site was handy: Problems installing (easy_install) Python Imaging Library However, it didn’t work with Django in my virtualenv setup, so I did this instead: ENV/bin/activate Install pip: easy_install pip Use pip to install the latest stable PIL (1.1.6 … Continue reading

Posted in code | Tagged , , , , , | Leave a comment