Les Is More
Updated: April 2011
I've had some sort of website going for ages now.
First I had a Flash website, which was never completely finished before the source was lost, so now I can't finish it. Take a look, its quite pretty but hasn't changed since 2005. I had some great Genetic Algorithm stuff in there and I called it my "Home" page because I modeled the pages after the rooms in my house.
Later I started a MoinMoin wiki. Then I moved it to Instiki, then to Junebug. Many of these sites ran at home on my Mac Mini, but after the power failures in South Africa because government forgot to build new power stations, I decided I'd have to move servers. And while moving, I might as well move to a platform better suited to what I was doing: a blog engine.
I signed up at Blogger, because that was the easiest, but I soon realised that their nifty HTML editing website widget was a hindrance to moving my articles across. The HTML mode helped but I still ended up spending way too long formatting by hand. And the only option for code syntax highlighting seemed to be highlighting it with Maruku and pasting the resulting HTML into the blog, which was really painful.
So I tried Wordpress which was just as bad, and BlogSpirit. Then I tried Hobix but it seemed to have died. And then at last, Webby.
And look, I have Markdown! And syntax highlighting!
class Array # return this array with elements shuffled # def shuffle source = self.clone out = [] while !source.empty? out << source.delete_at(rand*source.length) end out end # drop random elements in the array to # produce a smaller (ordered) array of size n # def reduce(n) out = self.clone while out.length>n out.delete_at(rand*out.length) end out end end
I post much more current info about what's happening with me on my LiveJournal page. Sadly I am also on Facebook. I know, Facebook is not for contrarians, but Facebook helps me keep tabs on what my far flung friends and family are up to, so I go on now and then.
Yes I know, its all statically generated with a great Ruby program called Webby. If you want to comment or fix something, please email me! I may try a CMS again some day but for now Webby suits my purposes well and its easy to hack. As an example, guess who wrote the Date and Time catagorizer to the right there? Its only a few more lines of Ruby.
This is the website of Leslie Viljoen. I am a Disciple, Husband, Dad, Programmer, Gamer, Geek, Writer, Biker, Gardner. Perhaps even in that order. I currently live in Auckland, New Zealand.

In 2011 I moved to Auckland and began working for
TrifectaGIS, writing mostly Ruby and Rails code. I love my work!
Comments are welcome! Contact me AT gmail, using the
address "leslieviljoen".
2011
May
April
2008
May
February
2007
May
March
Darwin
Diabetes
Interactive Fiction
Meta
Ruby
Ubuntu