Posts Tagged ‘programming’

Where Have I Been?

October 14, 2008Matt 1 Comment »

It’s been a while, and how I’ve missed you my poor, neglected blog and readers, it’s been so empty without you.
So what have I actually been doing for the past month? Yep, it’s been a month already! Or it would have been if I had waited two more days to write this, but I’m not [...]

read More »

Computational Art Assignment

June 11, 2008Matt No Comments »

I had an assignment due on Monday for KKB210: Computational Arts 1, where I had to create 3 computational art works. This has kept me pretty busy over the past week or so, especially since I had another assignment due on Tuesday, just a 1500-1800 word essay fortunately, so it didn’t take up too much [...]

read More »

Happenings

May 23, 2008Matt 2 Comments »

It’s been a while since I’ve written anything for this blog, the past couple of weeks have been absolutely hectic.
So what have I been up to?

Fixed a problematic client website that had a lot more problems than expected.
20 hours worth of maintenance on another client website.
Created the art for my business cards and setup the [...]

read More »

Python Tutorial 3 - Integers and Floats

March 24, 2008Matt No Comments »

As you saw in the final section of the previous tutorial on numeric expressions in Python, Fractions, the following two expressions give different answers:

18.0 / 7.0
# This returns 2.571485714285716

18 / 7
# This returns 2

So what’s going on here? Well, this is an example of the two main number systems in Python, integers and floats.
A float [...]

read More »

Python Tutorial 2 - Numeric Expressions

March 18, 2008Matt 1 Comment »

Python’s interpreter can be used as a calculator quite easily. Of course, this is somewhat pointless since there are calculators built into most operating systems anyway. However, the numeric expressions that are built into Python become quite useful in general applications and are important to know.
Before you can start learning Python, you will need to [...]

read More »

Python Tutorial 1 - Getting Python

March 14, 2008Matt 1 Comment »

Python object-oriented programming language at uni in ITB001: Problem Solving and Programming, I figure what better way to solidify what I am learning than to write about it. Someone might find it useful as well.
So if you see anything that is wrong, or anything like that, feel free to point it out, I won’t bite.
First [...]

read More »