<?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>Idle Hacking &#187; extensions</title>
	<atom:link href="http://www.idle-hacking.com/tag/extensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idle-hacking.com</link>
	<description>Ruby, XUL/Javascript, C/C++, and more...</description>
	<lastBuildDate>Tue, 11 May 2010 02:15:22 +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>bsdiff/bspatch ruby extension</title>
		<link>http://www.idle-hacking.com/2009/05/bsdiffbspatch-ruby-extension/</link>
		<comments>http://www.idle-hacking.com/2009/05/bsdiffbspatch-ruby-extension/#comments</comments>
		<pubDate>Sun, 24 May 2009 15:37:02 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[bsdiff]]></category>
		<category><![CDATA[bspatch]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=662</guid>
		<description><![CDATA[bsdiff and bspatch are great little tools for creating patches of binary files. I used them for the updater in SimoHealth and I believe firefox and chromium use them to deliver application updates. I&#8217;m thinking they may be very useful for backups and archiving.   I extracted out the bsdiff and bspatch binaries into an easy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.daemonology.net/bsdiff/">bsdiff and bspatch</a> are great little tools for creating patches of binary files.  I used them for the updater in SimoHealth and I believe firefox and chromium use them to deliver application updates.  I&#8217;m thinking they may be very useful for backups and archiving.   I extracted out the bsdiff and bspatch binaries into an <a href="http://github.com/taf2/rb-bsdiff/tree/master">easy to use ruby interface</a>.    For now the ruby interface is exactly the same interface as the command line counterparts meaning all patching and diffing is done via files.  E.g.</p>
<pre lang="bash">
bsdiff oldfile newfile patchfile
</pre>
<p>in ruby would be:</p>
<pre lang="ruby">
BSDiff.diff('oldfilepath', 'newfilepath', 'patchfilepath')
</pre>
<p>and patching would be:</p>
<pre lang="bash">
bspatch oldfile newfile patchfile
</pre>
<p>in ruby would be:</p>
<pre lang='ruby'>
BSDiff.patch('oldfilepath', 'newfilepath', 'patchfilepath')
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/05/bsdiffbspatch-ruby-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
