P2P In 15 Lines of Code
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."
Freedom to Tinker has written a 15 line P2P program in Python
Does anyone have a
Trolling is a art,
Do Perl developers have some kind of reverse size-compensation complex?
Anything you can do I can do smaller?
...but it only worked with 1 dimension. I'm working on scaling it up, but I'm worried it might get longer.
I'm Matthew Skala, the author of MoleSter, and my name was spelled correctly in the item I submitted about this.
I have just created a zero line P2P program which I have entitled "Walking to the Neighbor's House to Borrow a Movie".
I could be evil and patent it, but I have decided to release it under the GPL.
...are dedicated to spyware if its anything like kazaa.
Well I can write "Pointless story" in one line.
Thinkin' Lincoln - a web comic of presidential proportions
From the webpage: Every time I look at the word "molester" my brain tries to parse it as "mole-ster" instead of the agentive of "to molest", and now I have an excuse to name a piece of software MoleSter, so I'm going to use it.
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.
"What do you think?" "I think 'What, do you think?!'"
#!/bin/bash
### ToDo: Write P2P app here
#! /bin/bash
/src/mldonkey/distrib/
cd
# --- start mldonkey ---
./mlnet
Buy Steampunk Clothing Online!
An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
Those are both cheating.
t k-gnutella/gtk-gnutella-0.92.1c.tar.gz`;
Okay, here's p2p in two lines of perl:
#!/usr/bin/perl
`wget http://www.filefront.com/?filepath=/gnutelliums/g
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?
It's too much effort to print a lousy t-shirt yourself, but artists shouldn't get paid for their lives' work?
It also uses files, which is totally cheating. Without fi.write(), this guy would have to do a lot more work to have the computer convert a virtual address into the a device real address and accessing the filesystem implementation specific rules to carry out the necessary data and metadata operations to complete the task. And thats just the half of it.
...that Perl is a true write-only language.
Unix: Where
Our lawyers are currently perfecting a new TinyLawsuit specifically to defeat your invention. You will like it- Only _10_ lines of legalese!
The ball is now in your court, Mr. Felten!
Regards, The RIAA/MPAA
There goes my argument that Python promotes readable code....
"First you gotta do the truffle shuffle."
What I think you meant to say is:
"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...
I get the following error:
TCPA ERROR #12: Unsigned script execution blocked; Trusted Computing violation sent to MS-Patriot Log Authority.
Can anyone help?
Power to the Peaceful
Rappers do.
no one blames Visual Basic
Believe me, VB has ALOT to answer for.. *shakes fist*
"So there he is, risen from the dead. Like that fella, E. T." - Father Ted Crilly
Brian Cohen was, however, the eponymous hero of Monty Python's Life of Brian. Bloody Romans.
you had me at #!
"Friend Gives me movie to return to rental place and I forgot to go to the rental place" method.
I get more movies that way.
The Kruger Dunning explains most post on
I've added some new features to your wonderful program, which I too am releasing under the GPL. I call it:
"Breaking in to the Neighbor's House to steal a Movie".
Matthew Scala, a reader of Freedom to Tinker, has responded with the 9 line MoleSter, written in Perl.
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
± 29 dB
You're using Socket.pm, and it's huge, that's cheating!
Read the fucking code.
How the hell am I supposed to be able read that code?
Failing to learn from history dooms you to repeat it.