<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DEV_MEM.dump_to(:blog) - Multimedia systems blog</title>
	<atom:link href="http://blog.mmediasys.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mmediasys.com</link>
	<description>Compartiendo fragmentos de código con el mundo.</description>
	<lastBuildDate>Wed, 18 Aug 2010 21:58:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Exciting times for RubyInstaller project</title>
		<link>http://blog.mmediasys.com/2010/08/07/exciting-times-for-rubyinstaller-project/</link>
		<comments>http://blog.mmediasys.com/2010/08/07/exciting-times-for-rubyinstaller-project/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 21:56:14 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=359</guid>
		<description><![CDATA[Hello! I would like to summarize in this blog post what has been going on with RubyInstaller project and what is coming up. On a previous post I mentioned we reached RubyInstaller goal of provide a stable installer and a series of tools to ease the life of Ruby developers using Windows. Of course, perfection [...]]]></description>
			<content:encoded><![CDATA[<p>Hello!</p>
<p>I would like to summarize in this blog post what has been going on with RubyInstaller project and what is coming up.</p>
<p><span id="more-359"></span></p>
<p>On a <a href="http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/">previous post</a> I mentioned we reached RubyInstaller goal of provide a stable installer and a series of tools to ease the life of Ruby developers using Windows.</p>
<p>Of course, perfection is a myth, and is good to know that you can always improve what you did before.</p>
<p>But, where to start?</p>
<h3>Development Kit as installer</h3>
<p>We start looking to what users said on Twitter, our <a href="http://groups.google.com/group/rubyinstaller">group</a> and of course the bug tracker. We noticed one of the big problems: the Development Kit and complicated instructions.</p>
<p>As you might know already, Windows do not come with development tools out of the box. Even more, if you opt for Microsoft ones (Visual Studio) you might end having issues with <span class="caps">GNU </span>tools or projects that do not support <span class="caps">MSVC </span>very good.</p>
<p>We took the approach of using Free Software, and base our work on <span class="caps">GCC </span>and <a href="http://mingw.org/">MinGW</a> project which made more easy for us redistribute things ready for you to use.</p>
<p>A proper DevKit installer is under works, at this time a 7z and self extracting packages can be generated, but the installer will do more stuff, which you find more about it in our group.</p>
<h3>Upgrading to <span class="caps">GCC</span> 4.5.0</h3>
<p>One of the reasons we moved from Visual C 6.0 to <span class="caps">GCC </span>was that the compiler was no longer available (and also cost money). Now, it is time to move to a newer version of <span class="caps">GCC, </span>to take advantage of specific optimization flags and improved debugger (GDB).</p>
<p>All the components which lack <span class="caps">GCC </span>binaries for Windows are built from source for RubyInstaller project.</p>
<p><del datetime="2010-08-18T21:56:41+00:00">You can checkout <a href="http://github.com/oneclick/rubyinstaller/tree/use-devkit">use-devkit</a> branch at GitHub<br />
</del> use-devkit branch has been merged into master.</p>
<p>This proved two important things: our DevKit is able to compile out of the box some projects without tweaks, and two, we are eating our own food.</p>
<h3>Getting ready for Ruby 1.9.2</h3>
<p>Yes, Ruby 1.9.2 final is coming out soon, and we can say RubyInstaller provided a rc2 for experimentation 2 months ago, and we are building newer packages for further testing.</p>
<p>We hope be able to deliver RubyInstaller 1.9.2 binaries as soon 1.9.2 gets out.</p>
<h3>We still need you, and your feedback</h3>
<p>Please keep in mind all the <a href="http://rubyinstaller.org/about/contributors">contributors</a> are doing all this work in their free time.</p>
<p>Help is always welcome and appreciated. There is not a specific set of skills required, just the willingness to help.</p>
<p>Feedback is important too, and will love hear from your experiences using RubyInstaller, no matter how weird or Rails-related is the thing you&#8217;re working on.</p>
<p>That&#8217;s all, as I said, exciting stuff coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/08/07/exciting-times-for-rubyinstaller-project/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Final RubyInstaller packages out, what is next?</title>
		<link>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/</link>
		<comments>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:37:00 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=349</guid>
		<description><![CDATA[Hello, I missed blogging this, not because was not important, but because right now, I&#8217;m attending RailsConf in Baltimore. RubyInstaller packages released. Last details of RubyInstaller installers itself was sorted out a month ago, but was holding the release because wanted to be 100% sure nothing else breaks. I should have known better, you can [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, I missed blogging this, not because was not important, but because right now, I&#8217;m attending <a href="http://en.oreilly.com/rails2010">RailsConf</a> in Baltimore.</p>
<p><span id="more-349"></span></p>
<h3>RubyInstaller packages released.</h3>
<p>Last details of RubyInstaller <em>installers</em> itself was sorted out a month ago, but was holding the release because wanted to be 100% sure nothing else breaks. I should have known better, you can never be 100% sure, so decided to stop stalling and release the final versions.</p>
<p>You can find the installers or 7-zip packages at our website in the download section:</p>
<p>http://rubyinstaller.org/</p>
<p>Which <span class="caps">BTW, </span>sports the new design from the pledgie, do you like it? (Sure I do) <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>What to expect?</h3>
<p>RubyInstaller team worked providing installers that works seamlessly across different versions of Windows, environments and a bunch of wacky requirements.</p>
<p>A few points:</p>
<ul>
<li>Releases for newer version of Ruby will be delivered more often, really.</li>
<li>You can install RubyInstaller as normal user without requiring administrative rights (good for lock-down computers).</li>
<li>Installer do not mess with your system or other Ruby installations</li>
<li>You can safely uninstall it and your gems or customizations will be kept <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>It is extremely fast to install</li>
<li>It is easy to embed in other installers (silent installation mode).</li>
</ul>
<h3>But that&#8217;s not all!</h3>
<p>Indeed, more stuff is published to RubyForge now: <a href="http://rubyforge.org/projects/rubyinstaller/">Experimental</a></p>
<p>Experimental will be the section dedicated to preview or beta version of Ruby. Right now you can find newer 1.9.2-preview3 version, just released a few weeks ago. Ideally, once it hits final, we will provide installers.</p>
<p>In the mean time, you can experiment with it and help Ruby community improve it&#8217;s support for Windows.</p>
<p>Please report any Ruby bug from it to <a href="http://redmine.ruby-lang.org/projects/show/ruby-19">Ruby Redmine</a> bug tracker.</p>
<h3>What is next?</h3>
<p>We haven&#8217;t defined a Roadmap for the installers yet. The next target in the queue is 1.9.3, which is been worked in a separate branch since it requires newer libraries been build.</p>
<p>You can checkout this at <a href="http://github.com/oneclick/rubyinstaller/tree/libyaml">our repository</a></p>
<h3>Thank you!</h3>
<p>Last but not least I personally want to thank all the developers and users that provided feedback about the installer, the building recipes and helped out with support details at the group.</p>
<p>Without <a href="http://github.com/oneclick/rubyinstaller/blob/master/CONTRIBUTORS">them</a> nothing could have been possible!</p>
<h3>Feedback or questions?</h3>
<p>Just join us at <a href="http://groups.google.com/group/rubyinstaller">RubyInstaller</a> group and we will happily answer them <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win32console 1.3.0.beta2 released</title>
		<link>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/</link>
		<comments>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:27:50 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=337</guid>
		<description><![CDATA[I&#8217;ve just released a second beta of win32console gem. What&#8217;s new? Only two new things: STDERR is now redirected (wasn&#8217;t before) and the addition of ECHO on/off functionality thanks to Justin Love How to install? You can read previous post with installation instructions, since it is a prerelease, please test it and report me any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a second beta of win32console gem.</p>
<h3>What&#8217;s new?</h3>
<p>Only two new things: <code>STDERR</code> is now redirected (wasn&#8217;t before) and the addition of <code>ECHO</code> on/off functionality thanks to <a href="http://github.com/jloveces">Justin Love</a></p>
<h3>How to install?</h3>
<p>You can read <a href="http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/">previous post</a> with installation instructions, since it is a prerelease, please test it and report me any new issue <a href="http://github.com/luislavena/win32console/issues">here</a></p>
<h3>Known Issues</h3>
<p>AutoSpec is known to have problems, but is not an issue of win32console, as you can read in <a href="http://github.com/luislavena/win32console/issues#issue/3">GH-3</a></p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mongrel_service 0.4.beta3 released</title>
		<link>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/</link>
		<comments>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 14:15:26 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=334</guid>
		<description><![CDATA[This is a followup to my previous post I&#8217;ve pushed to RubyGems a version 0.4.beta3, you can access it from here What&#8217;s new? Bugsfixes, thanks to sinclair that fixed a couple of regressions due the refactoring and removal of win32-service dependency. Please read the previous post about install and usage instructions. Thank you.]]></description>
			<content:encoded><![CDATA[<p>This is a followup to <a href="http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released">my previous post</a></p>
<p>I&#8217;ve pushed to <a href="http://rubygems.org/">RubyGems</a> a version <strong>0.4.beta3</strong>, you can access it from <a href="http://rubygems.org/gems/mongrel_service/versions/0.4.beta3">here</a></p>
<h3>What&#8217;s new?</h3>
<p>Bugsfixes, thanks to <a href="http://github.com/sinclair">sinclair</a> that fixed a couple of regressions due the refactoring and removal of win32-service dependency.</p>
<p>Please read the previous post about install and usage instructions. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mongrel_service 0.4.beta2 released</title>
		<link>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/</link>
		<comments>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:15:08 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=326</guid>
		<description><![CDATA[I think nobody expected this project hit the 4 years mark&#8230; guess I didn&#8217;t expected it either! I just pushed to official gem repositories (Gemcutter) the newer version of mongrel_service What&#8217;s new? A few outstanding bugs has been fixed. A few patches from Daniel Gies and papillon and other stuff: Removed win32-service dependency Since win32-service [...]]]></description>
			<content:encoded><![CDATA[<p>I think nobody expected this project hit the 4 years mark&#8230; guess I didn&#8217;t expected it either!</p>
<p><span id="more-326"></span></p>
<p>I just <a href="http://gemcutter.org/gems/mongrel_service/versions/0.4.beta2">pushed</a> to official gem repositories (Gemcutter) the newer version of <a href="http://github.com/fauna/mongrel_service">mongrel_service</a></p>
<h3>What&#8217;s new?</h3>
<p>A few outstanding bugs has been fixed. A few patches from Daniel Gies and <a href="http://github.com/papillon">papillon</a> and other stuff:</p>
<h4>Removed win32-service dependency</h4>
<p>Since win32-service used <acronym title="Structured Exception Handling">SEH</acronym>, something only present in Visual C, newer builds of Ruby made with <span class="caps">GCC </span>cannot use it.</p>
<p>This change will make possible to depend on even less external stuff.</p>
<p><em>Remember</em>: you still need administrative privileges to install or remove Windows Services.</p>
<h4>Mongrel log files are written to the path specified by &#8211;log option</h4>
<p>Yes, log files used to be written all in Ruby bin folder, this has now changed, thanks to Daniel Gies contribution.</p>
<p>This will happen automatically with the upgraded exectuable.</p>
<h4>Workaround Windows 2008 process detection</h4>
<p>It is now possible execute the service on any account besides <code>LocalSystem</code>. Contribution by Daniel Gies and papillon.</p>
<h4>Wait longer for child process terminate properly</h4>
<p>There are times some pending database connections are slow. With this change these will terminate smoothly now.</p>
<h4>Nitty gritty</h4>
<p>I took the time to cleanup the repository, folder structure and build process to make it more easy update this project in the future. Thanks <a href="http://seattlerb.rubyforge.org/hoe/">Hoe</a> and <em>my own experience</em> working with Rake.</p>
<h3>How to install it?</h3>
<p>Since this is a prerelease gem, you need to indicate the option during gem installation:</p>
<p><code>gem install mongrel_service --prerelease</code></p>
<p>Once installed, you can now install new services.</p>
<p>If you already have a service installed for your application, you will need to remove it and install it again for it to update the executable and adjust the service registry information.</p>
<p>The expected commands are <code>mongrel_rails service::remove --name MyService</code> and after issue <code>mongrel_rails service::install --name MyService ...</code></p>
<h3>Report bugs</h3>
<p>If you find any problem with this newer build, please use GitHub <a href="http://github.com/fauna/mongrel_service/issues">issues</a> since current Mongrel tracker is full of spam.</p>
<p>Please include <code>servicefb.log</code>, <code>mongrel_service.log</code> and <code>mongrel.log</code> generated when attempts to start or stop the service failed.</p>
<h3>When to expect a final release</h3>
<p>If no serious bug appears, expect a final 0.4 release next weekend.</p>
<p>Thanks all for the contributions and happy new year!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>To require or not require rubygems in your applications or libraries</title>
		<link>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/</link>
		<comments>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 22:57:20 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=323</guid>
		<description><![CDATA[NOTE Undusting this post as better response to a conversation in Tweeter, with tenderlove and nickseiger Nick commented out here that Ryan Tomayko post is correct. Well, kind of, sorta&#8230; not entirely correct. Mandatory warning Take the following statements with a grain of objectivity without pondering how much bits and bytes a packaging solution like [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span class="caps">NOTE</span></strong> Undusting this post as better response to a <em>conversation</em> in Tweeter, with <a href="http://twitter.com/tenderlove">tenderlove</a> and <a href="http://twitter.com/nicksieger">nickseiger</a> </p>
<p><span id="more-323"></span></p>
<p>Nick commented out <a href="http://twitter.com/nicksieger/status/7209501582">here</a> that Ryan Tomayko <a href="http://tomayko.com/writings/require-rubygems-antipattern">post</a> is correct.</p>
<p>Well, kind of, sorta&#8230; not entirely correct.</p>
<h3>Mandatory warning</h3>
<p>Take the following statements with a grain of <em>objectivity</em> without pondering how much bits and bytes a packaging solution like RubyGems adds to your scenario.</p>
<p>Now, let me present this with a story (I love stories)</p>
<h3>Creating my application or library</h3>
<p>I had an excellent idea for a new library we needed here at the office. This library will provide a client-side <span class="caps">OOP </span>access to a remote webservice we use daily.</p>
<p>After investigation of my remote webservice <span class="caps">API </span>and structure and exploration of existing <span class="caps">HTTP</span>/REST like interfaces, I decided that would be best to invest my time in leverage the low-level <span class="caps">HTTP </span>complexity to an existing library published by another developer.</p>
<h3>Filling the gaps and start working</h3>
<p>Started creating my library (called <em>Foo</em>) and based the internals calls on what was published for <em>Bar</em> at that time (let&#8217;s say was version 1)</p>
<p>So far, everything is great. Everything works great on my computer.</p>
<h3>Time to share</h3>
<p>It has been 2 weeks since I created this library and we internally wanted to use in another project.</p>
<p>This time, my colleague check out my library repository and try to use the library.</p>
<p>He realizes that <em>Bar</em> is required and is not present in his environment, which leads him to start a gem installation process.</p>
<p>He succeed installing <em>Bar</em> version 2, as is the latest available version by the developer of it, but my library no longer works with it, since there are several <span class="caps">API </span>changes.</p>
<p>Spotting that issue can be simple, but now think the following: I&#8217;ve used <a href="http://hellorip.com/">Rip</a> instead of Rubygems, and Rip uses repositories directly, not packaged versions.</p>
<p>So now, <em>Foo</em> is not only version specific, but <em>commit specific</em> since the developer of <em>Bar</em> could have changed <span class="caps">API </span>between commits to finalize or stabilize it.</p>
<p>Even worse could be that I used <code>setup.rb</code> that was part of <em>Bar</em> and installed inside my Ruby installation, which then will make complicated to figure out which version I used to implement <em>Foo</em></p>
<h3>But what if&#8230;</h3>
<ul>
<li>Usage of Git submodules for my dependencies&#8230; if I&#8217;m using Git at all.</li>
<li>Gemify my library, which then will lead to negative comments from others about me imposing a packaging system on them.</li>
<li>Do not release or share my library at all. Problem solved.</li>
</ul>
<p>Add to that, that even if I released my library as a gem or not, there is no way to determine the usage of my <em>Foo</em> from Joe&#8217;s <em>Foo</em> variation. Something I raised about GitHub gem forks and commented out <a href="http://drnicwilliams.com/2009/11/04/hacking-someones-gem-with-github-and-gemcutter/">here</a></p>
<p>So, try all the approaches, get your own conclusions, but don&#8217;t say that the way I implement something is flawed. That is plain subjective.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>win32console 1.3.0 prerelease</title>
		<link>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/</link>
		<comments>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 23:16:53 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=319</guid>
		<description><![CDATA[I mentioned in previous post that I was working in a updated version of win32console. So, just pushed to Gemcutter the prerelease version (_beta1_) so you guys can test with your current Cucumber/RSpec scenarios. How to install prerelease versions? All the RubyGems 1.3.x series sport the feature to prerelease gem installations. I recommend update to [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned in <a href="http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/">previous post</a> that I was working in a updated version of win32console.</p>
<p>So, just pushed to Gemcutter the prerelease version (_beta1_) so you guys can test with your current Cucumber/RSpec scenarios.</p>
<h3>How to install prerelease versions?</h3>
<p>All the RubyGems 1.3.x series sport the feature to prerelease gem installations. I recommend <a href="http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/">update to RubyGems 1.3.5 first</a> in case you haven&#8217;t already, and proceed to install the gem:</p>
<p><code>gem install win32console --prerelease</code></p>
<p>The process will install version <code>1.3.0.beta1</code>, which will be automatically available to any <code>require</code> done by Cucumber or RSpec.</p>
<h3>What changed on this release?</h3>
<p>As I mentioned before, there are a couple of changes required to support 1.9. On this release, I got rid of hardcoded translation tables used to convert codepages from input/output consoles.</p>
<h3>How this affects me?</h3>
<p>It will only affect you if you use accented characters in the output. If you do, then you should verify that your console codepage supports them. There is more information in the Cucumber wiki <a href="http://wiki.github.com/aslakhellesoy/cucumber/troubleshooting">troubleshooting page</a></p>
<p>Now that text is sent transparently to the output, you have the control to feed the stream with different encodings and ensuring the output matches the console codepage.</p>
<p>A working example of this is located <a href="http://gist.github.com/265593">here</a></p>
<p>Please test it out so a formal 1.3.0 release can be done the upcoming days.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>win32console upcoming changes and feedback</title>
		<link>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/</link>
		<comments>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 04:23:39 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=314</guid>
		<description><![CDATA[For the ones not aware of, win32console (originally here, gemified here) is a project that provides ANSI coloring for Windows. Yeah, Windows doesn&#8217;t do ANSI coloring like any POSIX terminal, and it has it&#8217;s own API with extended control of the console functionality. UPDATE: Please see this post for the beta1 release of new win32console. [...]]]></description>
			<content:encoded><![CDATA[<p>For the ones not aware of, win32console (originally <a href="http://rubyforge.org/projects/win32console">here</a>, gemified <a href="http://rubyforge.org/projects/winconsole">here</a>) is a project that provides <span class="caps">ANSI </span>coloring for Windows.</p>
<p>Yeah, Windows doesn&#8217;t do <span class="caps">ANSI </span>coloring like any <span class="caps">POSIX </span>terminal, and it has it&#8217;s own <span class="caps">API </span>with extended control of the console functionality.</p>
<p><span id="more-314"></span></p>
<p><strong><span class="caps">UPDATE</span>:</strong> Please see <a href="http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/">this post</a> for the beta1 release of new win32console.</p>
<p>So, I took over the project long ago, since required a couple of fixed. You could find the code <a href="http://github.com/luislavena/win32console">here</a> at GitHub</p>
<p>I must say that my backyard and house is getting crowded. Lot of small Open Source projects that require attention and some of those that require some special care, like this case.</p>
<p>What do I mean by this?</p>
<p>win32console do more than just fancy colors, it also translates the current console page back and forth using some clever but not portable character extrapolation&#8230;</p>
<p>Now, Ruby 1.9 doesn&#8217;t like you do that, not at all.</p>
<p>So wonder, what if I just get rid of that? How much of win32console features are being used beyond the <span class="caps">ANSI </span>coloring?</p>
<p>I just verified that tweak work with cucumber in 1.8 and 1.9, but dunno other user cases.</p>
<p>Want to know all that, since I&#8217;m creating a much simpler solution that uses <a href="http://github.com/ffi/ffi"><span class="caps">FFI</span></a> and will provide colors for both <span class="caps">MRI </span>and JRuby, no extension compilation and will deprecate the need of win32console.</p>
<p>What do you think? Please let me know your thoughts in the comments.</p>
<p>Thank you <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>rake-compiler: safe list of Ruby versions that can be cross-compiled</title>
		<link>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/</link>
		<comments>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 06:00:12 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=307</guid>
		<description><![CDATA[Seems that I&#8217;m going to suffer a series of bug reports in the upcoming weeks due continious changes between patchlevels of Ruby. To give some background, for the fresh ones just arriving to the blog. rake-compiler provides, besides C/Java extension standardization structure, the ability to cross-compile versions of Ruby to allow developers on Linux/OSX build [...]]]></description>
			<content:encoded><![CDATA[<p>Seems that I&#8217;m going to suffer a series of bug reports in the upcoming weeks due continious changes between patchlevels of Ruby.</p>
<p>To give some background, for the fresh ones just arriving to the blog. <a href="http://github.com/luislavena/rake-compiler">rake-compiler</a> provides, besides C/Java extension standardization structure, the ability to cross-compile versions of Ruby to allow developers on Linux/OSX build and release gems for users running Windows.</p>
<p>Seems that latest patchlevels of Ruby 1.8.7 (172) and 1.9.1 (376) cannot be cross compiled.</p>
<p>I&#8217;ve reported that to Ruby&#8217;s bug tracker under issues <a href="http://redmine.ruby-lang.org/issues/show/2464">#2464</a> and <a href="http://redmine.ruby-lang.org/issues/show/2484">#2484</a></p>
<p>From what you can read there, there is a clear change in the rules about what is the minimum Ruby version that can be used to cross compile (known as <code>BASERUBY</code>)</p>
<p>Now, being pointed to the <a href="http://redmine.ruby-lang.org/wiki/ruby/DeveloperHowto">Developer&#8217;s Howto</a> page, and checking the history and time, it is clear the note about the limitation is <em>really fresh</em></p>
<p>The funny thing is that I still can cross compile 1.9.2dev using 1.8.6! Which is contrary to what the recently edited howto states!</p>
<p>Don&#8217;t get me wrong, I have no personal issue besides being annoyed, and that will require put some lock in <code>cross-ruby</code> compilation to avoid bug reports about something that is beyond my control.</p>
<p>So, with the goal of making this public and have a link to include in my canned response to people reporting bugs about it, the following is the list of versions and patchlevels of Ruby that I know works and aim to support in relation to bug fixes of rake-compiler itself:</p>
<table>
<tr>
<th>Version</th>
<th>Patchlevel</th>
<th>supported?</th>
<th>Command</th>
</tr>
<tr>
<td>1.8.6</td>
<td>287</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby</code></td>
</tr>
<tr>
<td>1.8.6</td>
<td>383</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.8.6-p383</code></td>
</tr>
<tr>
<td>1.8.6</td>
<td>398</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.8.6-p398</code></td>
</tr>
<tr>
<td>1.8.7</td>
<td>72</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>173</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>249</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>299</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.1</td>
<td>243</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.9.1-p243</code></td>
</tr>
<tr>
<td>1.9.1</td>
<td>376</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.1</td>
<td>378</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.2</td>
<td>trunk</td>
<td>Yes</td>
<td>(that is true up to revision 26108)</td>
</tr>
</table>
<p>Tricky list, even switching the version of Ruby to match the one desired to be installed, it doesn&#8217;t work (reported as <a href="http://redmine.ruby-lang.org/issues/show/2485">#2485</a>, I&#8217;m very persistent).</p>
<p>So, apologies to anyone having issues with this: I&#8217;m having the same ones here.</p>
<p><strong>Update:</strong> Added 1.8.7-p299 to the list of <em>no compatible</em></p>
<p><strong>Update 2:</strong> Added 1.8.6-p398 to the list of <em>compatibles</em> and 1.8.7 still is not cross-compilable, sorry. 1.9.1-p378 is not cross-compilable either.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new in rake-compiler 0.7.0</title>
		<link>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/</link>
		<comments>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 16:00:36 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=303</guid>
		<description><![CDATA[An hour ago I released version 0.7.0 of rake-compiler. See the announcement at RubyInstaller mailing list (CC to Ruby-Talk too, just in case) JRuby This new version includes an amazing contribution by Alex Coles that allow compilation and packaging of JRuby extensions and gems! Yes, it is now possible, under JRuby, to compile JRuby gems [...]]]></description>
			<content:encoded><![CDATA[<p>An hour ago I released version 0.7.0 of rake-compiler. See the announcement at <a href="http://groups.google.com/group/rubyinstaller/browse_thread/thread/4d7648346949a7b0">RubyInstaller mailing list</a> (CC to Ruby-Talk too, just in case)</p>
<h3>JRuby</h3>
<p>This new version includes an amazing contribution by <a href="http://alexbcoles.com/">Alex Coles</a> that allow compilation and packaging of JRuby extensions and gems!</p>
<p>Yes, it is now possible, under JRuby, to compile JRuby gems that bundle <code>jar</code> files with the extensions.</p>
<p>Even more, with proper tools and a valid JRuby installation, you can even compile extensions from your current 1.8 or 1.9 <span class="caps">MRI </span>installation!</p>
<p>Please take a look in the <a href="http://github.com/luislavena/rake-compiler/blob/master/README.rdoc"><span class="caps">README.</span>rdoc</a> file for more details</p>
<h3>Rubinius?</h3>
<p>I couldn&#8217;t test it myself, but seems that rake-compiler got bundled in latest <span class="caps">RC1 </span>of Rubinius. See it for yourself <a href="http://github.com/evanphx/rubinius/tree/master/preinstalled-gems/data/cache">here</a></p>
<p>Thanks to Rubinius support for Ruby C <span class="caps">API </span>and huge reverse engineered <code>mkmf</code>, rake-compiler should work for most of the extensions. Will check that statement later.</p>
<p>So, resistance is futile&#8230; the next implementations to be assimilated are MacRuby and MagLev, wanna help me out on that? <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>What&#8217;s next?</h3>
<p>At the time I started with rake-compiler, none of the cool tools like <a href="http://github.com/vertiginous/pik">Pik</a> or <a href="http://rvm.beginrescueend.com/">rvm</a> existed.</p>
<p>Because of that, the only way possible to generate fat binaries (mentioned before <a href="http://blog.mmediasys.com/2009/05/31/beta-test-rake-compiler-fat-binaries-functionality-implemented/">here</a>) was cross-compiling.</p>
<p>Now that is easy to switch Ruby versions and implementations, it will be possible to implement changes to generate native fat-binaries on any platform.</p>
<p>This functionality is planned, but not <span class="caps">ETA </span>yet. Want to help? <a href="http://github.com/luislavena/rake-compiler">Fork</a> the project on GitHub and start right now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
