<?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>sushiguru*</title>
	<atom:link href="http://www.sushiguru.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sushiguru.co.uk/blog</link>
	<description>ramblings of the sushiguru.  *There&#039;s probably nothing here about raw fish though...</description>
	<lastBuildDate>Thu, 15 Apr 2010 13:16:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open letter to my MP candidates</title>
		<link>http://www.sushiguru.co.uk/blog/2010/04/15/open-letter-to-my-mp-candidates/</link>
		<comments>http://www.sushiguru.co.uk/blog/2010/04/15/open-letter-to-my-mp-candidates/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 13:16:37 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/?p=32</guid>
		<description><![CDATA[<p>Sent via: http://emailyourcandidates.heroku.com</p>
Dear Candidates
<p>It&#8217;s that time of the political cycle again, and the dreadful charade of a General Election is upon us.  We&#8217;re one week into the campaign and already I&#8217;ve had enough of listening to an endless stream of soothing platitudes from potential MPs, eager to recite the party manifesto.</p>
<p>I&#8217;ve come across this, [...]]]></description>
			<content:encoded><![CDATA[<p>Sent via: <a href="http://emailyourcandidates.heroku.com">http://emailyourcandidates.heroku.com</a></p>
<h2>Dear Candidates</h2>
<p>It&#8217;s that time of the political cycle again, and the dreadful charade of a General Election is upon us.  We&#8217;re one week into the campaign and already I&#8217;ve had enough of listening to an endless stream of soothing platitudes from potential MPs, eager to recite the party manifesto.</p>
<p>I&#8217;ve come across this, most excellent, service that allows me to email you all with a couple of questions.  Miles: we&#8217;ve met before on the street, Menzies: we&#8217;ve also met, though in the quad at St Andrews &#8211; you&#8217;ve also received letters and emails from me, though your office failed to return a telephone call on the issue of the DE Bill (which I note you failed to vote on).  Mike: we&#8217;ve never had the pleasure.</p>
<p>Allow me to state from the off that I am a card carrying member of the Libertarian Party.  I come from a position of libertarian ideals and, were LPUK big enough at this time, I&#8217;d be voting for them.  However, in this un-ideal world, I have you, my local hopefuls, to vote for, and my vote is up-for-grabs.</p>
<p>There are a couple of issues I would like answers to.  I trust that you can find the time to answer them, rather than an office member.  I&#8217;m not voting for them.  These are simple questions, and I&#8217;d appreciate an honest response.  Remember why you entered politics in the first place.  Tell me what you believe in.  Show me some passion for your constituency and your country.</p>
<p>1) Where do you stand on the issue of shrinking the state.  At present, and under Labour, the state has grown and grown.  The legislature has swollen 50% faster than under Thatcher, and many of these acts form an extreme erosion of our civil liberties.  Do you agree that government should be shrunk in size, unneccessary laws repealed, and laws infringing on civil liberties repealed?</p>
<p>2) Economy and the EU.  It&#8217;s a biggie.  As things currently stand, our deficit is racking up at £5,000 per second.  Our membership of the EU costs us £55bn per year.  It&#8217;s a pretty simple looking calculation to me, though I&#8217;m not an economist, but why are we in the EU?  I&#8217;ve failed to have a good, sound, solid argument put to me by anyone as to why we should remain in the EU.  What are your views on membership of the EU?</p>
<p>3) Local government. As per point (1), I&#8217;d welcome a shrinking of central government; actually, let&#8217;s get central government as small as it possibly can be, and move budgets and decision making to local authorities.  The tory party have made overtones towards this, but in a very paternalistic &#8216;the state still needs to look after you all&#8217; way. Let Fife fix its problems, the problems it needs to fix (flooding anyone?) rather than arbitrarily set government targets/plans.  What are your views on localisation?</p>
<p>4) Welfare reform.  Living in Cupar, I am acutely aware, and welcome, the EU immigrants who work in the surrounding area.  I am fed up hearing the argument that they are &#8216;taking british jobs&#8217;, since british workers now seem to be afraid of hard work and wouldn&#8217;t take these jobs, in fact didn&#8217;t take these jobs, when offered.  I argue that this is because the welfare state has made it far too easy for those unemployed to enjoy a good standard of living without having to go out and actually do hard work.  Welfare should be a safety net for the most needy, not a lifestyle choice. The labour model of making things &#8216;fair for everyone&#8217; actually is deeply unfair to everyone, and removes the motivation for hard work by everyone.  Where do you stand on welfare reform?</p>
<p>I could go on, but to be honest I&#8217;m dubious that I&#8217;m going to get a reply from anyone, and I&#8217;ve not even started on healthcare or education.  However, should you feel up to responding and having a chat about these and other issue, please do.  If you&#8217;d like to pop in for a chat and a cup of tea, you&#8217;ll find me at home most evenings from 5.30pm at &lt;my address&gt;.  I look forward to speaking with you in the coming weeks.</p>
<p>Yours sincerely<br />
Gary Thompson</p>
<p>&lt;address block&gt;</p>
<address></address>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Open+letter+to+my+MP+candidates+http://c6y9i.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2010/04/15/open-letter-to-my-mp-candidates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing form data for mySQL insertion</title>
		<link>http://www.sushiguru.co.uk/blog/2010/03/26/processing-form-data-for-mysql-insertion/</link>
		<comments>http://www.sushiguru.co.uk/blog/2010/03/26/processing-form-data-for-mysql-insertion/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:40:06 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/?p=21</guid>
		<description><![CDATA[<p>One of the things I frequently come up against, and ended up coding what I consider to be a nice little workaround for, is processing a large form with many elements, and preparing the insert statement to follow.  The following method allows you to continue to add elements onto your form and the database table.</p>
<p>This [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I frequently come up against, and ended up coding what I consider to be a nice little workaround for, is processing a large form with many elements, and preparing the insert statement to follow.  The following method allows you to continue to add elements onto your form and the database table.</p>
<p>This works for everything except radio buttons or SELECT statements passed as an array, which would need some extra processing.</p>
<p>Hope this helps someone else.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#assuming you have a properly formatted form with many elements, passed to this page by $_POST<br />
</span><br />
<span style="color: #666666; font-style: italic;">#an empty array, ready to be populated<br />
</span><span style="color: #000088;">$vals</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#elements to ignore and not INSERT<br />
</span><span style="color: #000088;">$ignore</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'elem1'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'elem2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp;take each passed element and add the key value pair into an array, escaping the value to prevent<br />
&nbsp; &nbsp;injection attacks, unless the element is in your $ignore array<br />
&nbsp; &nbsp;*/</span><br />
<br />
&nbsp; &nbsp;<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/in_array"><span style="color: #990000;">in_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #339933;">,</span><span style="color: #000088;">$ignore</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$vals</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$key</span>='&quot;</span> <span style="color: #339933;">.</span> <span style="color: #339933;">@</span><a href="http://www.php.net/mysql_real_escape_string"><span style="color: #990000;">mysql_real_escape_string</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/stripslashes"><span style="color: #990000;">stripslashes</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;'&quot;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#now compile the sql<br />
</span><br />
<span style="color: #000088;">$set</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/implode"><span style="color: #990000;">implode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">', '</span><span style="color: #339933;">,</span><span style="color: #000088;">$vals</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#and build the SQL<br />
</span><br />
<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;INSERT INTO table SET <span style="color: #006699; font-weight: bold;">$set</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>Originally posted at <a href="http://www.experts-exchange.com/viewArticle.jsp?aid=2741">Experts Exchange</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Processing+form+data+for+mySQL+insertion+http://h4zi4.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2010/03/26/processing-form-data-for-mysql-insertion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP working again :)</title>
		<link>http://www.sushiguru.co.uk/blog/2010/03/26/word-press/</link>
		<comments>http://www.sushiguru.co.uk/blog/2010/03/26/word-press/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 09:39:12 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/2010/03/26/word-press/</guid>
		<description><![CDATA[<p>Today, huzzah, I got my blog working again.</p>
<p>Huzzah, huzzah, huzzah.</p>
<p align="left"></p>]]></description>
			<content:encoded><![CDATA[<p>Today, huzzah, I got my blog working again.</p>
<p>Huzzah, huzzah, huzzah.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+WP+working+again+%3A%29+http://cmkeo.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2010/03/26/word-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPs, the cash grubbing wankers.</title>
		<link>http://www.sushiguru.co.uk/blog/2010/03/24/mps-the-cash-grubbing-wankers/</link>
		<comments>http://www.sushiguru.co.uk/blog/2010/03/24/mps-the-cash-grubbing-wankers/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 10:22:21 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/16</guid>
		<description><![CDATA[<p>Had to get that off my chest.  Why is it that these worthless cretins seem to have spectacularly failed to understand that THEY REPRESENT US, THE VOTING PUBLIC.</p>
<p>We put them into power, we can just as easily remove them again; if only the majority of the public would wake up and realise that they are [...]]]></description>
			<content:encoded><![CDATA[<p>Had to get that off my chest.  Why is it that these worthless cretins seem to have spectacularly failed to understand that THEY REPRESENT US, THE VOTING PUBLIC.</p>
<p>We put them into power, we can just as easily remove them again; if only the majority of the public would wake up and realise that they are being herded like sheep by their government (and I lump Tories, Labour and LibDem together for this) to do what <em>they</em> want, and not what <em>we</em> want.</p>
<p>Example: I recently wrote to my MP (Menzies Campbell) to ask that he not support the digital economy bill as it stands, for the gross violations of individual liberty that it represents: I&#8217;m talking here more about the loss of automatic copyright of photographs, though the bill (dreamt up by the Dark Lord Mandelson during one of his wet dreams) also poses draconian measures on households with shared broadband, unless you all behave like nice little Hitler Youth and report your kids for filesharing.  Did he answer?  <s>Did he f*ck</s>. Yes he did, but the reply was &#8220;lost in the post&#8221;.  Well, that&#8217;s [still] a potential voter gone.  Next step is for me to pop round to his surgery, and have it out there. My principal question will be: <strong>Why did he not answer my letter?</strong> Followed by the continued request that he block this bill until it has been considered with due care, and suitable amendments added/scrap the bill in its entirety*. [EDIT: Turns out that due to the imminent general election (not yet called), Ming won't be holding any more surgeries.  Seems an odd position to adopt when the GE could yet be up to two months away.]</p>
<p>Probably best not to say much more about the money grabbing shits as exposed by <a href="http://www.channel4.com/programmes/dispatches/" target="_blank">Dispatches</a> the other night. Other than to say, I hope as well as their suspension from the party, they are kicked out of the party and lose all party support for the up-coming election.  Let&#8217;s see how they fare as independents, answerable to their constituents.I see that <a href="http://www.oldholborn.net/" target="_blank">Old Holborn</a> is standing in the up-coming general election as an independent candidate.  Good luck to him.  I hope that he generates enough support to embarrass the main parties, and to show them that we need change.  With any luck, he&#8217;ll win his seat, though with too many of the population voting on partisan lines, rather than with their heads, I can&#8217;t see wins anywhere for candidates who stand for truth, justice, and individual liberty.</p>
<p>*that&#8217;s another argument altogether.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+MPs%2C+the+cash+grubbing+wankers.+http://zbhsb.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2010/03/24/mps-the-cash-grubbing-wankers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consultation at the BBC</title>
		<link>http://www.sushiguru.co.uk/blog/2010/03/08/consultation-at-the-bbc/</link>
		<comments>http://www.sushiguru.co.uk/blog/2010/03/08/consultation-at-the-bbc/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 21:01:43 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/15</guid>
		<description><![CDATA[<p>The BBC have their public consultation document on change available at: http://www.bbc.co.uk/bbctrust/consultations/departments/bbc/bbc-strategy-review/consultation/intro
Go on &#8211; have your say too.</p>
<p>[update] THIS IS WHAT I MEAN! http://www.theonion.com/content/video/breaking_news_some_bullshit?utm_source=onion_rss_daily</p>
The BBC&#8217;s strategic principles
<p>Do you think these are the right principles?</p>
<p>Yes.</p>
<p>Should the BBC have any other strategic principles?</p>
<p>To work to regain public confidence, to state that the BBC should act as a [...]]]></description>
			<content:encoded><![CDATA[<p>The BBC have their public consultation document on change available at: <a href="http://www.bbc.co.uk/bbctrust/consultations/departments/bbc/bbc-strategy-review/consultation/intro">http://www.bbc.co.uk/bbctrust/consultations/departments/bbc/bbc-strategy-review/consultation/intro</a><br />
Go on &#8211; have your say too.</p>
<p>[update] THIS IS WHAT I MEAN! <a href="http://www.theonion.com/content/video/breaking_news_some_bullshit?utm_source=onion_rss_daily">http://www.theonion.com/content/video/breaking_news_some_bullshit?utm_source=onion_rss_daily</a></p>
<h3>The BBC&#8217;s strategic principles</h3>
<p><strong>Do you think these are the right principles?</strong></p>
<p>Yes.</p>
<p><strong>Should the BBC have any other strategic principles?</strong></p>
<p>To work to regain public confidence, to state that the BBC should act as a global centre of excellence.</p>
<h3>Proposed principle: Putting Quality First</h3>
<p><strong>Which BBC output do you think could be higher quality?</strong></p>
<p>News. Currently I am continually dismayed by the quality of news programming. Listening to reports it is clear that the BBC now feels that it is speaking to a nation of idiots who will not understand a word being said to them, unless it is accompanied by a large flash graphic which the presenter walks through, and overly-simplistic analogies. I also dismay at the lack of transparency over facts and figures which only leads me to believe that the BBC now seek to mislead the public, and to use editorial &#8217;slant&#8217; to drive public opinion.</p>
<p>To be told that eating x leads to a y% increase in heart attack is, frankly, misleading and alarmist, and these tactics are used in almost every news story. Give base figures. Tell viewers instead what the y% increase takes you from and to. Assume that most users are intelligent enough to understand proportionality. Balance the output so that all sides of an argument can be heard. The television reporting (bar a few isolated examples) is far and away the worse, but radio 4 output is also now going in this direction.</p>
<h3>Offering you something special</h3>
<p><strong>Which areas should the BBC make more distinctive from other broadcasters and media?</strong></p>
<p>The BBC should not try to &#8216;compete&#8217; for my viewing in this way. It is this mistaken assumption that has led to a deterioration in standards &#8211; especially in the news. The need to get &#8216;in on the act&#8217;, to jump into the feeding frenzy of the 24 hour news cycle has let to a serious deterioration in quality. What would make the BBC more distinctive would be to walk away from the meaningless drivel of 24 hour news-that-isn&#8217;t-really-news and concentrate on hourly or bi-hourly bulletins of good value.</p>
<h3>The Five Editorial Priorities</h3>
<p><strong>Do these priorities fit with your expectations of BBC TV, radio and online services?</strong></p>
<p>Number 5 is unattainable. How would you even go about &#8216;measuring&#8217; (though the act itself is so nu-Labour that it is offensive). How can the BBC run an event that &#8216;brings the nation together&#8217;. Should the BBC sponsor a war? After all, there&#8217;s nothing like a good war to&#8217;bring the nation together&#8217;. This is a preposterous statement made from a politician, to suit the ears of politicians, and means nothing to the average user.</p>
<h3>Proposed principle: Doing fewer things and doing them better</h3>
<p><strong>We welcome your views on these areas.</strong></p>
<p>Go ahead and cut it to the bone. I don&#8217;t want my fee to be used to pay for services for a diminishing minority. The BBC simply cannot, and should not try to be, all things to all people.</p>
<h3>Proposed principle: Guaranteeing access to BBC services</h3>
<p><strong>If you have particular views on how you expect BBC services to be available to you, please letus know.</strong></p>
<p>The current formats are fine, and I probably pick up as much content through the iPlayer as I do through live television.</p>
<h3>The BBC archive</h3>
<p><strong>Please tell us if you have views on this area.</strong></p>
<p>If archived programming is already available in a format that can be delivered online then it should be made available as a public archive, for access on demand.</p>
<h3>Proposed principle: Making the licence fee work harder</h3>
<p><strong>If you are concerned about the BBC’s value for money, please tell us why.</strong></p>
<p>If the BBC wanted to ensure value for money, then it should move out of central London. Why should such a large proportion of the income the BBC receives be spend on locations that cost so much, when alternative accommodation is available elsewhere in the country for less. It is, after all, the BBC, not the LBC, and the country is not London-centric.</p>
<h3>Proposed principle: Setting new boundaries for the BBC</h3>
<p><strong>Do you think that the BBC should limit its activities in these areas?</strong></p>
<p>Yes &#8211; for reasons already outlined.</p>
<p><strong>Should any other areas be on this list?</strong></p>
<p>News 24 should be removed in favour of periodic quality bulletins. Should &#8216;breaking&#8217; news occur I can catch the initial headlines wherever, but would switch on to the BBC to receive proper &#8216;news&#8217;. It is lamentable, how 24 hour news stations attempt to cope with &#8216;breaking&#8217; news: trying to make a story up that doesn&#8217;t yet exist; running to be first on the scene to show us images from 10 miles away and tell us what the reporters don&#8217;t know. All it shows is soulless news reporting for its own sake &#8211; and it costs money.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Consultation+at+the+BBC+http://fge4o.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2010/03/08/consultation-at-the-bbc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mandelson on Today</title>
		<link>http://www.sushiguru.co.uk/blog/2009/11/18/mandelson-on-today/</link>
		<comments>http://www.sushiguru.co.uk/blog/2009/11/18/mandelson-on-today/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 12:39:26 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/14</guid>
		<description><![CDATA[<p>Evan Davis questions Peter Mandelson.</p>
<p>ED    &#8230;the Child Poverty Ligislation is simply going to ensrine the target, which we already have, to eradicate child poverty by 2020 while you&#8217;re missing the target to halve child poverty by 2010.  Can you say that any child as a result of the bill you&#8217;ll be trying to present to [...]]]></description>
			<content:encoded><![CDATA[<p>Evan Davis questions Peter Mandelson.</p>
<blockquote><p>ED    &#8230;the Child Poverty Ligislation is simply going to ensrine the target, which we already have, to eradicate child poverty by 2020 while you&#8217;re missing the target to halve child poverty by 2010.  Can you say that any child as a result of the bill you&#8217;ll be trying to present to parliament, which is not about politics but is simply about real government, can you say that any child will be saved from poverty by that bill?</p>
<p>PM    We&#8217;ve saved, as you say, er, tens of thousands, er, and more of children from poverty&#8230;</p>
<p>ED    but by this bill, you&#8217;ve done that without a bill, now what are you going to achieve more, what can you do with a bill that is more important that you&#8217;ve achieved without a bill?</p>
<p>PM    We have lifted tens of thousands and more of children out of poverty as a result of our social policies, our welfare policies over the last decade and more; we&#8217;re not going to abandon those policies nor are we going to abandon that commitment; we&#8217;re going to strengthen our social policies, our public services, our welfare policies precisely to do that amongst other things, and I think it&#8217;s very important, er, that the government benchmarks itself; only by benchmarking itself and challenging itself in this way will the public be able to decide whether we&#8217;ve succeeded or not.</p></blockquote>
<p>OK Peter, you&#8217;ve still not answered the bloody question.  Answer it, please?</p>
<blockquote><p> ED    But you&#8217;ve given us the target, we&#8217;ve got the benchmark, we&#8217;ve had measures, you say they&#8217;re succeeding [mumbled interruptions] it almost seems as though you&#8217;re just trying to, having failed to meet the intermediate target for 2010, want to, go from the politics of delivery to the politics of intent, by strengthening the future aspiration without achieving the immediate one; I mean: what is the point of the bill, what&#8217;s the point of the bill?</p>
<p>PM    And very important too to strengthen that aspiration by which we are prepared to be judged both by our aspiration and by our delivery, by the public; but if you take the other example that you offered to me, er, halving the, er, public financial deficit, by half over four years, I think it&#8217;s very important that that discipline, that framework be put in place and be binding on this and future governments; and this is the Queen&#8217;s speech, it&#8217;s about legislation, er, shortly, before the end of the year, you&#8217;ll have the pre-budget report in which there are a combination of measures, including taxation and public spending measures the chancellor will set out how we intend to re-balance the public finances, er, over that period&#8230; [interrupted by ED]</p></blockquote>
<p>Aaaaarrrggghhhhhh</p>
<blockquote><p> ED    &#8230;what is the point of the bill; the question is why you would actually have a bill to do that? Willem Buiter, whom you guys appointed as a member of the Monetary Policy Committee, has written in the FT that Fiscal Responsibility Acts are the instruments of the fiscally irresponsible to con the public; you don&#8217;t need a bill to halve the deficit, you can just halve the deficit, you&#8217;re in government, that&#8217;s what you do.</p>
<p>PM    I think the public want a rather stronger and more robust demonstration, both of our will, our determination, and the discipline that we will put in place, in order to do that; you can&#8217;t have it both ways you know Evan.  I&#8217;ve come on your programme and you&#8217;ve sort of, taken a, you know, a stick to beat me about the government [ED laughing in background] needing to show greater responsib&#8230;fiscal responsibility&#8230;</p></blockquote>
<p>Is this some sort of innuendo by Mandelson?</p>
<blockquote><p> ED    &#8230;but that&#8217;s about measures, not about an act, isn&#8217;t it?</p>
<p>PM    &#8230;and and and, and about how we need to demonstrate to the public &#8211; heaven knows how many interviews you and I have had on this subject [ED still chuckling] &#8211; about how we need to demonstrate more convincingly to the public the discipline that we&#8217;re going to create, well we&#8217;re doing so, so don&#8217;t, please, complain now, and you won&#8217;t have too much time to wait for the pre-budget report to see the measures, but I can&#8230;[interrupted by ED]</p>
<p>ED    &#8230;but the point is that it&#8217;s the measures that count and the delivery that counts, not the statements of intent&#8230;[interrupted by PM]</p>
<p>PM    &#8230;let me ask you then: do you really think it&#8217;s irrelevant that the government states that it&#8217;s going to provide guarantees and other educational entitlements to young people, including the right to an educational training&#8230;[interrupted by ED]</p></blockquote>
<p>Yes, actually.</p>
<blockquote><p>ED    &#8230;it might be irrelevant if you don&#8217;t achieve it; the point is, let me give you an example [talking over each other]</p>
<p>PM    &#8230;that is for the public to judge; they judge us by our values, they judge us by our policies, they will then, in due course, judge by whether we&#8217;ve our delivered on those things.</p></blockquote>
<p>In other words, piss off and leave me alone, please?  I know we&#8217;re beaten, just don&#8217;t point it out, will you?</p>
<blockquote><p> ED    Right. Well as you are trying to make, gain political credance and capital by expressing intent very strongly, it is important that we go back and look at previous expressions of intent and whether they have been delivered.  You had a bill to &#8211; you passed an act &#8211; to eradicate fuel poverty among vulnerable households by 2010, vulnerable households in England&#8230;[interrupted by PM]</p>
<p>PM    Are you saying that we&#8217;ve made no progress at all in doing that?</p></blockquote>
<p>What he wants to say is: no</p>
<blockquote><p> ED    I think you&#8217;ve made planty of progress; are you going to, are you going to eradicate fuel poverty among households, vulnerable households, in England by 2010?</p>
<p>PM    We will certainly continue to do everything we can to&#8230;</p></blockquote>
<p>Umm &#8211; pass.  Next question?</p>
<blockquote><p> ED    &#8230;but that&#8217;s not a yes!  So what is the point of the bill, what is the point of the act that says you have to do that, if you don&#8217;t do it?  Who&#8217;s going to go to jail for not achieving it?</p>
<p>PM    Well, take NHS guarantees for patients&#8230;</p></blockquote>
<p>Ahh &#8211; I know about the NHS, good news to be found here, everyone loves a cripple&#8230;</p>
<blockquote><p> ED    &#8230;no, let&#8217;s take the one I mentioned which is the one you got credit for doing all those years ago, when you passed the act, you said it was about enshrining and making important&#8230;</p>
<p>PM    &#8230;Evan&#8230;</p></blockquote>
<p>Pleeeease leave me alone&#8230;</p>
<blockquote><p> ED    &#8230;and you&#8217;re probably not going to achieve it and you&#8217;re not taking measures to achieve it, what&#8217;s the point?</p>
<p>PM    Evan, with the greatest love and respect, I think I&#8217;m going to have to take some time to answer your questions, would you mind?</p></blockquote>
<p>When PM gives you his greatest love and respect, it&#8217;s time to really worry</p>
<blockquote><p> ED    Go ahead</p>
<p>PM    Thank you very much indeed.  I think it&#8217;s very important that the government, where appropriate enacts targets, benchmarks, by which it judges itself, but more importantly, by which the public judges its delivery.  That&#8217;s why we are providing guarantees for educational entitlements that&#8217;s why we&#8217;re putting in place national health service guarantees for patients, including the right to see a cancer specialist within two weeks if their GP suspects that they have cancer, that&#8217;s why we&#8217;re going to lay the foundations for the national care service for the elderly, now, the point I&#8217;m trying to make to you is that politics is about spelling out your policies, it&#8217;s about spelling out policy differences: what they mean for the public, what they say about the party&#8217;s values and beliefs, now that may be all too detailed and too policy wonkish [sic] for the taste and appetite of the BBC, certainly Today, but this is what is important for the public, and whether it be fuel poverty and our ability and determination to drive on and meet our 2010 targets, how we want to enshrine clearer individual guarantees and entitlements, both in our schools and in the national health service, the debate, the very important provision that we have got to talk about in this country, about supporting families who are looking after elderly parents or relatives who need that care, all these things are about politics, they are about policies [ED over: but not about electioneering], they are about what the public is interested in [ED over: of course they are], Even, and what in time they will judge us, and the other parties, by when the election comes.</p></blockquote>
<p>Blah blah blah, hopefully no one&#8217;s listening any more. La la la I don&#8217;t care&#8230;</p>
<blockquote><p> ED    As you&#8217;ve said.  [rest on social care...]</p></blockquote>
<p>OK.  So, other than Mandelson being PWND by Evan Davis, what he spectacularly failed to do was answer the question: why do we need this bill.</p>
<p>This is just yet another example of the government raising a bill simply because it can.  It&#8217;s not needed, not wanted, and it&#8217;s not actually going to do anything other than weigh down the statute books even further.</p>
<p>Full interview available at: http://news.bbc.co.uk/today/hi/today/newsid_8365000/8365766.stm</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Mandelson+on+Today+http://i85in.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2009/11/18/mandelson-on-today/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTC Magic (aka Google G2) accelerometer not working</title>
		<link>http://www.sushiguru.co.uk/blog/2009/09/25/htc-magic-aka-google-g2-accelerometer-not-working/</link>
		<comments>http://www.sushiguru.co.uk/blog/2009/09/25/htc-magic-aka-google-g2-accelerometer-not-working/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 11:38:32 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/13</guid>
		<description><![CDATA[<p>So I got my new G2 a couple of months ago and haven&#8217;t put it down that much since.  Well, last night I installed *something* (game/app) that stopped the accelerometer working.  I was close to tears.  Not really.  But I was bloody irritated and it took a while to find out how to kick-start it [...]]]></description>
			<content:encoded><![CDATA[<p>So I got my new G2 a couple of months ago and haven&#8217;t put it down that much since.  Well, last night I installed *something* (game/app) that stopped the accelerometer working.  I was close to tears.  Not really.  But I was bloody irritated and it took a while to find out how to kick-start it again.  Whilst Les watched Moulin Rouge (again), I browser forums and played.  Finally found the answer in a really obscure place (OK combination of places) &#8211; the HTC website and the androidforums).  Answer: factory reset.  Nothing else required.</p>
<p><a href="http://androidforums.com/htc-magic/5855-accelerometer-problem.html" target="_blank">http://androidforums.com/htc-magic/5855-accelerometer-problem.html</a></p>
<p><a href="http://www.htc.com/au/faqs.aspx?p_id=267&amp;cat=0&amp;id=94110" target="_blank">http://www.htc.com/au/faqs.aspx?p_id=267&amp;cat=0&amp;id=94110</a></p>
<p>Problem solved and all working well again.  It does, however, point to the fact that an app can crash the OS, which is not, imho, that good.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+HTC+Magic+%28aka+Google+G2%29+accelerometer+not+working+http://632ri.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2009/09/25/htc-magic-aka-google-g2-accelerometer-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outraged of somewhere&#8230;</title>
		<link>http://www.sushiguru.co.uk/blog/2009/06/12/outraged-of-somewhere/</link>
		<comments>http://www.sushiguru.co.uk/blog/2009/06/12/outraged-of-somewhere/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 13:58:26 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/12</guid>
		<description><![CDATA[<p>Am simply outraged that some clever bugger decided to launch an iPhone app that talls you the name of sushi dishes, and they decided to call it sushiguru.  Had they never heard of Google before naming their product?</p>
<p>Ponders: are they, in fact, infringing my trademark&#8230;?</p>
<p align="left"></p>]]></description>
			<content:encoded><![CDATA[<p>Am simply outraged that some clever bugger decided to launch an iPhone app that talls you the name of sushi dishes, and they decided to call it sushiguru.  Had they never heard of Google before naming their product?</p>
<p>Ponders: are they, in fact, infringing my trademark&#8230;?</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Outraged+of+somewhere%E2%80%A6+http://ptsio.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2009/06/12/outraged-of-somewhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haircut</title>
		<link>http://www.sushiguru.co.uk/blog/2009/02/26/haircut/</link>
		<comments>http://www.sushiguru.co.uk/blog/2009/02/26/haircut/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 10:12:38 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/10</guid>
		<description><![CDATA[<p>Had a hair cut the other day.  It&#8217;s not an occasion that happens very often in my life; I have little of it left, though my wife did persuade me to grow it a little as by usual home-done buzz-cut was making me look more and more like either:</p>

A deranged, escaped mental patient; or
A deranged, [...]]]></description>
			<content:encoded><![CDATA[<p>Had a hair cut the other day.  It&#8217;s not an occasion that happens very often in my life; I have little of it left, though my wife did persuade me to grow it a little as by usual home-done buzz-cut was making me look more and more like either:</p>
<ul>
<li>A deranged, escaped mental patient; or</li>
<li>A deranged, escaped convict</li>
</ul>
<p>Either way, small children would scream if they saw me and old ladies clutched their handbags tighter.  I did, however, like the &#8216;velcro head&#8217; feeling that the close cut gave.  Anyhow, I had the cut the other day (short back&#8217;n&#8217;sides and don&#8217;t take <em>too</em> much off the top&#8230;</p>
<p>At the end of the cut, my life hit an all time low.  The barber got out his wee battery powered trimmer, neatened up the edges around my ears and neck, then stood back and said, in an expectant voice: &#8220;eyebrows?&#8221;</p>
<p>That&#8217;s that then.  Back to home cuts from now on.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Haircut+http://rw3dp.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2009/02/26/haircut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel and Dynamic Arrays</title>
		<link>http://www.sushiguru.co.uk/blog/2009/02/04/excel-and-dynamic-arrays/</link>
		<comments>http://www.sushiguru.co.uk/blog/2009/02/04/excel-and-dynamic-arrays/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 13:29:00 +0000</pubDate>
		<dc:creator>sushiguru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sushiguru.co.uk/blog/archives/9</guid>
		<description><![CDATA[<p>Aargh.  Came across an old problem with a spreadsheet today; trying to create and then write values to a dynamic array in VBA.</p>
<p>The position is that I&#8217;m trying to write email addresses to a file for a bulk mailing; the mail client particularly likes the local part of the email addresses in a comma delimited [...]]]></description>
			<content:encoded><![CDATA[<p>Aargh.  Came across an old problem with a spreadsheet today; trying to create and then write values to a dynamic array in VBA.</p>
<p>The position is that I&#8217;m trying to write email addresses to a file for a bulk mailing; the mail client particularly likes the local part of the email addresses in a comma delimited list, and the mailing lists are dynamic in nature &#8211; I might have 10 on one occasion and 1000 on another.</p>
<p>Problem:</p>
<ul>
<li>Excel doesn&#8217;t like one dimensional dynamic arrays</li>
<li>Once you have 1000 rows in a spreadsheet of unique email addresses you need to concatenate them with a comma
<ul>
<li> This is difficult to do in a single cell as you can quite quickly exceed the char limit for one cell</li>
<li>It can be done by splitting the concatted addresses across multiple cells, but this isn&#8217;t a sure-fire winner</li>
</ul>
</li>
<li>Would be much easier to stuff all the values into an array and then simply join the array with a comma.</li>
</ul>
<p>Found a work-around in amongst google code etc which goes like this:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Open file_to_open For Output As #1<br />
Dim addr As Variant<br />
addr = Sheets(&quot;Sheet1&quot;).Range(Cells(2, 1), Cells(uniques + 1, 1)).Value<br />
ReDim addresses(UBound(addr, 1) - 1) As String<br />
For i = 0 To UBound(addr, 1) - 1<br />
addresses(i) = addr(i + 1, 1)<br />
Next i<br />
print_addresses = Join(addresses, &quot;,&quot;)<br />
Print #1, print_addresses<br />
Close #1</div></td></tr></tbody></table></div>
<p>This may not be the most elegant solution in the world, but it works for me (and it&#8217;s fast).</p>
<p>By declaring addr as a Variant type it can become a dynamic TWO dimension array, which is then populated with the values of the addresses.  i can then step through the dynamically created array to create a single array of known size, and then join it with the comma.</p>
<p>There&#8217;s probably a way to do this without creating the two dimension array first, but I couldn&#8217;t find it, or get one to work, so this&#8217;ll do for me :)</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Just+posted:+Excel+and+Dynamic+Arrays+http://w4m4t.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.sushiguru.co.uk/blog/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sushiguru.co.uk/blog/2009/02/04/excel-and-dynamic-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
