Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 01 2018 15:52

    cristobalmedinalopez on master

    License added (compare)

  • Mar 07 2017 14:35

    vicente-gonzalez-ruiz on master

    Update README.md (compare)

Cristóbal Medina López
@cristobalmedinalopez

Hello everybody!

We would like to use the p2psp core (written in C++) in the android implementation in a similar way to the iOS implementation (see https://github.com/P2PSP/p2psp/tree/ios ). Do you think it's possible?
Please, feel free to discuss it in this channel (and take it into account for your proposals) :wink:

Vicente González Ruiz
@vicente-gonzalez-ruiz
Hello @debbarmaonit, yes this is our preferred media for interchanging info about this idea. Thanks!
Hi @laa-1-yay, please, use the "GoPro-Gateway" room for commenting this idea. Thanks.
Vicente González Ruiz
@vicente-gonzalez-ruiz
@ahmed-fathy-aly, welcome! Please, as @cristobalmedinalopez advices ... please, review: https://github.com/P2PSP/p2psp/tree/ios. Maybe, https://github.com/P2PSP/p2psp/tree/gui could be also interesting ... and thanks!
Paul Sarbinowski
@uberspot
@vicente-gonzalez-ruiz @cristobalmedinalopez is the core mostly written in python from what I understand? That can't really be ported to android nicely can it? If it was c/c++ then cross-compiling is quite doable.
there are some frameworks that mainly incorporate python in the binary itself and use that, I'm guessing that's what you do in the ios version as well?
I don't know how well that works/scales though
re-implementing the core in C/C++ might probably be a better solution in the long-term. It will certainly make recompiling for any platform much easier.
Also have you considered splitting the p2psp repo to several ones like "core", "gui", "ios" instead of branches? And then referencing the core as a git submodule. Branches aren't really meant to be used for this kind of splitting.
Cristóbal Medina López
@cristobalmedinalopez
Hi @uberspot, thanks for your suggestions! We have a c++ version of the core. We are working on a python wrapper for c++ before splitting it in several repos. However we think that git submodule is not necessary. Why do you think so?
Paul Sarbinowski
@uberspot
well it's just easier to manage multiple repos that depend on eachother. Git subtrees do the same job but they're a bit trickier to use. With submodules you'd just have the core in one repo and all other repos like UI/ios etc would reference some commit in the core. No merging issues with branches etc. and you'd have the same core files everywhere. But anyway. If the core is in c++ then it's portable to android without including python :smile: which is optimal
Vicente González Ruiz
@vicente-gonzalez-ruiz
@uberspot, thanks for your comments. What do you think of using different repos por core, gui, etc. and solve the dependencies as libraries? (for example, gui would need core as a dependence, in the same way emacs could needs (I don't know if this is true) "ImageMagick".
Paul Sarbinowski
@uberspot
Hey, sorry i forgot to answer. :) Yeap dependencies work better. That's how most known projects work actually. Tor uses a library for it's core functionality, so do most torrent clients use libtorrent
if you have the core in C/c++ then you can crosscompile it and create binders for it in any language and architecture
The core should handle Everything related to p2psp. The gui should be as stupid as possible
Other projects like e.g. this one https://github.com/Open-TEE have even finer splitting for the submodules of their software. Personally I think it fragments too much after that and makes management a bit harder
The only difference with git submodules is that the developer has to do git clone --recursive .... instead of the normal one.
If you need macros for git or general tips ask me :) Also check out my gitconfig https://github.com/uberspot/dotfiles/blob/master/.gitconfig there are some useful aliases there
Govind Sahai
@mnciitbhu
@uberspot :+1: Thanks for sharing your .gitconfig
Vicente González Ruiz
@vicente-gonzalez-ruiz
@uberspot , thanks for your insights!
007durgesh219
@007durgesh219

Hi everyone !!
I am Durgesh, Computer Science student at Indian Institute of Technology Delhi India. I am interested in android client project. I have one suggestion regarding reusing python for android.

Currently GUI of P2PSP is written using gtk which we cannot reuse for android. But there is another GUI library called Kivy which can be compiled for android. We can rewrite the current gui using kivy so that it can be reused for android

007durgesh219
@007durgesh219
Any feedbacks on my suggestion please??
José Juan Sánchez
@josejuansanchez

Hi @007durgesh219!

In my opinion, Kivy is a great python library but I am not sure if it could be the best option to develop the p2sp client Android app.

What kind of advantages does Kivy provide over an Android native app?

007durgesh219
@007durgesh219
One of the advantage that I thought could be that we can reuse code, Mostly GUI, for desktop and android. There is no doubt that a native app will be much more flexible but as we are already maintaining c++ and python version of core and iOS app. After this we also have to maintain the android app. So, I was thinking it will make a bit easy to maintain things if we reuse as much code as possible.
Cristóbal Medina López
@cristobalmedinalopez
The idea is keep the core in C++ only. The core written in python is deprecated. However, python could be used for experimental things or new features outside the core (using the p2psp library).
ryansnowboarder
@ryansnowboarder
Hi everyone! My name is Ryan Fletcher and I'm a prospective GSOC '16 applicant from Boston, MA [USA]. I have two years of Android dev experience. This looks like an interesting project to work on with a team. What do people think to working together right from the start?
Shibajyoti Debbarma
@debbarmaonit
What do I include in my final proposal for the GSoC? Any helpful recommendations? 😊
Vicente González Ruiz
@vicente-gonzalez-ruiz
Hi @debbarmaonit, apart from the general questions you should answer (available from GSoC site) the most important information we (the mentors) require is to explain clearly what are you going to develop (item by item), when, how and a "emergency plan" just in the case something will go wrong (something that surely it never happens :-))
Shibajyoti Debbarma
@debbarmaonit
@vicente-gonzalez-ruiz Thanks alot for the suggestion. I am also attaching the System Fundamentals mockup for the application as @cristobalmedinalopez suggested. Looking forward to contributing to this project and @vicente-gonzalez-ruiz can you also please take a look at my draft proposal I submitted and give feedback about the system implementations as you suggested. Thanks alot. 😃
Vicente González Ruiz
@vicente-gonzalez-ruiz
@debbarmaonit, sorry, where is your draft?
Cristóbal Medina López
@cristobalmedinalopez
@ryansnowboarder any collaboration is welcome. However, only one project per student is allowed in the GSoC program.
Palash Bansal
@PalashBansal96
@cristobalmedinalopez only one project per student is allowed per student in GSoC, but I think @ryansnowboarder is suggesting multiple students per project which I guess might be allowed in GSoC.
Cristóbal Medina López
@cristobalmedinalopez
@PalashBansal96 Actually a student per project too. However, if the project is large enough, it could be divided into two subproject.
Shibajyoti Debbarma
@debbarmaonit
I have uploaded the draft proposal in Google Summer of Code Website. Please review. Thanks.
Cristóbal Medina López
@cristobalmedinalopez
Don't worry, we are reviewing all of them. Good luck!
Tanusha Jayasinghe
@TanJay
I have uploaded my GSoC proposal draft. Please review. Thanks.
Vicente González Ruiz
@vicente-gonzalez-ruiz
@TanJay, please. Give us editing permissions. I think you should improve your timeline, providing periods of time for each milestone. Thanks!
徐昊
@hao555sky

@hao555sky
Introduction
Hello, I am Xu Hao, a postgraduate studying at Beijing University of Posts and Telecommunications, China. My major is Computer Science and I like to program in Java and Python; in addition, I have basic C and C++. Often times, I want to do something for open source software. I think this is a great opportunity for me to start.

My github profile is: https://github.com/hao555sky
My blog profile is: http://www.hao555sky.cn/

Experiences
I have some experience in Android and Django. I developed a blog system though Django and BootStrap, and now, I am developing an Android APP. So I think I am more familiar with Android and Django.
I hope that I can contribute to this project. Thanks.

Best regards
Xu Hao
徐昊
@hao555sky
Anybody here?
Cristóbal Medina López
@cristobalmedinalopez
Hi @hao555sky, you can use this chat to share with us your ideas about this project. Welcome!
徐昊
@hao555sky
Sorry for late reply. There is no good idea in my mind at present. And would you like to give me some advice? @cristobalmedinalopez
Murad
@m-murad
Hello
My name is Murad.
I'm doing my Bachelors in Computer Science for New Delhi, India.
I would like to to work on the project "Implementation of a P2PSP client as an Android application."
I have been developing android apps for almost a year. Also I have some knowledge of Python.
Can you suggest me I should get started.
Cristóbal Medina López
@cristobalmedinalopez
Hello @free4murad, welcome to the P2PSP project.
Murad
@m-murad
Hello @cristobalmedinalopez
Cristóbal Medina López
@cristobalmedinalopez
First, the most important thing is to read about the P2PSP protocol: https://github.com/P2PSP/core/tree/master/doc
After that, try to run a local team: https://github.com/P2PSP/I-want-to-use-it
Murad
@m-murad
@cristobalmedinalopez
thanks