From andrew.gibiansky at gmail.com  Mon Mar  2 03:23:55 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Mon, 2 Mar 2015 00:23:55 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
Message-ID: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>

Folks,

Since IPython 3.0 has been released, I am now frantically trying to get
IHaskell into a state where it can be used with 3.0 :)

I am running into the issue of authentication. In previous IHaskell
releases, I have disabled it via

c.Session.key = b''
c.Session.keyfile = b''

as it was nontrivial to implement and had not been requested by any users.

However, with Jupyter, I am attempting to avoid creating a separate
IHaskell profile, so IHaskell can be used just as a Jupyter kernel.

Is there a way to disable authentication for a kernel via its
kernelspec/kernel.json? If not, is there any way around this issue other
than creating a custom profile (or biting the bullet and figuring out and
implementing authentication)?

Should've started working on this ages ago, but kept having other more
pressing issues... :)

Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/a0c12ea0/attachment.html>

From andy at payne.org  Mon Mar  2 10:17:03 2015
From: andy at payne.org (Andrew Payne)
Date: Mon, 2 Mar 2015 10:17:03 -0500
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
Message-ID: <CABbuyuWcWGS6=HU1grBjOii8VuW2E+tCruetWR92ubrnPoHy0A@mail.gmail.com>

On Mon, Mar 2, 2015 at 3:23 AM, Andrew Gibiansky <andrew.gibiansky at gmail.com
> wrote:

> Is there a way to disable authentication for a kernel via its
> kernelspec/kernel.json? If not, is there any way around this issue other
> than creating a custom profile (or biting the bullet and figuring out and
> implementing authentication)?
>

I'm having the same issue (I think) with ITorch.  ITorch does not (yet)
implement message authentication for kernel messages.  See:
https://github.com/facebook/iTorch/issues/30

To ask a (possibly) refactored version of Andrew's question:  I'm running a
private notebook server with multiple kernels available (bash, Python 2,
Torch, etc.).  How do I disable authentication on a per-kernel basis?

-andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/3b1274d8/attachment.html>

From bussonniermatthias at gmail.com  Mon Mar  2 12:30:11 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 2 Mar 2015 09:30:11 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CABbuyuWcWGS6=HU1grBjOii8VuW2E+tCruetWR92ubrnPoHy0A@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CABbuyuWcWGS6=HU1grBjOii8VuW2E+tCruetWR92ubrnPoHy0A@mail.gmail.com>
Message-ID: <5E2D0320-644D-44F5-B858-8B1DE2AF5AA4@gmail.com>

I raised the issue here :

https://github.com/ipython/ipython/issues/7337

and for now the response is No, there is no way to configure that on a per kernel basis.

You could though write a mini wrapper/middleware in zmq in another language that accept 
unsigned message and sign them.

Though keep in mind that even on localhost, zmq ports are open to everyone and are equivalent to shell access.
-- 
M



Le 2 mars 2015 ? 07:17, Andrew Payne <andy at payne.org> a ?crit :

> 
> On Mon, Mar 2, 2015 at 3:23 AM, Andrew Gibiansky <andrew.gibiansky at gmail.com> wrote:
> Is there a way to disable authentication for a kernel via its kernelspec/kernel.json? If not, is there any way around this issue other than creating a custom profile (or biting the bullet and figuring out and implementing authentication)?
> 
> I'm having the same issue (I think) with ITorch.  ITorch does not (yet) implement message authentication for kernel messages.  See:  https://github.com/facebook/iTorch/issues/30
> 
> To ask a (possibly) refactored version of Andrew's question:  I'm running a private notebook server with multiple kernels available (bash, Python 2, Torch, etc.).  How do I disable authentication on a per-kernel basis?
> 
> -andy
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/7b1f0656/attachment.html>

From takowl at gmail.com  Mon Mar  2 12:33:25 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 2 Mar 2015 09:33:25 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
Message-ID: <CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>

On 2 March 2015 at 00:23, Andrew Gibiansky <andrew.gibiansky at gmail.com>
wrote:

> Is there a way to disable authentication for a kernel via its
> kernelspec/kernel.json? If not, is there any way around this issue other
> than creating a custom profile (or biting the bullet and figuring out and
> implementing authentication)?


If your language has a working HMAC library, implementing the
authentication should be trivial. Even in R, it wasn't hard:
https://github.com/takluyver/IRkernel/blob/master/R/kernel.r#L15

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/57090b7e/attachment.html>

From andrew.gibiansky at gmail.com  Mon Mar  2 15:14:43 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Mon, 2 Mar 2015 12:14:43 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
Message-ID: <CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>

Sounds reasonable. I sadly am not very well-versed in cryptographic
hashing, which is why I originally avoided dealing with it.

I've now implemented HMAC-SHA256 signing, but am generating invalid
signatures. So, two questions:

1. What are good ways to debug this?
2. My suspicion is that I am treating the key incorrectly. If I understand
correctly, the provided key is something like "base64-base64-base64". Is
that string meant to be taken literally as the key (when decoded from
Utf8), or is the idea to do a base64 decoding of that and use that as the
key?

Thanks,
-- Andrew

On Mon, Mar 2, 2015 at 9:33 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 2 March 2015 at 00:23, Andrew Gibiansky <andrew.gibiansky at gmail.com>
> wrote:
>
>> Is there a way to disable authentication for a kernel via its
>> kernelspec/kernel.json? If not, is there any way around this issue other
>> than creating a custom profile (or biting the bullet and figuring out and
>> implementing authentication)?
>
>
> If your language has a working HMAC library, implementing the
> authentication should be trivial. Even in R, it wasn't hard:
> https://github.com/takluyver/IRkernel/blob/master/R/kernel.r#L15
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/d5b72665/attachment.html>

From takowl at gmail.com  Mon Mar  2 15:23:52 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 2 Mar 2015 12:23:52 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
Message-ID: <CAOvn4qi+5mXQghfDPRoUdKTgjswuUKsyOnwGPP_gaJNsEKwLJA@mail.gmail.com>

On 2 March 2015 at 12:14, Andrew Gibiansky <andrew.gibiansky at gmail.com>
wrote:

> 1. What are good ways to debug this?
>

I don't know of any. Hash matching is an all or nothing thing - there's no
way to tell if you're nearly correct.


> 2. My suspicion is that I am treating the key incorrectly. If I understand
> correctly, the provided key is something like "base64-base64-base64". Is
> that string meant to be taken literally as the key (when decoded from
> Utf8), or is the idea to do a base64 decoding of that and use that as the
> key?
>

Taken literally, i.e. those ascii bytes are given to the HMAC function. I
believe the key is actually a UUID.

You can see a very simple but valid signing function I wrote recently here:

https://github.com/takluyver/aiokernel/blob/master/aiokernel.py#L15

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/1d0468b8/attachment.html>

From andrew.gibiansky at gmail.com  Mon Mar  2 15:58:02 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Mon, 2 Mar 2015 12:58:02 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAOvn4qi+5mXQghfDPRoUdKTgjswuUKsyOnwGPP_gaJNsEKwLJA@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
	<CAOvn4qi+5mXQghfDPRoUdKTgjswuUKsyOnwGPP_gaJNsEKwLJA@mail.gmail.com>
Message-ID: <CAF-LYKLJs55yqOM3KSMNx3GXcg1cyy2s=13PqTH397Yu2wXEVQ@mail.gmail.com>

Thanks for the example.

Is the signature supposed to be in any way readable? I am getting something
like

\xf6\xd9hV\xea\xa0\xe1\x9cV\x9f"\xa5\x04\x8f\x87\x05\xd4=\xde\x04V4\xcc\x9eo\xcc/\x10\x92\x16I\x0f

Perhaps this is the issue?

On Mon, Mar 2, 2015 at 12:23 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 2 March 2015 at 12:14, Andrew Gibiansky <andrew.gibiansky at gmail.com>
> wrote:
>
>> 1. What are good ways to debug this?
>>
>
> I don't know of any. Hash matching is an all or nothing thing - there's no
> way to tell if you're nearly correct.
>
>
>> 2. My suspicion is that I am treating the key incorrectly. If I
>> understand correctly, the provided key is something like
>> "base64-base64-base64". Is that string meant to be taken literally as the
>> key (when decoded from Utf8), or is the idea to do a base64 decoding of
>> that and use that as the key?
>>
>
> Taken literally, i.e. those ascii bytes are given to the HMAC function. I
> believe the key is actually a UUID.
>
> You can see a very simple but valid signing function I wrote recently here:
>
> https://github.com/takluyver/aiokernel/blob/master/aiokernel.py#L15
>
> Thomas
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/8e653bf6/attachment.html>

From takowl at gmail.com  Mon Mar  2 16:58:10 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 2 Mar 2015 13:58:10 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYKLJs55yqOM3KSMNx3GXcg1cyy2s=13PqTH397Yu2wXEVQ@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
	<CAOvn4qi+5mXQghfDPRoUdKTgjswuUKsyOnwGPP_gaJNsEKwLJA@mail.gmail.com>
	<CAF-LYKLJs55yqOM3KSMNx3GXcg1cyy2s=13PqTH397Yu2wXEVQ@mail.gmail.com>
Message-ID: <CAOvn4qgbKri19CN8-8PSvbfGmx+7yT7N_9sMd=AFvHMzFRbdbQ@mail.gmail.com>

On 2 March 2015 at 12:58, Andrew Gibiansky <andrew.gibiansky at gmail.com>
wrote:

> Is the signature supposed to be in any way readable? I am getting
> something like
>
>
> \xf6\xd9hV\xea\xa0\xe1\x9cV\x9f"\xa5\x04\x8f\x87\x05\xd4=\xde\x04V4\xcc\x9eo\xcc/\x10\x92\x16I\x0f
>

That's the raw bytes; you need to get the hex digest. In Python, an HMAC
object has methods .digest() and .hexdigest(), and we use the latter. If
there isn't an explicit way to get the hex digest, translating the bytes to
hex should work.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/210d71bb/attachment.html>

From bw at activustech.com  Mon Mar  2 17:20:41 2015
From: bw at activustech.com (Brian Wolf)
Date: Mon, 02 Mar 2015 17:20:41 -0500
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
Message-ID: <54F4E239.5030704@activustech.com>

Here's how I implemented authentication in Python for a project a few 
years ago.

from passlib.context import CryptContext


pwd_context = CryptContext(
     schemes=["sha256_crypt", "sha512_crypt", "pbkdf2_sha256"],
     default="sha256_crypt",
     all__vary_rounds = "10%",
     sha256_crypt__default_rounds = 10000
     )


if pwd_context.verify(pwd_during_login, pwd_in_db):
     # password hashes match; set user as logged in
else:
     # password hashes do not match; user not logged in



Thank you.
Brian

------------------------------------------------------------------------

  * Activus Technologies
  * Brian Wolf
  * Phone: 410.367.2958
  * ? Recurring payment solutions
  * ? Custom software development

On 03/02/2015 03:14 PM, Andrew Gibiansky wrote:
> Sounds reasonable. I sadly am not very well-versed in cryptographic 
> hashing, which is why I originally avoided dealing with it.
>
> I've now implemented HMAC-SHA256 signing, but am generating invalid 
> signatures. So, two questions:
>
> 1. What are good ways to debug this?
> 2. My suspicion is that I am treating the key incorrectly. If I 
> understand correctly, the provided key is something like 
> "base64-base64-base64". Is that string meant to be taken literally as 
> the key (when decoded from Utf8), or is the idea to do a base64 
> decoding of that and use that as the key?
>
> Thanks,
> -- Andrew
>
> On Mon, Mar 2, 2015 at 9:33 AM, Thomas Kluyver <takowl at gmail.com 
> <mailto:takowl at gmail.com>> wrote:
>
>     On 2 March 2015 at 00:23, Andrew Gibiansky
>     <andrew.gibiansky at gmail.com <mailto:andrew.gibiansky at gmail.com>>
>     wrote:
>
>         Is there a way to disable authentication for a kernel via its
>         kernelspec/kernel.json? If not, is there any way around this
>         issue other than creating a custom profile (or biting the
>         bullet and figuring out and implementing authentication)?
>
>
>     If your language has a working HMAC library, implementing the
>     authentication should be trivial. Even in R, it wasn't hard:
>     https://github.com/takluyver/IRkernel/blob/master/R/kernel.r#L15
>
>     Thomas
>
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/23ab9bf7/attachment.html>

From andrew.gibiansky at gmail.com  Mon Mar  2 17:45:43 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Mon, 2 Mar 2015 14:45:43 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <54F4E239.5030704@activustech.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
	<54F4E239.5030704@activustech.com>
Message-ID: <CAF-LYK+7BgkfnOeR66Q_=whhng6GR72s+aMBN6zddBAMiRBp1Q@mail.gmail.com>

Thank you all! I had missed the fact that it was using `hexdigest` as
opposed to `digest`. It works now, albeit perhaps with a substandard SHA
implementation (speed wise).

-- Andrew

On Mon, Mar 2, 2015 at 2:20 PM, Brian Wolf <bw at activustech.com> wrote:

>  Here's how I implemented authentication in Python for a project a few
> years ago.
>
> from passlib.context import CryptContext
>
>
> pwd_context = CryptContext(
>     schemes=["sha256_crypt", "sha512_crypt", "pbkdf2_sha256"],
>     default="sha256_crypt",
>     all__vary_rounds = "10%",
>     sha256_crypt__default_rounds = 10000
>     )
>
>
> if pwd_context.verify(pwd_during_login, pwd_in_db):
>     # password hashes match; set user as logged in
> else:
>     # password hashes do not match; user not logged in
>
>
>
> Thank you.
> Brian
>
> ------------------------------
>
>
>    - Activus Technologies
>    - Brian Wolf
>    - Phone: 410.367.2958
>    - ? Recurring payment solutions
>    - ? Custom software development
>
>  On 03/02/2015 03:14 PM, Andrew Gibiansky wrote:
>
> Sounds reasonable. I sadly am not very well-versed in cryptographic
> hashing, which is why I originally avoided dealing with it.
>
>  I've now implemented HMAC-SHA256 signing, but am generating invalid
> signatures. So, two questions:
>
>  1. What are good ways to debug this?
> 2. My suspicion is that I am treating the key incorrectly. If I understand
> correctly, the provided key is something like "base64-base64-base64". Is
> that string meant to be taken literally as the key (when decoded from
> Utf8), or is the idea to do a base64 decoding of that and use that as the
> key?
>
>  Thanks,
> -- Andrew
>
> On Mon, Mar 2, 2015 at 9:33 AM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>>  On 2 March 2015 at 00:23, Andrew Gibiansky <andrew.gibiansky at gmail.com>
>> wrote:
>>
>>> Is there a way to disable authentication for a kernel via its
>>> kernelspec/kernel.json? If not, is there any way around this issue other
>>> than creating a custom profile (or biting the bullet and figuring out and
>>> implementing authentication)?
>>
>>
>>  If your language has a working HMAC library, implementing the
>> authentication should be trivial. Even in R, it wasn't hard:
>> https://github.com/takluyver/IRkernel/blob/master/R/kernel.r#L15
>>
>>  Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> _______________________________________________
> IPython-dev mailing listIPython-dev at scipy.orghttp://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/a6f6265c/attachment.html>

From benjaminrk at gmail.com  Mon Mar  2 19:37:02 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 2 Mar 2015 16:37:02 -0800
Subject: [IPython-dev] Disabling Authentication for Kernels
In-Reply-To: <CAF-LYK+7BgkfnOeR66Q_=whhng6GR72s+aMBN6zddBAMiRBp1Q@mail.gmail.com>
References: <CAF-LYKLRKgEXBFAb_bwAvpM=cBHhR+Sn7stQfin3vjkV_qQaiA@mail.gmail.com>
	<CAOvn4qjeenYFYZG_EbcR6jCHn6pxgPPf6E0n8AQetPwW0_GKbQ@mail.gmail.com>
	<CAF-LYKK2GW2PLFs+VDR6xnduL1O-5kfqEeOVRPJ3uB4aLMwwYQ@mail.gmail.com>
	<54F4E239.5030704@activustech.com>
	<CAF-LYK+7BgkfnOeR66Q_=whhng6GR72s+aMBN6zddBAMiRBp1Q@mail.gmail.com>
Message-ID: <CAHNn8BWVvKxxsU+hNwGXzQKEpZj90rVnCDRAgfRa95juRrk47w@mail.gmail.com>

Thanks for working on this, Andrew. I tried to help work on it a bit this
morning, but my Haskell-fu is weak. I'll see if I can help iTorch out. I
seem to be able to fake my way through Lua a bit better than I can Haskell.

-MinRK

On Mon, Mar 2, 2015 at 2:45 PM, Andrew Gibiansky <andrew.gibiansky at gmail.com
> wrote:

> Thank you all! I had missed the fact that it was using `hexdigest` as
> opposed to `digest`. It works now, albeit perhaps with a substandard SHA
> implementation (speed wise).
>
> -- Andrew
>
> On Mon, Mar 2, 2015 at 2:20 PM, Brian Wolf <bw at activustech.com> wrote:
>
>>  Here's how I implemented authentication in Python for a project a few
>> years ago.
>>
>> from passlib.context import CryptContext
>>
>>
>> pwd_context = CryptContext(
>>     schemes=["sha256_crypt", "sha512_crypt", "pbkdf2_sha256"],
>>     default="sha256_crypt",
>>     all__vary_rounds = "10%",
>>     sha256_crypt__default_rounds = 10000
>>     )
>>
>>
>> if pwd_context.verify(pwd_during_login, pwd_in_db):
>>     # password hashes match; set user as logged in
>> else:
>>     # password hashes do not match; user not logged in
>>
>>
>>
>> Thank you.
>> Brian
>>
>> ------------------------------
>>
>>
>>    - Activus Technologies
>>    - Brian Wolf
>>    - Phone: 410.367.2958
>>    - ? Recurring payment solutions
>>    - ? Custom software development
>>
>>  On 03/02/2015 03:14 PM, Andrew Gibiansky wrote:
>>
>> Sounds reasonable. I sadly am not very well-versed in cryptographic
>> hashing, which is why I originally avoided dealing with it.
>>
>>  I've now implemented HMAC-SHA256 signing, but am generating invalid
>> signatures. So, two questions:
>>
>>  1. What are good ways to debug this?
>> 2. My suspicion is that I am treating the key incorrectly. If I
>> understand correctly, the provided key is something like
>> "base64-base64-base64". Is that string meant to be taken literally as the
>> key (when decoded from Utf8), or is the idea to do a base64 decoding of
>> that and use that as the key?
>>
>>  Thanks,
>> -- Andrew
>>
>> On Mon, Mar 2, 2015 at 9:33 AM, Thomas Kluyver <takowl at gmail.com> wrote:
>>
>>>  On 2 March 2015 at 00:23, Andrew Gibiansky <andrew.gibiansky at gmail.com>
>>> wrote:
>>>
>>>> Is there a way to disable authentication for a kernel via its
>>>> kernelspec/kernel.json? If not, is there any way around this issue other
>>>> than creating a custom profile (or biting the bullet and figuring out and
>>>> implementing authentication)?
>>>
>>>
>>>  If your language has a working HMAC library, implementing the
>>> authentication should be trivial. Even in R, it wasn't hard:
>>> https://github.com/takluyver/IRkernel/blob/master/R/kernel.r#L15
>>>
>>>  Thomas
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing listIPython-dev at scipy.orghttp://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150302/73a8b610/attachment.html>

From jgomezdans at gmail.com  Tue Mar  3 12:51:40 2015
From: jgomezdans at gmail.com (Jose Gomez-Dans)
Date: Tue, 3 Mar 2015 17:51:40 +0000
Subject: [IPython-dev] "Run" button for widgets?
Message-ID: <CAMWde5o7sZ2dQ3ZFNv4NQcfvibY2Z1jcYxSHjm3ddzw6C3kgFA@mail.gmail.com>

Hi,

I am exploring the use of  IPython widgets for some teaching. Basically, I
want to be able to set a number of parameters to then run some code and
plot some results. This is fairly typical. However, my code can take
~minutes to run, and currently, if I change something in any of my widgets,
IPython will execute the code, irrespective that the user wants to change
more boxes/sliders/etc.Is there some provision for having a "Run" button
that would gather all the data in the boxes and only run the code when this
button is pressed?

We are using IPython 2.x, if that makes any difference.

Many thanks!
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150303/25e4cb29/attachment.html>

From takowl at gmail.com  Tue Mar  3 12:56:54 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 3 Mar 2015 09:56:54 -0800
Subject: [IPython-dev] "Run" button for widgets?
In-Reply-To: <CAMWde5o7sZ2dQ3ZFNv4NQcfvibY2Z1jcYxSHjm3ddzw6C3kgFA@mail.gmail.com>
References: <CAMWde5o7sZ2dQ3ZFNv4NQcfvibY2Z1jcYxSHjm3ddzw6C3kgFA@mail.gmail.com>
Message-ID: <CAOvn4qjPkSgtVCeZfNSSyLwKNDJor=GdAX8T-2XqrjeRJ1dmyA@mail.gmail.com>

On 3 March 2015 at 09:51, Jose Gomez-Dans <jgomezdans at gmail.com> wrote:

> Is there some provision for having a "Run" button that would gather all
> the data in the boxes and only run the code when this button is pressed?
>

Yes, the interact_manual() function (
http://ipython.org/ipython-doc/stable/api/generated/IPython.html.widgets.interaction.html?highlight=interact_manual#IPython.html.widgets.interaction.interact_manual
) does exactly this...


> We are using IPython 2.x, if that makes any difference.
>

... but it's new in IPython 3.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150303/66527680/attachment.html>

From ellisonbg at gmail.com  Tue Mar  3 19:25:53 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Tue, 3 Mar 2015 16:25:53 -0800
Subject: [IPython-dev] Fwd: error message ipython notebook (fwd)
In-Reply-To: <20150304002506.GG2482884@phare.normalesup.org>
References: <20150304002506.GG2482884@phare.normalesup.org>
Message-ID: <CAH4pYpRz2ASbJu3u1FT_1x0uiwxN7kNBzLM+zxrvbT2dx1Apzg@mail.gmail.com>

---------- Forwarded message ----------
From: Gael Varoquaux <gael.varoquaux at normalesup.org>
Date: Tue, Mar 3, 2015 at 4:25 PM
Subject: error message ipython notebook (fwd)
To: support at continuum.io
Cc: Fernando Perez <Fernando.Perez at berkeley.edu>, Brian Granger <
ellisonbg at gmail.com>


Hi Continuum people and Fernando and Brian,

Below is the error message that a user got on anaconda, on mac OSX,
trying to launch the IPython notebook today during a course that I was
giving. I am not completely sure if the problem is in IPython or in
anaconda, so I am not sure where I should submit a report. I am happy
submitting a bug report if you decide where it should go.

Doing an "export LC_TYPE=C" before launching the IPython notebook solved
the problems.

Cheers,

Ga?l

----- Forwarded message from Katja Heuer <katjaqheuer at gmail.com> -----

Date: Tue, 3 Mar 2015 17:06:36 +0100
From: Katja Heuer <katjaqheuer at gmail.com>
To: Gael Varoquaux <gael.varoquaux at normalesup.org>
Subject: error message ipython notebook


Last login: Tue Mar  3 17:01:37 on ttys012

10-4-204-92:~ katja$ ipython notebook

Traceback (most recent call last):

  File "/Users/katja/anaconda/bin/ipython", line 6, in <module>

    sys.exit(start_ipython())

  File
"/Users/katja/anaconda/lib/python2.7/site-packages/IPython/__init__.py",
line 120, in start_ipython

    return launch_new_instance(argv=argv, **kwargs)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 563, in launch_instance

    app.initialize(argv)

  File "<string>", line 2, in initialize

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 92, in catch_config_error

    return method(app, *args, **kwargs)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/terminal/
ipapp.py", line 321, in initialize

    super(TerminalIPythonApp, self).initialize(argv)

  File "<string>", line 2, in initialize

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 92, in catch_config_error

    return method(app, *args, **kwargs)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/core/
application.py", line 381, in initialize

    self.parse_command_line(argv)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/terminal/
ipapp.py", line 316, in parse_command_line

    return super(TerminalIPythonApp, self).parse_command_line(argv)

  File "<string>", line 2, in parse_command_line

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 92, in catch_config_error

    return method(app, *args, **kwargs)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 475, in parse_command_line

    return self.initialize_subcommand(subc, subargv)

  File "<string>", line 2, in initialize_subcommand

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 92, in catch_config_error

    return method(app, *args, **kwargs)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
application.py", line 406, in initialize_subcommand

    subapp = import_item(subapp)

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/utils/
importstring.py", line 42, in import_item

    module = __import__(package, fromlist=[obj])

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/html/
notebookapp.py", line 81, in <module>

    from IPython.consoleapp import IPythonConsoleApp

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/
consoleapp.py", line 43, in <module>

    from IPython.kernel.zmq.kernelapp import (

  File
"/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
kernelapp.py", line 54, in <module>

    from .ipkernel import Kernel

  File
"/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
ipkernel.py", line 40, in <module>

    from .zmqshell import ZMQInteractiveShell

  File
"/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
zmqshell.py", line 36, in <module>

    from IPython.core.payloadpage import install_payload_page

  File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/core/
payloadpage.py", line 24, in <module>

    from docutils.core import publish_string

  File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/core.py",
line 20, in <module>

    from docutils import frontend, io, utils, readers, writers

  File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/
frontend.py", line 41, in <module>

    import docutils.utils

  File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/utils/
__init__.py", line 20, in <module>

    import docutils.io

  File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/io.py",
line
18, in <module>

    from docutils.utils.error_reporting import locale_encoding, ErrorString,
ErrorOutput

  File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/utils/
error_reporting.py", line 47, in <module>

    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]

  File "/Users/katja/anaconda/lib/python2.7/locale.py", line 543, in
getdefaultlocale

    return _parse_localename(localename)

  File "/Users/katja/anaconda/lib/python2.7/locale.py", line 475, in
_parse_localename

    raise ValueError, 'unknown locale: %s' % localename

ValueError: unknown locale: UTF-8

10-4-204-92:~ katja$


----- End forwarded message -----




-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150303/8bbe9378/attachment.html>

From takowl at gmail.com  Tue Mar  3 19:37:59 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 3 Mar 2015 16:37:59 -0800
Subject: [IPython-dev] Fwd: error message ipython notebook (fwd)
In-Reply-To: <CAH4pYpRz2ASbJu3u1FT_1x0uiwxN7kNBzLM+zxrvbT2dx1Apzg@mail.gmail.com>
References: <20150304002506.GG2482884@phare.normalesup.org>
	<CAH4pYpRz2ASbJu3u1FT_1x0uiwxN7kNBzLM+zxrvbT2dx1Apzg@mail.gmail.com>
Message-ID: <CAOvn4qj-qxZD5UFv3tKN_ccti7tzH22t=Hro9k-5_1VOpe-8Sw@mail.gmail.com>

We've seen that one a few times. It's not specific to IPython. UTF-8 is not
a valid locale (it should be something like en_GB.UTF-8), but something on
some Macs seems to set it to UTF-8.

Thomas

On 3 March 2015 at 16:25, Brian Granger <ellisonbg at gmail.com> wrote:

>
> ---------- Forwarded message ----------
> From: Gael Varoquaux <gael.varoquaux at normalesup.org>
> Date: Tue, Mar 3, 2015 at 4:25 PM
> Subject: error message ipython notebook (fwd)
> To: support at continuum.io
> Cc: Fernando Perez <Fernando.Perez at berkeley.edu>, Brian Granger <
> ellisonbg at gmail.com>
>
>
> Hi Continuum people and Fernando and Brian,
>
> Below is the error message that a user got on anaconda, on mac OSX,
> trying to launch the IPython notebook today during a course that I was
> giving. I am not completely sure if the problem is in IPython or in
> anaconda, so I am not sure where I should submit a report. I am happy
> submitting a bug report if you decide where it should go.
>
> Doing an "export LC_TYPE=C" before launching the IPython notebook solved
> the problems.
>
> Cheers,
>
> Ga?l
>
> ----- Forwarded message from Katja Heuer <katjaqheuer at gmail.com> -----
>
> Date: Tue, 3 Mar 2015 17:06:36 +0100
> From: Katja Heuer <katjaqheuer at gmail.com>
> To: Gael Varoquaux <gael.varoquaux at normalesup.org>
> Subject: error message ipython notebook
>
>
> Last login: Tue Mar  3 17:01:37 on ttys012
>
> 10-4-204-92:~ katja$ ipython notebook
>
> Traceback (most recent call last):
>
>   File "/Users/katja/anaconda/bin/ipython", line 6, in <module>
>
>     sys.exit(start_ipython())
>
>   File
> "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/__init__.py",
> line 120, in start_ipython
>
>     return launch_new_instance(argv=argv, **kwargs)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 563, in launch_instance
>
>     app.initialize(argv)
>
>   File "<string>", line 2, in initialize
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 92, in catch_config_error
>
>     return method(app, *args, **kwargs)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/terminal/
> ipapp.py", line 321, in initialize
>
>     super(TerminalIPythonApp, self).initialize(argv)
>
>   File "<string>", line 2, in initialize
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 92, in catch_config_error
>
>     return method(app, *args, **kwargs)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/core/
> application.py", line 381, in initialize
>
>     self.parse_command_line(argv)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/terminal/
> ipapp.py", line 316, in parse_command_line
>
>     return super(TerminalIPythonApp, self).parse_command_line(argv)
>
>   File "<string>", line 2, in parse_command_line
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 92, in catch_config_error
>
>     return method(app, *args, **kwargs)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 475, in parse_command_line
>
>     return self.initialize_subcommand(subc, subargv)
>
>   File "<string>", line 2, in initialize_subcommand
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 92, in catch_config_error
>
>     return method(app, *args, **kwargs)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/config/
> application.py", line 406, in initialize_subcommand
>
>     subapp = import_item(subapp)
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/utils/
> importstring.py", line 42, in import_item
>
>     module = __import__(package, fromlist=[obj])
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/html/
> notebookapp.py", line 81, in <module>
>
>     from IPython.consoleapp import IPythonConsoleApp
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/
> consoleapp.py", line 43, in <module>
>
>     from IPython.kernel.zmq.kernelapp import (
>
>   File
> "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
> kernelapp.py", line 54, in <module>
>
>     from .ipkernel import Kernel
>
>   File
> "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
> ipkernel.py", line 40, in <module>
>
>     from .zmqshell import ZMQInteractiveShell
>
>   File
> "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/
> zmqshell.py", line 36, in <module>
>
>     from IPython.core.payloadpage import install_payload_page
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/IPython/core/
> payloadpage.py", line 24, in <module>
>
>     from docutils.core import publish_string
>
>   File
> "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/core.py",
> line 20, in <module>
>
>     from docutils import frontend, io, utils, readers, writers
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/
> frontend.py", line 41, in <module>
>
>     import docutils.utils
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/utils/
> __init__.py", line 20, in <module>
>
>     import docutils.io
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/io.py",
> line
> 18, in <module>
>
>     from docutils.utils.error_reporting import locale_encoding,
> ErrorString,
> ErrorOutput
>
>   File "/Users/katja/anaconda/lib/python2.7/site-packages/docutils/utils/
> error_reporting.py", line 47, in <module>
>
>     locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
>
>   File "/Users/katja/anaconda/lib/python2.7/locale.py", line 543, in
> getdefaultlocale
>
>     return _parse_localename(localename)
>
>   File "/Users/katja/anaconda/lib/python2.7/locale.py", line 475, in
> _parse_localename
>
>     raise ValueError, 'unknown locale: %s' % localename
>
> ValueError: unknown locale: UTF-8
>
> 10-4-204-92:~ katja$
>
>
> ----- End forwarded message -----
>
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150303/3e6d38cd/attachment.html>

From gnurser at gmail.com  Wed Mar  4 05:29:33 2015
From: gnurser at gmail.com (George Nurser)
Date: Wed, 4 Mar 2015 10:29:33 +0000
Subject: [IPython-dev] nbagg problems in ipython 3.0.1 and 2.4
Message-ID: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>

Hi,

Not sure whether this is an python or matplotlib query.

Using the latest python v3.0.1 and matplotlib 1.4.3 from macports on OS X
10.9.5, python 2.7.9,
I invoke ipython with

ipython notebook

Then in a new 'Jupyter' notebook I create on  Safari 7.1.3 I do

%matplotlib nbagg

import matplotlib.pyplot as plt

plt.plot([1,2])

-- this works great, but if I click on the red x to the top right then


(i) I get the warning message on the console of
[IPKernelApp] ERROR | No such comm: 42451f0dd4314048908b43c2e4c414bf

(ii) all future calls to matplotlib don't actually plot anything. e.g.
(both in the original cell and in new cells below in the notebook) doing
plt.plot([1,2]) just gives

Out[5]:  [<matplotlib.lines.Line2D at 0x1104fa9d0>]

I can get things to work again with another call of
%matplotlib nbagg
but just wondered whether it was supposed to work like this.

I had similar issues with python 2.4 and matplotlib 1.4.2

Regards, George Nurser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/c2d18bac/attachment.html>

From damien.drix at gmail.com  Wed Mar  4 08:57:43 2015
From: damien.drix at gmail.com (Damien Drix)
Date: Wed, 4 Mar 2015 14:57:43 +0100
Subject: [IPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
Message-ID: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>

The IPython notebook has changed the way I work. Literate programming,
the merging of experiment scripts and experiment reports into a single
document, and countless other productivity gains: tweaking matplotlib
graphs interactively, easy parallelism, etc. It is quite awesome!

Could it be improved? It certainly can. Here are the two points I find
most prominent:
- After one has gotten used to SublimeText & co, CodeMirror just hurts.
- The notebook server has huge potential for remote work, but this
potential is partly unexploitable because of some aspects of the
client/server architecture.

Let me explain the latter point. I have a fairly beefy desktop machine in
my office, but I'm often working from other locations. I'd like to be
able to open a notebook remotely on my laptop, edit it, start some long-
running computations, close my laptop, go to lunch, and come back to it
in the afternoon to see the results.

Right now, it... kind of works. But the issue is that since the execution
of cells is orchestrated by client-side javascript, at most one cell will
be executed if I close the client. The results are there in the kernel
namespace, but the outputs are lost -- integrating the outputs into the
notebook is also done by client-side scripts. The client also loses track
of which cells are still being executed.

One solution would be to use X forwarding and keep the notebook client
running on the desktop machine, but in my case the connection lag makes
text editing quite unbearable. I prefer to connect to the notebook server
from a local client process.

Here is the solution I was thinking about:

- A new frontend app where, instead of embedding a text editor into the
notebook, the notebook itself is embedded into a text editor. A number of
nice, open-source, SublimeText-class editors are already being developed:
Atom, LimeText, LightTable, etc. LightTable has actually done some work
on integrating the IPython kernel and displaying results inline. I
imagine that it wouldn't be unreasonably hard to turn it into a full
notebook client. As a bonus, no more juggling between two editors: use
the same for the notebooks and for plain Python scripts!

- Move the task of supervising cell execution and integrating the outputs
into the notebook model from the client to the server, so that notebooks
can keep running when the client disconnects.

- Let the client app refresh its view of the notebook when it reconnects
to the server, showing the new outputs and which cells are still running.

Any thoughts on this? Is it all maybe already happening in the Jupyter
project? ;-)

Best,
Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/33c10d91/attachment.html>

From alexgarciac at gmail.com  Wed Mar  4 09:37:40 2015
From: alexgarciac at gmail.com (Alexander Garcia Castro)
Date: Wed, 4 Mar 2015 09:37:40 -0500
Subject: [IPython-dev] IPython notebook and the semantic web
Message-ID: <CALAe=OLK_HytES3=2NY=_45TgDXVK98XQFSWJHHbaTCPMb4KCw@mail.gmail.com>

Good news for all those who are wondering about Adobe and the semantic web.
Larry Masinter (http://larry.masinter.net) will be with us at Sepublica. He
will be our keynote speaker with "Getting More Data Through the Publication
Pipeline?. Larry will also participate in our round table, so if you want
to discuss the semantic web and document formats used for publication,this
is the right moment

Dont forget to submit your paper to Sepublica

-- 
Alexander Garcia
http://www.alexandergarcia.name/
http://www.usefilm.com/photographer/75943.html
http://www.linkedin.com/in/alexgarciac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/b7cb437a/attachment.html>

From rnelsonchem at gmail.com  Wed Mar  4 10:25:48 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Wed, 4 Mar 2015 10:25:48 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
Message-ID: <CAFbt6de-hBKCtCUjAUYsj4JcOwqrUX9o+K+zRTS1dn42vesw8A@mail.gmail.com>

Not an IPython dev here, but I have a partial solution that might work for
you.

I also have a very powerful desktop that I use to run calculations
remotely. Instead of X session tunneling, I use port forwarding. Here's an
edited excerpt from my .ssh/config file for connecting to my desktop from
my laptop while at home:

Host athomenb
    # The IP address for my desktop on the router
    HostName 192.168.1.125
    # Add your username here
    User my_user_name
    # Change id_rsa to the name of your key file if you use it
    IdentityFile ~/.ssh/id_rsa
    # For the notebook
    LocalForward 8080 localhost:8080
    # Optional other stuff
    Compression no
    ForwardX11 yes
    ForwardX11Trusted yes
    # Add this if you need to connect via a non-standard ssh port
    #Port 30000

>From the command line, I can access my home computer as follows:
>$ ssh athomenb

>From my desktop, I fire up tmux and then Ipython notebook:
desktop>$ tmux
desktop:tmux>$ ipython notebook --no-browser --port 8080

At this point, I can actually use my web browser on my laptop to connect to
"Localhost", which is actually forwarding to my remote computer. This is
much, much faster than using a remote X window. Connect to this website
http://localhost:8080/

I can do all of my stuff. If you have something running, just save the
notebook and close the window *without* halting. You can also close the
IPython file browser. In your ssh session, you can detach from your tmux
session without the notebook stopping. ("Ctrl-b d" is the detach command
that you have set for tmux.)
desktop:tmux>$ Ctrl-b d
desktop>$ exit
$

Now, to check on the progress of your calculations, you need to reestablish
the ssh connection to your remote machine, if you want, you can reattach to
the tmux session as well.
$ ssh athomenb
desktop>$ tmux a
desktop:tmux>$ #Ipython stuff
Reconnect your local webbroswer to localhost and click on the notebook
that's running.

Sorry. I glossed over a lot of the details here. If this helps, but you
need a little more info to get it running, let me know.

Ryan


On Wed, Mar 4, 2015 at 8:57 AM, Damien Drix <damien.drix at gmail.com> wrote:

> The IPython notebook has changed the way I work. Literate programming,
> the merging of experiment scripts and experiment reports into a single
> document, and countless other productivity gains: tweaking matplotlib
> graphs interactively, easy parallelism, etc. It is quite awesome!
>
> Could it be improved? It certainly can. Here are the two points I find
> most prominent:
> - After one has gotten used to SublimeText & co, CodeMirror just hurts.
> - The notebook server has huge potential for remote work, but this
> potential is partly unexploitable because of some aspects of the
> client/server architecture.
>
> Let me explain the latter point. I have a fairly beefy desktop machine in
> my office, but I'm often working from other locations. I'd like to be
> able to open a notebook remotely on my laptop, edit it, start some long-
> running computations, close my laptop, go to lunch, and come back to it
> in the afternoon to see the results.
>
> Right now, it... kind of works. But the issue is that since the execution
> of cells is orchestrated by client-side javascript, at most one cell will
> be executed if I close the client. The results are there in the kernel
> namespace, but the outputs are lost -- integrating the outputs into the
> notebook is also done by client-side scripts. The client also loses track
> of which cells are still being executed.
>
> One solution would be to use X forwarding and keep the notebook client
> running on the desktop machine, but in my case the connection lag makes
> text editing quite unbearable. I prefer to connect to the notebook server
> from a local client process.
>
> Here is the solution I was thinking about:
>
> - A new frontend app where, instead of embedding a text editor into the
> notebook, the notebook itself is embedded into a text editor. A number of
> nice, open-source, SublimeText-class editors are already being developed:
> Atom, LimeText, LightTable, etc. LightTable has actually done some work
> on integrating the IPython kernel and displaying results inline. I
> imagine that it wouldn't be unreasonably hard to turn it into a full
> notebook client. As a bonus, no more juggling between two editors: use
> the same for the notebooks and for plain Python scripts!
>
> - Move the task of supervising cell execution and integrating the outputs
> into the notebook model from the client to the server, so that notebooks
> can keep running when the client disconnects.
>
> - Let the client app refresh its view of the notebook when it reconnects
> to the server, showing the new outputs and which cells are still running.
>
> Any thoughts on this? Is it all maybe already happening in the Jupyter
> project? ;-)
>
> Best,
> Damien
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/44e31aec/attachment.html>

From ellisonbg at gmail.com  Wed Mar  4 10:35:01 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Wed, 4 Mar 2015 07:35:01 -0800
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
Message-ID: <CAH4pYpTNtZiFywqrcgmKJ2pPr-6dX6H_dNahE+=GkgUVcc_Waw@mail.gmail.com>

The long running notebook issues are something we do plan on addressing.
Note, that when you disconnect a client, the notebook does keep running -
it just doesn't cache the output while the notebook is gone.

On Wed, Mar 4, 2015 at 5:57 AM, Damien Drix <damien.drix at gmail.com> wrote:

> The IPython notebook has changed the way I work. Literate programming,
> the merging of experiment scripts and experiment reports into a single
> document, and countless other productivity gains: tweaking matplotlib
> graphs interactively, easy parallelism, etc. It is quite awesome!
>
> Could it be improved? It certainly can. Here are the two points I find
> most prominent:
> - After one has gotten used to SublimeText & co, CodeMirror just hurts.
> - The notebook server has huge potential for remote work, but this
> potential is partly unexploitable because of some aspects of the
> client/server architecture.
>
> Let me explain the latter point. I have a fairly beefy desktop machine in
> my office, but I'm often working from other locations. I'd like to be
> able to open a notebook remotely on my laptop, edit it, start some long-
> running computations, close my laptop, go to lunch, and come back to it
> in the afternoon to see the results.
>
> Right now, it... kind of works. But the issue is that since the execution
> of cells is orchestrated by client-side javascript, at most one cell will
> be executed if I close the client. The results are there in the kernel
> namespace, but the outputs are lost -- integrating the outputs into the
> notebook is also done by client-side scripts. The client also loses track
> of which cells are still being executed.
>
> One solution would be to use X forwarding and keep the notebook client
> running on the desktop machine, but in my case the connection lag makes
> text editing quite unbearable. I prefer to connect to the notebook server
> from a local client process.
>
> Here is the solution I was thinking about:
>
> - A new frontend app where, instead of embedding a text editor into the
> notebook, the notebook itself is embedded into a text editor. A number of
> nice, open-source, SublimeText-class editors are already being developed:
> Atom, LimeText, LightTable, etc. LightTable has actually done some work
> on integrating the IPython kernel and displaying results inline. I
> imagine that it wouldn't be unreasonably hard to turn it into a full
> notebook client. As a bonus, no more juggling between two editors: use
> the same for the notebooks and for plain Python scripts!
>
> - Move the task of supervising cell execution and integrating the outputs
> into the notebook model from the client to the server, so that notebooks
> can keep running when the client disconnects.
>
> - Let the client app refresh its view of the notebook when it reconnects
> to the server, showing the new outputs and which cells are still running.
>
> Any thoughts on this? Is it all maybe already happening in the Jupyter
> project? ;-)
>
> Best,
> Damien
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/6e610903/attachment.html>

From wes.turner at gmail.com  Wed Mar  4 10:41:42 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Wed, 4 Mar 2015 09:41:42 -0600
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
Message-ID: <CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>

* An SSH port forward really is a better option. IPython Notebook is a
remote shell with all of the privileges of the user its run as.
* PyCharm has notebook editing support:
https://www.jetbrains.com/pycharm/help/ipython-notebook-support.html
On Mar 4, 2015 7:58 AM, "Damien Drix" <damien.drix at gmail.com> wrote:

> The IPython notebook has changed the way I work. Literate programming,
> the merging of experiment scripts and experiment reports into a single
> document, and countless other productivity gains: tweaking matplotlib
> graphs interactively, easy parallelism, etc. It is quite awesome!
>
> Could it be improved? It certainly can. Here are the two points I find
> most prominent:
> - After one has gotten used to SublimeText & co, CodeMirror just hurts.
> - The notebook server has huge potential for remote work, but this
> potential is partly unexploitable because of some aspects of the
> client/server architecture.
>
> Let me explain the latter point. I have a fairly beefy desktop machine in
> my office, but I'm often working from other locations. I'd like to be
> able to open a notebook remotely on my laptop, edit it, start some long-
> running computations, close my laptop, go to lunch, and come back to it
> in the afternoon to see the results.
>
> Right now, it... kind of works. But the issue is that since the execution
> of cells is orchestrated by client-side javascript, at most one cell will
> be executed if I close the client. The results are there in the kernel
> namespace, but the outputs are lost -- integrating the outputs into the
> notebook is also done by client-side scripts. The client also loses track
> of which cells are still being executed.
>
> One solution would be to use X forwarding and keep the notebook client
> running on the desktop machine, but in my case the connection lag makes
> text editing quite unbearable. I prefer to connect to the notebook server
> from a local client process.
>
> Here is the solution I was thinking about:
>
> - A new frontend app where, instead of embedding a text editor into the
> notebook, the notebook itself is embedded into a text editor. A number of
> nice, open-source, SublimeText-class editors are already being developed:
> Atom, LimeText, LightTable, etc. LightTable has actually done some work
> on integrating the IPython kernel and displaying results inline. I
> imagine that it wouldn't be unreasonably hard to turn it into a full
> notebook client. As a bonus, no more juggling between two editors: use
> the same for the notebooks and for plain Python scripts!
>
> - Move the task of supervising cell execution and integrating the outputs
> into the notebook model from the client to the server, so that notebooks
> can keep running when the client disconnects.
>
> - Let the client app refresh its view of the notebook when it reconnects
> to the server, showing the new outputs and which cells are still running.
>
> Any thoughts on this? Is it all maybe already happening in the Jupyter
> project? ;-)
>
> Best,
> Damien
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/c6148901/attachment.html>

From ssanderson at quantopian.com  Wed Mar  4 10:44:37 2015
From: ssanderson at quantopian.com (ssanderson)
Date: Wed, 4 Mar 2015 07:44:37 -0800 (PST)
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
Message-ID: <1425483877248-5088096.post@n6.nabble.com>

There's also an excellent IPython Notebook mode for Emacs.  The
best-maintained version is currently a fork of the original:
https://github.com/millejoh/emacs-ipython-notebook.  I'm not sure what the
status of it is w/r/t IPython 3.0 though.



--
View this message in context: http://python.6.x6.nabble.com/thoughts-on-the-notebook-alternative-front-ends-and-remote-editing-tp5088083p5088096.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From takowl at gmail.com  Wed Mar  4 12:36:27 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 4 Mar 2015 09:36:27 -0800
Subject: [IPython-dev] nbagg problems in ipython 3.0.1 and 2.4
In-Reply-To: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>
References: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>
Message-ID: <CAOvn4qg3q3SdKHjkmHVzFGxWvzXd0or84UXCLhytymPJtSo9Cw@mail.gmail.com>

On 4 March 2015 at 02:29, George Nurser <gnurser at gmail.com> wrote:

> Not sure whether this is an python or matplotlib query.


I think that's probably one for matplotlib - the nbagg backend is all in
matplotlib.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/2c3a7c5d/attachment.html>

From takowl at gmail.com  Wed Mar  4 12:48:15 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 4 Mar 2015 09:48:15 -0800
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
Message-ID: <CAOvn4qhJU56QuYiri=aGtnu-xjx_O5OWK-aZWBtTo3mf_v80=g@mail.gmail.com>

On 4 March 2015 at 05:57, Damien Drix <damien.drix at gmail.com> wrote:

> - Move the task of supervising cell execution and integrating the outputs
> into the notebook model from the client to the server, so that notebooks
> can keep running when the client disconnects.
>
> - Let the client app refresh its view of the notebook when it reconnects
> to the server, showing the new outputs and which cells are still running.


These two points are a big part of what Matthias will be working on. Part
of the motivation is also collaborative editing, which requires that the
server maintain a notebook model to synchronise the clients. Once we have
that, then the kernel can continue updating the notebook without any client
having it open.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/bdb91a71/attachment.html>

From edsrahn at gmail.com  Wed Mar  4 12:50:29 2015
From: edsrahn at gmail.com (Ed Rahn)
Date: Wed, 4 Mar 2015 12:50:29 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <1425483877248-5088096.post@n6.nabble.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
Message-ID: <20150304125029.294a76bf353f0e7dd74bee68@gmail.com>

Thanks for the link! I often miss my emacs key bindings in ipython notebook.

On Wed, 4 Mar 2015 07:44:37 -0800 (PST)
ssanderson <ssanderson at quantopian.com> wrote:

> There's also an excellent IPython Notebook mode for Emacs.  The
> best-maintained version is currently a fork of the original:
> https://github.com/millejoh/emacs-ipython-notebook.  I'm not sure what the
> status of it is w/r/t IPython 3.0 though.
> 
> 
> 
> --
> View this message in context: http://python.6.x6.nabble.com/thoughts-on-the-notebook-alternative-front-ends-and-remote-editing-tp5088083p5088096.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


-- 
Ed Rahn <edsrahn at gmail.com>


From nick.bollweg at gmail.com  Wed Mar  4 13:00:50 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 4 Mar 2015 13:00:50 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <1425483877248-5088096.post@n6.nabble.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
Message-ID: <CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>

Good discussion.

I for one would hate to see losing the momentum of a powerful web-based
computing environment to start implementing stuff for editor-of-the-week
(no offense). The notebook has the (already observed) potential to bring
interactive computing to people that would never download a programming
editor.

What about codemirror is lacking? Let's build it! Marijn is a really
awesome dude, but can't build everything himself :)

Not to pre-empt Thomas and Matthias, but I have started hacking together a
proof-of-concept architecture that moves the state of the
notebook-being-used into another model that neatly handles persistence and
multiple users. Disclaimer: it doesn't really work yet!
</>
https://github.com/nrbgt/derby-notebook

When the user requests a notebook, its contents are pulled off the content
manager and rebuilt into an evented model. This model includes everything
from the original content, but adds enough stuff to make the state of the
UI persistent:

   - notebook
   - kernel
      - state
      - cell
      - id
      - position in a linked list <- current sticky wicket!
      - state
   - user
      - id
      - current cell/mode
   - widgets <- haven't started yet

Then one or more clients (browsers or daemons) subscribe to and publish
deltas to this model, which eventually get persisted to the backend and
other clients. Because each client has its own local model, it is robust
against latency, etc. and you don't have to make the decision between
"updating the DOM" vs "updating the model" vs "sending an event"... there
is only the model.

I don't think there is a compelling way to make _repr_javascript_ work with
this, but widgets are *perfect* as they already work this way... though it
may require adding an additional View.view_model if there are UI things
that one would want to share among many users.

Pics or it didn't happen:
[image: Inline image 1]

Right now, codemirror is doing a great job of handling text deltas between
n browsers. The issue arises in correctly handling inserted/moved cells,
and I'm working with the authors of derby, the application framework, to
get these sorted out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/862b9f57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2015-03-03_1848.png
Type: image/png
Size: 321581 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/862b9f57/attachment.png>

From takowl at gmail.com  Wed Mar  4 13:14:45 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 4 Mar 2015 10:14:45 -0800
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
Message-ID: <CAOvn4qgEaPRLWtr2obu0y22M=v83UQtX-2LOW_3ftVNGjiCG-A@mail.gmail.com>

On 4 March 2015 at 10:00, Nicholas Bollweg <nick.bollweg at gmail.com> wrote:

> Not to pre-empt Thomas and Matthias, but I have started hacking together a
> proof-of-concept architecture that moves the state of the
> notebook-being-used into another model that neatly handles persistence and
> multiple users.


Oh cool! You should definitely find some time to discuss this in detail
with Matthias.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/aaa1c6db/attachment.html>

From nick.bollweg at gmail.com  Wed Mar  4 13:29:59 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 4 Mar 2015 13:29:59 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAOvn4qgEaPRLWtr2obu0y22M=v83UQtX-2LOW_3ftVNGjiCG-A@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<CAOvn4qgEaPRLWtr2obu0y22M=v83UQtX-2LOW_3ftVNGjiCG-A@mail.gmail.com>
Message-ID: <CACejjWyhZE0YAidT0qw-hEz_Gp2h0mK7A3DOeNVXoNfvjJZT8A@mail.gmail.com>

Well, I really wanted to work first before shopping it around:
- load contents
- editing/add/(re)move/run cells
- save contents

But I'd love to jaw on it some more! Trying to get Ian's simple example
working right now :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/fff139c3/attachment.html>

From bussonniermatthias at gmail.com  Wed Mar  4 14:22:29 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 4 Mar 2015 11:22:29 -0800
Subject: [IPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
In-Reply-To: <CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
Message-ID: <C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>


Le 4 mars 2015 ? 10:00, Nicholas Bollweg <nick.bollweg at gmail.com> a ?crit :

> Good discussion.
> 
> I for one would hate to see losing the momentum of a powerful web-based computing environment to start implementing stuff for editor-of-the-week (no offense). The notebook has the (already observed) potential to bring interactive computing to people that would never download a programming editor.
> 
> What about codemirror is lacking? Let's build it! Marijn is a really awesome dude, but can't build everything himself :)
> 
> Not to pre-empt Thomas and Matthias, but I have started hacking together a proof-of-concept architecture that moves the state of the notebook-being-used into another model that neatly handles persistence and multiple users. Disclaimer: it doesn't really work yet!

That's great that the long time goal too, 
Haven't had a deep look yet, but will. 

How much does it rely on derby/nodejs being there ? 

The proxy was one of the things I though about, but I'm not sure that completely the way we want to go.
But let see.




> 
> https://github.com/nrbgt/derby-notebook
> 
> When the user requests a notebook, its contents are pulled off the content manager and rebuilt into an evented model. This model includes everything from the original content, but adds enough stuff to make the state of the UI persistent:
> notebook
> kernel
> state
> cell
> id
> position in a linked list <- current sticky wicket!
> state
> user
> id
> current cell/mode
> widgets <- haven't started yet

That's nice, I really want to decouple the notebook model which is on disk to the on memory one. 
I'm pondering not a list for cell, but actually dict of id-> cell plus a list of id order. 

that should make partial update simple. 

thought ? 

I really want to think about user UI state that is synced vs the one that is not synced. 
For example I doubt the hidden state of cell toolbar should be synced. 

Same with collapse state of output area. 



> Then one or more clients (browsers or daemons) subscribe to and publish deltas to this model, which eventually get persisted to the backend and other clients. Because each client has its own local model, it is robust against latency, etc. and you don't have to make the decision between "updating the DOM" vs "updating the model" vs "sending an event"... there is only the model.
> 
> I don't think there is a compelling way to make _repr_javascript_ work with this, but widgets are *perfect* as they already work this way... though it may require adding an additional View.view_model if there are UI things that one would want to share among many users.

reprjs make sens for "static widget" (mpld3m or Julia Gadfly) that allow in browser panning and zooming. 


I would really like building the structure of the notebook in a way that the realtime backend would be plug able. 
WE also need to think carefully about the execution logic. I would like to have real-time where I would be able to execute,
but the people I share with would not. 

I suppose we would need to bake login into RT framework. How do you handle that for now ? 

Should we make a place just to discuss realtime collaboration ?

-- 
M 







> 
> Pics or it didn't happen:
> <2015-03-03_1848.png>
> 
> Right now, codemirror is doing a great job of handling text deltas between n browsers. The issue arises in correctly handling inserted/moved cells, and I'm working with the authors of derby, the application framework, to get these sorted out!
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/7e2ab554/attachment.html>

From efiring at hawaii.edu  Wed Mar  4 14:53:34 2015
From: efiring at hawaii.edu (Eric Firing)
Date: Wed, 04 Mar 2015 09:53:34 -1000
Subject: [IPython-dev] nbagg problems in ipython 3.0.1 and 2.4
In-Reply-To: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>
References: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>
Message-ID: <54F762BE.1000509@hawaii.edu>

George,

The problem is that clicking the red X is closing the figure, and the 
call in the next cell is trying to plot to that closed figure.  The 
solution is to open a new figure in each cell where you want to plot to 
a new figure. You can use plt.figure(), or use "fig, ax = 
plt.subplots()" and then "ax.plot(...)" etc.

Eric

On 2015/03/04 12:29 AM, George Nurser wrote:
> Hi,
>
> Not sure whether this is an python or matplotlib query.
>
> Using the latest python v3.0.1 and matplotlib 1.4.3 from macports on OS
> X 10.9.5, python 2.7.9,
> I invoke ipython with
>
> ipython notebook
>
> Then in a new 'Jupyter' notebook I create on  Safari 7.1.3 I do
>
> %matplotlib nbagg
>
> import matplotlib.pyplot as plt
>
> plt.plot([1,2])
>
> -- this works great, but if I click on the red x to the top right then
>
> (i) I get the warning message on the console of
> [IPKernelApp] ERROR | No such comm: 42451f0dd4314048908b43c2e4c414bf
>
> (ii) all future calls to matplotlib don't actually plot anything. e.g.
> (both in the original cell and in new cells below in the notebook) doing
> plt.plot([1,2]) just gives
>
> Out[5]:  [<matplotlib.lines.Line2D at 0x1104fa9d0>]
>
> I can get things to work again with another call of
> %matplotlib nbagg
> but just wondered whether it was supposed to work like this.
>
> I had similar issues with python 2.4 and matplotlib 1.4.2
>
> Regards, George Nurser.
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



From gnurser at gmail.com  Wed Mar  4 18:14:28 2015
From: gnurser at gmail.com (George Nurser)
Date: Wed, 4 Mar 2015 23:14:28 +0000
Subject: [IPython-dev] nbagg problems in ipython 3.0.1 and 2.4
In-Reply-To: <54F762BE.1000509@hawaii.edu>
References: <CAAyCRnTeMGNny-436KUCC4PaENYE8N0so4nVYWjY5QgDk8RDBw@mail.gmail.com>
	<54F762BE.1000509@hawaii.edu>
Message-ID: <CAAyCRnRr_YdHTsbiwFOJivadtih9yeZXPOSuLQ=PP-q+XNFPuQ@mail.gmail.com>

Thanks Eric. That makes sense.
George

On 4 March 2015 at 19:53, Eric Firing <efiring at hawaii.edu> wrote:

> George,
>
> The problem is that clicking the red X is closing the figure, and the
> call in the next cell is trying to plot to that closed figure.  The
> solution is to open a new figure in each cell where you want to plot to
> a new figure. You can use plt.figure(), or use "fig, ax =
> plt.subplots()" and then "ax.plot(...)" etc.
>
> Eric
>
> On 2015/03/04 12:29 AM, George Nurser wrote:
> > Hi,
> >
> > Not sure whether this is an python or matplotlib query.
> >
> > Using the latest python v3.0.1 and matplotlib 1.4.3 from macports on OS
> > X 10.9.5, python 2.7.9,
> > I invoke ipython with
> >
> > ipython notebook
> >
> > Then in a new 'Jupyter' notebook I create on  Safari 7.1.3 I do
> >
> > %matplotlib nbagg
> >
> > import matplotlib.pyplot as plt
> >
> > plt.plot([1,2])
> >
> > -- this works great, but if I click on the red x to the top right then
> >
> > (i) I get the warning message on the console of
> > [IPKernelApp] ERROR | No such comm: 42451f0dd4314048908b43c2e4c414bf
> >
> > (ii) all future calls to matplotlib don't actually plot anything. e.g.
> > (both in the original cell and in new cells below in the notebook) doing
> > plt.plot([1,2]) just gives
> >
> > Out[5]:  [<matplotlib.lines.Line2D at 0x1104fa9d0>]
> >
> > I can get things to work again with another call of
> > %matplotlib nbagg
> > but just wondered whether it was supposed to work like this.
> >
> > I had similar issues with python 2.4 and matplotlib 1.4.2
> >
> > Regards, George Nurser.
> >
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/ba21f4be/attachment.html>

From one at kentran.net  Thu Mar  5 00:14:22 2015
From: one at kentran.net (Kenneth Tran)
Date: Wed, 4 Mar 2015 21:14:22 -0800
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <CAHNn8BXOGp0CZ7Y4iZ+_bt_v5Zn7h0FRiRuGtf-e342pNC2E7A@mail.gmail.com>
References: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
	<CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>
	<CAHNn8BXOGp0CZ7Y4iZ+_bt_v5Zn7h0FRiRuGtf-e342pNC2E7A@mail.gmail.com>
Message-ID: <CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>

It seems that doing this is not the same as %pylab inline. I tried it but
this line failed.
*    plot(range(0,9))*

I tried putting %pylab inline in the startup.ipy file but it doesn't work
either.

Am I missing something?

-K


On Fri, Feb 6, 2015 at 12:27 PM, MinRK <benjaminrk at gmail.com> wrote:

> For completeness, you can create a startup file that always enables inline
> matplotlib with:
>
> echo "get_ipython().enable_matplotlib('inline')" > ~/.ipython/profile_default/startup/matplotlib_inline.py
>
> ?
>
> On Fri, Feb 6, 2015 at 12:24 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> Passing kernel arguments on the notebook server CLI was deprecated in
>> 2.0, and removed in 3.0. You can use the `%matplotlib inline` magic in your
>> notebook to set up matplotlib, or enable matplotlib in your
>> `ipython_config.py` or startup files in your IPython profile.
>>
>> -MinRK
>>
>> On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:
>>
>>> In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am
>>> getting
>>>
>>> [C 14:16:28.361 NotebookApp] Bad config encountered during
>>> initialization:
>>>
>>> [C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'
>>>
>>> Any thoughts? Do I need to change something to have the same affect?
>>>
>>> Thanks
>>>
>>> John
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/37b31e7b/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar  5 00:36:34 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 4 Mar 2015 21:36:34 -0800
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>
References: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
	<CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>
	<CAHNn8BXOGp0CZ7Y4iZ+_bt_v5Zn7h0FRiRuGtf-e342pNC2E7A@mail.gmail.com>
	<CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>
Message-ID: <F85BD880-E7F0-41E2-8E32-BD80A87770DA@gmail.com>


Le 4 mars 2015 ? 21:14, Kenneth Tran <one at kentran.net> a ?crit :

> It seems that doing this is not the same as %pylab inline. I tried it but this line failed.
>     plot(range(0,9))
> 
> I tried putting %pylab inline in the startup.ipy file but it doesn't work either.
> 
> Am I missing something?

You should not use %pylab, or --pylab. 
it is undocumented and deprecated.

That being said, 

Do we support startup.ipy files ? 
-- 
M

> 
> -K
> 
> 
> On Fri, Feb 6, 2015 at 12:27 PM, MinRK <benjaminrk at gmail.com> wrote:
> For completeness, you can create a startup file that always enables inline matplotlib with:
> 
> echo "get_ipython().enable_matplotlib('inline')" > ~/.ipython/profile_default/startup/matplotlib_inline.py
> 
> On Fri, Feb 6, 2015 at 12:24 PM, MinRK <benjaminrk at gmail.com> wrote:
> Passing kernel arguments on the notebook server CLI was deprecated in 2.0, and removed in 3.0. You can use the `%matplotlib inline` magic in your notebook to set up matplotlib, or enable matplotlib in your `ipython_config.py` or startup files in your IPython profile.
> 
> -MinRK
> 
> On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:
> In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am getting
> 
> [C 14:16:28.361 NotebookApp] Bad config encountered during initialization:
> 
> [C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'
> 
> Any thoughts? Do I need to change something to have the same affect?
> 
> Thanks
> 
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/41797c4f/attachment.html>

From benjaminrk at gmail.com  Thu Mar  5 01:12:32 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 4 Mar 2015 22:12:32 -0800
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <F85BD880-E7F0-41E2-8E32-BD80A87770DA@gmail.com>
References: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
	<CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>
	<CAHNn8BXOGp0CZ7Y4iZ+_bt_v5Zn7h0FRiRuGtf-e342pNC2E7A@mail.gmail.com>
	<CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>
	<F85BD880-E7F0-41E2-8E32-BD80A87770DA@gmail.com>
Message-ID: <CAHNn8BWXV9WHKTzHP72iHBTHyarzX+xpaVUuxrcMcC8epg59gg@mail.gmail.com>

On Wed, Mar 4, 2015 at 9:36 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 4 mars 2015 ? 21:14, Kenneth Tran <one at kentran.net> a ?crit :
>
> It seems that doing this is not the same as %pylab inline. I tried it but
> this line failed.
> *    plot(range(0,9))*
>
> I tried putting %pylab inline in the startup.ipy file but it doesn't work
> either.
>
> Am I missing something?
>
>
> You should not use %pylab, or --pylab.
> it is undocumented and deprecated.
>
> That being said,
>
> Do we support startup.ipy files ?
>

yes


> --
> M
>
>
> -K
>
>
> On Fri, Feb 6, 2015 at 12:27 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> For completeness, you can create a startup file that always enables
>> inline matplotlib with:
>>
>> echo "get_ipython().enable_matplotlib('inline')" > ~/.ipython/profile_default/startup/matplotlib_inline.py
>>
>> ?
>>
>> On Fri, Feb 6, 2015 at 12:24 PM, MinRK <benjaminrk at gmail.com> wrote:
>>
>>> Passing kernel arguments on the notebook server CLI was deprecated in
>>> 2.0, and removed in 3.0. You can use the `%matplotlib inline` magic in your
>>> notebook to set up matplotlib, or enable matplotlib in your
>>> `ipython_config.py` or startup files in your IPython profile.
>>>
>>> -MinRK
>>>
>>> On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:
>>>
>>>> In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I
>>>> am getting
>>>>
>>>> [C 14:16:28.361 NotebookApp] Bad config encountered during
>>>> initialization:
>>>>
>>>> [C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'
>>>>
>>>> Any thoughts? Do I need to change something to have the same affect?
>>>>
>>>> Thanks
>>>>
>>>> John
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/d57643fd/attachment.html>

From nick.bollweg at gmail.com  Thu Mar  5 01:23:09 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Thu, 5 Mar 2015 01:23:09 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
Message-ID: <CACejjWzofdPDWaVn8ZKufWLZwaJ92pTPiZNMvT-YvNqSE6TGRA@mail.gmail.com>

My thought with this prototype is to get something out the door quickly
that others can look at, and start thinking about what "modeling
collaboration" looks like.

Once I have the REPL basics, and maybe an initial stab at faking widgets
into working against derby,  the real fun begins: what the hell is a
multiuser notebook? What UX will make it work, and not fail like google
wave? I have some thoughts, and as I show it to people, wheels start
turning.

As for my architectural choices: I like Derby (on racer on sharejs on
livedb on mongo/redis) because it gives me models, routes, pubsub,
templating, sessions, validation, url routes, operational transform, asset
packaging, and synthetic models (more below), but doesn't decide to
reinvent the whole ecosystem like meteor.

With both of them, though, you kinda buy into the whole thing, and it would
be hard to get off it... so maybe it's not a good choice for the real
solution... but it might be. Because eventually, you gotta write some
javascript. So I am not selling derby, really, but there is a lot of stuff
that I would be really sad to lose or have to reinvent.

How much does it rely on derby/nodejs being there ?
>

That would be, well, 100%. See above.

I've looked at opencoweb,and webalchemy, but didn't see how to make them
work for me easily. Specifically on coweb, love the multi backend concept.
But not much momentum. And... at the end of the day you still have to write
some javascript :P And then there's firebase...


> The proxy was one of the things I though about, but I'm not sure that
> completely the way we want to go.
> But let see.
>

Sheer laziness on my part: doing the proxy gave me all of the assets for
free, and those routes that I didn't care to re-implement (tree). I didn't
even bother to proxy websockets. When it's done, I'll even replace
/notebooks/ with the multi-user one for demo purposes..

That's nice, I really want to decouple the notebook model which is on disk
> to the on memory one.
>

I'm just working with what I find...again, the challenge is in modeling
collaboration. With a model of the collaboration


> I'm pondering not a list for cell, but actually dict of id-> cell plus a
> list of id order.
>
> that should make partial update simple.
>

As I am learning, you still must order it on the page! This is non-trivial,
once you start talking about moving stuff that corresponds to DOM, and
messing with people's viewports.

The approach I have taken in derby/racer/mongo is to model the notebooks in
one collection and the cells in another. Strong ID, good. The cells
maintain a simple reference to the notebook, and the reactive query plus
local filter and sorting handles the rest.

There are likely other solutions, but this gives me pretty good
robustness... or should, once I figure everything out.

thought ?
>
> I really want to think about user UI state that is synced vs the one that
> is not synced.
> For example I doubt the hidden state of cell toolbar should be synced.
>
> Same with collapse state of output area.
>

Yes. I mean, sync is interesting. Sync to whom? If you are personally
working on two windows, would you want to sync everything between the two
of them? Some things?

In derby, one is provided with several constructs that handle these cases:

   - THE MODEL is... well, the model. that persists. and is shared. and is
   versioned (but you can't touch the versions... yet)
   - _page is "this user using this url in this browser"
   - _session is "this user using this site"

For things like the state of the UI, if you really, really don't care about
it, just toss it in _page. It never even goes to mongo, i don't think.

Things you want to persist for a while: maybe _session.

But the magic thing is references. In a given scope (a route or a compnent)
you have a model. It is made of bits and pieces of those model above, but
none of them know where they are bound. Except when they need to, to serve
higher-level goals: right now, for example, my toolbar has the logic for
turning a DOM click into an insertion into the actual collection. THis is
ugly, and I need to do better, but because all the changes fire locally,
it's fast enough to replace jquery/backbone... and happens to get persisted
to the database.


> I don't think there is a compelling way to make _repr_javascript_ work
> with this, but widgets are *perfect* as they already work this way...
> though it may require adding an additional View.view_model if there are UI
> things that one would want to share among many users.
>
>
> reprjs make sens for "static widget" (mpld3m or Julia Gadfly) that allow
> in browser panning and zooming.
>

Sure: totally reasonable. I guess i meant, there's no way to make a
"static" widget work with multiuser/OT, which widgets might be reusable
whole cloth. But nothing that uses dirty tricks to talk to the kernel is
going to fly, not saying I've done that :P

I would really like building the structure of the notebook in a way that
> the realtime backend would be plug able.
>

Funny, just had that discussion with some colleagues. Agreed that an OT
standard-like spec would be ideal.


> WE also need to think carefully about the execution logic. I would like to
> have real-time where I would be able to execute, but the people I share
> with would not.
>

I haven't handled this case yet, but i think it should be possible to
prevent a specific user from changing a specific field in a document, in
this case the state of a cell


> I suppose we would need to bake login into RT framework. How do you handle
> that for now ?
>

In my proxy, i'm just using the existing password stuff. Once you get to
the RT views, you'll already have been authorized.


>
> Should we make a place just to discuss realtime collaboration ?
>

Might be in order. Are we talking IPEP, or something more informal? Is this
really a jupyter discussion?

Cheers!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/c306ad5a/attachment.html>

From fperez.net at gmail.com  Thu Mar  5 01:24:46 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Wed, 4 Mar 2015 22:24:46 -0800
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
Message-ID: <CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>

On Wed, Mar 4, 2015 at 11:22 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Should we make a place just to discuss realtime collaboration ?
>

No, let's keep it on this list...  The discussion is at the heart of very
interesting questions about the entire system, so I'd rather not splinter
into multiple lists.

Nicholas, I appreciate your desire to polish things, but I really would
like to encourage you to sync in with us on all of this earlier rather than
later. As has already been mentioned, this is what Matthias is basically
working full-time on right now, as part of the ongoing collaboration with
the Google CoLaboratory team.  It's the perfect time to have these
discussions with the whole team!

Very much looking forward to what will cook out from this effort :)

Cheers,

f


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/a2989c1e/attachment.html>

From wes.turner at gmail.com  Thu Mar  5 01:35:38 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Thu, 5 Mar 2015 00:35:38 -0600
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
	<CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
Message-ID: <CACfEFw8MC5TR+rmRxTLRdtSufmLr+=kr6LzByGWXA265smyGqg@mail.gmail.com>

On Mar 5, 2015 12:25 AM, "Fernando Perez" <fperez.net at gmail.com> wrote:
>
> On Wed, Mar 4, 2015 at 11:22 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:
>>
>> Should we make a place just to discuss realtime collaboration ?
>
>
> No, let's keep it on this list...  The discussion is at the heart of very
interesting questions about the entire system, so I'd rather not splinter
into multiple lists.

So:

* auth
* cell-based authz
* OT (Operational Transformation)

And:

* cloud storage
* tmpnb/docker containerization

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/51a94e0e/attachment.html>

From wes.turner at gmail.com  Thu Mar  5 01:41:58 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Thu, 5 Mar 2015 00:41:58 -0600
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CACfEFw8MC5TR+rmRxTLRdtSufmLr+=kr6LzByGWXA265smyGqg@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
	<CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
	<CACfEFw8MC5TR+rmRxTLRdtSufmLr+=kr6LzByGWXA265smyGqg@mail.gmail.com>
Message-ID: <CACfEFw-d_=D_rb0OZcAPbOJh=so3P4iQYoF=nhb9ovfidh-Hnw@mail.gmail.com>

... And integrated revision tracking/management.
On Mar 5, 2015 12:35 AM, "Wes Turner" <wes.turner at gmail.com> wrote:

>
> On Mar 5, 2015 12:25 AM, "Fernando Perez" <fperez.net at gmail.com> wrote:
> >
> > On Wed, Mar 4, 2015 at 11:22 AM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
> >>
> >> Should we make a place just to discuss realtime collaboration ?
> >
> >
> > No, let's keep it on this list...  The discussion is at the heart of
> very interesting questions about the entire system, so I'd rather not
> splinter into multiple lists.
>
> So:
>
> * auth
> * cell-based authz
> * OT (Operational Transformation)
>
> And:
>
> * cloud storage
> * tmpnb/docker containerization
>
> ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/b7a2bd67/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar  5 01:56:41 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 4 Mar 2015 22:56:41 -0800
Subject: [IPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
In-Reply-To: <CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
	<CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
Message-ID: <8CB9B2C9-1ABE-49B6-A5DB-0B9E923EE58C@gmail.com>


Le 4 mars 2015 ? 22:24, Fernando Perez <fperez.net at gmail.com> a ?crit :

> On Wed, Mar 4, 2015 at 11:22 AM, Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
> Should we make a place just to discuss realtime collaboration ?
> 
> No, let's keep it on this list...  The discussion is at the heart of very interesting questions about the entire system, so I'd rather not splinter into multiple lists.

No, not multiple list, I was thinking about GH issues,
where you can mute things. Also the ML, is all but friendly for
searching a topic/archive. 

Will respond to other mails tomorrow. 
-- 
M






> 
> Nicholas, I appreciate your desire to polish things, but I really would like to encourage you to sync in with us on all of this earlier rather than later. As has already been mentioned, this is what Matthias is basically working full-time on right now, as part of the ongoing collaboration with the Google CoLaboratory team.  It's the perfect time to have these discussions with the whole team!
> 
> Very much looking forward to what will cook out from this effort :)
> 
> Cheers,
> 
> f
> 
> 
> -- 
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150304/e4974413/attachment.html>

From jared at jaredforsyth.com  Thu Mar  5 02:29:21 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Thu, 5 Mar 2015 00:29:21 -0700
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
Message-ID: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>

This might be a good time to let y'all know about the alternative front-end
I've been building for ipython :)
Although it's probably better described as a "life manager / notebook" that
happens to have first-class support for ipython integration.

Some important aspects:
UI
- tree-based structure (think workflowy)
- highly optimized for keyboard navigation
- multiple display modes possible (including a mindmap view)
- searchable
- multi-paned (arbitrary paning)
- pop out the output of a node into a separate window
- multiple note types (markdown, code, todo-item, list-item, embedded image)
- import/export to .ipynb and several other formats
- visual indication that cell is "dirty" -- the contents have been changed
since last evaluation

Architecture
- browser-based, but offline-first (no server required)
- connects to an ipython server, or a clojure repl, or an in-browser js
kernel
- *everything is always saved* to in-browser storage, with optional
synchronization to google drive or a github gist (for multi-user,
multi-device)

I've managed to get together a tutorial for ipython
<http://app.notablemind.org/tutorial/ipython/> and a  general navigation
tutorial <http://app.notablemind.org/tutorial/>, and more docs are coming
soon.

I'd love to get your feedback!



?

Cheers,
Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/df1ae37d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nm-ipython-shot.png
Type: image/png
Size: 183102 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/df1ae37d/attachment.png>

From mjandrews.net at gmail.com  Thu Mar  5 04:26:53 2015
From: mjandrews.net at gmail.com (Mark Andrews)
Date: Thu, 5 Mar 2015 09:26:53 +0000
Subject: [IPython-dev] Hacking nbconvert, nbformat: Looking for howto's
Message-ID: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>

I would like to make a django based application to converts ipython json
files into html or pdf etc. To do this, I need to learn more about
nbconvert, nbformat, etc.

I found this

http://bit.ly/1BQO8WX

to be useful. However, it looks like some of its code is now out of date.
For example, I get warnings about deprecated code.

Could anyone point me to a similar guide using more up to date IPython?

thank you,
Mark Andrews

(Sorry for the user-ish question being sent to the dev mailing list.
However, unless I am mistaken the ipython-user mailing list is being phased
out. Correct me if I am wrong.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/4371553f/attachment.html>

From ra092767 at ime.unicamp.br  Thu Mar  5 07:22:58 2015
From: ra092767 at ime.unicamp.br (Raniere Silva)
Date: Thu, 5 Mar 2015 09:22:58 -0300
Subject: [IPython-dev] Hacking nbconvert, nbformat: Looking for howto's
In-Reply-To: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>
References: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>
Message-ID: <20150305122258.GC1072@pupunha>

Hi Mark,

> I would like to make a django based application to converts ipython json
> files into html or pdf etc. To do this, I need to learn more about
> nbconvert, nbformat, etc.
> 
> I found this
> 
> http://bit.ly/1BQO8WX
> 
> to be useful. However, it looks like some of its code is now out of date.
> For example, I get warnings about deprecated code.
> 
> Could anyone point me to a similar guide using more up to date IPython?

You can call nbconvert "from the shell" using subprocess.
This will be my first approach.
If you prefer avoid this approach,
I will start looking at IPython/nbconvert directory from the source code.

nbconvert uses Jinja2, http://jinja.pocoo.org/, template
so you should take a look on it.

Raniere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/a8c238fa/attachment.sig>

From wes.turner at gmail.com  Thu Mar  5 08:42:33 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Thu, 5 Mar 2015 07:42:33 -0600
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
Message-ID: <CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>

On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
wrote:

>
> I've managed to get together a tutorial for ipython
> <http://app.notablemind.org/tutorial/ipython/> and a  general navigation
> tutorial <http://app.notablemind.org/tutorial/>, and more docs are coming
> soon.
>
> I'd love to get your feedback!
>

At first glance, this looks outstanding!

* Dig the vim shortcuts
* Dig the split panes (.glyphicon-resize-vertical and
.glyphicon-option-vertical might work)

Wondering how/where the 'undo' / 'redo' support is implemented, and whether
it would be possible to port that back upstream?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/e97c1315/attachment.html>

From mattwcraig at gmail.com  Thu Mar  5 08:44:50 2015
From: mattwcraig at gmail.com (Matt Craig)
Date: Thu, 05 Mar 2015 05:44:50 -0800 (PST)
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>
References: <CAHmx4LA3ZAcs6==gZLYKK0hjbCg2FwAG3fd5EVBtSyjA-zatXw@mail.gmail.com>
Message-ID: <1425563089988.9900936b@Nodemailer>

It seems that doing this is not the same as %pylab inline. I tried it but this line failed.? ??plot(range(0,9))







Hi Ken,




You also need this:




import matplotlib.pyplot as plt?




Then




plt.plot(range(0, 9))




Matt
?
Sent from Mailbox



On Wednesday, Mar 4, 2015 at 11:15 PM, Kenneth Tran <one at kentran.net>, wrote:
It seems that doing this is not the same as %pylab inline. I tried it but this line failed.
? ??plot(range(0,9))



I tried putting %pylab inline in the startup.ipy file but it doesn't work either.




Am I missing something?




-K





On Fri, Feb 6, 2015 at 12:27 PM, MinRK <benjaminrk at gmail.com> wrote:


For completeness, you can create a startup file that always enables inline matplotlib with:

echo "get_ipython().enable_matplotlib('inline')" > ~/.ipython/profile_default/startup/matplotlib_inline.py

?







On Fri, Feb 6, 2015 at 12:24 PM, MinRK <benjaminrk at gmail.com> wrote:

Passing kernel arguments on the notebook server CLI was deprecated in 2.0, and removed in 3.0. You can use the `%matplotlib inline` magic in your notebook to set up matplotlib, or enable matplotlib in your `ipython_config.py` or startup files in your IPython profile.





On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:
In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am getting


[C 14:16:28.361 NotebookApp] Bad config encountered during initialization:


[C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'


Any thoughts? Do I need to change something to have the same affect?


Thanks


John

_______________________________________________

IPython-dev mailing list
IPython-dev at scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-dev



















_______________________________________________

IPython-dev mailing list
IPython-dev at scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/bbc9aef7/attachment.html>

From kestert at google.com  Thu Mar  5 11:36:33 2015
From: kestert at google.com (Kester Tong)
Date: Thu, 5 Mar 2015 11:36:33 -0500
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
Message-ID: <CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>

Hi Everyone,

I'm part of the Google team that is working with IPython on realtime
collaboration and notebook redesign.  I was also one of the developers on
the coLaboratory project, where we implemented a Notebook front end using
the Google Drive realtime API (see https://github.com/jupyter/colaboratory
or
https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
for the working Chrome App).

The main choices I've seen so far in this thread are:

* text editor vs traditional notebook

I prefer the traditional notebook for the reasons Nicholas gave.

* Storing model in browser vs the same place as the kernel.

I think that we should aim to have both capacities, and that's what me and
Matthias had been aiming for so far.  For backends like Google's realtime
API (which is afaik the only free web based backend for this sort of
thing), the model needs to be in the browser.

* Using derby.js

It's great to have operational transforms (OTs) taken care of by someone
else.  But I'm concerned that locking into this would exclude other
backends such as Google Drive's realtime API.  Maybe we could wrap both in
a another layer though.

Currently I've been prototyping with React, although my prototype is much
less developed than the others posted here.  React is nice because, based
on my experience in coLaboratory, there are lots of stateful UI components
in the notebook, and React allows you to store all your state in one
place.  However, it also has stateful components if you need them.  Right
now I have a list of cells id's, and map from cell id's to cells, which as
Matthias mentioned, seems like the best way to handle realtime, but also
helps keep cell widgets independent of their position in the notebook.

Kester



On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com> wrote:

>
>
> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
> wrote:
>
>>
>> I've managed to get together a tutorial for ipython
>> <http://app.notablemind.org/tutorial/ipython/> and a  general navigation
>> tutorial <http://app.notablemind.org/tutorial/>, and more docs are
>> coming soon.
>>
>> I'd love to get your feedback!
>>
>
> At first glance, this looks outstanding!
>
> * Dig the vim shortcuts
> * Dig the split panes (.glyphicon-resize-vertical and
> .glyphicon-option-vertical might work)
>
> Wondering how/where the 'undo' / 'redo' support is implemented, and
> whether it would be possible to port that back upstream?
>
> Thanks!
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/9d1e0e08/attachment.html>

From takowl at gmail.com  Thu Mar  5 12:56:25 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 5 Mar 2015 09:56:25 -0800
Subject: [IPython-dev] Hacking nbconvert, nbformat: Looking for howto's
In-Reply-To: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>
References: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>
Message-ID: <CAOvn4qjkzxb_MSnTm4UJR2FQZTCVzsNP3Fe1gG8hhjWyqyPEmA@mail.gmail.com>

On 5 March 2015 at 01:26, Mark Andrews <mjandrews.net at gmail.com> wrote:

> However, it looks like some of its code is now out of date. For example, I
> get warnings about deprecated code.


At a glance, the main changes are:

nbformat.current is deprecated - it was an API that would always refer to
the latest version of nbformat, but we decided that wasn't so useful. Now
use:

from IPython import nbformat

Then you'll need to specify the in-memory format you're expecting when you
load a notebook:

nb = nbformat.reads(response.text, as_version=4)

If you load the notebook as version 4, then we got rid of the notion of
worksheets, so you can take out any references to '.worksheets[0]'.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/444068ad/attachment.html>

From nick.bollweg at gmail.com  Thu Mar  5 13:09:58 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Thu, 5 Mar 2015 13:09:58 -0500
Subject: [IPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
References: <CAFEnwtuNUgnv=KYJ1Jy=okUZVBK58M8937ZxEW4X0v9F4+inFQ@mail.gmail.com>
	<CACfEFw8LzWJYC2MjRD0Ngt=Z6JMUeh9Qgp2Jv5dTHsRE2o63DQ@mail.gmail.com>
	<1425483877248-5088096.post@n6.nabble.com>
	<CACejjWzh_4OBcKrXzO3sKirFYQWUQ+fPZfZPYSApdFgr88aWjw@mail.gmail.com>
	<C238542A-2496-48CC-BCA1-CC9B5A467F84@gmail.com>
	<CAHAreOp2nxC=rse-VOOsEC2Q=S7qdP+Wyaz5WeYM8GjvGUYqUw@mail.gmail.com>
Message-ID: <CACejjWybX9mjMrx7KGDRZwoe49ZxMKBQW4LNBNY4J918a9qm1Q@mail.gmail.com>

Sorry for the stealth mode, but it's really a pretty recent development!

The current issue on the "refactoring of notebook javascript" is what got
me thinking about this:
https://github.com/ipython/ipython/issues/7784

I am working towards a demo for some other research that has been
ongoing... we just didn't have an execution environment... and I was kinda
waiting to see what happened. Our eventual use case would be a poor fit for
SaaS, and the derby stack gives us everything we need to host our own and
scale it, so the google stuff is not a good fit for my needs... but we
should definitely be looking at how to make sure that the architecture is
"open", to use an over-taxed term.

Definitely interested in seeing where it all goes!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/62a77b44/attachment.html>

From jared at jaredforsyth.com  Thu Mar  5 14:07:58 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Thu, 05 Mar 2015 19:07:58 +0000
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
Message-ID: <CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>

++for react. That's what the UI for Notablemind is written in, and makes
state management awesome. It also makes things like rearranging cells
trivial.

On Thu, Mar 5, 2015 at 9:36 AM Kester Tong <kestert at google.com> wrote:

> Hi Everyone,
>
> I'm part of the Google team that is working with IPython on realtime
> collaboration and notebook redesign.  I was also one of the developers on
> the coLaboratory project, where we implemented a Notebook front end using
> the Google Drive realtime API (see https://github.com/jupyter/colaboratory
> or
> https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
> for the working Chrome App).
>
> The main choices I've seen so far in this thread are:
>
> * text editor vs traditional notebook
>
> I prefer the traditional notebook for the reasons Nicholas gave.
>
> * Storing model in browser vs the same place as the kernel.
>
> I think that we should aim to have both capacities, and that's what me and
> Matthias had been aiming for so far.  For backends like Google's realtime
> API (which is afaik the only free web based backend for this sort of
> thing), the model needs to be in the browser.
>
> * Using derby.js
>
> It's great to have operational transforms (OTs) taken care of by someone
> else.  But I'm concerned that locking into this would exclude other
> backends such as Google Drive's realtime API.  Maybe we could wrap both in
> a another layer though.
>
> Currently I've been prototyping with React, although my prototype is much
> less developed than the others posted here.  React is nice because, based
> on my experience in coLaboratory, there are lots of stateful UI components
> in the notebook, and React allows you to store all your state in one
> place.  However, it also has stateful components if you need them.  Right
> now I have a list of cells id's, and map from cell id's to cells, which as
> Matthias mentioned, seems like the best way to handle realtime, but also
> helps keep cell widgets independent of their position in the notebook.
>
> Kester
>
>
>
> On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com> wrote:
>
>>
>>
>> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
>> wrote:
>>
>>>
>>> I've managed to get together a tutorial for ipython
>>> <http://app.notablemind.org/tutorial/ipython/> and a  general
>>> navigation tutorial <http://app.notablemind.org/tutorial/>, and more
>>> docs are coming soon.
>>>
>>> I'd love to get your feedback!
>>>
>>
>> At first glance, this looks outstanding!
>>
>> * Dig the vim shortcuts
>> * Dig the split panes (.glyphicon-resize-vertical and
>> .glyphicon-option-vertical might work)
>>
>> Wondering how/where the 'undo' / 'redo' support is implemented, and
>> whether it would be possible to port that back upstream?
>>
>> Thanks!
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/0bab4b60/attachment.html>

From kestert at google.com  Thu Mar  5 14:17:31 2015
From: kestert at google.com (Kester Tong)
Date: Thu, 5 Mar 2015 14:17:31 -0500
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
Message-ID: <CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>

Jared,

can you let us know (here or in
https://github.com/ipython/ipython/issues/7784) a bit about your experience
with React.  I've found it very easy to use but powerful, and it seems to
play nicely with other frameworks.  Other people have raised concerns about
performance (e.g. Atom moved away from React for performance issues).  I
can identify 3 areas that might need to be handled outside react: the text
editor, output areas (that can contain large binary blobs) and widgets
(which I don't know a lot about).  I think these can probably be solved
simply by having React components that wrap some other code, and don't try
to maintain state using React.  But you have a lot more knowledge of this
than me.

Kester

On Thu, Mar 5, 2015 at 2:07 PM, Jared Forsyth <jared at jaredforsyth.com>
wrote:

> ++for react. That's what the UI for Notablemind is written in, and makes
> state management awesome. It also makes things like rearranging cells
> trivial.
>
>
> On Thu, Mar 5, 2015 at 9:36 AM Kester Tong <kestert at google.com> wrote:
>
>> Hi Everyone,
>>
>> I'm part of the Google team that is working with IPython on realtime
>> collaboration and notebook redesign.  I was also one of the developers on
>> the coLaboratory project, where we implemented a Notebook front end using
>> the Google Drive realtime API (see
>> https://github.com/jupyter/colaboratory or
>> https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
>> for the working Chrome App).
>>
>> The main choices I've seen so far in this thread are:
>>
>> * text editor vs traditional notebook
>>
>> I prefer the traditional notebook for the reasons Nicholas gave.
>>
>> * Storing model in browser vs the same place as the kernel.
>>
>> I think that we should aim to have both capacities, and that's what me
>> and Matthias had been aiming for so far.  For backends like Google's
>> realtime API (which is afaik the only free web based backend for this sort
>> of thing), the model needs to be in the browser.
>>
>> * Using derby.js
>>
>> It's great to have operational transforms (OTs) taken care of by someone
>> else.  But I'm concerned that locking into this would exclude other
>> backends such as Google Drive's realtime API.  Maybe we could wrap both in
>> a another layer though.
>>
>> Currently I've been prototyping with React, although my prototype is much
>> less developed than the others posted here.  React is nice because, based
>> on my experience in coLaboratory, there are lots of stateful UI components
>> in the notebook, and React allows you to store all your state in one
>> place.  However, it also has stateful components if you need them.  Right
>> now I have a list of cells id's, and map from cell id's to cells, which as
>> Matthias mentioned, seems like the best way to handle realtime, but also
>> helps keep cell widgets independent of their position in the notebook.
>>
>> Kester
>>
>>
>>
>> On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com> wrote:
>>
>>>
>>>
>>> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
>>> wrote:
>>>
>>>>
>>>> I've managed to get together a tutorial for ipython
>>>> <http://app.notablemind.org/tutorial/ipython/> and a  general
>>>> navigation tutorial <http://app.notablemind.org/tutorial/>, and more
>>>> docs are coming soon.
>>>>
>>>> I'd love to get your feedback!
>>>>
>>>
>>> At first glance, this looks outstanding!
>>>
>>> * Dig the vim shortcuts
>>> * Dig the split panes (.glyphicon-resize-vertical and
>>> .glyphicon-option-vertical might work)
>>>
>>> Wondering how/where the 'undo' / 'redo' support is implemented, and
>>> whether it would be possible to port that back upstream?
>>>
>>> Thanks!
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/7f00b043/attachment.html>

From takowl at gmail.com  Thu Mar  5 14:36:02 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 5 Mar 2015 11:36:02 -0800
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
Message-ID: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>

I've just completed a rough prototype of a concept we've been calling
'nbexplode'. If you've wrestled with merge conflicts in notebooks kept in
text-based VCSs, you might like to investigate it.

https://github.com/takluyver/nbexplode/

Since current VCSs don't understand any structure within a file (beyond
lines), the idea is to let the VCS know about the structure of a notebook
by breaking it up into many files for separate cells and outputs. The VCS
should then be smarter about merging separate changes. When you check out
an exploded notebook, you can recombine it into a single .ipynb file to
work with.

This is still sub-optimal, because filesystems (and therefore VCSs) have no
notion of an ordered sequence. And it's probably more unwieldy for viewing
diffs, because cells appear out of order.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/f842bbd5/attachment.html>

From ellisonbg at gmail.com  Thu Mar  5 15:05:41 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Thu, 5 Mar 2015 12:05:41 -0800
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
Message-ID: <CAH4pYpSqGKSf_kYPGShCkLMmh37Z3BoigzTzy-K5fwNUa0Dc0g@mail.gmail.com>

Ooohhh, very cool! Thanks for working on this!

On Thu, Mar 5, 2015 at 11:36 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> I've just completed a rough prototype of a concept we've been calling
> 'nbexplode'. If you've wrestled with merge conflicts in notebooks kept in
> text-based VCSs, you might like to investigate it.
>
> https://github.com/takluyver/nbexplode/
>
> Since current VCSs don't understand any structure within a file (beyond
> lines), the idea is to let the VCS know about the structure of a notebook
> by breaking it up into many files for separate cells and outputs. The VCS
> should then be smarter about merging separate changes. When you check out
> an exploded notebook, you can recombine it into a single .ipynb file to
> work with.
>
> This is still sub-optimal, because filesystems (and therefore VCSs) have
> no notion of an ordered sequence. And it's probably more unwieldy for
> viewing diffs, because cells appear out of order.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/49e64684/attachment.html>

From nick.bollweg at gmail.com  Thu Mar  5 15:59:18 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Thu, 5 Mar 2015 15:59:18 -0500
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
Message-ID: <CACejjWxuzAjRxiYhxSMyWfGsM2hqR-4Q+2jTCt64hoZK=5vW=g@mail.gmail.com>

Really, not trying to start a fight with Mountain View!

Reading up on the Google Drive spec, there is at least one (no license
provided, 1 contributor) API implementation in Java:

https://github.com/goodow/realtime-store

Presumably, between that and the API docs, another reference implementation
could be built, presumably on Tornado to fit with the rest of the community
infrastructure. Presumably some kind of cross-implementation test suite
could be arrived at. I would see those pieces as an entry gate.

I would still see something that looks like a local evented model store, no
matter how the updates get to it: perhaps this is a thing the Flux pattern
can be used to implement?

I have no experience with React, but do find a lot of what they say as very
positive. I would look hard at the other reactive programming environments
(riot, mithril, etc.) as well: there is something to be said for orders of
magnitude less code in your framework. I wouldn't even rule derby out, as
its standalone form is pretty capable, but heavy like react because it is
bringing along so many node polyfills. But otherwise, having already
invested in backbone, it's not the worst either.


On Thu, Mar 5, 2015 at 2:17 PM, Kester Tong <kestert at google.com> wrote:

> Jared,
>
> can you let us know (here or in
> https://github.com/ipython/ipython/issues/7784) a bit about your
> experience with React.  I've found it very easy to use but powerful, and it
> seems to play nicely with other frameworks.  Other people have raised
> concerns about performance (e.g. Atom moved away from React for performance
> issues).  I can identify 3 areas that might need to be handled outside
> react: the text editor, output areas (that can contain large binary blobs)
> and widgets (which I don't know a lot about).  I think these can probably
> be solved simply by having React components that wrap some other code, and
> don't try to maintain state using React.  But you have a lot more knowledge
> of this than me.
>
> Kester
>
> On Thu, Mar 5, 2015 at 2:07 PM, Jared Forsyth <jared at jaredforsyth.com>
> wrote:
>
>> ++for react. That's what the UI for Notablemind is written in, and makes
>> state management awesome. It also makes things like rearranging cells
>> trivial.
>>
>>
>> On Thu, Mar 5, 2015 at 9:36 AM Kester Tong <kestert at google.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> I'm part of the Google team that is working with IPython on realtime
>>> collaboration and notebook redesign.  I was also one of the developers on
>>> the coLaboratory project, where we implemented a Notebook front end using
>>> the Google Drive realtime API (see
>>> https://github.com/jupyter/colaboratory or
>>> https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
>>> for the working Chrome App).
>>>
>>> The main choices I've seen so far in this thread are:
>>>
>>> * text editor vs traditional notebook
>>>
>>> I prefer the traditional notebook for the reasons Nicholas gave.
>>>
>>> * Storing model in browser vs the same place as the kernel.
>>>
>>> I think that we should aim to have both capacities, and that's what me
>>> and Matthias had been aiming for so far.  For backends like Google's
>>> realtime API (which is afaik the only free web based backend for this sort
>>> of thing), the model needs to be in the browser.
>>>
>>> * Using derby.js
>>>
>>> It's great to have operational transforms (OTs) taken care of by someone
>>> else.  But I'm concerned that locking into this would exclude other
>>> backends such as Google Drive's realtime API.  Maybe we could wrap both in
>>> a another layer though.
>>>
>>> Currently I've been prototyping with React, although my prototype is
>>> much less developed than the others posted here.  React is nice because,
>>> based on my experience in coLaboratory, there are lots of stateful UI
>>> components in the notebook, and React allows you to store all your state in
>>> one place.  However, it also has stateful components if you need them.
>>> Right now I have a list of cells id's, and map from cell id's to cells,
>>> which as Matthias mentioned, seems like the best way to handle realtime,
>>> but also helps keep cell widgets independent of their position in the
>>> notebook.
>>>
>>> Kester
>>>
>>>
>>>
>>> On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
>>>> wrote:
>>>>
>>>>>
>>>>> I've managed to get together a tutorial for ipython
>>>>> <http://app.notablemind.org/tutorial/ipython/> and a  general
>>>>> navigation tutorial <http://app.notablemind.org/tutorial/>, and more
>>>>> docs are coming soon.
>>>>>
>>>>> I'd love to get your feedback!
>>>>>
>>>>
>>>> At first glance, this looks outstanding!
>>>>
>>>> * Dig the vim shortcuts
>>>> * Dig the split panes (.glyphicon-resize-vertical and
>>>> .glyphicon-option-vertical might work)
>>>>
>>>> Wondering how/where the 'undo' / 'redo' support is implemented, and
>>>> whether it would be possible to port that back upstream?
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/fc052558/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar  5 16:16:36 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 5 Mar 2015 13:16:36 -0800
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
In-Reply-To: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
Message-ID: <BBB95524-6DA7-4C62-AD36-FB0881112714@gmail.com>

Hi Jared, 


Please to see that, looks nice to see alternative front ends !

A few inline/comments questions.

Le 4 mars 2015 ? 23:29, Jared Forsyth <jared at jaredforsyth.com> a ?crit :

> This might be a good time to let y'all know about the alternative front-end I've been building for ipython :)
> Although it's probably better described as a "life manager / notebook" that happens to have first-class support for ipython integration.
> 
> Some important aspects:
> UI
> - tree-based structure (think workflow)

We are considering "tree" for notebook, but we are more targeting "implicite" tree structure base on the header level. 
we used to have worksheet.  Manipulating tree was too complicated in our opinion with respect to the user interface model. 

I'm curious of wether you have feedback on that your users perspective, and aslso from developpemetn point of view. 

> - highly optimized for keyboard navigation
> - multiple display modes possible (including a mindmap view)
> - searchable
> - multi-paned (arbitrary paning)
> - pop out the output of a node into a separate window

I had difficulties finding out how to get "out" of this view, or even understand during the first second it was just a view. 
I think one need either an animation, or a visual indication. 
Adobe Illustrator have this nice think when you edit a subnode that the siblings are still roughly there but really discreet/translucent
 in the background

> - multiple note types (markdown, code, todo-item, list-item, embedded image)
> - import/export to .ipynb and several other formats

Nice, are you using nbconvert. 
Are you using IPython 2,x or 3.x ? I'm not sure you are aware that we have ~30 languages supported. 
(https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages) 

Though you seem to have rust we don't have. 

Any comment on how easy/missing features of our protocol ? 


> - visual indication that cell is "dirty" -- the contents have been changed since last evaluation

I'm curious about the semantics, we don't have that in IPython because we did not agreed on when something would be "dirty"
or clean.

> 
> Architecture
> - browser-based, but offline-first (no server required)
> - connects to an ipython server, or a clojure repl, or an in-browser js kernel

> - *everything is always saved* to in-browser storage, with optional synchronization to google drive or a github gist (for multi-user, multi-device)

Do you have an abstraction layer? Are you interested in realtime implementation ? could we share some js implementation/protocol maybe ? 

> 
> I've managed to get together a tutorial for ipython and a  general navigation tutorial, and more docs are coming soon.
> 
> I'd love to get your feedback!

Thanks for what you  did ! Hopping to work with you in the future. 


Some response to other mails. 

I'm also looking forward to use reach or other equivalent library. 
Right now I'm playing with real-time api and what abstraction are needed
in the notebook to support many API.
It would be great to draft compatibility of API and sharing libraries. 
That will probably be easier once we split our repo  in multiple sub-repos. 

To NIck, 

I guess the final API will not be google drive and that you will have one more layer of indirection. 
Having people testing many framework is really nice and would hall us getting the right api. 
I do thing that for now GDrive is really nice as it allows custom and easy sharing of notebook, 

We already have a lot of complains of too many dependencies, and drive is one of the things that most of the time :

1) does not require you to create yet another account 
2) integrate with sharing.
3) allow to ship an extension with no deps. 

Would love to see experiment with mithril, and other. 
The current maintenance of  IPython (and traffic on ML these last day) does not give me enough time
to investigate many framework. 

Also the goal of Jupyter is to make organisation and working groups for things like that, 
so looking forward to meetings. 

Cheers, 
-- 
M



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/757c469c/attachment.html>

From kestert at google.com  Thu Mar  5 16:34:06 2015
From: kestert at google.com (Kester Tong)
Date: Thu, 5 Mar 2015 16:34:06 -0500
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
In-Reply-To: <CACejjWxuzAjRxiYhxSMyWfGsM2hqR-4Q+2jTCt64hoZK=5vW=g@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
	<CACejjWxuzAjRxiYhxSMyWfGsM2hqR-4Q+2jTCt64hoZK=5vW=g@mail.gmail.com>
Message-ID: <CAGT7SkWsj5uvS8u3Md0essyk8sToHtc3vnh4skcPCypGPTwjVg@mail.gmail.com>

Nick, I was probably coming across too strong with "but I'm concerned that
locking into this would exclude other backends such as Google Drive's
realtime API.  Maybe we could wrap both in a another layer though."  What I
meant is that the best solution is probably going to be an abstraction
layer around the data service (derby or Google Drive) that does the
realtime sync.

Drive also has an local evented model store, and I agree that the data
model should also be an evented model.  I think that the right approach is
probably a non-generic evented local model, i.e. one with hard coded
classes (Notebook, Cell, etc.).  This would hopefully give us some fine
grained control over the model, e.g. if a cell is stateful and handles its
own codemirror, then update events for a cell don't need to bubble up to
the notebook object.

On Thu, Mar 5, 2015 at 3:59 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Really, not trying to start a fight with Mountain View!
>
> Reading up on the Google Drive spec, there is at least one (no license
> provided, 1 contributor) API implementation in Java:
>
> https://github.com/goodow/realtime-store
>
> Presumably, between that and the API docs, another reference
> implementation could be built, presumably on Tornado to fit with the rest
> of the community infrastructure. Presumably some kind of
> cross-implementation test suite could be arrived at. I would see those
> pieces as an entry gate.
>
> I would still see something that looks like a local evented model store,
> no matter how the updates get to it: perhaps this is a thing the Flux
> pattern can be used to implement?
>
> I have no experience with React, but do find a lot of what they say as
> very positive. I would look hard at the other reactive programming
> environments (riot, mithril, etc.) as well: there is something to be said
> for orders of magnitude less code in your framework. I wouldn't even rule
> derby out, as its standalone form is pretty capable, but heavy like react
> because it is bringing along so many node polyfills. But otherwise, having
> already invested in backbone, it's not the worst either.
>
>
> On Thu, Mar 5, 2015 at 2:17 PM, Kester Tong <kestert at google.com> wrote:
>
>> Jared,
>>
>> can you let us know (here or in
>> https://github.com/ipython/ipython/issues/7784) a bit about your
>> experience with React.  I've found it very easy to use but powerful, and it
>> seems to play nicely with other frameworks.  Other people have raised
>> concerns about performance (e.g. Atom moved away from React for performance
>> issues).  I can identify 3 areas that might need to be handled outside
>> react: the text editor, output areas (that can contain large binary blobs)
>> and widgets (which I don't know a lot about).  I think these can probably
>> be solved simply by having React components that wrap some other code, and
>> don't try to maintain state using React.  But you have a lot more knowledge
>> of this than me.
>>
>> Kester
>>
>> On Thu, Mar 5, 2015 at 2:07 PM, Jared Forsyth <jared at jaredforsyth.com>
>> wrote:
>>
>>> ++for react. That's what the UI for Notablemind is written in, and makes
>>> state management awesome. It also makes things like rearranging cells
>>> trivial.
>>>
>>>
>>> On Thu, Mar 5, 2015 at 9:36 AM Kester Tong <kestert at google.com> wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> I'm part of the Google team that is working with IPython on realtime
>>>> collaboration and notebook redesign.  I was also one of the developers on
>>>> the coLaboratory project, where we implemented a Notebook front end using
>>>> the Google Drive realtime API (see
>>>> https://github.com/jupyter/colaboratory or
>>>> https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
>>>> for the working Chrome App).
>>>>
>>>> The main choices I've seen so far in this thread are:
>>>>
>>>> * text editor vs traditional notebook
>>>>
>>>> I prefer the traditional notebook for the reasons Nicholas gave.
>>>>
>>>> * Storing model in browser vs the same place as the kernel.
>>>>
>>>> I think that we should aim to have both capacities, and that's what me
>>>> and Matthias had been aiming for so far.  For backends like Google's
>>>> realtime API (which is afaik the only free web based backend for this sort
>>>> of thing), the model needs to be in the browser.
>>>>
>>>> * Using derby.js
>>>>
>>>> It's great to have operational transforms (OTs) taken care of by
>>>> someone else.  But I'm concerned that locking into this would exclude other
>>>> backends such as Google Drive's realtime API.  Maybe we could wrap both in
>>>> a another layer though.
>>>>
>>>> Currently I've been prototyping with React, although my prototype is
>>>> much less developed than the others posted here.  React is nice because,
>>>> based on my experience in coLaboratory, there are lots of stateful UI
>>>> components in the notebook, and React allows you to store all your state in
>>>> one place.  However, it also has stateful components if you need them.
>>>> Right now I have a list of cells id's, and map from cell id's to cells,
>>>> which as Matthias mentioned, seems like the best way to handle realtime,
>>>> but also helps keep cell widgets independent of their position in the
>>>> notebook.
>>>>
>>>> Kester
>>>>
>>>>
>>>>
>>>> On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> I've managed to get together a tutorial for ipython
>>>>>> <http://app.notablemind.org/tutorial/ipython/> and a  general
>>>>>> navigation tutorial <http://app.notablemind.org/tutorial/>, and more
>>>>>> docs are coming soon.
>>>>>>
>>>>>> I'd love to get your feedback!
>>>>>>
>>>>>
>>>>> At first glance, this looks outstanding!
>>>>>
>>>>> * Dig the vim shortcuts
>>>>> * Dig the split panes (.glyphicon-resize-vertical and
>>>>> .glyphicon-option-vertical might work)
>>>>>
>>>>> Wondering how/where the 'undo' / 'redo' support is implemented, and
>>>>> whether it would be possible to port that back upstream?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/2dd116b2/attachment.html>

From jared at jaredforsyth.com  Thu Mar  5 17:01:44 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Thu, 05 Mar 2015 22:01:44 +0000
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
Message-ID: <CAK+wY2adpLohonkpnMsmJXJoeiLbkndbtxaSRzD_uHka1DfiRA@mail.gmail.com>

To those points (in addition to my comments on the issue thread):

- *editor: *I think the editor should continue to be codemirror -- let it
do what it is good at. I use codemirror in Notablemind, and the interop
works just fine. I'd be happy to spin off my react-codemirror component
into a separate package if that's helpful
- *output areas: *large binary blobs are no problem for react, as long as
you're careful about things. Again, notablemind (rendering ipython outputs)
has no problem
- *widgets: *embedding arbitrary widgets within a react component is super
simple :). If widgets are written in react, all the better, but that's not
necessary.

On Thu, Mar 5, 2015 at 12:17 PM Kester Tong <kestert at google.com> wrote:

> Jared,
>
> can you let us know (here or in
> https://github.com/ipython/ipython/issues/7784) a bit about your
> experience with React.  I've found it very easy to use but powerful, and it
> seems to play nicely with other frameworks.  Other people have raised
> concerns about performance (e.g. Atom moved away from React for performance
> issues).  I can identify 3 areas that might need to be handled outside
> react: the text editor, output areas (that can contain large binary blobs)
> and widgets (which I don't know a lot about).  I think these can probably
> be solved simply by having React components that wrap some other code, and
> don't try to maintain state using React.  But you have a lot more knowledge
> of this than me.
>
> Kester
>
> On Thu, Mar 5, 2015 at 2:07 PM, Jared Forsyth <jared at jaredforsyth.com>
> wrote:
>
>> ++for react. That's what the UI for Notablemind is written in, and makes
>> state management awesome. It also makes things like rearranging cells
>> trivial.
>>
>>
>> On Thu, Mar 5, 2015 at 9:36 AM Kester Tong <kestert at google.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> I'm part of the Google team that is working with IPython on realtime
>>> collaboration and notebook redesign.  I was also one of the developers on
>>> the coLaboratory project, where we implemented a Notebook front end using
>>> the Google Drive realtime API (see
>>> https://github.com/jupyter/colaboratory or
>>> https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo?hl=en-US
>>> for the working Chrome App).
>>>
>>> The main choices I've seen so far in this thread are:
>>>
>>> * text editor vs traditional notebook
>>>
>>> I prefer the traditional notebook for the reasons Nicholas gave.
>>>
>>> * Storing model in browser vs the same place as the kernel.
>>>
>>> I think that we should aim to have both capacities, and that's what me
>>> and Matthias had been aiming for so far.  For backends like Google's
>>> realtime API (which is afaik the only free web based backend for this sort
>>> of thing), the model needs to be in the browser.
>>>
>>> * Using derby.js
>>>
>>> It's great to have operational transforms (OTs) taken care of by someone
>>> else.  But I'm concerned that locking into this would exclude other
>>> backends such as Google Drive's realtime API.  Maybe we could wrap both in
>>> a another layer though.
>>>
>>> Currently I've been prototyping with React, although my prototype is
>>> much less developed than the others posted here.  React is nice because,
>>> based on my experience in coLaboratory, there are lots of stateful UI
>>> components in the notebook, and React allows you to store all your state in
>>> one place.  However, it also has stateful components if you need them.
>>> Right now I have a list of cells id's, and map from cell id's to cells,
>>> which as Matthias mentioned, seems like the best way to handle realtime,
>>> but also helps keep cell widgets independent of their position in the
>>> notebook.
>>>
>>> Kester
>>>
>>>
>>>
>>> On Thu, Mar 5, 2015 at 8:42 AM, Wes Turner <wes.turner at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Thu, Mar 5, 2015 at 1:29 AM, Jared Forsyth <jared at jaredforsyth.com>
>>>> wrote:
>>>>
>>>>>
>>>>> I've managed to get together a tutorial for ipython
>>>>> <http://app.notablemind.org/tutorial/ipython/> and a  general
>>>>> navigation tutorial <http://app.notablemind.org/tutorial/>, and more
>>>>> docs are coming soon.
>>>>>
>>>>> I'd love to get your feedback!
>>>>>
>>>>
>>>> At first glance, this looks outstanding!
>>>>
>>>> * Dig the vim shortcuts
>>>> * Dig the split panes (.glyphicon-resize-vertical and
>>>> .glyphicon-option-vertical might work)
>>>>
>>>> Wondering how/where the 'undo' / 'redo' support is implemented, and
>>>> whether it would be possible to port that back upstream?
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/ed081d1b/attachment.html>

From mjandrews.net at gmail.com  Thu Mar  5 19:37:18 2015
From: mjandrews.net at gmail.com (Mark Andrews)
Date: Fri, 6 Mar 2015 00:37:18 +0000
Subject: [IPython-dev] Hacking nbconvert, nbformat: Looking for howto's
In-Reply-To: <CAOvn4qjkzxb_MSnTm4UJR2FQZTCVzsNP3Fe1gG8hhjWyqyPEmA@mail.gmail.com>
References: <CABj652YoporJhUdzu45oK2SMcuSxr9XiPOkLiWEt0AuEVEuZpA@mail.gmail.com>
	<CAOvn4qjkzxb_MSnTm4UJR2FQZTCVzsNP3Fe1gG8hhjWyqyPEmA@mail.gmail.com>
Message-ID: <CABj652bFe4YSQVs8ng-hg8ZYz6QXujBtBnqCqoXEDCLVVFpjGQ@mail.gmail.com>

Thanks for the advice. It looks like guide I mentioned can still serve as a
useful starting, and I'll just make changes along the lines you suggested.
-m


On Thu, Mar 5, 2015 at 5:56 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 5 March 2015 at 01:26, Mark Andrews <mjandrews.net at gmail.com> wrote:
>
>> However, it looks like some of its code is now out of date. For example,
>> I get warnings about deprecated code.
>
>
> At a glance, the main changes are:
>
> nbformat.current is deprecated - it was an API that would always refer to
> the latest version of nbformat, but we decided that wasn't so useful. Now
> use:
>
> from IPython import nbformat
>
> Then you'll need to specify the in-memory format you're expecting when you
> load a notebook:
>
> nb = nbformat.reads(response.text, as_version=4)
>
> If you load the notebook as version 4, then we got rid of the notion of
> worksheets, so you can take out any references to '.worksheets[0]'.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/b74524c6/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar  5 21:28:16 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 5 Mar 2015 18:28:16 -0800
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
In-Reply-To: <CAK+wY2adpLohonkpnMsmJXJoeiLbkndbtxaSRzD_uHka1DfiRA@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
	<CAK+wY2adpLohonkpnMsmJXJoeiLbkndbtxaSRzD_uHka1DfiRA@mail.gmail.com>
Message-ID: <076709B3-4616-4B93-99F5-9DA08F4A3DFB@gmail.com>

Hey Jared. 

Le 5 mars 2015 ? 14:01, Jared Forsyth <jared at jaredforsyth.com> a ?crit :

> To those points (in addition to my comments on the issue thread):
> 
> - editor: I think the editor should continue to be codemirror -- let it do what it is good at. I use codemirror in Notablemind, and the interop works just fine. I'd be happy to spin off my react-codemirror component into a separate package if that's helpful

That would be great. 
I've seen a few of these, but they seem to be un-maintained, and haven't receive patches in month. 
I suppose if we can have them in an organisation it would help being sure that there is not a single bottle neck. 
We can see that at the right time.

I'm working on having real-time on current code mirror but if we can code mirror<-> react <-> RT-API that would be even more awesome.

We are not totally decided on react and will have a look at phosphor also, though apparently phosphor does ply nicely with react. 


> - output areas: large binary blobs are no problem for react, as long as you're careful about things. Again, notablemind (rendering ipython outputs) has no problem

I dont think we are concern about big binary blob, but really long notebooks, and some system where math expression
have difficulties to render. 
But hearing that it works great is nice. 


> - widgets: embedding arbitrary widgets within a react component is super simple :). If widgets are written in react, all the better, but that's not necessary.

havent seen a react widget yet... but I suppose there might already be some. 
-- 
m

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150305/0dd6e39d/attachment.html>

From jared at jaredforsyth.com  Fri Mar  6 02:39:14 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Fri, 06 Mar 2015 07:39:14 +0000
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
 alternative front-ends and remote editing
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
	<CAK+wY2adpLohonkpnMsmJXJoeiLbkndbtxaSRzD_uHka1DfiRA@mail.gmail.com>
	<076709B3-4616-4B93-99F5-9DA08F4A3DFB@gmail.com>
Message-ID: <CAK+wY2YJxhWw5oL0WHkmYQ3nyHfB5z8ttER6JOBq9E823PK05A@mail.gmail.com>

Regarding math rendering, I use katex, and it's super fast. I also have it
set up so everything can be rendered on the server side (another awesome
bent of react) - no phantomjs required.

On 7:28PM, Thu, Mar 5, 2015 Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hey Jared.
>
> Le 5 mars 2015 ? 14:01, Jared Forsyth <jared at jaredforsyth.com> a ?crit :
>
> To those points (in addition to my comments on the issue thread):
>
> - *editor: *I think the editor should continue to be codemirror -- let it
> do what it is good at. I use codemirror in Notablemind, and the interop
> works just fine. I'd be happy to spin off my react-codemirror component
> into a separate package if that's helpful
>
>
> That would be great.
> I've seen a few of these, but they seem to be un-maintained, and haven't
> receive patches in month.
> I suppose if we can have them in an organisation it would help being sure
> that there is not a single bottle neck.
> We can see that at the right time.
>
> I'm working on having real-time on current code mirror but if we can code
> mirror<-> react <-> RT-API that would be even more awesome.
>
> We are not totally decided on react and will have a look at phosphor also,
> though apparently phosphor does ply nicely with react.
>
>
> - *output areas: *large binary blobs are no problem for react, as long as
> you're careful about things. Again, notablemind (rendering ipython outputs)
> has no problem
>
>
> I dont think we are concern about big binary blob, but really long
> notebooks, and some system where math expression
> have difficulties to render.
> But hearing that it works great is nice.
>
>
> - *widgets: *embedding arbitrary widgets within a react component is
> super simple :). If widgets are written in react, all the better, but
> that's not necessary.
>
>
> havent seen a react widget yet... but I suppose there might already be
> some.
> --
> m
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/fadc0e75/attachment.html>

From akim at lrde.epita.fr  Fri Mar  6 02:56:01 2015
From: akim at lrde.epita.fr (Akim Demaille)
Date: Fri, 6 Mar 2015 08:56:01 +0100
Subject: [IPython-dev] UTF-8, SVG, _repr_svg_, Python 2
Message-ID: <FE0607A5-475A-4483-9AE3-72B11E8BC7B4@lrde.epita.fr>

Hi!

Congratulations on your efforts!

I have a regression since 3.0 (well, I'm pretty sure it's
a regression, but I no longer have a 2.3 or 2.4 to make sure).
Belong is a scaled down version.  In reality, vcsn is a platform
for automata (vcsn-sandbox.lrde.epita.fr); it renders automata
as SVG graphs via dot.  We have a problem with the rendering of
UTF-8 labels.


This does not work as I would expect:

from IPython.display import SVG
class Foo:
    def _repr_svg_(self):
        return '''<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" encoding="UTF-8" width="400px" height="150px">
<text x="20px" y="55px" font-family="VTCLettererProRegular" font-size="2em">?????</text>
</svg>'''
Foo()

I expect to get my string displayed, but I get:

> ---------------------------------------------------------------------------
> UnicodeDecodeError
>                         Traceback (most recent call last)
> 
> <ipython-input-26-56d739c30db3> in <module>()
>      10 <text x="20px" y="55px" font-family="VTCLettererProRegular" font-size="2em">?????</text>
>      11
>  </svg>'''
> 
> ---> 12 Foo()
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/displayhook.pyc in __call__(self, result)
>     236                 self.write_format_data(format_dict, md_dict)
>     237                 self.log_output(format_dict)
> --> 238             self.finish_displayhook()
>     239 
>     240     def cull_cache(self):
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/kernel/zmq/displayhook.pyc in finish_displayhook(self)
>      70         sys.stderr.flush()
>      71         if self.msg['content']['data']:
> ---> 72             self.session.send(self.pub_socket, self.msg, ident=self.topic)
>      73         self.msg = None
>      74 
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/kernel/zmq/session.pyc in send(self, stream, msg_or_type, content, parent, ident, buffers, track, header, metadata)
>     647         if self.adapt_version:
>     648             msg = adapt(msg, self.adapt_version)
> --> 649         to_send = self.serialize(msg, ident)
>     650         to_send.extend(buffers)
>     651         longest = max([ len(s) for s in to_send ])
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/kernel/zmq/session.pyc in serialize(self, msg, ident)
>     551             content = self.none
>     552         elif isinstance(content, dict):
> --> 553             content = self.pack(content)
>     554         elif isinstance(content, bytes):
>     555             # content is already packed, as in a relayed message
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/kernel/zmq/session.pyc in <lambda>(obj)
>      83 # disallow nan, because it's not actually valid JSON
>      84
>  json_packer = lambda obj: jsonapi.dumps(obj, default=date_default,
> 
> ---> 85     ensure_ascii=False, allow_nan=False,
>      86
>  )
> 
>      87 json_unpacker = lambda s: jsonapi.loads(s)
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/utils/jsonapi.pyc in dumps(o, **kwargs)
>      38         kwargs['separators'] = (',', ':')
>      39 
> ---> 40     s = jsonmod.dumps(o, **kwargs)
>      41 
>      42     if isinstance(s, unicode):
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.pyc in dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, cls, indent, separators, encoding, default, sort_keys, **kw)
>     248         check_circular=check_circular, allow_nan=allow_nan, indent=indent,
>     249         separators=separators, encoding=encoding, default=default,
> --> 250
>          sort_keys=sort_keys, **kw).encode(obj)
> 
>     251 
>     252 
> 
> 
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.pyc in encode(self, o)
>     208         if not isinstance(chunks, (list, tuple)):
>     209             chunks = list(chunks)
> --> 210         return ''.join(chunks)
>     211 
>     212     def iterencode(self, o, _one_shot=False):
> 
> 
> 
> UnicodeDecodeError
> : 'ascii' codec can't decode byte 0xc3 in position 226: ordinal not in range(128)


However, this works: the SVG is correctly rendered.

SVG(Foo()._repr_svg_())

So there is something somewhere that does not behave as I
would expect.  What am I doing wrong?  Where should I look
for more precise documentation?

Thanks in advance!

From maximilian.albert at gmail.com  Fri Mar  6 04:47:43 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Fri, 6 Mar 2015 09:47:43 +0000
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
Message-ID: <CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>

Very interesting idea! Thanks for working on this, Thomas! (And on
everything else. ;) )

Would you favour this approach over something like nbdiff [1,2]?
Disclaimer: I haven't tried nbdiff yet, just stumbled upon it and thought
it looked promising. But I'm wondering what sort of future direction you
core devs have in mind for dealing with "semantic" diffing/merging of
notebooks.

Cheers,
Max

[1] http://nbdiff.org/
[2] https://github.com/tarmstrong/nbdiff


2015-03-05 19:36 GMT+00:00 Thomas Kluyver <takowl at gmail.com>:

> I've just completed a rough prototype of a concept we've been calling
> 'nbexplode'. If you've wrestled with merge conflicts in notebooks kept in
> text-based VCSs, you might like to investigate it.
>
> https://github.com/takluyver/nbexplode/
>
> Since current VCSs don't understand any structure within a file (beyond
> lines), the idea is to let the VCS know about the structure of a notebook
> by breaking it up into many files for separate cells and outputs. The VCS
> should then be smarter about merging separate changes. When you check out
> an exploded notebook, you can recombine it into a single .ipynb file to
> work with.
>
> This is still sub-optimal, because filesystems (and therefore VCSs) have
> no notion of an ordered sequence. And it's probably more unwieldy for
> viewing diffs, because cells appear out of order.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/0339646c/attachment.html>

From cyrille.rossant at gmail.com  Fri Mar  6 05:02:04 2015
From: cyrille.rossant at gmail.com (Cyrille Rossant)
Date: Fri, 6 Mar 2015 11:02:04 +0100
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
	<CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
Message-ID: <CA+-1RQQzjhouw721k0GXTD3fju5tse3T_wCpCCuaG2MtiUQDPw@mail.gmail.com>

For a different (orthogonal) approach to the problem of VCS with
ipynb, you can have a look at https://github.com/rossant/ipymd/. It
lets you replace the JSON ipynb format with regular Markdown or Python
scripts. It's convenient if you don't need to save
metadata/output/images/etc. These formats are more VCS-friendly than
JSON.

Cyrille

2015-03-06 10:47 GMT+01:00 Maximilian Albert <maximilian.albert at gmail.com>:
> Very interesting idea! Thanks for working on this, Thomas! (And on
> everything else. ;) )
>
> Would you favour this approach over something like nbdiff [1,2]? Disclaimer:
> I haven't tried nbdiff yet, just stumbled upon it and thought it looked
> promising. But I'm wondering what sort of future direction you core devs
> have in mind for dealing with "semantic" diffing/merging of notebooks.
>
> Cheers,
> Max
>
> [1] http://nbdiff.org/
> [2] https://github.com/tarmstrong/nbdiff
>
>
> 2015-03-05 19:36 GMT+00:00 Thomas Kluyver <takowl at gmail.com>:
>>
>> I've just completed a rough prototype of a concept we've been calling
>> 'nbexplode'. If you've wrestled with merge conflicts in notebooks kept in
>> text-based VCSs, you might like to investigate it.
>>
>> https://github.com/takluyver/nbexplode/
>>
>> Since current VCSs don't understand any structure within a file (beyond
>> lines), the idea is to let the VCS know about the structure of a notebook by
>> breaking it up into many files for separate cells and outputs. The VCS
>> should then be smarter about merging separate changes. When you check out an
>> exploded notebook, you can recombine it into a single .ipynb file to work
>> with.
>>
>> This is still sub-optimal, because filesystems (and therefore VCSs) have
>> no notion of an ordered sequence. And it's probably more unwieldy for
>> viewing diffs, because cells appear out of order.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From akim at lrde.epita.fr  Fri Mar  6 06:09:40 2015
From: akim at lrde.epita.fr (Akim Demaille)
Date: Fri, 6 Mar 2015 12:09:40 +0100
Subject: [IPython-dev] UTF-8, SVG, _repr_svg_, Python 2
In-Reply-To: <FE0607A5-475A-4483-9AE3-72B11E8BC7B4@lrde.epita.fr>
References: <FE0607A5-475A-4483-9AE3-72B11E8BC7B4@lrde.epita.fr>
Message-ID: <ED5722E4-1A66-4FA3-A8CA-EE8947755F63@lrde.epita.fr>


> Le 6 mars 2015 ? 08:56, Akim Demaille <akim at lrde.epita.fr> a ?crit :
> 
> Hi!
> 
> Congratulations on your efforts!
> 
> I have a regression since 3.0 (well, I'm pretty sure it's
> a regression, but I no longer have a 2.3 or 2.4 to make sure).
> Belong is a scaled down version.  In reality, vcsn is a platform
> for automata (vcsn-sandbox.lrde.epita.fr); it renders automata
> as SVG graphs via dot.  We have a problem with the rendering of
> UTF-8 labels.

Forget about this.  Clearly in the example I gave the leading u''
was missing.  But the problem is deeper in the case of our conversion
routines, and seem more related to Python than IPython.

Cheers!

From zvoros at gmail.com  Fri Mar  6 07:42:38 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Fri, 06 Mar 2015 13:42:38 +0100
Subject: [IPython-dev] current development version: 3.1 or 4.0?
Message-ID: <54F9A0BE.9020006@gmail.com>

Hi all,

On the ipython website http://ipython.org/, 4.0.dev is indicated as the 
development version. However, if I pull the code from master, I end up 
with 3.1.0-dev:

IPython 3.1.0-dev -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.


Also, this is what is contained in version_info

In [5]: IPython.version_info
Out[5]: (3, 1, 0, 'dev')

Is this only a typo, or there is some deeper reason for the discrepancy? 
If it is only a typo, I have issued a PR on github.


Cheers,
Zolt?n


From takowl at gmail.com  Fri Mar  6 11:32:54 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Mar 2015 08:32:54 -0800
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
	<CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
Message-ID: <CAOvn4qjMXWXApOf-+rrFbVcm2nya_t0GV-o7aEDFTa=9vtjkNg@mail.gmail.com>

On 6 Mar 2015 01:47, "Maximilian Albert" <maximilian.albert at gmail.com>
wrote:
> Would you favour this approach over something like nbdiff [1,2]?
Disclaimer: I haven't tried nbdiff yet, just stumbled upon it and thought
it looked promising.

I don't think this is better than nbdiff: it's much worse for a human
looking at the diff, but it may allow some more merges to be handled
automatically, without manually fixing conflicts. It may even be possible
to combine the two, so nbexplode helps the vcs, and nbdiff helps the user
when the VCS can't merge automatically.

> But I'm wondering what sort of future direction you core devs have in
mind for dealing with "semantic" diffing/merging of notebooks.

Write a new VCS? I'm mostly joking, but so long as VCSs are designed for
nothing but flat text files, I think storing structured data in them will
be kind of hackish.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/1eb69cb1/attachment.html>

From takowl at gmail.com  Fri Mar  6 11:35:44 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Mar 2015 08:35:44 -0800
Subject: [IPython-dev] current development version: 3.1 or 4.0?
In-Reply-To: <54F9A0BE.9020006@gmail.com>
References: <54F9A0BE.9020006@gmail.com>
Message-ID: <CAOvn4qhNu5xo6cyDHU7_OJoQxGhUgkfCSZHRgr7dFaH2RVzT2A@mail.gmail.com>

No, it's deliberate: we haven't yet separated the 3.x branch from master,
because there are a lot of changes going in to 3.x already. When we split
them, master will be 4.0.dev.
On 6 Mar 2015 04:42, "Zolt?n V?r?s" <zvoros at gmail.com> wrote:

> Hi all,
>
> On the ipython website http://ipython.org/, 4.0.dev is indicated as the
> development version. However, if I pull the code from master, I end up
> with 3.1.0-dev:
>
> IPython 3.1.0-dev -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object', use 'object??' for extra details.
>
>
> Also, this is what is contained in version_info
>
> In [5]: IPython.version_info
> Out[5]: (3, 1, 0, 'dev')
>
> Is this only a typo, or there is some deeper reason for the discrepancy?
> If it is only a typo, I have issued a PR on github.
>
>
> Cheers,
> Zolt?n
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/c2c28d08/attachment.html>

From borysow at arlut.utexas.edu  Fri Mar  6 11:33:42 2015
From: borysow at arlut.utexas.edu (Michael Borysow)
Date: Fri, 06 Mar 2015 10:33:42 -0600
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <CAOvn4qjMXWXApOf-+rrFbVcm2nya_t0GV-o7aEDFTa=9vtjkNg@mail.gmail.com>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>	<CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
	<CAOvn4qjMXWXApOf-+rrFbVcm2nya_t0GV-o7aEDFTa=9vtjkNg@mail.gmail.com>
Message-ID: <54F9D6E6.10609@arlut.utexas.edu>

Is there anything like Semantic Merge (https://www.semanticmerge.com/) 
that understands something simpler like JSON?

Still eagerly awaiting them adding support for Python.

Oh, and this is my first email to the list, hello everyone!

Regards,
Michael


On 03/06/2015 10:32 AM, Thomas Kluyver wrote:
>
> On 6 Mar 2015 01:47, "Maximilian Albert" <maximilian.albert at gmail.com 
> <mailto:maximilian.albert at gmail.com>> wrote:
> > Would you favour this approach over something like nbdiff [1,2]? 
> Disclaimer: I haven't tried nbdiff yet, just stumbled upon it and 
> thought it looked promising.
>
> I don't think this is better than nbdiff: it's much worse for a human 
> looking at the diff, but it may allow some more merges to be handled 
> automatically, without manually fixing conflicts. It may even be 
> possible to combine the two, so nbexplode helps the vcs, and nbdiff 
> helps the user when the VCS can't merge automatically.
>
> > But I'm wondering what sort of future direction you core devs have 
> in mind for dealing with "semantic" diffing/merging of notebooks.
>
> Write a new VCS? I'm mostly joking, but so long as VCSs are designed 
> for nothing but flat text files, I think storing structured data in 
> them will be kind of hackish.
>
> Thomas
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-- 
Michael Borysow, Ph.D.
Engineering Scientist
The University of Texas at Austin
Applied Research Laboratories
borysow at arlut.utexas.edu
(512) 835-3396

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/066c07ad/attachment.html>

From zvoros at gmail.com  Fri Mar  6 11:40:51 2015
From: zvoros at gmail.com (=?windows-1252?Q?Zolt=E1n_V=F6r=F6s?=)
Date: Fri, 06 Mar 2015 17:40:51 +0100
Subject: [IPython-dev] current development version: 3.1 or 4.0?
In-Reply-To: <CAOvn4qhNu5xo6cyDHU7_OJoQxGhUgkfCSZHRgr7dFaH2RVzT2A@mail.gmail.com>
References: <54F9A0BE.9020006@gmail.com>
	<CAOvn4qhNu5xo6cyDHU7_OJoQxGhUgkfCSZHRgr7dFaH2RVzT2A@mail.gmail.com>
Message-ID: <54F9D893.90904@gmail.com>

Hi Thomas,

In that case, you can delete the PR. Sorry for the noise.

Cheers,
Zolt?n

On 03/06/2015 05:35 PM, Thomas Kluyver wrote:
>
> No, it's deliberate: we haven't yet separated the 3.x branch from 
> master, because there are a lot of changes going in to 3.x already. 
> When we split them, master will be 4.0.dev.
>
> On 6 Mar 2015 04:42, "Zolt?n V?r?s" <zvoros at gmail.com 
> <mailto:zvoros at gmail.com>> wrote:
>
>     Hi all,
>
>     On the ipython website http://ipython.org/, 4.0.dev is indicated
>     as the
>     development version. However, if I pull the code from master, I end up
>     with 3.1.0-dev:
>
>     IPython 3.1.0-dev -- An enhanced Interactive Python.
>     ?         -> Introduction and overview of IPython's features.
>     %quickref -> Quick reference.
>     help      -> Python's own help system.
>     object?   -> Details about 'object', use 'object??' for extra details.
>
>
>     Also, this is what is contained in version_info
>
>     In [5]: IPython.version_info
>     Out[5]: (3, 1, 0, 'dev')
>
>     Is this only a typo, or there is some deeper reason for the
>     discrepancy?
>     If it is only a typo, I have issued a PR on github.
>
>
>     Cheers,
>     Zolt?n
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From takowl at gmail.com  Fri Mar  6 12:10:48 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Mar 2015 09:10:48 -0800
Subject: [IPython-dev] current development version: 3.1 or 4.0?
In-Reply-To: <54F9D893.90904@gmail.com>
References: <54F9A0BE.9020006@gmail.com>
	<CAOvn4qhNu5xo6cyDHU7_OJoQxGhUgkfCSZHRgr7dFaH2RVzT2A@mail.gmail.com>
	<54F9D893.90904@gmail.com>
Message-ID: <CAOvn4qhDVQWVd+ZaJLMPoB8KRKrijL9zE6jj-aDCk-Ywtia4dA@mail.gmail.com>

That's fine. We can just merge the PR after we branch off 3.x.
On 6 Mar 2015 08:41, "Zolt?n V?r?s" <zvoros at gmail.com> wrote:

> Hi Thomas,
>
> In that case, you can delete the PR. Sorry for the noise.
>
> Cheers,
> Zolt?n
>
> On 03/06/2015 05:35 PM, Thomas Kluyver wrote:
> >
> > No, it's deliberate: we haven't yet separated the 3.x branch from
> > master, because there are a lot of changes going in to 3.x already.
> > When we split them, master will be 4.0.dev.
> >
> > On 6 Mar 2015 04:42, "Zolt?n V?r?s" <zvoros at gmail.com
> > <mailto:zvoros at gmail.com>> wrote:
> >
> >     Hi all,
> >
> >     On the ipython website http://ipython.org/, 4.0.dev is indicated
> >     as the
> >     development version. However, if I pull the code from master, I end
> up
> >     with 3.1.0-dev:
> >
> >     IPython 3.1.0-dev -- An enhanced Interactive Python.
> >     ?         -> Introduction and overview of IPython's features.
> >     %quickref -> Quick reference.
> >     help      -> Python's own help system.
> >     object?   -> Details about 'object', use 'object??' for extra
> details.
> >
> >
> >     Also, this is what is contained in version_info
> >
> >     In [5]: IPython.version_info
> >     Out[5]: (3, 1, 0, 'dev')
> >
> >     Is this only a typo, or there is some deeper reason for the
> >     discrepancy?
> >     If it is only a typo, I have issued a PR on github.
> >
> >
> >     Cheers,
> >     Zolt?n
> >     _______________________________________________
> >     IPython-dev mailing list
> >     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> >     http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/4b650d98/attachment.html>

From takowl at gmail.com  Fri Mar  6 12:20:15 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Mar 2015 09:20:15 -0800
Subject: [IPython-dev] nbexplode - experiment in version controlling
	notebooks
In-Reply-To: <54F9D6E6.10609@arlut.utexas.edu>
References: <CAOvn4qj0y=xnS+DxAqfAFhSZH_DkJy5J0UYd9kLq8s3dhrXpQA@mail.gmail.com>
	<CAGA_dmi8J7S8EEeD2AFTFMraw0L--SkTx1WihQ_PQSE2DRc3-Q@mail.gmail.com>
	<CAOvn4qjMXWXApOf-+rrFbVcm2nya_t0GV-o7aEDFTa=9vtjkNg@mail.gmail.com>
	<54F9D6E6.10609@arlut.utexas.edu>
Message-ID: <CAOvn4qi1vTzQcc32-ORq7nDmWpOmQsS=s0vxmsYBjhA2u47jUw@mail.gmail.com>

On 6 Mar 2015 08:37, "Michael Borysow" <borysow at arlut.utexas.edu> wrote:
> Semantic Merge (https://www.semanticmerge.com/)

Interesting, I hadn't seen that before. Pity it's not open source.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/d552784a/attachment.html>

From moorepants at gmail.com  Fri Mar  6 12:25:47 2015
From: moorepants at gmail.com (Jason Moore)
Date: Fri, 6 Mar 2015 09:25:47 -0800
Subject: [IPython-dev] It seems that extensions in the cwd do not take
	precedence in notebooks
Message-ID: <CAP7f1Ah8He=2=5JJK2a=i7Wak-R3t8BygD6kVYjXGmZ2Pzae1w@mail.gmail.com>

I have a directory full of notebooks and I dropped the version_information
magic py file in the directory so that I can use it in the notebooks. I
then modified the py file and the modifications did not reflect in the
notebook. Turns out I had a ~/.ipython/extensions/version_information.py in
place and the notebooks were using that instead of the one in the directory
with the notebooks. I would have thought that the one in the cwd would take
precedence. Why is that?

Also, how do you find where a magic is loading from? For python modules you
simply look at __file__.

Jason
moorepants.info
+01 530-601-9791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/ec232827/attachment.html>

From bussonniermatthias at gmail.com  Fri Mar  6 12:37:57 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Mar 2015 09:37:57 -0800
Subject: [IPython-dev] [iPython-dev] thoughts on the notebook,
	alternative front-ends and remote editing
In-Reply-To: <CAK+wY2YJxhWw5oL0WHkmYQ3nyHfB5z8ttER6JOBq9E823PK05A@mail.gmail.com>
References: <CAK+wY2b_f3CPS7AU5hRzyJPuL9enzNMEFzpC9-P3u1utPhtY7g@mail.gmail.com>
	<CACfEFw_KNX4d5c7sF6bofW8OnKD-A_OjUrQJQGPB8ndM_275kQ@mail.gmail.com>
	<CAGT7SkWkoZxfyw4A6exRvjQR9e3AnMo7pjn6gZLEyzfekeGQRw@mail.gmail.com>
	<CAK+wY2aV_9EkykwY=pY64w_kYNiZ+RNERM27TPH2uNqjbPehZA@mail.gmail.com>
	<CAGT7SkWx-JNouAiZy7S4mcfrTEapCpYsoR2NfJqoWf8m1xGXJA@mail.gmail.com>
	<CAK+wY2adpLohonkpnMsmJXJoeiLbkndbtxaSRzD_uHka1DfiRA@mail.gmail.com>
	<076709B3-4616-4B93-99F5-9DA08F4A3DFB@gmail.com>
	<CAK+wY2YJxhWw5oL0WHkmYQ3nyHfB5z8ttER6JOBq9E823PK05A@mail.gmail.com>
Message-ID: <F98CB931-B43B-46E3-8CF5-C78CE0FEA6F4@gmail.com>


Le 5 mars 2015 ? 23:39, Jared Forsyth <jared at jaredforsyth.com> a ?crit :

> Regarding math rendering, I use katex, and it's super fast. I also have it set up so everything can be rendered on the server side (another awesome bent of react) - no phantomjs required.
> 

Yeah, we heard of it, last time I checked (long ago) it was not supporting all of mathjax features. 
But having it in the nbconvert process would be nice. 


I've also heard of `mathematical`(ruby) that apparently rely on a c library.

-- 
M 


> 
> On 7:28PM, Thu, Mar 5, 2015 Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
> Hey Jared. 
> 
> Le 5 mars 2015 ? 14:01, Jared Forsyth <jared at jaredforsyth.com> a ?crit :
> 
>> To those points (in addition to my comments on the issue thread):
>> 
>> - editor: I think the editor should continue to be codemirror -- let it do what it is good at. I use codemirror in Notablemind, and the interop works just fine. I'd be happy to spin off my react-codemirror component into a separate package if that's helpful
> 
> That would be great. 
> I've seen a few of these, but they seem to be un-maintained, and haven't receive patches in month. 
> I suppose if we can have them in an organisation it would help being sure that there is not a single bottle neck. 
> We can see that at the right time.
> 
> I'm working on having real-time on current code mirror but if we can code mirror<-> react <-> RT-API that would be even more awesome.
> 
> We are not totally decided on react and will have a look at phosphor also, though apparently phosphor does ply nicely with react. 
> 
> 
>> - output areas: large binary blobs are no problem for react, as long as you're careful about things. Again, notablemind (rendering ipython outputs) has no problem
> 
> I dont think we are concern about big binary blob, but really long notebooks, and some system where math expression
> have difficulties to render. 
> But hearing that it works great is nice. 
> 
> 
>> - widgets: embedding arbitrary widgets within a react component is super simple :). If widgets are written in react, all the better, but that's not necessary.
> 
> havent seen a react widget yet... but I suppose there might already be some. 
> -- 
> m
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/8b878d07/attachment.html>

From bussonniermatthias at gmail.com  Fri Mar  6 12:44:33 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Mar 2015 09:44:33 -0800
Subject: [IPython-dev] UTF-8, SVG, _repr_svg_, Python 2
In-Reply-To: <ED5722E4-1A66-4FA3-A8CA-EE8947755F63@lrde.epita.fr>
References: <FE0607A5-475A-4483-9AE3-72B11E8BC7B4@lrde.epita.fr>
	<ED5722E4-1A66-4FA3-A8CA-EE8947755F63@lrde.epita.fr>
Message-ID: <18AE6DF4-063A-4431-830C-8DCB5DCAF3C8@gmail.com>

Hi, 

Indeed this seem like a unicode issue. 
Works great for me on Python3 :-) 

I wold suggest opening an issues on github if you 
have other problems !

Thanks !
-- 
M
Le 6 mars 2015 ? 03:09, Akim Demaille <akim at lrde.epita.fr> a ?crit :

> 
>> Le 6 mars 2015 ? 08:56, Akim Demaille <akim at lrde.epita.fr> a ?crit :
>> 
>> Hi!
>> 
>> Congratulations on your efforts!
>> 
>> I have a regression since 3.0 (well, I'm pretty sure it's
>> a regression, but I no longer have a 2.3 or 2.4 to make sure).
>> Belong is a scaled down version.  In reality, vcsn is a platform
>> for automata (vcsn-sandbox.lrde.epita.fr); it renders automata
>> as SVG graphs via dot.  We have a problem with the rendering of
>> UTF-8 labels.
> 
> Forget about this.  Clearly in the example I gave the leading u''
> was missing.  But the problem is deeper in the case of our conversion
> routines, and seem more related to Python than IPython.
> 
> Cheers!
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From nathan12343 at gmail.com  Fri Mar  6 17:48:12 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Fri, 6 Mar 2015 14:48:12 -0800
Subject: [IPython-dev] Applying arbitrary CSS to an IPython 3.0 widget
Message-ID: <CAJXewOnBR7-DWO70aR3qzKpE9eD5GVTLgOwW7yAUHXQVzQH0vA@mail.gmail.com>

Hi all,

Does anyone have an example of how to apply CSS to a notebook widget in
IPython 3.0?  Old versions offered the set_css method, but that has been
removed in the latest version.

I see in the widget transition doc:

https://github.com/ipython/ipython/wiki/IPython-3.0-comm-and-widget-migration-document

that set_css has been superseded by the CSS attributes (works fine for most
things, but not for obscure CSS settings) and the _dom_classes and _css
tuples (not dictionaries as indicated in the transition doc).  The latter
seems perfect, but it's not clear to me how to use these tuples.

Is there an example somewhere I can look at?

Thanks!

-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/291b6427/attachment.html>

From nick.bollweg at gmail.com  Fri Mar  6 18:05:41 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Fri, 6 Mar 2015 18:05:41 -0500
Subject: [IPython-dev] Applying arbitrary CSS to an IPython 3.0 widget
In-Reply-To: <CAJXewOnBR7-DWO70aR3qzKpE9eD5GVTLgOwW7yAUHXQVzQH0vA@mail.gmail.com>
References: <CAJXewOnBR7-DWO70aR3qzKpE9eD5GVTLgOwW7yAUHXQVzQH0vA@mail.gmail.com>
Message-ID: <CACejjWw4ATQoA9-XbgKAD+P6AMKbA5pvLVkvD4J1y4FBX_Z1Zg@mail.gmail.com>

Here's the only usage as I found in the source:
container = Box(_dom_classes=['widget-interact'])

https://github.com/ipython/ipython/blob/0c6a0f7982d430b3e4ff55c1fa04aca58a4fdb16/IPython/html/widgets/interaction.py#L184

Looks like each tuple member is a triple of (selector, property, value):

txt = widgets.Text(value="Stratocaster")
display(txt)
txt._css = [
  ("input", "font-family", "Comic Sans MS"),
  (None, "transform", "matrix(1, -0.2, 0, 1, 0, 0)")
]

Pretty slick!

On Fri, Mar 6, 2015 at 5:48 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> Hi all,
>
> Does anyone have an example of how to apply CSS to a notebook widget in
> IPython 3.0?  Old versions offered the set_css method, but that has been
> removed in the latest version.
>
> I see in the widget transition doc:
>
>
> https://github.com/ipython/ipython/wiki/IPython-3.0-comm-and-widget-migration-document
>
> that set_css has been superseded by the CSS attributes (works fine for
> most things, but not for obscure CSS settings) and the _dom_classes and
> _css tuples (not dictionaries as indicated in the transition doc).  The
> latter seems perfect, but it's not clear to me how to use these tuples.
>
> Is there an example somewhere I can look at?
>
> Thanks!
>
> -Nathan
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/168438f1/attachment.html>

From hughesadam87 at gmail.com  Fri Mar  6 18:07:06 2015
From: hughesadam87 at gmail.com (Adam Hughes)
Date: Fri, 6 Mar 2015 18:07:06 -0500
Subject: [IPython-dev] Applying arbitrary CSS to an IPython 3.0 widget
In-Reply-To: <CACejjWw4ATQoA9-XbgKAD+P6AMKbA5pvLVkvD4J1y4FBX_Z1Zg@mail.gmail.com>
References: <CAJXewOnBR7-DWO70aR3qzKpE9eD5GVTLgOwW7yAUHXQVzQH0vA@mail.gmail.com>
	<CACejjWw4ATQoA9-XbgKAD+P6AMKbA5pvLVkvD4J1y4FBX_Z1Zg@mail.gmail.com>
Message-ID: <CAMHV+dCTJyv0WOsLqDE5bZ0aowtN3u_8t58_e+H5-e_pxj5jSw@mail.gmail.com>

Slick indeed!  Thanks for sharing

On Fri, Mar 6, 2015 at 6:05 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Here's the only usage as I found in the source:
> container = Box(_dom_classes=['widget-interact'])
>
>
> https://github.com/ipython/ipython/blob/0c6a0f7982d430b3e4ff55c1fa04aca58a4fdb16/IPython/html/widgets/interaction.py#L184
>
> Looks like each tuple member is a triple of (selector, property, value):
>
> txt = widgets.Text(value="Stratocaster")
> display(txt)
> txt._css = [
>   ("input", "font-family", "Comic Sans MS"),
>   (None, "transform", "matrix(1, -0.2, 0, 1, 0, 0)")
> ]
>
> Pretty slick!
>
> On Fri, Mar 6, 2015 at 5:48 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Does anyone have an example of how to apply CSS to a notebook widget in
>> IPython 3.0?  Old versions offered the set_css method, but that has been
>> removed in the latest version.
>>
>> I see in the widget transition doc:
>>
>>
>> https://github.com/ipython/ipython/wiki/IPython-3.0-comm-and-widget-migration-document
>>
>> that set_css has been superseded by the CSS attributes (works fine for
>> most things, but not for obscure CSS settings) and the _dom_classes and
>> _css tuples (not dictionaries as indicated in the transition doc).  The
>> latter seems perfect, but it's not clear to me how to use these tuples.
>>
>> Is there an example somewhere I can look at?
>>
>> Thanks!
>>
>> -Nathan
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/d0cadcba/attachment.html>

From nathan12343 at gmail.com  Fri Mar  6 18:20:42 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Fri, 6 Mar 2015 15:20:42 -0800
Subject: [IPython-dev] Applying arbitrary CSS to an IPython 3.0 widget
In-Reply-To: <CACejjWw4ATQoA9-XbgKAD+P6AMKbA5pvLVkvD4J1y4FBX_Z1Zg@mail.gmail.com>
References: <CAJXewOnBR7-DWO70aR3qzKpE9eD5GVTLgOwW7yAUHXQVzQH0vA@mail.gmail.com>
	<CACejjWw4ATQoA9-XbgKAD+P6AMKbA5pvLVkvD4J1y4FBX_Z1Zg@mail.gmail.com>
Message-ID: <CAJXewOnq=vJa_fSzRZ=GvKOUHOwZCEfWPmcfzZHwVBWe3OAPGA@mail.gmail.com>

On Fri, Mar 6, 2015 at 3:05 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Here's the only usage as I found in the source:
> container = Box(_dom_classes=['widget-interact'])
>
>
> https://github.com/ipython/ipython/blob/0c6a0f7982d430b3e4ff55c1fa04aca58a4fdb16/IPython/html/widgets/interaction.py#L184
>
> Looks like each tuple member is a triple of (selector, property, value):
>
> txt = widgets.Text(value="Stratocaster")
> display(txt)
> txt._css = [
>   ("input", "font-family", "Comic Sans MS"),
>   (None, "transform", "matrix(1, -0.2, 0, 1, 0, 0)")
> ]
>

I'll go ahead and update the wiki with a more thorough example like this
one.

Thanks Nick!


> Pretty slick!
>
> On Fri, Mar 6, 2015 at 5:48 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Does anyone have an example of how to apply CSS to a notebook widget in
>> IPython 3.0?  Old versions offered the set_css method, but that has been
>> removed in the latest version.
>>
>> I see in the widget transition doc:
>>
>>
>> https://github.com/ipython/ipython/wiki/IPython-3.0-comm-and-widget-migration-document
>>
>> that set_css has been superseded by the CSS attributes (works fine for
>> most things, but not for obscure CSS settings) and the _dom_classes and
>> _css tuples (not dictionaries as indicated in the transition doc).  The
>> latter seems perfect, but it's not clear to me how to use these tuples.
>>
>> Is there an example somewhere I can look at?
>>
>> Thanks!
>>
>> -Nathan
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/34599430/attachment.html>

From yanghatespam at gmail.com  Sat Mar  7 02:29:06 2015
From: yanghatespam at gmail.com (Yang Zhang)
Date: Fri, 6 Mar 2015 23:29:06 -0800
Subject: [IPython-dev] readline shortcuts like prev line (ctrl-p) and
	reverse search (ctrl-r)?
Message-ID: <CAKxBDU9KLQSQXTraatBtoDbHDmWmmijY9zvDfRfekxMJxmX3ZQ@mail.gmail.com>

I've been using IPNB for a while and while it's great, something I sorely
miss from the command line interface is the set of readline shortcuts (esp.
history shortcuts), stuff like ctrl-p/up arrow for recalling the previous
line, ctrl-r for reverse-searching through your history, etc.  I realize
it's not terrible for ctrl-p since you can do something like: Esc Up C V
Enter (ctrl-r is a bit tougher with using the browser's find + mouse clicks
necessary).  Anyway I just thought I'd actually ask here to make sure I'm
not missing these anywhere in the web interface all this time.  (Or perhaps
someone has written extensions to support such functionality!)  Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/097d2ddb/attachment.html>

From andrew.gibiansky at gmail.com  Sat Mar  7 02:50:26 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Fri, 6 Mar 2015 23:50:26 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
Message-ID: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>

Hey all,

I have a few frontend modifications I'd like to make for the IHaskell
kernel, and I'd love to get some pointers on where to start and how
feasible these are. I have some ideas, but since you are much more familiar
with the client-side JS than I am, I'd like to hear if you think these are
possible and/or reasonable, and perhaps how you would approach them (no
detailed response required, maybe just something like "Use the CodeMirror
api" or "we have some undocumented capabilities for this in IPython" or
"wait until CodeMirror 5" or "impossible").

The extensions are:

1. Get some info about an identifier from the kernel when I hover my mouse
over that identifier, and display it as a popup.

Idea: Use CodeMirror API and IPython comms to communicate with kernel.

2. Add a keyboard shortcut to automatically reformat a cell, and have this
actually change the contents of whichever cell is currently selected,
provided it is a Haskell cell.

Idea: Use the IPython API to add a keyboard shortcut, use comms to
communicate with backend to do reformatting, use IPython API to get
currently selected cell and send contents to kernel via comm, and  use
 IPython APIs to change the contents of a cell.

If you have any suggestions for better routes, words of caution, I'd love
to hear them.

(As an aside, one reason I am asking like this rather than just going ahead
and trying it and seeing how far I get is that some of these may be tackled
by some other contributors to IHaskell; I would like to make sure I am not
sending them off on a wild goose chase with a method that is
overcomplicated or unlikely to work before giving them instructions.)

Thanks!
Andrew

PS. IHaskell `master` now supports IPython 3.0. There's still a bit of work
to be done before I'm ready to make a Jupyter-ready *release*, but it is no
more than a week or two out. So far, I've really enjoyed working with
IPython 3; the interface is great, the kernel interface is well thought out
(if perhaps missing a few things I want, but there's always room for
extension, I hope :) ), and all in all it's been very good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150306/3c83661f/attachment.html>

From benjaminrk at gmail.com  Sat Mar  7 15:17:50 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sat, 7 Mar 2015 12:17:50 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
Message-ID: <CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>

On Fri, Mar 6, 2015 at 11:50 PM, Andrew Gibiansky <
andrew.gibiansky at gmail.com> wrote:

> Hey all,
>
> I have a few frontend modifications I'd like to make for the IHaskell
> kernel, and I'd love to get some pointers on where to start and how
> feasible these are. I have some ideas, but since you are much more familiar
> with the client-side JS than I am, I'd like to hear if you think these are
> possible and/or reasonable, and perhaps how you would approach them (no
> detailed response required, maybe just something like "Use the CodeMirror
> api" or "we have some undocumented capabilities for this in IPython" or
> "wait until CodeMirror 5" or "impossible").
>
> The extensions are:
>
> 1. Get some info about an identifier from the kernel when I hover my mouse
> over that identifier, and display it as a popup.
>
> Idea: Use CodeMirror API and IPython comms to communicate with kernel.
>

I think CM.coorsChar is the relevant API.

You might not need to use comms for this one, if `inspect_request` is the
right action. If the output should be distinguished from inspection via
other means, then a custom comm would be appropriate.


>
> 2. Add a keyboard shortcut to automatically reformat a cell, and have this
> actually change the contents of whichever cell is currently selected,
> provided it is a Haskell cell.
>
> Idea: Use the IPython API to add a keyboard shortcut, use comms to
> communicate with backend to do reformatting, use IPython API to get
> currently selected cell and send contents to kernel via comm, and  use
>  IPython APIs to change the contents of a cell.
>

Sounds right to me.


>
> If you have any suggestions for better routes, words of caution, I'd love
> to hear them.
>
> (As an aside, one reason I am asking like this rather than just going
> ahead and trying it and seeing how far I get is that some of these may be
> tackled by some other contributors to IHaskell; I would like to make sure I
> am not sending them off on a wild goose chase with a method that is
> overcomplicated or unlikely to work before giving them instructions.)
>

I see no geese here to chase.


>
> Thanks!
> Andrew
>
> PS. IHaskell `master` now supports IPython 3.0. There's still a bit of
> work to be done before I'm ready to make a Jupyter-ready *release*, but it
> is no more than a week or two out. So far, I've really enjoyed working with
> IPython 3; the interface is great, the kernel interface is well thought out
> (if perhaps missing a few things I want, but there's always room for
> extension, I hope :) ), and all in all it's been very good.
>

Great to hear that 3.0 is working out for you. Can you describe the missing
things? It may be a while before there's another revision, but it's good to
keep track of what shortcomings kernel authors find, so we can make the
right adjustments in the future.

-MinRK


>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/b88c506d/attachment.html>

From andrew.gibiansky at gmail.com  Sat Mar  7 16:23:17 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Sat, 7 Mar 2015 13:23:17 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
Message-ID: <CAF-LYK+waG7Jacs9n0YyU7T6YtoaLJ_eVW5vfSNgqi8PkgLojQ@mail.gmail.com>

Thanks Min! That's exactly the sort of feedback I was hoping to get.

To respond to your question about what I've found lacking, my main desires
for additions to IPython are for a better import and export story for
kernels. Specifically, right now IPython supports the following exports:

   - txt
   - PDF via latex
   - Markdown
   - HTML

These are all well and good, but they're not enough. In my experience, the
formats used vary by technology and community, and thus need to be someone
more flexible. Specifically, in the Haskell world, we at least would want
the following:

   - Import from literate Haskell (two different types of literate haskell)
   - Export to literate Haskell (two different types)
   - Export to a Haskell module (which would require some processing to
   make the cells actually valid compilable Haskell code)
   - Export to a cabal package (which would be like exporting to a Haskell
   module, but with more postprocessing)

These are things that are pretty integral to the Haskell ecosystem, and so
it would make sense to ship them with the IHaskell kernel, and not as some
sort of extensions. That said I totally understand why these don't exist
(yet) -- there's tons of stuff going on in the IPython world and there's
not enough developer manpower to do *everything, *but I do hope that going
forward to 3.1 or 4 or whatever is next, there might be some design work
put into a more compelling configurable import/export story.

-- Andrew

On Sat, Mar 7, 2015 at 12:17 PM, MinRK <benjaminrk at gmail.com> wrote:

>
>
> On Fri, Mar 6, 2015 at 11:50 PM, Andrew Gibiansky <
> andrew.gibiansky at gmail.com> wrote:
>
>> Hey all,
>>
>> I have a few frontend modifications I'd like to make for the IHaskell
>> kernel, and I'd love to get some pointers on where to start and how
>> feasible these are. I have some ideas, but since you are much more familiar
>> with the client-side JS than I am, I'd like to hear if you think these are
>> possible and/or reasonable, and perhaps how you would approach them (no
>> detailed response required, maybe just something like "Use the CodeMirror
>> api" or "we have some undocumented capabilities for this in IPython" or
>> "wait until CodeMirror 5" or "impossible").
>>
>> The extensions are:
>>
>> 1. Get some info about an identifier from the kernel when I hover my
>> mouse over that identifier, and display it as a popup.
>>
>> Idea: Use CodeMirror API and IPython comms to communicate with kernel.
>>
>
> I think CM.coorsChar is the relevant API.
>
> You might not need to use comms for this one, if `inspect_request` is the
> right action. If the output should be distinguished from inspection via
> other means, then a custom comm would be appropriate.
>
>
>>
>> 2. Add a keyboard shortcut to automatically reformat a cell, and have
>> this actually change the contents of whichever cell is currently selected,
>> provided it is a Haskell cell.
>>
>> Idea: Use the IPython API to add a keyboard shortcut, use comms to
>> communicate with backend to do reformatting, use IPython API to get
>> currently selected cell and send contents to kernel via comm, and  use
>>  IPython APIs to change the contents of a cell.
>>
>
> Sounds right to me.
>
>
>>
>> If you have any suggestions for better routes, words of caution, I'd love
>> to hear them.
>>
>> (As an aside, one reason I am asking like this rather than just going
>> ahead and trying it and seeing how far I get is that some of these may be
>> tackled by some other contributors to IHaskell; I would like to make sure I
>> am not sending them off on a wild goose chase with a method that is
>> overcomplicated or unlikely to work before giving them instructions.)
>>
>
> I see no geese here to chase.
>
>
>>
>> Thanks!
>> Andrew
>>
>> PS. IHaskell `master` now supports IPython 3.0. There's still a bit of
>> work to be done before I'm ready to make a Jupyter-ready *release*, but it
>> is no more than a week or two out. So far, I've really enjoyed working with
>> IPython 3; the interface is great, the kernel interface is well thought out
>> (if perhaps missing a few things I want, but there's always room for
>> extension, I hope :) ), and all in all it's been very good.
>>
>
> Great to hear that 3.0 is working out for you. Can you describe the
> missing things? It may be a while before there's another revision, but it's
> good to keep track of what shortcomings kernel authors find, so we can make
> the right adjustments in the future.
>
> -MinRK
>
>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/6f290f31/attachment.html>

From benjaminrk at gmail.com  Sat Mar  7 16:44:09 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sat, 7 Mar 2015 13:44:09 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAF-LYK+waG7Jacs9n0YyU7T6YtoaLJ_eVW5vfSNgqi8PkgLojQ@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
	<CAF-LYK+waG7Jacs9n0YyU7T6YtoaLJ_eVW5vfSNgqi8PkgLojQ@mail.gmail.com>
Message-ID: <CAHNn8BXiPf_bbvG7iErWPOY9VDCOZ5O8fETi0S6vpFhRcqMRTA@mail.gmail.com>

On Sat, Mar 7, 2015 at 1:23 PM, Andrew Gibiansky <andrew.gibiansky at gmail.com
> wrote:

> Thanks Min! That's exactly the sort of feedback I was hoping to get.
>
> To respond to your question about what I've found lacking, my main desires
> for additions to IPython are for a better import and export story for
> kernels. Specifically, right now IPython supports the following exports:
>
>    - txt
>    - PDF via latex
>    - Markdown
>    - HTML
>
> These are all well and good, but they're not enough. In my experience, the
> formats used vary by technology and community, and thus need to be someone
> more flexible. Specifically, in the Haskell world, we at least would want
> the following:
>
>    - Import from literate Haskell (two different types of literate
>    haskell)
>    - Export to literate Haskell (two different types)
>    - Export to a Haskell module (which would require some processing to
>    make the cells actually valid compilable Haskell code)
>    - Export to a cabal package (which would be like exporting to a
>    Haskell module, but with more postprocessing)
>
> These are things that are pretty integral to the Haskell ecosystem, and so
> it would make sense to ship them with the IHaskell kernel, and not as some
> sort of extensions. That said I totally understand why these don't exist
> (yet) -- there's tons of stuff going on in the IPython world and there's
> not enough developer manpower to do *everything, *but I do hope that
> going forward to 3.1 or 4 or whatever is next, there might be some design
> work put into a more compelling configurable import/export story.
>

It is clear that there are changes that need to be made in nbconvert. I was
just talking with Jess Hamrick yesterday about some of the changes we
should make for nbgrader, another of the more demanding nbconvert use
cases, revealing problems in how nbconvert is put together.

I don't think nbconvert on its own is going to cover quite everything you
described. For instance, the cabal package export might be a separate tool
that *uses* nbconvert, rather than being implemented as a highly configured
invocation of nbconvert itself. And fully custom templates that don't match
any of the pre-installed formats are possible right now, but it's not at
all clear how to use them, and both how we communicate that, and how they
actually work need to be improved.

It is super helpful to have as many use cases as we can get, even if our
answer to some of them is "that's best done with a separate tool that wraps
nbconvert," we can still make changes in nbconvert to facilitate these
things.

-MinRK



>
> -- Andrew
>
> On Sat, Mar 7, 2015 at 12:17 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>>
>>
>> On Fri, Mar 6, 2015 at 11:50 PM, Andrew Gibiansky <
>> andrew.gibiansky at gmail.com> wrote:
>>
>>> Hey all,
>>>
>>> I have a few frontend modifications I'd like to make for the IHaskell
>>> kernel, and I'd love to get some pointers on where to start and how
>>> feasible these are. I have some ideas, but since you are much more familiar
>>> with the client-side JS than I am, I'd like to hear if you think these are
>>> possible and/or reasonable, and perhaps how you would approach them (no
>>> detailed response required, maybe just something like "Use the CodeMirror
>>> api" or "we have some undocumented capabilities for this in IPython" or
>>> "wait until CodeMirror 5" or "impossible").
>>>
>>> The extensions are:
>>>
>>> 1. Get some info about an identifier from the kernel when I hover my
>>> mouse over that identifier, and display it as a popup.
>>>
>>> Idea: Use CodeMirror API and IPython comms to communicate with kernel.
>>>
>>
>> I think CM.coorsChar is the relevant API.
>>
>> You might not need to use comms for this one, if `inspect_request` is the
>> right action. If the output should be distinguished from inspection via
>> other means, then a custom comm would be appropriate.
>>
>>
>>>
>>> 2. Add a keyboard shortcut to automatically reformat a cell, and have
>>> this actually change the contents of whichever cell is currently selected,
>>> provided it is a Haskell cell.
>>>
>>> Idea: Use the IPython API to add a keyboard shortcut, use comms to
>>> communicate with backend to do reformatting, use IPython API to get
>>> currently selected cell and send contents to kernel via comm, and  use
>>>  IPython APIs to change the contents of a cell.
>>>
>>
>> Sounds right to me.
>>
>>
>>>
>>> If you have any suggestions for better routes, words of caution, I'd
>>> love to hear them.
>>>
>>> (As an aside, one reason I am asking like this rather than just going
>>> ahead and trying it and seeing how far I get is that some of these may be
>>> tackled by some other contributors to IHaskell; I would like to make sure I
>>> am not sending them off on a wild goose chase with a method that is
>>> overcomplicated or unlikely to work before giving them instructions.)
>>>
>>
>> I see no geese here to chase.
>>
>>
>>>
>>> Thanks!
>>> Andrew
>>>
>>> PS. IHaskell `master` now supports IPython 3.0. There's still a bit of
>>> work to be done before I'm ready to make a Jupyter-ready *release*, but it
>>> is no more than a week or two out. So far, I've really enjoyed working with
>>> IPython 3; the interface is great, the kernel interface is well thought out
>>> (if perhaps missing a few things I want, but there's always room for
>>> extension, I hope :) ), and all in all it's been very good.
>>>
>>
>> Great to hear that 3.0 is working out for you. Can you describe the
>> missing things? It may be a while before there's another revision, but it's
>> good to keep track of what shortcomings kernel authors find, so we can make
>> the right adjustments in the future.
>>
>> -MinRK
>>
>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/34a18538/attachment.html>

From andrew.gibiansky at gmail.com  Sat Mar  7 17:22:08 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Sat, 7 Mar 2015 14:22:08 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAHNn8BXiPf_bbvG7iErWPOY9VDCOZ5O8fETi0S6vpFhRcqMRTA@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
	<CAF-LYK+waG7Jacs9n0YyU7T6YtoaLJ_eVW5vfSNgqi8PkgLojQ@mail.gmail.com>
	<CAHNn8BXiPf_bbvG7iErWPOY9VDCOZ5O8fETi0S6vpFhRcqMRTA@mail.gmail.com>
Message-ID: <CAF-LYKL5Z3TVNk2cpFUqfmnMnJhfn8n=D6YOmGyc-foCjHjbgw@mail.gmail.com>

Agreed. In my mind, this is something that can be done as part of the
kernel.

For example, kernelspec.json can specify a list of formats that the kernel
accepts as import and export; then messages in the messaging spec can be
used to transmit notebook data forward and backward. Trying to make
nbconvert or nbconvert wrappers do everything is an infinite problem -- you
could instead delegate this to the kernels themselves. This would allow
kernels to take all of this effort onto themselves.

Anyway, it's clear that there's some design work to be done here. I'm happy
to discuss this further when things come around to it :)

-- Andrew

On Sat, Mar 7, 2015 at 1:44 PM, MinRK <benjaminrk at gmail.com> wrote:

>
>
> On Sat, Mar 7, 2015 at 1:23 PM, Andrew Gibiansky <
> andrew.gibiansky at gmail.com> wrote:
>
>> Thanks Min! That's exactly the sort of feedback I was hoping to get.
>>
>> To respond to your question about what I've found lacking, my main
>> desires for additions to IPython are for a better import and export story
>> for kernels. Specifically, right now IPython supports the following exports:
>>
>>    - txt
>>    - PDF via latex
>>    - Markdown
>>    - HTML
>>
>> These are all well and good, but they're not enough. In my experience,
>> the formats used vary by technology and community, and thus need to be
>> someone more flexible. Specifically, in the Haskell world, we at least
>> would want the following:
>>
>>    - Import from literate Haskell (two different types of literate
>>    haskell)
>>    - Export to literate Haskell (two different types)
>>    - Export to a Haskell module (which would require some processing to
>>    make the cells actually valid compilable Haskell code)
>>    - Export to a cabal package (which would be like exporting to a
>>    Haskell module, but with more postprocessing)
>>
>> These are things that are pretty integral to the Haskell ecosystem, and
>> so it would make sense to ship them with the IHaskell kernel, and not as
>> some sort of extensions. That said I totally understand why these don't
>> exist (yet) -- there's tons of stuff going on in the IPython world and
>> there's not enough developer manpower to do *everything, *but I do hope
>> that going forward to 3.1 or 4 or whatever is next, there might be some
>> design work put into a more compelling configurable import/export story.
>>
>
> It is clear that there are changes that need to be made in nbconvert. I
> was just talking with Jess Hamrick yesterday about some of the changes we
> should make for nbgrader, another of the more demanding nbconvert use
> cases, revealing problems in how nbconvert is put together.
>
> I don't think nbconvert on its own is going to cover quite everything you
> described. For instance, the cabal package export might be a separate tool
> that *uses* nbconvert, rather than being implemented as a highly configured
> invocation of nbconvert itself. And fully custom templates that don't match
> any of the pre-installed formats are possible right now, but it's not at
> all clear how to use them, and both how we communicate that, and how they
> actually work need to be improved.
>
> It is super helpful to have as many use cases as we can get, even if our
> answer to some of them is "that's best done with a separate tool that wraps
> nbconvert," we can still make changes in nbconvert to facilitate these
> things.
>
> -MinRK
>
>
>
>>
>> -- Andrew
>>
>> On Sat, Mar 7, 2015 at 12:17 PM, MinRK <benjaminrk at gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, Mar 6, 2015 at 11:50 PM, Andrew Gibiansky <
>>> andrew.gibiansky at gmail.com> wrote:
>>>
>>>> Hey all,
>>>>
>>>> I have a few frontend modifications I'd like to make for the IHaskell
>>>> kernel, and I'd love to get some pointers on where to start and how
>>>> feasible these are. I have some ideas, but since you are much more familiar
>>>> with the client-side JS than I am, I'd like to hear if you think these are
>>>> possible and/or reasonable, and perhaps how you would approach them (no
>>>> detailed response required, maybe just something like "Use the CodeMirror
>>>> api" or "we have some undocumented capabilities for this in IPython" or
>>>> "wait until CodeMirror 5" or "impossible").
>>>>
>>>> The extensions are:
>>>>
>>>> 1. Get some info about an identifier from the kernel when I hover my
>>>> mouse over that identifier, and display it as a popup.
>>>>
>>>> Idea: Use CodeMirror API and IPython comms to communicate with kernel.
>>>>
>>>
>>> I think CM.coorsChar is the relevant API.
>>>
>>> You might not need to use comms for this one, if `inspect_request` is
>>> the right action. If the output should be distinguished from inspection via
>>> other means, then a custom comm would be appropriate.
>>>
>>>
>>>>
>>>> 2. Add a keyboard shortcut to automatically reformat a cell, and have
>>>> this actually change the contents of whichever cell is currently selected,
>>>> provided it is a Haskell cell.
>>>>
>>>> Idea: Use the IPython API to add a keyboard shortcut, use comms to
>>>> communicate with backend to do reformatting, use IPython API to get
>>>> currently selected cell and send contents to kernel via comm, and  use
>>>>  IPython APIs to change the contents of a cell.
>>>>
>>>
>>> Sounds right to me.
>>>
>>>
>>>>
>>>> If you have any suggestions for better routes, words of caution, I'd
>>>> love to hear them.
>>>>
>>>> (As an aside, one reason I am asking like this rather than just going
>>>> ahead and trying it and seeing how far I get is that some of these may be
>>>> tackled by some other contributors to IHaskell; I would like to make sure I
>>>> am not sending them off on a wild goose chase with a method that is
>>>> overcomplicated or unlikely to work before giving them instructions.)
>>>>
>>>
>>> I see no geese here to chase.
>>>
>>>
>>>>
>>>> Thanks!
>>>> Andrew
>>>>
>>>> PS. IHaskell `master` now supports IPython 3.0. There's still a bit of
>>>> work to be done before I'm ready to make a Jupyter-ready *release*, but it
>>>> is no more than a week or two out. So far, I've really enjoyed working with
>>>> IPython 3; the interface is great, the kernel interface is well thought out
>>>> (if perhaps missing a few things I want, but there's always room for
>>>> extension, I hope :) ), and all in all it's been very good.
>>>>
>>>
>>> Great to hear that 3.0 is working out for you. Can you describe the
>>> missing things? It may be a while before there's another revision, but it's
>>> good to keep track of what shortcomings kernel authors find, so we can make
>>> the right adjustments in the future.
>>>
>>> -MinRK
>>>
>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/29d29480/attachment.html>

From benjaminrk at gmail.com  Sat Mar  7 17:28:53 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sat, 7 Mar 2015 14:28:53 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAF-LYKL5Z3TVNk2cpFUqfmnMnJhfn8n=D6YOmGyc-foCjHjbgw@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
	<CAF-LYK+waG7Jacs9n0YyU7T6YtoaLJ_eVW5vfSNgqi8PkgLojQ@mail.gmail.com>
	<CAHNn8BXiPf_bbvG7iErWPOY9VDCOZ5O8fETi0S6vpFhRcqMRTA@mail.gmail.com>
	<CAF-LYKL5Z3TVNk2cpFUqfmnMnJhfn8n=D6YOmGyc-foCjHjbgw@mail.gmail.com>
Message-ID: <CAHNn8BWz-W6ALdk-o-cMZ30LQrj-OZjQenguu9a967xcnTWneg@mail.gmail.com>

On Sat, Mar 7, 2015 at 2:22 PM, Andrew Gibiansky <andrew.gibiansky at gmail.com
> wrote:

> Agreed. In my mind, this is something that can be done as part of the
> kernel.
>
> For example, kernelspec.json can specify a list of formats that the kernel
> accepts as import and export; then messages in the messaging spec can be
> used to transmit notebook data forward and backward. Trying to make
> nbconvert or nbconvert wrappers do everything is an infinite problem -- you
> could instead delegate this to the kernels themselves. This would allow
> kernels to take all of this effort onto themselves.
>

I wouldn't consider this a kernel feature, but that might be a question of
definitions. IHaskell, as a project, may provide *both* a kernel for
Jupyter and some advanced notebook export/conversion tools. But I doubt
that such things should be a part of the kernel specifications themselves.
But we should also hear from other kernel authors about that. If it's
something that's common to many kernels, then maybe Jupyter as the
coordinating point should define some APIs or at least conventions to
follow.

-MinRK


>
> Anyway, it's clear that there's some design work to be done here. I'm
> happy to discuss this further when things come around to it :)
>
> -- Andrew
>
> On Sat, Mar 7, 2015 at 1:44 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>>
>>
>> On Sat, Mar 7, 2015 at 1:23 PM, Andrew Gibiansky <
>> andrew.gibiansky at gmail.com> wrote:
>>
>>> Thanks Min! That's exactly the sort of feedback I was hoping to get.
>>>
>>> To respond to your question about what I've found lacking, my main
>>> desires for additions to IPython are for a better import and export story
>>> for kernels. Specifically, right now IPython supports the following exports:
>>>
>>>    - txt
>>>    - PDF via latex
>>>    - Markdown
>>>    - HTML
>>>
>>> These are all well and good, but they're not enough. In my experience,
>>> the formats used vary by technology and community, and thus need to be
>>> someone more flexible. Specifically, in the Haskell world, we at least
>>> would want the following:
>>>
>>>    - Import from literate Haskell (two different types of literate
>>>    haskell)
>>>    - Export to literate Haskell (two different types)
>>>    - Export to a Haskell module (which would require some processing to
>>>    make the cells actually valid compilable Haskell code)
>>>    - Export to a cabal package (which would be like exporting to a
>>>    Haskell module, but with more postprocessing)
>>>
>>> These are things that are pretty integral to the Haskell ecosystem, and
>>> so it would make sense to ship them with the IHaskell kernel, and not as
>>> some sort of extensions. That said I totally understand why these don't
>>> exist (yet) -- there's tons of stuff going on in the IPython world and
>>> there's not enough developer manpower to do *everything, *but I do hope
>>> that going forward to 3.1 or 4 or whatever is next, there might be some
>>> design work put into a more compelling configurable import/export story.
>>>
>>
>> It is clear that there are changes that need to be made in nbconvert. I
>> was just talking with Jess Hamrick yesterday about some of the changes we
>> should make for nbgrader, another of the more demanding nbconvert use
>> cases, revealing problems in how nbconvert is put together.
>>
>> I don't think nbconvert on its own is going to cover quite everything you
>> described. For instance, the cabal package export might be a separate tool
>> that *uses* nbconvert, rather than being implemented as a highly configured
>> invocation of nbconvert itself. And fully custom templates that don't match
>> any of the pre-installed formats are possible right now, but it's not at
>> all clear how to use them, and both how we communicate that, and how they
>> actually work need to be improved.
>>
>> It is super helpful to have as many use cases as we can get, even if our
>> answer to some of them is "that's best done with a separate tool that wraps
>> nbconvert," we can still make changes in nbconvert to facilitate these
>> things.
>>
>> -MinRK
>>
>>
>>
>>>
>>> -- Andrew
>>>
>>> On Sat, Mar 7, 2015 at 12:17 PM, MinRK <benjaminrk at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Mar 6, 2015 at 11:50 PM, Andrew Gibiansky <
>>>> andrew.gibiansky at gmail.com> wrote:
>>>>
>>>>> Hey all,
>>>>>
>>>>> I have a few frontend modifications I'd like to make for the IHaskell
>>>>> kernel, and I'd love to get some pointers on where to start and how
>>>>> feasible these are. I have some ideas, but since you are much more familiar
>>>>> with the client-side JS than I am, I'd like to hear if you think these are
>>>>> possible and/or reasonable, and perhaps how you would approach them (no
>>>>> detailed response required, maybe just something like "Use the CodeMirror
>>>>> api" or "we have some undocumented capabilities for this in IPython" or
>>>>> "wait until CodeMirror 5" or "impossible").
>>>>>
>>>>> The extensions are:
>>>>>
>>>>> 1. Get some info about an identifier from the kernel when I hover my
>>>>> mouse over that identifier, and display it as a popup.
>>>>>
>>>>> Idea: Use CodeMirror API and IPython comms to communicate with kernel.
>>>>>
>>>>
>>>> I think CM.coorsChar is the relevant API.
>>>>
>>>> You might not need to use comms for this one, if `inspect_request` is
>>>> the right action. If the output should be distinguished from inspection via
>>>> other means, then a custom comm would be appropriate.
>>>>
>>>>
>>>>>
>>>>> 2. Add a keyboard shortcut to automatically reformat a cell, and have
>>>>> this actually change the contents of whichever cell is currently selected,
>>>>> provided it is a Haskell cell.
>>>>>
>>>>> Idea: Use the IPython API to add a keyboard shortcut, use comms to
>>>>> communicate with backend to do reformatting, use IPython API to get
>>>>> currently selected cell and send contents to kernel via comm, and  use
>>>>>  IPython APIs to change the contents of a cell.
>>>>>
>>>>
>>>> Sounds right to me.
>>>>
>>>>
>>>>>
>>>>> If you have any suggestions for better routes, words of caution, I'd
>>>>> love to hear them.
>>>>>
>>>>> (As an aside, one reason I am asking like this rather than just going
>>>>> ahead and trying it and seeing how far I get is that some of these may be
>>>>> tackled by some other contributors to IHaskell; I would like to make sure I
>>>>> am not sending them off on a wild goose chase with a method that is
>>>>> overcomplicated or unlikely to work before giving them instructions.)
>>>>>
>>>>
>>>> I see no geese here to chase.
>>>>
>>>>
>>>>>
>>>>> Thanks!
>>>>> Andrew
>>>>>
>>>>> PS. IHaskell `master` now supports IPython 3.0. There's still a bit of
>>>>> work to be done before I'm ready to make a Jupyter-ready *release*, but it
>>>>> is no more than a week or two out. So far, I've really enjoyed working with
>>>>> IPython 3; the interface is great, the kernel interface is well thought out
>>>>> (if perhaps missing a few things I want, but there's always room for
>>>>> extension, I hope :) ), and all in all it's been very good.
>>>>>
>>>>
>>>> Great to hear that 3.0 is working out for you. Can you describe the
>>>> missing things? It may be a while before there's another revision, but it's
>>>> good to keep track of what shortcomings kernel authors find, so we can make
>>>> the right adjustments in the future.
>>>>
>>>> -MinRK
>>>>
>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/21d5cef7/attachment.html>

From takowl at gmail.com  Sat Mar  7 20:43:08 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 7 Mar 2015 17:43:08 -0800
Subject: [IPython-dev] Write the docs (conference)
Message-ID: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>

I just noticed this conference, happening in Portland in May:

http://www.writethedocs.org/conf/na/2015/

As we're starting to think about ways of writing and using technical docs
as notebooks, should we send someone there to start scoping out what other
people interested in docs are concerned about and working on?

This year's schedule is not online yet, but here's last year's for an idea
of the nature of the conference:
http://conf.writethedocs.org/na/2014/#schedule

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/c1ab12f4/attachment.html>

From bussonniermatthias at gmail.com  Sat Mar  7 22:48:58 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sat, 7 Mar 2015 19:48:58 -0800
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
Message-ID: <F821E5D1-DCD3-4561-814A-BCB2EE0F07AE@gmail.com>

> 
> 2. Add a keyboard shortcut to automatically reformat a cell, and have this actually change the contents of whichever cell is currently selected, provided it is a Haskell cell.
> 
> Idea: Use the IPython API to add a keyboard shortcut, use comms to communicate with backend to do reformatting, use IPython API to get currently selected cell and send contents to kernel via comm, and  use  IPython APIs to change the contents of a cell.
> 
> Sounds right to me.

Doesn't the Api for %load now have a replace=<Bool> flag that would replace current cell ?
-- 
M

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/4eb9a796/attachment.html>

From benjaminrk at gmail.com  Sat Mar  7 23:13:35 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sat, 7 Mar 2015 20:13:35 -0800
Subject: [IPython-dev] Write the docs (conference)
In-Reply-To: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>
References: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>
Message-ID: <CAHNn8BWc05spVycNFRKmeL7CoJFCeuoAgBrQKeXsJB2iW7Lkdg@mail.gmail.com>

seems like a good idea.

On Sat, Mar 7, 2015 at 5:43 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> I just noticed this conference, happening in Portland in May:
>
> http://www.writethedocs.org/conf/na/2015/
>
> As we're starting to think about ways of writing and using technical docs
> as notebooks, should we send someone there to start scoping out what other
> people interested in docs are concerned about and working on?
>
> This year's schedule is not online yet, but here's last year's for an idea
> of the nature of the conference:
> http://conf.writethedocs.org/na/2014/#schedule
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/edc87703/attachment.html>

From takowl at gmail.com  Sun Mar  8 20:18:11 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sun, 8 Mar 2015 17:18:11 -0700
Subject: [IPython-dev] Questions on implementing some notebook frontend
	extensions
In-Reply-To: <F821E5D1-DCD3-4561-814A-BCB2EE0F07AE@gmail.com>
References: <CAF-LYKLz68==DwY-S923BX62JzjC_eyCE6zhvsUj05Pdg0RArw@mail.gmail.com>
	<CAHNn8BVhJHM-099c9wXnZp+sW=hAY5VFQu+Pvn+i71R-rvzq4g@mail.gmail.com>
	<F821E5D1-DCD3-4561-814A-BCB2EE0F07AE@gmail.com>
Message-ID: <CAOvn4qh73vrbR9kKtXrKtTdB7h2oCRb08x1AEz+7qhTf0xz+Eg@mail.gmail.com>

On 7 March 2015 at 19:48, Matthias Bussonnier <bussonniermatthias at gmail.com>
wrote:

> Doesn't the Api for %load now have a replace=<Bool> flag that would
> replace current cell ?


Yes, though I think at present it's only possible to use that API while
handling an execute request, because it's delivered to the frontend as part
of an execute_reply. We already know we need to rethink the payloads
system, though.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150308/04c26c84/attachment.html>

From fperez.net at gmail.com  Mon Mar  9 11:39:50 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Mon, 9 Mar 2015 08:39:50 -0700
Subject: [IPython-dev] Write the docs (conference)
In-Reply-To: <CAHNn8BWc05spVycNFRKmeL7CoJFCeuoAgBrQKeXsJB2iW7Lkdg@mail.gmail.com>
References: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>
	<CAHNn8BWc05spVycNFRKmeL7CoJFCeuoAgBrQKeXsJB2iW7Lkdg@mail.gmail.com>
Message-ID: <CAHAreOpMGwvLvv47GWPD3jECKCQ=mL-tmaGPhcMWKDEPBw18Mw@mail.gmail.com>

Good for the dev meeting agenda
On Mar 7, 2015 8:14 PM, "MinRK" <benjaminrk at gmail.com> wrote:

> seems like a good idea.
>
> On Sat, Mar 7, 2015 at 5:43 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> I just noticed this conference, happening in Portland in May:
>>
>> http://www.writethedocs.org/conf/na/2015/
>>
>> As we're starting to think about ways of writing and using technical docs
>> as notebooks, should we send someone there to start scoping out what other
>> people interested in docs are concerned about and working on?
>>
>> This year's schedule is not online yet, but here's last year's for an
>> idea of the nature of the conference:
>> http://conf.writethedocs.org/na/2014/#schedule
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150309/4b0efc18/attachment.html>

From wstein at gmail.com  Mon Mar  9 13:00:33 2015
From: wstein at gmail.com (William Stein)
Date: Mon, 9 Mar 2015 10:00:33 -0700
Subject: [IPython-dev] both source and input
Message-ID: <CACLE5GC+neu=KA9U2mk+8k+pDOq62p85bAjA9Y8=pVm3c3iHqg@mail.gmail.com>

Hi,

I'm curious why the IPython notebook format has both "source" and
"input" fields to represent the input to a cell?   I just rewrote my
"ipynb <--> sync friendly text" conversion format to be much more
robust and this tripped me up.

I'm definitely not asking to change anything in IPython.  I'm just
curious why there is both source and input, and -- more importantly --
are there any other fields that represent input for other types of
cells?

Thanks,

-- 
William (http://wstein.org)


From benjaminrk at gmail.com  Mon Mar  9 13:20:06 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 9 Mar 2015 10:20:06 -0700
Subject: [IPython-dev] both source and input
In-Reply-To: <CACLE5GC+neu=KA9U2mk+8k+pDOq62p85bAjA9Y8=pVm3c3iHqg@mail.gmail.com>
References: <CACLE5GC+neu=KA9U2mk+8k+pDOq62p85bAjA9Y8=pVm3c3iHqg@mail.gmail.com>
Message-ID: <CAHNn8BWKcMda_fDR5BUjOZV5A-zjJpUi7to11QvEFJeet0ZB=g@mail.gmail.com>

On Mon, Mar 9, 2015 at 10:00 AM, William Stein <wstein at gmail.com> wrote:

> Hi,
>
> I'm curious why the IPython notebook format has both "source" and
> "input" fields to represent the input to a cell?   I just rewrote my
> "ipynb <--> sync friendly text" conversion format to be much more
> robust and this tripped me up.
>
> I'm definitely not asking to change anything in IPython.  I'm just
> curious why there is both source and input, and -- more importantly --
> are there any other fields that represent input for other types of
> cells?
>

It's just input and source in v3 and earlier. This wasn't an intentional
difference, we just didn't realize that code and non-code cells would be so
similar when we drafted early formats. nbformat v4 in IPython 3.0 does away
with the difference (input is replaced with source).

-MinRK


>
> Thanks,
>
> --
> William (http://wstein.org)
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150309/d8456c8f/attachment.html>

From wstein at gmail.com  Mon Mar  9 13:23:14 2015
From: wstein at gmail.com (William Stein)
Date: Mon, 9 Mar 2015 10:23:14 -0700
Subject: [IPython-dev] both source and input
In-Reply-To: <CAHNn8BWKcMda_fDR5BUjOZV5A-zjJpUi7to11QvEFJeet0ZB=g@mail.gmail.com>
References: <CACLE5GC+neu=KA9U2mk+8k+pDOq62p85bAjA9Y8=pVm3c3iHqg@mail.gmail.com>
	<CAHNn8BWKcMda_fDR5BUjOZV5A-zjJpUi7to11QvEFJeet0ZB=g@mail.gmail.com>
Message-ID: <CACLE5GCrsLEuFhwq4N0xHMgxd14Vj7mrxfPOSWp6VL3esDGQ+A@mail.gmail.com>

On Mon, Mar 9, 2015 at 10:20 AM, MinRK <benjaminrk at gmail.com> wrote:
>
> On Mon, Mar 9, 2015 at 10:00 AM, William Stein <wstein at gmail.com> wrote:
>>
>> Hi,
>>
>> I'm curious why the IPython notebook format has both "source" and
>> "input" fields to represent the input to a cell?   I just rewrote my
>> "ipynb <--> sync friendly text" conversion format to be much more
>> robust and this tripped me up.
>>
>> I'm definitely not asking to change anything in IPython.  I'm just
>> curious why there is both source and input, and -- more importantly --
>> are there any other fields that represent input for other types of
>> cells?
>
>
> It's just input and source in v3 and earlier. This wasn't an intentional
> difference, we just didn't realize that code and non-code cells would be so
> similar when we drafted early formats. nbformat v4 in IPython 3.0 does away
> with the difference (input is replaced with source).

Awesome -- that's the best imaginable answer from my point of view!

>
> -MinRK
>
>>
>>
>> Thanks,
>>
>> --
>> William (http://wstein.org)
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
William (http://wstein.org)


From pmhobson at gmail.com  Mon Mar  9 13:46:51 2015
From: pmhobson at gmail.com (Paul Hobson)
Date: Mon, 9 Mar 2015 10:46:51 -0700
Subject: [IPython-dev] Write the docs (conference)
In-Reply-To: <CAHAreOpMGwvLvv47GWPD3jECKCQ=mL-tmaGPhcMWKDEPBw18Mw@mail.gmail.com>
References: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>
	<CAHNn8BWc05spVycNFRKmeL7CoJFCeuoAgBrQKeXsJB2iW7Lkdg@mail.gmail.com>
	<CAHAreOpMGwvLvv47GWPD3jECKCQ=mL-tmaGPhcMWKDEPBw18Mw@mail.gmail.com>
Message-ID: <CADT3MED560ESmWXRwW7b99Pm8_=2v--iAN-ZacrV_1Zw6PqpXQ@mail.gmail.com>

IPython Devs:

Please get in touch if you come to town and would like to claim your
complimentary Portland beer or bike tour. Y'all have racked up a lot of
credits in my Devs I Owe Big Time system.

-Paul
Portland, OR

On Mon, Mar 9, 2015 at 8:39 AM, Fernando Perez <fperez.net at gmail.com> wrote:

> Good for the dev meeting agenda
> On Mar 7, 2015 8:14 PM, "MinRK" <benjaminrk at gmail.com> wrote:
>
>> seems like a good idea.
>>
>> On Sat, Mar 7, 2015 at 5:43 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>>
>>> I just noticed this conference, happening in Portland in May:
>>>
>>> http://www.writethedocs.org/conf/na/2015/
>>>
>>> As we're starting to think about ways of writing and using technical
>>> docs as notebooks, should we send someone there to start scoping out what
>>> other people interested in docs are concerned about and working on?
>>>
>>> This year's schedule is not online yet, but here's last year's for an
>>> idea of the nature of the conference:
>>> http://conf.writethedocs.org/na/2014/#schedule
>>>
>>> Thomas
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150309/206c7071/attachment.html>

From ellisonbg at gmail.com  Mon Mar  9 13:54:44 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Mon, 9 Mar 2015 10:54:44 -0700
Subject: [IPython-dev] Write the docs (conference)
In-Reply-To: <CADT3MED560ESmWXRwW7b99Pm8_=2v--iAN-ZacrV_1Zw6PqpXQ@mail.gmail.com>
References: <CAOvn4qhOd9tU5uqv=fJLfSUKv6xEeNDP1dP8-R_Bbt+0JN3HiA@mail.gmail.com>
	<CAHNn8BWc05spVycNFRKmeL7CoJFCeuoAgBrQKeXsJB2iW7Lkdg@mail.gmail.com>
	<CAHAreOpMGwvLvv47GWPD3jECKCQ=mL-tmaGPhcMWKDEPBw18Mw@mail.gmail.com>
	<CADT3MED560ESmWXRwW7b99Pm8_=2v--iAN-ZacrV_1Zw6PqpXQ@mail.gmail.com>
Message-ID: <CAH4pYpS76LPbTJPYkEcss4BhAvbMaWDX9+kfsSit5DxFC-6Dbw@mail.gmail.com>

Thanks!

On Mon, Mar 9, 2015 at 10:46 AM, Paul Hobson <pmhobson at gmail.com> wrote:

> IPython Devs:
>
> Please get in touch if you come to town and would like to claim your
> complimentary Portland beer or bike tour. Y'all have racked up a lot of
> credits in my Devs I Owe Big Time system.
>
> -Paul
> Portland, OR
>
> On Mon, Mar 9, 2015 at 8:39 AM, Fernando Perez <fperez.net at gmail.com>
> wrote:
>
>> Good for the dev meeting agenda
>> On Mar 7, 2015 8:14 PM, "MinRK" <benjaminrk at gmail.com> wrote:
>>
>>> seems like a good idea.
>>>
>>> On Sat, Mar 7, 2015 at 5:43 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>>>
>>>> I just noticed this conference, happening in Portland in May:
>>>>
>>>> http://www.writethedocs.org/conf/na/2015/
>>>>
>>>> As we're starting to think about ways of writing and using technical
>>>> docs as notebooks, should we send someone there to start scoping out what
>>>> other people interested in docs are concerned about and working on?
>>>>
>>>> This year's schedule is not online yet, but here's last year's for an
>>>> idea of the nature of the conference:
>>>> http://conf.writethedocs.org/na/2014/#schedule
>>>>
>>>> Thomas
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150309/17b9f720/attachment.html>

From nathan12343 at gmail.com  Tue Mar 10 20:43:49 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Tue, 10 Mar 2015 17:43:49 -0700
Subject: [IPython-dev] Cython magic annotate option broken under IPython 3.0?
Message-ID: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>

Hi all,

I realize that the cython magic has been moved over to the cython project,
but I couldn't find a way to report this on their trac issue tracker, and
it's not even clear to me if this is an issue in the cython side of things
or the IPython side.

To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the
following notebook:

http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254

Googling the error returns some several year old discussions in IPython
related to the autoreload magic and I'm not sure if that is a red herring
here:

http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html

For how I'm working around this by calling cython at the command line in my
notebook and then loading the annotated HTML with an IFrame.

Thanks for your help!

-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150310/58eab8df/attachment.html>

From takowl at gmail.com  Wed Mar 11 01:09:50 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 10 Mar 2015 22:09:50 -0700
Subject: [IPython-dev] Cython magic annotate option broken under IPython
	3.0?
In-Reply-To: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
References: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
Message-ID: <CAOvn4qgJbj68PkZMJJS8XNQuTtuZRnpRrtk4qnK-WEZ6wfDrMg@mail.gmail.com>

I think this is probably something that needs to be reported to cython. I
don't know how best to do that - maybe start on the mailing lists?

Thanks,
Thomas
On 10 Mar 2015 17:44, "Nathan Goldbaum" <nathan12343 at gmail.com> wrote:

> Hi all,
>
> I realize that the cython magic has been moved over to the cython project,
> but I couldn't find a way to report this on their trac issue tracker, and
> it's not even clear to me if this is an issue in the cython side of things
> or the IPython side.
>
> To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the
> following notebook:
>
> http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254
>
> Googling the error returns some several year old discussions in IPython
> related to the autoreload magic and I'm not sure if that is a red herring
> here:
>
> http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html
>
> For how I'm working around this by calling cython at the command line in
> my notebook and then loading the annotated HTML with an IFrame.
>
> Thanks for your help!
>
> -Nathan
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150310/f5bdbb5a/attachment.html>

From bussonniermatthias at gmail.com  Wed Mar 11 01:57:14 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 10 Mar 2015 22:57:14 -0700
Subject: [IPython-dev] Cython magic annotate option broken under IPython
	3.0?
In-Reply-To: <CAOvn4qgJbj68PkZMJJS8XNQuTtuZRnpRrtk4qnK-WEZ6wfDrMg@mail.gmail.com>
References: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
	<CAOvn4qgJbj68PkZMJJS8XNQuTtuZRnpRrtk4qnK-WEZ6wfDrMg@mail.gmail.com>
Message-ID: <9EA864CF-2583-46FF-958D-0FC03462D9E0@gmail.com>

LMGFY

http://trac.cython.org/report/1

:-)
 
-- 
M

Le 10 mars 2015 ? 22:09, Thomas Kluyver <takowl at gmail.com> a ?crit :

> I think this is probably something that needs to be reported to cython. I don't know how best to do that - maybe start on the mailing lists?
> 
> Thanks,
> Thomas
> 
> On 10 Mar 2015 17:44, "Nathan Goldbaum" <nathan12343 at gmail.com> wrote:
> Hi all,
> 
> I realize that the cython magic has been moved over to the cython project, but I couldn't find a way to report this on their trac issue tracker, and it's not even clear to me if this is an issue in the cython side of things or the IPython side.
> 
> To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the following notebook:
> 
> http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254
> 
> Googling the error returns some several year old discussions in IPython related to the autoreload magic and I'm not sure if that is a red herring here:
> 
> http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html
> 
> For how I'm working around this by calling cython at the command line in my notebook and then loading the annotated HTML with an IFrame.
> 
> Thanks for your help!
> 
> -Nathan
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150310/0b39356b/attachment.html>

From nathan12343 at gmail.com  Wed Mar 11 02:30:20 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Tue, 10 Mar 2015 23:30:20 -0700
Subject: [IPython-dev] Cython magic annotate option broken under IPython
	3.0?
In-Reply-To: <9EA864CF-2583-46FF-958D-0FC03462D9E0@gmail.com>
References: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
	<CAOvn4qgJbj68PkZMJJS8XNQuTtuZRnpRrtk4qnK-WEZ6wfDrMg@mail.gmail.com>
	<9EA864CF-2583-46FF-958D-0FC03462D9E0@gmail.com>
Message-ID: <CAJXewOmj85mHnwdigWYVWcpKReSCOJWKWGv3amQhk9z10peiCg@mail.gmail.com>

On Tue, Mar 10, 2015 at 10:57 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> LMGFY
>
> http://trac.cython.org/report/1
>
> :-)
>



Right, but there's no way to get a trac account without being added by hand
by one of the cython devs:

http://trac.cython.org/

In the meantime I've gone ahead and sent a report to the cython mailing
list. It's in the moderator queue for the list...


>
> --
> M
>
> Le 10 mars 2015 ? 22:09, Thomas Kluyver <takowl at gmail.com> a ?crit :
>
> I think this is probably something that needs to be reported to cython. I
> don't know how best to do that - maybe start on the mailing lists?
>
> Thanks,
> Thomas
> On 10 Mar 2015 17:44, "Nathan Goldbaum" <nathan12343 at gmail.com> wrote:
>
>> Hi all,
>>
>> I realize that the cython magic has been moved over to the cython
>> project, but I couldn't find a way to report this on their trac issue
>> tracker, and it's not even clear to me if this is an issue in the cython
>> side of things or the IPython side.
>>
>> To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the
>> following notebook:
>>
>> http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254
>>
>> Googling the error returns some several year old discussions in IPython
>> related to the autoreload magic and I'm not sure if that is a red herring
>> here:
>>
>> http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html
>>
>> For how I'm working around this by calling cython at the command line in
>> my notebook and then loading the annotated HTML with an IFrame.
>>
>> Thanks for your help!
>>
>> -Nathan
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150310/3308200f/attachment.html>

From bussonniermatthias at gmail.com  Wed Mar 11 02:34:14 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 10 Mar 2015 23:34:14 -0700
Subject: [IPython-dev] Cython magic annotate option broken under IPython
	3.0?
In-Reply-To: <CAJXewOmj85mHnwdigWYVWcpKReSCOJWKWGv3amQhk9z10peiCg@mail.gmail.com>
References: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
	<CAOvn4qgJbj68PkZMJJS8XNQuTtuZRnpRrtk4qnK-WEZ6wfDrMg@mail.gmail.com>
	<9EA864CF-2583-46FF-958D-0FC03462D9E0@gmail.com>
	<CAJXewOmj85mHnwdigWYVWcpKReSCOJWKWGv3amQhk9z10peiCg@mail.gmail.com>
Message-ID: <D125AD6E-D4E1-4E2C-8DDB-F544C1A86893@gmail.com>


Le 10 mars 2015 ? 23:30, Nathan Goldbaum <nathan12343 at gmail.com> a ?crit :

> 
> 
> On Tue, Mar 10, 2015 at 10:57 PM, Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
> LMGFY
> 
> http://trac.cython.org/report/1
> 
> :-)
> 
> 
> 
> Right, but there's no way to get a trac account without being added by hand by one of the cython devs:
> 
> http://trac.cython.org/
> 
> In the meantime I've gone ahead and sent a report to the cython mailing list. It's in the moderator queue for the list...


Oh, I guess they increased the barrier to entry. 
last time I had to fix the highlighting  in annotate because it was leaking in notebook, I did not had this
problem.

My bad. 
-- 
M 




>  
>  
> -- 
> M
> 
> Le 10 mars 2015 ? 22:09, Thomas Kluyver <takowl at gmail.com> a ?crit :
> 
>> I think this is probably something that needs to be reported to cython. I don't know how best to do that - maybe start on the mailing lists?
>> 
>> Thanks,
>> Thomas
>> 
>> On 10 Mar 2015 17:44, "Nathan Goldbaum" <nathan12343 at gmail.com> wrote:
>> Hi all,
>> 
>> I realize that the cython magic has been moved over to the cython project, but I couldn't find a way to report this on their trac issue tracker, and it's not even clear to me if this is an issue in the cython side of things or the IPython side.
>> 
>> To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the following notebook:
>> 
>> http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254
>> 
>> Googling the error returns some several year old discussions in IPython related to the autoreload magic and I'm not sure if that is a red herring here:
>> 
>> http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html
>> 
>> For how I'm working around this by calling cython at the command line in my notebook and then loading the annotated HTML with an IFrame.
>> 
>> Thanks for your help!
>> 
>> -Nathan
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150310/ae26a810/attachment.html>

From kikocorreoso at gmail.com  Wed Mar 11 03:32:05 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Wed, 11 Mar 2015 08:32:05 +0100
Subject: [IPython-dev] Cython magic annotate option broken under IPython
	3.0?
In-Reply-To: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
References: <CAJXewOkCCMTiaYXCnW_Up=sv0NwQ8Hw2i-ERpgriPsnd28SS7g@mail.gmail.com>
Message-ID: <CAB-sx61WH7soKoYwroD4y4uUwtpUje2L96_3SBVBdJhWSBG8Uw@mail.gmail.com>

2015-03-11 1:43 GMT+01:00 Nathan Goldbaum <nathan12343 at gmail.com>:

> Hi all,
>
> I realize that the cython magic has been moved over to the cython project,
> but I couldn't find a way to report this on their trac issue tracker, and
> it's not even clear to me if this is an issue in the cython side of things
> or the IPython side.
>
> To reproduce this issue, be on cython 0.22 and IPython 3.0 and run the
> following notebook:
>
> http://nbviewer.ipython.org/gist/ngoldbaum/855a629d997aa7959254
>
> Googling the error returns some several year old discussions in IPython
> related to the autoreload magic and I'm not sure if that is a red herring
> here:
>
> http://mail.scipy.org/pipermail/ipython-dev/2012-May/009288.html
>
> For how I'm working around this by calling cython at the command line in
> my notebook and then loading the annotated HTML with an IFrame.
>
> Thanks for your help!
>


This week I was working with Cython and IPython on linux with no issues.

My setup: CPython 3.4, Cython 0.22, IPython 3.0.

Example on:
http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/C%20elemental%2C%20querido%20Cython..ipynb#Cythonizando,-que-es-gerundio-%28toma-3%29
.

I tested your notebook example on windows right now with no issues.

??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150311/cf79f05b/attachment.html>

From zvoros at gmail.com  Wed Mar 11 12:52:50 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Wed, 11 Mar 2015 17:52:50 +0100
Subject: [IPython-dev] Cntr-s makes cell inactive
Message-ID: <550072E2.3080203@gmail.com>

Hi all,

I think the behaviour of some keyboard shortcuts has changed recently. 
In particular, Cntr-s for saving the notebook renders the cell inactive 
(i.e., the cursor is taken away, and the border of the cell becomes 
gray). Was this a conscious design decision, or this happened by 
accident? I would like to propose that in cases, where it is clear that 
one doesn't want to leave the cell when invoking a certain shortcut, 
e.g., saving the entire notebook, the cell should not become inactive. 
What now happens to me quite often is that I hit Cntr-s, and then b, 
which then creates a new cell above, while I actually wanted to type 'b' 
in the current cell. I think this was not like this before.

If this was considered, and this is the decision that the developers 
arrived at, so be it. Otherwise, I would be happy to issue a PR, if the 
core team agrees.

Cheers,
Zolt?n


From benjaminrk at gmail.com  Wed Mar 11 13:17:59 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 11 Mar 2015 10:17:59 -0700
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <550072E2.3080203@gmail.com>
References: <550072E2.3080203@gmail.com>
Message-ID: <CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>

I think mode switching on save is a bug.

On Wed, Mar 11, 2015 at 9:52 AM, Zolt?n V?r?s <zvoros at gmail.com> wrote:

> Hi all,
>
> I think the behaviour of some keyboard shortcuts has changed recently.
> In particular, Cntr-s for saving the notebook renders the cell inactive
> (i.e., the cursor is taken away, and the border of the cell becomes
> gray). Was this a conscious design decision, or this happened by
> accident? I would like to propose that in cases, where it is clear that
> one doesn't want to leave the cell when invoking a certain shortcut,
> e.g., saving the entire notebook, the cell should not become inactive.
> What now happens to me quite often is that I hit Cntr-s, and then b,
> which then creates a new cell above, while I actually wanted to type 'b'
> in the current cell. I think this was not like this before.
>
> If this was considered, and this is the decision that the developers
> arrived at, so be it. Otherwise, I would be happy to issue a PR, if the
> core team agrees.
>
> Cheers,
> Zolt?n
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150311/68fb38d3/attachment.html>

From antonakosn at gmail.com  Wed Mar 11 13:25:54 2015
From: antonakosn at gmail.com (Nontas Antonakos)
Date: Wed, 11 Mar 2015 17:25:54 +0000
Subject: [IPython-dev] IntText width
Message-ID: <CAFuOSO8vSra292vdNs6qJSXHx0Ey8PmvZP3e-wZOwpD0+S2Ckw@mail.gmail.com>

Hi,

My colleagues and I have been extensively using the IPython widgets for our
project. They are awesome and thanks for your good work! However, since
upgrading to IPython 3, all our stuff broke, as expected, and we are in the
process of refixing them by replacing the old ContainerWIdget with FlexBox.
One of the problems we encountered has to do with IntText. It seems that
IntText consists of a 'widget-hbox', which has 'widget-label' and 'text' as
children. By changing the width of IntText, it seems like only the width of
the 'text' is updated and not the one of the 'widget-hbox' object.
Consequently, it is impossible to control the width of the text area when
it is part of a FlexBox.

Is this the expected behaviour of IntText? We weren't sure whether this is
a bug or the desired behaviour. How should I change the width of IntText so
that the width of its hbox is also changed?

Thank you in advance for your time!

Cheers,
Nontas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150311/ecb81814/attachment.html>

From zvoros at gmail.com  Wed Mar 11 13:46:16 2015
From: zvoros at gmail.com (=?windows-1252?Q?Zolt=E1n_V=F6r=F6s?=)
Date: Wed, 11 Mar 2015 18:46:16 +0100
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>
References: <550072E2.3080203@gmail.com>
	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>
Message-ID: <55007F68.4010502@gmail.com>

Thanks for the reply! I will try to find a fix, then.

A somewhat related question: when the notebook is busy for a long time, 
the html title reflects this state, but only till the first autosave. 
I.e., the title switches from 'mynotebook (Busy)' to 'mynotebook', when 
the autosave runs. I think this should happen only, when the kernel 
becomes idle. Would you agree? I can try to get to the bottom of this, too.

Cheers,
Zolt?n

On 03/11/2015 06:17 PM, MinRK wrote:
> I think mode switching on save is a bug.
>
> On Wed, Mar 11, 2015 at 9:52 AM, Zolt?n V?r?s <zvoros at gmail.com 
> <mailto:zvoros at gmail.com>> wrote:
>
>     Hi all,
>
>     I think the behaviour of some keyboard shortcuts has changed recently.
>     In particular, Cntr-s for saving the notebook renders the cell
>     inactive
>     (i.e., the cursor is taken away, and the border of the cell becomes
>     gray). Was this a conscious design decision, or this happened by
>     accident? I would like to propose that in cases, where it is clear
>     that
>     one doesn't want to leave the cell when invoking a certain shortcut,
>     e.g., saving the entire notebook, the cell should not become inactive.
>     What now happens to me quite often is that I hit Cntr-s, and then b,
>     which then creates a new cell above, while I actually wanted to
>     type 'b'
>     in the current cell. I think this was not like this before.
>
>     If this was considered, and this is the decision that the developers
>     arrived at, so be it. Otherwise, I would be happy to issue a PR,
>     if the
>     core team agrees.
>
>     Cheers,
>     Zolt?n
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From rawlins at gmail.com  Wed Mar 11 16:48:23 2015
From: rawlins at gmail.com (Kyle Rawlins)
Date: Wed, 11 Mar 2015 16:48:23 -0400
Subject: [IPython-dev] question about command line options
Message-ID: <A19ABCEF-11BB-410D-9B56-F90A5C63DF04@gmail.com>

I?ve been trying to update some of my stuff for ipython 3, and hitting basic roadblock to do with passing configuration options.  I have some code that starts the notebook programmatically, and passes an exec_lines option to IPKernelApp.  Something to do with the parsing, or not parsing of quote marks is completely messing me up, and I can?t figure it out.  Right now, it looks like IPKernelApp is guessing where there should be quote marks, and doesn?t always get it right.  But setting that aside for the moment, here?s a tip-of-the-iceberg MWE that illustrates some of the weirdness at the command line, maybe someone can give me a pointer to where in the code this is happening.

The command (at the command line, OS X, so the outer single quotes are interpreted by the shell)
	ipython3 --InteractiveShellApp.exec_lines='["print(2)"]? 
works, whereas 
	ipython3 notebook --IPKernelApp.exec_lines='["print(2)?]'
 does not (just silently doesn't print a 2). This, as far as I can tell, did work in IPython 2.

In contrast, the command:
	ipython3 --InteractiveShellApp.exec_lines='[print(2)]?
does not work (fails with an error), but 
	ipython3 notebook --IPKernelApp.exec_lines='[print(2)]?
does work!

The problem seems to come with whatever magic is (successfully?) guessing that the thing inside the bracket should be quoted for IPKernelApp only.  With my actual exec_lines command it appears to not get this right, resulting in the silent behavior shown in the first case, but I haven?t even begun to figure out where to look to debug this, and it seemed easier to start with this simpler example.  Any ideas?

Thanks,
-kyle



-- 
Kyle Rawlins
http://sites.krieger.jhu.edu/rawlins/
Department of Cognitive Science
Johns Hopkins University



From bussonniermatthias at gmail.com  Wed Mar 11 18:03:15 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 11 Mar 2015 15:03:15 -0700
Subject: [IPython-dev] question about command line options
In-Reply-To: <A19ABCEF-11BB-410D-9B56-F90A5C63DF04@gmail.com>
References: <A19ABCEF-11BB-410D-9B56-F90A5C63DF04@gmail.com>
Message-ID: <47FE28E8-BD62-4E80-A4A2-1A5B7AB86484@gmail.com>


> 	ipython3 notebook --IPKernelApp.exec_lines='["print(2)?]'
> 


Passing config to kernel while starting the notebook app is not supported. 
-- 
M



From bussonniermatthias at gmail.com  Wed Mar 11 18:06:45 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 11 Mar 2015 15:06:45 -0700
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <55007F68.4010502@gmail.com>
References: <550072E2.3080203@gmail.com>
	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>
	<55007F68.4010502@gmail.com>
Message-ID: <F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>

Sure, this seem like a bug. 
-- 
M
Le 11 mars 2015 ? 10:46, Zolt?n V?r?s <zvoros at gmail.com> a ?crit :

> Thanks for the reply! I will try to find a fix, then.
> 
> A somewhat related question: when the notebook is busy for a long time, 
> the html title reflects this state, but only till the first autosave. 
> I.e., the title switches from 'mynotebook (Busy)' to 'mynotebook', when 
> the autosave runs. I think this should happen only, when the kernel 
> becomes idle. Would you agree? I can try to get to the bottom of this, too.
> 
> Cheers,
> Zolt?n
> 
> On 03/11/2015 06:17 PM, MinRK wrote:
>> I think mode switching on save is a bug.
>> 
>> On Wed, Mar 11, 2015 at 9:52 AM, Zolt?n V?r?s <zvoros at gmail.com 
>> <mailto:zvoros at gmail.com>> wrote:
>> 
>>    Hi all,
>> 
>>    I think the behaviour of some keyboard shortcuts has changed recently.
>>    In particular, Cntr-s for saving the notebook renders the cell
>>    inactive
>>    (i.e., the cursor is taken away, and the border of the cell becomes
>>    gray). Was this a conscious design decision, or this happened by
>>    accident? I would like to propose that in cases, where it is clear
>>    that
>>    one doesn't want to leave the cell when invoking a certain shortcut,
>>    e.g., saving the entire notebook, the cell should not become inactive.
>>    What now happens to me quite often is that I hit Cntr-s, and then b,
>>    which then creates a new cell above, while I actually wanted to
>>    type 'b'
>>    in the current cell. I think this was not like this before.
>> 
>>    If this was considered, and this is the decision that the developers
>>    arrived at, so be it. Otherwise, I would be happy to issue a PR,
>>    if the
>>    core team agrees.
>> 
>>    Cheers,
>>    Zolt?n
>>    _______________________________________________
>>    IPython-dev mailing list
>>    IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>>    http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> 
>> 
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From zvoros at gmail.com  Wed Mar 11 18:14:50 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Wed, 11 Mar 2015 23:14:50 +0100
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>
References: <550072E2.3080203@gmail.com>
	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>
	<55007F68.4010502@gmail.com>
	<F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>
Message-ID: <CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>

I haven't yet found the culprit. I have checked the obvious places

services/contents.js
notebook/js/notebook.js
edit/js/editor.js

but those don't seem to contain the definition of the save function. Can
you point me in the right direction?

Zolt?n


On 03/11/2015 11:06 PM, Matthias Bussonnier wrote:
> Sure, this seem like a bug.
> -- M Le 11 mars 2015 ? 10:46, Zolt?n V?r?s <zvoros at gmail.com> a ?crit :
>> >Thanks for the reply! I will try to find a fix, then.
>> >
>> >A somewhat related question: when the notebook is busy for a long time,
>> >the html title reflects this state, but only till the first autosave.
>> >I.e., the title switches from 'mynotebook (Busy)' to 'mynotebook', when
>> >the autosave runs. I think this should happen only, when the kernel
>> >becomes idle. Would you agree? I can try to get to the bottom of this, too.
>> >
>> >Cheers,
>> >Zolt?n
>> >
>> >On 03/11/2015 06:17 PM, MinRK wrote:
>>> >>I think mode switching on save is a bug.
>>> >>
>>> >>On Wed, Mar 11, 2015 at 9:52 AM, Zolt?n V?r?s <zvoros at gmail.com
>>> >><mailto:zvoros at gmail.com>> wrote:
>>> >>
>>> >>    Hi all,
>>> >>
>>> >>    I think the behaviour of some keyboard shortcuts has changed recently.
>>> >>    In particular, Cntr-s for saving the notebook renders the cell
>>> >>    inactive
>>> >>    (i.e., the cursor is taken away, and the border of the cell becomes
>>> >>    gray). Was this a conscious design decision, or this happened by
>>> >>    accident? I would like to propose that in cases, where it is clear
>>> >>    that
>>> >>    one doesn't want to leave the cell when invoking a certain shortcut,
>>> >>    e.g., saving the entire notebook, the cell should not become inactive.
>>> >>    What now happens to me quite often is that I hit Cntr-s, and then b,
>>> >>    which then creates a new cell above, while I actually wanted to
>>> >>    type 'b'
>>> >>    in the current cell. I think this was not like this before.
>>> >>
>>> >>    If this was considered, and this is the decision that the developers
>>> >>    arrived at, so be it. Otherwise, I would be happy to issue a PR,
>>> >>    if the
>>> >>    core team agrees.
>>> >>
>>> >>    Cheers,
>>> >>    Zolt?n
>>> >>    _______________________________________________
>>> >>    IPython-dev mailing list
>>> >>    IPython-dev at scipy.org  <mailto:IPython-dev at scipy.org>
>>> >>    http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>_______________________________________________
>>> >>IPython-dev mailing list
>>> >>IPython-dev at scipy.org
>>> >>http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >
>> >_______________________________________________
>> >IPython-dev mailing list
>> >IPython-dev at scipy.org
>> >http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From bussonniermatthias at gmail.com  Wed Mar 11 19:13:11 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 11 Mar 2015 16:13:11 -0700
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>
References: <550072E2.3080203@gmail.com>
	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>
	<55007F68.4010502@gmail.com>
	<F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>
	<CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>
Message-ID: <B5EEAC2C-403D-41E1-9609-3CCC35D9330B@gmail.com>

in action.js. 


when clicking on save button we ned to ensure that focus get back on notebook, so we call focus, 
though when triggering the same action from keyboard, calling focus with to command mode. 

Not a trivial change 

We probably need a "ensure_focus" that focus the cell only if neither ell, not code mirror is focused. 
-- 
M



Le 11 mars 2015 ? 15:14, Zolt?n V?r?s <zvoros at gmail.com> a ?crit :

> I haven't yet found the culprit. I have checked the obvious places
> 
> services/contents.js
> notebook/js/notebook.js
> edit/js/editor.js
> 
> but those don't seem to contain the definition of the save function. Can
> you point me in the right direction?
> 
> Zolt?n
> 
> 
> On 03/11/2015 11:06 PM, Matthias Bussonnier wrote:
>> Sure, this seem like a bug.
>> -- M Le 11 mars 2015 ? 10:46, Zolt?n V?r?s <zvoros at gmail.com> a ?crit :
>>>> Thanks for the reply! I will try to find a fix, then.
>>>> 
>>>> A somewhat related question: when the notebook is busy for a long time,
>>>> the html title reflects this state, but only till the first autosave.
>>>> I.e., the title switches from 'mynotebook (Busy)' to 'mynotebook', when
>>>> the autosave runs. I think this should happen only, when the kernel
>>>> becomes idle. Would you agree? I can try to get to the bottom of this, too.
>>>> 
>>>> Cheers,
>>>> Zolt?n
>>>> 
>>>> On 03/11/2015 06:17 PM, MinRK wrote:
>>>>>> I think mode switching on save is a bug.
>>>>>> 
>>>>>> On Wed, Mar 11, 2015 at 9:52 AM, Zolt?n V?r?s <zvoros at gmail.com
>>>>>> <mailto:zvoros at gmail.com>> wrote:
>>>>>> 
>>>>>>   Hi all,
>>>>>> 
>>>>>>   I think the behaviour of some keyboard shortcuts has changed recently.
>>>>>>   In particular, Cntr-s for saving the notebook renders the cell
>>>>>>   inactive
>>>>>>   (i.e., the cursor is taken away, and the border of the cell becomes
>>>>>>   gray). Was this a conscious design decision, or this happened by
>>>>>>   accident? I would like to propose that in cases, where it is clear
>>>>>>   that
>>>>>>   one doesn't want to leave the cell when invoking a certain shortcut,
>>>>>>   e.g., saving the entire notebook, the cell should not become inactive.
>>>>>>   What now happens to me quite often is that I hit Cntr-s, and then b,
>>>>>>   which then creates a new cell above, while I actually wanted to
>>>>>>   type 'b'
>>>>>>   in the current cell. I think this was not like this before.
>>>>>> 
>>>>>>   If this was considered, and this is the decision that the developers
>>>>>>   arrived at, so be it. Otherwise, I would be happy to issue a PR,
>>>>>>   if the
>>>>>>   core team agrees.
>>>>>> 
>>>>>>   Cheers,
>>>>>>   Zolt?n
>>>>>>   _______________________________________________
>>>>>>   IPython-dev mailing list
>>>>>>   IPython-dev at scipy.org  <mailto:IPython-dev at scipy.org>
>>>>>>   http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>> 
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From zarak.mahmud at gmail.com  Thu Mar 12 01:08:52 2015
From: zarak.mahmud at gmail.com (z0k)
Date: Wed, 11 Mar 2015 22:08:52 -0700 (PDT)
Subject: [IPython-dev] TikZ Magics
In-Reply-To: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
References: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
Message-ID: <1426136932669-5089023.post@n6.nabble.com>

I am trying to get TikZ working with IPython notebook,  but I am getting this
error:


       49         if not isinstance(data, dict):
---> 50             raise TypeError('data must be a dict, got: %r' % data)
       51         if metadata is not None:
       52             if not isinstance(metadata, dict):

TypeError: data must be a dict, got: 'TikZMagic.Tikz'

I am on MacOSx Mavericks and have MacTex installed. Any idea on what might
be the problem? 



--
View this message in context: http://python.6.x6.nabble.com/TikZ-Magics-tp5001768p5089023.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From michael.kraus at ipp.mpg.de  Thu Mar 12 03:55:21 2015
From: michael.kraus at ipp.mpg.de (Michael Kraus)
Date: Thu, 12 Mar 2015 08:55:21 +0100
Subject: [IPython-dev] TikZ Magics
In-Reply-To: <1426136932669-5089023.post@n6.nabble.com>
References: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
	<1426136932669-5089023.post@n6.nabble.com>
Message-ID: <7E411B06-D9FF-4EE5-8B5F-E3C7335231F1@ipp.mpg.de>


Which version of IPython are you using? When exactly does that happen?




> On 12.03.2015, at 06:08, z0k <zarak.mahmud at gmail.com> wrote:
> 
> I am trying to get TikZ working with IPython notebook,  but I am getting this
> error:
> 
> 
>       49         if not isinstance(data, dict):
> ---> 50             raise TypeError('data must be a dict, got: %r' % data)
>       51         if metadata is not None:
>       52             if not isinstance(metadata, dict):
> 
> TypeError: data must be a dict, got: 'TikZMagic.Tikz'
> 
> I am on MacOSx Mavericks and have MacTex installed. Any idea on what might
> be the problem? 
> 
> 
> 
> --
> View this message in context: http://python.6.x6.nabble.com/TikZ-Magics-tp5001768p5089023.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From zarak.mahmud at gmail.com  Thu Mar 12 05:19:36 2015
From: zarak.mahmud at gmail.com (z0k)
Date: Thu, 12 Mar 2015 02:19:36 -0700 (PDT)
Subject: [IPython-dev] TikZ Magics
In-Reply-To: <7E411B06-D9FF-4EE5-8B5F-E3C7335231F1@ipp.mpg.de>
References: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
	<1426136932669-5089023.post@n6.nabble.com>
	<7E411B06-D9FF-4EE5-8B5F-E3C7335231F1@ipp.mpg.de>
Message-ID: <1426151976841-5089032.post@n6.nabble.com>

I'm running IPython version 3.0.0

I installed the extension using %install_ext
http://www.ipp.mpg.de/~mkraus/python/tikzmagic.py in a notebook cell. 

I then loaded it with %load_ext tikzmagic, which seems to work fine.

However, when I try to run the following:
%tikz \draw (0,0) rectangle (1,1);

(or any other magic command for tikz)

I get the error. I only copied the last bit of the traceback.



--
View this message in context: http://python.6.x6.nabble.com/TikZ-Magics-tp5001768p5089032.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From zvoros at gmail.com  Thu Mar 12 08:29:14 2015
From: zvoros at gmail.com (=?windows-1252?Q?Zolt=E1n_V=F6r=F6s?=)
Date: Thu, 12 Mar 2015 13:29:14 +0100
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <B5EEAC2C-403D-41E1-9609-3CCC35D9330B@gmail.com>
References: <550072E2.3080203@gmail.com>	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>	<55007F68.4010502@gmail.com>	<F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>	<CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>
	<B5EEAC2C-403D-41E1-9609-3CCC35D9330B@gmail.com>
Message-ID: <5501869A.8010704@gmail.com>



On 03/12/2015 12:13 AM, Matthias Bussonnier wrote:
> in action.js.
>
>
> when clicking on save button we ned to ensure that focus get back on notebook, so we call focus,
> though when triggering the same action from keyboard, calling focus with to command mode.
>
> Not a trivial change
Too bad. I have actually looked at action.js, and I see that this 
problem is a bit more involving. But is it not possible to inspect the 
event in the 'save_notebook' action, and insert 
env.notebook.focus_cell() for mouse clicks, and 
env.notebook.command_mode() for key strokes? I have already tried this, 
it nothing happened, though, I don't know, why...


Cheers,
Zolt?n


From michael.kraus at ipp.mpg.de  Thu Mar 12 10:01:05 2015
From: michael.kraus at ipp.mpg.de (Michael Kraus)
Date: Thu, 12 Mar 2015 15:01:05 +0100
Subject: [IPython-dev] TikZ Magics
In-Reply-To: <1426151976841-5089032.post@n6.nabble.com>
References: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
	<1426136932669-5089023.post@n6.nabble.com>
	<7E411B06-D9FF-4EE5-8B5F-E3C7335231F1@ipp.mpg.de>
	<1426151976841-5089032.post@n6.nabble.com>
Message-ID: <F0A2B2AA-4DC0-47B9-8A90-E27987FBB491@ipp.mpg.de>


The latest version of the TikZ magic is available at https://github.com/mkrphys/ipython-tikzmagic. I should remove the old version from my homepage and put a redirect.

I just tested that latest version of the magic with IPython 3.0.0 and both Python 2.7.9 and 3.4.3 and cannot reproduce the problem. I am running MacOSX 10.10.2 with Python from MacPorts and MacTex 2014.

I suggest you try with the latest version and if that does not work, send the full traceback.




> On 12.03.2015, at 10:19, z0k <zarak.mahmud at gmail.com> wrote:
> 
> I'm running IPython version 3.0.0
> 
> I installed the extension using %install_ext
> http://www.ipp.mpg.de/~mkraus/python/tikzmagic.py in a notebook cell. 
> 
> I then loaded it with %load_ext tikzmagic, which seems to work fine.
> 
> However, when I try to run the following:
> %tikz \draw (0,0) rectangle (1,1);
> 
> (or any other magic command for tikz)
> 
> I get the error. I only copied the last bit of the traceback.
> 
> 
> 
> --
> View this message in context: http://python.6.x6.nabble.com/TikZ-Magics-tp5001768p5089032.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From zarak.mahmud at gmail.com  Thu Mar 12 11:07:58 2015
From: zarak.mahmud at gmail.com (z0k)
Date: Thu, 12 Mar 2015 08:07:58 -0700 (PDT)
Subject: [IPython-dev] TikZ Magics
In-Reply-To: <F0A2B2AA-4DC0-47B9-8A90-E27987FBB491@ipp.mpg.de>
References: <6F69D108-582B-44F6-A966-164731753ED0@ipp.mpg.de>
	<1426136932669-5089023.post@n6.nabble.com>
	<7E411B06-D9FF-4EE5-8B5F-E3C7335231F1@ipp.mpg.de>
	<1426151976841-5089032.post@n6.nabble.com>
	<F0A2B2AA-4DC0-47B9-8A90-E27987FBB491@ipp.mpg.de>
Message-ID: <1426172878806-5089070.post@n6.nabble.com>

That worked! Thanks very much for your quick response (and for putting this
extension out there).



--
View this message in context: http://python.6.x6.nabble.com/TikZ-Magics-tp5001768p5089070.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From bussonniermatthias at gmail.com  Thu Mar 12 13:41:23 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 12 Mar 2015 10:41:23 -0700
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <5501869A.8010704@gmail.com>
References: <550072E2.3080203@gmail.com>	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>	<55007F68.4010502@gmail.com>	<F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>	<CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>
	<B5EEAC2C-403D-41E1-9609-3CCC35D9330B@gmail.com>
	<5501869A.8010704@gmail.com>
Message-ID: <F3A9D33A-B500-4354-A0E5-D5AACB400FB6@gmail.com>


Le 12 mars 2015 ? 05:29, Zolt?n V?r?s <zvoros at gmail.com> a ?crit :

> 
> 
> On 03/12/2015 12:13 AM, Matthias Bussonnier wrote:
>> in action.js.
>> 
>> 
>> when clicking on save button we ned to ensure that focus get back on notebook, so we call focus,
>> though when triggering the same action from keyboard, calling focus with to command mode.
>> 
>> Not a trivial change
> Too bad. I have actually looked at action.js, and I see that this 
> problem is a bit more involving. But is it not possible to inspect the 
> event in the 'save_notebook' action, and insert 
> env.notebook.focus_cell() for mouse clicks, and 
> env.notebook.command_mode() for key strokes? I have already tried this, 
> it nothing happened, though, I don't know, why...


Something like https://github.com/ipython/ipython/pull/8024 should help, if you want to have a look. 
-- 
M

> 
> 
> Cheers,
> Zolt?n
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/114ae7c0/attachment.html>

From rawlins at gmail.com  Thu Mar 12 17:35:35 2015
From: rawlins at gmail.com (Kyle Rawlins)
Date: Thu, 12 Mar 2015 17:35:35 -0400
Subject: [IPython-dev] question about command line options
In-Reply-To: <mailman.55685.1426115603.1087.ipython-dev@scipy.org>
References: <mailman.55685.1426115603.1087.ipython-dev@scipy.org>
Message-ID: <049853EA-50D8-4306-9259-93B11E5DBAC1@gmail.com>


On Mar 11, 2015, at 7:13 PM, ipython-dev-request at scipy.org wrote:

> Date: Wed, 11 Mar 2015 15:03:15 -0700
> From: Matthias Bussonnier <bussonniermatthias at gmail.com>
> Subject: Re: [IPython-dev] question about command line options
> To: IPython developers list <ipython-dev at scipy.org>
> Message-ID: <47FE28E8-BD62-4E80-A4A2-1A5B7AB86484 at gmail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> 
>> 	ipython3 notebook --IPKernelApp.exec_lines='["print(2)?]'
> 
> Passing config to kernel while starting the notebook app is not supported. 
> -- 
> M

ok.  I take it this applies to calls to NotebookApp.initialize as well?  Is there any approved way to do scripted setup for (ipython) kernels in this way (e.g. not in a personal config file) short of writing my own kernel?  This was apparently supported in 2, insofar as these options were present in --help-all (and no longer are), so some kind of workaround if there is any would be helpful.

Also, perhaps if this is the answer, you should consider not letting it ever work.  Right now setting IPKernelApp.exec_lines via command line mostly does do something, so the command line is still getting to IPKernelApp somehow, and it fails only in these complicated circumstances apparently relating to the automatic insertion of quotes.  I think sometimes it is pretty hard for those of us who haven't been steeped in the internals to understand exactly what can and should be configured when and how, because configuration is so flexible in IPython...

Thanks,
-kyle

From takowl at gmail.com  Thu Mar 12 18:51:30 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 12 Mar 2015 15:51:30 -0700
Subject: [IPython-dev] question about command line options
In-Reply-To: <049853EA-50D8-4306-9259-93B11E5DBAC1@gmail.com>
References: <mailman.55685.1426115603.1087.ipython-dev@scipy.org>
	<049853EA-50D8-4306-9259-93B11E5DBAC1@gmail.com>
Message-ID: <CAOvn4qjXoCWfn+SURkCM2cMiK1BFVcfNazxyZ8cXoN8iBpzJpw@mail.gmail.com>

On 12 March 2015 at 14:35, Kyle Rawlins <rawlins at gmail.com> wrote:

> Also, perhaps if this is the answer, you should consider not letting it
> ever work.  Right now setting IPKernelApp.exec_lines via command line
> mostly does do something, so the command line is still getting to
> IPKernelApp somehow, and it fails only in these complicated circumstances
> apparently relating to the automatic insertion of quotes.  I think
> sometimes it is pretty hard for those of us who haven't been steeped in the
> internals to understand exactly what can and should be configured when and
> how, because configuration is so flexible in IPython...


The only thing to remember is that the notebook config (command line
options and the ipython_notebook_config.py file) don't affect kernels. You
can workaround this by creating a kernelspec with extra command line
arguments for the kernel, but there isn't a way to do it purely at the
command line.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/bc7fb5f2/attachment.html>

From rmcgibbo at gmail.com  Thu Mar 12 19:40:10 2015
From: rmcgibbo at gmail.com (Robert McGibbon)
Date: Thu, 12 Mar 2015 16:40:10 -0700
Subject: [IPython-dev] Remote Launcher App?
Message-ID: <CAN4+E8GOF8+bc5mkE7mJ8FM6f46pe-6BjZ0Q0eqdWQhAMobvrQ@mail.gmail.com>

Hi,

I was wondering if anyone has made a small app OS X that is capable of
launching and stopping the notebook, preferably from a dropdown from top
menubar. I was thinking it would be nice to launch the notebook either
locally or remotely on a separate server connected with ssh port forwarding.

I was thinking of making this app for my own use (in my research, I use the
notebook and lots of different remote clusters over ssh). If someone has
already done this though, that would obviously save some work.

-Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/2c3c970c/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 12 19:43:17 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 12 Mar 2015 16:43:17 -0700
Subject: [IPython-dev] Remote Launcher App?
In-Reply-To: <CAN4+E8GOF8+bc5mkE7mJ8FM6f46pe-6BjZ0Q0eqdWQhAMobvrQ@mail.gmail.com>
References: <CAN4+E8GOF8+bc5mkE7mJ8FM6f46pe-6BjZ0Q0eqdWQhAMobvrQ@mail.gmail.com>
Message-ID: <1246376E-2F4F-4058-818A-4D0348C38096@gmail.com>


Le 12 mars 2015 ? 16:40, Robert McGibbon <rmcgibbo at gmail.com> a ?crit :

> Hi,
> 
> I was wondering if anyone has made a small app OS X that is capable of launching and stopping the notebook, preferably from a dropdown from top menubar. I was thinking it would be nice to launch the notebook either locally or remotely on a separate server connected with ssh port forwarding.
> 
> I was thinking of making this app for my own use (in my research, I use the notebook and lots of different remote clusters over ssh). If someone has already done this though, that would obviously save some work.


i've heard other request for that. 

Thomas wrote (https://github.com/takluyver/nbopen) that might be useful. 

There is the kronosnotebook app (http://www.kronosnotebook.com/ website seem down now) 

Keep us informed
-- 
M


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/e785d96a/attachment.html>

From casey.grun at post.harvard.edu  Thu Mar 12 21:58:43 2015
From: casey.grun at post.harvard.edu (Casey Grun)
Date: Thu, 12 Mar 2015 20:58:43 -0500
Subject: [IPython-dev] Remote Launcher App?
In-Reply-To: <1246376E-2F4F-4058-818A-4D0348C38096@gmail.com>
References: <CAN4+E8GOF8+bc5mkE7mJ8FM6f46pe-6BjZ0Q0eqdWQhAMobvrQ@mail.gmail.com>
	<1246376E-2F4F-4058-818A-4D0348C38096@gmail.com>
Message-ID: <CALfmCDOx+o609qWS-2GCQMXALS4rfHaXLAD1-RP1h9jMX+JJnw@mail.gmail.com>

I was hoping to do something like this using Platypus (
http://www.sveinbjorn.org/platypus), which lets you bundle shell (or
Python) scripts as app bundles and can tie into the menu bar and such.
Looks like nbopen could do the trick for me (I just wanted to be able to
double-click files in Finder), but maybe Platypus could help you?

On Thursday, March 12, 2015, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 12 mars 2015 ? 16:40, Robert McGibbon <rmcgibbo at gmail.com> a ?crit :
>
> Hi,
>
> I was wondering if anyone has made a small app OS X that is capable of
> launching and stopping the notebook, preferably from a dropdown from top
> menubar. I was thinking it would be nice to launch the notebook either
> locally or remotely on a separate server connected with ssh port forwarding.
>
> I was thinking of making this app for my own use (in my research, I use
> the notebook and lots of different remote clusters over ssh). If someone
> has already done this though, that would obviously save some work.
>
>
>
> i've heard other request for that.
>
> Thomas wrote (https://github.com/takluyver/nbopen) that might be useful.
>
> There is the kronosnotebook app (http://www.kronosnotebook.com/ website
> seem down now)
>
> Keep us informed
> --
> M
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/28ff56b1/attachment.html>

From zvoros at gmail.com  Fri Mar 13 03:37:05 2015
From: zvoros at gmail.com (=?windows-1252?Q?Zolt=E1n_V=F6r=F6s?=)
Date: Fri, 13 Mar 2015 08:37:05 +0100
Subject: [IPython-dev] Cntr-s makes cell inactive
In-Reply-To: <F3A9D33A-B500-4354-A0E5-D5AACB400FB6@gmail.com>
References: <550072E2.3080203@gmail.com>	<CAHNn8BU=5w8dKg2Uz2emzwNG4fV7rTpUhRjmjwKhXYQkdbke5g@mail.gmail.com>	<55007F68.4010502@gmail.com>	<F421387B-F093-4C30-8F7A-4345EF1E84EF@gmail.com>	<CAAHRMOXmyAP=x8uWQTGLS1HNwT-rnf377UdFCZh106n_eYDJmg@mail.gmail.com>	<B5EEAC2C-403D-41E1-9609-3CCC35D9330B@gmail.com>	<5501869A.8010704@gmail.com>
	<F3A9D33A-B500-4354-A0E5-D5AACB400FB6@gmail.com>
Message-ID: <550293A1.6070904@gmail.com>

Thanks, Matthias, I will try to come up with a fix.

Cheers,
Zolt?n

On 03/12/2015 06:41 PM, Matthias Bussonnier wrote:
>
> Le 12 mars 2015 ? 05:29, Zolt?n V?r?s <zvoros at gmail.com 
> <mailto:zvoros at gmail.com>> a ?crit :
>
>>
>>
>> On 03/12/2015 12:13 AM, Matthias Bussonnier wrote:
>>> in action.js.
>>>
>>>
>>> when clicking on save button we ned to ensure that focus get back on 
>>> notebook, so we call focus,
>>> though when triggering the same action from keyboard, calling focus 
>>> with to command mode.
>>>
>>> Not a trivial change
>> Too bad. I have actually looked at action.js, and I see that this
>> problem is a bit more involving. But is it not possible to inspect the
>> event in the 'save_notebook' action, and insert
>> env.notebook.focus_cell() for mouse clicks, and
>> env.notebook.command_mode() for key strokes? I have already tried this,
>> it nothing happened, though, I don't know, why...
>
>
> Something like https://github.com/ipython/ipython/pull/8024 should 
> help, if you want to have a look.
> -- 
> M
>
>>
>>
>> Cheers,
>> Zolt?n
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From rnelsonchem at gmail.com  Fri Mar 13 14:59:29 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Mar 2015 14:59:29 -0400
Subject: [IPython-dev] IPython's matplotlib inline magic is really magic?
 Actually it might resets axes bounds...
Message-ID: <CAFbt6ddPzCcErTY4dVWn3CnDD4B9quK2FdncGh6NBKJaYdkPGw@mail.gmail.com>

I'm constructing a multi-plot figure using an IPython notebook (v3) and
matplotlib (v1.4.3) inline magic. I was manually setting the axes bounds,
and I ended up with something like the following:

########
import matplotlib.pyplot as plt
%matplotlib inline

bottom = 0.12
top = 0.9
left = 0.12
axwidth = (1-(left*2))/3

fig = plt.figure(figsize=(10,4))

ax1 = fig.add_axes((left, bottom, axwidth, top))
ax1.set_title('Title')
#ax1.tick_params(labelleft=False)

ax2 = fig.add_axes((left+axwidth, bottom, axwidth, top),
                   sharex=ax1, sharey=ax1)
ax2.tick_params(labelleft=False)

ax3 = fig.add_axes((left+axwidth*2, bottom, axwidth, top),
                   sharex=ax1, sharey=ax1)
ax3.tick_params(labelleft=False)

fig.savefig('junk.pdf', format='pdf')
fig.savefig('junk2.png')
#######

Obviously, the bottom+top that I've selected is >1, so the axes should go
off the top of the figure. (Stupid, I know...) The axes in both the PDF and
PNG formatted files are clipped by the top of the figure as you would
expect; however, the figure that is displayed in the Notebook looks just
fine. In addition, if you add a title to one of the axes, the figure in
IPython suddenly creates more space for the text. Maybe it is rearranging
the axes information behind the scenes?

I'm curious why this design decision was made. I would say this is a bug.
Now that I know about this behavior, I can easily fix it. But new users
will be baffled when their saved figure looks nothing like the displayed
figure in the notebook.

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150313/a0e64fa2/attachment.html>

From rnelsonchem at gmail.com  Fri Mar 13 19:00:40 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Mar 2015 19:00:40 -0400
Subject: [IPython-dev] [Matplotlib-users] IPython's matplotlib inline
 magic is really magic? Actually it might resets axes bounds...
In-Reply-To: <CAA48SF_pxbcuZYE3wx1eNffuZ3W78G5DoDUFObYFJ0ZPPjnyfA@mail.gmail.com>
References: <CAFbt6ddPzCcErTY4dVWn3CnDD4B9quK2FdncGh6NBKJaYdkPGw@mail.gmail.com>
	<CAA48SF_pxbcuZYE3wx1eNffuZ3W78G5DoDUFObYFJ0ZPPjnyfA@mail.gmail.com>
Message-ID: <CAFbt6dfWhgvQFYhQgn7kXL2OXd8-ZQNsSWrrOKBo79r55ExRmQ@mail.gmail.com>

Thanks Tom.

Your hint led me to the following page:
https://github.com/ipython/ipython/blob/aab20bf85126f5b1da857193c446aebe6346acec/docs/source/whatsnew/version2.0.rst#other-changes
So it seems that this change is quite old, and I never noticed it before...
The suggestion on that page requires some incantation of the %config magic.
I tried this:
%config InlineBackend.print_figure_kwargs.bbox_inches = None
Which silently passes, but doesn't change the behavior.

Your rational for IPython's use of this kwarg by default is sound, and I
understand that there are valid use cases for it in some circumstances.
However, I still think this is problematic. I like MPL because you can make
a plot to your exact specifications -- but setting this kind of behavior by
default (without a well documented fix) feels a little "Microsoft
Office"-y... That being said, I really don't care all that much. IPython is
a fantastic tool. I'll just move my plotting code to a separate script and
tweak things there. (But then I won't be able to share the notebook with my
fancy plot embedded except as an external image. Can't have everything.)

I actually don't want any sort of 'tight' layout; however, just for
reference, the `tight_layout` function throws an error in my example.

Ryan




On Fri, Mar 13, 2015 at 4:03 PM, Thomas Caswell <tcaswell at gmail.com> wrote:

> This is due to the fact that by default the inline backend saves the pngs
> using `boundingbox_inches='tight'`.  The design goal on the mpl side of
> this kwargs was to trim off extra whitespace, but the way it is implemented
> works just as effectively to expand to fit artists that fall outside of the
> figure.  I assume the choice to make this the default in inline was to
> waste as little space as possible.
>
> A possibly more reliable method to get the same effect is to use
> `tight_layout` (see http://matplotlib.org/users/tight_layout_guide.html)
>
> There was talk of replacing that implementation with a linear constraint
> solver, but not much progress has been made in that direction (see
> https://github.com/matplotlib/matplotlib/issues/1109)
>
> Tom
>
> On Fri, Mar 13, 2015 at 3:01 PM Ryan Nelson <rnelsonchem at gmail.com> wrote:
>
>> I'm constructing a multi-plot figure using an IPython notebook (v3) and
>> matplotlib (v1.4.3) inline magic. I was manually setting the axes bounds,
>> and I ended up with something like the following:
>>
>> ########
>> import matplotlib.pyplot as plt
>> %matplotlib inline
>>
>> bottom = 0.12
>> top = 0.9
>> left = 0.12
>> axwidth = (1-(left*2))/3
>>
>> fig = plt.figure(figsize=(10,4))
>>
>> ax1 = fig.add_axes((left, bottom, axwidth, top))
>> ax1.set_title('Title')
>> #ax1.tick_params(labelleft=False)
>>
>> ax2 = fig.add_axes((left+axwidth, bottom, axwidth, top),
>>                    sharex=ax1, sharey=ax1)
>> ax2.tick_params(labelleft=False)
>>
>> ax3 = fig.add_axes((left+axwidth*2, bottom, axwidth, top),
>>                    sharex=ax1, sharey=ax1)
>> ax3.tick_params(labelleft=False)
>>
>> fig.savefig('junk.pdf', format='pdf')
>> fig.savefig('junk2.png')
>> #######
>>
>> Obviously, the bottom+top that I've selected is >1, so the axes should go
>> off the top of the figure. (Stupid, I know...) The axes in both the PDF and
>> PNG formatted files are clipped by the top of the figure as you would
>> expect; however, the figure that is displayed in the Notebook looks just
>> fine. In addition, if you add a title to one of the axes, the figure in
>> IPython suddenly creates more space for the text. Maybe it is rearranging
>> the axes information behind the scenes?
>>
>> I'm curious why this design decision was made. I would say this is a bug.
>> Now that I know about this behavior, I can easily fix it. But new users
>> will be baffled when their saved figure looks nothing like the displayed
>> figure in the notebook.
>>
>> Ryan
>> ------------------------------------------------------------
>> ------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150313/bce1a5d6/attachment.html>

From wes.turner at gmail.com  Fri Mar 13 19:07:31 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Fri, 13 Mar 2015 18:07:31 -0500
Subject: [IPython-dev] IPython's matplotlib inline magic is really
 magic? Actually it might resets axes bounds...
In-Reply-To: <CAFbt6ddPzCcErTY4dVWn3CnDD4B9quK2FdncGh6NBKJaYdkPGw@mail.gmail.com>
References: <CAFbt6ddPzCcErTY4dVWn3CnDD4B9quK2FdncGh6NBKJaYdkPGw@mail.gmail.com>
Message-ID: <CACfEFw_y3K_HSU9iMSrxCYZQAxdvkD3cOKL-qGT63sawkrkn4Q@mail.gmail.com>

Ryan,

http://wrdrd.github.io/docs/consulting/data-science.html#data-visualization-tools
On Mar 13, 2015 1:59 PM, "Ryan Nelson" <rnelsonchem at gmail.com> wrote:

> I'm constructing a multi-plot figure using an IPython notebook (v3) and
> matplotlib (v1.4.3) inline magic. I was manually setting the axes bounds,
> and I ended up with something like the following:
>
> ########
> import matplotlib.pyplot as plt
> %matplotlib inline
>
> bottom = 0.12
> top = 0.9
> left = 0.12
> axwidth = (1-(left*2))/3
>
> fig = plt.figure(figsize=(10,4))
>
> ax1 = fig.add_axes((left, bottom, axwidth, top))
> ax1.set_title('Title')
> #ax1.tick_params(labelleft=False)
>
> ax2 = fig.add_axes((left+axwidth, bottom, axwidth, top),
>                    sharex=ax1, sharey=ax1)
> ax2.tick_params(labelleft=False)
>
> ax3 = fig.add_axes((left+axwidth*2, bottom, axwidth, top),
>                    sharex=ax1, sharey=ax1)
> ax3.tick_params(labelleft=False)
>
> fig.savefig('junk.pdf', format='pdf')
> fig.savefig('junk2.png')
> #######
>
> Obviously, the bottom+top that I've selected is >1, so the axes should go
> off the top of the figure. (Stupid, I know...) The axes in both the PDF and
> PNG formatted files are clipped by the top of the figure as you would
> expect; however, the figure that is displayed in the Notebook looks just
> fine. In addition, if you add a title to one of the axes, the figure in
> IPython suddenly creates more space for the text. Maybe it is rearranging
> the axes information behind the scenes?
>
> I'm curious why this design decision was made. I would say this is a bug.
> Now that I know about this behavior, I can easily fix it. But new users
> will be baffled when their saved figure looks nothing like the displayed
> figure in the notebook.
>
> Ryan
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150313/ca6b44ad/attachment.html>

From rnelsonchem at gmail.com  Fri Mar 13 22:52:27 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Mar 2015 22:52:27 -0400
Subject: [IPython-dev] IPython's matplotlib inline magic is really
 magic? Actually it might resets axes bounds...
In-Reply-To: <CACfEFw_y3K_HSU9iMSrxCYZQAxdvkD3cOKL-qGT63sawkrkn4Q@mail.gmail.com>
References: <CAFbt6ddPzCcErTY4dVWn3CnDD4B9quK2FdncGh6NBKJaYdkPGw@mail.gmail.com>
	<CACfEFw_y3K_HSU9iMSrxCYZQAxdvkD3cOKL-qGT63sawkrkn4Q@mail.gmail.com>
Message-ID: <CAFbt6dfQvd=zoPv5J+0MmA2vXHa2aRbEmyFn1VJotHgErbMWKQ@mail.gmail.com>

Okay. I figured out the problem. You need to pass a dictionary to the
config magic. Here is the relevant code:

%config InlineBackend.print_figure_kwargs = {'bbox_inches':None}

I created a PR with IPython (https://github.com/ipython/ipython/pull/8051)
to add this information to the %matplotlib documentation, so this doesn't
cause confusion for others.

Thanks to all the IPython and MPL devs for these great tools!


On Fri, Mar 13, 2015 at 7:07 PM, Wes Turner <wes.turner at gmail.com> wrote:

> Ryan,
>
>
> http://wrdrd.github.io/docs/consulting/data-science.html#data-visualization-tools
> On Mar 13, 2015 1:59 PM, "Ryan Nelson" <rnelsonchem at gmail.com> wrote:
>
>> I'm constructing a multi-plot figure using an IPython notebook (v3) and
>> matplotlib (v1.4.3) inline magic. I was manually setting the axes bounds,
>> and I ended up with something like the following:
>>
>> ########
>> import matplotlib.pyplot as plt
>> %matplotlib inline
>>
>> bottom = 0.12
>> top = 0.9
>> left = 0.12
>> axwidth = (1-(left*2))/3
>>
>> fig = plt.figure(figsize=(10,4))
>>
>> ax1 = fig.add_axes((left, bottom, axwidth, top))
>> ax1.set_title('Title')
>> #ax1.tick_params(labelleft=False)
>>
>> ax2 = fig.add_axes((left+axwidth, bottom, axwidth, top),
>>                    sharex=ax1, sharey=ax1)
>> ax2.tick_params(labelleft=False)
>>
>> ax3 = fig.add_axes((left+axwidth*2, bottom, axwidth, top),
>>                    sharex=ax1, sharey=ax1)
>> ax3.tick_params(labelleft=False)
>>
>> fig.savefig('junk.pdf', format='pdf')
>> fig.savefig('junk2.png')
>> #######
>>
>> Obviously, the bottom+top that I've selected is >1, so the axes should go
>> off the top of the figure. (Stupid, I know...) The axes in both the PDF and
>> PNG formatted files are clipped by the top of the figure as you would
>> expect; however, the figure that is displayed in the Notebook looks just
>> fine. In addition, if you add a title to one of the axes, the figure in
>> IPython suddenly creates more space for the text. Maybe it is rearranging
>> the axes information behind the scenes?
>>
>> I'm curious why this design decision was made. I would say this is a bug.
>> Now that I know about this behavior, I can easily fix it. But new users
>> will be baffled when their saved figure looks nothing like the displayed
>> figure in the notebook.
>>
>> Ryan
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150313/a0c1092a/attachment.html>

From crocha at ucsd.edu  Mon Mar 16 04:03:39 2015
From: crocha at ucsd.edu (Cesar B Rocha)
Date: Mon, 16 Mar 2015 01:03:39 -0700
Subject: [IPython-dev] multiple figures in notebook
Message-ID: <CANAKJj91xBfw249_diimc-N8q7rBR8OtSnO4_cqBFfz6u5+e6Q@mail.gmail.com>

I'm plotting multiple figures in the same notebook (v3) cell (I'm using
chrome). The figures correctly appear inline in the output box. But when I
scroll up some of the figures overshadow the previous cell. The figures
used to stay in the box in v2. Is this a bug?

import numpy as np
from numpy import pi,cos
import matplotlib.pyplot as plt
%matplotlib inline

x = np.linspace(0,1,100)
k = 2*pi*np.arange(10)

for i in range(k.size):
    plt.figure()
    plt.plot(x,cos(k[i]*x))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/8ac15619/attachment.html>

From roalexan at microsoft.com  Mon Mar 16 09:55:23 2015
From: roalexan at microsoft.com (Robert Alexander)
Date: Mon, 16 Mar 2015 13:55:23 +0000
Subject: [IPython-dev] how to prevent spam, ddos, etc. from IPython notebooks
Message-ID: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>

Do people have any advice/experience on how to prevent spam, ddos, etc. from users' IPython notebooks? Since arbitrary Python code is what IPython notebook is all about (see: http://ipython.org/ipython-doc/dev/notebook/security.html), this might be difficult to achieve.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/ace4787d/attachment.html>

From wstein at gmail.com  Mon Mar 16 10:14:00 2015
From: wstein at gmail.com (William Stein)
Date: Mon, 16 Mar 2015 07:14:00 -0700
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
Message-ID: <CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>

On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
<roalexan at microsoft.com> wrote:
> Do people have any advice/experience on how to prevent spam, ddos, etc. from
> users' IPython notebooks? Since arbitrary Python code is what IPython
> notebook is all about (see:
> http://ipython.org/ipython-doc/dev/notebook/security.html), this might be
> difficult to achieve.

For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
notebook servers, by default I use a firewall to disable most outside
network access by default.  Uses can write to me to explain what they
are doing and request network access.

Last year I was having fairly regular problems with people using
SageMathCloud to launch hacking attacks against targets, which
resulted in complaints from those targets.   I also had problems with
people downloading content, e.g., from MathSciNet, which violated
their terms of usage (this was an unintentional mistake by a grad
student).    Basically, SageMathCloud would regularly get flagged by
University of Washington Netops.  Once I setup a firewall with a small
*whitelist* (including, e.g., github), I haven't had one single
problem like this.

 -- William

>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
William (http://wstein.org)


From benjaminrk at gmail.com  Mon Mar 16 12:49:34 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 16 Mar 2015 10:49:34 -0600
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
Message-ID: <CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>

tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach to
SageMathCloud. User containers simply have no network access. We should
probably adopt a strict whitelist of services like William has done.

-MinRK

On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com> wrote:

> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
> <roalexan at microsoft.com> wrote:
> > Do people have any advice/experience on how to prevent spam, ddos, etc.
> from
> > users' IPython notebooks? Since arbitrary Python code is what IPython
> > notebook is all about (see:
> > http://ipython.org/ipython-doc/dev/notebook/security.html), this might
> be
> > difficult to achieve.
>
> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
> notebook servers, by default I use a firewall to disable most outside
> network access by default.  Uses can write to me to explain what they
> are doing and request network access.
>
> Last year I was having fairly regular problems with people using
> SageMathCloud to launch hacking attacks against targets, which
> resulted in complaints from those targets.   I also had problems with
> people downloading content, e.g., from MathSciNet, which violated
> their terms of usage (this was an unintentional mistake by a grad
> student).    Basically, SageMathCloud would regularly get flagged by
> University of Washington Netops.  Once I setup a firewall with a small
> *whitelist* (including, e.g., github), I haven't had one single
> problem like this.
>
>  -- William
>
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
>
>
>
> --
> William (http://wstein.org)
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/e152de63/attachment.html>

From wstein at gmail.com  Mon Mar 16 12:58:43 2015
From: wstein at gmail.com (William Stein)
Date: Mon, 16 Mar 2015 09:58:43 -0700
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
Message-ID: <CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>

On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:

> tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach to
> SageMathCloud. User containers simply have no network access. We should
> probably adopt a strict whitelist of services like William has done.
>
>
Do people complain?


> -MinRK
>
> On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com
> <javascript:_e(%7B%7D,'cvml','wstein at gmail.com');>> wrote:
>
>> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
>> <roalexan at microsoft.com
>> <javascript:_e(%7B%7D,'cvml','roalexan at microsoft.com');>> wrote:
>> > Do people have any advice/experience on how to prevent spam, ddos, etc.
>> from
>> > users' IPython notebooks? Since arbitrary Python code is what IPython
>> > notebook is all about (see:
>> > http://ipython.org/ipython-doc/dev/notebook/security.html), this might
>> be
>> > difficult to achieve.
>>
>> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
>> notebook servers, by default I use a firewall to disable most outside
>> network access by default.  Uses can write to me to explain what they
>> are doing and request network access.
>>
>> Last year I was having fairly regular problems with people using
>> SageMathCloud to launch hacking attacks against targets, which
>> resulted in complaints from those targets.   I also had problems with
>> people downloading content, e.g., from MathSciNet, which violated
>> their terms of usage (this was an unintentional mistake by a grad
>> student).    Basically, SageMathCloud would regularly get flagged by
>> University of Washington Netops.  Once I setup a firewall with a small
>> *whitelist* (including, e.g., github), I haven't had one single
>> problem like this.
>>
>>  -- William
>>
>> >
>> >
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >
>>
>>
>>
>> --
>> William (http://wstein.org)
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>

-- 
William (http://wstein.org)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/821f49be/attachment.html>

From raymond.yee at gmail.com  Mon Mar 16 13:03:51 2015
From: raymond.yee at gmail.com (Raymond Yee)
Date: Mon, 16 Mar 2015 10:03:51 -0700
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
	<CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
Message-ID: <55070CF7.9080705@gmail.com>

re whitelisting, a possibly useful model is what pythonanywhere does:

https://www.pythonanywhere.com/wiki/403ForbiddenError (you can ask for
sites to be put on the whitelist)
https://www.pythonanywhere.com/whitelist/ (sites free users can access)

-Raymond

On 3/16/15 9:58 AM, William Stein wrote:
>
>
> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com
> <mailto:benjaminrk at gmail.com>> wrote:
>
>     tmpnb (try.jupyter.org <http://try.jupyter.org>) takes a similar,
>     if more restrictive, approach to SageMathCloud. User containers
>     simply have no network access. We should probably adopt a strict
>     whitelist of services like William has done.
>
>
> Do people complain?
>  
>
>     -MinRK
>
>     On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com
>     <javascript:_e(%7B%7D,'cvml','wstein at gmail.com');>> wrote:
>
>         On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
>         <roalexan at microsoft.com
>         <javascript:_e(%7B%7D,'cvml','roalexan at microsoft.com');>> wrote:
>         > Do people have any advice/experience on how to prevent spam,
>         ddos, etc. from
>         > users' IPython notebooks? Since arbitrary Python code is
>         what IPython
>         > notebook is all about (see:
>         > http://ipython.org/ipython-doc/dev/notebook/security.html),
>         this might be
>         > difficult to achieve.
>
>         For SageMathCloud (https://cloud.sagemath.com), which hosts
>         IPython
>         notebook servers, by default I use a firewall to disable most
>         outside
>         network access by default.  Uses can write to me to explain
>         what they
>         are doing and request network access.
>
>         Last year I was having fairly regular problems with people using
>         SageMathCloud to launch hacking attacks against targets, which
>         resulted in complaints from those targets.   I also had
>         problems with
>         people downloading content, e.g., from MathSciNet, which violated
>         their terms of usage (this was an unintentional mistake by a grad
>         student).    Basically, SageMathCloud would regularly get
>         flagged by
>         University of Washington Netops.  Once I setup a firewall with
>         a small
>         *whitelist* (including, e.g., github), I haven't had one single
>         problem like this.
>
>          -- William
>
>         >
>         >
>         > _______________________________________________
>         > IPython-dev mailing list
>         > IPython-dev at scipy.org
>         <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>         > http://mail.scipy.org/mailman/listinfo/ipython-dev
>         >
>
>
>
>         --
>         William (http://wstein.org)
>         _______________________________________________
>         IPython-dev mailing list
>         IPython-dev at scipy.org
>         <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>         http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> -- 
> William (http://wstein.org)
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/b5136507/attachment.html>

From benjaminrk at gmail.com  Mon Mar 16 13:27:14 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 16 Mar 2015 11:27:14 -0600
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
	<CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
Message-ID: <CAHNn8BWbPOJdjFXNrLD0+q-1OZhQvesvKTFszLzAbWpM_x3h_Q@mail.gmail.com>

On Mon, Mar 16, 2015 at 10:58 AM, William Stein <wstein at gmail.com> wrote:

>
>
> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:
>
>> tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach
>> to SageMathCloud. User containers simply have no network access. We should
>> probably adopt a strict whitelist of services like William has done.
>>
>>
> Do people complain?
>

I think we've had a question or two, but not much that I'm aware of. Unlike
SMC, try.jupyter is really for doing quick demos of the notebook itself,
not a hosted place to do actual work, which I think results in a big
difference in expectations of what should be possible or allowed. The
network lockdown emphasizes that, as does the ephemeral nature of the
containers.

-MinRK


>
>
>> -MinRK
>>
>> On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com> wrote:
>>
>>> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
>>> <roalexan at microsoft.com> wrote:
>>> > Do people have any advice/experience on how to prevent spam, ddos,
>>> etc. from
>>> > users' IPython notebooks? Since arbitrary Python code is what IPython
>>> > notebook is all about (see:
>>> > http://ipython.org/ipython-doc/dev/notebook/security.html), this
>>> might be
>>> > difficult to achieve.
>>>
>>> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
>>> notebook servers, by default I use a firewall to disable most outside
>>> network access by default.  Uses can write to me to explain what they
>>> are doing and request network access.
>>>
>>> Last year I was having fairly regular problems with people using
>>> SageMathCloud to launch hacking attacks against targets, which
>>> resulted in complaints from those targets.   I also had problems with
>>> people downloading content, e.g., from MathSciNet, which violated
>>> their terms of usage (this was an unintentional mistake by a grad
>>> student).    Basically, SageMathCloud would regularly get flagged by
>>> University of Washington Netops.  Once I setup a firewall with a small
>>> *whitelist* (including, e.g., github), I haven't had one single
>>> problem like this.
>>>
>>>  -- William
>>>
>>> >
>>> >
>>> > _______________________________________________
>>> > IPython-dev mailing list
>>> > IPython-dev at scipy.org
>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> >
>>>
>>>
>>>
>>> --
>>> William (http://wstein.org)
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>>
>
> --
> William (http://wstein.org)
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/eaccbd16/attachment.html>

From bussonniermatthias at gmail.com  Mon Mar 16 13:29:24 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 16 Mar 2015 10:29:24 -0700
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
	<CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
Message-ID: <3099F657-B7B9-4F55-A2E0-F4AA240EEA14@gmail.com>


Le 16 mars 2015 ? 09:58, William Stein <wstein at gmail.com> a ?crit :

> 
> 
> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:
> tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach to SageMathCloud. User containers simply have no network access. We should probably adopt a strict whitelist of services like William has done.
> 
> 
> Do people complain?

No, but some do report bug that requests or url lib does not work. 
In the other hand, we don't persist user notebooks, so people
probably don't push the server as far as with SageMath.
-- 
M



>  
> -MinRK
> 
> On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com> wrote:
> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
> <roalexan at microsoft.com> wrote:
> > Do people have any advice/experience on how to prevent spam, ddos, etc. from
> > users' IPython notebooks? Since arbitrary Python code is what IPython
> > notebook is all about (see:
> > http://ipython.org/ipython-doc/dev/notebook/security.html), this might be
> > difficult to achieve.
> 
> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
> notebook servers, by default I use a firewall to disable most outside
> network access by default.  Uses can write to me to explain what they
> are doing and request network access.
> 
> Last year I was having fairly regular problems with people using
> SageMathCloud to launch hacking attacks against targets, which
> resulted in complaints from those targets.   I also had problems with
> people downloading content, e.g., from MathSciNet, which violated
> their terms of usage (this was an unintentional mistake by a grad
> student).    Basically, SageMathCloud would regularly get flagged by
> University of Washington Netops.  Once I setup a firewall with a small
> *whitelist* (including, e.g., github), I haven't had one single
> problem like this.
> 
>  -- William
> 
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> 
> 
> 
> --
> William (http://wstein.org)
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> 
> -- 
> William (http://wstein.org)
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/9649eabf/attachment.html>

From wstein at gmail.com  Mon Mar 16 13:32:14 2015
From: wstein at gmail.com (William Stein)
Date: Mon, 16 Mar 2015 10:32:14 -0700
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CAHNn8BWbPOJdjFXNrLD0+q-1OZhQvesvKTFszLzAbWpM_x3h_Q@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
	<CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
	<CAHNn8BWbPOJdjFXNrLD0+q-1OZhQvesvKTFszLzAbWpM_x3h_Q@mail.gmail.com>
Message-ID: <CACLE5GAan+M+jSi9+ob-7Zr9Su9pv=Jr71bbgGP4Z0N4QjtT=A@mail.gmail.com>

On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:

>
>
> On Mon, Mar 16, 2015 at 10:58 AM, William Stein <wstein at gmail.com
> <javascript:_e(%7B%7D,'cvml','wstein at gmail.com');>> wrote:
>
>>
>>
>> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com
>> <javascript:_e(%7B%7D,'cvml','benjaminrk at gmail.com');>> wrote:
>>
>>> tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach
>>> to SageMathCloud. User containers simply have no network access. We should
>>> probably adopt a strict whitelist of services like William has done.
>>>
>>>
>> Do people complain?
>>
>
> I think we've had a question or two, but not much that I'm aware of.
> Unlike SMC, try.jupyter is really for doing quick demos of the notebook
> itself, not a hosted place to do actual work, which I think results in a
> big difference in expectations of what should be possible or allowed. The
> network lockdown emphasizes that, as does the ephemeral nature of the
> containers.
>


I just looked around the try.jupyter site (on a tablet) and couldn't even
find an email or feedback link. So that might slightly reduce the amount of
feedback you get.

>
> -MinRK
>
>
>>
>>
>>> -MinRK
>>>
>>> On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com> wrote:
>>>
>>>> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
>>>> <roalexan at microsoft.com> wrote:
>>>> > Do people have any advice/experience on how to prevent spam, ddos,
>>>> etc. from
>>>> > users' IPython notebooks? Since arbitrary Python code is what IPython
>>>> > notebook is all about (see:
>>>> > http://ipython.org/ipython-doc/dev/notebook/security.html), this
>>>> might be
>>>> > difficult to achieve.
>>>>
>>>> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
>>>> notebook servers, by default I use a firewall to disable most outside
>>>> network access by default.  Uses can write to me to explain what they
>>>> are doing and request network access.
>>>>
>>>> Last year I was having fairly regular problems with people using
>>>> SageMathCloud to launch hacking attacks against targets, which
>>>> resulted in complaints from those targets.   I also had problems with
>>>> people downloading content, e.g., from MathSciNet, which violated
>>>> their terms of usage (this was an unintentional mistake by a grad
>>>> student).    Basically, SageMathCloud would regularly get flagged by
>>>> University of Washington Netops.  Once I setup a firewall with a small
>>>> *whitelist* (including, e.g., github), I haven't had one single
>>>> problem like this.
>>>>
>>>>  -- William
>>>>
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > IPython-dev mailing list
>>>> > IPython-dev at scipy.org
>>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> William (http://wstein.org)
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>
>>>
>>
>> --
>> William (http://wstein.org)
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>

-- 
William (http://wstein.org)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/5b603772/attachment.html>

From benjaminrk at gmail.com  Mon Mar 16 13:46:20 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 16 Mar 2015 11:46:20 -0600
Subject: [IPython-dev] how to prevent spam, ddos,
	etc. from IPython notebooks
In-Reply-To: <CACLE5GAan+M+jSi9+ob-7Zr9Su9pv=Jr71bbgGP4Z0N4QjtT=A@mail.gmail.com>
References: <DM2PR03MB477EF889B81F59FF33B121DC3020@DM2PR03MB477.namprd03.prod.outlook.com>
	<CACLE5GCznE=DfBwVGy89ZmmJb3wH-p8ZZtfjg19yDV6=XZdYsw@mail.gmail.com>
	<CAHNn8BVhW0NsQtr11Tfo4RK4rKDTRc_m1C7O_WqJ2vS6vzih+w@mail.gmail.com>
	<CACLE5GC-hGqpzL8jzohOWNZyF-Jh7nxJVq=J8V9sfkuZZvE1VQ@mail.gmail.com>
	<CAHNn8BWbPOJdjFXNrLD0+q-1OZhQvesvKTFszLzAbWpM_x3h_Q@mail.gmail.com>
	<CACLE5GAan+M+jSi9+ob-7Zr9Su9pv=Jr71bbgGP4Z0N4QjtT=A@mail.gmail.com>
Message-ID: <CAHNn8BWF8f0+0smMRswRCF4Sw2d2NxysZmxMsvaJuUFQf1sECA@mail.gmail.com>

On Mon, Mar 16, 2015 at 11:32 AM, William Stein <wstein at gmail.com> wrote:

>
>
> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:
>
>>
>>
>> On Mon, Mar 16, 2015 at 10:58 AM, William Stein <wstein at gmail.com> wrote:
>>
>>>
>>>
>>> On Monday, March 16, 2015, MinRK <benjaminrk at gmail.com> wrote:
>>>
>>>> tmpnb (try.jupyter.org) takes a similar, if more restrictive, approach
>>>> to SageMathCloud. User containers simply have no network access. We should
>>>> probably adopt a strict whitelist of services like William has done.
>>>>
>>>>
>>> Do people complain?
>>>
>>
>> I think we've had a question or two, but not much that I'm aware of.
>> Unlike SMC, try.jupyter is really for doing quick demos of the notebook
>> itself, not a hosted place to do actual work, which I think results in a
>> big difference in expectations of what should be possible or allowed. The
>> network lockdown emphasizes that, as does the ephemeral nature of the
>> containers.
>>
>
>
> I just looked around the try.jupyter site (on a tablet) and couldn't even
> find an email or feedback link. So that might slightly reduce the amount of
> feedback you get.
>


That's certainly one way to curtail feedback. We should put a link to the
mailing list somewhere discoverable (currently it's only on jupyter.org,
nowhere on try that I know of).

-MinRK



>
>> -MinRK
>>
>>
>>>
>>>
>>>> -MinRK
>>>>
>>>> On Mon, Mar 16, 2015 at 8:14 AM, William Stein <wstein at gmail.com>
>>>> wrote:
>>>>
>>>>> On Mon, Mar 16, 2015 at 6:55 AM, Robert Alexander
>>>>> <roalexan at microsoft.com> wrote:
>>>>> > Do people have any advice/experience on how to prevent spam, ddos,
>>>>> etc. from
>>>>> > users' IPython notebooks? Since arbitrary Python code is what IPython
>>>>> > notebook is all about (see:
>>>>> > http://ipython.org/ipython-doc/dev/notebook/security.html), this
>>>>> might be
>>>>> > difficult to achieve.
>>>>>
>>>>> For SageMathCloud (https://cloud.sagemath.com), which hosts IPython
>>>>> notebook servers, by default I use a firewall to disable most outside
>>>>> network access by default.  Uses can write to me to explain what they
>>>>> are doing and request network access.
>>>>>
>>>>> Last year I was having fairly regular problems with people using
>>>>> SageMathCloud to launch hacking attacks against targets, which
>>>>> resulted in complaints from those targets.   I also had problems with
>>>>> people downloading content, e.g., from MathSciNet, which violated
>>>>> their terms of usage (this was an unintentional mistake by a grad
>>>>> student).    Basically, SageMathCloud would regularly get flagged by
>>>>> University of Washington Netops.  Once I setup a firewall with a small
>>>>> *whitelist* (including, e.g., github), I haven't had one single
>>>>> problem like this.
>>>>>
>>>>>  -- William
>>>>>
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > IPython-dev mailing list
>>>>> > IPython-dev at scipy.org
>>>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> William (http://wstein.org)
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>
>>>>
>>>
>>> --
>>> William (http://wstein.org)
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>
> --
> William (http://wstein.org)
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/5e6009da/attachment.html>

From mkpaustin at gmail.com  Mon Mar 16 17:24:27 2015
From: mkpaustin at gmail.com (taleb brost)
Date: Mon, 16 Mar 2015 14:24:27 -0700
Subject: [IPython-dev] best way to strip output cells for a v4 notebook?
Message-ID: <CAHz=Vsw5AZ-6sY733Oy159KgrYwVYULJJ4ypz2U1f67gDn5C9A@mail.gmail.com>

I'm using code from

https://github.com/petered/plato/blob/fb2f4e252f50c79768920d0e47b870a8d799e92b/notebooks/config/strip_notebook_output

to filter my notebooks when they're committed to github.

Is this the best approach, or would something that uses

ClearOutputPreprocessor.enabled=True

be preferable?

Thanks, Phil Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/37327e84/attachment.html>

From nathan12343 at gmail.com  Mon Mar 16 17:30:22 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Mon, 16 Mar 2015 14:30:22 -0700
Subject: [IPython-dev] best way to strip output cells for a v4 notebook?
In-Reply-To: <CAHz=Vsw5AZ-6sY733Oy159KgrYwVYULJJ4ypz2U1f67gDn5C9A@mail.gmail.com>
References: <CAHz=Vsw5AZ-6sY733Oy159KgrYwVYULJJ4ypz2U1f67gDn5C9A@mail.gmail.com>
Message-ID: <CAJXewOkbDPbkcUfcPZ3Q0UQkskxtKTruv1vEH-mPO42qkziyUA@mail.gmail.com>

On Mon, Mar 16, 2015 at 2:24 PM, taleb brost <mkpaustin at gmail.com> wrote:

> I'm using code from
>
>
> https://github.com/petered/plato/blob/fb2f4e252f50c79768920d0e47b870a8d799e92b/notebooks/config/strip_notebook_output
>
> to filter my notebooks when they're committed to github.
>
> Is this the best approach, or would something that uses
>
> ClearOutputPreprocessor.enabled=True
>
>
Given that the IPython devs can and do change the notebook format, it would
probably be preferable to use the ClearOutputPreprocessor, if only because
it will be easier to maintain and less likely to break due to internal
changes in IPython or the notebook format.



> be preferable?
>
> Thanks, Phil Austin
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/a5cf6658/attachment.html>

From itissid at gmail.com  Mon Mar 16 18:28:56 2015
From: itissid at gmail.com (Sid)
Date: Mon, 16 Mar 2015 18:28:56 -0400
Subject: [IPython-dev] Future of the IPython widget system
Message-ID: <CA+M3ju=zGANrqavBEzocO5sXGJ50Ux9sdn8Bc=ky00hYYYDHiw@mail.gmail.com>

Hi,
Could one of the devs comment on the direction and motivations of the
widget system.

I understand that the widget system was probably invented for IPython to
communicate to the browser for its own UI needs. But:

1  What are the plans for its stability vis-a-vis its usability to general
end users?

2 What APIs are likely to change post 3.0 if we assume that the current
system API is stable in its current form.

OR

3 Are there alternatives being considered to replace the extant system in
case a total revamp is planned for the API.


-Regards
Sid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/562805f6/attachment.html>

From mkpaustin at gmail.com  Mon Mar 16 19:53:54 2015
From: mkpaustin at gmail.com (taleb brost)
Date: Mon, 16 Mar 2015 16:53:54 -0700
Subject: [IPython-dev] best way to strip output cells for a v4 notebook?
In-Reply-To: <CAJXewOkbDPbkcUfcPZ3Q0UQkskxtKTruv1vEH-mPO42qkziyUA@mail.gmail.com>
References: <CAHz=Vsw5AZ-6sY733Oy159KgrYwVYULJJ4ypz2U1f67gDn5C9A@mail.gmail.com>
	<CAJXewOkbDPbkcUfcPZ3Q0UQkskxtKTruv1vEH-mPO42qkziyUA@mail.gmail.com>
Message-ID: <CAHz=Vsw+aO8UmwWLc8kUG-ZB6nKmFmFSSUu62AP6W9k2im5BCQ@mail.gmail.com>

On Mon, Mar 16, 2015 at 2:30 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

>
> Given that the IPython devs can and do change the notebook format, it
> would probably be preferable to use the ClearOutputPreprocessor, if only
> because it will be easier to maintain and less likely to break due to
> internal changes in IPython or the notebook format.
>

For the record, this  seems to work:

https://gist.github.com/phaustin/32c29f7f1a7684bab255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/f76b5281/attachment.html>

From bussonniermatthias at gmail.com  Mon Mar 16 20:06:26 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 16 Mar 2015 17:06:26 -0700
Subject: [IPython-dev] Future of the IPython widget system
In-Reply-To: <CA+M3ju=zGANrqavBEzocO5sXGJ50Ux9sdn8Bc=ky00hYYYDHiw@mail.gmail.com>
References: <CA+M3ju=zGANrqavBEzocO5sXGJ50Ux9sdn8Bc=ky00hYYYDHiw@mail.gmail.com>
Message-ID: <48A5451B-DB0E-4F76-8169-33581C95877E@gmail.com>


Le 16 mars 2015 ? 15:28, Sid <itissid at gmail.com> a ?crit :

> Hi,
> Could one of the devs comment on the direction and motivations of the widget system.
> 
> I understand that the widget system was probably invented for IPython to communicate to the browser for its own UI needs.

Technically there are comms and widgets as twi difference abstractions. 

For widgets: 

> But:
> 
> 1  What are the plans for its stability vis-a-vis its usability to general end users?

Basic library, someone could build on top. 

> 
> 2 What APIs are likely to change post 3.0 if we assume that the current system API is stable in its current form. 

Lot can change, it will be split into its own package soon-ish.

> 
> OR
> 
> 3 Are there alternatives being considered to replace the extant system in case a total revamp is planned for the API.

Always iterating and searching for better API/libs to be used with. 
-- 
M

> 
> 
> -Regards
> Sid
> 
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From ana at ananelson.com  Wed Mar 18 12:11:58 2015
From: ana at ananelson.com (Ana Nelson)
Date: Wed, 18 Mar 2015 09:11:58 -0700
Subject: [IPython-dev] running/getting output into a new
	programmatically-generated notebook
Message-ID: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>

I'm creating notebooks via nbformat following the pattern of Fernando's v4
gist:
http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646

(BTW it might be helpful to link to the new gist from the older version
here http://nbviewer.ipython.org/gist/fperez/9716279)

I'd like to run a command line script to populate the outputs in this
notebook so that when a user opens the generated notebook, it has already
been run.

I thought that might have been the intention of the ipython -c '%run
test.ipynb' command, but that doesn't seem to have any effect. Am I doing
something wrong or is there some other command I should be calling?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/0528b708/attachment.html>

From maplabs at light42.com  Wed Mar 18 12:13:09 2015
From: maplabs at light42.com (=?utf-8?b?QnJpYW4gTSBIYW1saW4=?=)
Date: Wed, 18 Mar 2015 09:13:09 -0700
Subject: [IPython-dev] GSOC candidate project on OSGeo Live
Message-ID: <20150318091309.kt2e4a3r400c40kg@webmail.light42.com>

fyi -

??? http://wiki.osgeo.org/wiki/Live_GIS_GSoC_2015

--
Brian M Hamlin
OSGeo California Chapter
blog.light42.com



From zvoros at gmail.com  Wed Mar 18 12:17:32 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Wed, 18 Mar 2015 17:17:32 +0100
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
Message-ID: <CAAHRMOXGH8MaoR2cOe1xHhULQH56K6ZE3hEGjpfzkBB=Gn1sTQ@mail.gmail.com>

Hi Ana,

You could use Thomas' runipy project for this. I have to say that it is
really handy for problems like this.

I hope this helps,

Zolt?n
On 18 Mar 2015 17:12, "Ana Nelson" <ana at ananelson.com> wrote:

> I'm creating notebooks via nbformat following the pattern of Fernando's v4
> gist:
> http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646
>
> (BTW it might be helpful to link to the new gist from the older version
> here http://nbviewer.ipython.org/gist/fperez/9716279)
>
> I'd like to run a command line script to populate the outputs in this
> notebook so that when a user opens the generated notebook, it has already
> been run.
>
> I thought that might have been the intention of the ipython -c '%run
> test.ipynb' command, but that doesn't seem to have any effect. Am I doing
> something wrong or is there some other command I should be calling?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/10aa2e8f/attachment.html>

From ana at ananelson.com  Wed Mar 18 12:27:24 2015
From: ana at ananelson.com (Ana Nelson)
Date: Wed, 18 Mar 2015 09:27:24 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAAHRMOXGH8MaoR2cOe1xHhULQH56K6ZE3hEGjpfzkBB=Gn1sTQ@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAAHRMOXGH8MaoR2cOe1xHhULQH56K6ZE3hEGjpfzkBB=Gn1sTQ@mail.gmail.com>
Message-ID: <CALG0cFEYECv168vZLfFnebqhV8c-tKGocaJRuRc8QLFeHoKRVQ@mail.gmail.com>

I was looking at that and wondering if that was the way to go. I'll give
that a try, thanks.

It might be worth adding a link to that and also clarifying what the run
command does here
http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646 (and also the
'live notebook' link gives a 404).


On Wed, Mar 18, 2015 at 9:17 AM, Zolt?n V?r?s <zvoros at gmail.com> wrote:

> Hi Ana,
>
> You could use Thomas' runipy project for this. I have to say that it is
> really handy for problems like this.
>
> I hope this helps,
>
> Zolt?n
> On 18 Mar 2015 17:12, "Ana Nelson" <ana at ananelson.com> wrote:
>
>> I'm creating notebooks via nbformat following the pattern of Fernando's
>> v4 gist:
>> http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646
>>
>> (BTW it might be helpful to link to the new gist from the older version
>> here http://nbviewer.ipython.org/gist/fperez/9716279)
>>
>> I'd like to run a command line script to populate the outputs in this
>> notebook so that when a user opens the generated notebook, it has already
>> been run.
>>
>> I thought that might have been the intention of the ipython -c '%run
>> test.ipynb' command, but that doesn't seem to have any effect. Am I doing
>> something wrong or is there some other command I should be calling?
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/2e80b64f/attachment.html>

From anand.prabhakar.patil at gmail.com  Wed Mar 18 12:47:12 2015
From: anand.prabhakar.patil at gmail.com (Anand Patil)
Date: Wed, 18 Mar 2015 09:47:12 -0700
Subject: [IPython-dev] [ANN] Sense.io launch
Message-ID: <CAFzWkZFskmDQcuBvfirBg8TYucEjEOQCVi=iZgrsvASqxQOYbg@mail.gmail.com>

Hi everyone,

Just a quick note to announce the official launch of Sense.io, a
collaborative platform to accelerate data science from exploration to
production. Sense makes it easier for teams and enterprises to
collaborate using powerful open-source data science tools like IPython
and the SciPy/NumPy ecosystem.

Please check out
http://blog.sense.io/introducing-sense-a-platform-for-data-science/ to
learn more!

Anand


From takowl at gmail.com  Wed Mar 18 13:03:22 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 18 Mar 2015 10:03:22 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
Message-ID: <CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>

Nbconvert now includes an execute preprocessor which executes a notebook,
recording the outputs back into that notebook. This is based on runipy,
which Zolt?n mentioned, and you can use it either from Python code or at
the command line (ipython nbconvert --execute ...).

https://github.com/ipython/ipython/blob/master/IPython/nbconvert/preprocessors/execute.py

Thomas

On 18 March 2015 at 09:11, Ana Nelson <ana at ananelson.com> wrote:

> I'm creating notebooks via nbformat following the pattern of Fernando's v4
> gist:
> http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646
>
> (BTW it might be helpful to link to the new gist from the older version
> here http://nbviewer.ipython.org/gist/fperez/9716279)
>
> I'd like to run a command line script to populate the outputs in this
> notebook so that when a user opens the generated notebook, it has already
> been run.
>
> I thought that might have been the intention of the ipython -c '%run
> test.ipynb' command, but that doesn't seem to have any effect. Am I doing
> something wrong or is there some other command I should be calling?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/87b7bc4a/attachment.html>

From ana at ananelson.com  Wed Mar 18 13:15:02 2015
From: ana at ananelson.com (Ana Nelson)
Date: Wed, 18 Mar 2015 10:15:02 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
Message-ID: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>

Yes, thanks. Prefer a builtin tool so it stays in sync. runipy doesn't seem
to be nbformat v4 compatible (at this time).

Currently calling it like this:

        subprocess.check_output([
            'ipython',
            'nbconvert',
            '--execute',
            '--to', 'notebook',
            '--output', nbPath,
            nbPath
            ])



On Wed, Mar 18, 2015 at 10:03 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> Nbconvert now includes an execute preprocessor which executes a notebook,
> recording the outputs back into that notebook. This is based on runipy,
> which Zolt?n mentioned, and you can use it either from Python code or at
> the command line (ipython nbconvert --execute ...).
>
>
> https://github.com/ipython/ipython/blob/master/IPython/nbconvert/preprocessors/execute.py
>
> Thomas
>
> On 18 March 2015 at 09:11, Ana Nelson <ana at ananelson.com> wrote:
>
>> I'm creating notebooks via nbformat following the pattern of Fernando's
>> v4 gist:
>> http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646
>>
>> (BTW it might be helpful to link to the new gist from the older version
>> here http://nbviewer.ipython.org/gist/fperez/9716279)
>>
>> I'd like to run a command line script to populate the outputs in this
>> notebook so that when a user opens the generated notebook, it has already
>> been run.
>>
>> I thought that might have been the intention of the ipython -c '%run
>> test.ipynb' command, but that doesn't seem to have any effect. Am I doing
>> something wrong or is there some other command I should be calling?
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/a67ba676/attachment.html>

From zvoros at gmail.com  Wed Mar 18 13:33:28 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Wed, 18 Mar 2015 18:33:28 +0100
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
	<CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
Message-ID: <CAAHRMOXjFVViQf+=C6wqWjGtroBxVhzPvYFgP4to=mRP906_EA@mail.gmail.com>

On Wed, Mar 18, 2015 at 6:15 PM, Ana Nelson <ana at ananelson.com> wrote:

> Yes, thanks. Prefer a builtin tool so it stays in sync. runipy doesn't
> seem to be nbformat v4 compatible (at this time).
>
>
In the sense that it produces a v3 output. But it can still process v4
inputs.

By the way, I have just noticed that ipython3 creates v3 notebooks, while
ipython2 creates v4. Is this by accident?



> Currently calling it like this:
>
>         subprocess.check_output([
>             'ipython',
>             'nbconvert',
>             '--execute',
>             '--to', 'notebook',
>             '--output', nbPath,
>             nbPath
>             ])
>
>
>
> On Wed, Mar 18, 2015 at 10:03 AM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> Nbconvert now includes an execute preprocessor which executes a notebook,
>> recording the outputs back into that notebook. This is based on runipy,
>> which Zolt?n mentioned, and you can use it either from Python code or at
>> the command line (ipython nbconvert --execute ...).
>>
>>
>> https://github.com/ipython/ipython/blob/master/IPython/nbconvert/preprocessors/execute.py
>>
>> Thomas
>>
>> On 18 March 2015 at 09:11, Ana Nelson <ana at ananelson.com> wrote:
>>
>>> I'm creating notebooks via nbformat following the pattern of Fernando's
>>> v4 gist:
>>> http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646
>>>
>>> (BTW it might be helpful to link to the new gist from the older version
>>> here http://nbviewer.ipython.org/gist/fperez/9716279)
>>>
>>> I'd like to run a command line script to populate the outputs in this
>>> notebook so that when a user opens the generated notebook, it has already
>>> been run.
>>>
>>> I thought that might have been the intention of the ipython -c '%run
>>> test.ipynb' command, but that doesn't seem to have any effect. Am I doing
>>> something wrong or is there some other command I should be calling?
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/33f50207/attachment.html>

From takowl at gmail.com  Wed Mar 18 13:51:41 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 18 Mar 2015 10:51:41 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
	<CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
Message-ID: <CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>

On 18 March 2015 at 10:15, Ana Nelson <ana at ananelson.com> wrote:

> Currently calling it like this:
>
>         subprocess.check_output([
>             'ipython',
>             'nbconvert',
>             '--execute',
>             '--to', 'notebook',
>             '--output', nbPath,
>             nbPath
>             ])
>

For the record, if you need to make it more efficient, it should be fairly
simple to do the same thing in-process, rather than running a separate
IPython process to do it. Something like:

nb = nbformat.read(nbPath, as_version=4)
ExecutePreprocessor().preprocess(nb)
nbformat.write(nb, nbPath)

(Untested)

> By the way, I have just noticed that ipython3 creates v3 notebooks, while
ipython2 creates v4. Is this by accident?

How did you get that? IPython 3 should create v4 notebooks, and IPython 2
should create v3 notebooks.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/b9cccc42/attachment.html>

From zvoros at gmail.com  Wed Mar 18 14:01:42 2015
From: zvoros at gmail.com (=?UTF-8?B?Wm9sdMOhbiBWw7Zyw7Zz?=)
Date: Wed, 18 Mar 2015 19:01:42 +0100
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
	<CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>
Message-ID: <CAAHRMOW1Dk-c4Ex1kyC1D3QVAs9Z_=3WUo_XH0_HGWa0A6Er1w@mail.gmail.com>

Hi Thomas,


> By the way, I have just noticed that ipython3 creates v3 notebooks, while
ipython2 creates v4. Is this by accident?

How did you get that? IPython 3 should create v4 notebooks, and IPython 2
> should create v3 notebooks.
>

Well, I was simply wrong, sorry. What tripped me was that I launched a
python2 kernel, while the server was actually running on python3, and then
I just looked at the kernel specs in the notebook. You are right, the
notebook is version 4, irrespective of the actual kernel type.

Zolt?n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/5819744c/attachment.html>

From ana at ananelson.com  Wed Mar 18 14:13:42 2015
From: ana at ananelson.com (Ana Nelson)
Date: Wed, 18 Mar 2015 11:13:42 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
	<CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>
Message-ID: <CALG0cFHzeh4LuO97T2FW5ESeT6O0j8SzA8XD80LhU3UbUEgpmQ@mail.gmail.com>

It wanted a resources argument, an empty dict seems to work.

ExecutePreprocessor().preprocess(nb, {})




On Wed, Mar 18, 2015 at 10:51 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 18 March 2015 at 10:15, Ana Nelson <ana at ananelson.com> wrote:
>
>> Currently calling it like this:
>>
>>         subprocess.check_output([
>>             'ipython',
>>             'nbconvert',
>>             '--execute',
>>             '--to', 'notebook',
>>             '--output', nbPath,
>>             nbPath
>>             ])
>>
>
> For the record, if you need to make it more efficient, it should be fairly
> simple to do the same thing in-process, rather than running a separate
> IPython process to do it. Something like:
>
> nb = nbformat.read(nbPath, as_version=4)
> ExecutePreprocessor().preprocess(nb)
> nbformat.write(nb, nbPath)
>
> (Untested)
>
> > By the way, I have just noticed that ipython3 creates v3 notebooks,
> while ipython2 creates v4. Is this by accident?
>
> How did you get that? IPython 3 should create v4 notebooks, and IPython 2
> should create v3 notebooks.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/06b7f166/attachment.html>

From takowl at gmail.com  Wed Mar 18 14:17:08 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 18 Mar 2015 11:17:08 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CALG0cFHzeh4LuO97T2FW5ESeT6O0j8SzA8XD80LhU3UbUEgpmQ@mail.gmail.com>
References: <CALG0cFGFOOV4_FYbrqutdoJ7u72yCY2EV0hzuMMMuLXcdCw5RA@mail.gmail.com>
	<CAOvn4qgUOo=Wh2AjnN1UG6QLGW6SWCWQpmCAgKDoR6SsOWmHEQ@mail.gmail.com>
	<CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<CAOvn4qhezFr1M8=_HbE3jVMgM2tvfLhhrS27bMdX-Dby9YOfdQ@mail.gmail.com>
	<CALG0cFHzeh4LuO97T2FW5ESeT6O0j8SzA8XD80LhU3UbUEgpmQ@mail.gmail.com>
Message-ID: <CAOvn4qjX5yHZ5_7+b=PHKfRBcHxMUJCcgi=VZ1vG=o=+Xn9Uzw@mail.gmail.com>

On 18 March 2015 at 11:13, Ana Nelson <ana at ananelson.com> wrote:

> It wanted a resources argument, an empty dict seems to work.
>
> ExecutePreprocessor().preprocess(nb, {})
>

Looking at the code, you may want to pass it {'metadata': {'path': nbPath}}
- that will run the kernel with the cwd set to the directory containing the
notebook.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/61cad20b/attachment.html>

From bussonniermatthias at gmail.com  Wed Mar 18 16:50:55 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 18 Mar 2015 13:50:55 -0700
Subject: [IPython-dev] [ANN] Sense.io launch
In-Reply-To: <CAFzWkZFskmDQcuBvfirBg8TYucEjEOQCVi=iZgrsvASqxQOYbg@mail.gmail.com>
References: <CAFzWkZFskmDQcuBvfirBg8TYucEjEOQCVi=iZgrsvASqxQOYbg@mail.gmail.com>
Message-ID: <A4EA946D-126B-4F84-A1C5-9D4BF1EBDBAC@gmail.com>

Thanks, 

And good luck for the launch.

IIRC, you did announce sens roughly a year ago and it was named sens platform right ? 
It's nice to see things moving forward! 
-- 
MD


Le 18 mars 2015 ? 09:47, Anand Patil <anand.prabhakar.patil at gmail.com> a ?crit :

> Hi everyone,
> 
> Just a quick note to announce the official launch of Sense.io, a
> collaborative platform to accelerate data science from exploration to
> production. Sense makes it easier for teams and enterprises to
> collaborate using powerful open-source data science tools like IPython
> and the SciPy/NumPy ecosystem.
> 
> Please check out
> http://blog.sense.io/introducing-sense-a-platform-for-data-science/ to
> learn more!
> 
> Anand
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From rawlins at gmail.com  Wed Mar 18 18:10:30 2015
From: rawlins at gmail.com (Kyle Rawlins)
Date: Wed, 18 Mar 2015 18:10:30 -0400
Subject: [IPython-dev] question about command line options
In-Reply-To: <mailman.3.1426266001.12866.ipython-dev@scipy.org>
References: <mailman.3.1426266001.12866.ipython-dev@scipy.org>
Message-ID: <015A0792-160E-4F82-94F7-033EE8D28386@gmail.com>


On Mar 13, 2015, at 1:00 PM, ipython-dev-request at scipy.org wrote:
> Date: Thu, 12 Mar 2015 15:51:30 -0700
> From: Thomas Kluyver <takowl at gmail.com>
> Subject: Re: [IPython-dev] question about command line options
> To: IPython developers list <ipython-dev at scipy.org>
> Message-ID:
> 	<CAOvn4qjXoCWfn+SURkCM2cMiK1BFVcfNazxyZ8cXoN8iBpzJpw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On 12 March 2015 at 14:35, Kyle Rawlins <rawlins at gmail.com> wrote:
> 
>> Also, perhaps if this is the answer, you should consider not letting it
>> ever work.  Right now setting IPKernelApp.exec_lines via command line
>> mostly does do something, so the command line is still getting to
>> IPKernelApp somehow, and it fails only in these complicated circumstances
>> apparently relating to the automatic insertion of quotes.  I think
>> sometimes it is pretty hard for those of us who haven't been steeped in the
>> internals to understand exactly what can and should be configured when and
>> how, because configuration is so flexible in IPython...
> 
> 
> The only thing to remember is that the notebook config (command line
> options and the ipython_notebook_config.py file) don't affect kernels.

Just to double check, part of what was throwing me is that the following _does_ cause something to be printed in IPython 3:
	ipython notebook --'IPKernelApp.exec_lines=[print(23)]?
Not sure why this would work given this discussion, and it doesn?t get printed exactly when I?d expect (but that is also true for IPython 2, where the effects of this trait set via the command line or an initial config on the app do percolate down to kernels).

> You
> can workaround this by creating a kernelspec with extra command line
> arguments for the kernel, but there isn't a way to do it purely at the
> command line.

Thanks, this was the hint that I needed.  The command line issue was just a distillation of how I was starting a very lightly branded version of the notebook app via a script in IPython 2 (based originally on a recipe from several versions ago).  I ended up dynamically generating a kernel spec and installing it on the fly using the kernel spec API ? as overkill(/crazy) as this might seem, it is fairly easy to do this and it seems to work well for my purposes.
-kyle

-- 
Kyle Rawlins
http://sites.krieger.jhu.edu/rawlins/
Department of Cognitive Science
Johns Hopkins University



From takowl at gmail.com  Wed Mar 18 18:32:34 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 18 Mar 2015 15:32:34 -0700
Subject: [IPython-dev] question about command line options
In-Reply-To: <015A0792-160E-4F82-94F7-033EE8D28386@gmail.com>
References: <mailman.3.1426266001.12866.ipython-dev@scipy.org>
	<015A0792-160E-4F82-94F7-033EE8D28386@gmail.com>
Message-ID: <CAOvn4qibowAGk-fmR3H45F+=E2tsFz3YHC=9Aex48FS7YSctAQ@mail.gmail.com>

On 18 March 2015 at 15:10, Kyle Rawlins <rawlins at gmail.com> wrote:

> Just to double check, part of what was throwing me is that the following
> _does_ cause something to be printed in IPython 3:
>         ipython notebook --'IPKernelApp.exec_lines=[print(23)]?


Yep, that's a bizarre side effect of the way we handle command line options
(the print call actually gets evaluated as we parse the options). It should
be fixed in 3.1 by this PR:
https://github.com/ipython/ipython/pull/8030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/82271d01/attachment.html>

From anand.prabhakar.patil at gmail.com  Wed Mar 18 19:46:29 2015
From: anand.prabhakar.patil at gmail.com (Anand Patil)
Date: Wed, 18 Mar 2015 16:46:29 -0700
Subject: [IPython-dev] [ANN] Sense.io launch
In-Reply-To: <A4EA946D-126B-4F84-A1C5-9D4BF1EBDBAC@gmail.com>
References: <CAFzWkZFskmDQcuBvfirBg8TYucEjEOQCVi=iZgrsvASqxQOYbg@mail.gmail.com>
	<A4EA946D-126B-4F84-A1C5-9D4BF1EBDBAC@gmail.com>
Message-ID: <CAFzWkZEc2SXuyXCWEbVP1VGhLG1dNNxh1HgtDmkb762jSHgT1w@mail.gmail.com>

Hi Matthias,

Thanks for the wishing us luck! You are correct, we did announce a
public beta roughly a year ago, and it was senseplatform then.

IPython is still the foundation of our Python engine. In addition,
since the last announcement, we've worked harder at integrating with
the visualization libraries in the IPython ecosystem. Anyone who signs
up for a new account will see some examples. ;)

Cheers,
Anand

On Wed, Mar 18, 2015 at 1:50 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
> Thanks,
>
> And good luck for the launch.
>
> IIRC, you did announce sens roughly a year ago and it was named sens platform right ?
> It's nice to see things moving forward!
> --
> MD
>
>
> Le 18 mars 2015 ? 09:47, Anand Patil <anand.prabhakar.patil at gmail.com> a ?crit :
>
>> Hi everyone,
>>
>> Just a quick note to announce the official launch of Sense.io, a
>> collaborative platform to accelerate data science from exploration to
>> production. Sense makes it easier for teams and enterprises to
>> collaborate using powerful open-source data science tools like IPython
>> and the SciPy/NumPy ecosystem.
>>
>> Please check out
>> http://blog.sense.io/introducing-sense-a-platform-for-data-science/ to
>> learn more!
>>
>> Anand
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From jlstevens at ed.ac.uk  Thu Mar 19 13:35:05 2015
From: jlstevens at ed.ac.uk (Jean-Luc Stevens)
Date: Thu, 19 Mar 2015 17:35:05 +0000
Subject: [IPython-dev] ANN: HoloViews 1.0 released
Message-ID: <550B08C9.7040309@ed.ac.uk>

We are pleased to announce the first public release of HoloViews, a
Python package for scientific and engineering data visualization:

    http://ioam.github.io/holoviews

HoloViews provides composable, sliceable, declarative data structures
for building even complex visualizations easily.

It's designed to exploit the rich ecosystem of scientific Python tools
already available, using Numpy for data storage, matplotlib and mpld3
as plotting backends, and integrating fully with IPython Notebook to
make your data instantly visible.

If you look at the website for just about any other visualization
package, you'll see a long list of pretty pictures, each one of which
has a page or two of code putting it together.  There are pretty
pictures in HoloViews too, but there is *no* hidden code -- *all* of
the steps needed to build a given figure are shown right before the
HoloViews plot, with just a few lines needed for nearly all of our
examples, even complex multi-figure subplots and animations.  This
concise but flexible specification makes it practical to explore and
analyze your data interactively, while leaving a full record for later
reproducibility in the notebook.

It may sound like magic, but it's not -- HoloViews simply lets you
annotate your data with appropriate metadata, and then the data can
display itself!  HoloViews provides a set of general, compositional,
multidimensional data structures suitable for both discrete and
continuous real-world data, and pairs them with separate customizable
plotting classes to visualize them without extensive coding.  A
large collection of continuously tested IPython Notebook tutorials
accompanies HoloViews, showing you precisely the small number of steps
required to generate any of the plots.

Some of the most important features:

- Freely available under a BSD license
- Python 2 and 3 compatible
- Minimal external dependencies -- easy to integrate into your workflow
- Builds figures by slicing, sampling, and composing your data
- Builds web-embeddable animations without any extra coding
- Easily customizable without obscuring the underlying data objects
- Includes interfaces to pandas and Seaborn
- Winner of the 2015 UK Open Source Award

For the rest, check out ioam.github.io/holoviews!

Jean-Luc Stevens
Philipp Rudiger
James A. Bednar

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



From bussonniermatthias at gmail.com  Thu Mar 19 13:58:06 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 19 Mar 2015 10:58:06 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <550B08C9.7040309@ed.ac.uk>
References: <550B08C9.7040309@ed.ac.uk>
Message-ID: <94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>

Hi Jean-Luc.

I've seen that the other day, 
It's nice. 

I've seen in particular that you are building docs as notebook. 
We plan to do the same for IPython, any plan to make this 
part more standalone / pip-installable ?
Or is it already ?

Thanks ! 
-- 
M

Le 19 mars 2015 ? 10:35, Jean-Luc Stevens <jlstevens at ed.ac.uk> a ?crit :

> We are pleased to announce the first public release of HoloViews, a
> Python package for scientific and engineering data visualization:
> 
>    http://ioam.github.io/holoviews
> 
> HoloViews provides composable, sliceable, declarative data structures
> for building even complex visualizations easily.
> 
> It's designed to exploit the rich ecosystem of scientific Python tools
> already available, using Numpy for data storage, matplotlib and mpld3
> as plotting backends, and integrating fully with IPython Notebook to
> make your data instantly visible.
> 
> If you look at the website for just about any other visualization
> package, you'll see a long list of pretty pictures, each one of which
> has a page or two of code putting it together.  There are pretty
> pictures in HoloViews too, but there is *no* hidden code -- *all* of
> the steps needed to build a given figure are shown right before the
> HoloViews plot, with just a few lines needed for nearly all of our
> examples, even complex multi-figure subplots and animations.  This
> concise but flexible specification makes it practical to explore and
> analyze your data interactively, while leaving a full record for later
> reproducibility in the notebook.
> 
> It may sound like magic, but it's not -- HoloViews simply lets you
> annotate your data with appropriate metadata, and then the data can
> display itself!  HoloViews provides a set of general, compositional,
> multidimensional data structures suitable for both discrete and
> continuous real-world data, and pairs them with separate customizable
> plotting classes to visualize them without extensive coding.  A
> large collection of continuously tested IPython Notebook tutorials
> accompanies HoloViews, showing you precisely the small number of steps
> required to generate any of the plots.
> 
> Some of the most important features:
> 
> - Freely available under a BSD license
> - Python 2 and 3 compatible
> - Minimal external dependencies -- easy to integrate into your workflow
> - Builds figures by slicing, sampling, and composing your data
> - Builds web-embeddable animations without any extra coding
> - Easily customizable without obscuring the underlying data objects
> - Includes interfaces to pandas and Seaborn
> - Winner of the 2015 UK Open Source Award
> 
> For the rest, check out ioam.github.io/holoviews!
> 
> Jean-Luc Stevens
> Philipp Rudiger
> James A. Bednar
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From wstein at gmail.com  Thu Mar 19 14:24:21 2015
From: wstein at gmail.com (William Stein)
Date: Thu, 19 Mar 2015 11:24:21 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <550B08C9.7040309@ed.ac.uk>
References: <550B08C9.7040309@ed.ac.uk>
Message-ID: <CACLE5GDnrYJsSc9GW3L10unHGZJmqaEU9-=SDe-mfB1Caka_-Q@mail.gmail.com>

On Thu, Mar 19, 2015 at 10:35 AM, Jean-Luc Stevens <jlstevens at ed.ac.uk> wrote:
> We are pleased to announce the first public release of HoloViews, a
> Python package for scientific and engineering data visualization:
>
>     http://ioam.github.io/holoviews
>
> HoloViews provides composable, sliceable, declarative data structures
> for building even complex visualizations easily.

Nice.  I've added holoviews so it is available by default for all
projects on SageMathCloud (https://cloud.sagemath.com).  Here's an
example IPython notebook:

   https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-03-19-111401-holoviews.html

and Sage worksheet:

   https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-03-19-111407-holoviews.sagews

 -- William

>
> It's designed to exploit the rich ecosystem of scientific Python tools
> already available, using Numpy for data storage, matplotlib and mpld3
> as plotting backends, and integrating fully with IPython Notebook to
> make your data instantly visible.
>
> If you look at the website for just about any other visualization
> package, you'll see a long list of pretty pictures, each one of which
> has a page or two of code putting it together.  There are pretty
> pictures in HoloViews too, but there is *no* hidden code -- *all* of
> the steps needed to build a given figure are shown right before the
> HoloViews plot, with just a few lines needed for nearly all of our
> examples, even complex multi-figure subplots and animations.  This
> concise but flexible specification makes it practical to explore and
> analyze your data interactively, while leaving a full record for later
> reproducibility in the notebook.
>
> It may sound like magic, but it's not -- HoloViews simply lets you
> annotate your data with appropriate metadata, and then the data can
> display itself!  HoloViews provides a set of general, compositional,
> multidimensional data structures suitable for both discrete and
> continuous real-world data, and pairs them with separate customizable
> plotting classes to visualize them without extensive coding.  A
> large collection of continuously tested IPython Notebook tutorials
> accompanies HoloViews, showing you precisely the small number of steps
> required to generate any of the plots.
>
> Some of the most important features:
>
> - Freely available under a BSD license
> - Python 2 and 3 compatible
> - Minimal external dependencies -- easy to integrate into your workflow
> - Builds figures by slicing, sampling, and composing your data
> - Builds web-embeddable animations without any extra coding
> - Easily customizable without obscuring the underlying data objects
> - Includes interfaces to pandas and Seaborn
> - Winner of the 2015 UK Open Source Award
>
> For the rest, check out ioam.github.io/holoviews!
>
> Jean-Luc Stevens
> Philipp Rudiger
> James A. Bednar
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



-- 
William (http://wstein.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-03-19 at 11.24.04 AM.png
Type: image/png
Size: 841338 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/64061c55/attachment.png>

From jlstevens at ed.ac.uk  Thu Mar 19 14:44:09 2015
From: jlstevens at ed.ac.uk (Jean-Luc Stevens)
Date: Thu, 19 Mar 2015 18:44:09 +0000
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <CACLE5GDnrYJsSc9GW3L10unHGZJmqaEU9-=SDe-mfB1Caka_-Q@mail.gmail.com>
References: <550B08C9.7040309@ed.ac.uk>
	<CACLE5GDnrYJsSc9GW3L10unHGZJmqaEU9-=SDe-mfB1Caka_-Q@mail.gmail.com>
Message-ID: <550B18F9.3070104@ed.ac.uk>

Thank you very much!

We already had a go testing HoloViews on SageMathCloud to check it all worked 
correctly. Having it available by default will be wonderful though!

Jean-Luc


On 19/03/15 18:24, William Stein wrote:
> On Thu, Mar 19, 2015 at 10:35 AM, Jean-Luc Stevens <jlstevens at ed.ac.uk> wrote:
>> We are pleased to announce the first public release of HoloViews, a
>> Python package for scientific and engineering data visualization:
>>
>>      http://ioam.github.io/holoviews
>>
>> HoloViews provides composable, sliceable, declarative data structures
>> for building even complex visualizations easily.
>
> Nice.  I've added holoviews so it is available by default for all
> projects on SageMathCloud (https://cloud.sagemath.com).  Here's an
> example IPython notebook:
>
>     https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-03-19-111401-holoviews.html
>
> and Sage worksheet:
>
>     https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-03-19-111407-holoviews.sagews
>
>   -- William
>
>>
>> It's designed to exploit the rich ecosystem of scientific Python tools
>> already available, using Numpy for data storage, matplotlib and mpld3
>> as plotting backends, and integrating fully with IPython Notebook to
>> make your data instantly visible.
>>
>> If you look at the website for just about any other visualization
>> package, you'll see a long list of pretty pictures, each one of which
>> has a page or two of code putting it together.  There are pretty
>> pictures in HoloViews too, but there is *no* hidden code -- *all* of
>> the steps needed to build a given figure are shown right before the
>> HoloViews plot, with just a few lines needed for nearly all of our
>> examples, even complex multi-figure subplots and animations.  This
>> concise but flexible specification makes it practical to explore and
>> analyze your data interactively, while leaving a full record for later
>> reproducibility in the notebook.
>>
>> It may sound like magic, but it's not -- HoloViews simply lets you
>> annotate your data with appropriate metadata, and then the data can
>> display itself!  HoloViews provides a set of general, compositional,
>> multidimensional data structures suitable for both discrete and
>> continuous real-world data, and pairs them with separate customizable
>> plotting classes to visualize them without extensive coding.  A
>> large collection of continuously tested IPython Notebook tutorials
>> accompanies HoloViews, showing you precisely the small number of steps
>> required to generate any of the plots.
>>
>> Some of the most important features:
>>
>> - Freely available under a BSD license
>> - Python 2 and 3 compatible
>> - Minimal external dependencies -- easy to integrate into your workflow
>> - Builds figures by slicing, sampling, and composing your data
>> - Builds web-embeddable animations without any extra coding
>> - Easily customizable without obscuring the underlying data objects
>> - Includes interfaces to pandas and Seaborn
>> - Winner of the 2015 UK Open Source Award
>>
>> For the rest, check out ioam.github.io/holoviews!
>>
>> Jean-Luc Stevens
>> Philipp Rudiger
>> James A. Bednar
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



From P.Rudiger at ed.ac.uk  Thu Mar 19 16:27:37 2015
From: P.Rudiger at ed.ac.uk (PhilippJFR)
Date: Thu, 19 Mar 2015 13:27:37 -0700 (PDT)
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
References: <550B08C9.7040309@ed.ac.uk>
	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
Message-ID: <1426796857942-5089815.post@n6.nabble.com>

Matthias Bussonnier wrote
> I've seen in particular that you are building docs as notebook. 
> We plan to do the same for IPython, any plan to make this 
> part more standalone / pip-installable ?
> Or is it already ?

Hi Matthias, 

The notebook doc building is based on  Nathan Goldbaum's NotebookDirective
<https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt>  
for Sphinx. You can look at our version  here
<https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py>  , but
it's far from ready for distribution. The only real changes I made were to
switch to the basic html template and change some the hackery that's
required to clean up conflicting css and strip html tags so that it is
suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
testing system to capture our output, which allows us to dynamically
generate data and display comparisons as unit tests.

Presumably the part of the code that deals with cleaning up the nbconvert
output for Sphinx should be reimplemented as a nbconvert Postprocessor for
you to use. If you are also interested in our testing facilities, it would
be great to integrate that more tightly with IPython. We have recently added
an exporting system for notebooks, allowing you to save the data and display
output for each cell, which can be used either for archival purposes or to
set up test comparisons. If you're at all in interested in something like
that it would be great to chat about it at some point. 

Philipp



--
View this message in context: http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From nathan12343 at gmail.com  Thu Mar 19 16:36:20 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Thu, 19 Mar 2015 13:36:20 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <1426796857942-5089815.post@n6.nabble.com>
References: <550B08C9.7040309@ed.ac.uk>
	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
	<1426796857942-5089815.post@n6.nabble.com>
Message-ID: <CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>

On Thu, Mar 19, 2015 at 1:27 PM, PhilippJFR <P.Rudiger at ed.ac.uk> wrote:

> Matthias Bussonnier wrote
> > I've seen in particular that you are building docs as notebook.
> > We plan to do the same for IPython, any plan to make this
> > part more standalone / pip-installable ?
> > Or is it already ?
>
> Hi Matthias,
>
> The notebook doc building is based on  Nathan Goldbaum's NotebookDirective
> <
> https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt
> >
> for Sphinx. You can look at our version  here
> <https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py>  , but
> it's far from ready for distribution. The only real changes I made were to
> switch to the basic html template and change some the hackery that's
> required to clean up conflicting css and strip html tags so that it is
> suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
> testing system to capture our output, which allows us to dynamically
> generate data and display comparisons as unit tests.
>
> Presumably the part of the code that deals with cleaning up the nbconvert
> output for Sphinx should be reimplemented as a nbconvert Postprocessor for
> you to use. If you are also interested in our testing facilities, it would
> be great to integrate that more tightly with IPython. We have recently
> added
> an exporting system for notebooks, allowing you to save the data and
> display
> output for each cell, which can be used either for archival purposes or to
> set up test comparisons. If you're at all in interested in something like
> that it would be great to chat about it at some point.
>
>
Hi Philipp

I put this up on github a while ago.  I'd love to get a PR for any changes
you made.

https://github.com/ngoldbaum/runnotebook

I'd really love it if you (or maybe one of the IPython devs if they're
interested in this sort of thing) figured out how to use the jinja2
templates so I don't have to run silly regexes on the CSS.

-Nathan



> Philipp
>
>
>
> --
> View this message in context:
> http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/ae219c0d/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 19 17:16:17 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 19 Mar 2015 14:16:17 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>
References: <550B08C9.7040309@ed.ac.uk>
	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
	<1426796857942-5089815.post@n6.nabble.com>
	<CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>
Message-ID: <EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>

Hi all. 

Yes we are interested. 

In the next few month, we will be breaking IPython in a lot of smaller repos,
to allow faster evolution of each individual components.
So if there are a few people interested in working on notebook conversion integration process
we can do a working group, and/or a single repo in one organisation to prototype discuss.

-- 
M


Le 19 mars 2015 ? 13:36, Nathan Goldbaum <nathan12343 at gmail.com> a ?crit :

> 
> 
> On Thu, Mar 19, 2015 at 1:27 PM, PhilippJFR <P.Rudiger at ed.ac.uk> wrote:
> Matthias Bussonnier wrote
> > I've seen in particular that you are building docs as notebook.
> > We plan to do the same for IPython, any plan to make this
> > part more standalone / pip-installable ?
> > Or is it already ?
> 
> Hi Matthias,
> 
> The notebook doc building is based on  Nathan Goldbaum's NotebookDirective
> <https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt>
> for Sphinx. You can look at our version  here
> <https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py>  , but
> it's far from ready for distribution. The only real changes I made were to
> switch to the basic html template and change some the hackery that's
> required to clean up conflicting css and strip html tags so that it is
> suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
> testing system to capture our output, which allows us to dynamically
> generate data and display comparisons as unit tests.
> 
> Presumably the part of the code that deals with cleaning up the nbconvert
> output for Sphinx should be reimplemented as a nbconvert Postprocessor for
> you to use. If you are also interested in our testing facilities, it would
> be great to integrate that more tightly with IPython. We have recently added
> an exporting system for notebooks, allowing you to save the data and display
> output for each cell, which can be used either for archival purposes or to
> set up test comparisons. If you're at all in interested in something like
> that it would be great to chat about it at some point.
> 
> 
> Hi Philipp
> 
> I put this up on github a while ago.  I'd love to get a PR for any changes you made.
> 
> https://github.com/ngoldbaum/runnotebook
> 
> I'd really love it if you (or maybe one of the IPython devs if they're interested in this sort of thing) figured out how to use the jinja2 templates so I don't have to run silly regexes on the CSS.
> 
> -Nathan
> 
>  
> Philipp
> 
> 
> 
> --
> View this message in context: http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/42ed6248/attachment.html>

From nathan12343 at gmail.com  Thu Mar 19 17:18:49 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Thu, 19 Mar 2015 14:18:49 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>
References: <550B08C9.7040309@ed.ac.uk>
	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
	<1426796857942-5089815.post@n6.nabble.com>
	<CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>
	<EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>
Message-ID: <CAJXewOmwabtMbv4Um2QQWDnkoMUdUw1YcaKAey+KCsLKVoG6=g@mail.gmail.com>

On Thu, Mar 19, 2015 at 2:16 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hi all.
>
> Yes we are interested.
>
> In the next few month, we will be breaking IPython in a lot of smaller
> repos,
> to allow faster evolution of each individual components.
> So if there are a few people interested in working on notebook conversion
> integration process
> we can do a working group, and/or a single repo in one organisation to
> prototype discuss.
>
>
Assuming it happens after my thesis defense in May, I'd be up to
participate in this.

-- 
> M
>
>
> Le 19 mars 2015 ? 13:36, Nathan Goldbaum <nathan12343 at gmail.com> a ?crit :
>
>
>
> On Thu, Mar 19, 2015 at 1:27 PM, PhilippJFR <P.Rudiger at ed.ac.uk> wrote:
>
>> Matthias Bussonnier wrote
>> > I've seen in particular that you are building docs as notebook.
>> > We plan to do the same for IPython, any plan to make this
>> > part more standalone / pip-installable ?
>> > Or is it already ?
>>
>> Hi Matthias,
>>
>> The notebook doc building is based on  Nathan Goldbaum's NotebookDirective
>> <
>> https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt
>> >
>> for Sphinx. You can look at our version  here
>> <https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py>  , but
>> it's far from ready for distribution. The only real changes I made were to
>> switch to the basic html template and change some the hackery that's
>> required to clean up conflicting css and strip html tags so that it is
>> suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
>> testing system to capture our output, which allows us to dynamically
>> generate data and display comparisons as unit tests.
>>
>> Presumably the part of the code that deals with cleaning up the nbconvert
>> output for Sphinx should be reimplemented as a nbconvert Postprocessor for
>> you to use. If you are also interested in our testing facilities, it would
>> be great to integrate that more tightly with IPython. We have recently
>> added
>> an exporting system for notebooks, allowing you to save the data and
>> display
>> output for each cell, which can be used either for archival purposes or to
>> set up test comparisons. If you're at all in interested in something like
>> that it would be great to chat about it at some point.
>>
>>
> Hi Philipp
>
> I put this up on github a while ago.  I'd love to get a PR for any changes
> you made.
>
> https://github.com/ngoldbaum/runnotebook
>
> I'd really love it if you (or maybe one of the IPython devs if they're
> interested in this sort of thing) figured out how to use the jinja2
> templates so I don't have to run silly regexes on the CSS.
>
> -Nathan
>
>
>
>> Philipp
>>
>>
>>
>> --
>> View this message in context:
>> http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
>> Sent from the IPython - Development mailing list archive at Nabble.com.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/3e78e55a/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 19 17:23:16 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 19 Mar 2015 14:23:16 -0700
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <CAJXewOmwabtMbv4Um2QQWDnkoMUdUw1YcaKAey+KCsLKVoG6=g@mail.gmail.com>
References: <550B08C9.7040309@ed.ac.uk>
	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>
	<1426796857942-5089815.post@n6.nabble.com>
	<CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>
	<EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>
	<CAJXewOmwabtMbv4Um2QQWDnkoMUdUw1YcaKAey+KCsLKVoG6=g@mail.gmail.com>
Message-ID: <2D8B7D53-A903-46D2-8073-796D2DF16211@gmail.com>


Le 19 mars 2015 ? 14:18, Nathan Goldbaum <nathan12343 at gmail.com> a ?crit :

> Assuming it happens after my thesis defense in May,

Seem to be a habit to slack and do useful stuff during PhD...
Why are you here on this mailing list and not writing ? 
:-)

No hurry, the splitting of repos will take some time.  
-- 
M


> I'd be up to participate in this.
> 
> -- 
> M
> 
> 
> Le 19 mars 2015 ? 13:36, Nathan Goldbaum <nathan12343 at gmail.com> a ?crit :
> 
>> 
>> 
>> On Thu, Mar 19, 2015 at 1:27 PM, PhilippJFR <P.Rudiger at ed.ac.uk> wrote:
>> Matthias Bussonnier wrote
>> > I've seen in particular that you are building docs as notebook.
>> > We plan to do the same for IPython, any plan to make this
>> > part more standalone / pip-installable ?
>> > Or is it already ?
>> 
>> Hi Matthias,
>> 
>> The notebook doc building is based on  Nathan Goldbaum's NotebookDirective
>> <https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt>
>> for Sphinx. You can look at our version  here
>> <https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py>  , but
>> it's far from ready for distribution. The only real changes I made were to
>> switch to the basic html template and change some the hackery that's
>> required to clean up conflicting css and strip html tags so that it is
>> suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
>> testing system to capture our output, which allows us to dynamically
>> generate data and display comparisons as unit tests.
>> 
>> Presumably the part of the code that deals with cleaning up the nbconvert
>> output for Sphinx should be reimplemented as a nbconvert Postprocessor for
>> you to use. If you are also interested in our testing facilities, it would
>> be great to integrate that more tightly with IPython. We have recently added
>> an exporting system for notebooks, allowing you to save the data and display
>> output for each cell, which can be used either for archival purposes or to
>> set up test comparisons. If you're at all in interested in something like
>> that it would be great to chat about it at some point.
>> 
>> 
>> Hi Philipp
>> 
>> I put this up on github a while ago.  I'd love to get a PR for any changes you made.
>> 
>> https://github.com/ngoldbaum/runnotebook
>> 
>> I'd really love it if you (or maybe one of the IPython devs if they're interested in this sort of thing) figured out how to use the jinja2 templates so I don't have to run silly regexes on the CSS.
>> 
>> -Nathan
>> 
>>  
>> Philipp
>> 
>> 
>> 
>> --
>> View this message in context: http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
>> Sent from the IPython - Development mailing list archive at Nabble.com.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/a9c71b1b/attachment.html>

From takowl at gmail.com  Thu Mar 19 20:45:06 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 19 Mar 2015 17:45:06 -0700
Subject: [IPython-dev] Upcoming major changes to IPython repository
Message-ID: <CAOvn4qihJVpYabs3PcYWxM0Y1a6845wUC5sZrLMY+NDatZEsSg@mail.gmail.com>

Hi all,

Over the next few weeks, we're planning to split up the IPython repository
into a number of smaller repositories. This is going to be rather
disruptive for development, and for anyone running from master, so please
be patient - we'll try to get through this as quickly as we can.

We'll try to merge as many as possible of the outstanding PRs before we
start this refactoring, but any that we can't merge will probably have to
be re-made against the new repositories - we apologise in advance if this
affects you. If you're planning to make some changes to IPython, please
consider holding off for a few weeks to avoid having to make them twice.

We're splitting things up in this way for a number of reasons. IPython
currently includes components that change at very different rates, and it
will be easier to accommodate this if they can have separate release
schedules. We hope that having smaller, more modular codebases will also
make it easier for new developers to get involved. And as we're expanding
the IPython ecosystem with kernels for other languages and extensions to
change the notebook behaviour, we think that forcing ourselves to rely on
public APIs between pieces of our own project will ultimately make those
APIs better.

Thanks
Thomas, on behalf of the IPython core team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150319/45a0a6a4/attachment.html>

From P.Rudiger at ed.ac.uk  Thu Mar 19 21:27:01 2015
From: P.Rudiger at ed.ac.uk (Philipp Rudiger)
Date: Fri, 20 Mar 2015 01:27:01 +0000
Subject: [IPython-dev] ANN: HoloViews 1.0 released
In-Reply-To: <EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>
References: <550B08C9.7040309@ed.ac.uk>	<94203D5B-DE4A-4F4E-AD44-0DA7875D964C@gmail.com>	<1426796857942-5089815.post@n6.nabble.com>	<CAJXewO=dCpKSZy4o4vrVUvyZMDEc8tdm5EkN3T=FD61wkRaGbw@mail.gmail.com>
	<EDC16F71-50D6-4F93-A63F-A01CBEA4B842@gmail.com>
Message-ID: <550B7765.9030503@ed.ac.uk>

On 19/03/15 21:16, Matthias Bussonnier wrote:
> Hi all.
>
> Yes we are interested.
>
> In the next few month, we will be breaking IPython in a lot of smaller 
> repos,
> to allow faster evolution of each individual components.
> So if there are a few people interested in working on notebook 
> conversion integration process
> we can do a working group, and/or a single repo in one organisation to 
> prototype discuss.
>
That sounds good and I'll find some time to contribute in between my 
futile attempts at finishing my PhD. Let us know when things settle down 
after the big split and you're ready to turn your eye to documentation.

Philipp
>
> Le 19 mars 2015 ? 13:36, Nathan Goldbaum <nathan12343 at gmail.com 
> <mailto:nathan12343 at gmail.com>> a ?crit :
>
>>
>>
>> On Thu, Mar 19, 2015 at 1:27 PM, PhilippJFR <P.Rudiger at ed.ac.uk 
>> <mailto:P.Rudiger at ed.ac.uk>> wrote:
>>
>>     Matthias Bussonnier wrote
>>     > I've seen in particular that you are building docs as notebook.
>>     > We plan to do the same for IPython, any plan to make this
>>     > part more standalone / pip-installable ?
>>     > Or is it already ?
>>
>>     Hi Matthias,
>>
>>     The notebook doc building is based on  Nathan Goldbaum's
>>     NotebookDirective
>>     <https://bitbucket.org/ngoldbaum/yt-samfork/src/601247197187c1814a073d3bca831bf4e6cd5db7/doc/extensions/notebook_sphinxext.py?at=yt>
>>     for Sphinx. You can look at our version  here
>>     <https://github.com/ioam/ioam-builder/blob/nbpublisher/nbbuild.py> ,
>>     but
>>     it's far from ready for distribution. The only real changes I
>>     made were to
>>     switch to the basic html template and change some the hackery that's
>>     required to clean up conflicting css and strip html tags so that
>>     it is
>>     suitable for Sphinx. Additionally, thanks to Jean-Luc it hooks into a
>>     testing system to capture our output, which allows us to dynamically
>>     generate data and display comparisons as unit tests.
>>
>>     Presumably the part of the code that deals with cleaning up the
>>     nbconvert
>>     output for Sphinx should be reimplemented as a nbconvert
>>     Postprocessor for
>>     you to use. If you are also interested in our testing facilities,
>>     it would
>>     be great to integrate that more tightly with IPython. We have
>>     recently added
>>     an exporting system for notebooks, allowing you to save the data
>>     and display
>>     output for each cell, which can be used either for archival
>>     purposes or to
>>     set up test comparisons. If you're at all in interested in
>>     something like
>>     that it would be great to chat about it at some point.
>>
>>
>> Hi Philipp
>>
>> I put this up on github a while ago.  I'd love to get a PR for any 
>> changes you made.
>>
>> https://github.com/ngoldbaum/runnotebook
>>
>> I'd really love it if you (or maybe one of the IPython devs if 
>> they're interested in this sort of thing) figured out how to use the 
>> jinja2 templates so I don't have to run silly regexes on the CSS.
>>
>> -Nathan
>>
>>     Philipp
>>
>>
>>
>>     --
>>     View this message in context:
>>     http://python.6.x6.nabble.com/ANN-HoloViews-1-0-released-tp5089805p5089815.html
>>     Sent from the IPython - Development mailing list archive at
>>     Nabble.com <http://Nabble.com>.
>>     _______________________________________________
>>     IPython-dev mailing list
>>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/9e1f4879/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/9e1f4879/attachment.ksh>

From damianavila at gmail.com  Fri Mar 20 13:40:19 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Fri, 20 Mar 2015 14:40:19 -0300
Subject: [IPython-dev] Slides on nbviewer!!!
Message-ID: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>

Hi all,

Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
actually make a better implementation) an old PR I did several months ago
in the nbviewer repo, we now have the slides support in nbviewer!!!

How to use it? Simple... you use it like nbviewer but you just "say" to the
system to render the notebook as an slideshow.

For instance, I have a notebook from an old talk here:

http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb

But in fact, I made this talk using the slideshow capabilities of the
notebook, so instead of converting to slides and upload the resulting html
file to the web, I can just press the "present" button at the top bar


?

and voila!! You have a working slideshow in just 1 seconds ;-)

http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/

Previously, there was an unofficial implementation of this feature called
Slideviewer (based on my old PR) which would be deprecated in favour of
this new great machinery inside the official nbviewer site.

Thanks again to @bollwyvl who push this forward (and all the IPython team
for the discussion of this functionality) and I hope you continue enjoying
(and using) the IPython slides.

Finally, to answer some of the upcoming questions, you CAN NOT execute code
in this "static" slides. If you want to try a "live" implementation of the
revealjs-based slides where you can actually *execute* code, you need to
check RISE: https://github.com/damianavila/RISE, and use it locally (we can
later talk about a *cloud* deployment, but that's another discussion ;-)

Thanks.

-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/66c87f92/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/66c87f92/attachment.png>

From ocefpaf at gmail.com  Fri Mar 20 14:50:31 2015
From: ocefpaf at gmail.com (Filipe Pires Alvarenga Fernandes)
Date: Fri, 20 Mar 2015 15:50:31 -0300
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
Message-ID: <CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>

Hi Dami\u00e1n Avila ;-)

That is really cool, but I noticed that you used unicode representations to
get a properly rendered version of your HTML.  Did you do that by hand or
do you have an automated way of substituting the accents for unicode code?

Without that the non-English slides look awful:

http://nbviewer.ipython.org/format/slides/gist/ocefpaf/cf023a8db7097bd9fe92

Thanks,

-Filipe

On Fri, Mar 20, 2015 at 2:40 PM, Dami?n Avila <damianavila at gmail.com> wrote:

> Hi all,
>
> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
> actually make a better implementation) an old PR I did several months ago
> in the nbviewer repo, we now have the slides support in nbviewer!!!
>
> How to use it? Simple... you use it like nbviewer but you just "say" to
> the system to render the notebook as an slideshow.
>
> For instance, I have a notebook from an old talk here:
>
>
> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
>
> But in fact, I made this talk using the slideshow capabilities of the
> notebook, so instead of converting to slides and upload the resulting html
> file to the web, I can just press the "present" button at the top bar
>
>
> ?
>
> and voila!! You have a working slideshow in just 1 seconds ;-)
>
>
> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
>
> Previously, there was an unofficial implementation of this feature called
> Slideviewer (based on my old PR) which would be deprecated in favour of
> this new great machinery inside the official nbviewer site.
>
> Thanks again to @bollwyvl who push this forward (and all the IPython team
> for the discussion of this functionality) and I hope you continue enjoying
> (and using) the IPython slides.
>
> Finally, to answer some of the upcoming questions, you CAN NOT execute
> code in this "static" slides. If you want to try a "live" implementation of
> the revealjs-based slides where you can actually *execute* code, you need
> to check RISE: https://github.com/damianavila/RISE, and use it locally
> (we can later talk about a *cloud* deployment, but that's another
> discussion ;-)
>
> Thanks.
>
> --
> *Dami?n*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/e2963d5b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/e2963d5b/attachment.png>

From tritemio at gmail.com  Fri Mar 20 15:00:18 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Fri, 20 Mar 2015 12:00:18 -0700
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
Message-ID: <CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>

That's an amazing work thanks!

The ability to turn notebooks into presentations and, now, to share those
slides seamlessly through nbviewer.org is a *big* selling point for the
ipython/jupiter project.

I only have a minor request. Is there a way to disable the slide-to-slide
animation, I (and some other colleagues) find it quite distracting?

Finally, if I have to dream, having the possibility to dump the slides into
a powerpoint/libreoffice presentation would really integrate in a bigger
workflow of creating presentations and reports, not necessary (or
completely) computationally centered.

I recently started using IguanaTex[1] and it allows me to copy/paste latex
equations from the notebook into powerpoint and it is huge time saver for
me since I write the equations in a notebook while writing the code and
then I can copy them to powerpoint and have latex-grade output. This same
approach could allow a simple notebook to powerpoint/libreoffice converter.

Antonio

[1] http://www.jonathanleroux.org/software/iguanatex/


On Fri, Mar 20, 2015 at 10:40 AM, Dami?n Avila <damianavila at gmail.com>
wrote:

> Hi all,
>
> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
> actually make a better implementation) an old PR I did several months ago
> in the nbviewer repo, we now have the slides support in nbviewer!!!
>
> How to use it? Simple... you use it like nbviewer but you just "say" to
> the system to render the notebook as an slideshow.
>
> For instance, I have a notebook from an old talk here:
>
>
> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
>
> But in fact, I made this talk using the slideshow capabilities of the
> notebook, so instead of converting to slides and upload the resulting html
> file to the web, I can just press the "present" button at the top bar
>
>
> ?
>
> and voila!! You have a working slideshow in just 1 seconds ;-)
>
>
> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
>
> Previously, there was an unofficial implementation of this feature called
> Slideviewer (based on my old PR) which would be deprecated in favour of
> this new great machinery inside the official nbviewer site.
>
> Thanks again to @bollwyvl who push this forward (and all the IPython team
> for the discussion of this functionality) and I hope you continue enjoying
> (and using) the IPython slides.
>
> Finally, to answer some of the upcoming questions, you CAN NOT execute
> code in this "static" slides. If you want to try a "live" implementation of
> the revealjs-based slides where you can actually *execute* code, you need
> to check RISE: https://github.com/damianavila/RISE, and use it locally
> (we can later talk about a *cloud* deployment, but that's another
> discussion ;-)
>
> Thanks.
>
> --
> *Dami?n*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/44ca01fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/44ca01fe/attachment.png>

From bussonniermatthias at gmail.com  Fri Mar 20 15:10:06 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 20 Mar 2015 12:10:06 -0700
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>
Message-ID: <3F863A40-E784-4C2E-B185-B1657ED53BB2@gmail.com>


Le 20 mars 2015 ? 11:50, Filipe Pires Alvarenga Fernandes <ocefpaf at gmail.com> a ?crit :

> Hi Dami\u00e1n Avila ;-)
> 
> That is really cool, but I noticed that you used unicode representations to get a properly rendered version of your HTML.  Did you do that by hand or do you have an automated way of substituting the accents for unicode code?
> 
> Without that the non-English slides look awful:
> 
> http://nbviewer.ipython.org/format/slides/gist/ocefpaf/cf023a8db7097bd9fe92
> 
> Thanks,
> 
> -Filipe

Seem this might be a bug in nbconvert. 

The characters are escaped too soon.

Can you open a bug report ?

-- 
M


> 
> On Fri, Mar 20, 2015 at 2:40 PM, Dami?n Avila <damianavila at gmail.com> wrote:
> Hi all,
> 
> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and actually make a better implementation) an old PR I did several months ago in the nbviewer repo, we now have the slides support in nbviewer!!!
> 
> How to use it? Simple... you use it like nbviewer but you just "say" to the system to render the notebook as an slideshow.
> 
> For instance, I have a notebook from an old talk here:
> 
> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
> 
> But in fact, I made this talk using the slideshow capabilities of the notebook, so instead of converting to slides and upload the resulting html file to the web, I can just press the "present" button at the top bar 
> 
> <slides.png>
> ?
> 
> and voila!! You have a working slideshow in just 1 seconds ;-)
> 
> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
> 
> Previously, there was an unofficial implementation of this feature called Slideviewer (based on my old PR) which would be deprecated in favour of this new great machinery inside the official nbviewer site.
> 
> Thanks again to @bollwyvl who push this forward (and all the IPython team for the discussion of this functionality) and I hope you continue enjoying (and using) the IPython slides. 
> 
> Finally, to answer some of the upcoming questions, you CAN NOT execute code in this "static" slides. If you want to try a "live" implementation of the revealjs-based slides where you can actually *execute* code, you need to check RISE: https://github.com/damianavila/RISE, and use it locally (we can later talk about a *cloud* deployment, but that's another discussion ;-)
> 
> Thanks.
> 
> -- 
> Dami?n
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/52260f66/attachment.html>

From nick.bollweg at gmail.com  Fri Mar 20 17:03:29 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Fri, 20 Mar 2015 17:03:29 -0400
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>
Message-ID: <CACejjWzex7tipu9ZkzXt93rLvvE-NX1P47VLKXrTZUybjXKfgw@mail.gmail.com>

Filipe:
Thanks! Since this isn't occurring from nbconvert by itself, we'll have to
assume this is an nbviewer bug.

I've added it here:
https://github.com/jupyter/nbviewer/issues/431

I think there is a nickle fix, but we'll have to see.. and test!

On Fri, Mar 20, 2015 at 2:50 PM, Filipe Pires Alvarenga Fernandes <
ocefpaf at gmail.com> wrote:

> Hi Dami\u00e1n Avila ;-)
>
> That is really cool, but I noticed that you used unicode representations
> to get a properly rendered version of your HTML.  Did you do that by hand
> or do you have an automated way of substituting the accents for unicode
> code?
>
> Without that the non-English slides look awful:
>
> http://nbviewer.ipython.org/format/slides/gist/ocefpaf/cf023a8db7097bd9fe92
>
> Thanks,
>
> -Filipe
>
> On Fri, Mar 20, 2015 at 2:40 PM, Dami?n Avila <damianavila at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
>> actually make a better implementation) an old PR I did several months ago
>> in the nbviewer repo, we now have the slides support in nbviewer!!!
>>
>> How to use it? Simple... you use it like nbviewer but you just "say" to
>> the system to render the notebook as an slideshow.
>>
>> For instance, I have a notebook from an old talk here:
>>
>>
>> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
>>
>> But in fact, I made this talk using the slideshow capabilities of the
>> notebook, so instead of converting to slides and upload the resulting html
>> file to the web, I can just press the "present" button at the top bar
>>
>>
>> ?
>>
>> and voila!! You have a working slideshow in just 1 seconds ;-)
>>
>>
>> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
>>
>> Previously, there was an unofficial implementation of this feature called
>> Slideviewer (based on my old PR) which would be deprecated in favour of
>> this new great machinery inside the official nbviewer site.
>>
>> Thanks again to @bollwyvl who push this forward (and all the IPython
>> team for the discussion of this functionality) and I hope you continue
>> enjoying (and using) the IPython slides.
>>
>> Finally, to answer some of the upcoming questions, you CAN NOT execute
>> code in this "static" slides. If you want to try a "live" implementation of
>> the revealjs-based slides where you can actually *execute* code, you need
>> to check RISE: https://github.com/damianavila/RISE, and use it locally
>> (we can later talk about a *cloud* deployment, but that's another
>> discussion ;-)
>>
>> Thanks.
>>
>> --
>> *Dami?n*
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/1c0664d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/1c0664d5/attachment.png>

From ocefpaf at gmail.com  Fri Mar 20 17:12:22 2015
From: ocefpaf at gmail.com (Filipe Pires Alvarenga Fernandes)
Date: Fri, 20 Mar 2015 18:12:22 -0300
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CACejjWzex7tipu9ZkzXt93rLvvE-NX1P47VLKXrTZUybjXKfgw@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CAH2VmmA-1GUG-3aAzZPvhO0ndK3BDHT-NOntpxCaTcLdPuPUQQ@mail.gmail.com>
	<CACejjWzex7tipu9ZkzXt93rLvvE-NX1P47VLKXrTZUybjXKfgw@mail.gmail.com>
Message-ID: <CAH2VmmCJvJvuz1D7e9exCm+CEVSWizqjD1eWQou_2E=tDD+Z4g@mail.gmail.com>

Thanks Nicholas and Matthias!


On Fri, Mar 20, 2015 at 6:03 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Filipe:
> Thanks! Since this isn't occurring from nbconvert by itself, we'll have to
> assume this is an nbviewer bug.
>
> I've added it here:
> https://github.com/jupyter/nbviewer/issues/431
>
> I think there is a nickle fix, but we'll have to see.. and test!
>
> On Fri, Mar 20, 2015 at 2:50 PM, Filipe Pires Alvarenga Fernandes <
> ocefpaf at gmail.com> wrote:
>
>> Hi Dami\u00e1n Avila ;-)
>>
>> That is really cool, but I noticed that you used unicode representations
>> to get a properly rendered version of your HTML.  Did you do that by hand
>> or do you have an automated way of substituting the accents for unicode
>> code?
>>
>> Without that the non-English slides look awful:
>>
>>
>> http://nbviewer.ipython.org/format/slides/gist/ocefpaf/cf023a8db7097bd9fe92
>>
>> Thanks,
>>
>> -Filipe
>>
>> On Fri, Mar 20, 2015 at 2:40 PM, Dami?n Avila <damianavila at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
>>> actually make a better implementation) an old PR I did several months ago
>>> in the nbviewer repo, we now have the slides support in nbviewer!!!
>>>
>>> How to use it? Simple... you use it like nbviewer but you just "say" to
>>> the system to render the notebook as an slideshow.
>>>
>>> For instance, I have a notebook from an old talk here:
>>>
>>>
>>> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
>>>
>>> But in fact, I made this talk using the slideshow capabilities of the
>>> notebook, so instead of converting to slides and upload the resulting html
>>> file to the web, I can just press the "present" button at the top bar
>>>
>>>
>>> ?
>>>
>>> and voila!! You have a working slideshow in just 1 seconds ;-)
>>>
>>>
>>> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
>>>
>>> Previously, there was an unofficial implementation of this feature
>>> called Slideviewer (based on my old PR) which would be deprecated in favour
>>> of this new great machinery inside the official nbviewer site.
>>>
>>> Thanks again to @bollwyvl who push this forward (and all the IPython
>>> team for the discussion of this functionality) and I hope you continue
>>> enjoying (and using) the IPython slides.
>>>
>>> Finally, to answer some of the upcoming questions, you CAN NOT execute
>>> code in this "static" slides. If you want to try a "live" implementation of
>>> the revealjs-based slides where you can actually *execute* code, you need
>>> to check RISE: https://github.com/damianavila/RISE, and use it locally
>>> (we can later talk about a *cloud* deployment, but that's another
>>> discussion ;-)
>>>
>>> Thanks.
>>>
>>> --
>>> *Dami?n*
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/edfb8257/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/edfb8257/attachment.png>

From nick.bollweg at gmail.com  Fri Mar 20 17:26:26 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Fri, 20 Mar 2015 17:26:26 -0400
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
Message-ID: <CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>

> I only have a minor request. Is there a way to disable the slide-to-slide
animation, I (and some other colleagues) find it quite distracting?

With the two-dimensional scrolling, I find that helps orient a bit, but
yeah, the animation is pretty "cute".

Short answer: No.

Medium answer: Yes... IF you are hosting your own nbviewer, AND hack the
underlying template slides.reveal.tpl.

Long answer:  In addition to transition, reveal has a huge number of
configuration options. I kind of doubt we'll make any UI on nbviewer to
allow one to hack these at runtime, not least because reveal takes over the
location.hash for providing anchors to slides.

We should change the nbconvert template soon to allow a raw metadata
configuration of what you describe. This would still leave the power in the
hands of the content owner, which is probably how it should be. However, we
need to look at some notebook UI/UX options for getting access to all of
the configuration features (might as well), which does present a bit of a
challenge.

On Fri, Mar 20, 2015 at 3:00 PM, Antonino Ingargiola <tritemio at gmail.com>
wrote:

> That's an amazing work thanks!
>
> The ability to turn notebooks into presentations and, now, to share those
> slides seamlessly through nbviewer.org is a *big* selling point for the
> ipython/jupiter project.
>
> I only have a minor request. Is there a way to disable the slide-to-slide
> animation, I (and some other colleagues) find it quite distracting?
>
> Finally, if I have to dream, having the possibility to dump the slides
> into a powerpoint/libreoffice presentation would really integrate in a
> bigger workflow of creating presentations and reports, not necessary (or
> completely) computationally centered.
>
> I recently started using IguanaTex[1] and it allows me to copy/paste latex
> equations from the notebook into powerpoint and it is huge time saver for
> me since I write the equations in a notebook while writing the code and
> then I can copy them to powerpoint and have latex-grade output. This same
> approach could allow a simple notebook to powerpoint/libreoffice converter.
>
> Antonio
>
> [1] http://www.jonathanleroux.org/software/iguanatex/
>
>
> On Fri, Mar 20, 2015 at 10:40 AM, Dami?n Avila <damianavila at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Thanks to the great work of Nicholas (@bollwyvl) who "resuscitate" (and
>> actually make a better implementation) an old PR I did several months ago
>> in the nbviewer repo, we now have the slides support in nbviewer!!!
>>
>> How to use it? Simple... you use it like nbviewer but you just "say" to
>> the system to render the notebook as an slideshow.
>>
>> For instance, I have a notebook from an old talk here:
>>
>>
>> http://nbviewer.ipython.org/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb
>>
>> But in fact, I made this talk using the slideshow capabilities of the
>> notebook, so instead of converting to slides and upload the resulting html
>> file to the web, I can just press the "present" button at the top bar
>>
>>
>> ?
>>
>> and voila!! You have a working slideshow in just 1 seconds ;-)
>>
>>
>> http://nbviewer.ipython.org/format/slides/github/damianavila/hackperiodismo/blob/master/Hackeando_el_periodismo.ipynb#/
>>
>> Previously, there was an unofficial implementation of this feature called
>> Slideviewer (based on my old PR) which would be deprecated in favour of
>> this new great machinery inside the official nbviewer site.
>>
>> Thanks again to @bollwyvl who push this forward (and all the IPython
>> team for the discussion of this functionality) and I hope you continue
>> enjoying (and using) the IPython slides.
>>
>> Finally, to answer some of the upcoming questions, you CAN NOT execute
>> code in this "static" slides. If you want to try a "live" implementation of
>> the revealjs-based slides where you can actually *execute* code, you need
>> to check RISE: https://github.com/damianavila/RISE, and use it locally
>> (we can later talk about a *cloud* deployment, but that's another
>> discussion ;-)
>>
>> Thanks.
>>
>> --
>> *Dami?n*
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/c04c6183/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slides.png
Type: image/png
Size: 13583 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/c04c6183/attachment.png>

From tritemio at gmail.com  Fri Mar 20 17:37:47 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Fri, 20 Mar 2015 14:37:47 -0700
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
Message-ID: <CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>

On Fri, Mar 20, 2015 at 2:26 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> > I only have a minor request. Is there a way to disable the
> slide-to-slide animation, I (and some other colleagues) find it quite
> distracting?
>
> With the two-dimensional scrolling, I find that helps orient a bit, but
> yeah, the animation is pretty "cute".
>

Right, I just tend to do linear (not 2D) presentations, subslides maybe
useful for additional details showed if required by questions. So the
animation does not convey any information, and since is so fancy it is
actually distracting ;). And in the back of my mind, it looks like the
animation is a kind of unprofessional childish showing-off kind of thing.


> Short answer: No.
>
> Medium answer: Yes... IF you are hosting your own nbviewer, AND hack the
> underlying template slides.reveal.tpl.
>
> Long answer:  In addition to transition, reveal has a huge number of
> configuration options. I kind of doubt we'll make any UI on nbviewer to
> allow one to hack these at runtime, not least because reveal takes over the
> location.hash for providing anchors to slides.
>

As a first step I would like to disable the animation in livereveal/RISE, I
can live with the animation on nbviewer.I'll try to look into
slides.reveal.tpl, thanks for the pointer.


> We should change the nbconvert template soon to allow a raw metadata
> configuration of what you describe. This would still leave the power in the
> hands of the content owner, which is probably how it should be. However, we
> need to look at some notebook UI/UX options for getting access to all of
> the configuration features (might as well), which does present a bit of a
> challenge.
>

 Are you still referring to the animation or to the powerpoint/libreoffice
conversion here?

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/7355cc1e/attachment.html>

From nick.bollweg at gmail.com  Fri Mar 20 18:20:58 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Fri, 20 Mar 2015 18:20:58 -0400
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
Message-ID: <CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>

>
> And in the back of my mind, it looks like the animation is a kind of
> unprofessional childish showing-off kind of thing.
>

Yeah, we are serving a lot of masters here. One the one hand, there's your
use case: sounds very hard science. Definitely want to meet your level of
expectations. Some folk have been successful publishing whole books out of
notebooks, but we still have pretty far to go, I think, to get to a general
purpose publishing option, but I would see open formats being target before
the office crowd.

On the other, we're trying to make scientific content more accessible to a
broader audience... and if it needs a bit of cartoonishness to help engage
people, then I want really good cartoons. Like 80s saturday morning
cartoons.


> As a first step I would like to disable the animation in livereveal/RISE,
> I can live with the animation on nbviewer.I'll try to look into
> slides.reveal.tpl, thanks for the pointer.
>

Yeah, while the nbconvert template that will respect slideshow-level
metadata (here
<https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
needs to be changed in ipython/ipython, we should play with the UX in
livreveal first.

Are you still referring to the animation or to the powerpoint/libreoffice
> conversion here?
>

Was talking about the ability to do any kind of reveal configuration...
hadn't responded to the powerpoint thing. But since you mention it...

If we're talking about dreams, mine is to kill powerpoint :P

Aside from Pandoc, which is already available, there is python-pptx
<https://github.com/scanny/python-ppt>, which could serve as a baseline for
building an nbconvert formatter. Perhaps a smarter application of pandoc to
the slides is the best bet to get to where you want to go... I would be
very surprised if someone hadn't done this before!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/ce116703/attachment.html>

From tritemio at gmail.com  Fri Mar 20 19:23:19 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Fri, 20 Mar 2015 16:23:19 -0700
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
	<CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
Message-ID: <CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>

On Fri, Mar 20, 2015 at 3:20 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:
>
> As a first step I would like to disable the animation in livereveal/RISE,
>> I can live with the animation on nbviewer.I'll try to look into
>> slides.reveal.tpl, thanks for the pointer.
>>
>
> Yeah, while the nbconvert template that will respect slideshow-level
> metadata (here
> <https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
> needs to be changed in ipython/ipython, we should play with the UX in
> livreveal first.
>

link saved ;).


> Are you still referring to the animation or to the powerpoint/libreoffice
>> conversion here?
>>
>
> Was talking about the ability to do any kind of reveal configuration...
> hadn't responded to the powerpoint thing. But since you mention it...
>
> If we're talking about dreams, mine is to kill powerpoint :P
>

I was thinking like this a few years ago, doing presentation in beamer and
so on.  But then I found that in the every-day practice of presentations
(at least in science), you continuously do a mix&match work copying slides
from old presentations (yours and colleagues, and for many powerpoint is
the standard), fixing errors and annotating slides during talks and so on,
there is no much time for the slides, adding an arrow or a circle to
highlight something must be immediate. The powerpoint/libreoffice approach
here has an edge.

Right now I have 6 notebooks open with similar analysis on different data
files. I need to make a report presentation. Do you think I will make
another notebook? It is just faster if I dump everything (I mean figures
and latex formulas) in powerpoint and add just a few words for create a
logical story.

The notebook is fantastic tool to create another kind of presentations in
which you show in dept a computational process.

Aside from Pandoc, which is already available, there is python-pptx
> <https://github.com/scanny/python-ppt>, which could serve as a baseline
> for building an nbconvert formatter. Perhaps a smarter application of
> pandoc to the slides is the best bet to get to where you want to go... I
> would be very surprised if someone hadn't done this before!
>

Pandoc is powerful but close to impossible to install on windows.
python-pptx on the contrary looks a really interesting project, thanks for
mentioning it :).

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/8ab897fe/attachment.html>

From damianavila at gmail.com  Fri Mar 20 20:51:38 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Fri, 20 Mar 2015 21:51:38 -0300
Subject: [IPython-dev] Embedded Videos in Slideshows
In-Reply-To: <CAMYKURbgC2-305m8+mLyjH+jQx0hY8gNxeD_be3B=CPf_+JX6g@mail.gmail.com>
References: <CAMYKURbZ0dku33c8ccCFfdgXDbc7E6_ALmo9UKMVJpQABrx9sA@mail.gmail.com>
	<CAH+mRR05Ro7Z+Bpr+6oYj=pqJaw2DKPevDPanxYz28G0BB2JxA@mail.gmail.com>
	<CAMYKURbMQpACJ1bj1cZHccHbf3ESsu52Wmb_a+=Sya9VbTUWwQ@mail.gmail.com>
	<CAH+mRR3D0Jbxyb-5Hfi4JTw=NC+PQRQd16F34BXu1HzYTG6oRw@mail.gmail.com>
	<CAMYKURaqe3Lict+RY8_+h5fpR-8jLKE=6vNAEnXW=bHrYrtWBQ@mail.gmail.com>
	<CAMYKURbgC2-305m8+mLyjH+jQx0hY8gNxeD_be3B=CPf_+JX6g@mail.gmail.com>
Message-ID: <CAH+mRR00ocTNkvrW-1C87m8Cmefr7FoM+FRsh5pwMRhQ5Ee6fQ@mail.gmail.com>

A little late ;-) but finally answering...

>Since I fixed the playback problem, I'm just curious.

I did not notice any of that, but I did not make to much presentations with
audio.... are you still seeing the same on the latest release?

Thanks, and sorry for the delay, it gets lost between a mountain of
emails...

2014-03-21 0:02 GMT-03:00 Damon Allen <damontallen at gmail.com>:

> Dami?n,
>
> I have one more question on the topic.  I noticed if I have an cell at the
> top of the notebook that is set to be skipped in the presentation, it
> messes up the audio control's autoplay.  Specifically the automatic pause
> of playback when I move on to the next slide.  Has this been noticed
> elsewhere?
>
> I noticed that the top cell was getting switched to a markdown cell from a
> Heading 1, and so I added a cell at the top to act as a buffer at the top.
> Once I started the slideshow, the audio controls would start playing
> correctly but they would keep playing once I advanced to the next slide.
> However when I removed the skipped cell at the top the problem went away.
>
> As for the top cell switching from Heading 1 to markdown, I cannot rule
> out that the cause was that my mouse accidentally clicking on the drop down
> menu since I haven't reproduced it.
>
> Since I fixed the playback problem, I'm just curious.
>
> Thanks,
>
> Damon
>
> Damon T. Allen Ph.D.
> Adjunct Professor
> (352) 234-3266
> damontallen at gmail.com
> 344 Rinker Hall
> College of Construction Management
> University of Florida
>
>
> On Tue, Mar 18, 2014 at 8:42 PM, Damon Allen <damontallen at gmail.com>
> wrote:
>
>> Thanks for answering my question so promptly.  I'll tell my students to
>> use Chrome if it is an issue for them.
>>
>>
>>
>>  Damon T. Allen Ph.D.
>> Adjunct Professor
>> (352) 234-3266
>> damontallen at gmail.com
>> 344 Rinker Hall
>> College of Construction Management
>> University of Florida
>>
>>
>> On Tue, Mar 18, 2014 at 8:11 PM, Dami?n Avila <damianavila at gmail.com>
>> wrote:
>>
>>> I ask to google... and I found I have already answered myself... ja ja
>>>
>>> https://github.com/damianavila/live_reveal/issues/4
>>>
>>> not a good sign, I think ;-)
>>>
>>>
>>> 2014-03-18 19:20 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>>>
>>> The notebook is at:
>>>>
>>>>
>>>> http://nbviewer.ipython.org/github/damontallen/Construction-Lectures/blob/master/Week%200%20-%20Greetings.ipynb
>>>>
>>>> The slideshow is at:
>>>>
>>>>
>>>> http://damontallen.github.io/Construction-Lectures/Week%200%20-%20Greetings.slides.html#/
>>>>
>>>> And this problem also occurs when I use
>>>>
>>>> ipython nbconvert "Week 0 - Greetings.ipynb" --to slides --post serve
>>>>
>>>> Thanks for looking into it.
>>>>
>>>>
>>>>
>>>> Damon T. Allen Ph.D.
>>>> Adjunct Professor
>>>> (352) 234-3266
>>>> damontallen at gmail.com
>>>> 344 Rinker Hall
>>>> College of Construction Management
>>>> University of Florida
>>>>
>>>>
>>>> On Tue, Mar 18, 2014 at 6:13 PM, Dami?n Avila <damianavila at gmail.com>
>>>> wrote:
>>>>
>>>>> Have you seen this problem using the slideshow generated with
>>>>> IPython.nbconvert?
>>>>> It can be an issue with reveal.js itself... can you provided me with
>>>>> an example notebook to study the case?
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2014-03-18 18:56 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Does running a slideshow force embedded YouTube videos to play in
>>>>>> flash instead of HTML5?  I've found that in while running Firefox in Ubuntu
>>>>>> I cannot play YouTube videos in a slideshow.  I can watch the video in
>>>>>> Firefox if it isn't in a slideshow and if I the slideshow runs in Chrome
>>>>>> everything works.
>>>>>>
>>>>>> This isn't a big deal since most of my students are running Windows
>>>>>> and they will be able to use up-to-date versions of the flashplayer, but I
>>>>>> am curious if there could be a fix to either reveal or nbconvert that would
>>>>>> correct this.
>>>>>>
>>>>>> As it stands, I need to switch my development from using Firefox to
>>>>>> Chrome.
>>>>>>
>>>>>> I'm still using IPython 1.2.1.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Damon
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dami?n Avila
>>>>> Scientific Python Developer
>>>>> Quantitative Finance Analyst
>>>>> Statistics, Biostatistics and Econometrics Consultant
>>>>> Biochemist
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Dami?n Avila
>>> Scientific Python Developer
>>> Quantitative Finance Analyst
>>> Statistics, Biostatistics and Econometrics Consultant
>>> Biochemist
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/f4c1bcf6/attachment.html>

From damianavila at gmail.com  Fri Mar 20 21:37:04 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Fri, 20 Mar 2015 22:37:04 -0300
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
	<CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
	<CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>
Message-ID: <CAH+mRR2Z+2queJ5HmtfHv+J33LUt=i0feio2+cH+j1qz3rkB9A@mail.gmail.com>

>However, we need to look at some notebook UI/UX options for getting access
to all of the configuration features (might as well), which does present a
bit of a challenge.

That's the key... the UI/UX to make the config available without making the
"configuration" a mess ;-)

> As a first step I would like to disable the animation in livereveal/RISE,
I can live with the animation on nbviewer.I'll try to look into
slides.reveal.tpl, thanks for the pointer.

Modifying slides_reveal.tpl will let you "config" things in nbconverted
slides... but if you want to modify this in RISE, you need to set up the
config in other way... check this:
https://github.com/damianavila/RISE#configure-your-own-options

Remember that RISE and IPython slides are related but different things:

* RISE is a notebook changed on the fly to render as a reveal.js-based
slideshow... but it is LIVE as the notebook is... because it is a notebook
;-)

* IPython slides are just STATIC html/js/css generated by the
IPython.nbconvert machinery using reveal.js as part of the machinery to
render the STATIC slides an a slideshow... but the code can no be run
there. Finally, the slides on nbviewer are just another way to experience
the STATIC slides ;-)

Probably you know that... but I take to opportunity to make the
clarification so people do not confuse one with the other one.

Cheers.


2015-03-20 20:23 GMT-03:00 Antonino Ingargiola <tritemio at gmail.com>:

>
> On Fri, Mar 20, 2015 at 3:20 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
> wrote:
>>
>> As a first step I would like to disable the animation in livereveal/RISE,
>>> I can live with the animation on nbviewer.I'll try to look into
>>> slides.reveal.tpl, thanks for the pointer.
>>>
>>
>> Yeah, while the nbconvert template that will respect slideshow-level
>> metadata (here
>> <https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
>> needs to be changed in ipython/ipython, we should play with the UX in
>> livreveal first.
>>
>
> link saved ;).
>
>
>> Are you still referring to the animation or to the powerpoint/libreoffice
>>> conversion here?
>>>
>>
>> Was talking about the ability to do any kind of reveal configuration...
>> hadn't responded to the powerpoint thing. But since you mention it...
>>
>> If we're talking about dreams, mine is to kill powerpoint :P
>>
>
> I was thinking like this a few years ago, doing presentation in beamer and
> so on.  But then I found that in the every-day practice of presentations
> (at least in science), you continuously do a mix&match work copying slides
> from old presentations (yours and colleagues, and for many powerpoint is
> the standard), fixing errors and annotating slides during talks and so on,
> there is no much time for the slides, adding an arrow or a circle to
> highlight something must be immediate. The powerpoint/libreoffice approach
> here has an edge.
>
> Right now I have 6 notebooks open with similar analysis on different data
> files. I need to make a report presentation. Do you think I will make
> another notebook? It is just faster if I dump everything (I mean figures
> and latex formulas) in powerpoint and add just a few words for create a
> logical story.
>
> The notebook is fantastic tool to create another kind of presentations in
> which you show in dept a computational process.
>
> Aside from Pandoc, which is already available, there is python-pptx
>> <https://github.com/scanny/python-ppt>, which could serve as a baseline
>> for building an nbconvert formatter. Perhaps a smarter application of
>> pandoc to the slides is the best bet to get to where you want to go... I
>> would be very surprised if someone hadn't done this before!
>>
>
> Pandoc is powerful but close to impossible to install on windows.
> python-pptx on the contrary looks a really interesting project, thanks for
> mentioning it :).
>
> Antonio
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150320/434b39b8/attachment.html>

From simonian.7 at buckeyemail.osu.edu  Sat Mar 21 14:38:30 2015
From: simonian.7 at buckeyemail.osu.edu (Gregory Simonian)
Date: Sat, 21 Mar 2015 14:38:30 -0400
Subject: [IPython-dev] IPython console crashes when interrupted in routine
Message-ID: <550DBAA6.9060807@buckeyemail.osu.edu>

Hey everyone,

I think I ran into a regression in IPython 3.0 where whenever I
interrupt running code, the IPython console and kernel crash. Probably
the easiest way I know to reproduce this is:
$ ipython console
In [1]: for i in range(1000000):
   ...:    print i
   ...:
And then press Ctrl-C during execution.

I expect that it will catch a KeyboardInterrupt exception and then go
back to an IPython prompt. However, instead it outputs:
Out [1]: 1
2
<...>
41654^CTraceback (most recent call last):
  File "/usr/custom/Anaconda-2.0.1/bin/ipython", line 6, in <module>
    sys.exit(start_ipython())
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/__init__.py",
line 120, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/config/application.py",
line 574, in launch_instance
    app.start()
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
line 367, in start
    return self.subapp.start()
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
line 371, in start
    self.shell.mainloop()
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
line 407, in mainloop
    self.interact(display_banner=display_banner)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
line 568, in interact
    self.run_cell(source_raw)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
line 168, in run_cell
    self.handle_input_request(msg_id, timeout=0.05)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
line 373, in handle_input_request
    req = self.client.stdin_channel.get_msg(timeout=timeout)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/kernel/blocking/channels.py",
line 50, in get_msg
    ready = self.socket.poll(timeout)
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/socket.py",
line 448, in poll
    evts = dict(p.poll(timeout))
  File
"/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/poll.py",
line 101, in poll
    return zmq_poll(self.sockets, timeout=timeout)
  File "zmq/backend/cython/_poll.pyx", line 115, in
zmq.backend.cython._poll.zmq_poll (zmq/backend/cython/_poll.c:1586)
  File "zmq/backend/cython/checkrc.pxd", line 21, in
zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/_poll.c:2016)
    raise ZMQError(errno)
ZMQError: Interrupted system call

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev at scipy.org

You can print a more detailed traceback right now with "%tb", or use
"%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    %config Application.verbose_crash=True
$

Dropping me back at the shell. This doesn't occur in just running plain
"$ ipython", so the kernel should have something to do with it.

I am running IPython 3.0 through Anaconda on CentOS 6.6.I hadn't
encountered this bug in IPython 2. Maybe other people can confirm if it
occurs for them. And if so, what additional info I would need to file a
bug report. Thanks!

                                                             Gregory
Simonian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150321/b0ea1123/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150321/b0ea1123/attachment.sig>

From takowl at gmail.com  Sat Mar 21 14:48:26 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 21 Mar 2015 11:48:26 -0700
Subject: [IPython-dev] IPython console crashes when interrupted in
	routine
In-Reply-To: <550DBAA6.9060807@buckeyemail.osu.edu>
References: <550DBAA6.9060807@buckeyemail.osu.edu>
Message-ID: <CAOvn4qgaNpwcLyZUXc359VTkWeZWq-va1TWb=Tvdip0OCkx5Vw@mail.gmail.com>

Hi Gregory,

I can reproduce this - please file an issue so we don't lose track of it.

Thanks,
Thomas

On 21 March 2015 at 11:38, Gregory Simonian <simonian.7 at buckeyemail.osu.edu>
wrote:

>  Hey everyone,
>
> I think I ran into a regression in IPython 3.0 where whenever I interrupt
> running code, the IPython console and kernel crash. Probably the easiest
> way I know to reproduce this is:
> $ ipython console
> In [1]: for i in range(1000000):
>    ...:    print i
>    ...:
> And then press Ctrl-C during execution.
>
> I expect that it will catch a KeyboardInterrupt exception and then go back
> to an IPython prompt. However, instead it outputs:
> Out [1]: 1
> 2
> <...>
> 41654^CTraceback (most recent call last):
>   File "/usr/custom/Anaconda-2.0.1/bin/ipython", line 6, in <module>
>     sys.exit(start_ipython())
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/__init__.py",
> line 120, in start_ipython
>     return launch_new_instance(argv=argv, **kwargs)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/config/application.py",
> line 574, in launch_instance
>     app.start()
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
> line 367, in start
>     return self.subapp.start()
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
> line 371, in start
>     self.shell.mainloop()
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
> line 407, in mainloop
>     self.interact(display_banner=display_banner)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
> line 568, in interact
>     self.run_cell(source_raw)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
> line 168, in run_cell
>     self.handle_input_request(msg_id, timeout=0.05)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
> line 373, in handle_input_request
>     req = self.client.stdin_channel.get_msg(timeout=timeout)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/kernel/blocking/channels.py",
> line 50, in get_msg
>     ready = self.socket.poll(timeout)
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/socket.py",
> line 448, in poll
>     evts = dict(p.poll(timeout))
>   File
> "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/poll.py",
> line 101, in poll
>     return zmq_poll(self.sockets, timeout=timeout)
>   File "zmq/backend/cython/_poll.pyx", line 115, in
> zmq.backend.cython._poll.zmq_poll (zmq/backend/cython/_poll.c:1586)
>   File "zmq/backend/cython/checkrc.pxd", line 21, in
> zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/_poll.c:2016)
>     raise ZMQError(errno)
> ZMQError: Interrupted system call
>
> If you suspect this is an IPython bug, please report it at:
>     https://github.com/ipython/ipython/issues
> or send an email to the mailing list at ipython-dev at scipy.org
>
> You can print a more detailed traceback right now with "%tb", or use
> "%debug"
> to interactively debug it.
>
> Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
>     %config Application.verbose_crash=True
> $
>
> Dropping me back at the shell. This doesn't occur in just running plain "$
> ipython", so the kernel should have something to do with it.
>
> I am running IPython 3.0 through Anaconda on CentOS 6.6.I hadn't
> encountered this bug in IPython 2. Maybe other people can confirm if it
> occurs for them. And if so, what additional info I would need to file a bug
> report. Thanks!
>
>                                                              Gregory
> Simonian
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150321/0f1993e3/attachment.html>

From simonian.7 at buckeyemail.osu.edu  Sat Mar 21 15:20:51 2015
From: simonian.7 at buckeyemail.osu.edu (Gregory Simonian)
Date: Sat, 21 Mar 2015 15:20:51 -0400
Subject: [IPython-dev] IPython console crashes when interrupted in
	routine
In-Reply-To: <CAOvn4qgaNpwcLyZUXc359VTkWeZWq-va1TWb=Tvdip0OCkx5Vw@mail.gmail.com>
References: <550DBAA6.9060807@buckeyemail.osu.edu>
	<CAOvn4qgaNpwcLyZUXc359VTkWeZWq-va1TWb=Tvdip0OCkx5Vw@mail.gmail.com>
Message-ID: <550DC493.2050509@buckeyemail.osu.edu>

Great. Did so here! Thanks!

https://github.com/ipython/ipython/issues/8105

On 03/21/2015 02:48 PM, Thomas Kluyver wrote:
> Hi Gregory,
>
> I can reproduce this - please file an issue so we don't lose track of it.
>
> Thanks,
> Thomas
>
> On 21 March 2015 at 11:38, Gregory Simonian
> <simonian.7 at buckeyemail.osu.edu
> <mailto:simonian.7 at buckeyemail.osu.edu>> wrote:
>
>     Hey everyone,
>
>     I think I ran into a regression in IPython 3.0 where whenever I
>     interrupt running code, the IPython console and kernel crash.
>     Probably the easiest way I know to reproduce this is:
>     $ ipython console
>     In [1]: for i in range(1000000):
>        ...:    print i
>        ...:
>     And then press Ctrl-C during execution.
>
>     I expect that it will catch a KeyboardInterrupt exception and then
>     go back to an IPython prompt. However, instead it outputs:
>     Out [1]: 1
>     2
>     <...>
>     41654^CTraceback (most recent call last):
>       File "/usr/custom/Anaconda-2.0.1/bin/ipython", line 6, in <module>
>         sys.exit(start_ipython())
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/__init__.py",
>     line 120, in start_ipython
>         return launch_new_instance(argv=argv, **kwargs)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/config/application.py",
>     line 574, in launch_instance
>         app.start()
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
>     line 367, in start
>         return self.subapp.start()
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
>     line 371, in start
>         self.shell.mainloop()
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
>     line 407, in mainloop
>         self.interact(display_banner=display_banner)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
>     line 568, in interact
>         self.run_cell(source_raw)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
>     line 168, in run_cell
>         self.handle_input_request(msg_id, timeout=0.05)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/terminal/console/interactiveshell.py",
>     line 373, in handle_input_request
>         req = self.client.stdin_channel.get_msg(timeout=timeout)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/IPython/kernel/blocking/channels.py",
>     line 50, in get_msg
>         ready = self.socket.poll(timeout)
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/socket.py",
>     line 448, in poll
>         evts = dict(p.poll(timeout))
>       File
>     "/usr/custom/Anaconda-2.0.1/lib/python2.7/site-packages/zmq/sugar/poll.py",
>     line 101, in poll
>         return zmq_poll(self.sockets, timeout=timeout)
>       File "zmq/backend/cython/_poll.pyx", line 115, in
>     zmq.backend.cython._poll.zmq_poll (zmq/backend/cython/_poll.c:1586)
>       File "zmq/backend/cython/checkrc.pxd", line 21, in
>     zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/_poll.c:2016)
>         raise ZMQError(errno)
>     ZMQError: Interrupted system call
>
>     If you suspect this is an IPython bug, please report it at:
>         https://github.com/ipython/ipython/issues
>     or send an email to the mailing list at ipython-dev at scipy.org
>     <mailto:ipython-dev at scipy.org>
>
>     You can print a more detailed traceback right now with "%tb", or
>     use "%debug"
>     to interactively debug it.
>
>     Extra-detailed tracebacks for bug-reporting purposes can be
>     enabled via:
>         %config Application.verbose_crash=True
>     $
>
>     Dropping me back at the shell. This doesn't occur in just running
>     plain "$ ipython", so the kernel should have something to do with it.
>
>     I am running IPython 3.0 through Anaconda on CentOS 6.6.I hadn't
>     encountered this bug in IPython 2. Maybe other people can confirm
>     if it occurs for them. And if so, what additional info I would
>     need to file a bug report. Thanks!
>
>                                                                 
>     Gregory Simonian
>
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150321/f2180874/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150321/f2180874/attachment.sig>

From damontallen at gmail.com  Sun Mar 22 08:53:36 2015
From: damontallen at gmail.com (Damon Allen)
Date: Sun, 22 Mar 2015 08:53:36 -0400
Subject: [IPython-dev] Embedded Videos in Slideshows
In-Reply-To: <CAH+mRR00ocTNkvrW-1C87m8Cmefr7FoM+FRsh5pwMRhQ5Ee6fQ@mail.gmail.com>
References: <CAMYKURbZ0dku33c8ccCFfdgXDbc7E6_ALmo9UKMVJpQABrx9sA@mail.gmail.com>
	<CAH+mRR05Ro7Z+Bpr+6oYj=pqJaw2DKPevDPanxYz28G0BB2JxA@mail.gmail.com>
	<CAMYKURbMQpACJ1bj1cZHccHbf3ESsu52Wmb_a+=Sya9VbTUWwQ@mail.gmail.com>
	<CAH+mRR3D0Jbxyb-5Hfi4JTw=NC+PQRQd16F34BXu1HzYTG6oRw@mail.gmail.com>
	<CAMYKURaqe3Lict+RY8_+h5fpR-8jLKE=6vNAEnXW=bHrYrtWBQ@mail.gmail.com>
	<CAMYKURbgC2-305m8+mLyjH+jQx0hY8gNxeD_be3B=CPf_+JX6g@mail.gmail.com>
	<CAH+mRR00ocTNkvrW-1C87m8Cmefr7FoM+FRsh5pwMRhQ5Ee6fQ@mail.gmail.com>
Message-ID: <CAMYKURZVrHu6=W9RSW2=CJZiQA357N-D2_WuDtkXCoRzwARfbA@mail.gmail.com>

Dami?n,

Actually once I got the existing slide shows working I went to work on the
underlying libraries that I wrote for the course.  A side from a few
updates, that I verified did not break anything, I have not touched them.
I am planning on developing on a second course soon so if I see the problem
again I'll let you know.

Regards,
Damon


On Fri, Mar 20, 2015 at 8:51 PM, Dami?n Avila <damianavila at gmail.com> wrote:

> A little late ;-) but finally answering...
>
> >Since I fixed the playback problem, I'm just curious.
>
> I did not notice any of that, but I did not make to much presentations
> with audio.... are you still seeing the same on the latest release?
>
> Thanks, and sorry for the delay, it gets lost between a mountain of
> emails...
>
> 2014-03-21 0:02 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>
> Dami?n,
>>
>> I have one more question on the topic.  I noticed if I have an cell at
>> the top of the notebook that is set to be skipped in the presentation, it
>> messes up the audio control's autoplay.  Specifically the automatic pause
>> of playback when I move on to the next slide.  Has this been noticed
>> elsewhere?
>>
>> I noticed that the top cell was getting switched to a markdown cell from
>> a Heading 1, and so I added a cell at the top to act as a buffer at the
>> top.  Once I started the slideshow, the audio controls would start playing
>> correctly but they would keep playing once I advanced to the next slide.
>> However when I removed the skipped cell at the top the problem went away.
>>
>> As for the top cell switching from Heading 1 to markdown, I cannot rule
>> out that the cause was that my mouse accidentally clicking on the drop down
>> menu since I haven't reproduced it.
>>
>> Since I fixed the playback problem, I'm just curious.
>>
>> Thanks,
>>
>> Damon
>>
>> Damon T. Allen Ph.D.
>> Adjunct Professor
>> (352) 234-3266
>> damontallen at gmail.com
>> 344 Rinker Hall
>> College of Construction Management
>> University of Florida
>>
>>
>> On Tue, Mar 18, 2014 at 8:42 PM, Damon Allen <damontallen at gmail.com>
>> wrote:
>>
>>> Thanks for answering my question so promptly.  I'll tell my students to
>>> use Chrome if it is an issue for them.
>>>
>>>
>>>
>>>  Damon T. Allen Ph.D.
>>> Adjunct Professor
>>> (352) 234-3266
>>> damontallen at gmail.com
>>> 344 Rinker Hall
>>> College of Construction Management
>>> University of Florida
>>>
>>>
>>> On Tue, Mar 18, 2014 at 8:11 PM, Dami?n Avila <damianavila at gmail.com>
>>> wrote:
>>>
>>>> I ask to google... and I found I have already answered myself... ja ja
>>>>
>>>> https://github.com/damianavila/live_reveal/issues/4
>>>>
>>>> not a good sign, I think ;-)
>>>>
>>>>
>>>> 2014-03-18 19:20 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>>>>
>>>> The notebook is at:
>>>>>
>>>>>
>>>>> http://nbviewer.ipython.org/github/damontallen/Construction-Lectures/blob/master/Week%200%20-%20Greetings.ipynb
>>>>>
>>>>> The slideshow is at:
>>>>>
>>>>>
>>>>> http://damontallen.github.io/Construction-Lectures/Week%200%20-%20Greetings.slides.html#/
>>>>>
>>>>> And this problem also occurs when I use
>>>>>
>>>>> ipython nbconvert "Week 0 - Greetings.ipynb" --to slides --post serve
>>>>>
>>>>> Thanks for looking into it.
>>>>>
>>>>>
>>>>>
>>>>> Damon T. Allen Ph.D.
>>>>> Adjunct Professor
>>>>> (352) 234-3266
>>>>> damontallen at gmail.com
>>>>> 344 Rinker Hall
>>>>> College of Construction Management
>>>>> University of Florida
>>>>>
>>>>>
>>>>> On Tue, Mar 18, 2014 at 6:13 PM, Dami?n Avila <damianavila at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Have you seen this problem using the slideshow generated with
>>>>>> IPython.nbconvert?
>>>>>> It can be an issue with reveal.js itself... can you provided me with
>>>>>> an example notebook to study the case?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-03-18 18:56 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Does running a slideshow force embedded YouTube videos to play in
>>>>>>> flash instead of HTML5?  I've found that in while running Firefox in Ubuntu
>>>>>>> I cannot play YouTube videos in a slideshow.  I can watch the video in
>>>>>>> Firefox if it isn't in a slideshow and if I the slideshow runs in Chrome
>>>>>>> everything works.
>>>>>>>
>>>>>>> This isn't a big deal since most of my students are running Windows
>>>>>>> and they will be able to use up-to-date versions of the flashplayer, but I
>>>>>>> am curious if there could be a fix to either reveal or nbconvert that would
>>>>>>> correct this.
>>>>>>>
>>>>>>> As it stands, I need to switch my development from using Firefox to
>>>>>>> Chrome.
>>>>>>>
>>>>>>> I'm still using IPython 1.2.1.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Damon
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> IPython-dev mailing list
>>>>>>> IPython-dev at scipy.org
>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dami?n Avila
>>>>>> Scientific Python Developer
>>>>>> Quantitative Finance Analyst
>>>>>> Statistics, Biostatistics and Econometrics Consultant
>>>>>> Biochemist
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Dami?n Avila
>>>> Scientific Python Developer
>>>> Quantitative Finance Analyst
>>>> Statistics, Biostatistics and Econometrics Consultant
>>>> Biochemist
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> *Dami?n*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150322/60b104ae/attachment.html>

From damontallen at gmail.com  Sun Mar 22 09:10:20 2015
From: damontallen at gmail.com (Damon Allen)
Date: Sun, 22 Mar 2015 09:10:20 -0400
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH+mRR2Z+2queJ5HmtfHv+J33LUt=i0feio2+cH+j1qz3rkB9A@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
	<CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
	<CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>
	<CAH+mRR2Z+2queJ5HmtfHv+J33LUt=i0feio2+cH+j1qz3rkB9A@mail.gmail.com>
Message-ID: <CAMYKURaqjqaW2E3v3HuCR2+wkPcutD2T3_uv=2g92+8N0n2bOw@mail.gmail.com>

Dami?n,

I developed a series of slide shows for a course I teach and host them on
github.io since it was the best option at the time.  One of the thing that
I liked about the slide shows over PowerPoint was that if a slide contained
more information than would fit on a screen then it would have a vertical
scroll bar show up.  This allowed me to have large images and tables show
up with the relevant text.  I just tested one of these slides on nbviewer
and that feature does not work.  Was this a design choice or is it a bug? (
Example
<http://nbviewer.ipython.org/format/slides/github/damontallen/Construction-Lectures-Fall-2014/blob/master/Week%209%20-%20Slab%20Forms.ipynb#/1>
- sorry about the autoplay audio.)

Regards,
Damon


On Fri, Mar 20, 2015 at 9:37 PM, Dami?n Avila <damianavila at gmail.com> wrote:

> >However, we need to look at some notebook UI/UX options for getting
> access to all of the configuration features (might as well), which does
> present a bit of a challenge.
>
> That's the key... the UI/UX to make the config available without making
> the "configuration" a mess ;-)
>
> > As a first step I would like to disable the animation in
> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
> into slides.reveal.tpl, thanks for the pointer.
>
> Modifying slides_reveal.tpl will let you "config" things in nbconverted
> slides... but if you want to modify this in RISE, you need to set up the
> config in other way... check this:
> https://github.com/damianavila/RISE#configure-your-own-options
>
> Remember that RISE and IPython slides are related but different things:
>
> * RISE is a notebook changed on the fly to render as a reveal.js-based
> slideshow... but it is LIVE as the notebook is... because it is a notebook
> ;-)
>
> * IPython slides are just STATIC html/js/css generated by the
> IPython.nbconvert machinery using reveal.js as part of the machinery to
> render the STATIC slides an a slideshow... but the code can no be run
> there. Finally, the slides on nbviewer are just another way to experience
> the STATIC slides ;-)
>
> Probably you know that... but I take to opportunity to make the
> clarification so people do not confuse one with the other one.
>
> Cheers.
>
>
> 2015-03-20 20:23 GMT-03:00 Antonino Ingargiola <tritemio at gmail.com>:
>
>>
>> On Fri, Mar 20, 2015 at 3:20 PM, Nicholas Bollweg <nick.bollweg at gmail.com
>> > wrote:
>>>
>>> As a first step I would like to disable the animation in
>>>> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
>>>> into slides.reveal.tpl, thanks for the pointer.
>>>>
>>>
>>> Yeah, while the nbconvert template that will respect slideshow-level
>>> metadata (here
>>> <https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
>>> needs to be changed in ipython/ipython, we should play with the UX in
>>> livreveal first.
>>>
>>
>> link saved ;).
>>
>>
>>> Are you still referring to the animation or to the
>>>> powerpoint/libreoffice conversion here?
>>>>
>>>
>>> Was talking about the ability to do any kind of reveal configuration...
>>> hadn't responded to the powerpoint thing. But since you mention it...
>>>
>>> If we're talking about dreams, mine is to kill powerpoint :P
>>>
>>
>> I was thinking like this a few years ago, doing presentation in beamer
>> and so on.  But then I found that in the every-day practice of
>> presentations (at least in science), you continuously do a mix&match work
>> copying slides from old presentations (yours and colleagues, and for many
>> powerpoint is the standard), fixing errors and annotating slides during
>> talks and so on, there is no much time for the slides, adding an arrow or a
>> circle to highlight something must be immediate. The powerpoint/libreoffice
>> approach here has an edge.
>>
>> Right now I have 6 notebooks open with similar analysis on different data
>> files. I need to make a report presentation. Do you think I will make
>> another notebook? It is just faster if I dump everything (I mean figures
>> and latex formulas) in powerpoint and add just a few words for create a
>> logical story.
>>
>> The notebook is fantastic tool to create another kind of presentations in
>> which you show in dept a computational process.
>>
>> Aside from Pandoc, which is already available, there is python-pptx
>>> <https://github.com/scanny/python-ppt>, which could serve as a baseline
>>> for building an nbconvert formatter. Perhaps a smarter application of
>>> pandoc to the slides is the best bet to get to where you want to go... I
>>> would be very surprised if someone hadn't done this before!
>>>
>>
>> Pandoc is powerful but close to impossible to install on windows.
>> python-pptx on the contrary looks a really interesting project, thanks for
>> mentioning it :).
>>
>> Antonio
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> *Dami?n*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150322/d257df0a/attachment.html>

From maximilian.albert at gmail.com  Mon Mar 23 08:41:07 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Mon, 23 Mar 2015 12:41:07 +0000
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
Message-ID: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>

Hi all,

I know this has been brought up a few times before on various forums, but
I'm getting a bit lost in all the recent changes to nbconvert, templating,
etc., and most of the info I can find online is somewhat out of date.

Is there currently a way to convert a notebook to PDF which removes all the
input code cells *and* omits the "Out[]" prompts in the converted output?
Removing the input code cells is easy: the edited version of this answer
[1] on StackOverflow works beautifully. However, the converted output still
has the "Out[]" prompts. I tried to fiddle with the template but didn't
manage to get rid of it. Am I missing something or is this currently not
easily possible?

Many thanks,
Max

P.S.: It's already been a little while, but I'd like to extend a huge
thanks to the dev team for their awesome work on the 3.0 release. Fantastic
job, everyone!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/0227d8d1/attachment.html>

From damianavila at gmail.com  Mon Mar 23 08:49:43 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Mon, 23 Mar 2015 09:49:43 -0300
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAMYKURaqjqaW2E3v3HuCR2+wkPcutD2T3_uv=2g92+8N0n2bOw@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
	<CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
	<CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>
	<CAH+mRR2Z+2queJ5HmtfHv+J33LUt=i0feio2+cH+j1qz3rkB9A@mail.gmail.com>
	<CAMYKURaqjqaW2E3v3HuCR2+wkPcutD2T3_uv=2g92+8N0n2bOw@mail.gmail.com>
Message-ID: <CAH+mRR1Nhm4-cJA=z-YkeammNcT1bU0+KP83CAuKap7_qAuR5w@mail.gmail.com>

Probably something we lost in the integration, can you open an issue in the
nbviewer repo to track this... this should be working IMHO

2015-03-22 10:10 GMT-03:00 Damon Allen <damontallen at gmail.com>:

> Dami?n,
>
> I developed a series of slide shows for a course I teach and host them on
> github.io since it was the best option at the time.  One of the thing
> that I liked about the slide shows over PowerPoint was that if a slide
> contained more information than would fit on a screen then it would have a
> vertical scroll bar show up.  This allowed me to have large images and
> tables show up with the relevant text.  I just tested one of these slides
> on nbviewer and that feature does not work.  Was this a design choice or is
> it a bug? (Example
> <http://nbviewer.ipython.org/format/slides/github/damontallen/Construction-Lectures-Fall-2014/blob/master/Week%209%20-%20Slab%20Forms.ipynb#/1>
> - sorry about the autoplay audio.)
>
> Regards,
> Damon
>
>
> On Fri, Mar 20, 2015 at 9:37 PM, Dami?n Avila <damianavila at gmail.com>
> wrote:
>
>> >However, we need to look at some notebook UI/UX options for getting
>> access to all of the configuration features (might as well), which does
>> present a bit of a challenge.
>>
>> That's the key... the UI/UX to make the config available without making
>> the "configuration" a mess ;-)
>>
>> > As a first step I would like to disable the animation in
>> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
>> into slides.reveal.tpl, thanks for the pointer.
>>
>> Modifying slides_reveal.tpl will let you "config" things in nbconverted
>> slides... but if you want to modify this in RISE, you need to set up the
>> config in other way... check this:
>> https://github.com/damianavila/RISE#configure-your-own-options
>>
>> Remember that RISE and IPython slides are related but different things:
>>
>> * RISE is a notebook changed on the fly to render as a reveal.js-based
>> slideshow... but it is LIVE as the notebook is... because it is a notebook
>> ;-)
>>
>> * IPython slides are just STATIC html/js/css generated by the
>> IPython.nbconvert machinery using reveal.js as part of the machinery to
>> render the STATIC slides an a slideshow... but the code can no be run
>> there. Finally, the slides on nbviewer are just another way to experience
>> the STATIC slides ;-)
>>
>> Probably you know that... but I take to opportunity to make the
>> clarification so people do not confuse one with the other one.
>>
>> Cheers.
>>
>>
>> 2015-03-20 20:23 GMT-03:00 Antonino Ingargiola <tritemio at gmail.com>:
>>
>>>
>>> On Fri, Mar 20, 2015 at 3:20 PM, Nicholas Bollweg <
>>> nick.bollweg at gmail.com> wrote:
>>>>
>>>> As a first step I would like to disable the animation in
>>>>> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
>>>>> into slides.reveal.tpl, thanks for the pointer.
>>>>>
>>>>
>>>> Yeah, while the nbconvert template that will respect slideshow-level
>>>> metadata (here
>>>> <https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
>>>> needs to be changed in ipython/ipython, we should play with the UX in
>>>> livreveal first.
>>>>
>>>
>>> link saved ;).
>>>
>>>
>>>> Are you still referring to the animation or to the
>>>>> powerpoint/libreoffice conversion here?
>>>>>
>>>>
>>>> Was talking about the ability to do any kind of reveal configuration...
>>>> hadn't responded to the powerpoint thing. But since you mention it...
>>>>
>>>> If we're talking about dreams, mine is to kill powerpoint :P
>>>>
>>>
>>> I was thinking like this a few years ago, doing presentation in beamer
>>> and so on.  But then I found that in the every-day practice of
>>> presentations (at least in science), you continuously do a mix&match work
>>> copying slides from old presentations (yours and colleagues, and for many
>>> powerpoint is the standard), fixing errors and annotating slides during
>>> talks and so on, there is no much time for the slides, adding an arrow or a
>>> circle to highlight something must be immediate. The powerpoint/libreoffice
>>> approach here has an edge.
>>>
>>> Right now I have 6 notebooks open with similar analysis on different
>>> data files. I need to make a report presentation. Do you think I will make
>>> another notebook? It is just faster if I dump everything (I mean figures
>>> and latex formulas) in powerpoint and add just a few words for create a
>>> logical story.
>>>
>>> The notebook is fantastic tool to create another kind of presentations
>>> in which you show in dept a computational process.
>>>
>>> Aside from Pandoc, which is already available, there is python-pptx
>>>> <https://github.com/scanny/python-ppt>, which could serve as a
>>>> baseline for building an nbconvert formatter. Perhaps a smarter application
>>>> of pandoc to the slides is the best bet to get to where you want to go... I
>>>> would be very surprised if someone hadn't done this before!
>>>>
>>>
>>> Pandoc is powerful but close to impossible to install on windows.
>>> python-pptx on the contrary looks a really interesting project, thanks for
>>> mentioning it :).
>>>
>>> Antonio
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>>
>> --
>> *Dami?n*
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/dab68d84/attachment.html>

From damontallen at gmail.com  Mon Mar 23 11:48:04 2015
From: damontallen at gmail.com (Damon Allen)
Date: Mon, 23 Mar 2015 11:48:04 -0400
Subject: [IPython-dev] Slides on nbviewer!!!
In-Reply-To: <CAH+mRR1Nhm4-cJA=z-YkeammNcT1bU0+KP83CAuKap7_qAuR5w@mail.gmail.com>
References: <CAH+mRR18dH+LMUqx736ti2qUjbhmbciNuGknMRteLRXsEwVJrA@mail.gmail.com>
	<CANn2QUz1XcHOMrxPVQxqBspRAZvy=nUhZsOLTCt26dU2JUEvWQ@mail.gmail.com>
	<CACejjWzc-VqojeD3x1khhsEdWnD-iaKUE7pQPYA2uaK8R5sNhw@mail.gmail.com>
	<CANn2QUx7zdJ8CwQPWM-snV3pidVZ713L04COKZC+Hpnn9Jnvhw@mail.gmail.com>
	<CACejjWxvpisXoZqyfBpqqUvj9BhjYvfcefk_2KovYp+8VpigNQ@mail.gmail.com>
	<CANn2QUxJN7TEGN=kLSycFe0=0oSE9BWkv0sy4Bcrr4zSbET+Ew@mail.gmail.com>
	<CAH+mRR2Z+2queJ5HmtfHv+J33LUt=i0feio2+cH+j1qz3rkB9A@mail.gmail.com>
	<CAMYKURaqjqaW2E3v3HuCR2+wkPcutD2T3_uv=2g92+8N0n2bOw@mail.gmail.com>
	<CAH+mRR1Nhm4-cJA=z-YkeammNcT1bU0+KP83CAuKap7_qAuR5w@mail.gmail.com>
Message-ID: <CAMYKURYvrD6VMONP_HnLHSGv2a0o6ZG0MuQOUG7UCcY5wB7scQ@mail.gmail.com>

It looks like #433 <https://github.com/jupyter/nbviewer/issues/433> is that
issue.


Regards,
Damon



On Mon, Mar 23, 2015 at 8:49 AM, Dami?n Avila <damianavila at gmail.com> wrote:

> Probably something we lost in the integration, can you open an issue in
> the nbviewer repo to track this... this should be working IMHO
>
> 2015-03-22 10:10 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>
> Dami?n,
>>
>> I developed a series of slide shows for a course I teach and host them on
>> github.io since it was the best option at the time.  One of the thing
>> that I liked about the slide shows over PowerPoint was that if a slide
>> contained more information than would fit on a screen then it would have a
>> vertical scroll bar show up.  This allowed me to have large images and
>> tables show up with the relevant text.  I just tested one of these slides
>> on nbviewer and that feature does not work.  Was this a design choice or is
>> it a bug? (Example
>> <http://nbviewer.ipython.org/format/slides/github/damontallen/Construction-Lectures-Fall-2014/blob/master/Week%209%20-%20Slab%20Forms.ipynb#/1>
>> - sorry about the autoplay audio.)
>>
>> Regards,
>> Damon
>>
>>
>> On Fri, Mar 20, 2015 at 9:37 PM, Dami?n Avila <damianavila at gmail.com>
>> wrote:
>>
>>> >However, we need to look at some notebook UI/UX options for getting
>>> access to all of the configuration features (might as well), which does
>>> present a bit of a challenge.
>>>
>>> That's the key... the UI/UX to make the config available without making
>>> the "configuration" a mess ;-)
>>>
>>> > As a first step I would like to disable the animation in
>>> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
>>> into slides.reveal.tpl, thanks for the pointer.
>>>
>>> Modifying slides_reveal.tpl will let you "config" things in nbconverted
>>> slides... but if you want to modify this in RISE, you need to set up the
>>> config in other way... check this:
>>> https://github.com/damianavila/RISE#configure-your-own-options
>>>
>>> Remember that RISE and IPython slides are related but different things:
>>>
>>> * RISE is a notebook changed on the fly to render as a reveal.js-based
>>> slideshow... but it is LIVE as the notebook is... because it is a notebook
>>> ;-)
>>>
>>> * IPython slides are just STATIC html/js/css generated by the
>>> IPython.nbconvert machinery using reveal.js as part of the machinery to
>>> render the STATIC slides an a slideshow... but the code can no be run
>>> there. Finally, the slides on nbviewer are just another way to experience
>>> the STATIC slides ;-)
>>>
>>> Probably you know that... but I take to opportunity to make the
>>> clarification so people do not confuse one with the other one.
>>>
>>> Cheers.
>>>
>>>
>>> 2015-03-20 20:23 GMT-03:00 Antonino Ingargiola <tritemio at gmail.com>:
>>>
>>>>
>>>> On Fri, Mar 20, 2015 at 3:20 PM, Nicholas Bollweg <
>>>> nick.bollweg at gmail.com> wrote:
>>>>>
>>>>> As a first step I would like to disable the animation in
>>>>>> livereveal/RISE, I can live with the animation on nbviewer.I'll try to look
>>>>>> into slides.reveal.tpl, thanks for the pointer.
>>>>>>
>>>>>
>>>>> Yeah, while the nbconvert template that will respect slideshow-level
>>>>> metadata (here
>>>>> <https://github.com/ipython/ipython/blob/master/IPython/nbconvert/templates/html/slides_reveal.tpl#L172>)
>>>>> needs to be changed in ipython/ipython, we should play with the UX in
>>>>> livreveal first.
>>>>>
>>>>
>>>> link saved ;).
>>>>
>>>>
>>>>> Are you still referring to the animation or to the
>>>>>> powerpoint/libreoffice conversion here?
>>>>>>
>>>>>
>>>>> Was talking about the ability to do any kind of reveal
>>>>> configuration... hadn't responded to the powerpoint thing. But since you
>>>>> mention it...
>>>>>
>>>>> If we're talking about dreams, mine is to kill powerpoint :P
>>>>>
>>>>
>>>> I was thinking like this a few years ago, doing presentation in beamer
>>>> and so on.  But then I found that in the every-day practice of
>>>> presentations (at least in science), you continuously do a mix&match work
>>>> copying slides from old presentations (yours and colleagues, and for many
>>>> powerpoint is the standard), fixing errors and annotating slides during
>>>> talks and so on, there is no much time for the slides, adding an arrow or a
>>>> circle to highlight something must be immediate. The powerpoint/libreoffice
>>>> approach here has an edge.
>>>>
>>>> Right now I have 6 notebooks open with similar analysis on different
>>>> data files. I need to make a report presentation. Do you think I will make
>>>> another notebook? It is just faster if I dump everything (I mean figures
>>>> and latex formulas) in powerpoint and add just a few words for create a
>>>> logical story.
>>>>
>>>> The notebook is fantastic tool to create another kind of presentations
>>>> in which you show in dept a computational process.
>>>>
>>>> Aside from Pandoc, which is already available, there is python-pptx
>>>>> <https://github.com/scanny/python-ppt>, which could serve as a
>>>>> baseline for building an nbconvert formatter. Perhaps a smarter application
>>>>> of pandoc to the slides is the best bet to get to where you want to go... I
>>>>> would be very surprised if someone hadn't done this before!
>>>>>
>>>>
>>>> Pandoc is powerful but close to impossible to install on windows.
>>>> python-pptx on the contrary looks a really interesting project, thanks for
>>>> mentioning it :).
>>>>
>>>> Antonio
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Dami?n*
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> *Dami?n*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/566f5ecd/attachment.html>

From kikocorreoso at gmail.com  Mon Mar 23 14:40:50 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Mon, 23 Mar 2015 19:40:50 +0100
Subject: [IPython-dev] Jupytor notebook extension
Message-ID: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>

Hi all,

I'm teaching some python to people with very few programming experience and
I created a dummy extension to embed pythontutor on the jupyter notebook.

It provides a cell magic and the code cell will be executed within an
IFrame with pythontutor.

Here you can find an example:
http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb

The repo is here: https://github.com/kikocorreoso/jupytor

I hope it could be useful to someone.

Best.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/e37b4920/attachment.html>

From jared at jaredforsyth.com  Mon Mar 23 15:01:54 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Mon, 23 Mar 2015 19:01:54 +0000
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
Message-ID: <CAK+wY2ZKF9cXB0hKvmdKQdp3LC_Y9JJoZ=XqEBqBjhhkAqSzEA@mail.gmail.com>

That's super cool! Definitely useful. I wonder how easy it would be to just
use pythontutor <https://github.com/pgbovine/OnlinePythonTutor> on the
plugin-side and avoid needing the iframe.

On Mon, Mar 23, 2015 at 12:41 PM Kiko <kikocorreoso at gmail.com> wrote:

> Hi all,
>
> I'm teaching some python to people with very few programming experience
> and I created a dummy extension to embed pythontutor on the jupyter
> notebook.
>
> It provides a cell magic and the code cell will be executed within an
> IFrame with pythontutor.
>
> Here you can find an example:
> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>
> The repo is here: https://github.com/kikocorreoso/jupytor
>
> I hope it could be useful to someone.
>
> Best.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/43817a83/attachment.html>

From bussonniermatthias at gmail.com  Mon Mar 23 15:06:17 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 23 Mar 2015 12:06:17 -0700
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
Message-ID: <443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>

Hey !

Le 23 mars 2015 ? 05:41, Maximilian Albert <maximilian.albert at gmail.com> a ?crit :

> Hi all,
> 
> I know this has been brought up a few times before on various forums, but I'm getting a bit lost in all the recent changes to nbconvert, templating, etc., and most of the info I can find online is somewhat out of date.
> 
> Is there currently a way to convert a notebook to PDF which removes all the input code cells *and* omits the "Out[]" prompts in the converted output? Removing the input code cells is easy: the edited version of this answer [1] on StackOverflow works beautifully. However, the converted output still has the "Out[]" prompts. I tried to fiddle with the template but didn't manage to get rid of it. Am I missing something or is this currently not easily possible?

I guess you need to inherit the following block :


((* block execute_result scoped *))
    ((*- for type in output.data | filter_data_type -*))
        ((*- if type in ['text/plain']*))
            ((( add_prompt(output.data['text/plain'] | escape_latex, cell, 'Out', 'outcolor') )))
        ((* else -*))
\texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count )))}]:}((( super() )))
        ((*- endif -*))
    ((*- endfor -*))
((* endblock execute_result *))


form IPython/nbconvert/templates/latex/style_ipython.tplx

And replace by what you wish. 
You did it for input cells, so you should achieve it here :-) 


> Many thanks,
> Max
> 
> P.S.: It's already been a little while, but I'd like to extend a huge thanks to the dev team for their awesome work on the 3.0 release. Fantastic job, everyone!!

Thanks !
-- 
M



From chaugan at visi.com  Mon Mar 23 17:24:22 2015
From: chaugan at visi.com (Carl Haugan)
Date: Mon, 23 Mar 2015 16:24:22 -0500
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
Message-ID: <web-1659801@mailback2.g2host.com>

An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/fa32c88e/attachment.html>

From takowl at gmail.com  Mon Mar 23 17:35:39 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 23 Mar 2015 14:35:39 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <web-1659801@mailback2.g2host.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
Message-ID: <CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>

Hi Carl,

On 23 March 2015 at 14:24, Carl Haugan <chaugan at visi.com> wrote:

> I can work around this by editing the timeout in my local copy of
> execute.py, but it would be nice to do this programmatically.


The timeout value is a configurable, so you should be able to pass it a
value at the command line with something like
"--ExecutePreprocessor.timeout None".

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/6d63e0b9/attachment.html>

From doug.blank at gmail.com  Mon Mar 23 17:51:14 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Mon, 23 Mar 2015 17:51:14 -0400
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
Message-ID: <CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>

That is definitely an improvement over my simply version that I put
together last week:

http://jupyter.cs.brynmawr.edu/hub/dblank/public/Examples/Online%20Python%20Tutor.ipynb

Not sure about the name "jupytor" though... "tutor" would be easier for
beginners (at least in English).

Thanks for developing and sharing this!

-Doug

On Mon, Mar 23, 2015 at 2:40 PM, Kiko <kikocorreoso at gmail.com> wrote:

> Hi all,
>
> I'm teaching some python to people with very few programming experience
> and I created a dummy extension to embed pythontutor on the jupyter
> notebook.
>
> It provides a cell magic and the code cell will be executed within an
> IFrame with pythontutor.
>
> Here you can find an example:
> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>
> The repo is here: https://github.com/kikocorreoso/jupytor
>
> I hope it could be useful to someone.
>
> Best.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/55e20658/attachment.html>

From chaugan at visi.com  Mon Mar 23 18:05:25 2015
From: chaugan at visi.com (Carl Haugan)
Date: Mon, 23 Mar 2015 17:05:25 -0500
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
Message-ID: <web-1660165@mailback2.g2host.com>

An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/2f7a7c3d/attachment.html>

From tritemio at gmail.com  Mon Mar 23 18:12:05 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Mon, 23 Mar 2015 15:12:05 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <web-1660165@mailback2.g2host.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
	<web-1660165@mailback2.g2host.com>
Message-ID: <CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>

On Mon, Mar 23, 2015 at 3:05 PM, Carl Haugan <chaugan at visi.com> wrote:

> Hi Thomas,
> Thank you for the pointer, I used
>
> subprocess.Popen('ipython nbconvert --ExecutePreprocessor.timeout=120
> --execute --to notebook --output out.ipynb  in.ipynb')
>
> and it all works perfectly.
>

Sorry for jumping in, for completeness sake (and future reference), how do
we change the timeout in same thread when using ExecutePreprocessor()?

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/af485f52/attachment.html>

From bussonniermatthias at gmail.com  Mon Mar 23 18:30:16 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 23 Mar 2015 15:30:16 -0700
Subject: [IPython-dev] running/getting output into a new
	programmatically-generated notebook
In-Reply-To: <CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
	<web-1660165@mailback2.g2host.com>
	<CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
Message-ID: <63ADCE35-A25E-4842-B179-B3AF2D307DAB@gmail.com>


Le 23 mars 2015 ? 15:12, Antonino Ingargiola <tritemio at gmail.com> a ?crit :

> Sorry for jumping in, for completeness sake (and future reference), how do we change the timeout in same thread when using ExecutePreprocessor()?

What do you mean by "in same thread" ?
-- 
M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/d4131c42/attachment.html>

From takowl at gmail.com  Mon Mar 23 18:38:41 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 23 Mar 2015 15:38:41 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
	<web-1660165@mailback2.g2host.com>
	<CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
Message-ID: <CAOvn4qjLbG+o=6gnU=ogSb4LpoZMTc0CGAn82fcQFpvTeAuseQ@mail.gmail.com>

On 23 March 2015 at 15:12, Antonino Ingargiola <tritemio at gmail.com> wrote:

> Sorry for jumping in, for completeness sake (and future reference), how do
> we change the timeout in same thread when using ExecutePreprocessor()?
>

You can pass in timeout= as a keyword argument when creating it, or set it
as an attribute on the preprocessor instance.

E.g.

nb = nbformat.read(nbPath, as_version=4)
ep = ExecutePreprocessor(timeout=None)   # Option 1
ep.timeout = 60  # Option 2
ep.preprocess(nb, {'metadata': {'path': nbPath}})
nbformat.write(nb, nbPath)

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/452c0289/attachment.html>

From tritemio at gmail.com  Mon Mar 23 19:13:03 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Mon, 23 Mar 2015 16:13:03 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <CAOvn4qjLbG+o=6gnU=ogSb4LpoZMTc0CGAn82fcQFpvTeAuseQ@mail.gmail.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
	<web-1660165@mailback2.g2host.com>
	<CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
	<CAOvn4qjLbG+o=6gnU=ogSb4LpoZMTc0CGAn82fcQFpvTeAuseQ@mail.gmail.com>
Message-ID: <CANn2QUyEz-PcH_x5zNEUEbKVT_7dy0i8mas+XvQr3_R9T1CGwg@mail.gmail.com>

On Mon, Mar 23, 2015 at 3:38 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 23 March 2015 at 15:12, Antonino Ingargiola <tritemio at gmail.com> wrote:
>
>> Sorry for jumping in, for completeness sake (and future reference), how
>> do we change the timeout in same thread when using ExecutePreprocessor()?
>>
>
> You can pass in timeout= as a keyword argument when creating it, or set it
> as an attribute on the preprocessor instance.
>
> E.g.
>
> nb = nbformat.read(nbPath, as_version=4)
> ep = ExecutePreprocessor(timeout=None)   # Option 1
> ep.timeout = 60  # Option 2
> ep.preprocess(nb, {'metadata': {'path': nbPath}})
> nbformat.write(nb, nbPath)
>
> Thomas
>

Great thanks! I'm going to use it to replace runipy in a script that batch
execute all the notebooks involved for a paper.

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/f6760b10/attachment.html>

From tritemio at gmail.com  Mon Mar 23 19:14:46 2015
From: tritemio at gmail.com (Antonino Ingargiola)
Date: Mon, 23 Mar 2015 16:14:46 -0700
Subject: [IPython-dev] running/getting output into a new
 programmatically-generated notebook
In-Reply-To: <63ADCE35-A25E-4842-B179-B3AF2D307DAB@gmail.com>
References: <CALG0cFFntf0W5gCi7=H3onD75=tTVBS75+rnqbG5gtThkO9f-Q@mail.gmail.com>
	<web-1659801@mailback2.g2host.com>
	<CAOvn4qiR_mwcq2BPUUofCgDBYuHfHXBhY=26uB+Br0oEXd7jiA@mail.gmail.com>
	<web-1660165@mailback2.g2host.com>
	<CANn2QUyWVrweLx_apjTcGUS3HeOrndBO9SXEWbfWYto0DxAqpg@mail.gmail.com>
	<63ADCE35-A25E-4842-B179-B3AF2D307DAB@gmail.com>
Message-ID: <CANn2QUzHWu5G3ZqG2eRseKp-nMYKXfDCyg=V67ewJMDaSFpC3w@mail.gmail.com>

On Mon, Mar 23, 2015 at 3:30 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 23 mars 2015 ? 15:12, Antonino Ingargiola <tritemio at gmail.com> a ?crit
> :
>
> Sorry for jumping in, for completeness sake (and future reference), how do
> we change the timeout in same thread when using ExecutePreprocessor()?
>
>
> What do you mean by "in same thread" ?
>

Sorry, I meant same process, without using popen.

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150323/2506dd6e/attachment.html>

From maximilian.albert at gmail.com  Mon Mar 23 21:08:25 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Tue, 24 Mar 2015 01:08:25 +0000
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
Message-ID: <CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>

2015-03-23 19:06 GMT+00:00 Matthias Bussonnier <bussonniermatthias at gmail.com
>:

>
> I guess you need to inherit the following block :
>
>
> ((* block execute_result scoped *))
>     ((*- for type in output.data | filter_data_type -*))
>         ((*- if type in ['text/plain']*))
>             ((( add_prompt(output.data['text/plain'] | escape_latex, cell,
> 'Out', 'outcolor') )))
>         ((* else -*))
> \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count
> )))}]:}((( super() )))
>         ((*- endif -*))
>     ((*- endfor -*))
> ((* endblock execute_result *))
>
>
> form IPython/nbconvert/templates/latex/style_ipython.tplx
>
> And replace by what you wish.
>


Thanks for the suggestion! That's precisely what I tried, but the problem
seems to be that the call to super() somehow adds an additional Out[]
prompt. I'll try to dig deeper into this when I get the time (and/or make a
minimal example available so that it can easily be reproduced), but if
anyone has any quick ideas I'm happy to hear them.

Cheers,
Max

P.S.: I noticed I forgot to include the link to the StackOverflow question
I mentioned in my original email. Here it is:


http://stackoverflow.com/questions/19524554/suppress-code-in-nbconvert-ipython
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/8264ff70/attachment.html>

From kikocorreoso at gmail.com  Tue Mar 24 03:24:27 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Tue, 24 Mar 2015 08:24:27 +0100
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAK+wY2ZKF9cXB0hKvmdKQdp3LC_Y9JJoZ=XqEBqBjhhkAqSzEA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAK+wY2ZKF9cXB0hKvmdKQdp3LC_Y9JJoZ=XqEBqBjhhkAqSzEA@mail.gmail.com>
Message-ID: <CAB-sx63dRMTrVrGxBx1a3mULciEdpGGDtJmQQNOXfTyOgJR_=w@mail.gmail.com>

2015-03-23 20:01 GMT+01:00 Jared Forsyth <jared at jaredforsyth.com>:

> That's super cool! Definitely useful. I wonder how easy it would be to
> just use pythontutor <https://github.com/pgbovine/OnlinePythonTutor> on
> the plugin-side and avoid needing the iframe.
>

It would need deeper research to integrate pythontutor in IPython. I've
never dived into the pythontutor code. My version is the poor man version
:-P


>
> On Mon, Mar 23, 2015 at 12:41 PM Kiko <kikocorreoso at gmail.com> wrote:
>
>> Hi all,
>>
>> I'm teaching some python to people with very few programming experience
>> and I created a dummy extension to embed pythontutor on the jupyter
>> notebook.
>>
>> It provides a cell magic and the code cell will be executed within an
>> IFrame with pythontutor.
>>
>> Here you can find an example:
>> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>>
>> The repo is here: https://github.com/kikocorreoso/jupytor
>>
>> I hope it could be useful to someone.
>>
>> Best.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/0c3d1bfd/attachment.html>

From kikocorreoso at gmail.com  Tue Mar 24 03:28:52 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Tue, 24 Mar 2015 08:28:52 +0100
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
Message-ID: <CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>

2015-03-23 22:51 GMT+01:00 Doug Blank <doug.blank at gmail.com>:

> That is definitely an improvement over my simply version that I put
> together last week:
>
>
> http://jupyter.cs.brynmawr.edu/hub/dblank/public/Examples/Online%20Python%20Tutor.ipynb
>

Hey, I didn't know you had this!! My version does basically the same.

>
>
> Not sure about the name "jupytor" though... "tutor" would be easier for
> beginners (at least in English).
>
> Thanks for developing and sharing this!
>

Jupytor comes from JUPYter + pythontuTOR. I know it is an ugly name and if
someone wants to provide a new name it will be welcome. Tutor could be a
possibility.

Best.


>
> -Doug
>
> On Mon, Mar 23, 2015 at 2:40 PM, Kiko <kikocorreoso at gmail.com> wrote:
>
>> Hi all,
>>
>> I'm teaching some python to people with very few programming experience
>> and I created a dummy extension to embed pythontutor on the jupyter
>> notebook.
>>
>> It provides a cell magic and the code cell will be executed within an
>> IFrame with pythontutor.
>>
>> Here you can find an example:
>> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>>
>> The repo is here: https://github.com/kikocorreoso/jupytor
>>
>> I hope it could be useful to someone.
>>
>> Best.
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/65de0298/attachment.html>

From aaron.oleary at gmail.com  Tue Mar 24 06:35:31 2015
From: aaron.oleary at gmail.com (Aaron O'Leary)
Date: Tue, 24 Mar 2015 10:35:31 +0000
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
Message-ID: <CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>

Hi Max,

This is what you need:

((*- extends 'article.tplx' -*))

% Disable input cells
((* block input_group *))
((* endblock input_group *))

% Disable output cells
((* block output_group *))
((* endblock output_group *))


You need to use 'output_group' instead of 'execute_result'. There are quite
a number of elements in the output and 'output_group' is the block that
covers all of them.

You can get an overview of the block hierarchy by looking at
'IPython/nbconvert/templates/latex/skeleton/null.tplx'.

aaron


On 24 March 2015 at 01:08, Maximilian Albert <maximilian.albert at gmail.com>
wrote:

> 2015-03-23 19:06 GMT+00:00 Matthias Bussonnier <
> bussonniermatthias at gmail.com>:
>
>>
>> I guess you need to inherit the following block :
>>
>>
>> ((* block execute_result scoped *))
>>     ((*- for type in output.data | filter_data_type -*))
>>         ((*- if type in ['text/plain']*))
>>             ((( add_prompt(output.data['text/plain'] | escape_latex,
>> cell, 'Out', 'outcolor') )))
>>         ((* else -*))
>> \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count
>> )))}]:}((( super() )))
>>         ((*- endif -*))
>>     ((*- endfor -*))
>> ((* endblock execute_result *))
>>
>>
>> form IPython/nbconvert/templates/latex/style_ipython.tplx
>>
>> And replace by what you wish.
>>
>
>
> Thanks for the suggestion! That's precisely what I tried, but the problem
> seems to be that the call to super() somehow adds an additional Out[]
> prompt. I'll try to dig deeper into this when I get the time (and/or make a
> minimal example available so that it can easily be reproduced), but if
> anyone has any quick ideas I'm happy to hear them.
>
> Cheers,
> Max
>
> P.S.: I noticed I forgot to include the link to the StackOverflow question
> I mentioned in my original email. Here it is:
>
>
> http://stackoverflow.com/questions/19524554/suppress-code-in-nbconvert-ipython
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/a9a0fc4a/attachment.html>

From aaron.oleary at gmail.com  Tue Mar 24 07:27:33 2015
From: aaron.oleary at gmail.com (Aaron O'Leary)
Date: Tue, 24 Mar 2015 11:27:33 +0000
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
Message-ID: <CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>

Sorry, I misread your question! You only want to remove the output prompts,
not the whole output.

Try this:

((*- extends 'article.tplx'
-*))



% Disable input
cells

((* block input_group
*))

((* endblock input_group
*))



((* block execute_result scoped
*))

    ((*- for type in output.data | filter_data_type
-*))

        ((*- if type in
['text/plain']*))

            ((( output.data['text/plain'] | escape_latex
)))

        ((* else
-*))

            ((( super()
)))

        ((*- endif
-*))

    ((*- endfor
-*))

((* endblock execute_result *))


i.e. get rid of both the call to add_prompt and the manual prompt creation.

On 24 March 2015 at 10:35, Aaron O'Leary <aaron.oleary at gmail.com> wrote:

> Hi Max,
>
> This is what you need:
>
> ((*- extends 'article.tplx' -*))
>
> % Disable input cells
> ((* block input_group *))
> ((* endblock input_group *))
>
> % Disable output cells
> ((* block output_group *))
> ((* endblock output_group *))
>
>
> You need to use 'output_group' instead of 'execute_result'. There are
> quite a number of elements in the output and 'output_group' is the block
> that covers all of them.
>
> You can get an overview of the block hierarchy by looking at
> 'IPython/nbconvert/templates/latex/skeleton/null.tplx'.
>
> aaron
>
>
> On 24 March 2015 at 01:08, Maximilian Albert <maximilian.albert at gmail.com>
> wrote:
>
>> 2015-03-23 19:06 GMT+00:00 Matthias Bussonnier <
>> bussonniermatthias at gmail.com>:
>>
>>>
>>> I guess you need to inherit the following block :
>>>
>>>
>>> ((* block execute_result scoped *))
>>>     ((*- for type in output.data | filter_data_type -*))
>>>         ((*- if type in ['text/plain']*))
>>>             ((( add_prompt(output.data['text/plain'] | escape_latex,
>>> cell, 'Out', 'outcolor') )))
>>>         ((* else -*))
>>> \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count
>>> )))}]:}((( super() )))
>>>         ((*- endif -*))
>>>     ((*- endfor -*))
>>> ((* endblock execute_result *))
>>>
>>>
>>> form IPython/nbconvert/templates/latex/style_ipython.tplx
>>>
>>> And replace by what you wish.
>>>
>>
>>
>> Thanks for the suggestion! That's precisely what I tried, but the problem
>> seems to be that the call to super() somehow adds an additional Out[]
>> prompt. I'll try to dig deeper into this when I get the time (and/or make a
>> minimal example available so that it can easily be reproduced), but if
>> anyone has any quick ideas I'm happy to hear them.
>>
>> Cheers,
>> Max
>>
>> P.S.: I noticed I forgot to include the link to the StackOverflow
>> question I mentioned in my original email. Here it is:
>>
>>
>> http://stackoverflow.com/questions/19524554/suppress-code-in-nbconvert-ipython
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/fe26a09f/attachment.html>

From markbak at gmail.com  Tue Mar 24 07:51:28 2015
From: markbak at gmail.com (Mark Bakker)
Date: Tue, 24 Mar 2015 12:51:28 +0100
Subject: [IPython-dev] How to set state of widget in IPython3?
Message-ID: <CAEX=yaYw2gCcR35cXyw6nhzhOjY2+KxBc_DfKO6sLbrKmqaqNw@mail.gmail.com>

Hello list. I am trying to set the state of a DropdownWidget (Or
RadioButton) in IPython3. You didn't have to do that in the past, but even
if I specify the value, it gives me an error. Simple example:

This works:

def plot_line(c='b'):
    plt.plot([0,1],color=c)
interact(plot_line,c=['b','r','g']);

This works in IPython2, but not in IPython3. In IPython3 it passes c=None
to the function on initialization.

def plot_line(c='b'):
    plt.plot([0,1],color=c)
interact(plot_line,c=DropdownWidget(values=['b','r','g']));

Even when specifying the value, for example

def plot_line(c='b'):
    plt.plot([0,1],color=c)
interact(plot_line,c=DropdownWidget(value='r',values=['b','r','g']));

I get an error: KeyError: 'r'.

Any thoughts on how to set the state when creating a DropwdownWidget (or
RadioButtonWidget) using interact? Or is this a bug?

Thanks,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/a1096dbe/attachment.html>

From kikocorreoso at gmail.com  Tue Mar 24 10:19:36 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Tue, 24 Mar 2015 15:19:36 +0100
Subject: [IPython-dev] How to set state of widget in IPython3?
In-Reply-To: <CAEX=yaYw2gCcR35cXyw6nhzhOjY2+KxBc_DfKO6sLbrKmqaqNw@mail.gmail.com>
References: <CAEX=yaYw2gCcR35cXyw6nhzhOjY2+KxBc_DfKO6sLbrKmqaqNw@mail.gmail.com>
Message-ID: <CAB-sx61bM7o+SU5jETDGhco9O1vt3EMvO6_ThR5WPvrmzO6snA@mail.gmail.com>

2015-03-24 12:51 GMT+01:00 Mark Bakker <markbak at gmail.com>:

> Hello list. I am trying to set the state of a DropdownWidget (Or
> RadioButton) in IPython3. You didn't have to do that in the past, but even
> if I specify the value, it gives me an error. Simple example:
>
> This works:
>
> def plot_line(c='b'):
>     plt.plot([0,1],color=c)
> interact(plot_line,c=['b','r','g']);
>
> This works in IPython2, but not in IPython3. In IPython3 it passes c=None
> to the function on initialization.
>
> def plot_line(c='b'):
>     plt.plot([0,1],color=c)
> interact(plot_line,c=DropdownWidget(values=['b','r','g']));
>
> Even when specifying the value, for example
>
> def plot_line(c='b'):
>     plt.plot([0,1],color=c)
> interact(plot_line,c=DropdownWidget(value='r',values=['b','r','g']));
>
> I get an error: KeyError: 'r'.
>
> Any thoughts on how to set the state when creating a DropwdownWidget (or
> RadioButtonWidget) using interact? Or is this a bug?
>

Hi, check this:
http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Interactive%20Widgets/Widget%20List.ipynb

In your example:
w = widgets.Dropdown(
    options=['b', 'r', 'g'],
    value='r',
    description='Line Color:',
)

def plot_line(c='b'):
    plt.figure()
    plt.plot([0,1],color=c)
interact(plot_line, c = w)


>
> Thanks,
>
> Mark
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/8a02ff5f/attachment.html>

From markbak at gmail.com  Tue Mar 24 11:52:24 2015
From: markbak at gmail.com (Mark Bakker)
Date: Tue, 24 Mar 2015 16:52:24 +0100
Subject: [IPython-dev] How to set state of widget in IPython3?
Message-ID: <CAEX=yaZoKizBt0v0psK7s+0v4kKvv2-79g2tSF1bGwHJO3WzYA@mail.gmail.com>

Thanks, Kiko.
I should have noticed that the 'values' keyword had changed to the much
better 'options' keyword in IPython3.

Got a follow up question if you don't mind. When I use the same example,
but with RadioButtons rather than a Dropdown widget, the radio buttons
overlap with the descriptor (Line Color:). Any way to specify the distance
between the descriptor and radio buttons? I think the default should
probably not overlap the two. Here's an example:

w = widgets.RadioButtons(
    options=['b', 'r', 'g'],
    value='r',
    description='Line Color:'
)
def plot_line(c='b'):
    plt.figure()
    plt.plot([0,1],color=c)
interact(plot_line, c = w);



From: Kiko <kikocorreoso at gmail.com>

> Subject: Re: [IPython-dev] How to set state of widget in IPython3?
> To: IPython developers list <ipython-dev at scipy.org>
> Message-ID:
>         <
> CAB-sx61bM7o+SU5jETDGhco9O1vt3EMvO6_ThR5WPvrmzO6snA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 2015-03-24 12:51 GMT+01:00 Mark Bakker <markbak at gmail.com>:
>
> > Hello list. I am trying to set the state of a DropdownWidget (Or
> > RadioButton) in IPython3. You didn't have to do that in the past, but
> even
> > if I specify the value, it gives me an error. Simple example:
> >
> > This works:
> >
> > def plot_line(c='b'):
> >     plt.plot([0,1],color=c)
> > interact(plot_line,c=['b','r','g']);
> >
> > This works in IPython2, but not in IPython3. In IPython3 it passes c=None
> > to the function on initialization.
> >
> > def plot_line(c='b'):
> >     plt.plot([0,1],color=c)
> > interact(plot_line,c=DropdownWidget(values=['b','r','g']));
> >
> > Even when specifying the value, for example
> >
> > def plot_line(c='b'):
> >     plt.plot([0,1],color=c)
> > interact(plot_line,c=DropdownWidget(value='r',values=['b','r','g']));
> >
> > I get an error: KeyError: 'r'.
> >
> > Any thoughts on how to set the state when creating a DropwdownWidget (or
> > RadioButtonWidget) using interact? Or is this a bug?
> >
>
> Hi, check this:
>
> http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Interactive%20Widgets/Widget%20List.ipynb
>
> In your example:
> w = widgets.Dropdown(
>     options=['b', 'r', 'g'],
>     value='r',
>     description='Line Color:',
> )
>
> def plot_line(c='b'):
>     plt.figure()
>     plt.plot([0,1],color=c)
> interact(plot_line, c = w)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/93e5d019/attachment.html>

From jared at jaredforsyth.com  Tue Mar 24 12:14:16 2015
From: jared at jaredforsyth.com (Jared Forsyth)
Date: Tue, 24 Mar 2015 16:14:16 +0000
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
	<CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
Message-ID: <CAK+wY2b2AgcPBoixih-DqHPhnfxvQWQJp_wD5f37CPR4f9YA0A@mail.gmail.com>

Tupytor :P

On Tue, Mar 24, 2015 at 1:28 AM Kiko <kikocorreoso at gmail.com> wrote:

> 2015-03-23 22:51 GMT+01:00 Doug Blank <doug.blank at gmail.com>:
>
>> That is definitely an improvement over my simply version that I put
>> together last week:
>>
>>
>> http://jupyter.cs.brynmawr.edu/hub/dblank/public/Examples/Online%20Python%20Tutor.ipynb
>>
>
> Hey, I didn't know you had this!! My version does basically the same.
>
>>
>>
>> Not sure about the name "jupytor" though... "tutor" would be easier for
>> beginners (at least in English).
>>
>> Thanks for developing and sharing this!
>>
>
> Jupytor comes from JUPYter + pythontuTOR. I know it is an ugly name and if
> someone wants to provide a new name it will be welcome. Tutor could be a
> possibility.
>
> Best.
>
>
>>
>> -Doug
>>
>> On Mon, Mar 23, 2015 at 2:40 PM, Kiko <kikocorreoso at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I'm teaching some python to people with very few programming experience
>>> and I created a dummy extension to embed pythontutor on the jupyter
>>> notebook.
>>>
>>> It provides a cell magic and the code cell will be executed within an
>>> IFrame with pythontutor.
>>>
>>> Here you can find an example:
>>> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>>>
>>> The repo is here: https://github.com/kikocorreoso/jupytor
>>>
>>> I hope it could be useful to someone.
>>>
>>> Best.
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/e0ad9b32/attachment.html>

From steve at holdenweb.com  Tue Mar 24 13:10:05 2015
From: steve at holdenweb.com (Steve Holden)
Date: Tue, 24 Mar 2015 17:10:05 +0000
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAK+wY2b2AgcPBoixih-DqHPhnfxvQWQJp_wD5f37CPR4f9YA0A@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
	<CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
	<CAK+wY2b2AgcPBoixih-DqHPhnfxvQWQJp_wD5f37CPR4f9YA0A@mail.gmail.com>
Message-ID: <668C8D99-B781-472F-A2FF-089F6442B430@holdenweb.com>

"Embdedded pytutor"? Sorry, can't help being literal sometimes.  S

On Mar 24, 2015, at 4:14 PM, Jared Forsyth <jared at jaredforsyth.com> wrote:

> Tupytor :P
> 
> On Tue, Mar 24, 2015 at 1:28 AM Kiko <kikocorreoso at gmail.com> wrote:
> 2015-03-23 22:51 GMT+01:00 Doug Blank <doug.blank at gmail.com>:
> That is definitely an improvement over my simply version that I put together last week:
> 
> http://jupyter.cs.brynmawr.edu/hub/dblank/public/Examples/Online%20Python%20Tutor.ipynb
> 
> Hey, I didn't know you had this!! My version does basically the same. 
> 
> 
> Not sure about the name "jupytor" though... "tutor" would be easier for beginners (at least in English).
> 
> Thanks for developing and sharing this!
> 
> Jupytor comes from JUPYter + pythontuTOR. I know it is an ugly name and if someone wants to provide a new name it will be welcome. Tutor could be a possibility.
> 
> Best.
>  
> 
> -Doug
> 
> On Mon, Mar 23, 2015 at 2:40 PM, Kiko <kikocorreoso at gmail.com> wrote:
> Hi all,
> 
> I'm teaching some python to people with very few programming experience and I created a dummy extension to embed pythontutor on the jupyter notebook.
> 
> It provides a cell magic and the code cell will be executed within an IFrame with pythontutor.
> 
> Here you can find an example: http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
> 
> The repo is here: https://github.com/kikocorreoso/jupytor
> 
> I hope it could be useful to someone.
> 
> Best.
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-- 
Steve Holden steve at holdenweb.com / +1 571 484 6266 / +44 113 320 2335 / @holdenweb




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/d2cad930/attachment.html>

From kikocorreoso at gmail.com  Tue Mar 24 13:15:02 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Tue, 24 Mar 2015 18:15:02 +0100
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAK+wY2b2AgcPBoixih-DqHPhnfxvQWQJp_wD5f37CPR4f9YA0A@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
	<CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
	<CAK+wY2b2AgcPBoixih-DqHPhnfxvQWQJp_wD5f37CPR4f9YA0A@mail.gmail.com>
Message-ID: <CAB-sx61dkX-X_AOU-8UHJjo-+6rQg-cX2rYhc8rdvYdvBm2HOw@mail.gmail.com>

2015-03-24 17:14 GMT+01:00 Jared Forsyth <jared at jaredforsyth.com>:

> Tupytor :P
>
> Bad, in spanish it may sound like yourdickR >_<



> On Tue, Mar 24, 2015 at 1:28 AM Kiko <kikocorreoso at gmail.com> wrote:
>
>> 2015-03-23 22:51 GMT+01:00 Doug Blank <doug.blank at gmail.com>:
>>
>>> That is definitely an improvement over my simply version that I put
>>> together last week:
>>>
>>>
>>> http://jupyter.cs.brynmawr.edu/hub/dblank/public/Examples/Online%20Python%20Tutor.ipynb
>>>
>>
>> Hey, I didn't know you had this!! My version does basically the same.
>>
>>>
>>>
>>> Not sure about the name "jupytor" though... "tutor" would be easier for
>>> beginners (at least in English).
>>>
>>> Thanks for developing and sharing this!
>>>
>>
>> Jupytor comes from JUPYter + pythontuTOR. I know it is an ugly name and
>> if someone wants to provide a new name it will be welcome. Tutor could be a
>> possibility.
>>
>> Best.
>>
>>
>>>
>>> -Doug
>>>
>>> On Mon, Mar 23, 2015 at 2:40 PM, Kiko <kikocorreoso at gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm teaching some python to people with very few programming experience
>>>> and I created a dummy extension to embed pythontutor on the jupyter
>>>> notebook.
>>>>
>>>> It provides a cell magic and the code cell will be executed within an
>>>> IFrame with pythontutor.
>>>>
>>>> Here you can find an example:
>>>> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>>>>
>>>> The repo is here: https://github.com/kikocorreoso/jupytor
>>>>
>>>> I hope it could be useful to someone.
>>>>
>>>> Best.
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/4f6587cb/attachment.html>

From gaitan at gmail.com  Tue Mar 24 13:21:08 2015
From: gaitan at gmail.com (=?UTF-8?B?TWFydMOtbiBHYWl0w6Fu?=)
Date: Tue, 24 Mar 2015 14:21:08 -0300
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAAusYCgEFX=ds4Wzi5PXq0780LOUPBpsdN7JXvr4_5+V+EWK4g@mail.gmail.com>
	<CAB-sx62pQ0omZ8NnVvmKPmvBXn-2eUPUesfwLeG0onLdZiGNHQ@mail.gmail.com>
Message-ID: <CAOCZAuzUystN=EgGrL+MGaWR+f3ZeU2mDY6YAcrnY-2V_BmU3Q@mail.gmail.com>

On Tue, Mar 24, 2015 at 4:28 AM, Kiko <kikocorreoso at gmail.com> wrote:

>
>> Not sure about the name "jupytor" though... "tutor" would be easier for
>> beginners (at least in English).
>>
>> Thanks for developing and sharing this!
>>
>
> Jupytor comes from JUPYter + pythontuTOR. I know it is an ugly name and if
> someone wants to provide a new name it will be welcome. Tutor could be a
> possibility.
>


what about simply "jupytutor" ?




-- 
mgaitan.github.io
textosypretextos.com.ar <http://textosyprextextos.com.ar>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/d835bebc/attachment.html>

From benjaminrk at gmail.com  Tue Mar 24 19:48:57 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 24 Mar 2015 16:48:57 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
Message-ID: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>

We have begun the process of splitting IPython into component repos. If you
are living on master, it might be a good time to switch to the 3.x
maintenance branch, because master is going to be a bit volatile. We will
be aiming for a development install (pip install -e) to keep working during
most of this time, but regular installs of IPython from master will
definitely be broken while this is in-flight.

-MinRK
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/bcfc3a0d/attachment.html>

From wes.turner at gmail.com  Tue Mar 24 20:16:54 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Tue, 24 Mar 2015 19:16:54 -0500
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
Message-ID: <CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>

A suggestion: keep the master branch relatively stable and work on a
develop branch?

The HubFlow (GitFlow) branching model solves for this:
http://datasift.github.io/gitflow/IntroducingGitFlow.html

+1 for faster tests.
On Mar 24, 2015 6:49 PM, "MinRK" <benjaminrk at gmail.com> wrote:

> We have begun the process of splitting IPython into component repos. If
> you are living on master, it might be a good time to switch to the 3.x
> maintenance branch, because master is going to be a bit volatile. We will
> be aiming for a development install (pip install -e) to keep working
> during most of this time, but regular installs of IPython from master will
> definitely be broken while this is in-flight.
>
> -MinRK
> ?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/bd1b0c7e/attachment.html>

From benjaminrk at gmail.com  Tue Mar 24 20:25:57 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 24 Mar 2015 17:25:57 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
Message-ID: <CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>

On Tue, Mar 24, 2015 at 5:16 PM, Wes Turner <wes.turner at gmail.com> wrote:

> A suggestion: keep the master branch relatively stable and work on a
> develop branch?
>

That is not how we are going to be doing it. Doing it that way would mean
blocking everything on master, and essentially freezing it while the
development happens, because every PR against master conflicts with the
refactor. We went over the various options, and found doing it in master to
be the least painful prospect.

-MinRK


>  The HubFlow (GitFlow) branching model solves for this:
> http://datasift.github.io/gitflow/IntroducingGitFlow.html
>
> +1 for faster tests.
> On Mar 24, 2015 6:49 PM, "MinRK" <benjaminrk at gmail.com> wrote:
>
>> We have begun the process of splitting IPython into component repos. If
>> you are living on master, it might be a good time to switch to the 3.x
>> maintenance branch, because master is going to be a bit volatile. We will
>> be aiming for a development install (pip install -e) to keep working
>> during most of this time, but regular installs of IPython from master will
>> definitely be broken while this is in-flight.
>>
>> -MinRK
>> ?
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/4c73f282/attachment.html>

From fperez.net at gmail.com  Wed Mar 25 00:50:09 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Tue, 24 Mar 2015 21:50:09 -0700
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
Message-ID: <CAHAreOpQdeoYL6AMQmfnPK=MiprhzPTF4Xx5o5pQXNjgD5EswA@mail.gmail.com>

Hi Kiko,

Thanks for posting about your Jupytor extension. We're fans of Python
Tutor, and having it embedded in the notebook makes a really attractive
tool for helping people understand how executing code works.

However, we're concerned that the name *Jupytor* might confuse people,
because it's so similar to *Jupyter*. We've already seen a couple of
accidental misspellings of Jupyter. Please can we ask you to rename your
extension to make the difference clearer? This will probably make it easier
to tell people about the extension too.

It's important to understand that, at least under US copyright law,
projects and entities *must* protect their trademarks in order to claim
rights to them.  While we haven't yet filed for a registered trademark for
Jupyter, we will, and we do have usage rights to the Jupyter trademark,
having introduced it and associated it with the project.

For example, these are the guidelines for how to use the Python trademark:
https://www.python.org/psf/trademarks.  We try to largely follow the spirit
of how Python lays out its policies.  In particular, we do need to avoid
having closely related projects whose name is derivative/similar enough to
cause potential confusion.

We hope you will understand our position, and that by finding a more
uniquely identifying name for your project, it will actually help you
establish it as its own independent entity.

Thanks,

Fernando, on behalf of the IPython/Jupyter core team.

On Mon, Mar 23, 2015 at 11:40 AM, Kiko <kikocorreoso at gmail.com> wrote:

> Hi all,
>
> I'm teaching some python to people with very few programming experience
> and I created a dummy extension to embed pythontutor on the jupyter
> notebook.
>
> It provides a cell magic and the code cell will be executed within an
> IFrame with pythontutor.
>
> Here you can find an example:
> http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/Jupytor.ipynb
>
> The repo is here: https://github.com/kikocorreoso/jupytor
>
> I hope it could be useful to someone.
>
> Best.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150324/f684919d/attachment.html>

From kikocorreoso at gmail.com  Wed Mar 25 04:31:00 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Wed, 25 Mar 2015 09:31:00 +0100
Subject: [IPython-dev] tutormagic notebook extension [was: Jupytor notebook
	extension]
Message-ID: <CAB-sx62vrMi9zNdvqGnnyWuvOSuuGiop5i7yp=jUmCa_crES9A@mail.gmail.com>

[Reload]

Hi all,

I'm teaching some python to people with very few programming experience and
I created a dummy extension to embed pythontutor on the jupyter notebook.

It provides a cell magic and the code cell will be executed within an
IFrame with pythontutor.

Here you can find an example:
http://nbviewer.ipython.org/github/Pybonacci/notebooks/blob/master/tutormagic.ipynb

The repo is here: https://github.com/kikocorreoso/t
<https://github.com/kikocorreoso/tutormagic>utormagic

I hope it could be useful to someone.

Best.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/cb0fb12b/attachment.html>

From kikocorreoso at gmail.com  Wed Mar 25 04:35:49 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Wed, 25 Mar 2015 09:35:49 +0100
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAHAreOpQdeoYL6AMQmfnPK=MiprhzPTF4Xx5o5pQXNjgD5EswA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAHAreOpQdeoYL6AMQmfnPK=MiprhzPTF4Xx5o5pQXNjgD5EswA@mail.gmail.com>
Message-ID: <CAB-sx60x5bXioBzi5x_aPQbb7_DH4A+gHMEEG1KmSbLBn3fQXA@mail.gmail.com>

2015-03-25 5:50 GMT+01:00 Fernando Perez <fperez.net at gmail.com>:

> Hi Kiko,
>
> Thanks for posting about your Jupytor extension. We're fans of Python
> Tutor, and having it embedded in the notebook makes a really attractive
> tool for helping people understand how executing code works.
>
> However, we're concerned that the name *Jupytor* might confuse people,
> because it's so similar to *Jupyter*. We've already seen a couple of
> accidental misspellings of Jupyter. Please can we ask you to rename your
> extension to make the difference clearer? This will probably make it easier
> to tell people about the extension too.
>

Fernando, you are totally right. I never think in this kind of potential
problems.

I've updated the repo on github and removed the package from pypi (I will
upload the new package this afternoon from home).

Please, go to
http://mail.scipy.org/pipermail/ipython-dev/2015-March/016232.html if
someone wants to add something.

Doug, I've used your proposal for the magic function name.

Thanks.

Best.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/7a89f01e/attachment.html>

From nelle.varoquaux at gmail.com  Wed Mar 25 06:57:40 2015
From: nelle.varoquaux at gmail.com (Nelle Varoquaux)
Date: Wed, 25 Mar 2015 11:57:40 +0100
Subject: [IPython-dev] Fwd: ANN: SciPy (Scientific Python) 2015 Call for
 Proposals & Registration Open - tutorial & talk submissions due April 1st
In-Reply-To: <44e64802-74d6-4294-ae8d-29b2e5bdd283@googlegroups.com>
References: <44e64802-74d6-4294-ae8d-29b2e5bdd283@googlegroups.com>
Message-ID: <CAE-UAvRmXr1-y+enMub1i2d+vQTETDUsrMW3XHu5uAHgO=cMmQ@mail.gmail.com>

Hello everyone,

(I apologize for the cross posting).
This is a quick reminder that the call for submission for Scipy 2015
is open but due April 1st! There is only 7 days left to submit a
proposal.

Thanks,
Nelle


---------- Forwarded message ----------
From: Courtenay Godshall <cgodshall at enthought.com>
Date: 19 March 2015 at 04:46
Subject: ANN: SciPy (Scientific Python) 2015 Call for Proposals &
Registration Open - tutorial & talk submissions due April 1st
To: python-list at python.org


**SciPy 2015 Conference (Scientific Computing with Python) Call for
Proposals: Submit Your Tutorial and Talk Ideas by April 1, 2015 at
http://scipy2015.scipy.org.**

SciPy 2015, the fourteenth annual Scientific Computing with Python
conference, will be held July 6-12, 2015 in Austin, Texas. SciPy is a
community dedicated to the advancement of scientific computing through
open source Python software for mathematics, science, and engineering.
The annual SciPy Conference brings together over 500 participants from
industry, academia, and government to showcase their latest projects,
learn from skilled users and developers, and collaborate on code
development. The full program will consist of two days of tutorials by
followed by three days of presentations, and concludes with two days
of developer sprints. More info available on the conference website at
http://scipy2015.scipy.org; you can also sign up on the website for
mailing list updates or follow @scipyconf on Twitter.

We hope you'll join us - early bird registration is open until May 15,
2015 at http://scipy2015.scipy.org/ehome/115969/259272/?&

We encourage you to submit tutorial or talk proposals in the
categories below; please also share with others who you'd like to see
participate! Submit via the conference website @
http://scipy2015.scipy.org.

*SCIPY TUTORIAL SESSION PROPOSALS -  DEADLINE EXTENDED TO WED APRIL 1, 2015*
The SciPy experience kicks off with two days of tutorials. These
sessions provide extremely affordable access to expert training, and
consistently receive fantastic feedback from participants. We're
looking for submissions on topics from introductory to advanced -
we'll have attendees across the gamut looking to learn. Whether you
are a major contributor to a scientific Python library or an
expert-level user, this is a great opportunity to share your knowledge
and stipends are available. Submit Your Tutorial Proposal on the SciPy
2015 website: http://scipy2015.scipy.org

*SCIPY TALK AND POSTER SUBMISSIONS - DUE April 1, 2015*
SciPy 2015 will include 3 major topic tracks and 7 mini-symposia
tracks.  Submit Your Talk Proposal on the SciPy 2015 website:
http://scipy2015.scipy.org

Major topic tracks include:
- Scientific Computing in Python (General track)
- Python in Data Science
- Quantitative and Computational Social Sciences

Mini-symposia will include the applications of Python in:
- Astronomy and astrophysics
- Computational life and medical sciences
- Engineering
- Geographic information systems (GIS)
- Geophysics
- Oceanography and meteorology
- Visualization, vision and imaging

If you have any questions or comments, feel free to contact us at:
scipy-organizers at scipy.org.
--
https://mail.python.org/mailman/listinfo/python-list


From ccordoba12 at gmail.com  Wed Mar 25 10:59:50 2015
From: ccordoba12 at gmail.com (=?UTF-8?B?Q2FybG9zIEPDs3Jkb2Jh?=)
Date: Wed, 25 Mar 2015 09:59:50 -0500
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
Message-ID: <5512CD66.4040608@gmail.com>

Hi Min,

Could you explain a bit more how this is going to work? I say it because 
I see that you're moving the repos inside the IPython one instead of 
moving them directly out of it.


Thanks,
Carlos

El 24/03/15 a las 19:25, MinRK escribi?:
>
>
> On Tue, Mar 24, 2015 at 5:16 PM, Wes Turner <wes.turner at gmail.com 
> <mailto:wes.turner at gmail.com>> wrote:
>
>     A suggestion: keep the master branch relatively stable and work on
>     a develop branch?
>
>
> That is not how we are going to be doing it. Doing it that way would 
> mean blocking everything on master, and essentially freezing it while 
> the development happens, because every PR against master conflicts 
> with the refactor. We went over the various options, and found doing 
> it in master to be the least painful prospect.
>
> -MinRK
>
>     The HubFlow (GitFlow) branching model solves for this:
>     http://datasift.github.io/gitflow/IntroducingGitFlow.html
>
>     +1 for faster tests.
>
>     On Mar 24, 2015 6:49 PM, "MinRK" <benjaminrk at gmail.com
>     <mailto:benjaminrk at gmail.com>> wrote:
>
>         We have begun the process of splitting IPython into component
>         repos. If you are living on master, it might be a good time to
>         switch to the 3.x maintenance branch, because master is going
>         to be a bit volatile. We will be aiming for a development
>         install (|pip install -e|) to keep working during most of this
>         time, but regular installs of IPython from master will
>         definitely be broken while this is in-flight.
>
>         -MinRK
>
>         ?
>
>         _______________________________________________
>         IPython-dev mailing list
>         IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>         http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/91714e09/attachment.html>

From jamalumaja at gmail.com  Wed Mar 25 12:04:06 2015
From: jamalumaja at gmail.com (Ja Lu)
Date: Wed, 25 Mar 2015 17:04:06 +0100
Subject: [IPython-dev] Executing on Kernel as if CodeCell was executed
Message-ID: <CAM52UjZA2QEnacqMYty6x3WW9ydweeKS4aT2u2jXqgOp=niWzA@mail.gmail.com>

Hello all,

running code using `IPython.notebook.kernel.execute()` is not
necessarily equivalent to running code from a notebook codecell. I
have some interactive plots embedded in the notebook (Bokeh) and they
only refresh if code is executed from a codecell. This is not due to
the parameters/callbacks passed to `kernel.execute()`. My aim is to
execute my command through Javascript, as if I had ran a codecell.

In `IPython/html/static/notebook/js/codecell.js`, I saw that after
`kernel.execution()` there are calls to `.render()` and
`.events.trigger('execute.CodeCell', ..)`. My guess would be, if I
would somehow evoke these commands after `kernel.execute()` things
would work out. Am I on the right track? Could someone help me on how
to do that exactly through the JS API? From the "outside" I do not
have the reference to `this`.

Thanks a lot, Jan


From bw at activustech.com  Wed Mar 25 12:11:59 2015
From: bw at activustech.com (Brian Wolf)
Date: Wed, 25 Mar 2015 12:11:59 -0400
Subject: [IPython-dev] unsubscribe
Message-ID: <5512DE4F.5020206@activustech.com>

unsubscribe

Thank you.
Brian

------------------------------------------------------------------------

  * Activus Technologies
  * Brian Wolf
  * Phone: 410.367.2958
  * ? Recurring payment solutions
  * ? Custom software development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/3b766886/attachment.html>

From bw at activustech.com  Wed Mar 25 12:23:01 2015
From: bw at activustech.com (Brian Wolf)
Date: Wed, 25 Mar 2015 12:23:01 -0400
Subject: [IPython-dev] unsubscribe
Message-ID: <5512E0E5.1000606@activustech.com>

unsubscribe

Thank you.
Brian

------------------------------------------------------------------------

  * Activus Technologies
  * Brian Wolf
  * Phone: 410.367.2958
  * ? Recurring payment solutions
  * ? Custom software development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/329a3bc3/attachment.html>

From fperez.net at gmail.com  Wed Mar 25 12:37:14 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Wed, 25 Mar 2015 09:37:14 -0700
Subject: [IPython-dev] Jupytor notebook extension
In-Reply-To: <CAB-sx60x5bXioBzi5x_aPQbb7_DH4A+gHMEEG1KmSbLBn3fQXA@mail.gmail.com>
References: <CAB-sx61MByC3J6HWUDuWHXjEpUM+zRMo-1t3uCFhyKdRN1ONGA@mail.gmail.com>
	<CAHAreOpQdeoYL6AMQmfnPK=MiprhzPTF4Xx5o5pQXNjgD5EswA@mail.gmail.com>
	<CAB-sx60x5bXioBzi5x_aPQbb7_DH4A+gHMEEG1KmSbLBn3fQXA@mail.gmail.com>
Message-ID: <CAHAreOoL41Y8fe49Z_fQA9EhL48bP+fEFT9na4MCXsyn_rJRbQ@mail.gmail.com>

On Wed, Mar 25, 2015 at 1:35 AM, Kiko <kikocorreoso at gmail.com> wrote:

> Fernando, you are totally right. I never think in this kind of potential
> problems.
>
> I've updated the repo on github and removed the package from pypi (I will
> upload the new package this afternoon from home).
>
>
wonderful, thanks so much! We look forward to your project growing
alongside the rest of the Jupyter constellation :)

f


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/bc82a465/attachment.html>

From takowl at gmail.com  Wed Mar 25 13:00:04 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 25 Mar 2015 10:00:04 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <5512CD66.4040608@gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
Message-ID: <CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>

On 25 March 2015 at 07:59, Carlos C?rdoba <ccordoba12 at gmail.com> wrote:

> Could you explain a bit more how this is going to work? I say it because I
> see that you're moving the repos inside the IPython one instead of moving
> them directly out of it.


That's only a temporary step, so that we can move files between components
while preserving the git history. Once we've got the pieces satisfactorily
separated inside the IPython repository, we will split it up into one
repository for each component.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/2a910d54/attachment.html>

From takowl at gmail.com  Wed Mar 25 13:02:00 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 25 Mar 2015 10:02:00 -0700
Subject: [IPython-dev] unsubscribe
In-Reply-To: <5512E0E5.1000606@activustech.com>
References: <5512E0E5.1000606@activustech.com>
Message-ID: <CAOvn4qgfLp+NUwd8y=DNQ+vmuNsUPbs8obbMB3hAVk6+Z4xbOA@mail.gmail.com>

You can unsubscribe from this page:
http://mail.scipy.org/mailman/listinfo/ipython-dev

On 25 March 2015 at 09:23, Brian Wolf <bw at activustech.com> wrote:

>  unsubscribe
>
> Thank you.
> Brian
>
> ------------------------------
>
>
>    - Activus Technologies
>    - Brian Wolf
>    - Phone: 410.367.2958
>    - ? Recurring payment solutions
>    - ? Custom software development
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/8ad4459e/attachment.html>

From nick.bollweg at gmail.com  Wed Mar 25 13:08:50 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 25 Mar 2015 13:08:50 -0400
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
	<CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
Message-ID: <CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>

I saw some discussion on gitter of pep8... if we're getting new history, it
really would be a lovely time to apply the Hammer of Whitespace and make
source quality a part of the automation process.

On Wed, Mar 25, 2015 at 1:00 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 25 March 2015 at 07:59, Carlos C?rdoba <ccordoba12 at gmail.com> wrote:
>
>> Could you explain a bit more how this is going to work? I say it because
>> I see that you're moving the repos inside the IPython one instead of moving
>> them directly out of it.
>
>
> That's only a temporary step, so that we can move files between components
> while preserving the git history. Once we've got the pieces satisfactorily
> separated inside the IPython repository, we will split it up into one
> repository for each component.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/e1172f6e/attachment.html>

From benjaminrk at gmail.com  Wed Mar 25 13:10:45 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 25 Mar 2015 10:10:45 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
	<CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
	<CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
Message-ID: <CAHNn8BXzr_ot_=Eyy0aY-wQ6SvaoMj9P2ts2an7T=53XiwB2dg@mail.gmail.com>

On Wed, Mar 25, 2015 at 10:08 AM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> I saw some discussion on gitter of pep8... if we're getting new history,
> it really would be a lovely time to apply the Hammer of Whitespace and make
> source quality a part of the automation process.
>

That's exactly what we aren't getting. No new history, and we don't enforce
pep8, even on new projects.

-MinRK


>
> On Wed, Mar 25, 2015 at 1:00 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 25 March 2015 at 07:59, Carlos C?rdoba <ccordoba12 at gmail.com> wrote:
>>
>>> Could you explain a bit more how this is going to work? I say it because
>>> I see that you're moving the repos inside the IPython one instead of moving
>>> them directly out of it.
>>
>>
>> That's only a temporary step, so that we can move files between
>> components while preserving the git history. Once we've got the pieces
>> satisfactorily separated inside the IPython repository, we will split it up
>> into one repository for each component.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/4dbb8b75/attachment.html>

From takowl at gmail.com  Wed Mar 25 13:17:26 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Wed, 25 Mar 2015 10:17:26 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
	<CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
	<CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
Message-ID: <CAOvn4qisuaSeDsoERh+eedWt5FfFp_3pnHVoYo+4BM0sfWNd9g@mail.gmail.com>

On 25 March 2015 at 10:08, Nicholas Bollweg <nick.bollweg at gmail.com> wrote:

> it really would be a lovely time to apply the Hammer of Whitespace and
> make source quality a part of the automation process.
>

I don't want us to do that, regardless of the timing. PEP8 is a fine set of
guidelines, but having those guidelines rigidly enforced by automated tools
just forces people to spend time satisfying the linter.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/a75baac4/attachment.html>

From nick.bollweg at gmail.com  Wed Mar 25 13:40:07 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 25 Mar 2015 13:40:07 -0400
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CAOvn4qisuaSeDsoERh+eedWt5FfFp_3pnHVoYo+4BM0sfWNd9g@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
	<CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
	<CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
	<CAOvn4qisuaSeDsoERh+eedWt5FfFp_3pnHVoYo+4BM0sfWNd9g@mail.gmail.com>
Message-ID: <CACejjWwAh6JLmoSg0pEgSkMeDgkZJuWQ6yFRB3i4_M8+ANqTwg@mail.gmail.com>

>
> enforced by automated tools just forces people to spend time satisfying
> the linter.
>

Well, I guess you're either spending time satisfying the linter, or
spending two people's time satisfying the reviewer who sees the sea of -'s
when someone changes one line in several files and their tool strips
whitespace, explaining the non-policy, then has to go back through their
commits and remove the hunks that make whitespace changes...

But anyhow...

No new history
>
So all of the new repos will be carrying the entire history of IPython, or
is there dark filter-branch foo happening? Exciting either way! Good luck!

On Wed, Mar 25, 2015 at 1:17 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 25 March 2015 at 10:08, Nicholas Bollweg <nick.bollweg at gmail.com>
> wrote:
>
>> it really would be a lovely time to apply the Hammer of Whitespace and
>> make source quality a part of the automation process.
>>
>
> I don't want us to do that, regardless of the timing. PEP8 is a fine set
> of guidelines, but having those guidelines rigidly enforced by automated
> tools just forces people to spend time satisfying the linter.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/e0fadf5b/attachment.html>

From benjaminrk at gmail.com  Wed Mar 25 13:46:18 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 25 Mar 2015 10:46:18 -0700
Subject: [IPython-dev] =?utf-8?q?The_Big_Split=E2=84=A2_has_begun?=
In-Reply-To: <CACejjWwAh6JLmoSg0pEgSkMeDgkZJuWQ6yFRB3i4_M8+ANqTwg@mail.gmail.com>
References: <CAHNn8BXmX_0r_mLzYQwzK+3YvwaFPLSFUnF7S1ZrAp6_q5g8XA@mail.gmail.com>
	<CACfEFw9a3fQPZWQGUgeL-qi6oy+ndsb-5xhAYjWzPqXAVGOKWA@mail.gmail.com>
	<CAHNn8BXyh6nQVdfZitt85Z0QXOeiqdghDnaUgp5SqOBqX8VzQg@mail.gmail.com>
	<5512CD66.4040608@gmail.com>
	<CAOvn4qgdkByjUDFqDuwYFZK74c+cXZmbxPzYK=G_XfSNN4Ac5Q@mail.gmail.com>
	<CACejjWy6z8R00EFJOHVHhQt2YrFoYN7sDyNpJ-EQFCOB7zb1Zw@mail.gmail.com>
	<CAOvn4qisuaSeDsoERh+eedWt5FfFp_3pnHVoYo+4BM0sfWNd9g@mail.gmail.com>
	<CACejjWwAh6JLmoSg0pEgSkMeDgkZJuWQ6yFRB3i4_M8+ANqTwg@mail.gmail.com>
Message-ID: <CAHNn8BXh2mUsRuTXRj1rA39TbvrQRZ=k38vg5pmkqK8GYhL5ow@mail.gmail.com>

On Wed, Mar 25, 2015 at 10:40 AM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> enforced by automated tools just forces people to spend time satisfying
>> the linter.
>>
>
> Well, I guess you're either spending time satisfying the linter, or
> spending two people's time satisfying the reviewer who sees the sea of -'s
> when someone changes one line in several files and their tool strips
> whitespace, explaining the non-policy, then has to go back through their
> commits and remove the hunks that make whitespace changes...
>

> But anyhow...
>
> No new history
>>
> So all of the new repos will be carrying the entire history of IPython, or
> is there dark filter-branch foo happening? Exciting either way! Good luck!
>

Thanks! There will be a small amount of filter-branching to strip files
that aren't part of the new repos, but that's it. Nothing too dark or
mysterious.

-MinRK


>
> On Wed, Mar 25, 2015 at 1:17 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 25 March 2015 at 10:08, Nicholas Bollweg <nick.bollweg at gmail.com>
>> wrote:
>>
>>> it really would be a lovely time to apply the Hammer of Whitespace and
>>> make source quality a part of the automation process.
>>>
>>
>> I don't want us to do that, regardless of the timing. PEP8 is a fine set
>> of guidelines, but having those guidelines rigidly enforced by automated
>> tools just forces people to spend time satisfying the linter.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/c166f974/attachment.html>

From jhamrick at berkeley.edu  Wed Mar 25 15:36:35 2015
From: jhamrick at berkeley.edu (Jessica B. Hamrick)
Date: Wed, 25 Mar 2015 12:36:35 -0700
Subject: [IPython-dev] Deploying JupyterHub for Education
Message-ID: <CALUXcBygSskzJf-zAMPhmMrNfmxWARtBk0ZPMN-5YF5YfF=GHg@mail.gmail.com>

Hi all,

Over the past few months I've set up a deployment of JupyterHub backed by
Docker and Docker Swarm for a class that I'm teaching this spring. I wrote
a blog post about it over on the Rackspace developer blog, if you're
interested:

https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/

Thanks to people who helped out with this, especially Min and Kyle!

Cheers,
Jess

--
UC Berkeley, Department of Psychology
Computational Cognitive Science Lab
http://www.jesshamrick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/5503eb00/attachment.html>

From bussonniermatthias at gmail.com  Wed Mar 25 20:15:31 2015
From: bussonniermatthias at gmail.com (bussonniermatthias)
Date: Wed, 25 Mar 2015 17:15:31 -0700 (PDT)
Subject: [IPython-dev] Jupyter-drive 1.1
Message-ID: <0f630d19-3b73-4ba1-ba09-17521223087e@googlegroups.com>

Hi all, 

A few days ago I released[2] Jupyter-Drive 1.1 which allow you to access 
your notebook on Google-Drive.

The MixedContentManager is more stable and have a few bugfixes in this 
version. 
It should be relatively easy now to browse in the same interface both your 
local files
as well as the one on Google drive. 

The MixedContentManager should also work with alternate content manager, I 
think in particular to 
Scott Sanderson who is working at Quantopian on a Postgress Backend. 
I'll be happy to get some feedback if any of you have Postgress backend 
install on how well it works 
once integrated with local and google drive.

I'm already working on integrating the real-time API of google drive into 
text-editors. 
The beginning seem promising, with minimal patches on IPython
we can already have many user editting the same text file. 
If you are interested in joining, you can find some of our try 
as PRs[1] on jupyterdrive repo.

If anyone is interested in adding DropBox/Github/Bitbucket/S3 direct 
integration, you are also welcome to join. 

Huge thanks  Kester Tong from Google without whom I wouldn't progress that 
fast, 
and has been of  great advice and help.

-- 
M


[1]: https://github.com/jupyter/jupyter-drive/pull/90
[2]: https://twitter.com/Mbussonn/status/579066126518226944
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/58412317/attachment.html>

From ellisonbg at gmail.com  Thu Mar 26 00:13:00 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Wed, 25 Mar 2015 21:13:00 -0700
Subject: [IPython-dev] Deploying JupyterHub for Education
In-Reply-To: <CALUXcBygSskzJf-zAMPhmMrNfmxWARtBk0ZPMN-5YF5YfF=GHg@mail.gmail.com>
References: <CALUXcBygSskzJf-zAMPhmMrNfmxWARtBk0ZPMN-5YF5YfF=GHg@mail.gmail.com>
Message-ID: <CAH4pYpQU=5ApgPgpaPFZ7YtbNw_8w8TMBATcHTgmDA0jy5DRVQ@mail.gmail.com>

Congrats on the excellent work and blog post!

Cheers,

Brian

On Wed, Mar 25, 2015 at 12:36 PM, Jessica B. Hamrick <jhamrick at berkeley.edu>
wrote:

> Hi all,
>
> Over the past few months I've set up a deployment of JupyterHub backed by
> Docker and Docker Swarm for a class that I'm teaching this spring. I wrote
> a blog post about it over on the Rackspace developer blog, if you're
> interested:
>
> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>
> Thanks to people who helped out with this, especially Min and Kyle!
>
> Cheers,
> Jess
>
> --
> UC Berkeley, Department of Psychology
> Computational Cognitive Science Lab
> http://www.jesshamrick.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/97e543b3/attachment.html>

From andrew.gibiansky at gmail.com  Thu Mar 26 01:24:47 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Wed, 25 Mar 2015 22:24:47 -0700
Subject: [IPython-dev] IHaskell on Jupyter
Message-ID: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>

Hey all,

I'm pleased to announce IHaskell 0.6, which finally supports (and requires)
IPython 3.0. It also includes many multitudes of bugfixes and usability
improvements, and some preliminary support for GHC 7.10, the upcoming
version of the Haskell compiler.

IHaskell 0.6 is on Github master <https://github.com/gibiansky/IHaskell> and
Hackage <https://hackage.haskell.org/package/ihaskell>.

Many thanks to everyone who helped in this release by filing issues,
testing, and of course submitting PRs.

-- Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/14e03bf1/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 26 01:28:10 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 25 Mar 2015 22:28:10 -0700
Subject: [IPython-dev] IHaskell on Jupyter
In-Reply-To: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
References: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
Message-ID: <5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>

Hi Andrew, 

Le 25 mars 2015 ? 22:24, Andrew Gibiansky <andrew.gibiansky at gmail.com> a ?crit :

> Hey all,
> 
> I'm pleased to announce IHaskell 0.6, which finally supports (and requires) IPython 3.0. It also includes many multitudes of bugfixes and usability improvements, and some preliminary support for GHC 7.10, the upcoming version of the Haskell compiler. 
> 
> IHaskell 0.6 is on Github master and Hackage.
> 
> Many thanks to everyone who helped in this release by filing issues, testing, and of course submitting PRs.


Great ! Happy to hear that ! 

I suppose we will soon get a PR to have it on try.jupyter.org ?

I cc the Jupyter Mailing List as this is not Python only :-)
-- 
M

> 
> -- Andrew
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150325/5c46b139/attachment.html>

From maximilian.albert at gmail.com  Thu Mar 26 07:32:26 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Thu, 26 Mar 2015 11:32:26 +0000
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
	<CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
Message-ID: <CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>

Hi Aaron,

Thanks a lot for your suggestion! This is actually exactly what I tried
before sending my email to the list, and it does indeed work in certain
cases, but some of my notebooks didn't convert correctly with it. I've put
up a minimal example here:

   https://github.com/maxalbert/nbconvert-templating-issue

If you type "make" it will use different templates to generate three pdf
documents from the notebook "minimal_example.ipynb" (more information on
what the templates do is in the README of the repo). You will see that for
the cell containing the image with the musical note, the "Out[]" prompt is
retained. The notebook "sample_notebook.ipynb" has a slightly longer
example, comparing with some other types of output cells for which the
"Out[]" prompt is indeed removed.

I won't have time to dig into this before the weekend, and my jinja-fu is
almost zero, so if anyone has a quick idea what's going on here I'd
appreciate it.

Many thanks!
Max

2015-03-24 11:27 GMT+00:00 Aaron O'Leary <aaron.oleary at gmail.com>:

> Sorry, I misread your question! You only want to remove the output
> prompts, not the whole output.
>
> Try this:
>
> ((*- extends 'article.tplx'
> -*))
>
>
>
> % Disable input
> cells
>
> ((* block input_group
> *))
>
> ((* endblock input_group
> *))
>
>
>
> ((* block execute_result scoped
> *))
>
>     ((*- for type in output.data | filter_data_type
> -*))
>
>         ((*- if type in
> ['text/plain']*))
>
>             ((( output.data['text/plain'] | escape_latex
> )))
>
>         ((* else
> -*))
>
>             ((( super()
> )))
>
>         ((*- endif
> -*))
>
>     ((*- endfor
> -*))
>
> ((* endblock execute_result *))
>
>
> i.e. get rid of both the call to add_prompt and the manual prompt creation.
>
> On 24 March 2015 at 10:35, Aaron O'Leary <aaron.oleary at gmail.com> wrote:
>
>> Hi Max,
>>
>> This is what you need:
>>
>> ((*- extends 'article.tplx' -*))
>>
>> % Disable input cells
>> ((* block input_group *))
>> ((* endblock input_group *))
>>
>> % Disable output cells
>> ((* block output_group *))
>> ((* endblock output_group *))
>>
>>
>> You need to use 'output_group' instead of 'execute_result'. There are
>> quite a number of elements in the output and 'output_group' is the block
>> that covers all of them.
>>
>> You can get an overview of the block hierarchy by looking at
>> 'IPython/nbconvert/templates/latex/skeleton/null.tplx'.
>>
>> aaron
>>
>>
>> On 24 March 2015 at 01:08, Maximilian Albert <maximilian.albert at gmail.com
>> > wrote:
>>
>>> 2015-03-23 19:06 GMT+00:00 Matthias Bussonnier <
>>> bussonniermatthias at gmail.com>:
>>>
>>>>
>>>> I guess you need to inherit the following block :
>>>>
>>>>
>>>> ((* block execute_result scoped *))
>>>>     ((*- for type in output.data | filter_data_type -*))
>>>>         ((*- if type in ['text/plain']*))
>>>>             ((( add_prompt(output.data['text/plain'] | escape_latex,
>>>> cell, 'Out', 'outcolor') )))
>>>>         ((* else -*))
>>>> \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count
>>>> )))}]:}((( super() )))
>>>>         ((*- endif -*))
>>>>     ((*- endfor -*))
>>>> ((* endblock execute_result *))
>>>>
>>>>
>>>> form IPython/nbconvert/templates/latex/style_ipython.tplx
>>>>
>>>> And replace by what you wish.
>>>>
>>>
>>>
>>> Thanks for the suggestion! That's precisely what I tried, but the
>>> problem seems to be that the call to super() somehow adds an additional
>>> Out[] prompt. I'll try to dig deeper into this when I get the time (and/or
>>> make a minimal example available so that it can easily be reproduced), but
>>> if anyone has any quick ideas I'm happy to hear them.
>>>
>>> Cheers,
>>> Max
>>>
>>> P.S.: I noticed I forgot to include the link to the StackOverflow
>>> question I mentioned in my original email. Here it is:
>>>
>>>
>>> http://stackoverflow.com/questions/19524554/suppress-code-in-nbconvert-ipython
>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/87619e8b/attachment.html>

From nick.bollweg at gmail.com  Thu Mar 26 08:30:37 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Thu, 26 Mar 2015 08:30:37 -0400
Subject: [IPython-dev] IHaskell on Jupyter
In-Reply-To: <5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>
References: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
	<5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>
Message-ID: <CACejjWychJZv_QXsOx3iQ6CETt_hFXQVRW1eT3dYizjPVW8HSQ@mail.gmail.com>

Congrats!

What is the PR (repo, requirements) process for getting something up on
try.j.o? I've been bumbling around with getting hy_kernel
<https://github.com/bollwyvl/hy_kernel> ready for a real-ish release, and
would love to be able to get it up there.

On Thu, Mar 26, 2015 at 1:28 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hi Andrew,
>
> Le 25 mars 2015 ? 22:24, Andrew Gibiansky <andrew.gibiansky at gmail.com> a
> ?crit :
>
> Hey all,
>
> I'm pleased to announce IHaskell 0.6, which finally supports (and
> requires) IPython 3.0. It also includes many multitudes of bugfixes and
> usability improvements, and some preliminary support for GHC 7.10, the
> upcoming version of the Haskell compiler.
>
> IHaskell 0.6 is on Github master <https://github.com/gibiansky/IHaskell> and
> Hackage <https://hackage.haskell.org/package/ihaskell>.
>
> Many thanks to everyone who helped in this release by filing issues,
> testing, and of course submitting PRs.
>
>
>
> Great ! Happy to hear that !
>
> I suppose we will soon get a PR to have it on try.jupyter.org ?
>
> I cc the Jupyter Mailing List as this is not Python only :-)
> --
> M
>
>
> -- Andrew
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/b0003284/attachment.html>

From doug.blank at gmail.com  Thu Mar 26 09:00:55 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Thu, 26 Mar 2015 09:00:55 -0400
Subject: [IPython-dev] IHaskell on Jupyter
In-Reply-To: <CACejjWychJZv_QXsOx3iQ6CETt_hFXQVRW1eT3dYizjPVW8HSQ@mail.gmail.com>
References: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
	<5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>
	<CACejjWychJZv_QXsOx3iQ6CETt_hFXQVRW1eT3dYizjPVW8HSQ@mail.gmail.com>
Message-ID: <CAAusYCjPPDJvzhBazUk7kibW_OqeRVHNS2OykshHt+UOtzJYsw@mail.gmail.com>

On Thu, Mar 26, 2015 at 8:30 AM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Congrats!
>
> What is the PR (repo, requirements) process for getting something up on
> try.j.o? I've been bumbling around with getting hy_kernel
> <https://github.com/bollwyvl/hy_kernel> ready for a real-ish release, and
> would love to be able to get it up there.
>

Would love to make try.jupyter.org a general place for trying different
kernels! Now would be a great time to talk about some conventions. I can
think of a couple:

1. First help link for a kernel: "Getting Started" with simple code
examples, and pointers to full doc on using language in notebook

2. Another help link: "Installing X Kernel" with instructions on how to
install kernel on your own system

Also, what criteria for including a kernel on try.jupyter?

Easy install?
Robust?
Specific licenses only?
Commercial kernels?
How will new versions of a kernel (or its dependencies) get included?
How often will it be updated?

-Doug


>
> On Thu, Mar 26, 2015 at 1:28 AM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>> Hi Andrew,
>>
>> Le 25 mars 2015 ? 22:24, Andrew Gibiansky <andrew.gibiansky at gmail.com> a
>> ?crit :
>>
>> Hey all,
>>
>> I'm pleased to announce IHaskell 0.6, which finally supports (and
>> requires) IPython 3.0. It also includes many multitudes of bugfixes and
>> usability improvements, and some preliminary support for GHC 7.10, the
>> upcoming version of the Haskell compiler.
>>
>> IHaskell 0.6 is on Github master <https://github.com/gibiansky/IHaskell> and
>> Hackage <https://hackage.haskell.org/package/ihaskell>.
>>
>> Many thanks to everyone who helped in this release by filing issues,
>> testing, and of course submitting PRs.
>>
>>
>>
>> Great ! Happy to hear that !
>>
>> I suppose we will soon get a PR to have it on try.jupyter.org ?
>>
>> I cc the Jupyter Mailing List as this is not Python only :-)
>> --
>> M
>>
>>
>> -- Andrew
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/632dd35e/attachment.html>

From paad.ruslan.korniichuk at gmail.com  Thu Mar 26 10:43:23 2015
From: paad.ruslan.korniichuk at gmail.com (Ruslan Korniichuk)
Date: Thu, 26 Mar 2015 15:43:23 +0100
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
Message-ID: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>

Hi all,

I'm trying to solve the task of *adding the kernel, located on a remote
machine*, on the menu *Kernel->Change kernel* of the Jupyter (IPython)
Notebook for scientific needs. The visual example HERE: http://goo.gl/pA3QRG
Otherwise it can be named as *$ ipython notebook --existing*.

I know that can to add the kernel, located on a local machine, on this
menu, for example, like this:
    1. Create the folder for kernels:
        */home/user-ruslan/.ipython/kernels*
    2. Inside the previous folder, create the folder for Python 3 kernel:
        */home/user-ruslan/.ipython/kernels/python3*
    3. In the */home/user-ruslan/.ipython/kernels/python3* folder, create
the JSON file:
    *{*
*        "display_name": "Python 3", *
*        "language": "python", *
*        "argv": [*
*        "python3", *
*        "-c", *
*        "from IPython.kernel.zmq.kernelapp import main; main()", *
*        "-f", *
*        "{connection_file}"*
*        ],*
*        "codemirror_mode": {*
*        "version": 2, *
*        "name": "ipython"*
*        }*
*    }*

But in my task, probably, need to run a kernel on a remote server via SSH,
and after this step copy a *kernel-????.json* file using *scp*. Likewise,
in IPython for parallel computing (starting the IPython controller and
engines in SSH mode).

*Critically important that the functional of addition the kernels, located
on the remote machines MUST work after the Jupyter (IPython) Notebook
update. Therefore, I must ask you:*
*Does this not contradict to the philosophy and the way of the Jupyter
(IPython) project?* For this definition, this task is OK: "IPython is a
tool for managing the entire lifecycle of a scientific idea":)

*In addition, please answer why the Jupyter (IPython) Notebook,
necessarily, MUST run kernel when starts (no empty ipython-notebook w/o own
kernel)?*

*Who can help me find good algorithm for this task?*

My skype: ruslan.korniichuk
---
Best regards,
Ruslan Korniichuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/530f4158/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernels_550px.png
Type: image/png
Size: 40184 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/530f4158/attachment.png>

From bussonniermatthias at gmail.com  Thu Mar 26 11:20:57 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 26 Mar 2015 08:20:57 -0700
Subject: [IPython-dev] [jupyter] Re:  IHaskell on Jupyter
In-Reply-To: <CAAusYCjPPDJvzhBazUk7kibW_OqeRVHNS2OykshHt+UOtzJYsw@mail.gmail.com>
References: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
	<5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>
	<CACejjWychJZv_QXsOx3iQ6CETt_hFXQVRW1eT3dYizjPVW8HSQ@mail.gmail.com>
	<CAAusYCjPPDJvzhBazUk7kibW_OqeRVHNS2OykshHt+UOtzJYsw@mail.gmail.com>
Message-ID: <095EA2AD-DC8B-4A0D-A8F3-61C2BD11B635@gmail.com>


Le 26 mars 2015 ? 06:00, Doug Blank <doug.blank at gmail.com> a ?crit :

> On Thu, Mar 26, 2015 at 8:30 AM, Nicholas Bollweg <nick.bollweg at gmail.com> wrote:
> Congrats!
> 
> What is the PR (repo, requirements) process for getting something up on try.j.o? I've been bumbling around with getting hy_kernel ready for a real-ish release, and would love to be able to get it up there.
> 

PR against https://github.com/jupyter/docker-demo-images

IIRC deployment is automatic. Otherwise it should be made automatic :-)

> Would love to make try.jupyter.org a general place for trying different kernels! Now would be a great time to talk about some conventions. I can think of a couple:
> 
> 1. First help link for a kernel: "Getting Started" with simple code examples, and pointers to full doc on using language in notebook

We have `Welcomme <Language name>` each language can do its notebook !

> 
> 2. Another help link: "Installing X Kernel" with instructions on how to install kernel on your own system

I would put that in the welcome notebook too. 


> Also, what criteria for including a kernel on try.jupyter? 
> 
> Easy install?

I guess if you can install with Docker... and the kernel not dead in the water you could install it.
But depends on community and if people help with the deployment.

> Robust?

Robust to what ??

> Specific licenses only? 

We don't derive anything from the project so I don't see any restriction on Licenses

> Commercial kernels? 

Well, this is hosted for free[1], so commercial project might be required
some "contribution" to get hosted to be fair.

> How will new versions of a kernel (or its dependencies) get included?

PR. But depends on community and if people help with the deployment.

> How often will it be updated?

Depends on community and if people help with the deployment.
And on the rhythm of PR. 

Does that make sens ?


Back to [1], the server is on a machine we "borrow" from Rackspace. 
So in the end what get into the server have to be vetted by Rackspace.
We do our best for "Fair" usage, and not to make them un-happy. 


It would also be great to have a nice website, all responsive 
and good design that list the kernels and make some better promotion of
the notebook. 

If any of you want to do that, or have a web designer student
looking for a project :-)

In conclusion, the project is to everyone as soon as you participate. 
And we'll be happy to give you more rights on github if we see you
making contribution/maintenance relatively often.

-- 
M



> -Doug
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/ef54ee8f/attachment.html>

From wes.turner at gmail.com  Thu Mar 26 11:24:24 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Thu, 26 Mar 2015 10:24:24 -0500
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
In-Reply-To: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
Message-ID: <CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>

Are there documentation and source links for this functionality?

On Thu, Mar 26, 2015 at 9:43 AM, Ruslan Korniichuk <
paad.ruslan.korniichuk at gmail.com> wrote:

> Hi all,
>
> I'm trying to solve the task of *adding the kernel, located on a remote
> machine*, on the menu *Kernel->Change kernel* of the Jupyter (IPython)
> Notebook for scientific needs. The visual example HERE:
> http://goo.gl/pA3QRG
> Otherwise it can be named as *$ ipython notebook --existing*.
>
> I know that can to add the kernel, located on a local machine, on this
> menu, for example, like this:
>     1. Create the folder for kernels:
>         */home/user-ruslan/.ipython/kernels*
>     2. Inside the previous folder, create the folder for Python 3 kernel:
>         */home/user-ruslan/.ipython/kernels/python3*
>     3. In the */home/user-ruslan/.ipython/kernels/python3* folder, create
> the JSON file:
>     *{*
> *        "display_name": "Python 3", *
> *        "language": "python", *
> *        "argv": [*
> *        "python3", *
> *        "-c", *
> *        "from IPython.kernel.zmq.kernelapp import main; main()", *
> *        "-f", *
> *        "{connection_file}"*
> *        ],*
> *        "codemirror_mode": {*
> *        "version": 2, *
> *        "name": "ipython"*
> *        }*
> *    }*
>
> But in my task, probably, need to run a kernel on a remote server via SSH,
> and after this step copy a *kernel-????.json* file using *scp*. Likewise,
> in IPython for parallel computing (starting the IPython controller and
> engines in SSH mode).
>
> *Critically important that the functional of addition the kernels, located
> on the remote machines MUST work after the Jupyter (IPython) Notebook
> update. Therefore, I must ask you:*
> *Does this not contradict to the philosophy and the way of the Jupyter
> (IPython) project?* For this definition, this task is OK: "IPython is a
> tool for managing the entire lifecycle of a scientific idea":)
>
> *In addition, please answer why the Jupyter (IPython) Notebook,
> necessarily, MUST run kernel when starts (no empty ipython-notebook w/o own
> kernel)?*
>
> *Who can help me find good algorithm for this task?*
>
> My skype: ruslan.korniichuk
> ---
> Best regards,
> Ruslan Korniichuk
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/4f0cec38/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 26 11:32:05 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 26 Mar 2015 08:32:05 -0700
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
In-Reply-To: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
Message-ID: <D623C3FB-430A-42C7-8E2F-E7EDF7605EF2@gmail.com>

Hi, 

Le 26 mars 2015 ? 07:43, Ruslan Korniichuk <paad.ruslan.korniichuk at gmail.com> a ?crit :

> Hi all,
> 
> I'm trying to solve the task of adding the kernel, located on a remote machine, on the menu Kernel->Change kernel of the Jupyter (IPython) Notebook for scientific needs. The visual example HERE: http://goo.gl/pA3QRG
> Otherwise it can be named as $ ipython notebook --existing.

--existing will not work with notebook.

> I know that can to add the kernel, located on a local machine, on this menu, for example, like this:
>     1. Create the folder for kernels:
>         /home/user-ruslan/.ipython/kernels
>     2. Inside the previous folder, create the folder for Python 3 kernel:
>         /home/user-ruslan/.ipython/kernels/python3
>     3. In the /home/user-ruslan/.ipython/kernels/python3 folder, create the JSON file: 
>     {
>         "display_name": "Python 3", 
>         "language": "python", 
>         "argv": [
>         "python3", 
>         "-c", 
>         "from IPython.kernel.zmq.kernelapp import main; main()", 
>         "-f", 
>         "{connection_file}"
>         ],
>         "codemirror_mode": {
>         "version": 2, 
>         "name": "ipython"
>         }
>     }
> 
> But in my task, probably, need to run a kernel on a remote server via SSH, and after this step copy a kernel-????.json file using scp. Likewise, in IPython for parallel computing (starting the IPython controller and engines in SSH mode).


I would replace argv [.....]  by a call to a bash script that does all what is needed. SSH, copy file etc. 
You might  need to have a little bit involved script than usual kernel.


> 
> Critically important that the functional of addition the kernels, located on the remote machines MUST work after the Jupyter (IPython) Notebook update. Therefore, I must ask you:
> Does this not contradict to the philosophy and the way of the Jupyter (IPython) project? For this definition, this task is OK: "IPython is a tool for managing the entire lifecycle of a scientific idea":)

We do our best. The "still working after upgrade" is tricky. 
Is this a long running computation ?

I can see the need, but I'm not sure it is easy to have kernels that can run and reconnect after full and large scale IPython upgrade, if message spec changes. 

Right now, you should be able to shutdown and restart the server, nothing technically prevent it to reconnect to kernels. 
We just enforce them to shut-down. 

> 
> In addition, please answer why the Jupyter (IPython) Notebook, necessarily, MUST run kernel when starts (no empty ipython-notebook w/o own kernel)?

This is a technical limitation for now. Notebook without kernels make sens. We "just" need to implement them. 
(With "Just" being a few month of work full time) 


> Who can help me find good algorithm for this task?
> 
> My skype: ruslan.korniichuk
> ---
> Best regards,
> Ruslan Korniichuk
> <kernels_550px.png>_______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/5e1c40bb/attachment.html>

From bussonniermatthias at gmail.com  Thu Mar 26 11:33:29 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 26 Mar 2015 08:33:29 -0700
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
In-Reply-To: <CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>
Message-ID: <6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>


Le 26 mars 2015 ? 08:24, Wes Turner <wes.turner at gmail.com> a ?crit :

> Are there documentation and source links for this functionality?


Probably in our doc. 
But we are bad at doc. 
We would be happy when people figure things out like that, that they jump
in our doc and write a paragraph on it. 

-- 
M



From wes.turner at gmail.com  Thu Mar 26 11:52:57 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Thu, 26 Mar 2015 10:52:57 -0500
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
In-Reply-To: <6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>
	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>
Message-ID: <CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>

IPython Documentation and Source Links

* BLD: https://registry.hub.docker.com/u/ipython/scipyserver/
* BLD: https://github.com/ipython/ipython-ansible-jenkins
* DOC:
https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages#creating-new-ipython-kernels
* DOC: http://ipython.org/ipython-doc/dev/development/kernels.html
* DOC: http://ipython.org/ipython-doc/dev/development/wrapperkernels.html
* SRC:
https://github.com/ipython/ipython/blob/master/IPython/kernel/__init__.py

[ ... ]

I guess right now you could configure nodes with a configuration management
tool.

https://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software

* https://github.com/saltstack/salt
  *
https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh
* https://github.com/westurner/ipython-formula (TODO)


On Thu, Mar 26, 2015 at 10:33 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 26 mars 2015 ? 08:24, Wes Turner <wes.turner at gmail.com> a ?crit :
>
> > Are there documentation and source links for this functionality?
>
>
> Probably in our doc.
> But we are bad at doc.
> We would be happy when people figure things out like that, that they jump
> in our doc and write a paragraph on it.
>
> --
> M
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/7545e4d8/attachment.html>

From jg3705a at student.american.edu  Thu Mar 26 19:40:18 2015
From: jg3705a at student.american.edu (Justin)
Date: Thu, 26 Mar 2015 16:40:18 -0700
Subject: [IPython-dev] Cannot connect to kernel when not using localhost
In-Reply-To: <CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>
	<CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>
Message-ID: <551498E2.3060207@student.american.edu>

Hello list,

I recently explored setting up a notebook that I can share over
the web with one other user.

I followed the directions  on 
https://ipython.org/ipython-doc/dev/notebook/public_server.html exactly.

I can access the nbserver from the web but when I open a notebook, I cannot
connect to the kernel, though I do believe the kernel is started since I see

[I 16:00:26.023 NotebookApp] Kernel started: 
a23ba8fa-16dd-41e9-9b60-b1785c872387
in my terminal.

In the notebook I see the error message:

"A connection to the notebook server could not be established. The 
notebook will continue trying to reconnect, but until it does, you will 
NOT be able to run code. Check your network connection or notebook 
server configuration."

I am using ubuntu and ipython 3.0 with the new jupyter notebook.

Note that I can edit markdown and raw text cells, I just cannot execute 
code.

The problem is reproducible in both firefox and chrome.

I do not see this problem when I start the notebook on localhost.

On another note, it takes a very long time (~ 1 minute) for my browser to
connect to https://<myip>.9999/  Not sure if this is part of the issue 
but I thought
it might be useful.

I saw this issue reported before but it was basically for people running 
windows
with antivirus and I do not have either.  I'm fairly certain that it is 
me that is
doing something wrong but I cannot for the life of me figure it out.

Thanks for any input you might have,

Justin


From takowl at gmail.com  Thu Mar 26 20:37:43 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 26 Mar 2015 17:37:43 -0700
Subject: [IPython-dev] Cannot connect to kernel when not using localhost
In-Reply-To: <551498E2.3060207@student.american.edu>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>
	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>
	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>
	<CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>
	<551498E2.3060207@student.american.edu>
Message-ID: <CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>

On 26 March 2015 at 16:40, Justin <jg3705a at student.american.edu> wrote:

> Note that I can edit markdown and raw text cells, I just cannot execute
> code.
>

This sounds like websockets are getting blocked somewhere - is there any
proxy involved? If you have a proxy set up for other internet access, you
may need to specifically tell it to let local IPs go through directly.


> On another note, it takes a very long time (~ 1 minute) for my browser to
> connect to https://<myip>.9999/  Not sure if this is part of the issue
> but I thought
> it might be useful.
>

Timeouts of ~1 minute can be related to DNS - it's trying something until
it times out, and then falling back to another thing which succeeds. I
don't know why that would come up when you're going directly to an IP
address, though.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150326/76f8c9d4/attachment.html>

From paad.ruslan.korniichuk at gmail.com  Fri Mar 27 09:59:40 2015
From: paad.ruslan.korniichuk at gmail.com (Ruslan Korniichuk)
Date: Fri, 27 Mar 2015 14:59:40 +0100
Subject: [IPython-dev] Kernels, located on the remote machines,
	in ipython-notebook
Message-ID: <CADK4v1gDrJJQ+8gYA+biJuUpXnvXLJwfFjrsVMrwouDfsa7i3A@mail.gmail.com>

Hi everyone,

Personal thanks to Matthias for answer about Notebook w/o kernels, and to
Wes for documentation and source links.
All history of this subject is available HERE:
http://goo.gl/WuMfeJ
I'm so sorry, I must express my task more clearly.
First of all, I already read next materials, proposed by Wes:
http://ipython.org/ipython-doc/dev/development/kernels.html
http://ipython.org/ipython-doc/dev/development/wrapperkernels.html
It's important to note that, currently, we need to create new notebooks
ONLY with python2 and python3 kernels.
BUT we have other needs.
The first of them, that we don't want install ipython on a few nodes in a
cluster and after run on each node ipython-notebook with only local python2
and python3 kernels availability.
We want provide for our PhD students and employees the capability to select
one of all available kernels on a cluster via one ipython-notebook. Nodes
in a cluster have different performance and computing load. Once again, my
visual example HERE:
http://goo.gl/pA3QRG
Now let's talk about an update.
from: Matthias Bussonnier
> Is this a long running computation ?
NO, we don't want update Jupyter (IPython) with the running kernels. But,
for example, Jupyter (IPython) update from ver. 3.1.0-dev-5b6d047 to ver.
4.0.0-dev-5e861d2 must work w/o special further actions (save menu with
remote python2 and python3 kernels and functional for work with this
kernels).
If we just hack ipython source code, that after first Jupyter (IPython)
update, it is possible to predict mass hysteria.

---
Best regards,
Ruslan Korniichuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/affbf792/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernels_550px.png
Type: image/png
Size: 40184 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/affbf792/attachment.png>

From jg3705a at student.american.edu  Fri Mar 27 10:26:34 2015
From: jg3705a at student.american.edu (Justin)
Date: Fri, 27 Mar 2015 07:26:34 -0700
Subject: [IPython-dev] Cannot connect to kernel when not using localhost
In-Reply-To: <CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>	<CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>	<551498E2.3060207@student.american.edu>
	<CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>
Message-ID: <5515689A.50509@student.american.edu>



On 03/26/2015 05:37 PM, Thomas Kluyver wrote:
> On 26 March 2015 at 16:40, Justin <jg3705a at student.american.edu 
> <mailto:jg3705a at student.american.edu>> wrote:
>
>     Note that I can edit markdown and raw text cells, I just cannot
>     execute
>     code.
>
>
> This sounds like websockets are getting blocked somewhere - is there 
> any proxy involved? If you have a proxy set up for other internet 
> access, you may need to specifically tell it to let local IPs go 
> through directly.
Thanks for the reply.  I do not believe (I know almost nothing about 
networking so I can never be 100% sure) I have any  proxies set up.   I 
do have my machine setup so that I can ssh into it from my laptop but  I 
don't think that is related.  Is there any procedure I can follow to see 
if the websockets are getting blocked and how to specifically tell it to 
let local IPs go through directly?


>     On another note, it takes a very long time (~ 1 minute) for my
>     browser to
>     connect to https://<myip>.9999/  Not sure if this is part of the issue
>     but I thought
>     it might be useful.
>
>
> Timeouts of ~1 minute can be related to DNS - it's trying something 
> until it times out, and then falling back to another thing which 
> succeeds. I don't know why that would come up when you're going 
> directly to an IP address, though.
>
> Thomas
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/9492af86/attachment.html>

From jg3705a at student.american.edu  Fri Mar 27 10:44:12 2015
From: jg3705a at student.american.edu (Justin)
Date: Fri, 27 Mar 2015 07:44:12 -0700
Subject: [IPython-dev] Cannot connect to kernel when not using localhost
In-Reply-To: <CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>	<CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>	<551498E2.3060207@student.american.edu>
	<CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>
Message-ID: <55156CBC.6020908@student.american.edu>

Ok, I got it to work.

In case anyone else is having this problem, I had to go into my router 
settings (att)
and enable IP passthrough (DHCPS-fixed mode) and point it to the machine 
running
the notebook.

After that voila, no problems.

Thanks for the help.


On 03/26/2015 05:37 PM, Thomas Kluyver wrote:
> On 26 March 2015 at 16:40, Justin <jg3705a at student.american.edu 
> <mailto:jg3705a at student.american.edu>> wrote:
>
>     Note that I can edit markdown and raw text cells, I just cannot
>     execute
>     code.
>
>
> This sounds like websockets are getting blocked somewhere - is there 
> any proxy involved? If you have a proxy set up for other internet 
> access, you may need to specifically tell it to let local IPs go 
> through directly.
>
>     On another note, it takes a very long time (~ 1 minute) for my
>     browser to
>     connect to https://<myip>.9999/  Not sure if this is part of the issue
>     but I thought
>     it might be useful.
>
>
> Timeouts of ~1 minute can be related to DNS - it's trying something 
> until it times out, and then falling back to another thing which 
> succeeds. I don't know why that would come up when you're going 
> directly to an IP address, though.
>
> Thomas
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/447d6d08/attachment.html>

From jg3705a at student.american.edu  Fri Mar 27 21:30:13 2015
From: jg3705a at student.american.edu (Justin)
Date: Fri, 27 Mar 2015 18:30:13 -0700
Subject: [IPython-dev] Cannot connect to kernel when not using localhost
In-Reply-To: <55156CBC.6020908@student.american.edu>
References: <CADK4v1hPRXYLHucdNFLgN4U_LTbyfmb=+MEU6qrNwnmF9g9TiA@mail.gmail.com>	<CACfEFw-DvqgS90by+kjB1AB20AU102=6PvZBzrqK20cT8j2r0Q@mail.gmail.com>	<6CAE1ADC-853E-47CC-A5F4-AD43DEF33FB6@gmail.com>	<CACfEFw9ryXo-0j3UzwmwHPfLriWqT2OMqGOdsrqptDSSUyB7ew@mail.gmail.com>	<551498E2.3060207@student.american.edu>
	<CAOvn4qjSAYqZjy0uR6O4qMb3vY1VoOmR-rBVSEJ30TjsP==MAg@mail.gmail.com>
	<55156CBC.6020908@student.american.edu>
Message-ID: <55160425.6070309@student.american.edu>



On 03/27/2015 07:44 AM, Justin wrote:
> Ok, I got it to work.
>
> In case anyone else is having this problem, I had to go into my router 
> settings (att)
> and enable IP passthrough (DHCPS-fixed mode) and point it to the 
> machine running
> the notebook.
Sorry, I jumped the gun here.

Doing the above change allows me to execute notebook cells but only
on the machine (my home desktop) that is running the notebook server.

When I try from my laptop (also on my home network),
I still cannot execute code cells.

I guess this is not really an IPython/Jupyter issue, but I was wondering if
there are any known troubleshooting steps I can take to get a better idea of
what's going on.


>
> After that voila, no problems.
>
> Thanks for the help.
>
>
> On 03/26/2015 05:37 PM, Thomas Kluyver wrote:
>> On 26 March 2015 at 16:40, Justin <jg3705a at student.american.edu 
>> <mailto:jg3705a at student.american.edu>> wrote:
>>
>>     Note that I can edit markdown and raw text cells, I just cannot
>>     execute
>>     code.
>>
>>
>> This sounds like websockets are getting blocked somewhere - is there 
>> any proxy involved? If you have a proxy set up for other internet 
>> access, you may need to specifically tell it to let local IPs go 
>> through directly.
>>
>>     On another note, it takes a very long time (~ 1 minute) for my
>>     browser to
>>     connect to https://<myip>.9999/ Not sure if this is part of the issue
>>     but I thought
>>     it might be useful.
>>
>>
>> Timeouts of ~1 minute can be related to DNS - it's trying something 
>> until it times out, and then falling back to another thing which 
>> succeeds. I don't know why that would come up when you're going 
>> directly to an IP address, though.
>>
>> Thomas
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/c21b249b/attachment.html>

From damianavila at gmail.com  Sat Mar 28 09:11:59 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Sat, 28 Mar 2015 10:11:59 -0300
Subject: [IPython-dev] Deploying JupyterHub for Education
In-Reply-To: <CAH4pYpQU=5ApgPgpaPFZ7YtbNw_8w8TMBATcHTgmDA0jy5DRVQ@mail.gmail.com>
References: <CALUXcBygSskzJf-zAMPhmMrNfmxWARtBk0ZPMN-5YF5YfF=GHg@mail.gmail.com>
	<CAH4pYpQU=5ApgPgpaPFZ7YtbNw_8w8TMBATcHTgmDA0jy5DRVQ@mail.gmail.com>
Message-ID: <CAH+mRR2OHcPt2ZCx3E5oBfX+suRjcbRhfrM1meqSadB2HDpUyQ@mail.gmail.com>

Thanks for sharing your experience with all of us, Jessica!

Cheers!

2015-03-26 1:13 GMT-03:00 Brian Granger <ellisonbg at gmail.com>:

> Congrats on the excellent work and blog post!
>
> Cheers,
>
> Brian
>
> On Wed, Mar 25, 2015 at 12:36 PM, Jessica B. Hamrick <
> jhamrick at berkeley.edu> wrote:
>
>> Hi all,
>>
>> Over the past few months I've set up a deployment of JupyterHub backed by
>> Docker and Docker Swarm for a class that I'm teaching this spring. I wrote
>> a blog post about it over on the Rackspace developer blog, if you're
>> interested:
>>
>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>
>> Thanks to people who helped out with this, especially Min and Kyle!
>>
>> Cheers,
>> Jess
>>
>> --
>> UC Berkeley, Department of Psychology
>> Computational Cognitive Science Lab
>> http://www.jesshamrick.com
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150328/e26cd6ee/attachment.html>

From yanghatespam at gmail.com  Sun Mar 29 04:44:00 2015
From: yanghatespam at gmail.com (Yang Zhang)
Date: Sun, 29 Mar 2015 01:44:00 -0700
Subject: [IPython-dev] Controlling prioritization in IPython Parallel
Message-ID: <CAKxBDU_e6J5h2WAtEPCax+_gn5B_zk6oDmrhat1mPZFpUUfkNA@mail.gmail.com>

Can one specify any sort of prioritization to tasks submitted to an IPython
Cluster?

The only hack I know of to accomplish something like this is to carefully
maintain a DAG of task dependencies and then, whenever submitting a new
prioritized tasks, you'd need to abort all (non-started) tasks, reconstruct
the DAG, and submit all the tasks again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/a0b1fb3b/attachment.html>

From maximilian.albert at gmail.com  Sun Mar 29 06:30:37 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Sun, 29 Mar 2015 11:30:37 +0100
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
	<CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
	<CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>
Message-ID: <CAGA_dmgWUVZNThwRL=w8yo+Ke7xgoV2N7h1oFqNLXE9-n2xVUQ@mail.gmail.com>

Ok, I had time to look a bit more into this and the following does what I
want:

==>
((*- extends 'article.tplx' -*))

% Disable input cells
((* block input_group *))
((* endblock input_group *))

((* block execute_result scoped *))
    ((*- for type in output.data | filter_data_type -*))
        ((*- if type in ['text/plain']*))
\begin{Verbatim}[commandchars=\\\{\}]
((( output.data['text/plain'] | escape_latex )))
\end{Verbatim}
        ((* else -*))
            ((* block data_priority scoped *))
            ((( super() )))
            ((* endblock *))
        ((*- endif -*))
    ((*- endfor -*))
((* endblock execute_result *))
<==

The problem with the previous suggestion was that the call to super() would
call the block "execute_result" in style_ipython.tplx, which would re-add
the Out[] prompt that had just been stripped. What we really want is to
call the "grandparent" instead of the parent block. So copying the
execute_result block from templates/latex/base.tplx (which is what
style_ipython.tplx inherits from) works.

The other minor problem was that some of the output wasn't formatted
correctly. This is because the "add_prompt" filter in style_ipython.tplx
doesn't just add the prompt but also wraps the cell contents in
\begin{Verbatim} ... \end{Verbatim}. So once I added this to my custom
template it also works correctly.

Even though this achieves what I need it's obviously not ideal because it
may break if something in the IPython templates changes or gets rearranged.
If I find the time I may try to have a look at how they can be refactored
so that less copying of template snippets is needed.

Many thanks again to Matthias and Aaron for their help which got me on the
right track!

Cheers,
Max


2015-03-26 11:32 GMT+00:00 Maximilian Albert <maximilian.albert at gmail.com>:

> Hi Aaron,
>
> Thanks a lot for your suggestion! This is actually exactly what I tried
> before sending my email to the list, and it does indeed work in certain
> cases, but some of my notebooks didn't convert correctly with it. I've put
> up a minimal example here:
>
>    https://github.com/maxalbert/nbconvert-templating-issue
>
> If you type "make" it will use different templates to generate three pdf
> documents from the notebook "minimal_example.ipynb" (more information on
> what the templates do is in the README of the repo). You will see that for
> the cell containing the image with the musical note, the "Out[]" prompt is
> retained. The notebook "sample_notebook.ipynb" has a slightly longer
> example, comparing with some other types of output cells for which the
> "Out[]" prompt is indeed removed.
>
> I won't have time to dig into this before the weekend, and my jinja-fu is
> almost zero, so if anyone has a quick idea what's going on here I'd
> appreciate it.
>
> Many thanks!
> Max
>
> 2015-03-24 11:27 GMT+00:00 Aaron O'Leary <aaron.oleary at gmail.com>:
>
>> Sorry, I misread your question! You only want to remove the output
>> prompts, not the whole output.
>>
>> Try this:
>>
>> ((*- extends 'article.tplx'
>> -*))
>>
>>
>>
>> % Disable input
>> cells
>>
>> ((* block input_group
>> *))
>>
>> ((* endblock input_group
>> *))
>>
>>
>>
>> ((* block execute_result scoped
>> *))
>>
>>     ((*- for type in output.data | filter_data_type
>> -*))
>>
>>         ((*- if type in
>> ['text/plain']*))
>>
>>             ((( output.data['text/plain'] | escape_latex
>> )))
>>
>>         ((* else
>> -*))
>>
>>             ((( super()
>> )))
>>
>>         ((*- endif
>> -*))
>>
>>     ((*- endfor
>> -*))
>>
>> ((* endblock execute_result *))
>>
>>
>> i.e. get rid of both the call to add_prompt and the manual prompt
>> creation.
>>
>> On 24 March 2015 at 10:35, Aaron O'Leary <aaron.oleary at gmail.com> wrote:
>>
>>> Hi Max,
>>>
>>> This is what you need:
>>>
>>> ((*- extends 'article.tplx' -*))
>>>
>>> % Disable input cells
>>> ((* block input_group *))
>>> ((* endblock input_group *))
>>>
>>> % Disable output cells
>>> ((* block output_group *))
>>> ((* endblock output_group *))
>>>
>>>
>>> You need to use 'output_group' instead of 'execute_result'. There are
>>> quite a number of elements in the output and 'output_group' is the block
>>> that covers all of them.
>>>
>>> You can get an overview of the block hierarchy by looking at
>>> 'IPython/nbconvert/templates/latex/skeleton/null.tplx'.
>>>
>>> aaron
>>>
>>>
>>> On 24 March 2015 at 01:08, Maximilian Albert <
>>> maximilian.albert at gmail.com> wrote:
>>>
>>>> 2015-03-23 19:06 GMT+00:00 Matthias Bussonnier <
>>>> bussonniermatthias at gmail.com>:
>>>>
>>>>>
>>>>> I guess you need to inherit the following block :
>>>>>
>>>>>
>>>>> ((* block execute_result scoped *))
>>>>>     ((*- for type in output.data | filter_data_type -*))
>>>>>         ((*- if type in ['text/plain']*))
>>>>>             ((( add_prompt(output.data['text/plain'] | escape_latex,
>>>>> cell, 'Out', 'outcolor') )))
>>>>>         ((* else -*))
>>>>> \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.execution_count
>>>>> )))}]:}((( super() )))
>>>>>         ((*- endif -*))
>>>>>     ((*- endfor -*))
>>>>> ((* endblock execute_result *))
>>>>>
>>>>>
>>>>> form IPython/nbconvert/templates/latex/style_ipython.tplx
>>>>>
>>>>> And replace by what you wish.
>>>>>
>>>>
>>>>
>>>> Thanks for the suggestion! That's precisely what I tried, but the
>>>> problem seems to be that the call to super() somehow adds an additional
>>>> Out[] prompt. I'll try to dig deeper into this when I get the time (and/or
>>>> make a minimal example available so that it can easily be reproduced), but
>>>> if anyone has any quick ideas I'm happy to hear them.
>>>>
>>>> Cheers,
>>>> Max
>>>>
>>>> P.S.: I noticed I forgot to include the link to the StackOverflow
>>>> question I mentioned in my original email. Here it is:
>>>>
>>>>
>>>> http://stackoverflow.com/questions/19524554/suppress-code-in-nbconvert-ipython
>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/94c2440f/attachment.html>

From fperez.net at gmail.com  Sun Mar 29 15:11:43 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Sun, 29 Mar 2015 12:11:43 -0700
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAGA_dmgWUVZNThwRL=w8yo+Ke7xgoV2N7h1oFqNLXE9-n2xVUQ@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
	<CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
	<CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>
	<CAGA_dmgWUVZNThwRL=w8yo+Ke7xgoV2N7h1oFqNLXE9-n2xVUQ@mail.gmail.com>
Message-ID: <CAHAreOqyPxmA4kMiVxzBMH-fQPvx_Or-_dzB7nJuMbmdSy86Lg@mail.gmail.com>

On Sun, Mar 29, 2015 at 3:30 AM, Maximilian Albert <
maximilian.albert at gmail.com> wrote:

> Even though this achieves what I need it's obviously not ideal because it
> may break if something in the IPython templates changes or gets rearranged.
> If I find the time I may try to have a look at how they can be refactored
> so that less copying of template snippets is needed.


We certainly would *love* to have more hands working on making these kinds
of work much easier and cleaner.  Any and all contributions of this kind
will be very welcome, thanks!!

f


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/925c2577/attachment.html>

From benjaminrk at gmail.com  Sun Mar 29 16:12:13 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sun, 29 Mar 2015 13:12:13 -0700
Subject: [IPython-dev] Controlling prioritization in IPython Parallel
In-Reply-To: <CAKxBDU_e6J5h2WAtEPCax+_gn5B_zk6oDmrhat1mPZFpUUfkNA@mail.gmail.com>
References: <CAKxBDU_e6J5h2WAtEPCax+_gn5B_zk6oDmrhat1mPZFpUUfkNA@mail.gmail.com>
Message-ID: <CAHNn8BUQJu4iD71whEQuQAfk0=oCjrcwcR81ANoAGyO4ZYwUjA@mail.gmail.com>

IPython.parallel currently has no support for task priority.

-MinRK

On Sun, Mar 29, 2015 at 1:44 AM, Yang Zhang <yanghatespam at gmail.com> wrote:

> Can one specify any sort of prioritization to tasks submitted to an
> IPython Cluster?
>
> The only hack I know of to accomplish something like this is to carefully
> maintain a DAG of task dependencies and then, whenever submitting a new
> prioritized tasks, you'd need to abort all (non-started) tasks, reconstruct
> the DAG, and submit all the tasks again.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/bfa78758/attachment.html>

From maximilian.albert at gmail.com  Sun Mar 29 17:23:27 2015
From: maximilian.albert at gmail.com (Maximilian Albert)
Date: Sun, 29 Mar 2015 22:23:27 +0100
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAHAreOqyPxmA4kMiVxzBMH-fQPvx_Or-_dzB7nJuMbmdSy86Lg@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
	<CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
	<CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>
	<CAGA_dmgWUVZNThwRL=w8yo+Ke7xgoV2N7h1oFqNLXE9-n2xVUQ@mail.gmail.com>
	<CAHAreOqyPxmA4kMiVxzBMH-fQPvx_Or-_dzB7nJuMbmdSy86Lg@mail.gmail.com>
Message-ID: <CAGA_dmgqF_uM3yUNSF3o4YTwa7f0w58mqOuM_+Y=TihJtO-iFw@mail.gmail.com>

2015-03-29 20:11 GMT+01:00 Fernando Perez <fperez.net at gmail.com>:

>
> On Sun, Mar 29, 2015 at 3:30 AM, Maximilian Albert <
> maximilian.albert at gmail.com> wrote:
>
>> Even though this achieves what I need it's obviously not ideal because it
>> may break if something in the IPython templates changes or gets rearranged.
>> If I find the time I may try to have a look at how they can be refactored
>> so that less copying of template snippets is needed.
>
>
> We certainly would *love* to have more hands working on making these kinds
> of work much easier and cleaner.  Any and all contributions of this kind
> will be very welcome, thanks!!
>

Sure, I'm more than happy to take a look. I'll wait until the repo
reorganisation/splitting is over, though.

Best wishes,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/97c01b89/attachment.html>

From fperez.net at gmail.com  Sun Mar 29 17:26:39 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Sun, 29 Mar 2015 14:26:39 -0700
Subject: [IPython-dev] Controlling prioritization in IPython Parallel
In-Reply-To: <CAHNn8BUQJu4iD71whEQuQAfk0=oCjrcwcR81ANoAGyO4ZYwUjA@mail.gmail.com>
References: <CAKxBDU_e6J5h2WAtEPCax+_gn5B_zk6oDmrhat1mPZFpUUfkNA@mail.gmail.com>
	<CAHNn8BUQJu4iD71whEQuQAfk0=oCjrcwcR81ANoAGyO4ZYwUjA@mail.gmail.com>
Message-ID: <CAHAreOq_DrcmuTQ=a2Yy3Ar=KGasMONDzB=zxP384q1sQjqeyA@mail.gmail.com>

On Sun, Mar 29, 2015 at 1:12 PM, MinRK <benjaminrk at gmail.com> wrote:

> IPython.parallel currently has no support for task priority.
>

And as usual, if anyone has cycles to put into it, we'd be very happy to
receive contributions on that front!




-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/8b0839b9/attachment.html>

From fperez.net at gmail.com  Sun Mar 29 17:27:12 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Sun, 29 Mar 2015 14:27:12 -0700
Subject: [IPython-dev] Removing "Out[]" prompts in nbconvert PDF output
In-Reply-To: <CAGA_dmgqF_uM3yUNSF3o4YTwa7f0w58mqOuM_+Y=TihJtO-iFw@mail.gmail.com>
References: <CAGA_dmhcbH97xE-ei1pXhgL5=dow64rronG-fQuBA7LDFOFNwg@mail.gmail.com>
	<443B4B8C-748A-41F5-96DE-03FD42745E4A@gmail.com>
	<CAGA_dmgfvzSiL2diyB39q4fGFizH87bbSjqfJEzUESHgsuFQ=Q@mail.gmail.com>
	<CAHzsXVUE=FO36AtZ5M1w7H7gtnW=4UdV4xr=Xu6t8WaxZA7L-A@mail.gmail.com>
	<CAHzsXVXcZhDydAOT1+8dwgE2exDDRRd5DWO5XaOCXbPTUXAM_w@mail.gmail.com>
	<CAGA_dmj2Mbf7wydpTX6wD=x7VmkBE+6efWC=5jC4pSPiQy0CnQ@mail.gmail.com>
	<CAGA_dmgWUVZNThwRL=w8yo+Ke7xgoV2N7h1oFqNLXE9-n2xVUQ@mail.gmail.com>
	<CAHAreOqyPxmA4kMiVxzBMH-fQPvx_Or-_dzB7nJuMbmdSy86Lg@mail.gmail.com>
	<CAGA_dmgqF_uM3yUNSF3o4YTwa7f0w58mqOuM_+Y=TihJtO-iFw@mail.gmail.com>
Message-ID: <CAHAreOoT+0MD9eCfrpcW=iOj93JCVQeKjZ2TAQjzr8fOiMsVLw@mail.gmail.com>

On Sun, Mar 29, 2015 at 2:23 PM, Maximilian Albert <
maximilian.albert at gmail.com> wrote:

> I'll wait until the repo reorganisation/splitting is over, though.


Certainly! Looking forward to having you contribute after the dust settles.


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/fa32b50c/attachment.html>

From fperez.net at gmail.com  Sun Mar 29 21:05:09 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Sun, 29 Mar 2015 18:05:09 -0700
Subject: [IPython-dev] Welcoming Jessica Hamrick to the Jupyter Steering
	Council
Message-ID: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>

Hi all,

I'd like to welcome Jess to the Steering Council.  After discussion of her
nomination with the Council, she agreed to join the team.

Jess has been contributing to multiple aspects of the project for a while
now, most recently via her amazing work on nbgrader + jupyterhub, which she
detailed in the great blog post many of you probably read:

https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/

We look forward to having her continue to engage the project not only as an
active developer but also as a member of the Council.

Congrats, Jess!

Fernando, on behalf of the Jupyter Steering Council.

-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/5a3e3964/attachment.html>

From ellisonbg at gmail.com  Sun Mar 29 21:14:30 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Sun, 29 Mar 2015 18:14:30 -0700
Subject: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the
	Jupyter Steering Council
In-Reply-To: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
Message-ID: <CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>

Congrats Jess! This is well deserved!

Cheers,

Brian

On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez <fperez.net at gmail.com>
wrote:

> Hi all,
>
> I'd like to welcome Jess to the Steering Council.  After discussion of her
> nomination with the Council, she agreed to join the team.
>
> Jess has been contributing to multiple aspects of the project for a while
> now, most recently via her amazing work on nbgrader + jupyterhub, which she
> detailed in the great blog post many of you probably read:
>
> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>
> We look forward to having her continue to engage the project not only as
> an active developer but also as a member of the Council.
>
> Congrats, Jess!
>
> Fernando, on behalf of the Jupyter Steering Council.
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscribe at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/04a3374a/attachment.html>

From rgbkrk at gmail.com  Sun Mar 29 21:16:03 2015
From: rgbkrk at gmail.com (Kyle Kelley)
Date: Sun, 29 Mar 2015 19:16:03 -0600
Subject: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the
	Jupyter Steering Council
In-Reply-To: <CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
Message-ID: <CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>

Congrats Jess! Great to have you!

-- Kyle

On Sunday, March 29, 2015, Brian Granger <ellisonbg at gmail.com> wrote:

> Congrats Jess! This is well deserved!
>
> Cheers,
>
> Brian
>
> On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez <fperez.net at gmail.com
> <javascript:_e(%7B%7D,'cvml','fperez.net at gmail.com');>> wrote:
>
>> Hi all,
>>
>> I'd like to welcome Jess to the Steering Council.  After discussion of
>> her nomination with the Council, she agreed to join the team.
>>
>> Jess has been contributing to multiple aspects of the project for a while
>> now, most recently via her amazing work on nbgrader + jupyterhub, which she
>> detailed in the great blog post many of you probably read:
>>
>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>
>> We look forward to having her continue to engage the project not only as
>> an active developer but also as a member of the Council.
>>
>> Congrats, Jess!
>>
>> Fernando, on behalf of the Jupyter Steering Council.
>>
>> --
>> Fernando Perez (@fperez_org; http://fperez.org)
>> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
>> fernando.perez-at-berkeley: contact me here for any direct mail
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+unsubscribe at googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','jupyter%2Bunsubscribe at googlegroups.com');>.
>> To post to this group, send email to jupyter at googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','jupyter at googlegroups.com');>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu
> <javascript:_e(%7B%7D,'cvml','bgranger at calpoly.edu');> and
> ellisonbg at gmail.com <javascript:_e(%7B%7D,'cvml','ellisonbg at gmail.com');>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscribe at googlegroups.com
> <javascript:_e(%7B%7D,'cvml','jupyter%2Bunsubscribe at googlegroups.com');>.
> To post to this group, send email to jupyter at googlegroups.com
> <javascript:_e(%7B%7D,'cvml','jupyter at googlegroups.com');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
developer.rackspace.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/9cc3aca1/attachment.html>

From damianavila at gmail.com  Sun Mar 29 21:38:36 2015
From: damianavila at gmail.com (=?UTF-8?Q?Dami=C3=A1n_Avila?=)
Date: Sun, 29 Mar 2015 22:38:36 -0300
Subject: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the
 Jupyter Steering Council
In-Reply-To: <CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
Message-ID: <CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>

Congratulations! Jess!
Nice to have you on board! ;-)

Cheers.

2015-03-29 22:16 GMT-03:00 Kyle Kelley <rgbkrk at gmail.com>:

> Congrats Jess! Great to have you!
>
> -- Kyle
>
>
> On Sunday, March 29, 2015, Brian Granger <ellisonbg at gmail.com> wrote:
>
>> Congrats Jess! This is well deserved!
>>
>> Cheers,
>>
>> Brian
>>
>> On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez <fperez.net at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I'd like to welcome Jess to the Steering Council.  After discussion of
>>> her nomination with the Council, she agreed to join the team.
>>>
>>> Jess has been contributing to multiple aspects of the project for a
>>> while now, most recently via her amazing work on nbgrader + jupyterhub,
>>> which she detailed in the great blog post many of you probably read:
>>>
>>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>>
>>> We look forward to having her continue to engage the project not only as
>>> an active developer but also as a member of the Council.
>>>
>>> Congrats, Jess!
>>>
>>> Fernando, on behalf of the Jupyter Steering Council.
>>>
>>> --
>>> Fernando Perez (@fperez_org; http://fperez.org)
>>> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
>>> fernando.perez-at-berkeley: contact me here for any direct mail
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jupyter+unsubscribe at googlegroups.com.
>>> To post to this group, send email to jupyter at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> @ellisonbg on Twitter and GitHub
>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+unsubscribe at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
> developer.rackspace.com)
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
*Dami?n*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/8d859152/attachment.html>

From bussonniermatthias at gmail.com  Sun Mar 29 21:58:11 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sun, 29 Mar 2015 18:58:11 -0700
Subject: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the
 Jupyter Steering Council
In-Reply-To: <CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
Message-ID: <CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>

Congratulation to you Jess,

You are a worthy part of the team, and don't take this nomination as one
more excuse not to work on your PhD !



On Sun, Mar 29, 2015 at 6:38 PM, Dami?n Avila <damianavila at gmail.com> wrote:

> Congratulations! Jess!
> Nice to have you on board! ;-)
>
> Cheers.
>
> 2015-03-29 22:16 GMT-03:00 Kyle Kelley <rgbkrk at gmail.com>:
>
>> Congrats Jess! Great to have you!
>>
>> -- Kyle
>>
>>
>> On Sunday, March 29, 2015, Brian Granger <ellisonbg at gmail.com> wrote:
>>
>>> Congrats Jess! This is well deserved!
>>>
>>> Cheers,
>>>
>>> Brian
>>>
>>> On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez <fperez.net at gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'd like to welcome Jess to the Steering Council.  After discussion of
>>>> her nomination with the Council, she agreed to join the team.
>>>>
>>>> Jess has been contributing to multiple aspects of the project for a
>>>> while now, most recently via her amazing work on nbgrader + jupyterhub,
>>>> which she detailed in the great blog post many of you probably read:
>>>>
>>>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>>>
>>>> We look forward to having her continue to engage the project not only
>>>> as an active developer but also as a member of the Council.
>>>>
>>>> Congrats, Jess!
>>>>
>>>> Fernando, on behalf of the Jupyter Steering Council.
>>>>
>>>> --
>>>> Fernando Perez (@fperez_org; http://fperez.org)
>>>> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
>>>> fernando.perez-at-berkeley: contact me here for any direct mail
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Project Jupyter" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jupyter+unsubscribe at googlegroups.com.
>>>> To post to this group, send email to jupyter at googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Brian E. Granger
>>> Cal Poly State University, San Luis Obispo
>>> @ellisonbg on Twitter and GitHub
>>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jupyter+unsubscribe at googlegroups.com.
>>> To post to this group, send email to jupyter at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
>> developer.rackspace.com)
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> *Dami?n*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscribe at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2B%2BQRqPxk8cZRCG7p6tFmRUWdCiWPMe%2BSkxEtwec6Jhg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2B%2BQRqPxk8cZRCG7p6tFmRUWdCiWPMe%2BSkxEtwec6Jhg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150329/8f72ceb3/attachment.html>

From jhamrick at berkeley.edu  Mon Mar 30 09:45:00 2015
From: jhamrick at berkeley.edu (Jessica B. Hamrick)
Date: Mon, 30 Mar 2015 06:45:00 -0700
Subject: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the
 Jupyter Steering Council
In-Reply-To: <CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
	<CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
Message-ID: <CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>

Thanks, everyone! I'm super psyched to be part of the team :-)

Jess

--
UC Berkeley, Department of Psychology
Computational Cognitive Science Lab
http://www.jesshamrick.com

On Sun, Mar 29, 2015 at 6:58 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Congratulation to you Jess,
>
> You are a worthy part of the team, and don't take this nomination as one
> more excuse not to work on your PhD !
>
>
>
> On Sun, Mar 29, 2015 at 6:38 PM, Dami?n Avila <damianavila at gmail.com>
> wrote:
>
>> Congratulations! Jess!
>> Nice to have you on board! ;-)
>>
>> Cheers.
>>
>> 2015-03-29 22:16 GMT-03:00 Kyle Kelley <rgbkrk at gmail.com>:
>>
>>> Congrats Jess! Great to have you!
>>>
>>> -- Kyle
>>>
>>>
>>> On Sunday, March 29, 2015, Brian Granger <ellisonbg at gmail.com> wrote:
>>>
>>>> Congrats Jess! This is well deserved!
>>>>
>>>> Cheers,
>>>>
>>>> Brian
>>>>
>>>> On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez <fperez.net at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'd like to welcome Jess to the Steering Council.  After discussion of
>>>>> her nomination with the Council, she agreed to join the team.
>>>>>
>>>>> Jess has been contributing to multiple aspects of the project for a
>>>>> while now, most recently via her amazing work on nbgrader + jupyterhub,
>>>>> which she detailed in the great blog post many of you probably read:
>>>>>
>>>>>
>>>>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>>>>
>>>>> We look forward to having her continue to engage the project not only
>>>>> as an active developer but also as a member of the Council.
>>>>>
>>>>> Congrats, Jess!
>>>>>
>>>>> Fernando, on behalf of the Jupyter Steering Council.
>>>>>
>>>>> --
>>>>> Fernando Perez (@fperez_org; http://fperez.org)
>>>>> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
>>>>> fernando.perez-at-berkeley: contact me here for any direct mail
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Project Jupyter" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to jupyter+unsubscribe at googlegroups.com.
>>>>> To post to this group, send email to jupyter at googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Brian E. Granger
>>>> Cal Poly State University, San Luis Obispo
>>>> @ellisonbg on Twitter and GitHub
>>>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Project Jupyter" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jupyter+unsubscribe at googlegroups.com.
>>>> To post to this group, send email to jupyter at googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
>>> developer.rackspace.com)
>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>>
>> --
>> *Dami?n*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+unsubscribe at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2B%2BQRqPxk8cZRCG7p6tFmRUWdCiWPMe%2BSkxEtwec6Jhg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2B%2BQRqPxk8cZRCG7p6tFmRUWdCiWPMe%2BSkxEtwec6Jhg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscribe at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CANJQusWnqvjA%2BJk-S6hF0Eo64GodkXPD80ne8dssW%3DL3g8jS%2Bw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CANJQusWnqvjA%2BJk-S6hF0Eo64GodkXPD80ne8dssW%3DL3g8jS%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150330/9bd593ef/attachment.html>

From nick.bollweg at gmail.com  Mon Mar 30 11:05:43 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Mon, 30 Mar 2015 11:05:43 -0400
Subject: [IPython-dev] [jupyter] Re: IHaskell on Jupyter
In-Reply-To: <095EA2AD-DC8B-4A0D-A8F3-61C2BD11B635@gmail.com>
References: <CAF-LYK+Lr-KT4AuvJubOjk3=7coV6Z+N7j3jNvdy8BGFXJz-yQ@mail.gmail.com>
	<5AE8F615-C1AF-47DF-894F-98FD315934A5@gmail.com>
	<CACejjWychJZv_QXsOx3iQ6CETt_hFXQVRW1eT3dYizjPVW8HSQ@mail.gmail.com>
	<CAAusYCjPPDJvzhBazUk7kibW_OqeRVHNS2OykshHt+UOtzJYsw@mail.gmail.com>
	<095EA2AD-DC8B-4A0D-A8F3-61C2BD11B635@gmail.com>
Message-ID: <CACejjWwWdJZ+NjVtn+Ao2yJCTvh+32oNEkLBwWW6Cyw+gYJSSA@mail.gmail.com>

Sounding good.

I had a look at docker-demo-images
<https://github.com/jupyter/docker-demo-images>. It seems very monolithic
right now, and was very hard to get to build completely, though this is
likely due to the ongoing github vs nation state issues.

My first question is whether, before asking people to start hacking on it,
to modularize it a bit more... basically, have everyone that wants a kernel
have one place where they PR, and have an agreed-upon structure:
- Dockerfile
  ...
  ADD kernels /srv/kernels
  RUN find /srv/kernels -name install.sh -exec bash {} \;
  ...
  USER joyvan
  ...
  RUN cp -r /srv/kernels
- kernels
  - Julia
    - install.sh
    - Welcome.ipynb
  - R
    - install.sh
    - Welcome.ipynb

The larger question, though is: why have one image to rule them all?

This base image, is already many gigabytes, and only has the three kernels,
and a (heaping) handful of notebooks. As we add more kernels and notebooks,
it will only get slower to build and more fragile w/r/t dependencies. If
we're already requiring a kernel author to understand docker (which they
should, presumably), perhaps an approach where we allow kernel authors to
provider a link to a Docker image, preferrably as automated official
builds, we be more beneficial, as then the images themselves would be
usable outside of try/tmpnb.

I don't know what this would take, and whether dockerspawner could handle
it anyway.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150330/9f77e901/attachment.html>

From benjamin.ninassi at inria.fr  Tue Mar 31 09:37:44 2015
From: benjamin.ninassi at inria.fr (Benjamin Ninassi)
Date: Tue, 31 Mar 2015 15:37:44 +0200 (CEST)
Subject: [IPython-dev] [jupyter]News from a French Mooc about Python with
 ipython
In-Reply-To: <CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
	<CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
	<CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>
Message-ID: <341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>

Hi all, 

Months ago I told you about our purpose to use ipython notebooks on a web plateform (without requiring students to install anything on their computer) in a Mooc about python programming on the governmental french Mooc plateform https://www.france-universite-numerique-mooc.fr/ . 

The mooc ( https://www.france-universite-numerique-mooc.fr/courses/inria/41001/Trimestre_4_2014/about ) took place between november and december 2014, featuring 111 ipython notebooks (+ videos, quizz and other contents). 

On this occasion we have developed an application infrastructure around ipython notebooks. 
This infrastructure allows, through a URL containing a student identifier and a notebook name : 
- to dynamically create student accounts on the server 
- to copy the teacher's notebook to the student directory, and create access to some resources (data, media) 
- to dynamically launch an ipython dedicated web server for the student (assuming it's not already running) so that it can use its versions of the notebooks in a mastered context (for security issues) 

Some other features have been developed and integrated (eg deployment management of the teacher notebooks), the possibility to reset notebook (get the latest version of the teacher), the ability to generate a static html version deployed in the student space, allowing him to share its results with other students (through eg forum), etc. The GUI has also been slightly customized to access these features and limit feasible actions by students who do not know the keyboard shortcuts. A xBlock for OpenEdx was created so as to include these notebooks in the MOOC platform through an iframe to completely integrate the course complements the platform. 
The developments were largely made in php / Symfony2 + some shell scripts, the server-side security was mostly made with AppArmor. 

The MOOC went very well (over 9,000 enrolled students) and feedbacks on the notebooks were extremely positive! 
This application will be reused in a robotics MOOC before this summer, and the python programming MOOC will be replayed next fall. 

We had no time to properly package the developments or write anything on the subject, but as I discover https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/ , I feel JupyterHub was Developed to meet a similar need, any feedback on its use in a Mooc or any massive environnement with hundreds of students at a time would be interesting ! 

Feel free to come back to me with any questions ! 

Best regards, 

Benjamin 

-- 
Benjamin Ninassi 
SEISM - Development Team & Mooclab INRIA 
T?l. (+33) 02 99 84 73 43 
benjamin.ninassi at inria.fr 

----- Mail original -----


De: "Jessica B. Hamrick" <jhamrick at berkeley.edu> 
?: jupyter at googlegroups.com 
Cc: "IPython developers list" <ipython-dev at scipy.org> 
Envoy?: Lundi 30 Mars 2015 15:45:00 
Objet: Re: [IPython-dev] [jupyter] Welcoming Jessica Hamrick to the Jupyter Steering Council 

Thanks, everyone! I'm super psyched to be part of the team :-) 

Jess 

-- 
UC Berkeley, Department of Psychology 
Computational Cognitive Science Lab 
http://www.jesshamrick.com 

On Sun, Mar 29, 2015 at 6:58 PM, Matthias Bussonnier < bussonniermatthias at gmail.com > wrote: 

<blockquote>

Congratulation to you Jess, 

You are a worthy part of the team, and don't take this nomination as one more excuse not to work on your PhD ! 



On Sun, Mar 29, 2015 at 6:38 PM, Dami?n Avila < damianavila at gmail.com > wrote: 

<blockquote>

Congratulations! Jess! 
Nice to have you on board! ;-) 

Cheers. 

2015-03-29 22:16 GMT-03:00 Kyle Kelley < rgbkrk at gmail.com > : 

<blockquote>

Congrats Jess! Great to have you! 

-- Kyle 


On Sunday, March 29, 2015, Brian Granger < ellisonbg at gmail.com > wrote: 

<blockquote>

Congrats Jess! This is well deserved! 

Cheers, 

Brian 

On Sun, Mar 29, 2015 at 6:05 PM, Fernando Perez < fperez.net at gmail.com > wrote: 

<blockquote>

Hi all, 

I'd like to welcome Jess to the Steering Council. After discussion of her nomination with the Council, she agreed to join the team. 

Jess has been contributing to multiple aspects of the project for a while now, most recently via her amazing work on nbgrader + jupyterhub, which she detailed in the great blog post many of you probably read: 

https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/ 

We look forward to having her continue to engage the project not only as an active developer but also as a member of the Council. 

Congrats, Jess! 

Fernando, on behalf of the Jupyter Steering Council. 

-- 
Fernando Perez (@fperez_org; http://fperez.org ) 
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!) 
fernando.perez-at-berkeley: contact me here for any direct mail 



-- 
You received this message because you are subscribed to the Google Groups "Project Jupyter" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe at googlegroups.com . 
To post to this group, send email to jupyter at googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHAreOoj7%2B62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE%2Bw%40mail.gmail.com . 
For more options, visit https://groups.google.com/d/optout . 






-- 
Brian E. Granger 
Cal Poly State University, San Luis Obispo 
@ellisonbg on Twitter and GitHub 
bgranger at calpoly.edu and ellisonbg at gmail.com 



-- 
You received this message because you are subscribed to the Google Groups "Project Jupyter" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe at googlegroups.com . 
To post to this group, send email to jupyter at googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks%3DjWHXHrK1Nipw%40mail.gmail.com . 
For more options, visit https://groups.google.com/d/optout . 

</blockquote>



-- 
Kyle Kelley ( @rgbkrk ; lambdaops.com , developer.rackspace.com ) 


_______________________________________________ 
IPython-dev mailing list 
IPython-dev at scipy.org 
http://mail.scipy.org/mailman/listinfo/ipython-dev 


</blockquote>




-- 
Dami?n 



-- 
You received this message because you are subscribed to the Google Groups "Project Jupyter" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe at googlegroups.com . 
To post to this group, send email to jupyter at googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2B%2BQRqPxk8cZRCG7p6tFmRUWdCiWPMe%2BSkxEtwec6Jhg%40mail.gmail.com . 

For more options, visit https://groups.google.com/d/optout . 

</blockquote>





-- 
You received this message because you are subscribed to the Google Groups "Project Jupyter" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe at googlegroups.com . 
To post to this group, send email to jupyter at googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CANJQusWnqvjA%2BJk-S6hF0Eo64GodkXPD80ne8dssW%3DL3g8jS%2Bw%40mail.gmail.com . 

For more options, visit https://groups.google.com/d/optout . 

</blockquote>



_______________________________________________ 
IPython-dev mailing list 
IPython-dev at scipy.org 
http://mail.scipy.org/mailman/listinfo/ipython-dev 

</blockquote>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150331/1f3bec3d/attachment.html>

From bussonniermatthias at gmail.com  Tue Mar 31 13:59:29 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 31 Mar 2015 10:59:29 -0700
Subject: [IPython-dev] [jupyter]News from a French Mooc about Python
	with ipython
In-Reply-To: <341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
	<CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
	<CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>
	<341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>
Message-ID: <AD7305A5-D667-4AA6-BD9F-AC8F22CC463A@gmail.com>

Bonjour Benjamin, 


Le 31 mars 2015 ? 06:37, Benjamin Ninassi <benjamin.ninassi at inria.fr> a ?crit :

> Hi all, 
> 
> Months ago I told you about our purpose to use ipython notebooks on a web plateform (without requiring students to install anything on their computer) in a Mooc about python programming on the governmental french Mooc plateform https://www.france-universite-numerique-mooc.fr/.
> 
> The mooc (https://www.france-universite-numerique-mooc.fr/courses/inria/41001/Trimestre_4_2014/about) took place between november and december 2014, featuring 111 ipython notebooks (+ videos, quizz and other contents).


That's great to hear, and we really appreciate you coming back to us with such information, 
it is a really helpful to know what are the usage of IPython. 

> 
> On this occasion we have developed an application infrastructure around ipython notebooks.
> This infrastructure allows, through a URL containing a student identifier and a notebook name :
> - to dynamically create student accounts on the server
> - to copy the teacher's notebook to the student directory, and create access to some resources (data, media)
> - to dynamically launch an ipython dedicated web server for the student (assuming it's not already running) so that it can use its versions of the notebooks in a mastered context (for security issues)
> 
> Some other features have been developed and integrated (eg deployment management of the teacher notebooks), the possibility to  reset notebook (get the latest version of the teacher), the ability to generate a static html version deployed in the student space, allowing him to share its results with other students (through eg forum), etc. The GUI has also been slightly customized to access these features and limit feasible actions by students who do not know the keyboard shortcuts. A xBlock for OpenEdx was created so as to include these notebooks in the MOOC platform through an iframe to completely integrate the course complements the platform.
> The developments were largely made in php / Symfony2 + some shell scripts, the server-side security was mostly made with AppArmor.
> 
> The MOOC went very well (over 9,000 enrolled students) and feedbacks on the notebooks were extremely positive!
> This application will be reused in a robotics MOOC before this summer, and the python programming MOOC will be replayed next fall.
> 
> We had no time to properly package the developments or write anything on the subject, but as I discover https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/ , I feel JupyterHub was Developed to meet a similar need, any feedback on its use in a Mooc or any massive environnement with hundreds of students at a time would be interesting !


That's awesome, I suppose the decision to not develop that completely in the open is not yours, and I hope that this was not too much re-inventing the same things both on our and your side. 

I don't know how much you can share that, but it would be nice to compare the workflow of your platform and yours too see where we can improve both. Maybe it would be possible to at least share that in private ? Or get thoughts on security or challenges you had ?

As you have probably seen in Jess email, we are going release things relatively soon (though they are already available on github) and we will continue to develop and push things forward. we would really appreciate your contribution, and listen to your needs to get something reusable. 


> Feel free to come back to me with any questions !


Have you talk to / hear of the mood of Lorena Barbara, i think they are also integrating with EDX. 

Any chance you can share some feedback/analytics of how students are using the notebooks ? 
We might develop a extension that  collect some of students behavior like which keyboard shortcut/button they use. 
Would you be interested in using it ? 


Thanks, keep us informed, and looking forward to more collaboration. 
-- 
M


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150331/c33ff8d5/attachment.html>

From ellisonbg at gmail.com  Tue Mar 31 14:47:47 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Tue, 31 Mar 2015 11:47:47 -0700
Subject: [IPython-dev] [jupyter]News from a French Mooc about Python
	with ipython
In-Reply-To: <AD7305A5-D667-4AA6-BD9F-AC8F22CC463A@gmail.com>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
	<CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
	<CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>
	<341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>
	<AD7305A5-D667-4AA6-BD9F-AC8F22CC463A@gmail.com>
Message-ID: <CAH4pYpTPhKhAp4uz40miZM73ZXi=NSxhkat=+GZ9Dms-+zG5hw@mail.gmail.com>

Benjamin,

Thanks for sharing this. JupyterHub is definitely being built for this type
of things exactly - although deploying it at scale is definitely
non-trivial. We would love to have you help on JupyterHub in any way you
are able!

Cheers,

Brian

On Tue, Mar 31, 2015 at 10:59 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Bonjour Benjamin,
>
>
> Le 31 mars 2015 ? 06:37, Benjamin Ninassi <benjamin.ninassi at inria.fr> a
> ?crit :
>
> Hi all,
>
> Months ago I told you about our purpose to use ipython notebooks on a web
> plateform (without requiring students to install anything on their
> computer) in a Mooc about python programming on the governmental french
> Mooc plateform https://www.france-universite-numerique-mooc.fr/.
>
> The mooc (
> https://www.france-universite-numerique-mooc.fr/courses/inria/41001/Trimestre_4_2014/about)
> took place between november and december 2014, featuring 111 ipython
> notebooks (+ videos, quizz and other contents).
>
>
>
> That's great to hear, and we really appreciate you coming back to us with
> such information,
> it is a really helpful to know what are the usage of IPython.
>
>
> On this occasion we have developed an application infrastructure around
> ipython notebooks.
> This infrastructure allows, through a URL containing a student identifier
> and a notebook name :
> - to dynamically create student accounts on the server
> - to copy the teacher's notebook to the student directory, and create
> access to some resources (data, media)
> - to dynamically launch an ipython dedicated web server for the student
> (assuming it's not already running) so that it can use its versions of the
> notebooks in a mastered context (for security issues)
>
> Some other features have been developed and integrated (eg deployment
> management of the teacher notebooks), the possibility to  reset notebook
> (get the latest version of the teacher), the ability to generate a static
> html version deployed in the student space, allowing him to share its
> results with other students (through eg forum), etc. The GUI has also been
> slightly customized to access these features and limit feasible actions by
> students who do not know the keyboard shortcuts. A xBlock for OpenEdx was
> created so as to include these notebooks in the MOOC platform through an
> iframe to completely integrate the course complements the platform.
> The developments were largely made in php / Symfony2 + some shell scripts,
> the server-side security was mostly made with AppArmor.
>
> The MOOC went very well (over 9,000 enrolled students) and feedbacks on
> the notebooks were extremely positive!
> This application will be reused in a robotics MOOC before this summer, and
> the python programming MOOC will be replayed next fall.
>
> We had no time to properly package the developments or write anything on
> the subject, but as I discover
> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
> , I feel JupyterHub was Developed to meet a similar need, any feedback on
> its use in a Mooc or any massive environnement with hundreds of students at
> a time would be interesting !
>
>
>
> That's awesome, I suppose the decision to not develop that completely in
> the open is not yours, and I hope that this was not too much re-inventing
> the same things both on our and your side.
>
> I don't know how much you can share that, but it would be nice to compare
> the workflow of your platform and yours too see where we can improve both.
> Maybe it would be possible to at least share that in private ? Or get
> thoughts on security or challenges you had ?
>
> As you have probably seen in Jess email, we are going release things
> relatively soon (though they are already available on github) and we will
> continue to develop and push things forward. we would really appreciate
> your contribution, and listen to your needs to get something reusable.
>
>
> Feel free to come back to me with any questions !
>
>
>
> Have you talk to / hear of the mood of Lorena Barbara, i think they are
> also integrating with EDX.
>
> Any chance you can share some feedback/analytics of how students are using
> the notebooks ?
> We might develop a extension that  collect some of students behavior like
> which keyboard shortcut/button they use.
> Would you be interested in using it ?
>
>
> Thanks, keep us informed, and looking forward to more collaboration.
> --
> M
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscribe at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/AD7305A5-D667-4AA6-BD9F-AC8F22CC463A%40gmail.com
> <https://groups.google.com/d/msgid/jupyter/AD7305A5-D667-4AA6-BD9F-AC8F22CC463A%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150331/81d74ad0/attachment.html>

From nordin at byu.edu  Tue Mar 31 20:38:12 2015
From: nordin at byu.edu (Greg Nordin)
Date: Tue, 31 Mar 2015 17:38:12 -0700 (PDT)
Subject: [IPython-dev] Equation numbering
Message-ID: <1427848692720-5091129.post@n6.nabble.com>

I'm wondering with the move to Jupyter and breaking it up into smaller
modules, is there a plan for equation numbering in markdown cells? I know
ngoldbaum opened  Issue #4113
<https://github.com/ipython/ipython/issues/4113>   on this question, but I
haven't seen any recent information. For many of us who are developing
course materials based on ipython notebooks, this is a critical issue.



--
View this message in context: http://python.6.x6.nabble.com/Equation-numbering-tp5091129.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From fperez.net at gmail.com  Tue Mar 31 20:39:49 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Tue, 31 Mar 2015 17:39:49 -0700
Subject: [IPython-dev] [jupyter]News from a French Mooc about Python
	with ipython
In-Reply-To: <341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>
References: <CAHAreOoj7+62Qw3z4mnKuESyfxonCoJt6QeLgt-HZLMmiDzE+w@mail.gmail.com>
	<CAH4pYpTnB8SOtqu-tDXmrravfVvzzcaagTGks=jWHXHrK1Nipw@mail.gmail.com>
	<CA+tbMaVCT5vN8kTEh64THqt9YcJWFuzDh=D-DMckwJvCe-pF9g@mail.gmail.com>
	<CAH+mRR2B+QRqPxk8cZRCG7p6tFmRUWdCiWPMe+SkxEtwec6Jhg@mail.gmail.com>
	<CANJQusWnqvjA+Jk-S6hF0Eo64GodkXPD80ne8dssW=L3g8jS+w@mail.gmail.com>
	<CALUXcBwNPLP-_ZndrHtDQtJ4fBuBt-Uo1m2OFhUH_+zhZfQuNA@mail.gmail.com>
	<341582656.3823540.1427809064291.JavaMail.zimbra@inria.fr>
Message-ID: <CAHAreOq7dTCWZJ9MfFhf8XOKx_-KDxTOziQ+=xWL+kDh_jzcQQ@mail.gmail.com>

Bonjour Benjamin,

On Tue, Mar 31, 2015 at 6:37 AM, Benjamin Ninassi <benjamin.ninassi at inria.fr
> wrote:

> Months ago I told you about our purpose to use ipython notebooks on a web
> plateform (without requiring students to install anything on their
> computer) in a Mooc about python programming on the governmental french
> Mooc plateform https://www.france-universite-numerique-mooc.fr/.
>
> The mooc (
> https://www.france-universite-numerique-mooc.fr/courses/inria/41001/Trimestre_4_2014/about)
> took place between november and december 2014, featuring 111 ipython
> notebooks (+ videos, quizz and other contents).
>

Many thanks for sharing this!  As a perfect coincidence, an INRIA
researcher was visiting our group at LBL as I was reading this message, and
I was able to share your message with her. She is likely to teach a MOOC on
the FUN platform this fall, so she might be in touch with you regarding
some of this work (her area is systems research, so it's not 100% clear
that IPython will help her yet).  Excellent timing :)

I do hope that in the long run, you'll be able to bring your experience and
feedback into the rest of the project.  We'd love to have your
contributions!

Cheers

f


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150331/5edf237f/attachment.html>