-
Archives
- August 2010
- June 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
-
Meta
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
Please gawd, use tabindex.
Web app developers, you all do good work but you consistently keep forgetting one very simple thing that makes me life so much more easier! Damn login forms! Especially if you’re writing your login form on the fly onclick or … Continue reading
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
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
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
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
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
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