<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>kill-9.it</title>
	
	<link>https://www.kill-9.it/blog</link>
	<description>Coffee for the mind, pizza for the body, sushi for the soul.</description>
	<lastBuildDate>Wed, 07 Mar 2012 21:11:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/kill-9/iUgf" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="kill-9/iugf" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Some small changes</title>
		<link>https://www.kill-9.it/blog/index.php/2012/03/07/some-small-changes/</link>
		<comments>https://www.kill-9.it/blog/index.php/2012/03/07/some-small-changes/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 21:11:05 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">https://www.kill-9.it/blog/?p=534</guid>
		<description><![CDATA[Ok, this post may come as a surprise to my 4 readers (two, excluding people I meet every day) BUT I finally took some time to apply some changes: site look has been changed. I still want to replace the &#8230; <a href="https://www.kill-9.it/blog/index.php/2012/03/07/some-small-changes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, this post may come as a surprise to my 4 readers (two, excluding people I meet every day) BUT I finally took some time to apply some changes:</p>
<ul>
<li>site look has been changed. I still want to replace the standard theme pictures with my own, but this wil take a little longer</li>
<li>the feed address has been converted to the &#8220;new&#8221; feedburner URL. Old link may still work, I don&#8217;t know how long and if it will still be updated. New link is <code>https://www.kill-9.it/blog/index.php/feed</code> or <code>http://feeds.feedburner.com/kill-9/iUgf</code></li>
<li>did you notice that the link above is to https? most of the site should now work seamlessly over both http and https. I plan to make it accessible over https only in the near future, even if some resources may remain over plain https.</li>
</ul>
<p>that&#8217;s all, see you in a couple of years. :)</p>
<p>TODO: turn IPv6 on. I&#8217;m not far from that too.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2012/03/07/some-small-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A tiny Transmission.app hack</title>
		<link>https://www.kill-9.it/blog/index.php/2010/10/19/a-tiny-transmission-app-hack/</link>
		<comments>https://www.kill-9.it/blog/index.php/2010/10/19/a-tiny-transmission-app-hack/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 17:53:31 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=513</guid>
		<description><![CDATA[(A post every 10 months. I hope that does not annoy you :) It will not take long to read, anyway. ) Transmission is a great BitTorrent client. It is full of features (look at the site!), including bandwidth control, &#8230; <a href="https://www.kill-9.it/blog/index.php/2010/10/19/a-tiny-transmission-app-hack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>(A post every 10 months. I hope that does not annoy you :) It will not take long to read, anyway. )</p>
<p><a href="http://www.transmissionbt.com/">Transmission</a> is a great BitTorrent client. It is full of features (look at the site!), including bandwidth control, and runs on every platform (Linux and Mac :P).<br />
You can choose global upload and download speeds, or shape single torrents among those you are working with.<br />
At home I have a 10mbit connection to the Internet so I rarely limit the torrents, but most of the time when I do it is to reserve a small quantity of bandwidth for Internet browsing while I wait, or to play online.</p>
<p>Transmission is a bit rigid regarding the possible speeds: the only possible values (for both upload and download) expressed in kilobytes/sec are 5, 10, 20, 30, 40, 50, 75, 100, 150, 200, 250, 500, 750, 1000, 1500, 2000. My home network chokes around 600. I could set for 500k, but where&#8217;s the fun?</p>
<p>So:</p>
<ul>
<li>head to <a href="https://trac.transmissionbt.com/wiki/Building">https://trac.transmissionbt.com/wiki/Building </a> and read thoroughly [the part specifying that you need to have XCode installed, for example]</li>
<li>learn that &#8220;<em>Building the project on Mac requires the source to be retrieved from SVN. Pre-packaged source code will not compile.</em>&#8220;</li>
<li>download the SVN code (uhm, yes. I also have pkgsrc installed):<br />
 <code>svn co svn://svn.transmissionbt.com/Transmission/trunk Transmission</code><br />
       in my case the version number was 2.11 1133-something.
</li>
<li>run a &#8220;dry&#8221; compile run &#8212; this will guarantee that the code is not broken <em>before</em> you start tinkering with it or that you have some local issue (my first time doing actually something with XCode. Easier than I thought, the source has an XCode project file)</li>
<li>find the relevant source files (grep was my friend). In the end I only modified Controller.m and TorrentTableView.m: find the line<br />
<code>const NSInteger speedLimitActionValue[] = { 5, 10, 20, 30, 40, 50, 75,<br />
100, 150, 200, 250, 500, 750, 1000, 1500, 2000, -1 };</code><br />
and modify it to match the speeds you want to be able to use. You can add or remove values as you like as long as the syntax is right.</li>
<li>compile it again and run it. :)</li>
</ul>
<p>If I were a programmer, I&#8217;d have implemented something that would allow the user to choose the speed as he liked &#8212; but this fits my needs.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2010/10/19/a-tiny-transmission-app-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Northwest Flight 253 and the “security” of it all</title>
		<link>https://www.kill-9.it/blog/index.php/2009/12/27/northwest-flight-253-and-the-security-of-it-all/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/12/27/northwest-flight-253-and-the-security-of-it-all/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 23:50:17 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/index.php/2009/12/27/northwest-flight-253-and-the-security-of-it-all/</guid>
		<description><![CDATA[By now I think everybody has heard of the unsuccessful [terrorist?] attack to Northwestern Flight 253, where Umar Farouk Abdul Mutallab tried to mix bomb components about one hour before the plane landed. We&#8217;re so used to the restrictions applied &#8230; <a href="https://www.kill-9.it/blog/index.php/2009/12/27/northwest-flight-253-and-the-security-of-it-all/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By now I think everybody has heard of the <strong>unsuccessful</strong> [terrorist?] attack to Northwestern Flight 253, where Umar Farouk Abdul Mutallab tried to mix bomb components about one hour before the plane landed.</p>
<p>We&#8217;re so used to the restrictions applied to passengers of flights, that we almost think of them as routine, while we should always think about the effectiveness of &quot;security&quot; measures as they are applied. The most lacking resource being often common sense.</p>
<p>In this case, we can already read of the next restrictive measures, <a href="http://www.dhs.gov/ynews/releases/pr_1261853923809.shtm">on the NHS site</a>:</p>
<blockquote>
<p>The Department of Homeland Security immediately put additional screening measures into place [...]</p>
<p>Passengers flying from international locations to U.S. destinations may notice additional security measures in place. These measures are designed to be unpredictable, so passengers should not expect to see the same thing everywhere.</p>
</blockquote>
<p>So, we&#8217;ll get more restrictions, but not the same everywhere. (WTF #1)</p>
<p>Next, let&#8217;s see what the TSA has in mind for us:</p>
<blockquote>
<p>Among other things, during the final hour of flight customers must remain seated, will not be allowed to access carry-on baggage, or have personal belongings or other items on their laps[...]</p>
</blockquote>
<p>as someone else said, I&#8217;m glad that the &quot;terrorist&quot; didn&#8217;t try to blow himself up three or more hours before. Now, I will not be allowed to take a book (or put it away) during just the last hour of the flight, but this will surely scare all those terrorists that can act and think only during that last flight hour. (WTF #2)</p>
<p>I still consider myself lucky, though, <a href="http://www.startribune.com/business/11214761.html">because</a>:</p>
<blockquote>
<p>Effective today, the TSA has informed Northwest that travelers are not allowed to transport any liquids, gels, lotions or similar items in their carry-on luggage. This includes items such as beverages, hairspray, toothpaste and shampoo. These types of items can only be carried in checked luggage.</p>
</blockquote>
<p>In the end, I do not agree with those who say that as the attack was not successful, no additional security measures would be needed. I still strongly believe that in this cases <a href="http://news.yahoo.com/s/ap/us_airliner_disturbance">early intelligence</a></p>
<blockquote>
<p>Mutallab&#8217;s name had surfaced earlier on at least one U.S. intelligence database, but not to the extent that he was placed on a watch list or a no-fly list.</p>
</blockquote>
<p>is much more useful than a guy asking me to leave my water bottle at the security check.</p>
<p>In the meanwhile, it leaves me surprised that the bomber left from an airport that the <a href="http://www.african-aviation.com/index.php?option=com_content&#038;view=article&#038;catid=16:africa&#038;id=178:the-transportation-security-administrationconfirms-lagos-airport-security-compliance">TSA confirmed compliant</a> just a month ago. Again: either the airport security failed, or the security procedures and requirements are just wrong.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/12/27/northwest-flight-253-and-the-security-of-it-all/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Intel’s Activex</title>
		<link>https://www.kill-9.it/blog/index.php/2009/12/03/intels-activex/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/12/03/intels-activex/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 19:38:34 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=495</guid>
		<description><![CDATA[So, who am I supposed to trust? (it turns out that Husdawg LLC is a perfectly &#8220;legal&#8221; ActiveX provider, but Intel does not mention them anywhere &#8212; just hoping people will click through?)]]></description>
			<content:encoded><![CDATA[<p>So, who am I supposed to trust?</p>
<p><a href="http://farm3.static.flickr.com/2562/4137384969_41c4ef5333_o.png"><img src="http://farm3.static.flickr.com/2562/4137384969_41c4ef5333_o.png"/></a></p>
<p>(it turns out that <a href="http://www.husdawg.com/">Husdawg LLC</a> is a perfectly &#8220;legal&#8221; ActiveX provider, but Intel does not mention them anywhere &#8212; just hoping people will click through?)</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/12/03/intels-activex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard Trash, again</title>
		<link>https://www.kill-9.it/blog/index.php/2009/11/12/snow-leopard-trash-again/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/11/12/snow-leopard-trash-again/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 22:58:11 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=480</guid>
		<description><![CDATA[At first I did not notice, but emptying the trash took ages, even &#8220;not securely&#8221;. Well, being the geek I am I did a quick dtruss on the Locum process, which spit out a huge list of write_nocancel syscalls. So, &#8230; <a href="https://www.kill-9.it/blog/index.php/2009/11/12/snow-leopard-trash-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At first I did not notice, but emptying the trash took ages, even &#8220;not securely&#8221;.<br />
Well, being the geek I am I did a quick dtruss on the Locum process, which spit out a huge list of write_nocancel syscalls. So, it seems it was actually writing stuff over the files I asked him to delete, even if I never asked him to (I just did a right click on the Trash icon, and selected &#8220;Empty Trash&#8221;). WTF?</p>
<p>Well, I learned (thanks Google) that Snow Leopard does a secure erase of the trash by default. Annoying.<br />
And that I did not realize that until now. Embarassing.</p>
<p>So, this can be solved at least in two ways:</p>
<p><strong>The GUI one</strong><br />
Go into Finder preferences, Advanced, and uncheck &#8220;Empty Trash securely&#8221;</p>
<p align=center><img src="http://www.kill-9.it/images/finderpref.png" alt="Finder Preferences Window" /></p>
<p>or</p>
<p><strong>the CLI one</strong><br />
Go into ~/Library/Preferences, convert the Finder preferences to xml (it&#8217;s binary by default)<br />
<code>plutil -convert xml1 com.apple.finder.plist</code><br />
and change the stanza</p>
<p><code>        &lt;key&gt;EmptyTrashSecurely&lt;/key&gt;<br />
        &lt;true/&gt;</code><br />
to<code><br />
        &lt;key&gt;EmptyTrashSecurely&lt;/key&gt;<br />
        &lt;false/&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/11/12/snow-leopard-trash-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Italian Agile Day 2009: Aperte le Iscrizioni!</title>
		<link>https://www.kill-9.it/blog/index.php/2009/10/21/italian-agile-day-2009-aperte-le-iscrizioni/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/10/21/italian-agile-day-2009-aperte-le-iscrizioni/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 12:25:27 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[Italiano]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=477</guid>
		<description><![CDATA[Leggo e volentieri riporto il post sul blog di paolo sull&#8217; Agile Day 2009, conferenza unica nel suo genere, organizzata senza budget faraonici ma ricca di contenuti. Se fate sviluppo software (e non solo), fateci un salto: Venerdì 20 Novembre &#8230; <a href="https://www.kill-9.it/blog/index.php/2009/10/21/italian-agile-day-2009-aperte-le-iscrizioni/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Leggo e volentieri riporto il post sul blog di <a href="http://www.casarini.org/blog/2009/italian-agile-day-2009-aperte-le-iscrizioni/">paolo</a> sull&#8217; <a href="http://www.agileday.it/front/2009/italian-agile-day-2009/">Agile Day 2009</a>, conferenza unica nel suo genere, organizzata senza budget faraonici ma ricca di contenuti.<br />
Se fate sviluppo software (e non solo), fateci un salto: Venerdì 20 Novembre 2009,  a Bologna.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/10/21/italian-agile-day-2009-aperte-le-iscrizioni/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr.com down</title>
		<link>https://www.kill-9.it/blog/index.php/2009/10/20/flickr-com-down/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/10/20/flickr-com-down/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 17:37:45 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=470</guid>
		<description><![CDATA[beepbeep:~ zen$ date Tue Oct 20 19:34:42 CEST 2009 beepbeep:~ zen$ host www.flickr.com www.flickr.com is an alias for www.flickr.vip.mud.yahoo.com. www.flickr.vip.mud.yahoo.com has address 68.142.214.24 www.flickr.vip.mud.yahoo.com mail is handled by 0 . beepbeep:~ zen$ telnet www.flickr.com 80 Trying 68.142.214.24... telnet: connect to &#8230; <a href="https://www.kill-9.it/blog/index.php/2009/10/20/flickr-com-down/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><code><br />
beepbeep:~ zen$ date<br />
Tue Oct 20 19:34:42 CEST 2009<br />
beepbeep:~ zen$ host www.flickr.com<br />
www.flickr.com is an alias for www.flickr.vip.mud.yahoo.com.<br />
www.flickr.vip.mud.yahoo.com has address 68.142.214.24<br />
www.flickr.vip.mud.yahoo.com mail is handled by 0 .<br />
beepbeep:~ zen$ telnet www.flickr.com 80<br />
Trying 68.142.214.24...<br />
telnet: connect to address 68.142.214.24: Connection refused<br />
telnet: Unable to connect to remote host<br />
</code></p>
<p>weird.<br />
The very same www.flickr.vip.mud.yahoo.com handles api.flickr.com (which is, unsurprisingly, down).<br />
Doesn&#8217;t look smart from here.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/10/20/flickr-com-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verbosely emptying the trash</title>
		<link>https://www.kill-9.it/blog/index.php/2009/10/17/verbosely-emptying-the-trash/</link>
		<comments>https://www.kill-9.it/blog/index.php/2009/10/17/verbosely-emptying-the-trash/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 12:01:48 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.kill-9.it/blog/?p=462</guid>
		<description><![CDATA[Like it happens on Windows, when you decide to delete something OSX simply moves that file or directory to &#8220;the Trash&#8221;, which is just a hidden directory on the volume you&#8217;re deleting from. Then, you right click on the Trash &#8230; <a href="https://www.kill-9.it/blog/index.php/2009/10/17/verbosely-emptying-the-trash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like it happens on Windows, when you decide to delete something OSX simply moves that file or directory to &#8220;the Trash&#8221;, which is just a hidden directory on the volume you&#8217;re deleting from. Then, you right click on the Trash icon and select &#8220;Empty trash&#8221;.<br />
This action pops up a small window like this:</p>
<p align=center>
<img src="http://www.kill-9.it/images/osxtrash.png" alt="osx trash progress window" />
</p>
<p>I grew tired of asking myself what OSX was deleting (the operation can take a while, especially when &#8212; as I often do &#8212; you&#8217;re doing a secure erase) so this ugly one-liner, run as root, will give you the file the OS is working on:</p>
<p><code><br />
ps auxw | grep -i locum | grep -v grep | awk &#039;{print $2}&#039; | xargs lsof -p | grep -i Trash | awk &#039;{print $9}&#039;<br />
</code></p>
<p>It will output something like this:<br />
<code>/Volumes/FAT80GB/.Trashes/502/xcode3210a432.dmg</code></p>
<p>You can wrap that command inside the usual while/sleep loop if you want something that keeps you updated on what is going on &#8212; or make it an alias for your favourite shell.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.kill-9.it/blog/index.php/2009/10/17/verbosely-emptying-the-trash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

