These are chat archives for ipython/ipython

13th
Apr 2015
Jessica B. Hamrick
@jhamrick
Apr 13 2015 03:22
@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
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
@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
@ellisonbg @KesterTong you guys around today?
Kyle Kelley
@rgbkrk
Apr 13 2015 16:24
@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
is jupyter_notebook.services.config a pretty intact relocation of IPython.config
Thomas Kluyver
@takluyver
Apr 13 2015 16:37
no, that moved to traitlets.config
Preston Holmes
@ptone
Apr 13 2015 16:39
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
locate_profile is in IPython.paths, I think. Jupyter won't have named profiles
Jessica B. Hamrick
@jhamrick
Apr 13 2015 16:50
@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
oh cool, I will let people know about that when they ask :)
thanks
Jessica B. Hamrick
@jhamrick
Apr 13 2015 16:52
Sure
redSlug
@redSlug
Apr 13 2015 17:05
@jhamrick hello
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:05
@redSlug Hi
redSlug
@redSlug
Apr 13 2015 17:05
@jhamrick i'm interested in working on nbgrader
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:05
Awesome!
redSlug
@redSlug
Apr 13 2015 17:05
where can I start?
Jessica B. Hamrick
@jhamrick
Apr 13 2015 17:06
Let’s hop over to the jupyter/nbgrader chat room rather than ipython/ipython
redSlug
@redSlug
Apr 13 2015 17:06
I'm not familiar with it, but Thomas says it's a cool project.
Isaac
@stuntgoat
Apr 13 2015 17:59
jupyter/jupyter_notebook#11
sorry about that
wrong room
Matthias Bussonnier
@Carreau
Apr 13 2015 18:00
no harm done :-)
Anton Akhmerov
@akhmerov
Apr 13 2015 18:11
@rgbkrk thanks for the explanation. From what I saw, OnMetal does seem an appealing option.
Jason Grout
@jasongrout
Apr 13 2015 18:30
@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
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
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
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
tst
s/tst/test
hmm
Jason Grout
@jasongrout
Apr 13 2015 18:32
tst
s/tst/test
weird.
Jonathan Frederic
@jdfreder
Apr 13 2015 18:32
The cake is a lie
Jason Grout
@jasongrout
Apr 13 2015 18:32
is the repo in a state
s/repos/repos
Min RK
@minrk
Apr 13 2015 18:33
ha
Jason Grout
@jasongrout
Apr 13 2015 18:33
ah, you need s/repo/repos/
pay attention to the last slash
Jonathan Frederic
@jdfreder
Apr 13 2015 18:33
test
nice
Jason Grout
@jasongrout
Apr 13 2015 18:33
hehe
Tst Tst Tst
hehe...regex works, so s/T.?st/Tst/g worked
Matthias Bussonnier
@Carreau
Apr 13 2015 18:35
Need tool that git checkout <branch> across many repos :-)
Jason Grout
@jasongrout
Apr 13 2015 18:36
for i in *; do cd $i && git checkout BRANCH && cd ..; done;
Jonathan Frederic
@jdfreder
Apr 13 2015 18:36
Nw cn tp wtht vwls sl.
Jason Grout
@jasongrout
Apr 13 2015 18:37
that looks like perl
Matthias Bussonnier
@Carreau
Apr 13 2015 18:37
@jasongrout can you also tell me which repos are behind master ?
Jonathan Frederic
@jdfreder
Apr 13 2015 18:37
lthgh, wtht vwls txt s lmst llgbl.
Matthias Bussonnier
@Carreau
Apr 13 2015 18:37
and tell me whch are on custom branches ?
:-P
Jason Grout
@jasongrout
Apr 13 2015 18:37
sure, the sky is the limit
though the higher you go, the harder you fall
Matthias Bussonnier
@Carreau
Apr 13 2015 18:38
:-)
running on python 3.4a2 with turing warning into errors for now !
Jason Grout
@jasongrout
Apr 13 2015 18:41
@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
OOOr III caaan tyyypeee wiiith looots ooof voooweeels
s/([aeiouy])/$1$1$1/g
Thanks @Carreau
Matthias Bussonnier
@Carreau
Apr 13 2015 18:43
@jasongrout maybe readme need updating :-)
Min RK
@minrk
Apr 13 2015 18:44
@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
is there a list of current dependencies (e.g., list of current github repos)
Jason Grout
@jasongrout
Apr 13 2015 19:53
@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
@jasongrout I believe so, yes
Jonathan Frederic
@jdfreder
Apr 13 2015 21:27
Thanks for sharing that @jasongrout , I'm adding it to my useful snippets bucket.
Jason Grout
@jasongrout
Apr 13 2015 21:39
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
@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
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
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
great; that's what I was hoping
I still hope it works out that way :)
Min RK
@minrk
Apr 13 2015 21:47
me, too!
Jason Grout
@jasongrout
Apr 13 2015 21:53
@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
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
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
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
fair enough
@jdfreder, have you played with @KesterTong's phosphor notebook prototype?
Jonathan Frederic
@jdfreder
Apr 13 2015 22:03
No I haven't yet, thanks for the link
Jason Grout
@jasongrout
Apr 13 2015 22:39
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
For your own projects?
Jason Grout
@jasongrout
Apr 13 2015 22:40
yes
(I use the unicode_type)
Min RK
@minrk
Apr 13 2015 22:41
maybe IPython?
Jason Grout
@jasongrout
Apr 13 2015 22:41
Here's what I figured so far:
s/IPython.html/jupyter_notebook/
Min RK
@minrk
Apr 13 2015 22:41
I should write up most of the replacements
Jason Grout
@jasongrout
Apr 13 2015 22:42
Thanks; that would be helpful
Min RK
@minrk
Apr 13 2015 22:42
Since I assume you are using it in IPython, IPython.utls makes the most sense
Jason Grout
@jasongrout
Apr 13 2015 22:42
Also, IPython.utils.paths -> IPython.paths, I think
Min RK
@minrk
Apr 13 2015 22:43
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
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
I would probably recommend using six or some other project for your own stuff.
Jason Grout
@jasongrout
Apr 13 2015 22:50
ah, sure, that makes sense
another replacement: IPython.utils.traitlets -> traitlets
Min RK
@minrk
Apr 13 2015 23:13
Thomas Kluyver
@takluyver
Apr 13 2015 23:26
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
Great, thanks for wranging. Some good contributions!