An anagram of Matthew Obert
import time import sys import os def sleep(z): for n in range(z): print time.sleep(0.25) def hack(s): for c in s: sys.stdout.write( '%s' % c ) sys.stdout.flush() time.sleep(0.25) time.sleep(3) print def repeat(r): for duration in range(r): sleep(r) os.system("clear") sleep(r) hack(" dc401.org") hack(" sleep. hack. repeat.") repeat(6)
dc401.py script does the job, but I think it would benefit from some old-fashioned code bumming. For example, I wonder whether I could rewrite the
sleep() function to accept multiple arguments in such a way that I could avoid extra
But there is an additional constraint: everything should be accomplished in the three named functions, which are a DC401 slogan of sorts. It’s like those “Perl poetry“ competitions — only cooler, because it’s Python poetry. (No offense intended to my Perl-monger friends.)
Cast Party (2012) by Matthew Obert
My dear friend Vicky just broke her arm, which inspired me to create this pencil drawing / faux-silkscreen digital illustration for a homemade D.I.Y. get-well card.
The caption inside the card reads: “CONGRATULATIONS on your big break! When is the cast party?”
At the risk of giving away the secret recipe to my special sauce (dude, it’s ketchup and mayonnaise!) I figured I’d post a little GIMP tutorial.
You can use Photoshop instead, if that’s how you choose to live your life — just be aware that your menus and dialogs will not be identical to those in this tutorial.
Once you know the trick, you can make any line drawing look like a silkscreen!