Phil Hassey - game dev blog
Phil Hassey as Snidely Whiplash
"You can't buy awesomeness.
You're born that way."

Archive for the 'python' Category

The Canadian Invasion .. and MORE!

Wednesday, April 9th, 2008
  1. The only bit I remember from that conversation is all the stuff about Canadian global domination.  Let me tell you, if Mike Fletcher has his way, we’re doomed!  (Maybe we’re doomed either way, but be sure your passport is ready when we have to head north!)
  2. I remember peaking into the pycon-dev room at one point and Doug was giving a lecture on menu structures in websites.  He said the pycon navigation was stored completely independently of all the modules used by pycon.  I think that’s great.  I’ve been thinking about it ever since.
  3. I do most all my dev at home on my linux system.  My laptop last year was loaded with XP and I found it painful to do work on at pycon.  So this year, the day before pycon, I loaded it up with Ubuntu.  Which was a mistake.  It *sort* of worked, in a kind of the network didn’t exactly always work and the video driver didn’t always work .. and then it got worse .. but I won’t name names 😉
  4. Which brings me to two happier points, which are points 5 and 6 in this list.
  5. Sean was quite swell and set me up a personal hard-line during the sprints when I needed to get some work done :)  Yay!
  6. I was told about PyPE, which is a nifty python editor for windows :)  I’m having to do some win32 dev lately (see previous post), so having that on hand is great!  I like it.  I was able to do about 5 hours of dev on it this evening, and I think the main complaint I had was I was using a laptop keyboard.  If you like kate, this is the editor for you.

did someone say “galcon in the browser” ??

Saturday, April 5th, 2008

Hmn .. maybe someone did ..

ggconn.jpg

Yep, that’s python+pygame alright .. 🙂

tinypy.org website launched!

Thursday, April 3rd, 2008

Yay!  Go to tinypy.org and spend the rest of your day basking in the glow of the new tinypy website!  Yipee!  Thanks to everyone who told me not to re-invent the wheel on this one.  I spent a large bit of the week thinking about doing that, but eventually I gave up the idea because I was feeling kind of worn out.  So I just threw together a google code and google group and slapped a website in front of it all.

If you’re interested in tinypy in any way, be sure to go to the site then navigate to the google group from there and join in the fun.  I suppose I could have direct links from this post, but then you’d miss out seeing my new swell site 🙂

Share and enjoy!
-Phil

project hosting … (for tinypy?!)

Saturday, March 29th, 2008

So I’m getting the feeling I should host tinypy somewhere greater than just in my blog. What a pity, the blog suited me so well. I dunno, I guess some people have unreasonable demands. (If I were feeling clever, I’d link all the words in that last sentence to other people’s blogs who’ve bugged me about this. But I don’t think there are actually that many.)

Anyway, my options are as follows:

  • use the project management software I’ve written for my health-care company. Pros: I wrote it, so it must be better than anything else. Cons: I’ll have to maintain it when I find out otherwise.
  • use google code. Pros: People know how to use it, and it’s pretty clean looking and they host it for me. Cons: I don’t get to host it. But I guess I could set up the first few pages of the tinypy site on my own server to make myself feel good.
  • use trac or something. Pros: I’d get to host my whole project myself. Cons: I’d have to host the whole project myself and learn some new software and maybe set up some stuff.

So .. all my aimless thoughts aside, since this isn’t really about me. (If it were, I’d just blog about it every now and again and leave it at that.) It’s about you, since there is interest in the project it needs to be easier for people to poke at. What setup do you think* would be the best?

* it probably doesn’t matter what you think, because after writing this post, I think I’ve already made up my mind. Writing down stuff like this helps me think things through. But since you’ve bothered to read this far, you might as well put in your 2c.

tinypy – I need more mentors for Google SOC!

Tuesday, March 25th, 2008

If you’re *not* in school, interested in tinypy, and want to help out, you can become a mentor!  I’m working via the PSF to get tinypy some SOC help.  Since I announced this a few days ago I’ve already got four students who want to do SOC projects on tinypy!

Reasons to become a SOC-python-tinypy mentor:

  • you want to help out tinypy – if multiple projects get accepted, it would be great to have some people helping me out!  I don’t think I could mentor them all.
  • you want to help out python – the more mentors python has, the more projects will be sponsored :)  This will increase the odds that tinypy gets some slots.
  • you want to help out students – this is the Summer of Code, after all!  It’s a great opportunity to help new coders get some great experience.
  • you want to help out open source – the SOC gets students involved in Open Source :)  Several of the students who have contacted me say this is the first time they’ve been interested in Open Source.

Qualifications for mentors:

  • you aren’t a student.
  • you know python and C reasonably well.
  • you want to help out!

How to join:

Thanks!
-Phil

PyCon2009 Gong Show!!

Sunday, March 23rd, 2008

So I thought of an idea for pycon2009 … A GONG SHOW!  Here’s how it would work:

  • People sign up for 5 minute slots.
  • A panel of 3 judges preside.
  • Each person gets 1 minute to get into their talk.
  • After that point, the panel is free to “gong” the person any time it gets dull or uninteresting or for any other reason.
  • Each judge will score each talk on a 1-10 scale.
  • The winner will get a prize!

Good idea?  Comments?  I think it would be a fun thing to do in addition to the normal lightning talks.  Maybe I’ll propose it for a 45 minute talk space next year.

Fun with the OLPC!

Wednesday, March 19th, 2008

Yesterday and today I worked with Mike Fletcher and had a great time porting a couple of my games to the OLPC 🙂

Watermelons

olpc-melons.jpg

Elephants (pic taken with an XO!)
blah.jpg

I had a great time working on this – though a couple of odd bugs in the dev. environment proved to be a bit bothersome, we were able to get through them. The main product of this effort was the creation of the “port your pygame game to the OLPC” tutorial.

On a side note, I also gave an impromptu talk on networking games to help an OLPC group get some good ideas on how to write an easy to use networking API for their games. A fair portion of it explained how I implemented networking in Galcon. The other portion explained how “I did it wrong – and you should do it some other way such as _____.” Richard Jones and Mike Fletcher also attended and chipped to help explain the bits that I glazed over.

To the PyPy folks: your error messages ROCK!!

Tuesday, March 18th, 2008

SyntaxError’: …… ‘(pypy.translator.flex.main:9)some_strange_function_
which_will_never_be_called’

True dat, yo!

tinypy for Google Summer of Code!

Monday, March 17th, 2008

If you’re a student who’s been following the tinypy project and you’re interested in working on it for the Google SOC, the PSF is willing to consider tinypy projects for submissions under their SOC mentor group.

I’ve put together some ideas for projects here.  You would probably want to combine a few of those ideas together for your project.  Please contact me to talk a bit about your idea.  Thanks and good luck!

Galcon at PyCon Tournament Goodies

Monday, March 17th, 2008

We had a great tournament at pycon2008!  We also fit in some “Rustic Classics” (a set of oldschool games like pac-man made for multi-player gamepad play) and had a good times.  Here are some pics from the action.  A few of these people play Galcon somewhat regularly.  I’ll leave it as an exercise to the reader to figure out who is who.

2341155016_c04deb855d_b.jpg

galcon014.jpg