These are chat archives for ipython/ipython

21st
Mar 2015
Scott Sanderson
@ssanderson
Mar 21 2015 00:22
what are the odds that an implementation of AbstractHasTraits makes it in for IPython before the repo split?
(meaning, HasTraits + ABCMeta behavior)
Matthias Bussonnier
@Carreau
Mar 21 2015 00:55
Slim I woudl say.
the current traits PRs already broke 2 things today.
Scott Sanderson
@ssanderson
Mar 21 2015 00:59
I gathered as much; I made due with a PR adding a test that would have fixed my downstream bug: ipython/ipython#8102
Matthias Bussonnier
@Carreau
Mar 21 2015 01:05
Well you can still try to submit :-)
Scott Sanderson
@ssanderson
Mar 21 2015 01:05
need to actually fix my downstream bug now that I have a test for it :)
and then maybe I'll see about the more far-reaching fix
Matthias Bussonnier
@Carreau
Mar 21 2015 22:56
@takluyver around ?
Question JS config. Why is load_extension a dict ?
Thomas Kluyver
@takluyver
Mar 21 2015 22:56
I'm 40% around!
Matthias Bussonnier
@Carreau
Mar 21 2015 22:56
It seem we only use the keys?
I'll ask only 40% of questions then.
If you have no clue, then it's fine.
I can dig deeper myself.
just wanted to ping the master in case.
Thomas Kluyver
@takluyver
Mar 21 2015 22:57
good question. The reason is that the order doesn't matter, and the way the JS config system works, it's easy to add and remove keys from a dict using the update() method, but there isn't a good way to add and remove items from a list.
Matthias Bussonnier
@Carreau
Mar 21 2015 22:58
Ok. That what I tought.
Thomas Kluyver
@takluyver
Mar 21 2015 22:58
to remove one key from a list, you'd have to fetch the whole config, modify it and send the list back, whereas to remove one key from a dict, you just have to update it with {... {'key': null}}
Matthias Bussonnier
@Carreau
Mar 21 2015 22:59
Ok. Thanks, that make sens.
will complete this then .
Thomas Kluyver
@takluyver
Mar 21 2015 23:00
and it did also occur to me that the values would work to enable/disable extensions without removing them from config, if we wanted to do that.
but broadly, a dict where you only use the keys ~= a set
(nice book, btw :-) )
Matthias Bussonnier
@Carreau
Mar 21 2015 23:03
:-)
Just trying git book.
Thomas Kluyver
@takluyver
Mar 21 2015 23:03
what do you think?
Matthias Bussonnier
@Carreau
Mar 21 2015 23:03
getting better everyday, but not really usable by a team yet.
integration with github is cluncky.
You either use only github, or only their web interface.
if you use only github you loose the point.
their web-interface miss power tools.
I can invite you on my fork.
let me try.
invite sent.
Thomas Kluyver
@takluyver
Mar 21 2015 23:07
received, thanks
oh, I see they have a payments system involved too - it's not just for free books
Matthias Bussonnier
@Carreau
Mar 21 2015 23:21
No, not only free.
they also used to have desktop app to edit;
Thomas Kluyver
@takluyver
Mar 21 2015 23:22
Hmm, I see what you mean about a bit clunky. You invited me to edit on Gitbook, but that doesn't give me permission to modify it, because "You don't have the permission to edit this repository (on github.com) with your GitHub account."
Matthias Bussonnier
@Carreau
Mar 21 2015 23:26
Yeah, also at first you don't have github repo
(you shoudl have rights now)
and when you hook to github you loose all your changes.
and the default repository on github do not build
Thomas Kluyver
@takluyver
Mar 21 2015 23:28
mhm
oh God, I also see it has an English style checker
"may be passive voice"
I hope there's a way to turn that off.
Matthias Bussonnier
@Carreau
Mar 21 2015 23:28
I don't knwo
this thing is brand new like since today.
there was no checker before.
Thomas Kluyver
@takluyver
Mar 21 2015 23:29
aha. I've just turned it from 'suggestions' to 'errors', which makes it shut up about the passive voice. I don't know if that's a per user or per book setting.
Matthias Bussonnier
@Carreau
Mar 21 2015 23:31
I still see suggestions.
but nothing highlighted :-)
Thomas Kluyver
@takluyver
Mar 21 2015 23:32
heh
Matthias Bussonnier
@Carreau
Mar 21 2015 23:32
So the config is global but not reflected everywhere .
Thomas Kluyver
@takluyver
Mar 21 2015 23:32
I'm doing a bit of proofreading for you. English tip of the day: should, not shoudl
Matthias Bussonnier
@Carreau
Mar 21 2015 23:33
Yeah, I know this one.
it's like $ gti commti
Thomas Kluyver
@takluyver
Mar 21 2015 23:34
If it wasn't for Gmail undo send, a lot of my emails would be signed Thoams
Not bad: Carreau/jupyter-book@b32acb8
Matthias Bussonnier
@Carreau
Mar 21 2015 23:40
Thanks :-)
Are you home ?
Thomas Kluyver
@takluyver
Mar 21 2015 23:43
yep
Matthias Bussonnier
@Carreau
Mar 21 2015 23:45
Yes and I are at Mojos' coffe not too far.
Dwite/Sacramento.
Matthias Bussonnier
@Carreau
Mar 21 2015 23:54
I guess the 2 abose sentencs where implying "do you want to join us" ?