<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>H3RALD: Announcement: RedBook v0.5.0 released</title>
    <link>http://www.h3rald.com/blog/redbook-050-released</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Fabio Cevasco's Writings</description>
    <item>
      <title>Announcement: RedBook v0.5.0 released</title>
      <description>&lt;p&gt;This new beta release of RedBook introduces quite a few changes when it comes to configuration and setup. Here&amp;#8217;s some highlights&amp;#8230;&lt;/p&gt;


	&lt;h3&gt;Regexp changes&lt;/h3&gt;


	&lt;p&gt;It is now necessary to enter &amp;#8220;proper&amp;#8221; regular expressions for &lt;code&gt;:select&lt;/code&gt;. Proper means between slashes, like the following:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;/Work Day/&lt;/li&gt;
		&lt;li&gt;/mail/i&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I changed this in order to support case-insensitive searches using the &lt;code&gt;i&lt;/code&gt; switch. This makes queries much more powerful.&lt;/p&gt;


	&lt;h3&gt;Variables&lt;/h3&gt;


	&lt;p&gt;A new, interesting feature I decided to introduce in this release is &lt;em&gt;variables&lt;/em&gt;. For now you define them inside your rbconfig.yml file, like this:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;:var_monday_morning: &amp;quot;monday at 8 am&amp;quot;

:var_friday_evening: &amp;quot;friday at 8 pm&amp;quot;

:var_week_report: &amp;quot;:select :duration :from :%monday_morning :to :%friday_evening&amp;quot; &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;In this way, every time you type in :%week_report in RedBook, it will expand to: &lt;code&gt;:select :duration :from monday at 8 am :to friday at 8 pm&lt;/code&gt;. By the way, completion is supported, so you&amp;#8217;ll only have to type in something like &lt;code&gt;:%we&lt;/code&gt; and hit &lt;tab&gt;.&lt;/p&gt;


	&lt;p&gt;It is possible to define variables as &lt;code&gt;:var_&amp;lt;something&amp;gt;&lt;/code&gt; in the rbconfig.yml file and then used them inside RedBook as &lt;code&gt;:%&amp;lt;something&amp;gt;&lt;/code&gt;.&lt;/p&gt;


	&lt;h3&gt;New Operations&lt;/h3&gt;


	&lt;p&gt;Five new operations have been added:&lt;/p&gt;


	&lt;h4&gt;:blank&lt;/h4&gt;


	&lt;p&gt;This will blank your current log after asking you if you really want to do so.&lt;/p&gt;


	&lt;h4&gt;:restore&lt;/h4&gt;


	&lt;p&gt;This operation will overwrite your current log with the last saved backup. Like with the &lt;code&gt;:blank&lt;/code&gt; operation, you&amp;#8217;re asked if you really want to proceed or not.&lt;/p&gt;


	&lt;h4&gt;:archive&lt;/h4&gt;


	&lt;p&gt;By typing &lt;code&gt;:archive&lt;/code&gt;, the current log file will be archived to your &lt;code&gt;:archives_folder:&lt;/code&gt; directory specified in the rbconfig.yml file (similarly, it is now possible to specify a :backups_folder: for your logs&amp;#8217; backup files).&lt;/p&gt;


	&lt;h4&gt;:dataset&lt;/h4&gt;


	&lt;p&gt;A simple operation to display the messages inthe current dataset.&lt;/p&gt;


	&lt;h4&gt;:dump&lt;/h4&gt;


	&lt;p&gt;This operation will dump the output of the last &lt;code&gt;:select&lt;/code&gt; operation to a text file. Useful for saving the average, total time and duration of a set of activities.&lt;/p&gt;


	&lt;h3&gt;Portable edition&lt;/h3&gt;


	&lt;p&gt;Some Windows users will definitely love this. I finally found an easy way to run RedBook confined within the current directory, by using a simple &lt;code&gt;start.bat&lt;/code&gt; batch file to set the &lt;span&gt;&lt;span class="caps"&gt;INPUTRC&lt;/span&gt;&lt;/span&gt; and &lt;span&gt;&lt;span class="caps"&gt;HOME&lt;/span&gt;&lt;/span&gt; variables temporarily to the path to the .inputrc file and the directory of RedBook executable. This makes RedBook 100% portable and suitable to be used on &lt;span class="caps"&gt;USB&lt;/span&gt; sticks &amp;#38;similar.&lt;/p&gt;


	&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;a href="http://redbook.googlecode.com/files/RedBook-0.5_Win32-portable.zip"&gt;Get RedBook Portable&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;h3&gt;New Development Page&lt;/h3&gt;


	&lt;p&gt;I decided to move the primary RedBook repository from &lt;a href="http://www.assembla.org"&gt;Assembla&lt;/a&gt; to Google Code. Why? Well, nothing wrong with Assembla per se, I still think it&amp;#8217;s an excellent free service to host your public &lt;em&gt;and private&lt;/em&gt; projects, but Google Code is faster and offers only the features I need:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Public &lt;span class="caps"&gt;SVN&lt;/span&gt; repository access&lt;/li&gt;
		&lt;li&gt;Simple-to-use issue tracker&lt;/li&gt;
		&lt;li&gt;Very nicely developed downloads section, with download counts, and &amp;#8220;normal&amp;#8221; filenames.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;So here&amp;#8217;s the new RedBook Development Home:&lt;/p&gt;


	&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;a href="http://code.google.com/p/redbook/"&gt;http://code.google.com/p/redbook/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Additionally I also setup a &lt;a href="http://groups.google.com/group/redbook-support/"&gt;RedBook Support Google Group&lt;/a&gt;, so if you have any question concerning the program, you know where to go!&lt;/p&gt;</description>
      <pubDate>Sun, 16 Dec 2007 08:07:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e1a7f2c4-2e24-4e6c-b8f2-4deed6504804</guid>
      <author>h3rald</author>
      <link>http://www.h3rald.com/blog/redbook-050-released</link>
      <category>Blog</category>
      <category>OpenSource</category>
      <category>productivity</category>
      <category>redbook</category>
      <category>ruby</category>
      <trackback:ping>http://www.h3rald.com/trackback/entries/145</trackback:ping>
    </item>
  </channel>
</rss>
