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

<channel>
	<title>Mark van 't Zet</title>
	<atom:link href="http://mvantzet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mvantzet.wordpress.com</link>
	<description>Random things I stumble upon</description>
	<lastBuildDate>Mon, 21 Nov 2011 10:45:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mvantzet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/2b58656626240a16d949d414c1dfc9b4?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Mark van 't Zet</title>
		<link>http://mvantzet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mvantzet.wordpress.com/osd.xml" title="Mark van &#039;t Zet" />
	<atom:link rel='hub' href='http://mvantzet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Drawing UML diagrams in OpenOffice Draw</title>
		<link>http://mvantzet.wordpress.com/2009/10/20/drawing-uml-diagrams-in-openoffice-draw/</link>
		<comments>http://mvantzet.wordpress.com/2009/10/20/drawing-uml-diagrams-in-openoffice-draw/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:43:54 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=67</guid>
		<description><![CDATA[In my search for a simple (and since my reasonably disastrous experiences with StarUML: stable) UML editor, I came across this set of UML symbols for use in OpenOffice Draw: http://www.lautman.net/mark/coo/index.html The author suggests you open the UML drawing and copy/paste elements from that into your own UML diagram. That is possible, but I prefer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=67&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my search for a simple (and since my reasonably disastrous experiences with StarUML: stable) UML editor, I came across this set of UML symbols for use in OpenOffice Draw:</p>
<p><a href="http://www.lautman.net/mark/coo/index.html">http://www.lautman.net/mark/coo/index.html</a></p>
<p>The author suggests you open the UML drawing and copy/paste elements from that into your own UML diagram. That is possible, but I prefer to add the elements from an OpenOffice Theme.</p>
<ol>
<li>Click the &#8220;Gallery&#8221; icon in OpenOffice Draw, or choose Tools &gt; Gallery.</li>
<li>Click on the &#8220;New Theme&#8230;&#8221; button.</li>
<li>On the &#8220;General&#8221; tab, enter the name of the new theme, e.g. &#8220;UML&#8221;</li>
<li>Drag the UML diagram elements from Mark Lautman&#8217;s ODG into the new UML theme. To do this, click on an element whilst holding the Ctrl key pressed. Keep holding Ctrl for a second or two. The cursor will turn into a &#8220;Copy&#8221; pointer; drag it into the empty UML theme area and drop it.</li>
<li>The element will be added with a default title like &#8220;dd2014&#8243;, you can change this title by rightclicking the element in the Theme area and selecting contextmenu item &#8220;Title&#8221;, so sensible names will be visible in the list view.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=67&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/10/20/drawing-uml-diagrams-in-openoffice-draw/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove recent projects from Visual Studio 2008</title>
		<link>http://mvantzet.wordpress.com/2009/09/15/remove-recent-projects-from-visual-studio-2008/</link>
		<comments>http://mvantzet.wordpress.com/2009/09/15/remove-recent-projects-from-visual-studio-2008/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 11:38:13 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/2009/09/15/remove-recent-projects-from-visual-studio-2008/</guid>
		<description><![CDATA[To remove projects from the &#8220;Recent Projects&#8221; list in Visual Studio 2008, open regedit.exe and go to: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList You will find a number of keys here named &#8220;File1&#8243;, &#8220;File2&#8243;, etc. that contain paths to the projects in the &#8220;Recent Projects&#8221; list. Invalidate the paths of the entries you want to remove. (For instance, you can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=64&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To remove projects from the &#8220;Recent Projects&#8221; list in Visual Studio 2008, open <code>regedit.exe</code> and go to:</p>
<pre>HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList</pre>
<p>You will find a number of keys here named &#8220;File1&#8243;, &#8220;File2&#8243;, etc. that contain paths to the projects in the &#8220;Recent Projects&#8221; list. Invalidate the paths of the entries you want to remove. (For instance, you can remove &#8220;vcproj&#8221; from the path.)</p>
<p>Now open up Visual Studio 2008 and click on one of the projects you want to remove. Visual Studio will detect the incorrect path and ask you whether you want to remove the project from the &#8220;Recent Projects&#8221; list; click Yes to remove the project from the list.</p>
<p>(Why isn&#8217;t this functionality available in VS2008?)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=64&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/09/15/remove-recent-projects-from-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Text truncated to 255 characters when reading from Excel with Jet 4.0 OLEDB</title>
		<link>http://mvantzet.wordpress.com/2009/09/14/text-truncated-to-255-characters-when-reading-from-excel-with-jet-4-0-oledb/</link>
		<comments>http://mvantzet.wordpress.com/2009/09/14/text-truncated-to-255-characters-when-reading-from-excel-with-jet-4-0-oledb/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 14:59:48 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/2009/09/14/text-truncated-to-255-characters-when-reading-from-excel-with-jet-4-0-oledb/</guid>
		<description><![CDATA[One of those MS vagaries: text from my Excel sheet was truncated to 255 characters. See http://support.microsoft.com/kb/281517 for the reason. Apparently, the driver guesses the maximum length of a column by looking at the first 8 rows of the Excel sheet. The MS article tells how to change this number, but does not provide a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=59&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of those MS vagaries: text from my Excel sheet was truncated to 255 characters. See <a href="http://support.microsoft.com/kb/281517">http://support.microsoft.com/kb/281517</a> for the reason. Apparently, the driver guesses the maximum length of a column by looking at the first 8 rows of the Excel sheet. The MS article tells how to change this number, but does not provide a workaround. My (ugly) workaround is: modify the Excel sheet by inserting an extra row at the top that contains more than 255 characters. A subsequent read will identify the column as bigger than 255 characters and read ALL text in the sheet.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=59&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/09/14/text-truncated-to-255-characters-when-reading-from-excel-with-jet-4-0-oledb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery UI problem with nested accordion and tabs widgets (solved)</title>
		<link>http://mvantzet.wordpress.com/2009/06/06/jquery-ui-problem-with-nested-accordion-and-tabs-widgets-solved/</link>
		<comments>http://mvantzet.wordpress.com/2009/06/06/jquery-ui-problem-with-nested-accordion-and-tabs-widgets-solved/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 12:51:46 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=53</guid>
		<description><![CDATA[An application I&#8217;m working on features tabs inside a jQuery UI accordion inside yet another set of tabs. The problem I was having was that, for some unknown reason, the accordion became way too high or way to narrow. It turned out to be logically related to the nesting of the UI widgets and the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=53&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An application I&#8217;m working on features tabs inside a jQuery UI accordion inside yet another set of tabs. The problem I was having was that, for some unknown reason, the accordion became way too high or way to narrow.</p>
<p>It turned out to be logically related to the nesting of the UI widgets and the order in which the widgets were created. If the accordion is rendered before the inner tabs are rendered, the contents of the inner tabs are (still) displayed below each other. The accordion calculates the necessary height based on these vertically stacked elements. Subsequently, the inner tabs are created and a big empty space remains inside the accordion. Another related problem is that when the accordion is created, the actual contents have to be visible for the height calculation to be performed properly. In my case, the accordion is not on the first (outer) tab that is visible by default, but on a subsequent tab, causing the accordion to be rendered with minimum height (approximately 50 pixels) by default.</p>
<p>The final solution was:</p>
<p>1. Create the (inner and outer) tabs</p>
<p>2. Select the outer tab that contains the accordion</p>
<p>3. Create the accordion</p>
<p>4. Re-select the initially selected outer tab.</p>
<p>All logical in retrospect, but isn&#8217;t that always the case.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=53&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/06/06/jquery-ui-problem-with-nested-accordion-and-tabs-widgets-solved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>McAfee = leet?</title>
		<link>http://mvantzet.wordpress.com/2009/06/06/mcafee-leet/</link>
		<comments>http://mvantzet.wordpress.com/2009/06/06/mcafee-leet/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 12:36:13 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=54</guid>
		<description><![CDATA[Whenever a scheduled virus scan starts, the number of scanned items remains on a suspicious number for a while&#8230; Is it just my leetz0rz laptop or is it an Easter egg? Hmm&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=54&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whenever a scheduled virus scan starts, the number of scanned items remains on a suspicious number for a while&#8230; Is it just my leetz0rz laptop or is it an Easter egg? <img class="alignleft size-full wp-image-55" title="mcafee 1337" src="http://mvantzet.files.wordpress.com/2009/06/mcafee-1337.png?w=220&#038;h=140" alt="mcafee 1337" width="220" height="140" />Hmm&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=54&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/06/06/mcafee-leet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>

		<media:content url="http://mvantzet.files.wordpress.com/2009/06/mcafee-1337.png" medium="image">
			<media:title type="html">mcafee 1337</media:title>
		</media:content>
	</item>
		<item>
		<title>Easter Egg on jQuery site</title>
		<link>http://mvantzet.wordpress.com/2009/05/28/easter-egg-on-jquery-site/</link>
		<comments>http://mvantzet.wordpress.com/2009/05/28/easter-egg-on-jquery-site/#comments</comments>
		<pubDate>Thu, 28 May 2009 09:48:39 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=50</guid>
		<description><![CDATA[Digging around the script on the jQuery.com website I saw there´s an easter egg that uses the Konami cheat code, i.e. up arrow twice, down arrow twice, left arrow, right arrow, left arrow, right arrow, a, b. Rock on! (Tested in Google Chrome only)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=50&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Digging around the script on the jQuery.com website I saw there´s an easter egg that uses the <a href="http://en.wikipedia.org/wiki/Konami_Code">Konami cheat code</a>, i.e. up arrow twice, down arrow twice, left arrow, right arrow, left arrow, right arrow, a, b. Rock on!<br />
(Tested in Google Chrome only)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=50&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/05/28/easter-egg-on-jquery-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysterious additional HTTP GET: beware of the IMG tag!</title>
		<link>http://mvantzet.wordpress.com/2009/05/28/mysterious-additional-http-get-beware-of-the-img-tag/</link>
		<comments>http://mvantzet.wordpress.com/2009/05/28/mysterious-additional-http-get-beware-of-the-img-tag/#comments</comments>
		<pubDate>Thu, 28 May 2009 09:17:35 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=47</guid>
		<description><![CDATA[This morning I solved one of those mysterious problems that cause insomnia, premature baldness and/or random acts of violence such as throwing anything out of the window with an on/off switch. One of the web forms I&#8217;m working on stores an object in the Session scope. The object  is being created on the initial (non-postback) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=47&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This morning I solved one of those mysterious problems that cause insomnia, premature baldness and/or random acts of violence such as throwing anything out of the window with an on/off switch.</p>
<p>One of the web forms I&#8217;m working on stores an object in the Session scope. The object  is being created on the initial (non-postback) call of the webpage and fetched from the Session on subsequent postbacks. One particular part of the page utilizing AJAX caused the object to be reset to its initial state and that was when the detective work started.</p>
<p>Firebug showed that after loading a dynamic part of the page an additional HTTP GET was done. It turned out to be an IMG tag with an empty src attribute, i.e.</p>
<pre>&lt;img src="" /&gt;</pre>
<p>that was filled in after dynamically inserting the HTML, causing the aforementioned HTTP GET by the browser. The solution was to point the IMG to a valid (empty) image first and overwrite that later.</p>
<p>This reminded me of a similar case I had a long, long time ago in a place near, nearby where a piece of faulty HTML also caused an additional GET. Exercise for the reader:</p>
<pre>&lt;body background="#FFF"&gt;</pre>
<p>(Yes folks, that was in the day that CSS did not exist yet and &#8220;Auto-complete&#8221; referred to a letter stating that your T-Ford was ready.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=47&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/05/28/mysterious-additional-http-get-beware-of-the-img-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Copying text using Javascript URLs and TinyURL.com: cloud clipboarding!</title>
		<link>http://mvantzet.wordpress.com/2009/05/06/copying-text-using-javascript-urls-and-tinyurlcom-cloud-clipboarding/</link>
		<comments>http://mvantzet.wordpress.com/2009/05/06/copying-text-using-javascript-urls-and-tinyurlcom-cloud-clipboarding/#comments</comments>
		<pubDate>Wed, 06 May 2009 12:02:28 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/2009/05/06/copying-text-using-javascript-urls-and-tinyurlcom-cloud-clipboarding/</guid>
		<description><![CDATA[The company where I&#8217;m currently doing a project has two separate networks: one small network that is used by the developers for a new application and another network, used by the rest of the company, where the application is deployed to. Today I wanted to copy a small piece of SQL from my PC to the server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=41&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The company where I&#8217;m currently doing a project has two separate networks: one small network that is used by the developers for a new application and<br />
another network, used by the rest of the company, where the application is deployed to.</p>
<p>Today I wanted to copy a small piece of SQL from my PC to the server in the network. Because using a USB memory stick takes too much time (insert the stick, copy the text into a text file, store the file on the stick, etc.) I thought: apart from using webmail, can&#8217;t I store the text somewhere on a site and download it from there, preferrably using a small URL?</p>
<p>The first site that comes to mind is tinyurl.com. But I would then have to create a specific page first and shorten the URL afterwards, wouldn&#8217;t I?</p>
<p>Good news: tinyurl.com supports javascript URLs! So I simply created a new tinyurl.com link to:</p>
<pre>javascript:f();function f(){document.write('&lt;pre&gt;the text that needs to be copied goes here&lt;/pre&gt;');}</pre>
<p>and opened up http://preview.tinyurl.com/ in a browser on the server and there you go! Cloud clipboarding!</p>
<p> </p>
<p><em>UPDATE</em>: some more Google-ing on the matter revealed two sites that do just this (but easier <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  which are: http://cl1p.net and http://www.pastebin.com/ Once again this proves that anything you think up already exists somewhere else.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=41&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/05/06/copying-text-using-javascript-urls-and-tinyurlcom-cloud-clipboarding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Handy Perl DateTime modules</title>
		<link>http://mvantzet.wordpress.com/2009/02/19/handy-perl-datetime-modules/</link>
		<comments>http://mvantzet.wordpress.com/2009/02/19/handy-perl-datetime-modules/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 14:12:18 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=38</guid>
		<description><![CDATA[I was working on a Perl script today and encountered the following two great DateTime format modules. http://search.cpan.org/dist/DateTime-Format-Baby/ http://search.cpan.org/dist/DateTime-Format-Bork/ Good to see in the Changelog that someone even found a (fixed) bug in the Bork module.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=38&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was working on a Perl script today and encountered the following two great DateTime format modules.<br />
<a href="http://search.cpan.org/dist/DateTime-Format-Baby/">http://search.cpan.org/dist/DateTime-Format-Baby/</a><br />
<a href="http://search.cpan.org/dist/DateTime-Format-Bork/">http://search.cpan.org/dist/DateTime-Format-Bork/</a><br />
Good to see in the Changelog that someone even found a (fixed) bug in the Bork module. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=38&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/02/19/handy-perl-datetime-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
		<item>
		<title>Yearly WTF &#8211; the most terrible code I&#8217;ve seen in months</title>
		<link>http://mvantzet.wordpress.com/2009/02/17/yearly-wtf/</link>
		<comments>http://mvantzet.wordpress.com/2009/02/17/yearly-wtf/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 23:25:10 +0000</pubDate>
		<dc:creator>mvantzet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mvantzet.wordpress.com/?p=35</guid>
		<description><![CDATA[Today I came across the most terrible piece of code I&#8217;ve seen in months. Years. One would suspect the original programmer deliberately intended to cause chaos and despair. It starts off with some Hungarian notation to throw you off-balance; check out the &#8220;strBetaald&#8221; variable which seems to be a string but is in fact a boolean: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=35&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I came across the most terrible piece of code I&#8217;ve seen in months. Years. One would suspect the original programmer deliberately intended to cause chaos and despair.</p>
<p>It starts off with some Hungarian notation to throw you off-balance; check out the &#8220;strBetaald&#8221; variable which seems to be a string but is in fact a boolean:</p>
<pre>string strValue = "";
string strCheck = "";
string strPaid = "";
string strProcess = "";
bool strBetaald = false;</pre>
<p>Then the code proceeds to loop through XML nodes, setting the variable &#8220;strValue&#8221; to a certain value if the XML node name is X, and setting it to another value if the node name is Y. At the end of the run, strValue contains&#8230; what value? Well, doh, that depends on whether we came across X or Y first! The variable probably isn&#8217;t that important, since it just gets logged in a financial application database in approximately 50 lines down or so. Hey, how about a small coffee break, anyone?</p>
<p>In the middle of the loop we find the following gold nugget:</p>
<pre>if (strCheck != "true".ToString())
{
    strCheck = strCheck;
}
else
{
    strCheck = strCheck;
    // some other stuff..
}
bool bet = Convert.ToBoolean(strBetaald);
bool chk = Convert.ToBoolean(strCheck);</pre>
<p>So here we&#8217;re converting the string &#8220;true&#8221; to yet another string (just to be on the safe side) and to be really sure about getting the correct value, we assign the variable to itself.</p>
<p>Finally, we&#8217;re converting the boolean strBetaald to boolean, to be absolutely completely 100% positively certain that we&#8217;re right about this whole true/false thing because somewhere we read that there&#8217;s this weird thing called fuzzy logic and it may be lurking inside the compiler somewhere.</p>
<p>It all does make sense, so why am I so worked up about this?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mvantzet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mvantzet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mvantzet.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mvantzet.wordpress.com&amp;blog=5402086&amp;post=35&amp;subd=mvantzet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mvantzet.wordpress.com/2009/02/17/yearly-wtf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cfe509d130510a05ff68f5732bb963c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mvantzet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
