<?xml version="1.0"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:dcterms="http://purl.org/dc/terms/" >
<channel>
<title>samv.blog</title>
<link>http://sam.vilain.net//index.html</link>
<description>samv.blog</description>
<item>

	<title>sanjiao energetics</title>


	<guid isPermaLink="no">http://sam.vilain.net//sci/medicine/occidental/sanjiao_energetics.html</guid>

	<link>http://sam.vilain.net//sci/medicine/occidental/sanjiao_energetics.html</link>

	<pubDate>Thu, 12 Jan 2012 08:53:04 +0000</pubDate>
	<dcterms:modified>2012-01-12T09:40:32Z</dcterms:modified>

	<description>&lt;!-- I have used a MacOS X keyboard; you wouldn&#39;t know,
     except that I now write &amp;ndash; and &amp;mdash; in my
     HTML --&gt;

&lt;h1&gt;Fact or Fiction&amp;mdash;Chinese Medicine&#39;s San Jiao
theory?&lt;/h1&gt;

&lt;p&gt;&quot;Theory&quot; is certainly not the right word from the
  perspective of mainstream medical culture.  Most times it
  just refers to a body location.  It&#39;s mostly terminology.

&lt;p&gt;The Upper Jiao is essentially the Thoracic Cavity, and
  the Orophalanx (mouth basically).  Everything above the
  diaphragm relating to Digestion and Circulation, and
  almost all of of the organs of Perspiration.  It belongs
  alongside Thoracic Cavity in a Scientific Occidental
  Medical Practitioner, as an Organ Group.

&lt;p&gt;The Middle Jiao is the core of digestion&amp;mdash;Stomach, Liver
  particularly the closest cells to the Hepatic Portal,
  &quot;Spleen&quot; (digests red blood cells more efficently than the
  liver), and the Duodenum.  Sparing the colourful
  descriptions, this is areas where food is mostly converted .

&lt;p&gt;Finally, the lower burner is mostly dealing with slow
  extraction of less and less useful food matter, and
  includes the Ilium, Colon, and&amp;mdash;along similar lines
  to the filtering of waste matter&amp;mdash;the Kidneys.  But
  also the Adrenal Complex.

&lt;p&gt;Then, there&#39;s the part which is not a Theory,
  either&amp;mdash;it&#39;s a more of a conjecture, scientifically
  speaking.  It describes digestion, and some basic
  interactions between organs.  Some of them are direct
  (such as the transferring of digestate from the middle to
  the lower jiao), and some more conceptual.

&lt;p&gt;Acupuncture has been investigated in what could be called
  the history section of science&amp;mdash;for instance at
  Cambridge in the early 20th, Joseph Needham or
  Gwei&amp;ndash;Djen Lu as he became to be known left a tome of
  books called Science and Civilization in China which is
  fascinating in its own right, but a special one
  called &lt;a href=&quot;http://www.amazon.com/Celestial-Lancets-Rationale-Acupuncture-Institute/dp/0700714588&quot;&gt;Celestial
  Lancets&lt;/a&gt; for what was called &quot;Occidental Medicine&quot; or
  even &quot;Eastern Medical Science&quot; at the time by Western
  scholars.  The most detailed reference translation between
  Eastern and Western medical concepts I am aware of is
  &lt;a href=&quot;http://www.amazon.com/Chinese-Acupuncture-Paradigm-George-Soulie/dp/0912111313&quot;&gt;L&#39;Acuponcture
  Chinoise&lt;/a&gt;, though I have only rarely delved into it.
  There&#39;s a nice vampire story in there, I would call it
  something of an Easter Egg for the observant (it&#39;s in a
  section of Chinese Medicine dealing with unusual forms of
  death).

&lt;p&gt;But the books I read were much simpler, and written by
  later authors trying to leave less cryptic, though more
  approachable for beginner&amp;ndash;level tertiery students.
  Books such
  as &lt;a href=&quot;http://www.amazon.com/Zang-Fu-Systems-Traditional-Medicine/dp/0443034826&quot;&gt;Zang
  Fu&lt;/a&gt; by Jeremy Ross
  and &lt;a href=&quot;http://www.amazon.com/Foundations-Chinese-Medicine-Comprehensive-Acupuncturists/dp/0443039801&quot;&gt;the
  Foundations of Chinese Medicine&lt;/a&gt; by Giovanni Maciocia.
  I have read a few of these books, though I decided that
  there were more pressing problems I needed to apply my
  life to than the relatively intellectual pursuit of
  Scientific development of Chinese Medical concepts.  I&#39;ve
  left my life of scientific pontification and petty miracle
  working that never was to join the
  &quot;&lt;a href=&quot;http://www.emeraldinsight.com/journals.htm?articleid=1860356&amp;amp;show=abstract&quot;&gt;one&amp;mdash;degree war&lt;/a&gt;&quot;.

&lt;p&gt;I still find research in the field interesting, though.

&lt;p&gt;I wrote up a Wikipedia page to go along with this image,
  and while despite my complaints about deletionism, much of
  the text I wrote seems to have been left intact since I
  wrote it to accompany the image in 2007 or whenever it
  was.  I&#39;ll leave it for now on my own blog, I realise it
  is not currently citable material and missing some due
  diligence with citations.  But the above books are a
  pretty useful set of general citations for this.  Perhaps
  someone will one day verify it better.

&lt;h2&gt;San Jiao Theory&lt;/h2&gt;

&lt;p&gt;&#39;&#39;&#39;San Jiao&#39;&#39;&#39; is a term found in [[traditional Chinese
medicine]] (TCM), as part of modelling the workings of the
human body attempted by early Chinese medical writers.
References to it can be found in the oldest Chinese medical
texts available, including the &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=yellow_emperor&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Yellow Emperor&lt;/span&gt;&#39;s
&lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=huang_di_nei_jing&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Huangdi Neijing&lt;/span&gt;.

&lt;p&gt;San Jiao has been translated as &quot;&#39;&#39;triple heater&#39;&#39;,&quot;
&#39;&#39;triple warmer&#39;&#39; (or &#39;&#39;three warmers&#39;&#39;),&quot; and &quot;&#39;&#39;triple
burner&#39;&#39;,&quot; the latter of which is probably favored because
of the involvement of the San Jiao in &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=metabolism&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;metabolism&lt;/span&gt;.  The
current WHO standard term is &quot;Triple Energizer&quot; (TE), but
many authors still prefer to use San Jiao.

&lt;h3&gt;The San Jiao as a body model&lt;/h3&gt;

There are three &quot;burning spaces&quot;:

&lt;p style=&quot;float: right; margin: 1em; font-style: italic; width: 20em&quot;&gt;
&lt;a href=&quot;http://sam.vilain.net/files/sanjiao-energetics.png&quot;&gt;&lt;img style=&quot;width: 100%&quot; src=&quot;/files/sanjiao-energetics-small.png&quot; alt=&quot;A drawing of the body, a composition of freely available body parts and a few line drawings showing which each organ group each organ belongs to, as well as the other parts of the San Jiao theory&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://sam.vilain.net/files/sanjiao-energetics.svg&quot;&gt;(svg
source)&lt;/a&gt; This is a picture I drew of all of this as I was
trying to wrap my own head around what it is.  All the organ
parts come from other free SVG files on WikiMedia.  I
uploaded it to WikiMedia, but unfortunately it didn&#39;t get
the right MetaData to stick around; a copyright notice
apparently not being enough.  It probably counts as original
research, anyway.
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Shang Jiao (upper burner) - corresponding to the thoracic cavity.  This space includes Fei (lungs) and Xin (Heart), and is associated with respiration.
&lt;li&gt;The Zhong Jiao (middle burner) - corresponding to the upper part of the dorsal cavity.  This space includes Wei (Stomach), Pi (usually called &quot;Spleen&quot;, but better called the &quot;nutrient uptake system&quot;, eg in &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=wms&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;WMS&lt;/span&gt; terms the Hepatic Portal System, various secretory pancreatic cells, perhaps the duodenum, portions of the lymphatic system carrying &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=chyle&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;chyle&lt;/span&gt;, as well as catabolic and transaminoic functions of liver cells) and is associated with digestion.
&lt;li&gt;The Xia Jiao (lower burner) - corresponding to the lower part of the dorsal cavity.  This space includes Xiao Chang (small intestine), Da Chang (large intestine), Shen (Kidneys), Pang Guang (Bladder) and is associated with elimination.
&lt;/ol&gt;

&lt;p&gt;Other &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=zang_fu&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Zang Fu theory&lt;/span&gt; organs were not included in the San Jiao model.

&lt;p&gt;The Hand &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=channel&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Meridian (Chinese medicine)&lt;/span&gt; of San Jiao Shao Yang is so called because of its generalized effects across the San Jiao.  San Jiao is not an &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=organ&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;organ (anatomy)&lt;/span&gt;.  In fact, many Zang Fu organ translations do not directly correspond with their defined western organ.

&lt;p&gt;The Shao Yang channel is the second shallowest channel in the six divisions of &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=channel_theory&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Meridian (Chinese medicine)&lt;/span&gt;, and its hand division - San Jiao - starts at the fingernail of the ring finger, travels up the outside center of the hand and arm, encompasses the elbow, continues to the back of the Acromio-clavicular joint (part of the shoulder), meeting with the other Yang channels at the junction of the seventh cervical and first thoracic vertebrae (GV-14 &quot;da zhui&quot;), before travelling up the neck to behind the ear, encompassing the external ear and terminating at outer tip of the eyebrow.  Aside from Wai Guan (TE-5), its points&#39; most common clinical uses are for local problems.

&lt;h3&gt;San Jiao relationships&lt;/h3&gt;

&lt;p&gt;In TCM theory, the San Jiao is a yang organ paired with the &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=pericardium&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Pericardium (Zang)&lt;/span&gt; (Xin Bao) which is the yin organ associated with it.  Yang (Fu) organs are typically hollow, whereas yin (Zang) organs are more solid.  The triple burner, however, is said to be primarily energetic and does not have a physical component, unlike all the other organs in TCM.  In &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=dissecting&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;dissection&lt;/span&gt; a body, one would not be able to find a structure that could be called the San Jiao.

&lt;p&gt;The San Jiao&#39;s Hand-Foot partner is Dan (Gall Bladder).

&lt;h3&gt;San Jiao function&lt;/h3&gt;

&lt;p&gt;The San Jiao is also said to be a metabolism mechanism similar to an old-fashioned &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=water_wheel&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;water wheel&lt;/span&gt; that is turned by incoming water and creates &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=energy&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;energy&lt;/span&gt; for accomplishing a task, such as grinding grain in the case of the water wheel, or for metabolising and &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=digesting&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;digestion&lt;/span&gt; &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=food&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;food&lt;/span&gt; in the case of the San Jiao.  The San Jiao is closely associated with the &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=spleen&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Spleen (Zang)&lt;/span&gt; functions of transformation and transportation, particularly the metabolism of incoming food.  The San Jiao is also closely associated with the &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=kidney&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Kidney (Zang)&lt;/span&gt;&#39;s function in TCM.  The San Jiao, however, is not limited to one metabolism function as the spleen or kidneys are, but is a general metaboliser which can be applied to a variety of metabolism needs.

&lt;p&gt;This dual usage of San Jiao to refer to a specific metabolic function and to refer to the areas of the body is a source of confusion, and care should be taken to make it explicit which is being referred to.

&lt;h3&gt;San Jiao and Wu Xing&lt;/h3&gt;

&lt;p&gt;San Jiao is related to the fire element of the &lt;span class=&quot;createlink&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/ikiwiki.cgi?page=chinese_five_elements&amp;amp;from=sci%2Fmedicine%2Foccidental%2Fsanjiao_energetics&amp;amp;do=create&quot; rel=&quot;nofollow&quot;&gt;?&lt;/a&gt;Five elements (Chinese philosophy)&lt;/span&gt;.
</description>


	<comments>http://sam.vilain.net//sci/medicine/occidental/sanjiao_energetics.html#comments</comments>

</item>
<item>

	<title>carbon neutral</title>


	<guid isPermaLink="no">http://sam.vilain.net//talk/travel/carbon_neutral.html</guid>

	<link>http://sam.vilain.net//talk/travel/carbon_neutral.html</link>

	<pubDate>Mon, 26 Dec 2011 03:11:55 +0000</pubDate>
	<dcterms:modified>2011-12-26T03:11:55Z</dcterms:modified>

	<description>&lt;h1&gt;Offsetting my Air Travel (and then some)&lt;/h1&gt;

&lt;p&gt;As many people know, I tend to fly around the world a lot.  A long
time ago, back in about 2006 or 2007 I think, I signed up with
&lt;a href=&quot;http://www.dopplr.com&quot;&gt;Dopplr&lt;/a&gt; and put my travel in there.  I did
this mostly so I could hook up with friends I knew online as I
travelled around the world.  Well, this only actually resulted in
actual meetups with friends once or twice I can remember, notably a
few cocktails with [Randal Schwartz](http://www.stonehenge.com/merlyn/
in Hawai&#39;i during our respective travels across the Pacific in
opposite directions.&lt;/p&gt;

&lt;p&gt;But one thing it did get me in the habit of doing is recording my
travel accurately.  Especially air travel.  And at some point, it
started having carbon footprint reporting functionality integrated.&lt;/p&gt;

&lt;p&gt;It&#39;s not 100% accurate, but it&#39;s a good approximation.  For instance,
the precise carbon footprint of an air flight would be dependent on
the model of aircraft, how full loaded the aircraft was, even the
flight time, path, etc.  But such precision is not necessary for its
use as a crude footprint tool.&lt;/p&gt;

&lt;p&gt;But it did let me know that since I&#39;ve been recording my travel, it
has been been responsible for 25 tonnes of CO₂ emissions.  I think I
offset just one flight before.&lt;/p&gt;

&lt;p&gt;Well, I just went and offset all 25 Tonnes of it.  Of course buying
offsets is all about buying them from the right place, and I found a
great directory: the &lt;a href=&quot;http://www.carboncatalog.org/&quot;&gt;Carbon Catalog&lt;/a&gt;,
which seemed to be very inclusive and included sites I&#39;d heard
positive reviews of before.  Wary of the possibility that some
programmes are not providing real offsets, I looked into a few of
them, and preferred:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;projects which I understood how the offsets worked to really result
in a lower CO₂ levels in the world,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;projects which had independent certifications, in particular the
certification known as the &quot;Gold Standard&quot;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;projects which did not sell credits for the lowest price, under the
&quot;too good to be true&quot; principal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;companies based in countries that have an emissions trading scheme&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The projects I chose were priced around US$10 - $20 per tonne, so my
25 tonnes come to about $350.  Not bad really, especially if you
consider that the actual cost of those flights and travel over those
years could have been as high as $10,000.&lt;/p&gt;

&lt;p&gt;And in fact, because it&#39;s Christmas, I went and bought my descendents
a present - 25 tonnes of CO₂ offset I didn&#39;t need to purchase.&lt;/p&gt;

&lt;p&gt;I chose these programmes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.terrapass.com/&quot;&gt;TerraPass&lt;/a&gt; - they have three programs,
and I bought 10,000lb of offsets from each of them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.carbonfund.org/&quot;&gt;Carbonfund.org&lt;/a&gt; - they have a variety
of projects, and a relatively cheap (but certainly not dodgy cheap)
price per unit, and I bought 10 tonnes from them from their &quot;basket&quot; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://climatefriendly.com/&quot;&gt;Climate friendly&lt;/a&gt; - an Australian
company, I bought 4 tonnes from them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://southpolecarbon.com/&quot;&gt;South Pole Carbon Asset Management
Ltd&lt;/a&gt; - a Swiss company, with emphasis
on certification.  I bought a total of 24 tonnes from this company,
with 4 projects - a Taiwanese wind farm, an Indonesian geothermal
plant, as well as reforestation projects in Uganda and Columbia.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I haven&#39;t yet crunched the numbers to see whether or not I&#39;m carbon
neutral or not, but my rough understanding is that air travel is by
far the most substantial contribution to one&#39;s carbon footprint that
there is.  Plus there&#39;s all my travel before 2007 - notably two and a
half return trips to the UK from New Zealand I need to offset - which
I&#39;ll get to in time.&lt;/p&gt;

&lt;p&gt;In the mean time, I&#39;ve offset the lion&#39;s share of my carbon footprint
for myself, and for one other person in the world like me who doesn&#39;t
yet believe in this stuff, or at least not enough to spend good money
on it.&lt;/p&gt;

&lt;p&gt;And my new year&#39;s resolution?  Well, all my &lt;a href=&quot;http://runkeeper.com/user/mugwump/fitnessReports&quot;&gt;fitness
stuff&lt;/a&gt; is already
taken care of, so I can&#39;t count that twice.  So, I guess my new
resolution can be to keep being carbon-negative.&lt;/p&gt;

&lt;p&gt;I invite all those who are concerned about the future of the planet to
join me in this pledge of double-offsetting.&lt;/p&gt;
</description>


	<comments>http://sam.vilain.net//talk/travel/carbon_neutral.html#comments</comments>

</item>
<item>

	<title>waiver</title>


	<guid isPermaLink="no">http://sam.vilain.net//talk/fit/la_quinta_2012/waiver.html</guid>

	<link>http://sam.vilain.net//talk/fit/la_quinta_2012/waiver.html</link>

	<pubDate>Fri, 09 Dec 2011 20:50:31 +0000</pubDate>
	<dcterms:modified>2011-12-09T20:57:15Z</dcterms:modified>

	<description>&lt;pre&gt;
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

By indicating your acceptance, you understand, agree, warrant and
covenant as follows:

2012 Desert International and Sprint Triathlon Accident Waiver and
Release of Liability (AWRL)


I acknowledge that this athletic event is an extreme test of a
person’s physical and mental limits and carries with it the potential
for death, serious injury and property loss.  The risks include but
are not limited to, those caused by terrain, facilities, temperature,
weather, condition of athlete, lack of hydration, equipment, vehicular
traffic, and actions of other people, including but not limited to
participants, volunteers, spectators, and event officials.  I hereby
assume all risks of participation in this event. I acknowledge that
this, Athletic Waiver and Release of Liability (AWRL) form, will be
used by the event director and event sponsors and that it will govern
my actions and responsibilities at said event(s).


I realize that liability may arise from negligence or carelessness on
the part of the persons or entities being released from dangerous or
defective equipment, property owned, maintained or controlled by them
or because of their possible liability without fault.


I certify that I am physically fit, have sufficiently trained for
participation in the event and have not been advised otherwise by
qualified medical personnel.


In consideration of my application and permitting me to participate in
this event. I hereby take action for myself, my executors,
administrators, heirs, next of kin, successors and assigns as follows:
(A) Waive, Disclaim from any and all liability for my death,
disability, personal injury, property damage, property theft and
actions of any kind which may hereafter accrue to me including my
traveling to and from this event, the following entities or persons:
Klein and Clark Sports, LLC, Greg Klein, Brenda Clark, the City of La
Quinta, Riverside County, Coachella Valley Water District, CA Hwy
Patrol, Riverside County Sheriff, all municipal agencies whose
property and/or personnel are used and other sponsoring and
co-sponsoring company(s), agency(s), or individual(s). (B) Indemnify
and Hold Harmless the entities or persons mentioned in the paragraph
from any and all liabilities or claims made as a result of
participation in this event, whether caused by the negligence of
releases or otherwise.


I hereby consent to receive medical treatment, which may be deemed
advisable in the event of injury, accident and/or illness during the
event.


The AWRL, shall be construed broadly to provide a release and wavier
to the maximum extent permissible under applicable law.  As a
participating athlete, I certify that all the information provided on
my race entry form is true and complete.  I have read this AWRL and
certify my compliance by my signature below.




ACTIVE REGISTRATION AGREEMENT AND LIABILITY WAIVER (the &quot;Agreement and
Waiver&quot;)

1. Authority to Register and/or to Act as Agent. You represent and
warrant to The Active Network, Inc. (&quot;Active&quot;) that you have full
legal authority to complete this event registration on behalf of
yourself and/or any party you are registering (the &quot;Registered
Parties&quot;), including full authority to make use of the credit or debit
card to which registration fees will be charged.  As used in this
Agreement and Waiver, Active refers to The Active Network, Inc. and
any and all subsidiaries, affiliated entities, or entities that
control or are controlled by Active singly or together and its
officers, employees, contractors, subcontractors and agents.

If you are registering a child under the age of 18 or an incapacitated
adult you represent and warrant that you are the parent or legal
guardian of that party and have the legal authority to enter into this
agreement on their behalf and by proceeding with this event
registration, you agree that the terms of this Agreement and Waiver
shall apply equally to all Registered Parties. By registering a child
under 13, you agree and consent to the collection of that child&#39;s
information which you provide for the purposes of registration.

2.  Waiver.

YOU UNDERSTAND THAT PARTICIPATION IN THE EVENT IS POTENTIALLY
HAZARDOUS, AND THAT A REGISTERED PARTY SHOULD NOT PARTICIPATE UNLESS
THEY ARE MEDICALLY ABLE AND PROPERLY TRAINED.  YOU UNDERSTAND THAT
EVENTS MAY BE HELD OVER PUBLIC ROADS AND FACILITES OPEN TO THE PUBLIC
DURING THE EVENT AND UPON WHICH HAZARDS ARE TO BE EXPECTED.
PARTICIPATION CARRIES WITH IT CERTAIN INHERENT RISKS THAT CANNOT BE
ELIMINATED COMPLETELY RANGING FROM MINOR INJURIES TO CATASTROPHIC
INJURIES INCLUDING DEATH.  YOU UNDERSTAND AND AGREE THAT IN
CONSIDERATION OF BEING PERMITTED TO PARTICIPATE IN THE EVENT, YOU AND
ANY REGISTERED PARTY, THE HEIRS, PERSONAL REPRESENTATIVES OR ASSIGNS
OF YOU OR THE REGISTERED PARTY DO HEREBY RELEASE, WAIVE, DISCHARGE AND
CONVENANT NOT TO SUE ACTIVE FOR ANY AND ALL LIABILITY FROM ANY AND ALL
CLAIMS ARISING FROM PARTICIPATION IN THE EVENT BY YOU OR ANY
REGISTERED PARTY.

3. Limitation of Liability; Disclaimer of Warranties. 

ACTIVE SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL OR CONSEQUENTIAL DAMAGES, RESULTING FROM (A) THE USE OR THE
INABILITY TO USE ACTIVE OR (B) FOR THE COST OF PROCUREMENT OF
SUBSTITUTE GOODS AND SERVICES OR (C) RESULTING FROM ANY GOODS OR
SERVICES PURCHASED OR OBTAINED OR TRANSACTIONS ENTERED INTO THROUGH
ACTIVE OR (D) RESULTING FROM UNAUTHORIZED ACCESS TO OR ALTERATION OF
YOUR TRANSMISSIONS OR DATA, INCLUDING BUT NOT LIMITED TO, DAMAGES FOR
LOSS OF PROFITS, USE, DATA OR OTHER INTANGIBLE, EVEN IF ACTIVE HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. YOU EXPRESSLY AGREE
THAT USE OF ACTIVE IS AT YOUR SOLE RISK. ACTIVE IS PROVIDED ON AN &quot;AS
IS&quot; AND &quot;AS AVAILABLE&quot; BASIS. ACTIVE EXPRESSLY DISCLAIMS ALL
WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT
LIMITATION ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR NON-INFRINGEMENT.

Active makes no warranty that the Active sites&#39; services will be
uninterrupted, secure or error free. Active does not guarantee the
accuracy or completeness of any information in, or provided in
connection with, the Active sites. Active is not responsible for any
errors or omissions, or for the results obtained from the use of such
information. You understand and agree that any material and/or data
downloaded or otherwise obtained through the use of the Active sites
is at your own discretion and risk and that you will be solely
responsible for any damage to your own computer system or loss of data
that results from the download of such material and/or data.

4. Indemnification. You agree to indemnify and hold each of Active
harmless from and against any and all damages, costs, claims or
demands, including reasonable attorneys&#39; fees, made by any third party
due to or arising from or relating to your use of Active or the
violation of any term of this Agreement and Waiver as well as the
Terms of Service located at:
http://www.activenetwork.com/terms-of-use.htm by you.

5. Applicable Law; Consent to Jurisdiction. The Active sites
(excluding linked sites) are controlled by Active from its offices
within the State of California, United States of America. By
completing this event registration, both you and Active agree that the
statutes and laws of the State of California, without regard to the
conflict of laws principles thereof, will apply to all matters
relating to this event registration, this Agreement and Waiver, the
Terms of Use or other use of the Active sites. You agree that
exclusive jurisdiction for any dispute with Active resides in the
courts of the State of California and you further agree and expressly
consent to the exercise of personal jurisdiction in the courts of the
State of California in connection with any dispute including any claim
involving Active or its affiliates, subsidiaries, employees,
contractors, officers, directors, telecommunication providers and
content providers.

6. Severability. You further expressly agree that this Agreement and
Waiver is intended to be as broad and inclusive as is permitted by the
law of the State of California and that if any provision of this
Agreement and Waiver shall be found to be unlawful, void, or for any
reason unenforceable, then that provision shall be deemed severable
from this Agreement and Waiver and shall not affect the validity and
enforceability of any remaining provisions.

BY INDICATING YOUR ACCEPTANCE OF THIS AGREEEMENT AND WAIVER, YOU ARE
AFFIRMING THAT YOU HAVE READ AND UNDERSTAND THIS AGREEMENT AND WAIVER
AND FULLY UNDERSTAND ITS TERMS.  YOU UNDERSTAND THAT YOU ARE GIVING UP
SUBSTANTIAL RIGHTS, INCLUDING THE RIGHT TO SUE.  YOU ACKNOWLEDGE THAT
YOU ARE SIGNING THE AGREEMENT AND WAIVER FREELY AND VOLUNTARILY, AND
INTEND BY YOUR ACCEPTANCE TO BE A COMPLETE AND UNCONDITIONAL RELEASE
OF ALL LIABILITY TO THE GREATEST EXTENT ALLOWED BY LAW.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBCgAGBQJO4nVEAAoJEBdtaL3wGtIoPAsH/2OSeg1Zni7xu1TRGq+Yx4wO
JsLHbugLdcuHtDFOq8cBuTXYCqLjKyLsH2YzD9IcQAf4pbbdHLt0/6SwmyjevvZs
aliruP0yZxDLzJXJJRhgdrV4R0V0XVzXsZY/IAiesIQrE76TLNR7yFjw6lcFdbXT
Xl5/Lrnxai6m8o4TPROSxyChfFfu8XS5Jl6nVkU4EKGL7eczok3Pu3oh1p8u5eIi
2TH68iEIHM10HO0Pr6jEGLru42TjqHkGe8/evQzLv82n4GJ2N1qv+MOgmWVUCLZJ
uT+h9MQF9C89J8e2EH8dX7u5fcT8+dWV/6SladtSEUa+mupYKR6mNAgK7JaJW7Q=
=pyxs
-----END PGP SIGNATURE-----
&lt;/pre&gt;</description>


	<comments>http://sam.vilain.net//talk/fit/la_quinta_2012/waiver.html#comments</comments>

</item>
<item>

	<title>la quinta 2012</title>


	<guid isPermaLink="no">http://sam.vilain.net//talk/fit/la_quinta_2012.html</guid>

	<link>http://sam.vilain.net//talk/fit/la_quinta_2012.html</link>

	<pubDate>Fri, 09 Dec 2011 20:38:25 +0000</pubDate>
	<dcterms:modified>2011-12-09T22:42:03Z</dcterms:modified>

	<description>&lt;h1&gt;La Quinta 2012 Signature&lt;/h1&gt;

&lt;p&gt;Verification instructions for Unix command-line:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;#036; gpg --recv-key 0x176D68BDF01AD228
gpg: requesting key F01AD228 from hkp server pgp.net.nz
gpg: key F01AD228: &quot;Sam Vilain &amp;lt;sam@vilain.net&amp;gt;&quot; not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
&amp;#036; curl http://vilain.net/talk/fit/la_quinta_2012/waiver.html |
     gpg --verify
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15203  100 15203    0     0  26596      0 --:--:-- --:--:-- --:--:-- 35438
gpg: Signature made Fri Dec  9 12:53:24 2011 PST using RSA key ID F01AD228
gpg: Good signature from &quot;Sam Vilain &amp;lt;sam@vilain.net&amp;gt;&quot;
&amp;#036;
&lt;/code&gt;&lt;/pre&gt;
</description>


	<comments>http://sam.vilain.net//talk/fit/la_quinta_2012.html#comments</comments>

</item>
<item>

	<title>samv back catalog</title>


	<guid isPermaLink="no">http://sam.vilain.net//comp/perl/samv_back_catalog.html</guid>

	<link>http://sam.vilain.net//comp/perl/samv_back_catalog.html</link>

	<pubDate>Wed, 15 Jun 2011 19:54:15 +0100</pubDate>
	<dcterms:modified>2011-06-15T18:54:15Z</dcterms:modified>

	<description>&lt;h1&gt;SamV back-catalog now available&lt;/h1&gt;

&lt;p&gt;Just realised that a bunch of my projects are not online any more.
Well, now they are back up via git dumb http at
http://git.utsl.gen.nz/ - gitweb to follow.&lt;/p&gt;
</description>


	<comments>http://sam.vilain.net//comp/perl/samv_back_catalog.html#comments</comments>

</item>
<item>

	<title>ring hit</title>


	<guid isPermaLink="no">http://sam.vilain.net//sci/eq/ring_hit.html</guid>

	<link>http://sam.vilain.net//sci/eq/ring_hit.html</link>


	<category>/tags/eq</category>

	<category>/tags/ring</category>


	<pubDate>Wed, 15 Jun 2011 19:48:00 +0100</pubDate>
	<dcterms:modified>2011-06-15T19:24:39Z</dcterms:modified>

	<description>&lt;h1&gt;Was that a &quot;hit&quot; ?&lt;/h1&gt;

&lt;p&gt;The big earthquake just been.  Did Ken Ring&#39;s predictions &quot;hit&quot; it?&lt;/p&gt;

&lt;p&gt;According to my &lt;a href=&quot;http://sam.vilain.net/sci/eq/ring_function.html&quot;&gt;previous betting schedule&lt;/a&gt;,
I wagered these bets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3 chips on ±1 day surrounding the lunar equinox [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;3 chips on ±1 day surrounding the lunar perigee [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the point of maximum declination [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the full moon [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the new moon [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;1 chip on ±1 day surrounding the point of first quarter [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;1 chip on ±1 day surrounding the point of third quarter [ paying 14:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the lunar apogee [ paying 14:1 ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let&#39;s just assume for now that the chance of the earthquake is
completely random (it isn&#39;t; there is a 2% extra chance at lunar
perigee, but let&#39;s not worry about this for now).&lt;/p&gt;

&lt;p&gt;The earthquake was (in GMT/UTC) at &lt;a href=&quot;http://lists.geonet.org.nz/pipermail/eqnews/2011-June/004877.html&quot;&gt;13 June 2011 at 02:20&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The lunar perigee (closest point to earth in its orbit) was at Jun 12, 2011 01:43:00 AM GMT - &lt;em&gt;miss&lt;/em&gt; by all of 37 minutes&lt;/p&gt;

&lt;p&gt;The point of southern lunar declination was at Jun 15, 2011 8:54am GMT - &lt;em&gt;miss&lt;/em&gt; by 1d 6h 34m.&lt;/p&gt;

&lt;p&gt;The full moon was at June 15, 20:14 GMT (very shortly, along with &lt;a href=&quot;http://www.guardian.co.uk/science/2011/jun/15/lunar-eclipse-moon-red&quot;&gt;the eclipse&lt;/a&gt; of course) - &lt;em&gt;miss&lt;/em&gt; by 1d 18h 34m.&lt;/p&gt;

&lt;p&gt;Darn.  Didn&#39;t win any pots.&lt;/p&gt;

&lt;p&gt;Let&#39;s widen the odds to ±2 days:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3 chips on ±2 days surrounding the lunar equinox [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;3 chips on ±2 days surrounding the lunar perigee [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±2 days surrounding the point of maximum declination [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±2 days surrounding the full moon [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±2 day surrounding the new moon [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;1 chip on ±2 days surrounding the point of first quarter [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;1 chip on ±2 days surrounding the point of third quarter [ paying 7:1 ]&lt;/li&gt;
&lt;li&gt;2 chips on ±2 days surrounding the lunar apogee [ paying 7:1 ]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The paid odds reduce, because the windows are wider.&lt;/p&gt;

&lt;p&gt;The 3 chips on the perigee paid off, returning 21 chips.  All other bets failed, returning nothing.  16 chips were laid down.  Total profit: 5 chips.&lt;/p&gt;

&lt;p&gt;What about widening the odds to ±3 days, making the odds 3.5:1?&lt;/p&gt;

&lt;p&gt;Then, the 3 bet on the perigee, the 3 on the full moon, and the 2 bet on the declination all pay back.  Again 16 chips were laid down.  This pays back 28 chips, a more substantial profit, in fact almost doubling the outlay for this month.&lt;/p&gt;

&lt;p&gt;I guess when gambling, sometimes you win.  To enjoy it the most, you need to forget all the times that you went home empty-handed instead.&lt;/p&gt;
</description>


	<comments>http://sam.vilain.net//sci/eq/ring_hit.html#comments</comments>

</item>
<item>

	<title>wt omv</title>


	<guid isPermaLink="no">http://sam.vilain.net//sci/medicine/wt_omv.html</guid>

	<link>http://sam.vilain.net//sci/medicine/wt_omv.html</link>


	<category>/tags/medicine</category>

	<category>/tags/vaccines</category>


	<pubDate>Thu, 14 Apr 2011 22:09:10 +0100</pubDate>
	<dcterms:modified>2011-04-14T21:40:25Z</dcterms:modified>

	<description>&lt;h1&gt;Wild-Type Outer Membrane Vesicle Vaccines&lt;/h1&gt;

&lt;p&gt;Vaccines.  They&#39;re putting hobbled viruses and bacteria into our
  system so that they can cause an infection, and thereby build an
  immunity, right?  Like Smallpox and Cowpox, right?

&lt;p&gt;Well, sometimes.  That is called a &lt;em&gt;Live Attenuated&lt;/em&gt;
  vaccine.  They&#39;re difficult to manage and relatively high risk.

&lt;p&gt;There are &lt;a href=&quot;http://www.immune.org.nz/?t=918&quot;&gt;many different
  types of vaccine&lt;/a&gt;, all of which involve hobbling the rogue
  organism to different degrees.

&lt;p&gt;If they get cooked, nuked (that is, sterilized in an irradiation
  facility such as the one in Upper Hutt), or perhaps killed with
  strong salt, acid, base, or some such - then it&#39;s called
  an &lt;em&gt;inactivated vaccine&lt;/em&gt;.  These are a step up.

&lt;p&gt;They still work, even though the vaccine or bacterium does not
  cause an &lt;em&gt;infection&lt;/em&gt;.  They do not replicate in the body.
  Any reaction that occurs, will be an &lt;em&gt;immune response&lt;/em&gt; only.
  All that means is that your immune system is responding to the
  foreign matter, like it is when you get a pimple or your hayfever
  plays up.

&lt;p style=&quot;float: right; margin: 1em; font-style: italic; width: 50%&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/files/omv.jpg&quot;&gt;&lt;img src=&quot;http://sam.vilain.net/files/omv.jpg&quot; alt=&quot;A diagram showing the formation of an Outer Membrane Vesicle&quot; style=&quot;display: block; width: 100%; border: none&quot; /&gt;&lt;/a&gt;A vesicle is a little bubble of cellular membrane.  It has all of the external markers or antigens, without the dangerous bacterium inner.&lt;/p&gt;

&lt;p&gt;A step up again from an inactivated vaccine is a &lt;em&gt;sub unit
  vaccine&lt;/em&gt;.  If you, through chemical manipulation, extract just a
  part of the organism - then you have the safest known approach to
  creating vaccines today.  They are lower in side effects, easier to
  manage (as there is no live agent to keep alive), although as a real
  infection does not occur, several shots are needed to provide
  immunity.  If there was a &quot;real&quot; infection, it would provide the
  body with a steady stream of greeblies to fight.

&lt;p&gt;The type of vaccine used for Mengingococcal disease (group B, the
  type causing NZ&#39;s epidemic since 1991) is called &lt;em&gt;wild-type outer
  membrane vesicle&lt;/em&gt; or wtOMV in the medical literature.

&lt;p&gt;It is something of a testament to the success of modern medical
  science that society demands almost perfect results from it.  But
  these are relatively early days for the wtOMV approach.  It is
  extremely specific and targeted to a particular strain of a disease.
  It may not provide indefinite protection; but through testing it can
  be shown that it can provide protection for long enough to stop an
  outbreak.

&lt;p&gt;Scientists are working on this.  I read with interest the abstract
  of a &lt;a href=&quot;http://dx.doi.org/10.1016/j.vaccine.2009.04.071&quot;&gt;paper
  on the performance of vaccines including MeNZB&lt;/a&gt;:

&lt;blockquote&gt;&lt;b&gt;There is good reason to believe that in the coming few
  years the “OMV-concept” will be exploited further and that a number
  of cross-protective “universal” antigens will be included in
  vaccines against serogroup B meningococcal disease.&lt;/b&gt;&lt;/blockquote&gt;

&lt;p&gt;This is extremely promising.  We&#39;re not there yet, and so when
  vaccines didn&#39;t work 100%, it&#39;s a good idea not to start hating on
  the scientists or the institutions supporting them.  I mean,
  certainly make them work for their money and stuff but don&#39;t forget
  that most of these scientists are simply motivated individuals who
  want to use their talent and skills to make a difference.  Look at
  the far-flung institutes that produced that paper: Norwegian
  Institute of Public Health, Oslo, Norway; Institute of Environmental
  Science and Research, Porirua, New Zealand; Victoria University,
  Wellington, New Zealand; Finlay Institute, Havana, Cuba; Novartis
  Vaccines &amp; Diagnostics, Siena, Italy; Ministry of Health,
  Wellington, New Zealand.  That in itself speaks volumes about the
  independence of their work.

&lt;h2&gt;Why is the MeNZB Immunity only Temporary?&lt;/h2&gt;

&lt;p style=&quot;float: right; margin: 1em; font-style: italic; width: 33%&quot;&gt;&lt;a href=&quot;http://sam.vilain.net/files/th2_pathway.jpg&quot;&gt;&lt;img src=&quot;http://sam.vilain.net/files/th2_pathway.jpg&quot; alt=&quot;A chart showing the Humoral Immune Response chart&quot; style=&quot;display: block; width: 100%&quot; /&gt;&lt;/a&gt;Humoral Immune Response is shown here; other forms of defence include innate immunity (a wide category including everything from enzymes in tears to the skin) and phagocytosis.&lt;/p&gt;

&lt;p&gt;The full picture of immunity is quite a complex picture; but
  nonetheless it is well known; one of the things that was certainly
  very striking to me as I was studying First Year Anatomy &amp;
  Physiology was the level of detail that science knows.  I was quite
  surprised to know how much information was known, even in the
  decade-old book I was using as a text.

&lt;p&gt;But basically, immunity is only permanent if it goes through a
  particular stage of the immune response.  I won&#39;t pretend to
  remember the intricate details, but in essence you don&#39;t get the
  strongest protection without a real infection, and real infections
  present the greatest danger - perhaps death with some diseases.

&lt;h2&gt;What about averse reactions?&lt;/h2&gt;

&lt;p&gt;You might already be primed to attack that material being injected
  to you.  You might already have &lt;em&gt;acquired immunity&lt;/em&gt;, in which
  case the reaction will be much more immediate - your system knows
  these foreign particles and the alarm bells go off.  This will cause
  a reaction.

&lt;p&gt;This is especially the case with &lt;i&gt;N. meningitidis&lt;/i&gt;.  It is
  considered normal &lt;i&gt;flora&lt;/i&gt; in your throat - 5-15% of people are
  expected to have it.  The throat has an organ called
  the &lt;i&gt;tonsils&lt;/i&gt; which allow the body to prepare itself for
  infection by fighting the bacteria in the food you eat.  So, it&#39;s
  quite expected that a good number of people will already be immune
  and therefore elicit a stronger immune response.

&lt;p&gt;But it&#39;s temporary, and links between vaccine responses and autism
  have been not only debunked
  but &lt;a href=&quot;http://www.bmj.com/content/342/bmj.c7452&quot;&gt;revealed
  as &lt;em&gt;fraudulent&lt;/em&gt;&lt;/a&gt;.  Don&#39;t let yourself be duped!

&lt;h2&gt;What about breast feeding?&lt;/h2&gt;

&lt;p&gt;For the first 6-12 months of your life, you have antibodies (one
  mechanism of immune response) floating in your blood which were
  transferred from the mother.  This is called &lt;em&gt;innate
  immunity&lt;/em&gt;, but these antibodies are not transferred via
  breast-milk; the baby&#39;s digestive system will destroy them before
  they can!

&lt;h2&gt;It&#39;s all a vast Big Pharma conspiracy!&lt;/h2&gt;

&lt;p style=&quot;float: left; margin: 1em; font-style: italic; width: 33%&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mikhaela/398729970/&quot;&gt;&lt;img src=&quot;http://farm1.static.flickr.com/127/398729970_8e97b12689.jpg&quot; alt=&quot;Cartoon: Opponents of the Cercical Cancer Vaccine speak out&quot; style=&quot;display: block; width: 100%; border: none&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For a start, pharmaceutical companies are probably actually
  undermining their medium-term takings by producing vaccines.
  Wouldn&#39;t it be cheaper for them not to produce them at all, and
  instead sell us remedies when we fall sick?

&lt;p&gt;I have very little time for complaints like this in New Zealand,
  where there is Pharmac for bulk purchasing power.  I just don&#39;t
  believe that the staff at Pharmac - some of whom I have known and
  talked to in the past - can be duped by sales execs or that the
  independent monitoring panels would fail to pick anything up.

&lt;p&gt;That said, I certainly disagree with direct to consumer marketing,
  and from a macro-economic perspective, the pressure from maintaining
  high profit margins by our current implementation of capitalism can
  appear (and often even be) sinister.

&lt;p&gt;&lt;b&gt;The fight against these diseases is the raw fight for existence,
  which in modern times is already stepping outside of our frames of
  reference.  We need concerted action on this, not half-hearted.
  It&#39;s a war-scale effort - don&#39;t defect to the enemy!&lt;/b&gt;&lt;/p&gt;


</description>


	<comments>http://sam.vilain.net//sci/medicine/wt_omv.html#comments</comments>

</item>
<item>

	<title>vaccines menzb</title>


	<guid isPermaLink="no">http://sam.vilain.net//sci/medicine/vaccines_menzb.html</guid>

	<link>http://sam.vilain.net//sci/medicine/vaccines_menzb.html</link>


	<category>/tags/medicine</category>

	<category>/tags/vaccines</category>


	<pubDate>Mon, 11 Apr 2011 23:46:02 +0100</pubDate>
	<dcterms:modified>2011-04-14T21:34:52Z</dcterms:modified>

	<description>&lt;h1&gt;Vaccines and MeNZB&lt;/h1&gt;

&lt;p&gt;There&#39;s
  a &lt;a href=&quot;http://sciblogs.co.nz/infectious-thoughts/2011/04/11/vaccination-fear-mongering/comment-page-1/&quot;&gt;big
  anti-vaccination movement&lt;/a&gt; around at the moment, and I think it&#39;s
  ill-advised and extremely unhelpful to society.

&lt;p&gt;I recently had a friend die of
  &lt;a href=&quot;http://www.who.int/mediacentre/factsheets/fs141/en/&quot;&gt;
    Meningococcal disease&lt;/a&gt;.
  Not a very close friend, to a person I know she was like a second
  daughter, well by analogy she was to me like a second cousin I saw
  at larger family gatherings.

&lt;p&gt;However as she died at a ridiculously young age and was otherwise
  in good health, I found it somewhat disturbing and so started to
  research on this phantom menace disease.  I knew little about it
  other than it must be one of those classes of disease which infect
  the dorsal cavity (the surrounding of which is called the meninges)
  which contain the spinal cord and brain.

&lt;p style=&quot;float: right; margin: 1em; font-style: italic; width: 33%&quot;&gt;&lt;img src=&quot;http://sam.vilain.net/files/Neisseria-meningitidis-scanning.jpg&quot; alt=&quot;A scanning electron microscope picture of a Neisseria meningitidis bacterium&quot; style=&quot;display: block; width: 100%&quot; /&gt;A scanning-electron microscope (I assume) picture of &lt;i&gt;N. meningitidis&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Turns out, that there was a New Zealand epidemic of this disease
  caused by a bacterium (&lt;i&gt;
    &lt;a href=&quot;http://en.wikipedia.org/wiki/Neisseria_meningitidis&quot;&gt;
      Neisseria meningitidis&lt;/a&gt;&lt;/i&gt;) which, according to the
  Wikipedia article on it, is found in 5-15% of adults.  Quite how it
  goes from being apparently harmless &lt;i&gt;flora&lt;/i&gt; in the throat to
  infecting the blood and meninges is still a mystery.

&lt;p&gt;So this means that the disease can be controlled in two, perhaps
  three ways: firstly by controlling the spread of the flora by
  getting people to be more aware of things like sharing saliva and
  handwashing, to reduce the chances that you have any of the disease
  in your throat.  Secondly, you can immunise, so that if the
  bacterium does get into your bloodstream, your immune system has a
  better chance to repel it in time.  Lastly, anything to boost the
  general health of the immune system might help.

&lt;p style=&quot;float: left; margin: 1em; font-style: italic; width: 33%&quot;&gt;&lt;img src=&quot;http://www.nature.com/nrmicro/journal/v4/n12_supp/images/nrmicro1569-i3.jpg&quot; alt=&quot;A scanning electron microscope picture of a Neisseria meningitidis bacterium&quot; style=&quot;display: block; width: 100%&quot; /&gt;A picture from &lt;i&gt;Nature&lt;/i&gt; showing &lt;i&gt;N. meningitidis&lt;/i&gt; is gram negative&lt;/p&gt;

&lt;p&gt;There are many groups of the disease, A, B, C, W135, X ... most of
  these have simple, cheap polysaccharide vaccines and a new conjugate
  vaccine for type A has recently been developed.  These are
  relatively low-cost and are used in African countries.

&lt;p&gt;However the New Zealand outbreak was primarily group B.  So, this
  requires a more technical counter where you basically have to strip
  the bacteria of their outer membrane vesicles, mix those outer bits
  with some adjuvant and a buffer solution, then dilute the whole lot
  in saline.  When injected, it will usually stimulate the immune
  system into fighting an easy fight against the tiny pieces of the
  bacteria - an in doing so, tool them up to be able to fight the real
  thing should it ever have to.

&lt;p style=&quot;margin: 1em; font-style: italic&quot;&gt;&lt;img src=&quot;http://sam.vilain.net/files/omp-vaccine.jpg&quot; alt=&quot;A labeled diagram of the meningococcal cell wall&quot; style=&quot;display: block; width: 100%&quot; /&gt;Structure of the meningococcal cell wall. Capsular polysaccharides and outer membrane proteins are the target of ongoing vaccine research. (from &lt;a href=&quot;http://www.chori.org/Principal_Investigators/Moe_Gregory_R/moe_research.html&quot;&gt;chori.org&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;It&#39;s not 100%.  Perhaps for practical reasons they had to select
  a &lt;a href=&quot;http://www.moh.govt.nz/moh.nsf/indexmh/meningococcal-disease-graphs#cases&quot;&gt;single
  dominant strain&lt;/a&gt;.  It can go wrong in a number of places.  The
  immune system might not respond to the vaccine and so immunity might
  not be conferred.  This is a common misunderstanding, people have
  this assumption that once you get the shot you are immunised for
  life and if you catch the disease then the immunisation must be a
  fraud.

&lt;p&gt;Fighting epidemics is fighting statistics.  It&#39;s frustrating
  because it&#39;s very hard to see if it worked, and if you are trying
  multiple approaches, which one was more effective.  To get the most
  benefit, when there is an epidemic, you target the vulnerable group
  - in this case, people who are likely going to be swapping saliva
  with the most number of different partners intentionally or
  inadvertently - in this case, under 30&#39;s.

&lt;p style=&quot;margin: 1em; font-style: italic&quot;&gt;&lt;img src=&quot;http://img2.scoop.co.nz/stories/images/0611/1df571c54145483fa3a2.jpeg&quot; alt=&quot;A diagram of the meningococcal NZ disease outbreak vs vaccinated percentage&quot; style=&quot;display: block; width: 100%&quot; /&gt;This graph comes from an anti-vaxxer, but note the sharp drop in incidence as the vaccination is more widely taken up.&lt;/p&gt;

&lt;p&gt;That doesn&#39;t mean that such statements imply that people who die of
  this dreadful disease were swapping saliva more than any other
  person.  It doesn&#39;t mean that when I call for wider immunisation
  that I am casting aspersions on the parents of my friend.  She was
  immunised.  Everyone says shining things about her.

&lt;p&gt;What I&#39;m calling for is co-operation with the medical field and
  people to stop passing around these poorly founded arguments against
  vaccinations, for it helps no-one to simply give up on one of our
  key approaches to combating epidemics.

&lt;p&gt;In particular, if you are the sort of parent who chooses not to
  immunize, because of fears about a minor rash or because it&#39;s not
  100%, you are detracting from the value of the immunization
  programme.  You are detracting far more than the share of the
  population represented, you include a percentage of the people they
  come into contact with.  That&#39;s the network effect in reverse.  It
  gets shittier the more people who opt out.

&lt;p&gt;I&#39;m angry at the 17% of parents who said NO to the programme.  I&#39;m
  angry at
  the &lt;a href=&quot;http://www.nzma.org.nz/journal/117-1189/766/&quot;&gt;one third
  of NZ health professionals who think there is a link between Autism
  and MMR vaccine&lt;/a&gt; but are too lazy to research for the benefit of
  spreading better information.  I&#39;m angry
  at &lt;a href=&quot;http://www.scoop.co.nz/stories/GE0506/S00048.htm&quot;&gt;Sue
  &lt;s&gt;Bradford&lt;/s&gt;Kedgeley&lt;/a&gt; for supporting the anti-vaccination cause.

&lt;iframe style=&quot;float: right&quot; title=&quot;First World Problem - MC Frontalot&quot; width=&quot;480&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/M3w1_E1V46M&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;I guess my main point is that the argument against vaccinations
  that says that we shouldn&#39;t immunise, because you know children need
  a few good diseases to harden themselves up, pretty much falls flat
  when those diseases cause sudden death.  Worrying about vaccine
  side-effects or big pharma conspiracies is a &lt;em&gt;First-World
  Problem&lt;/em&gt;, and acting on them has a cost in blood.

&lt;hr style=&quot;clear: both&quot;/&gt;


</description>


	<comments>http://sam.vilain.net//sci/medicine/vaccines_menzb.html#comments</comments>

</item>
<item>

	<title>ring function</title>


	<guid isPermaLink="no">http://sam.vilain.net//sci/eq/ring_function.html</guid>

	<link>http://sam.vilain.net//sci/eq/ring_function.html</link>


	<category>/tags/eq</category>

	<category>/tags/ring</category>


	<pubDate>Fri, 11 Mar 2011 22:00:00 +0000</pubDate>
	<dcterms:modified>2011-03-14T04:06:46Z</dcterms:modified>

	<description>&lt;h1&gt;Ravings to Hypothesis: a stab at a &quot;Ring function&quot;&lt;/h1&gt;

&lt;p&gt;As others have pointed out, &lt;a href=&quot;http://sciblogs.co.nz/the-atavism/2011/02/28/the-very-error-of-the-moon-man/&quot;&gt;Ken Ring makes a lot of
predictions&lt;/a&gt;.
As Ring does not attempt to turn his viewpoints into rigourous
studies, the best that work like this normally deserves is referencing
the closest rebuttal of similar ideas along with some reasoning as to
why it is sufficiently similar.  Not every crackpot idea deserves a
full scientific investigation!  But the &lt;a href=&quot;http://voices.washingtonpost.com/capitalweathergang/2011/03/the_supermoon_and_the_japan_ea.html&quot;&gt;supermoon
hypothesis&lt;/a&gt;
is now gaining momentum, at least in the media.&lt;/p&gt;

&lt;p&gt;Ring does make some quantitative predictions, let&#39;s look at perhaps
this section from a book of Ring&#39;s, &lt;em&gt;Moon &amp;amp; Weather Lore&lt;/em&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Earthquakes mostly occur when the perigeal or apogeal moon is at
  either declination(stitial colure) or crossing the equator (lunar
  equinox), and within one or two days of either of these. A detailed
  glance at any earthquake gathering station will reveal that around
  these dates the numbers of quakes rise steeply and then dropoff
  afterwards as the moon moes out of those declination zones. Close
  perigee and full Moon or new moon adds to the potential for
  increased earthquake activity along the moon&#39;s path between the
  latitudes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And later, from &lt;em&gt;Predicting the Weather by the Moon&lt;/em&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;There is evidence that moonquakes increase when the Moon is closest
  in its orbit to the Earth. Correspondingly, we might expect an
  increase in Earthquakes at that time, (the perigee) too. Earthquakes
  are triggered by the moon in its monthly movement north and south of
  the quator and its orbit around the Earth. The word ‘triggered’ is
  used here because the Moon may pass over a danger point many times
  until the stress on a fault becomes too great, after which the fault
  may give in one sudden movement.&lt;/p&gt;
  
  &lt;p&gt;...&lt;/p&gt;
  
  &lt;p&gt;One of the main danger times is when the Moon is crossing the
  equator during the monthly declination cycle. This is the time while
  the Moon is moving quickly between the hemispheres. When the Moon is
  at the maximum 28° declination, it will cross the equator twice each
  month at about seven degrees in a day which gives considerable pull
  on the planet.  At minimum 18°, it crosses at about four degrees in
  a day and the effect is less positive.&lt;/p&gt;
  
  &lt;p&gt;The other danger point is while the Moon is at either of the maximum
  declination positions north and south of the equator. The Moon is at
  these positions for about three days and does place considerable
  strain on the techtonic plates while there. It must be remembered
  that the Moon is always on the move and a quake can happen at any
  time.&lt;/p&gt;
  
  &lt;p&gt;...&lt;/p&gt;
  
  &lt;p&gt;In G.A. Elby&#39;s book “Earthquakes” (Heinemann 1980), 209 earthquakes
  dating back to 1505 were recorded with their dates. We can check
  each quake against Moon phases. 96%. of these quakes recorded which
  were above 6 on the Richter Scale, occurred exactly on or within a
  day of one extreme feature of the Moon cycle, that is, New Moon,
  Full Moon, Apogee or Perigee. 75% involved two factos; when the say,
  the Perigee plus Full or New moon were on the same day.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So what&#39;s the summary of this?&lt;/p&gt;

&lt;p&gt;Ring actually predicts Earthquake risk as a &lt;em&gt;function&lt;/em&gt; over time and
space.  Each of the major events in the cycle of the moon&#39;s orbit
represent increased risk factors; a confluence of extremes, further
risk again.&lt;/p&gt;

&lt;p&gt;This might not exactly correlate with past studies into lunar
earthquake relationships; a study which fails to find a pattern only
disproves its own method - it does not exclude other studies which
might use a different method.&lt;/p&gt;

&lt;p&gt;That being said, it&#39;s not a good idea to ignore studies which produce
negative results; they shave away at the idea, approaching it from
many different angles, until the &lt;em&gt;balance of probabilities&lt;/em&gt; is that
the idea is considered disproven.&lt;/p&gt;

&lt;h2&gt;Testing Ring&#39;s theory scientifically.&lt;/h2&gt;

&lt;p&gt;Perhaps the simplest approach to testing a prediction theory would be
a gambling game, similar to roullette.&lt;/p&gt;

&lt;p&gt;The goal of this is to show, scientifically, that a certain limited
sets of dates have an increased risk of earthquake.  If a significant
relationship is found, these dates could potentially be used as
quasi-arbitrary dates for civil defence planning.&lt;/p&gt;

&lt;h3&gt;Ladies and Gentlemen, bets please.&lt;/h3&gt;

&lt;p&gt;As the model makes predictions, the ‘house’ pays odds on those
predictions based on the odds of that prediction occurring according
to best accepted theories.&lt;/p&gt;

&lt;p&gt;You are allowed to place this pot on future times, and possibly,
specific regions (which would lengthen the odds dramatically).&lt;/p&gt;

&lt;p&gt;Where the earthquake events occur, they pay back to the bet placed on
them, times the released energy in units of, say, &lt;em&gt;log E&lt;/em&gt;, where &lt;em&gt;E&lt;/em&gt;
is the energy released by the earthquake in MegaJoules, such that
getting a hit on a very large earthquake pays back handsomely.&lt;/p&gt;

&lt;p&gt;Odds would shorten after an earthquake for aftershocks in the region,
according to current established theory.  For some types of analysis,
it may be more useful to simply remove aftershocks from the input data
to avoid having to make prediction functions include aftershock
predictions.&lt;/p&gt;

&lt;p&gt;The nice thing about this is it allows people to &quot;play&quot; real-time, as
well as being able to test the past success of the forecasting
abilities (a technique known as &lt;em&gt;hindcasting&lt;/em&gt;).  Thus people who are
not able or willing to share their methods can participate and be
judged fairly.&lt;/p&gt;

&lt;h3&gt;Gambler&#39;s ruin&lt;/h3&gt;

&lt;p&gt;A function which simply places bets on all outcomes is not useful and
will result in a high score.  There are several ways around this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;the betting agent has a finite pool of chips which they can only
bet until they have run out; the house scores in terms of paid back
chips, and functions are compared by the amount of chips they have
in their pool.  The nice thing about this is that it is somewhat
self-regulating.  However it is more difficult to reason with.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;placed bets are scaled so that they represent a predicted energy
release function, with the total energy release matching the energy
release of the period.  The &quot;overlap&quot; is the score of the function.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A statistical significance test.  Feed the prediction function or
predictions with random input data (with known aftershock behaviour
built into it) and see how many times it gets such a high score.
If the score run against the real data is never matched by the
prediction function with random input data, over say 100 runs, then
this may be enough to show statistical significance at the 1%
level.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;A concrete &quot;Ring Function&quot;;&lt;/h2&gt;

&lt;p&gt;The function will bet on a series of extremes and mid-points:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3 chips on ±1 day surrounding the lunar equinox&lt;/li&gt;
&lt;li&gt;3 chips on ±1 day surrounding the lunar perigee&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the point of maximum declination&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the full moon&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the new moon&lt;/li&gt;
&lt;li&gt;1 chip on ±1 day surrounding the point of first quarter&lt;/li&gt;
&lt;li&gt;1 chip on ±1 day surrounding the point of third quarter&lt;/li&gt;
&lt;li&gt;2 chips on ±1 day surrounding the lunar apogee&lt;/li&gt;
&lt;li&gt;3 extra chips on the lunar perigee bets covering the 2 closest lunar
approaches every 18.6 years&lt;/li&gt;
&lt;li&gt;3 extra chips on the lunar apogee bets covering the 2 furthest lunar
distances every 18.6 years&lt;/li&gt;
&lt;li&gt;3 extra chips on the bets covering the maximum declination on years
where the declination is at its maximum 28° (as in 2004/5)&lt;/li&gt;
&lt;li&gt;3 extra chips on the best covering the lunar equinox, on the bets
that surround the maximum declination times (ie, the points where
the change in declination peaks).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The above should be able to test the claim from &lt;em&gt;Predicting the
Weather by the moon&lt;/em&gt; - though obviously, there is still a lot of
mathematical work involved in getting the rules of the game ironed
out, and expressing the functions mathematically.&lt;/p&gt;

&lt;p&gt;To give the man a chance, the values of the odds, and the width of the
bets, are to be fine-tuned using a genetic algorithm; ie, tweak values
one by one to get better results.&lt;/p&gt;

&lt;h2&gt;Anyone want to write the site/thesis?&lt;/h2&gt;

&lt;p&gt;The &lt;a href=&quot;http://www.christchurchquakemap.co.nz/dailyEnergy&quot;&gt;Christchurch Daily Energy Release
page&lt;/a&gt; has a chart
which is something towards the above goals.&lt;/p&gt;

&lt;p&gt;However a full system to incorporate existing theories, a betting/odds
engine (the minimal approach above), as well as collecting/calculating
all the relevant information and writing the functions in terms of
those sources is just not a small job.  Ken Ring, of course, could
fund this, if he was genuine about testing his theory and not just
after selling predictions.  Then again, it&#39;s perhaps not in his best
interests financially to do this - as he writes in his book above,
he&#39;s already confirmed to his own satisfaction that there is a
pattern.  So he&#39;ll keep his &quot;competitive edge&quot; rather than try to
solve the massive problem of proving a hunch scientifically.&lt;/p&gt;

&lt;p&gt;I produce this text in the hope that those who do try to take up the
task of proving or disproving Ring&#39;s predictions have something to
work with, without being forced to purchase or read his books, which
are full of crazy theories.  And I&#39;m more than happy to send my copies
of the books to someone seriously taking this challenge on.&lt;/p&gt;

&lt;p&gt;But myself, I have theories to develop in my own field.&lt;/p&gt;
</description>


	<comments>http://sam.vilain.net//sci/eq/ring_function.html#comments</comments>

</item>
<item>

	<title>commit reel</title>


	<guid isPermaLink="no">http://sam.vilain.net//comp/git/gittorrent/commit_reel.html</guid>

	<link>http://sam.vilain.net//comp/git/gittorrent/commit_reel.html</link>

	<pubDate>Thu, 10 Mar 2011 02:07:06 +0000</pubDate>
	<dcterms:modified>2011-03-13T16:00:31Z</dcterms:modified>

	<description>&lt;h1&gt;The GitTorrent Commit Reel&lt;/h1&gt;

&lt;p&gt;The commit reel is defined
in &lt;a href=&quot;http://utsl.gen.nz/gittorrent/rfc.html#organization&quot;&gt;section
5&lt;/a&gt; of the GitTorrent RFC.

&lt;p&gt;It is defined as an uncompressed stream of objects, sorted in a
particular way.  In practice, it is only the commit objects that are
sorted, and all of the dependent objects for those commits are placed
with the commit which first introduces them.

&lt;p&gt;So, you start with a repository:

&lt;p style=&quot;padding: 0.6em; text-align: center&quot;&gt;
&lt;img src=&quot;http://sam.vilain.net//../../../../files/gittorrent/big-history.png&quot; alt=&quot;a horizontal chart of a project history&quot; style=&quot;width: 90%; padding: 0.5em&quot;/&gt;
&lt;/p&gt;

&lt;p&gt;You sort the objects so that they are in reverse date order (tie
breaking is still required over &lt;tt&gt;git rev-list --date-order&lt;/tt&gt;, as
well as fetching their types and sizes, to produce the commit reel
index.

&lt;!-- git rev-list --date-order 5e8f6a7807a378259daa3b91314c8c9775fa160e | tac | perl -nle &#39;m{([0-9a-f]+)} &amp;&amp; system(&quot;git rev-list --objects $1 &quot;.(@not ? join(&quot; &quot;, &quot;--not&quot;, @not) : &quot;&quot;).&quot; | tac&quot;); push @not, $1;&#39; | perl get-lengths.pl | perl -nlaF/\\s+/ -e &#39;$F[3]=&quot;&lt;tt&gt;$F[3]&lt;/tt&gt;&quot;; print &quot;&lt;tr class=\&quot;$F[1]\&quot;&gt;&quot;,join(&quot;&quot;,map{&quot;&lt;td&gt;$_&lt;/td&gt;&quot;}@F),&quot;&lt;/tr&gt;&quot;;&#39; --&gt;

&lt;div style=&quot;text-align: center&quot;&gt;
&lt;table class=&quot;commitreel&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;SHA1 hash&lt;/th&gt;&lt;th&gt;type&lt;/th&gt;&lt;th&gt;size&lt;/th&gt;&lt;th&gt;info&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;e951c3b45579&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;971&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent/Tracker.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;4a39b387218e&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;38&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;46a6dd40761e&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;1797&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;cb169dea8427&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;72&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;6856da5de8a8&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;e028c2ec652f&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;a8c6175cb855&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;commit&quot;&gt;&lt;td&gt;6d669a0d7649&lt;/td&gt;&lt;td&gt;commit&lt;/td&gt;&lt;td&gt;177&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;d7934d77db6d&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;508&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent/PWP/Message.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;831a2dce3123&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;38&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent/PWP&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;b67f62af3325&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;2062&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent/PWP.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;8e49bb567004&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;102&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;d9cfbd2965e1&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;72&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;760c03b92584&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;58e8231290fa&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;08d6743bc1cd&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;commit&quot;&gt;&lt;td&gt;6e85df39b2e9&lt;/td&gt;&lt;td&gt;commit&lt;/td&gt;&lt;td&gt;233&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;ae59d4c6cdad&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;239&lt;/td&gt;&lt;td&gt;&lt;tt&gt;t/91-pod-coverage.t&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;4&quot; style=&quot;text-align: center&quot;&gt;...&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;commit&quot;&gt;&lt;td&gt;9f21fdc6b232&lt;/td&gt;&lt;td&gt;commit&lt;/td&gt;&lt;td&gt;504&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;7ed81b753c34&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;528&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent/Reference.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;111a3c708d42&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;321&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;blob&quot;&gt;&lt;td&gt;32f0b74a2902&lt;/td&gt;&lt;td&gt;blob&lt;/td&gt;&lt;td&gt;6311&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git/Torrent.pm&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;da591fe54883&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;72&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS/Git&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;7b702d0cf7de&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib/VCS&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;39ec1765b517&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;&lt;tt&gt;lib&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;tree&quot;&gt;&lt;td&gt;6e5bb34706f6&lt;/td&gt;&lt;td&gt;tree&lt;/td&gt;&lt;td&gt;245&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;commit&quot;&gt;&lt;td&gt;5e8f6a7807a3&lt;/td&gt;&lt;td&gt;commit&lt;/td&gt;&lt;td&gt;277&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;a commit reel&lt;/em&gt;
&lt;/div&gt;

&lt;p&gt;Then, you take the total size of the &quot;tape&quot; and divide by the
number of blocks you require.  Let&#39;s go with 4 for this example.

&lt;p style=&quot;padding: 0.6em; text-align: center&quot;&gt;
&lt;img src=&quot;http://sam.vilain.net//../../../../files/gittorrent/big-history-chunked.png&quot; alt=&quot;a horizontal chart of a project history, broken into 4 segments&quot; style=&quot;width: 90%; padding: 0.5em&quot;/&gt;
&lt;/p&gt;

&lt;p&gt;The listing from the test commit in VCS::Git::Torrent has a total
of 233141 bytes of uncompressed object data.  Let&#39;s divide that into 4
segments on 58285 byte boundaries:

&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;Chunk 1&lt;/th&gt;
&lt;th&gt;Chunk 2&lt;/th&gt;
&lt;th&gt;Chunk 3&lt;/th&gt;
&lt;th&gt;Chunk 4&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre&gt;6d669a0d7649 commit 3145
6e85df39b2e9 commit 6250
d16fe9b37f1c commit 7269
b9b5df08c542 commit 10216
9f5380b003fc commit 13715
3d954bf97808 commit 15211&lt;/pre&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;pre&gt;53b2a50ab357 commit 64934
f8a02453062d commit 76844
60f7c92ec68f commit 78718
8e4c833bc0ed commit 90027
9595e4d0ed4a commit 99113
2499769d4e5b commit 113780
2b67a6d1898a commit 116380&lt;/pre&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;pre&gt;c24dcdcd46de commit 158557
bffe789b4a13 commit 162339
cc77ed21cf03 commit 164454
1dfd53badd66 commit 170494
497da251f9dc commit 174642&lt;/pre&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;pre&gt;5b7e980dce4b commit 178961
6c1fd6467f49 commit 183229
ae4aee0f484e commit 187522
69ff2248cf7f commit 191852
40149c3f6e62 commit 199468
93083bfcc5ee commit 202889
4ff65c62c570 commit 209765
76ed2bbc552c commit 214713
9f21fdc6b232 commit 225327
5e8f6a7807a3 commit 233141&lt;/pre&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;The &lt;tt&gt;testpacking.pl&lt;/tt&gt; script in the VCS::Git::GitTorrent
distribution can generate these lists and show how much bandwidth is
wasted by using 4 separate packs:

&lt;pre&gt;$ &lt;b&gt;git update-ref refs/heads/oldeg 5e8f6a7807a3&lt;/b&gt;
$ &lt;b&gt;perl bin/testpacking.pl -n4 oldeg&lt;/b&gt;
Generating index...
Length is 233141, 4 blocks of 58286 each
do_pack(3d954bf97808)
Slice #0 (up to 58286): 15211 =&gt; 6554 (43%)
do_pack(2b67a6d1898a 9595e4d0ed4a --not 3d954bf97808)
Slice #1 (up to 116572): 101169 =&gt; 30035 (29%)
do_pack(497da251f9dc --not 2b67a6d1898a 9595e4d0ed4a)
Slice #2 (up to 174858): 58262 =&gt; 16951 (29%)
do_pack(5e8f6a7807a3 --not 497da251f9dc 9595e4d0ed4a)
Slice #3: 58499 =&gt; 10224 (17%)
Overall: 233141 =&gt; 63764 (27%)
vs Bundle: 233141 =&gt; 58297 (25%)
Overall inefficiency: 9%
$ &lt;/pre&gt;

&lt;p&gt;So what this is saying is that our repository, originally a 58k
bundle, can be split into 4 chunks, defined by the listed boundary
commits.  At the end, you get 4 bundles of varying sizes, with an
extra 5k, or 9% of overhead (yes, these packs are thin).

&lt;p&gt;So that&#39;s the idea anyway.  To run the above example, you can clone
the github repository, and install the requisite modules via CPAN:

&lt;pre&gt;$ &lt;b&gt;git clone git://github.com/samv/vcs-git-torrent.git \
        VCS-Git-Torrent&lt;/b&gt;
...
&lt;p&gt;$ &lt;b&gt;cd VCS-Git-Torrent&lt;/b&gt;
&lt;p&gt;$ &lt;b&gt;perl Makefile.PL&lt;/b&gt;
...
&lt;p&gt;$ &lt;b&gt;make&lt;/b&gt;
...
$ &lt;/pre&gt;

&lt;p&gt;If it complains about missing modules, install via CPAN:

&lt;pre&gt;$ &lt;b&gt;cpan Test::Depends Bencode IO::Plumbing&lt;/b&gt;
...
&lt;/pre&gt;

&lt;b&gt;Update:&lt;/b&gt; Figures for my git.git clone:

&lt;pre&gt;arcturus:~/src/git$ time perl ../VCS-Git-Torrent/bin/testpacking.pl -n32 master maint pu
missing fields on Reference at /usr/lib/perl5/Class/MOP/Mixin/AttributeCore.pm line 53
Generating index...
Length is 1104821033, 32 blocks of 34525658 each
do_pack(7e011c40bc6c 466fede1bdfd 76a8323ac7f5)
Slice #0 (up to 34525658): 34518888 =&gt; 1909503 (5%)
do_pack(cf1fe88ce1fb b3f041fb0f7d a9572072f0ab fdeb2fb61669 --not 7e011c40bc6c 466fede1bdfd 76a8323ac7f5)
Slice #1 (up to 69051316): 34529558 =&gt; 1417850 (4%)
do_pack(38035cf4a51c 1b83ace35e78 50b44eceed21 2326acfa95ac --not cf1fe88ce1fb b3f041fb0f7d a9572072f0ab fdeb2fb61669)
Slice #2 (up to 103576974): 34528221 =&gt; 1243468 (3%)
do_pack(c7162c1db6fe b642d9ef6433 ada5853c98c5 --not 38035cf4a51c 1b83ace35e78 f2f880f53707 50b44eceed21 2326acfa95ac cf1fe88ce1fb)
Slice #3 (up to 138102632): 34483917 =&gt; 1109044 (3%)
do_pack(f16db173a468 f25b79397c97 61ffbcb98804 8c6ab35efe63 3d234d0afacd efffea033457 53cda8d97e6e da7bad50ed08 c27d205aaefb 96bc4de85cf8 8e27364128b0 a0764cb838c2 b1e9fff7e76c 5faf64cd28bf --not c7162c1db6fe b642d9ef6433 2e1ded44f709 ada5853c98c5 cf1fe88ce1fb)
Slice #4 (up to 172628290): 34429886 =&gt; 898299 (2%)
do_pack(a2540023dcf8 3159c8dc2da4 5a03e7f25334 ab41dfbfd4f3 e4fe4b8ef7cd 9c7b0b3fc46e a06f678eb998 d0b353b1a7a2 d0c25035df48 18b0fc1ce1ef 1729fa9878ed 1f24c58724a6 f2b579256475 937a515a15f7 --not f16db173a468 f25b79397c97 61ffbcb98804 8c6ab35efe63 3d234d0afacd efffea033457 53cda8d97e6e da7bad50ed08 c27d205aaefb 96bc4de85cf8 8e27364128b0 a0764cb838c2 b1e9fff7e76c 5faf64cd28bf cf1fe88ce1fb)
...
do_pack(607a9e8aaa9b e39e0d375d1d 106a36509dc7 0e098b6d79fb 14c674e9dc52 43485d3d16e4 7a4ee28f4127 118d938812f3 cc580af88507 86386829d425 3b5ef0e216d2 36e4986f26d1 41fe87fa49cb 9e4b7ab65256 3deffc52d88d b53bb301f578 ad17f01399a9 17635fc90067 375881fa6a43 --not f8b5a8e13cb4 50ff23667020 345a38039414 3f721d1d6d6e 977e289e0d73 2ff4d1ab9ef6 69932bc6117d 1d7b1af42028 fcdd0e92d9d4 754ae192a439 3eb969973335 0cd29a037183 6e0800ef2575 df533f34a318 32d86ca53195 f0cea83f6316 4e65b538acc9 3cb1f9c98203 0eaadfe625fd cf1fe88ce1fb)
Slice #29 (up to 1035769740): 35405510 =&gt; 677049 (1%)
do_pack(609621a4ad81 eab58f1e8e5e e7e55483439b 46e09f310567 134748353b2a 500348aa6859 a4ca1465ec8a d23749fe36f1 c8998b4823cb 4d23660e79db ad3f9a71a820 b1a01e1c0762 24ab81ae4d12 c591d5f311e0 9f67d2e8279e 2aae905f23f7 a75d7b54097e 86140d56c150 9bccfcdbff3b 02edd56b84f0 204d363f5a05 7c85d2742978 a5ca8367c223 46148dd7ea41 b7b10385a84c a099469bbcf2 fe0a3cb23c79 6b87ce231d14 1ba447b8dc2e 9fa708dab1cc 1414e5788b85 aa43561ac0c1 63267de2acc1 --not 607a9e8aaa9b e39e0d375d1d 106a36509dc7 30ae47b4cc19 e9c5dcd1313d 51ea55190b6e d5f6a96fa479 0e098b6d79fb 14c674e9dc52 43485d3d16e4 7a4ee28f4127 118d938812f3 cc580af88507 86386829d425 3b5ef0e216d2 36e4986f26d1 41fe87fa49cb 9e4b7ab65256 3deffc52d88d b53bb301f578 ad17f01399a9 17635fc90067 375881fa6a43 3cb1f9c98203 cf1fe88ce1fb)
Slice #30 (up to 1070295398): 34563903 =&gt; 641336 (1%)
do_pack(8644f69753e0 --not 609621a4ad81 eab58f1e8e5e e7e55483439b d52dc4b10b2f ebc9d420566d f740cc25298e 492cf3f72f9d 46e09f310567 134748353b2a 500348aa6859 a4ca1465ec8a d23749fe36f1 c8998b4823cb 4d23660e79db ad3f9a71a820 b1a01e1c0762 24ab81ae4d12 c591d5f311e0 9f67d2e8279e 2aae905f23f7 a75d7b54097e 86140d56c150 9bccfcdbff3b 02edd56b84f0 204d363f5a05 7c85d2742978 a5ca8367c223 46148dd7ea41 b7b10385a84c a099469bbcf2 fe0a3cb23c79 6b87ce231d14 1ba447b8dc2e 9fa708dab1cc 1414e5788b85 aa43561ac0c1 63267de2acc1 17635fc90067 cf1fe88ce1fb)
Slice #31: 34528236 =&gt; 603576 (1%)
Overall: 1104821033 =&gt; 26021211 (2%)
vs Bundle: 1104821033 =&gt; 23888867 (2%)
Overall inefficiency: 8%

real	16m54.074s
user	4m30.961s
sys	11m9.302s&lt;/pre&gt;

&lt;p&gt;That&#39;s dividing the pack defined by three branches into 32
generally evenly-sized chunks.  Actually the chunks at the beginning
are larger than the later ones, which are all between 500kB and 950kB.
While they are not perfectly sized, at least they can be generated by
any node with the underlying objects, without transferring a binary
pack.

&lt;p&gt;However, what will matter is that execution time; the Perl
prototype is needlessly inefficient.  With a revision cache, we should
be able to reduce that time drastically and hopefully be able to
retrieve the boundary commits for a given range of commits and number
of chunks in milliseconds; the remaining work is mostly on &lt;tt&gt;git
pack-objects&lt;/tt&gt;, but given we&#39;ve drastically reduced the work it has
to do, the overall load on the network should not be drastically
higher; and because peers can potentially trade these blocks, the
workload can be spread out.
</description>


	<comments>http://sam.vilain.net//comp/git/gittorrent/commit_reel.html#comments</comments>

</item>

</channel>
</rss>

