Archive for the 'Coding' Category
Graphics Coursework
Thursday, March 24th, 2005This week has seen some interesting code. I’m currently working on my MEDA302 (Graphics) coursework mostly this has meant me brushing up on my C++ skills and figuring out how to use the SDL and SDL_gfx libraries. The coursework is really interesting, to make a simple 3D program that does scaling, translation, rotation and a [...]
Programmers Block
Sunday, March 6th, 2005No, I don’t mean the thing inside curly brackets.
I was looking around on the web and I found something that describes my current state with my final year project fairly well http://ask.slashdot.org/comments.pl?sid=6744&cid=889873. Yep, I’m suffering from programmers block.
I’ve recently decided to use PostgreSQL instead of MySQL for the database because it has better support [...]
Projects section addition: monthView
Sunday, February 6th, 2005I’ve been working all day to perfect a small but useful calendar displayer.
I’ve added the code for monthView to the website’s projects section.
I have used vim so much today that I keep using vim keybindings where I’m not supposed to.:w
I hate Visual C++
Tuesday, January 4th, 2005I’m in a bad mood today. I was woken up by drilling and sawing because my dad is dismantling the bathroom which is right next to my room. My parents don’t understand why I sleep at odd times but then again they’re “day people” unlike me. I prefer the night, it’s quieter (good for coding) [...]
Error: Error page not found
Wednesday, December 29th, 2004Been doing more work on this site behind-the-scenes. There is now a custom 404 page. My logging script now records error codes with entries also so that I can easily find their source.
During work on the custom 404 page I got a error that basically meant: Warning “Page not found” error page was not found. [...]
PHP Blog… finally
Tuesday, December 21st, 2004My blog is now fully PHPed. I am using a DATETIME type to store the dates it’s an official type instead of that hack I threw together that was a BIGINT. I now convert the DATETIME into a Unix timestamp so that I can re-format it as a string.
/*converts the DATETIME to a Unix timestamp*/
function [...]
Midnight Debugging
Sunday, December 12th, 2004I’d forgotten how fun debugging can be. I was helping Ben with a script last night from 11:45pm to about 4:05am (thank goodness for caffeine mints). It in nice to get things working and also to show off my 1337 5|<i11z
I was also working on my own blog script, the one [...]
Logging
Wednesday, December 8th, 2004Yesterday I wrote a script to log visitors to this site. It is working very well. I know that two people have visited already from google after searching for “how to play emacs Dunnet” and “dunnet emacs“. So I added a link to a Dunnet walkthrough.
I’ve also written a couple of simple SQL queries to [...]