MIS Ice Skating at Centenial Lakes

Went ice skating Saturday night.

This one logs me into U of M Wireless

import getpass, socket, urllib

url = 'https://wireless.netaccess.umn.edu/cgi-bin/x5.cgi'

args = {'opt': 'auth'}
args['ip'] = socket.gethostbyname(socket.gethostname())
args['uid'] = 'ande7966'
args['upass'] = getpass.getpass()

response = urllib.urlopen(url, urllib.urlencode(args))
print response.read()
response.close()

Replaces %20 with spaces in file names. Useful for files from WebVista.

import os

for name in os.listdir('.'):
    newname = name.replace('%20', ' ')
    if name != newname:
        os.rename(name, newname)

1103 Cheat Sheet

2nd Floor: Apt 3 - Apt 4

1st Floor: Apt 1 - Apt 2

AirTunes

I want people to easily be able to play their music on the speakers hooked up to Ficker’s KVM switch on the main floor of 1027. The most ideal way to do this would be to hook the speakers up to an Airport Express so anyone in the house who has iTunes can see the speakers in iTunes and play their music on them wirelessly. However, an Airport Express costs about $140. It seems to me that in theory a computer could do the same thing as the Airport Express, if you had the right software. I looked for a while and could not find anything that could do it.

Ficker and I have been using Remote Desktop to access our desktops and control the music, but we don’t want to open that up to anyone in the house to use. That is very insecure. The next best option it seems to me would be to have some program running on one of the desktops that has a web interface that can connect to iTunes shared music and allows anyone in the house to control what is being played through a website. Once again, I looked for a while and could not find anything that could do it.

Maybe I’ll try again in a year or so.

Some Things to Share

Joe was in charge of food for our household last semester. One meal in the rotation that I was assigned to cook was called Ziti. I had never heard of it before, but it was a very good Italian dish. Towards the end of the semester we asked Joe where he got it from. Turns out they had it all the time on the TV show Joe watched a lot over the summer called “The Sopranos”, and Joe wanted to see what it was like. I thought that was awesome.

We had a retreat last weekend, and Wacker was looking through the food to see if we needed anything. He thought we might need some more eggs, but it turned out we had enough. In the end it looked like he just needed to pick up a couple loaves of bread for dinner. We were doing some meditations on the life of Jesus and he thought about skipping the next one to go pick up the bread. He was about to walk out the door when he realized that the meditation was on Jesus feeding the five thousand. He thought to himself, “I better not…” We had plenty of bread for dinner.

We have been getting all of our food in bulk from a place called “Restaurant Depot” near the St Paul campus. We keep a ton of food in storage in the basement of 312.

I feel almost like I’m in LOST, because it seems like all of our food and supplies just magically appear in our fridge. The food does not all come with a wierd brand symbol on it, but a lot of the food comes in white containers.

The Lay of The Land

Here is the new lay of the land:



If something is labeled Men or Women, that means it’s a bedroom.

Here is an excerpt from Colleen’s “Before you cook” document:

Number of People in Sections
Finance: 8 + Harold on some nights
MIS: 8
Action: 11
Missionary: 12

Where’s the Food!?
The refrigerated food is divided up as follows:
Apt 1: Condiments (except sour cream) and cheese
Apt 2: Prepped food (from Saturday chores), eggs and sour cream
Apt 3: lettuce and vegetables

Photos from Last Week’s Move

On Flickr

Flickr Uploader in Python

After buying a Flickr Pro account at the beginning of the summer and uploading all of my photos, I wanted an automatic way of uploading my photos from my camera. I already had a Python script that renamed all of my photos to the date and time they were taken, so all I had to do was get a module that would upload them to Flickr. It turns out I had a bit of trouble doing that, and I had to modify someone else’s code to make it work, which was not very fun.

Anyway long story short, I recently rewrote most of the code from scratch for fun over break. What makes my Flickr Uploader Python library different from all of the other ones out there is that mine uses JSON instead of XML to talk to Flickr. I am most proud of the authentication code, but for some reason Flickr does not support JSON for file uploads, so I had to resort to XML. I also found out that Python does not have built in support for HTTP file uploads, so I had to copy code from somewhere else for that.

Download the code: flickr.zip (16.8 KB)

Logon Failure: the user has not been granted the requested logon type at this computer

I ran into this problem a couple weeks ago when trying to connect to a computer through windows smb:
“Logon Failure: the user has not been granted the requested logon type at this computer.”

Apparently you simply download “Windows Server 2003 Resource Kit Tools” http://go.microsoft.com/fwlink/?LinkId=4544

then type these commands:
net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest

duh!