<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    just to chime in since I had a little classroom experience as well:<br>
    <br>
    <div class="moz-cite-prefix">On 07/11/2012 05:56 PM, Skipper Seabold
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKF=DjuWDMX2QLWhxBu2wM1wShDT=hVXyGmy4A4j2TaHdfSaDg@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">On Wed, Jul 11, 2012 at 11:36 AM,
        Matthias BUSSONNIER <span dir="ltr">&lt;<a
            moz-do-not-send="true"
            href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div style="word-wrap:break-word"><br>
            <div>
              <div>Le 11 juil. 2012 &agrave; 16:08, Skipper Seabold a &eacute;crit :</div>
              <div class="im"><br>
                <blockquote type="cite">
                  <div>Hi,<br>
                    <br>
                    I had my first experience using the IPython notebook
                    server in a<br>
                    classroom setting this week. The students mostly
                    liked it, but I'm<br>
                    afraid they were mostly Python novices and I may
                    have learned more<br>
                    than they did. In any case, I'm hooked and see many
                    possibilities.<br>
                    Great work.<br>
                  </div>
                </blockquote>
                <div><br>
                </div>
              </div>
              Thanks for your kind words and your feedback.</div>
            <div>
              <div class="im"><br>
                <blockquote type="cite">
                  <div>I'm curious about a couple of things. Is the same
                    notebook intended to<br>
                    be run by multiple users connected to the same
                    server?</div>
                </blockquote>
                <div><br>
                </div>
              </div>
              <div>We plan on having simultaneous user being able to
                edit the same notebook at the same time,&nbsp;</div>
              <div>probably with a per-cell lock.</div>
              <div class="im"><br>
                <blockquote type="cite">
                  <div> Would it make&nbsp;sense to have an option for
                    copy-on-open that could be set in global<br>
                    settings with the default to the current behavior?</div>
                </blockquote>
                <div><br>
                </div>
              </div>
              <div>I don't really see the reason why, or not enough
                people will have the use of it.&nbsp;</div>
              <div>In the end we might allow to create a new notebook
                from an URL, otherwise,&nbsp;</div>
              <div>you just have to open a notebook and create a copy
                from the file menu.</div>
              <div class="im"><br>
              </div>
            </div>
          </div>
        </blockquote>
        <div><br>
          Well my thinking is that with this set to copy on open/write,
          when each user opens the notebook, it is no longer the same
          notebook. It is now theirs. IIUC, with the cell locks, you
          would have users editing the same file, just not overwriting
          each others changes?<br>
          &nbsp;
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    My solution was to create an account for each student, copy
    classroom material into their home directory, and start a password
    protected notebook server for each of them. All done automatically
    on linux with this script
    <a class="moz-txt-link-freetext" href="https://github.com/Midnighter/Notebooks-Launcher">https://github.com/Midnighter/Notebooks-Launcher</a><br>
    <br>
    <blockquote
cite="mid:CAKF=DjuWDMX2QLWhxBu2wM1wShDT=hVXyGmy4A4j2TaHdfSaDg@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div class="im">
                <blockquote type="cite">
                  <div> Relatedly and i&nbsp;don't know if this make sense,
                    but is it possible to have these copied<br>
                    notebooks not show up in the directory ?</div>
                </blockquote>
                <blockquote type="cite">
                  <div> Ie., I have a set of examples<br>
                    that can serve as templates, but no one is
                    interested in seeing the<br>
                    copies of others or new files created by others in
                    the list.<br>
                  </div>
                </blockquote>
                <div><br>
                </div>
              </div>
              <div>All this is related to multiuser capability, but in
                your case (and generally with multi user), you wish to
                have&nbsp;</div>
              <div>user isolated in their home. Which is not the case
                right now.&nbsp;</div>
            </div>
          </div>
        </blockquote>
        <div><br>
          Right. I give the whole server a scratch environment with
          limited privileges.<br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div>Trying to get around with invisible files and so on
                is IMHO the wrong way to solve</div>
              <div>a bigger problem of multi-user on the same *server*.
                If you really want copy on write&nbsp;</div>
              <div>notebooks, it might be doable later when we'll have
                the possibly of choosing a backend to store</div>
              <div>the notebooks (PR in Progress), but I doubt this
                particular backend will be implemented by us.</div>
            </div>
          </div>
        </blockquote>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div>You might want to have a look at nbcloud[1], which
                run the IPython notebook an amazon EC2.</div>
            </div>
          </div>
        </blockquote>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div>With this each of your student will have its own
                notebook instance in its own Vm in the cloud.</div>
              <div>You could provide a small first&nbsp;notebook that
                download more notebooks in the current directory if
                needed.</div>
              <div class="im">
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
        <div><br>
          Thanks I've seen this, though it's not exactly what I have in
          mind. I'd prefer to maintain my own server. Devil's advocate
          here: It seems like to me, and maybe I'm just totally
          misunderstanding, but a notebook server that only serves well
          for one person is a bit of a misnomer. Why wouldn't I just
          provide different user accounts where people could SSH into
          the box with their own account and run the qt-console?<br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div class="im">
                <blockquote type="cite">
                  <div>
                    I also saw fairly poor performance due to our
                    server. I currently only<br>
                    have two virtual processors allocated on this
                    machine. I'm curious<br>
                    what others have found to be satisfactory for
                    notebook servers (or<br>
                    similar endeavors) with say 10-30 concurrent users.
                    I can request more<br>
                    resources.<br>
                  </div>
                </blockquote>
                <div><br>
                </div>
              </div>
              <div>As the notebook run as a particular user and there is
                non privileges separation, I doubt you'll find&nbsp;</div>
              <div>30 person sharing the same account.</div>
            </div>
          </div>
        </blockquote>
        <div><br>
          With nbcloud? Currently, I do have 30 people logged in to a
          single box with the server being run by a single account.<br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div>As for your resources problem, amazon EC2 is free for
                the first hundreds of hour I think[2], so your student
                can&nbsp;</div>
              <div>each get an account and could mess around without
                impacting others performances.</div>
              <div class="im">
                <div><br>
                </div>
                <blockquote type="cite">
                  <div>The last thing I noticed is that the Clusters tab
                    seemed to start and<br>
                    assign processes on its own. At least none of the
                    students owned up to<br>
                    setting 100 processes and clicking start. Expected?
                    Ghost in the<br>
                    machine? Or sneaky student?<br>
                  </div>
                </blockquote>
                <br>
              </div>
              <div>We never had any issues report on this,</div>
              <div>and the code is pretty strait forward,</div>
              <div>so my guess is the second one.</div>
              <div><br>
              </div>
              <div>
                Also, in my opinion,&nbsp;it would be great to have the first
                impressions from your students.</div>
            </div>
          </div>
        </blockquote>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div>Things that might look obvious from our point of view
                might not make sense at all to new user.</div>
              <div>So don't hesitate if you have more feedback.</div>
            </div>
          </div>
        </blockquote>
        <div><br>
          As I mentioned most of them had very little Python background.
          As is often the case, I think they took to it faster than I
          did to be honest, since I have more set ideas and context.<br>
          &nbsp;</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <div><br>
              </div>
              <div>Thanks again.</div>
              <span class="HOEnZb"><font color="#888888">
                  <div>--&nbsp;</div>
                  <div>Matthias</div>
                  <div><br>
                  </div>
                </font></span></div>
            <span class="HOEnZb"><font color="#888888">[1] nbcloud :&nbsp;<a
                  moz-do-not-send="true"
                  href="https://notebookcloud.appspot.com/login"
                  target="_blank">https://notebookcloud.appspot.com/login</a>
                <div>
                  [2] EC2 free :&nbsp;<a moz-do-not-send="true"
                    href="http://aws.amazon.com/fr/ec2/#pricing"
                    target="_blank">http://aws.amazon.com/fr/ec2/#pricing</a></div>
              </font></span></div>
          <br>
          _______________________________________________<br>
          IPython-User mailing list<br>
          <a moz-do-not-send="true" href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
          <a moz-do-not-send="true"
            href="http://mail.scipy.org/mailman/listinfo/ipython-user"
            target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
IPython-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
</pre>
    </blockquote>
    <br>
    I would like to change my script in a way that it sets up the
    accounts on one machine but that the notebook servers that I start
    connect to a remote cluster of ipython kernels so as not to overtax
    that one machine. I lack the knowledge as to whether that is
    actually possible but with your need as motivation and help by the
    awesome ipython folks I can work on this.<br>
    <br>
    Would that be a suitable scenario for you?<br>
    <br>
    Best,<br>
    Moritz<br>
    <br>
  </body>
</html>