<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peter Krantz</title>
	<atom:link href="http://www.peterkrantz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com</link>
	<description>A blog about technology, visualization, music and unmanned vehicle experiments</description>
	<lastBuildDate>Thu, 26 Aug 2010 09:16:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Beta testing the UR TWEETS SUCK Tee</title>
		<link>http://www.peterkrantz.com/2010/beta-testing-the-ur-tweets-suck-tee/</link>
		<comments>http://www.peterkrantz.com/2010/beta-testing-the-ur-tweets-suck-tee/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 09:16:12 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Testing]]></category>
		<category><![CDATA[Trends]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[t-shirt]]></category>
		<category><![CDATA[tee]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=371</guid>
		<description><![CDATA[My son has the dubious pleasure of being the primary beta tester of T-shirt messages. This time it is the first draft of the model that will be called “Twat”. Turned out pretty OK…]]></description>
			<content:encoded><![CDATA[<p>My son has the dubious pleasure of being the primary beta tester of T-shirt messages. This time it is the first draft of the model that will be called “Twat”. Turned out pretty OK…</p>
<p><img class="aligncenter size-full wp-image-372" title="Your tweets suck Tee" src="http://www.peterkrantz.com/wp-content/uploads/2010/08/IMG_2592.jpg" alt="A thisrt with the text: your tweets suck and a vomiting bird." width="550" height="367" /></p>
<p>Also see the <a href="http://www.peterkrantz.com/2008/ballmer-tee-v/">Ballmer Tee</a>.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2010%2Fbeta-testing-the-ur-tweets-suck-tee%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2010/beta-testing-the-ur-tweets-suck-tee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implement open data for EU institutions</title>
		<link>http://www.peterkrantz.com/2010/eu-institution-psi/</link>
		<comments>http://www.peterkrantz.com/2010/eu-institution-psi/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 14:42:47 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Open data]]></category>
		<category><![CDATA[e-Gov]]></category>
		<category><![CDATA[egov]]></category>
		<category><![CDATA[gov2.0]]></category>
		<category><![CDATA[open data]]></category>
		<category><![CDATA[psi]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=352</guid>
		<description><![CDATA[Jonathan Gray of the Open Knowledge Foundation participated in a conference of the Communia project, a European thematic network on the digital public domain. In a great post about the meeting at the OKFN blog, he recommends two improvements to the current PSI work; 1: Broaden the scope of the PSI Directive to include publicly [...]]]></description>
			<content:encoded><![CDATA[<p>Jonathan Gray of the Open Knowledge Foundation participated in a conference of the <a href="http://www.communia-project.eu/">Communia project</a>, a European thematic network on the digital public domain. In a great post about the meeting at the OKFN blog, <a href="http://blog.okfn.org/2010/07/08/opening-up-european-public-sector-information-two-recommendations/">he recommends two improvements to the current PSI work</a>; 1: Broaden the scope of the PSI Directive to include publicly funded cultural heritage organisations and 2: Broaden the evidence base for opening up PSI.</p>
<h2>A third recommendation</h2>
<p>An important value of public sector information is the increased transparency in government decision making. A <a href="http://en.wikipedia.org/wiki/Directive_%28European_Union%29">European Union directive</a> only affects member states and not EU institutions. We are therefore at risk of missing out on increased transparency in EU institutions that the PSI directive may bring to governments in the member states. Also, government <a href="http://ww2.unhabitat.org/cdrom/TRANSPARENCY/html/transpc.html">transparency is often considered to be a contributing factor in reducing corruption</a>.</p>
<p><strong>Therefore, it would be great if there was a plan, similar to the PSI directive, that made sure that EU institutions also started providing machine readable data in order to increase transparency and reduce the risk of corruption.</strong></p>
<p>Currently, it seems to be up to each institution to do what they want. Maybe that is why the <a href="http://publications.europa.eu/index_en.htm">Publications Office of the European Union</a> decided to charge  10,000 EUR for access to electronic versions of the EUR-Lex database (that contains the directives and other legal acts). This move makes it difficult for new actors in the legal information industry to include EU data in their products which leads to reduced competition.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2010%2Feu-institution-psi%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2010/eu-institution-psi/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Social Media in the Swedish Public Sector</title>
		<link>http://www.peterkrantz.com/2010/social-media-in-the-swedish-public-sector/</link>
		<comments>http://www.peterkrantz.com/2010/social-media-in-the-swedish-public-sector/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 20:22:41 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Visualization]]></category>
		<category><![CDATA[e-Gov]]></category>
		<category><![CDATA[gov20]]></category>
		<category><![CDATA[open goverment]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=316</guid>
		<description><![CDATA[Andrew Krzmarzick, Govloop community manager, asked me which swedish government agencies are using social media to communicate with citizens. The twitter message space is too short for an answer so here is a more thorough reply. I will specifically look at Twitter which seems to be gaining popularity in the swedish public sector. Use of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/krazykriz">Andrew Krzmarzick</a>, Govloop community manager, asked me which swedish government agencies are using social media to communicate with citizens. The twitter message space is too short for an answer so here is a more thorough reply. I will specifically look at Twitter which seems to be gaining popularity in the swedish public sector.</p>
<p>Use of social media tools in the public sector is in its infancy in Sweden. In a study conducted by the <a href="http://www.chamber.se/e-index_rapport_2009.pdf">Stockholm Chamber of Commerce in 2009 (PDF)</a> , around 12% of agencies reported that they were using social media channels in their communication. In<a href="http://www.sverigesinformationsforening.se/aktuellt--press/nyheter/2009/hur-anvander-myndigheter-sociala-medier.aspx"> another study by the Swedish Public Relations Association</a> 75% of PR managers were evaluating the use of social media but only 5% had involved social media in the communication strategy. Many agencies are trying out new tools to see how they fit in their communication strategy. Most are using them as a news feed (one-way communication) and do not reply to questions. The number of followers varies greatly. Some examples:</p>
<table class="result">
<caption>Examples of government agencies using Twitter</caption>
<tbody>
<tr>
<th>Agency</th>
<th>Twitter</th>
<th><abbr title="Followers">Fwrs.</abbr></th>
<th>Content</th>
</tr>
<tr>
<td>National Board of Health and Welfare</td>
<td><a href="http://twitter.com/SoS_nyheter">@SoS_nyheter</a></td>
<td align="right">61</td>
<td>Newsfeed (one-way communication).</td>
</tr>
<tr>
<td>Swedish Civil Contingencies Agency</td>
<td><a href="http://twitter.com/krisinformation">@Krisinformation</a></td>
<td align="right">2658</td>
<td>Crisis info for swedes at home and abroad aggregated from other agencies. Unfortunately no geo tagging so the feed is hard to follow and most of the stuff is not related to your location.</td>
</tr>
<tr>
<td>Medical Products Agency</td>
<td><a href="http://twitter.com/LV_MPA">@LV_MPA</a></td>
<td align="right">141</td>
<td>News about medications and medical equipment regulations (like FDA in the US).</td>
</tr>
<tr>
<td>Statistics Sweden</td>
<td><a href="http://twitter.com/StatsSweden">@StatsSweden</a></td>
<td align="right">212</td>
<td>News updates about national statistics.</td>
</tr>
<tr>
<td>Swedish Board of Agriculture</td>
<td><a href="http://twitter.com/teamforetagande">@teamforetagande</a></td>
<td align="right">257</td>
<td>Information about business opportunities in the countryside.</td>
</tr>
<tr>
<td>Swedish Trade Council</td>
<td><a href="http://twitter.com/Exportradet">@Exportradet</a></td>
<td align="right">116</td>
<td>News related to export opportunities for Swedish busniesses.</td>
</tr>
</tbody>
</table>
<p>Some agencies have also started using Facebook. <a href="http://www.facebook.com/riksantikvarieambetet">The National Heritage Board (Riksantikvarieämbetet) on Facebook</a> has close to 1200 fans. They have also used <a href="http://www.flickr.com/photos/swedish_heritage_board/">Flickr to increase access to parts of their archives</a>. Currently the images are low-res only but that may change in the future.</p>
<h2>Municipalities on Twitter</h2>
<p>Many municipalities have started using Twitter to push information to citizens. Most are using it as a one-way communication channel, but some are engaging in dialogue. The number of municipalities on twitter is increasing almost on a daily basis. In my <a href="http://twitter.com/#/list/peterkz_swe/kommuner">list of swedish municipalities on twitter</a> there are currently 71 (out of 290). Many of them are not publishing any tweets and may only have registered the account to get a proper twitter handle.</p>
<p>In he following visualization you get an overview of how the municipalities compare with regards to number of tweets, followers and &#8220;early adopter&#8221;-status (&#8220;Age&#8221; as in number of days on twitter). <a href="http://twitter.com/Uppsalakommun">Uppsala</a> (north of Stockholm) has over 500 followers and published 941 tweets in their 367 days on Twitter. <a href="/socmed_swedish_municipalities.htm">See here for a larger chart</a>.</p>
<p><script src="https://spreadsheets.google.com/gpub?url=http%3A%2F%2Foj0ijfii34kccq3ioto7mdspc7r2s7o9.spreadsheets.gmodules.com%2Fgadgets%2Fifr%3Fup__table_query_url%3Dhttps%253A%252F%252Fspreadsheets.google.com%252Ftq%253Frange%253DA1%25253AE72%2526gid%253D0%2526headers%253D-1%2526key%253D0AhdI4x22FAjwdDZqS1I5VWxvZnc5R0Y1RXA5NFNMQkE%2526pub%253D1%26up_title%3DSwedish%2520Municipalities%2520on%2520Twitter%26up_initialstate%3D%257B%2522duration%2522%253A%257B%2522timeUnit%2522%253A%2522Y%2522%252C%2522multiplier%2522%253A1%257D%252C%2522showTrails%2522%253Atrue%252C%2522yZoomedDataMin%2522%253A0%252C%2522orderedByX%2522%253Afalse%252C%2522colorOption%2522%253A%25224%2522%252C%2522iconKeySettings%2522%253A%255B%255D%252C%2522orderedByY%2522%253Afalse%252C%2522yZoomedIn%2522%253Afalse%252C%2522nonSelectedAlpha%2522%253A0.4%252C%2522xLambda%2522%253A1%252C%2522time%2522%253A%25222010%2522%252C%2522xZoomedIn%2522%253Afalse%252C%2522uniColorForNonSelected%2522%253Afalse%252C%2522sizeOption%2522%253A%25222%2522%252C%2522iconType%2522%253A%2522BUBBLE%2522%252C%2522playDuration%2522%253A15000%252C%2522dimensions%2522%253A%257B%2522iconDimensions%2522%253A%255B%2522dim0%2522%255D%257D%252C%2522xZoomedDataMax%2522%253A562%252C%2522yLambda%2522%253A1%252C%2522xZoomedDataMin%2522%253A14%252C%2522yAxisOption%2522%253A%25224%2522%252C%2522yZoomedDataMax%2522%253A941%252C%2522xAxisOption%2522%253A%25223%2522%257D%26up__table_query_refresh_interval%3D300%26url%3Dhttp%253A%252F%252Fwww.google.com%252Fig%252Fmodules%252Fmotionchart.xml&amp;height=500&amp;width=570"></script></p>
<h2>Observations</h2>
<p>Some organizations are following citizens on Twitter and may not have realized that people may feel uncomfortable having an agency following them.</p>
<p>There are also some fake agencies on twitter. Swedish national authority for signals intelligence, <a href="http://twitter.com/radioanstalten">FRA</a>, has a twitter feed (with the correct logo), but looking at the tweets it is likely a fake. How should agencies relate to this? The police has several twitter feeds it seems. But they are <a href="http://www.nyhetskanalen.se/1.1015482/2009/05/26/polisen_twittrar_ovetandes">not managed by the agency itself</a>. How can citizens trust the information in these channels when it is difficult to see if they are managed by the agency or some personal initiative?</p>
<h2>Recommendations from the government</h2>
<p>On March 23 the government published a <a href="http://www.regeringen.se/sb/d/12677/a/142272">proposal</a> saying (my translation):</p>
<blockquote><p>Social media tools create new possibilites for communication with citizens and businesses. <a href="http://www.edelegationen.se/">The E-government delegatio</a>n will create guidelines for the public sector use of social media tools.</p></blockquote>
<p>This means that we will likely see more agencies trying out social media channels in the future.</p>
<p>Do you have more information? Please comment!</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2010%2Fsocial-media-in-the-swedish-public-sector%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2010/social-media-in-the-swedish-public-sector/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Joining the Swedish eGovernment Delegation</title>
		<link>http://www.peterkrantz.com/2009/joining-the-swedish-egovernment-delegation/</link>
		<comments>http://www.peterkrantz.com/2009/joining-the-swedish-egovernment-delegation/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 11:14:43 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/2009/joining-the-swedish-egovernment-delegation/</guid>
		<description><![CDATA[A while ago I was offered a position with the Swedish eGovernment Delegation. I will be working with IT standardisation issues and the next revision of guidelines for public websites.]]></description>
			<content:encoded><![CDATA[<p>A while ago I was offered a position with the <a href="http://en.edelegationen.se/">Swedish eGovernment Delegation</a>. </p>
<p>I will be working with IT standardisation issues and the next revision of guidelines for public websites.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fjoining-the-swedish-egovernment-delegation%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/joining-the-swedish-egovernment-delegation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dear DHL (and all other logistics companies)</title>
		<link>http://www.peterkrantz.com/2009/open-letter-to-dhl/</link>
		<comments>http://www.peterkrantz.com/2009/open-letter-to-dhl/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:25:51 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Trends]]></category>
		<category><![CDATA[delivery]]></category>
		<category><![CDATA[Deutsche Post]]></category>
		<category><![CDATA[DHL]]></category>
		<category><![CDATA[logistics]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[shipping]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=299</guid>
		<description><![CDATA[Dear <a href="http://www.dp-dhl.com/en">DHL</a> (and other logistics companies because you tend to behave exactly the same). How is it that you are able to move my package from the UK to Sweden fast as hell but spend several days trying to move it from your terminal to my home address in the same city?]]></description>
			<content:encoded><![CDATA[<p>Dear <a href="http://www.dp-dhl.com/en">DHL</a> (and other logistics companies because you tend to behave exactly the same). How is it that you are able to move my package from the UK to Sweden fast as hell but spend several days trying to move it from your terminal to my home address in the same city?</p>
<p><iframe width="540" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;msa=0&amp;msid=111980647133829499758.0004770108ab25a4d5791&amp;ll=55.478853,8.876953&amp;spn=14.988694,47.460938&amp;z=4&amp;output=embed"></iframe><br /><small>Visa <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;msa=0&amp;msid=111980647133829499758.0004770108ab25a4d5791&amp;ll=55.478853,8.876953&amp;spn=14.988694,47.460938&amp;z=4&amp;source=embed" style="color:#0000FF;text-align:left">DHL delivery</a> på en större karta</small></p>
<p>Like most people living in Stockholm (and other cities I guess) I live in an apartment building to which you have no access. Also, like most people, I work during the day. Nothing special, just normal office hours, about the same hours when your drivers drive around the city trying to deliver stuff to the empty homes of people who are at work.</p>
<p>Knowing that you will fail to enter the building where I live (it doesn&#8217;t really matter since I&#8217;m not at home anyway), I have tried to contact you to see if I can do a part of your work by going to your terminal myself to pick up my package.</p>
<p>For some unknown reason you can&#8217;t refrain from trying to deliver it my empty home. Maybe it is in he nature of logistics people inherited in genes from loyal post office workers of the good old days? </p>
<p>Anyway, this means I have to wait for you to fail delivery and take the package back to your terminal and then send me a message (through regular mail) that you failed. A process that takes several days.</p>
<p>When I walk home from work I pass a 7-eleven with a sign that says &#8220;DHL Servicepoint&#8221;. It is bright and yellow and only about 150 yards from my home (I can almost see it if I lean out through my living room window). Intrigued by the words &#8220;service&#8221; and &#8220;point&#8221; I inquired, though your eminent call center, if it was possible to have the package delivered there instead? I was hoping I could save both you and me some work (and time).  For unknown reasons you are not allowed to deliver my package to your own servicepoint. Words fail me.</p>
<p>My second suggestion was to change the address so that you may deliver it to my workplace instead. It is a bit of a gamble since I am in meetings throughout the day and may not be around at the exact random time your delivery guy tends to show up. This was possible, your friendly call center employee told me, <strong>but we have to try to deliver the package to your empty home first</strong>.</p>
<p>How hard can it be? I had a crazy idea. What if logistics was all about making use of information to optimize flows of goods? </p>
<p><iframe width="540" height="360" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;msa=0&amp;msid=111980647133829499758.0004770108ab25a4d5791&amp;ll=59.452056,17.948914&amp;spn=0.251276,0.741577&amp;z=10&amp;output=embed"></iframe><br /><small>Visa <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;msa=0&amp;msid=111980647133829499758.0004770108ab25a4d5791&amp;ll=59.452056,17.948914&amp;spn=0.251276,0.741577&amp;z=10&amp;source=embed" style="color:#0000FF;text-align:left">DHL delivery</a> på en större karta</small></p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fopen-letter-to-dhl%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/open-letter-to-dhl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The case for uninterrupted work</title>
		<link>http://www.peterkrantz.com/2009/the-case-for-uninterrupted-work/</link>
		<comments>http://www.peterkrantz.com/2009/the-case-for-uninterrupted-work/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 08:23:53 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Methodology]]></category>
		<category><![CDATA[cognition]]></category>
		<category><![CDATA[interruptions]]></category>
		<category><![CDATA[office work]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[worklife]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=296</guid>
		<description><![CDATA[The myth of multitasking: &#8230; [a] research study, funded by Hewlett-Packard and conducted by the Institute of Psychiatry at the University of London, that found, “Workers distracted by e-mail and phone calls suffer a fall in IQ more than twice that found in marijuana smokers.” Stanford study: Cognitive control in media multitaskers: Results showed that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thenewatlantis.com/publications/the-myth-of-multitasking">The myth of multitasking</a>:</p>
<blockquote><p>&#8230; [a] research study, funded by Hewlett-Packard and conducted by the Institute of Psychiatry at the University of London, that found, “Workers distracted by e-mail and phone calls suffer a fall in IQ more than twice that found in marijuana smokers.”</p></blockquote>
<p>Stanford study: <a href="http://www.pnas.org/content/early/2009/08/21/0903620106.abstract">Cognitive control in media multitaskers</a>:</p>
<blockquote><p>Results showed that heavy media multitaskers are more susceptible to interference from irrelevant environmental stimuli and from irrelevant representations in memory. This led to the surprising result that <strong>heavy media multitaskers performed worse on a test of task-switching ability</strong>, likely due to reduced ability to filter out interference from the irrelevant task set.</p></blockquote>
<p><a href="http://clair.si.umich.edu/~radev/ilist/0580.html">Meet the Life Hackers</a> &#8211; New York Times Magazine (10/16/05) (based on research by <a href="http://www.ics.uci.edu/~gmark/">Gloria Mark, University of California</a>)</p>
<blockquote><p>Research shows that 40 percent of the time, workers ramble along a different tangent when an interruption ends because their short-term memory has been disrupted. </p></blockquote>
<p>Ho do you manage <em>your</em> interruptions?</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fthe-case-for-uninterrupted-work%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/the-case-for-uninterrupted-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opengov.se launched</title>
		<link>http://www.peterkrantz.com/2009/opengovse-launched/</link>
		<comments>http://www.peterkrantz.com/2009/opengovse-launched/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 08:21:27 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[e-Gov]]></category>
		<category><![CDATA[egov]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[open government]]></category>
		<category><![CDATA[public sector]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=292</guid>
		<description><![CDATA[Says the Open Government Working Group: The Internet is the public space of the modern world, and through it governments now have the opportunity to better understand the needs of their citizens and citizens may participate more fully in their government. Information becomes more valuable as it is shared, less valuable as it is hoarded. [...]]]></description>
			<content:encoded><![CDATA[<p>Says the Open Government Working Group:</p>
<blockquote><p>The Internet is the public space of the modern world, and through it governments now have the opportunity to better understand the needs of their citizens and citizens may participate more fully in their government. Information becomes more valuable as it is shared, less valuable as it is hoarded. Open data promotes increased civil discourse, improved public welfare, and a more efficient use of public resources.</p></blockquote>
<p>&#8230;and this is why I have launched <a href="http://www.opengov.se/">opengov.se</a> &#8211; an initiative to bring swedish public sector data online in open formats. Initially the website contains a catalog of public data sources and information about licensing and formats used.</p>
<p>You can help out by <a href="http://www.opengov.se/data/suggest/">suggesting datasets</a> form the swedish public sector.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fopengovse-launched%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/opengovse-launched/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Rails vs Grails vs Django models</title>
		<link>http://www.peterkrantz.com/2009/rails-grails-django-models/</link>
		<comments>http://www.peterkrantz.com/2009/rails-grails-django-models/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:58:47 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[domain modeling]]></category>
		<category><![CDATA[grails]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=281</guid>
		<description><![CDATA[Coming back to Rails after being away from some time in Django land I discovered a huge difference in how Rails and Django treats your models...]]></description>
			<content:encoded><![CDATA[<p>Coming back to Rails after being away from some time in Django land I discovered a huge difference in how Rails, Grails and Django treats your models. In Django and Grails you can look at a model class and see all the properties it has:</p>
<pre class="brush: python;">
class Organization(models.Model):
    name = models.CharField(max_length=255)
    url = models.URLField(verify_exists=False)
    orgtype = models.ForeignKey(OrgType)
</pre>
<p>The same model class in Rails typically looks like this:</p>
<pre class="brush: ruby;">
class Organization &lt; ActiveRecord::Base
    belongs_to :OrgType
end
</pre>
<p>&#8230;and in Grails it is more specific like Django:</p>
<pre class="brush: groovy;">
class Organization {
  String name
  String url
  static belongsTo = OrgType
  OrgType orgtype
}
</pre>
<p>It took me a while to remember that in Rails, parts of the model design is actually stored in the database schema instead of in the Ruby code. Peculiar don&#8217;t you think, given that everything else in a Rails app is nicely declared in Ruby code? There are of course benefits to both approaches, but I have started adding comments in the Rails model classes to be able to remember what properties they have without peeking in the Db. Typically I have a number of half-baked projects on my laptop and from time to time I forget what they do and these comments help me remember.</p>
<p>Check out more examples here:</p>
<ul>
<li><a href="http://docs.djangoproject.com/en/dev/topics/db/models/#topics-db-models">Django models</a></li>
<li><a href="http://www.tutorialspoint.com/ruby-on-rails/rails-models.htm">Rails models</a></li>
<li><a href="https://www.ibm.com/developerworks/java/library/j-grails02128/">Grails models</a></li>
</ul>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Frails-grails-django-models%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/rails-grails-django-models/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Remixing Youtube</title>
		<link>http://www.peterkrantz.com/2009/remixing-youtube/</link>
		<comments>http://www.peterkrantz.com/2009/remixing-youtube/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:07:38 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Trends]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[remix]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=274</guid>
		<description><![CDATA[An interesting approach to chains of copyright but these are really interesting. None of the participants were involved in making these songs. At the same time all of them were. A guess is that remixes like these will become more and more popular. Where can I buy these songs? Who will get paid? More information [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting approach to chains of copyright but these are really interesting. None of the participants were involved in making these songs. At the same time all of them were. A guess is that remixes like these will become more and more popular. Where can I buy these songs? Who will get paid? More information at <a href="http://thru-you.com/">http://thru-you.com/</a></p>
<p><object width="480" height="385" data="http://www.youtube.com/v/EsBfj6khrG4&amp;hl=sv&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/EsBfj6khrG4&amp;hl=sv&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /></object></p>
<p><object width="480" height="385" data="http://www.youtube.com/v/vch-Z9ccHTk&amp;hl=sv&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/vch-Z9ccHTk&amp;hl=sv&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /></object></p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fremixing-youtube%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/remixing-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving Project Euler Problems With Ioke</title>
		<link>http://www.peterkrantz.com/2009/project-euler-in-ioke/</link>
		<comments>http://www.peterkrantz.com/2009/project-euler-in-ioke/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 18:26:10 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ioke]]></category>
		<category><![CDATA[euler]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=256</guid>
		<description><![CDATA[For those of you that have been following Ola Bini's work on <a href="http://ioke.org/">Ioke</a>, the dynamic language for the JVM, I am happy to report that the current release 0.1.1 is usable enough to solve <a href="http://projecteuler.net/">Project Euler</a> problems with. I wanted to learn more about Ioke and the best way to learn a new language is to use it on your own. So, here is some example Ioke code for some of the simpler Project Euler problems.]]></description>
			<content:encoded><![CDATA[<p>For those of you that have been following Ola Bini&#8217;s work on <a href="http://ioke.org/">Ioke</a>, the dynamic language for the JVM, I am happy to report that the current release 0.1.1 is usable enough to solve <a href="http://projecteuler.net/">Project Euler</a> problems with. I wanted to learn more about Ioke and the best way to learn a new language is to use it on your own. So, here is some example Ioke code for some of the simpler Project Euler problems.</p>
<h2>Problem 1</h2>
<p>If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.</p>
<p>Brute force version below.</p>
<pre class="brush: jscript;">
n = 1
sum = 0
while(n &lt; 1000,
      if(n % 3 == 0 or n % 5 == 0, sum += n)
      n++
)
sum println
</pre>
<p>Or, as a one-liner after a suggestion from Ola:</p>
<p>(1..999) select(n, n % 3 == 0 or n % 5 == 0) fold(+) println </p>
<h2>Problem 2</h2>
<p>Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, &#8230; Find the sum of all the even-valued terms in the sequence which do not exceed four million.</p>
<pre class="brush: plain;">
sum = 0
fibs = [0, 1]
current_fib = 0
while(current_fib &lt; 4000000,
    current_fib = fibs[0] + fibs[1]
    if(current_fib % 2 == 0, sum += current_fib)
    fibs[0] = fibs[1]
    fibs[1] = current_fib
)
sum println
</pre>
<h2>Problem 3</h2>
<p>The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143?</p>
<p>Using brute force for this one. Faster and more elegant would have been the Rho algorithm.</p>
<pre class="brush: jscript;">
start = 600851475143
num = start
factor = 2

while(factor * factor &lt;= num,
    if(num % factor == 0,
        factor println
        num = num / factor,
        factor++
    )
)

if(num != 1, num println)
</pre>
<h2>Problem 5</h2>
<p>2520 is the smallest number that can be divided by each of the numbers  from 1 to 10 without any remainder. What is the smallest number that is evenly divisible by all of the numbers from 1 to 20?</p>
<p>First, as the numbers 1 to 10 are factors in the numbers 11 to 20 we only need to check divisibility for the the latter. Starting of by setting up methods for greatest common divisor and least common multiple. Brute forcing this by looping over an incremented number will not work in the current version of Ioke (takes a couple of hours). Brute forcing it in Ruby took a couple of seconds.</p>
<pre class="brush: jscript;">
gcd = method(a, b,
    if(b == 0, a,
        gcd(b, a % b)
    )
)

lcm = method(a, b,
    (a / gcd(a, b)) * b
)

(11..20) inject(number, n, lcm(number, n)) println
</pre>
<h2>Problem 18</h2>
<p>Find the maximum total from top to bottom of the triangle below. This solution also works for problem 67 (a much bigger triangle).</p>
<p>By moving from bottom to top, calculating each cell&#8217;s maximum sum and replacing the value with it we&#8217;ll end up with the total in the first cell in the triangle.</p>
<pre class="brush: jscript;">
triangle = [
[75],
[95, 64],
[17, 47, 82],
[18, 35, 87, 10],
[20, 04, 82, 47, 65],
[19, 01, 23, 75, 03, 34],
[88, 02, 77, 73, 07, 63, 67],
[99, 65, 04, 28, 06, 16, 70, 92],
[41, 41, 26, 56, 83, 40, 80, 70, 33],
[41, 48, 72, 33, 47, 32, 37, 16, 94, 29],
[53, 71, 44, 65, 25, 43, 91, 52, 97, 51, 14],
[70, 11, 33, 28, 77, 73, 17, 78, 39, 68, 17, 57],
[91, 71, 52, 38, 17, 14, 91, 43, 58, 50, 27, 29, 48],
[63, 66, 04, 68, 89, 53, 67, 30, 73, 16, 69, 87, 40, 31],
[04, 62, 98, 27, 23, 09, 70, 98, 73, 93, 38, 53, 60, 04, 23],
]

;; We replace cells from the bottom up by finding the max sum for each
;; position in the triangle.

current_row = triangle length - 2

while(current_row &gt; -1,
    pos = 0
    while(pos &lt; triangle[current_row] length,
        triangle[current_row][pos] = triangle[current_row][pos] + \
        ([triangle[current_row + 1][pos], triangle[current_row + 1][pos + 1]] sort)[1]
        pos++
    )

    current_row = current_row - 1
)

triangle[0][0] println
</pre>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2009%2Fproject-euler-in-ioke%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2009/project-euler-in-ioke/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
