Category Archives: Coding

Code that scares (scars?) the Nick.

So here I am, fixing code that one of our old, evil programmers wrote long ago, and I stumble across a script. This script needed a list of the days of the week, as well as some other day periods … Continue reading

Posted in Coding, PHP, WTF?! | Leave a comment

JavaScript frameworks and Juice

I’ve been toying around with some code that – while not needed – would benefit greatly from a nice JavaScript enhancement framework. After going through Prototype and not being very happy with the functions, steep learning curve or feeling of … Continue reading

Posted in Coding, JavaScript | Leave a comment

My comments

I’ve always been known to comment my code fairly verbosely. I’ll put in little niggles I had while writing the code, and sometimes – like in the following snippets – what I think of either code I’m writing, or code … Continue reading

Posted in Coding, PHP | Leave a comment

Plural function

I know it seems basic, but I wrote this a while ago and use it in many many applications I’ve written. I’m surprised alot of languages don’t have something this simple in a small, native function… Takes three arguments: number, … Continue reading

Posted in Coding, Language, PHP | Leave a comment

LOLCODE

Oh dear…

Posted in Coding | Leave a comment

PHP + Unicode = Shit

Working on trying to get Chinese and Japanese characters to transmit correctly over email, a major problem is that in using PHP to process the text, PHP can’t handle the characters for shit and I got absolutely nowhere. Grr. I … Continue reading

Posted in Coding, Language, PHP | Leave a comment

Verification is a Wonderful Thing

I’m currently in the process of rewriting mmsnko.net in a more, user accessible fashion. The old mmsnko.net was only really used by the people that knew me, and that I could explain to them how to use it. This isn’t … Continue reading

Posted in Coding, PHP | Leave a comment