<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">
    <title type="text">I don't want to get off on a rant here, but....</title>
    <subtitle type="html">Technology, Programming, Complaints, etc.</subtitle>
    <updated>2012-01-30T16:10:05Z</updated>
    <id>tag:example.org,2003:3</id>
    <link rel="alternate" type="text/html" hreflang="en" href="http://blog.web20studios.com" />
    
    <rights>Copyright (c) 2008, Matt Dragon</rights>

    <generator uri="http://blog.web20studios.com" version="0.8">
        Bloog for AppEngine
    </generator>

    
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/IDontWantToGetOffOnARantHereBut" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="idontwanttogetoffonarantherebut" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
        <title>mod_ssl attacking Subversion clients, demanding client certificates</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2012/1/mod_ssl-attacking-Subversion-clients-demanding-client-certificates" />

        <id>http://blog.web20studios.com/2012/1/mod_ssl-attacking-Subversion-clients-demanding-client-certificates</id>

        <updated>2012-01-30T16:10:05Z</updated>
        <published>2012-01-30T16:10:05Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Over the weekend upgraded to Subversion 1.7.2, Apache 2.2.21 (which contains mod_ssl&amp;nbsp;2.2.21). &amp;nbsp;Everything worked great browsing the repository from a browser. &amp;nbsp;Problems started as soon as svn command line or TortoiseSVN were used. &amp;nbsp;Client Certificate prompts all over the place, sometimes cancelling worked, sometimes it caused the attempt to fail, general annoyance and stupidity across the board.
      <br /><div>Verified 100 times that "SSLVerifyClient none" was set, moved it to vhost and directory levels as well, no dice. &amp;nbsp;I could break browser access by setting it to require. &amp;nbsp;Nothing worked to config it away, so I put back the old 2.2.15 mod_ssl file and bam, everything works like a charm again. &amp;nbsp;It looks like there were some recent mod_ssl changes around optional at the server level prevented required at a lower level... it seems this went too far for some clients. &amp;nbsp;Since 2.2.21 has been in the wild for a long time I'm guessing this only impacts the SVN HTTP library, since browsers work fine, and that would have caused a whole lot of rioting on the internet if browsers broke from the change.</div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>You can have the Session but you have to know the secret knock</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2011/8/You-can-have-the-Session-but-you-have-to-know-the-secret-knock" />

        <id>http://blog.web20studios.com/2011/8/You-can-have-the-Session-but-you-have-to-know-the-secret-knock</id>

        <updated>2011-08-12T21:29:40Z</updated>
        <published>2011-08-12T21:29:40Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Was very perplexed by this issue, context was fine, but context.Session was null, until finding <a href="http://stackoverflow.com/questions/1058568/asp-net-how-to-access-session-from-handler/1058598#1058598">this StackOverflow post</a>.<br /><div>One better though if you don't need to write context.Session is to implement: System.Web.SessionState.IReadOnlySessionState instead, which is probably somehow cheaper.</div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>At least they support options</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2011/6/At-least-they-support-options" />

        <id>http://blog.web20studios.com/2011/6/At-least-they-support-options</id>

        <updated>2011-06-02T12:02:12Z</updated>
        <published>2011-06-02T12:00:49Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <div>"... will offer a choice of database services, including MySQL and the NoSQL system MongoDB. It also will offer MongoDB and Redis open source systems..."&amp;nbsp;from Information Week's print article "VMWare Platform Takes It Deeper Into Cloud."</div><br /><div>At least they have fixed it in the <span><a href="http://www.informationweek.com/news/cloud-computing/platform/229401383">online version</a></span>, though it's published under a different title. It's always funny to me that they can be so wrong technically while being so wrong editorially as well.<br /></div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>Troubleshooting slow ASP pages</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2011/3/Troubleshooting-slow-ASP-pages" />

        <id>http://blog.web20studios.com/2011/3/Troubleshooting-slow-ASP-pages</id>

        <updated>2011-03-18T21:50:28Z</updated>
        <published>2011-03-18T21:34:14Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Since I've always wondered about this and never bothered to figure it out before....<div>In IIS 6 logs, the timetaken value represents the <strong>entire</strong>&amp;nbsp;time that IIS was touching the request. This at the very least includes time after IIS got the request, but is waiting to hand it off to ASP/ASP.Net for processing. It may also include time spend sending the bytes back to the client, but I don't have big enough data or slow enough networks to really answer that question well.
   <br /><br /><div>This does make a certain amount of sense. It's an web server log, not a web framework log, but it makes trying to troubleshoot "slow" pages really, really hard. We can't run multiple workers because it breaks classic ASP Session. &amp;nbsp;So everything just queues up every time there's a long running request. &amp;nbsp;So given a page with a large timetaken in the log, did that page really run for a long time? Or was it sitting on a queue waiting on another page that was running slowly? &amp;nbsp;Sure the first page in order that was slow is prob. the root cause of all the following slowness, but how does one determine that root page?</div></div><br /><div>What would be ideal would be separate timequeued, timeprocessing, timenetwork type columns... maybe those exist in IIS 7.... of course that would require getting our classic ASP certified for Windows 2008.</div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>Dear Information Week please just let me go</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2011/3/Dear-InformationWeek-please-just-let-me-go" />

        <id>http://blog.web20studios.com/2011/3/Dear-InformationWeek-please-just-let-me-go</id>

        <updated>2012-01-24T20:57:37Z</updated>
        <published>2011-03-15T01:14:26Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Since cancelling my free subscription Information Week can no longer afford to fact check... oh wait, <a href="http://blog.web20studios.com/2009/5/Information-Week-needs-to-fact-check-instead-of-cashing-their-Intel-checks">they never did that before either</a>. Their latest flub that jumped off<span> <a href="http://www.informationweek.com/cloud-computing/article/showArticle.jhtml?articleID=229205500">the page</a></span> at me "...Java's JSON-based..." wait, what? Java's JSON? Pretty sure that's not the case and a 2 second Google confirms, "JSON&amp;nbsp;(JavaScript Object Notation) is a lightweight data-interchange format..."&amp;nbsp;wow,&amp;nbsp;<a href="http://json.org">that was hard</a>.&amp;nbsp;Of course it's not the&amp;nbsp;<span><a href="http://blog.web20studios.com/2009/5/Information-Week-needs-to-fact-check-instead-of-cashing-their-Intel-checks">first time</a></span>, and I'm sure it won't be the last.<div><br /><div><div>I've ignored the renewal emails, for months, but the quality of reporting is so low, it doesn't really shock me that they can't manage to end my subscription either. I guess correctness doesn't matter nearly as much as number of eyes on the page when you're pitching to management types.</div><br /><div>And just to get out ahead of Information Week's next mis-statement, "The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language." So, no, Information Week <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript has nothing to do with Java</a>. Let me know when I can expect my Researcher check in the mail.</div></div></div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>SQL Server object_name still takes int value for object_id</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2010/7/SQL-Server-object_name-still-takes-int-value-for-object_id" />

        <id>http://blog.web20studios.com/2010/7/SQL-Server-object_name-still-takes-int-value-for-object_id</id>

        <updated>2010-07-15T19:40:23Z</updated>
        <published>2010-07-15T19:24:45Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                If you're using the, not so new anymore, DMVs and pulling any bigints like resource_associated_entity_id you'll get an&amp;nbsp;arithmetic&amp;nbsp;overflow if you try to pass this value to object_name, because the object_id param to the function is still defined as int even in SQL Server 2008.<div><br /><div>For example if you're looking at sys.dm_tran_locks to see what locks can't be granted during a block you need to only pass the&amp;nbsp;resource_associated_entity_id&amp;nbsp;if the resource_type is OBJECT otherwise pass NULL to get NULL back. &amp;nbsp;</div><div><br /><div>Granted looking up the object_name of a PAGE or KEY wouldn't give back anything useful, but it would be nice if it didn't blow up the query.</div></div></div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>Tricky SQL XML support for binary values</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2010/7/Tricky-SQL-XML-support-for-binary-values" />

        <id>http://blog.web20studios.com/2010/7/Tricky-SQL-XML-support-for-binary-values</id>

        <updated>2010-07-02T13:34:11Z</updated>
        <published>2010-07-02T13:33:23Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                In setting up "Event" based block notifications for SQL 2005/2008 I had to get the binary SQL handle out of the XML provided by the event. &amp;nbsp;This of course seems rather simple, except you can't just supply varbinary(64) as the type to @xml.value because that would too easy for an MS product. &amp;nbsp;Trying this gives you back NULL instead of your binary value.
   <br /><div>As <a href="http://blogs.msdn.com/b/sqltips/archive/2008/07/02/converting-from-hex-string-to-varbinary-and-vice-versa.aspx">this page</a> tells you, you need to use an&amp;nbsp;XQuery conversion, xs:hexBinary, to do instead. &amp;nbsp;But wait, you're not off the hook yet, because xs:hexBinary doesn't understand 0x delimited binary, and doesn't tell you that in any way shape or form. &amp;nbsp;Instead you get back your old buddy NULL. &amp;nbsp;And that's when you notice buried in the XQuery that it's actually chopping off the 0x if the value has it (even though the test value in the code doesn't).</div><br /><div>So the whole chunk you end up needing looks like this:</div><div><p /><pre name="code" class="python">Process.value( 'xs:hexBinary( substring((frame/@sqlhandle)[1],3))', 'varbinary(64)' )</pre><p /></div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>Empty User Names despite authenticating successfully</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2010/5/Empty-User-Names-despite-authenticating-successfully" />

        <id>http://blog.web20studios.com/2010/5/Empty-User-Names-despite-authenticating-successfully</id>

        <updated>2010-05-06T14:51:09Z</updated>
        <published>2010-05-06T14:50:43Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Had an issue today where System.Web.HttpContext.Current.User.Identity.Name was returning String.Empty even though I was prompted to authenticate against the server when hitting the web page. &amp;nbsp;After a few Googles I realized it was because the web.config was set to&amp;nbsp;&amp;lt;authentication mode="None"/&amp;gt;. &amp;nbsp;Changing it to "Windows" fixed the problem. &amp;nbsp;I've never understood what that web.config line did in the past, since Auth is done at the IIS level and ASP.NET shouldn't really care. &amp;nbsp;I guess now I know...
            </div>
        </content>
    </entry>
    
    <entry>
        <title>Telco analyst calls out the lying ISPs about bandwidth hogs</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2009/12/Telco-analyst-calls-out-the-lying-ISPs-about-bandwidth-hogs" />

        <id>http://blog.web20studios.com/2009/12/Telco-analyst-calls-out-the-lying-ISPs-about-bandwidth-hogs</id>

        <updated>2009-12-05T21:39:24Z</updated>
        <published>2009-12-05T21:30:29Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a>Benoit Felten, an Telco analyst Yankee Group, calls out ISPs for claiming to suffer the effects of users who hog their precious bandwidth</a>. &amp;nbsp;He points out that no ISP has ever justified the existence of this class of users, nor have they ever released data about the usage of these hogs nor any other subset of their user population. &amp;nbsp;Yet Time Warner Cable, amongst others, uses the "existence" of these users to justify arbitrary, and I would claim&amp;nbsp;exceedingly low, bandwidth caps after which they gouge users with additional fees. &amp;nbsp;It's nice to see someone close to the industry finally saying what a lot of us on the outside have been thinking and trying to shed light on for a long time.<a href="http://www.fiberevolution.com/2009/12/whats-a-bandwidth-hog-.html" /><br /><div>He also lays down a&amp;nbsp;gauntlet&amp;nbsp;in front of the ISPs challenging them to provide him with usage data that he could analyse to understand their assertions a small number of aggressive users have such a large impact on the experience of the many. &amp;nbsp;So he's not just throwing stones, he's asking the ISPs to provide real, raw, hard data to back up their assertions via independent analysis.</div>
            </div>
        </content>
    </entry>
    
    <entry>
        <title>App Engine and Bloog not getting along</title>
        <link rel="alternate" type="text/html" href="http://blog.web20studios.com/2009/12/App-Engine-and-Bloog-not-getting-along" />

        <id>http://blog.web20studios.com/2009/12/App-Engine-and-Bloog-not-getting-along</id>

        <updated>2009-12-04T13:48:42Z</updated>
        <published>2009-12-03T22:43:27Z</published>

        <author>
            <name>Matt Dragon</name>
            <uri>http://blog.web20studios.com</uri>
        </author>

        <content type="xhtml" xml:lang="en" xml:base="http://blog.web20studios.com">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So I noticed that the home page wasn't loading, and <a href="http://groups.google.com/group/google-appengine-python/browse_thread/thread/17f06012d982afc5/8f3bcd56a4a3e476?lnk=gst&amp;q=bloog#8f3bcd56a4a3e476">apparently a few others noticed too</a> that something in the new version that Google has started pushing to it's servers breaks Bloog. &amp;nbsp;I <a href="http://github.com/mdragon/bloog/commit/050f333cfa4f6ea180d78f8dd6995eeca1633071">pushed my fix to github</a>, which disables the Tag list on the hope page for the time being till the issue can be really fixed.<br /><div>Update: Long term fix committed in two commits to github: <a href="http://github.com/mdragon/bloog/commit/eb99d911bc9da32f35bf5e224b7cc923ce05f381">1</a>, <a href="http://github.com/mdragon/bloog/commit/78a33c48936ce5c4db0c7e454958d16ddd48fd69">2</a></div><div>I basically took the AppEngine code for the method that was causing the error, and pulled it into the Bloog code, changing as needed to get it to run there. &amp;nbsp;I can now load my homepage, edit posts (as this proves), etc.</div>
            </div>
        </content>
    </entry>
    

</feed>
