These are chat archives for ipython/ipython

29th
Apr 2016
Ezumezu Anselm
@aezumezu
Apr 29 2016 04:05
Hi, is there a way to return a page based on the link clicked in flask
for example, i have about 5 links to different pages but one route. How do i change the content based on which link was clicked
?
All 5 links inherit from the same base
bytesemantics
@bytesemantics
Apr 29 2016 06:33
Does anyone know if Jupyter/ipywidgets are HTML5 compliant ? I ask because my users have reported widget issues with cut/paste via mouse not firing on_change events. Having dug around, I could use oninput if HTML5 compliant ? Thanks in advance for any help here.
My users have also reportes issues with on_change events not firing in SelectMultiple ipywidget after the first fire. This may be an internal app state problem on my side but mentioning it in case others have similar experience whilst I debug it.
Dave Willmer
@dwillmer
Apr 29 2016 13:19
@jasongrout - let me know when you're free for a chat about the message hook stuff.
Jason Grout
@jasongrout
Apr 29 2016 14:35
@dwillmer - is now good?
Jason Grout
@jasongrout
Apr 29 2016 14:45
@dwillmer, I'm open, so let me know when you are available.
Steven Silvester
@blink1073
Apr 29 2016 14:45
I just pinged him, he was getting coffee
Jason Grout
@jasongrout
Apr 29 2016 14:46
I was about to ask someone to ping him, since you have better connections to him :)
Steven Silvester
@blink1073
Apr 29 2016 14:46
says 10-15 more minutes
Jason Grout
@jasongrout
Apr 29 2016 14:46
by the way, I realized that sessions have a longer lifespan than models
Steven Silvester
@blink1073
Apr 29 2016 14:46
yes, true
Jason Grout
@jasongrout
Apr 29 2016 14:46
since sessions are stored server-side
so should we be able to create a model without a session?
Steven Silvester
@blink1073
Apr 29 2016 14:47
unless you kill the session
which is what you are prompted to do when closing
Jason Grout
@jasongrout
Apr 29 2016 14:47
but if you have two widgets open, you don't want to kill the session on the first
Steven Silvester
@blink1073
Apr 29 2016 14:47
right
so there can be at most one session per model, but sessions can exist outside of models and can be shared
Jason Grout
@jasongrout
Apr 29 2016 14:49
sessions can be shared between models?
Steven Silvester
@blink1073
Apr 29 2016 14:49
yes
Jason Grout
@jasongrout
Apr 29 2016 14:49
Or perhaps we should only have one model per filename, so you only have one model per session too.
Steven Silvester
@blink1073
Apr 29 2016 14:50
you may not necessarily have the same type of model for a given notebook document
the document is what is mapped to a session
Jason Grout
@jasongrout
Apr 29 2016 14:51
document = filename for our intents
Steven Silvester
@blink1073
Apr 29 2016 14:51
yes
Jason Grout
@jasongrout
Apr 29 2016 14:51
so if you have competing models, each can be saved to the file?
Compare to: a single model per document, a single source of truth of what is in the document
when would you want to have multiple models per document?
Steven Silvester
@blink1073
Apr 29 2016 14:53
if we consider the model to be tied to the document, then that model should be limited to interacting with the document itself
anything added on top of it would be implementation specific
things like mode and selection
Dave Willmer
@dwillmer
Apr 29 2016 15:18
@jasongrout - back - you free now?
Jason Grout
@jasongrout
Apr 29 2016 15:22
yep
appear.in/jupyter?
Dave Willmer
@dwillmer
Apr 29 2016 15:23
yep, just grabbing chris.
Steven Silvester
@blink1073
Apr 29 2016 16:15
@jasongrout, follow on meeting on appear.in/jupyter?
Jason Grout
@jasongrout
Apr 29 2016 16:26
Sure.
@blink1073
Steven Silvester
@blink1073
Apr 29 2016 16:27
k, one minute