Skip to main content

WEB 110 assignment #1


This post is assignment #1 for WEB110. My name is John Pfuntner and a subject that I'm passionate about is my cats. I adopted them from the Wake County SPCA (where I also volunteer a lot) in December 2004 when they were both about a year old. The photo is my favorite one of them: I use it for my computer desktop backgrounds, a button I wear when I'm at the SPCA.... it's even on my credit card!!

Katie is an orange tabby (did you know most orange cats are male?!) who loves strangers and jumping up, especially places where she's forbidden such as virtually anywhere in the kitchen except the floor. One of her favorite things to eat is baby food: stuff like beef, chicken, ham.... it looks disgusting to me but she digs it!

Sofi is a grey and white tuxdeo who hates strangers and loves to bat things around the house. She used to sit in front of the refrigerator anytime I was dispensing ice because I would usually drop a cube or two and she liked to play hockey with them.

My name tag at the SPCA says I am "owned and operated" by my girls and that pretty much sums it up!

Comments

Popular posts from this blog

Dynamic Python script loading

I have a bunch of toys and tools in a Git repository - I affectionately call this my toys repo . Most are just scripts that I use from a Unix (Cygwin or Git bash on Windoze) command line but there are some Python classes that I sometimes use in another script. Today at work, I was coming up with a new Python script that made use of a couple of my public classes. The script is good enough to share with my colleagues but I'm faced with the problem of my public classes: I imagine that most of my colleagues haven't even heard of my public classes and I don't expect them to download the entire repo just to get a couple of classes If I'm going to distribute the classes as separate files I introduce new problems: It could be confusing to have the files tag along. What is the user supposed to do with them? The answer is nothing - they should leave them alone and make sure they are in the same directory as the main script in case they decide to move th...

New Years Eve 2009

So this is my first blog entry!! It's New Years Eve and I've got a horrible cold so I'm staying in a lot. I had planned to see Avatar at the IMAX theater in Raleigh this afternoon but don't want to risk people exposing people to what I have. Also, I would probably annoy people with lots of nose blowing. I ordered tickets online and, using Craigslist , I arranged to sell them to someone else who can use them since the prime show times have been selling out. So... I have to wait to see Avatar. I still have foster cats Jack and Purrvis from the SPCA ... Jack gets supervised visits but I've had to defuse lots of situations: a couple of fights with Katie in the past week plus Sofi let out this noise I'd never heard before.... I didn't think she had it in her. So usually I just ferry Jack back into the bedroom and let them cool off. I just had to break up a prolonged fight so I may not let Jack out much until I take them back to the SPCA on Saturday. I went i...

Python ArgParse

Maybe it's my use of the getopt() function in C/C++ but in my Python scripts, I've always just made do with the native getopt package and it's served me well. Over time, people have encouraged me to look at using ArgParse but I've always been kind of resistant because it was a little mysterious to me. I finally sat down and figured out how to do basic things I do a lot in scripts using getopt and worked up a simple script using ArgParse to do the same thing. There are definitely some advantages to ArgParse ! Here's the gist with this sample: I've made a few updates to the gist as I discover new features of which I want to take advantage: Mutually-exclusive options Script description etc. I will admit that since I've created this gist, I've been using ArgParse for new scripts. I can't whip out a script using ArgParse from memory yet (which I can do when I use getopt !) but it's becoming easier. I haven't gone back and...