CMP recently announced that they will cut 200 jobs, and shut down more than one magazine in the process, folding their content into other existing magazines. There has been a lot of buzz in the sysadmin community (which I know largely as a loose collection of people who belong to LOPSA, SAGE, USENIX, or local…
Author: bkjones
Python Magazine Lives
I have a confession to make: For the past 6 weeks, I’ve been leading a secret double life. By day, I’m a mild mannered system/network/database admin in academia. I also write some PHP, Perl, and Python code. By night, however, I’m an author and editor. My latest project is bigger than most. In fact, it’s…
Winner of the first fortnightly No Bueno(tm) Award: Flickr.com
I occasionally make up words. I haven’t ever blogged them. I think the last one I made up was “Frauthentic” – a mix of “fraudulent” and “authenticity”. I use that term to describe things that come out of places like Pottery Barn that are supposed to look aged, vintage, distressed… you know. Like they come…
The Zen of Python
If you are new to Python, or you’re still on the fence, you should probably do this: 1. At a command line, run ‘python’ 2. At the resulting prompt, type ‘import this’ and hit enter.
family.append(daughter)
So, I took some time off starting last Wednesday. My daughter (and first-born child) was born on Thursday, May 24. It’s a completely overwhelming experience. Oh sure, I was like a lot of other guys, thinking I’d pass out at the sight of a baby being born, thinking it would be really cool to have…
Python: “Which of these variables is None?”
So I’m still getting past the neophyte stage with Python. The good news is that every time I need to apply some programming principle to something I’m doing in Python, it’s really very easy. Heck, I practically fell accidentally into OO programming on one of my Python projects, and everything else has been a dream…
Regular Expressions with Python’s “re” Module
If you’re moving over from PHP, Perl, Ruby or something similar, don’t be intimidated by all the Python regular expression documentation. It doesn’t really have to be complicated or even all that much different from Perl (though it can be, if you want to go there). Here’s a search and replace I ripped out of…
Using TRUNCATE to empty a PostgreSQL database
This is not something that’s any big hack or secret, but emptying a database of all data without dropping the structure along with it is one of those tasks that I do just often enough in my development work to be annoying. If you ask me, there should just be a big ol’ “EMPTY” statement…
Can Technology Kill the NAR?
The NAR is the National Association of Realtors. They’re the main lobbying interest for pavement-pounding brick-and-mortar real estate agents. Of course, this is problematic for web-based real estate outfits like Redfin, because the NAR has the required influence to get legislation passed that can make life as a web-based real estate sales organization difficult, if…
Freebase: Your database is ready!
This is going to be really frickin’ cool. There’s just no other way to put it. Maybe I’m a little too much of a data geek, because I can’t seem to sit still since receiving my email letting me know that Freebase is now in alpha, and the account I requested months ago can now…