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

<channel>
	<title>Stochastic Geometry</title>
	<atom:link href="http://stochasticgeometry.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://stochasticgeometry.wordpress.com</link>
	<description>Random journal entries on programming, systems administration, nonlinear math and anything else that interests me.</description>
	<lastBuildDate>Sun, 15 Nov 2009 18:57:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='stochasticgeometry.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/693cd385f66daecb54d7729864660519?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Stochastic Geometry</title>
		<link>http://stochasticgeometry.wordpress.com</link>
	</image>
			<item>
		<title>Broadband&#8230;</title>
		<link>http://stochasticgeometry.wordpress.com/2009/11/15/broadband/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/11/15/broadband/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 18:49:58 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/2009/11/15/broadband/</guid>
		<description><![CDATA[Just as a small note, I&#8217;m off in Kuortane in Finland at the moment. Middle of nowhere, frozen bog and tundra all around, closing in on the artic circle and nothing as far as you can see outside the sports center here but wind and snow and wolves.
And I have a 256Mbit broadband connection to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=469&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Ftravel_places%2FFinnish_broadband_v_Irish_broadband' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe>Just as a small note, <a href="http://sparks.journals.ie/">I&#8217;m off in</a> <a href="http://www.kuortane.com/en/index.html">Kuortane</a> in Finland at the moment. Middle of nowhere, frozen bog and tundra all around, closing in on the artic circle and nothing as far as you can see outside the sports center here but wind and snow and wolves.</p>
<p>And I have a 256Mbit broadband connection to the apartment in the sports centre, and so do all the other 53 rooms in the facility, <em>and</em> there&#8217;s a free wifi hotspot downstairs.</p>
<p>So tell me Eircom, if the finns can get 256Mbit out to the middle of nowhere and then another hundred miles over to Kuortane, past -7C weather when it&#8217;s mild and -30C when it&#8217;s not, past moose and wolves and ice and snow; what the bloody hell is so damn difficult about getting 24Mbit broadband to the middle of Dublin City?</p>
<p>Gah!</p>
Posted in General  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/469/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=469&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/11/15/broadband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>
	</item>
		<item>
		<title>Joel Spolsky, Snake-Oil Salesman</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/27/joel-spolsky-snake-oil-salesman/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/27/joel-spolsky-snake-oil-salesman/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 01:18:42 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[Academia]]></category>
		<category><![CDATA[CS7004]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=458</guid>
		<description><![CDATA[ If there is a lecturer in TCD&#8217;s CS department that doesn&#8217;t know of the problems and issues Joel just raised in his Capstone Projects post, they&#8217;re a rare bird indeed. But what Joel hasn&#8217;t mentioned &#8212; and what those lecturers can tell you because they&#8217;ve been debating it for decades, writing papers on it, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=458&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="size-medium wp-image-459 alignleft" title="snakeoil" src="http://stochasticgeometry.files.wordpress.com/2009/10/snakeoil.jpg?w=154&#038;h=180" alt="snakeoil" width="154" height="180" /><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FJoel_Spolsky_Snake_Oil_Salesman' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe> If there is a lecturer in <a href="https://www.cs.tcd.ie/" target="_blank">TCD&#8217;s CS department</a> that doesn&#8217;t know of the problems and issues Joel just raised in his <a href="http://www.joelonsoftware.com/items/2009/10/26.html" target="_blank">Capstone Projects post</a>, they&#8217;re a rare bird indeed. But what Joel hasn&#8217;t mentioned &#8212; and what those lecturers can tell you because they&#8217;ve been debating it for decades, writing papers on it, holding conferences and have published peer-reviewed journals on the topic, as opposed to Joel&#8217;s one blog post &#8212; are that there are very specific and very good reasons why CS and CEng undergraduate courses don&#8217;t get to cover all the industry tools Joel uses.<span id="more-458"></span></p>
<p>To give a brief and inexhaustive list:</p>
<ul>
<li>Undergraduate courses in CS and CEng are not there to teach industrial tools, but basic principles, ususally <em>ab initio</em> to students just out of secondary school (high school for the US equivalent courses). This has implications:
<ul>
<li>Everyone must work solo. You can learn to work in teams later (and certainly there are team projects all through the four years of the CS and CEng courses in TCD) but until you have a grasp of the fundamentals, team projects are worse than useless as they mask the student&#8217;s problems with the basics.</li>
<li>No student is expected to graduate and be able the next day to walk into an industrial role without supervision or training, and no student has <em>ever</em> been expected to do that in Engineering since the first undergraduate course started in TCD in 1841. That&#8217;s why we have mentoring, why we have CPD processes, why we have Chartered Engineer (or Professional Engineer) titles granted by postgraduate programmes, it&#8217;s why there&#8217;s an entire structure there that&#8217;s been built up over hundreds of years of experience. Experience that we have paid for with lives in many cases.</li>
<li>Everyone needs to work on the &#8220;interesting 10%&#8221; and leave the boilerplate code for later. If we had ten years for an undergrad degree, you can be very sure it&#8217;d be covered in detail, but we don&#8217;t. And four years only sounds like a long time because you&#8217;ve never taught such a course before, and are missing details like the coverage of the entire field of Computer Science being necessary in that four years.</li>
</ul>
</li>
<li>Undergraduate courses lose their technical currency in something like five years on average (obviously different sectors age at different rates &#8211; web programming has a very fast cycle, embedded systems a very slow one). If we started students off on the latest fad language in year one, they&#8217;d graduate with an obsolete skill in year four. So instead we&#8217;re better serving students by choosing languages which allow the lessons to be taught clearly, or which are at least well-established and unlikly to vanish into obsolesence before they can graduate. That&#8217;s why moving basic courses to Erlang or Haskell is probably a poor idea.</li>
<li>There is no such thing as the agreed best practise in industrial work. Some favour Agile methods, some regard them as toxic. What works in one sector of the industry will leave your business uncompetitive in another. What is a minor issue in one application will actually kill people in other applications. And different industry sectors have different governing legislation. So if Industry, that much-vaunted crucible where only the best practices survive the trial of the invisible hand of the free market, cannot come up with a single code of practice, what exactly would Joel have the universities teach?</li>
<li>There is a duty of care to the students. There are many evangelicalists out there who promote one form of Agile methodology over another, who promote unit testing, who promote pair programming, who promote Scrum, and so forth. These methodolgies are without doubt all very interesting &#8211; but they&#8217;re also unproven. If I&#8217;d started teaching students in 2005 with whatever the Agile Methodology De Jour was, by the time they graduated in 2009, that methodology had a fairly low probability of being unaltered, let alone the dominant industry methodology. That&#8217;s four years of a student&#8217;s life, committed to a methodology based solely on the hype its originators could muster together. That&#8217;s not just poor teaching and an invitation for justified lawsuits, it&#8217;s downright unethical and <em>wrong</em>.</li>
</ul>
<p>Normally in an article (or blog post in this case) like Joel&#8217;s, the last few paragraphs are where traditionally the author is meant to show a solution to an elucidated problem. Joel has highlighted a perceived lack of experience with current industrial tools and practices amongst college students (a faulty perception, but nonetheless). He&#8217;s pointed out a root cause (poor time management) which is fair enough &#8211; it&#8217;s not the sole cause, it&#8217;s not even a primary one in most professional evaluations, but it&#8217;s a valid contributing factor. So now&#8217;s the time for the solution, yes?</p>
<p>But here is where Joel merely says <em>&#8220;have the students use my product to track their usage of an unproven methodology&#8221;</em>. No indications as to how we would approach the problem of explaining the relevant industrial methods, or how we&#8217;d select the specific one we&#8217;d teach, or why we should select it, or where it&#8217;s best applied and where it&#8217;s best avoided, what it&#8217;s strengths and weaknesses are, and so forth &#8212; just pure old-fashioned, ladies-and-gentlemen-this-product-cures-all-that-ails-ya, snake oil salesmanship.</p>
<p>Our students may indeed have poor time management skills on long timescales (a failing which  <a href="http://catless.ncl.ac.uk/Risks" target="_blank">comp.risks</a> and <a href="http://thedailywtf.com/" target="_blank">The Daily WTF</a> and <a href="http://blogs.zdnet.com/projectfailures/" target="_blank">IT Project Failures</a> have been pointing out in industrial programmers for many years now, which to me indicates that industry does not necessarily have much to teach here). At least when Limoncelli wrote <a href="http://www.amazon.com/Management-System-Administrators-Thomas-Limoncelli/dp/0596007833" target="_blank">Time Management for Systems Administrators </a>he was putting forward a set of skills that had proven to work for him in the field, and he was trying to pass on lessons learnt the hard way. I might not use the book as a college textbook (though I do use it myself personally), but I can at least respect his intent there. But Joels solution isn&#8217;t to teach better skills; it&#8217;s to sell his software tool to those students. Let&#8217;s throw ethics out the window for a moment and say we do just that. Now what? I can sell you the best chisel in all creation Joel, but I can&#8217;t make you into Michaelangelo by doing so &#8211; I can just take some of your money and give you a tool you don&#8217;t know how to use in return.</p>
<p>Frankly, when I teach the <a href="http://www.scss.tcd.ie/postgraduate/mscmuc/" target="_blank">CS7004</a> students how to use VCS and ticket tracking, it won&#8217;t be using FogBugz or any other proprietary system, it&#8217;ll be using systems they can explore without having to pay fees for, like <a href="http://www.selenic.com/mercurial/" target="_blank">Mercurial</a> and <a href="http://trac.edgewall.org/" target="_blank">Trac</a>. And if afterwards they need to go learn Git or Jira, they&#8217;ll know the fundamentals and it&#8217;ll take them less than a few hours to make the transition. <em>That</em> is what university courses are for, to teach the fundamentals so that the students can pick up specific skills far more rapidly and evaluate tools according to their proposed use. Not to act as a captive and uncynical market for proprietary software tools.</p>
<p>And even after that, in the final paragraph, he admits himself that it won&#8217;t work &#8211; that you still require a manager to come in and do time management even in industry. That Scrum won&#8217;t teach you time management. That the only difference between college students and industrial programmers is that the latter have time management enforced upon them by a manager &#8211; in which case, were that the truth (and it&#8217;s not a universal truth, and I&#8217;ve witnessed that first-hand), then there would be no problem with college students whatsoever.</p>
<p>Gah. Well, perhaps it&#8217;s time I should exercise some time management techniques that I should have used years ago &#8212; and simply stop reading Joel.</p>
Posted in Academia, CS7004, General  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=458&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/27/joel-spolsky-snake-oil-salesman/feed/</wfw:commentRss>
		<slash:comments>86</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/snakeoil.jpg?w=257" medium="image">
			<media:title type="html">snakeoil</media:title>
		</media:content>
	</item>
		<item>
		<title>Why seeding is important for random functions&#8230;</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/24/why-seeding-is-important-for-random-functions/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/24/why-seeding-is-important-for-random-functions/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 00:40:18 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=445</guid>
		<description><![CDATA[
Like many people these days, I use facebook to track what&#8217;s going on with friends and family I don&#8217;t get to see as often as I would have done in years past. Long work days, large numbers of balls in the air and general &#8220;stuff&#8221; prevents actual face time far too often, but while it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=445&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignleft" title="Doh..." src="http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=40343401983&amp;v=1&amp;size=b&amp;cksum=56fd1add251f8467c6622d23a11ee4d9&amp;src=http%3A%2F%2Fdl.labs.popcap.com%2Ffacebook%2Fbj2%2Fimages%2FFeedImages%2Fbrick_v1.png" alt="" width="125" height="125" /></p>
<p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fplayable_web_games%2FBejeweled_Blitz_fails_to_reseed_its_random_function' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe>Like many people these days, I use facebook to track what&#8217;s going on with friends and family I don&#8217;t get to see as often as I would have done in years past. Long work days, large numbers of balls in the air and general &#8220;stuff&#8221; prevents actual face time far too often, but while it&#8217;s not the same as a night spent laughing over a beer, it&#8217;s better to note that a friend has a new job or that there&#8217;s a new baby en route or whatever over facebook than not at all.</p>
<p><img class="alignnone" title="Bejeweled Blitz" src="http://labs.popcap.com/facebook/bj2/images/offline_logo.jpg" alt="" width="446" height="127" /></p>
<p>And of course, facebook has games. Which is handy sometimes, for those moments when you have literally six or seven minutes to fill &#8211; too much time to sit still and be bored, too little to get anything real started. Personally, I play bejewelled on facebook for those moments. It&#8217;s been set up rather nicely there &#8211; blitz games of one minute, with scores being tracked so that friends compete in weekly rankings and little medals at various scores and scores being classed as being in the top X% globally and so on. The thing about this is that now you have a large community of people (<a href="http://ie.games.ign.com/articles/996/996686p1.html" target="_blank">over five million within six months of its launch </a>according to Popcap, who wrote the game), all competing against one another &#8211; so now it&#8217;s important that it be fair or it feels like it&#8217;s not worth playing. Unfortunately <a href="http://www.facebook.com/profile.php?id=633872944&amp;v=feed&amp;story_fbid=160563019325&amp;ref=mf" target="_blank">tonight I noticed that someone&#8217;s been too clever</a>.</p>
<p><span id="more-445"></span>The game&#8217;s written in actionscript. I obviously don&#8217;t know the source code, but I have a pretty good guess as to what mistake&#8217;s been made here. I&#8217;m guessing that to set up the initial game board, they used the <span style="color:#0000ff;"><em>noise()</em></span> function to generate a bitmap with the six pieces represented by the values in one channel of the bitmap like so (adopted from <a href="http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000248.html" target="_blank">the Adobe documentation</a>):</p>
<pre><span style="color:#333399;">var myBitmap:BitmapData = new BitmapData(8, 8,false, 0xff000000);
myBitmap.noise(<strong><span style="color:#0000ff;">&lt;RANDOM NUMBER HERE&gt;</span></strong>, 0, 5, BitmapDataChannel.BLUE,true);
var image:Bitmap = new Bitmap(myBitmap);</span>
</pre>
<p>So now you just read the bitmap, and for each of the 8&#215;8 pixels, if the value is 0 display a blue diamond, if it&#8217;s 1 display a red square, etc, etc. It&#8217;s a clean enough way to do it, but it has a flaw, highlighted in light blue there. If the <span style="color:#0000ff;">&lt;RANDOM NUMBER HERE&gt;</span> number isn&#8217;t actually random, the noise looks the same every single time. And if they&#8217;ve used another method that calls <em><span style="color:#0000ff;">Math.random()</span></em>, I&#8217;m guessing they&#8217;re not seeding it correctly there either because what I&#8217;m seeing in the game is a fairly classic case of a <em><span style="color:#0000ff;">random()</span></em> function being repeatedly called without reseeding and giving the same sequence each time. In my case, I played three games before noticing that they all opened up like so:</p>
<p><img class="aligncenter size-full wp-image-446" title="Screenshot1" src="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot1.png?w=356&#038;h=375" alt="Screenshot1" width="356" height="375" /></p>
<p>If I drag a yellow piece up to create a three-in-a-row in the top left corner there, it disappears and three blue pieces fall down from the top to replace them, creating a five-in-a-row (a hypercube in the game&#8217;s parlance) like so:</p>
<p><img class="aligncenter size-full wp-image-447" title="Screenshot2" src="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot2.png?w=349&#038;h=367" alt="Screenshot2" width="349" height="367" /></p>
<p>If I use that hypercube to delete all the blue pieces on the board, a multiplier bonus falls in attached to a red piece in the upper left quadrant of the board like so:</p>
<p><img class="aligncenter size-full wp-image-448" title="Screenshot3" src="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot3.png?w=352&#038;h=366" alt="Screenshot3" width="352" height="366" /></p>
<p>(You&#8217;ll note the timer at the bottom of the game is running out fast here, this is because I&#8217;m taking screenshots at leisure). If I now move the white piece in the top left quadrant to create a vertical three-in-a-row, it disappears, the multiplier (X2) piece falls down and a red piece falls behind it, creating a three-in-a-row of red pieces which vanish leaving this:</p>
<p><img class="aligncenter size-full wp-image-449" title="Screenshot4" src="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot4.png?w=353&#038;h=369" alt="Screenshot4" width="353" height="369" /></p>
<p>And the game progresses on from there. But the point is that this is the same sequence, every time I&#8217;ve played. So far I&#8217;ve repeated the same board in something like fifteen games (mostly while grabbing screenshots and mucking about). So it&#8217;d be perfectly possible for me to spend hours exploring this board&#8217;s possible permutations to find the optimum set of moves, or in simpler words, to cheat.</p>
<p>And suddenly the game isn&#8217;t fun anymore. Did person X beat my high score because they spent time playing the same game over and over honing their procedure? Is my own high score really valid anymore as a result of this? And yes, there are indeed <a href="http://ariwriter.com/hacking-the-bejeweled-blitz-game-on-facebook/" target="_blank">cheating methods already available</a> to those who are willing to install software to their browser to crack the game, but this is somehow different from that, there&#8217;s less effort required to cheat using this bug and less malicious intent as well. So it&#8217;s a nice game ruined by someone missing one single step in the setup of the game board &#8211; namely, they forgot to seed the random function with an appropriate seed value which changes between sessions.</p>
Posted in General  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=445&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/24/why-seeding-is-important-for-random-functions/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=40343401983&#38;v=1&#38;size=b&#38;cksum=56fd1add251f8467c6622d23a11ee4d9&#38;src=http%3A%2F%2Fdl.labs.popcap.com%2Ffacebook%2Fbj2%2Fimages%2FFeedImages%2Fbrick_v1.png" medium="image">
			<media:title type="html">Doh...</media:title>
		</media:content>

		<media:content url="http://labs.popcap.com/facebook/bj2/images/offline_logo.jpg" medium="image">
			<media:title type="html">Bejeweled Blitz</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot1.png" medium="image">
			<media:title type="html">Screenshot1</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot2.png" medium="image">
			<media:title type="html">Screenshot2</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot3.png" medium="image">
			<media:title type="html">Screenshot3</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/screenshot4.png" medium="image">
			<media:title type="html">Screenshot4</media:title>
		</media:content>
	</item>
		<item>
		<title>Logitech Professional Presenter R800 Review</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/20/logitechr800/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/20/logitechr800/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:04:55 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[Academia]]></category>
		<category><![CDATA[CS7004]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[New Toys!]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=389</guid>
		<description><![CDATA[I went a little mad for an hour there after being assigned my first course to teach, and afterwards found I'd ordered the R800, Logitech's top-of-the-line presentation remote/laser pointer. Here's what I think of it so far.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=389&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img style="margin:5px;" title="SANY0003a" src="http://stochasticgeometry.files.wordpress.com/2009/10/sany0003a.jpg?w=512&#038;h=682" alt="SANY0003a" width="512" height="682" /><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fgadgets%2FLogitech_Professional_Presenter_R800_Review' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<p>So when they gave me the CS7004 course to teach in college this year, I went a little mad for an hour there, and after I got back up off the floor and cleaned the froth off the keyboard, it turned out I&#8217;d ordered this, Logitech&#8217;s top-of-the-line presenter remote/laser pointer gizmo. It arrived last Tuesday, just in time to not be around for <a href="http://www.enterprise-ireland.com/BigIDEAS/" target="_blank">the largest presentation I&#8217;ve done for a few years</a>, but I&#8217;ve been using it since for lectures in CS7004. And I have to say, it&#8217;s very nice indeed.</p>
<p><span id="more-389"></span></p>
<p>First off, the basics are perfect. Insert two AA batteries, pull the USB receiver from the unit and plug it into the laptop&#8217;s USB port and it just runs. Powerpoint under Windows you&#8217;d expect, but for me it worked without a hitch for OpenOffice Impress under Debian Squeeze. All the usual features are flawless, the weight is just about perfect. No hinky little quirks anywhere that I&#8217;ve found since I got it.</p>
<p>But it&#8217;s the little touches that make the R800 so nice to use. The soft leather case it comes with, the soft-touch coating on the unit itself, the general ergonomic fit of the unit are all lovely. I&#8217;ve used a few different presentation remotes before, and the R800 feels better in the hand than any of them.</p>
<p><img class="alignnone size-full wp-image-402" style="margin:5px;" title="SANY0002a" src="http://stochasticgeometry.files.wordpress.com/2009/10/sany0002a.jpg?w=512&#038;h=377" alt="SANY0002a" width="512" height="377" /></p>
<p>The laser pointer, being green, is <em>remarkably</em> bright in appearance &#8211; dazzling at close range even by reflection, despite only being a class II laser as opposed to the usual class IIIa/IIIb red lasers in most pointers. It&#8217;s well collimated, with the beam still precise ten metres away.</p>
<p><img class="alignnone size-full wp-image-406" style="margin:5px;" title="SANY0008a" src="http://stochasticgeometry.files.wordpress.com/2009/10/sany0008a.jpg?w=512&#038;h=368" alt="SANY0008a" width="512" height="368" /></p>
<p>The R800 has an internal countdown timer to aid in keeping talks short, which is set and controlled by the buttons on the right of the unit. A silent vibrating alert happens once at five minutes to go, twice at two minutes, and three times when the timer runs out, at which point it counts upwards to track overrun. It&#8217;s a shame you can&#8217;t count up as a seperate function, that would be handy when rehearsing talks ahead of time, but since it doesn&#8217;t display seconds anyway, I&#8217;m probably not missing much. The graphical indication of the time running out as a vertical bar chart is a nice touch as well.</p>
<p><img class="alignnone size-full wp-image-404" style="margin:5px;" title="SANY0004a" src="http://stochasticgeometry.files.wordpress.com/2009/10/sany0004a.jpg?w=512&#038;h=302" alt="SANY0004a" width="512" height="302" /></p>
<p>It&#8217;s handy to have the on/off slide switch (on the left of the unit) to preserve battery life for those days when you drop the remote in a bag and something bumps up against it and holds down the laser button, eating battery life.</p>
<p><img class="alignnone size-full wp-image-403" style="margin:5px;" title="SANY0006a" src="http://stochasticgeometry.files.wordpress.com/2009/10/sany0006a.jpg?w=512&#038;h=384" alt="SANY0006a" width="512" height="384" /></p>
<p>The forward/backward and laser buttons are sufficiently large that you don&#8217;t confuse them unless you&#8217;ve got an awkward grasp of the remote, which happens rarely because it naturally fits into the right spot in your hand. The slideshow start/blank screen buttons are also handy when stopping mid-talk to answer a question or use the whiteboard behind the projection screen.</p>
<p>All in all, it&#8217;s a good tool and a nifty gadget. But the madness is the price. It set me back €80 on ebay &#8211; and €20 more for customs charges. I know, that&#8217;s made back in a lecture hour or two, but it&#8217;s still way too much. Overall, I think I&#8217;d sanely recommend getting the R400 instead, which seems to be the same thing but with a red laser pointer and without the timer and alerts, for half the price. I&#8217;ll grant you the green laser is far more bright in appearance, and the timer&#8217;s really handy in some cases &#8211; but unless this doohickey has a four-year lifespan and you use it a lot (like I&#8217;m doing at the moment), I don&#8217;t think it&#8217;s worth it.</p>
<p>That&#8217;s not to say remotes aren&#8217;t worth getting, by the way &#8211; as <a href="http://www.presentationzen.com/presentationzen/2005/08/remote_simplici.html" target="_blank">Presentation Zen has pointed out</a> <a href="http://www.garrreynolds.com/Presentation/delivery.html">more than once</a>, they&#8217;re not optional, they&#8217;re <em>required</em> in order to give a good presentation (and he&#8217;s right). And if you&#8217;re pitching to VCs for funding in the millions-of-euros range &#8211; where unobtrusively tracking time during your presentation is <em>that</em> important, your milage may vary a lot. Certainly I missed it a lot at the <a href="http://www.enterprise-ireland.com/BigIDEAS/" target="_blank">Big Ideas 09</a> event. You don&#8217;t want to be having to keep traffic light systems in your field of view if you can offload the work to a vibrating alert.</p>
<p>&#8230;plus, it&#8217;s nice to have nice toys every once in a while and I was celebrating, so I&#8217;m not sending it back <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
Posted in Academia, CS7004, General, Linux, New Toys!  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=389&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/20/logitechr800/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/sany0003a.jpg" medium="image">
			<media:title type="html">SANY0003a</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/sany0002a.jpg" medium="image">
			<media:title type="html">SANY0002a</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/sany0008a.jpg" medium="image">
			<media:title type="html">SANY0008a</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/sany0004a.jpg" medium="image">
			<media:title type="html">SANY0004a</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/sany0006a.jpg" medium="image">
			<media:title type="html">SANY0006a</media:title>
		</media:content>
	</item>
		<item>
		<title>Wi-Fi Direct a bomb?</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/15/wi-fi-direct-a-bomb/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/15/wi-fi-direct-a-bomb/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:02:37 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[802.11]]></category>
		<category><![CDATA[access points]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wifi alliance]]></category>
		<category><![CDATA[wifi direct]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=391</guid>
		<description><![CDATA[
There&#8217;s a fair amount of buzz going round at the moment about Wi-Fi Direct, the latest thing from the WiFi Alliance people. It appears for all intents and purposes to be a version of the 802.11 Ad-hoc mode, designed to allow for connections between individual devices without the use of an AP or router, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=391&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignnone size-full wp-image-396" title="usb_memory_bomb2" src="http://stochasticgeometry.files.wordpress.com/2009/10/usb_memory_bomb2.jpg?w=520&#038;h=399" alt="usb_memory_bomb2" width="520" height="399" /><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fhardware%2FWi_Fi_Direct_a_bomb_Bye_bye_Bluetooth_Don_t_be_daft' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<p>There&#8217;s <a href="http://news.cnet.com/8301-30686_3-10374914-266.html" target="_blank">a fair amount</a> <a href="http://arstechnica.com/hardware/news/2009/10/wi-fi-direct-protocol-to-ease-peer-to-peer-wifi-connections.ars" target="_blank">of buzz going round</a> at the moment about <a href="http://www.wi-fi.org/news_articles.php?f=media_news&amp;news_id=909" target="_blank">Wi-Fi Direct</a>, the latest thing from the <a href="http://www.wi-fi.org/index.php" target="_blank">WiFi Alliance</a> people. It appears for all intents and purposes to be a version of the 802.11 Ad-hoc mode, designed to allow for connections between individual devices without the use of an AP or router, which led to <a href="http://industry.bnet.com/technology/10003729/wi-fi-sales-bomb-coming-in/" target="_blank">bnet.com claiming it was a &#8220;sales bomb&#8221;</a> that would somehow destroy Bluetooth, kill the majority of AP sales, kill all the companies who make connector cables and create a large security problem to solve as we all switch over to using WiFi Direct to hook up our various gadgets. <a href="http://techdusts.com/2009/10/15/wifi-direct-in-2020-will-replace-bluetooth-wifi-alliance/" target="_blank">And</a> <a href="http://www.corpsman.com/forum/showthread.php?p=89063" target="_blank">they&#8217;re</a> <a href="http://www.tomshardware.com/news/wifi-direct-bluetooth-wireless-internet,8857.html" target="_blank">not</a> <a href="http://blogs.zdnet.com/BTL/?p=25938" target="_blank">alone</a> <a href="http://www.pcpro.co.uk/news/352516/wi-fi-direct-threatens-bluetooth" target="_blank">in</a> <a href="http://www.product-reviews.net/2009/10/15/wi-fi-direct-bluetooth-days-are-numbered/" target="_blank">suggesting</a> <a href="http://www.pocket-lint.com/news/27944/wi-fi-alliance-announces-wi-fi-direct" target="_blank">this</a> <a href="http://www.xbitlabs.com/news/networking/display/20091014121112_Wi_Fi_Direct_Standard_to_Compete_Against_Bluetooth.html" target="_blank">is a</a> <a href="http://www.pcworld.com/businesscenter/article/173699/wifi_direct_could_be_the_death_of_bluetooth.html" target="_blank">bluetooth</a> <a href="http://www.betanews.com/article/WiFi-Direct-aims-to-be-the-Bluetooth-Killer/1255537744" target="_blank">killer</a>.</p>
<p>Baloney. Utter rot. Nothing of the kind is going to happen, and it&#8217;s pretty obvious why. Taking one worry at a time:<span id="more-391"></span></p>
<p><strong>1.</strong> Bluetooth isn&#8217;t going to be destroyed, it&#8217;s perfectly safe. We&#8217;ve tested 802.11 and Bluetooth usage here on mobile phones as part of <a href="http://suura.com/" target="_blank">the Suura project</a> and the difference in battery life isn&#8217;t just significant, it&#8217;s game-changing. Just scanning every few minutes (and powering down in between) with a phone&#8217;s 802.11 connection will drain a full battery in two or three hours on some of the older phones while bluetooth will give three times that or more even in <em>continous</em> usage. Bluetooth has a pretty much guaranteed role in the low-power end of the market for the foreseeable future no matter how much success WiFi Direct enjoys. 802.11a/b/g/n transceivers just draw too much power for us to see them in mobile phones replacing bluetooth modules for the next few years at least, and then only when someone invents a circuit that works at very low power over short ranges and higher power in normal mode (which is not a trivial exercise). And don&#8217;t forget, <a href="http://money.cnn.com/magazines/fortune/fortune_archive/2001/09/03/309263/index.htm" target="_blank">bluetooth was decried from the get-go</a> and survived all the knocks because it&#8217;s good at what it&#8217;s designed for.</p>
<p><strong>2.</strong> AP sales won&#8217;t take a dive for a while yet for several reasons. For marketing reasons, it&#8217;ll be a while before we see enough takeup of WiFi Direct for customers to be able to do without APs even if they wanted to. Plus, there are a lot of legacy devices which will still need APs to function.</p>
<p>There&#8217;s also the point that there are less hassles with an AP for connecting devices. Lets say you have three computers in your home with WiFi and an AP and you get a WiFi-enabled printer. You set up one connection (Printer ↔ AP) and everyone can use the printer without having to create their own WiFi connection to it. With WiFi Direct, you have to set up three connections (Laptop1 ↔ Printer, Laptop2 ↔ Printer and Laptop3 ↔ Printer). A technology that adds work for the user for the same end goal is probably not going to succeed in the marketplace.</p>
<p>And add to that the point that your connectivity to the internet is going to be a main driver for AP purchases for quite a while yet in the domestic market &#8211; regardless of how WiFi Direct works out, we will <strong><em>not</em></strong> be going over to 3G for all our data needs (or 4G/LTE/whatever MNO network you choose), not for some time and possibly not ever. It&#8217;s just too expensive &#8211; 3G basestation prices, spectrum limits and other factors make serving a single Mbit of connectivity <em>two orders of magnitude more expensive</em> with 3G than with WiFi and a wired backbone. While WiMax may make inroads here, it&#8217;s still going to be more expensive, and won&#8217;t be able to compete with a traditional DSL line to the house for some time yet.</p>
<p><strong>3. </strong>Connecter cables didn&#8217;t go away when bluetooth arrived and they won&#8217;t go away because of a just-announced, as-yet-unavailable standard. Even when it&#8217;s arrived and fully deployed, they won&#8217;t go away, and here&#8217;s why: everything needs a cable of one sort or another. If for no other reason than to supply power. And no wireless connection is ever going to exceed the potential bandwidth of a wired connection, or require less power than a wired connection to run. And it&#8217;s hard to see how you could build a WiFi connection with less circuitry than a USB cable connection. Cables are cheap, low-power, high-bandwidth, and very user-friendly and obvious in operation. They&#8217;re not going <em>anywhere</em> for quite a few decades yet. Even old standards like RS-232-C are still in production today, long after their ports vanished from the backs of modern machines. Saying a new standard will kill them off is like saying that bread is going to kill off water as a foodstuff&#8230;</p>
<p>And <a href="http://www.thefreelibrary.com/Time+to+say+%22bye-bye%22+to+WiFi%3F+Faster+competition+comes+faster+than+...-a0110227148" target="_blank">don&#8217;t forget the people who were saying</a> that the introduction of 802.11g would kill off 802.11b in the crib. Legacy systems are a powerful market force.</p>
<p><strong>4. </strong>What, a security problem? With WiFi? What&#8217;s new there? We&#8217;ve seen password sniffing on open WiFi nets, then WEP was cracked and then WPA and frankly, if you think there&#8217;s no possible way to crack a WiFi connection security-wise, you&#8217;re deluding yourself. The trick is to make the encryption strong enough so that the cost of decrypting it exceeds the reward &#8211; economically-based security in other words. WiFi Direct introduces no new issues here, Bluetooth and Ad-hoc WiFi and even normal WiFi all have this same problem and have longstanding tried and tested solutions to it.</p>
<p>Bomb? Hardly.</p>
<p>Competitor to Bluetooth? Not universally. In some limited areas, yes, but until and unless extremely low-power WiFi chipsets turn up, it&#8217;s never going to happen for battery-powered devices.</p>
<p>Interesting development? Well, sure <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But not something to go around playing Chicken Little over. Bnet.com FAIL I think.</p>
Posted in General Tagged: 802.11, access points, bluetooth, wifi, wifi alliance, wifi direct <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=391&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/15/wi-fi-direct-a-bomb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/usb_memory_bomb2.jpg" medium="image">
			<media:title type="html">usb_memory_bomb2</media:title>
		</media:content>
	</item>
		<item>
		<title>Reddit Math Puzzle</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/12/reddit-math-puzzle/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/12/reddit-math-puzzle/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 14:46:36 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=378</guid>
		<description><![CDATA[
 So it&#8217;s not nonlinear math, but this made for a fun five minutes over Sunday morning coffee. There&#8217;s a number of ways of solving it, I went for the geometric one myself but the same answer comes out in the end for all of them, hopefully   And it&#8217;s nice to think you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=378&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignnone size-full wp-image-379" title="RedditMathPuzzle110909" src="http://stochasticgeometry.files.wordpress.com/2009/10/redditmathpuzzle110909.jpg?w=512&#038;h=267" alt="RedditMathPuzzle110909" width="512" height="267" /></p>
<p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Feducational%2FReddit_Math_Puzzle' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe> So it&#8217;s not nonlinear math, but this made for a fun five minutes over Sunday morning coffee. There&#8217;s a number of ways of solving it, I went for the geometric one myself but the same answer comes out in the end for all of them, hopefully <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  And it&#8217;s nice to think you could still pass the Leaving Cert if you had to sit it again tomorrow, so hooray for <a href="http://www.reddit.com/tb/9sv8k" target="_blank">Reddit</a>.</p>
<p>Enjoy over coffee today! (My scribbled answer after the break&#8230;)</p>
<p><span id="more-378"></span></p>
<p><img class="alignnone size-full wp-image-380" title="11102009192a" src="http://stochasticgeometry.files.wordpress.com/2009/10/11102009192a.jpg?w=512&#038;h=572" alt="11102009192a" width="512" height="572" /></p>
<p>3.05572809 (or for those who like a more neat answer, 4(3-√5) )</p>
Posted in General, Mathematics  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=378&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/12/reddit-math-puzzle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/redditmathpuzzle110909.jpg" medium="image">
			<media:title type="html">RedditMathPuzzle110909</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/11102009192a.jpg" medium="image">
			<media:title type="html">11102009192a</media:title>
		</media:content>
	</item>
		<item>
		<title>What platform to write mobile apps for?</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/07/what-platform-to-write-mobile-apps-for/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/07/what-platform-to-write-mobile-apps-for/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:46:30 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[e71]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=368</guid>
		<description><![CDATA[ A question came up on the boards.ie programming forum a week or so ago about whether to write apps for the iPhone or the Android platform. With Suura, we&#8217;ve been looking at what platforms to write clients for (and which to write for first), and it occurs to me that the data on what&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=368&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FWhat_platform_for_mobile_apps' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe> A question came up on the <a href="http://www.boards.ie/vbulletin/showthread.php?t=2055692478" target="_self">boards.ie programming forum </a>a week or so ago about whether to write apps for the iPhone or the Android platform. With Suura, we&#8217;ve been looking at what platforms to write clients for (and which to write for first), and it occurs to me that the data on what&#8217;s <em>actually</em> going on and what the hype is pushing are monumentally disparate. Believe the hype and the competition is all between Android and WebOS.</p>
<p>Thing is, all that noise is ignoring a few details. First off, both are tiny. In the telecoms market, even the iPhone is a niche player. Take mobile internet usage &#8211; yes, it&#8217;s growing, and at a rate noone expected, but look at how much of the overall total is made up of phone browsing compared to laptop browsing in these statistics <a href="http://www.thefreelibrary.com/Boingo+Wireless+Comments+on+Apple+Worldwide+Developers+Conference.-a0201448997" target="_blank">released by Boingo in June this year</a>:</p>
<p><img class="alignnone size-full wp-image-364" style="border:1px solid black;margin:10px;" title="b4" src="http://stochasticgeometry.files.wordpress.com/2009/10/b4.png?w=512&#038;h=202" alt="b4" width="512" height="202" /></p>
<p>Yes, it&#8217;s rising and I&#8217;d be surprised if it tailed off tomorrow, but it&#8217;s still only a small part of a niche market &#8211; don&#8217;t forget that the telecoms market is seeing 50% global market penetration at the moment and is looking to improve on that. That&#8217;s one mobile phone (of any type) for every two humans on the planet. Unless you&#8217;re talking clothes or food, odds are you&#8217;ve never even seen a commodity that sells that well, let alone a high-tech one. So the mobile internet is still quite a small part of the overall picture here.</p>
<p>But even setting that dose of perspective aside, and looking only at the niche of the niche, what&#8217;s the breakdown of devices? Again looking at Boingo&#8217;s statistics reveals an interesting story. Everyone says the iPhone was a gamechanger, but you really have to look at the figures to see how true that is:</p>
<p><img class="alignnone size-full wp-image-365" title="b3" src="http://stochasticgeometry.files.wordpress.com/2009/10/b3.png?w=364&#038;h=298" alt="b3" width="364" height="298" /></p>
<p><img class="alignnone size-full wp-image-366" title="b2" src="http://stochasticgeometry.files.wordpress.com/2009/10/b2.png?w=352&#038;h=292" alt="b2" width="352" height="292" /></p>
<p><img class="alignnone size-full wp-image-367" title="b1" src="http://stochasticgeometry.files.wordpress.com/2009/10/b1.png?w=366&#038;h=291" alt="b1" width="366" height="291" /></p>
<p>And it&#8217;s not just Boingo reporting this, the Q3 data from JiWire tells a similar story:</p>
<p><img class="alignnone size-full wp-image-372" style="margin:5px;" title="Mobiledevices" src="http://stochasticgeometry.files.wordpress.com/2009/10/mobiledevices.png?w=680&#038;h=252" alt="Mobiledevices" width="680" height="252" /></p>
<p>So the iPhone/iPod Touch has gone from nothing to well over 90% of the US market in the space of two years. That&#8217;s phenonomal growth, and nothing&#8217;s even close to touching it right now. On the global side of things, it&#8217;s not quite so dramatic but that&#8217;s more down to inertia and the size of the market than anything else &#8211; even in the last six months there&#8217;s been significant change according to AdMob&#8217;s latest statistics:</p>
<p><img class="alignnone size-full wp-image-373" title="admob" src="http://stochasticgeometry.files.wordpress.com/2009/10/admob.png?w=510&#038;h=343" alt="admob" width="510" height="343" /></p>
<p>Now granted, all of this also means that something that&#8217;s currently nothing could be eating Apple&#8217;s lunch in two years time, but I don&#8217;t think that&#8217;s very likely for two reasons. Firstly, the iPhone really was something new &#8211; it didn&#8217;t try to be a phone first but to be a communications device first. The &#8220;Phone&#8221; in &#8220;iPhone&#8221; is really a misnomer, it&#8217;s nowhere near being as primary a function as the name suggests. But &#8220;iCom&#8221; was already taken:</p>
<p><img class="alignnone size-full wp-image-369" style="border:1px solid black;margin:5px;" title="IC-7800+SM-20" src="http://stochasticgeometry.files.wordpress.com/2009/10/ic-7800sm-20.jpg?w=512&#038;h=348" alt="IC-7800+SM-20" width="512" height="348" /></p>
<p>Secondly, to compete with the iPhone, you&#8217;re going to have to have an integrated approach &#8211; hardware and software design. That&#8217;s not a trivial problem, it&#8217;s one of the more hinky embedded system problems around at the moment. Apple are very good at this sort of thing and it takes a fair bit of know-how to be a threat to them. Being a slightly better iPhone is just not going to be enough to compete, especially given the marketshare the iPhone currently enjoys. So for the moment (and the immediately foreseeable future), the platform for anyone looking to sell mobile apps is the iPhone, regardless of the hype surrounding Android, WebOS or Moblin.</p>
<p>Personally, however, I think the &#8220;Next Big Thing&#8221; isn&#8217;t really being talked about much right now. It&#8217;s going to be an iCom rather than an iPhone, the looks are going to be important, but more than that it&#8217;s going to need some major backing. I think myself that the best looking contender out there right now is the Nokia N900.</p>
<p><img class="alignnone size-full wp-image-370" style="border:1px solid black;margin:5px;" title="Nokia-N900-chat" src="http://stochasticgeometry.files.wordpress.com/2009/10/nokia-n900-chat.jpg?w=512&#038;h=394" alt="Nokia-N900-chat" width="512" height="394" /></p>
<p>Look, everyone thinks Android&#8217;s hot because Google is big. But Google <em>isn&#8217;t </em>big. Not compared to Nokia. Nokia has a bad day &#8211; <em>Finland&#8217;s GDP takes a hit</em>. That is what &#8220;big&#8221; means. And with Nokia dropping the horrible developer experience that S60 development is, and taking on some hefty open source projects like Maemo and Qt to build the N900, and having an app store (Ovi) already running (even if it&#8217;s a pain in the fundament to use right now), they have a real shot at eating Apple&#8217;s lunch. The only missing piece from the N900, the thing that would have made it a major threat, would have been the inclusion of GAN hardware in the phone (if the operators could offload from 3G to Wifi on the fly with GAN, they&#8217;d want the N900 out there with a vengeance). Still though, if you had to seek out the <em>next</em> big thing &#8211; I&#8217;d be looking at the Maemo platform very hard indeed.</p>
Posted in e71, General, Mobile  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/368/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=368&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/07/what-platform-to-write-mobile-apps-for/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/b4.png" medium="image">
			<media:title type="html">b4</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/b3.png" medium="image">
			<media:title type="html">b3</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/b2.png" medium="image">
			<media:title type="html">b2</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/b1.png" medium="image">
			<media:title type="html">b1</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/mobiledevices.png" medium="image">
			<media:title type="html">Mobiledevices</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/admob.png" medium="image">
			<media:title type="html">admob</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/ic-7800sm-20.jpg" medium="image">
			<media:title type="html">IC-7800+SM-20</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/nokia-n900-chat.jpg" medium="image">
			<media:title type="html">Nokia-N900-chat</media:title>
		</media:content>
	</item>
		<item>
		<title>VisTablet under Debian Squeeze</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/06/vistablet-under-debian-squeeze/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/06/vistablet-under-debian-squeeze/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:00:57 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[600u]]></category>
		<category><![CDATA[aiptek]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Gimp]]></category>
		<category><![CDATA[medion]]></category>
		<category><![CDATA[R61]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[tablet]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[vistablet]]></category>
		<category><![CDATA[wacom]]></category>
		<category><![CDATA[waltop]]></category>
		<category><![CDATA[X.org]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=345</guid>
		<description><![CDATA[
A new toy arrived today &#8211; the VisTablet, which is just a rebadged Aiptek 600U (model number WCK-C121). They sell as Aiptek or Waltop or Medion or any one of a few other names for about €65 on ebay.ie at the moment, so I thought what the heck, I do a fair bit of stuff [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=345&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="size-full wp-image-348 alignnone" style="border:1px solid black;margin:2px;" title="DSCF5570b" src="http://stochasticgeometry.files.wordpress.com/2009/10/dscf5570b.jpg?w=510&#038;h=379" alt="DSCF5570b" width="510" height="379" /><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FVisTablet_under_Debian_Squeeze' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<p>A new toy arrived today &#8211; the VisTablet, which is just a rebadged Aiptek 600U (model number WCK-C121). They sell as Aiptek or Waltop or Medion or any one of a few other names for about €65 on ebay.ie at the moment, so I thought what the heck, I do a fair bit of stuff in Gimp so maybe it&#8217;s worth a look. A few clicks and a week or so later and it arrives. Cue tearing open the box and unwrapping!</p>
<p>Plugging it into the laptop (Thinkpad R61 running Debian Squeeze amd64) got an instant result in that it found the device and allowed cursor movement&#8230; but no actual buttons or pressure sensor stuff, so it couldn&#8217;t work as a tablet. So off to google we go and after trying some frustrating messing about with udev rules (to create <span style="color:#339966;">/dev/apitektablet </span>- which isn&#8217;t necessary it turns out) and hal fdi files (to set up X.org options, which are needed) and I&#8217;d advanced in a posterior direction.</p>
<p>By now we were through the phase where plugging in the device crashed X and had reached the phase where plugging the device <em>out</em> crashed X. At this point, I found that the problem lay in the wacom drivers. See, just because it&#8217;s aiptek hardware doesn&#8217;t mean the aiptek drivers actually work &#8211; in this case, the wacom driver works much better.</p>
<p>But, just to be annoying, the new version of the wacom driver doesn&#8217;t work because it picks up that it&#8217;s not a wacom device and commits seppku to avoid being of any use. Note to the coder who thought that was a good idea &#8211; go choke on a hairball please.</p>
<p>Solution? Go to <a href="http://linuxwacom.sourceforge.net/" target="_blank">linuxwacom</a> and download the latest driver, then untar the tarball, go into <span style="color:#339966;">linuxwacom-0.8.4-2/src/xdrv</span> and edit <span style="color:#339966;">wcmUSB.c</span>. You&#8217;re looking for this line (it&#8217;s line 530 in version 0.8.4.2):</p>
<pre><span style="color:#339966;">/* vendor is wacom */
 if (sID[1] == 0x056A)
 {</span></pre>
<p>And you want to change it to this:</p>
<pre><span style="color:#339966;">/* vendor is wacom <span style="color:#00ff00;">or waltop</span> */
 if (sID[1] == 0x056A <span style="color:#00ff00;">|| sID[1] == 0x172f</span>)
 {</span></pre>
<p>Now apt-get install <em>xorg-dev</em> and whatever other packages you need like <em>build-essential</em> and call <em>configure</em> and <em>make</em> and then <em>sudo make install</em>.</p>
<p>You now have a working wacom driver and if you copy the wacom.fdi file into <span style="color:#339966;">/etc/hal/fdi/policy/</span> (it&#8217;s <span style="color:#339966;">/usr/share/hal/fdi/policy/20thirdparty/10-linuxwacom.fdi </span>on Debian) and add in the following bit:</p>
<pre><span style="color:#339966;">&lt;match key="info.product" contains="WALTOP"&gt;
   &lt;merge key="input.x11_driver" type="string"&gt;wacom&lt;/merge&gt;
   &lt;merge key="input.x11_options.Type" type="string"&gt;stylus&lt;/merge&gt;
   &lt;append key="info.callouts.add" type="strlist"&gt;hal-setup-wacom&lt;/append&gt;
   &lt;append key="wacom.types" type="strlist"&gt;eraser&lt;/append&gt;
   &lt;append key="wacom.types" type="strlist"&gt;cursor&lt;/append&gt;
   &lt;append key="wacom.types" type="strlist"&gt;pad&lt;/append&gt;
&lt;/match&gt;</span></pre>
<p>into the <span style="color:#339966;">&lt;device&gt;</span> section of the xml file (you probably don&#8217;t need the eraser and cursor lines, but what the heck, they don&#8217;t harm anything and I was too tired of restarting X at this point to check). You should now be almost done &#8211; restart hal, restart x.org, and log back in and then plug in the tablet (check <em>dmesg</em> and <span style="color:#339966;">/var/log/X.0.log</span> so you&#8217;re sure it worked) and then fire up Gimp, go to <em>Edit-&gt;Preferences-&gt;Input Devices-&gt;Configure Extended Input Devices</em> and make sure the tablet is listed there and that it&#8217;s not set to disabled, then go to <em>Edit-&gt;Preferences-&gt;Input Controllers</em> and make sure that <em>Linux Input</em> is in the list of active controllers and is set to look at the tablet, and it should work.</p>
<p><img class="alignnone size-full wp-image-350" title="ItWorks" src="http://stochasticgeometry.files.wordpress.com/2009/10/itworks.png?w=512&#038;h=400" alt="ItWorks" width="512" height="400" /></p>
<p>Mind you&#8230; if this is what it takes to make cheap hardware work on linux, <a href="http://linuxhaters.blogspot.com/" target="_blank">Linux Hater</a> has a very good point.</p>
Posted in C, General, Linux Tagged: 600u, aiptek, amd64, debian, Gimp, medion, R61, squeeze, tablet, Thinkpad, vistablet, wacom, waltop, X.org <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=345&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/06/vistablet-under-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/dscf5570b.jpg" medium="image">
			<media:title type="html">DSCF5570b</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/itworks.png" medium="image">
			<media:title type="html">ItWorks</media:title>
		</media:content>
	</item>
		<item>
		<title>New CS7004 hardware arrives&#8230;</title>
		<link>http://stochasticgeometry.wordpress.com/2009/10/06/new-cs7004-hardware-arrives/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/10/06/new-cs7004-hardware-arrives/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:00:20 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[Academia]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[CS7004]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[New Toys!]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=355</guid>
		<description><![CDATA[ So for CS7004&#8217;s labs, I wanted to have one large-ish, deep-ish, multi-step, interesting project. And I&#8217;ve thought of one and I&#8217;ll write it up as we go through it (no fair readers here learning before the students!).
But here&#8217;s a sneak peek at the hardware they&#8217;ll be using  
(Assuming, of course, that I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=355&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FNew_CS7004_hardware_arrives' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe> So for CS7004&#8217;s labs, I wanted to have one large-ish, deep-ish, multi-step, <em>interesting</em> project. And I&#8217;ve thought of one and I&#8217;ll write it up as we go through it (no fair readers here learning before the students!).</p>
<p>But here&#8217;s a sneak peek at the hardware they&#8217;ll be using <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Assuming, of course, that I can get the sodding thing to do what it needs to do!)</p>
<p><img class="alignnone size-full wp-image-347" style="border:1px solid black;margin:5px;" title="DSCF5577b" src="http://stochasticgeometry.files.wordpress.com/2009/10/dscf5577b.jpg?w=512&#038;h=664" alt="DSCF5577b" width="512" height="664" /></p>
Posted in Academia, C, CS7004, General, New Toys!  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/355/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=355&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/10/06/new-cs7004-hardware-arrives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://stochasticgeometry.files.wordpress.com/2009/10/dscf5577b.jpg" medium="image">
			<media:title type="html">DSCF5577b</media:title>
		</media:content>
	</item>
		<item>
		<title>First lectures down&#8230;</title>
		<link>http://stochasticgeometry.wordpress.com/2009/09/28/first-lectures-down/</link>
		<comments>http://stochasticgeometry.wordpress.com/2009/09/28/first-lectures-down/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 23:57:12 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[CS7004]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=341</guid>
		<description><![CDATA[Well that didn&#8217;t go too badly. General course overview and a probably over-long &#8220;what is an embedded system&#8221; lecture. No-one overtly fell asleep at any rate. And everyone enjoyed the videos of the explosions.
So what the heck, enjoy &#8211; Ariane 5 Flight 501. An example of what can happen with unsafe datatype casting  

Next [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=341&subd=stochasticgeometry&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well that didn&#8217;t go too badly. General course overview and a probably over-long &#8220;what is an embedded system&#8221; lecture. No-one overtly fell asleep at any rate. And everyone enjoyed the videos of the explosions.</p>
<p>So what the heck, enjoy &#8211; Ariane 5 Flight 501. An example of what can happen with unsafe datatype casting <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><span style="text-align:center; display: block;"><a href="http://stochasticgeometry.wordpress.com/2009/09/28/first-lectures-down/"><img src="http://img.youtube.com/vi/z-r9cYp3tTE/2.jpg" alt="" /></a></span></p>
<p>Next talks are on the hardware used in embedded systems, starting with the microprocessors and microcontrollers.</p>
Posted in CS7004  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stochasticgeometry.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stochasticgeometry.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stochasticgeometry.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stochasticgeometry.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stochasticgeometry.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stochasticgeometry.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stochasticgeometry.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stochasticgeometry.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stochasticgeometry.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stochasticgeometry.wordpress.com/341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stochasticgeometry.wordpress.com&blog=1324636&post=341&subd=stochasticgeometry&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://stochasticgeometry.wordpress.com/2009/09/28/first-lectures-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/906589e5bcd7c86e69f80e230c6cef2d?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">Sparks</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/z-r9cYp3tTE/2.jpg" medium="image" />
	</item>
	</channel>
</rss>