Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Tim Ruffles
    @timruffles
    @greenify heya! @mr-karan is applying for the GSoC proposal on exposing bioJS in iPython
    since that's quite difficult without standardisation, that probably directly relates to your thinking re biojs/biojs#125
    or - creating a nice helper object and documentation to enable people to quickly expose any flavour of widget to iPython.
    @mr-karan also wanted pointers on any small issues he could have a look at to get an idea of what BioJS is about
    Sebastian Wilzbach
    @wilzbach
    @timruffles would love to see work in direction of https://github.com/biojs/biojs3 though ...
    Tim Ruffles
    @timruffles
    Ok greenify - thanks!
    Tim Ruffles
    @timruffles
    @dsblank @rohanjaswal2507 very excited that we're going to be working together on the iPython project :)
    @rohanjaswal2507 - try to get on the BioJS call on Wednesday. @jessica-jordan has provided details in the main BioJS room
    Rohan Jaswal
    @rohanjaswal2507
    @timruffles I am also very excited. I will surely be there on wednesday. :smile:
    Rohan Jaswal
    @rohanjaswal2507
    Hi @timruffles
    Tim Ruffles
    @timruffles
    Heya!
    Yes - as per DM lets - let's start discussing milestones.
    Rohan Jaswal
    @rohanjaswal2507
    Yeah, Sure.
    Rohan Jaswal
    @rohanjaswal2507
    @timruffles Could you please tell me everything you had thought or worked on for this project.
    I have gone through the discussions at github multiple times. Is there anything apart from that discussion which I should know?
    Any inputs from your side... you know
    Rohan Jaswal
    @rohanjaswal2507
    I found some projects on github where people have develope ipython widgets for many js applications. For example, https://github.com/petrushy/CesiumWidget
    Douglas Blank
    @dsblank
    @rohanjaswal2507 I think those are excellent places to begin.
    Rohan Jaswal
    @rohanjaswal2507
    Yes.
    For now, let's discuss the timeline of the project. I will be getting little busy with my exams till 8th may and it would be difficult for me to write too much code during this period
    Douglas Blank
    @dsblank
    We're in the Community Bonding period until May 23: https://developers.google.com/open-source/gsoc/timeline
    When your exams are over after May 8, we can bond... perhaps with a prototype of a simple widget.
    Tim Ruffles
    @timruffles
    Fantastic idea, and what about reaching out to some of the more active component maintainers?
    They're the most likely to be using this bridge. It'd be great to get their input, and then use them to try out the bindings as they evolve
    Rohan Jaswal
    @rohanjaswal2507
    @dsblank Yeah Sure. just Waiting for my exams to get over.
    Douglas Blank
    @dsblank
    @rohanjaswal2507 Yes, that is first priortity. Let us know when those are over, and we can do what @timruffles suggested, and put together some drafts of code and plans.
    Rohan Jaswal
    @rohanjaswal2507
    Exams almost OVER..!!!
    Now, let's get the ball rolling.
    Tim Ruffles
    @timruffles
    Fantastic! Hope they've gone well so far
    Rohan Jaswal
    @rohanjaswal2507
    @dsblank as you said, let's work on a prototype widget.
    What do you think which biojs component would be most simple to wrap up in IPython?
    Which one should we start with?
    Douglas Blank
    @dsblank
    It doesn't even have to be a biojs element yet. Perhaps just a way to get familiar with how JavaScript could be controlled through a widget. Then, once that is working, you could solicit ideas from the community, as @timruffles mentioned.
    Rohan Jaswal
    @rohanjaswal2507
    Okay. Then I will start working and write some code to do that.
    Rohan Jaswal
    @rohanjaswal2507
    Hi @dsblank, I learned about working with models and views while creating custom widgets in ipython and wrote some code to practice that.
    I have a question.
    Suppose, we have a javascript module "module1" in which some functions f1, f2 and f3 are defined.
    Now, if I want to use these functions in my widget
    What is the best way to do that? Any example.
    The javascript module doesn't have any objects, models or anything else.
    I want that I should be able to run this type of python code in ipython
    import module1
    return_value = module1.f1(arg1, arg2)
    Douglas Blank
    @dsblank
    I think that is a great question to ask! This would allow using any JS from Python. I don't know exactly how to answer your question (may have to ask in the ipython/ipywidgets github). I think the answer will involve backbone.js. Perhaps looking at these will help: https://github.com/ipython/ipywidgets/tree/master/docs/source/examples
    Douglas Blank
    @dsblank
    From the ipython/ipython gitter group from @minrk:
    "flexx provides an API for calling JavaScript from Python, but I'm not sure if it works in IPython.
    @jdfreder made ipython-jsobject with similar goals some time ago, but I don't think it's been touched in some time."
    Rohan Jaswal
    @rohanjaswal2507
    Yeah, just saw that message. let me have a look into this.
    Thank you! :smile:
    Rohan Jaswal
    @rohanjaswal2507
    @dsblank I went through flexx and I don't think this can help us in achieving what we want to.