<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Experimental Playground - Randomness</title>
			<link>http://www.experimental-playground.com/index.cfm</link>
			<description></description>
			<language>en-us</language>
			<pubDate>Tue, 07 Sep 2010 00:50:50 -0400</pubDate>
			<lastBuildDate>Mon, 23 Aug 2010 13:44:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>admin@experimental-playground.com</managingEditor>
			<webMaster>admin@experimental-playground.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>admin@experimental-playground.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>we&apos;re back!</title>
				<link>http://www.experimental-playground.com/index.cfm/2010/8/23/were-back</link>
				<description>
				
				Replacement parts have been installed and we are back. I apologize for the outage and the issues with the Workshop that it caused. I&apos;ve had the new patch ready to go since the day of the failure but I&apos;m going to plan to release it tomorrow after I&apos;ve reworked the auto-update system of the Workshop so in the case that an outage like this happens again (I know it won&apos;t as I&apos;m knocking on thinly veneered wood) the Workshop will remain operational. 
				</description>
				
				<category>Randomness</category>
				
				<category>Character Builder</category>
				
				<pubDate>Mon, 23 Aug 2010 13:44:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2010/8/23/were-back</guid>
				
				
			</item>
			
			<item>
				<title>SQL - The package path referenced an object that cannot be found</title>
				<link>http://www.experimental-playground.com/index.cfm/2010/7/12/SQL--The-package-path-referenced-an-object-that-cannot-be-found</link>
				<description>
				
				What do you do when you see this error in SQL Server 2005?

Look further down the error message and you may notice something like this...
&lt;strong&gt;&quot;Could not set \Package\Job.Disable value to false&quot;&lt;/strong&gt;

This is usually caused by the dynamic linked library (dll) dts.dll becoming unregistered. Whether due to an in-place upgrade or service pack install, even some hot fixes may cause this. Never fear though - crack open a DOS prompt or Start-&gt;Run and issue the following command

&lt;strong&gt;regsvr32 dts.dll&lt;/strong&gt;

You should receive a message from the OS stating that the dll was successfully registered. Try to run your job again and you should find that it runs this time. 
				</description>
				
				<category>Randomness</category>
				
				<category>SQL</category>
				
				<pubDate>Mon, 12 Jul 2010 19:33:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2010/7/12/SQL--The-package-path-referenced-an-object-that-cannot-be-found</guid>
				
				
			</item>
			
			<item>
				<title>Terabase!</title>
				<link>http://www.experimental-playground.com/index.cfm/2010/5/20/Terabase</link>
				<description>
				
				Ok, so maybe I&apos;m obsessing a bit but I just couldn&apos;t help myself. I have created a... 1TB (yes that&apos;s terabyte) database on my home PC. Not only is the database itself 1TB but there is also a 500GB log file and 500GB tempdb (all pre-grown) to total 2TB of database goodness.

Now, why the madness you ask?

If you read the two previous posts, those probably have something to do with it. You see my web server ran out of space trying to do this little exercise so I had to change venue. To date I have generated permutations of strings from 1 to 6 characters in length to total a a staggering 

&lt;strong&gt;2,238,976,116&lt;/strong&gt; rows of data. (yes that&apos;s billion with a B)

How long does a query take to execute? Oh, just a few milliseconds. The first query against the data took about 23 seconds, not bad considering this is on what is classified as a &quot;home PC&quot; sporting a quad core 2.8GHz processor with 8GB of RAM and a 7TB RAID 5 on 6 disks. After the query plan is cached, it takes merely the blink of an eye to return a word from the dictionary.

To populate this table took an ever increasing amount of time. The first strings of length 1 to 4 took from only a blink to just under 30 seconds. 5 characters took just over 9 minutes with 6 characters pushing 13 hours. 

What&apos;s next? Why 7 character strings of course, that will put this at over 70 billion rows and pushing 600GB of data space. 
				</description>
				
				<category>Randomness</category>
				
				<category>SQL</category>
				
				<pubDate>Thu, 20 May 2010 01:07:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2010/5/20/Terabase</guid>
				
				
			</item>
			
			<item>
				<title>Dictionaries Continued...</title>
				<link>http://www.experimental-playground.com/index.cfm/2010/5/15/Dictionarys-Continued</link>
				<description>
				
				One word of caution, if you decide to actually generate a dictionary, you will need &lt;strong&gt;loads&lt;/strong&gt; of disk space. Let&apos;s do some math!

In order to calculate the number of permutations you need the follow information:

&lt;ol&gt;
&lt;li&gt;How large is your base set (alphabet in our case) for this example that I&apos;ve laid out that number would be 36, 26 letters and 10 numbers&lt;/li&gt;
&lt;li&gt;How long is the string you are constructing?&lt;/li&gt;
&lt;/ol&gt;

Knowing this information, we can plug this into the formula &lt;strong&gt;n&lt;sup&gt;r&lt;/sup&gt;&lt;/strong&gt; where n = base set size and r = length of string to construct. You can see how this can get out of control quite quickly :)

Here is a list containing the number of permutations for a given string length from 1 to 10

&lt;ol&gt;
&lt;li&gt;36&lt;/li&gt;
&lt;li&gt;1296&lt;/li&gt;
&lt;li&gt;46656&lt;/li&gt;
&lt;li&gt;1679616&lt;/li&gt;
&lt;li&gt;60466176&lt;/li&gt;
&lt;li&gt;2176782336&lt;/li&gt;
&lt;li&gt;78364164096&lt;/li&gt;
&lt;li&gt;2821109907456&lt;/li&gt;
&lt;li&gt;101559956668416&lt;/li&gt;
&lt;li&gt;3.65615844006298e+15 (big damn number)&lt;/li&gt;
&lt;/ol&gt;

Let&apos;s take this a step further. If we are going to store the permutations we need to know how much disk space we&apos;re going to need. In order to get a rough estimate let&apos;s assume we are going to store this as non-unicode data so 1 byte per character. That would give a result of 548,549,148,672 bytes (548 GB) to store all of the permutations of a 7 character string! How much for 10 you say? 

3.65615844006298e+15 * 10 = 3.65615844006298e+16 bytes so that gives us 36.5 Petabytes :) 

This brings us to the question, how long of a password is good enough to escape most brute force attacks? It depends on who your attacker is, but if you look at the data it would take quite awhile to produce let alone process a list of passwords longer than 6 characters. Keep in mind however that most dictionaries are just that, dictionaries containing all words in a given language so don&apos;t choose something that&apos;s in one! ever! and you might just be ok, then again...maybe not :) 
				</description>
				
				<category>Randomness</category>
				
				<category>SQL</category>
				
				<pubDate>Sat, 15 May 2010 13:51:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2010/5/15/Dictionarys-Continued</guid>
				
				
			</item>
			
			<item>
				<title>Pages are once again working</title>
				<link>http://www.experimental-playground.com/index.cfm/2010/1/25/Pages-are-once-again-working</link>
				<description>
				
				There was a problem during the upgrade of the site software that was causing the pages (Downloads, About, etc...) not to display. This has been corrected. 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Mon, 25 Jan 2010 19:56:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2010/1/25/Pages-are-once-again-working</guid>
				
				
			</item>
			
			<item>
				<title>Woot! New HTPC</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/12/27/Woot-New-HTPC</link>
				<description>
				
				More, and clearer pictures to come, along with details on hardware and such :)

&lt;img src=&quot;http://www.experimental-playground.com/images/htpc_01.jpg&quot; height=&quot;160&quot; /&gt;

&lt;img src=&quot;http://www.experimental-playground.com/images/htpc_02.jpg&quot; height=&quot;160&quot; /&gt;

&lt;img src=&quot;http://www.experimental-playground.com/images/htpc_03.jpg&quot; height=&quot;160&quot; /&gt;

and it plays DAoC @ 1600x1200 with all the settings cranked up, no lag. but its real purpose is blu-ray decoding :) 
				</description>
				
				<category>DAoC</category>
				
				<category>Randomness</category>
				
				<pubDate>Sun, 27 Dec 2009 20:06:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/12/27/Woot-New-HTPC</guid>
				
				
			</item>
			
			<item>
				<title>lolsql...yes indeed</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/12/3/lolsqlyes-indeed</link>
				<description>
				
				excerpt from the site...

&lt;code&gt;
HAI!
I&apos;M IN UR `table`
PLZ MAKES `column` LIEKS `value`
I CAN HAZ `column` NO WAI LIEK `value`
KTHNXBYE
&lt;/code&gt;

&lt;a href=&quot;http://www.aaronbassett.com/2009/i-can-haz-lolsql/&quot;&gt;http://www.aaronbassett.com/2009/i-can-haz-lolsql/&lt;/a&gt;

there&apos;s even a parser...yeah, wow...

&lt;a href=&quot;http://github.com/jnthn/lolsql/blob/master/icanhazsql.p6&quot;&gt;http://github.com/jnthn/lolsql/blob/master/icanhazsql.p6&lt;/a&gt; 
				</description>
				
				<category>Randomness</category>
				
				<category>SQL</category>
				
				<pubDate>Thu, 03 Dec 2009 15:43:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/12/3/lolsqlyes-indeed</guid>
				
				
			</item>
			
			<item>
				<title>Links are working...my bad</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/12/Links-are-workingmy-bad</link>
				<description>
				
				OK! 

The blog is working as it should, navigation, comments, etc...

Turned out to be a problem with a BlogCFC setting all along (who0ps) :) 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Mon, 12 Oct 2009 22:27:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/12/Links-are-workingmy-bad</guid>
				
				
			</item>
			
			<item>
				<title>Another Disk Failure</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/10/Another-Disk-Failure</link>
				<description>
				
				I swear, you give me a hard drive that promises to be reliable and stable and it&apos;ll croak faster than a (fill in your choice of colorful euphemism here)

Time to break out the cold pads and crank down the freezer...again. This time for a western digital passport drive. Apparently it liked where it was and didn&apos;t appreciate being moved. 
				</description>
				
				<category>Data Recovery</category>
				
				<category>Randomness</category>
				
				<pubDate>Sat, 10 Oct 2009 21:14:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/10/Another-Disk-Failure</guid>
				
				
			</item>
			
			<item>
				<title>Site Migrated...</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/10/Site-Migrated</link>
				<description>
				
				Accidentally ahead of schedule...What I mean is, yeah...I meant to do that. Now to get rid of that ugly orange theme.

and...what gives with the links not working! grrr

oh, and Lyla too...damn you!

why can&apos;t things just work when you want them to? 
				</description>
				
				<category>Randomness</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Sat, 10 Oct 2009 02:20:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/10/Site-Migrated</guid>
				
				
			</item>
			
			<item>
				<title>Wordpress to BlogCFC ( wp2blogcfc )</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/9/wordpress-to-blogcfc-wp2blogcfc</link>
				<description>
				
				The Wordpress to BlogCFC migration tool has been submitted and approved on RIAForge, project files were just uploaded this morning. 

I&apos;ll be migrating the Playground to BlogCFC just as soon as I find a suitable skin for it, and figure out why the hell the SEF URLs are not working. 

&lt;a href=&quot;http://wp2blogcfc.riaforge.org/index.cfm&quot;&gt;http://wp2blogcfc.riaforge.org/index.cfm&lt;/a&gt; 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Fri, 09 Oct 2009 02:00:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/9/wordpress-to-blogcfc-wp2blogcfc</guid>
				
				
			</item>
			
			<item>
				<title>Wordpress to BlogCFC Migration</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/7/wordpress-to-blogcfc-migration</link>
				<description>
				
				My migration tool is nearly complete. So far it successfully imports:

Users
Pages
Categories
Blog Entries

and creates the appropriate Entry-Category relationships. 

it ended up being MUCH easier than I had originally anticipated, I&apos;ll have code posted soon along with a possible submission to RIAForge 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Wed, 07 Oct 2009 02:00:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/7/wordpress-to-blogcfc-migration</guid>
				
				
			</item>
			
			<item>
				<title>Wordpress2BlogCFC</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/10/4/wordpress2blogcfc</link>
				<description>
				
				I&apos;m currently working on a migrator for BlogCFC that will pull data from Wordpress into BlogCFC goodness. This will work for the current version of Wordpress 2.8.4 and BlogCFC 5.9.4 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Sun, 04 Oct 2009 02:00:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/10/4/wordpress2blogcfc</guid>
				
				
			</item>
			
			<item>
				<title>Coldfusion j2eeSessionScopeStub cannot cast...</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/9/30/coldfusion-j2eesessionscopestub-cannot-cast</link>
				<description>
				
				While working on a customer solution, we ran into an interesting error.

&lt;code&gt;
Error casting an object of type coldfusion.runtime.J2eeSessionScopeStub cannot be cast to coldfusion.runtime.J2eeSessionScopeStub to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a different way than it was designed. 
coldfusion.runtime.J2eeSessionScopeStub cannot be cast to coldfusion.runtime.J2eeSessionScopeStub 
&lt;/code&gt;

This problem occurred on a load balanced server pair running Coldfusion 8.01 with Cumulative Hotfix 3. Each server is running a separate instance which is then clustered. From what I&apos;ve been able to gather from others in the community is that uninstalling the hot fix alleviates the problem, however in this case the hotfix is &lt;strong&gt;required&lt;/strong&gt; for the successful operation of the customer&apos;s site. Luckily, the site did not need the session scope and I shut off J2EE sessions as well as session replication.

I eagerly await a fix from Adobe on this, if there&apos;s anyone else in the community that has run across this problem and have successfully mitigated it, I invite you to share your solutions.



				</description>
				
				<category>Randomness</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Wed, 30 Sep 2009 02:00:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/9/30/coldfusion-j2eesessionscopestub-cannot-cast</guid>
				
				
			</item>
			
			<item>
				<title>New Server!</title>
				<link>http://www.experimental-playground.com/index.cfm/2009/9/18/new-server</link>
				<description>
				
				We&apos;re up and running on our own server, let the madness begin! 
				</description>
				
				<category>Randomness</category>
				
				<pubDate>Fri, 18 Sep 2009 02:00:00 -0400</pubDate>
				<guid>http://www.experimental-playground.com/index.cfm/2009/9/18/new-server</guid>
				
				
			</item>
			</channel></rss>