<?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>Some Brisbane Guy &#187; duh!</title>
	<atom:link href="http://kentwell.net/glenn/category/duh/feed/" rel="self" type="application/rss+xml" />
	<link>http://kentwell.net/glenn</link>
	<description>Or, 101 Ways to Improve Your Life. And that's ironclad!</description>
	<lastBuildDate>Thu, 15 Oct 2009 13:08:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Guam is Really Far Away&#8230;Or Is It?</title>
		<link>http://kentwell.net/glenn/2008/04/guam-is-really-far-away/</link>
		<comments>http://kentwell.net/glenn/2008/04/guam-is-really-far-away/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 15:39:11 +0000</pubDate>
		<dc:creator>the same clown</dc:creator>
				<category><![CDATA[duh!]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://kentwell.net/glenn/289</guid>
		<description><![CDATA[Part of being an Australian means you need to accept that sometimes, an expression or offhand turn of phrase you hear a lot won&#8217;t make much sense if you think about it logically. That&#8217;s mostly OK because in my experience, people use phrases and clichÃ©s they don&#8217;t understand without thinking twice; the phrase takes on [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://kentwell.net/gallery/main.php?g2_view=core.DownloadItem&#038;g2_itemId=2512&#038;g2_serialNumber=1" alt="Guam" /></p>
<p>Part of being an Australian means you need to accept that sometimes, an expression or offhand turn of phrase you hear a lot won&#8217;t make much sense if you think about it logically.  That&#8217;s mostly OK because in my experience, people use phrases and clichÃ©s they don&#8217;t understand without thinking twice; the phrase takes on almost the status of a single word and has a generally understood meaning &#8212; and sometimes that&#8217;s just&#8230;enough, you know?</p>
<p>Here would be a good place to give my statement some solid reinforcement with a few concrete examples of such, but it&#8217;s late at night and this blog is hardly a showpiece of academia so I&#8217;ll leave the filling of the aforementioned gaps as an exercise for the reader.  As you are a constituent of my readership I am certain that it is just to bestow upon you the qualities of resourcefulness, zeal for truth and thirst for knowledge so this burden will be of little imposition to you.  And you could <a href="http://google.com/search?q=misused+phrases+cliches">start here</a>.</p>
<p><img src="http://kentwell.net/gallery/main.php?g2_view=core.DownloadItem&#038;g2_itemId=2510&#038;g2_serialNumber=1" alt="Guam, Papua New Guinea and Australia" /></p>
<p>But, to carry on, the point of this post is to say that <a href="http://www.urbandictionary.com/define.php?term=guam">Guam</a> (see #5) is quite close to me really, being only a few thousand kilometres away and not tens of thousands, like, say, Greece or England.</p>
<p>So what? Well it gets crazy when a conversation goes something like the following:</p>
<blockquote><p><strong>Me:</strong> Hey, what&#8217;s up? [obviously imagine me looking way cool at this point]<br />
<strong>Other Person:</strong> Oh man I just went to a sporting event, it was neato.<br />
<strong>Me:</strong> Oh yeah?  Like, where was it?<br />
<strong>Other Person:</strong> Dude it was in like, Guam!  Took us an hour to get there.<br />
<strong>Me:</strong> Gee I sure am suitably impressed. Way to go, casual acquaintance!  See ya round hey.<br />
<strong>Other Person:</strong> Ace! See ya.
</p></blockquote>
<p>You can see where the possible confusion could arise where this conversation takes place between two residents of Australia. Guam is being used here as a token to exemplify an exaggeratedly far away location to place special emphasis on the sporting event&#8217;s location being very distant.  In a place such as the U.S.A. or the Isle of Mann this is fine and congruent with the speaker&#8217;s meaning, especially since Guam has indeed been a far-flung outpost of the United States since World War II with its U.S. military base bristling with weapons I imagine to be poised to cause the mass destruction of South East Asia.   </p>
<p>N.B. All of the above text is to justify the images contained within this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://kentwell.net/glenn/2008/04/guam-is-really-far-away/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Hide HTML Elements and How to Find Named SQL Server Instances With the SQL Server Browser Service</title>
		<link>http://kentwell.net/glenn/2007/10/283/</link>
		<comments>http://kentwell.net/glenn/2007/10/283/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 14:56:36 +0000</pubDate>
		<dc:creator>the same clown</dc:creator>
				<category><![CDATA[duh!]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[stuff i've learned]]></category>

		<guid isPermaLink="false">http://kentwell.net/glenn/283</guid>
		<description><![CDATA[I learned some stuff the other day at work that maybe should be obvious, but it wasn&#8217;t obvious to me and so what I&#8217;m going to do is start a new blog category named &#8220;Stuff I&#8217;ve Learned&#8221;. The two things in this post could probably also be filed in another category called &#8220;Duh&#8221; but I [...]]]></description>
			<content:encoded><![CDATA[<p>I learned some stuff the other day at work that maybe should be obvious, but it wasn&#8217;t obvious to me and so what I&#8217;m going to do is start a new blog category named &#8220;Stuff I&#8217;ve Learned&#8221;. The two things in this post could probably also be filed in another category called &#8220;Duh&#8221; but I haven&#8217;t decided yet if that is a good idea &#8212; maybe after writing this I will decide.</p>
<p><img src="http://www.cbtplanet.com/images/database-administrator.jpg" alt="database administrator" width="525" height="330"  style="border:solid 1px #000;" /><br clear="all" /></p>
<p>Well, what have I learned?  The first item was about HTML and CSS and really Javascript as well &#8212; you might call this &#8220;DHTML&#8221; but who am I to judge?  The second was about SQL Server and how a client (e.g. Query Analyzer or a website) resolves a named instance of a SQL Server.</p>
<ol>
<li>You can <em>hide</em> a <code>DIV</code> element using <code>visibility:hidden;</code> in CSS, and then <em>show</em> one of the child elements of the <code>DIV</code> using Javascript, without modifying the visibility of the <code>DIV</code>.  How about that!<br />
		I have <a id="p282" href="/glenn/wp-content/uploads/2007/10/20071002-learnedstuff-example.html" title="example of wacky DHTML stuff">a demo HTML page</a> that is similar to our real scenario, having two radio buttons and an image in an invisible <code>DIV</code>.  The <b>first</b> radio button makes the <code>DIV</code> visible, which, as you would expect, shows the image that is a child element of the <code>DIV</code>.  This is how I thought you would need to do things.  The <b>second</b> radio button in the example page shows <em>only the image</em>, without showing the parent <code>DIV</code> element &#8212; and it still works!  This was unexpected for me because surely an element shouldn&#8217;t be shown if it is inside another, invisible element?  This works in Internet Explorer 6 and Firefox 2 but I haven&#8217;t tried any other browsers.</li>
<li>We&#8217;ve been setup new SQL Servers at work and maybe to save IP addresses, or maybe to ease administration (DNS entries?  Server administration overhead?) load, we are using named SQL Server instances on a single hostname (e.g. BNESQL5000\SQL5000) where BNESQL5000 is the hostname and SQL5000 is the name of the SQL Server instance on the server.
<p>		Now the other afternoon, I could connect fine to the named instance using Query Analyzer, which I had running since that morning.  Another dude at work couldn&#8217;t connect using Enterprise Manager (ergh, clicking &#8212; I&#8217;ll do it with SQL cause I&#8217;m a Real Programmer).  Obviously I was connected and using the server, so it wasn&#8217;t a problem with the SQL Server instance itself &#8212; it was running fine.  So I ran <code>netstat</code> on my PC to see which TCP port I was connected to the SQL Server on.  It was port 50433 incidentally, so I said to my Enterprise Manager-using friend, &#8220;Try BNESQL5000,50433&#8243; as your SQL hostname, which sneakily connects directly to the named instance without using its name.  Well voila, my Enterprise Manager-using friend connected straight up and started hammering out database changes with his clicky mouse like a demon.</p>
<p>		You&#8217;re probably wondering, &#8220;Omg Glenn, tell me how this <a href="http://msdn2.microsoft.com/en-us/library/ms165724.aspx">named instance and TCP port magic</a> happens!&#8221; and that&#8217;s great because I am going to tell you.  The way it happens is that when you try to connect to a named SQL Server instance your client goes &#8220;uhh, the bit before the backslash is a hostname, duhhh, but there&#8217;s a backslash so, um, that&#8217;s the name of an instance innit?&#8221; and so it connects to port 1434 (standard SQL Server port of 1433, plus one) which is where the SQL Server Browser service is listening.  There, the client asks the question of &#8220;which port is named instance &#8216;SQL5000&#8242; listening on?&#8221; and the SQL Browser replies with port 50433.  So then the client goes &#8220;BOOYA!&#8221; and connects to port 50433 without any complaints or further ado.</p>
<p>		So obviously, the problem was that the SQL Browser service wasn&#8217;t running on our server, after it was rebooting or something silly. I smugly informed the DBAs what was going on and they fixed the problem in no time.  All was well.
	</li>
</ol>
<p>So here ends Lesson One of &#8220;Stuff I&#8217;ve Learned&#8221;, I hope it was informative and sufficiently brief! <img src='http://kentwell.net/glenn/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kentwell.net/glenn/2007/10/283/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

