Archive for the Blog Category

Corporate NSA Logos

I’ve created some corporate NSA logos. Feel free to copy and distribute them. More background information: Wikipedia article on PRISM Surveillance Program Washington Post: U.S., British intelligence mining data from nine U.S. Internet companies in broad secret program The Guardian: NSA paid millions to cover Prism compliance costs for tech companies The Atlantic: PRISM Companies […]

“Let them eat code.”

Dear Patrick McConlogue, I will be blunt: This is your “let them eat cake” moment. Your article, “Finding the unjustly homeless, and teaching them to code”, despite your charitable intentions, betrays an arrogance, cluelessness, and level of privilege that is to the point of offensiveness. I know that my phrasing is not persuasive and would […]

A Demonstration of “Show, Don’t Tell” with Emily Carroll’s “His Face All Red”

One of the keys behind good writing is “show, don’t tell.” The difference between “showing” and “telling” itself can be hard to tell, but it creates the difference between engaging storytelling and mechanical plot description. Implied action and emotion can go a long way. Saying, “It was very scary” will let the reader know on […]

Blog Post on CircleMUD Data Conversion

I converted all the monster/weapon/item/map data from CircleMUD (an old piece of MUD server software) to XML from it’s native, hard-to-parse text format. More info and download links on the blog post on my Invent with Python blog.

Some Blog Posts on Programming

I wrote a couple blog posts on my Invent with Python site about programming: “How much math do I need to know to program?” Not That Much, Actually. Nobody Wants to Learn How to Program

My new book: “Making Games with Python & Pygame”

I’ve completed my next book, which focuses on the Pygame library and making graphical games in Python. It assumes you have a little bit of Python programming knowledge. The book is free to read online from http://inventwithpython.com/pygame and can also be bought on Amazon.com for $25. Thanks to everyone who helped me out with this […]

Nobody Cares About a Few Million Nanoseconds

Note: This article originally appeared on my programming book’s blog. A Clever Programming Trick… If you need to swap the values of two variables, this usually requires a third temporary variable (that is, if you’re not using a language like Python that supports the a, b = b, a syntax.) It looks something like this: […]

Vampire Numbers Visualized

Vampire numbers are fairly interesting. Vampire numbers are numbers whose product contains the same digits as the two vampire numbers. For example, 21 x 60 = 1260. The two vampire numbers (called “fangs”) must be the same length and both cannot end with a zero. A longer example is 68088 x 45321 = 3085816248. You […]

Lua Cheat Sheet for Programmers

If you don’t know Lua, the popular programming language often used as a embedded scripting language, but you do know how to program, here’s a cheat sheet that covers the basics of the language’s syntax. The cheat sheet itself is an executable program. You can download the file here: lua_cheat_sheet.lua For quick viewing, here it […]

Attitudes on Programming for Kids: “They Need Blood Exploding Onto Their Faces Just to Keep Them From Yawning”

I wrote a book titled “Invent Your Own Computer Games with Python” (free online under Creative Commons at http://inventwithpython.com) to teach kids (and adult beginners) how to write computer programs by making simple games. The book adopts a different teaching style from most programming books. Rather than tediously list out the programming concepts I instead […]

free blog themes