[IPython-dev] Feasilibity of widgets/layout for mimicking this

hugadams hughesadam87 at gmail.com
Mon Sep 15 14:42:19 EDT 2014


Hi Nicholas,

I wanted to followup and ask if you had furthered this work anymore, or
come up with some complete examples of its implementation that you could
perhaps share with us?  We are at the point where we're going to delve into
this in earnest and really want to use your framework.  If you have any
complete example notebooks developed with these tools, would it be possible
to share?

Thanks

On Wed, Aug 27, 2014 at 10:52 PM, Nicholas Bollweg [via Python] <
ml-node+s6n5069446h88 at n6.nabble.com> wrote:

> I was suggesting (with the naming) that e would be updated by a changing,
> but I agree, it's confusing.
>
> I tried something more complicated with kwargs, but it ended up being a
> whole second implementation of the thing that Wire does, which seemed like
> too much, but would look like this (which I think is somewhat more
> readable):
>
> @wire(wire.e.value, a=wire.a.value)def thrice(a):
>     return a * 3
>
>
> I've updated to use that, as well as an example of the dictionary-based
> assignment it is using. I welcome any other suggestions: the decorator
> syntax is somewhat limiting, which is probably good as this is already
> really evil :)
>
> On Wed, Aug 27, 2014 at 7:47 PM, hugadams <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5069446&i=0>> wrote:
>
>> These are def cool.  Can you keep me updated if you add more to this?
>>  I'd like to steal it (with credit) for our widgets.
>>
>> One question about the decorator:
>>
>> @wire(wire.e.value, wire.a.value)def thrice(a):
>>     return a * 3
>>
>>
>> Does this mean that anytime the "e" widget value is changed, the "a"
>> widget value will be multiplied by 3?  Or am I not understanding what is
>> happening here?
>>
>> On Wed, Aug 27, 2014 at 6:24 PM, Nicholas Bollweg [via Python] <[hidden
>> email] <http://user/SendEmail.jtp?type=node&node=5069424&i=0>> wrote:
>>
>>> Adam:
>>> It's really no problem... this is exactly the way we want to be building
>>> engineering tools at work, so it's been beneficial to have a more-defined
>>> problem than "make interactive dashboards better/faster/stronger".
>>>
>>> I really dug into the 3.0 notebook over the weekend, and do find it a
>>> bit nicer.
>>>
>>> Also, your decorator made me want some similar stuff, so I hacked
>>> together these two classes:
>>>
>>> http://nbviewer.ipython.org/gist/bollwyvl/8001ed62c6868301c26e
>>>>
>>>
>>> again, no widget actually show up, but I think one gets the idea.
>>>
>>> it does provide a decorator (I'm not happy with it yet) as well as
>>> overloaded assignment and transformed values. I hope this might be useful!
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5069419&i=0>
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>> ------------------------------
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://python.6.x6.nabble.com/Feasilibity-of-widgets-layout-for-mimicking-this-tp5068197p5069419.html
>>>  To unsubscribe from Feasilibity of widgets/layout for mimicking this, click
>>> here.
>>> NAML
>>> <http://python.6.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>> ------------------------------
>> View this message in context: Re: Feasilibity of widgets/layout for
>> mimicking this
>> <http://python.6.x6.nabble.com/Feasilibity-of-widgets-layout-for-mimicking-this-tp5068197p5069424.html>
>> Sent from the IPython - Development mailing list archive
>> <http://python.6.x6.nabble.com/IPython-Development-f1646922.html> at
>> Nabble.com.
>>
>> _______________________________________________
>> IPython-dev mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5069446&i=1>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5069446&i=2>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://python.6.x6.nabble.com/Feasilibity-of-widgets-layout-for-mimicking-this-tp5068197p5069446.html
>  To unsubscribe from Feasilibity of widgets/layout for mimicking this, click
> here
> <http://python.6.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5068197&code=aHVnaGVzYWRhbTg3QGdtYWlsLmNvbXw1MDY4MTk3fC03NjYyMTgyMzk=>
> .
> NAML
> <http://python.6.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://python.6.x6.nabble.com/Feasilibity-of-widgets-layout-for-mimicking-this-tp5068197p5071629.html
Sent from the IPython - Development mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140915/c58f492d/attachment.html>


More information about the IPython-dev mailing list