New Posts

Writing Python Functions, Part 2: Flow & Scope

Writing Python Functions: Flow The Python interpreter reads a program just like you are reading this page: one line at a time, from left to right and top to bottom. The interpreter executes operations and functions in the order that it encounters them. This is called control flow or the flow of execution.  Unlike the Python interpreter, when we read …

Continue Reading

Writing Python Functions Part 1: Structure

Python’s built-in functions are incredibly useful. Eventually you will find yourself repeating yourself. That’s bad. That’s when programming gets boring. Fortunately, you can write your own functions, which is why the first three letters of function are ‘F-U-N’. Writing Python Functions Now that we’re writing functions, you will want to use IDLE to create new files. It becomes tedious very …

Continue Reading

Convert Video and Audio for HTML5 with avconv

We talked briefly about the various formats needed to embed video and audio in a web page in the previous tutorial, HTML5 Audio and Video Media Players. To satisfy as many modern browsers as possible, we have to encode our media in multiple formats. There are dozens of codecs and containers for audio and video. Each container can contain many …

Continue Reading

Web Appropriate Image Formats

Your computer monitor is made up of rows of thousands of tiny, differently colored, points called pixels. Pixels are so small that when you look at them from a distance it’s hard to notice the individual points. Get really, really close to your monitor, and you can start to make them out (or go cross-eyed). While a digital screen only …

Continue Reading

Python Functions Are Little Machines in Your Program

Functions are like little machines in your program. You put something in the machine, press the start button, it works its magic and spits something out. Python functions are incredibly useful. They allow us to reuse code and simplify our programs. The last thing you want to do is waste your time rewriting the same thing over and over. Remember …

Continue Reading

Resizing Photos for the Web with GIMP

The internet is not a big truck. It’s not something you can just dump something on. It’s a series of tubes! That infrastructure has a maximum capacity which we are just now fully realizing. Despite this, people expect the websites they visit to be snappy. As you progress down this path of web development, you will begin to seek out …

Continue Reading

whatis man?

Aramis & Adelie read the Superusers comic book and a file reads the fantastic manual using the man command. Adelie elaborates on the gender disparity in technology, Aramis translates, and we say goodbye to our heroes in the exciting conclusion of Superusers: The Legendary GNU/Linux Show!

Watch Now

Make Kittens with the Cat Command

Schrodinger the kitten is missing! The Superusers concatenate a replacement with the cat command. Running head & tail verifies that the new file is in fact the spitting image of Schrodinger.

Watch Now

The Hello World Program Newsletter

Stay up to date on the latest videos and tutorials with our monthly newsletter

The email entered is invalid