EXIFR 0.10.6, security fix

Published at: 15.I.2008 09:13 CET
Categories: english, exifr, ruby, security

A specially crafted JPEG or TIFF image could force EXIFR in an endless loop. The problem is solved in release 0.10.6. If you are using EXIF Reader without having control over the images fed to it, upgrade as soon as possible.

Write a comment ››

EXIF Reader 0.10.5 goes 1.9

Published at: 28.XII.2007 12:21 CET
Categories: english, exifr, ruby

The recent Ruby 1.9 release adds a lot of new stuff but unfortunately some of the changes prevented EXIF Reader from working. A slight case-syntax change (colon being deprecated), String no longer being Enumerable and IO becoming more character aware, broke my code.

The new 0.10.5 release runs on both 1.8 and 1.9.

Write a comment ››

EXIFR 0.10.4

Published at: 4.XI.2007 15:33 CET
Categories: english, exifr, ruby

EXIF Reader includes the ability to read thumbnails from JPEG again. This feature disappeared from EXIFR when in rewrote most of it to support TIFF reading.

Write a comment ››

EXIFR 0.10.3

Published at: 23.X.2007 21:37 CET
Categories: english, exifr, ruby

I’ve released a new version of EXIF Reader. Just one small change; JPEG and TIFF objects can now be safely loaded and dumped from and to YAML. To get this to work I made a change to the orientation property; it returns an instance of Orientation now instead of a module. The returned object responds to the same methods as the module did so the upgrade should be painless.

Write a comment ››

ActiveForm plugin

Published at: 24.IX.2007 21:49 CET
Categories: active_form, english, plugin, rails
Comments: 2 pieces

Last week at RailsConf Europe I met some people who are using my ActiveForm code to make forms in their Rails sites. It’s about time to wrap it up as a plugin, so here it is.

From the README:
This plugin provides a base class for making forms with ActiveRecord validations without having a corresponding database table. You can use ActiveForm for:
  • making forms which don’t needed storage, like simple email forms
  • provide extra validations on existing ActiveRecord models
  • make forms for composite objects
Installation:
script/plugin install http://svn.remvee.net/plugins/active_form

I know, there already is a plugin called active_form but I don’t like it. It doesn’t provide a “real” AR object causing all kinds of things to not work (like ActiveRecordHelper#form and DateHelper#datetime_select for instance), it doesn’t include any tests and my version is a lot simpler (flog score 20 versus 74).

Why not change the name? I like it! If you can come up with something better, please leave a comment.

Reminder: JRuby talk tomorrow!

Published at: 18.XII.2006 10:44 CET
Categories: english, java, rails, ruby

Both JRuby super hero’s, Charles and Thomas, will be talking about JRuby tomorrow at Stroom Hotel in Rotterdam. Come and find out why having a Ruby interpreter on the Java platform is a “good thing”.

Registration seminar@finalist.com.

EXIFR 0.9.3

Published at: 1.VII.2006 11:28 CET
Categories: english, exifr, ruby

EXIFR 0.9.2

Published at: 30.V.2006 15:38 CET
Categories: english, exifr, ruby

I’ve released a new version of EXIF Reader between changing diapers;

  • bug fix; #4595 EXIFR::JPEG doesn’t support multiple comments, the comment property of a JPEG object now contains an array instead of a string when multiple COM frames are found
  • EXIF orientation modules including RMagick code to rotate to viewable state
  • access to thumbnail included in EXIF
  • simple commandline utility, “exifr”, to view image properties
  • overall code improvements including documentation and tests

Check it out:

gem install exifr

!Ruby.kind_of? Java

Published at: 25.XI.2005 12:52 CET
Categories: english, java, ruby

Fueled by a post by Danny. My take on the Java versus Ruby hype.

I am growing more and more tired of the comparison between Java and Ruby. They just don’t match.

Read more ››