<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Diego, el gnomo &#187; tip</title>
	<atom:link href="http://blogs.gnome.org/diegoe/tag/tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/diegoe</link>
	<description>Pisco Sour is GNOME's official cocktail</description>
	<lastBuildDate>Tue, 09 Aug 2011 10:59:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/pe/</creativeCommons:license>		<item>
		<title>Posting to pastebin from git</title>
		<link>http://blogs.gnome.org/diegoe/2010/02/11/posting-to-pastebin-from-git/</link>
		<comments>http://blogs.gnome.org/diegoe/2010/02/11/posting-to-pastebin-from-git/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 18:46:40 +0000</pubDate>
		<dc:creator>diegoe</dc:creator>
				<category><![CDATA[GNOME]]></category>
		<category><![CDATA[planetgnome]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[pastebin]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/diegoe/?p=178</guid>
		<description><![CDATA[I usually need to show someone a simple patch from a local git repo, my method was to run git format-patch and upload the result to my gnome.org userdir with a script conveniently called internets. This of course filled my userdir with garbage in the long run and also was a multiple step process. So [...]]]></description>
			<content:encoded><![CDATA[<p>I usually need to show someone a simple patch from a local git repo, my method was to run git format-patch and upload the result to my gnome.org userdir with a script conveniently called internets. This of course filled my userdir with garbage in the long run and also was a multiple step process.</p>
<p>So today, after a quick apt-cache search, I installed pastebinit, but then my problem was that there is no glue between this tool and git. Some googling took me to mentions of git-porcelains but I didn&#8217;t want to install that so I tried something simpler, a git alias.</p>
<p>I crafted this line for .gitconfig:<br />
<code>pastebinit = !sh -c 'git format-patch -1 –stdout $1 | pastebinit -f diff' -</code></p>
<p><b>Update:</b> Ray and Pablo shared some ideas in the comments, the alias is updated, thanks!.</p>
<p>That I can use like this:<br />
<code>git pastebinit [commit]</code></p>
<p>It runs and outputs the url of my new pastebin&#8217;d code <img src='http://blogs.gnome.org/diegoe/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':-)' class='wp-smiley' /> . I&#8217;m happy with it, but open to suggestions. Hope it&#8217;s useful for someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/diegoe/2010/02/11/posting-to-pastebin-from-git/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Slow X rendering with sis driver</title>
		<link>http://blogs.gnome.org/diegoe/2008/04/14/slow-x-rendering-with-sis-driver/</link>
		<comments>http://blogs.gnome.org/diegoe/2008/04/14/slow-x-rendering-with-sis-driver/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 21:44:43 +0000</pubDate>
		<dc:creator>diegoe</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[googleme]]></category>
		<category><![CDATA[sis]]></category>
		<category><![CDATA[sisfb]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/diegoe/2008/04/14/slow-x-rendering-with-sis-driver/</guid>
		<description><![CDATA[Everything slow when using X with the sis driver? Well, here it&#8217;s awfully slow, made me want to trash my old pc&#8230; but then I discovered this bug in Launchpad : lp #26637. Turns out that vesafb and vga16fb modules are responsible for this chaos. They seem to be stealing the memory managemen and hence [...]]]></description>
			<content:encoded><![CDATA[<p>Everything <strong>slow</strong> when using X with the sis driver? Well, here it&#8217;s awfully slow, made me want to trash my old pc&#8230; but then I discovered this bug in Launchpad : <a href='https://launchpad.net/bugs/26637' class='bug-link bug-link-lp'>lp #26637</a>.</p>
<p>Turns out that vesafb and vga16fb modules are responsible for this chaos. They seem to be stealing the memory managemen and hence making sis driver impossible to use due to it&#8217;s lack of descent performance.</p>
<p><em>What&#8217;s the fix?</em> <strong>Blacklist vesafb and vga16fb</strong> and add <em>sisfb</em> to <em>/etc/modules</em>. You can try to add video=sisfb in the boot line of the kernel (grub&#8217;s menu.lst) too.</p>
<p>Note that Fedora doesn&#8217;t have sisfb built and is forcing vesafb into the kernel for it&#8217;s graphical boot. Ubuntu is doing the same, but they also build sisfb as a module.</p>
<p>So if you are using Fedora, you are screwed unless you rebuild your kernel, if you are using Ubuntu or Debian, make sure vesafb is not loaded (nor vga16fb) and have sisfb loaded sometime before X starts.</p>
<p><em>How can you be sure it worked?</em> Grep /var/log/Xorg.0.log for &#8216;memcpy&#8217; and see if the MB/s rate is descent, you can try with and then without the sisfb module to check if it&#8217;s making a difference. Here it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/diegoe/2008/04/14/slow-x-rendering-with-sis-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/diegoe/tag/tip/feed/ ) in 0.19897 seconds, on Feb 11th, 2012 at 7:37 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 8:37 pm UTC -->
