September 29, 2006

Two boys fishing, as the skys cloud over in Old Chambly.
Comments Off
So I need to create the ability for a user to submit a form – and I would like to enable some sort of primitive security system. To that end, I need to work out a way to check IP addresses. All this while in PERL (it’s pretty damn simple in PHP and Ruby on Rails). Let’s see what I can find (hopefully..)
-edit-
Well that wasn’t so bad.
render_text request.env['REMOTE_HOST'].to_s
-edit-
So it turns out that this doesn’t always work. There is a better way to do so; try this.
render_text request.remote_ip().to_s
Comments Off
September 28, 2006
With all the idiocy going on in my life these days, I’ve been considering relocation. Unfortunately, Tofino and Ucluelet look to be “out” because frankly, they are charging way too much for what I would get (a few months of cloudy weather, with decent temperatures).
Out of curiousity I’ve been looking at Kuai’i in Hawaii. The problem is, as always, money. Canada taxes half of whatever I get (one way or another) so crop my salary in half. After that, spending 700$ on an apartment (let alone $1000) is insane. I could declare nonresidency and simply go from one place to another (Hawaii to Kobe to Islamabad to wherever).. That seems like the only thing I could do :/
Comments Off