Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

/prog/ web 2.0 challenge #1

Name: Anonymous 2009-09-25 15:59

Challenge: Using the twitter API, you must code a program that will tweet it's own source code.

             GOOD LUCK.

Name: Anonymous 2009-09-25 16:07

NO THANK YOU

Name: Anonymous 2009-09-25 16:19

l o l

Name: Anonymous 2009-09-25 16:36

>>1
In a single Twit?

Name: Anonymous 2009-09-25 17:33

IHBT
https://twitter.com/that_crab/status/4378649510
use Net::Twitter;
open O,"<",$0;
$t=Net::Twitter->new(traits=>[qw/API::REST/],username=>'that_crab',password=>'IHBTBY');
$t->update(join"\n",<O>);

Name: Anonymous 2009-09-25 18:00

>>4
You misspelled ``twat''

Name: Anonymous 2009-09-25 18:07

  twit
       n 1: someone who is regarded as contemptible [syn: twerp, twirp]

Name: Anonymous 2009-09-25 22:08

>>5
WINAR

Name: TRUE TRUTH EXPERT !tQq1sLlmuk 2009-09-26 7:08

FUCK TWITTER I DON'T GIVE A FUCK I DON'T WANT TO DO ANYTHING RELATED TO TWITTER. WRITING TWITTER CRAP IS LIKE WRITING CRAP FOR MICROSOFT: YOU'RE ONLY HELPING THEM WITHOUT GETTING A PENNY BACK. AND EVEN IF i GO THAT PENNY BACK I'D ONLY STICK IN IN THE EXECUTIVES ANSS BECZ I DON'T GIVE A FUCK BEEEATCH

Name: Anonymous 2009-09-27 9:44

>>5
use Net::Twitter;open+0;Net::Twitter->new(username=>'that_crab',password=>'IHBTBY')->update(<0>)

Name: Anonymous 2009-09-27 9:49

>>9
you're starting to get less lucid. need to twiddle some knobs?

Name: Anonymous 2009-09-27 10:16

>>9
I have a job at microsoft and I get payed.

Name: Anonymous 2009-09-27 10:39

>>10
That open+0 is new to me

Name: Anonymous 2009-09-27 14:35

>>5
lol fail.  hard.

Name: Anonymous 2009-09-27 14:36

twitter
t = twitter.Api(username='that_crab',password='IHBTBY')
t.PostUpdate(open(__import__('sys').argv[0]).read())



Bam.  Python.

Name: Anonymous 2009-09-27 14:56

pikaa

Name: Anonymous 2009-09-27 15:01

>>15
So what, you conveniently called same readily-made functions? Congratulations, Kodak, but I believe that you can call functions from specified libraries in every language (well, every language that counts).

Name: Anonymous 2009-09-27 15:16

>>17

That's the point of an API, huh?

Name: Anonymous 2009-09-27 15:21

>>18
No, that's the point of a library.

Name: Anonymous 2009-09-27 15:45

>>17
Pff.  Scheme programmers.

Name: Anonymous 2009-09-27 19:30

https://twitter.com/U_MENA_HASKAL

#!/bin/sh
curl -uU_MENA_HASKAL:I_MENA_HASKAL -dstatus="`cat $0`" http://twitter.com/statuses/update.xml

Name: Anonymous 2009-09-27 19:33

>>21
fail

Name: Anonymous 2009-09-28 6:12

>>21
``Suspicous activity'' ?

Name: Anonymous 2009-09-28 6:18

>>20
he clings on to R5RS

Name: Anonymous 2009-09-29 2:18

>>15
>>18
Yeah, it's cheating if you open your own source file. A quine does not have to be in a source file at all; you should be able to pipe it to stdin of the interpreter/compiler+run, and get the same back in stdout.

Name: Anonymous 2009-09-29 4:14

>>25
And what in the world does a ``quine'' have to do with this challenge?

Name: Anonymous 2009-09-29 9:54

>>25
use Net::Twitter;seek DATA,0,0;Net::Twitter->new(username=>'U_MENA_HASKAL',password=>'I_MENA_HASKAL')->update<DATA>__END__

Name: Anonymous 2009-09-29 12:24

use Net'Twitter;$_=q{use Net'Twitter;$_=q{
};s/
/$_/;update{new Net'Twitter username,that_crab,password,IHBTBY}$_};s/
/$_/;update{new Net'Twitter username,that_crab,password,IHBTBY}$_


Still 183 characters.  $(

Name: TRUE TRUTH EXPERT !tQq1sLlmuk 2009-09-29 15:27

fUCK THIS SHIT

Don't change these.
Name: Email:
Entire Thread Thread List