<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>RemVee.blog</title>
    <link>http://blog.remvee.net/</link>
    <description>RemVee.blog do { |item| item.mangle }</description>
    <item>
      <title>Installing CLSQL on OS X</title>
      <link>http://blog.remvee.net/2008/11/22/Installing_CLSQL_on_OS_X</link>
      <description>&lt;p&gt;Here&amp;#8217;s my recipe to get &lt;a href=&quot;http://clsql.b9.com/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt;&lt;/a&gt; to work on my OS X development environment.  I already had &lt;a href=&quot;http://www.sbcl.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;SBCL&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://www.mysql.org/&quot;&gt;MySQL 5&lt;/a&gt; installed using &lt;a href=&quot;http://www.macports.org/&quot;&gt;MacPorts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First you need to get the code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
git clone git://git.b9.com/clsql.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;MacPorts &lt;em&gt;hides&lt;/em&gt; the MySQL libraries and headers somewhere in &lt;code&gt;/opt&lt;/code&gt; so you need to make some tweaks.  Change &lt;code&gt;db-mysql/Makefile&lt;/code&gt;, by adding:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
-I/opt/local/include/mysql5/mysql
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to &lt;code&gt;CFLAGS&lt;/code&gt; (first appearance) and:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
-L/opt/local/lib/mysql5/mysql/
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to &lt;code&gt;LDFLAGS&lt;/code&gt; (also first appearance).  You&amp;#8217;re now ready to build the interface.  Run &lt;code&gt;make&lt;/code&gt; from the &lt;code&gt;clsql&lt;/code&gt; directory:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
make&lt;/pre&gt;&lt;p&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This should finish without errors.  Now you can install &lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt; with the rest of you &lt;a href=&quot;http://common-lisp.net/project/asdf/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;ASDF&lt;/span&gt;&lt;/a&gt; systems (I prefer to keep them in my home location):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
cp -rp clsql ~/.sbcl/site
(cd ~/.sbcl/system; ln -s ../site/clsql/*.asd .)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To allow &lt;span class=&quot;caps&quot;&gt;CLSQL&lt;/span&gt; to find the &lt;code&gt;mysqlclient&lt;/code&gt; library you need to create &lt;code&gt;/etc/clsql-init.lisp&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
echo '(clsql:push-library-path #p&quot;/opt/local/lib/mysql5/mysql/&quot;)' &amp;gt; /etc/clsql-init.lisp
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Finally you can run the included test suite to see if it all works fine.  Run the tests (my mysql root user doesn&amp;#8217;t have a password on my development machine) as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
mysqladmin5 create clsql-test
echo '((:mysql (&quot;localhost&quot; &quot;clsql-test&quot; &quot;root&quot; &quot;&quot;)))' &amp;gt; ~/.clsql-test.config
sbcl &amp;lt;&amp;lt; EOF
(require 'asdf)
(asdf:oos 'asdf:test-op :clsql)
EOF
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Not as easy as installing it on a Debian system (&lt;code&gt;apt-get install cl-sql&lt;/code&gt;) but not very hard either.&lt;/p&gt;
&lt;p&gt;Happy MySQL hacking with Common Lisp on OS X!&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sat, 22 Nov 2008 09:03:00 +0100</pubDate>
    </item>
    <item>
      <title>EXIFR 0.10.6, security fix</title>
      <link>http://blog.remvee.net/2008/01/15/EXIFR_0_10_6_security_fix</link>
      <description>&lt;p&gt;A specially crafted &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/JPEG.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JPEG&lt;/span&gt;&lt;/a&gt; or &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/TIFF.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;TIFF&lt;/span&gt;&lt;/a&gt; image could force &lt;a href=&quot;http://exifr.rubyforge.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EXIFR&lt;/span&gt;&lt;/a&gt; in an endless loop.  The problem is solved in &lt;a href=&quot;http://rubyforge.org/frs/shownotes.php?release_id=18112&quot;&gt;release 0.10.6&lt;/a&gt;.  If you are using &lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; Reader without having control over the images fed to it, upgrade as soon as possible.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Tue, 15 Jan 2008 00:13:00 +0100</pubDate>
    </item>
    <item>
      <title>EXIF Reader 0.10.5 goes 1.9</title>
      <link>http://blog.remvee.net/2007/12/28/EXIF_Reader_0_10_5_goes_1_9</link>
      <description>&lt;p&gt;The recent &lt;a href=&quot;http://www.ruby-lang.org/en/news/2007/12/25/ruby-1-9-0-released/&quot;&gt;Ruby 1.9 release&lt;/a&gt; adds a lot of &lt;a href=&quot;http://eigenclass.org/hiki/Changes+in+Ruby+1.9&quot;&gt;new stuff&lt;/a&gt; but unfortunately some of the changes prevented &lt;a href=&quot;http://exifr.rubyforge.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; Reader&lt;/a&gt; from working.  A slight &lt;a href=&quot;http://www.ruby-forum.com/topic/136155&quot;&gt;case-syntax change&lt;/a&gt; (colon being deprecated), &lt;code&gt;String&lt;/code&gt; no longer being &lt;a href=&quot;http://eigenclass.org/hiki/Changes+in+Ruby+1.9#l113&quot;&gt;Enumerable&lt;/a&gt; and &lt;code&gt;IO&lt;/code&gt; becoming &lt;a href=&quot;http://eigenclass.org/hiki/Changes+in+Ruby+1.9#l146&quot;&gt;more character aware&lt;/a&gt;, broke my code.&lt;/p&gt;
&lt;p&gt;The new &lt;a href=&quot;http://rubyforge.org/frs/shownotes.php?release_id=17457&quot;&gt;0.10.5 release&lt;/a&gt; runs on both 1.8 and 1.9.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Fri, 28 Dec 2007 03:21:00 +0100</pubDate>
    </item>
    <item>
      <title>EXIFR 0.10.4</title>
      <link>http://blog.remvee.net/2007/11/04/EXIFR_0_10_4</link>
      <description>&lt;p&gt;&lt;a href=&quot;http://exifr.rubyforge.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; Reader&lt;/a&gt; includes the ability to read thumbnails from &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/JPEG.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JPEG&lt;/span&gt;&lt;/a&gt; again.  This feature disappeared from &lt;span class=&quot;caps&quot;&gt;EXIFR&lt;/span&gt; when in rewrote most of it to support &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/TIFF.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;TIFF&lt;/span&gt;&lt;/a&gt; reading.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sun, 04 Nov 2007 06:33:00 +0100</pubDate>
    </item>
    <item>
      <title>EXIFR 0.10.3</title>
      <link>http://blog.remvee.net/2007/10/23/exifr_0_10_3</link>
      <description>&lt;p&gt;I&amp;#8217;ve released a new version of &lt;a href=&quot;http://exifr.rubyforge.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; Reader&lt;/a&gt;.  Just one small change; &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/JPEG.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JPEG&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/TIFF.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;TIFF&lt;/span&gt;&lt;/a&gt; objects can now be safely loaded and dumped from and to &lt;a href=&quot;http://yaml.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt;&lt;/a&gt;.  To get this to work I made a change to the orientation property; it returns an instance of &lt;a href=&quot;http://exifr.rubyforge.org/api/classes/EXIFR/TIFF/Orientation.html&quot;&gt;Orientation&lt;/a&gt; now instead of a module.  The returned object responds to the same methods as the module did so the upgrade should be painless.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Tue, 23 Oct 2007 12:37:00 +0200</pubDate>
    </item>
    <item>
      <title>ActiveForm plugin</title>
      <link>http://blog.remvee.net/2007/09/24/ActiveForm_plugin</link>
      <description>&lt;p&gt;Last week at &lt;a href=&quot;http://www.railsconfeurope.com/&quot;&gt;RailsConf Europe&lt;/a&gt; I met some people who are using my &lt;a href=&quot;http://blog.remvee.net/2006/04/26/vluchtige_ActiveRecord_objecten&quot;&gt;ActiveForm&lt;/a&gt; code to make forms in their Rails sites.  It&amp;#8217;s about time to wrap it up as a plugin, so here it is.&lt;/p&gt;
&lt;p&gt;From the &lt;a href=&quot;http://svn.remvee.net/plugins/active_form/README&quot;&gt;&lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt;&lt;/a&gt;:&lt;br /&gt;
&lt;blockquote&gt;&lt;/p&gt;
&lt;p&gt;This plugin provides a base class for making forms with ActiveRecord validations without having a corresponding database table.  You can use ActiveForm for:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;making forms which don&amp;#8217;t needed storage, like simple email forms&lt;/li&gt;
	&lt;li&gt;provide extra validations on existing ActiveRecord models&lt;/li&gt;
	&lt;li&gt;make forms for composite objects&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Installation:&lt;/p&gt;
&lt;pre&gt;script/plugin install http://svn.remvee.net/plugins/active_form&lt;/pre&gt;
&lt;p&gt;I know, there already is a plugin called &lt;a href=&quot;http://www.realityforge.org/svn/code/active-form/trunk/&quot;&gt;active_form&lt;/a&gt; but I don&amp;#8217;t like it.  It doesn&amp;#8217;t provide a &amp;#8220;real&amp;#8221; AR object causing all kinds of things to not work (like &lt;code&gt;ActiveRecordHelper#form&lt;/code&gt; and &lt;code&gt;DateHelper#datetime_select&lt;/code&gt; for instance), it doesn&amp;#8217;t include any tests and my version is a lot simpler (&lt;a href=&quot;http://ruby.sadi.st/&quot;&gt;flog&lt;/a&gt; score 20 versus 74).&lt;/p&gt;
&lt;p&gt;Why not change the name?  I like it!  If you can come up with something better, please leave a comment.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Mon, 24 Sep 2007 12:49:00 +0200</pubDate>
    </item>
    <item>
      <title>Reminder: JRuby talk tomorrow!</title>
      <link>http://blog.remvee.net/2006/12/18/Reminder_JRuby_talk_tomorrow</link>
      <description>&lt;p&gt;&lt;img src=&quot;http://blog.remvee.net/attachment/jruby-rotterdam/jruby.png&quot; style=&quot;float:left; margin: 5px;&quot; alt=&quot;&quot; /&gt; Both &lt;a href=&quot;http://jruby.codehaus.org/&quot;&gt;JRuby&lt;/a&gt; super hero&amp;#8217;s, &lt;a href=&quot;http://headius.blogspot.com/&quot;&gt;Charles&lt;/a&gt; and &lt;a href=&quot;http://www.bloglines.com/blog/ThomasEEnebo&quot;&gt;Thomas&lt;/a&gt;, will be talking about JRuby tomorrow at &lt;a href=&quot;http://www.stroomrotterdam.nl/&quot;&gt;Stroom Hotel&lt;/a&gt; in Rotterdam.   Come and find out why having a Ruby interpreter on the Java platform is a &amp;#8220;good thing&amp;#8221;.&lt;/p&gt;
&lt;p&gt;Registration &lt;a href=&quot;mailto:seminar@finalist.com&quot;&gt;seminar@finalist.com&lt;/a&gt;.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Mon, 18 Dec 2006 01:44:00 +0100</pubDate>
    </item>
    <item>
      <title>EXIFR 0.9.3</title>
      <link>http://blog.remvee.net/2006/07/01/EXIFR_0_9_3</link>
      <description>&lt;ul&gt;
	&lt;li&gt;bug fix; &lt;a href=&quot;http://rubyforge.org/tracker/index.php?func=detail&amp;amp;aid=4876&amp;amp;group_id=1572&amp;amp;atid=6130&quot;&gt;#4876 Unable to extract gpsinfo&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;one-off bug in TiffHeader found and fixed&lt;/li&gt;
	&lt;li&gt;access to InteroperabilityIndex&lt;/li&gt;
&lt;/ul&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sat, 01 Jul 2006 02:28:00 +0200</pubDate>
    </item>
    <item>
      <title>EXIFR 0.9.2</title>
      <link>http://blog.remvee.net/2006/05/30/EXIFR_0_9_2</link>
      <description>&lt;p&gt;&lt;img src=&quot;http://blog.remvee.net/attachment/verschonen/verschonen.jpg&quot; align=&quot;right&quot; style=&quot;margin: 0 0 8px 8px&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve released a new version of &lt;a href=&quot;http://rubyforge.org/projects/exifr/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; Reader&lt;/a&gt; between changing diapers;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;bug fix; &lt;a href=&quot;http://rubyforge.org/tracker/index.php?func=detail&amp;amp;aid=4595&amp;amp;group_id=1572&amp;amp;atid=6130&quot;&gt;#4595 &lt;span class=&quot;caps&quot;&gt;EXIFR&lt;/span&gt;::&lt;span class=&quot;caps&quot;&gt;JPEG&lt;/span&gt; doesn&amp;#8217;t support multiple comments&lt;/a&gt;, the&lt;br /&gt;
  comment property of a &lt;span class=&quot;caps&quot;&gt;JPEG&lt;/span&gt; object now contains an array instead of a string&lt;br /&gt;
  when multiple &lt;span class=&quot;caps&quot;&gt;COM&lt;/span&gt; frames are found&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt; orientation modules including RMagick code to rotate to viewable state&lt;/li&gt;
	&lt;li&gt;access to thumbnail included in &lt;span class=&quot;caps&quot;&gt;EXIF&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;simple commandline utility, &amp;#8220;exifr&amp;#8221;, to view image properties&lt;/li&gt;
	&lt;li&gt;overall code improvements including documentation and tests&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Check it out:&lt;/p&gt;
&lt;pre&gt;gem install exifr&lt;/pre&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Tue, 30 May 2006 06:38:00 +0200</pubDate>
    </item>
    <item>
      <title>!Ruby.kind_of? Java</title>
      <link>http://blog.remvee.net/2005/11/25/Ruby_kind_of_Java</link>
      <description>&lt;p&gt;Fueled by a &lt;a href=&quot;http://www.blog.dannynet.net/archives/14&quot;&gt;post by Danny&lt;/a&gt;.  My take on the Java versus Ruby hype.&lt;/p&gt;
&lt;p&gt;I am growing more and more tired of the comparison between Java and Ruby. They just don&amp;#8217;t match.&lt;/p&gt;&lt;br /&gt;&lt;a href=&quot;http://blog.remvee.net/2005/11/25/Ruby_kind_of_Java#more&quot; class=&quot;more&quot;&gt;Read more &amp;rsaquo;&amp;rsaquo;&lt;/a&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Fri, 25 Nov 2005 03:52:00 +0100</pubDate>
    </item>
  </channel>
</rss>
