June 3, 2008Matt
I have been asked a few times how to add a bookmark link within a HTML page, so that people can just click the link and the website will be added to their bookmarks. This is pretty straight forward to do, here is the code you would need: This will create something like this: Bookmark [...]
read More »
March 24, 2008Matt
As you saw in the final section of the previous tutorial on numeric expressions in Python, Fractions, the following two expressions give different answers: So what’s going on here? Well, this is an example of the two main number systems in Python, integers and floats. A float can be distinguished from an integer because it [...]
read More »
March 18, 2008Matt
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 [...]
read More »
March 14, 2008Matt
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 [...]
read More »
March 5, 2008Matt
I am looking forward to release of Internet Explorer 8, and what will hopefully be a reasonably quick take up of it. In the myriad of new standards compliant features is CSS table support. I’ve used these countless times in Firefox, Safari and Opera, only to find that I have to completely rewrite the CSS, [...]
read More »
February 20, 2008Matt
Okay, as I mentioned before that I had fixed the margins, they are definitely fixed and working in everything now. I have also fixed the comment boxes so they are now aligned to the left rather than the centre as Tim suggested. I forgot to have a look at these since I am almost always [...]
read More »
February 20, 2008Matt
WordPress 2.5 is in it’s alpha stages at the moment and is looking quite interesting. One of the biggest changes is that the admin interface is getting a complete overhaul and is looking very nice indeed. Chris Johnston has setup a demo site where you can try it out. This may not be of interest [...]
read More »
February 16, 2008Matt
I have fixed up the margins between the top of the sidebar and the top of the content so they now line up properly in Internet Explorer. They were fine in Firefox before and I don’t think this should have changed. However I can’t check at the moment since Firefox is refusing to load anything [...]
read More »
February 15, 2008Matt
On the old blog, I had Google Adsense ads appearing at the bottom of every post. This only worked on up to 3 posts per page as the code for it will only display up to 3 ads on a page. So on long pages, such as the archives, it often looked untidy, especially in [...]
read More »
February 13, 2008Matt
Alrighty, I have fixed the heights of the margins as I mentioned so they match now. This makes me feel a lot better. I’ve also setup a poll, as you may have noticed, which is something I didn’t have on the old Blogger blog. I have used an excellent poll plugin for WordPress called WP-Polls. [...]
read More »