<?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>Spattering Neurons &#187; Geekery</title>
	<atom:link href="http://blog.semi-sentient.com/category/geekery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.semi-sentient.com</link>
	<description>Randomly generated words and pictures</description>
	<lastBuildDate>Fri, 27 Jan 2012 20:41:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fun with the Flickr API</title>
		<link>http://blog.semi-sentient.com/2009/02/fun-with-the-flickr-api/</link>
		<comments>http://blog.semi-sentient.com/2009/02/fun-with-the-flickr-api/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 00:31:59 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.semi-sentient.com/2009/02/fun-with-the-flickr-api/</guid>
		<description><![CDATA[I whipped up a simple Ruby API interface for Flickr using HTTParty and this evening decided to use it to play around with some numbers from my own Flickr account.  Just a basic graph showing which hours of the day that I most (and least) take pictures.  I did minimal spot checking on pictures and noticed that Flickr thinks that this picture was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/img/FlickrHours.png"><img src="/img/FlickrHours.png" align="right" height="155" width="213" vspace="1" hspace="1" style="margin: 5px" border="1" /></a>I whipped up a simple <a href="http://semi-sentient.com/code/httparty_flickr_api.html">Ruby API interface</a> for Flickr using <a href="http://httparty.rubyforge.org/">HTTParty</a> and this evening decided to use it to play around with some numbers from my own Flickr account.  Just a basic graph showing which hours of the day that I most (and least) take pictures.  I did minimal spot checking on pictures and noticed that Flickr thinks that <a href="http://www.flickr.com/photos/cheerfulstoic/236510254/">this picture</a> was taken at 3 AM, which can&#8217;t be true because it&#8217;s a daytime photo from out of doors.  I&#8217;m sure it&#8217;s correct in the aggregate, though&#8230; ahem&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.semi-sentient.com/2009/02/fun-with-the-flickr-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random churchiness</title>
		<link>http://blog.semi-sentient.com/2007/04/random-churchiness/</link>
		<comments>http://blog.semi-sentient.com/2007/04/random-churchiness/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 03:32:28 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Drinking the Kool-Aid]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Thoughts on Things]]></category>

		<guid isPermaLink="false">http://blog.semi-sentient.com/2007/04/random-churchiness/</guid>
		<description><![CDATA[Random churchinessOriginally uploaded by cheerfulstoic. Perhaps you&#8217;ve heard about Apple and EMI striking the first blow to crumble the wall of Digital Rights Management on music. I really can&#8217;t comment on the blessed event itself without tripping over somebody else&#8217;s analysis. There is one tangental point to all of this that I think is very [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-image" style="margin-left: 10px; margin-bottom: 10px;"><a href="http://www.flickr.com/photos/cheerfulstoic/445616973/" title="photo sharing"><img src="http://farm1.static.flickr.com/212/445616973_d8b4d8ac90_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br/><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/cheerfulstoic/445616973/">Random churchiness</a><br/>Originally uploaded by <a href="http://www.flickr.com/people/cheerfulstoic/">cheerfulstoic</a>.</span></div>
<p>Perhaps you&#8217;ve heard about Apple and EMI <a href="http://www.apple.com/pr/library/2007/04/02itunes.html">striking the first blow to crumble the wall of Digital Rights Management on music</a>.  I really can&#8217;t comment on the blessed event itself without tripping over somebody else&#8217;s analysis.  There is one tangental point to all of this that I think is very interesting: this move will be a big step in breaking the walls of Apple prejudice in the minds of geeks.</p>
<p>A name like Craftsman to a carpenter is like the names Microsoft or Apple to a geek and there&#8217;s generally a sense of product loyalty (or repulsion) with either.  In the case of Apple, a lot of geeks are still biased against the company for their previous history of proprietary technology and the decline in the quality of their products during the late 80s and early 90s.  Recently Apple has been doing a lot of things that have been gaining back the trust and the iPod and the Mac have demonstrated that not only can Apple create some really slick products but that they can also do it in a way that is thoroughly standards-based.  The proprietary nature of the iPod and iTunes ecosystem tied together with DRM was one of the last major arguments left.</p>
<p>Oh, and in addition to my post of March 23rd, add AAC to the list.</p>
<p>Lastly, I promise no more Apple-based articles for a while.  I need to branch out into things I know a little bit less of.<br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.semi-sentient.com/2007/04/random-churchiness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Shake it up&#8221;</title>
		<link>http://blog.semi-sentient.com/2007/03/shake-it-up/</link>
		<comments>http://blog.semi-sentient.com/2007/03/shake-it-up/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 03:45:00 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Drinking the Kool-Aid]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Thoughts on Things]]></category>

		<guid isPermaLink="false">http://blog.semi-sentient.com/2007/03/shake-it-up/</guid>
		<description><![CDATA[&#34;Shake it up&#34;Originally uploaded by cheerfulstoic. Apple&#8217;s Proprietary Past Precedes Present Plans Apple is often accused of using only closed standards. This was true 10 years ago, but a lot of things have changed since then. Unfortunately the closed nature of the iPod, iPhone, and iTunes music store have had a reverse halo effect on [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-image" style="margin-left: 10px; margin-bottom: 10px;"><a href="http://www.flickr.com/photos/cheerfulstoic/432030295/" title="photo sharing"><img src="http://farm1.static.flickr.com/152/432030295_a55ed92fd7_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br/><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/cheerfulstoic/432030295/">&quot;Shake it up&quot;</a><br/>Originally uploaded by <a href="http://www.flickr.com/people/cheerfulstoic/">cheerfulstoic</a>.</span></div>
<p>Apple&#8217;s Proprietary Past Precedes Present Plans</p>
<p>Apple is often accused of using only closed standards.  This was true 10 years ago, but a lot of things have changed since then.  Unfortunately the closed nature of the iPod, iPhone, and iTunes music store have had a reverse halo effect on those who remember Apple&#8217;s past and aren&#8217;t looking at their present any further than their entertainment devices.  While Apple computers have gotten easier to update since the transition to Intel, I&#8217;ll admit that the designs of some models make that somewhat difficult.  Still, there&#8217;s much standardized love to be had in the Apple computer world such as:</p>
<ul></p>
<li>Apple has led the industry in the implementation of USB, Firewire, DVI, Bluetooth, and gigabit ethernet</li>
<p></p>
<li>Every application in OS X can print to PDF</li>
<p></p>
<li>OS X can host AFP, SMB/CIFS, web, SSH, and FTP services</li>
<p></p>
<li>OS X reads everything above plus HFS(+), FAT(32), NTFS, NFS, WebDAV, ZFS (soon), and <a href="http://www.kernelthread.com/mac/osx/arch_fs.html">more</a></li>
<p></p>
<li>All Cocoa-based OS X applications support Unicode</li>
<p></p>
<li>OS X can connect to Active Directory, LDAP, and SLP</li>
<p></p>
<li>Address Book exports to the vCard format</li>
<p></p>
<li>Dashboard uses HTML, CSS, and Javascript</li>
<p></p>
<li>iCal exports to the iCalendar format</li>
<p></p>
<li>iChat supports the AIM and Jabber protocols</li>
<p></p>
<li>iTunes rips to the MP3 format by default</li>
<p></p>
<li>Mail uses plain text files (with some XML mixed in) to store messages</li>
<p></p>
<li>Preference files in OS X are XML formatted</li>
<p></p>
<li>Preview, OS X&#8217;s viewer, can read and save BMP, GIF, JPEG(2000), Photoshop, PICT, PNG, SGI, TGA, and TIFF</li>
<p>
</ul>
<p><br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.semi-sentient.com/2007/03/shake-it-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flytown</title>
		<link>http://blog.semi-sentient.com/2007/03/flytown/</link>
		<comments>http://blog.semi-sentient.com/2007/03/flytown/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 03:34:38 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.semi-sentient.com/2007/03/flytown/</guid>
		<description><![CDATA[FlytownOriginally uploaded by cheerfulstoic. I&#8217;ve been playing around with a neat little tip today that I thought I would share. I certainly can&#8217;t take credit for the idea but I like it enough that I&#8217;ll repeat what can be found elsewhere in the name of spreading the word. The problem? In a word: spammers. Grown [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-image" style="margin-left: 10px; margin-bottom: 10px;"><a href="http://www.flickr.com/photos/cheerfulstoic/422636727/" title="photo sharing"><img src="http://farm1.static.flickr.com/130/422636727_09b3f807b8_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br/><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/cheerfulstoic/422636727/">Flytown</a><br/>Originally uploaded by <a href="http://www.flickr.com/people/cheerfulstoic/">cheerfulstoic</a>.</span></div>
<p>I&#8217;ve been playing around with a neat little tip today that I thought I would share.  I certainly can&#8217;t take credit for the idea but I like it enough that I&#8217;ll repeat what can be found elsewhere in the name of spreading the word.</p>
<p><strong>The problem?</strong><br />
In a word: spammers.  Grown in Petri dishes, their hideous forms climb directly from their incubation chambers directly to their computer room.  Nobody who has looked upon their form has returned without their soul in tatters.  Their sustenance doesn&#8217;t come from the vitamins and proteins that good, honest creatures take in.  They thrive on the suffering of their victims and the hate that they generate.  Through the wires of man they pull to them ancient energies long forgotten.  Always in search of victims they constantly search for E-Mail addresses.</p>
<p><strong>The solution?</strong><br />
Spammers, so hungry for their daily meal, want to find E-Mail addresses as quickly as possible with the least amount of effort.  Therefore they don&#8217;t always look very hard.  For example take this HTML link markup you might find on a webpage:</p>
<blockquote><p>&lt;a href=&#8221;mailto:jshmow@gullible.net&#8221;&gt;Your name&lt;/a&gt;</p></blockquote>
<p>Did you see it?  So did the spammer!  Another victim&#8217;s productivity absorbed into a blob of advertising.</p>
<p>Moving on, the spammer tries another website:</p>
<blockquote style="word-wrap: break-word;"><p>&lt;a href=&#8221;mailto:&amp;#109;&amp;#99;&amp;#115;&amp;#109;&amp;#97;&amp;#114;&amp;#116;&amp;#112;&amp;#97;&amp;#110;&amp;#116;&amp;#115;&amp;#64;&amp;#99;&amp;#111;&amp;#111;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&#8221;&gt;Your name&lt;/a&gt;</p></blockquote>
<p>The spammer squints, grunts, and moves on.  When your browser looks at it however it says, &#8220;Oh my, I see we have a bit of a mess here.  Let me just clean this up&#8230; there!&#8221; and when you click on the link it opens up a new message.</p>
<p><strong>What&#8217;s going on?</strong><br />
If you look carefully at the second example you&#8217;ll notice a pattern.  There is an ampersand (&amp;), a pound (#), a number, and a semicolon (;).  Together, they form what is called an <strong>HTML entity</strong>.  In the encoded E-Mail, each character is replaced with an HTML entity.  These are nice because they allow you to say you want a certain character just as it is without it being interpreted as something else.  For example, the greater-than character (<strong>&gt;</strong>) can be written in an HTML document as <strong>&amp;gt;</strong> or, like in the example above, <strong>&amp;#62;</strong>.  These are both HTML entities that will display a greater-than sign without thinking it&#8217;s part of the HTML markup.</p>
<p>In the second example, we&#8217;re taking advantage of the fact that every character can be represented as an HTML entity because when spammers are looking for E-Mail addresses, they&#8217;re looking for at signs (@) and dots (.) and not ampersands, pounds, and semicolons.</p>
<p>Unfortunately this isn&#8217;t foolproof.  Spammers get smarter all the time and there are almost certainly a number of them out there who know about this and have made the extra effort to interpret these E-Mail addresses properly.  The nice thing about this technique, though, is that browsers have understood HTML entities for years so they won&#8217;t even flinch.  This slows down spammers without slowing down people that want to E-Mail you as opposed to people who just want to E-Mail everybody.</p>
<p><strong>How do I do this?</strong><br />
It&#8217;s easy.  For each character of your E-Mail address, type &amp;#number; where number is from the &#8220;Dec&#8221; column of <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">this table</a>.</p>
<p>Or if you&#8217;re lazy like me, you can use <a href="http://hackermonk.org/scripts/encodeUnicode.rhtml">this script</a> that I wrote.  I understand if you don&#8217;t want to put your E-Mail address into that form.  If you&#8217;re like me you don&#8217;t make a habit of putting your E-Mail address into strange web forms.  If I were you I wouldn&#8217;t put my E-Mail address into my form either.</p>
<p><br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.semi-sentient.com/2007/03/flytown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oven</title>
		<link>http://blog.semi-sentient.com/2007/03/oven/</link>
		<comments>http://blog.semi-sentient.com/2007/03/oven/#comments</comments>
		<pubDate>Sat, 10 Mar 2007 05:52:44 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://blog.semi-sentient.com/2007/03/oven/</guid>
		<description><![CDATA[OvenOriginally uploaded by cheerfulstoic. Bad Ruby jokes: # The Enumerable Snowman yeti.each { &#124;y&#124; y.growl } Sorry&#8230; it&#8217;s late and I&#8217;ve been Rubying late into the night.]]></description>
			<content:encoded><![CDATA[<div class="flickr-image" style="margin-left: 10px; margin-bottom: 10px;"><a href="http://www.flickr.com/photos/cheerfulstoic/416174347/" title="photo sharing"><img src="http://farm1.static.flickr.com/164/416174347_2434c016a9_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br/><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/cheerfulstoic/416174347/">Oven</a><br/>Originally uploaded by <a href="http://www.flickr.com/people/cheerfulstoic/">cheerfulstoic</a>.</span></div>
<p>Bad Ruby jokes:</p>
<p># The Enumerable Snowman<br />
yeti.each { |y| y.growl }</p>
<p>Sorry&#8230; it&#8217;s late and I&#8217;ve been Rubying late into the night.<br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.semi-sentient.com/2007/03/oven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.semi-sentient.com/category/geekery/feed/ ) in 0.22857 seconds, on Feb 6th, 2012 at 8:50 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 9:50 am UTC -->
