Slashdot Mirror


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."

10 of 418 comments (clear)

  1. hrm.. by grub · · Score: 5, Funny


    Freedom to Tinker has written a 15 line P2P program in Python

    Does anyone have a .torrent link for it?

    --
    Trolling is a art,
    1. Re:hrm.. by Anonymous Coward · · Score: 5, Funny

      it's 9 lines in perl....

      #!/usr/bin/perl

      fjdohsb0y[tu34qtyjhq5ykl2yjh4u5iongvwy5iopy9uy7u 87 srthmn90;
      ps394b7-6vh0ae6se0n89789t75j890t67scj89 067j890e54t 890;
      5478n35890904hn907t85j90670w9-57-xfg90hjx;om nxrt9b n0ps54;
      s907n-679s-90xe54/6w547/7589vj0s9-78se-06 vw346hbn8 7n98i7eu6;
      463g3w6g6v6u45betyv4yc45y4y5s7n86uijy4 63q4awy;
      4w57ne568une5j7vc7uyh35xjh7z6jx5uj6ukdtm cdryjtu;
      68ne578iyjvyhdrc h6ug37eb64n84mw6m8 s4r6i4rt6;

      I was suprised it was so simple! i can not believe i did not think of it already!

  2. Size complex? by stevenbdjr · · Score: 5, Funny

    Do Perl developers have some kind of reverse size-compensation complex?

    Anything you can do I can do smaller?

  3. Slashdot editors strike again! by Anonymous Coward · · Score: 5, Funny

    I'm Matthew Skala, the author of MoleSter, and my name was spelled correctly in the item I submitted about this.

  4. I can beat that by Anonymous Coward · · Score: 5, Funny

    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.

  5. I bet 13 of those lines... by Anonymous Coward · · Score: 5, Funny

    ...are dedicated to spyware if its anything like kazaa.

  6. MoleSter? by Mad_Rain · · Score: 5, Funny

    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?!'"
  7. Re:Not a good true complexity issue. by Rheagar · · Score: 5, Funny

    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.

  8. Nice Try, Mr. Felten! by smug_lisp_weenie · · Score: 5, Funny

    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

  9. Re:Not a good true complexity issue. by flumps · · Score: 5, Funny

    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