<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Nardol - Home</title>
  <id>tag:www.nardol.org,2009:mephisto/</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.nardol.org/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.nardol.org/" rel="alternate" type="text/html"/>
  <updated>2008-12-31T14:39:04Z</updated>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-31:319</id>
    <published>2008-12-31T14:38:00Z</published>
    <updated>2008-12-31T14:39:04Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="bash"/>
    <category term="replace"/>
    <category term="tip"/>
    <link href="http://www.nardol.org/2008/12/31/best-bash-tip-ever" rel="alternate" type="text/html"/>
    <title>Best Bash tip ever!</title>
<content type="html">
            &lt;p&gt;While googling for something completely different (which I cannot remember right now), I passed by what is probably the &lt;a href=&quot;http://forums.debian.net/viewtopic.php?p=168364&amp;amp;#38;sid=a2604d570ae02d455facd55af539083b#168364&quot;&gt;best Bash tip I ever read&lt;/a&gt;:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
bash$ head -10 /etc/apache2/sites-available/default
(...)
bash$ ^10^20^
(...)&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;What happens in the second command is that the previous one is repeated, replacing &#8220;10&#8221; by  &#8220;20&#8221;! How great is that?!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-27:311</id>
    <published>2008-12-27T21:21:00Z</published>
    <updated>2008-12-27T21:22:33Z</updated>
    <category term="Code"/>
    <category term="Debian &amp; FLOSS"/>
    <category term="Gadgets"/>
    <category term="901"/>
    <category term="asus"/>
    <category term="blueproximity"/>
    <category term="bluetooth"/>
    <category term="eeepc"/>
    <category term="lenny"/>
    <category term="treo"/>
    <link href="http://www.nardol.org/2008/12/27/bluetooth-presence-detection" rel="alternate" type="text/html"/>
    <title>Bluetooth presence detection</title>
<content type="html">
            &lt;p&gt;This is the follow-up on my Asus &lt;span class=&quot;caps&quot;&gt;EEE PC&lt;/span&gt; configuration. Next on my &lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; list was to make the webcam work, and as &lt;a href=&quot;http://www.nardol.org/2008/12/18/lenny-in-the-asus-eee-pc-901-day-2#comment-297&quot;&gt;Ben Armstrong had pointed&lt;/a&gt; it worked fairly well, proving to be a non-issue.&lt;/p&gt;


	&lt;p&gt;After that, I decided it would be a good thing if the presence of my bluetooth-enabled cellphone were tested, so that if I walk away from the PC, it called xscreensaver -lock. After some googling, I found a tool that did just that: &lt;a href=&quot;http://blueproximity.sourceforge.net/&quot;&gt;BlueProximity&lt;/a&gt;. It really seemed a good idea, except that my cellphone (a Palm Treo 650) kept warning me about a connection going on, which was quite unpleasant. This happens because BlueProximity tests the &lt;span class=&quot;caps&quot;&gt;RSSI&lt;/span&gt; of a bluetooth connection&#8230; Beautiful, but a little overkill for what I wanted: I just wanted to know if it is there or not.&lt;/p&gt;


	&lt;p&gt;First I tested the bluetooth discovery with &lt;em&gt;hcitool scan&lt;/em&gt;, but for that I would have to keep my cellphone Discovery On, which is not a smart thing to do&#8230; So I tested other things, and found out that &lt;em&gt;hcitool name XX:XX:XX:XX:XX:XX&lt;/em&gt; only returned the name of my cellphone if it were around. So that was what I used. This is &lt;em&gt;treo-presence.sh&lt;/em&gt; script:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
#!/bin/bash

TREO='XX:XX:XX:XX:XX:XX'
NAME='name_of_my_cellphone'
CMD=&quot;/usr/bin/hcitool name $TREO&quot; 

if [ &quot;`$CMD`&quot; = &quot;$NAME&quot; ]; then
  exit 1
fi

exit 0&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;It returns 0 or 1 if the &lt;span class=&quot;caps&quot;&gt;TREO&lt;/span&gt; device is absent or present, respectively. I use it from the following cron script:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
#!/bin/bash

/usr/bin/w | /bin/grep $LOGNAME &amp;gt; /dev/null 2&amp;gt;&#38;1

if [ $? -ne 0 ]; then
  # Running user is not logged in
  exit 1
fi

CMD=&quot;/usr/local/bin/treo-presence.sh&quot; 
LOCK_CMD=&quot;/usr/bin/xscreensaver-command -lock&quot; 
FILE=&quot;/tmp/no-treo-lock.txt&quot; 
TMPFILE=`/bin/tempfile`

/bin/touch $FILE
/usr/bin/tail -2 $FILE &amp;gt; $TMPFILE
$CMD; echo $? &amp;gt;&amp;gt; $TMPFILE
/bin/mv $TMPFILE $FILE
/bin/rm -f $TMPFILE

for line in `cat $FILE`; do
  if [ &quot;$line&quot; = &quot;1&quot; ]; then
    exit 1
  fi
done

# Got here: all 3 lines are not 1
$LOCK_CMD &amp;gt; /dev/null 2&amp;gt;&#38;1
exit 0&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;This is run from the user crontab file every minute, recording the last 3 runs in a file in /tmp. If all 3 runs indicates the absence of my cellphone, xscreensaver -lock is called. Simple enough and doesn&#8217;t give me connection warnings in my Treo.&lt;/p&gt;


	&lt;p&gt;Other approaches are surely possible. Also, I am not sure &lt;em&gt;treo-presence.sh&lt;/em&gt; would work for other devices&#8230; This is just what works for me&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-24:301</id>
    <published>2008-12-24T14:03:00Z</published>
    <updated>2008-12-24T14:04:28Z</updated>
    <category term="Code"/>
    <category term="Debian &amp; FLOSS"/>
    <category term="christmas"/>
    <category term="end of days"/>
    <category term="merb"/>
    <category term="rails"/>
    <link href="http://www.nardol.org/2008/12/24/waiting-for-the-end-of-days" rel="alternate" type="text/html"/>
    <title>Waiting for the end of days</title>
<content type="html">
            &lt;p&gt;Wow! I woke up this morning and, while browsing my usual feeds I got a nice (although odd) surprise: &lt;a href=&quot;http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3&quot;&gt;Rails and Merb will merge&lt;/a&gt; !!! Should we all wait for the end of days? ;-)&lt;/p&gt;


	&lt;p&gt;Seriously&#8230; That is really something I&#8217;d never have expected. Rails 3 will be such an interesting framework! What a nice Christmas gift!&lt;/p&gt;


	&lt;p&gt;Merry Christmas.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-22:299</id>
    <published>2008-12-22T21:08:00Z</published>
    <updated>2008-12-22T21:08:51Z</updated>
    <category term="pt-BR"/>
    <category term="1984"/>
    <category term="brasilia"/>
    <category term="george orwell"/>
    <category term="juscelino kubitschek"/>
    <category term="pedofilia"/>
    <category term="peticao"/>
    <category term="rio de janeiro"/>
    <category term="sen azeredo"/>
    <link href="http://www.nardol.org/2008/12/22/culpado-ate-prova-em-contrario" rel="alternate" type="text/html"/>
    <title>Culpado at&#233; prova em contr&#225;rio</title>
<content type="html">
            &lt;blockquote&gt;
		&lt;p&gt;Aqueles que desistem da liberdade essencial para obter uma pequena e temporária segurança não merecem nem liberdade nem segurança (&lt;a href=&quot;http://en.wikiquote.org/wiki/Benjamin_Franklin&quot;&gt;&lt;em&gt;Benjamin Franklin&lt;/em&gt;&lt;/a&gt;).&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;Estou deprimido. Perturbadoramente deprimido. Sim, eu sei que estou com um &lt;a href=&quot;http://www.nardol.org/2008/12/18/lenny-in-the-asus-eee-pc-901-day-2&quot;&gt;brinquedinho novo&lt;/a&gt; e tal. Sim&#8230; eu sei q estou devendo o restante do relato, mas estou tão deprimido que nem consigo pensar nisso.&lt;/p&gt;


	&lt;p&gt;O motivo de tamanha depressão? Juscelino Kubitschek.&lt;/p&gt;


	&lt;p&gt;É&#8230; eu sei que o cara é um &#8220;herói nacional&#8221; e tal&#8230; Mas para mim ele cometeu um erro importantíssimo. Talvez o mais grave erro que um estadista de um país democrático pudesse cometer: Ele criou Brasília.&lt;/p&gt;


	&lt;p&gt;Peraí!!! Já posso antecipar a quantidade de flames que o parágrafo anterior vai gerar&#8230; Antes de me flamear, deixa eu explicar&#8230; &lt;em&gt;(Antecipadamente, peço desculpa aos brasilienses que provavelmente são tão gente boa quanto o resto de nós, brasileiros)&lt;/em&gt;.&lt;/p&gt;


	&lt;p&gt;Um país democrático precisa que suas instituições de poder estejam &#8220;a disposição&#8221; do povo, e não somente &#8220;a serviço&#8221;. Com isso quero dizer que eu, enquanto povo, devo ter o direito de olhar na cara de meu representante, eleito com o meu voto, e mandar ele &lt;em&gt;praquele lugar&lt;/em&gt;, se assim desejar. Não digo impunemente (provavelmente enfrentaria alguma acusação de desacato ou algo assim), mas livre e democraticamente.&lt;/p&gt;


	&lt;p&gt;Não parece ser suficiente que mais de &lt;a href=&quot;http://www.petitiononline.com/veto2008/petition.html&quot;&gt;126 mil pessoas tenham expressado por escrito&lt;/a&gt; seu descontentamento com o vigilantismo que paulatinamente cresce na pauta legislativa brasileira&#8230; Talvez se a capital federal ainda fosse no Rio de Janeiro (ou em algum lugar acessível pelo povo de outra forma que não o avião), uma boa parcela dessas 126 mil pessoas poderiam fazer um piquete na frente do Congresso Nacional para se expressar verbalmente: um gigante &lt;em&gt;VÃO &lt;span class=&quot;caps&quot;&gt;TOMAR NAQUELE LUGAR&lt;/span&gt;!&lt;/em&gt; talvez surtisse mais efeito.&lt;/p&gt;


	&lt;p&gt;Estou deprimido porque a proteção de vítimas de um crime hediondo (embora muitíssimo mais infreqüente do que tantos outros de que somos vítimas) seja usada para alimentar a paranóia geral, e para subverter a presunção de inocência a que todos têm direito constitucional. Sim&#8230; obviamente acho que a pedofilia é uma doença e um crime e, como tal, sou contra&#8230; mas também sou contra a destruição das liberdades civis. &lt;a href=&quot;http://en.wikipedia.org/wiki/1984&quot;&gt;George Orwell&lt;/a&gt; já havia alertado o quão perigoso é a cedência das liberdades civis em nome do Estado; os últimos dois mandatos executivos estado-unidenses nos mostraram isso com riqueza de detalhes; a mais recente Olimpíada, da mesma forma. Agora, ao que parece, &lt;a href=&quot;http://www.safernet.org.br/twiki/pub/SaferNet/Noticia20081217203825/Termo.pdf&quot;&gt;o Brasil também entra&lt;/a&gt; no rol dos exemplos negativos.&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;(Se Brasília não fosse tão longe, vocês acham que isso aconteceria? Talvez sim, o que desabonaria Juscelino&#8230; Mas agora nunca saberemos.)&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;Estou deprimido porque as &#8220;proteções&#8221; a que todos estaremos submetidos a partir de tal medida são tão &lt;a href=&quot;http://www.torproject.org/torusers.html&quot;&gt;facilmente ultrapassáveis&lt;/a&gt; que não precisa nem ser muito &lt;em&gt;geek&lt;/em&gt; para fazê-lo. Estou mais deprimido porque, mais uma vez, atacamos um problema pelo lado, sem enfrentá-lo de frente; porque mais uma vez vamos atrás dos &#8220;peixes pequenos&#8221;... Quem realmente fatura com a pedofilia (esse sim, um criminoso e não um doente) vai apenas acrescentar mais uma camada de proteção (se é que já não o fez).&lt;/p&gt;


	&lt;p&gt;Estou deprimido porque não paro de imaginar qual será o próximo passo&#8230; Não paro de pensar que o cenário Orwelliano parece estar inexoravelmente no fim dessa estrada, ainda que os quilômetros finais talvez sejam apenas vistos pelos meus netos (será?).&lt;/p&gt;


	&lt;p&gt;Enfim, estou deprimido&#8230;&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;(que me desculpem os fãs de Juscelino&#8230; É que um cara deprimido culpa qualquer um&#8230;)&lt;/em&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-18:295</id>
    <published>2008-12-18T18:41:00Z</published>
    <updated>2008-12-18T18:41:30Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="Gadgets"/>
    <category term="901"/>
    <category term="crypto"/>
    <category term="dm-crypt"/>
    <category term="e2fsck"/>
    <category term="eeepc"/>
    <category term="fluxbox"/>
    <category term="lenny"/>
    <category term="linux"/>
    <category term="lxde"/>
    <category term="netinst"/>
    <category term="openbox"/>
    <category term="rt2860"/>
    <category term="suspend to disk"/>
    <category term="swap"/>
    <category term="wicd"/>
    <link href="http://www.nardol.org/2008/12/18/lenny-in-the-asus-eee-pc-901-day-2" rel="alternate" type="text/html"/>
    <title>Lenny in the Asus EEE PC 901 - day 2</title>
<content type="html">
            &lt;p&gt;Really, now is the day 3&#8230; I am just considering this day 2 for I had to do a lot of things again due to my dumbness. Let me explain:&lt;/p&gt;


	&lt;p&gt;I had a desktop environment in place (with fluxbox), wired network, and most of my daily softwares (Iceweasel, X-Chat, Pidgin, GkRellM), then I decided to test the Suspend-to-Disk&#8230; At first, it seemed to work well: I made a swap file for uswsusp, just as documented&#8230; what is not documented is that this file must be &lt;strong&gt;outside the encrypted partition&lt;/strong&gt;!&lt;/p&gt;


	&lt;p&gt;So, when I turned it on again, an error telling me about some corruption in the opened luks partition. I though &#8220;OK, something gone mad, just a matter of running an e2fsck&#8221;. So I booted with the netinst pendrive, opened the luks partition and ran it with -y. Everything seemed to be corrupted!!! It spend almost 5 minutes fixing bogus inodes and stuff before I decided to interrupt the process&#8230; this &#8220;fixed&#8221; filesystem would never work anyway.&lt;/p&gt;


	&lt;p&gt;So I began from scratch&#8230; All over again. When I got into a working base-system, some other thought stroke me: what if Brenda were to use &lt;em&gt;rohan&lt;/em&gt; (have I mentioned the name is rohan? I name all my machines after places in Middle-earth)? So, a minimal &#8220;user-friendly&#8221; desktop is needed&#8230; After some research, I decided to go for &lt;a href=&quot;http://lxde.org&quot;&gt;&lt;span class=&quot;caps&quot;&gt;LXDE&lt;/span&gt;&lt;/a&gt;. This is a minimalist desktop with OpenBox as the window-manager. I&#8217;ve been using FluxBox for a long time now, so running another BlackBox-based would not be such a problem.&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;LXDE&lt;/span&gt; is quite good. So far, everything I expected is working fine&#8230;.&lt;/p&gt;


	&lt;p&gt;Then I decided it&#8217;s time to move on to configure the Wi-Fi stuff. I installed the &lt;span class=&quot;caps&quot;&gt;RT2860&lt;/span&gt; modules from Debian/EEEPC Repository and added rt2860sta to &lt;em&gt;/etc/modules&lt;/em&gt;. At first I was worried that some reports of it not working with &lt;span class=&quot;caps&quot;&gt;WEP&lt;/span&gt; showed up in a Google Search&#8230; But nothing could be smoother! I installed &lt;a href=&quot;http://wicd.sf.net&quot;&gt;wicd&lt;/a&gt; and it detected our &lt;span class=&quot;caps&quot;&gt;WEP AP&lt;/span&gt; like a charm (and a bunch of other APs nearby)... after entering our key it just connected fine and I&#8217;ve been using it since&#8230; no glitches so far.&lt;/p&gt;


	&lt;p&gt;I would like to play a little more, but I called the day since I got a lot of work going on&#8230; Next item planned is the webcam&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-16:294</id>
    <published>2008-12-16T21:22:00Z</published>
    <updated>2008-12-16T21:26:31Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="Gadgets"/>
    <category term="901"/>
    <category term="crypto"/>
    <category term="dm-crypt"/>
    <category term="eeepc"/>
    <category term="lenny"/>
    <category term="linux"/>
    <category term="netinst"/>
    <link href="http://www.nardol.org/2008/12/16/lenny-in-the-asus-eee-pc-901-day-1" rel="alternate" type="text/html"/>
    <title>Lenny in the Asus EEE PC 901 - day 1</title>
<content type="html">
            &lt;p&gt;Following my &lt;a href=&quot;http://www.nardol.org/2008/12/15/it-arrived&quot;&gt;previous post&lt;/a&gt;, today I began to turn my brand new Asus &lt;span class=&quot;caps&quot;&gt;EEE PC 901&lt;/span&gt; into a Debian Machine. At first I wanted to do all in one day, but since work is taking too much out of me (and everything seems to take more time than expected), I&#8217;ll have to split this in different days&#8230;&lt;/p&gt;


	&lt;p&gt;So, first things first. I read &lt;a href=&quot;http://wiki.debian.org/DebianEeePC&quot;&gt;Debian Wiki&lt;/a&gt; on the issue and began by doing the most important: backing it up. So I got a &lt;a href=&quot;http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&quot;&gt;daily netinst iso&lt;/a&gt;, put it on a &lt;span class=&quot;caps&quot;&gt;USB&lt;/span&gt; Pendrive and followed the tip on &lt;a href=&quot;http://wiki.debian.org/DebianEeePC/TipsAndTricks#head-53ebdb32e424e402e323ecd03f15a1d8dfb37f64&quot;&gt;backup over the network&lt;/a&gt; using netcat. Easy and effective, and took only 8 minutes on the 901 (I think the 35 minutes described on the wiki were for models with slower NICs).&lt;/p&gt;


	&lt;p&gt;From there, I had to decide which version of the installer I&#8217;d use. I chose Standard, since I want an encrypted disk on my &lt;span class=&quot;caps&quot;&gt;EEE&lt;/span&gt;. So I run the installer and, on the partition manager, I deleted /dev/sda1 (where Xandros was installed), turning it into a 300 MB /dev/sda5 (to use as /boot) and a 3 GB /dev/sda6 building a Logical Volume over an &lt;span class=&quot;caps&quot;&gt;LVM&lt;/span&gt; Volume Group with it and /dev/sdb1 (where the user directory was), and enciphering it. This took a long time, since, I believe, random data were being written to the device to increase crypto strength. I left /dev/sda{2,3,4} as they were, since they can belong to the Asus &lt;span class=&quot;caps&quot;&gt;EEE&lt;/span&gt; Recovering System (and they don&#8217;t take too much space :-) )&lt;/p&gt;


	&lt;p&gt;Now base system is installed, and wired network works like a charm&#8230; Next steps will have to wait until tomorrow.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-15:291</id>
    <published>2008-12-15T20:53:00Z</published>
    <updated>2008-12-16T21:26:21Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="Gadgets"/>
    <category term="901"/>
    <category term="eeepc"/>
    <category term="linux"/>
    <link href="http://www.nardol.org/2008/12/15/it-arrived" rel="alternate" type="text/html"/>
    <title>It arrived!</title>
<content type="html">
            &lt;p&gt;I got an Asus &lt;span class=&quot;caps&quot;&gt;EEE PC 901&lt;/span&gt; Linux. Unfortunately it arrived just now, at the end of the day. I&#8217;ll document the process of turning it into a &lt;a href=&quot;http://wiki.debian.org/DebianEeePC&quot;&gt;Debian machine&lt;/a&gt; as I go, beginning tomorrow. So, stay tuned!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-10:290</id>
    <published>2008-12-10T20:37:00Z</published>
    <updated>2008-12-10T20:46:30Z</updated>
    <category term="Code"/>
    <category term="pt-BR"/>
    <category term="mp3"/>
    <category term="projeto de lei"/>
    <category term="sen azeredo"/>
    <category term="somente audio"/>
    <category term="tv camara"/>
    <link href="http://www.nardol.org/2008/12/10/versao-somente-audio-da-audiencia-publica-do-plc-89-2003" rel="alternate" type="text/html"/>
    <title>Vers&#227;o somente &#225;udio da Audi&#234;ncia P&#250;blica do PLC 89/2003</title>
<content type="html">
            &lt;p&gt;Como eu &lt;a href=&quot;http://www.nardol.org/2008/11/18/audiencia-publica-do-projeto-do-sen-azeredo#comment-278&quot;&gt;havia prometido&lt;/a&gt; em um comentário antigo (depois de devidamente &#8220;lembrado&#8221; pelo &lt;a href=&quot;http://www.nardol.org/2008/11/18/audiencia-publica-do-projeto-do-sen-azeredo#comment-288&quot;&gt;João Sérgio&lt;/a&gt;), acabo de fazer o upload da versão &#8220;somente áudio&#8221; para a Audiência Pública sobre o &lt;span class=&quot;caps&quot;&gt;PLC 89&lt;/span&gt;/2003.&lt;/p&gt;


	&lt;p&gt;A idéia de uma versão &#8220;somente áudio&#8221; é economizar o download, evitando que um arquivo tão grande quanto os de vídeo seja transferido quando somente o áudio já é suficiente. Então ajustei meu objetivo em reduzir o arquivo original para 20% do seu tamanho na versão &#8220;somente áudio&#8221;... A seguir descrevo os passos que usei para obter essa versão:&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;1. Extraindo o arquivo original do Google Video.&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Graças ao leitor &lt;a href=&quot;http://www.nardol.org/2008/11/18/audiencia-publica-do-projeto-do-sen-azeredo#comment-276&quot;&gt;Gilson Karas&lt;/a&gt;, obtive o endereço para o vídeo da audiência. Utilizei o plugin &lt;a href=&quot;http://unplug.mozdev.org/&quot;&gt;UnPlug&lt;/a&gt; do Firefox para extrair o arquivo em Flash Video &#8211; um arquivo de 365,9 Mb. Meu objetivo passou a ser 73-74 Mb.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;2. Cortando o vídeo e deixando somente o áudio.&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;O arquivo resultante (chamarei de audiencia.flv) tinha um stream de vídeo em formato Flash e um stream de áudio em formato &lt;span class=&quot;caps&quot;&gt;MP3&lt;/span&gt;. Usando o &lt;a href=&quot;http://ffmpeg.mplayerhq.hu/&quot;&gt;ffmpeg&lt;/a&gt;:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
bash$ ffmpeg -i audiencia.flv -vn -acodec copy temp.mp3&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Infelizmente isso resultou em um arquivo &lt;span class=&quot;caps&quot;&gt;MP3&lt;/span&gt; muito grande (129 Mb, ou 35% do original com vídeo)...&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;3. Recodificando o arquivo &lt;span class=&quot;caps&quot;&gt;MP3&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Resolvi aplicar alguma mágica e recodificar o arquivo para tentar reduzir os 15% que faltavam. Usei o &lt;a href=&quot;http://lame.sourceforge.net/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;LAME&lt;/span&gt;&lt;/a&gt; que está empacotado para o Debian. Aproveitei e coloquei algumas tags (lembre que no site da &lt;a href=&quot;http://www2.camara.gov.br/internet/tv&quot;&gt;&lt;span class=&quot;caps&quot;&gt;TV C&lt;/span&gt;âmara&lt;/a&gt; está explícito que a reprodução é autorizada mediante citação da mesma&#8230; que maneira melhor de citar a &lt;span class=&quot;caps&quot;&gt;TV C&lt;/span&gt;âmara em um arquivo de áudio do que em suas tags?). Eis o comando resultante:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
bash$ lame --vbr-old -V 4 -m m --tt &quot;Audiencia Publica PLC 89/2003&quot; --ta &quot;TV Camara 13/Nov/2008&quot; --ty &quot;2008&quot; --tl &quot;PLC 89/2003&quot; --tg 12 --tc &quot;Originalmente no Google Video - http://video.google.com/videoplay?docid=7432623562478685874&quot; -c --resample 16 --highpass 0.125 temp.mp3 audiencia.mp3&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;As opções que representam tags são auto-explicativas&#8230; A &#8220;mágica&#8221; está no &#8220;resample&#8221; (reduzi de 22.05 no original para 16), no filtro &#8220;passa-alta&#8221; setado em 0.125 e na utilização de &lt;span class=&quot;caps&quot;&gt;VBR&lt;/span&gt;. Essas opções serviram para reduzir o tamanho do arquivo e, ao mesmo tempo, cortar os ruídos baixos (abaixo de 125 Hz) que nem seriam ouvidos de qualquer forma.&lt;/p&gt;


	&lt;p&gt;O arquivo resultante ainda manteve razoável qualidade e com apenas 79 Mb. Não atingi os 20% almejados, mas com 21,6%, encerrei a sessão ;-)&lt;/p&gt;


	&lt;p&gt;O resultado pode ser encontrado &lt;a href=&quot;http://harad.nardol.org/misc/audiencia.mp3&quot;&gt;aqui&lt;/a&gt;.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-05:286</id>
    <published>2008-12-05T01:58:00Z</published>
    <updated>2008-12-05T01:59:27Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="backbone"/>
    <category term="debtorrent"/>
    <category term="gittorrent"/>
    <category term="redlined"/>
    <category term="slashdot"/>
    <link href="http://www.nardol.org/2008/12/5/debian-crashing-the-internet" rel="alternate" type="text/html"/>
    <title>Debian crashing the Internet!?</title>
<content type="html">
            &lt;p&gt;I just read on Slashdot &lt;a href=&quot;http://tech.slashdot.org/article.pl?sid=08/12/04/1625226&quot;&gt;a pointer&lt;/a&gt; to an &lt;a href=&quot;http://advogato.org/article/994.html&quot;&gt;article about GitTorrent&lt;/a&gt; and it made me wonder about these &#8220;meta-distributed&#8221; systems. Although I don&#8217;t share the article&#8217;s author enthusiasm, it&#8217;s a really good idea.&lt;/p&gt;


	&lt;p&gt;Anyways, browsing that article, I ended up on &lt;a href=&quot;http://advogato.org/article/972.html&quot;&gt;another one&lt;/a&gt; about Debtorrent. This I&#8217;ve already read about and decided to keep an eye on for some time now&#8230; It happens that one line on that article called my attention (and I quote):&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;At the last major upgrade of Debian/Stable, all the routers at the major International fibreoptic backbone sites across the world &lt;strong&gt;redlined for a week&lt;/strong&gt;. &lt;em&gt;(emphasis added)&lt;/em&gt;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;Well&#8230; that was a surprise. Of course I know of the size and importance of Debian, but I thought our systems were more efficient (or that our &#8220;release-generated-traffic&#8221; were not of that magnitude). I began googling for a pointer on that&#8230; Anything: a quote, an &lt;span class=&quot;caps&quot;&gt;URL&lt;/span&gt;, a list message&#8230; anything that could make that claim verifiable: Guess what: I found none!&lt;/p&gt;


	&lt;p&gt;Meanwhile, on Slashdot, other people started &lt;a href=&quot;http://tech.slashdot.org/comments.pl?sid=1051255&amp;amp;#38;cid=25996685&quot;&gt;following&lt;/a&gt; &lt;a href=&quot;http://tech.slashdot.org/comments.pl?sid=1051255&amp;amp;#38;cid=25994429&quot;&gt;the same&lt;/a&gt; &lt;a href=&quot;http://tech.slashdot.org/comments.pl?sid=1051255&amp;amp;#38;cid=25995421&quot;&gt;subject&lt;/a&gt;...&lt;/p&gt;


	&lt;p&gt;So, is it true? Does anyone have any pointers to that? It seems quite unlikely to me&#8230; But hey! That&#8217;s just me: maybe the Internet is not that big :-)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-12-03:279</id>
    <published>2008-12-03T12:03:00Z</published>
    <updated>2008-12-03T12:04:40Z</updated>
    <category term="Debian &amp; FLOSS"/>
    <category term="Trips"/>
    <category term="bariloche"/>
    <category term="brenda"/>
    <category term="married"/>
    <category term="serious"/>
    <category term="wedding"/>
    <link href="http://www.nardol.org/2008/12/3/it-s-done-i-am-a-serious-man-now" rel="alternate" type="text/html"/>
    <title>It's done: I am a serious man now</title>
<content type="html">
            &lt;p&gt;Some of you might be wondering where I&#8217;ve gone (my last post was on 2008-11-18), but I have a short explanation for that: I got married!&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://www.nardol.org/assets/2008/12/3/brenda_and_i.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;Yes&#8230; It was on November 22nd, in a non-religious ceremony among the majority of my close friends and family. Brenda and I are together  for more than 6 years already, so it was about time! After the party we went on honey moon to Bariloche (Argentina), undoubtfully one of the most beautiful parts of the planet, for one week. We were back just Monday&#8230; and back to real life just now.&lt;/p&gt;


	&lt;p&gt;Pictures of the party and the trip will follow&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-11-18:274</id>
    <published>2008-11-18T16:38:00Z</published>
    <updated>2008-12-10T20:40:45Z</updated>
    <category term="pt-BR"/>
    <category term="projeto de lei"/>
    <category term="sen azeredo"/>
    <category term="tv camara"/>
    <link href="http://www.nardol.org/2008/11/18/audiencia-publica-do-projeto-do-sen-azeredo" rel="alternate" type="text/html"/>
    <title>Audi&#234;ncia P&#250;blica do projeto do Sen. Azeredo</title>
<content type="html">
            &lt;p&gt;Foi disponibilizado &lt;a href=&quot;http://imagem.camara.gov.br/internet/midias/TV/2008/11/tvcahoje20081113-005-wm.100.wmv&quot;&gt;um vídeo&lt;/a&gt; com uma matéria da &lt;span class=&quot;caps&quot;&gt;TV C&lt;/span&gt;âmara sobre a última audiência pública (em 13/11/2008) relativa ao &lt;a href=&quot;http://www.nardol.org/2008/7/5/o-desafio-da-intangibilidade&quot;&gt;projeto de lei do Senador Azeredo&lt;/a&gt; (infelizmente somente em formato Windows Media Video).&lt;/p&gt;


	&lt;p&gt;A repórter coloca a questão de maneira imparcial, ouvindo representantes dos dois lados da questão&#8230; no entanto não pude extrair o &#8220;tom geral&#8221; da audiência&#8230; Gostaria muito de ver um vídeo com a íntegra. Se alguém souber onde consigo, deixe nos comentários&#8230;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update: 2008-12-10 18:37:40:&lt;/strong&gt; Publiquei &lt;a href=&quot;http://www.nardol.org/2008/12/10/versao-somente-audio-da-audiencia-publica-do-plc-89-2003&quot;&gt;um passo a passo&lt;/a&gt; de como obtive a versão &#8220;somente áudio&#8221; do vídeo apontado pelo Gilson Karas nos comentários.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-11-12:270</id>
    <published>2008-11-12T09:50:00Z</published>
    <updated>2008-11-19T14:16:43Z</updated>
    <category term="pt-BR"/>
    <category term="flash mob"/>
    <category term="flashmob"/>
    <category term="projeto de lei"/>
    <category term="protesto"/>
    <category term="sen. azeredo"/>
    <category term="vigilancia"/>
    <link href="http://www.nardol.org/2008/11/12/mobilizacao-relampago-contra-o-projeto-de-lei-do-sen-azeredo" rel="alternate" type="text/html"/>
    <title>Mobiliza&#231;&#227;o Rel&#226;mpago contra o Projeto de Lei do Sen. Azeredo</title>
<content type="html">
            &lt;p&gt;Anda circulando em &lt;a href=&quot;http://groups.google.com/group/barcampbrasil/browse_thread/thread/5c91b6382248dbca&quot;&gt;listas de discussão&lt;/a&gt;, no &lt;a href=&quot;http://twitter.com/samadeu&quot;&gt;Twitter&lt;/a&gt; e em &lt;a href=&quot;http://peerproduction.blogspot.com/2008/11/flash-mob-sexta-18h.html&quot;&gt;diversos&lt;/a&gt; &lt;a href=&quot;http://www.interney.net/?p=9764485&quot;&gt;blogs&lt;/a&gt; pela Internet uma Mobilização Relâmpago (AKA &lt;a href=&quot;http://pt.wikipedia.org/wiki/Flash_mob&quot;&gt;Flash Mob&lt;/a&gt;) contra o Projeto de Lei do Sen. Azeredo.&lt;/p&gt;


	&lt;p&gt;Ao lado você pode ver que a &lt;a href=&quot;http://www.petitiononline.com/veto2008/petition.html&quot;&gt;petição&lt;/a&gt; contra o projeto já atingiu 119 mil signatários (ainda mantenho atualizado a cada 15 minutos os &lt;a href=&quot;https://www.nardol.org/2008/8/18/peti-o-protestos-e-mais-programa-o&quot;&gt;bancos de dados&lt;/a&gt; que estou extraindo do endereço web).&lt;/p&gt;


	&lt;p&gt;No Rio e em São Paulo &lt;a href=&quot;http://www.shorttext.com/0hliq33&quot;&gt;serão realizadas&lt;/a&gt; manifestações de 30 segundos respectivamente na Cinelândia em frente à Camara Municipal e no canteiro central da Av. Paulista, 900 na próxima sexta-feira as 18h.&lt;/p&gt;


	&lt;p&gt;Acredito que outras cidades devem se organizar para a mesma manifestação&#8230; Já estou aguardando os vídeos no YouTube!&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update 2008-11-17 10:45:10:&lt;/strong&gt; Já estão aparecendo os primeiros registros. Veja &lt;a href=&quot;http://g1.globo.com/Noticias/Tecnologia/0,,MUL862881-6174,00.html&quot;&gt;esse&lt;/a&gt; do G1.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update 2008-11-19 12:18:19:&lt;/strong&gt; Mais fotos no &lt;a href=&quot;http://samadeu.blogspot.com/2008/11/um-relato-da-flashmob-pela-liberdade-na.html&quot;&gt;blog do Sérgio Amadeu&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-11-05:257</id>
    <published>2008-11-05T15:56:00Z</published>
    <updated>2008-11-06T22:33:12Z</updated>
    <category term="Code"/>
    <category term="Debian &amp; FLOSS"/>
    <category term="ansi color"/>
    <category term="bash"/>
    <category term="prompt"/>
    <link href="http://www.nardol.org/2008/11/5/bash-prompts-the-essential" rel="alternate" type="text/html"/>
    <title>Bash prompts: the essential</title>
<content type="html">
            &lt;p&gt;Bash is probably the most common command-line shell in the &lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt;/Linux world. Although a lot of people use alternate shells (such as Zsh), Bash is still shipped with most mainstream distros as the default. Once you have a lot of different remote machines, all running Bash as the shell, it becomes increasingly difficult to pay attention to the prompt, and typing &lt;em&gt;reboot&lt;/em&gt; in a machine different from the one you wanted becomes more likely. I deal with that problem by changing Bash prompts&#8230;&lt;/p&gt;


	&lt;p&gt;First of all, the basics: Bash prompts are just environment variables with special characters you can set and export. Bash has four of these variables: &lt;span class=&quot;caps&quot;&gt;PS1&lt;/span&gt; to &lt;span class=&quot;caps&quot;&gt;PS4&lt;/span&gt;, but usually only the first two matters (actually, just &lt;span class=&quot;caps&quot;&gt;PS1&lt;/span&gt; &#8211; for a reference on the others, check the manpage). The most common &lt;span class=&quot;caps&quot;&gt;PS1&lt;/span&gt; string is:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
spectra@home:~$ echo $PS1
\u@\h:\w\$
spectra@home:~$&lt;/pre&gt;&lt;/code&gt;

	&lt;p&gt;This has 4 special characters, escaped with a backslash: &lt;strong&gt;\u&lt;/strong&gt; informing us the username; &lt;strong&gt;\h&lt;/strong&gt; informing us the hostname; &lt;strong&gt;\w&lt;/strong&gt;, informing us the working directory; and &lt;strong&gt;\$&lt;/strong&gt;, which gives us the $ in the end of the prompt (more on this later).&lt;/p&gt;


	&lt;p&gt;So, essentially, one can change that string to anything else&#8230;&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
spectra@home:~$ PS1=&quot;my_shell_prompt\$ &quot; 
my_shell_prompt$&lt;/pre&gt;&lt;/code&gt;

	&lt;p&gt;Pretty easy. You can check a complete reference of the special characters at the section &lt;strong&gt;&lt;span class=&quot;caps&quot;&gt;PROMPTING&lt;/span&gt;&lt;/strong&gt; of bash manpage, but the most useful &lt;span class=&quot;caps&quot;&gt;IMHO&lt;/span&gt; are the following:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;\d&lt;/strong&gt; the date&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;\t&lt;/strong&gt; the time (24-hour format)&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;\W&lt;/strong&gt; the basename of the current working directory&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;\!&lt;/strong&gt; the history number of this command&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;\#&lt;/strong&gt; the command number of this command&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;\$&lt;/strong&gt; shows # if the &lt;span class=&quot;caps&quot;&gt;UID&lt;/span&gt; is 0 (is we are root), or $ for all the rest&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Also, as part of the prompt string, one can use &lt;span class=&quot;caps&quot;&gt;ANSI&lt;/span&gt; Colors enclosed as non-printing characters (that is between \[ and \]). &lt;span class=&quot;caps&quot;&gt;ANSI&lt;/span&gt; sequences always begin with an &#8220;ESC[&#8221; and end with an &#8220;m&#8221;. (Yes&#8230; Really arbitrary&#8230; but that&#8217;s the way it is&#8230;). &lt;span class=&quot;caps&quot;&gt;ESC&lt;/span&gt; can be represented as \e&#8230; Here is a list of the most common colors in &lt;span class=&quot;caps&quot;&gt;ANSI&lt;/span&gt; sequences:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Black: 0;30&lt;/li&gt;
		&lt;li&gt;Red: 0;31&lt;/li&gt;
		&lt;li&gt;Green: 0;32&lt;/li&gt;
		&lt;li&gt;Brown: 0;33&lt;/li&gt;
		&lt;li&gt;Blue: 0;34&lt;/li&gt;
		&lt;li&gt;Purple: 0;35&lt;/li&gt;
		&lt;li&gt;Cyan: 0;36&lt;/li&gt;
		&lt;li&gt;Light Gray: 0;37&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Now, notice that there are two numbers separated by a semi-colon&#8230; the first is always 0 (zero) in the colors I pointed above, but it actually refers to an &lt;span class=&quot;caps&quot;&gt;ANSI&lt;/span&gt; attribute called Select Graphic Rendition&#8230; You can use 0 (zero) to normal colors, 1 for bold, 2 to faint, etc. So \e[0;30m refers to &lt;strong&gt;&lt;span class=&quot;caps&quot;&gt;BLACK&lt;/span&gt;&lt;/strong&gt;, \e[1;30m refers to &lt;strong&gt;&lt;span class=&quot;caps&quot;&gt;DARK GREY&lt;/span&gt;&lt;/strong&gt;. The &lt;a href=&quot;http://en.wikipedia.org/wiki/ANSIescapecode&quot;&gt;Wikipedia&lt;/a&gt; has a good article on these escape sequences.&lt;/p&gt;


	&lt;p&gt;Once you&#8217;re satisfied with something printed in a color, to go back to the default (to reset), you issue the \e[0m escape sequence.&lt;/p&gt;


	&lt;p&gt;So, back to my problem&#8230; Each different machine gets a different color for the hostname. On &#8220;hospital&#8221; machine, for instance, my &lt;span class=&quot;caps&quot;&gt;PS1&lt;/span&gt; looks like:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
spectra@hospital:~$ PS1=&quot;\[\e[1;33m\]\u\[\e[0m\]@\[\e[0;35m\]\h\[\e[0m\]:\[\e[0;32m\]\w\[\e[0m\]\$ &quot; 
spectra@hospital:~$&lt;/pre&gt;&lt;/code&gt;

	&lt;p&gt;With \e[0;35m (Purple) for the hostname. On &#8220;home&#8221; machine, it may be \e[0;34m (Blue)... On &#8220;server&#8221;, it may be \e[0;36m (Cyan), and so on&#8230; After a while, you get used to the color and end up linking the color to the machine&#8230; so that typing &#8220;reboot&#8221; on a machine with the wrong color gets harder than before.&lt;/p&gt;


	&lt;p&gt;To make the changes permanent, put export &lt;span class=&quot;caps&quot;&gt;PS1&lt;/span&gt; in one of the config script of bash (.bashrc, .bash_profile, etc). On some systems, /etc/environment holds lots of environment variables definitions.&lt;/p&gt;


	&lt;p&gt;I just scratched the surface&#8230; That&#8217;s just what works for me&#8230; The &lt;a href=&quot;http://tldp.org/HOWTO/Bash-Prompt-HOWTO/c816.html&quot;&gt;Bash-Prompt-HOWTO&lt;/a&gt; has some interesting examples, and I actually have a friend who uses more esoterical stuff, such as &lt;a href=&quot;http://home.ircnet.de/cru/fancybash/&quot;&gt;fancybash&lt;/a&gt; or &lt;a href=&quot;http://bashish.sourceforge.net/&quot;&gt;bashish&lt;/a&gt;, but I&#8217;ll leave this up to you&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-10-30:256</id>
    <published>2008-10-30T09:52:00Z</published>
    <updated>2008-10-30T10:56:03Z</updated>
    <category term="pt-BR"/>
    <category term="join the navy"/>
    <category term="rms"/>
    <category term="virais"/>
    <category term="viral"/>
    <category term="yvan eht nioj"/>
    <link href="http://www.nardol.org/2008/10/30/mais-um-viral-agora-com-o-rms" rel="alternate" type="text/html"/>
    <title>Mais um viral... agora com o RMS</title>
<content type="html">
            &lt;p&gt;Os virais estão se multiplicando na web. O &lt;a href=&quot;http://www.somethingiscomingsoon.tk/&quot;&gt;mais novo&lt;/a&gt; traz a foto do &lt;span class=&quot;caps&quot;&gt;RMS&lt;/span&gt;, dizendo que &#8220;logo algo o surpreenderá&#8221; e a frase oculta &#8220;Yvan Eht Nioj&#8221; (Junte-se à marinha escrito em inglês e ao contrário)...&lt;/p&gt;


	&lt;p&gt;O pior é eu ajudar a propagar esse viral&#8230; ;-)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.nardol.org/">
    <author>
      <name>spectra</name>
    </author>
    <id>tag:www.nardol.org,2008-10-23:255</id>
    <published>2008-10-23T11:46:00Z</published>
    <updated>2008-10-23T11:53:37Z</updated>
    <category term="pt-BR"/>
    <category term="autoriza&#231;&#227;o"/>
    <category term="flash"/>
    <category term="garfield"/>
    <category term="windows xp"/>
    <link href="http://www.nardol.org/2008/10/23/subvertendo-a-ordem-instalando-flash-sem-autorizacao" rel="alternate" type="text/html"/>
    <title>Subvertendo a ordem: instalando Flash sem autoriza&#231;&#227;o</title>
<content type="html">
            &lt;p&gt;Por agora todos já devem saber que na estação de trabalho do hospital só disponho de (argh!) Windows XP. Sim&#8230; eu sei&#8230; é uma m###a. Mas fazer o quê? Lá eu sou médico, lembram? É verdade que tudo de importante que eu faço de lá, faço remotamente, com meu velho e bom servidor Debian. (Tudo de importante que não diga respeito ao hospital, claro&#8230;).&lt;/p&gt;


	&lt;p&gt;Tudo começou quando resolveram (as forças ocultas, sabe?) substituir nossas estações por novas. A justificativa: atualização. Certamente não de software (continua o (argh!) Windows XP), mas aparentemente o hardware andava muito lento (hua! hua! hua! hua! hua!), aí resolveram trocar as máquinas. As novas estações vieram com &lt;strong&gt;tudo&lt;/strong&gt; bloqueado&#8230; tivemos que chamar a Engenharia Clínica (nome chique para &#8220;Suporte de Informática&#8221;) para instalar o Firefox, já que um dos programas que utilizamos necessita dele. Lamentável&#8230;&lt;/p&gt;


	&lt;p&gt;O problema: não consigo mais ver as tirinhas do &lt;a href=&quot;http://www.garfield.com/&quot;&gt;Garfield&lt;/a&gt; &#8211; uma atividade diária indispensável para a manutenção do bom humor &#8211; já que não foi instalado o plugin &lt;a href=&quot;http://www.adobe.com/products/flashplayer/&quot;&gt;Flash&lt;/a&gt;. E agora? Chamar a Engenharia Clínica de novo? E justificar com o que? Sei lá, mas &#8220;manutenção do bom humor&#8221; não me pareceu uma boa justificativa para constar em um documento interno&#8230;&lt;/p&gt;


	&lt;p&gt;(Antes que você pergunte: sim, tentei instalar pelos meios &#8220;normais&#8221;; o erro foi &#8211; como esperado &#8211; que não possuía &#8220;privilégios administrativos suficientes&#8221;. Bah&#8230;)&lt;/p&gt;


	&lt;p&gt;Foi aí que eu resolvi racionalizar: Ora! O Firefox consegue gravar meus bookmarks (AKA Favoritos); se seguir a mesma lógica do Firefox no &lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt;/Linux, deve ter um diretório (AKA pasta no (argh!) Windows XP) onde eu posso colocar os meus plugins pessoais. A partir daí foi fácil&#8230; Eis a receita de bolo:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Faça o download da versão .XPI do plugin Flash Player, que pode ser encontrado &lt;a href=&quot;http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-win.xpi&quot;&gt;aqui&lt;/a&gt;. Um arquivo .XPI nada mais é do que um arquivo .ZIP (Dica: renomeie o arquivo para que o WinZIP &#8211; ou similar &#8211; o reconheça).&lt;/li&gt;
		&lt;li&gt;Exploda o .ZIP em algum lugar&#8230; Estamos interessados nos arquivos &lt;span class=&quot;caps&quot;&gt;NPSWF32&lt;/span&gt;.dll e flashplayer.xpt.&lt;/li&gt;
		&lt;li&gt;Vá para a pasta &lt;span&gt;%APPDATA&lt;/span&gt;%\Mozilla\. O &lt;span&gt;%APPDATA&lt;/span&gt;% é uma variável que aponta para uma pasta onde são gravados os dados de aplicações (como os bookmarks). &lt;/li&gt;
		&lt;li&gt;Se não existir (provavelmente não exista), crie uma nova pasta chamada &#8220;Plugins&#8221; (sem as aspas).&lt;/li&gt;
		&lt;li&gt;Copie os arquivos &lt;span class=&quot;caps&quot;&gt;NPSWF32&lt;/span&gt;.dll e flashplayer.xpt para lá.&lt;/li&gt;
		&lt;li&gt;Reinicie o Firefox e &lt;em&gt;voilà&lt;/em&gt;.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Veja bem&#8230; isso funcionou para mim. Mais provavelmente por que o (argh!) Windows XP é o inferno administrativo que é do que por alguma outra razão&#8230; Me imagino no lugar da Engenharia Clínica para administrar essa mixórdia&#8230;&lt;/p&gt;


	&lt;p&gt;Pelo menos agora posso ler as tirinhas do Garfield como de costume ;-)&lt;/p&gt;
          </content>  </entry>
</feed>
