<?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>Wiffu &#187; misc</title>
	<atom:link href="http://wiffu.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiffu.com</link>
	<description>sam keen&#039;s corner of the web</description>
	<lastBuildDate>Sun, 02 May 2010 18:06:22 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Passing the Turing Test</title>
		<link>http://wiffu.com/passing-the-turing-test/</link>
		<comments>http://wiffu.com/passing-the-turing-test/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 17:23:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/passing-the-turing-test</guid>
		<description><![CDATA[One of the books I am currently reading is &#8220;An Introduction to Neural Networks&#8220;. The introductory chapter covered the Turing Test and the fact that no computer has ever come close to passing it.  The context of the chapter was about the limitations of the computer to house and efficiently access a db of [...]]]></description>
			<content:encoded><![CDATA[<p>One of the books I am currently reading is &#8220;<a href="http://www.amazon.com/Introduction-Neural-Networks-Java-2nd/dp/1604390085/">An Introduction to Neural Networks</a>&#8220;. The introductory chapter covered the <a href="http://en.wikipedia.org/wiki/Turing_test">Turing Test</a> and the fact that no computer has ever come close to passing it.  The context of the chapter was about the limitations of the computer to house and efficiently access a db of <span style="font-style: italic;">human knowledge</span> in order to answer the questions as a human would.</p>
<p>A thought occurred to me.  Are humans becoming more <span style="font-style: italic;">computer-like</span> in the way we interact with each other? In this day and age, many of us interact with computers more than we do with humans.  I&#8217;m doing it write now as I write this.  We gain a great deal of our knowledge as a result of direct contact with computer systems and much of our &#8216;human to human&#8217; interaction are proxied through computer systems (twitter, IM, email, etc) and we adapt our language on those systems accordingly.</p>
<p>For instance,  a human could ask another human:<br />
<span style="font-weight: bold;">&#8220;Hey Sam, are you attending OSCON this year?&#8221;</span></p>
<p>The equivilent tweet might be:<br />
<span style="font-weight: bold;">&#8220;@samkeen are you </span><span style="font-weight: bold;">attending</span><span style="font-weight: bold;"> #oscon2009&#8243;</span></p>
<p>And some line of computer code might be:<br />
<span style="font-family: courier new; font-weight: bold;">if(samkeen.attending(&#8216;oscon2009&#8242;)) {</span><br />
<span style="font-family: courier new; font-weight: bold;"> #take some action;</span><br />
<span style="font-family: courier new; font-weight: bold;">}</span></p>
<p>From this you could conclude that the Tweet syntax is bridging the gap between <span style="font-style: italic;">programming code</span> and <span style="font-style: italic;">human</span> dialogue.</p>
<p>If it is true that the way we attain, and share knowledge is becoming more <span style="font-style: italic;">computer-like</span>,  will that not someday allow a computer system to pass the Turing Test.  Or in that case would it be the human passing the Turing Test?</p>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/passing-the-turing-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying out bloggers mobile interface</title>
		<link>http://wiffu.com/trying-out-bloggers-mobile-interface/</link>
		<comments>http://wiffu.com/trying-out-bloggers-mobile-interface/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 22:16:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/trying-out-bloggers-mobile-interface</guid>
		<description><![CDATA[

Adding some message body to see where it ends up.
]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-130 alignleft" title="blogger-mobile" src="http://releasethecodes.com/wp-content/uploads/2009/03/blogger-mobile.jpg" alt="blogger-mobile" width="320" height="240" /></p>
<p class="mobile-photo">
<p>Adding some message body to see where it ends up.</p>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/trying-out-bloggers-mobile-interface/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Book Review: Practical Rails Social Networking Sites</title>
		<link>http://wiffu.com/book-review-practical-rails-social-networking-sites/</link>
		<comments>http://wiffu.com/book-review-practical-rails-social-networking-sites/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 03:50:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/book-review-practical-rails-social-networking-sites</guid>
		<description><![CDATA[      Title: Practical Rails Social Networking SitesAuthor: Alan BradburneISBN: 1590598415ISBN-13: 9781590598412421 pagesPublished: Jun 2007
So far my web development background has mainly consisted of Java (J2EE) and PHP.  I just started playing with Ruby and now Ruby on Rails.  I’ve worked through a few of the tutorials linked from [...]]]></description>
			<content:encoded><![CDATA[<p><strong>      Title:</strong> Practical Rails Social Networking Sites<br /><strong>Author:</strong> Alan Bradburne<br /><strong>ISBN:</strong> 1590598415<br /><strong>ISBN-13:</strong> 9781590598412<br />421 pages<br /><strong>Published:</strong> Jun 2007</p>
<p>So far my web development background has mainly consisted of Java (J2EE) and PHP.  I just started playing with Ruby and now Ruby on Rails.  I’ve worked through a few of the tutorials linked from www.rubyonrails.org.  So essentially I had two or three ‘proof of concept’ sites with models consisting of two to three tables each.  So of course at that point I wanted to ramp it up and build a ‘real’ site but that leap from demo site to a production ready, real world site can be a tough one to make.  “Practical Rails Social Networking Sites” can certainly help you in that undertaking.</p>
<p>During the span of the book, Alan leads you through building an actual web application with many of the Web 2.0 features you would expect.  When you are through with this book, you will have a simple “content management system”, user authentication with groups, RSS feeds, blogging with an API and user created themes, forums, photo gallery with tagging, email and mailing list, XFN support, Google maps and Flickr API integration, and views for mobile devices.  So, as you can see, you learn how to build just about everything a social site needs.  The author does a good job of using leading edge features of Rails and web development in general to build the components for the site.  One that I was very happy to see was REST or “Representational State Transfer”.  Rails Restful Routes are used throughout the book and you soon learn to appreciate them as they further simplify the routing of requests from the view, through the controller, and to the model.</p>
<p>For the most part the end of each chapter has a substantial section devoted to testing what was implemented previously in the chapter.  I was good to see this emphasis on unit and functional testing as I know what value it brings to the scalability and maintainability of an application.  Plus it is so easy to write tests in Rails, there is little excuse not to do so.</p>
<p>After you’ve worked through the examples in the book and have a substantial, working social web app, the final chapter will lead you through the process of deploying your work to a production environment.  This chapter is compact but certainly gets you enough info and pointers to get you deployed and into a strategy for scaling and optimizing.</p>
<p> Overall I really liked this book.  It gets right down to business and utilizes many of the leading edge Rails best practices to get an impressive amount of work done in very short order, but this is Rails after all</p>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/book-review-practical-rails-social-networking-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When Adventurous Coders get Bored</title>
		<link>http://wiffu.com/when-adventurous-coders-get-bored/</link>
		<comments>http://wiffu.com/when-adventurous-coders-get-bored/#comments</comments>
		<pubDate>Sat, 19 May 2007 21:09:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/when-adventurous-coders-get-bored</guid>
		<description><![CDATA[
I convinced a friend to try this,  hopefully space/time fabric was unaffected.
One more rule for the universe
…

You may not travel faster than the speed of light
You may not power on a virtual machine in a virtual machine

]]></description>
			<content:encoded><![CDATA[<p><a href="http://releasethecodes.com/wp-content/uploads/2007/05/vm-vm.jpg"><img class="alignnone size-medium wp-image-144" title="vm-vm" src="http://releasethecodes.com/wp-content/uploads/2007/05/vm-vm-300x225.jpg" alt="vm-vm" width="300" height="225" /></a></p>
<p>I convinced a friend to try this,  hopefully space/time fabric was unaffected.</p>
<p>One more rule for the universe</p>
<p>…</p>
<ul>
<li><em>You may not travel faster than the speed of light</em></li>
<li><em>You may not power on a virtual machine in a virtual machine</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/when-adventurous-coders-get-bored/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Around Clients that only allow connection from a single IP</title>
		<link>http://wiffu.com/getting-around-clients-that-only-allow-connection-from-a-single-ip/</link>
		<comments>http://wiffu.com/getting-around-clients-that-only-allow-connection-from-a-single-ip/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 04:18:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/getting-around-clients-that-only-allow-connection-from-a-single-ip</guid>
		<description><![CDATA[As a freelance Web Developer, I often find myself this circumstance.Client X states…
“We can allow you access to our network but only through your single dedicated IP“

I won’t go into how ‘un’-realword this is in this day and age (what freelance coder always works behind a single IP?). I tend to work from coffee shops [...]]]></description>
			<content:encoded><![CDATA[<p>As a freelance Web Developer, I often find myself this circumstance.<br />Client X states…</p>
<blockquote><p><strong>“<em>We can allow you access to our network but only through your single dedicated IP</em>“</strong></p>
</blockquote>
<p>I won’t go into how ‘un’-realword this is in this day and age (what freelance coder always works behind a single IP?). I tend to work from coffee shops and at home I prefer (cheaper) dynamic ip broadband.</p>
<p><strong>Overview: </strong>We will use a ‘trusted’ server we have ssh access to as a ‘proxy’ to connect to the ClientX server. From ClientX’s point of view, it will simply look as though you are connecting directly from the proxy server but you will be able to connect to clientX from any server (through the proxy server).</p>
<h3><strong>Step 1:</strong></h3>
<p>Give clientX the IP to any “trusted” static IP server you have ssh access to (this will be the proxy server).</p>
<h3><strong>Step 2:</strong></h3>
<p>The setup</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_-U2xCN0FOWI/SG5mH-Iv8II/AAAAAAAAAC8/Kv4PDdgmqg8/s1600-h/proxy.png"><img style="cursor: pointer;" src="http://bp2.blogger.com/_-U2xCN0FOWI/SG5mH-Iv8II/AAAAAAAAAC8/Kv4PDdgmqg8/s400/proxy.png" alt="" id="BLOGGER_PHOTO_ID_5219221305293795458" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nBtm8CfI/AAAAAAAAADE/T43hWnyVL8Q/s1600-h/arrow_rt.gif"><img style="cursor: pointer;" src="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nBtm8CfI/AAAAAAAAADE/T43hWnyVL8Q/s400/arrow_rt.gif" alt="" id="BLOGGER_PHOTO_ID_5219222297289427442" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_-U2xCN0FOWI/SG5nP0qmwGI/AAAAAAAAADM/3W1gQIwPukw/s1600-h/proxy.png"><img style="cursor: pointer;" src="http://bp1.blogger.com/_-U2xCN0FOWI/SG5nP0qmwGI/AAAAAAAAADM/3W1gQIwPukw/s400/proxy.png" alt="" id="BLOGGER_PHOTO_ID_5219222539702026338" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nBtm8CfI/AAAAAAAAADE/T43hWnyVL8Q/s1600-h/arrow_rt.gif"><img style="cursor: pointer;" src="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nBtm8CfI/AAAAAAAAADE/T43hWnyVL8Q/s400/arrow_rt.gif" alt="" id="BLOGGER_PHOTO_ID_5219222297289427442" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_-U2xCN0FOWI/SG5nUmY7HcI/AAAAAAAAADU/mCqn7MX1S5k/s1600-h/clientx.png"><img style="cursor: pointer;" src="http://bp1.blogger.com/_-U2xCN0FOWI/SG5nUmY7HcI/AAAAAAAAADU/mCqn7MX1S5k/s400/clientx.png" alt="" id="BLOGGER_PHOTO_ID_5219222621769113026" border="0" /></a></p>
<p>On local, issue this command…</p>
<pre>$ ssh -L2001:clientX:22 proxy</pre>
<p>You are instructing SSH to encrypt traffic from port 2001 (chosen arbitrarily, you can choose any unprivleged port that is available) on your <strong>local</strong> computer and send it to port 22 on <strong>clientX</strong>,  using the SSH server on <strong>proxy</strong>.</p>
<p>Leave this terminal open (where you  issue the above command.  It will be logged into <strong>proxy</strong> through ssh).</p>
<p>Now in a new terminal window you can ssh, scp, sftp to clientX by using local port 2001. You can even use your favorite graphical ssh, scp,or sftp client, just point it to localhost and port 2001.</p>
<p><strong>ex:</strong></p>
<pre>$ ssh -p2001 user@localhostuser@localhost's password:Last login: Fri Jan 19 17:29:23 2007 from 99.99.180.136[user@clientX user]$ hostnameclientX.com[user@clientX user]$</pre>
<p>As you can see, you ssh to localhost port 2001 and end up on clientX</p>
<p>Shown below, you can take your GUI sftp client and point it to localhost and port 2011, after logging in (with your clientX credentials), you will see your files on clientX</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nr_2jdmI/AAAAAAAAADc/bm1MSW5HHeI/s1600-h/cyberduck.png"><img style="cursor: pointer;" src="http://bp2.blogger.com/_-U2xCN0FOWI/SG5nr_2jdmI/AAAAAAAAADc/bm1MSW5HHeI/s400/cyberduck.png" alt="" id="BLOGGER_PHOTO_ID_5219223023741269602" border="0" /></a></p>
<p>To close the connection, disconnect any ssh, scp, or sftp clients then simply type exit in the original terminal where you typed $ ssh -L2001:clientX:22 proxy</p>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/getting-around-clients-that-only-allow-connection-from-a-single-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insta’ favicon</title>
		<link>http://wiffu.com/insta%e2%80%99-favicon/</link>
		<comments>http://wiffu.com/insta%e2%80%99-favicon/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 03:48:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/insta%e2%80%99-favicon</guid>
		<description><![CDATA[Dynamic Drive has a very nice favicon tool. I’ve been a fan of the Drive for many years now. Great place to find DHTML widgets
]]></description>
			<content:encoded><![CDATA[<p>Dynamic Drive has a very nice favicon <a href="http://tools.dynamicdrive.com/favicon/">tool</a>. I’ve been a fan of the Drive for many years now. Great place to find DHTML widgets</p>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/insta%e2%80%99-favicon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Policies</title>
		<link>http://wiffu.com/password-policies/</link>
		<comments>http://wiffu.com/password-policies/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 23:02:00 +0000</pubDate>
		<dc:creator>sam keen</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dabbling.in/uncategorized/password-policies</guid>
		<description><![CDATA[Have you ever seen a more pathetic password policy (I’m sure you have but this one is pretty bad). Black-hat hackers must love this if they are able to use brute force type attacks. What poor excuse for a backend can only support passwords in this format?? I never understand why sites don’t allow you [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever seen a more pathetic password policy (I’m sure you have but this one is pretty bad). Black-hat hackers must love this if they are able to use brute force type attacks. What poor excuse for a backend can only support passwords in this format?? I never understand why sites don’t allow you to use any (or a VERY limited set) of special characters in you password. Passwords should ALWAYS be hashed (md5, sha, etc…) before persisted so you should be able to use any ’special’ printable character you want. Be wary of the site that can retrieve your actual password!!!</p>
<ul>
<li><strong>Passwords must either be 7 or 8 characters in<br />length. </strong></li>
<li><strong>You must use at least one number in your password. </strong></li>
<li><strong>You must use either the # or $ character in your password. </strong></li>
<li><strong>You may not use any of your previous (8) eight<br />passwords.</strong><strong>* If you experience a network or<br />printer problem after<br />resetting your password using Passport, please shutdown<br />and restart your computer.</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wiffu.com/password-policies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
