<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Lights on a Stick</title>
	<atom:link href="http://blogulous.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogulous.wordpress.com</link>
	<description>fumbling through life, in the dark</description>
	<lastBuildDate>Sat, 06 Jun 2009 05:40:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blogulous.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a29fc82983f0175192968885ba0b32e7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Lights on a Stick</title>
		<link>http://blogulous.wordpress.com</link>
	</image>
			<item>
		<title>Firefox undermined by Redmond sneak-ware</title>
		<link>http://blogulous.wordpress.com/2009/06/06/firefox-undermined-by-redmond-sneak-ware/</link>
		<comments>http://blogulous.wordpress.com/2009/06/06/firefox-undermined-by-redmond-sneak-ware/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 05:40:34 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/2009/06/06/firefox-undermined-by-redmond-sneak-ware/</guid>
		<description><![CDATA[As reported in various places, including El Reg (http://www.theregister.co.uk/2009/06/01/ms_firefox_extension_row/), the .NET Framework 3.5 Service Pack 1 update installed a Firefox extension without asking the user’s permission. The ClickOnce extension gives websites the ability to easily install software on the client, a major security hole and one that many users chose Firefox for to avoid. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=36&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As reported in various places, including El Reg (<a title="http://www.theregister.co.uk/2009/06/01/ms_firefox_extension_row/" href="http://www.theregister.co.uk/2009/06/01/ms_firefox_extension_row/">http://www.theregister.co.uk/2009/06/01/ms_firefox_extension_row/</a>), the .NET Framework 3.5 Service Pack 1 update installed a Firefox extension without asking the user’s permission. The ClickOnce extension gives websites the ability to easily install software on the client, a major security hole and one that many users chose Firefox for to avoid. The extension is installed for all Firefox users so can’t be uninstalled through the GUI (maybe that needs to be addressed in a future release of FF!).</p>
<p>Anyway, the solution for those eager to remove this sneak-ware from is available from Annoyances.org (<a title="http://annoyances.org/exec/show/article08-600" href="http://annoyances.org/exec/show/article08-600">http://annoyances.org/exec/show/article08-600</a>), but the steps are reiterated below:</p>
<ol>
<li>Open <b>Registry Editor</b> (type <tt>regedit</tt> in the Start menu Search box in Vista/Windows 7, or in XP&#8217;s <b>Run</b> window). </li>
<li>Expand the branches to the following key:
<ul>
<li>On 32-bit systems: <b>HKEY_LOCAL_MACHINE \ SOFTWARE \ Mozilla \ Firefox \ Extensions</b></li>
<li>On x64 systems: <b>HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Mozilla \ Firefox \ Extensions</b></li>
</ul>
</li>
<li>Delete the value named <b>{20a82645-c095-46ed-80e3-08825760534b}</b> from the right pane. </li>
<li>Close the Registry Editor when you&#8217;re done. </li>
<li>Open a new Firefox window, and in the address bar, type <tt>about:config</tt> and press Enter. </li>
<li>Type <tt>microsoftdotnet</tt> in the <b>Filter</b> field to quickly find the <b>general.useragent.extra.microsoftdotnet</b> setting. </li>
<li>Right-click <b>general.useragent.extra.microsoftdotnet</b> and select <b>Reset</b>. </li>
<li>Restart Firefox. </li>
<li>Open Windows Explorer, and navigate to <b>%SYSTEMDRIVE%\Windows\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation</b>. </li>
<li>Delete the <b>DotNetAssistantExtension</b> folder entirely. </li>
<li>Open the <b>Add-ons</b> window in Firefox to confirm that the <b>Microsoft .NET Framework Assistant</b> extension has been removed.</li>
</ol>
<p>Grrrrrr….</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=36&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2009/06/06/firefox-undermined-by-redmond-sneak-ware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>This backwards nation</title>
		<link>http://blogulous.wordpress.com/2009/05/16/this-backwards-nation/</link>
		<comments>http://blogulous.wordpress.com/2009/05/16/this-backwards-nation/#comments</comments>
		<pubDate>Sat, 16 May 2009 08:46:38 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/2009/05/16/this-backwards-nation/</guid>
		<description><![CDATA[So I was sitting in the departure lounge at Heathrow airport trying to log on to the internet to check my email and the like, and what with LHR being a major international airport with millions of travellers passing through each day, one might expect some free wifi.
But no. This money grabbing backwards nation can’t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=35&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So I was sitting in the departure lounge at Heathrow airport trying to log on to the internet to check my email and the like, and what with LHR being a major international airport with millions of travellers passing through each day, one might expect some free wifi.</p>
<p>But no. This money grabbing backwards nation can’t even get that organised. £1 for 10 minutes!?!?!? You are having a giraffe my friend! </p>
<p>So now I’m at Hong Kong, waiting in the departure lounge to catch my next flight on to Auckland, and thankfully they have managed to grasp the concept of free wifi. Granted, its unsecured and the connection rate doesn’t seem to be brilliant, but it is free and is enough for me to write this and check my mail quickly. I’ll see what there is in Auckland in due course.</p>
<p>So the question is, how much does it really cost a big telco (for example BT) to provide free wifi? There’s probably a lot of hardware to install and run, but it shouldn’t need a massive team of engineers to support it, and given there is already an extensive payphone network in the terminals connectivity to the main trunk networks shouldn’t be a problem either. One day……. I can but hope <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Rant over.</p>
<p>Si</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=35&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2009/05/16/this-backwards-nation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>Flickr`n &#8216;eck!</title>
		<link>http://blogulous.wordpress.com/2009/05/03/flickrn-eck/</link>
		<comments>http://blogulous.wordpress.com/2009/05/03/flickrn-eck/#comments</comments>
		<pubDate>Sun, 03 May 2009 18:16:30 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=31</guid>
		<description><![CDATA[Lights On A Stick now on Flickr!!
Just a handful of my favourites on there at the moment, more to come as I get round to uploading them!
Si
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=31&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.flickr.com/photos/lightsonastick/">Lights On A Stick now on Flickr!!</a></p>
<p>Just a handful of my favourites on there at the moment, more to come as I get round to uploading them!</p>
<p>Si</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=31&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2009/05/03/flickrn-eck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>Frog in a&#8230;.</title>
		<link>http://blogulous.wordpress.com/2008/09/10/frog-in-a/</link>
		<comments>http://blogulous.wordpress.com/2008/09/10/frog-in-a/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 23:03:32 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Graphics / Animation]]></category>
		<category><![CDATA[3d modelling]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Blender]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=27</guid>
		<description><![CDATA[&#8230;.blender. Its the punchline to a bad joke, and certainly not something I would counsel. However, this post is about a different type of blender altogether.
Blender is a free open-source 3D design and animation package, offering similar power and functionality of professional products such as 3ds Max and Maya (these packages are used in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=27&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8230;.blender. Its the punchline to a bad joke, and certainly not something I would counsel. However, this post is about a different type of blender altogether.</p>
<p><a title="Blender.org" href="http://www.blender.org" target="_blank">Blender</a> is a free open-source 3D design and animation package, offering similar power and functionality of professional products such as 3ds Max and Maya (these packages are used in the film and tv industries &#8211; think of any Pixar film!). I have used the cut-down versions of both these packages (Gmax and Maya Personal Learning Edition respectively), more just playing around than with any real project in mind, and so I look forward to having a play with Blender. It is supposed to be more user friendly, however I guess you still need some artistic skill!!</p>
<p>Blender has had exposure on the <a title="BBC Click - Blender" href="http://news.bbc.co.uk/1/hi/programmes/click_online/7597745.stm" target="_blank">BBC Click programme</a> and support/awareness for it is growing. By the looks of it there are some impressive movies out there already. Also in the Blender community, Super3Boy has done a load of excellent tutorial videos which are available on YouTube &#8211; <a title="Super3Boy tutorials" href="http://www.youtube.com/user/super3boy" target="_blank">http://www.youtube.com/user/super3boy</a> &#8211; so no excuses really!</p>
<p>Hop-fully I&#8217;ll be able to squeeze the last drops of performance out of my wheezing computer to run Blender, and if so I&#8217;ll report back later, possibly with a picture of a (still intact) frog&#8230;. So if you really wanted to see Monsters Inc 2, or the return of The Incredibles, then now you can have a go at making your own version &#8211; just don&#8217;t confuse your <a href="http://en.wikipedia.org/wiki/NURBS" target="_blank">NURBS</a> with your <a href="http://en.wikipedia.org/wiki/B%C3%A9zier_spline" target="_blank">Beziér splines</a> and check those knot vectors offer full <a href="http://en.wikipedia.org/wiki/Parametric_continuity" target="_blank">continuity</a> over the parametric surfaces&#8230;&#8230;. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Si</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=27&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/09/10/frog-in-a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s all gone radio rental</title>
		<link>http://blogulous.wordpress.com/2008/07/19/its-all-gone-radio-rental/</link>
		<comments>http://blogulous.wordpress.com/2008/07/19/its-all-gone-radio-rental/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 19:36:04 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[ASP / ASP.Net]]></category>
		<category><![CDATA[data grid]]></category>
		<category><![CDATA[grid view]]></category>
		<category><![CDATA[radio button groups]]></category>
		<category><![CDATA[radio buttons]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=21</guid>
		<description><![CDATA[Feel free to leave now if you&#8217;ve had enough of radio buttons&#8230;.
So having dealt with radio buttons on my filter (read my other post, Missing / (in)action for background), I had the next challenge of getting radio buttons in a gridview. &#8220;Template Columns&#8221; I hear you shouting at me, and you&#8217;d be right. While there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=21&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Feel free to leave now if you&#8217;ve had enough of radio buttons&#8230;.</p>
<p>So having dealt with radio buttons on my filter (read my other post, <a title="Missing / (in)action" href="http://blogulous.wordpress.com/2008/07/19/missing-inaction/">Missing / (in)action</a> for background), I had the next challenge of getting radio buttons in a gridview. &#8220;Template Columns&#8221; I hear you shouting at me, and you&#8217;d be right. While there is a built-in column type for checkboxes, the same thing doesn&#8217;t exist for radio buttons. So a quick bit of markup like:</p>
<p><code>&lt;asp:TemplateColumn&gt;&lt;ItemTemplate&gt;&lt;asp:RadioButton ..... /&gt;&lt;/ItemTemplate&gt;&lt;/asp:TemplateColumn&gt;</code></p>
<p>you&#8217;d think would work nicely. But it doesn&#8217;t. Try it, and you&#8217;ll find that you can select the radio button in each data row, at the same time. The idea is, of course, that only one would be selected at a time. Something is going slightly wrong here.</p>
<p>Have a butcher&#8217;s at the air force <em>(butcher&#8217;s hook = look, air force = source)</em> and you&#8217;ll see that each rendered &lt;input&gt; element has a different name attribute. The browser uses this attribute to group radio buttons together, so as far as the browser is concerned each radio button is in its own group and so can be selected at the same time.</p>
<p>The two and six (<em>=fix</em>) for this is to use a Literal control in the item template,</p>
<p><code>&lt;asp:Literal ID="RadioButtonMarkup" runat="server"&gt;&lt;asp:Literal&gt;</code></p>
<p>then override the gridview&#8217;s RowCreated event with something like:</p>
<p><code class="code_block">Protected void GridView1_RowCreated(Object sender, GridViewRowEventArgs e)</code></p>
<p><code class="code_block">{</code></p>
<p><code class="code_block">If (e.Row.RowType == DataControlRowType.DataRow} </code></p>
<p><code class="code_block">{</code></p>
<p><code class="code_block">' Grab a reference to the Literal control </code></p>
<p><code class="code_block">Literal outputRow = (Literal)e.Row.FindControl("RadioButtonMarkup");</code></p>
<p><code class="code_block">' Output the markup except for the "checked" attribute </code></p>
<p><code class="code_block">outputRow.Text = String.Format( "&lt;input type="radio" name="radioButtonGroup" " &amp; _             "id="RowSelector{0}" value="{0}" /&gt;", e.Row.RowIndex); </code></p>
<p><code class="code_block">}</code></p>
<p><code class="code_block">} </code></p>
<p>Job done. You get a radio button in each row, and you can only select one at a time. This also has the advantage that you can modify the code should you need to (e.g. I am changing this so depending on a parameter this will display radio buttons or check boxes).</p>
<p>There is still the issue of remembering the selected item after postback. This can be done, I suggest reading the rest of the article from which I half-inched (<em>=pinched</em>) the above: <a title="Microsoft ASP.net - Adding a GridView Column of Radio Buttons" href="http://www.asp.net/LEARN/data-access/tutorial-51-vb.aspx" target="_blank">Microsoft ASP.net &#8211; Adding a GridView Column of Radio Buttons</a>. Essentially it involves adding a private property to store an ID of the selected item, then checking for that in the RowCreated handler above.</p>
<p>Si.</p>
<p><em>btw: radio rental = mental</em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=21&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/07/19/its-all-gone-radio-rental/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>Missing / (in)action</title>
		<link>http://blogulous.wordpress.com/2008/07/19/missing-inaction/</link>
		<comments>http://blogulous.wordpress.com/2008/07/19/missing-inaction/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 18:55:29 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP / ASP.Net]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=18</guid>
		<description><![CDATA[Despite my recent lack of postings I am still alive!!  
And that&#8217;s not the only reason for the title of this post. I have a monster in the making. Not a good monster mind, a real ugly monster. This monster is an ASP.NET user control. What started out as a simple task to develop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=18&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Despite my recent lack of postings I am still alive!! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And that&#8217;s not the only reason for the title of this post. I have a monster in the making. Not a good monster mind, a real ugly monster. This monster is an ASP.NET user control. What started out as a simple task to develop a control that would allow users to specify some filters/parameters before generating a report seemed on paper, quite simple and feasible. However, adding in some nested user controls, several of my own hand-crafted javascript calendars (the built-in .NET calendar is really slow and I think painful to use), and some optional radio-buttons as a template column on a datagrid has given this a life of its own. A <em>whole screen</em> full of viewstate is really not the way forward!!!</p>
<p>Anyway, the other reason for this post is to spread/share the knowledge about radio buttons, AJAX and postback. In my monster control, I have a few radio buttons that let the user switch between filters, but obviously when the page loads I want a default filter to be shown. Correspondingly I want one of the radio buttons to be checked. &#8220;Easy!&#8221; you say, and, well, yes it is, and it might look something like:</p>
<p><code>&lt;asp:RadioButton ID="RadioButton1" runat="server" GroupName="group1" Text="Option 1" Checked="true" OnCheckedChange="RadioButton1_CheckedChanged"/&gt;</code></p>
<p>But is it quite that simple? When a radio button is selected, I want to do some stuff server-side and show a different filter through the magik of AJAX. The code above might work for buttons 2 and 3, but there is a distinct lack of action when button 1 is re-selected (after selecting 2 or 3). &#8220;Huh?&#8221; you say? The reason for this is the <code>Checked="true"</code> bit. When the page is rendered, this radio button doesn&#8217;t get the postback javascript associated with it&#8217;s onclick event, and so never triggers a postback. Solution? Wrap the radio buttons in an update panel so they get updated when AJAX does its thing.</p>
<p>Read this article for more info (it helped me win this particular battle with the monster): <a title="http://smarx.com/posts/the-case-of-the-radiobuttonlist-half-trigger.aspx" href="http://smarx.com/posts/the-case-of-the-radiobuttonlist-half-trigger.aspx" target="_blank">http://smarx.com/posts/the-case-of-the-radiobuttonlist-half-trigger.aspx.</a></p>
<p>I fight on&#8230;.</p>
<p>Si</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=18&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/07/19/missing-inaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>While I&#8217;m here&#8230;&#8230;.</title>
		<link>http://blogulous.wordpress.com/2008/04/25/while-im-here/</link>
		<comments>http://blogulous.wordpress.com/2008/04/25/while-im-here/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 19:30:40 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[audience]]></category>
		<category><![CDATA[current user]]></category>
		<category><![CDATA[SharePoint web service]]></category>
		<category><![CDATA[spinner]]></category>
		<category><![CDATA[SPLongOperation]]></category>
		<category><![CDATA[web part]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=17</guid>
		<description><![CDATA[I remembered a couple of other little SharePoint snippets that I have found useful.

Want to use that lovely green spinning icon that SharePoint uses when its doing something? Try the SPLongOperation class &#8211; good example here.
Need to set the audience for a webpart through code? This is what I used!.
Get the current user in InfoPath [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=17&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I remembered a couple of other little SharePoint snippets that I have found useful.</p>
<ol>
<li>Want to use that lovely green spinning icon that SharePoint uses when its doing something? Try the SPLongOperation class &#8211; <a title="SharePoint spinner example" href="http://blogs.inetium.com/blogs/bcaauwe/archive/2007/12/20/splongoperation-sharepoint-spin-wheel.aspx" target="_blank">good example here</a>.</li>
<li>Need to set the audience for a webpart through code? <a title="Set web part audience" href="http://blogs.tamtam.nl/mart/CommentView,guid,a0b20be6-56e4-4571-af0f-3dff43b5f69d.aspx" target="_blank">This is what I used!</a>.</li>
<li>Get the current user in InfoPath (not strictly SharePoint, but uses the SharePoint web services). <a title="Get current user in InfoPath" href="http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx" target="_blank">Read this</a>.</li>
<li>Convert the XML that SharePoint returns into a dataset (I find myself using this all the time, probably because I don&#8217;t know better!):</li>
</ol>
<p><code><br />
public DataSet NSXmlToDataSet(string xmlString)<br />
{<br />
  DataSet ds = new DataSet();<br />
  XmlDocument xd = new XmlDocument();<br />
</code><code><br />
  xd.LoadXml(xmlString);<br />
</code><code><br />
  XmlNamespaceManager nsMgr = new<br />
    XmlNamespaceManager(xd.NameTable);<br />
  nsMgr.AddNamespace("rs",<br />
    xd.DocumentElement.GetNamespaceOfPrefix("rs"));<br />
</code><code><br />
  XmlNode xn = xd.SelectSingleNode("//rs:data", nsMgr);<br />
</code><code><br />
  XmlNodeReader reader = new XmlNodeReader(xn);<br />
  ds.ReadXml(reader);<br />
</code><code><br />
  return ds;<br />
}</code></p>
<p>Si</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=17&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/04/25/while-im-here/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>People in the field</title>
		<link>http://blogulous.wordpress.com/2008/04/25/people-in-the-field/</link>
		<comments>http://blogulous.wordpress.com/2008/04/25/people-in-the-field/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 19:16:24 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[field]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=16</guid>
		<description><![CDATA[SharePoint again folks! When dealing with users and groups (for example with list columns), SharePoint likes to store the underlying value in it&#8217;s own special format, usually ID;#Value (e.g &#8220;1;#neboddy&#8221;). That&#8217;s all well and good, but when you need to retrieve that value and display it in a friendly format (e.g. &#8220;Mr N E Boddy&#8221;) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=16&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>SharePoint again folks! When dealing with users and groups (for example with list columns), SharePoint likes to store the underlying value in it&#8217;s own special format, usually ID;#Value (e.g &#8220;1;#neboddy&#8221;). That&#8217;s all well and good, but when you need to retrieve that value and display it in a friendly format (e.g. &#8220;Mr N E Boddy&#8221;) then there&#8217;s some work to do.</p>
<p>Fortunately SharePoint gives you a quick and easy way of getting at all the user properties for Mr Boddy (or anyone else for that matter!): <strong>SPFieldUserValue</strong>. Tada! Create a new object of that type, give it the value you&#8217;ve read from the list field, and then point an SPUser object at it, hey presto, you&#8217;ve got everything you could want. This saves having to write your own parser, and if Microsoft change the format down the line, they should update this class in the process.</p>
<p>Here is some lovely (delete if appropriate) code to demonstrate. This code was written to return either login names or email addresses for a multi-user field, hence the foreach() loop:</p>
<pre><code>
public string GetUserListFromField(SPWeb web,
                 string fieldValue,
                 bool returnEmail)
{
    string returnValue = "";
</code><code>
    //get collection of users from passed-in value
    SPFieldUserValueCollection allUsers = new
      SPFieldUserValueCollection(web, fieldValue);

    foreach(SPFieldUserValue fieldUser
               in allUsers)
    {
        //convert value to user
        SPUser user = fieldUser.User;
</code><code>
        if (returnEmail)
        {
            //return email address if requested
            returnValue += user.Email + ";";
        }
        else
        {
            //return login names
            returnValue += user.LoginName + ";";
        }
    }
</code><code>
    //trim the trailing semicolon
    int i = returnValue.LastIndexOf(";");
    returnValue = returnValue.Substring(0, i);
</code><code>
    //tidy up
    web.Dispose();
</code><code>
    return returnValue;
}
</code></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=16&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/04/25/people-in-the-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>Now you see it, now you don&#8217;t</title>
		<link>http://blogulous.wordpress.com/2008/04/23/now-you-see-it-now-you-dont/</link>
		<comments>http://blogulous.wordpress.com/2008/04/23/now-you-see-it-now-you-dont/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 23:07:25 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[document library]]></category>
		<category><![CDATA[Toolbar]]></category>
		<category><![CDATA[web part]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=15</guid>
		<description><![CDATA[A lovely thing is a SharePoint document library. Well it is until users are added in to the equation. At which point, either you don&#8217;t want them using the toolbar, or they don&#8217;t want to see it (or bits of it). Fair enough, just go into the web part properties and hide the blasted toolbar. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=15&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A lovely thing is a SharePoint document library. Well it is until users are added in to the equation. At which point, either you don&#8217;t want them using the toolbar, or they don&#8217;t want to see it (or bits of it). Fair enough, just go into the web part properties and hide the blasted toolbar. Job done! Well, no, because if I wanted to template that site and use it again (which I often do), the toolbar settings don&#8217;t get saved so I have to go back in and turn them off. Boring!!</p>
<p>So I set about creating a feature that would enable me to quickly set up a site and configure all the different bits, and all was going well until I tried to get at this toolbar setting. You see, its not directly available through the SharePoint object model, and is hard to get at using System.Reflection (I tried lots of code posted on other sites, none seemed to work for me &#8211; says a lot about me then!). I was going to skip over it and then I found this cool little web part &#8211; <a title="Toolbar Manager" href="http://scothillier.spaces.live.com/blog/cns!8F5DEA8AEA9E6FBB!280.entry" target="_blank">Toolbar Manager</a> . Problem solved!</p>
<p>This neat web part sits on the page like any other, and has a simple set of properties which basically hide any or all of the toolbar buttons (and associated menu items) on a list view web part. It is SO easy to use, and the source code is available to so you can customise it if needed. I have added an extra bit to hide the view selector as well. So now the users can have whatever they want to see on the toolbar, and us developers can stop them doing anything but change the view! My next tweak will be trying to get it to add custom buttons as well. It can&#8217;t get much better!! Thanks Scot!! (BTW you can download the source code and/or solution packages from <a title="CodePlex" href="http://www.codeplex.com/features" target="_blank">CodePlex</a>)</p>
<p>Si</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=15&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/04/23/now-you-see-it-now-you-dont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
		<item>
		<title>All odd numbers are prime&#8230;..</title>
		<link>http://blogulous.wordpress.com/2008/03/20/all-odd-numbers-are-prime/</link>
		<comments>http://blogulous.wordpress.com/2008/03/20/all-odd-numbers-are-prime/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 23:37:05 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogulous.wordpress.com/?p=14</guid>
		<description><![CDATA[Mathematician: 3 is a prime, 5 is a prime, 7 is a prime, and by induction &#8211; every odd integer higher than 2 is a prime.
 Physicist: 3 is a prime, 5 is a prime, 7 is a prime, 9 is an experimental error, 11 is a prime,&#8230;
 Engineer: 3 is a prime, 5 is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=14&subd=blogulous&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><b>Mathematician:</b> 3 is a prime, 5 is a prime, 7 is a prime, and by induction &#8211; every odd integer higher than 2 is a prime.<br />
<b> Physicist:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 is an experimental error, 11 is a prime,&#8230;<br />
<b> Engineer:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 is a prime, 11 is a prime,&#8230;<br />
<b> Programmer: </b>3 is a prime, 5 is a prime, 7 is a prime, 7 is a prime, 7 is a prime,&#8230;<br />
<b>Salesperson:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 &#8212; we&#8217;ll do for you the best we can,&#8230;<br />
<b> Computer Software Salesperson:</b> 3 is prime, 5 is prime, 7 is prime, 9 will be prime in the next release,&#8230;<br />
<b> Biologist:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 &#8212; results have not arrived yet,&#8230;<br />
<b> Advertiser: </b>3 is a prime, 5 is a prime, 7 is a prime, 11 is a prime,&#8230;<br />
<b> Lawyer: </b>3 is a prime, 5 is a prime, 7 is a prime, 9 &#8212; there is not enough evidence to prove that it is not a prime,&#8230;<br />
<b> Accountant: </b>3 is prime, 5 is prime, 7 is prime, 9 is prime, deducting 10% tax and 5% other obligations.<br />
<b> Statistician:</b> Let&#8217;s try several randomly chosen numbers: 17 is a prime, 23 is a prime, 11 is a prime&#8230;<br />
<b> Professor:</b> 3 is prime, 5 is prime, 7 is prime, and the rest are left as an exercise for the student.<br />
<b> Computational linguist:</b> 3 is an odd prime, 5 is an odd prime, 7 is an odd prime, 9 is a very odd prime,&#8230;<br />
<b> Psychologist:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 is a prime but tries to suppress it,&#8230;<br />
<b> Psychiatrist:</b> 3 is a prime, 5 is a prime, 7 is a prime, 9 would be a prime if it wasn&#8217;t for his relationship with 3.<br />
<b> Project Manager:</b> Firstly, what&#8217;s a prime, and how long will it take to make 9 one of those?</p>
<p>(plagiarised from somewhere&#8230;.)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blogulous.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blogulous.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogulous.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogulous.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogulous.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogulous.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogulous.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogulous.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogulous.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogulous.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogulous.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogulous.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogulous.wordpress.com&blog=2909802&post=14&subd=blogulous&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blogulous.wordpress.com/2008/03/20/all-odd-numbers-are-prime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d0a04b0a88746008b24883a8463d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Si</media:title>
		</media:content>
	</item>
	</channel>
</rss>