[jupyter] Re: An incredible piece about OSS sustainability

2016-07-17 Thread Lawrence D’Oliveiro
On Sunday, July 17, 2016 at 1:48:47 PM UTC+12, Fernando Perez wrote:

https://storify.com/Lukasaoz/open-source-infrastructure-white-paper 
> 
>
> Companies wanting something for nothing are not a new phenomenon. That is 
a key reason why the GPL was created. Look at outfits like the Apache 
Software Foundation, who deliberately avoid using the GPL for their 
projects, and how they ended up being used as a football in the 
maneouvrings between Oracle, Sun and IBM over Java. And how Oracle used 
them as a dumping ground for open-source projects that Sun had nurtured, 
which it killed--like OpenOffice.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/94ed1f83-d23c-4aa5-af41-a0738d2d120c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Jupyter VPython 1.0.2

2016-07-14 Thread Lawrence D’Oliveiro
On Thursday, July 14, 2016 at 11:08:48 AM UTC+12, Bruce Sherwood wrote:

Jupyter VPython is an unusually easy to use environment for doing 
> computational modeling with navigable real-time 3D animations.
>
 
Does it not do Python 3? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/50ea8d58-5564-4ee9-bc29-549e08222e05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Csound Magic

2016-10-23 Thread Lawrence D’Oliveiro
The latest addition to my ipy_magics  
repo is the %%csound magic for embedding Csound code in a cell. Cell output 
shows the usual Jupyter audio widget that you can use to play or save the 
generated audio.

If you don’t know what Csound  is, it’s like 
having the BBC Radiophonic Workshop in a piece of software on your PC.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/596b7334-72a5-4aae-a06f-dc1059c353c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: IPython: how to move to the last line?

2016-10-24 Thread Lawrence D’Oliveiro
On Thursday, October 20, 2016 at 8:33:56 AM UTC+13, Hai Nguyen wrote:
>
>
> I do not know the shortcut to move cursor to the last line ...
>

CTRL-Home and CTRL-End seem to work for me to go to the beginning and end 
of a cell’s contents.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e20b84be-ce33-4f17-8b71-d7a6f96555f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Output cell history / diff?

2016-11-13 Thread Lawrence D’Oliveiro
On Monday, November 14, 2016 at 2:24:32 PM UTC+13, Patrick Surry wrote:
>
>
> On Sun, Nov 13, 2016 at 3:06 AM Lawrence D’Oliveiro <lawren...@gmail.com 
> > wrote:
>
>> On Friday, October 28, 2016 at 4:41:38 AM UTC+13, Patrick Surry wrote:
>>
>> I often find myself copying & pasting a cell to execute with small 
>>> changes and then compare to a previous iteration, either while I'm 
>>> exploring interactively, or because I'm re-running a previous analysis with 
>>> updated data.
>>>
>>  
>> Isn’t that why you have more than one cell? 
>>
>>
> That's certainly my current approach, but it gets painful to keep multiple 
> "old" versions of a calculation and remember not to re-run them when you 
> come back with an updated dataset a month later.
>

Is it because they trigger errors when you run them? Otherwise, a comment 
to the effect that this output is from an older version of the calculation 
should be sufficient.
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a8afed5f-0017-4680-b70c-be887ddcafe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Web Census Notebook: A new tool for studying web privacy

2017-06-09 Thread Lawrence D’Oliveiro
Came across this 

 
item on the Freedom to Tinker website, where they describe a Jupyter 
notebook they have created to analyze data collected by their open-source 
privacy-measurement tool OpenWPM.

They run their own notebook server for now (which you have to apply to get 
access to), but the data sets are public, and they say they will release 
the notebook source soon so you can run your own.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/7f13f4c0-ddda-44a0-8fba-2446734807b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] interact with command-line tools from the notebook

2017-06-09 Thread Lawrence D’Oliveiro
On Wednesday, May 17, 2017 at 3:50:33 AM UTC+12, takowl wrote:
>
> There's nothing automatic, because we can't tell when a process is waiting 
> for input.
>

Isn’t that what select  is 
for? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/9efc37c3-6a10-41cf-bd85-25422aebcd2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] interact with command-line tools from the notebook

2017-06-12 Thread Lawrence D’Oliveiro
On Monday, June 12, 2017 at 11:27:08 PM UTC+12, takowl wrote:
>
> On 10 June 2017 at 00:12, Lawrence D’Oliveiro <lawren...@gmail.com 
> > wrote:
>
>> Isn’t that what select <https://docs.python.org/3/library/select.html> 
>> is for? 
>
>
> select() will tell you whether there's space in a buffer to write to for a 
> given fd. But you can write to the master side of a pty regardless of what 
> the process in it is doing ...
>

Ah. I knew there was a good reason why command-line tools should be able to 
operate without having to do interactive I/O ... 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d4d671fa-9028-4ba4-9781-1e958a429032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: [ANN] The Continued Existence of the Emacs IPython Notebook

2017-06-09 Thread Lawrence D’Oliveiro
On Thursday, February 16, 2017 at 1:40:14 PM UTC+13, John Miller wrote:
>
> Eventually I managed to convince github and MELPA to treat my repository 
> as the official version of ein. There was some short-lived talk of renaming 
> my fork to 'zwei' ...
>

Where have we heard those puns before 
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/222ee075-7ad4-415c-a69e-343392e3f188%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Audio from remote Jupyter setup

2017-06-11 Thread Lawrence D’Oliveiro
On Friday, June 9, 2017 at 8:14:29 AM UTC+12, Iztok Jeras wrote:
>
> I would like to have audio support in a browser while accessing Jupyter on 
> another computer.
>

This is quite easy:

from IPython.display import Audio

Audio(url="http://www.nch.com.au/acm/8k16bitpcm.wav;)

(example taken from 
.)

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/9a2d9242-4ac9-47ac-947b-3a135348ca75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: newbie: is there an easy way to scope variables to a cell?

2017-06-11 Thread Lawrence D’Oliveiro
On Thursday, June 8, 2017 at 10:07:44 AM UTC+12, Andy Davidson wrote:
>
> What I have noticed is that in a given cell I typically define a function 
> and some additional test code. Often the test code defines some variables. 
> The bug tends to be latter I define a new function f2() that accidentally 
> picks up one of the test variables I previously defined for f1(). So I 
> incorrectly think f2() works.
>

That’s not a bug, that’s a feature. I find a good way to ensure that a 
notebook makes sense without any accumulated unwanted context is to use the 
“Kernel → Restart & Clear Output” option, followed by “Cell → Run All”.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b1786c46-db01-4420-866f-712a17fc477c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Opening Jupyter Notebook via Terminal--Linux Mint 18.1

2017-06-11 Thread Lawrence D’Oliveiro
On Sunday, June 4, 2017 at 10:19:28 AM UTC+12, Taner Kiral wrote:

According to this 
> 
>  
> link, this has something to do with the ownership of a library ending in 
> /Library/Jupyter (it's not in my home folder and I haven't found a /Library 
> folder).
>

That Link is talking about Mac things, which are not applicable to Linux. 
The “/run/user” thing is characteristic of a Linux system that uses 
systemd. Try takowl’s advice.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/65d080ed-c37c-4ebf-8687-bf323ff632cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: nbdime does not exit with Ctrl-C on Windows

2017-11-30 Thread Lawrence D’Oliveiro
On Tuesday, November 28, 2017 at 8:42:40 AM UTC+13, Denis Akhiyarov wrote:
>
> Any reason why nbdime cannot exit with Ctrl-C if launched in interactive 
> web mode?
>

Perhaps because CTRL/C means Copy in Windows? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/33caa3b5-da74-4296-acc4-4ba0af2ba198%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Moving Terminado into Jupyter maintenance

2017-11-30 Thread Lawrence D’Oliveiro
On Tuesday, November 21, 2017 at 2:50:42 AM UTC+13, takowl wrote:
>
> It would certainly be nice to provide terminals on Windows as well ...
>

But Microsoft has added a Linux layer to Windows. Won’t this make the issue 
moot? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/75a88f36-ceba-4417-bfdd-e58686168a9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: How to resolve the port conflict for Jupyter Notebook and Hue? Thanks.

2017-12-02 Thread Lawrence D’Oliveiro
On Saturday, December 2, 2017 at 3:44:07 PM UTC+13, Pasle Choix wrote:
>
> ./jupyter notebook --*port 8880*
>

Here’s the kind of shell script I use:

#!/bin/bash
PREFIX=~/virtualenv/jupyter
exec $PREFIX/bin/jupyter-notebook --NotebookApp.port=8889 --no-browser
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/606591f0-6917-4578-bca3-b162cc5c77d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Unable to Update jupyter via PIP on Mac

2017-12-15 Thread Lawrence D’Oliveiro
On Saturday, December 16, 2017 at 8:15:10 AM UTC+13, Matthias Bussonnier 
wrote:
>
>
> I even think this is due to apple System Integrity Protection[1], this 
> makes part of the macOS  filesytem read-only because you should really, 
> really, really not change these files/directories. One of the reasons to 
> SIP introduction was abuse of sudo to install software. As an example 
> changing System/Library/Frameworks/Python.framework/Versions/2.7/share is 
> likely to make your mac unbootable either now, or at next system update. 
> SIP cannot be disabled (IIRC) without rebooting your mac in single user 
> mode. 
>
> Doesn’t macOS have the concept of /usr/local? I thought that was a 
standard Unix thing.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/c6454a4a-30cf-4269-be3e-d4b36ae0d69f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Where can I find materials for how to use IPython api

2017-12-19 Thread Lawrence D’Oliveiro
On Wednesday, December 20, 2017 at 12:51:28 AM UTC+13, Jeff Zhang wrote:
>
>
> I'd like to embed IPython in my project, so I would use the internal api 
> of IPython. The only thing I can find for now is this link 
> https://ipython.readthedocs.io/en/stable/
> But what other materials that I can find for using IPython api.
>
 

>  Ones I have also found useful:

   - Rich output examples 
   

   - ipywidgets API ref 

 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/f8cc9558-8d84-4dc9-a46c-082963dac0d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: How does jupyter show dataframe as html table ?

2017-12-19 Thread Lawrence D’Oliveiro
On Wednesday, December 20, 2017 at 3:13:55 PM UTC+13, Jeff Zhang wrote:
>
> Just wondering how does jupyter do that ?
>

Python code can format text output as HTML or Markdown, and can also output 
arbitrary PNG graphics and audio.

Examples here 
,
 
API docs here 

.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/17c429dc-153c-4e30-b4d4-d9b446fefb61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Per Cell Kernels

2017-11-21 Thread Lawrence D’Oliveiro
On Monday, November 13, 2017 at 7:14:36 PM UTC+13, Joshua Marshall Moore 
wrote:
>
> Hey wouldn't it be great if the kernels could work on a cell level, so 
> that different installed kernels can run in the same notebook, say bash, 
> python, and javascript. 
>

Or you could add those functions via cell magics. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d9a14f59-fc37-41d2-9b67-02a6b568e48f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Magic to embed maps in notebooks

2017-12-10 Thread Lawrence D’Oliveiro
On Monday, December 11, 2017 at 7:19:28 AM UTC+13, Tony Hirst wrote:
>
> Whilst trying to show folk how easy it was to embed interactive maps in 
> notebooks using things like folium, I kept getting the response that it 
> still required code familiarity which would be a blocker to some. So I 
> wondered whether magic might be a way to try to simplify it.
>
> Example magic here: https://github.com/psychemedia/ipython_magic_folium
>
>
Cool. Can you have other stuff in the same cell? E.g.

... stuff before ...
%folium ...
   ... stuff after ...

If not, let me suggest making it a cell magic rather than a line magic. 
Then you can also use the rest of the cell contents for purposes such as 
adding overlays.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/03b11eef-db61-4ac4-b2f2-8edd6c860bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Protected Jupyter Notebooks

2018-01-04 Thread Lawrence D’Oliveiro
On Friday, January 5, 2018 at 6:14:54 AM UTC+13, insearcho...@gmail.com 
wrote:
>
> I'd like to create a Jupyter version of a textbook I am working on and 
> need to consider piracy of the content.
>
> Isn’t that what copyright is for?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/0fb58e20-7b58-4eed-9762-ff49a876ee3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Protected Jupyter Notebooks

2018-01-06 Thread Lawrence D’Oliveiro
On Sunday, January 7, 2018 at 6:41:02 AM UTC+13, insearcho...@gmail.com 
wrote:
>
>
> On Thursday, 4 January 2018 19:07:13 UTC-5, Lawrence D’Oliveiro wrote:
>
 
>
On Friday, January 5, 2018 at 6:14:54 AM UTC+13, insearcho...@gmail.com 
>> wrote:
>>
>  
>>>
>> I'd like to create a Jupyter version of a textbook I am working on and 
>>> need to consider piracy of the content.
>>>
>>> Isn’t that what copyright is for?
>>
>  
>
:-) Yes, but as an author whose content is extensively pirated worldwide, I 
> know that copyright unfortunately does not mean anything to a many people.
>

If law doesn’t help, technical measures aren’t going to matter either.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/1cc6c804-1346-485b-843d-96bdf011b776%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Online converter notebook->html

2018-01-18 Thread Lawrence D’Oliveiro
On Wednesday, January 17, 2018 at 11:38:38 AM UTC+13, Angel Marchev, Jr. 
wrote:

>
>> ...my saved notebook ... is converted to standard html form ...
>

Isn’t that what happens when viewing it in the browser? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/63f3c15a-5d3f-4d60-a2dd-fe388d26d8ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] bug with logout?

2018-01-19 Thread Lawrence D’Oliveiro
On Saturday, January 20, 2018 at 4:59:06 AM UTC+13, Tim Harsch wrote:

>
> ... we need to configure our app to have a persistent store of invalidated 
> tokens to ensure they can't be re-used after logout.
>

Surely it’s the other way round, the usual practice being to maintain a 
store of *valid* tokens, with a finite lifetime attached to each (perhaps 
reset when they get presented again). The tokens get deleted either on 
explicit logout or implicitly on lifetime expiry. Anything that isn’t 
currently recognized from the store entries is invalid.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e41a1fa2-afe8-4f24-91f1-75a694e501e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] bug with logout?

2018-01-22 Thread Lawrence D’Oliveiro
On Monday, January 22, 2018 at 9:07:20 PM UTC+13, Roland Weber wrote:

>
> On Saturday, January 20, 2018 at 12:08:16 AM UTC+1, Lawrence D’Oliveiro 
> wrote:
>
 
>
Surely it’s the other way round, the usual practice being to maintain a 
>> store of *valid* tokens, with a finite lifetime attached to each 
>> (perhaps reset when they get presented again). The tokens get deleted 
>> either on explicit logout or implicitly on lifetime expiry. Anything that 
>> isn’t currently recognized from the store entries is invalid.
>>
>
> Nope, that would require a central store of tokens.
>

Which you have to have somewhere anyway.
 

> In single sign-on environments, or with more complex authentication 
> schemes like OAuth, web servers have to accept tokens that were issued 
> elsewhere. They don't know about a token until it is presented to them.
>

Don’t they have to check back with the issuing server(s) to validate those 
tokens anyway? Then if they pass, keep them in a local cache for some 
reasonable time, either until their expiry (if that’s not too long) or 
until they need to be rechecked for validity. Either way, you do *not* want 
to maintain an ever-growing store of *invalid* tokens, only a limited and 
regularly-pruned store of *valid* ones.

This is all just basic security stuff.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/c8921e7d-e9cc-4c52-8900-434d55a38406%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Feature or a bug - when editing existing text, sometimes replace the next character

2018-02-02 Thread Lawrence D’Oliveiro
On Saturday, February 3, 2018 at 12:18:28 PM UTC+13, Xtian Simon wrote:

>
> If you've used the text editor VIM, then you know the Replace mode.
>

I’ve used the text editor Emacs, and I know the Replace mode.
 

> How do you toggle regular editing and this Replace behavior?
>

That’s usually what the INS key is for. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/84b10340-9681-4933-a7dc-1d469d64990d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Android Native FrontEnd for Jupyter Notebook

2018-02-10 Thread Lawrence D’Oliveiro
On Thursday, February 8, 2018 at 6:32:39 AM UTC+13, takowl wrote:
>
>
> BTW, we're not keen on people combining the Jupyter logo with other 
> elements.
>

Do we need a community-developed logo motif, freely usable by related 
projects, that the Jupyter project does not own? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/c906e0e7-a748-45dd-9f07-f342a1572eae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: environment variables in terminal

2017-12-26 Thread Lawrence D’Oliveiro
On Wednesday, December 27, 2017 at 9:44:28 AM UTC+13, Gideon Simpson wrote:
>
> ... when I open one of these web based terminals, it does not appear to 
> source my .profile which sets an LD_LIBRARY_PATH variable needed for some 
> libraries.
>

>From the docs 
:

When Bash is invoked as an interactive login shell ... it looks for ... 
~/.profile ...

When an interactive shell that is not a login shell is started, Bash reads 
and executes commands from ~/.bashrc, if that file exists.

So this is expected behaviour for a non-login shell.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a8839d5e-81e9-44f0-bb61-5dcdaea1ad43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: how to test for running server?

2017-12-20 Thread Lawrence D’Oliveiro
On Wednesday, December 20, 2017 at 11:44:35 AM UTC+13, Tim Harsch wrote:
>
> I see with JupyterHub API you can POST or DELETE to  /users/{name}/server 
> but there doesn't seem to be a GET.  If that's true is there another way I 
> can test for a running server other than POST or DELETE which have their 
> side effects?..
>

Whether POST and GET have “side” effects or not is entirely up to how the 
server interprets the request. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b9756ee0-5c2e-48bb-af01-7db3316c3397%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] More on DNS rebinding

2018-01-18 Thread Lawrence D’Oliveiro
On Wednesday, January 17, 2018 at 4:44:38 AM UTC+13, Matthias Bussonnier 
wrote:

>
> ... and a flag to disable it with a big warning ...
>

I think a simple name like “enable DNS insecure mode” would do the trick. I 
don’t think big warnings are very useful: people just ignore them. But use 
a trigger word like “insecure”, and that should make them think twice. By 
all means link to a more detailed explanation elsewhere. But for those who 
can’t be bothered to read further, it should at least make them nervous.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/28c1afcc-5350-4f98-86bf-531462f93d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Binder Lets Me Upload Custom Modules!?

2018-03-11 Thread Lawrence D’Oliveiro
On Saturday, March 10, 2018 at 10:21:16 PM UTC+13, Matthias Geier wrote:
>
> But your notebook examples still don't work, you'll have to specify the 
> additional requirements as described in 
> http://mybinder.readthedocs.io/en/latest/using.html.
>
> Thanks for that info. I assume that my uploading the module was only 
working for that particular instance. Then I found I couldn’t delete it, 
though I could replace it with a newer version.

Is there a way to delete repos off mybinder.org? 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/5c11d2fb-070d-4a20-b5d6-90c780eba153%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Binder Lets Me Upload Custom Modules!?

2018-03-09 Thread Lawrence D’Oliveiro
Hey, I’m impressed. Just for fun, I thought I would put my Qahirah Notebooks 
 on mybinder.org. Initially they 
couldn’t find qahirah.py, of course, but once I had uploaded that 
, they seemed to work. And here they are 
.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d829f7a0-5fdc-40a5-b724-7a5519023343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter Lab and ISO 8601

2018-02-26 Thread Lawrence D’Oliveiro
On Saturday, February 24, 2018 at 5:55:20 PM UTC+13, ellisonbg wrote:
>
> Not sure how I feel about showing users ISO 8601 formatted datetimes 
> though. 
>
It is not a particularly human friendly datetime format.
>

It’s standard in Japan. And it *is* an international standard, after all. 
Besides which, it makes logical sense.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/7b6891d3-7886-4796-bced-eaf014f69213%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.