<?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>KrazyDad &#187; Jim&#8217;s Projects</title>
	<atom:link href="http://www.krazydad.com/blog/category/jims-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krazydad.com/blog</link>
	<description>Interactive art, experimental software toys, screensavers and games by Jim Bumgardner.</description>
	<lastBuildDate>Tue, 31 Aug 2010 06:21:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Hey KenKen fans!!  Meet Kennie&#8230;</title>
		<link>http://www.krazydad.com/blog/2010/08/hey-kenken-fans-meet-kennie/</link>
		<comments>http://www.krazydad.com/blog/2010/08/hey-kenken-fans-meet-kennie/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 23:31:44 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Puzzles]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=1053</guid>
		<description><![CDATA[Apparently, the paltry few KenKen puzzles published in the Times weren&#8217;t enough, so a number of you wrote to me asking for KenKen puzzles. I&#8217;m publishing a new kind of puzzle called a Kennie. It&#8217;s similar to a KenKen, but has a few minor differences. Kinda like those chocolaty sandwich cookies that aren&#8217;t exactly like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/kennies/"><img src="/img/kennie_block_preview.jpg" hspace=8 align="left" /></a>Apparently, the paltry few KenKen puzzles published in the Times weren&#8217;t enough, so a number of you wrote to me asking for KenKen puzzles.  </p>
<p>I&#8217;m publishing a new kind of puzzle called a <a href="/kennies/"><b>Kennie</b></a>.  It&#8217;s similar to a KenKen, but has a few minor differences.  Kinda like those chocolaty sandwich cookies that aren&#8217;t exactly like an Oreo&#8230;   Kennie puzzles don&#8217;t include those cheap freebie squares that make the puzzle easier to get started.  Personally I prefer &#8216;em that way, since it makes the puzzle more satisfying to solve.  Your opinion may differ. </p>
<p>Unlike the Times, I&#8217;m not stingy:  <a href="/kennies/">Here are literally thousands of Kennie puzzles, for you to print and enjoy.</a>  </p>
<p>Happy solving!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2010/08/hey-kenken-fans-meet-kennie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colr Pickr</title>
		<link>http://www.krazydad.com/blog/2010/06/colr-pickr/</link>
		<comments>http://www.krazydad.com/blog/2010/06/colr-pickr/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 21:20:23 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=1050</guid>
		<description><![CDATA[I&#8217;m currently working on a significant update to my classic Colr Pickr. Stay tuned.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm5.static.flickr.com/4057/4720012509_6d045cde18.jpg" /></p>
<p>I&#8217;m currently working on a significant update to my classic <a href="/colrpickr/">Colr Pickr</a>.  Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2010/06/colr-pickr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mining juicy words</title>
		<link>http://www.krazydad.com/blog/2010/03/finding-juicy-words/</link>
		<comments>http://www.krazydad.com/blog/2010/03/finding-juicy-words/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 00:59:48 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Puzzles]]></category>
		<category><![CDATA[lexicons]]></category>
		<category><![CDATA[words]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=998</guid>
		<description><![CDATA[This weekend, I counted all the words on Project Gutenberg. This has been done before, notably, here. My script crawled most of the English language books on Project Gutenberg (about 20,000 titles), and counted how often each word appears, and how many books each word appears in. The script ran for about 20 hours. You [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend, I counted all the words on Project Gutenberg.  This has been done before, notably, <a href="http://en.wiktionary.org/wiki/Wiktionary:Frequency_lists">here</a>. My script crawled most of the English language books on Project Gutenberg (about 20,000 titles), and counted how often each word appears, and how many books each word appears in.  The script ran for about 20 hours.  </p>
<p>You can download the resulting list, which contains over a million words, <a href="/gut_wordlist_bookcnts.txt.gz">here</a>.  Each line shows how many books each word appears in.  A second list, which shows how many times each word occurs in total, can be downloaded <a href="/gut_wordlist_totals.txt.gz">here</a>.</p>
<p>I prefer the list that shows the number of books each word appears in.  It has the effect of pushing down words which appear a lot in only a small number of books, such as the names of fictional characters.</p>
<p>I compiled these lists because I wanted to make some word puzzles.  There are lot of free lexicons, or word lists out there, such as the <a href="http://www.bytefusion.com/products/op/dm/enable.htm">ENABLE lexicon</a> which is commonly used for scrabble-like games.  However, for the purposes of making crosswords, word searches, and other puzzles, it&#8217;s very helpful to restrict the words to more commonly used ones, and to know how common each word is.  </p>
<p>The popularity number of the word correlates well with how &#8216;juicy&#8217; the word is, or appropriate for a word puzzle.  For example, using my book count list, words at the very top of the list are quite boring structure words.</p>
<p>18374 by<br />
18054 and<br />
18023 the<br />
17994 of<br />
17963 a<br />
17955 to<br />
17946 in<br />
17916 from<br />
17912 with<br />
17909 for</p>
<p>As we head towards 10,000, we encounter most of the common bread and butter words.  These are also kind of boring.</p>
<p>15095 case<br />
15094 none<br />
15091 taking<br />
15070 seem<br />
15060 able</p>
<p>10776 buried<br />
10771 report<br />
10767 asking<br />
10767 clean<br />
10764 occurred</p>
<p>As we head from 10,000 to 200, the words get increasingly more interesting.</p>
<p>9781 plainly<br />
9781 flat<br />
9779 proofreading<br />
9777 passion<br />
9775 approaching<br />
.<br />
.<br />
.<br />
5999 commanding<br />
5998 channel<br />
5997 translated<br />
5996 metal<br />
5996 sixth<br />
.<br />
.<br />
.<br />
1999 conflicts<br />
1999 spider<br />
1999 bleed<br />
1999 discrimination<br />
1998 lends<br />
.<br />
.<br />
.<br />
599 studs<br />
599 niggardly<br />
599 symbolized<br />
599 engraven<br />
599 palliate</p>
<p>There is a sweet spot with a lot of very juicy, but still familiar words in the 300s.  If I were selecting words for puzzle construction, this is the area I would favor.  After the 300s, the words start to get increasingly more obscure.</p>
<p>359 pajamas<br />
359 dressings<br />
359 thievish<br />
359 anatomist<br />
359 ticks<br />
.<br />
.<br />
.<br />
200 darkish<br />
200 acclimated<br />
200 unfriendliness<br />
200 moveth<br />
200 undiscoverable</p>
<p>At the 200 mark, we&#8217;ve only covered about 38,000 words.  There are 1,236,759 words in the list total, so we are are still at the top of a very long tail!  Below 200, words get increasingly obscure,  archaic, misspelled and foreign.   We also hit a lot of proper nouns.  Still there are a few legit, but rarely used words mixed in.</p>
<p>99 tingeing<br />
99 marshmallows<br />
99 somethings<br />
99 feelest<br />
99 petrify<br />
.<br />
.<br />
.<br />
50 anim<br />
50 makeweight<br />
50 godard<br />
50 seraglios<br />
50 vun<br />
.<br />
.<br />
.<br />
25 admiralties<br />
25 vanni<br />
25 senescent<br />
25 futrelle<br />
25 erechtheum<br />
.<br />
.<br />
.<br />
10 foretime<br />
10 chargee<br />
10 cabinetmaking<br />
10 pneumonias<br />
10 olivo<br />
.<br />
.<br />
.<br />
5 guisers<br />
5 hairing<br />
5 hipless<br />
5 turms<br />
5 arpasia<br />
.<br />
.<br />
.<br />
1 raskolink<br />
1 baetan<br />
1 succories<br />
1 denudement<br />
1 trotudas</p>
<p>UPDATE, March 23rd: </p>
<p>I measured the average book-count of the words in all the New York Times crossword puzzles since 1997 (their online archive goes back to about 1996).  For each puzzle, I averaged the book-counts of the words that appear in my list (typically, about 80%-90% of the words in each puzzle).  For most years, the average book-count falls between 2,008 and 2,180, and from year to year, the results can be surprisingly consistent.  </p>
<p>Here are my averages:</p>
<p>1997 2070.93<br />
1998 2154.20<br />
1999 2113.24<br />
2000 2180.20<br />
2001 2131.94<br />
2002 2141.65<br />
2003 2115.29<br />
2004 2114.60<br />
2005 2034.01<br />
2006 2026.20<br />
2007 2035.31<br />
2008 2033.90<br />
2009 2008.76</p>
<p>There appears to be a marked shift towards more obscure words from 2004 &#8211; 2005.</p>
<p>Interestingly, there are only about a thousand words that fall in that NYT-Crossword sweet spot.  Here they are:</p>
<blockquote><p>
pondering squarely pregnant paws scold cordiality cooler venturing variance hypothesis forefinger economic untimely dubious shepherds secular minimum pallor degrading fastidious desertion foretold heath discourage wintry wrenched peas raiment pensive reproof ankle flattened moore fisherman peninsula beholding identification wheeling maine unhappiness richmond frantically enhanced gorge extremities joyously stronghold hissed nut bowels repressed lending feasts cavern unfold memoirs onto invade ark structures forbids liver correctness abashed stumble clerical orchestra terrifying enchantment incomparable collapsed paler ballad recalls slack restraining motley rippling circled ardor lambs flapping shrug prettily avarice aforesaid educate glorified acquiescence acquitted dungeon blasted objective persuading fray forts statistics gathers levelled moderately splashed mirrors infected vacancy furs mates grating precipitate confiding ton grazing dispositions partnership momentarily framework attorney regulating fathom nimble ravages surpassing quieted hitting sustaining practiced darkening walled withdrawal unawares exceptionally howard fiend queens horseman dictates quarry waged coral pleasanter badge assurances subsistence italians manned alphabet bower reposed preachers variously anticipating arabian melodious slate hourly bled dejected dreamt discordant stormed purchasing sap unreal parlour dam couples humblest postpone butterflies chaps yells paw freeze forfeit eclipse advertisements dozens quitting romances uphold drunkenness agonies guinea forge tearful twig dispatched windy tidy bitterest dogged wastes disconcerted irritable tunnel contentedly backing uniforms gunpowder mineral pigeons repel pail territories ransom stab draped redemption individually medicines azure bony scissors ma invariable supplement repulsed entreaty capitals forbearance adviser unavoidable raining enlighten holiness countenances untold coil mutilated dancers thankfulness buzzing armor spoiling narrower adhere ardently undergoing indomitable devoting friction thrive ravine diverse floats hazy twain aspire visage quarrelling womanly shields initiative disappointments elaborately civility disobedience splashing festivities disasters bustling vicissitudes monopoly helen raid marshes fitful consigned illustrates apprehensive conscientiously fabulous colleagues profited wharf grievances countryman laurels diversity monastery target pounded conspicuously myriads hostilities atrocious vase overturned redoubled mountainous swallowing layer adherents sparing parchment trampling imaginations laughingly fictitious jet widows picnic prospective valour absorb yankee chocolate courtiers canoe chasm biscuit stairway jars adjustment ancestral roving catholics psychological milder adapt woollen loathsome rowing barracks signing banker grunted slumbers garret midsummer ignoble savings substantially resuming fostered mane prophesied forfeited swan loosed fortifications gloriously vouchsafed oratory jovial crescent stinging stamps commissions lanterns caresses merest universities insurance draughts surmise rebuked valid barbarians revolted humbled emerald contradicted halfway marvels excel nervousness pier stall illustrating grades surly utensils chagrin colouring murders northwest widening pitiable keener kent devilish conventions carving studded mat dwarf weights youngster compels resounded dispatch fried completeness dismissal undecided aiding dimmed plied illumined extensively needing graphic embroidery glimmering sash sauntered sniffed grasses pitcher rapt unerring offences exiled sucked raced fig streaks halo religions rhetoric advising fraught canadian hampered riders profile incur excellency benediction gregory particles diminutive chemistry infants lounging knocks elated mien propped reverent antagonism wade exhaust unduly needy girlish hoarsely mortified hercules initials scar flowery reproduction absorption excelled stains facilitate modify slap grounded wig lavished magnified agility hugh sponge irishman cultivating stalked fumes metals arena augmented enjoined fibre flushing biscuits attends nick soaring follower boom surest rhine proclaiming snatching paramount alluring clambered loom poultry intoxication slaughtered perplexing impaired sleek patting conceited squirrel inventor notably swells ripened click ethics fairies adventurer summoning vocal jove scolded dwellers uniformity sarah prairie capacities unfriendly uttermost hens gear penance unbearable sewed legion disposing mistook prestige organic unparalleled invaders laboriously trench steeped distraction dipping groped slackened beak salutary summits intrusted inanimate flowering reiterated receding jagged adversity safeguard unacquainted stalks axes alps hip mortality perverse apathy weighs julius witnessing epithet childlike lunatic pretends convict oblivious restlessly yarn offense chests runaway dilapidated unfailing verdure cloudless ferry vista toll prettier unearthly enlist feudal penitent scarf encamped dedication mahogany relinquish residents salmon payments meditations tragedies sufferers concludes arnold smoky altars squadron pursuers sagacious abnormal bernard reeled strangled cherry planets combatants bunches feathered fearlessly therefrom canst precipitated likelihood potato conquests intensified columbus hairy slapped scrupulously immemorial buoyant graver warranted senator excesses invading complimentary turks highness factors vindictive shovel tenderest uncanny augustus propositions detection efficacy artful iniquity emancipation listless indolence lease purified grease unoccupied encounters treasurer hereby narrated revel impetus legislative wailed mexican disappoint impertinence abstraction pulls submissive surged falsely sheriff wilder underwent submitting prisons implicitly treasured sculpture spheres trailed impassioned exacted converts pepper coloring noiseless conflagration relatively maddened precincts versed quartered culprit tunes torments birch fairness unsteady terminate offender citadel ado compiled
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2010/03/finding-juicy-words/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mayor of the North Pole</title>
		<link>http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole/</link>
		<comments>http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 22:12:11 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=960</guid>
		<description><![CDATA[[NOTE: I've posted some recent developments at the bottom. ] I&#8217;ve been blatantly cheating at foursquare for the past week. I didn&#8217;t mean to start the week this way. Most of my friends know me as a responsible father who occasionally plays piano at local open mics, and makes puzzles. Last Sunday, while checking into [...]]]></description>
			<content:encoded><![CDATA[<p>[NOTE: I've posted some recent developments at the bottom. ]</p>
<p><a href="http://foursquare.com/user/doctor_cheat"><img src="/img/mayorships.jpg" align=left hspace=8 /></a>I&#8217;ve been blatantly cheating at <a href="http://foursquare.com/">foursquare</a> for the past week.  I didn&#8217;t mean to start the week this way.  Most of my friends know me as a responsible father who occasionally plays piano at local open mics, and makes puzzles.</p>
<p>Last Sunday, while checking into the Hill Street Cafe in Burbank using the foursquare iPhone app, I idly wondered, &#8220;Can I become the mayor of the North Pole?&#8221;  So I tried checking into a nearby 7-Eleven.  It worked.  I tried the Griffith Observatory about 5 miles away.  It worked.  I tried Disneyland, which is about an hour away.  It didn&#8217;t work, but I now had an afternoon hacking project.</p>
<p>When I got home, I looked to see if foursquare had an api.  <a href="http://groups.google.com/group/foursquare-api/web/api-documentation">They did</a>.  So I found a venue that was close  to the  North Pole, the &#8220;Top of the World&#8221; hotel in Barrow Alaska, and checked myself into it.  </p>
<p>This can be done on the command line using the curl program, like so:</p>
<p>curl -u EMAIL:PASSWORD -d &#8220;vid=993842&#8243; http://api.foursquare.com/v1/checkin</p>
<p>Try it!  You&#8217;ll need to substitute in your own email and password.  993842 is the venue id of the &#8220;Top of the World&#8221; hotel, as can be seen in the URL of this page:</p>
<p><a href="http://foursquare.com/venue/993842">http://foursquare.com/venue/993842</a></p>
<p>This venue wasn&#8217;t actually in foursquare&#8217;s database, so I added it, using the &#8216;addvenue&#8217; call.  I also added a venue for the actual North Pole.  It turns out it&#8217;s much easier to become the mayor of something if nobody else has ever checked into it.</p>
<p>[ Edit: Some folks have rightly pointed out that you can easily do the same thing with the mobile website (mobile.foursquare.com).  For my purposes, as you'll see in a moment, the API was more efficient... ]</p>
<p>Here&#8217;s the North Pole venue I made:</p>
<p><a href="http://foursquare.com/venue/995274">http://foursquare.com/venue/995274</a></p>
<p>Ultimately, I ended up adding a lot of venues.  I used Google Earth to create KML files of interesting venues, and wrote a script to import them all into foursquare. I did the same thing with Yelp.  I found that foursquare would rate-limit me if I added them too quickly, so I added them two and a half minutes apart.  Later, I found that by rotating among multiple accounts while adding venues, I could add them much more quickly.</p>
<p>At some point last week, I devolved into a 12 year old hacker, and I spent many spare hours (and my computer&#8217;s spare cycles) abusing the system with a set of scripts operating fake accounts.  Not only did I add new venues like the North Pole, but I started persistently checking into coveted landmarks, like the Statue of Liberty.  </p>
<p>What can I say?  It was fun, and foursquare&#8217;s incentives (badges and mayorships) spurred me on.  Incentives invite abuse, even from mild-mannered folks like me.  </p>
<p>Eventually I amassed a huge number of mayorships, spread among multiple accounts, including the Statue of Liberty, Mount Rushmore, the Lincoln Memorial, Stonehenge and the Taj Mahal, as can be seen in <a href="http://www.flickr.com/photos/krazydad/4360367353/">this screen snapshot</a>.</p>
<p>I wrote a script that would walk through a list of venue ids, and check into them one by one.  Then I created about 10 fake foursquare accounts, and had them take over different territories.</p>
<p>I created five <a href="http://foursquare.com/user/jm_intl">&#8220;Java Monkeys&#8221;</a> which grabbed about 120 different Starbucks in different regions (east, west, midwest, south, intl).  I identified and targeted hotly contested Starbucks by searching Twitter for <a href="http://search.twitter.com/search?q=ousted+starbucks">recent oustings</a>.  My script automatically visited those ones, to the consternation of the new mayors.</p>
<p>I created a <a href="http://foursquare.com/user/mstewart41">fake Martha Stewart</a> who checks into dollar stores and pawnshops when not visiting Martha Stewart Omnimedia and the set of her TV Show.  </p>
<p>I created a <a href="http://foursquare.com/user/simonc59">fake Simon Cowell</a> who visits massage parlors and gets lunch at Hotdog on a Stick when not visiting the Kodak theater.  </p>
<p>I created a <a href="http://foursquare.com/user/tchong38">fake Tommy Chong</a> who is mayor of 130 cannabis clinics. </p>
<p>I created a <a href="http://foursquare.com/user/sammy_davisjr">fake Sammy Davis Jr</a> who checks into casinos and bars in Las Vegas.  </p>
<p>I created <a href="http://foursquare.com/user/arandomnerd">a &#8220;random nerd&#8221;</a> who checked into a number of large campuses in the Silicon Valley.  </p>
<p>The &#8220;Java Monkeys&#8221; got the biggest reactions.  Foursquare users get far more irate when they lose mayorship of a Starbucks, as compared to a Statue of Liberty or Mount Rushmore.  People are much more attached to the small places they visit over and over, and have some personal investment in.  The smaller the venue, the bigger the value.</p>
<p>I started collecting badges as well, by checking into places that have tags like &#8220;karaoke&#8221;, &#8220;photo booth&#8221;, &#8220;gym&#8221; and so on.</p>
<p>I was able to get a swarm badge by monitoring Twitter for when a particular location got up to 40 check-ins (this happens at a couple of Tokyo train stations quite regularly) and then checking-in all my accounts at once to trigger a swarm (which occurs at 50 check-ins).   <a href="http://search.twitter.com/search.atom?q=I%27m+at+%2250+others%22+OR+%2240+others%22+OR+%2230+others%22+OR+%2220+others%22">This RSS feed is useful</a> for detecting impending swarms.</p>
<p>Finally, I started giving people free sailboats.  I found that if you checked into a venue tagged &#8220;boat,&#8221; you automatically get the awesome &#8220;I&#8217;m on a boat&#8221; badge; and unlike the other badges, it only requires a single check-in.  So I started identifying high-traffic places via the above Twitter search, and then adding the tag &#8220;boat&#8221;.  Suddenly, visitors to metropolitan airports and various sports arenas got <a href="http://search.twitter.com/search?q=boat+badge">free sailboats for Valentine&#8217;s Day</a>.</p>
<p>My juvenile crime spree is now over, and I&#8217;ve &#8220;laundered&#8221; my foursquare account, by transferring the credentials to a new one.  <a href="http://foursquare.com/user/jbum">This URL</a> used to go to the account that stole the Statue of Liberty, but now it goes to a new account, because foursquare allows you to reassign twitter accounts, and constructs the URL using your active twitter account.  </p>
<p><a href="http://foursquare.com/user/doctor_cheat">This is my original account, which is now inactive.</a></p>
<p>It seems clear that foursquare is going to have some massive authentication issues to deal with if they are going to grow larger than their current size.  Some things to consider:</p>
<p>1) Provide additional measures to detect that people actually are where they say they are.  I imagine this is not an easy problem to solve: if I send you a set of coordinates, it doesn&#8217;t mean I&#8217;m actually there.  At a minimum, they can measure the time of travel between successive check-ins by comparing the coordinates and time stamps.  If I&#8217;m traveling close to the speed of sound, something is clearly up.</p>
<p>2) Make it less easy to create fake accounts.  Right now, there&#8217;s not even a Captcha.  </p>
<p>3) Don&#8217;t construct a permanent-looking URL from a twitter account (which can be transferred to a different foursquare account).  This provides a method of &#8220;laundering&#8221; accounts.  </p>
<p>More generally, I think the combination of a poorly moderated and insecure folksonomy with incentives (e.g. badges, mayorships, free meals, etc.) is a fragile one.  The greater the incentives, the greater the motivation for cheating. </p>
<p>As it stands right now, foursquare has quite a few holes.  If I were a restaurateur or coffee shop owner, I would be very wary of giving free meals or lattes to foursquare mayors, unless the employees know the mayor by sight.</p>
<p>UPDATE</p>
<p>My story seems to be getting some picked up in a few places.  Here&#8217;s <a href="http://search.twitter.com/search?q=foursquare+cheating+OR+hack+OR+hacking+OR+jbum+OR+krazydad+OR+techmeme+OR+pole">some reaction on Twitter</a>.  Mostly positive, I think, although a few foursquare insiders <a href="http://www.facebook.com/s4xton?v=feed&#038;story_fbid=216433914948">were a bit put out</a>, as one would expect.  <a href="http://twitter.com/Dens">Dennis Crowley</a> was quite nice about it, thank god.  </p>
<p>If I stole your Starbucks, <i>I&#8217;m really sorry about it</i>, and I will gladly buy you a latte, if you find me in a Starbucks.</p>
<p>UPDATE #2: My story was covered on <a href="http://techcrunch.com/2010/02/16/foursquare-cheating/">TechCrunch</a> this morning.  MG Siegler was mostly on-the-money, except for this bit:</p>
<blockquote><p>
The problem, with regard to false check-ins, is that the only solid way to do this is to a check-in to your actual GPS coordinates. The problem with this, as Gowalla knows all-too-well, is that it can be hard (and in some cases impossible) to get GPS data while users are indoors.
</p></blockquote>
<p>Um, not exactly.  The problem is that you can&#8217;t trust the person who&#8217;s sending GPS coordinates to send the correct ones.  This is a <i>tough, tough</i> problem, and it will become increasingly obvious as incentives increase.</p>
<p>UPDATE #3: Foursquare founder <a href="http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole/#comment-42617">Dennis Crowley</a> has provided some thoughtful commentary in the comments, below.</p>
<p>UPDATE #4: The <a href="http://latimesblogs.latimes.com/technology/2010/02/confessions-of-a-foursquare-cheater.html">LA Times</a> interviewed me and got a few more details&#8230;</p>
<p>UPDATE #5: Alison Cummings of the Montreal Social Media Examiner posted <a href="http://www.examiner.com/x-30565-Montreal-Social-Media-Examiner~y2010m2d17-Foursquare-King-of-North-Pole-controversy-more-about-need-for-recognition-than-cheating">this reaction</a> to the whole brouhaha.  I&#8217;m going to call her &#8220;perceptive&#8221; because she called TechCrunch&#8217;s tone &#8220;whiny&#8221;. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole/feed/</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
		<item>
		<title>Musical Chess</title>
		<link>http://www.krazydad.com/blog/2009/05/musical-chess/</link>
		<comments>http://www.krazydad.com/blog/2009/05/musical-chess/#comments</comments>
		<pubDate>Thu, 21 May 2009 10:00:47 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[machines]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=717</guid>
		<description><![CDATA[You&#8217;re looking at a hybrid music/chess system that I&#8217;ve created, in preparation for a concert of new and experimental music in late June. The chessboard on the left (a Novag Citrine) is wired to the computer via a serial/USB cable. When people play on the chessboard, the computer monitors their moves, and attempts to figure [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/img/sb_work_progress.jpg" /><br />
You&#8217;re looking at a hybrid music/chess system that I&#8217;ve created, in preparation for a concert of new and experimental music in late June.   The chessboard on the left (a <a href="http://www.chessbaron.biz/chess-CMD2014.htm">Novag Citrine</a>) is wired to the computer via a serial/USB cable.  When people play on the chessboard, the computer monitors their moves, and attempts to figure out the best possible response.  As the computer does this, it produces music (by sending MIDI events to sampling software on the same computer).  The music is (at the moment) a fairly literal translation of what the computer is thinking.  The idea is to put the listener &#8220;inside the mind&#8221; of a chess computer.  This project merges two of my great lifetime obsessions: Music and Computer Chess (I&#8217;m not much of a chess player, but I&#8217;ve been making computer chess software for years&#8230;).</p>
<p>For the concert, I have engaged the services of two performers who are going to reenact a  famous match between Garry Kasparov and IBM&#8217;s Deep Blue computer (shown below).  My piece is called:</p>
<p><b>Kasparov vs. Deep Blue, 1997, Game 6</b></p>
<p><img src="/img/kasparov_deepblue.jpg" /></p>
<p>As the performers play this historically significant chess game, the first match in which the world human champion lost to a machine under tournament conditions, my musical chess system will analyze the moves, and you will hear the analysis.  Since my own chess software is not nearly as good as Deep Blue, I have named it &#8220;Shallow Brown&#8221; &#8212;  you figure it out!  Coincidentally, &#8220;Shallow Brown&#8221; is also the title of a sea chanty (perhaps inspired by the bilge water being pumped while it was sung&#8230;).</p>
<p>There have been an enormous number of challenges involved in making this system work, and much work remains.  While solving the myriad technical issues, I haven&#8217;t had much time to work on the musicality of this piece &#8211; but I have a few more weeks to go yet!  With that disclaimer out of the way, I offer a brief audio sample of my chess engine, as it thinks about a chess position.</p>
<p><a href="/ShallowBrownSample.mp3">Shallow Brown &#8211; The Musical Chess Engine</a></p>
<p>Here&#8217;s a longer sample &#8211; about a minute from the middle of the Kasparov/Deep Blue game, after I did a little work on assigning different instruments to the two opponents.</p>
<p><a href="/Kasparov_v_DeepBlue_Excerpt2.mp3">Kasparov vs. Deep Blue, Excerpt</a></p>
<p>Kasparov gets mostly string sounds, and is heard more from the left channel.  Deep Blue gets more mallet instruments, and is heard more from the right.  I play the Deep Blue analysis a little deeper into the look-ahead tree, which produces more rapid-fire (and robotic-sounding) ostinati.</p>
<p>This piece is just one of a number of interesting new works, all inspired by machines of different kinds, to be performed, Friday Evening, June 26th in Los Angeles.</p>
<blockquote><p>
<a href="http://www.newtownarts.org">NewTown</a> Presents<br />
<i>Cranks, Cams and Computers<br />
New Machines, New Music</i><br />
Friday, June 26</p>
<p>GLAD (Greater L.A. Agency on Deafness)<br />
2222 Laverna Avenue,<br />
Eagle Rock, CA 90041</p>
<p>Installations open 6:00PM<br />
Performances at 8:00PM</p>
<p>Admission $10.00<br />
$5.00 NewTown and Eagle Rock Center for the Arts members</p>
<p>Installations by<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.krazydad.com/">Jim Bumgardner</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.carlburmeister.net/">Carl Burmeister</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.2-3-2.com">Joe Cantrell</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://spinalfrog.com/music/musicbox.html">Daniel Corral<br />
&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://www.forcedexposure.com/artists/potts.joe.html">Joe Potts</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.audiomobiles.com/">Gary Raymond</a></p>
<p>Performances by<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.krazydad.com/">Jim Bumgardner<br />
&nbsp;&nbsp;&nbsp;&nbsp;</a><a href="http://www.carlburmeister.net/">Carl Burmeister</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://crankensemble.com/">The Crank Ensemble</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.frankpahl.net/frankpahl/Back_Of_Beyond.htm">Frank Pahl</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.garyraymond.us/">Gary Raymond</a></p>
<p>NewTown House Band<br />
&nbsp;&nbsp;&nbsp;&nbsp;Joe Berardi<br />
&nbsp;&nbsp;&nbsp;&nbsp;Lewis Keller<br />
&nbsp;&nbsp;&nbsp;&nbsp;Jessica Catron<br />
&nbsp;&nbsp;&nbsp;&nbsp;William Roper</p>
<p>Information:<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.newtownarts.org">NewTown</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;(626) 398-9278<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.newtownarts.org">www.newtownarts.org</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:info@newtownarts">info@newtownarts</a></p>
<p>Made possible by grants from Los Angeles County Board of Supervisors through the Los Angeles County Arts Commission, City of Los Angeles Department of Cultural Affairs and NewTown Members’ donations.</p>
</blockquote>
<p>Here&#8217;s a <a href="http://www.facebook.com/event.php?eid=81026737930">Facebook Event Page</a> I&#8217;ve set up for the concert.</p>
<p>I should mention that in addition to the chess piece, I&#8217;m also working on an installation of a number of my <a href="http://www.coverpop.com/whitney/">Whitney Music Boxes</a> for this show. </p>
<p>So&#8230; if machines, cranks, cams, pianolas, and strange musical machines turn you on, and you&#8217;re going to be in the Los Angeles area &#8212; keep the evening of June 26th open! </p>
<p>UPDATE:</p>
<p>VENUE CHANGE</p>
<p>Due to circumstances beyond anyone’s control, there has been a last minute change of venue for Friday’s show, originally scheduled for Center for the Arts, Eagle Rock.</p>
<p>New Location:</p>
<p>GLAD (Greater L.A. Agency on Deafness)<br />
2222 Laverna Avenue, Eagle Rock, CA 90041</p>
<p>This is just a few blocks away from the original location.</p>
<p>UPDATE:</p>
<p>Video of the performance can be viewed <a href="/kasparov_vs_deepblue/">here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/05/musical-chess/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Mirror Morphs</title>
		<link>http://www.krazydad.com/blog/2009/04/mirror-morphs/</link>
		<comments>http://www.krazydad.com/blog/2009/04/mirror-morphs/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 05:39:32 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Good reads]]></category>
		<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Linkydinks]]></category>
		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=694</guid>
		<description><![CDATA[I found this old video of mine while looking at some old backup CDs. Back in the early 90s, while playing with Gryphon Software&#8217;s &#8220;Morph&#8221; software, I accidentally stumbled upon a technique for making a still photograph or painting look like a hologram. The basic idea is that you make a mirror image of the [...]]]></description>
			<content:encoded><![CDATA[<p><embed src="/MirrorMorph.swf" quality="high" bgcolor="#ffffff" width="206" height="270" name="MirrorMorph" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
<p>I found this old video of mine while looking at some old backup CDs.  Back in the early 90s, while playing with Gryphon Software&#8217;s &#8220;Morph&#8221; software, I accidentally stumbled upon a technique for making a still photograph or painting look like a hologram.  The basic idea is that you make a mirror image of the photo, by flopping it horizontally in Photoshop.  Then you morph from the original to the mirror image, using still-image morphing software, matching the left-eye to the flopped right-eye (which now looks like a left-eye), and so-on.  The result is that the image in the photo looks like it is turning it&#8217;s head slightly, as you can see.   There&#8217;s a point in the middle of the sequence where the face is completely symmetrical.  One of my earliest tests of this method was done with <a href="http://jbum.com/demos/mirror.html">an image of the Mona Lisa</a>.  It also works nicely with the portraits on currency.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/04/mirror-morphs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make your own music box kit</title>
		<link>http://www.krazydad.com/blog/2009/04/make-your-own-music-box-kit/</link>
		<comments>http://www.krazydad.com/blog/2009/04/make-your-own-music-box-kit/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 21:43:42 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Linkydinks]]></category>
		<category><![CDATA[music machines automatic circles]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=678</guid>
		<description><![CDATA[The other day I found this DIY music box kit over at Think Geek, but they were out of stock. So I found a supplier in the UK, called Grand Illusions. They actually carry two models, including one with a larger number of tines (20 tines covering a 2 1/2 octave diatonic range ). Naturally [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grand-illusions.com/acatalog/Large_Music_Box_Set.html"><img src="/img/music_box_kit.jpg" align=left hspace=8 /></a>The other day I found this <a href="http://www.thinkgeek.com/geektoys/science/8f7f/">DIY music box kit</a> over at <a href="http://www.thinkgeek.com/geektoys/science/8f7f/">Think Geek</a>, but they were out of stock.  </p>
<p>So I found a supplier in the UK, called Grand Illusions.  They actually carry two models, including <a href="http://www.grand-illusions.com/acatalog/Large_Music_Box_Set.html">one with a larger number of tines</a> (20 tines covering a 2 1/2 octave diatonic range ). Naturally I got the big one, and  a packet of extra blank strips. :)</p>
<p>Now I&#8217;m wondering if I can use my Mindstorms parts to build a Lego robot that will punch the holes and turn the crank, so I can automatically convert MIDI files to music box strips&#8230;  We&#8217;ll see.  Right now I&#8217;m just having fun making stripey patterns.</p>
<p>UPDATE</p>
<p><img src="/img/music_box_etude1.jpg" align=right hspace=8 />Well here&#8217;s my first hand-punched piece (aside from the stripey pattern shown above) : A little music box etude based on an old piano piece of mine.  Took about an hour to plan and an hour to punch.</p>
<p><a href="/MusicBoxEtude_1.mp3">Music Box Etude #1</a></p>
<p>I found it helpful to place dots on the paper with a red marker first, so I didn&#8217;t have to do too much thinking about alignment when punching the holes.   When I was done punching the holes, the table was littered with little notes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/04/make-your-own-music-box-kit/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>HensTooth Discs</title>
		<link>http://www.krazydad.com/blog/2009/04/henstooth-discs/</link>
		<comments>http://www.krazydad.com/blog/2009/04/henstooth-discs/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 05:31:10 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Linkydinks]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[circles]]></category>
		<category><![CDATA[machines]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[whitney]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=660</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.henstoothdiscs.com/About.htm"><img src="/img/regina_2.jpg" align=left hspace=8" /></a><a href="http://www.henstoothdiscs.com/About.htm">HensTooth Discs</a> is a small business &#8211; essentially a one-man operation, located in New Hampshire that specializes in cutting discs for antique music boxes.</p>
<p>Owner <a href="http://www.henstoothdiscs.com/About.htm">Jack Perron</a> seems to offer a valuable formula for having a happy future:  <em>Find something you love that your friends think is a little weird.  Pursue it with dogged determination.</em>  As a result of Jack&#8217;s passion for putting new music on old music boxes, he has developed a considerable amount of expertise on the subject.  People come to him from the world over to get new discs for their beautiful machines.  A little eccentrism is a good formula for success, don&#8217;t you think?</p>
<p>Icelandic singer/genius <a href="http://en.wikipedia.org/wiki/Bj%C3%B6rk">Björk</a> came to him when she wanted to write some music box music for her 2001 album <a href="http://en.wikipedia.org/wiki/Vespertine">Vespertine</a>.  The track <a href="http://www.youtube.com/watch?v=BaZHkAmEvNw">&#8220;Frosti,&#8221;</a> from that album features a recording of one of Jack&#8217;s discs, specially made for Björk, and not only recorded for the album, but used on tour, and his discs appear elsewhere on the album as well.  I didn&#8217;t know this until recently, and had assumed the recording was a digital synthesizer.   Such is the effect that digital technologies have on the music industry.  We recognize quality when we hear it, but we don&#8217;t know from whence the quality comes.</p>
<p>But the quality of Jack&#8217;s discs certainly shines through in this live performance, recorded at the Royal Opera House.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/BaZHkAmEvNw&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/BaZHkAmEvNw&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>At the moment, Jack has been working with me to produce a disc by which I&#8217;ll be able to play a more tangible version of my composition <a href="http://coverpop.com/whitney/">Whitney Music Box</a> (which people sometimes mistake for a historical recreation of a piece of John Whitney&#8217;s music- it&#8217;s actually a piece of Whitney&#8217;s motion graphics DNA that I have set to music.).</p>
<p>Jack has been absolutely wonderful to work with, and I hope he can cut a few Whitney-discs for other fans of the piece, something I am sure he&#8217;d be glad to do.  The pattern on the discs is quite beautiful, although we&#8217;re both a bit worried that some antique music boxes may not be able to perform the piece in it&#8217;s entirety, because the first chord involves playing every tine on the jukebox at the same time, and most mechanical jukeboxes aren&#8217;t strong enough to manage it.</p>
<p>Look here for updates (and recordings!) of the progress of this fun little project, one of several I&#8217;m currently working on related to mechanical music. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/04/henstooth-discs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Composing for Mechanical Instruments</title>
		<link>http://www.krazydad.com/blog/2009/04/composing-for-mechanical-instruments/</link>
		<comments>http://www.krazydad.com/blog/2009/04/composing-for-mechanical-instruments/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 17:34:24 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[Linkydinks]]></category>
		<category><![CDATA[amica]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[composing]]></category>
		<category><![CDATA[instruments]]></category>
		<category><![CDATA[machines]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[orchestrion]]></category>
		<category><![CDATA[toys]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=586</guid>
		<description><![CDATA[Oh, I&#8217;ve been bitten by this mechanical music bug big time. I&#8217;m now working on composing some new music for an orchestrion. This will be no mere weekend-long project (as most of mine tend to be), and hopefully I can share some audio snippets with you as work progresses. I imagine most of you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, I&#8217;ve been bitten by this mechanical music bug <i>big time</i>.</p>
<p>I&#8217;m now working on composing some new music for an <a href="http://en.wikipedia.org/wiki/Orchestrion">orchestrion</a>.  This will be no mere weekend-long project (as most of mine tend to be), and hopefully I can share some audio snippets with you as work progresses.</p>
<p><a href="http://en.wikipedia.org/wiki/Orchestrion"><img src="/img/Orchestrion_Sample_75.jpg" align=left hspace=8 /></a>I imagine most of you don&#8217;t know what an <a href="http://en.wikipedia.org/wiki/Orchestrion">orchestrion</a> is.  It&#8217;s a kind of automatic or mechanical music instrument that combines features found in other mechanical instruments to make a whole &#8220;orchestra&#8221;: piano, organ ranks and percussion.  In the early 1920s, orchestrions were a relatively common component of dance halls and amusement arcades, but they, and most other automatic instruments were largely displaced by the economics of radio and higher quality recordings, which could deliver a greater variety of music much more inexpensively.</p>
<p>Most people associate the sound of orchestrions with carnivals, perhaps because antique carousel rides sometimes use them (or band organs, which are similar) to provide the music.  They also tend to evoke &#8220;old timey&#8221; associations, because the type of music typically played on them often dates from the early 20th century.  Here&#8217;s a sample:</p>
<p><a href="http://www.musicrolls.com/cb/sofi-cds/iwant30.mp3">I Want to be Happy, performed by SOFI, arranged by Craig Brougher</a></p>
<p>However, I have a strong (and quite possibly insane) belief that these associations are too narrow, and that the musical potential of these instruments is much wider.  I believe they are capable of making less anachronistic sounds that can be more deeply felt by the listener.  This is the counterpart to my belief that music composed by (or with the aid of) machines is capable of greater emotional affect in the listener than the dreck produced by <a href="http://en.wikipedia.org/wiki/Songsmith">Microsoft Songsmith</a> or <a href="http://en.wikipedia.org/wiki/Band-in-a-Box">Band-in-a-Box</a>.</p>
<p>As a long time practitioner of mechanical composing &#8211; that is, using machines as an aid to composition, I think the most appropriate performer for an automatic composition is an automatic instrument.  To date, I&#8217;ve used computers a lot, but computers don&#8217;t have huge ranks of organ pipes and triangles.</p>
<p>There&#8217;s no denying that pretty much every Orchestrion recording I&#8217;ve heard is a little silly, and there&#8217;s nothing wrong with that!  Seriousness, like utility, is overrated (see <a href="http://www.krazydad.com/blog/2007/06/24/utility-is-overrated/">previous post</a> on this subject).</p>
<p><a href="http://www.musicrolls.com/cb/sofi-cds/the-sofi-page.html"><img src="/img/SOFI_facade_75.jpg" align=right hspace=8 /></a>The Orchestrion I&#8217;m composing for, <a href="http://www.musicrolls.com/cb/sofi-cds/the-sofi-page.html">SOFI,</a> is the inspired creation of Craig Brougher, a mechanical instrument specialist who built her in Kansas City.  SOFI can produce piano, organ, xylophone and various percussion sounds. </p>
<p>Amusingly, Craig and I have musical tastes that are from very different corners of the universe, but we both agree that Orchestrions are capable of far more than carnival novelties.  I&#8217;ll be preparing MIDI scores here in Los Angeles, which Craig will test and record in Kansas City.</p>
<p>I&#8217;m planning a piece for SOFI that will contain (significantly more elaborate) versions of the visual-process-music techniques I developed for my <a href="http://www.coverpop.com/whitney/">Whitney Music Box</a> and <a href="http://www.coverpop.com/wheelmusic/">Wheel Music</a>.   </p>
<p>This music probably won&#8217;t be as pleasant to listen to as I would like it to be.  This is one of the reasons I use visual animations with my music.  I think the visuals help provide an explanation for what is going on, and help the ear anticipate what is going to come next.</p>
<blockquote><p>“The ear tends to be lazy, craves the familiar and is shocked by the unexpected; the eye, on the other hand, tends to be impatient, craves the novel and is bored by repetition.”<br />
W. H. Auden</p></blockquote>
<p>My paraphrase of that quote is &#8220;The eye likes surprise but the ear likes comfort.&#8221; </p>
<p>My solution to that problem is to provide visual scores with my more complex music.   I started this practice in college with a long tape loop piece called &#8220;Wound Room,&#8221; although at the time I didn&#8217;t have the means to synchronize the score display with the music.  I don&#8217;t know if the technique works, but it certainly seems to have garnered my Whitney pieces more appreciative listeners than if I had simply released the audio tracks and explained them in words.  People like a good show.</p>
<p>Combining visual process music with an orchestrion should make a fun, noisy, and anachronistic show!   Sadly, Orchestrions are not exactly what you would call &#8220;portable,&#8221; but I&#8217;ll climb (or haul) that mountain when I get to it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/04/composing-for-mechanical-instruments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.musicrolls.com/cb/sofi-cds/iwant30.mp3" length="220525" type="audio/mpeg" />
		</item>
		<item>
		<title>A Twitter Honeypot</title>
		<link>http://www.krazydad.com/blog/2009/03/a-twitter-honeypot/</link>
		<comments>http://www.krazydad.com/blog/2009/03/a-twitter-honeypot/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 03:21:28 +0000</pubDate>
		<dc:creator>jbum</dc:creator>
				<category><![CDATA[Jim's Projects]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.krazydad.com/blog/?p=580</guid>
		<description><![CDATA[On Twitter, there are a lot of bots that will auto-follow you if you say certain magic words. This is easily accomplished using the Twitter API &#8211; I&#8217;ve done it for fun (try saying &#8220;Beetlejuice&#8221; on twitter), and I&#8217;m definitely not the first. I&#8217;m sure some of you have experienced being mysteriously followed on twitter [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/img/honey_sample.jpg" align=left hspace=8 />On Twitter, there are a lot of bots that will auto-follow you if you say certain magic words.  This is easily accomplished using the Twitter API &#8211; I&#8217;ve done it for fun (try saying &#8220;Beetlejuice&#8221; on twitter), and I&#8217;m definitely not the first.  I&#8217;m sure some of you have experienced being mysteriously followed on twitter by a robotic-looking stranger.</p>
<p>I thought it would be interesting to measure the level of activity, so I made a &#8220;Honeypot Bot&#8221; script, that uses the twitter account <a href="http://twitter.com/honeypotbot/">HoneyPotBot</a>.</p>
<p>Every minute and a half, this bot recites a collection of words which come from a dictionary.  In addition to common English words, the list includes celebrity names, the names of music acts, place names, and the names of all the companies in the S&#038;P 500.  Those words are the honey that attract the bots &#8211; scripts other people have written that are targetting certain keywords, or scripts that just auto-follow people at random.</p>
<p>I&#8217;ve been running the Honeypot Bot since March 26th, and as of this writing (March 31), it has collected 152 followers.  If you look at the account, you&#8217;ll see fewer followers, because some of the accounts have been invalidated by twitter, and some have &#8216;unfollowed&#8217; after a few hours.</p>
<p>If you look at the accounts, you&#8217;ll see that most of them have much bigger &#8220;following&#8221; lists than &#8220;follower&#8221; lists, which is a telltale sign of a auto-follower script at work.  Looking at the lists of people these bots are following, you can identify the words the bots are interested in, which include</p>
<p>airplane<br />
ballet<br />
Beckett<br />
Berlin<br />
breakfast<br />
Brisbane<br />
chiropracter<br />
cinema<br />
coed<br />
Deepak Chopra<br />
Dr Phil<br />
dressage<br />
flexible<br />
frugal<br />
gallop<br />
golf<br />
harpo<br />
kobayashi<br />
moroccan<br />
Oprah<br />
poker<br />
Ringo Starr<br />
shoes<br />
Whitest Boy Alive<br />
Zend</p>
<p>&#8230;just to name a few.</p>
<p>Among the automatic followers are a network of chiropracters (I&#8217;ve been followed by eleven so far), who all appear to be based in different cities, but have identical looking webpages and twitter accounts &#8211; most with the same identical avatar &#8211; I assume they are all using the same marketing service for chiropracters.</p>
<p>Now, to be clear, my bot doesn&#8217;t show that there are only 152 auto-following bots on twitter.  I imagine this is a mere fraction of the true total.  The cleverer bots don&#8217;t follow on single words, like &#8220;chiropracter.&#8221;  They combine words, like &#8220;need + chiropracter&#8221;.  The problem with single words is that you really have no inkling about the context the word was used in.</p>
<p>For example, <a href="http://twitter.com/TheHobbyGuy">TheHobbyGuy</a> is auto-following everyone who says &#8220;airplane&#8221; and &#8220;helicopter&#8221;.  But why are those people saying those words?  It could just as easily be to say &#8220;i wish the helicopter would stop flying over my house&#8221; as to say &#8220;I have an insatiable love of model helicopters&#8221;.  </p>
<p>Clearly, <a href="http://twitter.com/oprahtoday">OprahToday</a> is not being very discriminating by following every person who mentions &#8220;Oprah,&#8221;, &#8220;Harpo&#8221; and &#8220;Dr. Phil.&#8221;  How many of those people are fans of Harpo Marx, or complaining how Dr Phil is exploiting that crazy octuplet woman?</p>
<p>And unfortunately, those undiscriminating bots are going to ruin it for the discriminating ones that are trying to use more accurate targetting, and provide useful services.  There are lots of folks jumping on the Twitter-marketing bandwagon right now, and these 152 undiscriminating auto-followers are just the tip of the iceberg.  In a few months, the twitter spam problem is going to get significantly worse, and the signal-to-noise ratio much, much lower.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krazydad.com/blog/2009/03/a-twitter-honeypot/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
