Blog them all

Fabien Penso’s blog

Archive for November, 2005

New pictures: Myanmar

leave a comment

I’ve thought about it for months, I’ve dreamed about it for even longer. I’ve made it, I bought a film scanner! I can now spend days to digitalize my films from my previous trip.

Just a taste, you can see some pictures taken during a travel to Myanmar. See “my flickr set for it”:http://www.flickr.com/photos/penso/sets/1401242/.

Written by Fabien Penso

November 20th, 2005 at 2:31 am

Posted in photography,travel

Remote disk project

leave a comment

You want to use remote disk space through webdav, because you need to store files or anything else.

Well why not use “rdisk”:http://rdisk.net/ then ? :) “rdisk”:http://rdisk.net is a way to get “remote disk”:http://rdisk.net/ through “webdav”:http://rdisk.net/. It’s not online yet, but expect that to happen within the next weeks.

The website will run “rails”:http://www.rubyonrails.org/, obviously.

Written by Fabien Penso

November 17th, 2005 at 3:05 pm

Posted in computer

Rails, Apache on front, lighttpd behind

leave a comment

I needed to use Apache on front because its mod_gzip plugin works pretty well and is efficient. Lighttpd doesn’t compress anything that ain’t static pages.

If you use that mode, rails will see requests coming from 127.0.0.1 and will keep displaying Routing error and not 404 pages even in production mode (rails does that for local request by default).

You’ll want to switch that off with the following piece of code. Paste it into the application_controller.rb file :


module ActionController
  module Rescue
    def local_request?
      false
    end
  end
end

And voilà, you have your usual 404 errors :)

Written by Fabien Penso

November 15th, 2005 at 11:48 pm

Posted in rails

rails and the authentification generator

leave a comment

I’ve released a new version of my “auth generator for rails”:http://penso.info/code/auth_generator.

It should now work fine with 0.14.X. Please submit me any ideas, feedbacks, things you’d like to be included in such a generator.

Written by Fabien Penso

November 12th, 2005 at 11:55 am

Posted in rails

Oswd is dead

leave a comment

The website “oswd”:http://www.oswd.org/ is dead for weeks now, and I feel like it won’t be back soon. Looks like someone needs to rewrite a similar one using “recent technology”:http://www.rubyonrails.org/ with ajax and stuff. So where will you now fetch your HTML templates some nice designers did for you ? :)

Update: oswd is back online with a new design. Looks like a split happened between the owner and the main developer, who moved the database and the website to “this website”:http://www.openwebdesign.org/.

I now use rails 0.14.X on my outgoing projects, much faster implementation on specific parts of the code. Go for it!

Written by Fabien Penso

November 8th, 2005 at 4:42 pm

Posted in computer