Feed items

Notes on Using Python for CGI Scripts under Apache

I've been using PHP for so long that I haven't had much call to delve into the CGI-BIN directory in quite a while. Once I determined that my host has Python installed, I decided to see if I can run Python scripts from the CGI-BIN directory. It can be done, but right off the bat I ran into a problem whose cause wasn't immediately apparent.

I had a simple hello world script in the cgi-bin directory:
hello.py
#!/usr/bin/python
print "Content-Type: text/html\n\n"
print "Hello, world!"

Spring Fever

It's that time of year again. I was moving forward by leaps and bounds on SnapSnap, and then I came down with a nasty cold/flu for the better part of a week. Too fuzzy headed to trust myself not to write sloppy code on the project, I instead returned to my JavaBook and split my time between reading, typing in code samples and excercises, and blowing my nose.

Next Time I'll Leave It on the Sidewalk

I went into town to check the mail yesterday, and because the dog is a much more social animal than I'll ever be I took him along. He likes to walk around in the center in hopes that somebody will stop and make a big fuss over him.

I Might as Well Root for the Kings

Last year, before the chain of events that made it possible for us to get back to New England, I had finally resigned myself to living in Los Angeles indefinitely. It was for that reason that I found myself watching hockey again, rooting for the Los Angeles Kings, partly because they were the only team whose games were regularly broadcast on our cable, and partly because it seemed like a way to make peace with my surroundings... although I never got the impression that L.A. is much of a hockey town.

Thoughts on Becoming a Real Programmer

As anyone looking for a PHP programming job in the current economy knows, those jobs are few and far between. That's a problem if that happens to be the only language you know.

Lousy Smarch Weather

My friend Ryan has asked me several times since last summer when I'm going to start keeping a weblog again, and each time my response has been "Weeell, I'll probably wait until I have a job; I wouldn't want prospective employers to take exception with any particularly opinionated things I might write."

Mox in the Tub

Trooper

Dana Common

Dana, Massachusetts

Although Dana Center was not among the settlements flooded during the creation of the Quabbin reservoir, it was close enough to the watershed that it too was disincorporated. All of the buildings and houses were either dismantled or burned, but the town common remains, surrounded by cellar holes. It's a sad place, especially late in the afternoon as the sun sets.

Dark Hollow

Dana, Massachusetts

A road branches off from Dana common and dips through a dark stand of trees before emerging in a large pasture on the other side. You can see the crumbling pavement on the other side of the hollow.

Syndicate content

Twitter

  • Just voted. (You are voting, Massachusetts people, aren't you?) #fb 4 years 26 weeks ago
  • New Masonic cards for sale! http://www.etsy.com/shop/GripAndWord 4 years 26 weeks ago
  • Cool! briarpress.org is using #Drupal. 4 years 26 weeks ago
  • :::cringe::: It's "Hand gesture", not "Hand jester." IF ENGLISH IS YOUR FIRST LANGUAGE, LEARN HOW TO SPEAK IT! #fb 4 years 26 weeks ago
  • Chopsticks make an ideal implement for removing waffles from the waffle iron. #fb 4 years 26 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key