<?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>esdrasbeleza.com</title>
	<atom:link href="http://www.esdrasbeleza.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esdrasbeleza.com</link>
	<description>Só mais um blog do WordPress</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:14:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The first tips you&#8217;ll need before start programming for Symbian using Qt</title>
		<link>http://www.esdrasbeleza.com/2012/01/13/the-first-tips-youll-need-before-start-programming-for-symbian-using-qt/</link>
		<comments>http://www.esdrasbeleza.com/2012/01/13/the-first-tips-youll-need-before-start-programming-for-symbian-using-qt/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 03:08:48 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mobile phones]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=313</guid>
		<description><![CDATA[Last weekend I made my first Qt/Symbian mobile application. It was a very simple project, and its only purpose was to learn how to program for Symbian platform. I made a small application to search information about movies in TheMovieDb, and its source code is available at my github profile. A Qt/Symbian app is something very [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I made my first Qt/Symbian mobile application. It was a very simple project, and its only purpose was to learn how to program for Symbian platform. I made a small application to search information about movies in <a href="http://www.themoviedb.org/">TheMovieDb</a>, and <a href="https://github.com/esdrasbeleza/BlzMovies">its source code is available at my github profile</a>.</p>
<p>A Qt/Symbian app is something very close to a normal Qt-based application for desktop, but there are some little differences that can make you confused and some tips you may need, here are my advices for some pitfalls I&#8217;ve found.</p>
<h2>Instead of showing widgets, add them to a QStackedWidget</h2>
<p><em>(that&#8217;s the best solution I&#8217;ve found, but it seems to have other solutions)</em></p>
<p>In desktop Qt, you create a new <em>QWidget</em> and call <em>show()</em> to create a new window containing that widget. <strong>This won&#8217;t work with Symbian</strong>. When you do that, all you&#8217;ll get is a small, transparent widget at the corner of your screen.</p>
<p>The solution is to get the <a href="http://developer.qt.nokia.com/doc/qt-4.8/qmainwindow.html">QMainWindow</a> of your application, add a <a href="http://developer.qt.nokia.com/doc/qt-4.8/qstackedwidget.html">QStackedWidget</a> as its central widget and add your new widgets into this QStackedWidget.</p>
<p><img class="aligncenter size-medium wp-image-314" title="How to design your widget stack" src="http://www.esdrasbeleza.com/wp-content/uploads/2012/01/qstackwidget-symbian-300x300.png" alt="" width="300" height="300" /></p>
<p>Every new widget must be added to QStackedWidget. It sounds painful, but Qt documentation <strong>tells us that when a widget is added to a QStackedWidget, the QStackedWidget becomes its parent</strong>.</p>
<p>When you create the first widget and add it to the stack, <strong>our QStackedWidget becomes its parent</strong>. So, to create a second widget and add it to the stack, you create your new widget as you do normally and asks the parent of the first widget – the QStackWidget! – to add it to the stack.</p>
<pre class="brush: cpp; title: ; notranslate">
// Create your widget
QWidget *someWidget = new QWidget(parent());

// Get the reference to our QStackedWidget casting the widget parent
QStackedWidget *stackedWidget = (QStackedWidget*) parent();

// Add the widget
stackedWidget-&gt;addWidget(someWidget);
stackedWidget-&gt;setCurrentWidget(someWidget);
</pre>
<h2>Creating menus and associating to positive and negative buttons</h2>
<p>Nokia cell phones, even the cheaper ones, have options associated to the <em>positive</em> and <em>negative</em> buttons. Take a look on this picture of an old N70:</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-318" title="Nokia N70" src="http://www.esdrasbeleza.com/wp-content/uploads/2012/01/n70-160x300.jpg" alt="" width="160" height="300" /></p>
<p style="text-align: left;">In the picture above, the <em>positive</em> action is <strong>Options</strong>, the <em>negative</em> option is <strong>Back</strong>. Creating options like these for your widget is quite simple.</p>
<p style="text-align: left;">In your widget&#8217;s source code, put the following lines in your constructor. Behold the lines where we use <em>setSoftKeyRole </em>to associate the action to a key. In my example, I have a &#8220;Back&#8221; shortcut and a &#8220;Details&#8221; shortcut, that access some slots.</p>
<pre class="brush: cpp; title: ; notranslate">
// Register the negative action
QAction *backToMainScreenAction = new QAction(&quot;Back&quot;, this);
backToMainScreenAction-&gt;setSoftKeyRole(QAction::NegativeSoftKey);
connect(backToMainScreenAction, SIGNAL(triggered()), SLOT(removeWidget()));
addAction(backToMainScreenAction);

// Register the negative action
QAction *selectResultAction = new QAction(&quot;Details&quot;, this);
selectResultAction-&gt;setSoftKeyRole(QAction::PositiveSoftKey);
connect(selectResultAction, SIGNAL(triggered()), SLOT(showDetailsAboutTheCurrentItem()));
addAction(selectResultAction);
</pre>
<p>This code will register the action of each widget. But to make the options show in the screen, we must make the widget&#8217;s container – the <strong>QStackedWidget</strong>! – register these actions in the menu every time the widget is created. I put the following lines in the same file where&#8217;s my main window containing the QStackedWidget. First we create the following slot:</p>
<pre class="brush: cpp; title: ; notranslate">
// This is a slot!
void MainWindow::updateActions() {
    QWidget *currentWidget = stackedWidget-&gt;currentWidget();
    menuBar()-&gt;clear();
    menuBar()-&gt;addActions(currentWidget-&gt;actions());
}
</pre>
<p>In the class&#8217;s constructor, we connect the stacked widget&#8217;s signals that are emmited when a widget is added or removed to the slot above:</p>
<pre class="brush: cpp; title: ; notranslate">
connect(stackedWidget, SIGNAL(currentChanged(int)), SLOT(updateActions()));
connect(stackedWidget, SIGNAL(widgetRemoved(int)), SLOT(updateActions()));
</pre>
<h2>Don&#8217;t believe the Nokia simulator</h2>
<p><strong>It&#8217;s still experimental.</strong> Sometimes you may think you made a mistake and have a bug, but you don&#8217;t. The simulator sometimes is confused with menus and soft buttons. If you get lost with your code and can&#8217;t find the causes of some obscure bug, try your application with a real device.</p>
<h2>Good luck with the Remote Compiler</h2>
<p><strong>It&#8217;s still experimental too.</strong> When I tried to use it, I got some short error messages whose source I couldn&#8217;t discover. So, if you don&#8217;t use Windows (like me), prepare a virtual machine running Qt SDK on Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2012/01/13/the-first-tips-youll-need-before-start-programming-for-symbian-using-qt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Automator to make your life with Transmission easier</title>
		<link>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/</link>
		<comments>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 19:50:49 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=294</guid>
		<description><![CDATA[I have two computers: a Macbook with Snow Leopard, that sometimes I carry with me, and a computer at home with an Atom processor and running Linux that is my media server and downloader. If I need to download something that will take too much time, I put this second computer to download: it has [...]]]></description>
			<content:encoded><![CDATA[<p>I have two computers: a Macbook with Snow Leopard, that sometimes I carry with me, and a computer at home with an Atom processor and running Linux that is my media server and downloader. If I need to download something that will take too much time, I put this second computer to download: it has a good connection and it&#8217;s always online.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/transmission.jpg"><img class="aligncenter size-medium wp-image-295" title="Transmission web interface" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/transmission-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>It has Transmission running with its great web interface activated. If I need to download some torrent file, I open its web interface and upload the .torrent file. Good, but&#8230; it could be easier.</p>
<p>If you download torrent files very often, the easiest way is to use the watch-dir feature from Transmission: every torrent that you put at some directory is automatically downloaded by Transmission. So, all I needed to do was copying the torrent files from my Macbook to my home server, using SFTP.</p>
<p>To configure your Transmission watch-dir, you must stop the Transmission service (I&#8217;m running the transmission-daemon version) and edit the <strong>settings.json</strong> file, inserting the following settings:</p>
<pre class="brush: jscript; title: ; notranslate">
&quot;watch-dir&quot;: &quot;/home/mediaserver/transmission/watch&quot;,
&quot;watch-dir-enabled&quot;: true
</pre>
<p>Remember: you must stop Transmission service, edit the file and start it again!</p>
<p>It works, but&#8230; <strong>It can be even easier</strong>, I thought. And I remembered of <strong>Automator</strong>, a good piece of software that comes with Snow Leopard, and that I knew but never used before.</p>
<p><img class="aligncenter size-full wp-image-299" title="Automator Icon" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Automator_Icon.png" alt="" width="297" height="297" /></p>
<p>The idea was: <em>every time a new .torrent file is written at my laptop&#8217;s download directory, it should be copied to my home server</em>.</p>
<p>So I opened Automator and created a new <strong>Folder Action:</strong></p>
<p><strong></strong><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Screen-shot-2011-07-09-at-16.24.05.png"><img class="aligncenter size-medium wp-image-300" title="Folder action" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Screen-shot-2011-07-09-at-16.24.05-300x278.png" alt="" width="300" height="278" /></a></p>
<p>At the top of the new workflow, I selected my Downloads folder:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-301" title="Select folder" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/select_folder.png" alt="" width="467" height="36" /></p>
<p style="text-align: left;"> The next step in our flow is to create a script to copy our files via SSH to the computer that&#8217;s running Transmission. Use <strong>Utilities -&gt; Run Shell Script</strong> to make it:</p>
<p style="text-align: center;"><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/run_script.png"><img class="aligncenter size-full wp-image-302" style="border: 1px solid black;" title="Run Shell Script" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/run_script.png" alt="" width="380" height="506" /></a></p>
<p style="text-align: left;">Now add the following content as the script&#8217;s source code. To make it work automatically, <a title="SSH without password!" href="http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/" target="_blank">I allow my SSH server to receive connections using keys, not passwords</a>. Don&#8217;t forget to change the scp&#8217;s destination to your computer&#8217;s host and directory:</p>
<pre class="brush: bash; title: ; notranslate">
for f in &quot;$@&quot;
do
	ext=`basename &quot;$f&quot; | awk -F &quot;.&quot; '{ print $NF }'`
	if [ &quot;$ext&quot; == &quot;torrent&quot; ]; then
		scp &quot;$f&quot; root@myhostname.asdf.com:/home/transmission/watch
	fi
done
</pre>
<p>That&#8217;s it! Save your workflow and test it. Now, every time you click at a torrent file and download it, Transmission will download it automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Qt Ambassador Kit and my first impressions of Nokia C7</title>
		<link>http://www.esdrasbeleza.com/2011/03/25/the-qt-ambassador-kit-and-my-first-impressions-of-nokia-c7/</link>
		<comments>http://www.esdrasbeleza.com/2011/03/25/the-qt-ambassador-kit-and-my-first-impressions-of-nokia-c7/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 04:18:40 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mobile phones]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[C7]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Nokia C7]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Ambassador]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Symbian^3]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=280</guid>
		<description><![CDATA[A few months ago, I submitted my personal audio player project Audactile to the Nokia&#8217;s Qt Ambassador program. They seem to have liked it and I was accepted into the program. The good surprise is that they sent me a Qt Ambassador kit: a t-shirt, some stickers and a Nokia C7 mobile phone. The pictures [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A few months ago, I submitted my personal audio player project <a href="http://audactile.esdrasbeleza.com">Audactile</a> to the Nokia&#8217;s <a href="http://qt.nokia.com/qt-in-use/ambassadors/qtambassador/">Qt Ambassador program</a>. They seem to have liked it and I was accepted into the program.</p>
<p style="text-align: justify;">The good surprise is that they sent me a Qt Ambassador kit: a t-shirt, some stickers and a Nokia C7 mobile phone. The pictures I took aren&#8217;t very good, but here they are:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0045.jpg"><img class="aligncenter size-full wp-image-281" title="Qt Ambassador Kit" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0045.jpg" alt="Qt Ambassador Kit" width="360" height="480" /></a></p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0048.jpg"><img class="aligncenter size-full wp-image-282" title="Nokia C7" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0048.jpg" alt="" width="286" height="361" /></a></p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0047.jpg"><img class="aligncenter size-full wp-image-283" title="Nokia C7" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/03/IMG_0047.jpg" alt="" width="312" height="356" /></a></p>
<p style="text-align: justify;">The stickers are beautiful and I&#8217;m thinking of where I&#8217;ll put them. <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The most attractive item is, obviously, the <strong>Nokia C7</strong>. It runs <strong>Symbian^3</strong>, and it was the very first time I could use a device with it. My first impressions:</p>
<ul>
<li style="text-align: justify;">The capactive touch screen is very good. I already test devices from Apple, Motorola, Sony Ericsson and HTC, and I can say that it&#8217;s very sensitive. It has support for pinch zoom on images.</li>
<li style="text-align: justify;">Symbian^3&#8242;s UI is way better than its predecessors. It&#8217;s like a mix of the old Symbian (since it&#8217;s still Symbian&#8230;), iOS and Android. You have non-intrusive alerts at the top of the screen (like a desktop) instead of the old ugly rectangles that older versions of Symbian used for their notifications. The menus still are a bit confusing, but are better than my old Nokia E71&#8242;s menus.</li>
<li style="text-align: justify;">The AMOLED display is very sharp, its colours are brilliant and the images look great. You have an ambient light detector that changes the display&#8217;s illumination, like my MacBook does.</li>
<li style="text-align: justify;">The stereo sound from its back outputs are clear and powerful. Nokia knows how to put a good sound into its devices.</li>
<li style="text-align: justify;">Its camera has 8.0MP, dual flash and face recognition. It can record videos in HD resolution, but I haven&#8217;t tested it yet.</li>
</ul>
<p style="text-align: justify;">Nokia C7 has a very powerful hardware. Its software is pretty cool and as friendly as Android IMHO (unfortunately Nokia will use Windows Phone instead of Symbian in some time&#8230;). The mobile phone was given to me with a short letter asking to develop for it, so that&#8217;s what I&#8217;ll do. I&#8217;ll try to write some Qt application for Symbian, and I&#8217;ll report any progress here. <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2011/03/25/the-qt-ambassador-kit-and-my-first-impressions-of-nokia-c7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listing the packages on Debian/Ubuntu in one line</title>
		<link>http://www.esdrasbeleza.com/2011/02/04/listing-the-packages-on-debianubuntu-in-one-line/</link>
		<comments>http://www.esdrasbeleza.com/2011/02/04/listing-the-packages-on-debianubuntu-in-one-line/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 19:19:10 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=262</guid>
		<description><![CDATA[You can use dpkg to list all the packages that are selected on your Debian or Ubuntu system: But today I needed a way to list only the installed packages in just one line, so I could copy their names and use apt-get to install the same packages on another system. So I used the [...]]]></description>
			<content:encoded><![CDATA[<p>You can use dpkg to list all the packages that are selected on your Debian or Ubuntu system:</p>
<pre class="brush: plain; title: ; notranslate"># dpkg --get-selections</pre>
<p>But today I needed a way to list only the installed packages in just one line, so I could copy their names and use apt-get to install the same packages on another system. So I used the following command:</p>
<pre class="brush: plain; title: ; notranslate"># dpkg --get-selections | grep &quot;[ \t]*install$&quot; | sed 's/[ \t]*install$//g' | awk 'BEGIN { packages = &quot;&quot; } { packages = packages &quot; &quot; $1 } END { print packages }'
acpi-support-base acpid adduser apt apt-utils [...] long list of packages [...] xsltproc xz-utils yelp zenity zlib1g zlib1g-dev</pre>
<p>You can use the output above to easily install the same packages on another system using <em>apt-get install &lt;packages&gt;</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2011/02/04/listing-the-packages-on-debianubuntu-in-one-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool tools to avoid suffering with Windows</title>
		<link>http://www.esdrasbeleza.com/2010/10/11/cool-tools-to-avoid-suffering-with-windows/</link>
		<comments>http://www.esdrasbeleza.com/2010/10/11/cool-tools-to-avoid-suffering-with-windows/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 18:11:43 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[classic shell]]></category>
		<category><![CDATA[notepad++]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[text editor]]></category>
		<category><![CDATA[vídeo]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[winamp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=248</guid>
		<description><![CDATA[After two years working only with Linux and Mac OS, I received a new task that requires using Windows for two months (only two months, happily). It&#8217;s hard to get back to this bugful, unstable and confusing world: I do believe Linux and Mac OS are easier to use than Windows, that big world of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">After two years working only with Linux and Mac OS, I received a new task that requires using Windows for two months (only two months, happily). It&#8217;s hard to get back to this bugful, unstable and confusing world: I do believe Linux and Mac OS are easier to use than Windows, that big world of icons that lead to icons that lead to icons that lead to nowhere, but I&#8217;m doing my best.</p>
<p style="text-align: justify;">I tried to find a set of useful and free (as in &#8220;free beer&#8221; and/or as in &#8220;free speech&#8221;) tools to make my work easier. They are:</p>
<p style="text-align: justify;"><strong><a href="http://classicshell.sourceforge.net/" target="_blank">Classic Shell Setup</a></strong></p>
<p style="text-align: justify;">I don&#8217;t know why Microsoft removed the toolbar from Windows Explorer since Windows Vista, but this application tries to put it back there. It also allows you to get some customisation of Start Menu, and get a simple, fast and useful menu like the Windows 9x/ME/2000 times.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/classic_shell.png"><img class="aligncenter size-medium wp-image-249" title="Windows 7 with Classic Shell" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/classic_shell-300x245.png" alt="" width="300" height="245" /></a></p>
<p style="text-align: justify;"><strong><a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a></strong></p>
<p style="text-align: justify;">I like <a href="http://projects.gnome.org/gedit/" target="_blank">gedit</a> and <a href="http://kate-editor.org/" target="_blank">kate</a>, and the native alternative for Windows is Notepad++: a good editor for plain text files, like source code.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/notepad++.png"><img class="aligncenter size-medium wp-image-252" title="Notepad++" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/notepad++-300x179.png" alt="" width="300" height="179" /></a></p>
<p style="text-align: justify;"><strong><a href="http://pidgin.im" target="_blank">Pidgin</a></strong></p>
<p style="text-align: justify;">With support for MSN/Live/whatever network, Google Talk, ICQ, etc. Pidgin is one of the best chat clients. I&#8217;d rather use it than the fancy MSN Live Messenger.</p>
<p style="text-align: justify;"><strong><a href="http://www.winamp.com" target="_blank">Winamp</a></strong></p>
<p style="text-align: justify;">Why use iTunes or the suffering Windows Media Player if you can use Winamp? It has a clean interface, a good way to organise library (although it&#8217;s a little bit <em>iTunesy</em>) and a simple playlist, everything in the same screen. I really love the good and old Winamp.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/winamp.png"><img class="aligncenter size-medium wp-image-251" title="Winamp" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/winamp-300x179.png" alt="" width="300" height="179" /></a></p>
<p style="text-align: justify;"><strong><a href="http://www.videolan.org/">VLC</a></strong></p>
<p style="text-align: justify;">Winamp can play some videos, but I think VLC is a better tool for this job. Besides, it has a great support for a huge range  of video formats and features for users with any needs and all experience levels.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/vlc.png"><img class="aligncenter size-medium wp-image-250" title="VLC" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/10/vlc-300x262.png" alt="" width="300" height="262" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/10/11/cool-tools-to-avoid-suffering-with-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox 4.0 pre-beta released</title>
		<link>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/</link>
		<comments>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 02:41:00 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Preview]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=231</guid>
		<description><![CDATA[Lifehacker shown a screenshot of the new Firefox 4.0 pre-beta for Windows. Here it is (Mozilla names Firefox beta versions &#8220;Minefield&#8221;): Nice, isn&#8217;t it? So, I downloaded the new beta for Linux, and it looks like the screenshot below. I had to set the tabs to be on top; Windows version brings this for default [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Lifehacker <a href="http://lifehacker.com/5575931/firefox-4-pre+beta-candidate-brings-tabs-and-top-and-other-changes-to-the-fox">shown a screenshot of the new Firefox 4.0 pre-beta for Windows</a>. Here it is (Mozilla names Firefox beta versions &#8220;Minefield&#8221;):</p>
<p><img class="aligncenter size-full wp-image-233" title="Lifehacker's Minefield Screenshot" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/lifehacker_minefield.jpg" alt="" width="500" height="321" /></p>
<p style="text-align: justify;">Nice, isn&#8217;t it? So, I downloaded the new beta for Linux, and it looks like the screenshot below. I had to set the tabs to be on top; Windows version brings this for default (at least the one that I installed using Wine).</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-4.0b2pre1.png"><img class="aligncenter size-medium wp-image-235" title="Firefox 4.0 pre-beta on Linux" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-4.0b2pre1-300x220.png" alt="Firefox 4.0 pre-beta on Linux" width="300" height="220" /></a></p>
<p style="text-align: justify;">Compare. The screenshot below is Firefox 3.6.4.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-3.6.4.png"><img class="aligncenter size-medium wp-image-234" title="Firefox 3.6.4 on Linux" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/firefox-3.6.4-300x203.png" alt="Firefox 3.6.4 on Linux" width="300" height="203" /></a></p>
<p style="text-align: justify;">It&#8217;s a little far from <a href="https://wiki.mozilla.org/Firefox/4.0_Linux_Theme_Mockups">the mockups of Firefox for Linux at Mozilla&#8217;s site</a>. I hope I can see it soon. <img src='http://www.esdrasbeleza.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/07/04/firefox-4-0-pre-beta-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VolumeSlider&#8217;s tooltip misbehaviour</title>
		<link>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 17:58:20 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Creator]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=203</guid>
		<description><![CDATA[I was developing a Qt application that makes use of a Phonon::VolumeSlider object. But after clicking the mute button beside of the VolumeSlider and verifying its tooltip, I noticed it was showing the wrong volume. A video can explain this better than me: www.youtube.com/watch?v=rJcqZ2SVTK0 If you want to reproduce this problem, you can download its source [...]]]></description>
			<content:encoded><![CDATA[<p>I was developing a Qt application that makes use of a Phonon::VolumeSlider object. But after clicking the mute button beside of the VolumeSlider and verifying its tooltip, I noticed it was showing the wrong volume. A video can explain this better than me:</p>
<p style="text-align: center;"><span class="youtube">
<object type="application/x-shockwave-flash" width="320" height="265" data="http://www.youtube.com/v/rJcqZ2SVTK0?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;showsearch=0&amp;rel=1">
<param name="movie" value="http://www.youtube.com/v/rJcqZ2SVTK0?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=rJcqZ2SVTK0">www.youtube.com/watch?v=rJcqZ2SVTK0</a></p></p>
<p>If you want to reproduce this problem, you can download its <a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/VolumeSlider.tar.gz">source code</a> as a Qt Creator project. Please keep in mind that it&#8217;s the source code with errors!  But there&#8217;s a workaround to this problem:</p>
<p>1. In the class where you create the Phonon::AudioOutput whose volume is handled by the VolumeSlider, put this:</p>
<pre class="brush: cpp; title: ; notranslate">
connect(audioOutput, SIGNAL(mutedChanged(bool)), this, SLOT(handleMute(bool)));
connect(audioOutput, SIGNAL(volumeChanged(qreal)), this, SLOT(handleVolume(qreal)));
</pre>
<p>2. Create the slots you used above using the following code:</p>
<pre class="brush: cpp; title: ; notranslate">
void MainWindow::handleMute(bool mute) {
    if (!mute) {
        audioOutput-&gt;setVolume(outputVolume);
    }
}
void MainWindow::handleVolume(qreal volume) {
    outputVolume = volume;
}
</pre>
<p>3. Declare the slots and the outputVolume variable in your header file:</p>
<pre class="brush: cpp; title: ; notranslate">
private:
    qreal outputVolume;

private slots:
    void handleMute(bool mute);
    void handleVolume(qreal volume);
</pre>
<p>You can download the <a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/VolumeSliderFixed.tar.gz">fixed source code</a>. I don&#8217;t know if this behaviour is the expected in Qt, but <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11782">I filed a bug for it</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/29/volumesliders-tooltip-misbehaviour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haiku OS R1 alpha 2</title>
		<link>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 02:29:57 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[BeOS]]></category>
		<category><![CDATA[haiku]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Sistemas Operacionais]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=191</guid>
		<description><![CDATA[I&#8217;ve been reading about Haiku OS for some years. Haiku is an operating system inspired by the extinct BeOS, and for me it&#8217;s like an Unix clone with a good and clean interface, like Mac OS, but free. Some months ago its developers released their first alpha, that I&#8217;ve already talked about and shown some [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve been reading about Haiku OS for some years. Haiku is an operating system inspired by the extinct BeOS, and for me it&#8217;s like an Unix clone with a good and clean interface, like Mac OS, but free.</p>
<p style="text-align: justify;">Some months ago its developers released their first alpha, that <a title="Haiku R1 alpha 1, in portuguese" href="http://www.esdrasbeleza.com/2010/01/21/teste-do-haiku-os-alpha-1r1/">I&#8217;ve already talked about and shown some screenshots</a>. Some days ago they released a new version, <a href="http://www.haiku-os.org/get-haiku/release-notes">Haiku R1 alpha 2</a>. The interface is even better than before and the new features are great. My favourite one is WebPositive, a WebKit-based browser:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-1.png"><img class="aligncenter size-medium wp-image-194" title="WebPositive" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-1-300x225.png" alt="WebPositive" width="300" height="225" /></a></p>
<p style="text-align: justify;">I maximised the WebPositive window and its menubar became like a Mac OS apllication menubar:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-2.png"><img class="aligncenter size-medium wp-image-192" title="WebPositive's menubar" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-2-300x225.png" alt="WebPositive's menubar" width="300" height="225" /></a></p>
<p style="text-align: justify;">Something I didn&#8217;t notice in the latest release: Haiku has support for desktop applets. And OpenGL support is already there too:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-3.png"><img class="aligncenter size-medium wp-image-193" title="Haiku Desktop" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/haiku-r1-a2-3-300x225.png" alt="Haiku Desktop" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/28/haiku-os-r1-alpha-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading packages built from AUR</title>
		<link>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/</link>
		<comments>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 01:36:03 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Sem categoria]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Gerenciamento de pacotes]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[yaourt]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=186</guid>
		<description><![CDATA[Some Arch Linux users, like me, are used to build packages from AUR. After some time they become out-of-date and it&#8217;s a hard work to upgrade them. But yaourt comes to save us, with a single line: It upgrades all packages that aren&#8217;t in Arch Linux official repositories. And you can see its friendly output [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Some Arch Linux users, like me, are used to build packages from AUR. After some time they become out-of-date and it&#8217;s a hard work to upgrade them.</p>
<p style="text-align: justify;">But <a title="Using yaourt (in portuguese)" href="http://www.esdrasbeleza.com/2010/01/28/instalando-pacotes-do-arch-linux-com-yaourt/">yaourt</a> comes to save us, with a single line:</p>
<p style="text-align: justify;">
<pre class="brush: plain; title: ; notranslate">yaourt -Su --aur</pre>
<p style="text-align: justify;">It upgrades all packages that aren&#8217;t in Arch Linux official repositories. And you can see its friendly output below:</p>
<p><img class="aligncenter size-full wp-image-187" title="Yaourt" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/06/yaourt-update.png" alt="Yaourt" width="452" height="677" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/06/22/upgrading-packages-built-from-aur/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 95: someone still loves you</title>
		<link>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/#comments</comments>
		<pubDate>Fri, 28 May 2010 11:00:24 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[archeology]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=173</guid>
		<description><![CDATA[Or at least uses you. I use StatPress to get statistics of the last readers of this blog. One of the informations I have access to are the operating systems that the last visitors were using. And how surprising it was to discover that I still have a visitor that was using Windows 95: I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Or at least uses you.</p>
<p style="text-align: justify;">I use <a href="http://wordpress.org/extend/plugins/statpress/">StatPress</a> to get statistics of the last readers of this blog. One of the informations I have access to are the operating systems that the last visitors were using. And how surprising it was to discover that I still have a visitor that was using Windows 95:</p>
<p><img class="aligncenter size-medium wp-image-174" title="Windows 95" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/windows95_visitor-174x300.png" alt="" width="174" height="300" /></p>
<p style="text-align: justify;">I really hope this person is using <a href="https://addons.mozilla.org/en-US/firefox/addon/59/">some extension to change his/her browser&#8217;s user agent header</a> or just woke up from a sleep of 10 years or more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/28/windows-95-someone-still-loves-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.947 seconds -->

