<?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>/tmp/santos &#187; nerd</title>
	<atom:link href="http://www.tmpsantos.com.br/category/nerd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tmpsantos.com.br</link>
	<description>Thiago Marcos P. Santos</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:33:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Arduino Uno + Ubuntu + CMake</title>
		<link>http://www.tmpsantos.com.br/en/2010/12/arduino-uno-ubuntu-cmake/</link>
		<comments>http://www.tmpsantos.com.br/en/2010/12/arduino-uno-ubuntu-cmake/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 12:26:12 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[buildsystem]]></category>
		<category><![CDATA[cmake]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=728</guid>
		<description><![CDATA[I&#8217;ve been playing with my brand new Arduino Uno since the beginning of this week on my Linux box. Unfortunately the Maverick (10.10) release of Ubuntu ships a version of Arduino SDK that is incompatible with Uno, looks like the package version was frozen days before the release of Uno hardware. So, the first thing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with my brand new Arduino Uno since the beginning of  this week on my Linux box. Unfortunately the Maverick (10.10) release of Ubuntu ships a version of  Arduino SDK that is <a href="https://bugs.launchpad.net/maverick-backports/+bug/666849">incompatible</a> with Uno, looks like the package version was frozen days before the release of Uno hardware. So, the first thing I had to do was update the SDK using <span style="text-decoration: line-through">unstable</span> packages from Natty (11.04). Just download and  manually upgrade the from the <a href="http://packages.ubunut.com/search?keywords=arduino&amp;searchon=names&amp;suite=natty&amp;section=all">Ubuntu website</a> (remember to upgrade both <strong>arduino</strong> and <strong>arduino-core</strong>).</p>
<p><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/12/arduino.jpeg"><img class="size-full wp-image-734 aligncenter" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/12/arduino.jpeg" alt="" width="225" height="225" /></a>The IDE is very user friendly to casual developers and allows to write simple programs without much effort. At the first glance might look like a non-standard C/C++, although the IDE magically adds some include headers and a simple main() calling your setup() and loop() routine when you click on the <strong>Upload</strong> button. Looks like there is no way to use multiples files in your project, which is OK for small sketches.</p>
<p style="text-align: left"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/12/arduino_ide.png"><img class="aligncenter size-medium wp-image-737" style="border: 10px solid white" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/12/arduino_ide-246x300.png" alt="Arduino IDE" width="246" height="300" /></a></p>
<p style="text-align: left">For those who want to develop things in the traditional way using the command line, I started a <a href="http://www.cmake.org/">CMake</a> template for Arduino Uno. The template was written in a such way that makes possible to add support for new devices by just creating a new device profile file. There is no restrictions of using this template on other Linux distributions (or even other OS, since CMake runs on Mac and Windows), but adaptations might be needed. Patches are always welcome. <img src='http://www.tmpsantos.com.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2 style="text-align: left">Using the Arduino CMake template</h2>
<p style="text-align: left">As pre-condition, you will need <strong>cmake</strong> package (duh!) and a compatible version of Arduino SDK (see Ubuntu Maverick x Uno issue above and how to fix). Only the <strong>arduino-core</strong> package is necessary for this setup.</p>
<p style="text-align: left">Download the latest version of the buildsystem template:</p>
<p style="text-align: left"><a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=arduino_cmake.git;a=snapshot;h=HEAD;sf=tgz">arduino_cmake.tar.gz</a></p>
<p style="text-align: left">This is a modified version of the classic <a href="http://www.arduino.cc/en/Tutorial/Blink">Blink example</a>, converted to a standard C/C++ (it&#8217;s really weird why the Arduino libraries are a mixture of C and C++ and not only C). This example is great because gives you visual feedback without attaching any component to the board, since there is a built-in LED on the board tied to pin 13. Because cmake it&#8217;s not a widely spread buildsystem (which is a shame for such a great tool), here are some basic instructions of how to build the project. Type this from the root of your project tree:</p>
<pre>$ mkdir build
$ cd build
$ cmake ..
$ make</pre>
<p style="text-align: left">You can either export the environment variable ARDUINO_PORT set to your device port or edit CMakeLists.txt and change the default value permanently. Mostly likely you don&#8217;t need to touch this if you are using Ubuntu Maverick and Arduino Uno combo.</p>
<p style="text-align: left">Two extra targets were added to the generated Makefile for your convenience:</p>
<ul>
<li><strong>make flash</strong> &#8211; Will flash your software to the device connected on ARDUINO_PORT.</li>
<li><strong>make reset</strong> &#8211; Restart your board (pretty much the same as the reset button on the board).</li>
</ul>
<h2>Bonus tip<strong> </strong></h2>
<p>My favorite debugging tool is printf(). The modified version of the Blink application in the template also contains some debug output. Use <strong>minicom</strong> to read the output from the terminal:</p>
<pre>$ minicom -b 115200 -D /dev/ttyACM0</pre>
<p>You need to exit from minicom before flash your device again. Do that by hitting CTRL+A and then X.</p>
<h2>Disclaimer<strong> </strong></h2>
<p>Of course that by following this tutorial and using my buildsystem template you can turn your device in a useless geek-looking paperweight. Use at your own risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2010/12/arduino-uno-ubuntu-cmake/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>qmake template</title>
		<link>http://www.tmpsantos.com.br/en/2010/08/qmake-template/</link>
		<comments>http://www.tmpsantos.com.br/en/2010/08/qmake-template/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 21:36:54 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[article]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[buildsystem]]></category>
		<category><![CDATA[qmake]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=687</guid>
		<description><![CDATA[Write a buildsystem is always the first step (and sometimes the most boring) when starting a new software project. Qt provides it&#8217;s own tool in order to make a single build tree work properly in all supported platforms: qmake. Instead of create a qmake structure from scratch for your brand new project, this template aims [...]]]></description>
			<content:encoded><![CDATA[<p>Write a buildsystem is always the first step (and sometimes the most boring) when starting a new software project. Qt provides it&#8217;s own tool in order to make a single build tree work properly in all supported platforms: qmake. Instead of create a qmake structure from scratch for your brand new project, this template aims to give you a solid base to rely upon, meeting some basic requirements:</p>
<p><strong>Shadow build</strong> &#8211; No dirty source tree anymore after compiling your code. Build your code inside your tree is optional, you just need to create a build directory and call your project&#8217;s configure script instead. There are many situations when this is specially necessary: building the same tree for different platforms or when you source code is located on a slow storage device (such as network drives and encrypted partitions).</p>
<p style="text-align: left;"><strong>Automated tests integration</strong> &#8211; Test driven development is being more common every day and has proven to be an important tool to detect regressions. This qmake template provides more then a simple way to run your tests (by typing &#8220;make check&#8221;), but a visual report of your tests coverage using <a href="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</a>.</p>
<div id="attachment_692" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/lcov.png"><img class="size-medium wp-image-692 " src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/lcov-300x212.png" alt="" width="300" height="212" /></a><p class="wp-caption-text">LCOV showing a unit test coverage</p></div>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><strong>Code documentation</strong> &#8211; Developers are mostly lazy when writing documents, but not if you provide a easy and beautiful way to check the results of good written code documentation. After hitting &#8220;make doc&#8221;, a HTML page is automatically generated gathering all information extracted from qdoc3 markups of your source files.</p>
<div id="attachment_699" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/doc.png"><img class="size-medium wp-image-699" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/doc-300x212.png" alt="" width="300" height="212" /></a><p class="wp-caption-text">Documentation extracted from Foobar class</p></div>
<p style="text-align: left;"><strong>Localization support</strong> &#8211; A modern buildsystem must provide a clever way of translators update the language files. We must remember that translators aren&#8217;t necessarily developers and they may not want to dig your code looking for translatable strings. This template provides integration with lupdate and lrelease i18n tools of Qt framework, creating all .ts files necessary to Qt Linguist.</p>
<div id="attachment_704" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/linguist.png"><img class="size-medium wp-image-704" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/linguist-300x207.png" alt="" width="300" height="207" /></a><p class="wp-caption-text">Use Qt Linguist to edit generated translation files</p></div>
<p style="text-align: left;"><strong>Debugging friendly</strong> &#8211; This is quite obvious: a build system must be able to generate a debug release. And you also don&#8217;t need to install your software (at least in a Linux box) in order to run a quick and dirty test, due to some tricky linker flags.</p>
<p style="text-align: left;"><strong>Packaging</strong> &#8211; Your software must be redistributable, so we added a Debian packaging example to this template to demonstrate how packable this buildsystem is, specially for Debian-based system. Does anyone want to contribute with the RPM packaging?</p>
<h2>Final considerations</h2>
<p>I haven&#8217;t made tests on others platforms but Linux. I&#8217;m pretty sure of unless you are using GCC, some features such as unit tests coverage report cannot be done with the current implementation. <img src='http://www.tmpsantos.com.br/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>The latest templete snapshot is available for download <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git;a=snapshot;h=HEAD;sf=tgz">here</a>. You can also browse the <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git">git repository</a>. Please remember: patches and suggestions are welcome.</p>
<p>More information about usage can be found at the <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git;a=blob;f=BUILD;hb=HEAD">BUILD</a> file in the git repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2010/08/qmake-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Mainstream Debian Packages</title>
		<link>http://www.tmpsantos.com.br/en/2009/05/qt-mainstream-debian-packages/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/05/qt-mainstream-debian-packages/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 02:26:31 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=427</guid>
		<description><![CDATA[For those who want to test a preview of  Qt 4.6 with it&#8217;s recently merged animation framework and state machine, I did some patches using the packages maintained by the Debian KDE team in order to build the Qt repository HEAD. I did only few tests with these packages and seems to work fine at [...]]]></description>
			<content:encoded><![CDATA[<p>For those who want to test a preview of  Qt 4.6 with it&#8217;s <a href="http://labs.trolltech.com/blogs/2009/05/25/animations-and-state-machine-apis-in-qtmaster/">recently merged</a> <a href="http://doc.trolltech.com/solutions/4/qtanimationframework/animation.html">animation framework</a> and <a href="http://doc.trolltech.com/solutions/4/qtanimationframework/statemachine-api.html">state machine</a>, I did some patches using the packages maintained by the <a href="http://pkg-kde.alioth.debian.org/">Debian KDE</a> team in order to build the Qt repository HEAD. I did only few tests with these packages and seems to work fine at this moment. You should note if you install the 4.6 packages, they will replace your system packages. It&#8217;s a completely reversible operation, but I must warn you that it may break some applications such as the whole KDE and Skype, because these packages were built from a unstable tree.</p>
<p>If you are brave enough, build your own pacakges with these patches.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/05/qt-mainstream-debian-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geek Pride Day</title>
		<link>http://www.tmpsantos.com.br/en/2009/05/geek-pride-day/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/05/geek-pride-day/#comments</comments>
		<pubDate>Mon, 25 May 2009 21:50:17 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[pt_br]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=325</guid>
		<description><![CDATA[Today is Geek Pride Day. I already received greetings from friends, girlfriend, relatives, etc. Two years ago I&#8217;ve made a test to find out my nerdness level. At that time my score was 55. If I remember correctly, I was a &#8220;Nerd Light&#8221; according to the test. Today, I did the test again to see [...]]]></description>
			<content:encoded><![CDATA[<p><p style="text-align: left">Today is <a href="http://en.wikipedia.org/wiki/Geek_Pride_Day">Geek Pride Day</a>. I already received greetings from friends, girlfriend, relatives, etc. Two years ago I&#8217;ve made a test to find out my nerdness level. At that time my score was 55. If I remember correctly, I was a &#8220;Nerd Light&#8221; according to the test. Today, I did the test again to see how I&#8217;m evolving.</p>
<p style="text-align: center"><a href="http://www.nerdtests.com/ft_nq.php"><img class="aligncenter" src="http://www.nerdtests.com/images/ft/nq/bfcfa5649e.gif" alt="I am nerdier than 91% of all people. Are you a nerd? Click here to take the Nerd Test, get geeky images and jokes, and talk on the nerd forum!" /></a></p>
<p style="text-align: left">By the way, I would like to congrats you, because if you are reading this blog, you probably is a nerd too.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/05/geek-pride-day/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Git and Gitweb on DreamHost</title>
		<link>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/#comments</comments>
		<pubDate>Tue, 19 May 2009 00:08:28 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[article]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=188</guid>
		<description><![CDATA[I&#8217;ve made a nice compilation in Brazilian Portuguese about Git installation on DreamHost. I don&#8217;t think that there is need to translate this material to English because we already have good references about this subject here: DreamHost Wiki Autopragmatic Craig Jolicoeur]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a nice compilation in Brazilian Portuguese about Git installation on DreamHost. I don&#8217;t think that there is need to translate this material to English because we already have good references about this subject here:</p>
<ul>
<li><a href="http://wiki.dreamhost.com/Git">DreamHost Wiki</a></li>
<li>Autopragmatic</li>
<li><a href="http://craigjolicoeur.com/blog/2008/04/hosting-git-repositories-on-dreamhost/">Craig Jolicoeur</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FISL 10: Expectations</title>
		<link>http://www.tmpsantos.com.br/en/2009/05/fisl-10-expectativas/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/05/fisl-10-expectativas/#comments</comments>
		<pubDate>Sat, 09 May 2009 15:58:11 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[fisl]]></category>
		<category><![CDATA[foss]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=139</guid>
		<description><![CDATA[I&#8217;ve nerver been to FISL, the International Free Software Forum that takes place in Porto Alegre. All my attempts to go were ruined by details, ever since 2002. This time everything is going fine, specially the prices of airplane tickets from Manaus to Porto Alegre, probably because the recent arrival of a new air company, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve nerver been to FISL, the International Free Software Forum that takes place in <a href="http://en.wikipedia.org/wiki/Porto_Alegre">Porto Alegre</a>. All my attempts to go were ruined by details, ever since 2002. This time everything is going fine, specially the prices of airplane tickets from Manaus to Porto Alegre, probably because the recent arrival of a new air company, which started it&#8217;s operations in Manaus in April &#8211; <a href="http://www.voeazul.com.br">Azul</a>, the airline, claims to be low cost and is selling tickets at half of the price of it&#8217;s competitors. <a href="http://www.indt.org.br/">INdT</a> (my contractor) also gave a hand releasing me from my daily duties at this time.</p>
<p>I&#8217;ve joined an excursion headed by <a href="http://blog.msoares.pro.br/?lang=pt">Milton</a>, composed mostly of my coworkers. There are special discounts for people in the group (in the registration fee): of 50% off.</p>
<p>I&#8217;m waiting for a well organized conference as this is this is 10th version. Ten years is enough time to learn from errors of previous conferences (I remember people complaining about long lines in the building entrance and slow Internet connection in previous versions).</p>
<p>From what I have heard is FISL is a conference with more philosophical discussion than technical stuff*. I don’t really like such an emphasis, not because it is not important but that it is usually boring. However I have seen very technical skilled people in the conference  special guests list, so this has given me hope that there will be some nice technical lectures.</p>
<p>With more than 3600 people registered, the event will be a good opportunity to see old friends and meet colleagues who I know only through e-mail and IRC.</p>
<p>*BTW <a href="http://www.bossaconference.indt.org/">BossaConference</a> is one the best places to discuss about technical things in Brazil.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/05/fisl-10-expectativas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FLISOL-AM</title>
		<link>http://www.tmpsantos.com.br/en/2009/04/flisol-amflisol-am/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/04/flisol-amflisol-am/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 07:01:08 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=94</guid>
		<description><![CDATA[As promised, I&#8217;ve made public everything presented in my workshop about D-Bus at FLISOL-AM. I would like to thanks everyone who came to the trainning.]]></description>
			<content:encoded><![CDATA[<p>As promised, I&#8217;ve made public <a href="http://www.tmpsantos.com.br/wp-content/uploads/2009/04/dbus-workshop.zip">everything</a> presented in my workshop about D-Bus at FLISOL-AM.</p>
<p>I would like to thanks everyone who came to the trainning.</p>
<div id="attachment_102" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/danielelias/3475316734/"><img class="size-full wp-image-102" src="http://www.tmpsantos.com.br/wp-content/uploads/2009/04/flisol.jpg" alt="D-Bus workshop (foto tirada de um celular)" width="500" height="375" /></a><p class="wp-caption-text">Picture of D-Bus workshop taken from Daniel Elias cellphone.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/04/flisol-amflisol-am/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VIM and C++</title>
		<link>http://www.tmpsantos.com.br/en/2009/04/vimandcpp/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/04/vimandcpp/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 01:12:23 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=71</guid>
		<description><![CDATA[Since I started programming using Qt, C++ is the main language in my day-by-day work. Some of my co-workers recently moved from VIM to QtCreator alleging the code auto-completion  (some may call this feature &#8220;intellisense&#8221;, if they are familiar to MS Visual Studio) in QtCreator is a killer feature. VIM extension Omni Completion can handle [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started programming using <a href="http://www.qtsoftware.com/">Qt</a>, C++ is the main language in my day-by-day work. Some of my co-workers recently moved from <a href="http://www.vim.org/">VIM</a> to <a href="http://qt.nokia.com/products/developer-tools/">QtCreator</a> alleging the code auto-completion  (some may call this feature &#8220;intellisense&#8221;, if they are familiar to MS Visual Studio) in QtCreator is a <em>killer</em> feature.</p>
<p>VIM extension Omni Completion can handle nicely the task when programming using C, but I&#8217;m not used to such &#8220;technology&#8221;: ctags + glancing headers files sounds fine to me, until now, when Qt and it&#8217;s classes with tons of attributes and methods came to my life. Today I was trying to remember a method name of a QSomething class and I had the brilliant idea to use VIM auto-completion. So disappointing, I just figured out that there is no native C++ support in Omni Completion.</p>
<p><a href="http://tinyurl.com/cjlev2">The Oracle</a> told me about a <a href="http://www.vim.org/scripts/script.php?script_id=1520">OmniCppComplete</a> add-on. It took me just few minutes to install and see how cool the plugin is. The automatic &#8220;suggestions pop-up&#8221; is annoying, but happily you can disable and use on-demand with the old and good ^X^O.</p>
<p>Of course there is nothing new here (first OmniCpp version dates from 2006), but you may be like me and be a bit afraid of waste time testing new VIM add-ons, because most of then are crappy hacks. Only few deserves the honor to be in my <strong>.vimrc</strong>. So, this is all about encouraging VIM users to give OmniCpp a try and be more <a href="http://www.moolenaar.net/habits.html">effective</a>.</p>
<div id="attachment_73" class="wp-caption aligncenter" style="width: 593px"><img class="size-full wp-image-73" src="http://www.tmpsantos.com.br/wp-content/uploads/2009/04/omnicppcomplete.png" alt="OmniCppComplete in action" width="583" height="400" /><p class="wp-caption-text">OmniCppComplete in action</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/04/vimandcpp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Widescreen x Fullscreen</title>
		<link>http://www.tmpsantos.com.br/en/2009/04/widescreen-x-fullscreen/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/04/widescreen-x-fullscreen/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 19:55:06 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[lost]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[widescreen]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=26</guid>
		<description><![CDATA[I remember a long time ago, a friend of mine called Ademar arguing in favor of widescreen video playback. He sent to me a lot of links with irrefutable proofs of widescreen superiority. After this I became a widescreen-fanboy as well. When I was a SKY (a Brazilian company of cable TV) subscriber, I was [...]]]></description>
			<content:encoded><![CDATA[<p>I remember a long time ago, a friend of mine called <a href="http://www.ademar.org">Ademar</a> arguing in favor of widescreen video playback. He sent to me a lot of links with irrefutable proofs of widescreen superiority. After this I became a widescreen-fanboy as well.</p>
<p>When I was a SKY (a Brazilian company of cable TV) subscriber, I was used to watch <a href="http://en.wikipedia.org/wiki/Lost_(TV_series)">Lost</a> in AXN channel, but when I saw some episodes previews in the Internet, I just figured out that AXN/Sky transmission of  Lost is fullscreen. My TV was doing zoom in the image, so it always looked to me like a 16:9 transmission (shame on me, at this time I didn&#8217;t care about image quality and TV setup like nowadays).</p>
<p>Now and after I must wait to buy a whole Lost season in stores. Here are some pictures of how the same Lost footage looks in my TV from <a href="http://br.axn.com/">AXN</a> Brazil (fullscreen) and <a href="http://www.ctv.ca">CTV</a> Canada (widescreen) broadcast.</p>
<div id="attachment_39" class="wp-caption aligncenter" style="width: 522px"><img class="size-full wp-image-39" src="http://www.tmpsantos.com.br/wp-content/uploads/2009/04/fullscreen.jpg" alt="&quot;Fullscreen sucks&quot; - as said by my friend Ademar" width="512" height="384" /><p class="wp-caption-text">&quot;Fullscreen sucks&quot; - as said by my friend Ademar</p></div>
<div id="attachment_40" class="wp-caption aligncenter" style="width: 522px"><img class="size-full wp-image-40" src="http://www.tmpsantos.com.br/wp-content/uploads/2009/04/widescreen.jpg" alt="Now you can see the &quot;extra actor&quot; on the left" width="512" height="384" /><p class="wp-caption-text">Now you can see the &quot;extra actor&quot; on the left</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/04/widescreen-x-fullscreen/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blog started!</title>
		<link>http://www.tmpsantos.com.br/en/2009/04/blog-started/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/04/blog-started/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:38:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[idle]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=3</guid>
		<description><![CDATA[The first thing to do when starting a new WordPress blog is activate Akismet spam filter. In my motorcycle blog, Akismet prevent me to read thousands gigas of garbage (in the time when this post was written, something about 28.000 comments). I decided to start blogging about this, because I&#8217;m curious about how many spam [...]]]></description>
			<content:encoded><![CDATA[<p>The first thing to do when starting a new <a href="http://wordpress.org">WordPress</a> blog is activate <a href="http://akismet.com/">Akismet</a> spam filter. In my <a href="http://www.rockpesado.com.br">motorcycle blog</a>, Akismet prevent me to read thousands gigas of garbage (in the time when this post was written, something about 28.000 comments). I decided to start blogging about this, because I&#8217;m curious about how many spam comments are going to be caught after a year of blog activity. This counter bellow is suppose to automatically increment on each spam caught:</p>
<style type="text/css">
#akismetwrap #aka,#aka:link,#aka:hover,#aka:visited,#aka:active{color:#fff;text-decoration:none}
#aka:hover{border:none;text-decoration:none}
#aka:hover #akismet1{display:none}
#aka:hover #akismet2,#akismet1{display:block}
#akismet2{display:none;padding-top:2px}
#akismeta{font-size:16px;font-weight:bold;line-height:18px;text-decoration:none}
#akismetcount{display:block;font:15px Verdana,Arial,Sans-Serif;font-weight:bold;text-decoration:none}
#akismetwrap #akismetstats{background:url(http://www.tmpsantos.com.br/wp-content/plugins/akismet/akismet.gif) no-repeat top left;border:none;color:#fff;font:11px 'Trebuchet MS','Myriad Pro',sans-serif;height:40px;line-height:100%;overflow:hidden;padding:8px 0 0;text-align:center;width:120px}
</style>
<div id="akismetwrap">
<div id="akismetstats"><a id="aka" href="http://akismet.com" title="">
<div id="akismet1"><span id="akismetcount">6,561</span> <span id="akismetsc">spam comments</span></div>
<div id="akismet2"><span id="akismetbb">blocked by</span><br /><span id="akismeta">Akismet</span></div>
<p></a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/04/blog-started/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

