<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, Jatin<br>
    <br>
    Some observations:<br>
    <br>
    As a experiment, you could update the bundles in the test set by
    adding the developers, summary and description to activity.info: <br>
    <br>
    developers = 'Manny, Moe, and Jack'.<br>
    summary = 'A summary'<br>
    description = 'A activity allowing learners to describe the universe
    and give two examples.'<br>
    <br>
    Use the zipfile module in Python to read the activity file in the
    bundle without unzipping. The xo bundles are zip files.<br>
    <br>
     A review system can be valuable. However, currently a set of
    activities comes installed in the XO image and those users have no
    access to ASLO to provide comments. So this is not as high a
    priority. One goal is to enable the project to be installed on a
    local school server. So a db or additions to activity.info could
    make reviews available and enable users to make their own comments
    to share with classmates. <br>
    <br>
    Tony<br>
    <br>
    <div class="moz-cite-prefix">On 04/20/2017 12:37 AM, Jatin Dhankhar
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAD+LdAFnBLe36nVfbtJCqA2sCqczmaZ-OrCyC49BkSt-hvU3+g@mail.gmail.com"
      type="cite">
      <div dir="auto">Hi,
        <div dir="auto"><br>
        </div>
        <div dir="auto">Yes templates are very minimal for now. Here's
          what I have in mind. Take a look at attached mockups and let
          me know your views (found a pun in this  :) ). Also I am
          setting up a droplet to develop and test it in the mean time.
          Right now I am thinking to use sqlite instead of postgres
          along with gunicorn and supervisor. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Will share that with you soon</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Thanks,</div>
        <div dir="auto">Jatin Dhankhar </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 18-Apr-2017 5:17 am, "Tony Anderson"
          <<a moz-do-not-send="true"
            href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a>>
          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi, Jatin<br>
              <br>
              Great! <br>
              <br>
              The path.py is a module I often use but not necessary. its
              functions can also be accomplished by os. <br>
              <br>
              The activity template is really unformatted. Having a
              working version and comparing it to ASLO should give you
              ideas on how to <br>
              make it more attractive and what additional data you want
              to include.<br>
              <br>
              Tony<br>
              <br>
              <div class="m_7731592090204339401moz-cite-prefix">On
                04/18/2017 03:00 AM, Jatin Dhankhar wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Hi,<br>
                  <br>
                  Sorry for the delay, I got it working by installing
                  the 1.7 (need to change few things to get it working
                  it latest 1.11 version) version of Django and changing
                  the TEMPLATE_DIRS. I don't understand the use of
                  path.py, I commented out the that import since it was
                  not used anywhere. <br>
                  <br>
                  I handed over my laptop which was provided by
                  University, it will take 4-5 days for me to arrange
                  for a new laptop, in the meantime I am using my old
                  desktop
                  <div><br>
                  </div>
                  <div>Thanks,<br>
                    Jatin Dhankhar</div>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Sat, Apr 15, 2017 at 6:50
                    AM, Tony Anderson <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:tony_anderson@usa.net"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
                        <br>
                        I am using 1.7.7 - haven't changed for a long
                        time.<br>
                        <br>
                        You will probably want to add the app to your
                        Django project preserving your settings
                        especially for static files. I set up the
                        urls.py in the project to include <br>
                        the urls.py from the app. <br>
                        <br>
                        Tony<br>
                        <br>
                        <div
                          class="m_7731592090204339401m_1479173004874202416moz-cite-prefix">On

                          04/15/2017 02:08 AM, Jatin Dhankhar wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">Hi,<br>
                            <br>
                            Can you tell me which version of Django and
                            Python you are using? I am using the latest
                            stable version and some things like patterns
                            were removed from Django. Also the code you
                            sent me only contains the app aslo and not
                            the whole django web project ?
                            <div><br>
                            </div>
                            <div>Thanks,</div>
                            <div>Jatin Dhankhar</div>
                          </div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Thu, Apr 13,
                              2017 at 11:24 PM, Jatin Dhankhar <span
                                dir="ltr"><<a moz-do-not-send="true"
class="m_7731592090204339401moz-txt-link-abbreviated"
                                  href="mailto:dhankhar.jatin@gmail.com"
                                  target="_blank">dhankhar.jatin@gmail.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr"><span>
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
                                      0.8ex;border-left:1px solid
                                      rgb(204,204,204);padding-left:1ex"><span
                                        style="font-size:12.8px">At the
                                        moment, I think you should focus
                                        on the 25 activity test set and
                                        getting it working with django. </span></blockquote>
                                  </span>
                                  <div>Okay, on it. <br>
                                     </div>
                                  <span>
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
                                      0.8ex;border-left:1px solid
                                      rgb(204,204,204);padding-left:1ex"><span
                                        style="font-size:12.8px"> we can
                                        arrange to host the development
                                        on a Sugar Labs server, it
                                        should make both the repository
                                        itself (</span><a
                                        moz-do-not-send="true"
                                        href="http://download.sugarlabs.org/"
                                        style="font-size:12.8px"
                                        target="_blank">download.sugarlabs.org</a><span
                                        style="font-size:12.8px">) and
                                        the ASLO metadata directly
                                        accessible. </span></blockquote>
                                  </span>
                                  <div>In the meantime we can host it on
                                    DigitalOcean, I have credits for
                                    DigitalOcean which I got as part of
                                    Student pack.</div>
                                  <span>
                                    <div><br>
                                    </div>
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
                                      0.8ex;border-left:1px solid
                                      rgb(204,204,204);padding-left:1ex"><span
                                        style="font-size:12.8px">My IRC
                                        nickname is tony37. However, I
                                        am never on #sugar (a twelve
                                        hour time difference so the
                                        normal participants are in bed).
                                        Last year, Utkarsh and I met
                                        whenever he felt the need to
                                        discuss a technical issue in
                                        detail. We limited the meetings
                                        to one hour. That proved quite
                                        productive.</span></blockquote>
                                    <div><br>
                                    </div>
                                  </span>
                                  <div>Yes we can do the same.  </div>
                                  <div><br>
                                  </div>
                                  <div>Thanks,</div>
                                  <div>Jatin Dhankhar</div>
                                </div>
                                <div
                                  class="m_7731592090204339401m_1479173004874202416HOEnZb">
                                  <div
                                    class="m_7731592090204339401m_1479173004874202416h5">
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Thu,
                                        Apr 13, 2017 at 5:50 AM, Tony
                                        Anderson <span dir="ltr"><<a
                                            moz-do-not-send="true"
class="m_7731592090204339401m_1479173004874202416moz-txt-link-abbreviated"
href="mailto:tony_anderson@usa.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div text="#000000"
                                            bgcolor="#FFFFFF"> Hi Jatin<br>
                                            <br>
                                            At the moment, I think you
                                            should focus on the 25
                                            activity test set and
                                            getting it working with
                                            django. I find it is much
                                            more productive to move from
                                            one working version to
                                            another with added
                                            capability. If we can
                                            arrange to host the
                                            development on a Sugar Labs
                                            server, it should make both
                                            the repository itself (<a
                                              moz-do-not-send="true"
                                              href="http://download.sugarlabs.org"
                                              target="_blank">download.sugarlabs.org</a>)
                                            and the ASLO metadata
                                            directly accessible. <br>
                                            <br>
                                            My IRC nickname is tony37.
                                            However, I am never on
                                            #sugar (a twelve hour time
                                            difference so the normal
                                            participants are in bed).
                                            Last year, Utkarsh and I met
                                            whenever he felt the need to
                                            discuss a technical issue in
                                            detail. We limited the
                                            meetings to one hour. That
                                            proved quite productive.<span
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659HOEnZb"><font
                                                color="#888888"><br>
                                                <br>
                                                Tony</font></span>
                                            <div>
                                              <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659h5"><br>
                                                <br>
                                                <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275moz-cite-prefix">On


                                                  04/13/2017 01:14 AM,
                                                  Jatin Dhankhar wrote:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="ltr">Hi,
                                                    <div><br>
                                                    </div>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0px
                                                      0px 0px
                                                      0.8ex;border-left:1px
                                                      solid
                                                      rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">I think we need to agree on the use of IRC. If
                                                        you want to
                                                        communicate with
                                                        members of the
                                                        community, you
                                                        must go where
                                                        they are
                                                        (#sugar). If you
                                                        want a
                                                        one-to-one
                                                        meeting on IRC
                                                        with me, I would
                                                        suggest
                                                        #sugar-newbies.
                                                        It is normally
                                                        dormant but
                                                        works well and
                                                        saves a log for
                                                        later review. It
                                                        worked well for
                                                        meetings with
                                                        Utkarsh Tiwari
                                                        during last
                                                        year's GSOC.</span></blockquote>
                                                    <div>Sure, whatever
                                                      works :). What is
                                                      your IRC nickname
                                                      ?</div>
                                                    <div><br>
                                                    </div>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0px
                                                      0px 0px
                                                      0.8ex;border-left:1px
                                                      solid
                                                      rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">There are two things that you will need to have
                                                        local to the
                                                        django project.
                                                        First is the
                                                        directory </span><a
moz-do-not-send="true" href="http://download.sugarlabs.org/"
                                                        style="font-size:12.8px"
                                                        target="_blank">download.sugarlabs.o<wbr>rg</a><span
style="font-size:12.8px"> which has the Sugar activity bundles</span></blockquote>
                                                    <div>Do I need to
                                                      mirror the whole
                                                      setup/directory ?
                                                       <br>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div>When talking
                                                      about scraping you
                                                      probably meant  <a
moz-do-not-send="true"
                                                        class="m_7731592090204339401m_1479173004874202416moz-txt-link-freetext"
href="http://activities.sugarlabs.o" target="_blank"><a class="moz-txt-link-freetext" href="http://activities.sugarlabs.o">http://activities.sugarlabs.o</a></a><wbr>rg instead



                                                      of <a
                                                        moz-do-not-send="true"
href="http://download.sugarlabs.org/" target="_blank"><a class="moz-txt-link-freetext" href="http://download.sugarlabs.o">http://download.sugarlabs.o</a><wbr>rg/</a>,
                                                      right ? <br>
                                                      Also for
                                                      scraping, <a
                                                        moz-do-not-send="true"
href="https://scrapy.org/" target="_blank">Scrapy</a> seems to more
                                                      popular than
                                                      beautifulsoup ?<br>
                                                      <br>
                                                      Also a big thanks
                                                      for including
                                                      Walter in the
                                                      discussion :D</div>
                                                    <div><br>
                                                    </div>
                                                    <div>- Jatin
                                                      Dhankhar</div>
                                                    <div> </div>
                                                  </div>
                                                  <div
                                                    class="gmail_extra"><br>
                                                    <div
                                                      class="gmail_quote">On

                                                      Wed, Apr 12, 2017
                                                      at 6:30 AM, Tony
                                                      Anderson <span
                                                        dir="ltr"><<a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-abbreviated"
href="mailto:tony_anderson@usa.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                                                      wrote:<br>
                                                      <blockquote
                                                        class="gmail_quote"
                                                        style="margin:0
                                                        0 0
                                                        .8ex;border-left:1px
                                                        #ccc
                                                        solid;padding-left:1ex">
                                                        <div
                                                          text="#000000"
bgcolor="#FFFFFF"> Hi, Jatin<br>
                                                          <br>
                                                          I think we
                                                          need to agree
                                                          on the use of
                                                          IRC. If you
                                                          want to
                                                          communicate
                                                          with members
                                                          of the
                                                          community, you
                                                          must go where
                                                          they are
                                                          (#sugar). If
                                                          you want a
                                                          one-to-one
                                                          meeting on IRC
                                                          with me, I
                                                          would suggest
                                                          #sugar-newbies.
                                                          It is normally
                                                          dormant but
                                                          works well and
                                                          saves a log
                                                          for later
                                                          review. It
                                                          worked well
                                                          for meetings
                                                          with Utkarsh
                                                          Tiwari during
                                                          last year's
                                                          GSOC.<br>
                                                          <br>
                                                          There are two
                                                          things that
                                                          you will need
                                                          to have local
                                                          to the django
                                                          project. First
                                                          is the
                                                          directory <a
moz-do-not-send="true" href="http://download.sugarlabs.org"
                                                          target="_blank">download.sugarlabs.org</a>
                                                          which has the
                                                          Sugar activity
                                                          bundles. The
                                                          second is the
                                                          'metadata' in
                                                          the mysql db.
                                                          For scraping,
                                                          I would
                                                          recommend
                                                          BeautifulSoup
                                                          (bs4). The
                                                          trick will be
                                                          to decide what
                                                          data we want
                                                          to capture and
                                                          add to the
                                                          json.<br>
                                                          <br>
                                                          The json
                                                          fields in
                                                          activities.json
                                                          are ones I
                                                          chose for the
                                                          minimal
                                                          system. You
                                                          may want to
                                                          include other
                                                          information
                                                          such as the
                                                          number of
                                                          downloads,
                                                          which
                                                          collections
                                                          (should be
                                                          entered as
                                                          tags in a
                                                          tag-field) and
                                                          so on. One
                                                          item I have
                                                          referred to as
                                                          flags (I
                                                          marked some as
                                                          X but don't
                                                          remember what
                                                          that meant, oh
                                                          well). The
                                                          intent is to
                                                          record the
                                                          platforms
                                                          where the
                                                          activity
                                                          works. We also
                                                          should provide
                                                          links to the
                                                          homepage,
                                                          repository
                                                          page, and
                                                          update page
                                                          (whatever that
                                                          is). I think
                                                          if you have a
                                                          working scrape
                                                          tool, the data
                                                          it collects
                                                          can be
                                                          expanded as
                                                          needed
                                                          (assuming the
                                                          tool runs in a
                                                          reasonable
                                                          time).<br>
                                                          <br>
                                                          Naturally, it
                                                          would be
                                                          easier if you
                                                          have access to
                                                          the db
                                                          directly.<span
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275HOEnZb"><font
color="#888888"><br>
                                                          <br>
                                                          Tony</font></span>
                                                          <div>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275h5"><br>
                                                          <br>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224moz-cite-prefix">On



                                                          04/12/2017
                                                          01:40 AM,
                                                          Jatin Dhankhar
                                                          wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">One thing you could look at. On
                                                          activities.sugarlabs,org,
                                                          can you
                                                          determine from
                                                          Remora where
                                                          the metadata
                                                          is stored? I
                                                          assume a db.
                                                          Currently I am
                                                          thinking to
                                                          use
                                                          BeautifulSoup
                                                          to scrape the
                                                          site to get
                                                          that data, but
                                                          it would be
                                                          much easier to
                                                          access the
                                                          data directly.</span></blockquote>
                                                          As per wiki <a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-freetext"
href="https://wiki.mozilla.org/Updat" target="_blank"><a class="moz-txt-link-freetext" href="https://wiki.mozilla.org/Updat">https://wiki.mozilla.org/Updat</a></a><wbr>e:Remora_Server_Requirements#S<wbr>VN.2C_DB_and_app_config data




                                                          is stored in
                                                          mysql
                                                          database. I
                                                          don't have
                                                          access to the
                                                          production
                                                          server where
                                                          ASLO is
                                                          currently
                                                          running,
                                                          following
                                                          file <a
                                                          moz-do-not-send="true"
class="m_7731592090204339401moz-txt-link-freetext"
                                                          href="https://github.com/sugarl"
target="_blank"><a class="moz-txt-link-freetext" href="https://github.com/sugarl">https://github.com/sugarl</a></a><wbr>abs/aslo/blob/master/aslo/db-u<wbr>pdate.sh#L9 confirms




                                                          that data is
                                                          stored in a
                                                          mysql db.
                                                          However it
                                                          would be
                                                          interesting
                                                          and fun to
                                                          scrape the
                                                          data from live
                                                          site. I would
                                                          do that.<br>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks
                                                          will poke
                                                          around the
                                                          code, looks to
                                                          me it's a
                                                          django app and
                                                          I have to
                                                          mount it on my
                                                          django
                                                          project,
                                                          thanks :)</div>
                                                          <div><br>
                                                          </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">If you are talking about IRC as a place to meet
                                                          Sugar
                                                          community
                                                          members, use
                                                          the freenode
                                                          #sugar. This
                                                          is probably
                                                          most active
                                                          from 8-17 EST
                                                          (UTC-5). I am
                                                          currently in
                                                          the
                                                          Philippines
                                                          which is UTC+
                                                          7. </span></blockquote>
                                                          <div><br>
                                                          </div>
                                                          <div> Yes,
                                                          tried that.  <a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-freetext"
href="https://gitter.im" target="_blank"><a class="moz-txt-link-freetext" href="https://gitter.im">https://gitter.im</a></a> fits in
                                                          naturally with
                                                          Github (really
                                                          sorry for
                                                          suggesting a
                                                          new mode of
                                                          communication
                                                          everyday) 😅</div>
                                                          <div><br>
                                                          </div>
                                                          <div>- Jatin
                                                          Dhankhar</div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On


                                                          Tue, Apr 11,
                                                          2017 at 6:14
                                                          AM, Tony
                                                          Anderson <span
                                                          dir="ltr"><<a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-abbreviated"
href="mailto:tony_anderson@usa.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          text="#000000"
bgcolor="#FFFFFF"> If you are talking about IRC as a place to meet Sugar
                                                          community
                                                          members, use
                                                          the freenode
                                                          #sugar. This
                                                          is probably
                                                          most active
                                                          from 8-17 EST
                                                          (UTC-5). I am
                                                          currently in
                                                          the
                                                          Philippines
                                                          which is UTC+
                                                          7. <br>
                                                          <br>
                                                          Localization
                                                          of Python
                                                          activities is
                                                          done by
                                                          Pootle, when
                                                          implemented by
                                                          the developer.
                                                          The developer
                                                          does something
                                                          like the
                                                          following:<br>
                                                                  <br>
                                                                  from
                                                          gettext import
                                                          gettext as _<br>
                                                          <br>
                                                                 
                                                          self.copy.set_tooltip(_('Copy'<wbr>))<br>
                                                          <br>
                                                          In this way,
                                                          all text
                                                          displayed is
                                                          taken from a
                                                          po file based
                                                          on the locale
                                                          (e.g. en.po or
                                                          hi.po). This
                                                          is a
                                                          simplification
                                                          as the actual
                                                          file is
                                                          compressed:
                                                          en.mo, hi.mo.
                                                          These files
                                                          are in the
                                                          activity
                                                          bundle. The
                                                          detail is that
                                                          when a new
                                                          version is
                                                          released,
                                                          there is a
                                                          master file:
                                                          Paint.pot from
                                                          which the
                                                          local language
                                                          files are
                                                          built. This
                                                          needs to be
                                                          submitted to <a
moz-do-not-send="true" href="http://translate.sugarlabs.org"
                                                          target="_blank">translate.sugarlabs.org</a>
                                                          which
                                                          maintains a
                                                          copy. However,
                                                          then the
                                                          localized
                                                          version needs
                                                          to be added
                                                          back to the
                                                          bundle.
                                                          However, the
                                                          localizations
                                                          can take
                                                          months for 100
                                                          languages so
                                                          how
                                                          synchronize
                                                          the po
                                                          directory with
                                                          the activity
                                                          release is
                                                          difficult. <br>
                                                          <br>
                                                          The sugar3 vs
                                                          sugar issue is
                                                          decided. The
                                                          community
                                                          wants to move
                                                          to sugar3
                                                          (gtk3). The
                                                          problem is
                                                          that less that
                                                          20% of the
                                                          activities
                                                          have been
                                                          converted.<br>
                                                          The ones that
                                                          have been
                                                          converted are
                                                          low hanging
                                                          fruit. The
                                                          unconverted
                                                          ones may
                                                          require
                                                          intensive work
                                                          (gimp which
                                                          developed gtk
                                                          originally has
                                                          not made the
                                                          conversion). <br>
                                                          <br>
                                                          One thing you
                                                          could look at.
                                                          On
                                                          activities.sugarlabs,org,
                                                          can you
                                                          determine from
                                                          Remora where
                                                          the metadata
                                                          is stored? I
                                                          assume a db.
                                                          Currently I am
                                                          thinking to
                                                          use
                                                          BeautifulSoup
                                                          to scrape the
                                                          site to get
                                                          that data, but
                                                          it would be
                                                          much easier to
                                                          access the
                                                          data directly.<br>
                                                          <br>
                                                          Yesterday
                                                          afternoon, the
                                                          ISP restored
                                                          service. Last
                                                          time it died
                                                          after two
                                                          days, but I am
                                                          keeping my
                                                          fingers
                                                          crossed. I am
                                                          attaching the
                                                          django stuff.<span
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224HOEnZb"><font
color="#888888"><br>
                                                          <br>
                                                          Tony</font></span>
                                                          <div>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224h5"><br>
                                                          <br>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224m_5089198513458135942moz-cite-prefix">On




                                                          04/11/2017
                                                          01:36 AM,
                                                          Jatin Dhankhar
                                                          wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">
                                                          <div>Hi Tony,</div>
                                                          <div> </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">Normally, we use </span><a
                                                          moz-do-not-send="true"
class="m_7731592090204339401moz-txt-link-freetext"
                                                          href="http://chat.sugarlabs.org"
target="_blank"><a class="moz-txt-link-freetext" href="http://chat.sugarlabs.org">http://chat.sugarlabs.org</a></a><span
                                                          style="font-size:12.8px"> <wbr>or

                                                          on freenode:
                                                          sugar-meeting
                                                          or
                                                          sugar-newbies.
                                                          These are
                                                          logged sites
                                                          so that there
                                                          is a record.
                                                          The second is
                                                          more
                                                          appropriate
                                                          since
                                                          sugar-meeting
                                                          is used for
                                                          SLOB meetings
                                                          and the like.
                                                          The real
                                                          problem with
                                                          IRC is time
                                                          zones. Email
                                                          has the
                                                          advantage that
                                                          either party
                                                          can send or
                                                          receive at any
                                                          time. Last
                                                          year with a
                                                          GSOC mentee we
                                                          used
                                                          sugar-newbies
                                                          by arranging a
                                                          specific
                                                          meeting time
                                                          in advance. </span></blockquote>
                                                          <div>Yes, that
                                                          is correct,
                                                          main issue in
                                                          communication
                                                          barrier is due
                                                          to timezone
                                                          issues. Since
                                                          most of the
                                                          people are
                                                          familiar and
                                                          are available
                                                          on IRC, it's
                                                          seems to be
                                                          the primary
                                                          channel of
                                                          communication
                                                          along with
                                                          mailing lists
                                                          and email. But
                                                          since you said
                                                          we can use
                                                          anything else,
                                                          giving Slack a
                                                          try won't hurt
                                                          (if issue is
                                                          about not
                                                          using closed
                                                          source
                                                          software then
                                                          IRC is fine,
                                                          or we can try <a
moz-do-not-send="true" href="https://about.mattermost.com/"
                                                          target="_blank">Mattermost</a>).</div>
                                                          <div><br>
                                                          </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px"> Another part of the process is how to update '</span><a
moz-do-not-send="true" href="http://translate.sugarlabs.org/"
                                                          style="font-size:12.8px"
target="_blank">translate.sugarlabs.org</a><span
                                                          style="font-size:12.8px">'
                                                          with the
                                                          corresponding
                                                          POT file to
                                                          enable
                                                          localization.
                                                          We can get
                                                          help from
                                                          Chris Leonard
                                                          on this. </span></blockquote>
                                                          <div><br>
                                                          </div>
                                                          <div>I am not
                                                          aware on how
                                                          localization
                                                          works. Do we
                                                          need to
                                                          download
                                                          relevant files
                                                          and bundle
                                                          them with the
                                                          acitvity
                                                          before making
                                                          it available
                                                          on ASLO ? </div>
                                                          <div><br>
                                                          </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">I have my Django version available - but the
                                                          internet
                                                          problems here
                                                          are still
                                                          unresolved.
                                                          The technician
                                                          is supposed to
                                                          make another
                                                          visit today to
                                                          see what is
                                                          wrong with our
                                                          connection.
                                                          Let me know if
                                                          and when you
                                                          think this
                                                          will be useful
                                                          to you.</span></blockquote>
                                                          <div>Let me
                                                          know when your
                                                          connection is
                                                          stable and I
                                                          would start.</div>
                                                          <div> What
                                                           are the
                                                          things you
                                                          need me to do
                                                          in the
                                                          meantime ? </div>
                                                          <div><br
                                                          style="font-size:12.8px">
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">One open issue is sugar3 vs sugar. Currently
                                                          two versions
                                                          of Sugar are
                                                          released. The
                                                          sugar version
                                                          supports gtk
                                                          while sugar3
                                                          supports gtk3.
                                                          Unfortunately,
                                                          gtk3 was
                                                          developed to
                                                          be totally
                                                          incompatible
                                                          with gtk. For
                                                          example,
                                                          incorporation
                                                          of one gtk3
                                                          feature
                                                          requires that
                                                          all direct and
                                                          indirect
                                                          references to
                                                          gtk be removed
                                                          or the
                                                          activity will
                                                          throw an
                                                          exception.
                                                          Several of the
                                                          gtk3
                                                          conversions
                                                          failed to meet
                                                          this test and
                                                          so fail. The
                                                          issue is
                                                          whether
                                                          curated
                                                          activities be
                                                          limited to
                                                          ones converted
                                                          to gtk3. The
                                                          positive is
                                                          that Sugar
                                                          could revert
                                                          to releasing
                                                          and
                                                          maintaining
                                                          only a single
                                                          version. The
                                                          downside is
                                                          that 100 or
                                                          more
                                                          activities
                                                          will no longer
                                                          be available.
                                                          Specifically,
                                                          in our
                                                          implementation
                                                          of ASLO, we
                                                          need to show
                                                          which versions
                                                          of an activity
                                                          work on which
                                                          versions of
                                                          Sugar (e.g.
                                                          i86, arm,
                                                          amd64, sugar
                                                          or sugar3, and
                                                          so on). We
                                                          also need to
                                                          show which
                                                          ones support
                                                          localization.
                                                          There are many
                                                          English
                                                          activities and
                                                          many Spanish
                                                          activities
                                                          that make no
                                                          provision for
                                                          localization.
                                                          Luckily there
                                                          are many that
                                                          have no
                                                          language
                                                          component.
                                                          However, for
                                                          many of these,
                                                          some kind of
                                                          help is needed
                                                          to convey the
                                                          way the
                                                          activity
                                                          works. </span></blockquote>
                                                          <div><br>
                                                          </div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="https://www.reddit.com/r/linux/comments/3e3q8n/is_there_a_technical_reason_why_gtk3_is_better/"
target="_blank">Some people believe GTK3 is slightly better</a> and I
                                                          think GTK3
                                                          will stay but
                                                          that should be
                                                          asked in
                                                          community and
                                                          voted upon and
                                                          taking in
                                                          considerations
                                                          cost of
                                                          development
                                                          and porting,
                                                          only a
                                                          discussion
                                                          will help in
                                                          this one.</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px
                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex"><span
style="font-size:12.8px">You are wading into a deep and vast body of
                                                          water!</span></blockquote>
                                                          <div>As long
                                                          as I have
                                                          something to
                                                          hold onto, I
                                                          will not drown
                                                          😅 </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks,</div>
                                                          <div>Jatin
                                                          Dhankhar</div>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On


                                                          Mon, Apr 10,
                                                          2017 at 9:11
                                                          AM, Tony
                                                          Anderson <span
                                                          dir="ltr"><<a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-abbreviated"
href="mailto:tony_anderson@usa.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          text="#000000"
bgcolor="#FFFFFF"> Hi, Jatin<br>
                                                          <br>
                                                          Normally, we
                                                          use <a
                                                          moz-do-not-send="true"
class="m_7731592090204339401moz-txt-link-freetext"
                                                          href="http://chat.sugarlabs.org"
target="_blank"><a class="moz-txt-link-freetext" href="http://chat.sugarlabs.org">http://chat.sugarlabs.org</a></a> or on freenode:
                                                          sugar-meeting
                                                          or
                                                          sugar-newbies.
                                                          These are
                                                          logged sites
                                                          so that there
                                                          is a record.
                                                          The second is
                                                          more
                                                          appropriate
                                                          since
                                                          sugar-meeting
                                                          is used for
                                                          SLOB meetings
                                                          and the like.
                                                          The real
                                                          problem with
                                                          IRC is time
                                                          zones. Email
                                                          has the
                                                          advantage that
                                                          either party
                                                          can send or
                                                          receive at any
                                                          time. Last
                                                          year with a
                                                          GSOC mentee we
                                                          used
                                                          sugar-newbies
                                                          by arranging a
                                                          specific
                                                          meeting time
                                                          in advance. <br>
                                                          <br>
                                                          I haven't
                                                          heard from
                                                          Walter, but my
                                                          preference
                                                          would be to
                                                          use the
                                                          Sugarlabs
                                                          server since
                                                          the content is
                                                          largely
                                                          already there
                                                          and it would
                                                          be easier to
                                                          make it the
                                                          official site
                                                          if that were
                                                          decided. So in
                                                          the short run,
                                                          I think you
                                                          should do
                                                          whatever is
                                                          best for your
                                                          own
                                                          development
                                                          process. <br>
                                                          <br>
                                                          I am not sure
                                                          how CI fits
                                                          into this. If
                                                          the activity
                                                          development is
                                                          done on
                                                          GitHub, then
                                                          the deployment
                                                          model is to
                                                          run setup.py
                                                          to create an
                                                          xo bundle and
                                                          then copy that
                                                          bundle to the
                                                          appropriate
                                                          location in
                                                          the <a
                                                          moz-do-not-send="true"
href="http://download.sugarlabs.org" target="_blank">download.sugarlabs.org</a>
                                                          tree. Assuming
                                                          the update
                                                          results from a
                                                          PR, the
                                                          deployer would
                                                          need to update
                                                          the activity
                                                          information on
                                                          ASLO
                                                          appropriately.
                                                          However, that
                                                          process
                                                          depends on
                                                          where that
                                                          data
                                                          (metadata) is
                                                          stored.
                                                          Another part
                                                          of the process
                                                          is how to
                                                          update '<a
                                                          moz-do-not-send="true"
href="http://translate.sugarlabs.org" target="_blank">translate.sugarlabs.org</a>'
                                                          with the
                                                          corresponding
                                                          POT file to
                                                          enable
                                                          localization.
                                                          We can get
                                                          help from
                                                          Chris Leonard
                                                          on this. <br>
                                                          <br>
                                                          I have my
                                                          Django version
                                                          available -
                                                          but the
                                                          internet
                                                          problems here
                                                          are still
                                                          unresolved.
                                                          The technician
                                                          is supposed to
                                                          make another
                                                          visit today to
                                                          see what is
                                                          wrong with our
                                                          connection.
                                                          Let me know if
                                                          and when you
                                                          think this
                                                          will be useful
                                                          to you.<br>
                                                          <br>
                                                          I have now
                                                          tested most of
                                                          the activities
                                                          (~400). I was
                                                          optimistic in
                                                          the number
                                                          that work out
                                                          of the box.
                                                          However, a
                                                          part of this
                                                          is running
                                                          them in the
                                                          Ubuntu version
                                                          of Sugar
                                                          (amd64). There
                                                          are many
                                                          activities
                                                          which launch
                                                          object code
                                                          (mostly c)
                                                          which is
                                                          dependent on
                                                          the
                                                          architecture.
                                                          I am now
                                                          trying to
                                                          repeat the
                                                          tests on an
                                                          XO-1.75. One
                                                          issue on
                                                          Ubuntu is that
                                                          many
                                                          activities
                                                          assume a
                                                          1200x900
                                                          screen and so
                                                          on a 1024X768
                                                          screen
                                                          overflow. This
                                                          makes some of
                                                          the games
                                                          unusable since
                                                          part of the
                                                          controls are
                                                          off the
                                                          screen.
                                                          Because of the
                                                          internet
                                                          problems, the
                                                          untested
                                                          activities
                                                          tend to be new
                                                          ones since I
                                                          was using my
                                                          local
                                                          repository
                                                          which is a
                                                          snapshot taken
                                                          several months
                                                          ago. The other
                                                          group are the
                                                          GCompris
                                                          activities
                                                          (about 70). <br>
                                                          <br>
                                                          My intent is
                                                          to build a
                                                          'curated'
                                                          repository of
                                                          activities
                                                          known to work
                                                          and be usable
                                                          on the XO and
                                                          on Ubuntu (or
                                                          such other
                                                          platform that
                                                          Sugar may
                                                          choose to
                                                          support). Most
                                                          of the
                                                          currently not
                                                          work
                                                          activities
                                                          have software
                                                          dependencies
                                                          no longer
                                                          included in
                                                          the current
                                                          Sugar release.
                                                          So the curated
                                                          library will
                                                          grow as
                                                          activities are
                                                          repaired over
                                                          time. <br>
                                                          <br>
                                                          One open issue
                                                          is sugar3 vs
                                                          sugar.
                                                          Currently two
                                                          versions of
                                                          Sugar are
                                                          released. The
                                                          sugar version
                                                          supports gtk
                                                          while sugar3
                                                          supports gtk3.
                                                          Unfortunately,
                                                          gtk3 was
                                                          developed to
                                                          be totally
                                                          incompatible
                                                          with gtk. For
                                                          example,
                                                          incorporation
                                                          of one gtk3
                                                          feature
                                                          requires that
                                                          all direct and
                                                          indirect
                                                          references to
                                                          gtk be removed
                                                          or the
                                                          activity will
                                                          throw an
                                                          exception.
                                                          Several of the
                                                          gtk3
                                                          conversions
                                                          failed to meet
                                                          this test and
                                                          so fail. The
                                                          issue is
                                                          whether
                                                          curated
                                                          activities be
                                                          limited to
                                                          ones converted
                                                          to gtk3. The
                                                          positive is
                                                          that Sugar
                                                          could revert
                                                          to releasing
                                                          and
                                                          maintaining
                                                          only a single
                                                          version. The
                                                          downside is
                                                          that 100 or
                                                          more
                                                          activities
                                                          will no longer
                                                          be available.
                                                          Specifically,
                                                          in our
                                                          implementation
                                                          of ASLO, we
                                                          need to show
                                                          which versions
                                                          of an activity
                                                          work on which
                                                          versions of
                                                          Sugar (e.g.
                                                          i86, arm,
                                                          amd64, sugar
                                                          or sugar3, and
                                                          so on). We
                                                          also need to
                                                          show which
                                                          ones support
                                                          localization.
                                                          There are many
                                                          English
                                                          activities and
                                                          many Spanish
                                                          activities
                                                          that make no
                                                          provision for
                                                          localization.
                                                          Luckily there
                                                          are many that
                                                          have no
                                                          language
                                                          component.
                                                          However, for
                                                          many of these,
                                                          some kind of
                                                          help is needed
                                                          to convey the
                                                          way the
                                                          activity
                                                          works. <br>
                                                          <br>
                                                          You are wading
                                                          into a deep
                                                          and vast body
                                                          of water!<span
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224m_5089198513458135942HOEnZb"><font
color="#888888"><br>
                                                          <br>
                                                          Tony</font></span>
                                                          <div>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224m_5089198513458135942h5"><br>
                                                          <br>
                                                          <div
class="m_7731592090204339401m_1479173004874202416m_-3495548269090561659m_6996674201037445275m_-7011079753232270224m_5089198513458135942m_2297804042014618975moz-cite-prefix">On





                                                          04/10/2017
                                                          12:00 AM,
                                                          Jatin Dhankhar
                                                          wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">Hi,



                                                          <div>Sorry for
                                                          the delay. I
                                                          went through
                                                          the polls
                                                          tutorials and
                                                          I think I am
                                                          getting hang
                                                          of Django. I
                                                          have one query
                                                          that is out of
                                                          context, what
                                                          is your IRC
                                                          setup ? IRC
                                                          doesn't allow
                                                          message to be
                                                          delivered or
                                                          stored once
                                                          either party
                                                          is offline,
                                                          people login
                                                          through a
                                                          external
                                                          server for
                                                          IRC's to
                                                          maintain their
                                                          availability
                                                          in a channel.
                                                          May I suggest
                                                          something like
                                                          Slack or Flock
                                                          for
                                                          communication.
                                                          IRC is good
                                                          for quick and
                                                          fast
                                                          connection but
                                                          Slack and
                                                          alternatives
                                                          allow easy
                                                          communication.
                                                          (Just a
                                                          suggestion,
                                                          though)</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Should I
                                                           deploy the
                                                          same polls app
                                                          on
                                                          DigitalOcean
                                                          along with CI
                                                          pipeline and
                                                          branching
                                                          model in the
                                                          meantime with
                                                          code hosted on
                                                          Github ?</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks,</div>
                                                          <div>Jatin
                                                          Dhankhar</div>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On



                                                          Sat, Apr 8,
                                                          2017 at 6:28
                                                          AM, Tony
                                                          Anderson <span
                                                          dir="ltr"><<a
moz-do-not-send="true"
                                                          class="m_7731592090204339401moz-txt-link-abbreviated"
href="mailto:tony_anderson@usa.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          text="#000000"
bgcolor="#FFFFFF"> Hi, Jatin<br>
                                                          <br>
                                                          I abbreviated
                                                          this thread
                                                          because I am
                                                          getting
                                                          complaints
                                                          from the list
                                                          that the
                                                          emails are too
                                                          long.<br>
                                                          <br>
                                                          Yesterday, I
                                                          was able to
                                                          complete a set
                                                          of 25
                                                          activities to
                                                          use as a test
                                                          base. The
                                                          Django app now
                                                          has two views.
                                                          First is a
                                                          display of all
                                                          of the <br>
                                                          activities
                                                          with the icon
                                                          and name. A
                                                          link for each
                                                          opens the full
                                                          activity page.
                                                          The data for
                                                          the views is
                                                          in a file
                                                          which is a
                                                          list of jsons,
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </blockquote>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </blockquote>
            </div>
            ...</blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>