These are chat archives for ipython/ipython

13th
Apr 2015
Jessica B. Hamrick
@jhamrick
Apr 13 2015 03:22 UTC
@akhmerov Yeah, what @minrk said is about right. I think currently it’s a bit closer to $80/student/semester but that’s with way more resources than we actually need. $25/student/semester is a much more reasonable estimate, though I forget exactly which machines that would be using. @rgbkrk might remember.
Thomas Kluyver
@takluyver
Apr 13 2015 13:06 UTC
Heads up everyone, I'm doing sprints at PyCon. Please be patient with pull requests - not that you wouldn't be anyway.
Anton Akhmerov
@akhmerov
Apr 13 2015 13:41 UTC
@jhamrick thanks for the answer. Do you have an opinion about how Rackspace compares to EC2 or google compute in this respect, or did you just use Rackspace because it was free?
S. Chris Colbert
@sccolbert
Apr 13 2015 14:25 UTC
@ellisonbg @KesterTong you guys around today?
Kyle Kelley
@rgbkrk
Apr 13 2015 16:24 UTC
@akhmerov Free with included me support.
That's the main reason.
[Totally partisan conflict of interest response] If you have a lot of users, the onmetal servers are much cheaper per unit of compute/memory than the large servers on other providers (at least for now). The IOPS are much better too (hand waving).
Preston Holmes
@ptone
Apr 13 2015 16:37 UTC
is jupyter_notebook.services.config a pretty intact relocation of IPython.config
Thomas Kluyver
@takluyver
Apr 13 2015 16:37 UTC
no, that moved to traitlets.config
Preston Holmes
@ptone
Apr 13 2015 16:39 UTC
am I on the right track that jupyter_notebook.services.config.ConfigManager() .config_dir is the correct replacement for locate_profile ?
or do I use paths directly
Thomas Kluyver
@takluyver
Apr 13 2015 16:39 UTC
locate_profile is in IPython.paths, I think. Jupyter won't have named profiles
Jessica B. Hamrick
@jhamrick
Apr 13 2015 16:50 UTC
@takluyver If anybody wants to sprint on nbgrader, I have a ton of wishlist items people could work on, some of which aren’t too difficult. I can be around today to guide remotely, less so the rest of the week though.
Thomas Kluyver
@takluyver
Apr 13 2015 16:51 UTC
oh cool, I will let people know about that when they ask :)
thanks
Jessica B. Hamrick
@jhamrick
Apr 13 2015 16:52 UTC
Sure
redSlug
@redSlug
Apr 13 2015 17:05 UTC
@jhamrick hello
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:05 UTC
@redSlug Hi
redSlug
@redSlug
Apr 13 2015 17:05 UTC
@jhamrick i'm interested in working on nbgrader
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:05 UTC
Awesome!
redSlug
@redSlug
Apr 13 2015 17:05 UTC
where can I start?
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:06 UTC
Let’s hop over to the jupyter/nbgrader chat room rather than ipython/ipython
redSlug
@redSlug
Apr 13 2015 17:06 UTC
I'm not familiar with it, but Thomas says it's a cool project.
Isaac
@stuntgoat
Apr 13 2015 17:59 UTC
jupyter/jupyter_notebook#11
sorry about that
wrong room
Matthias Bussonnier
@Carreau
Apr 13 2015 18:00 UTC
no harm done :-)
Anton Akhmerov
@akhmerov
Apr 13 2015 18:11 UTC
@rgbkrk thanks for the explanation. From what I saw, OnMetal does seem an appealing option.
Jason Grout
@jasongrout
Apr 13 2015 18:30 UTC
@minrk - I just got back today from vacation (like @jdfreder, I was lucky to be doing other stuff during TBS :).
is the repos in a state to try installing and getting it up and running?
Min RK
@minrk
Apr 13 2015 18:31 UTC
Yes, it works and tests run. The only pain is getting dependencies that aren't yet released.
Jason Grout
@jasongrout
Apr 13 2015 18:31 UTC
whoa. cool! I typed s/repo/repos, and gitter actually went back and modified my previous line with the substitution!
Min RK
@minrk
Apr 13 2015 18:32 UTC
You can either clone and install each repo, or you can clone the notebook and pip install -r requirements.txt, which will install all of the ipython/jupyter deps from git.
Jonathan Frederic
@jdfreder
Apr 13 2015 18:32 UTC
tst
s/tst/test
hmm
Jason Grout
@jasongrout
Apr 13 2015 18:32 UTC
tst
s/tst/test
weird.
Jonathan Frederic
@jdfreder
Apr 13 2015 18:32 UTC
The cake is a lie
Jason Grout
@jasongrout
Apr 13 2015 18:32 UTC
is the repo in a state
s/repos/repos
Min RK
@minrk
Apr 13 2015 18:33 UTC
ha
Jason Grout
@jasongrout
Apr 13 2015 18:33 UTC
ah, you need s/repo/repos/
pay attention to the last slash
Jonathan Frederic
@jdfreder
Apr 13 2015 18:33 UTC
test
nice
Jason Grout
@jasongrout
Apr 13 2015 18:33 UTC
hehe
Tst Tst Tst
hehe...regex works, so s/T.?st/Tst/g worked
Matthias Bussonnier
@Carreau
Apr 13 2015 18:35 UTC
Need tool that git checkout <branch> across many repos :-)
Jason Grout
@jasongrout
Apr 13 2015 18:36 UTC
for i in *; do cd $i && git checkout BRANCH && cd ..; done;
Jonathan Frederic
@jdfreder
Apr 13 2015 18:36 UTC
Nw cn tp wtht vwls sl.
Jason Grout
@jasongrout
Apr 13 2015 18:37 UTC
that looks like perl
Matthias Bussonnier
@Carreau
Apr 13 2015 18:37 UTC
@jasongrout can you also tell me which repos are behind master ?
Jonathan Frederic
@jdfreder
Apr 13 2015 18:37 UTC
lthgh, wtht vwls txt s lmst llgbl.
Matthias Bussonnier
@Carreau
Apr 13 2015 18:37 UTC
and tell me whch are on custom branches ?
:-P
Jason Grout
@jasongrout
Apr 13 2015 18:37 UTC
sure, the sky is the limit
though the higher you go, the harder you fall
Matthias Bussonnier
@Carreau
Apr 13 2015 18:38 UTC
:-)
running on python 3.4a2 with turing warning into errors for now !
Jason Grout
@jasongrout
Apr 13 2015 18:41 UTC
@minrk, the readme says "IPython now uses git submodules to ship its javascript dependencies.", but I thought we were moving to Bower?
Jonathan Frederic
@jdfreder
Apr 13 2015 18:42 UTC
OOOr III caaan tyyypeee wiiith looots ooof voooweeels
s/([aeiouy])/$1$1$1/g
Thanks @Carreau
Matthias Bussonnier
@Carreau
Apr 13 2015 18:43 UTC
@jasongrout maybe readme need updating :-)
Min RK
@minrk
Apr 13 2015 18:44 UTC
@jasongrout well, we were using submodules until a few hours ago.
@takluyver just merged the PR dropping submodules.
Jason Grout
@jasongrout
Apr 13 2015 18:55 UTC
is there a list of current dependencies (e.g., list of current github repos)
Jason Grout
@jasongrout
Apr 13 2015 19:53 UTC
@minrk - does this look right for the full list of dependencies (based on your post above):
git clone git@github.com:ipython/ipython_genutils.git
git clone git@github.com:ipython/traitlets.git
git clone git@github.com:jupyter/jupyter_core.git
git clone git@github.com:jupyter/jupyter_nbformat.git
git clone git@github.com:jupyter/jupyter_client.git
git clone git@github.com:ipython/ipython.git
git clone git@github.com:ipython/ipython_kernel.git
git clone git@github.com:jupyter/jupyter_nbconvert.git
git clone git@github.com:jupyter/jupyter_notebook.git
Min RK
@minrk
Apr 13 2015 19:56 UTC
@jasongrout I believe so, yes
Jonathan Frederic
@jdfreder
Apr 13 2015 21:27 UTC
Thanks for sharing that @jasongrout , I'm adding it to my useful snippets bucket.
Jason Grout
@jasongrout
Apr 13 2015 21:39 UTC
I'm almost up and running. I sure hope that keeping these repos in sync isn't going to be a nightmare
Matthias Bussonnier
@Carreau
Apr 13 2015 21:42 UTC
@jasongrout it will be in the beginning, but the goal is to not keep them in sync :-)
Jason Grout
@jasongrout
Apr 13 2015 21:44 UTC
Yes, I know. That's why I'm hoping the boundaries were sufficient to keep them really separate
Min RK
@minrk
Apr 13 2015 21:44 UTC
Yeah, it's only while they aren't released that it's necessary.
genutils should basically never change; traitlets, core, and nbformat should move very slowly.
and once there's been a release of everything, using stable of the versions you aren't personally working on should be fine.
we are going to have to include backward-compatibility shims, etc. for any bug that needs fixing in another repo.
Jason Grout
@jasongrout
Apr 13 2015 21:47 UTC
great; that's what I was hoping
I still hope it works out that way :)
Min RK
@minrk
Apr 13 2015 21:47 UTC
me, too!
Jason Grout
@jasongrout
Apr 13 2015 21:53 UTC
@jdfreder - this is possibly a more useful snippet, since it installs as well (but clones using https...)
Min RK
@minrk
Apr 13 2015 21:54 UTC
I use https because I don't typically give myself push access to origin
since roughly every time that I ask git to push to origin, I mean to be pushing to my own fork.
Jason Grout
@jasongrout
Apr 13 2015 21:59 UTC
huh, that's a great double-check.
I think I'm going to change to always having upstream be https so I have to pause and type a username/password
Min RK
@minrk
Apr 13 2015 22:00 UTC
and I usually have trunk remote that is an ssh remote for the same repo, so I can push explicitly (even though I could type the password with https)
Jason Grout
@jasongrout
Apr 13 2015 22:00 UTC
fair enough
@jdfreder, have you played with @KesterTong's phosphor notebook prototype?
Jonathan Frederic
@jdfreder
Apr 13 2015 22:03 UTC
No I haven't yet, thanks for the link
Jason Grout
@jasongrout
Apr 13 2015 22:39 UTC
we have both IPython.utils.py3compat and ipython_genutils.py3compat
which should we use?
(I'm trying to figure out the right renaming incantations to match the repo split)
Min RK
@minrk
Apr 13 2015 22:40 UTC
For your own projects?
Jason Grout
@jasongrout
Apr 13 2015 22:40 UTC
yes
(I use the unicode_type)
Min RK
@minrk
Apr 13 2015 22:41 UTC
maybe IPython?
Jason Grout
@jasongrout
Apr 13 2015 22:41 UTC
Here's what I figured so far:
s/IPython.html/jupyter_notebook/
Min RK
@minrk
Apr 13 2015 22:41 UTC
I should write up most of the replacements
Jason Grout
@jasongrout
Apr 13 2015 22:42 UTC
Thanks; that would be helpful
Min RK
@minrk
Apr 13 2015 22:42 UTC
Since I assume you are using it in IPython, IPython.utls makes the most sense
Jason Grout
@jasongrout
Apr 13 2015 22:42 UTC
Also, IPython.utils.paths -> IPython.paths, I think
Min RK
@minrk
Apr 13 2015 22:43 UTC
genutils is a not-at-all public API, and a repo that we hope to get rid of as soon as we can. It's a bit unclear what we will do about py3compat, though. Maybe make a PR or two to six, and use that.
Jason Grout
@jasongrout
Apr 13 2015 22:43 UTC
okay, that makes sense.
I'll stay away from genutils.
Also, IPython.html.nbextensions.install_nbextension -> jupyter_notebook.install_nbextension
oh, wait, I guess jupyter_notebook also has an nbextensions module...
Min RK
@minrk
Apr 13 2015 22:45 UTC
I would probably recommend using six or some other project for your own stuff.
Jason Grout
@jasongrout
Apr 13 2015 22:50 UTC
ah, sure, that makes sense
another replacement: IPython.utils.traitlets -> traitlets
Thomas Kluyver
@takluyver
Apr 13 2015 23:26 UTC
Thanks all. We're winding up sprints for the day and heading to dinner. There will be more tomorrow :-)
Min RK
@minrk
Apr 13 2015 23:26 UTC
Great, thanks for wranging. Some good contributions!