Archive for December, 2004
Chocolate and Logs
Wednesday, December 29th, 2004The logging script has already turned up an interesting result. The logs showed a 404 error for a file called “favicon.ico”, this is normally requested when someone tries to view the site in some browsers. I usually read my logs regularly and store any interesting things that I find.
Chocolate coins are nice, they only seem [...]
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. [...]
Blog script
Monday, December 27th, 2004I’ve been improving my blog script again recently not that you’d notice it from the output though. There are so many different ways of making it work.
I rewrote an SQL query and saved a lot of PHP by using MySQLs built-in MONTH() and YEAR() functions. I also got the archive page working so that it [...]
Armed and Dangerous
Sunday, December 26th, 2004I’m playing GTA San Andreas today. I really like it. The map is massive compared to the previous games. It’s also good because you can do really funny things like when there was a nasty guy chasing after me with a gun I turned around and beat him to death with a bunch of flowers. [...]
It’s winter, lets party
Saturday, December 25th, 2004Although I don’t believe in god or the bible. I think the mid-winter holiday is a good time to throw parties and give presents to cheer people up especialy with the depressing lack of sunshine generally associated with this time of year.
This is the time of year where I try to avoid my least favorite [...]
Gentoo install
Friday, December 24th, 2004My gentoo install is getting along well. I can now boot on its own rather than running chrooted under Knoppix.
The biggest problem has been trying to get the eth0 working I had to compile support for the sis900 ethernet into the kernel.
Bootstrapping Error
Thursday, December 23rd, 2004After getting this obscure error, I say “obscure” because Google only returns one result for it.
The error is caused by using the Knoppix /dev filesystem for the Gentoo install. The bootstrapping script tries to write to it and realizes it’s already full of stuff. The solution mentioned on the forums says to only mount the [...]
Good things come to those who wait?
Thursday, December 23rd, 2004I’m in the middle of a stage one Gentoo install on my laptop. A stage one is where you compile everything, even the compiler. It’s a distro for people who like waiting.
At the moment it is currently downloading the bootstrapping stuff.
This is going to take a very long time… When you run Gentoo compiling is [...]
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 [...]
New Network Cable
Monday, December 20th, 2004After almost pulling my router onto the floor several times early this morning I am currently making a longer network cable for my laptop. Network cable HOWTO.
…
Here is some text coming down my newly made cable. Now I should be able to sit in bed with my laptop and not worry about breaking stuff.
BTW if [...]