<?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>numlock.ch - a changelog by Daniel Mettler &#187; IT</title>
	<atom:link href="http://www.numlock.ch/news/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.numlock.ch/news</link>
	<description>Make a diff!</description>
	<lastBuildDate>Tue, 01 Nov 2011 16:19:05 +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>HP 48G: How to fix the &#8220;Warning: Invalid Card Data&#8221; problem</title>
		<link>http://www.numlock.ch/news/it/hp-48g-how-to-fix-the-warning-invalid-card-data-problemalid-card/</link>
		<comments>http://www.numlock.ch/news/it/hp-48g-how-to-fix-the-warning-invalid-card-data-problemalid-card/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 16:19:05 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[calc]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Hewlett-Packard]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[HP 48]]></category>
		<category><![CDATA[HP 48G]]></category>
		<category><![CDATA[HP 48GX]]></category>
		<category><![CDATA[Invalid Card Data]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=992</guid>
		<description><![CDATA[Recently, my good old HP 48G calculator (one of the best calculators ever built and my longtime personal favourite till today) started displaying the following message whenever I switched it on: Warning: Invalid Card Data Which seems a bit odd &#8230; <a href="http://www.numlock.ch/news/it/hp-48g-how-to-fix-the-warning-invalid-card-data-problemalid-card/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, my good old <a href="http://en.wikipedia.org/wiki/HP-48_series" target="_blank">HP 48G</a> calculator (one of the best calculators ever built and my longtime personal favourite till today) started displaying the following message whenever I switched it on:</p>
<pre>Warning: Invalid Card Data</pre>
<p>Which seems a bit odd at first, considering the 48G model has no card slot (only the 48GX model has one). Luckily, there&#8217;s a simple solution: Execute the PINIT command by typing &#8220;PINIT&#8221; (without the double quotes) and pressing the ENTER key.</p>
<p>There&#8217;s a great, detailed explanation of this problem and the according fix in the<a href="http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv013.cgi?read=43990" target="_blank"> &#8220;invalid card data at my hp48g&#8221; thread over at the independent HP calculator museum</a>. If this warning message appears on a HP 48GX and the problem persists after applying this fix, take a look at step 3 described in the  article titled <a href="http://h10025.www1.hp.com/ewfrf/wc/document?dlc=en&amp;lc=en&amp;cc=us&amp;docname=bpia5210" target="_blank">&#8220;Message, Invalid Card Data, is Displayed when the Calculator is Turned On&#8221;</a> on HP&#8217;s support forum.</p>
<p>Wouldn&#8217;t it be a pity if a company with such a great history and so many great hardware products ceased to be a hardware company?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/hp-48g-how-to-fix-the-warning-invalid-card-data-problemalid-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A note about how to reset Mac OS X Lion to factory defaults</title>
		<link>http://www.numlock.ch/news/it/a-note-about-how-to-reset-mac-os-x-lion-to-factory-defaults/</link>
		<comments>http://www.numlock.ch/news/it/a-note-about-how-to-reset-mac-os-x-lion-to-factory-defaults/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 15:10:26 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[10.7]]></category>
		<category><![CDATA[clean]]></category>
		<category><![CDATA[erase]]></category>
		<category><![CDATA[factory defaults]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[mac os x lion]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=960</guid>
		<description><![CDATA[I just added a note about how to reset Mac OS X v10.7 Lion to factory defaults. Thanks to Adam and Adrian for the hints (and Mark for the actual work-around on the Apple forum -&#62; unverified, feedback welcome!).]]></description>
			<content:encoded><![CDATA[<p>I just added a note about <a href="http://www.numlock.ch/news/it/how-to-reset-a-mac-os-x-installation/">how to reset Mac OS X v10.7 Lion</a> to factory defaults. Thanks to Adam and Adrian for the hints (and Mark for the actual work-around on the Apple forum -&gt; unverified, feedback welcome!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/a-note-about-how-to-reset-mac-os-x-lion-to-factory-defaults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Button-itis R.I.P.! No more &#8220;share&#8221; buttons on this changelog.</title>
		<link>http://www.numlock.ch/news/it/button-itis-rip-no-more-share-buttons-on-this-changelog/</link>
		<comments>http://www.numlock.ch/news/it/button-itis-rip-no-more-share-buttons-on-this-changelog/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 14:59:51 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[numlock.ch]]></category>
		<category><![CDATA[+1]]></category>
		<category><![CDATA[button-itis]]></category>
		<category><![CDATA[buttonitis]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[open social backbone]]></category>
		<category><![CDATA[share button]]></category>
		<category><![CDATA[social sharing]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=959</guid>
		<description><![CDATA[I decided to disable the &#8220;share&#8221; button plugin (&#8220;tweet&#8221;, &#8220;like&#8221;, &#8220;+1&#8243; etc.) on this changelog for the following reasons: I) I have to use (and know about) these social sharing technologies as an IT professional. As a private person however, &#8230; <a href="http://www.numlock.ch/news/it/button-itis-rip-no-more-share-buttons-on-this-changelog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided to disable the &#8220;share&#8221; button plugin (&#8220;tweet&#8221;, &#8220;like&#8221;, &#8220;+1&#8243; etc.) on this changelog for the following reasons:</p>
<p>I) I have to use (and know about) these social sharing technologies as an IT professional. As a private person however, I disapprove of proprietary technologies that may unknowingly inflict people&#8217;s privacy online (for even more scary stuff, learn about <a href="http://panopticlick.eff.org/" target="_blank">browser fingerprinting</a> and read this recent <a href="http://www.wired.com/epicenter/2011/07/undeletable-cookie/" target="_blank">Wired story about undeletable cookies</a>). I also recommend and support using plugins and tools like</p>
<ul>
<li>Brian Kennish&#8217;s <a href="https://chrome.google.com/webstore/detail/jeoacafpbcihiomhlakheieifhpjdfeo" target="_blank">Disconnect extension</a> for Chromium based browsers</li>
<li>SRWare&#8217;s <a href="http://www.srware.net/software_srware_iron.php" target="_blank">Iron Browser</a> (a better Chrome alternative, see <a href="http://www.srware.net/software_srware_iron_chrome_vs_iron.php" target="_blank">Iron vs. Chrome</a>)</li>
<li><a href="https://www.torproject.org/" target="_blank">Tor Project</a></li>
</ul>
<p>II) The way how social sharing (and &#8220;social&#8221; per se) is done today is just plain wrong:</p>
<ul>
<li>It&#8217;s proprietary instead of based on open standards.</li>
<li>Data usually gets pulled into proprietary, closed, data silos instead of giving users full and exclusive control over their very own data.</li>
<li>All the big existing social sharing architectures follow a vulnerable (in so many ways), centralized approach instead of a robust, distributed (or at least federated) one.</li>
<li>Erroneously, people try to solve &#8220;social sharing&#8221; on the web application level instead of on a lower level and as part of an open protocol and specification (an open social backbone) rather than as various incompatible and proprietary implementations.</li>
<li>Giving users guarantees and full control about their online privacy and data is impossible with the current approaches. Users are required to care about their settings for every single social sharing tool out there instead of being able to specify a global policy (e.g. in the browser).</li>
<li>So far, social sharing is de facto opt-out instead of opt-in, which is the wrong approach if you want to put the user in control and avoid being evil.</li>
</ul>
<p>III) &#8220;tweet&#8221;, &#8220;like&#8221;, &#8220;+1&#8243; buttons clutter up and &#8220;slow down&#8221; web pages and make for an unenjoyable user experience, also in regard to accessibility. It doesn&#8217;t scale (a separate button for each social network, for each shareable entity on a page , though it&#8217;s basically all just about &#8220;sharing something&#8221;? Oh no!). It&#8217;s not even necessary, pure lazyness (feel free to share by copy-pasting URLs manually until there&#8217;s a true social backbone). It simply s*cks on so many levels. The &#8220;share&#8221; button-itis as common today will largely disappear and be replaced by a browser built-in, extensible, standardized social sharing facility in a matter of 5 years.</p>
<p>IV) Do you know the code that hides behind a share button (or a fake thereof)? If so, do you know what exactly is going to happen when you click on it while surfing the web? Neither do I. Security, transparency, reliability, usability and accessibility could be improved a lot by moving &#8220;social sharing&#8221; from web pages to the browser.</p>
<p>Further (of less importance for the general discussion):</p>
<ul>
<li>As a private person I  don&#8217;t care much about popularity contests and popularity in general, neither that of my pages nor of myself (or my virtual alter ego).</li>
<li>On this changelog, the &#8220;share&#8221; buttons were rarely used anyway. I&#8217;m confident people won&#8217;t miss them now that they&#8217;re gone.</li>
</ul>
<p>Important note: This post reflects nothing but my own opinion as a private person (like everything else posted on this private blog). I can clearly distinguish between my own opinion as a private person and opinions and needs of other individuals, businesses (even my own business), organizations and customers and fully respect them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/button-itis-rip-no-more-share-buttons-on-this-changelog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zimbra Collaboration Server: Best tested platform?</title>
		<link>http://www.numlock.ch/news/it/zimbra-collaboration-server-best-tested-platform/</link>
		<comments>http://www.numlock.ch/news/it/zimbra-collaboration-server-best-tested-platform/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 19:37:02 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ZCS]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=941</guid>
		<description><![CDATA[First: Of course, all listed supported ZCS platforms are tested platforms. The interesting thing is that according to internal sources, most boxes in Zimbra&#8217;s test farm now run Ubuntu instead of Fedora/RH/Centos. Way to go, VMWare!]]></description>
			<content:encoded><![CDATA[<p>First: Of course, all listed <a href="http://www.zimbra.com/downloads/os-downloads.html">supported ZCS platforms</a> are tested platforms.</p>
<p>The interesting thing is that according to internal sources, most boxes in Zimbra&#8217;s test farm now run Ubuntu instead of Fedora/RH/Centos. Way to go, VMWare!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/zimbra-collaboration-server-best-tested-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype 5.3.0.116 &#8211; a memory hog with memory leaks</title>
		<link>http://www.numlock.ch/news/it/skype-a-memory-hog-with-memory-leaks/</link>
		<comments>http://www.numlock.ch/news/it/skype-a-memory-hog-with-memory-leaks/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 22:07:01 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[memory hog]]></category>
		<category><![CDATA[memory leak]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=936</guid>
		<description><![CDATA[Just take a look at the following screenshot I just took, showing two Skype 5.3.0.116 instances running on a current Windows 7 box with 4 GB of RAM: That&#8217;s 330 MB of private memory for each instance at this very &#8230; <a href="http://www.numlock.ch/news/it/skype-a-memory-hog-with-memory-leaks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just take a look at the following screenshot I just took, showing two Skype 5.3.0.116 instances running on a current Windows 7 box with 4 GB of RAM:</p>
<p><a href="http://www.numlock.ch/news/wp-content/uploads/2011/06/skype_is_a_memory_hog.png"><img src="http://www.numlock.ch/news/wp-content/uploads/2011/06/skype_is_a_memory_hog-300x148.png" alt="" title="skype_is_a_memory_hog" width="300" height="148" class="aligncenter size-medium wp-image-937" /></a></p>
<p>That&#8217;s 330 MB of private memory for each instance at this very moment! Note that these numbers are steadily growing (at about 2 KB/s) for both processes &#8211; for no apparent reason. A hint, that there&#8217;s likely a memory leak somewhere in Skype.</p>
<p>Let&#8217;s hope Microsoft will rewrite Skype from scratch (The current code-base probably isn&#8217;t worth refactoring). I&#8217;m confident they don&#8217;t lack the human and financial resources to do it. It can only get better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/skype-a-memory-hog-with-memory-leaks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Zimbra Collaboration Server: Troubles after updating to ZCS 7.1.1 &#8211; here&#8217;s the solution.</title>
		<link>http://www.numlock.ch/news/it/zimbra-collaboration-server-troubles-after-updating-to-zcs-7-1-1-here-is-the-solution/</link>
		<comments>http://www.numlock.ch/news/it/zimbra-collaboration-server-troubles-after-updating-to-zcs-7-1-1-here-is-the-solution/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 08:39:27 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[7.1.1]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[rsyslog]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ZCS]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=923</guid>
		<description><![CDATA[Generally, Zimbra&#8216;s update scripts for ZCS run smoothly. However, after updating ZCS from 7.0.1 to 7.1.1 on Ubuntu 10.04.2 LTS a couple of days ago, I noticed that most of the server&#8217;s services crashed within 1-2 hours after starting the &#8230; <a href="http://www.numlock.ch/news/it/zimbra-collaboration-server-troubles-after-updating-to-zcs-7-1-1-here-is-the-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Generally, <a href="http://www.zimbra.com/">Zimbra</a>&#8216;s update scripts for ZCS run smoothly. However, after updating ZCS from 7.0.1 to 7.1.1 on Ubuntu 10.04.2 LTS a couple of days ago, I noticed that most of the server&#8217;s services crashed within 1-2 hours after starting the (virtual) server.</p>
<p>To make a long debugging story short, here&#8217;s a summary of the problem:</p>
<p>The update script doesn&#8217;t properly remove old entries in /etc/rsyslog.conf when creating a new dedicated rsyslog configuration file for zimbra (/etc/rsyslog.d/60-zimbra.conf). This makes rsyslog log its own logging due to double rule entries &#8211; making /var/log/zimbra-stats.log grow at 2 MB/s. Like this, zimbra effectively DOSes itself as the server runs out of free disk space in no time (my above-average 12 GB of free space were filled within about 1 hour 40 minutes).</p>
<p>And here&#8217;s the solution:</p>
<p>1. Stop rsyslog to stop it from filling up your disk with nonsense: &#8216;/etc/init.d/rsyslog stop&#8217; or &#8216;service rsyslog stop&#8217;<br />
2. If necessary (i.e. if the updated server has been running for several minutes already), reclaim your free disk space by deleting/emptying big log files in /var/log, e.g. zimbra-stats.log, zimbra.log, mail.info, mail.log, mail.err, mail.warn etc.<br />
3. Edit /etc/rsyslog.conf and remove the entries (likely at the end of the file) that look similar to these:<br />
<code>local0.*                @mail.yourserver.com<br />
local1.*                @mail.yourserver.com<br />
auth.*                  @mail.yourserver.com<br />
local0.*                -/var/log/zimbra.log<br />
local1.*                -/var/log/zimbra-stats.log<br />
auth.*                  -/var/log/zimbra.log<br />
mail.*                @mail.yourserver.com<br />
mail.*                -/var/log/zimbra.log</code><br />
(these are now in /etc/rsyslog.d/60-zimbra.conf)<br />
4. Restart rsyslog: &#8216;service rsyslog restart&#8217;<br />
5. Restart ZCS if it doesn&#8217;t run properly anymore: /etc/init.d/zimbra restart (you may even have to reboot the whole box if that doesn&#8217;t work)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/zimbra-collaboration-server-troubles-after-updating-to-zcs-7-1-1-here-is-the-solution/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Log.io &#8211; Real-time log monitoring in your browser</title>
		<link>http://www.numlock.ch/news/it/log-io-real-time-log-monitoring-in-your-browser/</link>
		<comments>http://www.numlock.ch/news/it/log-io-real-time-log-monitoring-in-your-browser/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 03:11:37 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[log.io node.js socket.io real-time log monitoring browser]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=927</guid>
		<description><![CDATA[Log.io, real-time log monitoring in your browser powered by node.js + socket.io looks like a pretty useful project. I couldn&#8217;t check yet though whether it supports encrypted inter-server communication (often a must-have). via Log.io &#8211; Real-time log monitoring in your &#8230; <a href="http://www.numlock.ch/news/it/log-io-real-time-log-monitoring-in-your-browser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://logio.org">Log.io</a>, real-time log monitoring in your browser powered by node.js + socket.io looks like a pretty useful project. I couldn&#8217;t check yet though whether it supports encrypted inter-server communication (often a must-have).</p>
<p>via <a href="http://logio.org/">Log.io &#8211; Real-time log monitoring in your browser</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/log-io-real-time-log-monitoring-in-your-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Less is more: colordiff and more or less</title>
		<link>http://www.numlock.ch/news/it/less-is-more-colordiff-and-more-or-less/</link>
		<comments>http://www.numlock.ch/news/it/less-is-more-colordiff-and-more-or-less/#comments</comments>
		<pubDate>Mon, 30 May 2011 12:41:54 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[colordiff]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[more]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=917</guid>
		<description><![CDATA[In the Unix/Linux/Mac OS X world, less is more. Literally, in that &#8216;less&#8216; fully emulates &#8216;more&#8216;, and figuratively, as it provides useful additional functionality like backwards scrolling. So, you really want to use &#8216;less&#8217; instead of &#8216;more&#8217; for paging another &#8230; <a href="http://www.numlock.ch/news/it/less-is-more-colordiff-and-more-or-less/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the Unix/Linux/Mac OS X world, <em>less</em> is <em>more</em>. Literally, in that &#8216;<a href="http://en.wikipedia.org/wiki/Less_(Unix)">less</a>&#8216; fully emulates &#8216;<a href="http://en.wikipedia.org/wiki/More_(command)">more</a>&#8216;, and figuratively, as it provides useful additional functionality like backwards scrolling. So, you really want to use &#8216;less&#8217; instead of &#8216;more&#8217; for paging another command&#8217;s output, e.g.</p>
<p><code>cat a_long_document.txt|less</code></p>
<p>When used to page the output of <a href="http://colordiff.sourceforge.net/">colordiff</a> however, &#8216;less&#8217; displays a mess instead of properly displaying colored output like &#8216;more&#8217;.<br />
The trick is to use &#8216;less&#8217; with either the -r or -R option (which both repaint the screen), i.e.</p>
<p><code>colordiff -u file_old.py file_new.py|less -r</code></p>
<p>or</p>
<p><code>colordiff -u file_old.py file_new.py|less -R</code></p>
<p>(try which one works better with your system and terminal)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/less-is-more-colordiff-and-more-or-less/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Erase/wipe free space using Mac OS X</title>
		<link>http://www.numlock.ch/news/it/erase-wipe-free-space-using-mac-os-x/</link>
		<comments>http://www.numlock.ch/news/it/erase-wipe-free-space-using-mac-os-x/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 07:45:28 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[diskutil]]></category>
		<category><![CDATA[erase]]></category>
		<category><![CDATA[free space]]></category>
		<category><![CDATA[secure delete]]></category>
		<category><![CDATA[wipe]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=886</guid>
		<description><![CDATA[When deleting a file, most operating systems just delete the reference to this file, not its actual content. For illustration, that&#8217;s like removing a chapter from a book&#8217;s table of contents without actually removing (and shredding) the according pages in &#8230; <a href="http://www.numlock.ch/news/it/erase-wipe-free-space-using-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When deleting a file, most operating systems just delete the reference to this file, not its actual content. For illustration, that&#8217;s like removing a chapter from a book&#8217;s table of contents without actually removing (and shredding) the according pages in the book.</p>
<p>So, in order to really (securely) delete a file on a hard disk, there are basically two methods (simplified; from a technical point of view it&#8217;s both the same):</p>
<ul>
<li>Overwrite the file content (i.e. its clusters) with random data</li>
<li>Delete the file as usual, empty the trash and overwrite the whole free space on the according hard disk with random data</li>
</ul>
<p>For the second method, here&#8217;s how to do it using Mac OS X:</p>
<ol>
<li>Delete the file(s) and empty the trash</li>
<li>Find out the device name of the according hard disk by opening a new &#8216;Terminal&#8217; window and executing the &#8220;<strong>df</strong>&#8221; command. For example, for a RAID 1 disk, the path of the disk might be something like &#8220;/dev/disk2&#8243;</li>
<li>In the opened &#8216;Terminal&#8217; window, execute:<br />
<strong>diskutil secureErase freespace 1 /dev/disk2</strong><br />
where &#8220;1&#8243; stands for &#8220;single-pass random-fill erase&#8221; and &#8220;/dev/disk2&#8243; is the disk device  (adjust this to match your disk). When prompted, enter the admin&#8217;s credentials.</li>
</ol>
<p>Note that overwriting free space like this takes quite some time depending on the amount of free space there is and how many passes you need (e.g. use &#8220;2&#8243; for a US DoD 7-pass secure erase or &#8220;3&#8243; for a Gutmann 35-pass secure erase). For more information about diskutil and its options, see &#8220;man diskutils&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/erase-wipe-free-space-using-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows: Move a window that is off the screen</title>
		<link>http://www.numlock.ch/news/it/windows-move-a-window-that-is-off-the-screen/</link>
		<comments>http://www.numlock.ch/news/it/windows-move-a-window-that-is-off-the-screen/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:04:47 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[multihead]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[XChat]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=874</guid>
		<description><![CDATA[Make sure, the invisible (off-screen) window has the focus: Hold down ALT + Tab to select the (invisible) window you want to move Hold down Alt + Spacebar Press the M key Use the arrow keys to relocate the window &#8230; <a href="http://www.numlock.ch/news/it/windows-move-a-window-that-is-off-the-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li>Make sure, the invisible (off-screen) window has the focus: Hold down ALT + Tab to select the (invisible) window you want to move</li>
<li>Hold down Alt + Spacebar</li>
<li>Press the M key</li>
<li>Use the arrow keys to relocate the window until it becomes visible again</li>
<li>Press the Enter key when you have the Window in the desired location.</li>
</ol>
<p>via <a href="http://www.tacktech.com/display.cfm?ttid=56">Move a window when its title bar is off the screen (Tips, Tricks, Tweaks, and Setting) &#8211; TACKtech Corp.</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/windows-move-a-window-that-is-off-the-screen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

