<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.wizzy.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Wizzy Africa</title>
  <link>http://blog.wizzy.com/</link>
  <atom:link href="http://blog.wizzy.com:82/feed/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>en</language>
  <pubDate>Tue, 18 Jun 2013 06:43:28 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Apple's iPad - a n00b experience</title>
    <link>http://blog.wizzy.com/post/Apple-s-iPad-a-n00b-experience</link>
    <guid isPermaLink="false">urn:md5:f179dcacbfcb6792bb5b9dde4f6270f2</guid>
    <pubDate>Thu, 22 Dec 2011 23:03:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Apple</category><category>iPad</category><category>South Africa</category><category>Vodacom</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Misc/1stGen-iPad-HomeScreen.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Misc/.1stGen-iPad-HomeScreen_s.jpg&quot; alt=&quot;Apple iPad&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Apple iPad, Dec 2011&quot; /&gt;&lt;/a&gt; Two
friends of mine recently purchased iPads - Vernon asked me, as a computer
fundi, to help him out on the installation. I always think it is useful to
document first-time experiences - one adapts and forgets so easily.&lt;/p&gt;    &lt;h2&gt;Old timer&lt;/h2&gt;
&lt;p&gt;I have used Linux pretty much exclusively for the last 20 years. I have a
pragmatic approach to my friends who use Windows - I have followed Microsoft's
offerings from Windows98 through XP - I have an XP user's understanding of the
later versions of Windows.&lt;/p&gt;
&lt;p&gt;Apple I have pretty much never used. I have never owned one, I taught people
how to use the original MacDraw, but pretty much have never used it since. So,
when Vernon took advantage of First National Bank's interest-free loan to buy
one, and asked my to check it out, I dashed over.&lt;/p&gt;
&lt;p&gt;Fresh out of the box at his workplace in Cape Town, battery charged.&lt;/p&gt;
&lt;h2&gt;Internet&lt;/h2&gt;
&lt;p&gt;First hurdle - registration. There are a couple of Welcome.. screens, Name,
country, etc. Pretty soon, it wants to get online to talk to Apple. Well, we
had no wifi in his workplace, and the GSM SIM card was a &amp;quot;micro&amp;quot; variety, so I
couldn't pull one out of my Nokia and get past that.&lt;/p&gt;
&lt;p&gt;Failure.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #1&lt;/strong&gt; - I can't even use this thing without Internet ?
Ten years ago, this country only had dialup, and that was expensive. Requiring
Internet before doing even the most basic things like taking a picture, writing
a note, experiment with the touch screen ?&lt;/p&gt;
&lt;p&gt;Vernon knew what to do - buy a SIM card, load with 100Mb data (costs R50,
about $8). Weekend comes around - Andy, stop over. Some trouble getting
cellular data to work through Vodacom. I had internet from my netbook tethered
through my phone - google, ask on forums - ah, I need to enter &amp;quot;Internet&amp;quot; as
the APN for the service provider. Would Vernon have figured that out on his own
? I don't think so.&lt;/p&gt;
&lt;p&gt;As a side note - Ubuntu Linux knows all the main cellphone carriers in South
Africa, and if I choose Vodacom on Ubuntu, it knows to put &amp;quot;Internet&amp;quot; as the
APN (thanks, tumbleweed).&lt;/p&gt;
&lt;p&gt;We walk through registration, no problems. Vernon had taken advantage of a
free 1 hour course at the Apple store, and came away with &amp;quot;iCloud&amp;quot;. So, we must
hook that up.&lt;/p&gt;
&lt;h2&gt;An iPad manual&lt;/h2&gt;
&lt;p&gt;Back up a little - let's RTFM. Where is the iPad manual ? Nothing in the box
- no paper, no CD (haha - no CD player on the ultra-thin iPad). A tap on
Safari, a quick google - there is the manual, as a PDF on Apple's website.
Old-Skool says:- &amp;quot;Save the pdf on the desktop&amp;quot;. Safari has no options for that
- wtf? Seems I am indeed old-school - the iPad has no desktop. Wait a minute -
the out-of-the-box iPad comes with no manual, and there is no way to save a
copy locally ?? More googling - oh - I must download the iBook application, and
then get the (free !) iPad user manual. Sigh - consider it done.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #2&lt;/strong&gt; - I need internet, some savvy, a new app, and a
download just to read about how this thing works.&lt;/p&gt;
&lt;h2&gt;iCitizenship&lt;/h2&gt;
&lt;p&gt;Back to iCloud - Vernon had been told at the course that he needed a &amp;quot;United
States&amp;quot; designation for his iCloud registration. Seems the only iCitizenship
worth having is a US one - otherwise no music downloads and app restrictions,
or something. I trust the Apple store man - how to do this? More googling - you
need to attempt to get a free app from the Apple store, choose &amp;quot;None&amp;quot; as a
method of payment, lie about your address, lie about a US phone number.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #3&lt;/strong&gt; - to get the full benefits of this new iPad, one
has to pretend to be a US citizen. South African simply doesn't cut it. You can
buy it here, but there are heavy restrictions on its use.&lt;/p&gt;
&lt;h2&gt;GSM standards&lt;/h2&gt;
&lt;p&gt;OK - nearly there with the iCloud registration. Oops - I have no data left.
Yep - I have burned through 100Meg of data just to get this far. A trip to the
corner store - buy R110 pre-paid airtime, pull the micro-SIM out of the iPad,
delicately put it in my phone (which takes a normal size) and walk through the
USSD menus to load the airtime, and convert R100 of it to data bundles. R10
left behind as voice - whoopsie. Chalk that up to Vodacom ineptitude.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #4&lt;/strong&gt; - the iPad comes with no SMS/USSD interface to
the GSM network that would allow you to recharge a pre-paid SIM for data. You
must take the SIM out and do it on a phone - that may not take the same size
SIM.&lt;/p&gt;
&lt;p&gt;Apple is using GSM - iOS (the operating system) is common with the iPhone -
yet Apple stripped the GSM bits out of the codebase for the iPad.&lt;/p&gt;
&lt;p&gt;OK - now we are sorted. I am unwilling to experiment much with iCloud - I
have a feeling it could gobble up all my data again if I accidentally tap
&amp;quot;backup&amp;quot; or something.&lt;/p&gt;
&lt;p&gt;Games - nope - just a Games portal - go buy one. What, not even tetris or
mines ? Oh well, was not really interested anyway.&lt;/p&gt;
&lt;p&gt;Browsing is slick and fast, some study of the manual and gestures are easy
and intuitive. Some struggle with outdated concepts like stopping running
applications - I was pointed to &lt;a href=&quot;http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/8&quot; hreflang=&quot;en&quot;&gt;this article&lt;/a&gt; by my Linux User Group.&lt;/p&gt;
&lt;h2&gt;Bluetooth&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Misc/frown_large.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Misc/.frown_large_s.jpg&quot; alt=&quot;frown_large.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;frown_large.jpg, Dec 2011&quot; /&gt;&lt;/a&gt; OK
next - will it see my Nokia phone over Bluetooth ? My phone sees the iPad -
tries to pair with it - nope. The iPad never sees my phone.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #5&lt;/strong&gt; - Apple uses standards like Bluetooth for things
like external keyboards, but does not bother to implement the standards
properly.&lt;/p&gt;
&lt;p&gt;Its like they think they are so big they don't have to bother. Receive a
business card from my phone via bluetooth ? Pah - you must talk via Internet
please. No matter that others value interoperability, here at Apple we have our
own way of doing things.&lt;/p&gt;
&lt;p&gt;I have paired my old Nokia phone with my newish netbook via bluetooth. I can
easily move photos back and forth, and without even taking my phone out of my
pocket the netbook will use it as a gateway onto the net. I can see that this
brand new Apple iPad will not allow me to do that - either acting as a gateway,
or being able to use my phone as a gateway for the iPad (which would have got
over Strike #1 if I could have reached the settings menu, which I could
not).&lt;/p&gt;
&lt;h2&gt;USB&lt;/h2&gt;
&lt;p&gt;And, last but by no means least - I cannot plug a USB stick into the
iPad.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Strike #6&lt;/strong&gt; - there is not even a physical interface for a
USB stick (or drive).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Floppy disks were good in their day - but they got too small and
unreliable. Snif - floppies are gone.&lt;/li&gt;
&lt;li&gt;CD were fantastic in their day - ubiquitous for two decades, they were the
workhorse of transferable media. Now they seem bulky, small, and a tad
unreliable. Snif - CDROM drives are fading from the landscape.&lt;/li&gt;
&lt;li&gt;USB disks are small, everywhere, fit on your keyring, and absolutely rule
for data transfer. Even virus-writers target them, they are that convenient.
The sun has by no means set on the USB thumb drive, but Apple, in their wisdom,
choose not to provide an interface.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now, that is just nasty. That was deliberate. I saw what you did there. And
I am calling you on it.&lt;/p&gt;
&lt;p&gt;And, just because of Strike #6, I am reviewing your motivations for Strikes
1 thru 5. I could have given you the benefit of the doubt over SMS, Bluetooth
and Internet, but I see now this is deliberate.&lt;/p&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;The iPad lives up to its reputation as a beautiful piece of hardware. The
Multitouch screen is a true Apple innovation, and is a pleasure to use. The few
apps I tried seemed nice. Read about that elsewhere - it is all true. But the
level of control that Apple assert over the products they sell brings the ugly
out in me.&lt;/p&gt;
&lt;p&gt;Apple - I will not be buying your products any time soon.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Apple-s-iPad-a-n00b-experience#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Apple-s-iPad-a-n00b-experience#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/656390</wfw:commentRss>
      </item>
    
  <item>
    <title>Whisky Live Festival, Cape Town November 2011</title>
    <link>http://blog.wizzy.com/post/Whisky-Live-Festival</link>
    <guid isPermaLink="false">urn:md5:00e96e1456bc610b47193098760b775d</guid>
    <pubDate>Sun, 06 Nov 2011 10:59:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Cape Town</category><category>whisky</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Misc/.540px-Glass_of_whisky_s.jpg&quot; alt=&quot;Glass of Whisky&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Glass of Whisky, Nov 2011&quot; /&gt;
I went to the &lt;a href=&quot;http://www.whiskylivefestival.co.za/&quot; hreflang=&quot;en&quot;&gt;Whisky Live Festival&lt;/a&gt; in Cape Town last Friday evening - the last day
of the Festival - definitely a good choice.&lt;/p&gt;
&lt;h2&gt;International Convention Centre&lt;/h2&gt;
&lt;p&gt;Emma, a visitor from Scotland, persuaded a group of us to go, and we made
our way to the International Convention Centre. We got a group rate, and 12
redeemable coupons for tasting. We decided that we would specialise on the
single malts - a whisky made from the product of a single distillery rather
than a blend between distilleries.&lt;/p&gt;
&lt;p&gt;The first surprise we got was that many of the stands asked for two coupons
per taste, rather than the one we had been expecting. However, this did not
turn out to be a problem - by the end of the evening nobody bothered asking for
coupons as it was the last day.&lt;/p&gt;
&lt;p&gt;The booth babes were gorgeous, and most seemed knowledgeable on their
products.&lt;/p&gt;
&lt;p&gt;A good early stop was made at the stand for the Whisky magazine, who issued
awards for the whiskys. The gentleman on the stand said that the overall winner
that year had been a Japanese whisky - but it appeared that there were no
Japanese whiskys available for tasting in Cape Town, either on his stand
(stocked with also-rans from the competition) or on other stands. He
recommended the Independent bottlers stand as worth a visit.&lt;/p&gt;
&lt;p&gt;I had an early taste of a Dalwhinnie - from a very impressive stand giving
tastings. I learned from Emma about &lt;a href=&quot;http://en.wikipedia.org/wiki/Strathspey,_Scotland&quot; hreflang=&quot;en&quot;&gt;Speyside&lt;/a&gt;
- one of the centres of the Scottish single malt industry.&lt;/p&gt;
&lt;h3&gt;Glen Grant&lt;/h3&gt;
&lt;p&gt;Another stand that stood out for me was the Glen Grant stand, where the very
knowledgeable South African Marketing manager gave us a rundown of their
products. They also had a whisky workshop, where they had three sessions
explaining the process of making whisky.&lt;/p&gt;
&lt;p&gt;I managed to get a seat in the workshop, where the white-haired gentleman
explained the process - which starts very similar to beer. Malted barley is
cooked and rinsed to extract the sugar - maltose, created by enzymes from the
starch in the barley grain when it germinates.&lt;/p&gt;
&lt;p&gt;The yeasts they use are different, however - the distiller's yeast can stand
much higher concentrations of alcohol. The yeast is allowed to do its work, and
the first distillation step produces Low wine - with alcohol concentrations up
to 60%. Another distillation step is performed - being careful to skip the
initial distillation products and the end distillation products, and keeping
the 'heart' of the whisky.&lt;/p&gt;
&lt;p&gt;The end result of this is a clear liquor - of quite high alcohol
concentration, ready to be aged. Second hand barrels from the sherry industry
are very popular, as well as Madiera wine barrels. It is this step that gives
the whisky its colour and much of its taste. Scottish whiskys must be aged a
minimum of three years, but can be kept as long as 21 years.&lt;/p&gt;
&lt;p&gt;We got to taste in the workshop the Low wine (rough, strong), the 3 year, 10
year, and 12 year Glen Grant products.&lt;/p&gt;
&lt;h3&gt;Jack Daniels&lt;/h3&gt;
&lt;p&gt;I bumped into friends Ashley and Barbs there, and also made my way to the
Jack Daniels stand, where I learned the differences between Bourbon Whiskey and
scotch. American whiskeys all contain at least 51% of another grain, either
corn, Rye, or wheat, though they also have a 51% barley product, Malt whiskey.
The Glen Grant man had no nice things to say about any grain other than
barley.&lt;/p&gt;
&lt;p&gt;We tasted some nice Welsh whisky, and Ireland were also well represented.
The coupon system was out of the window by the end, so most of the stands were
offering free tastings.&lt;/p&gt;
&lt;p&gt;A very pleasant evening.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Whisky-Live-Festival#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Whisky-Live-Festival#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/647912</wfw:commentRss>
      </item>
    
  <item>
    <title>Centre for High Performance Computing national meeting</title>
    <link>http://blog.wizzy.com/post/Centre-for-High-Performance-Computing-national-meeting</link>
    <guid isPermaLink="false">urn:md5:a05de5bb72a15426e31a46aa8f9bef80</guid>
    <pubDate>Tue, 28 Dec 2010 12:28:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Cape Town</category><category>Centre for High Performance Computing</category><category>CHPC</category><category>Desmond Tutu</category><category>Marine Remote Sensing Unit</category><category>Massively parallel processing</category><category>MRSU</category><category>University of Cape Town</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/backbone_map_whitebg.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.backbone_map_whitebg_s.jpg&quot; alt=&quot;SANReN Backbone&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;SANReN Backbone, Dec 2010&quot; /&gt;&lt;/a&gt;
The Centre for High Performance Computing in Cape Town has an annual meeting to
showcase flagship projects and listen to other people's experiences at similar
centres around the world.&lt;/p&gt;    &lt;p&gt;The 7-9th December 2010 saw the &lt;a href=&quot;http://www.chpcconf.co.za/&quot;&gt;Centre
for High Performance Computing's national meeting&lt;/a&gt; held at the Westin Grand
hotel in Cape Town, next to the International convention centre, CTICC.&lt;/p&gt;
&lt;p&gt;I am contracting at CHPC, and have &lt;a href=&quot;http://blog.wizzy.com/post/Centre-for-High-performance-computing-in-Cape-Town&quot;&gt;blogged&lt;/a&gt; &lt;a href=&quot;http://blog.wizzy.com/post/Using-the-Centre-for-High-Performance-Computing%2C-Cape-Town&quot;&gt;before&lt;/a&gt;
about it.&lt;/p&gt;
&lt;p&gt;Dr Happy Sithole is director of the Centre for High Performance Computing
(CHPC), an initiative funded by the &lt;a href=&quot;http://www.dst.gov.za/&quot;&gt;Department
of Science and Technology&lt;/a&gt; (DST) and managed by the &lt;a href=&quot;http://www.csir.co.za/&quot;&gt;Council for Scientific and Industrial Research&lt;/a&gt;
(CSIR). He opened the Plenary session, discussing High Performance Computing
and Data curation - the latter being slipped in as a target for the next big
project at CHPC, a petabyte-scale database facility.&lt;/p&gt;
&lt;h2&gt;Connectivity at CHPC&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Sun_MRSU_Picture.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Sun_MRSU_Picture_s.jpg&quot; alt=&quot;Sun cluster at CHPC&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Sun cluster at CHPC, Jul 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I asked a question about the schedule for the &lt;a href=&quot;http://www.meraka.org.za/sanren.htm&quot;&gt;SANReN&lt;/a&gt; network deployment at CHPC, as
I see fast networking going hand-in-hand with High Performance Computing. CHPC
has a gigabit fibre link to the nearby University of Cape Town (UCT), but
otherwise I consider network connectivity to be pedestrian. Happy deferred to
&lt;a href=&quot;http://www.dfafrica.co.za/&quot;&gt;Dark Fibre Africa&lt;/a&gt; (DFA) who were
present at the meeting, and who replied that the original deadline of February
2011 had been pushed back to June 2011.&lt;/p&gt;
&lt;p&gt;I consider this an unsatisfactory answer - particularly as I heard that the
June date is actually a drop-dead date for another project - perhaps MeerKat.
You can read the SANReN project status as of November 2010 &lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/ProjectStatus.SANReN.November.2010-11-29.pdf&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also introduced was a proposal for two separate Petabyte-scale Very Large
Database (VLDB) centres - one in Pretoria and the other at CHPC Cape Town.&lt;/p&gt;
&lt;h2&gt;EPCC - Edinburgh&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/hector.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.hector_s.jpg&quot; alt=&quot;EEPC Supercomputer&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;EEPC Supercomputer, Dec 2010&quot; /&gt;&lt;/a&gt;
Gavin Pringle gave an entertaining talk on &lt;a href=&quot;http://www.epcc.ed.ac.uk/&quot;&gt;EPCC&lt;/a&gt;, the supercomputing centre at The
University of Edinburgh. Much of the talk was devoted to industry
collaboration, and the necessity of making money, with timescales and
deliverables, as a reality of research in the UK.&lt;/p&gt;
&lt;h2&gt;National Center for Supercomputing Applications (NCSA)&lt;/h2&gt;
&lt;p&gt;Danny Powell of NCSA, at University of Illinois at Urbana-Champaign, gave a
little history of NCSA, reminding us that supercomputing is as much about
software research as it is about large hardware installations. He introduced
Blue Waters, targetting a peak performance of 10 petaflops and sustained
performance of 1 petaflop running a range of science and engineering codes. He
downplayed it significance on the bragging list of fastest supercomputers,
saying that many other national projects will probably outstrip it before it
comes on line. &lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/A-208-Million-Petaflop-Supercomputer-In-the-Making-2.jpg&quot;&gt;
&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.A-208-Million-Petaflop-Supercomputer-In-the-Making-2_s.jpg&quot; alt=&quot;Blue Waters&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Blue Waters, Dec 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Computational Physics centres in Africa&lt;/h2&gt;
&lt;p&gt;Clement Onime talked about a project spearheaded by the Abdus Salam
International Centre for theoretical physics to use small linux clusters of 5
to 32 nodes for High Performance Computing around Africa. Emphasis is on
implementing and maintaining such clusters, and dealing with peculiarly african
issues like dealing with power outages. One of the centres Clement had worked
with was AUST - the African University of Science and Technology in Abuja,
Nigeria. Two years ago I installed the &lt;a href=&quot;http://blog.wizzy.com/post/Nigerian-infrastructure&quot;&gt;AUST computing facility&lt;/a&gt;, and recruited Dayo
Adewunmi and Bobby Adesuyan to manage the installation.&lt;/p&gt;
&lt;h2&gt;Other presentations&lt;/h2&gt;
&lt;p&gt;There were a number of other presentations, but one that caught my ear was
from Wim Hugo, of South African Environmental Observation Network (SAEON). Data
on biodiversity and health in Africa is currently scattered around the world.
The new SAEON centre aims to collect all this data into a single, online,
resource that could be useful for African policymakers. His presentation was
about Metadata - information describing the data itself. The datasets are so
huge that without good metadata they are unsearchable.&lt;/p&gt;
&lt;h2&gt;Operational Oceanography&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/resprojpost003.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.resprojpost003_s.jpg&quot; alt=&quot;Agulhas Bank modelling&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Agulhas Bank modelling, Dec 2010&quot; /&gt;&lt;/a&gt; I then attended a two day breakaway
session on Operational Oceanography, organised by the &lt;a href=&quot;http://ma-re.uct.ac.za/nansen-tutu-centre/&quot;&gt;Nansen-Tutu&lt;/a&gt; centre for
Environmental research - named after two Nobel Laureates, &lt;a href=&quot;http://en.wikipedia.org/wiki/Fridtjof_Nansen&quot;&gt;Fridtjof Nansen&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Desmond_Tutu&quot;&gt;Desmond Tutu&lt;/a&gt;. The talks were
focused on the development of a system for regular and consistent monitoring
and data curation of in-situ monitoring, remote sensing and ocean modelling
activities of African oceans. We had an evening out at Lelapa restaurant in
Langa township - always excellent.&lt;/p&gt;
&lt;h3&gt;Westin Grand&lt;/h3&gt;
&lt;p&gt;the Cape Town International Convention Centre is located right downtown, and
the Westin Grand did us proud with the hospitality - food was excellent and the
facilities outstanding - just no free wireless internet.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Centre-for-High-Performance-Computing-national-meeting#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Centre-for-High-Performance-Computing-national-meeting#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/569563</wfw:commentRss>
      </item>
    
  <item>
    <title>Using the Centre for High Performance Computing, Cape Town</title>
    <link>http://blog.wizzy.com/post/Using-the-Centre-for-High-Performance-Computing%2C-Cape-Town</link>
    <guid isPermaLink="false">urn:md5:f0c84b43e90451355cd04f7aa84bc242</guid>
    <pubDate>Mon, 06 Sep 2010 20:18:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Africa</category><category>Cape Town</category><category>Centre for High Performance Computing</category><category>CHPC</category><category>Environment</category><category>Marine Remote Sensing Unit</category><category>Massively parallel processing</category><category>MERIS</category><category>MODIS</category><category>MRSU</category><category>South Africa</category><category>University of Cape Town</category><category>University of Stellenbosch</category><category>University of the Western Cape</category>    
    <description>&lt;p&gt;I have recently been contracting at the Centre for High Performance
Computing. This is just an update on how to map the particular problem I have
onto the computing cluster.&lt;/p&gt;    &lt;h2&gt;What this is not&lt;/h2&gt;
&lt;p&gt;This is not a complicated expose of a whole computer cluster co-operating on
a single task.&lt;/p&gt;
&lt;h2&gt;First steps&lt;/h2&gt;
&lt;p&gt;It is an explanation of how to get to the much easier job of splitting the
main task up into bite-sized pieces that can be fed independently via a job
submission system called &lt;a href=&quot;http://www.clusterresources.com/products/moab-cluster-suite.php&quot;&gt;MOAB&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Africa_MERIS_algal_1_20100516.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Africa_MERIS_algal_1_20100516_s.jpg&quot; alt=&quot;MERIS satelite scan&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;MERIS satelite scan, Jul 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Task description&lt;/h2&gt;
&lt;p&gt;Each day satellites &lt;a href=&quot;http://en.wikipedia.org/wiki/MODIS&quot;&gt;MODIS&lt;/a&gt;
(NASA) and &lt;a href=&quot;http://en.wikipedia.org/wiki/MERIS&quot;&gt;MERIS&lt;/a&gt; (ESA) do a
few passes of a polar orbit over our region of interest, African coastal and
inland waters. The (large amounts) of daily data arrive via a dedicated
satellite link - about 1 Gig every day. They are in &amp;quot;swaths&amp;quot;, about 20 or so
files from 10Meg to 800Meg.&lt;/p&gt;
&lt;p&gt;We need to keep all this input data. It is a few terabytes and growing of
several years of historical data.&lt;/p&gt;
&lt;p&gt;This needs to be processed - mostly to cut it up and combine swaths to get
smaller files of country-specific data, and a PNG picture of some attributes in
the country &lt;a href=&quot;http://en.wikipedia.org/wiki/Netcdf&quot;&gt;netcdf&lt;/a&gt; file.&lt;/p&gt;
&lt;p&gt;So I have a python script that reads the input files, brackets them by
latitude and longitude, re-grids (lossily) the data onto a north-south grid as
opposed to 'along-track' delivered data, writes the &lt;a href=&quot;http://en.wikipedia.org/wiki/Netcdf&quot;&gt;netcdf&lt;/a&gt; and png.&lt;/p&gt;
&lt;h2&gt;Collecting the data&lt;/h2&gt;
&lt;p&gt;All the input data was on a number of other machines in the oceanography
department. The supercomputer cluster has four 79 terabyte cluster drives,
accessible from all nodes. The network drives are themselves a distributed
network of directory nodes and storage nodes, for speed and parallel access.
See &lt;a href=&quot;http://en.wikipedia.org/wiki/Lustre_%28file_system%29&quot;&gt;LUSTRE&lt;/a&gt;
filesystems.&lt;/p&gt;
&lt;p&gt;Each node runs linux, and can directly access these drives. For
organisational purposes, I create a heirarchy of SATELLITE/YEAR/MONTH/* and
copy all the terabytes down.&lt;/p&gt;
&lt;h2&gt;Python&lt;/h2&gt;
&lt;p&gt;I will skip the off-topic but lengthy installation of python 2.6.5 on the
NFS read-only share. Consider it done :)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/WSAfrica_MODIS_sst_20100831.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.WSAfrica_MODIS_sst_20100831_m.jpg&quot; alt=&quot;MODIS West South Africa&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;MODIS West South Africa, Sep 2010&quot; /&gt;&lt;/a&gt; I can now split the problem up by
day, and satellite. I have a shell script that copies and decompresses a day's
input files to a 'scratch' area, and feeds that days-worth of files to a python
program, which processes it repeatedly for each of our Regions of Interest,
dropping the output files in the same directory. It can take up to about 6
hours to process a days files - mostly spent on the regridding operation.&lt;/p&gt;
&lt;p&gt;You can see in this png of the Western coast of South Africa two separate
swaths, and artifacts caused by the regridding operation at the lower
resolution edges of the swath. MODIS orbits south to north, MERIS (above) the
other way. Most of the gaps are clouds over the sea at the time of the
satellite overpass.&lt;/p&gt;
&lt;p&gt;MERIS have their own file format, but provide a java program to convert that
to hdf5, a more widely recognised format that has python modules for input and
output. Luckily the cluster has java :)&lt;/p&gt;
&lt;p&gt;The shell script then copies the results back to a target file heirarchy,
and deletes the input files, and finishes.&lt;/p&gt;
&lt;h2&gt;Firewall&lt;/h2&gt;
&lt;p&gt;The firewall setup around the computing cluster prevents any machine in the
cluster from making network connections out. When logging into the cluster, you
'land' on the login node, and from there you can ssh to any node in the cluster
on its private 10.* Infiniband network. So copying the output data to the
webserver must be orchestrated from outside.&lt;/p&gt;
&lt;h2&gt;MOAB&lt;/h2&gt;
&lt;p&gt;The product page talks about graphical installations and point and click,
but I prefer the command line. Usually the GUI just pokes command line tools
anyway, so you are closer to the metal as well as being convenient for remote
use.&lt;/p&gt;
&lt;p&gt;The submission tool, &lt;strong&gt;msub&lt;/strong&gt;, takes as parameters a number of
accounting switches, where to send script output (stdout and stderr), target
blade classes, and a host of other things including my script.&lt;/p&gt;
&lt;p&gt;A problem comes because I cannot pass parameters to the script on the
command line. So, if I want to tell it which day to process, I have to use an
environment variable.&lt;/p&gt;
&lt;p&gt;There are ways of naming environment variables to be passed through, but now
it is getting complicated. I chose to use the 'jobname' - a simple string
available in the accounting switches that I can set to anything I like. I set
it to the date - for instance &amp;quot;2010:02:29&amp;quot; is a leap-day.&lt;/p&gt;
&lt;p&gt;You can embed all the msub switches (like expected job run time, feature set
of target blades needed, stdin and stout) in the script itself, prefixed by
&amp;quot;#MSUB&amp;quot;, which is mighty convenient. so now submitting a day's job becomes&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msub -N 2010:08:11 ~/bin/meris.sh&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and a trivial loop will do a month.&lt;/p&gt;
&lt;p&gt;moab is probably sniggering at me for submitting so many single-threaded
jobs and nothing more complex. I may even be penalised in the queue for jobs,
but it works fine for me.&lt;/p&gt;
&lt;h2&gt;Loading and unloading&lt;/h2&gt;
&lt;p&gt;It is convenient to keep all the historical input data on the cluster
filesystems, and that means setting up a daily job to rsync the satellite data
as it arrives down to the cluster.&lt;/p&gt;
&lt;p&gt;Output is currently served by the MRSU webserver at &lt;a href=&quot;http://www.afro-sea.org.za/&quot;&gt;http://www.afro-sea.org.za/&lt;/a&gt; - and thus needs
the data copied off the cluster to be served. Because of the difficulty of
synchronising, I actually do the daily processing on a beefy desktop outside
that is otherwise idle, just because all the network copying can be coordinated
there, and I can use cron.&lt;/p&gt;
&lt;p&gt;There is a plan to make the site more dynamic, where you could request a
custom region, at which point I would consider poking the supercomputer cluster
with long spoons from the webserver. First - we need users.&lt;/p&gt;
&lt;h2&gt;Users&lt;/h2&gt;
&lt;p&gt;This is a bit double-edged - probably the folks most interested in the daily
information would be foreign fishing vessels :) Regardless, potentially
interested parties must be made aware of this resource funded by the
taxpayer.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Using-the-Centre-for-High-Performance-Computing%2C-Cape-Town#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Using-the-Centre-for-High-Performance-Computing%2C-Cape-Town#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/544267</wfw:commentRss>
      </item>
    
  <item>
    <title>Eavesdropping today's smartphones</title>
    <link>http://blog.wizzy.com/post/Evesdropping-today-s-smartphones</link>
    <guid isPermaLink="false">urn:md5:2a8d1be965ae2ccac56299c2db3b09c1</guid>
    <pubDate>Thu, 02 Sep 2010 22:33:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>blackberry</category><category>cellphone</category><category>crackberry</category><category>eavesdropping</category><category>India</category><category>internet</category><category>research in motion</category><category>SSL</category><category>UAE</category>    
    <description>&lt;p&gt;There have been a number of countries, like &lt;a href=&quot;http://www.schneier.com/blog/archives/2010/08/uae_to_ban_blac.html&quot; hreflang=&quot;en&quot;&gt;UAE&lt;/a&gt; and &lt;a href=&quot;http://www.schneier.com/blog/archives/2008/05/blackberry_givi_1.html&quot; hreflang=&quot;en&quot;&gt;India&lt;/a&gt; that have demanded access to encrypted communications
of Research-In-Motion's (RIM) BlackBerry smartphones. These efforts are
misguided, and unfairly target RIM's business.&lt;/p&gt;    &lt;h2&gt;Public key encryption&lt;/h2&gt;
&lt;p&gt;We need a quick primer on today's encryption. We pick the standard scenario
where Alice wants to talk to Bob, and Charlie is trying to listen in.&lt;/p&gt;
&lt;p&gt;In the old days Alice had to get a 'secret' to Bob before they can chatter.
This was vulnerable because there was always the possibility that Charlie could
intercept that initial exchange.&lt;/p&gt;
&lt;p&gt;Nowadays, &lt;a href=&quot;http://en.wikipedia.org/wiki/Public-key_cryptography&quot; hreflang=&quot;en&quot;&gt;public key encryption&lt;/a&gt; makes that unnecessary. Bob can publish
a (large) number, in his newspaper, or on his business card. This Bob's public
key. If Alice uses some well-known, open-source software like &lt;a href=&quot;http://en.wikipedia.org/wiki/GNU_Privacy_Guard&quot; hreflang=&quot;en&quot;&gt;GPG&lt;/a&gt; that
even Charlie has, Alice can send a message to Bob that only Bob (with a second,
private large number key) can decrypt.&lt;/p&gt;
&lt;p&gt;Let us be clear. The code that does the encryption and decryption is open,
available for inspection by Charlie, who may spend years with scientists and
huge computers and will still never break the code. The secret to decoding the
message is Bob's private key, which he has never given to anyone.&lt;/p&gt;
&lt;h2&gt;Duality of the key pair&lt;/h2&gt;
&lt;p&gt;The two keys, Bob's Private and Public key, are a dual - what is done by one
can only be undone by the other. There are infinitely many of these key pairs,
and when you need them they can be generated. The bigger these numbers are, the
harder it is to decrypt. The numbers can be made up to any size.&lt;/p&gt;
&lt;p&gt;They can be used for signatures too - Bob can create an email, and sign it -
attach a (very big) number to that email created with his private key. Anyone,
like Alice or Charlie, can verify that only someone with access to Bob's
private key could have 'guessed' the number Bob put at the bottom of the Email
- proving that Bob wrote it.&lt;/p&gt;
&lt;h2&gt;Secure communication protocols&lt;/h2&gt;
&lt;p&gt;Public key encryption is at the cornerstone of SSL - the secure wrapper to a
number of protocols - https:// that is used to access your banking website,
ssmtp for email submission, and imaps for email retrieval to name a few. It is
a very well studied mathematical science - we have a pretty good idea what
America's National Security Agency is able to do concerning cracking these
protocols.&lt;/p&gt;
&lt;h2&gt;Blackberry phones&lt;/h2&gt;
&lt;p&gt;Research-In-Motion have two types of customers - corporate, and casual
smartphone buyers that like the BlackBerry phone. For corporate customers, they
install the BlackBerry Enterprise Server (BES) - a computer at their premises
that interfaces to their corporate mail server and securely delivers the mail
to the smartphone.&lt;/p&gt;
&lt;p&gt;This traffic is encrypted at the BES (Alice), send over RIM's network and
the public phone network (Charlie) and decrypted on Bob's smartphone - using
the private key that has never left the innards of his phone. RIM corporate
clients know this, and that is why they buy RIMs devices.&lt;/p&gt;
&lt;h2&gt;Snooping traffic&lt;/h2&gt;
&lt;p&gt;The only way the message could be read by Charlie is if he installed
snooping software on either the BES or the phone itself. UAE tried to install
at the phone, but &lt;a href=&quot;http://news.bbc.co.uk/2/hi/technology/8161190.stm&quot; hreflang=&quot;en&quot;&gt;they were outed&lt;/a&gt;. RIM go into exhaustive detail on the steps
used to generate and exchange the keys. If this process is followed nobody
except that corporation can read those messages. Especially not Charlie, RIM
themselves, or the UAE or Indian government.&lt;/p&gt;
&lt;p&gt;With proper attention to detail, SSL protocols like SSMTP and IMAPS can be
made just as secure, with no possibilities of eavesdropping. RIM has just come
under the spotlight because its business model is based on this security. My
Nokia E71 can access my mailserver, and the traffic between the two is secured
as tightly as RIM's service. What is different is that key management on my
phone is too sloppy. A Corporate Nokia customer could request more
strictness.&lt;/p&gt;
&lt;h2&gt;BlackBerry Internet Service&lt;/h2&gt;
&lt;p&gt;The BlackBerry Internet Service is the service non-corporate individuals get
if they just buy a BlackBerry at the corner store. Depending where that server
is located, and who has access to it, will entirely determine the security of
the service. If Charlie controls this server, then naturally Alice and Bob can
expect no privacy.&lt;/p&gt;
&lt;p&gt;If the UAE or India lean too hard on RIM, hard enough to either control the
key generation process so private keys are revealed, or the numbers
representing the keys are small enough to be broken by a large computer, or if
either the BES or smartphone have spyware installed, there will no longer be
any reason for corporates to buy their service, and RIM will go out of business
in those markets.&lt;/p&gt;
&lt;p&gt;Security-conscious Blackberry buyers will instead buy another smartphone,
most of which (with attention to detail) can be made just as secure to
eavesdroppers. The government will have gained very little in snooping on
someone determined to keep their privacy.&lt;/p&gt;
&lt;h2&gt;Android&lt;/h2&gt;
&lt;p&gt;Furthermore, the new Google smartphone OS, Android, is open-source. Soon
individuals or companies will be able to install their own version of the same
encryption software RIM uses and neither their network provider, cellphone
provider or government will be able to do anything about it.&lt;/p&gt;
&lt;h2&gt;Conclusions&lt;/h2&gt;
&lt;p&gt;Perhaps India and the UAE are just going after the conveniently-packaged
security-in-a-box that the casual smartphone user has been able to buy in the
BlackBerry brand - and they want to at least deny that to their perceived
enemies. But it is a limited solution, will not stand the test of time, and
unfairly targets one company - RIM.&lt;/p&gt;
&lt;p&gt;As a user, don't stand for this bullying by the governments. Take your
privacy and security seriously. Hold companies like Yahoo and Google and
Facebook and Twitter accountable for your privacy using their services, or use
them understanding that it might be, and probably is, routinely snooped.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Evesdropping-today-s-smartphones#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Evesdropping-today-s-smartphones#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/543509</wfw:commentRss>
      </item>
    
  <item>
    <title>wikileaks and the twitterverse</title>
    <link>http://blog.wizzy.com/post/wikileaks-and-the-twitterverse</link>
    <guid isPermaLink="false">urn:md5:cba54e836038310ec823aed8212aa70b</guid>
    <pubDate>Sun, 22 Aug 2010 17:59:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Politics</category>
        <category>2007 Kenya presidential elections</category><category>Afghan war diary</category><category>ANC</category><category>Assange</category><category>Kenya</category><category>Mwai Kibaki</category><category>wikileaks</category><category>Zimbabwe</category><category>Zuma</category>    
    <description>&lt;p&gt;Last month &lt;a href=&quot;http://www.theage.com.au/technology/technology-news/the-story-behind-the-afghan-warlogs-leak-20100726-10s02.html&quot;&gt;
wikileaks published a large tranche of Afghan war documents&lt;/a&gt;, that the
Pentagon doesn't like. Actually, they &lt;strong&gt;want it all back&lt;/strong&gt;, if
such a thing is possible in the download age.&lt;/p&gt;    &lt;h2&gt;Crowd-sourcing&lt;/h2&gt;
&lt;p&gt;This is the new 'enemy' - the indiscriminate information age. Even during
the case, &lt;a href=&quot;http://twitter.com/wikileaks&quot;&gt;wikileaks&lt;/a&gt; gave its
followers - 120 thousand and growing - a sharply-focused &lt;em&gt;feed&lt;/em&gt; into
this continually-evolving situation. &lt;a href=&quot;http://en.wikipedia.org/wiki/Afghan_War_Diary&quot;&gt;Wikipedia&lt;/a&gt; is there to
helpfully keep the permanent record, written by the crowds, not by chosen
editors. We choose our own news these days - I don't read what just one editor
says.&lt;/p&gt;
&lt;h2&gt;Kenya Election&lt;/h2&gt;
&lt;p&gt;I believe in free information - I host on my ftp server &amp;quot;&lt;a href=&quot;http://blog.wizzy.com/post/2007-Kenya-Election&quot;&gt;statements of domestic election observers&lt;/a&gt; the
night before the announcement of the results&amp;quot; in case that information were
lost. I get about 100 downloads a month.&lt;/p&gt;
&lt;h2&gt;Iran&lt;/h2&gt;
&lt;p&gt;Authoritarian governments everywhere - most recently demonstrated &lt;a href=&quot;http://www.time.com/time/world/article/0,8599,1905125,00.html&quot;&gt;in Iran&lt;/a&gt;,
fear this uncontrollable melange of information - created by twitter and short
urls. It is funny to see government trying to swat the fly.&lt;/p&gt;
&lt;h2&gt;South Africa&lt;/h2&gt;
&lt;p&gt;There is a &lt;a href=&quot;http://www.csmonitor.com/World/Africa/Africa-Monitor/2010/0819/South-Africa-s-media-tribunal-US-ambassador-weighs-in-on-press-freedom&quot;&gt;
proposed Media Tribunal&lt;/a&gt; in South Africa - with the government's motive
questioned. All governments have to acknowledge that it is impossible now to
control the information - perhaps they think that if they have the TV, radio
and newspapers covered they have dealt with the majority of the ANC electorate.
I will miss the straight-talking &lt;a href=&quot;http://www.nytimes.com/2010/07/23/world/africa/23tutu.html&quot;&gt;Desmond Tutu&lt;/a&gt;
in the South African media.&lt;/p&gt;
&lt;h2&gt;Europe&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Julian_Assange&quot;&gt;Julian Assange&lt;/a&gt; is
the founder of wikileaks, reportedly permanently on the move like the &lt;a href=&quot;http://en.wikipedia.org/wiki/Cathar_Perfect#Persecution&quot;&gt;Cathar Perfecti&lt;/a&gt;.
He was &lt;a href=&quot;http://www.guardian.co.uk/media/2010/aug/21/julian-assange-wikileaks-arrest-warrant-sweden&quot;&gt;
bizarrely accused&lt;/a&gt; of rape and molestation in Sweden, and equally hastily
withdrawn. Even the legal system cannot keep up with this instant feedback
loop.&lt;/p&gt;
&lt;h2&gt;America&lt;/h2&gt;
&lt;p&gt;America is the land of the free. It is the homesteaders, the hackers, the
start of the open source movement and the tools that built Linux and the
software I use every day.&lt;/p&gt;
&lt;h3&gt;Democracy&lt;/h3&gt;
&lt;p&gt;America is also proud of its democratic heritage and sees nothing wrong with
exporting informed choice for the electorate &lt;a href=&quot;http://blog.wizzy.com/post/Zimbabwe-2008-election&quot;&gt;onto countries&lt;/a&gt; whose government would prefer
the old days.&lt;/p&gt;
&lt;p&gt;It has been hard to see the hacker culture that made a lot of what is good
today in a struggle with its own government. Omnipresent cameras mean that
&lt;a href=&quot;http://en.wikipedia.org/wiki/The_Man&quot;&gt;The Man&lt;/a&gt; already has powerful
tools. But the strength of the American system is they &lt;strong&gt;will&lt;/strong&gt;
resolve it, if necessary by counting heads.&lt;/p&gt;
&lt;h3&gt;More Afghan War Documents&lt;/h3&gt;
&lt;p&gt;Wikileaks has published in association with the War Diarys above, a &lt;a href=&quot;http://cryptome.org/0002/wl-diary-mirror.htm&quot;&gt;huge, unknown, encrypted
file&lt;/a&gt;. Possibly more war documents ? A few hundred pages of /dev/random ?
All it needs is a password to unlock it. Yes, I already tried &amp;quot;Assange&amp;quot; and all
the dog names I could think of.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/wikileaks-and-the-twitterverse#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/wikileaks-and-the-twitterverse#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/541010</wfw:commentRss>
      </item>
    
  <item>
    <title>My first tweet</title>
    <link>http://blog.wizzy.com/post/My-first-tweet</link>
    <guid isPermaLink="false">urn:md5:6f8dc73803694f142a24bc430f337f56</guid>
    <pubDate>Sat, 07 Aug 2010 17:41:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
            
    <description>&lt;p&gt;My &lt;a href=&quot;http://twitter.com/wizzyct/status/20163674522&quot; hreflang=&quot;en&quot;&gt;first tweet&lt;/a&gt;&lt;/p&gt;    When I first started this blog, I started with a &lt;a href=&quot;http://blog.wizzy.com/post/Communication_latency&quot;&gt;self-referential piece&lt;/a&gt; .
&lt;p&gt;There I covered snail mail, fax, email, Usenet News and instant messaging
(AIM and others). Since then I have been blogging, and I have stats on what
people look at. My most popular posts appear to be those on Zulu weddings, and
&lt;a href=&quot;http://blog.wizzy.com/post/OLPC-and-Classmate-in-Nigeria&quot;&gt;my visit&lt;/a&gt;
to the school where One Laptop per Child was launched in Nigeria.&lt;/p&gt;
&lt;p&gt;Since then I learned IRC, (which you see below), which is a more refined
tool than the old unix &amp;quot;talk&amp;quot; where you just banged a message on their screen.
I like IRC, and especially the &lt;a href=&quot;http://wiki.clug.org.za/wiki/CLUG_IRC_Channel&quot;&gt;Cape Linux Users Group IRC
chatroom&lt;/a&gt;. A busy linux users group, where we get together once in a while,
either for technical talks or Geekdinners. It is my first port of call if I am
stuck on some problem to do with programming or system administration.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.facebook.com/rabagliati&quot;&gt;Facebook&lt;/a&gt; arrived. Facebook
has a walled garden feel to it - you are writing to and for your friends, not
the world at large. Its major value is connecting with old friends, like school
buddies. A lot of the privacy options are slipping away as Facebook try to
monetize their incredible popularity.&lt;/p&gt;
&lt;p&gt;I am a trailing edge technology guy - 5 year old laptop is fine. This
philosophy has served me well over &lt;a href=&quot;http://googleblog.blogspot.com/2010/08/update-on-google-wave.html&quot;&gt;Google
Wave&lt;/a&gt;. But you buy new once in a while. So, I have resisted Twitter, as
another rolled over version of stuff we have seen before above, but maybe it is
different.&lt;/p&gt;
&lt;p&gt;So I am blogging the IRC conversation that lead to my first tweet. Delicate
temperaments might be a little surprised at the robust exchanges, but in
real-time cyberspace there is a sliding line between truth and fiction, joking
and seriousness. Spinach, below, is a 'bot - a program that lives in the
chatroom to perform helpful things like check the weather forecast and leave
people messages.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;19:20 * wizzy gets a 3 minute international phone call from Kenneth
Kaunda's grandson replying to &lt;a href=&quot;http://en.wikipedia.org/wiki/User_talk:Mkaund&quot;&gt;http://en.wikipedia.org/wiki/User_talk:Mkaund&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;20:01 &amp;lt;&amp;amp;highvoltage&amp;gt; wizzy: wow :)&lt;/li&gt;
&lt;li&gt;20:01 &amp;lt;&amp;amp;highvoltage&amp;gt; wizzy: you should tweet that&lt;/li&gt;
&lt;li&gt;20:07 * wizzy doesn't tweet&lt;/li&gt;
&lt;li&gt;20:07 &amp;lt;&amp;amp;highvoltage&amp;gt; it's about time you start.&lt;/li&gt;
&lt;li&gt;20:08 &amp;lt; wizzy&amp;gt; highvoltage: I'm scared&lt;/li&gt;
&lt;li&gt;20:08 &amp;lt;&amp;amp;highvoltage&amp;gt; that irc oneliner you posted is really cool
but it will go forgotten in our irc logs.&lt;/li&gt;
&lt;li&gt;20:08 &amp;lt; wizzy&amp;gt; I am only just getting the hang of IRC&lt;/li&gt;
&lt;li&gt;20:09 &amp;lt;&amp;amp;highvoltage&amp;gt; I'm too and that didn't stop me&lt;/li&gt;
&lt;li&gt;20:09 &amp;lt; wizzy&amp;gt; will it be remembered in tweettown?&lt;/li&gt;
&lt;li&gt;20:10 &amp;lt;&amp;amp;highvoltage&amp;gt; yep, people can mark it as a favourite, they
can repeat it, google can find it, it can be indexed/searched better...&lt;/li&gt;
&lt;li&gt;20:10 &amp;lt;&amp;amp;highvoltage&amp;gt; just make sure Vhata follows you (at least
in the beginning), and he'll be sure to tell you when you do anything kak&lt;/li&gt;
&lt;li&gt;20:11 &amp;lt;&amp;amp;highvoltage&amp;gt; doing that and following some basic
guidelines will turn you into a pro in no time&lt;/li&gt;
&lt;li&gt;20:13 &amp;lt;&amp;amp;tumbleweed&amp;gt; joe reports that GD change has been submitted
to org.za&lt;/li&gt;
&lt;li&gt;20:47 &amp;lt;&amp;amp;highvoltage&amp;gt; man reflective screens suck in offices with
stupid flourecent lighting&lt;/li&gt;
&lt;li&gt;21:00 &amp;lt; wizzy&amp;gt; Spinach: twitter&lt;/li&gt;
&lt;li&gt;21:00 &amp;lt; Spinach&amp;gt; wizzy: twitter is &lt;a href=&quot;http://www.penny-arcade.com/comic/2008/4/23/&quot;&gt;http://www.penny-arcade.com/comic/2008/4/23/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;21:03 &amp;lt; wizzy&amp;gt; I bet Kenneth Kaunda's grandson doesn't tweet&lt;/li&gt;
&lt;li&gt;21:59 &amp;lt; wizzy&amp;gt; highvoltage: I tweeted. Am I as hip as Vhata yet
?&lt;/li&gt;
&lt;li&gt;22:02 * Vhata is basically one large pelvic bone&lt;/li&gt;
&lt;li&gt;22:12 &amp;lt; wizzy&amp;gt; &lt;a href=&quot;http://twitter.com/wizzyct&quot;&gt;http://twitter.com/wizzyct&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;22:13 * wizzy is too much the noob to know if the hip people find out about
their followers&lt;/li&gt;
&lt;li&gt;22:13 &amp;lt; cocooncrash&amp;gt; Spinach: last tweet from wizzyct&lt;/li&gt;
&lt;li&gt;22:13 &amp;lt; Spinach&amp;gt; cocooncrash: &amp;quot;wizzy gets a 3 minute international
phone call from Kenneth Kaunda's grandson replying to
http://en.wikipedia.org/wiki/User_talk:Mkaund&amp;quot; 19 minutes and 11 seconds ago,
http://twitter.com/wizzyct/status/20163674522&lt;/li&gt;
&lt;li&gt;22:16 &amp;lt;&amp;amp;highvoltage&amp;gt; I just realised I don't know how to
favourite a tweet in twitter (identi.ca is easier like that)&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/My-first-tweet#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/My-first-tweet#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/537549</wfw:commentRss>
      </item>
    
  <item>
    <title>Centre for High performance computing in Cape Town</title>
    <link>http://blog.wizzy.com/post/Centre-for-High-performance-computing-in-Cape-Town</link>
    <guid isPermaLink="false">urn:md5:29ae9ab40df19b93ca488547b17a5a32</guid>
    <pubDate>Mon, 26 Jul 2010 16:49:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Blue Gene</category><category>Cape Town</category><category>Centre for High Performance Computing</category><category>CHPC</category><category>Computer architecture</category><category>E1350</category><category>Marine Remote Sensing Unit</category><category>Massively parallel processing</category><category>MERIS</category><category>MODIS</category><category>MRSU</category><category>Parallel processing</category><category>South Africa</category><category>University of Cape Town</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Africa_MODIS_sst_20100611.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Africa_MODIS_sst_20100611_t.jpg&quot; alt=&quot;Sea Surface temperature&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Sea Surface temperature, Jul 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last month I started a contracting job with the &lt;a href=&quot;http://www.afro-sea.org.za/&quot; hreflang=&quot;en&quot;&gt;Marine Remote Sensing Unit&lt;/a&gt; - a
collaboration between the &lt;a href=&quot;http://www.chpc.ac.za/&quot; hreflang=&quot;en&quot;&gt;Centre
for High Performance Computing&lt;/a&gt; (CHPC) and &lt;a href=&quot;http://www.uct.ac.za&quot; hreflang=&quot;en&quot;&gt;University of Cape Town&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;I have some history in parallel processing, mostly with &lt;a href=&quot;http://en.wikipedia.org/wiki/Inmos&quot; hreflang=&quot;en&quot;&gt;Inmos&lt;/a&gt;, a British
microelectronics company that built the &lt;a href=&quot;http://en.wikipedia.org/wiki/Transputer&quot; hreflang=&quot;en&quot;&gt;Transputer&lt;/a&gt;, a
ground-breaking microprocessor of the 1980s. I had been looking for an
opportunity to work at the CHPC for a while, and took the chance when an
opening arrived via the &lt;a href=&quot;http://wiki.clug.org.za/wiki/Clug-work_email_list&quot; hreflang=&quot;en&quot;&gt;clug-work
mailing list&lt;/a&gt; run by the &lt;a href=&quot;http://wiki.clug.org.za/wiki/Main_Page&quot; hreflang=&quot;en&quot;&gt;Cape Town Linux Users Group&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;What is the CHPC ?&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Sun_MRSU_Picture.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Sun_MRSU_Picture_s.jpg&quot; alt=&quot;Sun cluster at CHPC&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Sun cluster at CHPC, Jul 2010&quot; /&gt;&lt;/a&gt;Supercomputers these days consist of
racks of identically-configured &lt;a href=&quot;http://en.wikipedia.org/wiki/Blade_server&quot; hreflang=&quot;en&quot;&gt;Blades&lt;/a&gt; with a
fast network switch connecting them together. There is also a filesystem built
upon many hard drives, providing redundancy and speed, accessible over the
network.&lt;/p&gt;
&lt;p&gt;There are two clusters at the CHPC - an IBM e1350 Cluster, iQudu, consisting
of 160 compute nodes and 3 storage nodes connected to 94 Terabytes of storage.
There is also a Sun Microsystems cluster with 288 blades with 8 cores each and
200Terabytes of shared storage. &lt;a href=&quot;http://www.southafrica.info/about/science/sun-290909.htm&quot; hreflang=&quot;en&quot;&gt;This&lt;/a&gt; is an announcement of the commissioning of the Sun cluster, and
here is a &lt;a href=&quot;http://blogs.sun.com/marchamilton/entry/chpc_cape_town_compute_to&quot; hreflang=&quot;en&quot;&gt;blog post&lt;/a&gt; from a Sun engineer. There is also an older &lt;a href=&quot;http://en.wikipedia.org/wiki/Blue_Gene&quot; hreflang=&quot;en&quot;&gt;IBM Blue Gene&lt;/a&gt;
cluster, built of PowerPC ASICs.&lt;/p&gt;
&lt;p&gt;Both clusters run x86_64 Linux, so they appear very similar. There is a
certain expectation that you provide your own environment to run your
application - they provide development libraries and compilation tools.&lt;/p&gt;
&lt;p&gt;The Sun cluster is the more recent, and the one I am using. It uses &lt;a href=&quot;http://en.wikipedia.org/wiki/Lustre_%28file_system%29&quot; hreflang=&quot;en&quot;&gt;Lustre&lt;/a&gt; as a user filesystem. The nodes boot from Flash, and the core
operating system lives in 8Gig flash.&lt;/p&gt;
&lt;p&gt;It also has a read-only NFS mount for non-critical code - as some of the
8Gig Flash is used for logspace.&lt;/p&gt;
&lt;h2&gt;What is Marine Remote Sensing?&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Africa_MERIS_algal_1_20100516.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Africa_MERIS_algal_1_20100516_s.jpg&quot; alt=&quot;MERIS satelite scan&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;MERIS satelite scan, Jul 2010&quot; /&gt;&lt;/a&gt; Earth observation satellites travel a
polar orbit, with some synchronisation with the earth's spin. I think it
crosses the equator at the same time every day. We use, among others, data from
the Envisat satellite. There have been some recent news stories &lt;a href=&quot;http://www.treehugger.com/files/2010/07/massive-algae-bloom-spreading-across-baltic-sea.php&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.spacenews.com/civil/100723-envisat-orbital-debris-threat.html&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt;. The satellite images earth as it passes over, onto a
linear array of sensors tailored for different frequency bands. All data is
publicly available.&lt;/p&gt;
&lt;p&gt;We can get the &lt;a href=&quot;http://earth.esa.int/object/index.cfm?fobjectid=1379&amp;amp;id=10,141&quot; hreflang=&quot;en&quot;&gt;raw level 1 sensor data&lt;/a&gt;, in a dozen or so different spectral bands, or
ESA will crunch a few helpful numbers that will indicate algal bloom,
turbidity, sea surface temperature, vegetation etc. as in the first story
linked above.&lt;/p&gt;
&lt;p&gt;We currently use the 'pre-chewed' data (level 2), but MRSU would like to put
a few years worth of southern ocean data through some new algorithms, hence the
need for CHPC. A lot of the algorithms were written for northern waters, and
the Benguela current has its own idiosyncrasies that might benefit from a fresh
look.&lt;/p&gt;
&lt;p&gt;This is correlated with field measurements - a research ship that goes to
the areas of interest and samples the ocean for algae that produce the
chlorophyll signature visible from space. That allows the level 2 data
processing to more accurately reflect sea conditions.&lt;/p&gt;
&lt;h2&gt;Research at the CHPC&lt;/h2&gt;
&lt;p&gt;There is the &lt;a href=&quot;http://www.chpc.ac.za/research/labs/ace-lab.php&quot; hreflang=&quot;en&quot;&gt;Advanced Computing Engineering (ACE) Lab&lt;/a&gt; that looks at other
computing technologies, like GPGPU and &lt;a href=&quot;http://en.wikipedia.org/wiki/Field_programmable_gate_array&quot; hreflang=&quot;en&quot;&gt;field programmable gate array&lt;/a&gt; boards. It is staffed by graduates from
UCT.&lt;/p&gt;
&lt;h2&gt;How do you program a supercomputer ?&lt;/h2&gt;
&lt;p&gt;The first thing to check is to see if your problem is easily divisible into
a lot of self-contained chunks. Ours is - data for one day does not affect
other days except in God's scheme of things.&lt;/p&gt;
&lt;p&gt;Then the issue comes to be how you divide, and how you instruct them each to
run the same program over different data. One way is to have a lookup table
keyed by the hostname of the blade computer. Another way would be to have a
central allocator to farm out the work jobs to blades as they become free.&lt;/p&gt;
&lt;p&gt;There are other more sophisticated means. Matlab has long been a favourite
of the scientific community, and Matlab have a parallel licence that allows
commonly used matrix math on large datasets to be distributed over the
blades.&lt;/p&gt;
&lt;p&gt;I have been using python, and its &lt;a href=&quot;http://numpy.scipy.org/&quot; hreflang=&quot;en&quot;&gt;NumPy&lt;/a&gt; and &lt;a href=&quot;http://new.scipy.org/index.html&quot; hreflang=&quot;en&quot;&gt;SciPy&lt;/a&gt; modules. These are optimised for single processors by, for
instance, having core routines for Linear Algebra and Fourier Transforms
written in FORTRAN. SciPy has a huge toolbox - with sparse matrices, signal
processing, information theory. Python also has the &lt;a href=&quot;http://www.mcs.anl.gov/research/projects/mpi/&quot; hreflang=&quot;en&quot;&gt;MPI interface&lt;/a&gt;
- a standardised way across languages to distribute your code across a computer
cluster.&lt;/p&gt;
&lt;h2&gt;Update&lt;/h2&gt;
&lt;p&gt;Here is a &lt;a href=&quot;http://blog.wizzy.com/post/Using-the-Centre-for-High-Performance-Computing%2C-Cape-Town&quot;&gt;later
post&lt;/a&gt; on using the cluster.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Centre-for-High-performance-computing-in-Cape-Town#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Centre-for-High-performance-computing-in-Cape-Town#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/535013</wfw:commentRss>
      </item>
    
  <item>
    <title>Kiwix - enabling offline copies of wikimedia projects</title>
    <link>http://blog.wizzy.com/post/Kiwix-enabling-offline-copies-of-wikimedia-projects</link>
    <guid isPermaLink="false">urn:md5:aa8ccc7d63bf4518ba5c3b941a164974</guid>
    <pubDate>Tue, 27 Apr 2010 14:09:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>education</category><category>kiwix</category><category>offline</category><category>ubuntu</category><category>wikibooks</category><category>wikipedia</category>    
    <description>&lt;p&gt;Wikimedia projects, including the flagship English Wikipedia, have been
restricted in access to people with internet access. &lt;a href=&quot;http://blog.wizzy.com/post/www.kiwix.org&quot; hreflang=&quot;en&quot;&gt;kiwix&lt;/a&gt; is opening that up, via its offline reader.&lt;/p&gt;    &lt;p&gt;I have &lt;a href=&quot;http://blog.wizzy.com/post/Kiwix-install-at-Kwena-Malapo-school-Johannesberg&quot; hreflang=&quot;en&quot;&gt;blogged before&lt;/a&gt; about kiwix - this article is an effort to
tell other people how to do the same.&lt;/p&gt;
&lt;p&gt;Kiwix is a cross-platform reader of &lt;a href=&quot;http://openzim.org/Main_Page&quot; hreflang=&quot;en&quot;&gt;zim files&lt;/a&gt;. &lt;strong&gt;Zim&lt;/strong&gt; is an open, standardised file
format to store Wiki content efficiently for offline usage. It is compressed
(LZMA), with fast resolution of inter-article links. It is simple (one file),
and optimised to run on really small devices like phones.&lt;/p&gt;
&lt;h2&gt;Readers available&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Schools/Kiwix_0.9_alpha1_screenshot_en.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Schools/.Kiwix_0.9_alpha1_screenshot_en_m.jpg&quot; alt=&quot;Kiwix screenshot&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Kiwix screenshot, Apr 2010&quot; /&gt;&lt;/a&gt; There are two supported platforms for the
reader, Windows and Linux. These are graphical, client programs that appear
similar to a web browser - with a search box at the top of a display area.
These readers need a zim file to read - there is a standard File-&amp;gt;Open
dialog box available top-left to allow you to choose a zim file.&lt;/p&gt;
&lt;p&gt;On the first time you access a zim file, the reader will offer to index it,
allowing you to use the search bar. This can take quite a long time, but the
results are saved on disk and you do not need to do it again. On linux, these
are stored at &lt;strong&gt;~/.www.kiwix.org/kiwix&lt;/strong&gt; in case you are
interested. Both readers below can be downloaded from &lt;strong&gt;&lt;a href=&quot;http://sourceforge.net/projects/kiwix/files/&quot; hreflang=&quot;en&quot;&gt;http://sourceforge.net/projects/kiwix/files/&lt;/a&gt;&lt;/strong&gt; - which I refer
to as &lt;em&gt;Sourceforge&lt;/em&gt; below.&lt;/p&gt;
&lt;h2&gt;Windows&lt;/h2&gt;
&lt;p&gt;To install the Windows reader, you will need to download it from sourceforge
above - where you will find &lt;strong&gt;kiwix-0.9-alpha1-win.zip&lt;/strong&gt;. You need
to unzip that file under your &amp;quot;Program Files&amp;quot; directory, and create a launcher
for your desktop pointing to &amp;quot;&lt;em&gt;Program Files/kiwix/kiwix.exe&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;h2&gt;Linux&lt;/h2&gt;
&lt;p&gt;On sourceforge you will also find a deb for the very latest Ubuntu linux
10.04 (Lucid Lynx), called &lt;strong&gt;kiwix-0.9-alpha2.deb&lt;/strong&gt;. If you are
running 10.04, download this file and install it with&lt;/p&gt;
&lt;pre&gt;
sudo dpkg -i kiwix-0.9-alpha2.deb
&lt;/pre&gt;
&lt;p&gt;It will undoubtedly complain that some or all of &lt;strong&gt;libicu42,
libxapian15, xapian-tools, xulrunner-1.9, zlib1g, libbz2-1.0, liblzma1,
libmicrohttpd5&lt;/strong&gt; are missing. That is fixable by running this :-&lt;/p&gt;
&lt;pre&gt;
sudo aptitude install libicu42 libxapian15 xapian-tools xulrunner-1.9 zlib1g libbz2-1.0 liblzma1 libmicrohttpd5
&lt;/pre&gt;
&lt;p&gt;Which will take care of those dependencies, and finish installing kiwix for
you. All these packages are in the lucid repositories.&lt;/p&gt;
&lt;p&gt;If you are running something other than Ubuntu 10.04, you have slightly more
work ahead of you. I suggest that you download the source package,
&lt;strong&gt;kiwix-0.9-alpha2-src.tar.bz2&lt;/strong&gt;, and get the required development
packages for your distribution. You will need &lt;strong&gt;libxapian-dev&lt;/strong&gt;
(for search), &lt;strong&gt;libbz2-dev, libicu-dev, liblzma-dev, xulrunner-dev,
zlib1g-dev, libmicrohttpd-dev&lt;/strong&gt; in addition to the standard development
tools. If you build an RPM or other finished package, let me know and I will
get the files up on sourceforge if possible.&lt;/p&gt;
&lt;p&gt;The reader under linux is called kiwix, and you can use the File -&amp;gt; Open
menu to find a zim file to read. It appears in Applications under
Education.&lt;/p&gt;
&lt;h2&gt;Zim files&lt;/h2&gt;
&lt;p&gt;Finally, you will need a zim file as a target for your reader. Currently,
kiwix has these available at &lt;strong&gt;&lt;a href=&quot;http://tmp.kiwix.org/zim/0.9/&quot; hreflang=&quot;en&quot;&gt;http://tmp.kiwix.org/zim/0.9/&lt;/a&gt;&lt;/strong&gt; - no doubt they will
move to a more permanent place later.&lt;/p&gt;
&lt;p&gt;The files are &lt;strong&gt;big&lt;/strong&gt;. Available now (April 2010) is an
excellent collection of english articles, selected for school use and
painstakingly checked for vandalism (thanks &lt;a href=&quot;http://www2.potsdam.edu/walkerma/&quot; hreflang=&quot;en&quot;&gt;Martin Walker&lt;/a&gt;!!) as
&lt;strong&gt;wikipedia_en_wp1_0.7_30000+_05_2009_beta3.zim&lt;/strong&gt;. This is 30,000
articles from May 2009 and is a wonderful resource.&lt;/p&gt;
&lt;p&gt;There are other languages available, but they have not had the same scrutiny
as the English archive above. Since the associated wikipedias are smaller,
these are a snapshot of the &lt;strong&gt;entire&lt;/strong&gt; wikipedia - Arabic, Hebrew,
Italian and Persian.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.wikimedia.org/&quot; hreflang=&quot;en&quot;&gt;Wikimedia&lt;/a&gt; has other
project besides wikipedia - like &lt;a href=&quot;http://en.wikibooks.org/wiki/Main_Page&quot; hreflang=&quot;en&quot;&gt;wikibooks&lt;/a&gt;, &lt;a href=&quot;http://en.wikiversity.org/wiki/Wikiversity:Main_Page&quot; hreflang=&quot;en&quot;&gt;wikiversity&lt;/a&gt; and &lt;a href=&quot;http://www.wiktionary.org/&quot; hreflang=&quot;en&quot;&gt;wiktionary&lt;/a&gt; that all make excellent candidates for zim files.&lt;/p&gt;
&lt;h2&gt;Server&lt;/h2&gt;
&lt;p&gt;The linux installations have another mode - a webserver, serving the zim of
your choice up via http. That is how I set it up at Kwena Malapo school above.
It means that on a network at a school, only one installation is necessary, and
all other computers on the network can reach it as if from a website.&lt;/p&gt;
&lt;p&gt;First, you will need to build the index. I keep the zim files in /opt/kiwix
as they are so huge. I put the index files in the same directory, so to build
the index for /opt/kiwix/wikipedia_en_wp1_0.7_30000+_05_2009_beta3.zim I run
the following :-&lt;/p&gt;
&lt;pre&gt;
export ZIM=/opt/kiwix/wikipedia_en_wp1_0.7_30000+_05_2009_beta3.zim
kiwix-index $ZIM ${ZIM%zim}idx
&lt;/pre&gt;
&lt;p&gt;Then you can run the server as follows (please read ―― as double dash )
:-&lt;/p&gt;
&lt;pre&gt;
export ZIM=/opt/kiwix/wikipedia_en_wp1_0.7_30000+_05_2009_beta3.zim
kiwix-serve  ――index=${ZIM%zim}idx  ――port=8080  ――daemon $ZIM
&lt;/pre&gt;
&lt;p&gt;This instructs kiwix to serve the same English wikipedia with its index from
port 8080 on this computer. You can then access it as
http://192.168.0.254:8080/ - replace the IP address by the IP address of this
computer.&lt;/p&gt;
&lt;p&gt;Kiwix is open-source, and uses freely-available toolkits for compression,
search and rendering. The zim format is optimised for use on small devices with
low computing power, so you can expect to have a port onto your favourite
smartphone OS in the future. And, yes, it handles right-to-left Hebrew, and
arabic writing thanks to its xulrunner mozilla heritage.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Kiwix-enabling-offline-copies-of-wikimedia-projects#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Kiwix-enabling-offline-copies-of-wikimedia-projects#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/511629</wfw:commentRss>
      </item>
    
  <item>
    <title>Using Freeradius with Mikrotik wireless routers</title>
    <link>http://blog.wizzy.com/post/Using-Freeradius-with-Mikrotik-wireless-routers</link>
    <guid isPermaLink="false">urn:md5:ec24f83e6cc3308885a42ce5a844c9a1</guid>
    <pubDate>Sat, 03 Apr 2010 07:19:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Cape Town</category><category>dialupadmin</category><category>freeradius</category><category>hotspot</category><category>MAC authentication</category><category>Mikrotik</category><category>mysql</category><category>routeros</category><category>Ubuntu</category>    
    <description>&lt;p&gt;I inherited a wireless setup of three Mikrotik routers in the roof of a set
of office suites in Cape Town, South Africa. They were connected to an ADSL
router, but the owners problem was there was no accountability on usage.&lt;/p&gt;    &lt;h2&gt;Mikrotik&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://www.mikrotik.com/&quot; hreflang=&quot;en&quot;&gt;Mikrotik&lt;/a&gt; make a number
of Single-board computers, known as &amp;quot;Routerboard&amp;quot;s, and licence a proprietary
operating system called RouterOS for use on these boards.&lt;/p&gt;
&lt;p&gt;This was my first time to come across the Routerboards, and I like them. I
was asked in because Mikrotik specialists in Cape Town are hard to find, and
harder to schedule.&lt;/p&gt;
&lt;p&gt;I looked around for solutions to his problem, and decided on a Freeradius
installation on Ubuntu, backed up with a mysql database and
Freeradius-dialupadmin as a web front end for management. I found no good
documentation on a setup to handle my requirements, so I had to figure it out
as I went along, and now I am writing it up for anyone else. I did find a
&lt;a href=&quot;http://wiki.mikrotik.com/wiki/How_to_setup_up_RADIUS_for_use_with_MikroTik_-_By_Ramona&quot; hreflang=&quot;en&quot;&gt;useful article on a hotspot-style setup&lt;/a&gt; and &lt;a href=&quot;http://wiki.mikrotik.com/wiki/RouterOs_MySql_Freeradius&quot; hreflang=&quot;en&quot;&gt;another&lt;/a&gt; on the Mikrotik wiki, but nothing that used MAC
authentication.&lt;/p&gt;
&lt;p&gt;RouterOS will authenticate via RADIUS - Remote Authentication Dial In User
Service - and 3.x versions of RouterOS will do accounting via RADIUS.&lt;/p&gt;
&lt;p&gt;The existing setup used the (insecure) method of system identification via
MAC address. It has the advantage of not requiring users to remember passwords,
it just needs a list of the wireless MAC addresses.&lt;/p&gt;
&lt;h2&gt;RouterOS setup&lt;/h2&gt;
&lt;p&gt;Wireless clients need a number of things before they can use the Internet.
They need an address, a default route, and nameservers. This is traditionally
done via DHCP, and I saw no reason to change that. Even though the Mikrotik
boxes can run a 'hotspot' - where they allocate IP addresses locally and 'NAT'
the collective for the upstream routers, I decided there should be one DHCP
server serving all clients.To accomplish this I bridged the wireless and wired
interfaces on the Mikrotiks. The wired interface needs an IP address - I used
an RFC1918 Class C network for everything. I put the Ubuntu server at
172.16.1.254, and the Mikrotik access points at 172.16.1.{1,2,3}. All the
Mikrotiks need different IPs, and I also give them different names, &lt;strong&gt;so
obviously those below will change&lt;/strong&gt; between boxes. I had to upgrade two
of the Mikrotik boxes to 3.X software as the 2.X software does not do radius
accounting.&lt;/p&gt;
&lt;p&gt;Mikrotiks have a command hierarchy - and easy help. I am using the
&lt;em&gt;export&lt;/em&gt; verb at the appropriate command level to show my configuration.
I do not include default parameters, and I keep the long lines so they can be
copy-pasted.&lt;/p&gt;
&lt;h3&gt;Wired interface&lt;/h3&gt;
&lt;pre&gt;
/ip address
add interface=ether1 address=172.16.1.2/24
&lt;/pre&gt;
&lt;h3&gt;Wireless interface&lt;/h3&gt;
&lt;p&gt;The wireless network also needs setup. The interface name is wlan1, it
should not authenticate by default (we need it to ask RADIUS that), it must be
configured as an Access Point, and it needs an SSID that laptop users can
identify with.&lt;/p&gt;
&lt;pre&gt;
/interface wireless
set 0 name=wlan1 country=&amp;quot;south africa&amp;quot; default-authentication=no default-forwarding=no  mode=ap-bridge security-profile=default ssid=TokaiSuites2 radio-name=tokaisuites2
&lt;/pre&gt;
&lt;p&gt;Bridge the interfaces :-&lt;/p&gt;
&lt;pre&gt;
/ interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
&lt;/pre&gt;
&lt;h3&gt;Radius&lt;/h3&gt;
&lt;p&gt;We must instruct the wireless interface to use radius authentication and
accounting, and we must tell it where to find the radius server (the IP address
below). The Radius server and clients (the Mikrotik boxes) need a common
secret, used to hash information in either direction. I enabled the incoming
radius port, meaning that the radius server can contact the client as well.
Normally the client initiates all exchanges.&lt;/p&gt;
&lt;pre&gt;
/interface wireless security-profiles
set default name=default radius-mac-accounting=yes radius-mac-authentication=yes
/radius
add service=wireless address=172.16.1.254  secret=whiteroad 
/radius incoming
set accept=yes port=1700
&lt;/pre&gt;
&lt;p&gt;Now we have 3 wireless access points, requesting authentication from a
Radius server, allowing authenticated clients to make DHCP requests from their
common wired interface, and passing accounting packets back to the same Radius
server.&lt;/p&gt;
&lt;h2&gt;Radius server&lt;/h2&gt;
&lt;p&gt;I installed Ubuntu 9.10 with freeradius, freeradius-mysql,
freeradius-dialupadmin, mysql, phpmyadmin and dhcp (out of repositories). I
install phpmyadmin with mysql - it is an excellent database administrator. I
will not cover DHCP here - suffice it to say that it is a standard setup, with
'range' set to 172.16.1.20-172.16.1.250.&lt;/p&gt;
&lt;p&gt;The main radius configuration file is
&lt;code&gt;/etc/freeradius/radiusd.conf&lt;/code&gt; - the only change needed here is to
ensure that it includes &lt;code&gt;sql.conf&lt;/code&gt; - by default that line is
commented out.&lt;/p&gt;
&lt;pre&gt;
$INCLUDE sql.conf
&lt;/pre&gt;
&lt;p&gt;In &lt;code&gt;sql.conf&lt;/code&gt;, set the database type to mysql, and set a custom
mysql password for the radius user.&lt;/p&gt;
&lt;pre&gt;
sql {
       database = &amp;quot;mysql&amp;quot;
       driver = &amp;quot;rlm_sql_${database}&amp;quot;
       server = &amp;quot;localhost&amp;quot;
       login = &amp;quot;radius&amp;quot;
       password = &amp;quot;whiteroad&amp;quot;
       ....
}
&lt;/pre&gt;
&lt;p&gt;Ubuntu has apache-style configuration directories
&lt;code&gt;/etc/freeradius/sites-available&lt;/code&gt; and
&lt;code&gt;/etc/freeradius/sites-enabled&lt;/code&gt;, and on installation two 'sites' are
enabled, &lt;em&gt;default&lt;/em&gt; and &lt;em&gt;inner-tunnel&lt;/em&gt;. Keep it that way, and edit
only &lt;code&gt;/etc/freeradius/sites-available/default&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Mikrotik routers when using MAC radius authentication present the MAC
address as the username with an empty password. We wish the MAC address to be
looked up from the database. In &lt;code&gt;/etc/freeradius/sites-available&lt;/code&gt;,
uncomment &amp;quot;sql&amp;quot; in the &amp;quot;authorize&amp;quot; section, and comment out &amp;quot;pap&amp;quot; in the same
section.&lt;/p&gt;
&lt;h2&gt;MySQL&lt;/h2&gt;
&lt;p&gt;We must now create all the necessary tables in mysql for radius to use. I am
assuming mysql has been installed expressly for this purpose - if you are using
mysql for other things you will know which instructions below to avoid. mysql
on ubuntu comes with no root password in installation, we must create one, and
that 'radius' database.&lt;/p&gt;
&lt;pre&gt;
mysql -u root
mysql&amp;gt; SET PASSWORD FOR 'root'@'localhost' = PASSWORD('wizzypassword');
mysql&amp;gt; CREATE DATABASE radius;
mysql&amp;gt; quit;
&lt;/pre&gt;
&lt;p&gt;From here we can use the scripts provided in
&lt;code&gt;/etc/freeradius/sql/mysql&lt;/code&gt;. Edit admin.sql in that directory to set
a custom password - for this discussion I will use &lt;em&gt;wizzyradius&lt;/em&gt;.&lt;/p&gt;
&lt;pre&gt;
mysql -u root -p &amp;lt; /etc/freeradius/sql/mysql/admin.sql
&lt;/pre&gt;
&lt;p&gt;At the prompt, use the mysql root password above -
&lt;em&gt;wizzypassword&lt;/em&gt;.&lt;/p&gt;
&lt;pre&gt;
mysql -uradius -p radius &amp;lt; schema.sql
mysql -uradius -p radius &amp;lt; nas.sql
&lt;/pre&gt;
&lt;p&gt;At the prompt, use the radius user password above - &lt;em&gt;wizzyradius&lt;/em&gt;.
this sets up all the radius tables, and the optional nas table.&lt;/p&gt;
&lt;p&gt;Now to add in a user for testing. It is easiest to use phpmyadmin, but I
will do it from the command line here.&lt;/p&gt;
&lt;pre&gt;
mysql -uradius -p radius
mysql&amp;gt; insert into radcheck (UserName, Attribute, op, Value ) values ( &amp;quot;00:11:22:33:44:55&amp;quot;, &amp;quot;User-Password&amp;quot;, &amp;quot;==&amp;quot;, &amp;quot;&amp;quot;);
mysql&amp;gt; insert into usergroup ( UserName, GroupName) values ( &amp;quot;00:11:22:33:44:55&amp;quot;, &amp;quot;wireless&amp;quot;);
mysql&amp;gt; insert into userinfo (UserName , Name) values ( &amp;quot;00:11:22:33:44:55&amp;quot;, &amp;quot;Test User&amp;quot;);
mysql&amp;gt; quit;
&lt;/pre&gt;
&lt;p&gt;With radius running, we can now test authentication with radius :-&lt;/p&gt;
&lt;pre&gt;
echo &amp;quot;User-Name = '00:11:22:33:44:55',password=''&amp;quot; | /usr/bin/radclient 127.0.0.1 auth whiteroad
&lt;/pre&gt;
&lt;p&gt;We are looking for a response code 2. To debug any steps with radius, stop
radius, and start it with debugging.&lt;/p&gt;
&lt;pre&gt;
/etc/init.d/freeradius stop
freeradius -X
&lt;/pre&gt;
&lt;p&gt;If this works as above, you should be ready to test with the Mikrotiks.&lt;/p&gt;
&lt;p&gt;Finally, let us throw freeradius-dialupadmin into the mix, to make things
easier on the administration front. If you installed it above, apache would
also have been installed. Symlink its configuration file into apache, like so
:-&lt;/p&gt;
&lt;pre&gt;
ln -s  /etc/freeradius-dialupadmin/apache2.conf /etc/apache2/conf.d/freeradius-dialupadmin.conf
&lt;/pre&gt;
&lt;p&gt;and take a look at its configuration files in
&lt;code&gt;/etc/freeradius-dialupadmin/&lt;/code&gt;. The main one is
&lt;code&gt;admin.conf&lt;/code&gt;. Just showing all the changes I made below, not all the
variables in the file. I also commented out all references to ldap.&lt;/p&gt;
&lt;pre&gt;
general_domain: whiteroad.local
general_finger_type:
general_radius_server_secret: whiteroad
#INCLUDE: /etc/freeradius-dialupadmin/naslist.conf
# I keep the naslist in mysql
sql_server: 127.0.0.1
sql_username: radius
sql_password: whiteroad
sql_usergroup_table: radusergroup
sql_password_attribute: Cleartext-Password
general_test_account_login: 00:11:22:33:44:55
general_test_account_password:
&lt;/pre&gt;
&lt;p&gt;Now, from &lt;code&gt;http://172.16.1.254/freeradius-dialupadmin/&lt;/code&gt; you
should see the administration page, and in particular the user we added
earlier. There are some useful cron scripts at
&lt;code&gt;/usr/share/freeradius-dialupadmin/bin/freeradius-dialupadmin.cron&lt;/code&gt;
that I also installed to run as user radius.&lt;/p&gt;
&lt;p&gt;If you need Mikrotik help in Cape Town, feel free to contact me.&lt;/p&gt;
&lt;p&gt;If you see errors or anything that is unclear in my writeup here, please let
me know in the comments, and I will fix it.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Using-Freeradius-with-Mikrotik-wireless-routers#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Using-Freeradius-with-Mikrotik-wireless-routers#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/504674</wfw:commentRss>
      </item>
    
  <item>
    <title>Zimbabwe sanctions</title>
    <link>http://blog.wizzy.com/post/Zimbabwe-sanctions</link>
    <guid isPermaLink="false">urn:md5:b1a7b94c5d0f098d27c851b96f6df6f9</guid>
    <pubDate>Fri, 05 Mar 2010 09:19:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Politics</category>
        <category>2007 Kenya presidential elections</category><category>Africa</category><category>Governance</category><category>Jacob Zuma</category><category>Kenya</category><category>MDC</category><category>Morgan Tsvangirai</category><category>Movement for Democratic Change</category><category>Robert Mugabe</category><category>South Africa</category><category>Zanu PF</category><category>ZanuPF</category><category>Zimbabwe</category><category>Zuma</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Zimbabwe/Flag_of_Zimbabwe.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zimbabwe/.Flag_of_Zimbabwe_t.jpg&quot; alt=&quot;Flag_of_Zimbabwe.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Flag_of_Zimbabwe.jpg, Apr 2008&quot; /&gt;&lt;/a&gt; I was invited to participate in BBC
World Service '&lt;a href=&quot;http://newsforums.bbc.co.uk/nol/thread.jspa?forumID=7536&amp;amp;edition=2&amp;amp;ttl=20100305071435&quot; hreflang=&quot;en&quot;&gt;Africa have your say&lt;/a&gt;' call-in programme to discuss Zuma's
request to Gordon Brown that sanctions be lifted. I was given 30 seconds very
near the end of the programme, and I handled it poorly. This post is to make up
for it :)&lt;/p&gt;    &lt;h2&gt;Africa have your say&lt;/h2&gt;
&lt;p&gt;I have &lt;a href=&quot;http://blog.wizzy.com/post/Zimbabwe-2008-election&quot; hreflang=&quot;en&quot;&gt;blogged&lt;/a&gt;
about &lt;a href=&quot;http://blog.wizzy.com/post/Zimbabwean-Home-Affairs-food-security&quot; hreflang=&quot;en&quot;&gt;Zimbabwe&lt;/a&gt; here &lt;a href=&quot;http://blog.wizzy.com/post/Rock-Paper-Scissors&quot; hreflang=&quot;en&quot;&gt;before&lt;/a&gt;. The BBC programme was prompted by Jacob Zuma's official visit
to the UK, and his request for the &lt;a href=&quot;http://cachef.ft.com/cms/s/0/3cf39cd0-2165-11df-830e-00144feab49a.html?nclick_check=1&quot; hreflang=&quot;en&quot;&gt;lifting of Zimbabwe's sanctions&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Gordon Brown &lt;a href=&quot;http://www.mg.co.za/article/2010-03-05-coming-home-bearing-gifts&quot; hreflang=&quot;en&quot;&gt;said&lt;/a&gt; Britain's stance would be reconsidered only if the Zimbabwean
commissions for human rights, press freedom and free and fair elections were
allowed to operate unhindered.&lt;/p&gt;
&lt;p&gt;My initial comment was that lifting sanctions now, when so little has been
achieved in the year-old unity government, would send the message that ZanuPF
can carry on as usual after token changes and regional (SADC) pressure.&lt;/p&gt;
&lt;h2&gt;Unity governments&lt;/h2&gt;
&lt;p&gt;I have previously talked about what I call the '&lt;a href=&quot;http://blog.wizzy.com/post/2007-Kenya-Election&quot;&gt;Kenyan disease&lt;/a&gt;' - the experiment by the African
Union to fix an irretrievably flawed election by a Unity government composed of
the major parties. After this was &lt;a href=&quot;http://blog.wizzy.com/post/Zimbabwe-2008-election&quot; hreflang=&quot;en&quot;&gt;tried again&lt;/a&gt; in Zimbabwe, I think it can be said that the
experiment is a failure.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Didymus_Mutasa&quot; hreflang=&quot;en&quot;&gt;Didymus
Mutasa&lt;/a&gt; was at the BBC studio to answer callers and present the government
line (lift sanctions. There were other invited callers to the BBC programme, in
particular &lt;a href=&quot;http://odettejohnrobertson.blogspot.com/2009/06/from-john-robertson.html&quot; hreflang=&quot;en&quot;&gt;John Robertson&lt;/a&gt;, a Zimbabwean economist I have read for a few
year. His single point was that Zanu-PF have reduced the size of the economy by
destroying its largest industry, agriculture, and that Zimbabwe can no longer
pay their way in the world. He says that the sanctions call is a ploy by
Zanu-PF to blame Zimbabwe's economic woes on their traditional bete noir - the
West, in particular Britain and the US.&lt;/p&gt;
&lt;p&gt;Near the end of the programme I was added in, and asked - &amp;quot;if sanctions
don't work, what should be done?&amp;quot; I fluffed the answer, as I had little time
and was not expecting the question.&lt;/p&gt;
&lt;h2&gt;SADC&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/Zuma3.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.Zuma3_s.jpg&quot; alt=&quot;Zuma visit to Buckingham Palace&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Zuma visit to Buckingham Palace, Mar 2010&quot; /&gt;&lt;/a&gt; Sanctions have been in place
for two years or more, and have not brought about the hoped-for changes, so,
indeed, what should be done? After a little thought, I believe the answer must
lie with the &lt;a href=&quot;http://en.wikipedia.org/wiki/Southern_African_Development_Community&quot; hreflang=&quot;en&quot;&gt;SADC&lt;/a&gt; - an inter-governmental organization of 15 southern African
states. The most powerful country, by far, among these is South Africa, with
president Jacob Zuma - the very person asking for the sanctions to be
lifted.&lt;/p&gt;
&lt;p&gt;Zuma has been lauded as a listening president. However, at some point, a
president must make a decision, inevitably disappointing one of the parties. He
and the SADC must acknowledge the limitations of the Unity government they
foisted on Zimbabwe after the failure of the &lt;a href=&quot;http://blog.wizzy.com/post/Zimbabwe-2008-election&quot; hreflang=&quot;en&quot;&gt;2008 presidential elections&lt;/a&gt;,
and recognise the ploy exposed by John Robertson.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zimbabwe/250px-Flag_of_the_Movement_for_Democratic_Change.svg.png&quot; alt=&quot;250px-Flag_of_the_Movement_for_Democratic_Change.svg.png&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;250px-Flag_of_the_Movement_for_Democratic_Change.svg.png, Apr 2008&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Zanu-PF intransigence&lt;/h2&gt;
&lt;p&gt;Zanu-PF must be called to book. The MDC's call for equitable power sharing
must be recognised. There is little more press freedom than a year ago -
despite agreements. The same can be said for freedom of association. The
arrangement was for government post to be shared equally. After the
uncomfortable Unity government agreement, Zanu-PF sliced the pie. The MDC said
at the time - if the pie is sliced equally, we can take either half, right?
Zanu-PF scoffed at that - they knew which half they wanted.&lt;/p&gt;
&lt;p&gt;These are all SADC problems.&lt;/p&gt;
&lt;p&gt;Read the Guardian for &lt;a href=&quot;http://www.guardian.co.uk/commentisfree/2010/mar/03/jacob-zuma-zimbabwe-sanctions&quot; hreflang=&quot;en&quot;&gt;another point of view&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Zimbabwe-sanctions#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Zimbabwe-sanctions#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/492861</wfw:commentRss>
      </item>
    
  <item>
    <title>Kiwix install at Kwena Malapo school Johannesberg</title>
    <link>http://blog.wizzy.com/post/Kiwix-install-at-Kwena-Malapo-school-Johannesberg</link>
    <guid isPermaLink="false">urn:md5:41f93e63e5ce5bae16fde7f5c54b8242</guid>
    <pubDate>Mon, 01 Mar 2010 12:47:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Africa</category><category>Education</category><category>internet</category><category>Johannesberg</category><category>kiwix</category><category>Rotary Foundation</category><category>Sandton</category><category>South Africa</category><category>Wikipedia</category>    
    <description>&lt;p&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Schools/.Kwena2_t.jpg&quot; alt=&quot;Kwena Computer lab&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Kwena Computer lab, Mar 2010&quot; /&gt;
Kiwix, an offline wikipedia selection, is installed at Kwena Malapo school.&lt;/p&gt;    &lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Schools/Kwena1.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Schools/.Kwena1_s.jpg&quot; alt=&quot;Kwena Malapo school&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Kwena Malapo school, Mar 2010&quot; /&gt;&lt;/a&gt; I have &lt;a href=&quot;http://blog.wizzy.com/post/Offline-copies-of-wikipedia&quot;&gt;blogged&lt;/a&gt; before about creating offline
copies of wikipedia for use in school computer labs that do not have internet
access.&lt;/p&gt;
&lt;p&gt;Wikimedia, the umbrella organisation behind wikipedia and other related
projects, is also keenly interested in offline uses of wikipedia. From November
through January, the &lt;a href=&quot;http://strategy.wikimedia.org/wiki/Task_force/Offline&quot; hreflang=&quot;en&quot;&gt;offline
taskforce&lt;/a&gt; had a series of IRC meetings where we attempted to answer
questions relating to the use of these offline copies. We came up with &lt;a href=&quot;http://strategy.wikimedia.org/wiki/Task_force/Recommendations/Offline&quot; hreflang=&quot;en&quot;&gt;four recommendations&lt;/a&gt;, one of which addressed schools, and
another cellphones.&lt;/p&gt;
&lt;p&gt;In conjunction with this effort, Emmanuel Engelhart made progress and could
deliver me both a compressed zim database of 30000 articles (2.4 Gigabytes,
including pictures) and the software, called &lt;a href=&quot;http://www.kiwix.org/index.php/Main_Page&quot; hreflang=&quot;en&quot;&gt;kiwix&lt;/a&gt; that could
read and deliver this database served by http - the standard web protocol.&lt;/p&gt;
&lt;p&gt;There is another tool, kiwix-index, that will read this large zim database
and create an index. If this index is supplied to kiwix-serve then a floating
javascript search box appears, and the whole article collection can be
searched.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Schools/Kwena2.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Schools/.Kwena2_s.jpg&quot; alt=&quot;Kwena Computer lab&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Kwena Computer lab, Mar 2010&quot; /&gt;&lt;/a&gt;
I was asked by Mark Batchelor of the &lt;a href=&quot;http://www.sandtonrotary.co.za/&quot; hreflang=&quot;en&quot;&gt;Sandton Rotary club&lt;/a&gt; to help him with the computer lab they
installed at Kwena Malapo secondary school. This school, with principal Michael
Maligana, has 800 students and operates out of simple prefab buildings close to
Lanseria airport in Johannesberg. The computer lab is a converted shipping
container. A new door had been put in, with four windows and roof ventilation.
A network of donated computers running Windows XP and Microsoft Office had been
installed.&lt;/p&gt;
&lt;p&gt;My proposal to Mark was to install kiwix as a 'poor mans internet' - an rich
information resource navigable via a browser, with hot-linked words that drill
down to more articles. We all recognise this as Internet, but the principles of
the information age could now be brought to a school that has no internet
connectivity.&lt;/p&gt;
&lt;p&gt;Ricardo, Mark's Windows technician, and myself travelled out to the remote
farm school on a saturday, and met Michael Maligana. I commandeered one of the
computers, installed Ubuntu Linux, kiwix-serve and its software dependencies,
the huge zim database and its associated index for search. We networked all the
computers, and set the browser home page on each to the kiwix front page.&lt;/p&gt;
&lt;p&gt;After some networking and power hassles and four hours in the hot
environment we finally got it all working. Kwena had 30000 wikipedia articles
selected especially for a school environment, and was one step closer to the
information age.&lt;/p&gt;
&lt;h3&gt;Update:&lt;/h3&gt;
&lt;p&gt;I wrote a blog post describing how to &lt;a href=&quot;http://blog.wizzy.com/post/Kiwix-enabling-offline-copies-of-wikimedia-projects&quot; hreflang=&quot;en&quot;&gt;get
the software and install it&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Kiwix-install-at-Kwena-Malapo-school-Johannesberg#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Kiwix-install-at-Kwena-Malapo-school-Johannesberg#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/490812</wfw:commentRss>
      </item>
    
  <item>
    <title>Jacob Zuma: president of South Africa</title>
    <link>http://blog.wizzy.com/post/Jacob-Zuma-president-of-South-Africa</link>
    <guid isPermaLink="false">urn:md5:5023a7226a05537b611fdb15de757417</guid>
    <pubDate>Wed, 03 Feb 2010 17:00:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Politics</category>
        <category>ANC</category><category>Jacob Zuma</category><category>South Africa</category><category>Zulu</category><category>Zulu culture</category><category>Zuma</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Zulu/zuma2.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zulu/.zuma2_t.jpg&quot; alt=&quot;Zuma Wedding&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Zuma Wedding, Jan 2008&quot; /&gt;&lt;/a&gt; Jacob Zuma has made no meaningful stamp on the
history of South Africa.&lt;/p&gt;    &lt;p&gt;I have &lt;a href=&quot;http://blog.wizzy.com/post/2007/11/29/Zuma-for-President&quot; hreflang=&quot;en&quot;&gt;blogged&lt;/a&gt; about &lt;a href=&quot;http://blog.wizzy.com/post/Eye-of-the-Needle&quot; hreflang=&quot;en&quot;&gt;Jacob
Zuma&lt;/a&gt;'s rise to &lt;a href=&quot;http://blog.wizzy.com/post/Leadership-in-Africa&quot; hreflang=&quot;en&quot;&gt;power&lt;/a&gt;
in the &lt;a href=&quot;http://blog.wizzy.com/post/Aftermath-of-Polokwane&quot; hreflang=&quot;en&quot;&gt;ANC&lt;/a&gt; before.&lt;/p&gt;
&lt;p&gt;I am reminded of Winnie Mandela's response when asked for comment about
Thabo Mbeki's re-election bid in 1999 - she said he &amp;quot;deserved another chance&amp;quot;.
I am sorry - &amp;quot;deserve&amp;quot; is a strange modern word like &amp;quot;it's not fair!&amp;quot; -
creation of a concept that did not exist 100 years ago. When running for
election the more important concept is what the electorate &amp;quot;deserves&amp;quot;, not the
incumbent running for re-election.&lt;/p&gt;
&lt;p&gt;I have tried hard to justify Zuma's election to the highest office in South
Africa - his struggle credentials, his common touch (in contrast to his
predecessor), his stance regarding Robert Mugabe to the north. Even his proud
Zulu ancestry.&lt;/p&gt;
&lt;p&gt;I have also &lt;a href=&quot;http://blog.wizzy.com/post/Climate-change-and-personal-responsibility&quot; hreflang=&quot;en&quot;&gt;blogged&lt;/a&gt; before about the Zulu culture of polygamy - Zuma is
now dubbed &amp;quot;Africa's most famous polygamist&amp;quot;. But his latest child, the result
of an affair with the daughter of a good friend &lt;a href=&quot;http://en.wikipedia.org/wiki/Irvin_Khoza&quot; hreflang=&quot;en&quot;&gt;Irvin Khoza&lt;/a&gt; (six
years his junior) means that I have lost the faith.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Zulu/jacobzuma_narrowweb__300x462_0.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zulu/.jacobzuma_narrowweb__300x462_0_s.jpg&quot; alt=&quot;Jacob Zuma dance&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Jacob Zuma dance, Feb 2010&quot; /&gt;&lt;/a&gt; Where do we start ? I pick his notoriety as
a father - I see nothing else of substance that he has done as president.
During the ANC succession debates, Thabo Mbeki warned against the cult of
personality - and reminded his comrades how hard the ANC as an organisation had
tried to avoid that. Zuma has become that personality.&lt;/p&gt;
&lt;p&gt;Let us count the children. On his official site, &lt;a href=&quot;http://www.thepresidency.gov.za/main.asp?include=president/profile.htm&quot; hreflang=&quot;en&quot;&gt;www.thepresidency.gov.za&lt;/a&gt; he is listed as having 19 children.
That page was written before the latest revelations, so I will up that to 20.
&lt;a href=&quot;http://en.wikipedia.org/wiki/Jacob_Zuma#Personal_life&quot; hreflang=&quot;en&quot;&gt;By all accounts&lt;/a&gt;, he has no children by his first wife, four by his
second, five by his third, two by his fourth, two by his fifth, and two now by
other women. We are still short by five.&lt;/p&gt;
&lt;p&gt;As Nomboniso Gasa &lt;a href=&quot;http://www.sowetan.co.za/News/Article.aspx?id=1110282&quot; hreflang=&quot;en&quot;&gt;writes&lt;/a&gt; in the Sowetan, we expect someone who holds public office,
whose salary we pay, whose children are educated at state expense, to be held
to a higher standard than the common man.&lt;/p&gt;
&lt;p&gt;He admitted to another extra-marital affair, unprotected sex, in December
2005, also with the daughter of a struggle comrade - AIDS-positive to boot. He
was cleared of rape charges, with the encounter deemed consensual. Much was
made in the media of a shower he took afterwards, supposedly to minimise his
AIDS risk.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zulu/jz.jpg&quot; alt=&quot;JZ T-shirt&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;JZ T-shirt, Dec 2007&quot; /&gt; After that
trial he admitted that he had erred by not using a condom with an HIV-positive
partner. Just four years later, we note that again he did not use a condom in
an extra-marital affair. In December 2009 on World AIDS day he exhorted
&amp;quot;&lt;em&gt;But that does not mean that we should be irresponsible in our sexual
practices. It does not mean that people do not have to practice safer sex. It
does not mean that people should not use condoms consistently and correctly
during every sexual encounter.&lt;/em&gt;&amp;quot; This two months after his latest child was
born to Sonono Khoza.&lt;/p&gt;
&lt;p&gt;As Patricia de Lille said, Zuma is asking people &amp;quot;&lt;em&gt;to do as I say and not
as I do&lt;/em&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;In the course of my work with computers in South Africa, I get to see many
different township schools. There are excellent schools, and others less so.
The common denominator I have found is the principal - the fount of discipline
at the school. A clean, tidy, motivated school environment invariably indicates
the same of the principal.&lt;/p&gt;
&lt;p&gt;South Africans need a president to be proud of, a president to emulate. They
&amp;quot;deserve&amp;quot; better than Jacob Zuma.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Jacob-Zuma-president-of-South-Africa#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Jacob-Zuma-president-of-South-Africa#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/481451</wfw:commentRss>
      </item>
    
  <item>
    <title>Jazz in Cape Town</title>
    <link>http://blog.wizzy.com/post/Jazz-in-Cape-Town</link>
    <guid isPermaLink="false">urn:md5:e910b8f8116bdde0e6b679d07e1ee256</guid>
    <pubDate>Sat, 02 Jan 2010 18:16:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Buddy Wells</category><category>Cape Town</category><category>Jazz</category><category>Ottery</category><category>Pilanos</category><category>Swingers</category><category>Tutu Puoane</category><category>Winston Mankunku</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Jazz/p1010577.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Jazz/.p1010577_t.jpg&quot; alt=&quot;p1010577.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;p1010577.jpg, Jan 2010&quot; /&gt;&lt;/a&gt; Cape Town boasts a wide variety of Jazz, with
the calendar centred around the &lt;a href=&quot;http://www.capetownjazzfest.com/&quot; hreflang=&quot;en&quot;&gt;Cape Town Jazz Festival&lt;/a&gt;, on the 3rd and 4th April this
year.&lt;/p&gt;    &lt;p&gt;My introduction was via Monday Night Jam sessions at &lt;a href=&quot;http://whatsonsa.co.za/portal/index.php/articles/swingers-jazz-club-jam-every-monday.html&quot; hreflang=&quot;en&quot;&gt;Swingers&lt;/a&gt;, which I found in late 2006. (Others have blogged
about &lt;a href=&quot;http://johnedwinmason.typepad.com/john_edwin_mason_photogra/2009/08/jazz-in-africa-cape-town-part-5-the-swingers-jam-session.html&quot; hreflang=&quot;en&quot;&gt;Swingers&lt;/a&gt; as well). Swingers can be found at 1 Wetwyn Road,
Ottery - such a short road that you cannot miss it. GPS location :- &lt;a href=&quot;http://maps.google.com/maps?ssp=addf&amp;amp;mpnum=9&amp;amp;vps=6&amp;amp;jsv=196c&amp;amp;sll=37.0625,-95.677068&amp;amp;sspn=39.644047,82.96875&amp;amp;num=10&amp;amp;iwstate1=ssaddfeatureinstructioncard&amp;amp;iwloc=SS&amp;amp;ll=37.0625,-95.677068&quot; hreflang=&quot;en&quot;&gt;34.000936S,18.503765E&lt;/a&gt; as it seems I cannot add Swingers to
Google Maps. In 2006 it was a cramped but busy venue, the brainchild of Kevin
Harris, that had been running since about 1985. He expanded 2007, to vastly
larger premises at the same address, and it even has a &lt;a href=&quot;http://www.facebook.com/group.php?gid=40273982678&quot; hreflang=&quot;en&quot;&gt;facebook
group&lt;/a&gt; where you can find even more photos than the links above. My pictures
are from the old location.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Jazz/p1010549.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Jazz/.p1010549_s.jpg&quot; alt=&quot;p1010549.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;p1010549.jpg, Jan 2010&quot; /&gt;&lt;/a&gt; On Monday nights entrance is free for the Jam
session. There is a large kitchen there too, and if you book ahead
(recommended) they will reserve you a table. The House band kicks off about
9:30PM, but the real action starts later - I tell visitors that you will miss
the best of the Jazz if you leave before midnight. So - stay late!&lt;/p&gt;
&lt;p&gt;Another (more accessible) jazz venue is Pilano's, in Kalk Bay. &lt;a href=&quot;http://maps.google.com/maps?ssp=addf&amp;amp;mpnum=9&amp;amp;vps=6&amp;amp;jsv=196c&amp;amp;sll=37.0625,-95.677068&amp;amp;sspn=39.644047,82.96875&amp;amp;num=10&amp;amp;iwstate1=ssaddfeatureinstructioncard&amp;amp;iwloc=SS&amp;amp;ll=37.0625,-95.677068&quot; hreflang=&quot;en&quot;&gt;GPS 34.129493S, 18.448582E&lt;/a&gt;. This is a stunning venue with big
picture windows looking over the sea at Kalk Bay harbour. On Sunday they have a
Jazz night, also with no cover charge. A friend &lt;a href=&quot;http://www.music.org.za/artist.asp?id=112&quot; hreflang=&quot;en&quot;&gt;Buddy Wells&lt;/a&gt;
usually plays here, a noted Jazz saxophonist who studied under &lt;a href=&quot;http://en.wikipedia.org/wiki/Winston_Mankunku&quot; hreflang=&quot;en&quot;&gt;Winston
Mankunku&lt;/a&gt; and I have also seen him play at Swingers. He also plays tonight
with Tutu - below.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Jazz/p1010546.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Jazz/.p1010546_s.jpg&quot; alt=&quot;p1010546.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;p1010546.jpg, Jan 2010&quot; /&gt;&lt;/a&gt; Swingers hots up considerably in the weeks
surrounding the Cape Town Jazz festival, as visiting performers make their
pilgrimage to Kevin's venue.&lt;/p&gt;
&lt;p&gt;I went to a tribute performance for Winston Mankunku just before he passed
away in 2009, and I went to his memorial in Gugulethu after his death. This
week I went to see &lt;a href=&quot;http://www.tutupuoane.info/&quot; hreflang=&quot;en&quot;&gt;Tutu
Puoane&lt;/a&gt; - another South African Jazz singer now living in Belgium - perform
at &lt;a href=&quot;http://www.oudelibertas.co.za/&quot; hreflang=&quot;en&quot;&gt;Oude Libertas&lt;/a&gt;
-just another beautiful Amphitheatre in Stellenbosch - tonight she performs at
the Cape Town International Convention Centre.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Jazz-in-Cape-Town#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Jazz-in-Cape-Town#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/472153</wfw:commentRss>
      </item>
    
  <item>
    <title>Climate change and personal responsibility</title>
    <link>http://blog.wizzy.com/post/Climate-change-and-personal-responsibility</link>
    <guid isPermaLink="false">urn:md5:89572e652f3e49fa353a4451d56fff35</guid>
    <pubDate>Fri, 04 Dec 2009 16:23:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Climate Change</category><category>Copenhagen</category><category>Earth Summit</category><category>Education</category><category>Kyoto</category><category>Mzimela</category><category>Vegetarian</category><category>Virtual water</category><category>Zulu</category><category>Zululand</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/kejserpingviner.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/.kejserpingviner_t.jpg&quot; alt=&quot;kejserpingviner.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;kejserpingviner.jpg, Dec 2009&quot; /&gt;&lt;/a&gt; The &lt;a href=&quot;http://en.cop15.dk/&quot; hreflang=&quot;en&quot;&gt;Copenhagen Climate Change&lt;/a&gt; conference opens next week. It is
the 15th major meeting since the start at the &lt;a href=&quot;http://en.wikipedia.org/wiki/Earth_Summit&quot; hreflang=&quot;en&quot;&gt;Earth Summit&lt;/a&gt; in
1992 in Rio de Janeiro. Along the way we had the &lt;a href=&quot;http://en.wikipedia.org/wiki/Kyoto_Protocol&quot; hreflang=&quot;en&quot;&gt;Kyoto Protocol&lt;/a&gt;
in 1997 and an attempt to extend the Kyoto Protocol at the Earth Summit in
Montreal in 2005.&lt;/p&gt;    &lt;h2&gt;Copenhagen&lt;/h2&gt;
&lt;p&gt;Very few of the meetings around the &lt;a href=&quot;http://en.wikipedia.org/wiki/United_Nations_Framework_Convention_on_Climate_Change&quot; hreflang=&quot;en&quot;&gt;United Nations Framework Convention on Climate Change&lt;/a&gt; have
produced any tangible results - but next week's conference in Copenhagen is
shaping up to be a bruiser.&lt;/p&gt;
&lt;p&gt;Undoubtedly the protesters will be there in force, throwing stones from
their glass houses, pretending it is someone else's fault. Which it is, because
we all need to bear the burden.&lt;/p&gt;
&lt;h2&gt;Virtual water&lt;/h2&gt;
&lt;p&gt;I like this one. Let us travel a few thousand kilometres north, to Windhoek,
Namibia, and imagine ourselves at a braai on a summers evening. Pleasant
thoughts. There is a beef steak sizzling on the grill, a sun setting, some
locally-made lager on ice in the fridge and one in the hand.&lt;/p&gt;
&lt;p&gt;Where did that steak come from ? How much water did it take to produce ?&lt;/p&gt;
&lt;p&gt;This is the essence of &lt;em&gt;virtual&lt;/em&gt;, or &lt;em&gt;embedded&lt;/em&gt;, water.
&lt;a href=&quot;http://en.wikipedia.org/wiki/Virtual_water&quot; hreflang=&quot;en&quot;&gt;Calculations&lt;/a&gt; have been made that say my 1kg steak has 15,500 litres of
water in it - the water the cow drank, and the water the grass needed that the
cow grazed during its lifetime. By contrast, the 1kg mealies (corn) on the same
braai used maybe 1,300 litres of water - a tenfold decrease.&lt;/p&gt;
&lt;p&gt;Vegetarians consume a lot less of the world's resources.&lt;/p&gt;
&lt;p&gt;Namibia is a dry country. What water there is goes principally to
agriculture and uranium mining (a major consumer). The Uranium industry is
building two de-salination plants, but those in turn are heavily dependent on
South African electricity.&lt;/p&gt;
&lt;p&gt;So importing a cow for my braai 'imports' 7 million litres of water. Not
bad.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.worldmapper.org/images/smallpng/104.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Worldmapper&lt;/h2&gt;
&lt;p&gt;Another of my favourites. &lt;a href=&quot;http://www.worldmapper.org/index.html&quot; hreflang=&quot;en&quot;&gt;Worldmapper&lt;/a&gt; is a site that draws a map of the world,
area-distorted by any number of metrics, from &lt;em&gt;Underweight Children&lt;/em&gt; to
&lt;em&gt;Life Expectancy&lt;/em&gt; to &lt;em&gt;Books Borrowed&lt;/em&gt;. Check this one on &lt;a href=&quot;http://www.worldmapper.org/display.php?selected=104&quot; hreflang=&quot;en&quot;&gt;Water
Use&lt;/a&gt; for example. And have a good rummage around the other maps while you
are at it.&lt;/p&gt;
&lt;h2&gt;Eat the dog ?&lt;/h2&gt;
&lt;p&gt;The New Scientist had an &lt;a href=&quot;http://www.newscientist.com/article/mg20427313.200-cute-fluffy-and-horribly-greedy.html&quot; hreflang=&quot;en&quot;&gt;interesting opinion piece&lt;/a&gt; discussing a new book, called
&lt;em&gt;Time to Eat the Dog?&lt;/em&gt;, where they say that a medium-sized dog has about
twice the global footprint of driving a Toyota Land Cruiser, and has a larger
eco-print than the average citizen of Vietnam. A cat will stare down Volkswagen
Golf.&lt;/p&gt;
&lt;h2&gt;Children&lt;/h2&gt;
&lt;p&gt;One of my favourite places in South Africa is Zululand, and the king's
country around Eshowe. I have known a Zulu, Walter Cele there - for ten years.
He has four wives and twenty children. Some of them live in the idyllic spot
where he lives, but most have moved on to occupy the sprawling shanty-towns
surrounding the big cities in South Africa, like Soweto, south-west of
Johannesburg. Walter's comment is that his old wives get tiresome, and the new,
younger one is less trouble. I am sure that is the case, and she wants children
too.&lt;/p&gt;
&lt;p&gt;I went to a wedding of Nkosi Mzimela, a prominent Zulu chief who lives on
the border of the Ongoye Forest. He is &lt;a href=&quot;http://www.polity.org.za/article/mzimela-annual-conference-of-pan-african-anthropological-association-10082005-2005-08-10-1&quot; hreflang=&quot;en&quot;&gt;Chairperson of the National House of Traditional Leaders&lt;/a&gt;. He
was marrying his sixth wife that day. His other five wives all graced the top
table. We were invited also to the wedding feast (paid for by Pick &amp;amp; Pay, a
prominent supermarket chain, in return for his endorsement). We were seated at
a table with six other zulu girls - very demure and well-dressed. It turned out
these were his 'girlfriends' - they each had two children already, and two had
lobola paid already.&lt;/p&gt;
&lt;p&gt;Why should the ordinary Zulu man listen to messages like 'be faithful' and
'one partner' in the face of role models like Nkosi Mzimela ? Single-handedly
the chief negates millions of Rands of AIDS advertising and messages.&lt;/p&gt;
&lt;p&gt;Lets face it - the human race is primarily responsible for climate
change.&lt;/p&gt;
&lt;p&gt;I leave you with another worldmapper picture - &lt;em&gt;Illiterate Young
Women&lt;/em&gt;. It is rarely their fault, but population growth will not be checked
without addressing this one. &lt;img src=&quot;http://www.worldmapper.org/images/smallpng/197.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Climate-change-and-personal-responsibility#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Climate-change-and-personal-responsibility#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/464811</wfw:commentRss>
      </item>
    
  <item>
    <title>Ukweshwama - Zulu bull-killing ritual</title>
    <link>http://blog.wizzy.com/post/Ukweshwama-Zulu-bull-killing-ritual</link>
    <guid isPermaLink="false">urn:md5:0d4cd1e5b07145da7c70192369e4c841</guid>
    <pubDate>Wed, 25 Nov 2009 13:00:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Zululand</category>
        <category>Africa</category><category>Bull killing</category><category>First Fruits ceremony</category><category>Ukweshwama</category><category>Zulu</category><category>Zulu culture</category><category>Zululand</category><category>Zwelithini</category>    
    <description>&lt;p&gt;Zulu King Goodwill Zwelithini has a number of ceremonies conducted at his
palace in Nongoma, his only traditionally-built palace.&lt;/p&gt;    &lt;h2&gt;Zulu ceremonies&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Goodwill_Zwelithini_kaBhekuzulu&quot; hreflang=&quot;en&quot;&gt;Zwelithini&lt;/a&gt;, the sixth zulu king since Shaka and his brothers
carved out a piece of South Africa for themselves in the mid-1800's, is the
first one to have to deal with the modern media and concepts like Human
Rights.&lt;/p&gt;
&lt;p&gt;He has a &lt;a href=&quot;http://www.iol.co.za/index.php?art_id=vn20091123041851821C371194&quot; hreflang=&quot;en&quot;&gt;bull-killing ritual&lt;/a&gt;, scheduled this year for December 5. He is being
&lt;a href=&quot;http://www.news24.com/Content/SouthAfrica/News/1059/bc428a5441624f75a2eb43792e303fef/&quot; hreflang=&quot;en&quot;&gt;taken to court&lt;/a&gt; over the perceived cruelty to the animal
concerned.&lt;/p&gt;
&lt;p&gt;I witnessed the ceremony on 2007, and can categorically say I saw nothing
like what the ASA accuses :- &lt;em&gt;men pulling out the bull's tongue, stuffing
sand in its mouth or trying to tie its penis in a knot&lt;/em&gt;. Good grief.&lt;/p&gt;
&lt;p&gt;I visited the ceremony with, among others, an activist who was gathering
information for just such a court attempt. I spoke to him about it at that
time.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Zulu/p126pic01.jpg&quot; alt=&quot;p126pic01.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;p126pic01.jpg, Nov 2009&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;The ritual&lt;/h2&gt;
&lt;p&gt;The Zulu kraal is a sacred place. It is the place where the cows are kept at
night - both for safety and as a means to collect their dung for use as
fertiliser or building materials. Women are not allowed in the Kraal, except
for a sangoma during any ceremony. A deceased family leader is often buried in
the kraal.&lt;/p&gt;
&lt;p&gt;The Zulu king has a number of palaces scattered around Zululand, but his
palace at Nongoma is his only traditional palace, built as a larger version of
the traditional Zulu homestead. The kraal is huge, traditionally fenced with a
thick, woody fence of living trees. Inside at the top end (all kraals are built
on a slope) there is a small hut used in ceremonies by the sangoma.&lt;/p&gt;
&lt;h2&gt;Boys become men&lt;/h2&gt;
&lt;p&gt;Zulus do not have a circumcision ceremony, like the Xhosas, but they do have
a coming of age ceremony. We saw about 15 young men come from the small hut
with the Sangoma - white painted on their faces, and wearing traditional
costume. They were greeted by the king, but were obviously shit-scared.&lt;/p&gt;
&lt;h2&gt;Picking of the bull&lt;/h2&gt;
&lt;p&gt;Loudspeakers informed us that cameras were not allowed. Everyone checked the
few white people there.&lt;/p&gt;
&lt;p&gt;First, the king viewed over the bulls (technically a &lt;em&gt;steer&lt;/em&gt; - a
castrated male - but I am going to use bull here) in the kraal. He picked one
out, and now it was the job of the herdsmen to single it out to remain in the
kraal. The bull pretty soon figured out that all was not well - as they circled
the kraal other bulls were let out, but not him. He stuck like glue to a small
knot of other bulls, but was eventually separated from them.&lt;/p&gt;
&lt;p&gt;He was quite big. He was angry. He pawed the ground. The &lt;em&gt;laaities&lt;/em&gt;
(Afrikaans for boys) assembled uncertainly. They rushed the bull, but didn't
bother him. He rushed them - they ran. Some more back and forth. Then the bull
hooked one of the boys and tossed him. The others rescued their comrade, but
then the bull had figured out how to get out of the kraal - and did so.&lt;/p&gt;
&lt;p&gt;Round 1 - to the bull.&lt;/p&gt;
&lt;h2&gt;Round 2&lt;/h2&gt;
&lt;p&gt;Obviously things could not remain like this, but the laaities were excused
from the task - they were obviously not up to it. The bull was found again, and
after half an hour was back in the kraal - tired now. They are not used to
exercise. The other zulu men - older, much more numerous - came in to the
kraal. The bull was no match for their number. Someone did the right thing -
lifted a back leg, and tripped the animal. They sat on the beast - fifty people
? You could not see the bull. They twisted the neck until it broke.The bull was
dead.&lt;/p&gt;
&lt;p&gt;My activist friend had a stopwatch - he said the bull took 20 minutes to
die.&lt;/p&gt;
&lt;h2&gt;My conclusion&lt;/h2&gt;
&lt;p&gt;A bull suffered for 20 minutes. A group of zulu boys was traumatised for
life. OK - I exaggerate - but one of them at least will never forget the moment
he was tossed by a bull as the king looked on. Let them have their ritual.
Postscript: You might also like to read &lt;a href=&quot;http://www.timeslive.co.za/opinion/columnists/article145297.ece&quot; hreflang=&quot;en&quot;&gt;this opinion piece&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Update: The court says the ceremony &lt;a href=&quot;http://www.mg.co.za/article/2009-12-04-bullkilling-can-go-ahead-says-court&quot; hreflang=&quot;en&quot;&gt;can go ahead&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Ukweshwama-Zulu-bull-killing-ritual#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Ukweshwama-Zulu-bull-killing-ritual#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/462300</wfw:commentRss>
      </item>
    
  <item>
    <title>Offline copies of wikipedia</title>
    <link>http://blog.wizzy.com/post/Offline-copies-of-wikipedia</link>
    <guid isPermaLink="false">urn:md5:60cad55b79bed6ff7b7608cd8a9b982a</guid>
    <pubDate>Wed, 25 Nov 2009 09:23:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>africa</category><category>Education</category><category>Inkululeko</category><category>internet</category><category>kiwix</category><category>OLPC</category><category>South Africa</category><category>Wikipedia</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mediawiki/489px-Wikipedia-logo-en.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mediawiki/.489px-Wikipedia-logo-en_t.jpg&quot; alt=&quot;489px-Wikipedia-logo-en.png&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;489px-Wikipedia-logo-en.png, Nov 2009&quot; /&gt;&lt;/a&gt; I have been involved for a
number of years with Hilton Theunissen and the Shuttleworth Foundation and
their efforts to bring computers to township schools. A part of that software
suite was an offline copy of wikipedia.&lt;/p&gt;    &lt;h2&gt;Early attempts&lt;/h2&gt;
&lt;p&gt;I have &lt;a href=&quot;http://blog.wizzy.com/post/mediawiki-psa&quot; hreflang=&quot;en&quot;&gt;blogged before&lt;/a&gt; about
my own project &lt;a href=&quot;http://blog.wizzy.com/post/Habeni-Primary&quot; hreflang=&quot;en&quot;&gt;Wizzy Digital
Courier&lt;/a&gt; putting Thin Client labs down in South African classrooms. That
also included a copy of the english language wikipedia.&lt;/p&gt;
&lt;p&gt;Initially in 2003 I took the whole of the then-existing English wikipedia,
installed a copy of the mediawiki software in conjunction with mysql and apache
as database and webserver respectively. The whole thing was around 18 Gigabytes
- quite a handful.&lt;/p&gt;
&lt;p&gt;It worked well, but I had various complaints on the unsuitability of the
material - it was a single snapshot, and had not (could not) be proofread, so
it had vandalism, and quite explicit articles around sex. Oops. But - it had
search, it had a vast amount of useful information on all manner of
subjects.&lt;/p&gt;
&lt;p&gt;Very soon the English wikipedia bloomed to hundreds of Gigabytes, making it
completely unmanageable in terms of size. I couldn't download it, and I
couldn't proof it. What to do ?&lt;/p&gt;
&lt;h2&gt;Wikipedia Version 1.0&lt;/h2&gt;
&lt;p&gt;Wikipedia has its own community of people, and among them I connected with
&lt;a href=&quot;http://schools-wikipedia.org/&quot; hreflang=&quot;en&quot;&gt;Andrew Cates&lt;/a&gt;, of the
SOS Children website, who came up with a selection of articles (1000 or so) as
an HTML dump that he and some others painstakingly proof-read for suitability
as a children's educational resource. (He has a larger article collection now).
&lt;a href=&quot;http://jonathancarter.co.za/&quot; hreflang=&quot;en&quot;&gt;Jonathan Carter&lt;/a&gt; helped
package this for the tuXlab installs for the Shuttleworth Foundation.&lt;/p&gt;
&lt;p&gt;There is a lot of work to do preparing such a collection.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Which articles should be selected ?&lt;/li&gt;
&lt;li&gt;all the article text in the HTML dump must be stripped of links to articles
&lt;em&gt;not&lt;/em&gt; in the dump&lt;/li&gt;
&lt;li&gt;it must be proof-read&lt;/li&gt;
&lt;li&gt;associated pictures must be incorporated&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mediawiki/Screenshot.png&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mediawiki/.Screenshot_m.jpg&quot; alt=&quot;Screenshot.png&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Screenshot.png, Nov 2009&quot; /&gt;&lt;/a&gt;
Other people became involved, in particular Martin Walker from the State
University of New York at Potsdam. Systems were put in place to help on article
selection. A project was started - the &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:Version_1.0_Editorial_Team&quot; hreflang=&quot;en&quot;&gt;Wikipedia Version 1.0 Editorial Team&lt;/a&gt;. Articles were &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:Version_1.0_Editorial_Team/Assessment&quot; hreflang=&quot;en&quot;&gt;assessed&lt;/a&gt; - both for quality (from Featured Article down to
Stub) and for importance (from Top to None). These assessments are placed on
the article Talk page, and a robot goes through them all on a regular basis and
collects the results on project pages like &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:Version_1.0_Editorial_Team/Index&quot; hreflang=&quot;en&quot;&gt;this&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:Version_1.0_Editorial_Team/Africa_articles_by_quality&quot; hreflang=&quot;en&quot;&gt;this&lt;/a&gt; - conveniently doing all the heavy lifting to present
sortable tables of the state of all the articles.&lt;/p&gt;
&lt;p&gt;Thus you can find Top Importance articles of poor quality, and can highlight
that page for improvement. You can cherry-pick Featured Articles to add to the
collection. These tools made the article selection process far more
manageable.&lt;/p&gt;
&lt;p&gt;Offline wikipedia was &lt;a href=&quot;http://strategy.wikimedia.org/wiki/Task_force/Offline_Task_Force&quot; hreflang=&quot;en&quot;&gt;identified as a priority&lt;/a&gt; by the wikimedia foundation.&lt;/p&gt;
&lt;p&gt;I assisted in the post-processing by writing a script that would search all
the chosen articles for &lt;a href=&quot;http://en.wikipedia.org/wiki/User:Lupin/badwords&quot; hreflang=&quot;en&quot;&gt;'bad
words'&lt;/a&gt; - an indication that the article has been vandalised - and then a
cleanup crew has to go through these to check and possibly remove material.&lt;/p&gt;
&lt;p&gt;Now to package all this conveniently. A French company called &lt;a href=&quot;http://www.linterweb.fr/&quot; hreflang=&quot;fr&quot;&gt;Linterweb&lt;/a&gt; came up with &lt;a href=&quot;http://www.okawix.com/&quot; hreflang=&quot;en&quot;&gt;Okawix&lt;/a&gt; - all these articles and
pictures packaged in a file, with a cross-platform reader to navigate the
collection. Why do we need a reader ? To implement search.&lt;/p&gt;
&lt;h2&gt;Search&lt;/h2&gt;
&lt;p&gt;For many of the places we put an offline wikipedia down, it became the
'Internet' for the children in the classroom. They had no net connection, but
the principles of self-paced learning, hyperlinks for tangential information,
and other net paradigms made it the 'killer app' of their little school. For
Internet, you need search. For a wikipedia collection of a few thousand
articles, you need search. Search needs a computer - you cannot put search on a
CD or DVD or USB stick.&lt;/p&gt;
&lt;p&gt;For a standalone computer, a Reader is needed to perform this function. From
a basic HTML dump, navigated with a browser, Javascript can be pressed into
service, but I have found it inadequate. In the tuXlab Thin client labs, a
small network of old computers is networked to a powerful server - and I want
the wikipedia collection to be browsed via HTTP, and the search to be performed
server-side.&lt;/p&gt;
&lt;h2&gt;Categories&lt;/h2&gt;
&lt;p&gt;A related problem is how to organise all these thousands of articles. They
are mushed together in a big web of information, but where is the structure ?
Wikipedia proper has categories - useful for grouping similar articles, but the
arbitrariness of the invented categories means that it has been a problem
incorporating them into the static dump. Martin battled for days to make a
river in Poland appear 'automatically' and conveniently under a Poland
heirarchy.&lt;/p&gt;
&lt;h2&gt;Metadata&lt;/h2&gt;
&lt;p&gt;In computer jargon, this is called &lt;em&gt;metadata&lt;/em&gt;. It is structure beyond
the mere linking of articles. There is other metadata - like the
&lt;em&gt;Importance&lt;/em&gt; assessment scale. We need to extract all that metadata and
place it alongside the article tree so it can be used for indexes.&lt;/p&gt;
&lt;p&gt;On the 24th November we had an IRC meeting - an online chat between all
interested parties spread around the world. Much of this was discussed - and
one thing became clear - the Wikimedia foundation needs to concentrate more on
the process of generating a release, rather than the end product like Okawix.
That means tools to work with the Metadata, tools to package the pictures and
article references in such a way they can be optional. Perhaps targeted article
collections, like Mathematics, Chemistry, Africa, Oceans. Let other
organisations do the work of packaging and marketing.&lt;/p&gt;
&lt;p&gt;To allow computers to do the work - we need good metadata. Assess articles.
Rugby articles are not Top importance, except in the context of sport.&lt;/p&gt;
&lt;p&gt;I think the article collection should consist of a number of different
pieces, to be incorporated as necessary.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The text of the selected articles&lt;/li&gt;
&lt;li&gt;Pictures for those articles&lt;/li&gt;
&lt;li&gt;metadata to support this collection&lt;/li&gt;
&lt;li&gt;a text search index, like one created by &lt;a href=&quot;https://help.ubuntu.com/community/Namazu&quot; hreflang=&quot;en&quot;&gt;namazu&lt;/a&gt;, for those
tools that can use it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Future efforts&lt;/h2&gt;
&lt;p&gt;Though a lot of effort on offline wikipedia collections is targeted at
schools, and Third World, there are other target markets. One we have not
really addressed yet is the cellphone as a wikipedia platform. A cellphone
implies connectivity, but these days it is becoming a universal platform - a
camera, a music player, a gaming box, GPS. Personally, I would like a text-only
wikipedia collection of lots of articles, but only the &lt;em&gt;lede&lt;/em&gt; paragraph
- the first section of a wikipedia page that introduces the subject. It is a
song by Black-eyed Peas. It is a river in Poland. That way, I can carry all of
this on my phone without paying airtime.&lt;/p&gt;
&lt;h3&gt;Cellphones&lt;/h3&gt;
&lt;p&gt;Cellphones have huge penetration in the Third World. I tell tourists I take
to the townships that South Africans spend their money on cellphones and hair.
Maybe we should concentrate there, as much as schools ?&lt;/p&gt;
&lt;h2&gt;Update:&lt;/h2&gt;
&lt;p&gt;Okawix offline reader &lt;a href=&quot;http://blog.wikiwix.com/en/2009/12/07/okawix-et-openzim/&quot; hreflang=&quot;en&quot;&gt;standardises on OpenZIM&lt;/a&gt; data format.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Offline-copies-of-wikipedia#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Offline-copies-of-wikipedia#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/462239</wfw:commentRss>
      </item>
    
  <item>
    <title>What is a racist?</title>
    <link>http://blog.wizzy.com/post/What-is-a-racist</link>
    <guid isPermaLink="false">urn:md5:db4e736d639e00e54d3a02cc9cde7b69</guid>
    <pubDate>Mon, 23 Nov 2009 14:57:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>ANC</category><category>Malema</category><category>Racist</category><category>South Africa</category><category>Zulu</category>    
    <description>&lt;p&gt;Living in South Africa, this is a much-overused term, derogatory, harking
back to the Apartheid era. In my opinion, it indicates a strange paucity of the
English language in a very necessary area.&lt;/p&gt;    &lt;p&gt;Let me start with a lot of my own opinions of words I have used in Africa,
starting at primary school in Kenya.&lt;/p&gt;
&lt;h2&gt;kali&lt;/h2&gt;
&lt;p&gt;Aged 6, a critical, central word in our vocabulary was &lt;em&gt;kali&lt;/em&gt;, l
loanword from kiSwahili, that (like most swahili words) had broad, multiple
meanings. It could mean &lt;em&gt;sharp&lt;/em&gt;, like a knife, &lt;em&gt;hot&lt;/em&gt;, like
pepper, or &lt;em&gt;quick to temper&lt;/em&gt; for an authority figure like a teacher. The
very first thing to know about a teacher was &lt;em&gt;kali&lt;/em&gt; or not - could you
mess around in class. The &lt;em&gt;kali&lt;/em&gt; ones would hit you.&lt;/p&gt;
&lt;p&gt;After I moved to the UK, I found that this word had disappeared. Maybe this
was not surprising, as it was a swahili word, but what was surprising to me was
the concept had also disappeared - there was no equivalent word. And - teachers
had changed - there were no &lt;em&gt;kali&lt;/em&gt; teachers. Maybe I had just grown
up.&lt;/p&gt;
&lt;h2&gt;Sympa&lt;/h2&gt;
&lt;p&gt;Staying in France one summer, my French improved a lot, and I discovered the
word &lt;a href=&quot;http://french.about.com/od/vocabulary/g/sympa.htm&quot; hreflang=&quot;en&quot;&gt;''sympa''&lt;/a&gt; - which can roughly be translated as &lt;em&gt;nice&lt;/em&gt;, or
&lt;em&gt;sympathetic&lt;/em&gt;, but is much more accessible than that in French. It means
you like the person, and they have time to listen, empathise, support. There is
no English word that catches the french meaning.&lt;/p&gt;
&lt;h2&gt;Afrikaans&lt;/h2&gt;
&lt;p&gt;Since living in South Africa, I have also gained an appreciation for
Afrikaans - a rough and ready working language like kiSwahili, with a lot of
humour and expressiveness. I often come across Afrikaners with good english
skills that are momentarily at a loss to translate some Afrikaans word into
English. I don't think it is their fault - I can easily believe that English
does not have that word.&lt;/p&gt;
&lt;h2&gt;Racial differences&lt;/h2&gt;
&lt;p&gt;Let us move on to words for people of a different race. We inevitably dip
our toes into racist waters - but lets be robust about this - we need words for
this. The Zulus have a word for a white person - Umlungu. Various people will
tell you that this is derogatory, and comes from white scum of the sea, or
something. But if I am walking down a road in Zululand, a child will point and
say &lt;em&gt;Umlungu&lt;/em&gt;! She simply has no other word to use to point out this
unusual thing. I am Umlungu. I wear it with pride. I do not see it as a
derogatory term.&lt;/p&gt;
&lt;h3&gt;USA&lt;/h3&gt;
&lt;p&gt;America has battled with this one - around black people. We are over
&lt;em&gt;nigger&lt;/em&gt; - a word white people cannot now use in any context. It is
still a legitimate word for blacks talking about other blacks, where the racist
angle is gone, and they just want to be derogatory - &lt;em&gt;black trash&lt;/em&gt;.
America has settled on &lt;em&gt;African-American&lt;/em&gt;, and &lt;em&gt;Black&lt;/em&gt;, as
non-derogatory monikers.&lt;/p&gt;
&lt;h4&gt;South Africa&lt;/h4&gt;
&lt;p&gt;South Africa has its own 'N' word - &lt;em&gt;kaffir&lt;/em&gt; - unusable in polite
company by anyone. We are not quite comfortable with &lt;em&gt;Black&lt;/em&gt; - it still
sounds a bit dodgy, but it is slowly shedding those connotations. Not quicky
enough though - a newspaper report will not report a &lt;em&gt;black&lt;/em&gt; motorist -
they are just a motorist. Zulu, or Xhosa - works great - but you do not always
know their racial background - a Tswana would not be happy being called a Zulu,
like a Kiwi doesn't like being mistaken for an Aussie.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/me001205.gif&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.me001205_m.jpg&quot; alt=&quot;me001206.gif&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;me001205.gif, Nov 2009&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/me001206.gif&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.me001206_m.jpg&quot; alt=&quot;me001206.gif&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;me001206.gif, Nov 2009&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blog.wizzy.com/public/South_Africa/me001208.gif&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/South_Africa/.me001208_m.jpg&quot; alt=&quot;me001208.gif&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;me001208.gif, Nov 2009&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Racist&lt;/h2&gt;
&lt;p&gt;The stage is set. Lights are on. I need a word that says I treat black
people different to white people. Because I do. I try not to, in ordinary
circumstances, but plain common sense says I do. Black people treat white
people differently - because we &lt;em&gt;are&lt;/em&gt; different. The girl says
&lt;em&gt;Umlungu!!&lt;/em&gt; - you can't pretend to a six year old that I am just like
all the other people on the road. I have better clothes, I am not carrying
things, I don't live or work there. I am different.&lt;/p&gt;
&lt;p&gt;There are black people like me - if they walked the same road they would
also get attention.&lt;/p&gt;
&lt;p&gt;Stop the presses. Andy is a racist.&lt;/p&gt;
&lt;h3&gt;Star dictionaries&lt;/h3&gt;
&lt;p&gt;There is no other word in English that comes remotely close. Consider the
english word-space as a collection of stars in the sky - bright stars, dim
stars, empty areas. Afrikaans has a different set of stars - there is a big,
fat, bright one that says &lt;strong&gt;LEKKER&lt;/strong&gt; - a very accessible word that
means tasty, nice, good, we are agreed, and a million other things. Swahili has
fewer, but brighter, stars. In English there is a bright star that says
&lt;strong&gt;RACIST&lt;/strong&gt;. It is surrounded by a completely empty area of sky.
There are no other stars even close - this one seems to have sucked all the
light out of the immediate neighbourhood.&lt;/p&gt;
&lt;p&gt;My South African friends don't like to hear that. &amp;quot;No, Andy - you're not a
racist!&amp;quot; Yes, I have black friends, and No, I am not what they mean by racist.
I just cannot find a good word for what I am - and that word screams at me.&lt;/p&gt;
&lt;h3&gt;Malema&lt;/h3&gt;
&lt;p&gt;The word is being bandied about a lot these days - lets pick South Africas
favourite whipping boy, Julius Malema. He &lt;a href=&quot;http://www.mg.co.za/article/2009-05-01-malema-helen-zille-a-racist-little-girl&quot; hreflang=&quot;en&quot;&gt;accuses&lt;/a&gt; Helen Zille of being racist, he has &lt;a href=&quot;http://www.thestar.co.za/index.php?fArticleId=5239830&quot; hreflang=&quot;en&quot;&gt;accused&lt;/a&gt; the DA of being racist, he has &lt;a href=&quot;http://www.timeslive.co.za/sundaytimes/article203843.ece&quot; hreflang=&quot;en&quot;&gt;accused&lt;/a&gt; Jeremy Cronin of the SACP of being racist (despite Cronin's
impeccable communist credentials in South Africa). In turn, the Young Communist
League &lt;a href=&quot;http://news.za.msn.com/article.aspx?cp-documentid=151015440&quot; hreflang=&quot;en&quot;&gt;accuses&lt;/a&gt; Malema of racism for his attack on Cronin. Don't we
have any other words ? It is all so depressing - I don't think we do. When all
you have is a hammer, everything looks like a nail.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/What-is-a-racist#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/What-is-a-racist#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/461809</wfw:commentRss>
      </item>
    
  <item>
    <title>Gugulethu taxis</title>
    <link>http://blog.wizzy.com/post/Gugulethu-taxis</link>
    <guid isPermaLink="false">urn:md5:ca7e80bcca3e8b4abb2f173f6aa562f7</guid>
    <pubDate>Sun, 01 Nov 2009 13:46:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Cape Town</category><category>Cressida</category><category>Gugulethu</category><category>Mzolis</category><category>South Africa</category><category>Township</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Rida19411.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Rida19411_t.jpg&quot; alt=&quot;Rida19411.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Klipfontein Rd, outside Mzolis. Cellphone mast down the road, three taxis visible.&quot; /&gt;&lt;/a&gt;
Toyota Cressidas are nursed into longevity serving as taxis in Gugulethu
township, Cape Town.&lt;/p&gt;    &lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Rida22.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Rida22_s.jpg&quot; alt=&quot;Rida22.jpg&quot; style=&quot;float:left; margin: 0 1em 1em 0;&quot; title=&quot;Toyota Cressida&quot; /&gt;&lt;/a&gt; I have blogged about &lt;a href=&quot;http://blog.wizzy.com/post/MzolisMeat&quot; hreflang=&quot;en&quot;&gt;Mzoli's Meat&lt;/a&gt; before. We went there yesterday for a birthday
celebration for Lerato, and this time I made an effort to photo the ubiquitous
Gugulethu taxis. In the township proper, it seems that every other car is an
aging Toyota Cressida - recognisable by the square rear lights and the grille
badge in front.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Rida11.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Rida11_s.jpg&quot; alt=&quot;Rida11.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Ridhaa and I&quot; /&gt;&lt;/a&gt; Invariably the Cressida is being used as a taxi - its
grille badge is synonymous with the yellow taxi top light of conventional
taxis. Some are in a poor state of repair, probably because of years of
continual use in the townships, but most are well looked after as the owners
breadwinner.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Rida18.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Rida18_s.jpg&quot; alt=&quot;Rida18.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Street outside Mzolis on a Saturday&quot; /&gt;&lt;/a&gt; There is no taxi licensing that I
can see. Taxis in Cape Town proper have recently gone through a '&lt;a href=&quot;http://www.arrivealive.co.za/pages.aspx?i=2407&quot; hreflang=&quot;en&quot;&gt;recapitalisation&lt;/a&gt;' scheme - an exercise to take the (registered) toyota
minibus taxis off the road, and replace them with larger, safer taxis.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Redi21.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Redi21_s.jpg&quot; alt=&quot;Redi21.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Township bottle store&quot; /&gt;&lt;/a&gt; Mzolis was busy as usual on a weekend - we had a
party of ten or so. Beer you can buy at the bottle store down the road - meat
is bought, braaied, and delivered in a big tin tray for all to eat.&lt;/p&gt;
&lt;h2&gt;Winston Mankunku&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.wizzy.com/public/Mzolis/Winston1.jpg&quot;&gt;&lt;img src=&quot;http://blog.wizzy.com/public/Mzolis/.Winston1_s.jpg&quot; alt=&quot;Winston1.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; title=&quot;Concert for Winston Mankunku&quot; /&gt;&lt;/a&gt;
Last week I was also in Gugs, with Trevor Wells, at a tribute concert for
&lt;a href=&quot;http://en.wikipedia.org/wiki/Winston_Ngozi_Mankunku&quot; hreflang=&quot;en&quot;&gt;Winston Ngozi Mankunku&lt;/a&gt;, a well-known struggle-era Jazz musician.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Gugulethu-taxis#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Gugulethu-taxis#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/456730</wfw:commentRss>
      </item>
    
  <item>
    <title>Arithmetic Processing using Associative memory</title>
    <link>http://blog.wizzy.com/post/Arithmetic-Processing-using-Associative-memory</link>
    <guid isPermaLink="false">urn:md5:e0bf98981e302d2c5ab5ffe6b8531c98</guid>
    <pubDate>Tue, 06 Oct 2009 10:41:00 +0200</pubDate>
    <dc:creator>Andy</dc:creator>
        <category>Computers</category>
        <category>Associative memory</category><category>Associative processing</category><category>Bit-serial arithmetic</category><category>CAM</category><category>Computer architecture</category><category>Content addressable memory</category><category>FRL-APP</category><category>Massively parallel processing</category><category>Parallel processing</category>    
    <description>&lt;p&gt;Associative memory is capable of performing highly parallel arithmetic
computation on large datasets in constant time.&lt;/p&gt;    &lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Content-addressable_memory&quot; hreflang=&quot;en&quot;&gt;Associative memory&lt;/a&gt; is a type of computer memory that is accessed by
virtue of its &lt;strong&gt;contents&lt;/strong&gt;, not its &lt;strong&gt;location&lt;/strong&gt;.
Rather than saying &lt;em&gt;What is the value at location 42?&lt;/em&gt; it says &lt;em&gt;All
memory locations with the value 43 please stand up&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Why is this useful, and when is it used ?&lt;/p&gt;
&lt;p&gt;It is used whenever a fast search must be made through a list of candidates
- for a &lt;a href=&quot;http://en.wikipedia.org/wiki/CPU_cache&quot; hreflang=&quot;en&quot;&gt;CPU
cache&lt;/a&gt;, or a fast network switch.&lt;/p&gt;
&lt;p&gt;But if you already know the data stored there, why are you looking it up
?&lt;/p&gt;
&lt;table align=&quot;right&quot; border=&quot;1&quot;&gt;
&lt;thead&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;Match&lt;/th&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;th&gt;D&lt;/th&gt;
&lt;th&gt;W&lt;/th&gt;
&lt;th&gt;?&lt;/th&gt;
&lt;th&gt;?&lt;/th&gt;
&lt;th&gt;?&lt;/th&gt;
&lt;th&gt;?&lt;/th&gt;
&lt;th&gt;?&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;Search term&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;D&lt;/td&gt;
&lt;td&gt;R&lt;/td&gt;
&lt;td&gt;U&lt;/td&gt;
&lt;td&gt;N&lt;/td&gt;
&lt;td&gt;K&lt;/td&gt;
&lt;td&gt;E&lt;/td&gt;
&lt;td&gt;N&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;D&lt;/td&gt;
&lt;td&gt;W&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;R&lt;/td&gt;
&lt;td&gt;F&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;D&lt;/td&gt;
&lt;td&gt;W&lt;/td&gt;
&lt;td&gt;E&lt;/td&gt;
&lt;td&gt;L&lt;/td&gt;
&lt;td&gt;L&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;D&lt;/td&gt;
&lt;td&gt;W&lt;/td&gt;
&lt;td&gt;I&lt;/td&gt;
&lt;td&gt;N&lt;/td&gt;
&lt;td&gt;D&lt;/td&gt;
&lt;td&gt;L&lt;/td&gt;
&lt;td&gt;E&lt;/td&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Crossword example&lt;/h2&gt;
&lt;p&gt;The search is usually a masked search - only some of the contents are known.
Think of it like solving a crossword entry - some letters are known. You put
the whole dictionary into Content-addressable memory, search for the known
letters in the proper position, with &amp;quot;Don't Care&amp;quot; (usually signified by X) at
the other letter locations. All word locations that match are internally
flagged. Some kind of resolver in the memory allows you to pick the first one,
and the entire word contents are read out. The flag is cleared, and the next
match is read out. In this fashion all matching words are read.&lt;/p&gt;
&lt;p&gt;The complexity of Content-addressable memory is such that it is rarely used,
and only if speed is of primary importance, as hashing algorithms and a small
program can usually accomplish tasks like the crossword problem at far lesser
expense (measured in chip complexity and time).&lt;/p&gt;
&lt;p&gt;Here we have done only the most basic operation - a search. But more can be
done - depending on the result of the match, we can perform other operations on
the data - like, for instance, deleting all those words, or some other
operation. This does not require that we read the data out - the operations are
accomplished &lt;strong&gt;in situ&lt;/strong&gt; in the memory.&lt;/p&gt;
&lt;p&gt;This may not seem useful in this example, but when doing arithmetic is
is.&lt;/p&gt;
&lt;h3&gt;Dynamic RAM&lt;/h3&gt;
&lt;p&gt;Regular computer memory is built as Dynamic RAM. Speed and density are the
primary constraints - more speed, more bits per chip. Today's Dynamic RAM is
implemented as a single transistor per bit - switching charge in and out of a
tiny capacitor (charge bucket) connected to each transistor. It is a leaky
bucket - it will forget the answer in less than a second, so the data must be
constantly read out (a destructive read) and then written back. The memory chip
usually handles this internally, but it must be given lots of little time slots
every second to handle this refresh administration.&lt;/p&gt;
&lt;h3&gt;Static RAM&lt;/h3&gt;
&lt;p&gt;RAM can be built that does not require this refresh (Static RAM) but at the
cost of extra transistors - perhaps 6 per bit. So, density (number of bits per
chip) is dramatically reduced. But speed is often greater, and the RAM is more
deterministic - there is no behind-the-scenes administration preventing full
speed access to the data. Content-addressable memory is more complex still -
requiring two data lines per column (to represent the three search terms - 0,
1, X) and comparison circuitry and match lines per row.&lt;/p&gt;
&lt;h3&gt;Arithmetic&lt;/h3&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;thead&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;*&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;*&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;*&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;th&gt;&lt;br /&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;th colspan=&quot;9&quot;&gt;Result Z&lt;/th&gt;
&lt;th colspan=&quot;8&quot;&gt;X&lt;/th&gt;
&lt;th colspan=&quot;8&quot;&gt;Y&lt;/th&gt;
&lt;th&gt;Match&lt;/th&gt;
&lt;th&gt;Carry&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Search&lt;/th&gt;
&lt;th&gt;Write&lt;/th&gt;
&lt;th&gt;Comment&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;Don't care&lt;/td&gt;
&lt;td&gt;C=0&lt;/td&gt;
&lt;td&gt;Clear Carry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;X[i]=0, Y[i]=0, C=1&lt;/td&gt;
&lt;td&gt;Z[i]=1, C=0&lt;/td&gt;
&lt;td&gt;1 bit set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;X[i]=0, Y[i]=1, C=0&lt;/td&gt;
&lt;td&gt;Z[i]=1, C=0&lt;/td&gt;
&lt;td&gt;1 bit set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;X[i]=1, Y[i]=0, C=0&lt;/td&gt;
&lt;td&gt;Z[i]=1, C=0&lt;/td&gt;
&lt;td&gt;1 bit set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;X[i]=1, Y[i]=1, C=0&lt;/td&gt;
&lt;td&gt;Z[i]=0, C=1&lt;/td&gt;
&lt;td&gt;2 bits set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;X[i]=1, Y[i]=0, C=1&lt;/td&gt;
&lt;td&gt;Z[i]=0, C=1&lt;/td&gt;
&lt;td&gt;2 bits set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;X[i]=0, Y[i]=1, C=1&lt;/td&gt;
&lt;td&gt;Z[i]=0, C=1&lt;/td&gt;
&lt;td&gt;2 bits set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;X[i]=1, Y[i]=1, C=1&lt;/td&gt;
&lt;td&gt;Z[i]=1, C=1&lt;/td&gt;
&lt;td&gt;3 bits set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;4&quot;&gt;LOOP to Step one 8 times&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;C=1&lt;/td&gt;
&lt;td&gt;Z[i]=1, C=0&lt;/td&gt;
&lt;td&gt;Carry&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;As an example of mathematics in an Associative Array, let us look at the
addition of two 8 bit fields, X and Y, to be put into a 9 bit Z result field.
We will use another flag field as a carry bit C.&lt;/p&gt;
&lt;p&gt;The subscripted X, Y and Z fields are marked with &lt;strong&gt;i=0&lt;/strong&gt; in
the starred field on the right. That is a total of 58 operations to do an 8 bit
add - is it worth it ?&lt;/p&gt;
&lt;p&gt;The point to bear in mind is that this addition is taking place in all
locations in the Content Addressable memory - however deep that might be. It is
also worth bearing in mind that none of this data exits the CAM chip - all
processing is happening in situ. Much of the access delay of regular RAM chips
occurs because the signals must be boosted large enough to traverse printed
circuit board tracks that take it to the processor chip actually doing the
work.&lt;/p&gt;
&lt;p&gt;The example given is an 8 bit add - trivially, this can be expanded (with
more steps) to any field width, any operation (like multiply, logical, or
floating point operations)&lt;/p&gt;
&lt;p&gt;We saw an extra flag field being used for Carry - typically there might be
another four flag bits used for row sub-selection, or intermediate state for
other operations.&lt;/p&gt;
&lt;p&gt;There is also a resolver (mentioned earlier) to pick the first matching
field, and possibly more complex hardware to set all bits between one flag and
another.&lt;/p&gt;
&lt;h2&gt;Other web resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.pagiamtzis.com/cam/camintro.html&quot;&gt;Content-Addressable
Memory Introduction&lt;/a&gt; by Kostas Pagiamtzis&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.pagiamtzis.com/pubs/pagiamtzis-jssc2006.pdf&quot;&gt;Content-addressable
memory (CAM) circuits and architectures: A tutorial and survey&lt;/a&gt; K.
Pagiamtzis and A. Sheikholeslami&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.commsdesign.com/main/1999/11/9911feat3.htm&quot;&gt;Using
Content-Addressable Memory for Networking Applications&lt;/a&gt; By Sherri
Azgomi&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.altera.com/products/devices/apex/features/apx-architecture.html&quot;&gt;Altera
APEX 20K Device Family Architecture&lt;/a&gt; Programmable logic device including CAM
- optimised for lookup&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://blog.wizzy.com/post/Arithmetic-Processing-using-Associative-memory#comment-form</comments>
      <wfw:comment>http://blog.wizzy.com/post/Arithmetic-Processing-using-Associative-memory#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.wizzy.com/feed/atom/comments/447417</wfw:commentRss>
      </item>
    
</channel>
</rss>