So just to summarize:<p>Elite 'hacker' group claims to hate marketing guru/bullshit tactics, then proceeds to ply the hell out of everyone to spread their concept in a viral Twitter hashtag manner.<p>Granted, I totally just did it because that puzzle was way too easy, but c'mon now.
The ways everyone solves the puzzle are much more interesting than the puzzle itself. I made a mysql table with one column set as the primary key and did an insert.<p>This reminds me of this awesome thread on Sitepoint (5 pages of different ways to output the numbers 0-9):
<a href="http://www.sitepoint.com/forums/php-34/write-loop-php-prints-numbers-0-9-page-580793.html" rel="nofollow">http://www.sitepoint.com/forums/php-34/write-loop-php-prints...</a>
I'm learning Python (3) w/ MIT OCW and here's my solution (<a href="http://pastebin.com/EQevWQWC" rel="nofollow">http://pastebin.com/EQevWQWC</a>).
def dupefinder(lister):
'''Function to find first duplicate in a list; Variable to pass
to this function should be of type "list" '''
listerdupe = sorted(lister)
for index,item in enumerate(listerdupe):
if item == listerdupe[index+1]:
print('First duplicate number is {0}'.format(item))
return item
Since they changed the puzzle to now require finding the prime duplicate number.<p>Is is each number delimited by a (random?) alphabetic letter? Is this to make parsing into Excel/an array harder?<p>Also, even the new 'harder' puzzle is easy to solve in Excel. Maybe that isn't a bad thing, however.
Solved the puzzle with a couple lines of Python ;) Unfortunately, I won't be attending SXSW this year. Boo. If someone can solve that puzzle, I'll teach you all the hacks I know.