Incessant Expressions

Writing for writing’s sake

Incessant Expressions header image 5

Entries from June 2007

A follow up to snakes and pomegranates

June 23rd, 2007 1 Comment

In my previous post, I was having some issues with a regex substitution in Python:

matchdate = re.compile(r’?P200[0-9]{5}’)
matchdate.sub(’CCYYMMDD’, ‘date’, count = 1)

However, I managed to get this working earlier in this week with a little refactoring (I also recoded the entire function it was enclosed in):

pattdate = re.compile(r’(?P200[0-9]{7})’)
fi = file.read()
newdate = pattdate.sub(thedate, fi)

My problem was that [...]

Tags:

Snakes and pomegranates

June 18th, 2007 2 Comments

This week, I’m nearly 300 pages deep in Mark Lutz’s Learning Python, Second Edition and it’s still an easy to read book surprisingly. I know that technical books that I’ve read can be easy to read, or even entertaining, for the first few chapters but once you get into the real “meat” of the [...]

Tags:

Reading and work

June 13th, 2007 No Comments

So, this week begins my third week working from home and I’ve now gotten accustomed to the boringness and blandness of only leaving the house after 7PM EDT. I have my little routine of working and taking a lot more breaks in order to stretch and go outside to see if it’s daylight or [...]

Tags:

So many new toys…

June 4th, 2007 1 Comment

So my first week of working at home has produced a lot of free time and for me, that means toys! To start off, I bought Custom Robo Arena and Super Princess Peach for the Nintendo DS, Super Paper Mario (totally awesome) and Mario Party 8 for the Nintendo Wii, Forza Motorsport 2 for [...]

Tags:

First week of working at home

June 1st, 2007 No Comments

Well, today will conclude my first week of working at home and frankly, it’s not a lot different than my office. Now I get to listen to music as loud as I please and I just hooked up my Wii to my widescreen monitor last night for another outlet to keep me entertained. [...]

Tags: