<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Dan O&apos;Huiginn</title>
      <link>http://ohuiginn.net/mt/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2012</copyright>
      <lastBuildDate>Thu, 29 Sep 2011 23:15:42 +0000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=4.25</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title>parallel ssh</title>
         <description><![CDATA[<p>[warning: technical wonkery]</p>

<p><a href="http://code.google.com/p/parallel-ssh/">pssh</a> is a godsend when you're working with a number of servers. Pssh lets you run the same command on many different computers via ssh, collating the results for you.</p>

<p>The <a href="http://manpages.ubuntu.com/manpages/natty/man1/parallel-ssh.1.html">man page</a> says pssh is "<i>most useful for operating on clusters of homogenously-configured hosts.</i>".</p>

<p>But to my mind, where it really shines is doing diagnostics over a number of machines.</p>

<p>I was recently called in to fix up a problem like this. A website had gone down, the sysadmin was missing, and nobody really new which of seventy-odd machines was responsible. So I was flailing around in the dark. All I had was the shared root password, and a client very keen for things to start working Real Soon Now.</p>

<p>My first tool out of the box was <a href="http://www.linux.com/learn/tutorials/290879-beginners-guide-to-nmap">nmap</a>. This lets me figure out which servers we have around::</p>

<pre class="brush:py">  root@dv06x:/home/dan# nmap -sP 10.10.22.0/24

    Starting Nmap 4.20 ( http://insecure.org ) at 2011-05-29 15:03 PDT
    Host 10.10.22.1 appears to be up.
    MAC Address: 00:04:23:E1:F8:DF (Intel)
    Host 10.10.22.5 appears to be up.
    MAC Address: 00:04:23:E1:F8:DF (Intel)
</pre>

<p>Here I'm telling nmap to ping every machine with an IP address (internal to the data centre) of 10.10.22.XXX -- that is, which shares the first 24 bits of its IP address with 10.10.22. [why 10.10.22? because <a href="http://linuxhelp.blogspot.com/2006/11/ifconfig-dissected-and-demystified.html">ifconfig</a> showed me the IP for the firewall server I was first logged in to, and it began with 10.10.22. </p>

<p>Now, let's pull a list of IPs out of there. I couldn't find an option in nmap to just print the IP address, so let's do it with perl:</p>

<pre class="brush:py">
    root@dv06x:/home/dan# nmap -sP 10.10.22.0/24 | grep "appears to be up" | perl -pi -e 's/.*?((\d+\.){3}\d+).*/\1/' > servers.txt 2>/dev/null
    root@dv06x:/home/dan# cat servers.txt
    10.10.22.1
    10.10.22.5
    10.10.22.6
    ...
</pre>

<p>Now we have these servers, we can try ssh'ing into them. First, we need password-less ssh access. <a href="http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html">Here's an explanation</a>. First we generate a keypair:</p>

<pre class="brush:py">
ssh-keygen -t rsa
</pre>

<p>This generates keys in ~/.ssh/id<em>rsa (private) and ~/.ssh/id</em>rsa.pub (public). Now we must copy the public key to every other server, appending it to the file ~/.ssh/authorized_keys.</p>

<p>scp doesn't support appending. One way would be to first scp to a temp file, then log in and append that file to ~/.ssh/authorized_keys. </p>

<p>But that's a lot of excess typing, if you're doing it seventy times. Instead we can use pipes with cat:</p>

<pre class="brush:py">
    cat ~/.ssh/id_rsa.pub | ssh root@10.10.22.6 "cat >> ~/.ssh/authorized_keys"
</pre>

<p>Now we need to do this for every machine. Let's do it the semi-manual way: pssh won't save much time, since we need to enter passwords and accept fingerprints anyway:</p>

<pre class="brush:py"> 
    root@dv06x:/home/dan# for server in `cat servers.txtc`
    > do
    cat ~/.ssh/id_rsa.pub | ssh root@$server "cat >> ~/.ssh/authorized_keys"
    > done
</pre>

<p>Now we should be able to connect to any of them without a password:</p>

<pre class="brush:py"> 
    root@dv06x:~# ssh root@10.10.22.23 
    Last login: Mon May 16 04:16:41 2011 from 10.10.22.5
    Linux xn03 2.6.18-xen #1 SMP Fri May 18 16:01:42 BST 2007 x86_64
</pre>

<p>Now is when pssh comes into its own. The man page explains basic usage:</p>

<pre class="brush:py"> 
       parallel-ssh [OPTIONS] -h hosts.txt prog [arg0...]

</pre>

<p>That is, you give it a list of hosts in a file, and a command to execute on hte command-line. It'll ssh into each host in parallel, and run the command everywhere. I'll also use the <pre>-P</pre> option, so that we can see the output directly on the terminal.</p>

<p>Let's start with the <pre>uptime</pre> command. This prints out how long the server has been up -- as well as, more interestingly, the current load:</p>

<pre class="brush:py"> 
    root@dv06x:/home/dan# pssh -P -h servers_all_ip uptime
    ...
    10.10.104.156:  16:03:42 up 53 days, 22:46,  0 users,  load average: 0.00, 0.02, 0.26
    [69] 16:21:56 [SUCCESS] 10.10.104.156
    10.10.22.101:  16:03:18 up 2 days,  3:47,  1 user,  load average: 69.52, 70.14, 70.21
    [70] 16:21:56 [SUCCESS] 10.10.22.101
    10.10.104.146:  16:03:12 up 33 days, 15:25,  0 users,  load average: 1.24, 1.22, 1.19
    [71] 16:21:56 [SUCCESS] 10.10.104.146
    10.10.104.156:  16:03:42 up 53 days, 22:46,  0 users,  load average: 0.00, 0.02, 0.26
    [69] 16:21:56 [SUCCESS] 10.10.104.156
    10.10.22.101:  16:03:18 up 2 days,  3:47,  1 user,  load average: 69.52, 70.14, 70.21
    [70] 16:21:56 [SUCCESS] 10.10.22.101
    10.10.104.146:  16:03:12 up 33 days, 15:25,  0 users,  load average: 1.24, 1.22, 1.19
    [71] 16:21:56 [SUCCESS] 10.10.104.146
</pre>

<p>It's slightly irritating not to have the output matched up with the results, but it's already tellig us something useufl. 10.10.22.101 has an immense load, and has been recently rebooted. That's probably somewhere to concentrate our attention</p>

<p>We can also gather some information about what operating systems we're dealing with. <pre>lsb_release -a</pre> will get us that:</p>

<pre class="brush:py"> 
    root@dv06x:/home/dan# pssh -P -h servers.txt "lsb_release -a"
    ...
    10.10.22.12: Distributor ID:    Ubuntu
    Description:    Ubuntu 7.10
    Release:        7.10
    Codename:       gutsy
</pre>

<p>Much more can be done along these lines, but I'll leave it there for now</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/09/parallel_ssh.html</link>
         <guid>http://ohuiginn.net/mt/2011/09/parallel_ssh.html</guid>
         <category></category>
         <pubDate>Thu, 29 Sep 2011 23:15:42 +0000</pubDate>
      </item>
      
      <item>
         <title>If at first you don&apos;t succeed: make a wordle and call it a day.</title>
         <description><![CDATA[<p>Every data project goes through an embryonic Wordle stage. There's a point where you've spent a few hours futzing with code, are many more hours away from whatever you were trying to build, and feel <i>aw, screw it, let's make some pictures</i>.</p>

<p>In that spirit: headlines from the Guardian and the Mail, these past couple of days:</p>

<table class="image">
<tr>
<td><b>Guardian</b></td>
</tr><tr>
<td>
<img alt="Guardian headlines" src="/images/guardian_wordle.png"/>
</td></tr>
</table>

<table class="image">
<tr>
<td><b>Mail</b></td>
</tr>
<tr><td>
<img alt="Mail headlines" src="/images/mail_wordle.png"/>
</td></tr>
</table>

<p>The somewhat less pointless use of the data will come When I Get Round To It&trade; -- which, given current circumstances, might not be for quite some time.</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/07/if_at_first_you_dont_succeed_m.html</link>
         <guid>http://ohuiginn.net/mt/2011/07/if_at_first_you_dont_succeed_m.html</guid>
         <category></category>
         <pubDate>Thu, 28 Jul 2011 16:08:03 +0000</pubDate>
      </item>
      
      <item>
         <title>Just how insignificant are BP and ExxonMobil?</title>
         <description><![CDATA[<p>Multinational oil companies really have been eclipsed by their state-owned counterparts:</p>

<p><a href="http://www.petrostrategies.org/Links/Worlds_Largest_Oil_and_Gas_Companies_Sites.htm">
<img src="http://ohuiginn.net/images/worlds_largest_oil_and_gas_companies_2008.gif" width="100%"/>
</a>
<br/>
That's ExxonMobil coming in at number 17, as the first private company. It's 30 times smaller than Saudi Aramco by reserves, 20 times by production.</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/07/just_how_insignificant_are_bp.html</link>
         <guid>http://ohuiginn.net/mt/2011/07/just_how_insignificant_are_bp.html</guid>
         <category></category>
         <pubDate>Mon, 11 Jul 2011 21:49:07 +0000</pubDate>
      </item>
      
      <item>
         <title>Dum-dum bullets and shoot to kill</title>
         <description><![CDATA[<p>The Metropolitan Police are armed with bullets that the army wouldn't be allowed to use.</p>

<p>Hollow-tipped bullets are designed to expand inside the body on impact, making them much more likely to kill whoever they hit. The generals of the 19th century decided that they were too lethal for war, despite <a href="http://www.britishempire.co.uk/article/australiaswarsb.htm">British arguments</a> that they were needed to stop 'fanatical barbarian[s]'. </p>

<p>So they were banned under the 1899 Hague Convention**, along with chemical weapons and bombs thrown from airships. NATO still keeps to that, though perhaps few other armies do.</p>

<p>The police, through, are unaffected. So the Met used these these bullets to <a href="http://www.guardian.co.uk/uk/2011/may/11/met-police-hollow-bullets-menezes">kill Jean Charles de Menezes</a>, and this year they started using them more generally.</p>

<p>Now, there's a decent argument that this isn't as bad as it sounds. If a bullet is busy mashing your victim's organs, it's less likely to pass through and hit whoever is behind them. I thoroughly approve of not killing bystanders, but a little confused how that works alongside the policy of <a href="http://kitwithnail.blogspot.com/2011/06/machine-gun-police-what-you-ought-to.html">giving machine guns to the transport police</a></p>

<p>Or, more fundamentally: the UK police already <a href="http://kitwithnail.blogspot.com/2011/06/machine-gun-police-what-you-ought-to.html">kill about 90 people per year</a> -- let's not make it any easier? </p>

<p>[disclaimer: I know nothing about guns, would be happy to never see one again in my life, and wish the police agreed]</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/07/dum-dum_bullets_and_shoot_to_k.html</link>
         <guid>http://ohuiginn.net/mt/2011/07/dum-dum_bullets_and_shoot_to_k.html</guid>
         <category></category>
         <pubDate>Sat, 09 Jul 2011 23:25:58 +0000</pubDate>
      </item>
      
      <item>
         <title>frobbing markets</title>
         <description><![CDATA[<p>Market volality provides information about a market. In just the same way as you learn what a gizmo does by applying different input to it, so you piece together the shape of a market by watching what happens under different circumstances. A market could seem utterly stable, until a little volatility reveals that it had always been at the edge of a precipice.</p>

<p><a href="http://feedproxy.google.com/~r/marginalrevolution/feed/~3/02iEz4jgzxg/symphony-orchestras-and-sectoral-shifts.html">Tyler Cowen</a> sees this in the fate of USian symphony orchestras after the financial crisis. The financial crisis pulled out much of their institutional support, thus showing how shallow was their backing. This caused secondary effects:</p>

<blockquote>
<p>The initial negative shock of the crisis, among its other effects, caused donors and potential donors to see that support for these projects was weaker than they thought.  Many of these donors are now less than keen to keep pouring money into losing endeavors.  An unraveling process has set in.  It's not just the negative wealth effect, but new information has been revealed about popularity and sustainability of the underlying venture.  Neither monetary nor fiscal stimulus will prove any kind of easy cure for these institutions or, potentially, for these jobs.</p>

<p>There is a well-known literature in finance about how trading, combined with the possibility of sudden price dips, causes market participants to learn the shape of the market demand curve and thus revalue the appropriate overall level of prices.  The mere act of trading can generate market volatility.  This kind of insight is not yet sufficiently appreciated in macroeconomics.  The financial crisis caused us to see that many market institutions were on shakier ground than we had thought.</p>
</blockquote>

<p>This is analogous to the 'tipping-point' understanding of political protest. Marches aren't themselves important. But they show the strength of support, and so can win you the support of actors hedging their bets. So the time to march (leaving aside movement-building reasons) is when you believe that your support is greater than generally understood</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/06/frobbing_markets.html</link>
         <guid>http://ohuiginn.net/mt/2011/06/frobbing_markets.html</guid>
         <category></category>
         <pubDate>Sun, 19 Jun 2011 10:42:20 +0000</pubDate>
      </item>
      
      <item>
         <title>UK parliamentary constituencies, with party currently in power there</title>
         <description><![CDATA[<p>[mainly for the benefit of google]</p>

<p>Something I was surprised not to be able to find online: a list of UK parliamentary constituencies, and the party currently in power there. Something I needed, and I imagine a lot of people have put together for themselves over the years.</p>

<p>Anyway, <a href="/docs/data/uk_parties_by_constituency.csv">here's a CSV file</a>, pulled from the They Work For You API today (18/6/2011).</p>

<p>code will go up on github soonish, along with a bunch of related things.</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/06/uk_parliamentary_constituencie.html</link>
         <guid>http://ohuiginn.net/mt/2011/06/uk_parliamentary_constituencie.html</guid>
         <category></category>
         <pubDate>Sat, 18 Jun 2011 16:17:34 +0000</pubDate>
      </item>
      
      <item>
         <title>sorry, nobody believes you any more</title>
         <description><![CDATA[<p>Governments have got into the habit of offering massive amounts of foreign aid, then quietly abandoning their promises once public attention has moved on. It's nice to see them being <a href="http://english.aljazeera.net/news/europe/2011/05/201152784050139238.html">called on it</a>:</p>

<blockquote>
The Group of Eight (G8) countries will pledge $20bn in aid to post-autocratic Arab countries that have toppled heads of state and moved towards democracy, according to European officials.
...
While the $20bn would add a strong boost to the countries' economies, Al Jazeera's Jackie Rowland pointed out that the G8 had failed in the past to fulfill aid commitments.

She said that by the end of the conference, leaders were expected to publicly admit that neglect.

"We're expecting them to admit that there's been a shortfall in the aid that was promised... and the aid that was actually delivered," our correspondent said.
</blockquote>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/sorry_nobody_believes_you_any.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/sorry_nobody_believes_you_any.html</guid>
         <category></category>
         <pubDate>Sat, 28 May 2011 14:34:38 +0000</pubDate>
      </item>
      
      <item>
         <title>The Libyan ambassador in Berlin has defected</title>
         <description><![CDATA[<p>The Libyan ambassador in Berlin has finally <a href="http://www.spiegel.de/politik/ausland/0,1518,763718,00.html">defected</a>. Sort of.</p>

<p>This is months after many of his counterparts in other countries, and at the UN quit. It was the defecting Libyan ambassador who persuaded the UN to meet on Libya, and to pass <a href="http://www.un.org/News/Press/docs/2011/sc10187.doc.htm">UN Resolution 1970</a> to impose an arms embargo. The Security Council at the time wanted to postpone meeting on Libya, but the diplomatic defections forced their hand.</p>

<p>Meanwhile, in Berlin, the Libyan diplomats remained loyal. I remember one occasion where our protest at the embassy was even greeted by a counter-protest inside its gates, the staff feverishly waving pictures of their Brother Leader -- and, presumably trying to ignore the loathing of their countrymen opposite.</p>

<p>Anyway, better late than never. The ambassador, Jamal al-Barag, defends the delay:</p>

<blockquote>
<b>Spiegel</b> how could you have remained in your position?<br/>
<b>Barag</b> Because Schalgham [the Libyan UN ambassador, some kind of mentor/boss to the German ambassador] advised it. Since the UN passed <a href="http://www.un.org/News/Press/docs/2011/sc10200.doc.htm">Resolution 1973</a> [the no-fly zone resolution, on 17 March], I have done no more political work. I only come sporadically into the office. But we have more than 700 Libyan students in Germany. I ensure that they receive their €1800 each month, that their health insurance and tuition fees are paid.
</blockquote>

<p>Barag, who comes from Misrata, reports that he receives news of friends and acquaintances being killed on a daily basis. That he's spent 2 months watching this without criticising it is, to put it in the best line, testimony to the power of blind loyalty.</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/the_libyan_ambassador_in_berli.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/the_libyan_ambassador_in_berli.html</guid>
         <category></category>
         <pubDate>Fri, 20 May 2011 10:08:13 +0000</pubDate>
      </item>
      
      <item>
         <title>How do you describe a face?</title>
         <description><![CDATA[<p>How do you describe a face? Given my ability to forget almost everybody I meet, it's a question that bothers me on an almost daily basis. I'm always trying to figure out some procedure by which I can break a face down into its component parts, remember them methodically, and so be able to recognize somebody the next time I see them.</p>

<p>Oddly, I've not yet been able to find any systematic method for doing so. There are tantalizing hints that such systems exist, but they're never spelt out simply on the internet.</p>

<p>In Snow Crash, Stephenson imagines the value of a reliable synthetic face for living in a virtual world:</p>

<blockquote>
 He was working on bodies, she was working on faces. She was the face department, because nobody thought that faces were all that important - they were just flesh-toned busts on top of the avatars. She was just in the process of proving them all desperately wrong. 
...
The Black Sun really took off. And once they got done counting their money, marketing the spinoffs, soaking up the adulation of others in the hacker community, they all came to the realization that what made this place a success was not the collision-avoidance algorithms or the bouncer daemons or any of that other stuff. It was Juanita's faces. Just ask the businessmen in the Nipponese Quadrant. They come here to talk turkey with suits from around the world, and they consider it just as good as a face-to-face. They more or less ignore what is being saida lot gets lost in translation, after all. They pay attention to the facial expressions and body language of the people they are talking to. And that's how they know what's going on inside a person's head - by condensing fact from the vapor of nuance.</blockquote>

That's the dream, then. As for the reality: there's probably something of that ilk in Second Life, but I've not yet hunted it down. The real action on the digital side is in computerised face recognition, which is alas of little use for people wanting themselves to describe faces. Early work was based, like old-fashioned anthropometry, on measuring the distance between 'anchor points' found in all faces. But as it's moved towards more statistical methods, which get results but can't be imitated by humans.

Meanwhile the police have <a href="http://www.post-gazette.com/pg/07084/772371-84.stm">procedures</a> to help witnesses identify the characteristics of a face:

<blockquote>
most composites are put together by asking a witness to describe the parts of a face -- the eyes, nose, mouth or chin -- and then assembling those pieces to create a likeness.

The popular FACES computer composite system, for instance, offers witnesses 63 head shapes, 361 types of hair, 514 eyes, 593 noses and 561 lips to choose from.
</blockquote>

<p>What are these part of the face? <a href="https://duckduckgo.com/k/?u=http%3A%2F%2Fwww.academypublisher.com%2Fjmm%2Fvol03%2Fno02%2Fjmm03025259.pdf">This paper</a> contains a list, extracted from the <i>Farkas System</i> of facial recognition. The full list is apparently present in full only in Leslie Farkas' textboook <i>Anthropometry of the head and face</i></p>

<p>The <a href="http://face-and-emotion.com/dataface/visage/about_visage.jsp">Visage Project</a> seems to be an attempted online classification of faces through identifying features. The <a href="http://face-and-emotion.com/dataface/visage/visage_mouth.jsp">demonstration</a> is hampered by too-small images, but the descriptions of characteristics are useful.</p>

<p>Another branch of work looks at the face in terms of emotions. This area was spearheaded by Paul Ekman, an anthropologist trying (with some success) to demonstrate the similarity of emotions across human cultures. His <a href="http://www.paulekman.com/products/facs-vs-f-a-c-e/">Facial Action Coding System</a> is a means of describing facial emotion, muscle by muscle. He's spent the past decade training police, writing popular books, and even inspiring a TV series -- but nonettheless seems to be a serious and broadly respected academic. The effort required to use FACS, though, is considerable -- and it's concerned with changes in exprerssion, not with the permanent structure of the face.</p>

<p>Finally, there's a certain degree of scepticism about the idea of learning faces section by section. <a href="http://www.post-gazette.com/pg/07084/772371-84.stm">It isn't normal</a>, you see:</p>

<blockquote>
Several brain studies have shown that we tend to see a face as a whole, and we pay more attention to the relationship among the parts of a face than we do to the parts themselves.

"Every cognitive scientist who has studied faces has concluded that faces are processed holistically. In fact, we now know that at least as early as six months of age, babies are engaged in the holistic processing of faces, not individual features," Dr. Wells said.

"You can take people who've been married 15 or 20 years and the husband or wife can be quite incapable of describing a single feature of the spouse's face accurately," added Christopher Solomon, technical director for a British composite company called VisionMetric Ltd.
</blockquote>

<p>Still, for now I'll take the facial-component approach over the alternative of recognizing friends by their hair and shoes, and becoming confused whenever anybody has a haircut.</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/how_do_you_describe_a_face.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/how_do_you_describe_a_face.html</guid>
         <category></category>
         <pubDate>Wed, 18 May 2011 12:36:50 +0000</pubDate>
      </item>
      
      <item>
         <title>python mode function</title>
         <description><![CDATA[<p>Oddly, there seems to be no mode function in the python standard library. It feels like something that should have an optimized C version squirreled away somewhere. 'Mode' is too ambiguous to be easily searchable, alas. Anyway, here's a will-have-to-do-for-now version: </p>

<pre class="brush:py">
from collections import defaultdict
def mode(iterable):
    counts = defaultdict(int)
    for item in iterable:
        counts[item] += 1
    return max(counts, key = counts.get)
</pre>

<p>Should be reasonably fast (for pure-python), though could eat up a lot of memory on an iterable contaning large items. </p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/python_mode_function.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/python_mode_function.html</guid>
         <category></category>
         <pubDate>Mon, 16 May 2011 17:05:29 +0000</pubDate>
      </item>
      
      <item>
         <title>Still putting out</title>
         <description><![CDATA[<p><a href="http://blog.voyou.org/2011/05/03/paris-hilton-considered-as-a-regime-of-accumulation/">Voyou</a>:</p>

<blockquote>
There's a strange way in which today's capitalism is repeating in reverse the early capitalism in which although workers are, in reality, wholly dependent on capitalism, they are formally - legally and ideologically - treated as independent contractors. This spurious reconfiguration of the worker as entrepreneur unites informal workers in the third world and precarious workers in the first
</blockquote>

<p>This is something that struck me very strongly when reading <a href="https://kllrchrd.wordpress.com/tag/ep-thompson-the-making-of-the-english-working-classes/">The Making of the English Working Classes</a>. Industrialisation <i>began</i> with outsourcing. Or rather, with <i>putting-out</i>, which Weber <a href="http://www.marxists.org/reference/archive/weber/protestant-ethic/ch02.htm">describes</a> like this:</p>

<blockquote>
The peasants came with their cloth, often (in the case of linen) principally or entirely made from raw material which the peasant himself had produced, to the town in which the putter-out lived, and after a careful, often official, appraisal of the quality, received the customary price for it. The putter-out's customers, for markets any appreciable distance away, were middlemen, who also came to him, generally not yet following samples, but seeking traditional qualities, and bought from his warehouse, or, long before delivery, placed orders which were probably in turn passed on to the peasants.
</blockquote>

<p>This is the system which was gradually absorbed into factory-based textile production -- and with it the destruction of previous social life, and the structuring of life around the working day.</p>

<p>Now, as with so much else, we've taken a loop around from centralised production, and are replaying the pre-industrial system at an octave's difference. That means opportunities to recreate social life, to escape the homogenous regimentation of the factory -- but also a return to the forms of exploitation most present just on the cusp of the industrial revolution.</p>

<p>Hence there's plenty of reason for politicised microserfs to turn back to history, explore how the peasants of the 18th century were -- and weren't -- able to assert themselves against the putters-out.</p>

<p>[crossposted to <a href="http://ethnographyofflight.blogspot.com/">the art of thinking praxis</a>]</p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/still_putting_out.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/still_putting_out.html</guid>
         <category></category>
         <pubDate>Sat, 14 May 2011 12:50:21 +0000</pubDate>
      </item>
      
      <item>
         <title>ad-hoc webserver from the shell</title>
         <description><![CDATA[<p><a href="http://www.commandlinefu.com/commands/view/71/serve-current-directory-tree-at-httphostname8000">Here</a> is a neat trick to make the current directory hierarchy available online:
<code>
$ cd /tmp
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
</code></p>
]]></description>
         <link>http://ohuiginn.net/mt/2011/05/ad-hoc_webserver_from_the_shel.html</link>
         <guid>http://ohuiginn.net/mt/2011/05/ad-hoc_webserver_from_the_shel.html</guid>
         <category>Technology</category>
         <pubDate>Tue, 10 May 2011 07:14:56 +0000</pubDate>
      </item>
      
      <item>
         <title>Tatu and the IWW</title>
         <description><![CDATA[<p>Tatu are secretly Wobblies, aren't they? <i>All About Us</i> hinges on a personalization of the great IWW slogan <i>An injury to one is an injury to all</i>, <a ref="http://www.songmeanings.net/songs/view/3530822107858555067/">transmuted into obsessive romance</a>:</p>

<blockquote><b>If. They. Hurt. You. They. Hurt. Me. Too</b><br/>
So we'll rise up won't stop<br/>
And it's all about<br/>
It's all about<br/>
It's all about <b>us</b></blockquote>

<embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=-4718476221890343527&hl=en&fs=true style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash> </embed>
<br/>
It's not just me feeling the solidarity. <a href="http://www.stylusmagazine.com/feature.php?ID=1868">This group review</a> returns to the theme time and time again, albeit with a point-missing tendency to link it to the USSR:
<blockquote>
You can imagine those pounding war drums soundtracking the Bolshevik revolution - there's certainly a similar sense of collective running through the lyrics, drawing strength from standing shoulder to shoulder with fellow revolutionaries. "If. They. Hurt. You. They. Hurt. ME. TOO.": spine-tinglingly magnificent pop moment of the year. 
</blockquote>

<p>And <a href="http://iamtheblob.blogspot.com/2009/05/songs-wot-i-likes-at-present.html">more generally</a>, you can make a case that the value of TATU is fitting their various high-pitched emotional states into a grand narrative of love and rebellion:</p>

<blockquote>
If you listen across their 'Best Of' album, you can see it unfold: forbidden love and ensuing confusion as the girls, through their transgression, are thrust beyond the bounds of the normative ("All The Things She Said"'); the forging of a new revolutionary ethics ("All About Us", "They're Not Gonna Get Us"); yet more confusion as one of the girls falls for a boy ("Loves Me Not"); a Thermidorian inquest into the motives and consequences of the betrayal ("Friend Or Foe"); then finally, the realisation that the only place this utopian society can exist is in space ("Cosmos")
</blockquote>
]]></description>
         <link>http://ohuiginn.net/mt/2011/04/tatu_and_the_iww.html</link>
         <guid>http://ohuiginn.net/mt/2011/04/tatu_and_the_iww.html</guid>
         <category>Art, books, music, film</category>
         <pubDate>Wed, 27 Apr 2011 13:45:00 +0000</pubDate>
      </item>
      
      <item>
         <title>Exporting surveillance</title>
         <description><![CDATA[<p>MENA net filtering <a href="http://opennet.net/west-censoring-east-the-use-western-technologies-middle-east-censors-2010-2011">uses Western technology</a>:</p>

<blockquote>
At least nine Middle Eastern and North African state censors use Western-built technologies to impede access to online content. ISPs in Bahrain, UAE, Qatar, Oman, Saudi Arabia, Kuwait, Yemen, Sudan, and Tunisia use the Western-built automated filtering solutions to block mass content, such as websites that provide skeptical views of Islam, secular and atheist discourse, sex, GLBT, dating services, and proxy and anonymity tools. These lists of sites are maintained by the Western company vendors. The ISPs also use these tools to add their own selected URLs to the companies' black lists.
</blockquote>

<p>I'm interested here that no Chinese technology is mentioned as being used. This was something I'd been expecting -- as had <a href="http://www.naomiklein.org/articles/2008/05/chinas-all-seeing-eye">Naomi Klein</a> (kind of) -- but which hasn't come to pass.</p>

<p>As <a href="http://fm4.orf.at/stories/1678054/">Erich Moechtel</a> has pointed out, much of the European surveillance export industry is surprisingly open. <a href="http://www.issworldtraining.com/ISS_MEA/">This conference in Dubai in February</a> was more concerned with bugging and individual surveillance, but the principle applies more broadly.</p>

<p>More on this <a href="http://www.taz.de/1/politik/schwerpunkt-ueberwachung/artikel/1/exportschlager-zensur/">from the TAZ</a>:</p>

<blockquote>
Eines der bekannten europäischen Beispiele sei die Firma Nokia Siemens Networks, die beispielsweise Technik in den Iran geliefert habe. "Dort wird diese aktiv zur Repression der Bevölkerung genutzt", kritisiert Kubieziel. Mittlerweile setzten Länder wie China aber auf selbst entwickelte Software zur Zensur, die sie auch an anderen Staaten weiter verkaufe. 
</blockquote>
]]></description>
         <link>http://ohuiginn.net/mt/2011/04/exporting_surveillance_1.html</link>
         <guid>http://ohuiginn.net/mt/2011/04/exporting_surveillance_1.html</guid>
         <category></category>
         <pubDate>Mon, 04 Apr 2011 15:59:50 +0000</pubDate>
      </item>
      
      <item>
         <title>Saudi day of rage: some quick reading</title>
         <description><![CDATA[<p>It's entirely possible nothing will happen in Saudi Arabia today. A few hundred protesters on the streets, the ringleaders arrested, and the country will continue as before.</p>

<p>Until this afternoon, though, nobody knows. Demonstrations have been called, and now is as auspicious a time for them as we're likely to see. But one downside of banning political expression is that you can never tell how large demonstrations will be. That, in fact, is why they matter more than under democracy -- they're about the closest you get to a vox pop.</p>

<p>Here are a few guesses as to how things will pan out today.</p>

<p><a href="http://www.lrb.co.uk/blog/2011/03/08/hugh-miles/saudi-arabias-day-of-rage/">Hugh Miles on the LRB blog</a> expects something fairly large:</p>

<blockquote>
Both Sunni and Shia Saudi opposition groups say they are under intense pressure to make a move before 11 March, but are trying to hold the line so as to garner as much media exposure as possible and secure a large turnout. 'We didn't want to go quickly, but the people took the initiative and issued a date,' one of the organisers told me. 'Now the momentum is there and there is an avalanche of calls for revolt. The speed with which things are happening is beyond our ability to keep up.'
</blockquote>

<p>One reason to expect a noticeable protest is because of how strongly the Saudi authorities have reacted to the prospect. After all, they presumably know more than anybody about public opinion. Then again, a strong reaction could just mark paranoia or deliberate overkill. According to <a href="http://www.dailytimes.com.pk/default.asp?page=2011\03\10\story_10-3-2011_pg3_2">Mohammad Taqi in the Daily Times (Pakistan)</a>:</p>

<blockquote>
The Saudi state machinery has subsequently gone into overdrive to prevent any prominent demonstrations. The regime has resorted to both appeasement through a $ 37 billion 'aid package' to the Saudi people and a series of stern warnings. The Saudi interior ministry said last week that the "laws and regulations in the kingdom totally prohibit all kinds of demonstrations
</blockquote>

<p>There's also much more global attention than there has been previously:</p>

<blockquote>
The brutal crackdown by the security forces on the Saudi Shia pilgrims in Madinah in February 2009 had largely gone unnoticed by the world. Subsequently, when a Shia cleric Nimr al-Nimr in his March 13, 2009 Friday sermon in Awwamiyya called for the Shia to consider secession from Saudi Arabia if their rights were not respected, the state suppression was swift but did not make the headlines. But now, with the full glare of media turned on to the Middle East, the last thing the regime wants is an uprising that it may have to put down brutally.
</blockquote>

<p>And, as <a href="http://www.thepeninsulaqatar.com/q/56-tofol-jassim-al-nasr/145103-oil-and-democracy-the-uneasy-link.html">this article</a> points out, there's a certain irony to protests in a major oil-exporting country:</p>

<blockquote>
the more violent the unrest, and the closer it is to the oil wells, the higher that it sends prices. As prices rise, so do the contested autocrats' paychecks. Meanwhile, their bank accounts swell and they are enabled to pacify their citizens by loosening the strings on public spending. It is like brainwashing citizens into oblivion by keeping their stomachs full and their minds numb.
</blockquote>
]]></description>
         <link>http://ohuiginn.net/mt/2011/03/saudi_day_of_rage_some_quick_r.html</link>
         <guid>http://ohuiginn.net/mt/2011/03/saudi_day_of_rage_some_quick_r.html</guid>
         <category></category>
         <pubDate>Fri, 11 Mar 2011 01:11:12 +0000</pubDate>
      </item>
      
   </channel>
</rss>

