Archive for February, 2014

Pygame Subset For Android FTW!

Pygame Subset For Android FTW!

I was looking to port some things I’ve written over to run on Android – in particular, I decided to migrate this yesterday. I have done it as of today, albeit as a working prototype, using the Pygame Subset for Android. The only thing I had to modify was to rename the main script as main.py and rewrite a little of the main game loop. Total time from learning that PGS4A existed (about 11am this morning) to having a working prototype on my Android Tablet is 7 hours. That includes about 6 hours of being away from my desk doing other things and maybe 30 minutes of downloading, installing PGS4A and its dependencies. Actual coding changes took maybe 5 minutes for roughly 1200 lines of code (excluding blank lines, comments etc). That said, now I have to hook up the multitouch interface and it has some unexplained (and critical) pauses when played.

PGS4A is a really quick and cheap way of getting an existing pygame based application onto Android.

Why is wrapping paper so expensive?

Why is wrapping paper so expensive?

Quick comparison of wrapping paper pricing:

width length price price per m^2
John Sands 0.7 2 $6.00 $4.29 Incredible rip off
Wrapco 0.5 60 $44.00 $1.47 used for store wrapping. Presumably good weight
$2 shop 0.7 2 $2.00 $1.43 Thin paper
White paper A4 0.21 0.297 $0.01 $0.16 5 reams = $24.45
Coloured paper A4 0.21 0.297 $0.02 $0.35 1 ream = $10.98
Coloured paper A3 0.297 0.42 $0.06 $0.50 1 ream = $31.14

Maybe I’ll just buy coloured A3 paper from now on and forego the gloss finish?


Blog Stats

  • 279,045 hits

OSWALD Newsletter

If you would like to receive OSWALD, a weekly open source news digest please send an email to oswald (with the subject "subscribe") at opensourcelaw.biz