

Oh Geez, It's October
Tuesday October 7, 2014
I can't believe it's already October.
I've been hard at work on the site, updating its interface and structure and essentially rewriting the code from scratch. The result is something that is finally mobile-friendly and something that doesn't look like it was written by a 21 year old in 2007. Bootstrap is pretty awesome and it has made designing the site easy. Thanks to Vincent for showing me the ropes and for inspiring me to make something more contemporary and classy! In addition to this, I also have my Food Blog, which is a formalisation of all the pictures and descriptions from my Facebook page.
Work has been busy. I've been working on upskilling in Unity by making a sweet version of Final Fantasy VIII's Triple Triad game, but themed with Pokemon - aka, my two most favourite game franchises in the world. Last week, I started pre-production on my new project, which should tide us over until the end of the year. I haven't actually started a project since Dash n Drop in 2012, so I'm looking forward to all the challenges that this will hold.
Malaysia Trip Photos
Sunday January 24, 2010
It's only taken me a whole week, but my gallery now supports subcategories so that I can easily classify the food and non-food photos.
In addition, I've also resized, rotated and cropped several pictures from my Malaysia trip, and 570 of them are available for viewing in the gallery. If you would like the original, let me know via the Contact Form.
Phew!
Site Work
Wednesday December 30, 2009
Thanks to a speedy recovery from the food poisoning and all the other FML items, I was pretty much 100% yesterday - good enough to have a very good appetite and also play 3 hours of badminton.
Anyway I've been doing a bit of site work (zomg!) so that it's easier for people to contact me. I only just realised that the contacts page doesn't work so that needs to be fixed first and foremost. I also merged the Websites and Programs sections into my Portfolio to save room on the menu.
Edit: And the Contact Me page is now up and running again.
November News
Sunday November 23, 2008
Okay I haven't died yet, it's just been pretty boring on the news front for the blog.
Let's see, I've spent the last two weeks practically home alone: two flatmates in the South Island, one in Australia for a week, means one Jeremy at home cooking delicious food for himself, and playing absurd amounts of DotA. Not that either of these things are bad. I brought DotA to work on my iPod in the hope I could attract some interest and get my workmates to play as well.
I had a flatwarming for three of my workmates last night too. They live about 20 minutes up the road from me, so maybe I'll see them on the bus or walking home or something. But it was a pretty cool party, got to hang out with people and socialise and stuff. Woo~. Got caught by the rain as I went home, but luckily the bus was on time and I managed to minimise the wetness.
I've been doing a lot of web development lately. I fixed some spam bot problem with my Shoutbox a few minutes ago, and I thought I'd blog about something that's been infuriating me for the past few weeks.
The majority of the world have this program installed on their machines and actively use this malicious application. I do not know the exact numbers, but whatever the statistics are, it is far too much for people to being using such filth every day.
I am, of course, talking about Internet Explorer.
Who the hell at Microsoft decided to make a substandard browser with so many security flaws and a blatant disregard for web coding standards just to piss developers off? Morons. Absolute bloody morons.
In this site I've been working on (You know the one, Stephen :O), I have this search box that appears onmouseover, and it disappears when you click outside the box, but should remain visible when clicking inside the box. The easiest way to implement this was to cancel the bubbling effect that events have, that is, clicking inside a table will trigger its onclick, its parents onclick and continue up the chain until there are no more onclick handlers.
So, if the table onclick is specified and the event.returnValue parameter is set to false, I can use this value to prevent subsequent calls to the onclick handler. Thus, when it gets to the body onclick, inside the handler, I just return prematurely if event.returnValue is false.
Yup, that's all great. Works wonderfully on Firefox. This behaviour also works on Internet Explorer too...oh, wait. Hold on a second. By specifying that the event's returnValue is now false in Internet Explorer, all onclick handlers no longer work. That means onclicks for anchor tags and submit buttons. What kind of stupid system is that?
I resorted to using the following code:
<script type="text/javascript">
var eventHandled = new Array();
function myFunction(event) {
if (eventHandled[event.type])
return;
eventHandled[event.type] = true;
}
</script>
<body onclick="myFunction(event); eventStates = new Array();">
<table onclick="myFunction(event);">
<tr>
<td>No Click</td>
<td><div onclick="myFunction(event);">Click</div></td>
</tr>
</table>
Clicking on the innermost <div> with "Click" calls myFunction. myFunction sets eventHandled["onclick"] to be true, and prevents bubbling up by halting execution of the onclick in the <table> and <body> tags. Finally at the <body> tag, the states are reset to ensure that the next onclick can be processed. Phew!
Stupid Internet Explorer.
(PS: I should look at getting some syntax highlighting...)
Objection!
Thursday December 6, 2007
My hair is getting long, so I thought I'd try to spike it out the back and see if it bore any resemblance to Phoenix Wright.

Not too bad I'd say. A bit of hair spray or gel would make it look really good. All I need is a blue jacket, a white shirt and a red tie, and I'm all set. I already have the attitude :3
By the way, my jumper isn't actually that colour. I just photoshopped it to make it look a bit more bluish for the Phoenix Wright thing.
My auntie left for Malaysia today. I find it amusing that whenever relatives come over, they always take back groceries..my auntie managed to stuff a 2kg cabbage and 1.5kgs of avocado into a box and take it home. Her luggage was overweight so she left behind some clothes. I'll miss her awesome cooking and stuff. It was really great having her around, and it's just a pity that the hot water cylinder had to flood her room like that >_o
I have finally finished the long-awaited Graffiti Wall, so you can stuff that lame urFacebook site and come and draw stuff on my wall instead. Hooray! Comments and suggestions and bug reports are always welcome.
Oh yeah, I fail at relationships. ^_^
CSC Dinner
Tuesday November 13, 2007
So I was invited to join the "CSC" (The CompSci Crew, not the CompSci Club. Ask Sonny.) for dinner tonight. We went to the Thirsty Dog on K Road for a meal where we spent half the time talking about DotA, and the other half of the time observing a prostitute opposite the bar, trying to nab a client. Yeah.
Apparently she got a client after we left, says Daniela.
As with all normal computer scientist gatherings, the night was not over until we had gone to a Net Cafe and played DotA. We had two good games: I was Leviathan in the first, and Razor in the second. Great stuff.
Oh yes, as you can now see, I'm fully operational on a domain name, mrowr8d.com, so make sure you bookmark my site.
And I finally got a wireless router, so I can wi-fi with my DS! My Pokeymanz. Let me show you them :O
Testing Admin Panel
Friday October 5, 2007
Okay, so this is my first real blog entry, from the new admin panel that I've created..that no one can see. I can do bold and underline and italics and strikethroughs... I can also add links and stuff and.. yeah. But I'm lazy so I can't be bothered at the moment.
This should also hopefully be on a new paragraph.
I like having full control over what I put in my blogs. And by that, I mean the ability to write direct HTML in the blog. Maybe one day I can add the ability to parse PHP code. That would be hot :o
Edit: Comments are now enabled with bold, underline, strikethrough and italics, but no other HTML for the time being.
