{"id":901,"date":"2010-06-14T14:20:15","date_gmt":"2010-06-14T06:20:15","guid":{"rendered":"http:\/\/blog.lolyco.com\/sean\/?p=901"},"modified":"2010-06-15T18:25:20","modified_gmt":"2010-06-15T10:25:20","slug":"the-ministry-of-tourism-poll-penang-botanical-garden-arches","status":"publish","type":"post","link":"https:\/\/blog.lolyco.com\/sean\/2010\/06\/14\/the-ministry-of-tourism-poll-penang-botanical-garden-arches\/","title":{"rendered":"The Ministry of Tourism Poll: Penang Botanical Garden Arches"},"content":{"rendered":"<p>There&#8217;s plenty of &#8216;information&#8217; available in Malaysia, and just a few people publicly questioning its quality. The <a href=\"http:\/\/motour.gov.my\/\">Ministry of Tourism<\/a> is conducting a poll on its website to see whether people want to keep the arches being built at the <a href=\"http:\/\/www.penangbotanicgardens.gov.my\/\">Penang Botanical gardens (Warning: abysmal Flash site)<\/a>. <a href=\"http:\/\/anilnetto.com\/\">Anil Netto<\/a> (<a href=\"http:\/\/anilnetto.com\/accountability\/penang-botanic-garden-is-this-progress\/\">who isn&#8217;t keen on the arches<\/a>) is worried that <a href=\"http:\/\/anilnetto.com\/accountability\/penang-botanic-garden-is-this-progress\/\">the poll may be being manipulated<\/a>. Specifically, he is concerned that the poll was showing 91% <em>against<\/em> retaining the arches for some period of time and then suddenly did an &#8216;about face&#8217; and showed over 50% <strong>for<\/strong> retaining the new arches.<\/p>\n<p>Fortunately for busy-bodies, the Motour website uses <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ajax_(programming)\">AJAX<\/a> to implement its poll, so it&#8217;s very simple to run a shell script using something like <a href=\"http:\/\/curl.haxx.se\/\">cURL<\/a> to keep track of the poll without causing the web server or its admin any undue stress. In case you&#8217;re interested, here are some plots using <a href=\"http:\/\/www.gnuplot.info\/\">GnuPlot<\/a>. The time axis is &#8216;time of day&#8217; where the integer part is the day part of the date (so 13 is 13th June, 14 is 14th June). The decimal part of the day is 2.4 hours per tenth, so 14.4 is the 14th of June, 4 times 2.4 (2 hours 24 minutes) hours = 9:36 in the morning.<\/p>\n<p>Totals &#8211; the poll &#8216;result&#8217;:<\/p>\n<div id=\"attachment_902\" style=\"width: 421px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-902\" class=\"size-full wp-image-902\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes\" width=\"411\" height=\"272\" \/><\/a><p id=\"caption-attachment-902\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes<\/p><\/div>\n<p>Shown as a percentage:<\/p>\n<div id=\"attachment_903\" style=\"width: 421px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-903\" class=\"size-full wp-image-903\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ vote percent\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ vote percent\" width=\"411\" height=\"272\" \/><\/a><p id=\"caption-attachment-903\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ vote percent<\/p><\/div>\n<p>And the voting rate as votes per minute &#8211; calculated as the difference between one minute&#8217;s total and its predecessor.<\/p>\n<div id=\"attachment_904\" style=\"width: 421px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.diff_.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-904\" class=\"size-full wp-image-904\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.diff_.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute\" width=\"411\" height=\"272\" \/><\/a><p id=\"caption-attachment-904\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute<\/p><\/div>\n<p>There isn&#8217;t really much that can be said about the data. There&#8217;s no way of telling &#8211; for example &#8211; exactly who is voting or even if there is anybody voting more than once. It would be nice to see the raw server logs, though there&#8217;s an obvious privacy issue involved in making the IP addresses available. Providing stats based on the network address range &#8211; such as that available from the <a href=\"http:\/\/www.radb.net\/\">Routing Assets Database<\/a> &#8211; would probably go a long way to allay fears over who is voting &#8211; and may even allow stats to be generated based on geographical region.<\/p>\n<p>If anybody is interested, I can provide the raw data from which these  plots are made. The AJAX request isn&#8217;t always reliable, so there are missing data points &#8211; a sequence of 20 (minutes) is currently missing as I write this.<\/p>\n<p>8pm on Monday 14th &#8211; a little update. Not sure how many times I&#8217;ll do this, perhaps I&#8217;ll wait until there&#8217;s some &#8216;remarkable&#8217; change in the poll. The rate chart makes it obvious how &#8216;episodic&#8217; this poll is! Total:<\/p>\n<div id=\"attachment_909\" style=\"width: 432px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-909\" class=\"size-full wp-image-909\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes 8pm 14th\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.2.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes 8pm 14th\" width=\"422\" height=\"280\" \/><\/a><p id=\"caption-attachment-909\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ total votes 8pm 14th<\/p><\/div>\n<p>Percent:<\/p>\n<div id=\"attachment_910\" style=\"width: 432px\" class=\"wp-caption alignnone\"><a title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ percent votes 8pm 14th\" href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-910\" class=\"size-full wp-image-910\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ percent votes 8pm 14th\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.2.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ percent votes 8pm 14th\" width=\"422\" height=\"280\" \/><\/a><p id=\"caption-attachment-910\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ percent votes 8pm 14th<\/p><\/div>\n<p>Rate:<\/p>\n<div id=\"attachment_911\" style=\"width: 432px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.rate_.2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-911\" class=\"size-full wp-image-911\" title=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute 8pm\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.rate_.2.png\" alt=\"Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute 8pm\" width=\"422\" height=\"280\" \/><\/a><p id=\"caption-attachment-911\" class=\"wp-caption-text\">Ministry of Tourism &quot;Keep the Arches&quot; poll \/ votes per minute 8pm<\/p><\/div>\n<p><span style=\"color: #ff0000;\">17:05 &#8211; Poll is about to close at 5:30pm, according to MoTour website &#8211; I&#8217;ll post final graphs after that.<\/span><\/p>\n<p>Poll closed &#8211; Totals:<\/p>\n<div id=\"attachment_917\" style=\"width: 422px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-917\" class=\"size-full wp-image-917\" title=\"Poll closed - total votes since Jun13\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.total_.3.png\" alt=\"Poll closed - total votes since Jun13\" width=\"412\" height=\"307\" \/><\/a><p id=\"caption-attachment-917\" class=\"wp-caption-text\">Poll closed - total votes since Jun13<\/p><\/div>\n<p>Percent:<\/p>\n<div id=\"attachment_918\" style=\"width: 420px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-918\" class=\"size-full wp-image-918\" title=\"Polls closed - votes percent since Jun13\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.percent.3.png\" alt=\"Polls closed - votes percent since Jun13\" width=\"410\" height=\"314\" \/><\/a><p id=\"caption-attachment-918\" class=\"wp-caption-text\">Polls closed - votes percent since Jun13<\/p><\/div>\n<p>Votes per minute:<\/p>\n<div id=\"attachment_919\" style=\"width: 420px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.rate_.3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-919\" class=\"size-full wp-image-919\" title=\"Polls closed - votes per minute last 2 days\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.rate_.3.png\" alt=\"Polls closed - votes per minute last 2 days\" width=\"410\" height=\"314\" \/><\/a><p id=\"caption-attachment-919\" class=\"wp-caption-text\">Polls closed - votes per minute last 2 days<\/p><\/div>\n<p>The raw data:<\/p>\n<p><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/06\/motour.gz\">Motour logging script raw output &#8211; motour.gz<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s plenty of &#8216;information&#8217; available in Malaysia, and just a few people publicly questioning its quality. The Ministry of Tourism is conducting a poll on its website to see whether people want to keep the arches being built at the Penang Botanical gardens (Warning: abysmal Flash site). Anil Netto (who isn&#8217;t keen on the arches) [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,30,50,40,51],"tags":[23,19,9,56,57],"class_list":["post-901","post","type-post","status-publish","format-standard","hentry","category-bolehtics","category-breaktime","category-foss","category-life","category-philosophy","tag-blogging","tag-malaysia","tag-open-source","tag-questions","tag-web"],"_links":{"self":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/comments?post=901"}],"version-history":[{"count":10,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/901\/revisions"}],"predecessor-version":[{"id":907,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/901\/revisions\/907"}],"wp:attachment":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/media?parent=901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/categories?post=901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/tags?post=901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}