mikegrouchy.com

Category: code

Lambda functions in Python – A Quick Introduction.

While I am a bit of a programming language pragmatist and generally choose what I feel is the best language for the job, the language I use for work and most of my personal projects, big and small is Python. Python is a solid programming language with a lot of great features but one of [...]

Old Python code – Mp3 utilities

As I have been saying, I have been looking around to dig up code I have written and I actually found some mp3 utility code I had written, it is certainly not finished or even code I would probably write right now(or even particularly good) but its code I wrote a couple of years ago [...]

Code WTF: Check Ethernet Address

So I guess I am daring, but not many software developers/programmers would publicly disparage their code like I am about to do. I was looking at some code I wrote about 3.5 years ago when I was first learning python during a summer job in the computer science department at my University and this is [...]

Python and MySQL(db) – Part 1 – the absolute basics

Recently, I have been working on some of the code for MUN’s LabNET, which has a pretty large database component. I figured that along with this work, I would whip up a friendly little tutorial which allows developers to get started using MySQL in conjunction with Python.
First off, I will make the assumption that you [...]

On Lexers, Syntax Highlighting and a good suggestion.

In my last post I mentioned I am working on a code snippet repository for storing and sharing code snippets. In the comments Jason Gedge(a very smart man I might add) mentioned that I should probably store code snippets as XML and then use XSL/XSLT to do the markup for the syntax highlighting. This is [...]

Spanning Tree Poem

So, in Networking class, we are talking about distributed spanning tree algorithms so I looked it up on wikipedia and It has a link to this poem, created by the creator of the algorithm. I thought it was pretty funny, so here it is:

I think that I shall never see
[...]