Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 15 04:12

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 14 15:35

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 14 15:01

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 14 12:02

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 18:37

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 17:51

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 12:25

    vicente-gonzalez-ruiz on master

    . . . and 7 more (compare)

  • Sep 13 12:25
    vicente-gonzalez-ruiz closed #59
  • Sep 13 12:25
    vicente-gonzalez-ruiz opened #59
  • Sep 13 12:24

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 10:56

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 09:55

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 03:26

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 13 03:07

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 12 18:18

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 11 21:12

    vicente-gonzalez-ruiz on vruiz3

    . . (compare)

  • Sep 11 20:36

    vicente-gonzalez-ruiz on vruiz3

    . (compare)

  • Sep 11 20:20
    vicente-gonzalez-ruiz closed #58
  • Sep 11 20:20
    vicente-gonzalez-ruiz commented #58
  • Sep 11 20:19
    vicente-gonzalez-ruiz opened #58
Manas Mangaonkar
@Pac23
Hey,
Found some of the gsoc 18 P2PSP projects interesting,want to contribute have a proposal ready want someone to look at it so that i can make improvements
My name is manas Mangaonkar,sophomore year CSE from the university of Mumbai.
Tushar Mittal
@techytushar
hello everyone, i am new here and would like to contribute, where can i get started?
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hi @techytushar. The best way to help us is to work on some of the issues related to the simulator (https://github.com/P2PSP/simulator/issues) ... and welcome!
Vishwas Mittal
@vishwas78
@vicente-gonzalez-ruiz can you give some suggestions on how to get familiar with code quickly.
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hello @vishwas78. The last implementation of the code is in the simulator (https://github.com/P2PSP/simulator). Try to use it and head over the source files. Most of the documentation is also available at https://github.com/P2PSP/core/tree/master/doc. And welcome!
Vishwas Mittal
@vishwas78
Thanks
Vishwas Mittal
@vishwas78
Hello I have a doubt regarding the ideas given in the ideas page: Why do we need to implement splitter_dbs.py using the multiprocessing? What is the task that requires the CPU intensively? Aren't therads good for the i/o intensive processes?
@vicente-gonzalez-ruiz @cristobalmedinalopez
Vishwas Mittal
@vishwas78
never mind, got it :sweat_smile:
Vicente González Ruiz
@vicente-gonzalez-ruiz
:-)
Vishwas Mittal
@vishwas78
@cristobalmedinalopez @vicente-gonzalez-ruiz I am trying for GSoC under P2PSP, I have made a draft for the proposal, should I post it here or should I make an issue for the GSoC proposal so that we can communicate there?
Cristóbal Medina López
@cristobalmedinalopez
You can submit the proposal draft using the GSoC platform. We will try to check it out before the deadline to suggest you changes or things to improve.
Vishwas Mittal
@vishwas78
yeah sure
Vishwas Mittal
@vishwas78
hello again, I have submitted the draft proposal, please suggest any changes that you feel can improve the proposal
@vicente-gonzalez-ruiz @cristobalmedinalopez
Shivanjan Chakravorty
@Glitchfix
@vicente-gonzalez-ruiz @cristobalmedinalopez I found out that multiprocessing would be an easy thing that I could implement and would like you to review the draft for the same submitted in the GSoC page
Cristóbal Medina López
@cristobalmedinalopez
There's not much time left, but we'll try to take a look. Thanks!! and Good Luck.
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hi @Glitchfix, I think that your proposal is OK. Good luck!
Vishwas Mittal
@vishwas78
Hello @vicente-gonzalez-ruiz @cristobalmedinalopez I have opened a PR integrating the reed-solomon codec in the dbs can you l, please, review the changes?
Cristóbal Medina López
@cristobalmedinalopez
Thanks @vishwas78 We are on it ;)
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hi @vishwas78. Thank you for the PR. I have written to you some minor comments/questions at GitHub.
Vishwas Mittal
@vishwas78
:+1: :)
Vishwas Mittal
@vishwas78
@vicente-gonzalez-ruiz I am going through the code and I am stuck at a point.
In simulator.py, you have defined some probabilities, can you tell me what are these and why are these used?
code snippet:
class Simulator:
    """
    Main simulator class
    """
    P_IN = 0.4
    P_MoP = 0.2
    P_WIP = 0.6
    P_MP = 0.2
@cristobalmedinalopez :point_up:
Vishwas Mittal
@vishwas78
EDIT: now I got that these are used to simulate randomly incoming monitors, peer and malicious peer
Vishwas Mittal
@vishwas78
is it correct?
Cristóbal Medina López
@cristobalmedinalopez
Yes, it is.
P_IN = Probability of a peer arrival per round
P_MoP = Probability that the incoming peer is a Monitor (Trusted in CIS)
P_WIP = Probability that the incoming peer is a Well Intended Peer
P_MP = Probability that the incoming peer is a Malicious Peer
Vishwas Mittal
@vishwas78
:+1:
Shivanjan Chakravorty
@Glitchfix
Glitchfix/simulator@ee677b7
theglitch@theglitch:~/gs/p2psp/simulator$ python3 -d src/simulator.py run --set_of_rules tcs --number-of-monitors 0 --number-of-peers 3 --number-of-rounds 20 --drawing-log 1
2018-04-21 22:14:19,737 - __main__ - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,737 - __main__ - ERROR - Error messages enabled.
C;0;3;0;20;tcs
2018-04-21 22:14:19,797 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,798 - core.simulator_stuff - ERROR - Error messages enabled.
T
2018-04-21 22:14:19,798 - core.splitter_dbs - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,798 - core.splitter_dbs - ERROR - Error messages enabled.
2018-04-21 22:14:19,798 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,798 - core.simulator_stuff - ERROR - Error messages enabled.
2018-04-21 22:14:19,799 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,799 - core.simulator_stuff - ERROR - Error messages enabled.
2018-04-21 22:14:19,800 - core.splitter_dbs - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,800 - core.splitter_dbs - ERROR - Error messages enabled.
2018-04-21 22:14:19,800 - core.simulator_stuff - CRITICAL - Critical messages enabled.
Okay done here
2018-04-21 22:14:19,800 - core.simulator_stuff - ERROR - Error messages enabled.
2018-04-21 22:14:19,801 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,801 - core.simulator_stuff - ERROR - Error messages enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - ERROR - Error messages enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - WARNING - Warning message enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - INFO - Informative message enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - DEBUG - Low-level debug message enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - INFO - P0: DBS initialized
2018-04-21 22:14:19,801 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,801 - core.simulator_stuff - ERROR - Error messages enabled.
2018-04-21 22:14:19,801 - core.peer_dbs - INFO - P0: connected to the splitter
S
2018-04-21 22:14:19,802 - core.simulator_stuff - CRITICAL - Critical messages enabled.
2018-04-21 22:14:19,802 - core.simulator_stuff - ERROR - Error messages enabled.
In the tracker simulation I could only setup one peer with splitter so far
Shivanjan Chakravorty
@Glitchfix
sorry I made a mistake in this
Shivanjan Chakravorty
@Glitchfix
I'd like to thank P2PSP for accepting my application for GSoC and I'd like to contact the Tracker project with mentors Juan Pablos Garcia Ortiz and Yuansong Qiao and discuss the further development with them.
Cristóbal Medina López
@cristobalmedinalopez
Congratulation @Glitchfix! I can't wait to see you (and the rest of students) working with us :)
Shivanjan Chakravorty
@Glitchfix
@cristobalmedinalopez I intend to learn a lot from everyone in P2PSP
Sachin
@sachinsngh165
Thank you P2PSP for accepting my proposal. I'm sure that it would be an amazing journey. I'm so excited to work with you guys. And love to know more about mentors and all the team members working in this organisation. :smile:
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hi @sachinsngh165. We are pleased to work together.
Mehtab Zafar
@mzfr
Hi, I was going through the Simulator repo on github and found out that there isn't any development done
So I was willing to know will this org be participating in GSoC'19 ?
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hello @mzfr. I don't know now what exactly your were expecting to find at GitHub, but, I can say that we will try to do our best to participate again in the GSoC.
Mehtab Zafar
@mzfr
Okay Great !!!
Mehtab Zafar
@mzfr
I was going through the project and noticed that there are 2 pending PR from last year So I was willing to ask can I work on them
I mean I'll create a new one
Cristóbal Medina López
@cristobalmedinalopez
@mzfr oh yes! Feel free to work on it. Your help will be very welcome. ;)
Mehtab Zafar
@mzfr
@cristobalmedinalopez Can I fix the PEP8 issues too or should I leave them ?
I am asking this because I am starting with https://github.com/P2PSP/simulator/pull/27/
Mehtab Zafar
@mzfr
also wanted to know that there is lot's of line of code that is left commented can I clean it or is there any special reason for leaving it there?
Cristóbal Medina López
@cristobalmedinalopez
Hi @mzfr in my opinion comments like "Starting point for simulations" in a method named "run" are not good idea, because it is something obvious. Sometimes is better a clear code that a lot of comments.
Regarding commented code, we can leaving it there at the moment.
Mehtab Zafar
@mzfr
and what about the PEP8 fixes ??
Vicente González Ruiz
@vicente-gonzalez-ruiz
@mzfr, PEP8 is always welcome. Go ahead. Thank you.