<?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>dragon lab &#187; Tech</title>
	<atom:link href="http://lab.dragonbard.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.dragonbard.com</link>
	<description>draconic musings in cyberspace</description>
	<lastBuildDate>Thu, 02 Feb 2012 04:00:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Android blogging</title>
		<link>http://lab.dragonbard.com/2011/02/17/android-blogging/</link>
		<comments>http://lab.dragonbard.com/2011/02/17/android-blogging/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 23:37:48 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=214</guid>
		<description><![CDATA[I am testing out the wordpress app for android. So far so good. It seems to work quite well.]]></description>
			<content:encoded><![CDATA[<p>I am testing out the wordpress app for android. So far so good.</p>
<p>It seems to work quite well.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2011/02/17/android-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell and Law 4</title>
		<link>http://lab.dragonbard.com/2010/10/17/powershell-and-law-4/</link>
		<comments>http://lab.dragonbard.com/2010/10/17/powershell-and-law-4/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 01:58:28 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Cross-eyed and brainless]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=179</guid>
		<description><![CDATA[On the front page of this site you will find my laws of computing.  Law 4 states "Computers don’t do what you tell them to do.  They do what a programmer told them to do."  This is demonstrated quite clearly by some of my recent experiences with PowerShell.]]></description>
			<content:encoded><![CDATA[<p>On the front page of this site you will find my laws of computing.  Law 4 states &#8220;Computers don’t do what you tell them to do.  They do what a programmer told them to do.&#8221;  This is demonstrated quite clearly by some of my recent experiences with PowerShell.<span id="more-179"></span></p>
<p>I had need at work to script the creation of some directories with a rather complex permissions scheme.  This is something that when I did it manually would require about three hours to complete, as setting a bunch of complex <acronym title="NT File System">NTFS</acronym> permissions will make you go cross-eyed and brainless (with apologies to the Talking Heads).  PowerShell has Get-Acl and Set-Acl, but no Cmdlets for manipulating <acronym title="Discretionary Access Control Lists">DACLs</acronym> or creating new <acronym title="Access Control Entries">ACEs</acronym>.  No problem thought I, because PowerShell allows you to call into .NET classes, and I could use that to manipulate the DACLs returned by Get-Acl.</p>
<p>I started building a module to work with NTFS Permissions and ran into some odd problems.  Every time I manipulated the DACLs and attempted to pass them on through the pipeline by emitting them, the Path property became blank.  Yet the original DACL would retain the Path and all of my manipulations.  So I sent the original and my copy through Get-Member.  Hmm&#8230;  The path on the original is a PSProvider path, and it also contains a number of PowerShell NoteProperties.  The copy was missing the NoteProperties and the path was blank.  Yet, the .NET type listed by Get-Member for both the original and the copy were identical &#8211; curiouser and curiouser said Alice.</p>
<p>So, apparently the object returned by Get-Acl is not a pure .NET type, but has been modified with some additional properties so that it works better with PowerShell.  This makes sense when you think about it, as PowerShell was built on .NET 2.0 after .NET has shipped; so the native .NET classes have no way of knowing what is occurring within PowerShell.  It makes sense, but it isn&#8217;t documented (at least that I could find) that Get-Acl adds these NoteProperties to the returned .NET object.  So PowerShell was doing exactly what it had been programmed to do, and .NET was doing exactly what is was programmed to do.  And my script was lost in the middle.</p>
<p>Perhaps there is a way to get a copy of the original object intact with the NoteProperties and my changes.  I haven&#8217;t found it.  But for now I am happy that Set-Acl accepts a -Path parameter if the passed in DACL is missing one, which of course mine were.  So now my three hours of coma-inducing work occurs nearly instantly once I press enter.  Now the longest part of the operation is verifying that I haven&#8217;t mistyped the user IDs that need access to the special directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2010/10/17/powershell-and-law-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PC-BSD and WEP</title>
		<link>http://lab.dragonbard.com/2010/02/01/pc-bsd-and-wep/</link>
		<comments>http://lab.dragonbard.com/2010/02/01/pc-bsd-and-wep/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 06:05:10 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[BSD]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=164</guid>
		<description><![CDATA[So, I&#8217;ve been playing with PC-BSD on my Acer Aspire One 532h, and I was having problems with WiFi.  Turns out that my use of WEP with a shared key instead of open causes many problems with the automatic setup of wireless by various operating systems, Windows Vista and 7 included.  Turns out the answer [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been playing with <a title="PC-BSD" href="http://www.pcbsd.org/" target="_blank">PC-BSD</a> on my Acer Aspire One 532h, and I was having problems with WiFi.  Turns out that my use of WEP with a shared key instead of open causes many problems with the automatic setup of wireless by various operating systems, Windows Vista and 7 included.  Turns out the answer is to manually configure it for all the operating systems</p>
<p>For PC-BSD I had to remove the lagg0 interface and manually configure the wlan0 interface for direct connect rather than using wpa_supplicant.</p>
<p>And yes, I am posting this from PC-BSD.</p>
<p>The magic lines in rc.conf</p>
<p>wlans_ath0=&#8221;wlan0&#8243;<br />
ifconfig_wlan0=&#8221;ssid &lt;yourSSID&gt; wepmode on authmode SHARED deftxkey 1 wepkey 1:0x&lt;yourkey&gt; up DHCP&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2010/02/01/pc-bsd-and-wep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate Productivity Booster</title>
		<link>http://lab.dragonbard.com/2009/01/07/ultimate-productivity-booster/</link>
		<comments>http://lab.dragonbard.com/2009/01/07/ultimate-productivity-booster/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 02:49:22 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=81</guid>
		<description><![CDATA[Shut off email.  No seriously.  Shut off email. I&#8217;ve been trying to get backups reconfigured at work for months now.  Everytime I try to work on it, something else comes up.  So today I put up a &#8220;Do Not Disturb&#8221; sign, and ignored my email.  I actually got real work done for the first time [...]]]></description>
			<content:encoded><![CDATA[<p>Shut off email.  No seriously.  Shut off email.</p>
<p>I&#8217;ve been trying to get backups reconfigured at work for months now.  Everytime I try to work on it, something else comes up.  So today I put up a &#8220;Do Not Disturb&#8221; sign, and ignored my email.  I actually got real work done for the first time in about a month.  My day usually consists of one constant interuption after another and &#8220;please, will you do this little thing&#8221; which &#8220;little thing&#8221; invariably takes over the rest of the day preventing me from finishing the work I really need to do.</p>
<p>After getting backups where I wanted them, I checked my email and realized none of it was very critical, though everybody thought they had a really really important thing that had to be done right away.  I think I am going to keep the &#8220;Do Not Disturb&#8221; sign, and next time shut off the phone as well as email.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2009/01/07/ultimate-productivity-booster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laptops and Dentistry</title>
		<link>http://lab.dragonbard.com/2009/01/05/laptops-and-dentistry/</link>
		<comments>http://lab.dragonbard.com/2009/01/05/laptops-and-dentistry/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 02:01:30 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[health]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=75</guid>
		<description><![CDATA[So last night I was looking through the Sunday Paper fliers, and found that Circuit City was running a sale on the laptop I had just bought.  The new price is what I actually wanted to pay in the first place, instead of what I ended up paying.  So I checked their website and they [...]]]></description>
			<content:encoded><![CDATA[<p>So last night I was looking through the Sunday Paper fliers, and found that Circuit City was running a sale on the laptop I had just bought.  The new price is what I actually wanted to pay in the first place, instead of what I ended up paying.  So I checked their website and they have a 30 day price guarantee.  Yippee!</p>
<p>So what does this have to do with dentistry? Well, I had the first half of a deep teeth cleaning done this morning.  Not lots of fun, and they numb up one side of your mouth/face.  It took about an hour and a half for the cleaning.  I listened to music on my Zune so I wasn&#8217;t totally bored (an idea I got from <a href="http://nomadness.com/blog/2008/12/route-through-canal.html" target="_blank">Steve Roberts</a>).  After the cleaning I headed over to Circuit City, and with half a numb face requested the price guarantee.  Which they gave me.</p>
<p>After I got my refund I headed out into the mall and joined up with my family for the end of their walk with the grandparents.  Then we did a bit of shopping and we came home.  I decided to play with the websites a bit, and sometime while trying to figure out <a href="http://www.joomla.org">Joomla</a> to get a start on the <a href="http://geocon.dragonbard.com">GeoCon</a> site, I could feel my face again.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2009/01/05/laptops-and-dentistry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centro test</title>
		<link>http://lab.dragonbard.com/2008/12/23/centro-test/</link>
		<comments>http://lab.dragonbard.com/2008/12/23/centro-test/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 06:01:14 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/2008/12/23/19/</guid>
		<description><![CDATA[This is a test post from my centro.]]></description>
			<content:encoded><![CDATA[<p>This is a test post from my centro.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2008/12/23/centro-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The death of a laptop</title>
		<link>http://lab.dragonbard.com/2008/12/23/the-death-of-a-laptop/</link>
		<comments>http://lab.dragonbard.com/2008/12/23/the-death-of-a-laptop/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 00:24:39 +0000</pubDate>
		<dc:creator>dragonbard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://lab.dragonbard.com/?p=17</guid>
		<description><![CDATA[My laptop died.  Bought a new one.  Vista Drivers suck. (Vista itself is okay.)]]></description>
			<content:encoded><![CDATA[<p>It appears that my old laptop is dead.  I was working on the site when our dog brushed past me and a charge of static zapped through my hand into the laptops headphone port.  A half hour later the laptop blue screened.  I finally got it running again for a half hour before is blue screened again.  Now it will only run about five minutes before dying.</p>
<p>Needless to say I was not happy.  So I went out and bought a very nice new HP laptop.  AMD with ATI graphics and Vista 64bit.  Three hours I tried to get it on the wireless network.  Just when I was about to give up, I tried entering all the connection data manually one more time.  And it worked.  Annoying.  The automatic process insisted the router was not talking to me at all.  Apparently some change with Vista makes the automatic association process break with some &#8220;older&#8221; routers.  Mine is only about a year and half old.  Tried the latest firmware updates, tried everything I knew.  Then it just worked.  These driver stupidity issues is why people hate Vista.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.dragonbard.com/2008/12/23/the-death-of-a-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

