<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Tux Love</title>
      <link>http://blogs.pcworld.co.nz/pcworld/tux-love/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2010</copyright>
      <lastBuildDate>Sun, 29 Aug 2010 18:15:10 +1300</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.33</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>iPhone into iSpy</title>
         <description><![CDATA[The Electronic Frontier Foundation (EFF) are labelling Apple's latest
patent application "traitorware" ...<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(238, 238, 238);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">While users were celebrating the
new jailbreaking and unlocking exemptions, Apple was quietly preparing
to apply for a patent&nbsp; on technology that, among other things,
would allow Apple to identify and punish users who take advantage of
those exemptions or otherwise tinker with their devices. This patent
application does nothing short of providing a roadmap for how Apple can
&#8212; and presumably will &#8212; spy on its customers and control the way its
customers use Apple products.<br>
</td>
</tr>
</tbody>
</table>
<br>
Ostensibly designed to respond to the loss of a phone it will give them
the ability to;<br>
<ul>
<li>Take a picture of your face "without a flash, any noise, or any
indication that a picture is being taken to prevent the current user
from knowing he is being photographed".</li>
</ul>
<ul>
<li>Record your voice, whether or not you're even making a call.</li>
</ul>
<ul>
<li>Determine your individual heartbeat "signature"(!)</li>
</ul>
<ul>
<li>Monitor all internet activity and record "any communication
packets that are served to the electronic device".</li>
</ul>
<br>
The EFF are calling it "downright creepy and invasive". "Spyware, and
its new cousin traitorware, will hurt customers and companies alike &#8212;
Apple should shelve this idea before it backfires on both it and its
customers," <a
href="http://www.eff.org/deeplinks/2010/08/steve-jobs-watching-you-apple-seeking-patent-0">they
say</a>.<br>
<br>
The patent's <a
href="http://www.patentvest.com/console/reports/docs/app/20100207721.html">here</a>.<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/iphone_into_ispy.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/iphone_into_ispy.html</guid>
         <category>News</category>
         <pubDate>Sun, 29 Aug 2010 18:15:10 +1300</pubDate>
      </item>
            <item>
         <title>Time to upgrade : KDE 4.5</title>
         <description><![CDATA[<br>
<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/kde45-apps.jpg"
alt=""
style="border: 0px solid ; width: 128px; height: 128px; float: left;"
align="left" hspace="10" vspace="5">
I've always been a sucker for the latest download, especially when it
comes to KDE, so I was pleased to discover this multi-distro
compendium of <a
href="http://maketecheasier.com/install-kde-4-5/2010/08/18">How to
Install KDE 4.5</a> on <a href="http://maketecheasier.com">MakeTechEasier</a>.
You'll find directions on how to upgrade Kubuntu, Mandriva, OpenSuse, Fedora,
Slackware, Gentoo, PCLinuxOS and Linux Mint, so what are you waiting for?<br>
<br>
And while the upgraded packages are downloading, check out this <a
href="http://maketecheasier.com/kde-4-5-preview/2010/08/04">preview of what you'll find in this release</a>.<br>
<br>

<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/time_to_upgrade_kde_45.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/time_to_upgrade_kde_45.html</guid>
         <category>Software</category>
         <pubDate>Tue, 24 Aug 2010 20:06:24 +1300</pubDate>
      </item>
            <item>
         <title>Firefox : Awesome addons - GoogleSharing</title>
         <description><![CDATA[<br>
<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/firefox.jpg"
alt=""
style="border: 0px solid ; width: 128px; height: 128px; float: left;"
align="left" hspace="10" vspace="5">
<br>
Most people believe that Google is a search engine company. It's not.
It's an advertising agency that just happens to own the world's most
successful search engine, and every time you use that search engine,
they learn a little more about you.
<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;text-align: justify;">If you're like most internet
users, Google knows more about you than you might be comfortable with.
Whether you were logged in to a Google account or not, they know
everything you've ever searched for, what search results you clicked
on, what news you read, and every place you've ever gotten directions
to. Most of the time, thanks to things like Google Analytics, they even
know which websites you visited that you <i>didn't</i> reach through
Google. <br><br>If you use Gmail, they know the content of every email you've
ever sent or received, whether you've deleted it or not.
They know who your friends are, where you live, where you work, and
where you spend your free time. They know about your health, your love
life, and your political leanings. These days they are even branching
out into collecting your realtime GPS location and your DNS lookups. In
short, not only do they know a lot about what you're doing, they also
have significant insight into what you're <i>thinking</i>. <br>
</td>
</tr>
</tbody>
</table>
<br>
Back in April a hacker by the name of <a
href="http://www.thoughtcrime.org/about.html">Moxie Marlinspike</a>
came out with a Firefox addon called <a
href="http://www.googlesharing.net/">GoogleSharing</a> to throw a
spanner in Google's works.
<br>
<br>
The addon watches for requests for Google services such as Search and
transparently redirects them to a GoogleSharing proxy server. The
server contains a pool of fictitious "identities" -- including cookies
-- which are used in place of any personal data you might be
unwittingly supplying. The altered request is forwarded to Google, and
the response proxied back to you. It all happens swiftly and
transparently.
<br>
<br>
There's a few other clever wrinkles. Pooling all traffic and constantly
switching identities makes even the proxy server's traffic hard to
analyze, and on top of that the proxy constantly injects false but
plausible search requests through all the identities it uses.
<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;text-align: justify;">The result is that you can
transparently use Google search, images, maps, products, news, etc...
without Google being able to track you by IP address, Cookie, or any
other identifying HTTP headers. And only your Google traffic is
redirected. Everything else from your browser goes directly to its
destination. <br>
</td>
</tr>
</tbody>
</table>
<br>
In operation, it simply requires a click on the Status Bar ...
<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/googlesharing.jpg"
alt=""
style="border: 0px solid ; width: 368px; height: 57px; float: left;"
align="left" hspace="10" vspace="5"> <br>
<br>
<br>
<br>
<br>
... to enable or disable it. Brilliant!<br>
<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/firefox_awesome_addons_googles.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/firefox_awesome_addons_googles.html</guid>
         <category>Hacking</category>
         <pubDate>Thu, 19 Aug 2010 21:40:22 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Die Flash Cookie, Die!</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png" alt="" style="width: 128px; height: 128px; float: left;" hspace="5" vspace="5">
<a href="http://en.wikipedia.org/wiki/Flash_cookie">Flash
cookies</a> are nasty and pervasive. Most users aren't even aware they
exist because they're tucked away in hidden files. (Full details <a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1446862">here</a>.)
Browsers don't delete them because they're browser-independent, and
even if you kill 'em the companies pushing them at you can respawn
them. These "zombie cookies" -- so-called because they just keep coming
back from the dead -- are currently the subject of <a href="http://www.wired.com/threatlevel/2010/07/zombie-cookies-lawsuit">a
privacy lawsuit in the States</a>.<br>

<br>

All good horror film fans know that killing zombies isn't sufficient,
you have to stop them coming back. And that's what we're about to do.<br>

<br>

<b>1: Find
the zombies.</b><br>
Open your file browser, go
to the <code><big><b>/home/your_user_name </b></big></code>folder and switch on View Hidden
Files. (In Konqueror and Dolphin you'll find this under the <b>View</b> menu item.) Scroll down and
click on the <code><big><b>.macromedia </b></big></code> file. Under it you'll
find a folder called <code><big><b>Flash_Player </b></big></code> and under that two more
folders ...<br><br>
</p>

<img style="width: 300px; height: 125px;" alt="" src="http://blogs.pcworld.co.nz/pcworld/tux-love/zombie-01.jpg"></p>
<br><br>
If you
click the expanders (those + signs) you'll find dozens of directories
you didn't know you had, each containing a <code><big><b>*.sol </b></big></code> file. Those are the
actual cookies.<br><br>
</p>

<img style="width: 300px; height: 168px;" alt="" src="http://blogs.pcworld.co.nz/pcworld/tux-love/zombie-02.jpg"></p>

<br>
</p>
<br>
<br><b>2: Back 'em up</b><br>

I'm always wary of just deleting stuff like this as some of it might be
important. So instead of wiping it, let's just rename the folder.
Right-click <code><big><b>.macromedia </b></big></code> and give it another name.
<code><big><b>.macromedia-ZOMBIES </b></big></code> will do.<br>

<br>

<img style="width: 360px; height: 197px;" alt="" src="http://blogs.pcworld.co.nz/pcworld/tux-love/zombie-03.jpg"><br>

<br>

<br>

<b>3: Create a link to zombie hell</b><br>

Right-click in an empty area of your file browser, choose <b>Create New</span> and select </b>Basic Link to File or Directory</span>.
Under File Name enter <code><big><b>.macromedia </b></big></code> and under File
Path enter <code><big><b>/dev/null </b></big></code>.<br>

<br>

<img style="width: 392px; height: 138px;" alt="" src="http://blogs.pcworld.co.nz/pcworld/tux-love/zombie-04.jpg"><br>

<br>

<code><big><b>/dev/null </b></big></code>
is Linux's black hole. Anything sent there is immediately discarded,
but a report is sent back that the write operation was successful. That
means that from now on anything writing to <code><big><b>.macromedia </b></big></code> gets told, "Yep,
that was okay" when in fact it was nuked. <br>

<br>

Right-clicking on the <code><big><b>.macromedia </b></big></code> file (it now looks
like a file and not a folder) should make this clear. Choose <span style="font-weight: bold;">Properties</span> and you'll see where the
file now really points. The command line makes it even clearer. Type <code><big><b>ls -la </b></big></code>
and you'll find a line like this:<br>

<br>

<img style="width: 339px; height: 21px;" alt="" src="http://blogs.pcworld.co.nz/pcworld/tux-love/zombie-05.jpg"><br>

<br>

Now use Flash for a day or two. If you don't notice any effect, you can
delete the <code><big><b>.macromedia-ZOMBIES </b></big></code> folder.<br>

<br>

Footnote: Players of Flash games <i>will</i>
be affected by this as most games store high scores and levels in Flash
cookie files. You may prefer something more selective. Try the <a href="https://addons.mozilla.org/en-US/firefox/addon/6623/">Better
Privacy add-on</a> for Firefox.<br>

<br><br>

<table style="text-align: left; width: 400px;" border="0" cellpadding="2" cellspacing="2">

  <tbody>
    <tr>
      <td style="vertical-align: top;"><a href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/hidden_linux_agtget_secrets.html"><img src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg" alt="Previous Hidden Linux" style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
      <td style="vertical-align: top;"><br>
      </td>
      <td style="vertical-align: top; text-align: right;"><br>
      </td>
    </tr>
  </tbody>
</table>

<small><span style="font-style: italic;"><br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img style="border: 0px solid ; width: 134px; height: 42px;" src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif" alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/hidden_linux_die_flash_cookie.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/hidden_linux_die_flash_cookie.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Tue, 10 Aug 2010 17:11:25 +1300</pubDate>
      </item>
            <item>
         <title>PenDriveLinux : Bootable Linux on a USB Stick</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/pendrivelinux.jpg"
alt=""
style="border: 0px solid ; width: 242px; height: 117px; float: left;"
align="left" hspace="10" vspace="5">If you've ever been tempted to
give Linux a whirl but have been put off at the thought of installing
it, it's time to take a look at <a href="http://www.pendrivelinux.com/">PenDriveLinux</a>.<br>
<br>
Sure you can run most Linux distributions from a live CD or DVD, but
it's not quite the same. For a start CD/DVD drives are a whole lot
slower than regular hard drives meaning that you get a somewhat more
sluggish experience, but their main drawback is they're <span
style="font-style: italic;">not writeable</span>. Obviously putting it
on a USB stick is the answer, but how do you get it on there?<br>
<br>
<a href="http://www.pendrivelinux.com/">PenDriveLinux</a> have a number
of solutions ranging from their <a
href="http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/">Universal
USB Installer</a> to the <a
href="http://www.pendrivelinux.com/linux-live-usb-creator/">Linux Live
USB Creator </a>(both for Windows) through to the well-known <a
href="http://www.pendrivelinux.com/using-unetbootin-to-create-a-live-usb-linux/">UNetbootin</a>
(available for both Windows and Linux). If you have large USB stick you
can create a multiple-boot Linux stick with <a
href="http://www.pendrivelinux.com/boot-multiple-iso-from-usb-multiboot-usb/">MultiBoot
USB</a>.<br>
<br>
The great thing about PDL is that they're a one-stop shop for USB
installations with straightforward instructions for a huge range of
distributions and a comprehensive Help section with <a
href="http://www.pendrivelinux.com/category/tools/">tools</a>, <a
href="http://www.pendrivelinux.com/testing-your-system-for-usb-boot-compatibility/">compatibility
tests</a>, <a href="http://www.pendrivelinux.com/category/cheatcodes/">cheatcodes</a>,
common <a
href="http://www.pendrivelinux.com/category/bios-usb-boot-options/">BIOS
USB options</a> and directions on <a
href="http://www.pendrivelinux.com/restoring-your-usb-key-partition/">restoring
your USB stick if everything goes pear-shaped</a>. It' well worth
checking out!<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/pendrivelinux_bootable_linux_o.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/pendrivelinux_bootable_linux_o.html</guid>
         <category>Tools and Techniques</category>
         <pubDate>Wed, 04 Aug 2010 21:59:48 +1300</pubDate>
      </item>
            <item>
         <title>Return to Propeller Head Dept.</title>
         <description><![CDATA[<br>
<img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/propeller_head.jpg"
alt=""
style="border: 0px solid ; width: 104px; height: 104px; float: left;"
align="left" hspace="10" vspace="5"><br>
<br>
It's <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2006/05/propeller_head_dept.html">been
a while</a>, but here's a fresh collection of Linux, computer and
programming wit and wisdom. Who says geeks don't have a sense of humour?<br>
<br>
<br>
<b>General</b><br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The Internet‭? ‬Is that thing
still around‭? <br>
&nbsp;- ‬Homer Simpson<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">If the automobile had followed
the same development cycle as the computer,‭ ‬a Rolls-Royce would today
cost‭ ‬$100,‭ ‬get a million miles per gallon,‭ ‬and explode once a
year,‭ ‬killing everyone inside.‭<br>
&nbsp;- ‬Robert X.‭ ‬Cringely<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Never trust a computer you
can‭&#8217;‬t throw out a window.‭<br>
&nbsp;- ‬Steve Wozniak<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">A computer lets you make more
mistakes faster than any invention in human history ‭- ‬with the
possible exceptions of handguns and tequila.‭<br>
&nbsp;- ‬Mitch Radcliffe<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">﻿Fix a computer for a friend or
family member,‎ ‏and you‭&#8217;‬ll be tech support for life.‭ <br>
‎ - ‏Danny Allen<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Any significant boost in
technology is indistinguishable from a rigged demo.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Most computer problems occur
between the keyboard and the chair.<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<span style="font-weight: bold;">For Linux Fans</span><br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Q:‭ ‬What's the difference
between a Windows PC and a Trampoline‭ ?<br>
‬A:‭ ‬You take your boots OFF to jump on a trampoline.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Computers are like air
conditioners‭ ‬- they stop working properly if you open Windows.‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The box said that I needed
Windows‭ ‬7‭ ‬or better‭ ‬...‭ ‬so I installed Linux.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The only people who have
anything to fear from free software are those whose products are worth
even less.‎<br>
&nbsp;- David Emery<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">UNIX is basically a simple
operating system,‭ ‬but you have to be a genius to understand the
simplicity.<br>
‎ - ‏Dennis Ritchie‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Q: What's the difference between
Microsoft and‭ '‬Jurassic Park‭'?<br>
A: In one,‭ ‬a mad businessman makes a lot of money with prehistoric
brutes that should be extinct. The other is a film.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Spotted on IRC:<br>
﻿‎&lt;‏timer‭&gt; M‬y penis has a Linux distribution on it.‭<br>
&lt;‬defz‭&gt; M‬inix‭?<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<span style="font-weight: bold;">Programmers' Corner</span><br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Endless Loop:‎ ‏n.,‭ ‬see Loop,‭
‬Endless.‭<br>
‬Loop,‭ ‬Endless:‭ ‬n.,‭ ‬see Endless Loop.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Hacking is like sex.‎ ‏You get
in,‭ ‬you get out,‭ ‬and hope that you didn't leave something that can
be traced back‭ ‬to you.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Programmers are tools for
converting caffeine into code.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">In Ruby,‭ ‬symbols are
represented with‭ ‬a prepended colon,‭ ‬eg.:flag.‭ ‬So some guy turned
up in a T-shirt that said‭ "‬:sex‭" ‬which everyone at Railscamp knew
meant‭ "‬Sex symbol‭"‬.‭ ‬He wore it until someone pointed out that to
non-Rubyists it said‭ "‬Colon sex.‭"<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">If Java had true garbage
collection,‭ ‬most programs would delete themselves upon execution.‭<br>
&nbsp;- ‬Robert Sewell<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Saying that Java‭ ‬is nice
because it works on all OSes is like saying that anal sex is nice
because it works on all genders.‭<br>
&nbsp;- ‬Alanna<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The first‭ ‬90%‭ ‬of the code
accounts for the first‭ ‬90%‭ ‬of the development time.&nbsp;The
remaining‭ ‬10%‭ ‬of the code accounts for the other‭ ‬90%‭ ‬of the
development time.‭<br>
&nbsp;- ‬Tom Cargill<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Always code as if the guy who
ends up maintaining your code will be a violent psychopath who knows
where you live.‭<br>
&nbsp;- ‬Martin Golding‭<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The three most dangerous things
in the world are a programmer with a soldering iron,‭ ‬a hardware type
with a program patch and a user with an idea.‭<br>
&nbsp;- ‬Rick Cook‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">C makes it easy to shoot
yourself in the foot.‭ ‬C++‭ ‬makes it harder,‭ ‬but when you do,‭ ‬it
blows away your whole leg.‭<br>
&nbsp;- ‬Bjarne Stroustrup‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">BASIC programmers never die,‎
‏they just GOSUB and don't RETURN.‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Real programmers are surprised
when the odometers in their cars don't turn from‎ ‏99,999‎ ‏to‭ ‬99,99A.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Any sufficiently advanced bug is
indistinguishable from a feature.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Science is to computer science
as hydrodynamics is to plumbing.‎ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">If at first you don't succeed,‎
‏you must be a programmer.‭ <br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Real programmers don't comment
their code.‭ ‬It was hard to write,‭ ‬it should be hard to understand.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The ‬3‭ ‬Biggest Software Lies:‭<br>
&nbsp;‬-‭ ‬The program's fully tested and bug-free.‭<br>
&nbsp;‬-‭ ‬We're working on the documentation.‭<br>
&nbsp;‬-‭ ‬Of course we can modify it!<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The software isn't finished
until the last user's dead.<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<span style="font-weight: bold;">Real geeks only</span><br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">There are‭ ‬10‭ ‬kinds of people
in the world ...‭ ‬those that can read binary and those that can't.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">To err is human ...‭ ‬to really
foul up requires the root password.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">A picture is worth‭ ‬128K words.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">The gates in my computer are
AND,‭ ‬OR and NOT‭; ‬they are not Bill.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Q:‭ ‬What's tiny and yellow and
very,‭ ‬very,‭ ‬dangerous‭?<br>
A:‭ ‬A canary with the super-user password.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Q:‭ ‬What did Linux say to the
Windows partition‭?<br>
‬A:‭ ‬Go fsck yourself‭!<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Be it ever so humble, there's no
place like‭ ~<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Q: ﻿Why do programmers always
get Christmas and Halloween mixed up‭? <br>
A: Because DEC‭ ‬25‭ = ‬OCT‭ ‬31<br>
</td>
</tr>
</tbody>
</table>
<br>
<span style="font-weight: bold;"></span>This is wonderfully subtle. If
you get it, you're definitely a geek!<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">sudo chown‭ ‬-R us‭
‬./allyourbase<br>
</td>
</tr>
</tbody>
</table>
<br>
<span style="font-weight: bold;"></span>‎And where would we be with <a
href="http://xkcd.com/">XKCD</a>?<br>
<img style="width: 360px; height: 299px;" alt=""
src="http://imgs.xkcd.com/comics/sandwich.png"><br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/return_to_propeller_head_dept.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/return_to_propeller_head_dept.html</guid>
         <category>Fun Stuff</category>
         <pubDate>Wed, 28 Jul 2010 21:20:54 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : agt-get secrets</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5"><br>
<big style="font-weight: bold;"><span style="font-family: monospace;">apt-get
</span></big>is the package handling utility behind <a
href="http://www.debian.org/">Debian</a>-based Linux
systems such as <a href="http://www.ubuntu.com">Ubuntu</a>, <a
href="http://www.linuxmint.com/index.html">Mint</a> and <a
href="http://www.mepis.org/">Mepis</a>. You may be using it &#8216;by proxy&#8217;
via GUI-based package managers such as <a
href="http://www.nongnu.org/synaptic/">Synaptic</a>, but hardened
Linux
users tend to prefer the command line - especially as the latter has a
couple of neat tricks up its sleeve.<br>
<br>
(Not that if you&#8217;re not a super-user you&#8217;ll need to prefix the
following commands with <big style="font-weight: bold;"><span
style="font-family: monospace;">sudo</span></big> - well, all but <a
href="#tryme">the last one</a> ...)<br>
<br>
<span style="font-weight: bold;">The basics<br>
<br>
</span>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
update</code><br>
</td>
</tr>
</tbody>
</table>
Resynchronise installed packages with their sources. (Always do this
before an upgrade.)<br>
<br>
<span style="font-weight: bold;"></span>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
upgrade</code><br>
</td>
</tr>
</tbody>
</table>
Install the newest version of all packages installed on the system.<br>
<br>
<span style="font-weight: bold;"></span>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
dist-upgrade</code><br>
</td>
</tr>
</tbody>
</table>
Upgrade to the latest version of your distribution.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
install <span style="font-style: italic;">xxx yyy zzz</span></code><br>
</td>
</tr>
</tbody>
</table>
Install programs xxx, yyy and zzz along with all their dependencies.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
remove <span style="font-style: italic;">xxx yyy zzz</span></code><br>
</td>
</tr>
</tbody>
</table>
Remove programs xxx, yyy and zzz.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
purge <span style="font-style: italic;">xxx yyy zzz</span></code><br>
</td>
</tr>
</tbody>
</table>
Remove programs xxx, yyy and zzz <span style="font-style: italic;">and</span>
delete any configuration files
that they used.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon;">check</span></code></td>
</tr>
</tbody>
</table>
Update the package cache and check for any broken dependencies.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon;">clean</span><span
style="font-family: mon;"><span style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Clean out retrieved package files.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
auto<span style="font-family: mon,mon;">clean</span><span
style="font-family: mon;"><span style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Clean out retrieved package files, but only those that are no longer
needed.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon,mon;">autoremove</span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Remove any packages that were installed to satisfy dependencies but are
no longer required.<br>
<br>
<br>
<br>
<span style="font-weight: bold;">Advanced stuff</span><br>
So much for the basics, what about those neat tricks I mentioned? Well,
did you know you can use apt-get to get a package&#8217;s source code?<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon,mon;">source <span
style="font-style: italic;">xxx</span></span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Retrieve source files for package xxx.<br>
<br>
Or its build dependencies?<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon,mon,mon;">build-dep</span><span
style="font-family: mon,mon,mon;"> <span style="font-style: italic;">xxx</span></span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Get all the dependencies needed to build package xxx.<br>
<br>
Or that you could get it to fetch and build the package for you?<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon,mon;">source <span
style="font-style: italic;">xxx </span>-b</span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
Fetch the source code then compile it. (The -b switch means &#8221;build it&#8222;.)<br>
<br>
The result with be a .deb package which you can install using the
Debian package manager command:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;"><span
style="font-family: mon,mon,mon,mon;">dpkg -i <span
style="font-style: italic;">xxx.deb</span></span><span
style="font-family: mon,mon,mon;"><span style="font-style: italic;"></span></span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<span style="font-weight: bold;">Really advanced stuff</span><br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code style="font-weight: bold;">apt-get
<span style="font-family: mon,mon,mon,mon;">moo</span><span
style="font-family: mon,mon,mon;"><span style="font-style: italic;"></span></span><span
style="font-family: mon,mon;"></span><span style="font-family: mon;"><span
style="font-style: italic;"></span></span></code></td>
</tr>
</tbody>
</table>
<a name="tryme"></a>Try it! :)<br>
<br>
<br>
<small><span style="font-style: italic;"><br>
</span></small><br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_example_commands_3.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"
alt="Previous Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/08/hidden_linux_die_flash_cookie.html"><img
style="border: 0px solid ; width: 155px; height: 50px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/next.jpg"></a><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/hidden_linux_agtget_secrets.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/hidden_linux_agtget_secrets.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Thu, 22 Jul 2010 15:32:44 +1300</pubDate>
      </item>
            <item>
         <title>Ouch!</title>
         <description><![CDATA[<br>
<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/cellphone.jpg"
alt=""
style="border: 0px solid ; width: 62px; height: 128px; float: left;"
align="left" hspace="10" vspace="5">Just how bad is Windows' latest
effort to capture the cellphone market? According to InfoWorld: <br>
<br>
<span style="font-style: italic;">"Windows Phone 7 is a waste of time
and money. It's a platform that no carrier, device maker, developer, or
user should bother with. Microsoft should kill it before it ships and
admit that it's out of the mobile game for good. It is supposed to ship
around Christmas 2010, but anyone who gets one will prefer a lump of
coal. I really mean that."</span><br>
<br>
More here: <i><a
href="http://www.infoworld.com/d/mobilize/windows-phone-7-dont-bother-disaster-211">Windows
Phone 7: Don't bother with this disaster</a></i><br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/ouch.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/ouch.html</guid>
         <category>News</category>
         <pubDate>Sun, 18 Jul 2010 10:00:34 +1300</pubDate>
      </item>
            <item>
         <title>Telecom pinged (yet again)</title>
         <description><![CDATA[<br>
<img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/telecom-new-logo.jpg"
alt=""
style="border: 0px solid ; width: 128px; height: 128px; float: left;"
align="left" hspace="10" vspace="5">What do you think when you see a <a
href="http://www.telecom.co.nz">Telecom</a> ad? Personally, I think of
<a href="http://www.tui.co.nz/">a certain brand of beer</a> because --
whatever Telecom are pushing -- my reaction is an ironical, "Yeah,
right!"<br>
<br>
Look at the company's history. Since 2003 they've been they've been
warned or fined <span style="font-style: italic;">eight times</span>
for breaching the Fair Trading Act. The latest FTA case, for a 2008
"Broadband at Dial-Up prices" campaign, was settled <a
href="http://www.telecom-media.co.nz/releases_detail.asp?id=3695">a
few weeks ago</a> with the company crediting more than 1,300 customers
who'd been misled and forking out $75,000 so <a
href="http://www.consumer.org.nz/">Consumer New Zealand</a> could
establish "a price comparison website across all providers." (Kudos to
Consumer, but don't we already have one of those in the superlative <a
href="http://www.nzconnections.net.nz/">New Zealand Connections</a>
site?)<br>
<br>
To cap it all, a few days ago Telecom Wholesale was forced <a
href="http://www.comcom.govt.nz/telecommunications-media-releases/detail/2010/telecom-settles-over-wholesale-loyalty-offer-1-6-million-to-be-paid-in-compensation">to
compensate Vodafone and Orcon</a> to the tune of $1.6 million for
breaching its own separation undertakings "not to discriminate between
or against its wholesale customers". Add to that last October's <a
href="http://www.ictregulationtoolkit.org/en/Publication.3912.html">High
Court ruling</a> that between 2001 and 2004 "Telecom used and/or took
advantage of its dominant position/market power ... for the purposes of
deterring potential or existing competitors in the wholesale market
..." and you have a picture company that's more like a serial offender.
They just can't seem to stick to the straight and narrow and stop
telling porkies.<br>
<br>
So what do you think when you see a new Telecom campaign? "Oh goody, I must
get some of that" or "Oh yeah, where's the catch?"<br>
<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/telecom_pinged_yet_again.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/telecom_pinged_yet_again.html</guid>
         <category>News</category>
         <pubDate>Tue, 13 Jul 2010 21:41:56 +1300</pubDate>
      </item>
            <item>
         <title>Sloooow OOo? This could be the answer!</title>
         <description><![CDATA[<br>
<img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/openoffice_icon.png"
alt=""
style="border: 0px solid ; width: 128px; height: 128px; float: left;"
align="left" hspace="10" vspace="5">One
of the residual issues from <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_nightmare_on_kubu.html">my
troubled Kubuntu 10.4 upgrade</a> was a
puzzling <a href="http://www.openoffice.org/">OpenOffice.org </a>problem.
Last week I finally got a chance to
investigate it. The solution may surprise you!<br>
<br>
(If you can't be bothered with the dissertation and just want to try
the solution, <a href="#The_solution">click here</a>.)<br>
<br>
<br>
<span style="font-weight: bold;">The problem</span><br>
Package developers like tinkering with other people's code. I'm not
sure why, especially when suites like OpenOffice.org come tried and
tested for all flavours of operating system direct from the home
website. In the case of 10.4, OOo was still at version 3.1 when I'd
been
using 3.2 for months.<br>
<br>
The Ubuntu version started speedily enough, but every time I clicked to
open a file it would freeze for 20 seconds. Every time.<br>
<br>
I checked running processes, I checked <code><b>top</b></code>,
I checked memory usage -- nothing out of the ordinary. Just 20 seconds
lock-up for each and every File / Open. Damned annoying!<br>
<br>
So I ditched it, <a href="http://download.openoffice.org/other.html">downloaded
version 3.2.1</a> from OpenOffice.org and tried
that. The file opening problem vanished, to be replaced by sluggish
start up. Hit go, up pops the splash screen and -- yes, 20 seconds
later -- the program opens. Once running however, everything was fine.
It was
just that initial startup.<br>
<br>
I've never suffered with sluggish OOo before and, as I said, last week
I finally got round to a thorough investigation.<br>
<br>
<br>
<span style="font-weight: bold;">The Clues</span><br>
The first clue came from unplugging the network lead. No network =
instant start. Ah-ha!<br>
<br>
There are tons of references to networked printers causing slow OOo,
and yes, I run a networked printer. But none of the suggested solutions
-- such as setting the default printer to fax or PDF -- made any
difference, and none explained the reason <i>why</i> this should
affect start-up.<br>
<br>
So I kicked off <a href="http://www.wireshark.org/">Wireshark</a> and
watched the network traffic. That was when I spotted what was
happening. <br>
<br>
My PC's name is "asok" (I'm a <a
href="http://en.wikipedia.org/wiki/List_of_Dilbert_characters#Asok">Dilbert</a>
fan). Every time I started OOo,
a DNS request was sent seeking the IP address of "asok.(none)" --
which doesn't exist. So the request would time out, another would be
sent, that too would time out ... until eventually the seeker gave up
trying and the start-up continued.<br>
<br>
Now "asok" is associated to IP address 192.168.1.100 in my <code><b>/etc/hosts</b></code>
file...
<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-family: monospace;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>192.168.1.100&nbsp;&nbsp;
asok</code></td>
</tr>
</tbody>
</table>
<br>
...so adding another name resolution in the form of ...<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-family: monospace;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>192.168.1.100&nbsp;&nbsp;
asok&nbsp;&nbsp; asok.(none)</code></td>
</tr>
</tbody>
</table>
<br>
... made my problem vanish. Yay!
<br>
<br>
But <i>why</i> is OOo seeking "asok.(none)" in the first place?<br>
<br>
<br>
<br>
<span style="font-weight: bold;">The Reasons</span><br>
Having nailed the problem -- and therefore my precise search terms --
it was easy to find and explanation. Here is it, from a 2003 forum post
by Lars Oppermann, a StarOffice (OOo's predecessor) Software Engineer:<br>
<br>
<br>
<code>
For each user, OOo keeps a set of configuration files. Those files may
only be accessed by one instance of OOo at a given time.
One user can only run one single instance of OOo on a single given host
- but in a networked environment with transparently mounted
home-directories, two sessions on different hosts could be started
accessing the same configuration (oh the horror!).
<br>
<br>
In order to prevent this kind of simultaneous access, OOo will create a
lock-file in the root of the configuration direcory (e.g.
$HOME/OpenOffice1.1/.lock) in which it saves the starting-time,
username and hostname for the instance that has locked the
configuration. Now, if another instance is started on another host, it
sees the lockfile and warns the user.
<br>
<br>
The reason why we keep the hostname, is that in case of abnormal
termination and stale lockfile we can notice that the lockfile was
created on the same host we are running on. If that is the case, we can
take over the lockfile and don't need to display a warning, since only
one instance per user/host can run; any additional instance on the same
host would connect to the socket of the first instance and just hand
over it's commandline. </code>
<br>
<br>
<br>
In short, it's all to do with preventing simultaneous access to the
same user configuration files on a network. My guess -- though I
haven't confirmed this -- is that if I'd selected the "single user"
option in OOo's setup, this wouldn't have happened.
<br>
<br>
<br>
<span style="font-weight: bold;"><a name="The_solution"></a>The solution</span><br>
Well that's investigation and the reason. How can you try a DIY fix
with resorting sniffing network traffic? After all,
my solution won't work for your machine -- unless you happen to have a
PC called "asok" on address 192.168.1.100 -- so here's a simple way to
determine exactly what should be in your <code><b>/etc/hosts</b></code>...<br>
<br>
1. Start OOo.
<br>
2. When it's running, drop into a console session and type <code><b>
cd ~/.openoffice.org/3</b></code>
and list all the contents of this folder
<b><code>ls -la</code></b>
You'll get something like this...
<br>
<br>
<code>
total 20<br>
drwx------ &nbsp;4 geoff geoff 4096 2010-06-23 17:04 .<br>
drwxr-xr-x &nbsp;3 geoff geoff 4096 2010-01-09 11:33 ..<br>
-rw-r--r-- &nbsp;1 geoff geoff 132 2010-06-23 17:04 .lock<br>
drwxr-xr-x 18 geoff geoff 4096 2010-01-10 17:25 user<br>
drwxr-xr-x &nbsp;8 geoff geoff 4096 2009-09-21 21:09 user_backup
</code><br>
<br>
3. The .lock file is the one we're after. Print out its contents with
<code><b>cat .lock</b></code>
Here's mine...
<br>
<br>
<code>
[Lockdata]<br>
User=geoff<br>
Host=asok.(none)<br>
Stamp=4BF3169071E73BF7D70...<br>
Time=Wed Jun 28 17:04:48 2010<br>
IPCServer=true
</code><br>
<br>
4. And there you have it; the host name that OOo searches for on
start-up.
Tack it to the end of the appropriate line in <code><b>/etc/hosts</b></code>,
and you're away!
<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-family: monospace;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>192.168.1.100&nbsp;&nbsp;
asok</code></td>
</tr>
</tbody>
</table>
<i><small>Before</small></i>
<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-family: monospace;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>192.168.1.100&nbsp;&nbsp;
asok&nbsp;&nbsp; asok.(none)</code></td>
</tr>
</tbody>
</table>
<i><small>After</small></i>
<br>
<br>
So, did that work for you? Leave me a comment and let me know.
<br>
<br>
<br>
A footnote for Windows users: You'll typically find OOo's .lock file in
the folder
<br>
<code>C:\Documents and Settings\USER NAME\Application
Data\OpenOffice.org\3</code>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/sloooow_ooo_this_could_be_the.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/sloooow_ooo_this_could_be_the.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Tue, 29 Jun 2010 18:02:15 +1300</pubDate>
      </item>
            <item>
         <title>Spam Warning: Canadian Health&amp;Care Mall</title>
         <description><![CDATA[<br><img src="http://blogs.pcworld.co.nz/pcworld/tux-love/spam.jpg" alt=""
style="border: 0px solid ; width: 82px; height: 82px; float: left;"
align="left" hspace="10" vspace="5">Compromised <a
href="http://google.gmail.com">Gmail accounts</a> are being used to
disseminate spam about Canadian Health&amp;Care Mall, a bogus site
offering cheap drugs online.<br>
<br>
The email I received consisted of "Subject: sarah carter" and a single
URL in the message area. Suspicious, I <span
style="font-style: italic;">didn't</span> click on the link but copied
it to my browser, <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/anonymous_surfing.html">anonymized
myself by activating Tor</a>, and only then hit Enter. The original
link -- www.mach3fr.com/default.php -- actually took me to
www.pharmacymedshealthsite.net, home of a notorious spammer.<br>
<br>
The website actually looks professional and reassuring with FAQs,
contact addresses, and testimonials, but <a
href="http://spamtrackers.eu/wiki/index.php/">Spam Trackers</a>,
(amongst <a
href="http://ikillspammers.blogspot.com/2009/04/who-put-canadian-in-canadian-health.html">several</a>
<a
href="http://www.complaintsboard.com/complaints/canadian-health-amp-care-mall-c300872.html">others</a>),
have done a detailed analysis. I'll leave you to <a
href="http://spamtrackers.eu/wiki/index.php/Canadian_Health%26Care_Mall">explore
their findings</a> -- including fake licenses, fake doctors, fake
registrations and even fake buildings! (You gotta love Google Street
View!)<br>
<br>
<table style="text-align: left; width: 100px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><img
style="width: 180px; height: 240px;" alt=""
src="http://spamtrackers.eu/wiki/images/a/aa/Monroeh%26c.jpg"><br>
</td>
<td style="vertical-align: top;"><img
style="width: 20px; height: 1px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/spacer.gif"><br>
</td>
<td style="vertical-align: bottom;"><a
href="http://spamtrackers.eu/wiki/images/b/b3/Hoteldieu.jpg"><img
style="border: 0px solid ; width: 200px; height: 164px;" alt=""
src="http://spamtrackers.eu/wiki/images/b/b3/Hoteldieu.jpg"></a><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><small>Here's their "Head
Office" at 186 Brock Street, Kingston, Ontario ...<br>
</small></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><small>... which is really the
Hotel Dieu Hospital, which occupies the entire block.</small><br>
</td>
</tr>
</tbody>
</table>
<br>
Needless to say, avoid, avoid, avoid! And if you have a Gmail account,
it might be time to change your password.<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</body>
</html>

]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/spam_warning_canadian_healthca.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/spam_warning_canadian_healthca.html</guid>
         <category>Alerts</category>
         <pubDate>Sun, 20 Jun 2010 09:21:33 +1300</pubDate>
      </item>
            <item>
         <title>Anonymous Surfing</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/tor-icon.jpg"
alt=""
style="border: 0px solid ; width: 90px; height: 54px; float: left;"
align="left" hspace="10" vspace="5">Safeguarding online privacy and
security is becoming more and more important, both for individuals and
organisations, and one of the best and simplest ways of doing so is to
use <a href="https://www.torproject.org/index.html.en">Tor</a>. In
short, Tor allows you to use the net anonymously, whether you're
browsing or publishing information, using instant messaging or Internet
Relay Chat.<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(204, 255, 255);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">"Tor's <a
href="https://www.torproject.org/hidden-services.html.en">hidden
services</a> let users publish
web sites and other services without needing to reveal the location of
the site. Individuals also use Tor for socially sensitive
communication: chat rooms and web forums for rape and abuse survivors,
or people with illnesses.<br>
<br>
Journalists use Tor to communicate more safely with whistleblowers and
dissidents. Non-governmental organizations (NGOs) use Tor to allow
their workers to connect to their home website while they're in a
foreign country, without notifying everybody nearby that they're
working with that organization."</td>
</tr>
</tbody>
</table>
<br>
Tor is reccomended by the <a href="http://www.eff.org/">Electronic
Frontier Foundation</a> (EFF) and groups such as <a
href="http://www.indymedia.org/en/index.shtml">Indymedia</a>. It's
also free and open source.<br>
<br>
<br>
<span style="font-weight: bold;">Installation</span><br>
A typical installation bundle consists of three packages:<br>
<br>
<a href="http://www.torproject.org/vidalia/">Vidalia</a> - a
configuration and monitoring GUI to allow you to control Tor.<br>
<a href="http://www.pps.jussieu.fr/%7Ejch/software/polipo/">Polipo</a>
- a caching web proxy that increases the browsing performance of Tor<br>
<a href="https://addons.mozilla.org/firefox/addon/2275">Torbutton</a> -
a Firefox extension that allows you to flick anonymous browsing on and
off at a button click.<br>
<br>
You find all downloads on the <a
href="https://www.torproject.org/easy-download.html.en">download page</a>.
There are versions for Linux, Mac (both OS X and PowerPC) and Windows,
with the latter coming in two flavours. There's a regular <a
href="https://www.torproject.org/dist/vidalia-bundles/vidalia-bundle-0.2.1.26-0.2.9.exe">Installation
Bundle</a>, an 8.5MB package containing all the necessary goodies and
automatic setups, and a 15MB <a
href="https://www.torproject.org/torbrowser/dist/tor-browser-1.3.6_en-US.exe">Browser
Bundle</a> that requires no installation, making it ideal for USB
drives. It unpacks to a Desktop folder named "Tor Browser" that you can
then copy anywhere or even run in situ. Just open it and click on Start
Tor Browser.exe. The package contains a portable version of Firefox
that won't interfere with your installed version.<br>
<br>
(You'll find full installation details on the <a
href="https://www.torproject.org/documentation.html.en">Documentation
page</a>.)<br>
<br>
<br>
<img style="width: 183px; height: 298px;"
alt="You really should get a browser that handles PNG files!"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/vidalia.png"><br>
<small><br>
Windows installation adds the Vidalia control to your Taskbar...</small><br>
<br>
<br>
<br>
<img style="width: 352px; height: 399px;"
alt="Firefox handles PNGs. It's free too!"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/vidalia2.png"><br>
<small><br>
...allowing you to control and configure Tor</small><br>
<br>
<br>
<span style="font-weight: bold;">Testing</span><br>
To activate/deactivate, simply click the Tor control on Firefox's
status bar...<br>
<br>
<img style="width: 264px; height: 40px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/tor.png"><br>
<br>
... then check the changes on <a href="http://www.whatismyip.com/">What
Is My IP</a>. Note that when you change from Disabled to Enabled or
vice versa, Torbutton blocks the refreshing of tabs by clicking the
Reload (F5). You need to click in the URL bar and hit Enter.<br>
<br>
<br>
<span style="font-weight: bold;">Important!</span><br>
Tor's a great place to start, but simply installing it will <span
style="font-style: italic;">not</span> magically make you anonymous
for ever more. Check out <a
href="https://www.torproject.org/download.html.en#Warning">these
warnings.</a> You may need to change some of your browsing habits
and/or tweak your software!<br>
<br>
<br>

<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/anonymous_surfing.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/anonymous_surfing.html</guid>
         <category>Toolbox</category>
         <pubDate>Wed, 16 Jun 2010 09:20:01 +1300</pubDate>
      </item>
            <item>
         <title>How long will your digital data last?</title>
         <description><![CDATA[How long will your digital archives last? It's a question I attempted
to answer
back in our April <a href="http://pcworld.co.nz/pcworld/pcw.nsf">print
issue</a>, and I came up with the following table,
drawn from a number of sources...<br>
<br>
<br>
<table
style="border: 1pt solid ; border-collapse: collapse; empty-cells: show; table-layout: fixed; height: 234px; width: 381px;"
border="1" cellpadding="1" cellspacing="1">
<colgroup> <col> <col> </colgroup> <tbody style="">
<tr>
<td
style="border-style: none; padding: 0pt 1.44pt; background-color: rgb(230, 230, 255); font-weight: bold; width: 291px; text-align: left;">
Media<br>
</td>
<td
style="border: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; background-color: rgb(230, 230, 255); width: 115px; text-align: center;">
<span style="font-weight: bold;" lang="en-NZ">Usable life<br>
(years)</span><span lang="en-NZ"><span style="font-weight: bold;"></span>
</span> </td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">CD</span><span lang="en-NZ"> (</span><span
lang="en-NZ">factory
pressed</span><span lang="en-NZ">)</span> </td>
<td style="text-align: center;">25<br>
</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">CD-R</span><span lang="en-NZ"> (</span><span
lang="en-NZ">cyanine
and azo dyes</span></td>
<td style="text-align: center;">8-10</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">CD-R</span><span lang="en-NZ"> (</span><span
lang="en-NZ">phthalocyanine
dye,</span><span lang="en-NZ">&nbsp;</span><span lang="en-NZ">gold
metal layer</span><span lang="en-NZ">)</span> </td>
<td style="text-align: center;">100</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">CD-R</span><span lang="en-NZ"> (</span><span
lang="en-NZ">phthalocyanine
dye,</span><span lang="en-NZ">&nbsp;</span><span lang="en-NZ">silver
metal layer</span><span lang="en-NZ">)</span> </td>
<td style="text-align: center;">25</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">CD-RW,</span><span lang="en-NZ">&nbsp;</span><span
lang="en-NZ">DVD-RW,</span><span lang="en-NZ">&nbsp;</span><span
lang="en-NZ">DVD+RW</span> </td>
<td style="text-align: center;">8-10</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">DVD</span><span lang="en-NZ"> (</span><span
lang="en-NZ">factory
pressed</span><span lang="en-NZ">)</span> </td>
<td style="text-align: center;">25</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">DVD-R,</span><span lang="en-NZ">&nbsp;</span><span
lang="en-NZ">DVD+R</span> </td>
<td style="text-align: center;">20</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">Flash drive</span> </td>
<td style="text-align: center;">10</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">Tape</span><span lang="en-NZ">&nbsp;</span><span
lang="en-NZ">-</span><span lang="en-NZ">&nbsp;</span><span lang="en-NZ">Analogue</span>
</td>
<td style="text-align: center;">20</td>
</tr>
<tr style="">
<td
style="border-left: 0.05pt solid rgb(0, 0, 0); border-bottom: 0.05pt solid rgb(0, 0, 0); padding: 0pt 1.44pt; width: 291px; text-align: left;">
<span lang="en-NZ">Tape</span><span lang="en-NZ">&nbsp;</span><span
lang="en-NZ">-</span><span lang="en-NZ">&nbsp;</span><span lang="en-NZ">Digital</span>
</td>
<td style="text-align: center;">10-15</td>
</tr>
</tbody>
</table>
<br>
<span style="font-style: italic;">Estimated storage life for media
stored under ideal conditions.</span><br>
<br>
<big><span style="font-weight: bold;"></span></big><br>
It seems I was a little optimistic. According to the <a
href="http://news.bbc.co.uk/2/hi/programmes/click_online/8711747.stm">French
National Centre for Scientific Research</a> discs "designed to last for
centuries, actually rarely lasted longer than 5 to 10 years." In the
most severe cases "the data on some discs lasted just one year."<br>
<br>
It seems that buying name-brand discs is no guarantee. "Disc production
varies. In the same brand we find discs produced by different
manufacturers which means their quality and how long they last for is
not necessarily the same."<br>
<br>
So what are we to do? The best advice is to be vigilent:"Every two or
three years ... copy your archive onto fresh discs. And after that,
because these new discs will last a bit longer, you will have to
re-copy them after five or six years."<br>
<p>And spread your archives around: "You must have your information in
two places at least -- on a hard-disc, for example, and on another
hard-disc or on a recordable DVD or CD." </p>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/how_long_will_your_digital_dat.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/how_long_will_your_digital_dat.html</guid>
         <category>Security</category>
         <pubDate>Thu, 10 Jun 2010 10:47:25 +1300</pubDate>
      </item>
            <item>
         <title>How to: Install Linux without a CD-Rom</title>
         <description><![CDATA[<br>
I recently came across a puzzling problem: how to install <a
href="http://www.ubuntu.com/server">Ubuntu Server 10.4</a> on the
beast you see below.<br>
<br>
<img style="width: 440px; height: 262px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/norhtec.jpg"><br>
<br>
It's a <a href="http://www.norhtec.com/products/mcjrdx/index.html">Norhtec
MicroClient PC</a>, fanless, about the size of a cigarette packet, that
runs from a <a href="http://en.wikipedia.org/wiki/Cf_card">CF card</a>
(that large slot you see on the front). The idea was to bung a USB
drive in one of the other slots and use it as a simple home backup
server. We're not looking at blinding performance here, just something
ticking over quietly in a cupboard doing <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2009/06/hidden_linux_the_perfect_backu.html">differential
backups</a>.<br>
<br>
The problem is this: while you can <span style="font-style: italic;">begin</span>
the installation from a USB drive, part way in it demands a CD-Rom, at
which point you enter a deadly bind which I'll summarise here:<br>
<br>
Load CD-Rom drivers? &lt;yes&gt; None found. Fail.<br>
Load CD-Rom drivers? &lt;no&gt; Manually select them? &lt;no&gt; None
found. Fail.<br>
Load CD-Rom drivers? &lt;no&gt; Manually select them? &lt;yes&gt;
Nothing in the selection list. Fail.<br>
<br>
Every time the result was the same ...<br>
<br>
<img style="width: 400px; height: 100px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/serverfail.jpg"><br>
<br>
One alternative is to mount the CF card on a CD-Rom-equipped machine
and install it from there -- but that's not satisfactory because of
hardware differences between the two machines. Another is to do a <a
href="https://help.ubuntu.com/community/Installation/LocalNet">network
installation</a> or <a
href="https://help.ubuntu.com/community/Installation/NetbootInstallFromInternet">internet
installation</a>, both of which, frankly, involve a lot of mucking
around, to say nothing of requiring a pre-exsting a network. <br>
<br>
There must be a simple answer, I thought. And there is!<br>
<br>
I searched high and low until I finally came across <a
href="http://www.revouser.com/forum/viewtopic.php?f=7&amp;t=794">this</a>,
a brief how-to on the <a href="http://www.revouser.com/forum/">Acer
Aspire Revo User forum</a>. The answer, it turns out, is blindingly
obvious: start with <span style="font-style: italic;">two</span>
copies of the installation image, boot with the first, then mount a
second on a virtual CD-Rom and continue from there. Here's the process,
step-by-step. You'll need a USB stick of at least 2GB. <br>
<br>
1. <a href="http://www.ubuntu.com/">Download Ubuntu</a> and burn the
image to the USB drive as usual. (Excellent details on how to do so at
Step 2, <a href="http://www.ubuntu.com/desktop/get-ubuntu/download">here</a>.)<br>
<br>
2. Add a <span style="font-style: italic;">second</span> copy of the
.iso file. In this case I copied <big><span
style="font-family: monospace;">ubuntu-10.04-server-i386.iso</span></big>
to the USB.<br>
<br>
3. Boot and install as usual in the targe machine until you reach the
"Load CD-Rom drivers?" step. Choose No then, at "Manually select?"
choose Yes.<br>
<br>
4. Hit <span style="font-weight: bold;">Ctrl+Del+F2</span> to take you
into fresh virtual console and do the following ...<br>
<br>
5. Identify your USB drive:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>ls -l /dev/sd*</code><br>
</td>
</tr>
</tbody>
</table>
(Let's say we're using /dev/sdx.)<br>
<br>
<br>
6. Create a new folder called ISO:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>mkdir /iso</code><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
7. Mount the drive on it:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>mount -t vfat
/dev/sdx&nbsp; /iso</code><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
8. Now here's the cunning bit. Create a link from the <span
style="font-style: italic;">second</span> copy of the installation
image to the target machine's CD-Rom device:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>ln -sf
/iso/ubuntu-10.4-server-i386.iso&nbsp; /dev/sr0</code><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
9. That's it! Hit <span style="font-weight: bold;">Ctrl+Del+F1</span>
to return to the installation screen. Where it asks you for the "Device
for accessing the CD-Rom" enter:<br>
<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><code>/dev/sr0</code><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
... and you're away. Installation proceeds from what the system <span
style="font-style: italic;">thinks</span> is a CD-Rom but is actually
a virtual drive linked to the USB. Oh the joys of Linux, where <a
href="http://en.wikipedia.org/wiki/Unix_architecture">everything is a
file</a>!<br>
<br>
One further point. A bit later on in the installation, at the
partitioning stage, you'll be given the option of unmounting /dev/sdx.
Pick No!<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/how_to_install_linux_without_a.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/06/how_to_install_linux_without_a.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Fri, 04 Jun 2010 06:08:36 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Example commands - dd (Part II)</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5"></h3>
<br>
<a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_example_commands_2.html">Last
time</a> I covered the basic use of <span style="font-weight: bold;">dd</span>,
Linux's "Convert and copy a file" command. Here are a few more things
you can do with it, some trivial, some useful.<br>
<br>
<br>
<br>
<span style="font-weight: bold;">File Conversion</span><br>
Convert a file to uppercase:<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>dd if=filename of=filename
conv=ucase<br>
</code></td>
</tr>
</tbody>
</table>
<br>
Convert a file to lowercase:<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>dd if=filename of=filename
conv=lcase<br>
</code></td>
</tr>
</tbody>
</table>
<br>
(Incidentally, if you leave out <span style="font-weight: bold;">of=</span>
output gets written to "standard output" -- which defaults to the
screen.)<br>
<br>
<br>
<br>
<span style="font-weight: bold;">File rescue</span><br>
If a video or sound clip won't play because of bad blocks, copy it,
telling dd to ignore the corrupt stuff<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>dd if=badfile.wav
of=fixedfile.wav conv=noerror<br>
</code></td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<span style="font-weight: bold;">Wipe all the free space on a partition</span><br>
(ie: Deleted files you don't want recovered)
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>dd if=/dev/urandom
of=~/trash.file<br>
</code></td>
</tr>
</tbody>
</table>
This will create a file called trash.file on your home partition and
fill it with random characters. Eventually dd wil stop with the message
<span style="font-family: monospace;">No room left on device</span><small>
</small>meaning all free space has been consumed. Then simply delete
trash.file with:<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>rm trash.file<br>
</code></td>
</tr>
</tbody>
</table>
<br>
Note that dd only overwrites, it doesn't provide a cryptographic
deletion. For that you're better off with <span
style="font-weight: bold;">srm</span> and <span
style="font-weight: bold;">sfill</span>. (See <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2009/01/hidden_linux_more_secure_deletion_tools.html">here</a>.)<br>
<br>
<br>
<br>
<span style="font-weight: bold;">Look at your disk</span><br>
If you have the program <span style="font-weight: bold;">hexdump</span>
installed (it's available in most standard repositories), you can check
out the contents of your
hard drive.<br>
<br>
Look at the first sector on your hard drive:<br>
<table
style="text-align: left; width: 400px; background-color: rgb(255, 255, 204); font-weight: bold;"
border="0" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top;"><code>dd if=/dev/sda count=1 |
hexdump -C<br>
</code></td>
</tr>
</tbody>
</table>
dd defaults to a byte count (bs=) of 512, so this will show the first
512 bytes on your disk. (The first 446 are the MBR, the remainder are
the partition table.)<br>
<br>
<br>
<br>
<br><table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_nightmare_on_kubu.html"><img
style="border: 0px solid ; width: 155px; height: 50px;"
alt="Previous Hidden Linux"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2010/07/hidden_linux_agtget_secrets.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/next.jpg"
alt="Next Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
</span></small><br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_example_commands_3.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2010/05/hidden_linux_example_commands_3.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Sun, 30 May 2010 21:37:07 +1300</pubDate>
      </item>
      
   </channel>
</rss>