Join #ludumdare on irc.afternet.org
LD 11 :: Weekend of April 18-20 :: Theme :: Minimalist
Sign In | Rules Wiki | Write your Journal
Get motivated to compete in the foodphoto compo or timelapse compo!

The Results Are IN!! Congratulations mrfun, mjau, hamumu, and everyone else who competed!!
Time to hand out some trophies!!


philhassey's Archive

Most Clicking Since Diablo II
Awarded by Devon on April 27, 2008
Mini Mal
Awarded by illume on April 19, 2008
The 1984 Special Reverse Prize
Awarded by jolle on February 25, 2008
Reduce, Reuse, Recycle Award
Awarded by Cthulhu32 on February 24, 2008
The Most Random Game Award
Awarded by pymike on February 24, 2008
bytecodatron
Awarded by greencow on February 21, 2008

The corndog diet delivers again!

Posted by philhassey
Friday, May 2nd, 2008

A notable draw-back to sitting in front of a screen all day is that I get bloated after a while.  Thus, I’ve built the corndog diet for when I wish to drop a few pounds.

  • Breakfast: yogurt + 1 cup grape juice
  • Lunch: one corndog + 1 cup water
  • Afternoon: 20 minute workout *
  • Dinner: something modest + 1 cup milk

Drops around 1/2 lb per day if I actually do it.  I usually don’t exactly do that, so I’m probably at a 1/4 lb rate right now.  At any rate, 10 down, 5 to go.  Gotta keep my body at least moderately comparable to my blog pics.

For fun, see the Corndog Patrol Flag.

* Usually about 150 jumping jacks, 7 pull-ups, 45 push-ups, and 120 sit-ups.  At a separate time Nan and I walk Cuzco the goat around the lake.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

How to run an open source project?

Posted by philhassey
Thursday, April 24th, 2008

If I were going to OSCON, I’d certainly go to this talk. But I’m not planning on it, so …

… So I’ve got that tinypy project sort of taking off. It’s got a SOC student (thanks google & PSF) and a bit of interest. So far most of the open source projects I’ve done haven’t generated more than a couple patches — in their lifetime. With that in mind, I’m not entirely sure what is a good way to accept patches and run a project, since I don’t have loads of experience in it. I’m a “solo” dev in my day job as well. I want to do a decent job of managing the tinypy community without having to work too hard.

Do I take whatever people give me and patch it as-is and just figure, well, someone else will fix it?
Obviously not. Especially not for tinypy where “good” and “concise code” is of such large value to the project. And with the SOC coming up, “secure code” is also very important, as well as testing.

Do I be really strict and keep rejecting a patch until it’s “perfect”?
Maybe? I remember submitting a patch to one project ages ago, and it got rejected without much good explanation. I’ve also submitted others successfully. Not quite sure what the balance is.

Do I take the patch and apply it and then fix things up myself?
Maybe? If it is easy to fix … but then again, why should I have to do all the work? I don’t really have that much spare time (all evidence to the contrary.)

How do I grow the project (in general) without it turning into a monster?
Stick to my guns on the 64k code limit*? Maybe not, since things like VC support, security, etc, are going to take up *some* bytes. Not to mention, tinypy could use a few batteries … At the same time, I’ve gotta draw the line somewhere.

Obviously some common sense is needed here, but sometimes I run a bit short on that. Advice / links to good articles would be swell at this point. I could google this sort of stuff, but I think having the context of responses from a community I know would be much more valuable here.

-Phil

* on that point, I think having the 1.0 source always in the “featured downloads” might be a good idea. Even if the project gets bigger, people can still check out the “classic version.”

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

tinypy: did i mention metaprogramming?

Posted by philhassey
Monday, April 21st, 2008

For the sake of this post, I’m going to pretend to know what metaprogramming* is.  Yeah, so tinypy** totally has that.  At least, since the parser and compiler in tinypy is written in tinypy, you are able to modify those modules on-the-fly and add new features into the tinypy language.  (Not that you’d want to, but certain other languages get so uppity about being able to do that, I figured I’d plug for tinypy here.)

For example, (at present) tinypy doesn’t have support for decorators.  I’ve always liked decorators, so I made this code (a zip of main.py, deco.py***, and test.py) so that if you have a main.py:

import deco
import test

When the deco module is loaded, it cleanly**** adds decorator support into the tokenize, parse, and encode modules of tinypy.  Then when the test module is loaded, it is able to use decorator syntax.  Yay!  This mostly thanks to the top down operator precedence implementation in tinypy.

So now, if say, you have some crazy idea for how the $ operator should be used in bigpy, you can go ahead and use metaprogramming to add it into tinypy and show all your friends how awful your new syntax looks and have a working proof-of-concept!  Yay!

* feel free to enlighten me
** it’s got a mailing list now, join in on all the fun!!
*** only 611 bytes :)  They were pretty simple to implement, since they really just mean: “given ‘@a \n def b …’ do ‘def b … \n b=a(b)’”
**** Since all the language features are stored in dictionaries, it’s “pretty easy” to add new symbols / operators.  (Or remove features, or whatever!)

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

win32.dll The Game

Posted by philhassey
Sunday, April 20th, 2008

A few days ago my laptop got violently attacked by all sorts of bloatware. I’m guessing it was due to some IE hole or something, oh well. Anyway, it inspired this game. You get to destroy bloatware - yay!

Download for windows or get the source svn://www.imitationpickles.org/ld11/trunk/

phil7.png

phil8.png

Oh, and you can get all kinds of crazy combos if you don’t miss any boxes and are really fast.  So get playing!  Made with python / pygame as per usual.

Shot 6 - all gameplay done !!

Posted by philhassey
Saturday, April 19th, 2008

Well, I got all the game-play and core graphics done.  Tomorrow I’ll wrap it up with some music, sfx, and a title / menu screen.

phil6.png

I was able to use my pug gui engine to render those dialog boxes.  You get crazy combos in this game if you can keep up!

Goat Cookies-O-Rama!

Posted by philhassey
Saturday, April 19th, 2008

So the wife made goat cookies today .. I helped decorate.

img_0494.jpg

img_0500.jpg

img_0504.jpg

Shot 5 - Game play and gfx working

Posted by philhassey
Saturday, April 19th, 2008

phil5.png

Needs some tweaking and levels, but it’s basically doing what I want now :)

Shot #4 - now with icons!

Posted by philhassey
Saturday, April 19th, 2008

phil4.png

WIFE!! Git me sum lunch!!

Posted by philhassey
Saturday, April 19th, 2008

Fresh gophar meat for ya sur.

img_0489.jpg

Shot 3 - Starting to look like .. something ..

Posted by philhassey
Saturday, April 19th, 2008

phil3.png

It’s a Game! Almost!

Posted by philhassey
Saturday, April 19th, 2008

Yeah, I’ve added interactivity to my game.  From here on out, it’s pretty much just going to be adding in the polish.

phil2.png

Shot #1 - Beware !!

Posted by philhassey
Saturday, April 19th, 2008

phil1.png

Minimalist Breakfast

Posted by philhassey
Saturday, April 19th, 2008

img_0485.jpg

Compo Prep at the Zoo & Desk photo

Posted by philhassey
Friday, April 18th, 2008

img_0418.jpg

img_0480.jpg

img_0484.jpg

Judging Categories

Posted by philhassey
Wednesday, April 16th, 2008

There are loads of categories you can win in LD11:

Overall, Fun, Innovation, Theme, Polish, Graphics, Audio, Humor, Technical, Food, Journal, TimeLapse

Good luck!

-Phil

Pure Code

Posted by philhassey
Monday, April 14th, 2008

purecode.jpg

not wanting to be left out …

Posted by philhassey
Friday, April 11th, 2008

$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
269   ls
253   cd
182   kate
50   cp
48   svn
43   mkdir
23   mv
21   grep
16   gqview
13   python

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Good server hosting? rackspace? other?

Posted by philhassey
Friday, April 11th, 2008

A client of mine hosted with cihost recently had an outage.  (Which hasn’t ended.)  They want to move their dedicated server elsewhere.  Any suggestions?  I’ve done plenty of googling for stuff, but really, personal rec’s carry way more weight for me.  We want a host that:

  • linux (LAMP stuff)
  • e-mail server
  • has excellent uptime
  • can manage backups
  • has excellent support
  • can manage security
  • is able to deal with a crisis (say, a backhoe digs up their fiber, they are able to get your server running somehow within half a day)

Which I suppose aren’t really extravagant demands, but anyway .. I’d appreciate any recommendations you can offer.  The hosting is for a U.S. based company, so we’ll want a host with data centers here.

Please don’t bother responding with a rec if you haven’t personally been with said host for at least 3 years.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

The Canadian Invasion .. and MORE!

Posted by philhassey
Tuesday, April 8th, 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.
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

LD11 - April 18-20 - Less than two weeks warning!

Posted by philhassey
Saturday, April 5th, 2008

Ludum Dare 11 is coming! Ludum Dare is a regular community driven game development competition. The goal is, given a theme and 48 hours, to develop a game from scratch. Ludum Dare aims to encourage game design experimentation, and provide a platform to develop and practice rapid game prototyping.

Hope to see you there!

-Phil

*the theme voting will be done in batches almost every day that week. So keep checking back. The final round of voting will be during the 48 hours prior to the compo. If you want to influence what is in those batches, edit http://www.imitationpickles.org/ludum/wiki/ld11:themes and if you think there are themes in that list that are so awful people shouldn’t be force to bother voting on them, join the irc channel and get some folks to agree with you and you can remove them. Lousy and redundant themes will be removed by the ThemeMaster.

did someone say “galcon in the browser” ??

Posted by philhassey
Saturday, April 5th, 2008

Hmn .. maybe someone did ..

ggconn.jpg

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

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

tinypy.org website launched!

Posted by philhassey
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

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

project hosting … (for tinypy?!)

Posted by philhassey
Friday, March 28th, 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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

tinypy - I need more mentors for Google SOC!

Posted by philhassey
Monday, March 24th, 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

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

All posts, images, and comments are owned by their creators.

Galcon   Watermelons   Dynamite   The Hairy Chestival
All content of imitation pickles (c) 1999-2007 - Phil Hassey  "we care"