<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>StumbleUpon | jspegele's blog posts</title>
<link>http://jspegele.stumbleupon.com/</link>
<description>jspegele's recent blog posts on StumbleUpon</description>
<language>en-us</language>
<pubDate>Tue, 10 Nov 2009 23:19:51 -0800</pubDate>
<lastBuildDate>Tue, 10 Nov 2009 19:53:20 -0800</lastBuildDate>
<admin:generatorAgent rdf:resource="http://www.stumbleupon.com/" />
<atom:link href="http://rss.stumbleupon.com/user/jspegele/blog" rel="self" type="application/rss+xml" />
<image>
	<title>StumbleUpon | jspegele's blog posts</title>
	<link>http://jspegele.stumbleupon.com/</link>
	<url>http://cdn.stumble-upon.com/images/logo_su_36x36.png</url>
</image>
<item>
	<pubDate>Wed, 18 Jun 2008 19:14:37 -0700</pubDate>
	<title><![CDATA[http://jspegele.stumbleupon.com/review/22620493/]]></title>
	<link>http://jspegele.stumbleupon.com/review/22620493/</link>
	<guid isPermaLink="true">http://jspegele.stumbleupon.com/review/22620493/</guid>
	<description><![CDATA[
		<p>It's been way too long since I've updated the site, and I wouldn't exactly say I'm coming back with a bang, but I've got a nice little function that I thought many of you could use. My latest project has a file share built in where users can store up to 100MB of files right in the web app. Very often, a user doesn't want to take the time to think up a name for the share; especially one that will only be around for one or two uses. To make their lives just that much easier, I built a function to generate a random string of characters, then check to see if that string is already in use. If it is, I simply run through the loop a second time, generating a new random string. That may not sound like the most efficient way of doing it, but being that there's over 250,000,000 10-character permutations of the 36 letters and numbers (and my site is just not that popular), I don't expect to run through that loop too many times.<br />
<br /> <a href="http://www.stumbleupon.com/to//www.spegele.com/post.php?post_id=101/t:4afa6597bcc31;src:syndicate" rel="nofollow" target="_new">http://www.spegele.com/post.php?post_id=101</a> </p>
		<div>
			<a href="http://jspegele.stumbleupon.com/review/22620493/" alt="http://jspegele.stumbleupon.com/review/22620493/"><img title="http://jspegele.stumbleupon.com/review/22620493/" src="http://cdn.stumble-upon.com/images/nomthumb.png" border="0" /></a>
		</div>
	]]></description>
	<comments>http://jspegele.stumbleupon.com/review/22620493/</comments>
</item>
</channel>
</rss>
