<?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>Heretic-Monkey &#187; Geekdom</title>
	<atom:link href="http://www.heretic-monkey.com/category/microcode/geekdom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heretic-monkey.com</link>
	<description>All Kinds of Trouble</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:14:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Bug in Microsoft ASP.NET AJAX Extensions 1.0</title>
		<link>http://www.heretic-monkey.com/microcode/_upperabbrmonthsbug/</link>
		<comments>http://www.heretic-monkey.com/microcode/_upperabbrmonthsbug/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 22:32:27 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Coding in .NET]]></category>
		<category><![CDATA[Geekdom]]></category>
		<category><![CDATA[Microcode]]></category>
		<category><![CDATA[.net 2.0]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax extensions 1.0]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[_upperAbbrMonths]]></category>

		<guid isPermaLink="false">http://www.heretic-monkey.com/microcode/_upperabbrmonthsbug/</guid>
		<description><![CDATA[Here&#8217;s the story: I created a drop-down calendar control for a website I&#8217;m helping to build at work. The website needs to work not only with American date formats, but in British, French, Italian, German and Spanish formats as well, including a format which includes the three-letter abbreviation for the month (e.g., 31-Dec-2007). The Date.parse [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the story:</p>
<p>I created a drop-down calendar control for a website I&#8217;m helping to build at work. The website needs to work not only with American date formats, but in British, French, Italian, German and Spanish formats as well, including a format which includes the three-letter abbreviation for the month (e.g., 31-Dec-2007). The Date.parse function built into the browser cannot parse this particular format, so I was hoping to leverage the localization features of the AJAX Extensions library. However, I kept getting an error at a function called &#8220;Sys$CultureInfo$_getAbbrMonthIndex&#8221;, deep in the bowels of the library. Here&#8217;s the entire function (line breaks added):</p>
<p><code>
<pre>
    function Sys$CultureInfo$_getAbbrMonthIndex(value) {
        if (!this._upperAbbrMonths) {
            this._upperAbbrMonths = this._toUpperArray(
                this.dateTimeFormat.AbbreviatedMonthNames);
        }
        return Array.indexOf(this._upperMonths,
            this._toUpper(value));
    }
</pre>
<p></code></p>
<p>Can you spot the error? Hello!? It populates an array called <code>_upperAbbrMonths</code>, then promptly looks for an entry in the <code>_upperMonths</code> array. Suffice it to say, if that particular field has not been defined yet, you get a variable undefined error. I fixed it by registering a startup script in our base Page class with the following script:</p>
<p><code>
<pre>
Sys.CultureInfo.prototype._getAbbrMonthIndex = function(value)
{
        if (!this._upperAbbrMonths) {
            this._upperAbbrMonths = this._toUpperArray(
                this.dateTimeFormat.AbbreviatedMonthNames);
        }
        return Array.indexOf(this._upperAbbrMonths,
            this._toUpper(value));
};
</pre>
<p></code></p>
<p>That fixes the bug. The interesting this is that this bug is &#8220;fixed&#8221; <a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=277646">according to MS</a>, because the new version of the library produced in .NET 3.5 has it fixed. Of course, if you&#8217;re stuck in .NET 2.0, you&#8217;re SOL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heretic-monkey.com/microcode/_upperabbrmonthsbug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>links for 2007-06-09</title>
		<link>http://www.heretic-monkey.com/microcode/links-for-2007-06-09/</link>
		<comments>http://www.heretic-monkey.com/microcode/links-for-2007-06-09/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 00:36:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Geekdom]]></category>
		<category><![CDATA[LinkDump]]></category>
		<category><![CDATA[Microcode]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.heretic-monkey.com/general/links-for-2007-06-09/</guid>
		<description><![CDATA[CSS3 . Info &#8211; All you ever needed to know about CSS3 (tags: css webdesign reference web webdev blog)]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.css3.info/">CSS3 . Info &#8211; All you ever needed to know about CSS3</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/css">css</a> <a href="http://del.icio.us/mikemccaughan/webdesign">webdesign</a> <a href="http://del.icio.us/mikemccaughan/reference">reference</a> <a href="http://del.icio.us/mikemccaughan/web">web</a> <a href="http://del.icio.us/mikemccaughan/webdev">webdev</a> <a href="http://del.icio.us/mikemccaughan/blog">blog</a>)</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heretic-monkey.com/microcode/links-for-2007-06-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>links for 2007-05-29</title>
		<link>http://www.heretic-monkey.com/microcode/links-for-2007-05-29/</link>
		<comments>http://www.heretic-monkey.com/microcode/links-for-2007-05-29/#comments</comments>
		<pubDate>Tue, 29 May 2007 00:39:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Geekdom]]></category>
		<category><![CDATA[LinkDump]]></category>
		<category><![CDATA[Microcode]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.heretic-monkey.com/general/links-for-2007-05-29/</guid>
		<description><![CDATA[del.icio.us randomizer (tags: firefox:bookmarks del.icio.us community bookmarklet tools) OpenOffice.org: Home (tags: software opensource office freeware free) Xbox Team : Spring &#8217;07 Video Playback FAQ (tags: xbox360 video microsoft reference media encoding)]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://del.icio.us/recent?random&#038;min=10">del.icio.us randomizer</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/firefox:bookmarks">firefox:bookmarks</a> <a href="http://del.icio.us/mikemccaughan/del.icio.us">del.icio.us</a> <a href="http://del.icio.us/mikemccaughan/community">community</a> <a href="http://del.icio.us/mikemccaughan/bookmarklet">bookmarklet</a> <a href="http://del.icio.us/mikemccaughan/tools">tools</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.openoffice.org/">OpenOffice.org: Home</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/software">software</a> <a href="http://del.icio.us/mikemccaughan/opensource">opensource</a> <a href="http://del.icio.us/mikemccaughan/office">office</a> <a href="http://del.icio.us/mikemccaughan/freeware">freeware</a> <a href="http://del.icio.us/mikemccaughan/free">free</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://blogs.msdn.com/xboxteam/archive/2007/05/09/spring-07-video-playback-faq.aspx">Xbox Team : Spring &#8217;07 Video Playback FAQ</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/xbox360">xbox360</a> <a href="http://del.icio.us/mikemccaughan/video">video</a> <a href="http://del.icio.us/mikemccaughan/microsoft">microsoft</a> <a href="http://del.icio.us/mikemccaughan/reference">reference</a> <a href="http://del.icio.us/mikemccaughan/media">media</a> <a href="http://del.icio.us/mikemccaughan/encoding">encoding</a>)</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heretic-monkey.com/microcode/links-for-2007-05-29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>links for 2007-05-26</title>
		<link>http://www.heretic-monkey.com/microcode/links-for-2007-05-26/</link>
		<comments>http://www.heretic-monkey.com/microcode/links-for-2007-05-26/#comments</comments>
		<pubDate>Sat, 26 May 2007 00:35:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Geekdom]]></category>
		<category><![CDATA[LinkDump]]></category>
		<category><![CDATA[Microcode]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.heretic-monkey.com/general/links-for-2007-05-26/</guid>
		<description><![CDATA[Trance Music,Techno,Dance with Classical Music Crossover by Max Fomitchev, UltraMax Music. Download MP3 music, buy CDs and 12&#8243; DJ vinyl. (tags: music mashup streaming) HTTP/1.1: Header Field Definitions (tags: http reference standards programming webdev internet w3c) HTTP/1.1: Appendices (Content-Disposition) Content-Disposition (tags: http reference standard internet w3c webdev) MIME AND THE WEB &#8212; THE MIME CONTENT-TYPE [...]]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.ultramax-music.com/">Trance Music,Techno,Dance with Classical Music Crossover by Max Fomitchev, UltraMax Music. Download MP3 music, buy CDs and 12&#8243; DJ vinyl.</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/music">music</a> <a href="http://del.icio.us/mikemccaughan/mashup">mashup</a> <a href="http://del.icio.us/mikemccaughan/streaming">streaming</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html">HTTP/1.1: Header Field Definitions</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/http">http</a> <a href="http://del.icio.us/mikemccaughan/reference">reference</a> <a href="http://del.icio.us/mikemccaughan/standards">standards</a> <a href="http://del.icio.us/mikemccaughan/programming">programming</a> <a href="http://del.icio.us/mikemccaughan/webdev">webdev</a> <a href="http://del.icio.us/mikemccaughan/internet">internet</a> <a href="http://del.icio.us/mikemccaughan/w3c">w3c</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1">HTTP/1.1: Appendices (Content-Disposition)</a></div>
<div class="delicious-extended">Content-Disposition</div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/http">http</a> <a href="http://del.icio.us/mikemccaughan/reference">reference</a> <a href="http://del.icio.us/mikemccaughan/standard">standard</a> <a href="http://del.icio.us/mikemccaughan/internet">internet</a> <a href="http://del.icio.us/mikemccaughan/w3c">w3c</a> <a href="http://del.icio.us/mikemccaughan/webdev">webdev</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html">MIME AND THE WEB &#8212; THE MIME CONTENT-TYPE 3</a></div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/mikemccaughan/mime">mime</a> <a href="http://del.icio.us/mikemccaughan/reference">reference</a> <a href="http://del.icio.us/mikemccaughan/content-types">content-types</a> <a href="http://del.icio.us/mikemccaughan/http">http</a> <a href="http://del.icio.us/mikemccaughan/internet">internet</a> <a href="http://del.icio.us/mikemccaughan/standard">standard</a> <a href="http://del.icio.us/mikemccaughan/webdev">webdev</a>)</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heretic-monkey.com/microcode/links-for-2007-05-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Project not found&#8221; problem loading a Solution with a web services project in Visual Studio.NET 2003</title>
		<link>http://www.heretic-monkey.com/microcode/geekdom/%e2%80%9cproject-not-found%e2%80%9d-problem-loading-a-solution-with-a-web-services-project-in-visual-studionet-2003/</link>
		<comments>http://www.heretic-monkey.com/microcode/geekdom/%e2%80%9cproject-not-found%e2%80%9d-problem-loading-a-solution-with-a-web-services-project-in-visual-studionet-2003/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 14:03:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Geekdom]]></category>

		<guid isPermaLink="false">http://www.heretic-monkey.com/geekdom/%e2%80%9cproject-not-found%e2%80%9d-problem-loading-a-solution-with-a-web-services-project-in-visual-studionet-2003/</guid>
		<description><![CDATA[So, I was getting this error constantly at work and found the solution on the web. I&#8217;m reproducing here without permission so that I know it will exist where I can find it. Original: Blogs &#8211; &#8220;Project not found&#8221; problem loading a Solution with a web services project in Visual Studio.NET 2003 Copy the files [...]]]></description>
			<content:encoded><![CDATA[<p>So, I was getting this error constantly at work and found the solution on the web. I&#8217;m reproducing here without permission so that I know it will exist where I can find it.</p>
<p>Original: <a href="http://www.inventua.com/blogs.content?EntryID=3">Blogs &#8211; &#8220;Project not found&#8221; problem loading a Solution with a web services project in Visual Studio.NET 2003</a></p>
<ol>
<li>Copy the files from the Visual SourceSafe database to your local computer.</li>
<li>Create the virtual directory for the web services project manually and point it to the desired directory.  Configure the application &#038; script execution settings (IIS) (no application name etc).</li>
<li>Locate the &lt;project&gt;.vbproj file in IIS by clicking on the virtual directory and displaying the contents and delete it.</li>
<li>Open VS.NET and open the solution from visual source safe.</li>
<li>When prompted for the location of the web service project, select the virtual directory you have created for the web services project and hit OK.</li>
</ol>
<p>Visual Studio will extract a new copy of the .vbproj file into the Virtual Directory and your solution should now work as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heretic-monkey.com/microcode/geekdom/%e2%80%9cproject-not-found%e2%80%9d-problem-loading-a-solution-with-a-web-services-project-in-visual-studionet-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
