Some bits’n'bobs about coding.


A while back I did a bit on how to generate good preshared keys for WPA. Well, in a moment of boredom I hacked together a web-facing PHP version of the same idea.
You can find it here http://www.danielbray.com/php/keygen
Enjoy.


2007-01-05 23:40:17   Bringing out baby (new and improved)

UPDATE: I’ve had some trouble getting people to use this because, well, it was hard to use; so I changed it about a little: now it uses MySQL rather than XML to store the locations, and there’s a new, web-based, method for creating new locations.
I’ve been playing with PHP (fun) and google maps (more fun) […]


Sometimes, when you’re debugging your application in eclipse, you see where you’ve made a mistake in your code, and that if you had assigned some variable differently, or had invoked some operation a bit earlier, your code would work. Trouble is, you’re not completely sure, and you don’t want to have to shut down your […]


Updated: I’ve rejigged all of this into a public, automatic key generator, that you can see here: http://www.danielbray.com/php/keygen/.

I got a broadband a while back, and it came with a wireless router, which was just enough to tip my natural anxiety over into full-blown paranoia.
So, I spent a bit of time investigating how safe I could […]


2006-07-15 10:22:18   Struts: avoiding some common problems

A lot of what I do is web-applications, and the framework for serving up these web-applications that I’ve chosen to work with has been tomcat and struts: tomcat serves up the pages; struts organizes and controls the flow of the web-app. This essay is about struts, and how to avoid some of the pitfalls that […]


Object-oriented languages are well known, and are part of every college CS syllabus: object-oriented programming is, however, as rare as the penny black. This is a short(-ish) essay on the subtleties of the paradigm that tend to be overlooked in the speedy twelve-week OO programming course that gets thrown at college students.
Object-oriented programming: rarer […]