May 2005 Archives
Today is the first time i’ve gotten PIL to work with CherryPy the way i want it too. PIL is the Python Imaging Library, and i’m using it with CherryPy, a Python Application Server, to make an image catalog tool.
I’ve been unable to get PIL to output directly from the server. Until now i’ve have to do a hack, saving a file to the file system, then “serving” that file. Today, i got it working so it no longer does this two step dance. Now it streams the data directly. The advantages to this method are that i can now output all kinds of different formats, at many different resolutions, of images without having to worry about saving and storing all these files.
A bit late, but better then never! Conor now weighs 35lbs (15.9 Kg) and is 96 cm (38.4 in) high. This puts him into the 97 percentile for both height and weight, which is about the same since he was born. So, he is a big and tall kid! Which we all already knew!
I've figured out where i have to attach the new rectifier for the GS650. I now just have to get/find my tools and spend an hour or two getting greasy and dirty replacing the old one! I also managed to find the keys to the bike, which i thought had been lost several years ago, when we lived in a different house. So, while lost, they were packed and moved to our current place. I'm just going to look on this as a good sign for getting the bike back into running shape.
Found an interesting site with a bunch of info about the tv show "The Starlost". I remember watching this way back when, and while, even then, knowing that it kind of sucked, i'd still like to see it again. You can actually buy the show from Amazon, but its on VHS and i'm not that interested. Maybe i'll rent it or try to get it via p2p...
Just back from the last Star Wars film. Like the others, my first impression is good. Unlike the other two previous films, i think this one will remain good, rather then slide into suck-ness. That's not to say that it was perfect, or the best one or anything like that, but it was good. Some of the CG scenes are so rich in detail, it actually is a bit overwhelming. The space battle scene at the beginning didn't have me wishing that they still used miniatures. The love story bits were weak. The light saber fights were probably the weakest ones yet - shot so close and cut so quick that, while they feel kinetic, you get no sense of the flow of the fight, unlike in The Phantom Menace/Darth Maul fight. George really pulled out all the star-wars-esque scene transitions. More then any of the other films, i noticed how all the cuts were 'special'.
Its late and i could blather on for some time, so i'm going to cut it off here. I just really wanted to write something before Tony does.
In closing, this is the only one of the last 3 films that i'd go see a second time. Maybe.
Got out on the motorcycle for the first time this season today. The delay in getting out was from a combination of:
Trying to sell it
Being unable to get it running till earlier this week
Depression about trying to sell it
Now that i'm over all the above, i hope to get out for more rides. It still needs a tune-up, but that's easily fixed.
I also just ordered a new rectifier for my other motorcycle, the GS650. I have no idea when it will arrive - some time next week i'm thinking. I also have to get a new ignition switch/key combo for it, as the current one is shot. I have no idea where to get that part, tho.
Also going to see the damn star wars film tonight. Pretty much the best thing it has going for it at this point is that its the last time i have to drag my sorry ass out to see Lucas' sorry excuse for a prequel. Ya, i've heard that this one doesn't suck. I'm not getting excited. Anyway, i'm sure i'll have something to say about this tomorrow, depending on how conscious i am, as its a midnight showing, and i have to take care of Conor tomorrow (tho it will more likely be the other way around, guessing at what my state will be after being up till 3am).
And last, but not least, just picked up the "Arcade Fire"'s album Funeral. I'm enjoying it so far. I also wanted to pick up the "Juliet" (warning - bad flash site, sorry) album Random Order, but Soundscapes didn't have it.
-
TinyLogo is a programming language and program execution environment. It is especially friendly to beginning programmers or people who just want to get a simple idea of what programming is all about. It is based on the Logo programmining language and come
There was a (small) fire in the house next to us this morning, so Conor practically lost his mind when 5 or 6 fire trucks pulled up in front of the house. I don't think it could have been much better, especially since no one seemed to have been hurt, and the house didn't burn down.
Also, on a completely unrelated note, we now have just over 4900 songs from 420 albums on the mp3 server in the basement. We just picked up the new Great Lake Swimmers album "Bodies and Minds", Franz Ferdinand's self titled debut and Sigur Ros's "Von". I had no idea when i picked it up, but "Von" is Sigur Ros's first album. It has a very different sound from their later stuff, much, well, scarier sounding. Quite good. All the albums are good, actually, so we did well this time! I was going to pickup the new NIN album too, but thought i should wait to read some reviews first. It doesn't seem to have impressed this reviewer. I'll try to download some tracks and check it out myself.
-
Pdf2you is a web service that lets visitors to a web site turn collections of web pages into a PDF file with one mouse click.
Finished reading "Making a Case for Short Games" (check out bugmenot for a login) over at Gamasutra the other night. The author of the paper is also the creator of "Strange Adventures in Infinite Space", which i've played before, but i'd never heard of "Oasis", which he mentions in the article. If you don't have the time to play Civilization but like that style of game, you should check Oasis out. Very fun, super quick, lots of interesting game play.
Anyway, i thought the connection the author made between the randomness of the map and world of rogue-like games (and the stress/tension factor of not being able to save your game), and the casual "beer & pretzels" style of game - quick to pickup, quick to finish. I'd never really thought about how you could create a replayable, short game, using these 2 styles as a base to build on. Very interesting stuff, and worth a read.
Also, almost as an afterthought, a shorter game means a smaller project, which means that it is more likely to get finished!
I'm at the computer upstairs, looking out the window facing west. The sun is down, but there is still a glow, sort of the colour you get from a sepia-toned picture. The clouds are smallish, but really moving fast from north to south across the sky. Quite majestic looking.
Yes, some photos! And one video (you might have to right click the link and do a "save as" - i couldn't get it to work by just clicking on it), from Easter morning. It is a bit big (~14 megs) and windows format (wmv). Until i get some better video editing software, i will only be able to make windows formatted videos. Sorry.
High Park
Conor on grass
Con running
Con throwing ball
Con running with ball
Con at bottom of slide
The fam
Other
A view of things to come?
Yes, he is a monkey
Birthday morning breakfast
Birthday party friends
-
API reference for twistedmatrix 1.2
No new photos. You can't possibly be surprised. Sigh. Sometimes, you know, i just don't have it in me to post. Very sad. Go read Mark's blog. He has lots of new posts, and no, i'm not bitter. At all. Really.
-
using twistedmatrix as a server for a multiplayer online GO varient
-
some info on how del is architected
