<?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>Mac vriendelijke keybindings voor Emacs 22 Carbon</title>
      <link>http://blog.remvee.net/2008/10/11/Mac_vriendelijke_keybindings_voor_Emacs_22_Carbon</link>
      <description>&lt;p&gt;&lt;img src=&quot;http://blog.remvee.net/attachment/emacs-logo/Emacs.png&quot; class=&quot;right&quot; alt=&quot;&quot; /&gt; Na begin van het jaar van Textmate weer terug te zijn verhuist naar Vim, ben ik sinds een paar maanden weer helemaal in Emacs gedoken voor al mijn Ruby, &lt;a href=&quot;http://github.com/remvee/emacs-rails/&quot;&gt;Rails&lt;/a&gt;, &lt;a href=&quot;http://code.google.com/p/js2-mode/&quot;&gt;JavaScript&lt;/a&gt;, &lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;, &lt;a href=&quot;http://common-lisp.net/project/slime/&quot;&gt;Common Lisp&lt;/a&gt;, &lt;a href=&quot;http://www.emacswiki.org/emacs/TwIt&quot;&gt;Twitter&lt;/a&gt;, Latex en &lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/SimpleEmacsSpreadsheet&quot;&gt;Spreadsheet&lt;/a&gt; werk.  M&amp;#8217;n &lt;a href=&quot;http://blog.remvee.net/2008/05/02/ik_heb_mn_EEE&quot;&gt;&lt;span class=&quot;caps&quot;&gt;EEE&lt;/span&gt;&lt;/a&gt; heeft veel invloed gehad op deze stappen en nu is ook m&amp;#8217;n MacBook tot gastheer voor Emacs gemaakt.&lt;/p&gt;
&lt;p&gt;Emacs is alles en meer.  De langer je ermee werkt, de onhandiger en knulliger de ander applicaties op je computer lijken.  Daarnaast begin je als gebruiker steeds minder te begrijpen van de &lt;a href=&quot;http://en.wikipedia.org/wiki/Editor_war&quot;&gt;editor war&lt;/a&gt; want Emacs is toch helemaal geen editor?!&lt;/p&gt;
&lt;p&gt;Maar goed, deze afkeer tegen alles buiten Emacs heeft ook z&amp;#8217;n nadelen; uitstapjes van Emacs naar bijvoorbeeld een browser kunnen door sneltoets incompatibiliteit pijnlijk aflopen.  De versie die ik heb ge&amp;iuml;nstalleerd, is de &amp;#8220;carbon&amp;#8221; variant van &lt;a href=&quot;http://www.macports.org/&quot;&gt;MacPorts&lt;/a&gt;, een Emacs versie 22 welke netjes ge&amp;iuml;ntegreerd is met &lt;span class=&quot;caps&quot;&gt;OSX&lt;/span&gt;.  Er is echter een klein detail dat heel vervelend kan uitpakken; de Command-toets (appeltje) is gedefinieerd als de Meta-toets.&lt;/p&gt;
&lt;p&gt;In eerste instantie vond ik dat verschrikkelijk handig, m&amp;#8217;n vingers kunnen deze toets namelijk gemakkelijk vinden en het is daarom heel natuurlijk om de veel gebruikte Meta-x combinatie te maken.  Alleen is de standaard copie&amp;euml;ren combinatie van Emacs Meta-w..&lt;/p&gt;&lt;br /&gt;&lt;a href=&quot;http://blog.remvee.net/2008/10/11/Mac_vriendelijke_keybindings_voor_Emacs_22_Carbon#more&quot; class=&quot;more&quot;&gt;Lees verder &amp;rsaquo;&amp;rsaquo;&lt;/a&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Sat, 11 Oct 2008 09:02:00 +0200</pubDate>
    </item>
    <item>
      <title>MacFUSE uitgebracht</title>
      <link>http://blog.remvee.net/2007/01/17/MacFUSE_uitgebracht</link>
      <description>&lt;p&gt;Uit &amp;#8220;20 percent time&amp;#8221; van een Google werknemer is &lt;a href=&quot;http://code.google.com/p/macfuse/&quot;&gt;MacFUSE&lt;/a&gt; ontsproten!  &lt;a href=&quot;http://www.kernelthread.com/&quot;&gt;Amit Singh&lt;/a&gt; heeft de &lt;a href=&quot;http://www.freebsd.org/&quot;&gt;FreeBSD&lt;/a&gt; code van het &lt;a href=&quot;http://fuse.sourceforge.net/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;FUSE&lt;/span&gt;&lt;/a&gt; project geport naar &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt;  en nu kan er iedereen met zo&amp;#8217;n flitsende Mac computer ook zelf file systems maken!&lt;/p&gt;
&lt;p&gt;Hopelijk brengt dit weer wat aandacht naar het Ruby project &lt;a href=&quot;http://rubyforge.org/projects/fusefs/&quot;&gt;FuseFS&lt;/a&gt; en geeft MacFUSE iemand de inspiratie deze library te porten naar de &lt;span class=&quot;caps&quot;&gt;FUSE&lt;/span&gt; 2.5 &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; of hoger zodat ik met Ruby file systems kan bouwen.  Ik kan niet wachten tot ik met &lt;a href=&quot;http://redhanded.hobix.com/inspect/railsfsAfterACoupleMinutesOfToolingWithFuseWhoa.html&quot;&gt;RailsFS&lt;/a&gt; en &lt;a href=&quot;http://rubyforge.org/projects/s3fs/&quot;&gt;S3 FS&lt;/a&gt; kan spelen, buiten m&amp;#8217;n &lt;a href=&quot;http://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt; installatie in &lt;a href=&quot;http://www.parallels.com/&quot;&gt;Parallels&lt;/a&gt;.&lt;/p&gt;</description>
      <author>remco@remvee.net (Remco van 't Veer)</author>
      <pubDate>Wed, 17 Jan 2007 11:49:00 +0100</pubDate>
    </item>
  </channel>
</rss>
