P2P In 15 Lines of Code 418
nile_list writes "Edward Felten of the very fine Freedom to Tinker has written a 15 line P2P program in Python. From the post on Freedom to Tinker, "I wrote TinyP2P to illustrate the difficulty of regulating peer-to-peer applications. Peer-to-peer apps can be very simple, and any moderately skilled programmer can write one, so attempts to ban their creation would be fruitless." Matthew Scala, a reader of Freedom to Tinker, has responded with the 9 line MoleSter, written in Perl."
hrm.. (Score:5, Funny)
Freedom to Tinker has written a 15 line P2P program in Python
Does anyone have a
Size complex? (Score:5, Funny)
Do Perl developers have some kind of reverse size-compensation complex?
Anything you can do I can do smaller?
I wrote a 7-line renderer with physics engine... (Score:3, Funny)
Slashdot editors strike again! (Score:5, Funny)
I can beat that (Score:5, Funny)
I could be evil and patent it, but I have decided to release it under the GPL.
I bet 13 of those lines... (Score:5, Funny)
Oh yeah? (Score:1, Funny)
Re:hrm.. (Score:5, Funny)
#!/usr/bin/perl
fjdohsb0y[tu34qtyjhq5ykl2yjh4u5iongvwy5iopy9uy7
ps394b7-6vh0ae6se0n89789t75j890t67scj8
5478n35890904hn907t85j90670w9-57-xfg90hjx;o
s907n-679s-90xe54/6w547/7589vj0s9-78se-0
463g3w6g6v6u45betyv4yc45y4y5s7n86uijy
4w57ne568une5j7vc7uyh35xjh7z6jx5uj6ukdt
68ne578iyjvyhdrc h6ug37eb64n84mw6m8 s4r6i4rt6;
I was suprised it was so simple! i can not believe i did not think of it already!
MoleSter? (Score:5, Funny)
I think that the RIAA and MPAA are going to get a lot of positive spin when people start reading that they're going after all the MoleSters on the Internets.
Oh yeah, I got it in 2 lines of shell: (Score:4, Funny)
### ToDo: Write P2P app here
or in BASH: (Score:4, Funny)
cd
# --- start mldonkey ---
./mlnet
ThinkGeek (Score:5, Funny)
Baah...that's nothing (Score:4, Funny)
Re:Not a good true complexity issue. (Score:2, Funny)
Okay, here's p2p in two lines of perl:
#!/usr/bin/perl
`wget http://www.filefront.com/?filepath=/gnutelliums/g
Duh factor (me, not you) (Score:1, Funny)
I believe that the python interpreter (i am assuming that it runs like an interpreter) may be larger than 15 lines.
It also assumes that you have a web server running on your box. What other assumptions are unique to this app? That you have a url defined as a domain?
In other words, I really couldn't run this from a DOS prompt, could I? So, it doesn't really count as a "program". Does it compile into an exe? If not, then what is this article talking about?
Re:When will this code be on a T-shirt? (Score:3, Funny)
It's too much effort to print a lousy t-shirt yourself, but artists shouldn't get paid for their lives' work?
Re:Not a good true complexity issue. (Score:5, Funny)
Proof of concept... (Score:3, Funny)
Nice Try, Mr. Felten! (Score:5, Funny)
The ball is now in your court, Mr. Felten!
Regards, The RIAA/MPAA
Re:MoleSter? (Score:3, Funny)
The most worrying part is on the site, he challenges people to make smaller molester clones.
Re:I can beat that (Score:3, Funny)
--Fermat's Second-to-Last Conjecture
ugh (Score:5, Funny)
Re:P2P Does Not Break the Law (Score:2, Funny)
"Guns don't kill people. *I* kill people."
Happy Gilmore's boss (the one Happy shot in the head with a nail) had that on his t-shirt if I remember correctly...
Won't run (Score:2, Funny)
I get the following error:
TCPA ERROR #12: Unsigned script execution blocked; Trusted Computing violation sent to MS-Patriot Log Authority.
Can anyone help?
Guns don't kill people (Score:2, Funny)
Re:Not a good true complexity issue. (Score:5, Funny)
Believe me, VB has ALOT to answer for.. *shakes fist*
I think you mean Bram (Score:2, Funny)
I perfer my (Score:3, Funny)
I get more movies that way.
Release Candidate 2 (Score:3, Funny)
"Breaking in to the Neighbor's House to steal a Movie".
I hope he's got a good job. (Score:4, Funny)
There have been discussions recently about potential employers doing a Google search on job applicants, so the way I see it Mr. Scala's either very smart or very stupid.
Very stupid, for the fact a lot of searches will put "Matthew Scala" and "molester" together on the same page.
Very smart, because this tactic will bury any evidence of his pedophilia under a pile of MoleSter links and pages.
=P
Re:MoleSter? (Score:3, Funny)
Re:Parent is -1, Redundant (Score:2, Funny)
Read the fucking code.
How the hell am I supposed to be able read that code?
Re:Nice Try, Mr. Felten! (Score:1, Funny)
Re:hrm.. (Score:3, Funny)
I have found a single line of PERL to do this, but it is too long to fit in this margin.