<?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/"
	>

<channel>
	<title>Second Thotz</title>
	<atom:link href="http://2ndthotz.dr-mikes-maths.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://2ndthotz.dr-mikes-maths.com</link>
	<description>Miscellaneous Thoughts by Michael Hartley</description>
	<lastBuildDate>Fri, 27 Apr 2012 08:03:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How Google Can Bring The Driverless Car To The Masses</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/04/ways-google-can-bring-self-driving-cars-to-the-masses/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/04/ways-google-can-bring-self-driving-cars-to-the-masses/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 07:52:59 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[driverless car]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[sebastian thrun]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=606</guid>
		<description><![CDATA[I first heard about Google&#8217;s self-driving car from a TED talk by Sebastian Thrun. In that talk, Sebastian talks about a friend who was killed in a car accident, and follows by explaining his vision to make cars safer by making them steer themselves. Sebastian Thrun&#8217;s vision will be fulfilled when driverless cars are obviously [...]]]></description>
			<content:encoded><![CDATA[<p>I first heard about Google&#8217;s self-driving car from a <a href="http://www.ted.com/talks/sebastian_thrun_google_s_driverless_car.html" target="_blank">TED talk by Sebastian Thrun</a>. In that talk, Sebastian talks about a friend who was killed in a car accident, and follows by explaining his vision to make cars safer by making them steer themselves.</p>
<p><span id="more-606"></span></p>
<p>Sebastian Thrun&#8217;s vision will be fulfilled when driverless cars are obviously safer than human controlled cars, and so become the norm. It appears the biggest obstacle is no longer technical, but regulatory. It&#8217;s not a matter of making a self-steering car that works, it&#8217;s a matter of persuading governments that automated cars <em>do</em> work, that laws should be changed to allow them, and having those laws worded in such a way that they don&#8217;t allow half-bit programmers kill people by putting buggy software into semitrailers.</p>
<p>I imagine there would have to be strong regulations governing self-driving car safety, something like the regulations covering air safety today. Providers of car automation software would need a licence. These licences could be revoked at the will of a body like the Civil Aviation Authority, which would exercise their authority in response to questions about a system&#8217;s safety. Crashes would be investigated as thoroughly as air crashes are today, by independent panels. Cars would have the equivalent of a black box, so that these panels could review the seconds leading up to a crash and the decisions made by the software. Perhaps the day will come when a single road fatality garners the same media attention as a plane crash does today.</p>
<p>So how do we get from here to there?</p>
<p>Laws are swayed by public opinion, and public opinion is swayed by dramatic events. The worst possible dramatic event would be a fatal accident caused (or simply not prevented) by an automated vehicle. How can Sebastian Thrun and his team generate the positive kinds of dramatic events that will make the public <em>want</em> these cars on the road? Here&#8217;s a few ideas.</p>
<p><strong>Tell Everyone</strong></p>
<p>Sebastian Thrun has already thought of one way to get these cars on the road &#8211; teach anyone who wants to learn how to make their own. You can register for an online course at <a href="http://www.udacity.com" target="_blank">udacity.com</a> which will teach the basics of making a driverless car. If teams at Ford, Honda and BMW start to build systems like these into their cars and perfect them, they will certainly bring political pressure to bear in order to make them legal.</p>
<p><strong>Taxis in India</strong></p>
<p>Imagine if Google made a thousand driverless Tatas, sent them to Calcutta or Dehli or Mumbai, and put a thousand taxi drivers behind the wheel. Imagine if these cars started clocking up millions of miles a year with no accidents on those cities&#8217; roads &#8211; that would make a powerful case that driverless cars are safe.</p>
<p><strong>The Right Jurisdiction</strong></p>
<p>Here&#8217;s a wacky idea : perhaps somewhere there is a state, province or country whose licensing laws are so badly worded that they allow software to get a driver&#8217;s license. I know it&#8217;s a bit far-fetched, but if Google&#8217;s car automation software passed a driver&#8217;s test and got a license, it&#8217;s on the road!</p>
<p><strong>Car Safety Systems</strong></p>
<p>This is the idea I think is the best.</p>
<p>Currently, Google&#8217;s car drives itself, but the autopilot cuts out as soon as the human takes the controls. Imagine if it worked the other way around &#8211; if the car needed a human driver, but the automation system cut in whenever it detected an upcoming accident. This could be marketed as a Car Safety System, and from what I&#8217;ve seen on the videos, it could be marketed now. It&#8217;s ready now.</p>
<p>The reasons why it&#8217;s ready :</p>
<ul>
<li>While a single accident by a self-driving car would set the idea back years, nobody expects Car Safety Systems to work perfectly. Think of seatbelts, air bags and ABS &#8211; people get killed in spite of them, yet these technologies still become standard or required features on automobiles. If a self-driving car killed someone it would make headlines. If a car safety system failed, nobody would bat an eyelid.</li>
<li>For this reason, it will be years before Sebastian Thrun and his team can afford to put driverless cars on the market. It may be a decade before they save a single life. However, the same system, activating only when an emergencies arise, could begin saving lives in only a year or two.</li>
<li>What&#8217;s more, a Car Safety System in widespread use will provide far more data to Sebastian Thrun&#8217;s team than they can possibly get in a lifetime from their limited testing on California&#8217;s roads. Their car automation system will get tested in a huge variety of driving conditions and emergency situations. They&#8217;ll see how it acts in circumstances they cannot hope to simulate. Best of all, they&#8217;ll discover exactly when their system fails, but in a way that doesn&#8217;t destroy the technology&#8217;s reputation.</li>
<li>Eventually, there will emerge the kind of public-opinion-swaying amazing story that they need. A thwarted attempt at road rage. A drunk safely steered through a busy pedestrian crossing. A truck driver, asleep at the wheel, waking to find himself safely and legally parked. A Heart attack victim brought straight to hospital by his Car Safety System. Then, Sebastian&#8217;s team can tell the world <em>&#8220;Yeah, well, our Car Safety System is really the same software as our Driverless Car, we&#8217;re just waiting for the government to make automated cars legal. By the way, here&#8217;s our suggestion for the way the Civil Automated Automotive Authority should run.&#8221;</em></li>
</ul>
<p>So, Google should keep the driverless car as a high-profile research project, and in the background, market it &#8211; starting as soon as possible &#8211; as a car safety system. A Car Safety System would be easy to market:</p>
<ul>
<li>Make it affordable. License it to car manufacturers &#8211; with no exclusive licenses &#8211; for $1000 per install in developed countries, or down to $50 per install or less in developing countries.</li>
<li>Imagine the fun publicity stunts they could do &#8211; &#8220;The world&#8217;s most boring demolition derby&#8221;, or &#8220;Top Gear stuntman fails to destroy Google Safety Car&#8221;</li>
</ul>
<p>I&#8217;m sure there&#8217;s a large base of people who&#8217;d love to have an uncrashable car. I know I would.</p>
<p>When the video below was taken, Google&#8217;s cars had done 200,000 miles of automated driving. That sounds like a lot, but they actually need 1,000,000,000 miles to know if their automated cars are safer than humans. That&#8217;s 5000 times what they&#8217;ve managed to clock up so far, and then they&#8217;ll need another billion or two to convince regulators. This can only be accomplished by going to market, but one mistake by a driverless car would do far more harm than the extra miles of testing would do. It certainly seems to be that the quickest way forward is to market they technology as a Car Safety System. They&#8217;ll clock up far more miles, and start saving lives straight away.</p>
<p>Do it, Sebastian!</p>
<p style="text-align: center;"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/cdgQpa1pUUE" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed wmode="opaque" src="http://www.youtube.com/v/cdgQpa1pUUE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/04/ways-google-can-bring-self-driving-cars-to-the-masses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Thing Since Sliced Bread</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/04/the-best-thing-since-sliced-bread/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/04/the-best-thing-since-sliced-bread/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 23:31:41 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Around the Home]]></category>
		<category><![CDATA[baking]]></category>
		<category><![CDATA[bread]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[invention]]></category>
		<category><![CDATA[putty knife]]></category>
		<category><![CDATA[spatula]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=602</guid>
		<description><![CDATA[Wide plastic spatula : $2. Using it with my bread slicer : priceless We bake our own bread with a breadmaker, and I use an electric knife to slice it. I wouldn&#8217;t dream of trying to do that without a bread slicer (the white rack in the picture), but even with it, it&#8217;s hard. The [...]]]></description>
			<content:encoded><![CDATA[<p>Wide plastic spatula : $2.<br />
Using it with my bread slicer : priceless</p>
<p><span id="more-602"></span></p>
<div class="wp-caption aligncenter" style="width: 370px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/04/20120412-072326.jpg"><img class="size-full " title="A plastic spatula with my bread slicer... mmmmmm!" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/04/20120412-072326.jpg" alt="A plastic spatula with my bread slicer... mmmmmm!" width="360" height="480" /></a><p class="wp-caption-text">A plastic spatula with my bread slicer... mmmmmm!</p></div>
<p style="text-align: center;">
<p>We bake our own bread with a <a href="http://www.amazon.com/mn/search/?_encoding=UTF8&amp;tag=thotz-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957&amp;field-keywords=breadmaker&amp;url=search-alias%3Daps" target="_blank">breadmaker</a>, and I use an <a href="http://www.amazon.com/mn/search/?_encoding=UTF8&amp;tag=thotz-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957&amp;field-keywords=breadmaker&amp;url=search-alias%3Daps#/ref=nb_sb_noss?url=search-alias=aps" target="_blank">electric knife</a> to slice it. I wouldn&#8217;t dream of trying to do that without a <a href="http://www.amazon.com/mn/search/?_encoding=UTF8&amp;tag=thotz-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957&amp;field-keywords=breadmaker&amp;url=search-alias%3Daps#/ref=nb_sb_noss_1?url=search-alias=aps" target="_blank">bread slicer</a> (the white rack in the picture), but even with it, it&#8217;s hard. The first few slices tend to be uneven as the force of the knife squashes the end of the loaf. Then the last few slices are worse, if you remove the cut slices, or else if you hold the end of the loaf in place with the other slices it means your hand is near the blade of the electric knife.</p>
<p>At least it <em>was</em> like that, until I got myself a <a href="http://www.amazon.com/gp/product/B000BQMK5Q/ref=as_li_ss_tl?ie=UTF8&amp;tag=thotz-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000BQMK5Q" target="_blank">wide plastic putty knife</a> from the hardware store. Now, I slot the putty knife in place at the end of the loaf, and slice away. The loaf holds together until I remove the putty knife, down to the very last slice. No more endangered fingers, no more mangled slices.</p>
<p>It really is the best thing since sliced bread!</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/04/the-best-thing-since-sliced-bread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Landsburg Asks For An Example</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/03/steve-landsburg-asks-for-an-example/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/03/steve-landsburg-asks-for-an-example/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 03:15:19 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[capital gains]]></category>
		<category><![CDATA[interest]]></category>
		<category><![CDATA[Steve Landsburg]]></category>
		<category><![CDATA[tax]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=598</guid>
		<description><![CDATA[In a recent post on his blog, Steve Landsburg critiques an article by Uwe Reinhart. Steve Landsburg believes strongly that tax on capital gains should be zero. Uwe Reinhart argues that sometimes it&#8217;s easy to disguise earned income as capital gains, hence capital gains should be taxed at the same rate as earned income. Steve [...]]]></description>
			<content:encoded><![CDATA[<p>In a recent post on his blog, <a href="http://www.thebigquestions.com/2012/03/16/some-questions-for-uwe-reinhardt/" target="_blank">Steve Landsburg</a> critiques an article by <a href="http://economix.blogs.nytimes.com/2012/03/16/capital-gains-vs-ordinary-income/" target="_blank">Uwe Reinhart</a>. Steve Landsburg believes strongly that tax on capital gains should be zero. Uwe Reinhart argues that sometimes it&#8217;s easy to disguise earned income as capital gains, hence capital gains should be taxed at the same rate as earned income. Steve Landsburg, in his critique, asks :</p>
<p style="text-align: center;"><em>Can you please write down the optimization problem which has as its solution “tax the doctor’s income and the homeowner’s capital gain at the same rate”?</em></p>
<p>However, it&#8217;s actually not difficult to construct an example exactly like this.</p>
<p><span id="more-598"></span></p>
<p>So, here&#8217;s my example. What follows is quite technical, but here&#8217;s a non-technical summary :</p>
<p>Imagine there&#8217;s a rich guy who doesn&#8217;t get much of a kick out of money, and a poor guy for whom money is very important. The tax rates on earned income and investment income don&#8217;t affect the rich guy&#8217;s happiness very much, but they greatly affect government revenues. However, the choice of tax rates greatly affect the poor guy&#8217;s happiness, without much affecting revenue.</p>
<p>If the poor guy likes spending up-front, it makes sense for the government to pay its bills by taxing capital gains. On the other hand, if the poor guy has more of a preference for savings, it can make sense to tax earned income instead. After all, the rich guy in this scenario doesn&#8217;t care. In other words, the optimal tax rates depend very much on the poor guy&#8217;s preferences. It can easily be the case that investment income and earned income should be taxed equally. In fact, it can go way off the scale in either direction, with one of wages or investment income heavily taxed in order to subsidise the other.</p>
<p><strong>Now for the technical bit&#8230;.</strong></p>
<p>Imagine two people. They earn incomes I0 and I1, get taxed at a rate of p, spend X0 and X1, then save the rest. Some years later, they get taxed on they capital gains and spend the rest.</p>
<p>Converting all future dollar amounts to today&#8217;s dollars, they earn incomes I0 and I1 today, get taxed at a rate of P, spend X0 and X1, then save the rest. Some years later, their savings are taxed at a rate of Q, leaving them with Y0 and Y1 dollars respectively, which they spend.</p>
<p>The two people get to choose how much (X0 or X1) they spend today. This determines Y0 and Y1, assuming they know Q, so X0, X1, Y0 and Y1 are all functions of P and Q.  The individuals make their choices to maximise their happiness (the technical term is &#8220;utility&#8221;), which I&#8217;ll give a formula for. Let U0 = A0 * X0^B0 * Y0^C0, and U1 = A1 * X1^B1 * Y1^C1. Now the government must choose, in advance, the tax rates P and Q. The constraint is that the government&#8217;s total tax take Ttot (in today&#8217;s dollars) is fixed, but apart from that, the government will try to maximise the total happiness of the population. So, here&#8217;s the optimisation problem:</p>
<p style="text-align: center;">Maximise U(P,Q) =  A0 * X0(P,Q)^B0 * Y0^C0 + A0 * X0(P,Q)^B0 * Y0^C0, subject to<br />
T(P,Q) = P * (I0 + I1) + Q * ((1-P) * (I0 + I1) &#8211; (X0 + X1)) = Ttot</p>
<p>That&#8217;s a bit hard to solve in general, so let&#8217;s look at a special case, B0=1, C0=2, B1=2, C1=1. Here, person 0 is a saver &#8211; he or she gets more happiness out of Y than X. Person 1 is the opposite, a spender. I&#8217;ll also let Ttot be 1/10 of I0+I1, just for the sake of having a specific number. For the same reason, assume I1 is twice I0.</p>
<p>If A0 is four times A1, the optimal value of Q turns out to be 0, in other words, savings (that is, interest and dividends) are not taxed, and all the tax burden falls on the initial earned income. The tax rate P is 10%, matching Ttot.</p>
<p>On the other hand, we can make all the tax burden fall on savings by assuming instead that A0 = 1280/713 A1, that is, A0 is about 1.795 times A1. Then, the interest on earned income is nil, and the present value of savings are taxed at 22.5% before you get to spend them.</p>
<p><strong>But <em>Should</em> The Government&#8217;s Tax Policy Aim To Optimise Total Utility?</strong></p>
<p>One objection to trying to tax utility is that we can&#8217;t measure utility. However, Steve Landsburg wont make that objection, because he dismisses it when Uwe Reinhart makes it &#8211; Uwe says &#8220;we can&#8217;t always tell whether income is investment or earned&#8221; and Steve says &#8220;So what? That doesn&#8217;t mean treating them equally is good policy&#8221;.</p>
<p>So if you say &#8220;we can&#8217;t really tell in real life if one person gets more satisfaction out of spending than another&#8221;, I can say &#8220;so? That doesn&#8217;t mean it&#8217;s good policy to assume they don&#8217;t and treat them so.&#8221;</p>
<p>Another objection might be raised on a point of fairness &#8211; why consider only one person&#8217;s happiness when choosing the tax rates? The answer is that in fact, in this example, both person&#8217;s happiness was considered, but (in the example) one of them really doesn&#8217;t care much how things are taxed, and they happen to be the person with all the moola. If their preferences are so different, why would you insist on pretending they aren&#8217;t?</p>
<p>Maximising total utility may not be a practical policy, but any alternative means that you&#8217;re insisting on imposing policies on people that they don&#8217;t actually (in aggregate) like. How could that possibly be good?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/03/steve-landsburg-asks-for-an-example/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why I Want A 3D Printer (And Scanner)</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/03/why-i-want-a-3d-printer-and-scanner/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/03/why-i-want-a-3d-printer-and-scanner/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 09:08:24 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[3d printer]]></category>
		<category><![CDATA[3d scanner]]></category>
		<category><![CDATA[duplicator]]></category>
		<category><![CDATA[glasses]]></category>
		<category><![CDATA[teleporter]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=596</guid>
		<description><![CDATA[Cory Doctorow explains that a 3D printer, with a scanner attached, can be thought of as a teleport machine. When I mentione dthis idea to some people, they raised a couple of objections. The first objection is that in a classic Sci-Fi teleport machine, the actual molecules are supposed to be zapped from place to [...]]]></description>
			<content:encoded><![CDATA[<p>Cory Doctorow explains that a 3D printer, with a scanner attached, can be thought of as a <a href="http://boingboing.net/2011/12/21/3d-printers-as-teleporters.html" target="_blank">teleport machine</a>. When I mentione dthis idea to some people, they raised a couple of objections.</p>
<p><span id="more-596"></span></p>
<p>The first objection is that in a classic Sci-Fi teleport machine, the actual molecules are supposed to be zapped from place to place. With a 3D Scanner and Printer, it&#8217;s not the actual molecules that get transmitted, just a bunch of information about what shape the final object is supposed to be.</p>
<p>My reply to that is &#8220;so?&#8221; A laser printer doesn&#8217;t work by whacking squid juice onto paper with bits of carved wood, but we still call it a printer. A maglev doesn&#8217;t burn coal to ram steam through a bunch of pumps, but we still call it a train. We name our technology for what it does, not for how it works. So if everyone had a 3D printer and scanner, we could &#8220;teleport&#8221; lego bricks and curtain rings to each other with our printer/scanners and legitimately call them teleporters.</p>
<p>The other objection I heard raised is that with a teleporter, when the object is reconstructed in a new place, the original is destroyed. A 3D printer/scanner would not destroy the original. However, surely that makes a 3D printer/scanner even better than a teleporter? And I can always throw the original lego brick away if I want to stay faithful to the original SciFi concept.</p>
<div id="attachment_597" class="wp-caption alignright" style="width: 235px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/03/IWantA3DPrinter.jpg"><img class="size-medium wp-image-597" title="A 3D Printer/Scanner Could Have Saved Me Money Today" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/03/IWantA3DPrinter-225x300.jpg" alt="A 3D Printer/Scanner Could Have Saved Me Money Today" width="225" height="300" /></a><p class="wp-caption-text">A 3D Printer/Scanner Could Have Saved Me Money Today</p></div>
<p>Today, however, I realised that the real reason I want a 3D scanner/printer is that it&#8217;s not just a teleporter, but also a duplicator.</p>
<p>My glasses have plastic arms. Last night, I walked into a door in the dark, and one of the arms broke. I tried superglue, but it didn&#8217;t hold. Now I&#8217;ll have to get some new glasses, putting me out of pocket by a hundred bucks or so, or more if I get suckered into some titanium alloy super-frame.</p>
<p>If, however, I had a duplicator, I could just unscrew the good arm, scan it, click &#8220;flip&#8221; then &#8220;print&#8221;, and presto! A brand-new arm ready to screw back onto my glasses frame!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/03/why-i-want-a-3d-printer-and-scanner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Word From History</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/03/a-word-from-history/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/03/a-word-from-history/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 06:30:10 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[family]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[thimble]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=592</guid>
		<description><![CDATA[Here&#8217;s a conversation with my son today, while I was doing some repair work. M1 : Why do you have that on your finger? Me : Push this, here. M1 : Ouch! Me : You see? M1 : Cool! Where did you find it? Me : I bought it in a shop. M1 : You [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a conversation with my son today, while I was doing some repair work.</p>
<p><span id="more-592"></span></p>
<div id="attachment_593" class="wp-caption alignright" style="width: 185px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/03/thimble.jpeg"><img class="size-full wp-image-593" title="What's That?" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/03/thimble.jpeg" alt="What's That?" width="175" height="206" /></a><p class="wp-caption-text">What&#39;s That?</p></div>
<p>M1 : Why do you have that on your finger?<br />
Me : Push this, here.<br />
M1 : Ouch!<br />
Me : You see?<br />
M1 : Cool! Where did you find it?<br />
Me : I bought it in a shop.<br />
M1 : You mean they make them specially?<br />
Me : Yup.<br />
M1 : What&#8217;s it called?<br />
Me : It&#8217;s a <em>thimble</em><br />
M1 : Oh! I&#8217;ve heard that word! I&#8217;ve heard of them!<br />
Me : Yup.<br />
M1 : You mean they&#8217;re real?</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/03/a-word-from-history/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reassurance</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/03/reassurance/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/03/reassurance/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 06:19:37 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[family]]></category>
		<category><![CDATA[bee]]></category>
		<category><![CDATA[reassurance]]></category>
		<category><![CDATA[wasp]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=591</guid>
		<description><![CDATA[MK and M2 were in the garden. MK : Be careful of the bees M2 : (reassuring tone of voice) there&#8217;s no bees, mummy. Only wasps. Oh.. Kaaaay&#8230;. &#160;]]></description>
			<content:encoded><![CDATA[<p>MK and M2 were in the garden.</p>
<p>MK : Be careful of the bees<br />
M2 : (reassuring tone of voice) there&#8217;s no bees, mummy. Only wasps.</p>
<p>Oh.. Kaaaay&#8230;.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/03/reassurance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Dreamboard Endroid To Use Celsius</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/02/change-dreamboard-endroid-to-use-celsius/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/02/change-dreamboard-endroid-to-use-celsius/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 12:12:45 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[celsius]]></category>
		<category><![CDATA[centigrade]]></category>
		<category><![CDATA[Dreamboard]]></category>
		<category><![CDATA[Endroid]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=585</guid>
		<description><![CDATA[If you have a jailbroken iPhone, perhaps you&#8217;ve installed Dreamboard and are using the Endroid theme. Perhaps, like me, you don&#8217;t live in the United States, so you want to see the temperature in Centigrade instead of Fahrenheit. Perhaps, also like me, you&#8217;ve searched the web to find out how to do it. If you [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a jailbroken iPhone, perhaps you&#8217;ve installed Dreamboard and are using the Endroid theme. Perhaps, like me, you don&#8217;t live in the United States, so you want to see the temperature in Centigrade instead of Fahrenheit. Perhaps, also like me, you&#8217;ve searched the web to find out how to do it. If you found this page, you&#8217;ve found your answer!</p>
<p><span id="more-585"></span></p>
<div id="attachment_586" class="wp-caption alignright" style="width: 210px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo-2.png"><img class="size-medium wp-image-586" title="Dreamboard Endroid in Celsius" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo-2-200x300.png" alt="Dreamboard Endroid in Celsius" width="200" height="300" /></a><p class="wp-caption-text">Dreamboard Endroid in Celsius</p></div>
<p>Unfortunately, the details are a little tricky, but I&#8217;ll explain them as carefully as I possibly can below.</p>
<p><strong>Step 1 &#8211; Install OpenSSH</strong></p>
<p>OpenSSH allows you to log into your iPhone as if it were a computer, and tinker around with the files on it. Go to Cydia, search for OpenSSH, then install it.</p>
<p><strong>Step 2 &#8211; Log on to your iPhone</strong></p>
<p>If you have a terminal program installed on your jailbroken iPhone, you can use that to log on. Do so, and go straight to Step 2b. Otherwise&#8230;</p>
<ul>
<li>Make sure your iPhone is connected to a WiFi network, and you have a computer with a terminal program (ie, a Mac or Linux machine, or a Windows machine with the right software installed) also connected to the same network.</li>
<li>Find out your iPhone&#8217;s IP address. To do this, go to Settings, then WiFi, then hit the blue arrow to the right of the name of the WiFi network you are connected to. You&#8217;ll see the phone&#8217;s IP address listed in a table. It will probably be 192.168.something.something or 10.1.something.something.
<p><div id="attachment_587" class="wp-caption aligncenter" style="width: 330px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo.png"><img class="size-full wp-image-587" title="My Phone's IP Address" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo.png" alt="My Phone's IP Address" width="320" height="104" /></a><p class="wp-caption-text">My Phone&#39;s IP Address</p></div></li>
<li>Open a terminal and type <strong>ssh root@<em>&lt;your IP address&gt;</em></strong>. For example, I typed <strong>ssh root@192.168.1.4</strong> because my IP address was 192.168.1.4<strong><br />
</strong></li>
<li>If you&#8217;ve only just installed OpenSSH, your password is <strong>alpine</strong>.</li>
</ul>
<p><strong><br />
Step 2b &#8211; if your password is alpine, change it</strong></p>
<p>The very first computer virus for the iPhone took advantage of the fact that many people don&#8217;t change their password after installing OpenSSH. To change your password,</p>
<ul>
<li>Think of a password that <em>you know you will remember</em>.</li>
<li>Type <strong>passwd</strong></li>
<li>Enter your new password</li>
<li>Enter it again to confirm you typed it correctly</li>
</ul>
<p><strong><br />
Step 3 &#8211; Change Farenheit to Celsius</strong></p>
<p>The files that control what you see in the Endroid layout are in the folder <strong>/var/mobile/Library/DreamBoard/Endroid/Widgets/HTC</strong>. You can see them by typing</p>
<pre><strong>cd /var/mobile/Library/DreamBoard/Endroid/Widgets/HTC</strong>
<strong>ls

</strong></pre>
<p>There are only two files, an html file, a css file and a javascript file. There&#8217;s also a folder containing the images. If you&#8217;re an HTML or Javascript guru, you can have lots of fun here. If not, what you need to do is change line 132 of functions.js from</p>
<pre>url="http://weather.yahooapis.com/forecastrss?u=f&amp;p=";</pre>
<p>to</p>
<pre>url="http://weather.yahooapis.com/forecastrss?u=c&amp;p=";</pre>
<p>Spot the difference? The &#8216;u=f&#8217; becomes &#8216;u=c&#8217;. Now, the iPhone doesn&#8217;t come with any of my favourite text editors &#8211; nor even any of my less favourite. However, you can make the required change via these commands :</p>
<pre><strong>mv functions.js original-functions.js</strong>
<strong>cat original-functions.js | sed 's/u=f/u=c/g' &gt; functions.js

</strong></pre>
<div id="attachment_588" class="wp-caption alignright" style="width: 210px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo-1.png"><img class="size-medium wp-image-588" title="Dreamboard Lock Screen Fixed" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/photo-1-200x300.png" alt="Dreamboard Lock Screen Fixed" width="200" height="300" /></a><p class="wp-caption-text">Dreamboard Lock Screen Fixed</p></div>
<p>And you&#8217;re done! The first command moves the original functions.js file to a safe place, and the second command goes through that copy, changing every &#8216;u=f&#8217; to &#8216;u=c&#8217; (there&#8217;s only one) and writing the results back into functions.js.</p>
<p>If your phone doesn&#8217;t immediately display temperatures in Centigrade, try using it normally for a little while. Maybe lock the screen, check your email, whatever. If something goes wrong, you can always restore the original using the command</p>
<pre><strong>mv original-functions.js functions.js

</strong></pre>
<p>Or, since you&#8217;re poking around in your phone, perhaps you&#8217;d also like to&#8230;.</p>
<p><strong>Step 4 &#8211; Change The Date On The Lock Screen to Day/Month/Year</strong></p>
<p>By default, it shows Month/Day/Year, so the date of this blog post looks like 2/17/2012 instead of 17/2/2012. This is easy to fix. Enter the following commands :</p>
<pre><strong>cd /var/mobile/Library/DreamBoard/Endroid/Widgets/Lockscreen</strong>
<strong>mv Lockscreen.html original-Lockscreen.html</strong>
<strong>cat original-Lockscreen.html | sed 's/Date/QWERTY/g' | \
 sed 's/Month/Date/g' | \
 sed 's/QWERTY/Month/g' &gt; Lockscreen.html

</strong></pre>
<p>This makes a copy of your Lockscreen.html, then swaps the HTML fields &lt;dateDate&gt;&lt;/dateDate&gt; and &lt;dateMonth&gt;&lt;dateMonth&gt;. Have a look at your lock screen (if need be, unlock then lock again) and see the happy result!</p>
<p>Again, if something goes wrong, you can restore the original Lockscreen.html via</p>
<pre><strong>mv original-Lockscreen.html Lockscreen.html</strong></pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/02/change-dreamboard-endroid-to-use-celsius/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sugar, Sugar</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/02/sugar-sugar/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/02/sugar-sugar/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 07:14:10 +0000</pubDate>
		<dc:creator>Mike H</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[Malaysia]]></category>
		<category><![CDATA[subsidies]]></category>
		<category><![CDATA[sugar]]></category>
		<category><![CDATA[taxes]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=581</guid>
		<description><![CDATA[The Malaysian government subsidises a number of goods, to keep the prices at certain levels. Unfortunately for them, commodity prices have risen in recent years. So, they announced last week that they would increase the sugar subsidy to compensate. They were quick to say that the decision is to &#8220;ease the people&#8217;s financial burden,&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_582" class="wp-caption alignleft" style="width: 310px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/White_Sugar.jpg"><img class="size-full wp-image-582" title="White Sugar" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/02/White_Sugar.jpg" alt="White Sugar" width="300" height="225" /></a><p class="wp-caption-text">Sugar Subsidies - Bad or Good?</p></div>
<p>The Malaysian government subsidises a number of goods, to keep the prices at certain levels. Unfortunately for them, commodity prices have risen in recent years. So, they announced last week that they would <a href="http://www.bernama.com/bernama/v6/newsgeneral.php?id=642776" target="_blank">increase the sugar subsidy</a> to compensate. They were quick to say that the decision is to &#8220;<em>ease the people&#8217;s financial burden</em>,&#8221; and is nothing to do with the fact that there&#8217;s an election coming up.</p>
<p>However, that&#8217;s just silly. If they really want to &#8220;ease the people&#8217;s financial burden,&#8221; they should completely scrap the subsidy, not raise it.</p>
<p><span id="more-581"></span></p>
<p>Imagine, if you will, a sugar consumer we shall call Rakyat. Suppose Rakyat earns $1000. He pays $200 in tax, and gets to spend the other $800 on whatever he likes. One thing he likes is sugar, so he spends $10 on sugar at the subsidised price of $1 per bag. The remaining $790 he spends on other things. He has chosen this spending pattern to make him as happy as he can be, under the existing tax and subsidy system.</p>
<p>Suppose the government scrapped the subsidy. Rakyat might be sad, at first, that sugar is more expensive, thinking that his sugar bill will now be $5 more. The government will save $5, which means $5 less tax they need to collect, so they give a tax refund. With the $5 now back in Rakyat&#8217;s pocket, he can, if he wishes, subsidise his own sugar. Or, he can do anything else he wants with the cash. In summary :</p>
<ul>
<li><em>With</em> the subsidy, Rakyat gets 10 bags of sugar (for $10), and $790 to spend on other things, and this is the best he can do.</li>
<li><em>Without</em> the subsidy, Rakyat can still get 10 bags of sugar (for $15 now), and still have $790 to spend on other things. He would be just as happy as before.</li>
<li>Alternatively, Rakyat can decide not to subsidise his own sugar, and spend the $5 on something he wants more than those last few bags of sugary sweetness. This will make him happier than before, happier than possible when the subsidy existed.</li>
</ul>
<p>So, Rakyat will be happier, with less financial burden, if the government lowers taxes instead of raising subsidies.</p>
<p><!--more--></p>
<p>Now, some caveats. Rakyat is not just one person. He is a whole citizenry of 28 million. Some of these pay no tax. Some consume no sugar. An individual citizen can&#8217;t always re-create the effect of a subsidy by carefully spending their tax refund. There are four groups of people</p>
<ul>
<li>Those who get more from the tax break than they lost through the subsidy, These will be truly happy campers. They can make up for the lost subsidy (if they wish) and have cash left over.</li>
<li>Those, like Rakyat, for whom the tax break equals the subsidy. As we have seen, these people are also better off with no subsidy.</li>
<li>Those whose tax break is not quite enough to compensate the rise in sugar prices, but by cutting back on sweets, still find themselves better off than before.</li>
<li>Those who enjoyed the subsidy so much, or who paid so little tax, that they really are worse off after the subsidy is removed.</li>
</ul>
<p>There&#8217;s no policy that pleases everyone, but it&#8217;s not correct to say that the subsidy &#8220;eases people&#8217;s financial burden.&#8221; Instead, it shifts the burden from one group of people to another, making the rakyat (citizenry) economically worse off overall. The only sensible way to justify the subsidy would be to identify those it helps and those it hurts, and try to prove that the needs of the former outweigh the needs of the latter.</p>
<p>As a final word, note that we got this conclusion <em>without</em> considering the harm excess sugar consumption has on a person&#8217;s health. The same argument could apply to many of the other products the Malaysian government subsidises, including petrol and rice, and to the completely subsidised water Selangor residents have enjoyed since the opposition won that state in the 2008 election.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/02/sugar-sugar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Japanese Curry</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/01/japanese-curry/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/01/japanese-curry/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 05:17:56 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Around the Home]]></category>
		<category><![CDATA[beef]]></category>
		<category><![CDATA[carrots]]></category>
		<category><![CDATA[celery]]></category>
		<category><![CDATA[chicken]]></category>
		<category><![CDATA[Japanese]]></category>
		<category><![CDATA[mild]]></category>
		<category><![CDATA[noodles]]></category>
		<category><![CDATA[pot]]></category>
		<category><![CDATA[potatoes]]></category>
		<category><![CDATA[rice]]></category>
		<category><![CDATA[S&B golden curry]]></category>
		<category><![CDATA[steamed]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=580</guid>
		<description><![CDATA[We had Japanease curry last night. My kids love it. It is not spicy. I bought the mild S&#38;B  golden curry sauce mix to make the Japanese curry. Firstly cut the beef or chicken into smaller pieces and chop the one brown onion finely. Place them in a pot and fry them with some oil [...]]]></description>
			<content:encoded><![CDATA[<p>We had Japanease curry last night. My kids love it. It is not spicy. I bought the mild S&amp;B  golden curry sauce mix to make the Japanese curry. Firstly cut the beef or chicken into smaller pieces and chop the one brown onion finely. Place them in a pot and fry them with some oil until the onions are lightly brown and the meat is slightly cooked. Then you add in chopped carrots, celery and potatoes. Next you add some water and bring it to boil. Once it is boiled, reduce the heat, cover the pot and simmer the meat until it is tender. Once the meat is tender, add in the S&amp;B golden curry mix sauce into the pot and make sure you stir the food and the sauce properly until the block of sauce is melted. Continue to simmer the food longer. Stir it from time to time. Once it is ready serve the Japanese curry with steamed rice or noodles. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/01/japanese-curry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steamed fish and tofu with thermomix</title>
		<link>http://2ndthotz.dr-mikes-maths.com/2012/01/steamed-fish-and-tofu-with-thermomix/</link>
		<comments>http://2ndthotz.dr-mikes-maths.com/2012/01/steamed-fish-and-tofu-with-thermomix/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 08:53:54 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Around the Home]]></category>
		<category><![CDATA[olive]]></category>
		<category><![CDATA[oyster]]></category>
		<category><![CDATA[salmon]]></category>
		<category><![CDATA[sauce]]></category>
		<category><![CDATA[sesame oil]]></category>
		<category><![CDATA[steam]]></category>
		<category><![CDATA[thermomix]]></category>
		<category><![CDATA[tofu]]></category>
		<category><![CDATA[varoma]]></category>

		<guid isPermaLink="false">http://2ndthotz.dr-mikes-maths.com/?p=578</guid>
		<description><![CDATA[This is a very easy recipe.  I will tell you what you need to have to make the sauce for the fish and tofu. You need  20 g or sugar, a pinch of pepper, 30 g oyster sauce, 5 g of sesame oil, 1/2 a measuring cup of Chinese rice wine, 15 g of soy [...]]]></description>
			<content:encoded><![CDATA[<p>This is a very easy recipe.  I will tell you what you need to have to make the sauce for the fish and tofu. You need  20 g or sugar, a pinch of pepper, 30 g oyster sauce, 5 g of sesame oil, 1/2 a measuring cup of Chinese rice wine, 15 g of soy sauce, 25 g of olive oil, 4 gloves of garlic which I will chop them finely with 3cm of ginger in the thermomix. I use 2 pieces of salmon fillet and 4 pieces of tofu and finally for garnishing I use some finely chopped spring onions.</p>
<p>Firstly, place your garlic and ginger in the thermomix and chop them for 7 seconds on speed 6. Do remember to scrape them down in the thermomix jug. If not they will stay at the side of the inner thermomix jug and not being cooked properly. After that, add your oil and sesame oil in and cook for 100C for 3 minutes on soft speed. Next add the rest of the ingredients for the sauce into thermomix. Cook it for 5 minutes at 100C on soft speed. Once the sauce is ready pour it into a bowl.</p>
<p>Now I will show you how to cook the rice. Do not wash the the thermomix jug which you use just now to make the sauce. Use the same jug and put in 900 of water. Weigh and wash your rice . I use about 400g of jasmine rice.Insert the basket of rice and cook it for 20 minutes at Varoma temperature on speed 4.  Your rice will have the fragrance of the sauce once it is cooked. I cook the rice together with my fish and tofu which are in the varoma . But I remove the tofu out from the varoma tray(upper tray) after 10 minutes of steaming.  I place the fish in the varoma receptacle(bottom tray).  Once the food is ready, remove the salmon from the varoma receptacle and place it on the plate. Pour the sauce over the fish and tofu and garnish them with spring onions.  Enjoy your salmon and tofu with your steamed rice.</p>
<div id="attachment_573" class="wp-caption aligncenter" style="width: 235px"><a href="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/01/2012-01-06-17.58.28.jpg"><img class="size-medium wp-image-573" title="Steamed fish and tofu with thermomix" src="http://2ndthotz.dr-mikes-maths.com/wp-content/uploads/2012/01/2012-01-06-17.58.28-e1326110778704-225x300.jpg" alt="Steamed fish and tofu with thermomix" width="225" height="300" /></a><p class="wp-caption-text">Steamed fish and tofu with thermomix</p></div>
]]></content:encoded>
			<wfw:commentRss>http://2ndthotz.dr-mikes-maths.com/2012/01/steamed-fish-and-tofu-with-thermomix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

