<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jack&#039;s Personal Blog</title>
	<atom:link href="http://jaxwebster.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaxwebster.wordpress.com</link>
	<description>My projects</description>
	<lastBuildDate>Tue, 24 Jan 2012 12:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jaxwebster.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jack&#039;s Personal Blog</title>
		<link>http://jaxwebster.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jaxwebster.wordpress.com/osd.xml" title="Jack&#039;s Personal Blog" />
	<atom:link rel='hub' href='http://jaxwebster.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Expected number of different birthdays</title>
		<link>http://jaxwebster.wordpress.com/2012/01/24/expected-number-of-different-birthdays/</link>
		<comments>http://jaxwebster.wordpress.com/2012/01/24/expected-number-of-different-birthdays/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 11:15:02 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Puzzles]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=1013</guid>
		<description><![CDATA[Suppose there are n people in a room. It is the well known &#8216;birthday problem&#8216; that if n &#62; 22 the probability of two people sharing the same birthday is greater than 50%, and so it is very likely that there aren&#8217;t n unique birthdays. However, what is the expected number of unique birthdays? [Let us assume there are D days [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1013&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Suppose there are <em>n</em> people in a room. It is the well known &#8216;<a href="http://books.google.co.uk/books?id=Gmm_6VE_hdAC&amp;lpg=PA124&amp;ots=LQxDYYYHKX&amp;dq=2%205%2013%20perfect%20square%20set&amp;pg=PA124#v=onepage&amp;q=2%205%2013%20perfect%20square%20set&amp;f=false" target="_blank">birthday problem</a>&#8216; that if <em>n &gt; 22</em> the probability of two people sharing the same birthday is greater than 50%, and so it is very likely that there aren&#8217;t <em>n</em> unique birthdays. However, what is the <em>expected</em> number of unique birthdays?</p>
<p>[Let us assume there are <em>D</em> days in a year, in order to be more general.]</p>
<p>Actually, the expected number of unique birthdays is very easy to calculate. Let <em>e(n)</em> denote the expected number of unique birthdays when there are <em>n</em> people.</p>
<p>Choose one of the <em>n</em> people. Then either they have a different birthday than everybody else, or they don&#8217;t. They have a different birthday than the other <em>n-1</em> with probability <img src='http://s0.wp.com/latex.php?latex=%5Cleft%28%5Cfrac%7BD-1%7D%7BD%7D%5Cright%29%5E%7Bn-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;left(&#92;frac{D-1}{D}&#92;right)^{n-1}' title='&#92;left(&#92;frac{D-1}{D}&#92;right)^{n-1}' class='latex' />. Let us write <img src='http://s0.wp.com/latex.php?latex=%5Cphi&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;phi' title='&#92;phi' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=%28%5Cfrac%7BD-1%7D%7BD%7D%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(&#92;frac{D-1}{D})' title='(&#92;frac{D-1}{D})' class='latex' />, and so the probability that they have a different birthday to everybody else is <img src='http://s0.wp.com/latex.php?latex=%5Cphi%5E%7Bn-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;phi^{n-1}' title='&#92;phi^{n-1}' class='latex' />. In this case, the expected number of unique birthdays is <em>1+e(n-1)</em>. In the other case, which thus has probability  <img src='http://s0.wp.com/latex.php?latex=1+-+%5Cphi%5E%7Bn-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 - &#92;phi^{n-1}' title='1 - &#92;phi^{n-1}' class='latex' />, the expected number is just <em>e(n-1)</em>.</p>
<p>Hence,</p>
<p style="text-align:center;"> <img src='http://s0.wp.com/latex.php?latex=e%28n%29+%3D+%5Cphi%5E%7Bn-1%7D%281%2Be%28n-1%29%29+%2B+%281-%5Cphi%5E%7Bn-1%7D%29e%28n-1%29+%3D+%5Cphi%5E%7Bn-1%7D+%2B+e%28n-1%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='e(n) = &#92;phi^{n-1}(1+e(n-1)) + (1-&#92;phi^{n-1})e(n-1) = &#92;phi^{n-1} + e(n-1)' title='e(n) = &#92;phi^{n-1}(1+e(n-1)) + (1-&#92;phi^{n-1})e(n-1) = &#92;phi^{n-1} + e(n-1)' class='latex' /></p>
<p>As <em>e(0) = 1</em>, it follows that:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=e%28n%29+%3D+%5Cphi%5E%7Bn-1%7D+%2B+%5Cphi%5E%7Bn-2%7D+%2B+...+%2B+%5Cphi+%2B+1+%3D+%28%5Cphi%5En+-+1%29%2F%28%5Cphi-1%29+%3D+D%281-%5Cphi%5En%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='e(n) = &#92;phi^{n-1} + &#92;phi^{n-2} + ... + &#92;phi + 1 = (&#92;phi^n - 1)/(&#92;phi-1) = D(1-&#92;phi^n)' title='e(n) = &#92;phi^{n-1} + &#92;phi^{n-2} + ... + &#92;phi + 1 = (&#92;phi^n - 1)/(&#92;phi-1) = D(1-&#92;phi^n)' class='latex' /></p>
<p style="text-align:left;"> (As one should expect, as <em>n</em> tends to infinity this tends to <em>D</em>, as it is almost certain that every birthday gets taken)</p>
<p style="text-align:left;">For instance, with <em>D = 365,</em> you should expect about 21 different birthdays when there are 22 people, or 46 different birthdays when there are 50 people. When there are 1000 people, there will be around 241 different birthdays. Perhaps it is quite surprising that you should expect there to be so many unclaimed birthdays with so many people!</p>
<p style="text-align:left;">Consider the following problem:</p>
<p style="text-align:left;padding-left:30px;"><span style="color:#0000ff;">Suppose a factory is in a country with the following law: Every worker must work every day, unless it is one of the workers birthdays. In this case, everybody has the day off. How many people should you hire in order to maximize the expected number of man-days worked every year?</span></p>
<p style="text-align:left;">Naturally, if there is only a single person he will certainly work 364 days (<em>D-1</em>) a year. If there are two, they are likely to have different birthdays and so each will work 363 days a year (<em>D-2</em>), giving a total of 726 days.</p>
<p style="text-align:left;">The expected number of man days worked will be the number of people, <em>n</em>, multiplied by the expected number of non-birthdays. The number of non-birthdays is just <em>D &#8211; e(n)</em>. Thus we are trying to maximise the following:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=W%28n%29+%3D+n%28D-e%28n%29%29+%3D+nD%5Cphi%5En&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='W(n) = n(D-e(n)) = nD&#92;phi^n' title='W(n) = n(D-e(n)) = nD&#92;phi^n' class='latex' /></p>
<p style="text-align:left;">Considering <em>n</em> as a real number instead of an integer, one can find that the function <em>W</em> has a maximum at <img src='http://s0.wp.com/latex.php?latex=n+%3D+-1%2F%5Clog%5Cphi+%3D+-1%2F%5Clog%281-1%2FD%29+%5Capprox+D+-+0.5&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n = -1/&#92;log&#92;phi = -1/&#92;log(1-1/D) &#92;approx D - 0.5' title='n = -1/&#92;log&#92;phi = -1/&#92;log(1-1/D) &#92;approx D - 0.5' class='latex' />. Thus the maximum must be around this, and so for all but the smallest D (where the approximation is not valid), the maximum will be either <em>D-1 </em>or <em>D.</em></p>
<p style="text-align:left;">In fact, it is easily seen that <em>W(D) = W(D-1). </em>It follows that one should employee either <em>D</em> or <em>D-1</em> people. Since you will probably have to pay these workers, it is better to go for the <em>D-1</em> people.</p>
<p>A simple change of this problem is to consider that for each man-day of work in the factory, you earn <em>£a</em>. However, you must pay each worker <em>£y</em> per year. Then instead you are maximising the yearly income of:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=V%28n%29+%3DanD%5Cphi%5En+-+ny&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='V(n) =anD&#92;phi^n - ny' title='V(n) =anD&#92;phi^n - ny' class='latex' /></p>
<p>The derivative of this is <img src='http://s0.wp.com/latex.php?latex=V%27%28n%29+%3D+aD%5Cphi%5En+%2B+a+D+n+%5Cphi%5En+%5Clog+%5Cphi+-+y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='V&#039;(n) = aD&#92;phi^n + a D n &#92;phi^n &#92;log &#92;phi - y' title='V&#039;(n) = aD&#92;phi^n + a D n &#92;phi^n &#92;log &#92;phi - y' class='latex' />. Hence if <img src='http://s0.wp.com/latex.php?latex=V%27%28n%29+%3D+0&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='V&#039;(n) = 0' title='V&#039;(n) = 0' class='latex' /> we must have:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=y%2FaD+%3D+%5Cphi%5En%281%2Bn+%5Clog+%5Cphi%29+%3D+e%5E%7Bn+%5Clog+%5Cphi%7D+%28+1+%2B+n+%5Clog%5Cphi+%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='y/aD = &#92;phi^n(1+n &#92;log &#92;phi) = e^{n &#92;log &#92;phi} ( 1 + n &#92;log&#92;phi )' title='y/aD = &#92;phi^n(1+n &#92;log &#92;phi) = e^{n &#92;log &#92;phi} ( 1 + n &#92;log&#92;phi )' class='latex' /></p>
<p style="text-align:left;">Define <img src='http://s0.wp.com/latex.php?latex=w+%3D+1+%2B+n%5Clog%5Cphi&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='w = 1 + n&#92;log&#92;phi' title='w = 1 + n&#92;log&#92;phi' class='latex' /> so that:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=y%2FaD+%3D+w+e%5E%7Bw-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='y/aD = w e^{w-1}' title='y/aD = w e^{w-1}' class='latex' /></p>
<p style="text-align:left;">And so we have that:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=ey%2FaD+%3D+w+e%5E%7Bw%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='ey/aD = w e^{w}' title='ey/aD = w e^{w}' class='latex' /></p>
<p style="text-align:left;">Let us note that <img src='http://s0.wp.com/latex.php?latex=y%2FaD&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='y/aD' title='y/aD' class='latex' /> is the ratio between what you pay the worker per year, and what he earns for you per year if he were to work every day. Let us call this ratio <em>P</em>.</p>
<p style="text-align:left;">Note that when <em>z</em> is positive, the equation <img src='http://s0.wp.com/latex.php?latex=z+%3D+w+e%5Ew&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='z = w e^w' title='z = w e^w' class='latex' /> always has a unique solution. The function which takes <em>z</em> to <em>w</em> is called the &#8216;<a href="http://en.wikipedia.org/wiki/Lambert_W_function">Lambert W Function</a>&#8216;. Hence we have that:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=W%28eP%29+%3D+W%28ey%2FaD%29+%3D+w+%3D+1+%2B+n%5Clog%5Cphi&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='W(eP) = W(ey/aD) = w = 1 + n&#92;log&#92;phi' title='W(eP) = W(ey/aD) = w = 1 + n&#92;log&#92;phi' class='latex' /></p>
<p style="text-align:left;">It follows that:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=n+%3D+%28W%28eP%29-1%29%2F%5Clog%5Cphi&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n = (W(eP)-1)/&#92;log&#92;phi' title='n = (W(eP)-1)/&#92;log&#92;phi' class='latex' /></p>
<p style="text-align:left;">As <em>P</em> will be small, and in particular less than 1, an approximation of the Lambert W function may be useful. We will use the Taylor Series approximation <img src='http://s0.wp.com/latex.php?latex=W%28x%29+%5Capprox+x-x%5E2%2B3x%5E3%2F2+-+8x%5E4%2F3&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='W(x) &#92;approx x-x^2+3x^3/2 - 8x^4/3' title='W(x) &#92;approx x-x^2+3x^3/2 - 8x^4/3' class='latex' />. Along with the usual log approximation, this gives:</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=n+%5Capprox+D-%5Cfrac%7Be+y%7D%7Ba%7D%2B%5Cfrac%7Be%5E2+y%5E2%7D%7Ba%5E2+D%7D-%5Cfrac%7B3+e%5E3+y%5E3%7D%7B2+a%5E3+D%5E2%7D%2B%5Cfrac%7B8+e%5E4+y%5E4%7D%7B3+a%5E4+D%5E3%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n &#92;approx D-&#92;frac{e y}{a}+&#92;frac{e^2 y^2}{a^2 D}-&#92;frac{3 e^3 y^3}{2 a^3 D^2}+&#92;frac{8 e^4 y^4}{3 a^4 D^3}' title='n &#92;approx D-&#92;frac{e y}{a}+&#92;frac{e^2 y^2}{a^2 D}-&#92;frac{3 e^3 y^3}{2 a^3 D^2}+&#92;frac{8 e^4 y^4}{3 a^4 D^3}' class='latex' /></p>
<p style="text-align:left;">Or, in terms of <em>P</em>,</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=n+%5Capprox+%5Cfrac%7B1%7D%7B6%7D+D+%5Cleft%286-6+e+P%2B6+e%5E2+P%5E2-9+e%5E3+P%5E3%2B16+e%5E4+P%5E4%5Cright%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n &#92;approx &#92;frac{1}{6} D &#92;left(6-6 e P+6 e^2 P^2-9 e^3 P^3+16 e^4 P^4&#92;right)' title='n &#92;approx &#92;frac{1}{6} D &#92;left(6-6 e P+6 e^2 P^2-9 e^3 P^3+16 e^4 P^4&#92;right)' class='latex' /></p>
<p style="text-align:left;">For instance, suppose that I pay my workers £18,000 per year. They generate about £350 in profit for me each day they work. They work every day, except for when one of them is a birthday. By evaluating the <em>W</em> function exactly, I find out that the maximum expected profit is when there are around 260 workers. The approximation yields 269 workers. If the profit they generate per day were to be decreased to £75then the approximation is completely inaccurate. Whilst I should only employee 72 people, the approximation gives over 7,000!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/1013/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/1013/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/1013/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1013&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2012/01/24/expected-number-of-different-birthdays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>
	</item>
		<item>
		<title>Generalising Sylvester’s Law of Inertia</title>
		<link>http://jaxwebster.wordpress.com/2012/01/14/a-bit-about-sylvesters-law-of-inertia/</link>
		<comments>http://jaxwebster.wordpress.com/2012/01/14/a-bit-about-sylvesters-law-of-inertia/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 11:23:27 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=945</guid>
		<description><![CDATA[Sylvester&#8217;s Law of Inertia is a statement about how the Eigenvalues of Hermitian matrices change under matrix *-congruence. Equivalently, it is a statement about possible forms of diagonal, normalised matrix representations of sesquilinear forms. Using the former interpretation, it is possible to generalise the theorem a bit. This generalisation is in fact of practical importance. (This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=945&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Sylvester%27s_law_of_inertia" target="_blank">Sylvester&#8217;s Law of Inertia</a> is a statement about how the Eigenvalues of Hermitian matrices change under <a href="http://en.wikipedia.org/wiki/Matrix_congruence" target="_blank">matrix *-congruence</a>. Equivalently, it is a statement about possible forms of diagonal, normalised matrix representations of sesquilinear forms.</p>
<p>Using the former interpretation, it is possible to generalise the theorem a bit. This generalisation is in fact of practical importance. (This importance is not described here. Essentially it naturally arises because if the <a href="http://en.wikipedia.org/wiki/Covariance_matrix" target="_blank">covariance matrix</a> of a random vector X is R, then the covariance matrix of AX is ARA&#8217;, where a dash denotes conjugate-transpose).</p>
<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/72585197/content?start_page=1&view_mode=list&access_key=key-guin3k2va1bj1ioolwe" data-auto-height="true" scrolling="no" id="scribd_72585197" width="100%" height="500" frameborder="0"></iframe>
<div style="font-size:10px;text-align:center;width:100%"><a href="http://www.scribd.com/doc/72585197">View this document on Scribd</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/945/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=945&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2012/01/14/a-bit-about-sylvesters-law-of-inertia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>
	</item>
		<item>
		<title>The Axiom of Choice for Finite Sets</title>
		<link>http://jaxwebster.wordpress.com/2012/01/07/the-axiom-of-choice-for-finite-sets/</link>
		<comments>http://jaxwebster.wordpress.com/2012/01/07/the-axiom-of-choice-for-finite-sets/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 19:44:26 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=1005</guid>
		<description><![CDATA[Define Cn as the statement that every set (irrespective of cardinality) with all elements of cardinality n has a choice function. One fact is that C2 implies C4. This document explores these implications.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1005&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Define C<sub>n</sub> as the statement that every set (irrespective of cardinality) with all elements of cardinality n has a choice function. One fact is that C<sub>2</sub> implies C<sub>4</sub>.</p>
<p>This document explores these implications.</p>
<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/77484249/content?start_page=1&view_mode=list&access_key=key-29yudfxjbcvnymqaccha" data-auto-height="true" scrolling="no" id="scribd_77484249" width="100%" height="500" frameborder="0"></iframe>
<div style="font-size:10px;text-align:center;width:100%"><a href="http://www.scribd.com/doc/77484249">View this document on Scribd</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/1005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/1005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/1005/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1005&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2012/01/07/the-axiom-of-choice-for-finite-sets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>
	</item>
		<item>
		<title>Evra and the Coin Toss (A little story hidden in the Suarez judgement)</title>
		<link>http://jaxwebster.wordpress.com/2012/01/05/evra-and-the-coin-toss-a-little-story-hidden-in-the-suarez-judgement/</link>
		<comments>http://jaxwebster.wordpress.com/2012/01/05/evra-and-the-coin-toss-a-little-story-hidden-in-the-suarez-judgement/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 00:00:37 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Football]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=1001</guid>
		<description><![CDATA[The FA recently published the reasons for their judgement in the Suarez/Evra case. Suarez was found guilty of  using racist language to Evra during the Liverpool vs Manchester United match in October 2011, which finished 1-1. I read the &#8216;Reasons&#8217; report, which I did think was interesting (and surprisingly readable). Comments on the judgement are easy to come by, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1001&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The FA recently <a href="http://www.thefa.com/TheFA/Disciplinary/NewsAndFeatures/2011/~/media/Files/PDF/TheFA/Disciplinary/Written%20reasons/FA%20v%20Suarez%20Written%20Reasons%20of%20Regulatory%20Commission.ashx" target="_blank">published the reasons for their judgement in the Suarez/Evra case</a>. Suarez was found guilty of  using racist language to Evra during the Liverpool vs Manchester United match in October 2011, which finished 1-1.</p>
<p>I read the &#8216;Reasons&#8217; report, which I did think was interesting (and surprisingly readable). Comments on the judgement are easy to come by, I&#8217;m sure, so I won&#8217;t give any more here.  However, I did like the following little story. It is paragraph 329, and it was from evidence put forward from the defence to show claim that Evra may have been angry enough to make the whole thing up. The evidence is mostly provided by Marriner, the referee for the game:</p>
<blockquote><p><em>Mr Evra was seen to dispute the outcome of the coin toss with the referee. Mr Marriner explained that he used a FIFA coin which is blue on one side and yellow on the other. He asked Mr Evra, as the visiting captain, to call the colour. Mr Marriner tossed the coin, it came down yellow, and he awarded it to Steven Gerrard who elected to stay in their current ends. Manchester United had kick off. Mr Evra remonstrated that he had called correctly but, Mr Marriner said, he had not. Mr Evra then spoke to Ryan Giggs about it, and Mr Marriner walked over to Mr Evra to assure him that he (Mr Marriner) had got it right. Mr Evra&#8217;s evidence was that when such a coin was used, he always called yellow given that the alternative, blue, is a Manchester City colour, which he would never call. The toss came down yellow and so Mr Evra knew that he had won it. He particularly wanted to change ends at the start, he explained to the referee that he had called yellow, and why he had done so. Mr Evra was angry but the referee did not change his mind.</em></p></blockquote>
<p>I liked the reason at the end. It seems funny to me that such things would influence him. It&#8217;s good to hear it, even though I&#8217;m an Arsenal fan.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/1001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/1001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/1001/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=1001&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2012/01/05/evra-and-the-coin-toss-a-little-story-hidden-in-the-suarez-judgement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>
	</item>
		<item>
		<title>Work on Multimedia Fusion extensions</title>
		<link>http://jaxwebster.wordpress.com/2011/12/19/work-on-multimedia-fusion-extensions/</link>
		<comments>http://jaxwebster.wordpress.com/2011/12/19/work-on-multimedia-fusion-extensions/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 19:31:47 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Chart Object]]></category>
		<category><![CDATA[Clickteam]]></category>
		<category><![CDATA[Ini++]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Spellcheck Object]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=994</guid>
		<description><![CDATA[A few of my extensions have known problems with it. I don&#8217;t particularly enjoy working on these projects; actually, I pretty much hate it. I have much better things I could be doing. However,  I will try to make the changes when I can. The known problems are: Chart Object No support for HWA, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=994&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A few of my extensions have known problems with it. I don&#8217;t particularly enjoy working on these projects; actually, I pretty much hate it. I have much better things I could be doing. However,  I will try to make the changes when I can.</p>
<p>The known problems are:</p>
<p style="padding-left:30px;"><span style="color:#000080;"><strong>Chart Object</strong></span></p>
<ul style="padding-left:30px;">
<li>No support for HWA, which means it doesn&#8217;t work in the latest version of MMF</li>
<li>No support for Unicode titles, etc.</li>
</ul>
<p style="padding-left:30px;"><span style="color:#000080;"><strong>Ini++</strong></span></p>
<ul style="padding-left:30px;">
<li>Crash to do with encryption</li>
</ul>
<p style="padding-left:30px;"><span style="color:#000080;"><strong>String Replacer</strong></span></p>
<ul style="padding-left:30px;">
<li><a href="http://community.clickteam.com/showthread.php?t=67599" target="_blank">Unknown crash</a></li>
</ul>
<div style="padding-left:30px;"><span style="color:#000080;"><strong>Spell check Object</strong></span></div>
<ul style="padding-left:30px;">
<li>Lack of support for additional characters (such as accented characters)</li>
</ul>
<p>None of these will be much fun at all to work on, or particularly rewarding, so don&#8217;t expect progress to be quick. However, hopefully it will happen someday.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/994/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=994&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/12/19/work-on-multimedia-fusion-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>
	</item>
		<item>
		<title>Why so many versions of Ini++?</title>
		<link>http://jaxwebster.wordpress.com/2011/12/16/why-so-many-versions-of-ini/</link>
		<comments>http://jaxwebster.wordpress.com/2011/12/16/why-so-many-versions-of-ini/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 17:56:15 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Clickteam]]></category>
		<category><![CDATA[Ini++]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[multimedia fusion]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=990</guid>
		<description><![CDATA[It is often asked why there are so many versions of the Ini++ object. I&#8217;ve explained the answer a few times on the Clickteam forums, but I thought it would be worth while explaining it here too. The answer is: There&#8217;s not. The situation is that there are versions of the Ini++ object. The original, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=990&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is often asked why there are so many versions of the <a href="https://sites.google.com/site/jlnwebster/multimedia-fusion/extension-list/ini">Ini++ object</a>. I&#8217;ve explained the answer a few times on the Clickteam forums, but I thought it would be worth while explaining it here too.</p>
<p>The answer is: There&#8217;s not.</p>
<p>The situation is that there are versions of the Ini++ object. The original, and Ini++ v1.5. The latter was made when the Ini++ object behaviour changed. In particular, it no longer enforced items and groups to be in sorted order. Therefore I could not release this as an update to the original, as it could break peoples code. To make things worse, this was not something which could be an option either (without some rewriting of code in the original). It was called Ini++ v1.5 as a nod to Multimedia Fusion v1.5, which was Multimedia Fusion v1.0 plus many new features.</p>
<p>Naturally, there have been different releases of the &#8216;Ini++ Object&#8217; and the &#8216;Ini++ v1.5&#8242; objects, but both kept calling themselves that name. There is no &#8216;Ini++ v1.6&#8242; object. There is no  &#8217;Ini++ v1.1&#8242;. Just the two mentioned. They have the file names &#8216;Ini++.mfx&#8217; and &#8216;Ini++15.mfx&#8217; respectively.</p>
<p>So why the confusion?</p>
<p>The problem stems from the fact that although the behaviour of Ini++ v1.5 changed from that of the original, it was still compatible with the original Ini++ object. That is, if you took &#8216;Ini++15.mfx&#8217; and renamed it to &#8216;Ini++.mfx&#8217;, then any MMF application using the old version would suddenly be &#8216;upgraded&#8217; to the new version. If you knew your program wasn&#8217;t going to stop working because of the changes, this was a great way to make use of the new features without copying over all the events to the new object. Quite a lot of people did this.</p>
<p>It was entirely deliberate that you could do this. In fact, Ini++ v1.5 has a few actions which have no menu items exactly for this purpose. For if they were removed from the code, then this renaming method might not work.</p>
<p>You would expect that if you did this you would see two identical looking objects in the &#8216;Create new object&#8217; dialog. The same icon, the same text: &#8216;Ini++ v1.5 Object&#8217;. In fact, this is not what you see. Multimedia Fusion will rename the second object to ensure it doesn&#8217;t have the same name, so you actually end up with &#8216;Ini++ v1.5 Object&#8217; and &#8216;Ini++ v1.5 Object 2&#8242;.</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/dialog.png"><img class="aligncenter size-full wp-image-991" title="dialog" src="http://jaxwebster.files.wordpress.com/2011/12/dialog.png?w=630&#038;h=401" alt="" width="630" height="401" /></a></p>
<p>The first one (selected in the picture) actually has the file name &#8216;Ini++.mfx&#8217; and the second has the file name &#8216;Ini++15.mfx&#8217;.</p>
<p>An earlier version of the Ini++ v1.5 Object called itself simply the &#8216;Ini++ v1.5&#8242; object. Therefore if both &#8216;Ini++.mfx&#8217; and &#8216;Ini++15.mfx&#8217; were that version, you would in fact get &#8216;Ini++ v1.5&#8242; and &#8216;Ini++ v1.6&#8242; in the dialog, as it intelligently renames. <strong><em>Therefore any object calling itself &#8216;Ini++ v1.6&#8242; is just an illusion</em></strong>. (Indeed, the title of the object was renamed after it was noticed this happened to avoid this confusion)</p>
<p>But perhaps you are seeing this anyway, despite not being one of the people who renamed &#8216;Ini++15.mfx&#8217; to &#8216;Ini++.mfx&#8217;? Unfortunately, this is common. The first installer for the first release of Ini++ v1.5 actually installed the file as &#8216;Ini++.mfx&#8217;, which was obviously complicated the situation. (I didn&#8217;t make this installer. Later installers install it correctly.) I believe that the one of the extension updaters for MMF will also distribute Ini++ v1.5 with the filename &#8216;Ini++.mfx&#8217;. Combined, this means that nearly everybody will have this problem.</p>
<p>Perhaps I will solve this in future by having the next installer install the original version of Ini++ as well. Or perhaps by making sure it is uninstalled (as you shouldn&#8217;t really be using it anymore anyway &#8211; it exists only for compatibility reasons now).</p>
<p>So which version is the latest version? Well, it is quite possible they are both the same version. Make sure you are using the version with the file name &#8216;Ini++15.mfx&#8217; (you can tell this by selecting the object and clicking the &#8216;About&#8217; tab in the properties viewer). Ensure this is up to date by installing <a href="https://sites.google.com/site/jlnwebster/multimedia-fusion/extension-list/ini/ChartandIni%2B%2B1.5.zip?attredirects=0&amp;d=1">the latest release</a>. If you don&#8217;t use &#8216;Ini++.mfx&#8217;, perhaps you should delete it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/990/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=990&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/12/16/why-so-many-versions-of-ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/dialog.png" medium="image">
			<media:title type="html">dialog</media:title>
		</media:content>
	</item>
		<item>
		<title>Inserting German characters in Windows (Umlauts and eszett)</title>
		<link>http://jaxwebster.wordpress.com/2011/12/13/inserting-german-characters-in-windows-umlauts-and-eszett/</link>
		<comments>http://jaxwebster.wordpress.com/2011/12/13/inserting-german-characters-in-windows-umlauts-and-eszett/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 12:53:56 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[German]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=985</guid>
		<description><![CDATA[I&#8217;m learning German at the moment, and so I sometimes type things in German. I don&#8217;t have a German keyboard, so it can be awkward to insert character which aren&#8217;t using in English, like the eszett (ß) or umlauts (ä, ö and ü). On a Mac it is actually very easily &#8211; press Command+U and then dots [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=985&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m learning German at the moment, and so I sometimes type things in German. I don&#8217;t have a German keyboard, so it can be awkward to insert character which aren&#8217;t using in English, like the eszett (ß) or umlauts (ä, ö and ü). On a Mac it is actually very easily &#8211; press Command+U and then dots appear in the edit box, and the next button you pretty will have the desired diaeresis.</p>
<p>In fact, it isn&#8217;t true that the diaeresis is not used in English. Some people will use them on the second vowel when there are two vowels together, to indicate they are said as two separate sounds. For instance, one might write &#8216;coöperate&#8217;, to show that it is said &#8216;co-operate&#8217;, rather than &#8216;coop-erate&#8217;. &#8216;Naïve&#8217; is another one.</p>
<p>So, I solved this problem by writing a program called Umalut. It sits in your system tray and when you either click the icon, or press a shortcut (hard coded to Windows Key + S at the moment), it will insert an umlauted character if a vowel or &#8216;y&#8217; is pressed, or an eszett if &#8216;s&#8217; is pressed.</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/umlaut.png"><img class="aligncenter size-full wp-image-986" title="umlaut" src="http://jaxwebster.files.wordpress.com/2011/12/umlaut.png?w=630" alt=""   /></a></p>
<p>It can generate the character in two ways &#8211; either by generated a WM_CHAR message directly to the window that it stole the keypress from, or by simulating input and typing out the Alt-code for the character. It is written in C++ and consists of two projects &#8211; a GUI and the hook DLL.</p>
<p>The problem is, I&#8217;ve broken it at the moment somehow, and I&#8217;ve just realised that when you are using Microsoft Word, it is massively easy to insert characters. The default shortcut to insert an umlaut is to press Control+Shift+; and then press the required vowel. For the eszett, it is Control+&amp;, and then &#8216;s&#8217; (on my keyboard, this is the same as Control+Shift+7 and then &#8216;s&#8217;).</p>
<p>By going into the Symbol shortcut dialog (Insert tab, Symbol, More symbols&#8230;, select the eszett and then click &#8216;Shortcut&#8217;) you can change this shortcut. I&#8217;ve set it to Control+Shift+; and then &#8216;s&#8217;, so it is the same to access any of the characters I am interested in.</p>
<p>What is more, you can set up auto-correct text. I&#8217;ve made it so that &#8216;..a&#8217; (for instance) is translated into &#8216;ä&#8217;, which is very convenient. I reccomend these to everybody else, too!</p>
<p>For now, I&#8217;m not going to bother with releasing the Umlaut program. However I might in the future if there is any demand for it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/985/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/985/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/985/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=985&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/12/13/inserting-german-characters-in-windows-umlauts-and-eszett/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/umlaut.png" medium="image">
			<media:title type="html">umlaut</media:title>
		</media:content>
	</item>
		<item>
		<title>“I think that usually with 10 points all the teams go through always, 99 percent” &#8211; The Champions League Group Stage</title>
		<link>http://jaxwebster.wordpress.com/2011/12/09/i-think-that-usually-with-10-points-all-the-teams-go-through-always-99-percent-the-champions-league-group-stage/</link>
		<comments>http://jaxwebster.wordpress.com/2011/12/09/i-think-that-usually-with-10-points-all-the-teams-go-through-always-99-percent-the-champions-league-group-stage/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 21:45:43 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Football]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=979</guid>
		<description><![CDATA[Manchester City failed to qualify from their group in the Champions League despite getting ten points, prompting their manager, Mancini, to say what is quoted in the title of this post. A group in the Champions League has 4 teams in it. Each team player each other twice. There are three points for a win, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=979&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Manchester City failed to qualify from their group in the Champions League despite getting ten points, prompting their manager, Mancini, to say what is quoted in the title of this post.</p>
<p>A group in the Champions League has 4 teams in it. Each team player each other twice. There are three points for a win, one for a draw, none for a loss. Since 1999-2000, the top 2 teams (ordered by points, then in the case of ties head-to-head goal difference, and then general goal difference) in each group quality to the next round.</p>
<p>Is it true that ten points has guaranteed qualification 99% of the time? Well, it&#8217;s not too far out at 2.5%. On 158 occasions has a team achieved 10 or more points, since the 1999-2000 season (but excluding this season). Only four of those teams failed to qualify, and each of those got exactly 10 points.</p>
<p>These were:</p>
<ul>
<li>Werder Bremen in 2003-4 (Barcelona got second play with 11 points)</li>
<li> Olympiacos and Dynamo Kyiv in 2005-6 (Liverpool and Real Madrid went through in second place with 10 and 11 points respectively)</li>
<li>PSV Eindhoven in 2006-7 (Deportivo had 10 points but went through instead of them).</li>
</ul>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/pie.png"><img class="aligncenter size-full wp-image-980" title="pie" src="http://jaxwebster.files.wordpress.com/2011/12/pie.png?w=630" alt=""   /></a></p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/bar.png"><img class="aligncenter size-full wp-image-981" title="bar" src="http://jaxwebster.files.wordpress.com/2011/12/bar.png?w=630" alt=""   /></a></p>
<p>Whilst in practice no team has ever failed to go through with 11 points, it is in fact possible to still miss out with 12 points. Imagine three teams A, B and C who win all their home games against each other (and so lose all their away games against each other), but all beat D both home and away. Then you get the following table, where C misses out on qualification:</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/team.png"><img class="aligncenter size-full wp-image-982" title="team" src="http://jaxwebster.files.wordpress.com/2011/12/team.png?w=630" alt=""   /></a></p>
<p>13 points does ensure you qualification. As suppose you fail to qualify with 13 points. Then another two teams must get at least 13 points, and so there are at least 39 points on the board. But it is only possible to get 36 points on the board, as there are 12 games and each game can add up to three points on the board.</p>
<p>In reality, no team has qualified with less than 7 points. However, teams have qualified with exactly 7 points. Werder Bremen in 2005-6 and Lokomotiv Moscow in 2002-3 both came runners up to a high-scoring Barcelona. In theory, it is possible to get four points and still qualify. Imagine team A wins every game and teams B, C and D draw against each other. Then you get the following table:</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/12/teamb.png"><img class="aligncenter size-full wp-image-983" title="teamb" src="http://jaxwebster.files.wordpress.com/2011/12/teamb.png?w=630" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/979/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/979/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=979&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/12/09/i-think-that-usually-with-10-points-all-the-teams-go-through-always-99-percent-the-champions-league-group-stage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/pie.png" medium="image">
			<media:title type="html">pie</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/bar.png" medium="image">
			<media:title type="html">bar</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/team.png" medium="image">
			<media:title type="html">team</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/12/teamb.png" medium="image">
			<media:title type="html">teamb</media:title>
		</media:content>
	</item>
		<item>
		<title>The Determinate of the Anti-Diagonal Matrix</title>
		<link>http://jaxwebster.wordpress.com/2011/11/25/the-determinate-of-the-anti-diagonal-matrix/</link>
		<comments>http://jaxwebster.wordpress.com/2011/11/25/the-determinate-of-the-anti-diagonal-matrix/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 12:52:33 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=960</guid>
		<description><![CDATA[Let us define the &#8220;anti-diagonal&#8221; matrix of dimension k, Jk, as matrix with ones on the anti-diagonal and zeros everywhere else. For instance, the first few matrices are: The question is to find the determinate of Jk. It&#8217;s a straight forward question, but I am writing a blog post on it because it is interesting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=960&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let us define the &#8220;anti-diagonal&#8221; matrix of dimension k, J<sub>k</sub>, as matrix with ones on the anti-diagonal and zeros everywhere else. For instance, the first few matrices are:</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/11/antidiagonalmatrices.png"><img class="aligncenter size-full wp-image-961" title="AntiDiagonalMatrices" src="http://jaxwebster.files.wordpress.com/2011/11/antidiagonalmatrices.png?w=630" alt=""   /></a></p>
<p>The question is to find the determinate of J<sub>k</sub>. It&#8217;s a straight forward question, but I am writing a blog post on it because it is interesting in that it allows a few different approaches to easily be taken, and so it is interesting to see which you select. This post will document five solutions to the problem.</p>
<p><strong><span style="text-decoration:underline;">Solution 1: Calculation via minors</span></strong></p>
<p>The usual way of actually <em>calculating</em> the determinate of matrices is to use &#8216;<a href="http://mathworld.wolfram.com/DeterminantExpansionbyMinors.html" target="_blank">minors</a>&#8216;. Let us use the minors expansion in the first column. All the terms in the first column are zero except for the bottom one, and so you get that:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7CJ_k%7C+%3D+%28-1%29%5E%7Bk%2B1%7D+%7CJ_%7Bk-1%7D%7C&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='|J_k| = (-1)^{k+1} |J_{k-1}|' title='|J_k| = (-1)^{k+1} |J_{k-1}|' class='latex' /></p>
<p>With the extra condition that J<sub>1</sub> = 1, it follows that:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7CJ_k%7C+%3D+%28-1%29%5E%7B+%28k%2B1%29+%2B+k+%2B+%28k-1%29+%2B+%5Ccdots+%2B+2%7D+%3D+%28-1%29%5E%7B%28k-1%29%28k%2B4%29%2F2%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='|J_k| = (-1)^{ (k+1) + k + (k-1) + &#92;cdots + 2} = (-1)^{(k-1)(k+4)/2}' title='|J_k| = (-1)^{ (k+1) + k + (k-1) + &#92;cdots + 2} = (-1)^{(k-1)(k+4)/2}' class='latex' /></p>
<p>which is equivalent to the previous result.</p>
<p><strong><span style="text-decoration:underline;">Solution 2: Using Eigenvalues and the trace</span></strong></p>
<p>This method is particularly elegant.</p>
<p>Note that as <img src='http://s0.wp.com/latex.php?latex=J_k%5E2+%3D+I&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='J_k^2 = I' title='J_k^2 = I' class='latex' /> and so all Eigenvalues <img src='http://s0.wp.com/latex.php?latex=%5Clambda&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;lambda' title='&#92;lambda' class='latex' /> of J<sub>k</sub> have <img src='http://s0.wp.com/latex.php?latex=%5Clambda%5E2+%3D+1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;lambda^2 = 1' title='&#92;lambda^2 = 1' class='latex' />, and thus all the Eigenvalues are either 1 or -1.</p>
<p>Let Tr(A) be the trace of a matrix A. We have that Tr(J<sub>k</sub>) = 0 when k is even, and Tr(J<sub>k</sub>) = 1 when k is odd. The trace is the sum of the Eigenvalues, and so in either of the cases k = 2r or k = 2r + 1, we must have r pairs of -1 and 1 Eigenvalues. (In the odd case we have an addition 1 Eigenvalue.) As the determinate is the product of the Eigenvalues, it must be <img src='http://s0.wp.com/latex.php?latex=%7CJ_k%7C+%3D+%28-1%29%5Er&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='|J_k| = (-1)^r' title='|J_k| = (-1)^r' class='latex' />.</p>
<p>I like this method the best, but if it had a flaw it would be that it doesn&#8217;t easily generalise to the case when the anti-diagonal elements are arbitrary, instead of being ones. However, this doesn&#8217;t really matter, as the properties of a determinate just mean you can &#8216;pull out&#8217; the values anyway, and so it is just the product of the diagonal elements multiplied by |J<sub>k</sub>|.</p>
<p><strong><span style="text-decoration:underline;">Solution 3: Via Swaps</span></strong></p>
<p>The determinate is such that if you swap two adjacent columns (or rows), you reverse the sign. We also know that the determinate of the identity matrix is 1. Therefore it should be possible to turn J<sub>k </sub>into I using a series of swaps.</p>
<p>Therefore the problem reduces to finding how many swaps can turn the sequence <strong>[k,k-1,...,2,1]</strong> into the sequence<strong> [1,2,...,k-1,k]</strong>. To solve this, note it takes <em>k-1</em> swaps to &#8216;push the <em>k</em> to the right&#8217;, and another <em>k-2</em> to push the <em>1</em> back to the left. Therefore after 2k-3 swaps you get <strong> [k-1,k-2,...,1,k]</strong> . After that, you can apply the same result for <em>k&#8217; = k-2</em>. Therefore we have that |J<sub>k</sub>| = -|J<sub>k-2</sub>|.</p>
<p>Given the base cases for k=1 and k=2, the result follows.</p>
<p><strong><span style="text-decoration:underline;">Solution 4: Via Permutations</span></strong></p>
<p>This method is essentially the same as the above, but carried out in a different way.  We use the following definition of a determinate:</p>
<p><a href="http://jaxwebster.files.wordpress.com/2011/11/2356dab71df4b02cefb33fd00c0f3987.png"><img class="aligncenter size-full wp-image-963" title="Determinate using permutations" src="http://jaxwebster.files.wordpress.com/2011/11/2356dab71df4b02cefb33fd00c0f3987.png?w=630" alt=""   /></a></p>
<p>Using this definition to calculate |J<sub>k</sub>|, we note that only one permutation contributes anything to the sum: The one which takes <em>i</em> to<em> k-i</em>. In this case, the determinate is just the sign of the aforementioned permutation.</p>
<p>The permutation swaps the first and last, second and second-last, etc. Therefore, if k = 2r, there are r permutations. If k = 2r + 1, there are still r permutations, as the central element (<em>r+1</em>) remains fixed. Hence the determinate of <em>k</em> is (-1) to the power <em>r</em>.</p>
<p><strong><span style="text-decoration:underline;">Solution 5: Directly via the Eigenvalues</span></strong></p>
<p>Whilst this is a difference approach to Solution 4, it gives fairly similar calculations. The determinate of a matrix is the product of the Eigenvalues. Thus we can just determine the Eigenvalues.</p>
<p>J<sub>k </sub>swaps coordinate 1 with coordinate <em>k</em>. Therefore [1,0,...,0,1] is an Eigenvector with Eigenvalue 1. Also, [1,0,...,0,-1] is an Eigenvector which goes to negative itself, and so -1 is an Eigenvalue.</p>
<p>As above, there are <em>r</em> coordinates which are swapped when <em>k = 2r</em> or<em> k = 2r + 1</em>. Therefore the determinate is (-1) to the power <em>r</em>.</p>
<p>The solutions do have similarities, but they also have differences, and I think it is interesting the number of ways there are to approach this simple problem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/960/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/960/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/960/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=960&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/11/25/the-determinate-of-the-anti-diagonal-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/antidiagonalmatrices.png" medium="image">
			<media:title type="html">AntiDiagonalMatrices</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/2356dab71df4b02cefb33fd00c0f3987.png" medium="image">
			<media:title type="html">Determinate using permutations</media:title>
		</media:content>
	</item>
		<item>
		<title>Albania to Macedonia &#8211; an elaboration of the journey described by &#8216;The Man In Seat 61&#8242;</title>
		<link>http://jaxwebster.wordpress.com/2011/11/16/albania-to-macedonia-an-elaboration-of-the-journey-described-by-the-man-in-seat-61/</link>
		<comments>http://jaxwebster.wordpress.com/2011/11/16/albania-to-macedonia-an-elaboration-of-the-journey-described-by-the-man-in-seat-61/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 23:10:31 +0000</pubDate>
		<dc:creator>Jax</dc:creator>
				<category><![CDATA[Travelling]]></category>

		<guid isPermaLink="false">http://jaxwebster.wordpress.com/?p=948</guid>
		<description><![CDATA[I have recently returned from an awesome trip from Albania to Romania via Macedonia and Serbia. We took a flight to Albania and then trains (with a few buses) until we got to Romania, where we took a flight home. The Man In Seat 61 briefly describes how to travel from Albania to Macedonia, however [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=948&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">I have recently returned from an awesome trip from Albania to Romania via Macedonia and Serbia. We took a flight to Albania and then trains (with a few buses) until we got to Romania, where we took a flight home.</p>
<p>The Man In Seat 61 <a href="http://www.seat61.com/Albania.htm" target="_blank">briefly describes</a> how to travel from Albania to Macedonia, however the point of this blog post is to eleberate on this.</p>
<p>The Albania train network is fairly basic.  There is a train that once a day (at 6am, at the time of writing) goes from Tiranë, the capital of Albania, to Pogradec, which is on the eastern border near Lake Ohrid. The train goes via Durrës, however, which is on the west cost, so it is not very direct. In fact, we split the journey up by going to Durrës for one day (there are many more trains that go just from Tirana to Durres &#8211; there is an 11:45 and a 14:20, for instance) and then catching the early train the next day (at 7am).</p>
<div id="attachment_949" class="wp-caption aligncenter" style="width: 543px"><a href="http://jaxwebster.files.wordpress.com/2011/11/albaniantrainline.png"><img class="size-full wp-image-949" title="AlbanianTrainLine" src="http://jaxwebster.files.wordpress.com/2011/11/albaniantrainline.png?w=630" alt="The approximate route of the Tiranë to Pogradec route in Albania"   /></a><p class="wp-caption-text">The approximate route of the train (100 miles). Google map link</p></div>
<p>It is worth noting that the trains are very, very slow. We got in around 14:30 (it is scheduled for 13:30), so it took about 7.5 hours to travel what is, as the crow flies, 55 miles &#8211; so for every hour you are on the train, you are only getting around 8 miles closer. Indeed, when the train ran along side roads, buses would easily overtake the train. I estimate it was travelling at about 20mph.</p>
<div id="attachment_956" class="wp-caption aligncenter" style="width: 609px"><a href="http://jaxwebster.files.wordpress.com/2011/11/smashy.png"><img class="size-full wp-image-956" title="smashy" src="http://jaxwebster.files.wordpress.com/2011/11/smashy.png?w=630" alt=""   /></a><p class="wp-caption-text">The smashed windows are not of any practical concern</p></div>
<p>The train isn&#8217;t actually uncomfortable, but they look bad. Children apparently throw rocks at the train (although we did not witness this ourselves), and so the windows have many fractures in them. However, for us at least, they were all solid and so did not let any of the cold in.</p>
<div id="attachment_950" class="wp-caption aligncenter" style="width: 310px"><a href="http://jaxwebster.files.wordpress.com/2011/11/303151_10150345538196143_503286142_8589097_190752948_n.jpg"><img class="size-medium wp-image-950" title="ViewFromTrain" src="http://jaxwebster.files.wordpress.com/2011/11/303151_10150345538196143_503286142_8589097_190752948_n.jpg?w=300&#038;h=225" alt="The train and carriages have a charm about them. Moving slowly through the beautiful scenery is enjoyable" width="300" height="225" /></a><p class="wp-caption-text">The train and carriages have a charm about them. Moving slowly through the beautiful scenery is enjoyable</p></div>
<p style="text-align:left;">When you get to Pogradec station, there isn&#8217;t much there. There is a station, a gate, and a car park area, as you can see <a href="http://www.panoramio.com/photo/27729262" target="_blank">in this photo</a>. You will know you are approaching the station, as the line moves south on the west edge of Lake Ohrid, so there is water for a about twenty minutes before arriving.</p>
<p>The train station is a fair distance away from the main town, as can be seen on <a href="http://maps.google.com/maps/ms?hl=en&amp;mpa=0&amp;authuser=0&amp;ctz=0&amp;mpf=0&amp;vps=4&amp;ie=UTF8&amp;msa=19&amp;msid=206338414458752442708.0004b1e16971c83c3cb11" target="_blank">the Google Map</a>. Some people from the train will be picked up cars waiting for them at the station, but most people get on a kind of minibus thing, called a furgon. A lot of people pack into these things, but it isn&#8217;t completely uncomfortable. This will get you into the centre of Pogradec. I cannot recall how much I paid for the furgon, but it wasn&#8217;t too much, and even then I must have overpaid, as when I offered the driver the money he seemed very pleased by it!</p>
<p>From Pogradec you can take a taxi to the monastery of St Naum (Sveti Naum), except it won&#8217;t be able to get you there. For about €5, however, a taxi will take you to the Macedonian border. From there, you must walk down to another border control point (it is not too far). I didn&#8217;t quite work out why there were two, but it is easy enough to navigate.</p>
<div id="attachment_954" class="wp-caption aligncenter" style="width: 614px"><a href="http://jaxwebster.files.wordpress.com/2011/11/pogradecborders.png"><img class="size-full wp-image-954" title="PogradecBorderCrossings" src="http://jaxwebster.files.wordpress.com/2011/11/pogradecborders.png?w=630" alt=""   /></a><p class="wp-caption-text">A taxi will take you as far as the border control point on the left, and then you must walk to the one on the right</p></div>
<p>From the second border point you could, if you were so inclined, look at Sveti Naum, which is rather near the crossing point. In either case, you will eventually which to get to Ohrid. There are a number of furgons which run the route between the border crossing point and Ohrid, so just jump on one of those. I cannot recall the price of this &#8211; it may have been around 500 lek each.</p>
<p>This rather bumpy ride will take you to Ohrid bus station (which is slightly outside of Ohrid, but only a 5 minute walk). It is also possible to stop at a museum between the two points, and get back on later. However, I did not try that.</p>
<p>I hope this has been of use to some people.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaxwebster.wordpress.com/948/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaxwebster.wordpress.com/948/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaxwebster.wordpress.com/948/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaxwebster.wordpress.com&amp;blog=10837366&amp;post=948&amp;subd=jaxwebster&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaxwebster.wordpress.com/2011/11/16/albania-to-macedonia-an-elaboration-of-the-journey-described-by-the-man-in-seat-61/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e6b4e60bf7f67d7a3efb45748012db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jax</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/albaniantrainline.png" medium="image">
			<media:title type="html">AlbanianTrainLine</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/smashy.png" medium="image">
			<media:title type="html">smashy</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/303151_10150345538196143_503286142_8589097_190752948_n.jpg?w=300" medium="image">
			<media:title type="html">ViewFromTrain</media:title>
		</media:content>

		<media:content url="http://jaxwebster.files.wordpress.com/2011/11/pogradecborders.png" medium="image">
			<media:title type="html">PogradecBorderCrossings</media:title>
		</media:content>
	</item>
	</channel>
</rss>
