Category Archives: Programming

Round up to decimal precision (Javascript and PHP)

I needed to round up to two decimal places for currency (you always round up when using money), but for some reason the internet didn’t want to share that information with me, so here it is. PHP: // Takes a … Continue reading

Posted in Programming | 2 Comments

Zoom To Fit All Markers on Google Maps API v3

I’d like a problem that for once hasn’t already been solved by someone else. I had a set of markers which needed to be all on screen, and for some reason there’s no .zoomToShow method. Fortunately it’s pretty simple to … Continue reading

Posted in Programming | Tagged | 5 Comments

There is nothing wrong with using frameworks

After lurking in #javascript for a while I noticed that a lot of the developers there look down on people using jQuery and Prototype. Their view is that you’re just getting one step away from the actual language, and you’re … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Game Boy resolution problem has no real resolution.

I was looking up information about the resolution of Game Boy Colour, and found it to be a few different sizes depending on what version you own. But I don’t remember playing any games on a 640 x 350 screen. … Continue reading

Posted in GBCanvas | Tagged | Leave a comment

GBCanvas: A canvas experiment

I’m pretty sure my body doesn’t work on a 24 hour day cycle. I went to bed around 2300 two nights ago, and got up around seven. Though I’d been lying in bed awake, trying to sleep for much longer. … Continue reading

Posted in GBCanvas | Tagged , , | Leave a comment

You can take a bird to water, but it'll only eat worms. Or something.

Check me out being awake before lunch time, five hours in fact. I’ve not seen the morning where the sun isn’t totally glaring in a while. I had egg in bread! I propose this shall be a good day. I … Continue reading

Posted in Freelance, Programming | Leave a comment

Encryption: Symmetric hashing

These are things I do know (though I don’t understand public/private keys), but since I’m having problems with signing OAuth requests, I figured I’d brain dump my knowledge, filling in any gaps with research and hoping that I’ll understand why … Continue reading

Posted in Programming | Tagged | Leave a comment

The state of the development community

Blogs were first made as soap boxes so allow me to get up on mine and moan for a little bit. I’ve been trying to figure out OAuth, so I can use the YouTube API on a project I’m working … Continue reading

Posted in Programming | Tagged , | Leave a comment

RSS quilt type thing

Ages ago I was trying to find a cool start page which I could set for my homepage; I’d grown bored of Reader because it stopped me going to other websites. I stuck with /r/funny for a while before switching … Continue reading

Posted in Programming | Tagged , , | 1 Comment