<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>jadecell.org:~$ ./blogStart.sh &#187; Programming</title>
	<atom:link href="http://blog.jadecell.org/wp/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jadecell.org/wp</link>
	<description>Experiences in *nix &#038; Tech</description>
	<lastBuildDate>Wed, 19 May 2010 00:01:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>Copyright &#xA9; 2010 jadecell.org:~$ ./blogStart.sh </copyright>
		<managingEditor>admin@blog.jadecell.org ()</managingEditor>
		<webMaster>admin@blog.jadecell.org ()</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Experiences in *nix  Tech</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>admin@blog.jadecell.org</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://blog.jadecell.org/wp/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://blog.jadecell.org/wp/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>jadecell.org:~$ ./blogStart.sh</title>
			<link>http://blog.jadecell.org/wp</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Netflix Prize Sequel Cancelled! (I despise when the law gets in the way of Innovation)</title>
		<link>http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/</link>
		<comments>http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 08:11:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/</guid>
		<description><![CDATA[

via blog.netflix.com
Friday, March 12, 2010


  
  Netflix Prize Update  

  This is Neil Hunt, Chief Product Officer for Netflix.
About five months ago we announced that Netflix would sponsor a sequel to the Netflix Prize.  We&#8217;ve given a lot thought to how to sponsor a contest that discovers more about the [...]]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<div class="posterous_bookmarklet_entry">
<div class="posterous_quote_citation">via <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cubmV0ZmxpeC5jb20vMjAxMC8wMy90aGlzLWlzLW5laWwtaHVudC1jaGllZi1wcm9kdWN0LW9mZmljZXIuaHRtbA==">blog.netflix.com</a></div>
<h2 class="date-header"><span>Friday, March 12, 2010</span></h2>
<div class="date-posts">
<div class="post-outer">
<div class="post hentry">  <a name="5020486099516128154"></a><br />
<h3 class="post-title entry-title">  <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cubmV0ZmxpeC5jb20vMjAxMC8wMy90aGlzLWlzLW5laWwtaHVudC1jaGllZi1wcm9kdWN0LW9mZmljZXIuaHRtbA==">Netflix Prize Update</a>  </h3>
</p>
<div class="post-body entry-content">  This is Neil Hunt, Chief Product Officer for Netflix.
<p>About five months ago we announced that Netflix would sponsor a sequel to the Netflix Prize.  We&#8217;ve given a lot thought to how to sponsor a contest that discovers more about the predictability of Netflix members&#8217; movie watching behavior while always ensuring we protect Netflix members&#8217; privacy.</p>
<p>In the past few months, the Federal Trade Commission (FTC) asked us how a Netflix Prize sequel might affect Netflix members&#8217; privacy, and a lawsuit was filed by KamberLaw LLC pertaining to the sequel.  With both the FTC and the plaintiffs&#8217; lawyers, we&#8217;ve had very productive discussions centered on our commitment to protecting our members&#8217; privacy.</p>
<p>We have reached an understanding with the FTC and have settled the lawsuit with plaintiffs.  The resolution to both matters involves certain parameters for how we use Netflix data in any future research programs.</p>
<p>In light of all this, we have decided to not pursue the Netflix Prize sequel that we announced on August 6, 2009.</p>
<p>We will continue to explore ways to collaborate with the research community and improve our recommendations system so we can constantly improve the movie recommendations we make for you.  So stay tuned.  </p>
</p>
</div>
<div class="post-footer">
<div class="post-footer-line post-footer-line-1"><span class="post-author vcard">  Posted by  <span class="fn">NDH</span>  </span>  <span class="post-timestamp">  at  <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cubmV0ZmxpeC5jb20vMjAxMC8wMy90aGlzLWlzLW5laWwtaHVudC1jaGllZi1wcm9kdWN0LW9mZmljZXIuaHRtbA==" title=\"permanent link\" class=\"timestamp-link\" rel=\"bookmark\"><abbr title="2010-03-12T09:30:00-08:00" class="published">9:30 AM</abbr></a>  </span>  <span class="post-comment-link">  </span>  <span class="post-icons">  <span class="item-action">  <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5ibG9nZ2VyLmNvbS9lbWFpbC1wb3N0Lmc/YmxvZ0lEPTI3NjUwNTY4NDk2MjYxMDQwMjAmYW1wO3Bvc3RJRD01MDIwNDg2MDk5NTE2MTI4MTU0" title=\"Email Post\">  <img class="icon-action" src="http://www.blogger.com/img/icon18_email.gif" height="13" alt="" width="18" /></a></span></span></div>
</div>
</div>
</div>
</div>
<p>so frustrating!</p>
</div>
<p style="font-size: 10px;">  <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Bvc3Rlcm91cy5jb20=">Posted via web</a>   from <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltemFpZC5wb3N0ZXJvdXMuY29tL25ldGZsaXgtcHJpemUtc2VxdWVsLWNhbmNlbGxlZC1pLWRlc3Bpc2Utd2hlbg==">imzaid</a>  </p>
</p></div>
<p><map name='google_ad_map_134_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay8xMzQ/cG9zPTA=" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_134_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=134&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2010%2F03%2F13%2Fnetflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=134" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2010. |
<a href="http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/&amp;title=Netflix Prize Sequel Cancelled! (I despise when the law gets in the way of Innovation)">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2010/03/13/netflix-prize-sequel-cancelled-i-despise-when-the-law-gets-in-the-way-of-innovation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Password Policy Function in PHP</title>
		<link>http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/</link>
		<comments>http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 00:05:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=60</guid>
		<description><![CDATA[Just a quick password policy function in php. Didn&#8217;t want to have to dig around to figure out how to do it again, so I&#8217;m just posting it here

/* * * * * * * * * * * * * * * * * * * * * * * * *
Password Policy requires
&#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick password policy function in php. Didn&#8217;t want to have to dig around to figure out how to do it again, so I&#8217;m just posting it here</p>
<blockquote><p>
/* * * * * * * * * * * * * * * * * * * * * * * * *<br />
Password Policy requires<br />
&#8211; at least 8 characters<br />
&#8211; at least 1 lower case<br />
&#8211; at least 1 upper case<br />
&#8211; at least 1 digit<br />
* * * * * * * * * * * * * * * * * * * * * * * * * /<br />
function pwdPolicy($pwd){<br />
&nbsp;&nbsp;&nbsp;$policy = &#8220;/^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/&#8221;;<br />
&nbsp;&nbsp;&nbsp;if(preg_match($policy, $pwd, $matches)){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return true;<br />
&nbsp;&nbsp;&nbsp;} else return false;<br />
}</p></blockquote>
<p><map name='google_ad_map_60_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay82MD9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_60_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=60&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F12%2F17%2Fquick-password-policy-function-in-php%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=60" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/&amp;title=Quick Password Policy Function in PHP">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/12/17/quick-password-policy-function-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jsVim &#8211; Vi control for your browser!</title>
		<link>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/</link>
		<comments>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:47:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[jsVim]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=58</guid>
		<description><![CDATA[If you like keyboard shortcuts, or you know how to use Vi to control navigation of a page, then you&#8217;re going to love this! (this is not to be confused by jsvi which allows vi control for a textarea in your browser)
I used to use a Firefox extension called Vimperator that basically allowed me to [...]]]></description>
			<content:encoded><![CDATA[<p>If you like keyboard shortcuts, or you know how to use Vi to control navigation of a page, then you&#8217;re going to love this! (this is not to be confused by <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2dwbC5pbnRlcm5ldGNvbm5lY3Rpb24ubmV0L3ZpLw==">jsvi</a> which allows vi control for a textarea in your browser)</p>
<p>I used to use a Firefox extension called <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3ZpbXBlcmF0b3IubW96ZGV2Lm9yZy8=" target=\"_blank\">Vimperator</a> that basically allowed me to control and navigate through websites using the keyboard with Vim like commands. It was a good tool, actually a great tool, but I got frustrated when I didn&#8217;t have this same functionality on Safari, or any Fluid apps (making web apps into a distinct desktop application).</p>
<p>I had planned initially on making jsVim work with websites I developed, but then I realized not too many people would be happy with Vim control on those pages, unless I had a unique activation key event that enabled the rest of the key commands. But anyway, I digress. So it occured to me that making it cross browser specific would be ideal, and the use of Grease[<a title=\"Greasemonkey for Firefox\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cHM6Ly9hZGRvbnMubW96aWxsYS5vcmcvZW4tVVMvZmlyZWZveC9hZGRvbi83NDg=" target=\"_blank\">monkey</a>,<a title=\"Greasekit for Safari\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovLzgtcC5pbmZvL2dyZWFzZWtpdC8=" target=\"_blank\">kit</a>] would allow me to do that.</p>
<p>So long story short, I developed jsVim in javascript form and then created an accompanying Grease[monkey,kit] script to utilize jsVim. There&#8217;s still much work to be done (incorporating keyboard events for links/hrefs/onlicks, search/find, colon[:] console commands, etc), but I think what is available is a pretty good start to get this out into the wild.</p>
<p>You can use svn to check out the code, or you can just install the greasemonkey script and get to work using it right away (if you have grease[monkey,kit] already installed).</p>
<p><a title=\"Greasemonkey Script\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3N2bi5qYWRlY2VsbC5vcmcvanN2aW0vanN2aW0udXNlci5qcw==" target=\"_blank\">Greasemonkey script</a></p>
<p>SVN<br />
<code>svn co http://svn.jadecell.org/jsvim/</code></p>
<p>Here are some useful commands that should get you started working around in your browser:</p>
<ul>
<li>&#8216;j&#8217; &#8211; scroll down on the page (like using the down arrow)</li>
<li>&#8216;k&#8217; &#8211; scroll up on the page (like using the up arrow)</li>
<li>&#8216;Shift+j&#8217; &#8211; scroll down a full page (like using the Page Down button)</li>
<li>&#8216;Shift+k&#8217; &#8211; scroll up a full page (like using the Page Up button)</li>
<li>&#8216;h&#8217; &#8211; scroll left on the page (like using the left arrow)</li>
<li>&#8216;l&#8217; &#8211; scoll right on the page (like using the right arrow)</li>
<li>&#8216;Shift+h&#8217; &#8211; Go Back in history (like the browser back button)</li>
<li>&#8216;Shift+l&#8217; &#8211; Go Forward in history (like the browser forward button)</li>
<li>&#8216;Shift+g&#8217; &#8211; goto the bottom of the page</li>
<li>&#8216;gg&#8217; or &#8216;U&#8217; &#8211; goto the top of the page</li>
<li>&#8216;Alt+Shift+?&#8217; &#8211; disable jsVim keyboard shortcuts</li>
<li>&#8216;Esc&#8217; &#8211; re-enable keyboard shortcuts, remove cursor in a form field from view, remove bottom console window</li>
</ul>
<p>The next big TODO, is to get link navigation working and a full out help menu when you press the &#8216;?&#8217; in the window.</p>
<p>Any other ideas and comments are always welcome.</p>
<p>===================</p>
<p>UPDATE:<br />
This script will not work with Firefox&#8217;s quick search. Be sure to uncheck &#8220;Search for text when I start typing&#8221; in the Preferences &gt;&gt; Advanced &gt;&gt; General settings. I&#8217;m sure there is a workaround for this, but in the meantime, to get quicksearch up is to type &#8216;/&#8217;, i&#8217;ll have my quicksearch disabled until I can get this to work well.</p>
<p><map name='google_ad_map_58_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay81OD9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_58_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=58&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F07%2F11%2Fjsvim-vi-control-for-your-browser%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=58" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/&amp;title=jsVim &#8211; Vi control for your browser!">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>myPyTunes v0.2</title>
		<link>http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/</link>
		<comments>http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 06:36:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[myPyTunes]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/</guid>
		<description><![CDATA[I&#8217;ve updated and posted the myPyTunes script on Assembla using its Wiki/Trac/SVN project capabilities. I could put it on Google Code, but I figure I try Assembla out since somebody else recommended this to me before. Assembla maybe a bit of fluff, but I&#8217;ll give it a whirl for now.
myPyTunes has been recoded and I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated and posted the myPyTunes script on <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Fzc2VtYmxhLmNvbQ==" target=\"_blank\">Assembla</a> using its Wiki/Trac/SVN project capabilities. I could put it on Google Code, but I figure I try Assembla out since somebody else recommended this to me before. Assembla maybe a bit of fluff, but I&#8217;ll give it a whirl for now.</p>
<p>myPyTunes has been recoded and I&#8217;m planning to classify (OOP) it for the next update. Another step will be to make it a fully integrated web application with server so it&#8217;s completely portable. In due time I guess, but until then, here is the link to the Main Website and SVN</p>
<p><a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hc3NlbWJsYS5jb20vd2lraS9zaG93L215cHl0dW5lcw==" target=\"_blank\">http://www.assembla.com/wiki/show/mypytunes </a></p>
<p><map name='google_ad_map_51_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay81MT9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_51_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=51&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F04%2F28%2Fmypytunes-v02%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=51" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/&amp;title=myPyTunes v0.2">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/04/28/mypytunes-v02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SxSWi 2008 &#8211; Wow</title>
		<link>http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/</link>
		<comments>http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 20:03:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/</guid>
		<description><![CDATA[South by Southwest Interactive has been amusing, fun, and strange&#8230;.all wrapped into a tight little package. Actually, maybe not so little&#8230;but it&#8217;s definitely been a huge experience.
I&#8217;ve been to a few conferences, AjaxWorld being one of them (which in a way could have been a complete waste of time if it weren&#8217;t for the networking [...]]]></description>
			<content:encoded><![CDATA[<p><img title="SxSWi 2008 Flyer" src="http://farm3.static.flickr.com/2251/2318846791_c983913511.jpg?v=0" alt="SxSWi 2008 Flyer" width="400" align="right" />South by Southwest Interactive has been amusing, fun, and strange&#8230;.all wrapped into a tight little package. Actually, maybe not so little&#8230;but it&#8217;s definitely been a huge experience.</p>
<p>I&#8217;ve been to a few conferences, AjaxWorld being one of them (which in a way could have been a complete waste of time if it weren&#8217;t for the networking aspect of it). Don&#8217;t get me wrong, a few of the panels at AjaxWorld were very good, but not $1500 worth. Not to mention, I saw alot of the same panels weeks before online. The best way I like to look at it is, if you&#8217;re a developer&#8230;.don&#8217;t go to AjaxWorld! You live and you learn I guess.</p>
<p>But I digress, back to SxSWi. So the entry fee was very reasonable in comparison to what I&#8217;ve been paying before for other conferences, but it made sense as I walked amongst many of the attendants. Everybody was in a startup, or had been in a startup. I&#8217;ve never had the pleasure of being where most of these people were, and I envy that. Big adventure, struggles, working together on something new&#8230;.its exciting stuff. And here&#8217;s little old me trying to find out about the latest and greatest in web tech so I can jazz up our company site, while everybody else is trying to understand the pitfalls and bottlenecks of a starving company. I don&#8217;t think I&#8217;m ready for that (plus I don&#8217;t think I can survive financially at this point in my life), but it&#8217;s a dream to be there sometime in the future.</p>
<p><img title="Open AIM" src="http://blog.jadecell.org/wp/wp-content/uploads/2008/03/open_aim.thumbnail.gif" alt="Open AIM" align="left" />The conference touched on everything imaginable related to the web tech industry: developers, designers, bloggers, artists, venture capitalists&#8230;you name it, they were there. And to see big names like Adobe, Sun Microsystems, and Microsoft amongst all these little guys, and the way they were there to help the community, rather than take over, made it that much better. I had just learned that AOL finally decided to make AIM open source&#8230;.which is just great! I knew they had API&#8217;s available to the public, <img title="pvbadge.png" src="http://blog.jadecell.org/wp/wp-content/uploads/2008/03/pvbadge.png" alt="pvbadge.png" align="right" />but to actually go out and release the code, finally gave me the nerve to respect them (just a little bit at least). [I haven't actually gone out and looked at the code yet, so this statement could change, fyi].</p>
<p>Onto the parties. The parties were great (except for the Facebook parties, don&#8217;t go to them unless you like boozhee, shiny shirt, and god-wannabe door people). Yeah, sure, BT was there, but it just seemed too much like a commercial party. Which brings me to how the 16-bit party was&#8230;.lame!!  Too many dam people, no free drinks (apparently the check didn&#8217;t clear?), a line from hell (luckily we got there early), aggravated people (as my friend Andy likes to say: it&#8217;s like the many components packed into a notebook with a crappy heatsink). If there were a 32-bit party, no possible way am I recommending that to anybody.</p>
<p>Anyway, the Pure Volume Ranch parties were awesome! The Gametap party was even better (the food they had was amazing!). The Frog Design venue was nuttz. The 16-bit party should have used that venue instead of the Scoot Inn. The Digg party (at pure volume ranch) was pretty good as well, apparently Mark Cuban was there (cool I guess, but the Rockets are winning the championship this year). Midway through, I got a text from a friend about Moby being at the Mohawk, so we headed out there. <img class="size-full wp-image-91 alignleft" title="Mohawk" src="http://blog.jadecell.org/wp/wp-content/uploads/2009/01/mobysxsw1.jpg" alt="The Mohawk, Austin, TX" width="396" height="264" />That venue is AMAZING! Not just because I know some people, that know people, who know people that are affiliated with the place (yeah, I&#8217;m practically just a normal citizen at that point huh?), but from what it looked like a year ago in comparison to today&#8230;.all I have to say is WOW.</p>
<p>Anyway, I&#8217;m not the biggest fan of Moby, but he did rock it that night, and the crowd responded very well which is always good to see. He did make an appearance at the Digg party afterward as well, so I&#8217;m sure they were thrilled to see him (better than just Mark Cuban&#8230;.Ha, just kidding).</p>
<p>-</p>
<p>You can find out about the adventure in Eugene Hsu&#8217;s post on <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL211c2ljYmxvZy51Z28uY29tL2luZGV4LnBocC9tdXNpY2Jsb2cvbW9yZS9zeHN3X2RheV96ZXJvX21vYnlzX3NlY3JldF9zaG93X2F0X3RoZV9tb2hhd2sv" target=\"_blank\">Ungerground Online&#8217;s website</a>. More pics of the <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy51Z28uY29tL3Vnby9odG1sL2dhbGxlcnkvZGVmYXVsdC5hc3A/Z2FsbGVyeT1tb2J5c3hzd19tdXNpYyZhbXA7aWQ9NTQ=" target=\"_blank\">Moby event</a> are available there as well.</p>
<p><img class="alignnone size-full wp-image-92" title="Moby at the Mohawk" src="http://blog.jadecell.org/wp/wp-content/uploads/2009/01/mobysxsw11_blog.jpg" alt="Moby at the Mohawk" /></p>
<p>So now that the Interactive conference is done, the music portion of SxSW has started, and I&#8217;m attending a few events here and there for that. I&#8217;ve got a few videos, and photos up, but I&#8217;ll save that for another post (maybe).</p>
<p><map name='google_ad_map_45_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay80NT9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_45_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=45&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F03%2F14%2Fsxswi-2008-wow%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=45" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/&amp;title=SxSWi 2008 &#8211; Wow">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/03/14/sxswi-2008-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myPyTunes: iTunes from the Terminal in Python</title>
		<link>http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/</link>
		<comments>http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 21:19:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[myPyTunes]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/</guid>
		<description><![CDATA[Inspired by the Controlling iTunes from the Terminal article explaining a bash shell command line script to (as the title says) control iTunes from the terminal. I liked this, but I felt I needed a bit more flexibility (meaning I want it coded in something i know better), and I really like Python (especially when [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by the <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYWNvc3hoaW50cy5jb20vYXJ0aWNsZS5waHA/c3Rvcnk9MjAwMTExMDgyMTE4MDI4MzA=" target=\"_blank\">Controlling iTunes from the Terminal</a> article explaining a bash shell command line script to (as the title says) control iTunes from the terminal. I liked this, but I felt I needed a bit more flexibility (meaning I want it coded in something i know better), and I really like Python (especially when i decide to classify this script), so I decided to port it over to Python.</p>
<p>I found this useful to have installed on the Mac Mini sitting on a desk while i was across the room on my Powerbook. Very handy since I didn&#8217;t want to have to get up every time I wanted to change the song, or pause it when the phone rang, etc.</p>
<p>So far its a pretty clean traslation over with a few modified functions, and a few functions I&#8217;ve thrown in from other posts I had seen, or functions I feel would be cool to be added.</p>
<p>I&#8217;ve only tested this on OSX 10.4.11 &#8211; iTunes 7.6, so even though I believe it should work on  other versions of iTunes/OSX, don&#8217;t take my word for it, but please let me know if you do run into any problems with it.</p>
<p>Right now i&#8217;ll upload the file along with this blog, but i&#8217;ll be sure to use a versioning tool as i make updates.</p>
<p>Download myPyTunes <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cuamFkZWNlbGwub3JnL3dwL2ZpbGVzL2l0dW5lcw==" target=\"_blank\">here</a> &#8211; Right click the link and choose &#8220;Save As..&#8221;</p>
<p>Here is the basic help menu when you type in &#8220;itunes -h&#8221;:</p>
<blockquote><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
iTunes Command Line Interface<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Usage: /usr/bin/itunes &lt;option&gt;<br />
Options:<br />
status        = Shows iTunes&#8217; status, current artist, and track.<br />
play          = Start playing iTunes.<br />
stop          = Stop iTunes<br />
pause         = Pause iTunes.<br />
playpause     = Play/Pause iTunes.<br />
next          = Go to the next track.<br />
prev          = Go to the previous track.<br />
mute          = Mute iTunes&#8217; volume.<br />
unmute        = Unmute iTunes&#8217; volume.<br />
vol up        = Increase iTunes&#8217; volume by 10%<br />
vol down      = Increase iTunes&#8217; volume by 10%<br />
vol #         = Set iTunes&#8217; volume to # [0-100]<br />
quit          = Quit iTunes<br />
launch        = Launch iTunes<br />
playlist @    = Play iTunes&#8217; playlist named @&#8221;<br />
list          = list playlists.<br />
shuf          = turn on shuffle playlist<br />
noshuf        = turn off shuffle playlist<br />
ostream       = open stream<br />
help          = what&#8217;s showing now<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p></blockquote>
<p><map name='google_ad_map_44_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay80ND9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_44_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=44&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F02%2F19%2Fmypytunes-itunes-from-the-terminal-in-python%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=44" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/&amp;title=myPyTunes: iTunes from the Terminal in Python">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/02/19/mypytunes-itunes-from-the-terminal-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python: where is the switch/case?</title>
		<link>http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/</link>
		<comments>http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 18:02:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/</guid>
		<description><![CDATA[i was writing up some code in python and had several if/else like statements that i figured would require a better syntax and figured that the switch/case method would possibly be a better way to handle it. lo and behold, after research&#8230;there&#8217;s no switch/case like statement!!
i found several ways of solving the issue, which seem [...]]]></description>
			<content:encoded><![CDATA[<p>i was writing up some code in python and had several if/else like statements that i figured would require a better syntax and figured that the switch/case method would possibly be a better way to handle it. lo and behold, after research&#8230;there&#8217;s no switch/case like statement!!</p>
<p>i found several ways of solving the issue, which seem to be rather interesting. many people thought that the if/else was probably the best way to go&#8230;of course we can&#8217;t have that, and continued to find some people stating to use the dict like  command to determine your call. for example:</p>
<blockquote><p>def performAction1():<br />
&nbsp;&nbsp;&nbsp;print &#8220;some crap&#8221;<br />
def performAction2():<br />
&nbsp;&nbsp;&nbsp;print &#8220;some more crap&#8221;<br />
{<br />
&nbsp;&nbsp;&nbsp;&#8221;action1&#8243;: performAction1,<br />
&nbsp;&nbsp;&nbsp;&#8221;action2&#8243;: performAction2,<br />
&nbsp;&nbsp;&nbsp;&#8230;etc&#8230;<br />
}[actionToPerformString]()</p></blockquote>
<p>this seemed to be a good way to do it, but something about the actionToPerformString trailing like that bothered me, so there was also this method which seemed to be more visually pleasing to me:</p>
<blockquote><p>def defaultActionToPerform():<br />
&nbsp;&nbsp;&nbsp;print &#8220;default crap&#8221;<br />
action = {<br />
&nbsp;&nbsp;&nbsp;&#8221;action1&#8243;: performAction1,<br />
&nbsp;&nbsp;&nbsp;&#8221;action2&#8243;: performAction2,<br />
&nbsp;&nbsp;&nbsp;&#8230;etc&#8230;<br />
}<br />
action.get(actionToPerformString, defaultActionToPerform)()
</p></blockquote>
<p>as you can see, it also allowed for a default function to be called, plus it reall just does look cleaner. if anybody has a more elegant solution, please feel free to comment.</p>
<p><map name='google_ad_map_42_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay80Mj9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_42_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=42&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F02%2F08%2Fpython-where-is-the-switchcase%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=42" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/&amp;title=Python: where is the switch/case?">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/02/08/python-where-is-the-switchcase/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>the Jadecell Javascript toolkit</title>
		<link>http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/</link>
		<comments>http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/#comments</comments>
		<pubDate>Wed, 23 May 2007 18:15:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=25</guid>
		<description><![CDATA[so in my spare time i&#8217;ve been sitting in on the mootools (a javascript library) IRC room&#8230;and have been in on a bit of conversations here and there.
There are several times where i&#8217;m just oblivious to alot of what they&#8217;re talking about&#8230;mostly because this group has advanced so far into the development of the project, [...]]]></description>
			<content:encoded><![CDATA[<p>so in my spare time i&#8217;ve been sitting in on the mootools (a javascript library) IRC room&#8230;and have been in on a bit of conversations here and there.</p>
<p>There are several times where i&#8217;m just oblivious to alot of what they&#8217;re talking about&#8230;mostly because this group has advanced so far into the development of the project, its a bit hard to catch up for a noob. i&#8217;m sure some can, but i havent been so lucky, i think mostly because i&#8217;m just not familiar with javascript completely anyway. i&#8217;ve dabbled alot and restructured js code to work the way i want&#8230;but that doesn&#8217;t mean i know javascript.</p>
<p>So i&#8217;ve decided to do my own toolkit, framework, library or whatever you want to call it. I&#8217;m in no way trying to compete with other toolkits, so please don&#8217;t bash on what i&#8217;m doing&#8230;although constructive criticism is always welcome. This is totally for learning purposes, and i&#8217;m just making it available to anybody else who could find it useful.</p>
<p>It&#8217;s still a work in progress, and all i&#8217;ve got so far is a set of tools for divElements, ie innerHTML, border, background, etc.</p>
<p>grab the source using svn:</p>
<blockquote><p>svn co http://dev.jadecell.org/jadecellScript</p></blockquote>
<p>or directly <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Rldi5qYWRlY2VsbC5vcmcvamFkZWNlbGxTY3JpcHQvamFkZWNlbGwuanM=" title=\"jadecellScript toolkit\" target=\"_blank\">here</a></p>
<p>This work is licensed under a<br />
<a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnktbmMtc2EvMy4wLw==" rel=\"license\">Creative Commons Attribution-Noncommercial-Share Alike 3.0 License</a>.</p>
<p><a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnktbmMtc2EvMy4wLw==" rel=\"license\"><img src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" alt="Creative Commons License" style="border-width: 0pt" /><br />
</a></p>
<p><map name='google_ad_map_25_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay8yNT9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_25_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=25&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2007%2F05%2F23%2Fthe-jadecell-javascript-toolkit%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=25" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2007. |
<a href="http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/&amp;title=the Jadecell Javascript toolkit">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2007/05/23/the-jadecell-javascript-toolkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A javascript pulldown &#8220;move module&#8221; by value or text</title>
		<link>http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/</link>
		<comments>http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 05:37:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=22</guid>
		<description><![CDATA[ This is a tough one to create a subject for, but here are the details:



 				aa 				ab 				ae 			
 				a 				ac 				ad ]]></description>
			<content:encoded><![CDATA[<p> This is a tough one to create a subject for, but here are the details:</p>
<p><center><br />
<script src="http://blog.jadecell.org/wp/wp-content/uploads/2007/04/movemodule.js" type="text/javascript"></script><br />
<form name="myform">
<select name="selectBox1"> 				<option value="1">aa 				</option><option value="2">ab 				</option><option value="5">ae 			</option></select>
<select name="selectBox2"> 				<option value="0">a 				</option><option value="3">ac 				</option><option value="6">ad <!-- This should be a value of 4 but for sake of testing value we'll make it 6 --> 			</option></select>
</p></form>
<p>		Move by Value<br />
<a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=amF2YXNjcmlwdDogbW92ZU1vZHVsZUJ5VmFsdWUo"selectBox2','selectBox1');\">&lt;&#8211;move</a> | <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=amF2YXNjcmlwdDogbW92ZU1vZHVsZUJ5VmFsdWUo"selectBox1','selectBox2');\">move&#8211;&gt;</a></p>
<p>Move by Text<br />
<a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=amF2YXNjcmlwdDogbW92ZU1vZHVsZUJ5VGV4dCg="selectBox2','selectBox1');\">&lt;&#8211;move</a> | <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=amF2YXNjcmlwdDogbW92ZU1vZHVsZUJ5VGV4dCg="selectBox1','selectBox2');\">move&#8211;&gt;</a><br />
</center>On the web application I develop on, there was a previous moveModule created and used that would grab the selection from a pulldown and move it over to another pulldown (this was used for dynamic adding and selecting if you don&#8217;t know what you could use this for). The issue was that if you moved a selection from one to the other, and then back, the selection would then NOT be put back in the right place but at the end of the pulldown box (this can be annoying if you have a pulldown list full of states or countries).  This made the original function very simple and small since it only needed to add an option at the end, but left several users wondering where the option went especially on a very very long list.</p>
<p>The initial remedy was to check the values and then add and insert accordingly. This did the trick, only if the value and text matched. Sometimes the option value was substitued for an id number (useful with a SQL table), so if the id&#8217;s and text&#8217;s didn&#8217;t sync accordingly by number and alphabetical order, then you&#8217;d have a mismatch. So I developed two functions that would take the place according to which the programmer defines. One for Value and one for Text (moveModuleByValue &amp; moveModuleByText).</p>
<p>In the example html file, if you view the source you&#8217;ll notice that i&#8217;ve mismatched option &#8216;ad&#8217; to accurately see the differences in the two move methods. Try to move that option back and forth between the two move functions to see it work effectively.</p>
<p>I would have tried to make this just one function, but i was not able to figure out how to interchange the DOM of .text and .value flawlessly. If I have time to hack at it more i&#8217;ll figure it out, but this seems to do the job just fine for me.</p>
<p>Comments and suggestions are always welcome.</p>
<p><a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cuamFkZWNlbGwub3JnL3dwL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA3LzA0L21vdmVtb2R1bGUuaHRtbA==" target=\"_blank\" title=\"moveModule.html\">movemodule.html</a><a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jsb2cuamFkZWNlbGwub3JnL3dwL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA3LzA0L21vdmVtb2R1bGUuanM=" target=\"_blank\" title=\"moveModule.js\"><br />
movemodule.js</a></p>
<p><map name='google_ad_map_22_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay8yMj9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_22_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=22&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2007%2F04%2F05%2Fa-javascript-pulldown-move-module-by-value-or-text%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=22" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2007. |
<a href="http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/&amp;title=A javascript pulldown &#8220;move module&#8221; by value or text">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2007/04/05/a-javascript-pulldown-move-module-by-value-or-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>color terminal bash on the Mac (iTerm included)</title>
		<link>http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/</link>
		<comments>http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/#comments</comments>
		<pubDate>Sat, 19 Aug 2006 07:25:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=5</guid>
		<description><![CDATA[first open up .bash_profile from your favorite editor. fastest way to do it from the terminal command line is:
$ vi ~/.bash_profile
copy and paste the code below if you like. it includes an explanation of each line
.bash_profile
#enables color in the terminal bash shell export
CLICOLOR=1
#sets up the color scheme for list export
LSCOLORS=gxfxcxdxbxegedabagacad
#sets up the prompt color (currently [...]]]></description>
			<content:encoded><![CDATA[<p>first open up .bash_profile from your favorite editor. fastest way to do it from the terminal command line is:</p>
<p><code>$ vi ~/.bash_profile</code></p>
<p>copy and paste the code below if you like. it includes an explanation of each line<br />
<a id=\"p8\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2phZGVjZWxsLmNvbS9saW5tYWNibG9nL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA2LzA4Ly5iYXNoX3Byb2ZpbGUxLnR4dA==">.bash_profile</a></p>
<p><code class="terminal">#enables color in the terminal bash shell export<br />
CLICOLOR=1<br />
#sets up the color scheme for list export<br />
LSCOLORS=gxfxcxdxbxegedabagacad<br />
#sets up the prompt color (currently a green similar to linux terminal)<br />
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '<br />
#enables color for iTerm<br />
export TERM=xterm-color<br />
#sets up proper alias commands when called<br />
alias ls='ls -G'<br />
alias ll='ls -hl'</code></p>
<p>C/P&#8217;d from MacOsXHints.com:</p>
<p>The colors can be set with the LSCOLORS variable. The color designators are as follows:</p>
<p><code class="terminal"> a     black<br />
b     red<br />
c     green<br />
d     brown<br />
e     blue<br />
f     magenta<br />
g     cyan<br />
h     light grey<br />
A     bold black, usually shows up as dark grey<br />
B     bold red<br />
C     bold green<br />
D     bold brown, usually shows up as yellow<br />
E     bold blue<br />
F     bold magenta<br />
G     bold cyan<br />
H     bold light grey; looks like bright white<br />
x     default foreground or background</code></p>
<p>Note that the above are standard ANSI colors. The actual display may differ depending on the color capabilities of the terminal in use. The order of the attributes in the LSCOLORS variable is as follows:</p>
<p><code class="terminal"> 1. directory<br />
2. symbolic link<br />
3. socket<br />
4. pipe<br />
5. executable<br />
6. block special<br />
7. character special<br />
8. executable with setuid bit set<br />
9. executable with setgid bit set<br />
10. directory writable to others, with sticky bit<br />
11. directory writable to others, without sticky bit</code></p>
<p>They are set in pairs, foreground (f) then background (b), i.e. fbfbfbfbfbfbfbfbfbfbfb for all 11 settings. The default is exfxcxdxbxegedabagacad, i.e. blue foreground and default background for regular directories, black foreground and red background for setuid executables, etc.</p>
<p><map name='google_ad_map_5_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay81P3Bvcz0w" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_5_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=5&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2006%2F08%2F19%2Fcolor-terminal-bash-on-the-mac-iterm-included%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=5" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2006. |
<a href="http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/&amp;title=color terminal bash on the Mac (iTerm included)">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2006/08/19/color-terminal-bash-on-the-mac-iterm-included/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
