techrobatics.com

Sysadmin Ex Machina

Browsing Posts in Programming

In this example, I try something a bit more complicated. This was originally done in Ruby, as an exercise for an interview, but I’ve decided to make it a bake-off post to follow up from last month. What follows is mostly a linguistic analysis. In the coming months, I’ll start doing performance and reliability comparisons [...]

I’m experimenting with comparative differences in Python and Ruby. Here is an example from each language, designed to do exactly the same thing: go and get a copy of “A Comedy of Errors” from Gutenberg, and dump it to the console. Not too useful, but interesting from the perspective of seeing how the two languages [...]

Did this one just for the fun of it. Please feel free to use it as you see fit. #!/usr/bin/env python import urllib2 import random import string class RandomItems(object): “”"This is the root class for the randomizer subclasses. These are used to generate arbitrary content for each of the fields in a csv file data [...]

I’ve created a git repository to house a new project I’ve started, to build a common set of functional utilities for FogBugz. You can find all the links on my projects page.

The following is a collection of little “translation” functions I wrote in python, so that I could wax nostalgic about my days as a Rexx automation programmer, while coding in Python. It’s by no means a COMPLETE list, and the list is by no means complete, either. But I thought I’d post it here for [...]