Join 3,502 readers in helping fund MetaFilter (Hide)


SELECT specific_problem FROM problems WHERE specific_problem != 'A Bitch' ORDER BY RAND() LIMIT 99;
August 20, 2009 9:12 PM   Subscribe

Songs in (computer) code (you can also see the Twheat seperated from the Tw-chaff over at Favrd)
posted by melorama (32 comments total) 5 users marked this as a favorite

 
Ugh. I see that spammers have already hijacked the hashtag. How annoying. This is where Favrd totally validates its need for existence.
posted by melorama at 9:14 PM on August 20, 2009


I was about to yell at you loudly for seemingly linking me to some kind of Twitter ponzi scheme. But I see that you have noticed the problem...
posted by Jimbob at 9:26 PM on August 20, 2009


Seems like there's a sans-spam best-of here.
posted by drjimmy11 at 9:28 PM on August 20, 2009 [1 favorite]


while(1){
}
give_up("you");
posted by Jimbob at 9:29 PM on August 20, 2009 [2 favorites]


oh duh I just repeated your second link.
posted by drjimmy11 at 9:30 PM on August 20, 2009


This link removes most of the spammer tweets (damn thing wont let me have a search term longer than 140 characters, though)
posted by melorama at 10:26 PM on August 20, 2009


This one actually works!

(in OS X Terminal.app, probably other *nixes..?)
posted by churl at 10:52 PM on August 20, 2009


Linking to a search of Twitter hashtags, whether or not they've been hijacked by spammers, is a terrible post.
posted by crossoverman at 11:19 PM on August 20, 2009


crossoverman: "Linking to a search of Twitter hashtags, whether or not they've been hijacked by spammers, is a terrible post."

I agree!
posted by melorama at 11:35 PM on August 20, 2009 [1 favorite]


#prettycrappyfpp
posted by twine42 at 12:25 AM on August 21, 2009


Well, I liked it.
posted by hattifattener at 12:31 AM on August 21, 2009


time_t t; do { time(&t); } while ( (localtime(&t)->tm_mon) < 9 ); wake(me);
posted by haltingproblemsolved at 4:42 AM on August 21, 2009


Very cute.
posted by hwestiii at 4:46 AM on August 21, 2009


import random

s = ['jingle', 'bell', 'rock']
while True:
  print s[random.randint(0,2)]

posted by DU at 4:47 AM on August 21, 2009 [9 favorites]


Man me, you;

me.add(wealth);
me.add(taste);

if ( you.allow(me, Man::introduce) )
  me.introduce(me, you);
posted by haltingproblemsolved at 4:52 AM on August 21, 2009


The thread title should be:
SELECT COUNT(*), SUM(problem_name LIKE '%bitch%') FROM problems; => [99,0]
Otherwise he's saying "I am ignoring my bitch-related problems and dealing with up to 99 of the others"
posted by cillit bang at 4:55 AM on August 21, 2009 [3 favorites]


Place room = location();
assert (room.color() = Color.WHITE);
assert (room.curtains().color() = Color.BLACK);
assert (Place.isNear(room, station));
posted by haltingproblemsolved at 4:58 AM on August 21, 2009


 _______________________________________________________
/                                                        \
| A B C D E F G H I J K L M N O P Q R S []U V W X Y Z    |
| A B C D E F G []I J K L M N O P Q R S T U V W X Y Z    |
| A B C D []F G H I J K L M N O P Q R S T U V W X Y Z    |
| A B C []E F G H I J K L M N O P Q R S T U V W X Y Z    |
| A B C D E F G H []J K L M N O P Q R S T U V W X Y Z    |
| A B []D E F G H I J K L M N O P Q R S T U V W X Y Z    |
| A B C D E F G H I J []L M N O P Q R S T U V W X Y Z    |
|                                                        |
| 00000000011111111112222222222333333333344444444445555555555   |
| 12345678901234567890123456789012345678901234567890123456789   |
\________________________________________________________/
So much time spent on such an obscure reference.
posted by DU at 5:19 AM on August 21, 2009 [2 favorites]


Linking to a search of Twitter hashtags, whether or not they've been hijacked by spammers, is a terrible post.

Boring! Twitter hate is sooo 2009. Oh wait...
posted by edbles at 5:47 AM on August 21, 2009


#songsincode $self-> touch while($thought eq "you");
posted by dabitch at 6:09 AM on August 21, 2009 [1 favorite]


String function bottles( int num )
{
if ( num < 0 ) return;

return num + " bottles of beer on the wall, \n"
+ num + " bottles of beer. \n"
+ "take one down;"
+ "pass it around";
+ num + " bottles of beer on the wall.\n\n"

+ bottles( int --num );
}

bottles( 99 );
posted by grumblebee at 8:05 AM on August 21, 2009


Oops. Last line of the function should be + bottles( --num );

Why can't Metafilter have a better debugger?
posted by grumblebee at 8:07 AM on August 21, 2009


I don't get why a link to a twitter search is (in theory) any worse that a link to a youtube video. If the twitter search leads to something organized (like this song-in-code game), then why isn't it FPP-worthy?

(Maybe songs-in-code isn't FPP-worthy, but that's a different discussion than whether or not twitter searches are intrinsically unworthy. Twitter searches based on #tags are searches based on human-created entities. They're not the same as random computer searches.)

What if this was a blog post about writing songs in code or a website devoted to it? The twitter version is the same thing -- just collaboratively built via a different interface.

I think this is different than a link to a google search for "cats".
posted by grumblebee at 8:41 AM on August 21, 2009


I think this is different than a link to a google search for "cats".

Try doing an image search for cats and play with the size, color, and safesearch settings. Can keep you entertained for hours, and will most definitely take you to corners of the Internet that you'd never see linked to on MeFi.
posted by effbot at 9:22 AM on August 21, 2009


I wanted to go old school - musically and programatically.

PROGRAM-ID. BRUCE.
FUNCTION SONG RETURNS STRING
ADD DANCING TO DARK RETURNING DARK
STOP RUN.


This one needs work
doForLove(a) {if a!="that" return eval(a)}

This is as obscure as I can get. (i.e. Not obscure at all)
for n:=0 to 127 {s$=toHex(255-n);col$=s$+s$+s$;print('<p color="#'+col$+'">fade2</p>')}
posted by seanyboy at 10:24 AM on August 21, 2009


I haven't programmed Java for years and I've never worked with its threading capabilities, so this might be crap code:
public class Voice extends Thread
{
	private Voice _nextVoice;
	private int _voiceNumber;
	
 	public Voice ( int voiceNumber, Voice nextVoice = null )
	{
		_voiceNumber = voiceNumber;
		_nextVoice = Voice;
	}
	
	pubic void run()
	{
		System.out.println( "Voice " + _voiceNum + ": Row row row your boat" );
		if ( _nextVoice ) _nextVoice.start();
		sleep(500);
		System.out.println( "Voice " + _voiceNum + ": Gently down the stream" );
		sleep(500);
		System.out.println( "Voice " + _voiceNum + ": Merrily, merrily, merrily, merrily" );
		sleep(500);
		System.out.println( "Voice " + _voiceNum + ": Life is but a dream" );
	}
}

posted by grumblebee at 10:34 AM on August 21, 2009 [1 favorite]



If ( $body ) { $body == null; } else { if ( $i[ ‘think’ ] == $u ) { touch( $my.self ); } }

posted by davejay at 4:59 PM on August 21, 2009


as a longer version of dabitch's "$self-> touch while($thought eq "you");"
posted by davejay at 5:00 PM on August 21, 2009


Also:

if ($it.comes && $it.goes) {return stristr( 'the way that you use it', $it.s )}


okay I have work to do now
posted by davejay at 5:12 PM on August 21, 2009


10 PRINT "JESUS' BLOOD NEVER FAILED ME YET"
20 GOTO 10
posted by randomination at 7:07 PM on August 21, 2009 [1 favorite]


canDance(Us) :- wantTo(Us).
canLeaveBehind(Us, Them) :- friends(you, Them).
canDance(Someone) :- friends(you, Someone), !, fail.
friends(me, Them) :- \+( canDance(Them) ), !, fail.
posted by hattifattener at 8:49 PM on August 21, 2009


me.want(you.want(me));
me.need(you.need(me));
me.beg(you.beg(me));
me.love(you.love(me));
posted by ostranenie at 6:33 PM on August 22, 2009


« Older Linda Sax's The Gender Gap in College argues there...  |  The Deadly Cost of Swooping In... Newer »


This thread has been archived and is closed to new comments