Archive for September, 2007
Posted on September 30, 2007 - by Jordan H
Autumn Cleaning!
I’m not really a spring cleaner, but I’m quite ambitious when it comes to autumn cleaning as my room’s about 2 years overdue for a redo. So I moved my bed, emptied all my junk up to the attic and then bought an ariel booster for my Freeview box. Voila! I’m now sat here typing watching reruns of The X Factor on my TV.
My room’s getting painted next week as well. Yes!
Posted on September 26, 2007 - by Jordan H
Microsoft vs The World - PHP vs ASP
I’ve just been reading a news article on BBC News that claims Microsoft are reported to be considering buying a chunk out of Facebook. It takes me back to the reality that Microsoft is buying up the world. If the unlucky case came to be that Microsoft bought out Facebook, then would it change everything to ASP? It wouldn’t do Microsoft’s closed-source image very well if it kept with PHP files.
In the ongoing war between open source and closed source software, it’s not a case of choosing with our feet. More and more people are switching to open source and they all have justified decisions. Most run along the lines of “it’s free” or “it’s better”, which is true and right. Microsoft and other closed-source companies argue back with “We provide support” and “Ours is better”.
Is open source taking the world by storm? Consider this: Firefox’s market share of internet browsers has almost tripled since it launched in late 2004. It now has just under 15% of all browser market share in the world. Big enough to push a dent into IE. And yet more than that same percentage of all websites in the world don’t have support for Firefox. Not to mention Microsoft’s. Some have accused it of deliberately trying to make their websites look bad in Firefox and other browsers such as Opera.
It occurred to me while doing ECDL in ICT yesterday that even widely accepted examinations like that still use closed source standards. For example, the file types in questions only cover Microsoft’s .doc, .xls and .ppt, not Open Office’s free standards. It calls .html documents “Internet Explorer files.” What’s next for the world?
Lets downsize Microsoft to a position where it no longer dominates the market with it’s closed source standards and lets the open source revolution through.
Posted on September 24, 2007 - by Jordan H
School’s Closed
Dad got a phone call this morning from my headteacher. The builders burst through a sewage pipe and so all the toilets at school are out of action :D. Subsequently, that means the school’s shut for today. Yes!
Posted on September 23, 2007 - by Jordan H
PHP Session Purging
I’ve been trying to make a login script that purges the sessions database so that users will only stay inactive for 1 hour until they have to log in again. All seems to be well, but then it just doesn’t work.
This is the code which I have on every page:
$time = date("ymdHis");
$cutoff = $time-1000;
$sql = "DELETE FROM adminsessions WHERE time<'$cutoff'";
mysql_query($sql) or die(mysql_error());
It should log the user out after 10 mins of inactivity. Doesn’t seem to be doing that at the moment. Anyone got any ideas?
Posted on September 20, 2007 - by Jordan H
CMSing is bloody hard…
I’ve been working on a custom CMS for a new game development studio. I decided to use PHP’s Smarty Template Engine as it’d make the template system really easy to use. Nope, not at all. Spent 5 hours fixing problems that seemed to all come from the default config settings and leak into the functions and classes. It’s supposed to be an easy setup, not a guru’s job.
The CMS is modular, it uses modules so we can extend it really easily. We’re also trying to integrate a vBulletin forum and their Single User Login system for their games. What did I say, CMSs are easy? Hell no.
Posted on September 19, 2007 - by Jordan H
Museum of Science and Industry - 6th September
Heard there was a Doctor Who exhibition on there, so I thought I’d check it out. Went down on the train with Mum, which went okay considering we had to wait 20 minutes at Salford Crescent to change so we could go to Deansgate. The Doctor Who bit was quite short and cost about £2.50 each to go in, that was the only thing you had to pay for though as the rest of the museum was free. Took a lot of pictures with our new Nikon D40X, like a dream to get a D-SLR camera. Resized a few and posted them below.
Posted on September 19, 2007 - by Jordan H
Welcome to my site!
Welcome everyone to my site! I’m Jordan and this is my new blog. I’m into coding a bit, i like making little scripts for websites here and there. I like writing and playing music.
I live in the UK and this blog just sums up my daily life and stuff like that. If I go somewhere then I might add a few pictures. If not, then it’ll just be stuff that I put on here. Couldn’t say much more really.
Hope you like my site, the header shows lots of rotating images so you’ll have a bit of a varied theme. I might change it here and there, like at Christmas.
Thanks for visiting my site, hope it’s been of help!
