On Wednesday, March 30, 2022 at 2:48:15 PM UTC-4 Marc Culler wrote:
> This issue is resolved in the current release of the SageMath 9.5 macOS
> app.
>
> - Marc
>
>>
>> Awesome.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe
This issue is resolved in the current release of the SageMath 9.5 macOS app.
- Marc
On Wed, Mar 30, 2022 at 1:39 PM kcrisman wrote:
> Just to follow up, did this issue get resolved satisfactorily in the 9.6
> release cycle? The last emails leave this unclear.
>
> --
> You received this message
Just to follow up, did this issue get resolved satisfactorily in the 9.6
release cycle? The last emails leave this unclear.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
They look like two unrelated problems. In SageMath 9.5 there is a path
problem which prevents the widgets nbextension.js file from being located
by the Tornado server in some situations. (That is fixed in the current
release of the macOS app by creating a symlink at the path that the Tornado
serv
Interact is broken for SageMath 9.5, it works in 9.4 so I don't understand
the pull request.
On Wednesday, February 9, 2022 at 10:01:01 AM UTC slelievre wrote:
> Pull request to fix Sage interacts on the CoCalc side:
>
> - https://github.com/sagemathinc/cocalc/pull/5721
>
--
You received this
Pull request to fix Sage interacts on the CoCalc side:
- https://github.com/sagemathinc/cocalc/pull/5721
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-su
It certainly does. But that ticket is from 2017. (???)
- Marc
On Thursday, February 3, 2022 at 12:47:35 AM UTC-6 Matthias Koeppe wrote:
> This looks like https://github.com/jupyter-widgets/ipywidgets/issues/1702
>
> On Wednesday, February 2, 2022 at 8:33:18 PM UTC-8 Marc Culler wrote:
>
>> Tha
This looks like https://github.com/jupyter-widgets/ipywidgets/issues/1702
On Wednesday, February 2, 2022 at 8:33:18 PM UTC-8 Marc Culler wrote:
> That sounds very mysterious. How can it create widgets if it cannot load
> the javascript file that implements the widgets? Maybe the client finds
That sounds very mysterious. How can it create widgets if it cannot load
the javascript file that implements the widgets? Maybe the client finds
the javascript file in some other path such as usr/local/jupyter and uses
that file instead. Of course a self-contained app cannot rely on anything
On my machine, macOS with Sage 9.5 compiled from source, I see the 404s
too, but the widget from the notebook work anyway.
On Wednesday, February 2, 2022 at 10:03:16 AM UTC-8 Marc Culler wrote:
> I figured it out.
>
> * The root directory for the Tornado web application is
> sage/venv/share/j
I figured it out.
* The root directory for the Tornado web application is
sage/venv/share/jupyter (determined by trial and error).
* The path component in the url that the jupyter client uses to load the
widget extension is
/nbextensions/widgets/notebook/js/extension.js
* There is no directo
Never mind. I must have accidentally tested with 9.4. Tornado is still
returning a 404 when the notebook tries to load
/nbextensions/widgets/notebook/js/extension.js.
On Wednesday, February 2, 2022 at 9:36:10 AM UTC-6 Marc Culler wrote:
> What I said above appears not to be correct. It looks
What I said above appears not to be correct. It looks like enabling the
widgets extension with the instructions in the user_install page did work.
I am now getting a widget with Sage 9.5. More testing is needed, but it
looks promising.
- Marc
On Tuesday, February 1, 2022 at 9:21:23 PM UTC-6
No. I was referring to
https://ipywidgets.readthedocs.io/en/latest/user_install.html which was
Samuel's [more details here] link.
Incidentally, following those instructions did result in a log message
indicating that the widgets had been enabled in Jupyter. But there was no
change in the behavio
Well, OK. Maybe so.
But I've never seen a venv that resulted in a path like
sage/local/var/lib/sage/venv-python3.9.9/var/lib/sage/.
- Marc
On Tue, Feb 1, 2022 at 6:16 PM Matthias Koeppe
wrote:
> On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote:
>
>> Of course Sage's venv is
On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote:
> Of course Sage's venv is not a true virtualenv as created by venv,
>
It is actually a true venv, unless no system python can be used and Sage
builds its own copy of python3.
--
You received this message because you are s
Marc, are you referring to these instructions?
https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation
On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote:
> So is Sage followin
So is Sage following those instructions during its build process? The docs
do not say what those jupyter commands actually do. They have separate
instructions for enabling the widgets when using a virtualenv. Of course
Sage's venv is not a true virtualenv as created by venv, so it is hard to
At some level the problem is that the Tornado web application used by
Jupyter is returning a 404 when the client tries
to load:
http://localhost:/nbextensions/widgets/notebook/js/extension.js?v=20220201102631
I have no clue how the Tornado web application tries to translate that URL
into a
2022-02-01 15:13:27 UTC, Marc Culler:
>
> Thanks. And I can reproduce this. I see the error shown below
> in the Firefox Console. (I include it here in case anyone might
> recognize it).
There's an FAQ entry here
https://github.com/Wuliyuanulb/ComponentSDKDoc/blob/bfe53cf2162f62134356b58d7eae07e
Thanks. And I can reproduce this. I see the error shown below in the
Firefox Console. (I include it
here in case anyone might recognize it).
- Marc
Could not open comm -- Error: Class jupyter.widget not found in registry
utils.js:930
load_class
I have run the Recommended_9_5.pkg file.
On Monday, January 31, 2022 at 5:51:38 PM UTC Marc Culler wrote:
> It sounds to me like you do not have the SageMath 9.5 Jupyter kernel
> installed in /usr/local. That gets installed when you run the Installer
> package that is included on the disk imag
It sounds to me like you do not have the SageMath 9.5 Jupyter kernel
installed in /usr/local. That gets installed when you run the Installer
package that is included on the disk image. Did you perhaps forget to run
that installer after dragging the app to /Applications?
- Marc
On Monday, Jan
I have downloaded both the SageMath 9.5 beta and 9.4 SageMath releases from
git. I do not get widgets should I start the 9.4 or 9.5 kernel using the
9.5 interface, but I do when I use the 9.4 interface.
On Monday, January 31, 2022 at 12:45:31 PM UTC dim...@gmail.com wrote:
> On Mon, Jan 31, 202
On Mon, Jan 31, 2022 at 3:59 AM 'Alan Stafford' via sage-support
wrote:
>
> I have found that it doesn't work if I launch from the SageMath 9.5 icon for
> any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it works
> for either kernel.
I am not sure I follow here. How do you ins
I have found that it doesn't work if I launch from the SageMath 9.5 icon
for any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it
works for either kernel.
>>
>>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe
Exactly the same using Google Chrome.
On Saturday, January 29, 2022 at 8:09:36 PM UTC dim...@gmail.com wrote:
> On Sat, Jan 29, 2022 at 8:05 PM 'Alan Stafford' via sage-support
> wrote:
> >
> > I only used Safari. Safari supports widgets at Cocalc so I can't think
> that it won't support them s
On Sat, Jan 29, 2022 at 8:05 PM 'Alan Stafford' via sage-support
wrote:
>
> I only used Safari. Safari supports widgets at Cocalc so I can't think that
> it won't support them should I run it locally. Interact has worked on
> previous versions of SageMath. I am hoping the Mac support team will l
On Sat, Jan 29, 2022 at 6:28 PM kcrisman wrote:
>
> Just for data points, which browsers did you try on this? Thanks for
> reporting.
for what's worth, the interact works on Linux with Firefox.
>
> On Friday, January 28, 2022 at 1:02:57 PM UTC-5 alan_thoma...@yahoo.co.uk
> wrote:
>>
>> Intera
Just for data points, which browsers did you try on this? Thanks for
reporting.
On Friday, January 28, 2022 at 1:02:57 PM UTC-5 alan_thoma...@yahoo.co.uk
wrote:
> Interact just calls the function but no Interact widgets appear.
>
> Example attached. It works at Cocalc.
>
--
You received this
This does (still) work in Sage cell, and probably in sagenb (?).
https://sagecell.sagemath.org/?z=eJxzyMwrSS1KTC7h5UpJTVNI03BUsFXITSwpyqzQiI421DGM1YnWBVGxmppWvFwKQFBQBNSj4aiJzCupLEgFCmkCAJITFfI=&lang=sage&interacts=eJyLjgUAARUAuQ==
--
You received this message because you are subscribed to the G
Thanks! I see Jereon also created https://trac.sagemath.org/ticket/27735
On Saturday, April 27, 2019 at 1:31:51 AM UTC-7, Kwankyu wrote:
>
> This gets a grid input in Jupyter. Is this close to what you want?
>
> @interact
> def _(A=input_grid(2,2, default=[[1,2],[3,4]])):
> A = matrix(A)
>
This gets a grid input in Jupyter. Is this close to what you want?
@interact
def _(A=input_grid(2,2, default=[[1,2],[3,4]])):
A = matrix(A)
print(A)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop
>> I actually prefer the standard notebook because of its menus and
buttons.
> >> My main problem is that my @interact examples that worked in Sage 6.XX
> (and
> >> even the examples in the current SageMath documentation) no longer
> work in
>
They don't work in sagenb at all in 7.4? Tha
On Sunday, October 23, 2016 at 1:03:13 PM UTC-4, ahaus...@umassd.edu wrote:
>
> Hi the @interact command no longer seems to be working in Sage 7.3 and
> Sage 7.4 on an Mac Book Pro running El Capitan:
>
> Here is the contents I entered in an "Jupyter" notebook cell which I
> copied from a Sage
>
>
>
> However, I still have the following questions:
>
> 1. How do you set SageMath 7.4 App so that it automatically starts up the
> Jupyter notebook?
>
I don't think this is yet possible. Not sure about the menu bar.
>
> Even after renaming .sage, SageMath 7.4 App still opens using
On Wednesday, October 26, 2016 at 6:58:39 PM UTC-4, Jeroen Demeyer wrote:
>
> On 2016-10-27 00:02, kcrisman wrote:
> > That said, there are still some incompatibilities in interact syntax,
> > the last I heard (Jason Grout said the jupyter people were working
> > actively no that, though).
>
On Sunday, October 23, 2016 at 1:03:13 PM UTC-4, ahaus...@umassd.edu wrote:
>
> Hi the @interact command no longer seems to be working in Sage 7.3 and
> Sage 7.4 on an Mac Book Pro running El Capitan:
>
> Here is the contents I entered in an "Jupyter" notebook cell which I
> copied from a Sage
On 2016-10-27 00:02, kcrisman wrote:
That said, there are still some incompatibilities in interact syntax,
the last I heard (Jason Grout said the jupyter people were working
actively no that, though).
In interact *syntax* or interact *functionality*? Of course, the
interact functionality is qu
On Monday, October 24, 2016 at 6:49:11 AM UTC-4, vdelecroix wrote:
>
> I think that they are stored in
>
> .sage/sage_notebook.sagenb/
>
> And thanks to Volker we have a converter in the last Sage releases
>
> https://trac.sagemath.org/ticket/19877
>
>
That said, there are still some incompat
I think that they are stored in
.sage/sage_notebook.sagenb/
And thanks to Volker we have a converter in the last Sage releases
https://trac.sagemath.org/ticket/19877
Vincent
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from
On Sunday, October 23, 2016 at 1:03:13 PM UTC-4, ahaus...@umassd.edu wrote:
>
> Hi the @interact command no longer seems to be working in Sage 7.3 and
> Sage 7.4 on an Mac Book Pro running El Capitan:
>
> Here is the contents I entered in an "Jupyter" notebook cell which I
> copied from a Sage
Your snapshot shows the "Sage notebook" and not the "Jupyter
notebook". I confirm that with sage-7.5 your code
* when executed in the Jupyter notebook (started with "sage
--notebook=jupyter") works fine
* when executed in the Sage notebook (started with "sage
--notebook=sagenb") ends with the s
On Sunday, October 23, 2016 at 1:03:13 PM UTC-4, ahaus...@umassd.edu wrote:
>
> Hi the @interact command no longer seems to be working in Sage 7.3 and
> Sage 7.4 on an Mac Book Pro running El Capitan:
>
> Here is the contents I entered in an "Jupyter" notebook cell which I
> copied from a Sage
On 7/26/12 3:45 AM, Aled Crow wrote:
After coming across the following Interact within an Interact example
(http://interact.sagemath.org/node/15) created byIra Hanson, I wanted to
know whether it is technically possible to create an interact within an
interact for my code below.
Yes, though rig
On Jan 28, 6:26 pm, Jason Grout wrote:
> I should note that the sliders on aleph.sagenb.org allow you to click on
> the value and change the number manually, rather than moving the slider.
This is interesting, Jason, it is a useful features, apart the
constraints. Can I ask if the new framework
On Jan 28, 6:10 pm, Marshall Hampton wrote:
> Sounds like Jason has a good solution for you eventually. There are
> some cruder ways to work around this in the meantime:
>
> 1) Customize the values in the slider so they are all "nice".
> 2) Have a coarse- and fine-tuning slider. The final value
On 1/28/12 11:10 AM, Marshall Hampton wrote:
Sounds like Jason has a good solution for you eventually. There are
some cruder ways to work around this in the meantime:
1) Customize the values in the slider so they are all "nice".
2) Have a coarse- and fine-tuning slider. The final value used co
Sounds like Jason has a good solution for you eventually. There are
some cruder ways to work around this in the meantime:
1) Customize the values in the slider so they are all "nice".
2) Have a coarse- and fine-tuning slider. The final value used could
be the coarse+fine value. The default fine
On Fri, Jan 27, 2012 at 11:29 AM, Socius wrote:
> On 27 Gen, 16:02, Jason Grout wrote:
>
>> In the new interact implementation (not in Sage yet, but used for the
>> Sage Cell server at aleph.sagemath.org), we built the framework for the
>> capability. We haven't actually programmed the constrain
On 27 Gen, 16:02, Jason Grout wrote:
> In the new interact implementation (not in Sage yet, but used for the
> Sage Cell server at aleph.sagemath.org), we built the framework for the
> capability. We haven't actually programmed the constraint part yet, but
> the underlying framework is there, an
On 1/26/12 1:54 PM, Socius wrote:
Hi all.
I am experiment with the @interact command and relative controls. I
would like to know if the Slider control provides some way to
constrain precise movements. For example if I have a slider with a
range 0-10^5, it would be nice to be able to constrain the
I'm always impressed with the speed and helpfulness of responses here.
As it turns out, changing
f = sage_eval(f, locals={'x':x})
to
f(x) = sage_eval(f, locals={'x':x})
did the trick. Thanks very much for your help!
- Graham
On Jan 26, 2:39 pm, kcrisman wrote:
> I can almost 100% guarante
I can almost 100% guarantee this is about the fact that
sage: f=x^2
sage: f(3)
9
is not supposed to work anymore, though currently one gets the
deprecation warning and the answer. Are there places in your interact
you can replace f=x^2 with f(x)=x^2? I've noticed this can be tricky
to do if on
On 1/26/11 11:52 AM, Graham Enos wrote:
Hi everybody,
I wrote up a notebook worksheet to use in my Integral Calculus class
that makes use of the @interact decorator. Whenever Ioad the worksheet
for the first time, I get a deprecation warning regarding line 2558 of
interact.py about deprecated fu
On 5/18/10 3:44 AM, ma...@mendelu.cz wrote:
Great, many thanks, I should read the manual pager more carefully,
since this is documented.
I observed that using auto_update=False removes the output. Is it
possible to keep the old output on the screen when changing numbers in
input fields and updat
Great, many thanks, I should read the manual pager more carefully,
since this is documented.
I observed that using auto_update=False removes the output. Is it
possible to keep the old output on the screen when changing numbers in
input fields and update when Update button is pressed?
Robert
On 1
Indeed, this is exactly what I was looking for !
Thank you very much !
On 7 avr, 21:59, Pablo Angulo wrote:
> Is the following enough for your purposes?
>
> @interact
> def _(M=matrix(ZZ,4,4)):
> ...do something with M...
--
To post to this group, send email to sage-support@googlegroups.co
Is the following enough for your purposes?
@interact
def _(M=matrix(ZZ,4,4)):
...do something with M...
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this
Don't forget arpanet, bitnet, milnet, timenet, usenet
HTH,
A. Jorge Garcia
http://calcpage.tripod.com
Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College
--
To post to this group, send email to sage-support@googlegroups
I first taught programming in 1975 using BASIC on a DEC PDP-1170
minicomputer. We connected to it via a 300 baud modem. This was
before video monitors so we used dumb terminals that printed tons of
paper whenever there was any output!
HTH,
A. Jorge Garcia
http://calcpage.tripod.com
Teacher
calcp...@aol.com wrote:
Ah, those were the days...
of archie, gopher, bitnet, uuencode, etc.
archie bunker!?
gopher? You are way ahead! uucp and family are breaking my heart :)
All that on 300 bps or as we said at the time 300 baud.
Or even 110 baud at the teletype. UNIX version 6, 1976!
Ah, those were the days...
of archie, gopher, bitnet, uuencode, etc.
HTH,
A. Jorge Garcia
http://calcpage.tripod.com
Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College
--
To post to this group, send email to sage-support@
calcp...@aol.com wrote:
Well, the internet does predate the web...
I can confirm. My e-mail addresses at that time looked like:
...!mcvax!coi!jaaps!jaap
...!mcvax!owoc!jaap
Hard to imagine nowadays: you had to know the exact route to the addressee.
jaaps was my machine at home. On a daily
I'm using a blog app attached to my website at tripod.com These blogs
each have different titles but are organized under different topics or
threads. Do I mention SAGE in the titles or do I make a SAGE
topic/threas?
Regards,
A. Jorge Garcia
http://calcpage.tripod.com
Teacher & Professor
Appl
On Jan 25, 3:59 am, Harald Schilly wrote:
> On Jan 25, 12:39 am, gsever wrote:
>
> > It was my pleasure Harald.
>
> ;)
>
> And guess who just made it on that
> page:http://sagemath.org/library-stories.html
Thanks for making me famous :) (Put in my blog as well --
http://pycloud.blogspot.com/
On Jan 25, 12:39 am, gsever wrote:
> It was my pleasure Harald.
>
;)
And guess who just made it on that page:
http://sagemath.org/library-stories.html
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@
On Jan 24, 12:39 pm, Harald Schilly wrote:
> On Jan 24, 6:50 pm, gsever wrote:
>
> > Added as first wiki entry :)
>
> No problem, and i hope it's ok that i pushed you to do it ;)
>
> http://twitter.com/sagemath/status/8158003421
It was my pleasure Harald.
Sage is one of the well designed appr
On Jan 24, 6:50 pm, gsever wrote:
> Added as first wiki entry :)
No problem, and i hope it's ok that i pushed you to do it ;)
http://twitter.com/sagemath/status/8158003421
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-
On Jan 24, 11:14 am, Harald Schilly wrote:
> On Jan 24, 5:06 pm, gsever wrote:
>
> > Thanks this helped. Adding a plt.clf() clear the figure after each
> > plot update.
>
> no problem, and i looked for a .reset or similar, thanks for the .clr
> ()!
> Can you post this somewhere to the wiki.sage
On Jan 24, 5:06 pm, gsever wrote:
> Thanks this helped. Adding a plt.clf() clear the figure after each
> plot update.
no problem, and i looked for a .reset or similar, thanks for the .clr
()!
Can you post this somewhere to the wiki.sagemath.org/interact/graphics
(or a better topic?) as an example
On Jan 24, 5:49 am, Harald Schilly wrote:
> Last line must be plt.savefig('plt.png') and not .show() because you
> are on a website and saved files are shown. When I tried it first, it
> didn't update the image because it was somehow locally cached. On
> second try it worked ...
>
> H
Thanks t
Last line must be plt.savefig('plt.png') and not .show() because you
are on a website and saved files are shown. When I tried it first, it
didn't update the image because it was somehow locally cached. On
second try it worked ...
H
--
To post to this group, send email to sage-support@googlegroup
> P=plot_slope_field(-g,(x,0,3),(y,0,20))
>
> since the slope of the solution is -g, not g.
Yeah, there was a typo of + for -.
- kcrisman
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.co
>
> It looks like you are confusing y-as-a-variable and y-as-a-function an
> awful lot. How about:
Yes, because I was hoping to make it as easy as possible to switch
from the "static" version. Unfortunately, this isn't that :( but it's
probably the best we can do?
- kcrisman
> y = var('y')
>
You probably also want to do something like
P=plot_slope_field(-g,(x,0,3),(y,0,20))
since the slope of the solution is -g, not g.
-Marshall
On Nov 30, 4:37 pm, Jason Grout wrote:
> kcrisman wrote:
> > Dear support,
>
> > I'm giving a talk Wednesday and would like to do the following
> > intera
kcrisman wrote:
> Dear support,
>
> I'm giving a talk Wednesday and would like to do the following
> interact as an example of how easy interacts are:
>
> y = var('y')
> @interact
> def _(g=input_box(default = 1-y)):
> P=plot_slope_field(g,(x,0,3),(y,0,20))
> y = function('y',x)
> f =
Ok, thanks for the answer. I'm in Montevideo, Uruguay. The University
i'm talking about is "Universidad Católica del Uruguay Dámaso Antonio
Larrañaga" (the Catholic University of Uruguay). We use either Sage or
Maxima (whatever the wants to use) as a tool for Calculus 2, still we
get to learn both
Thanks for choosing Sage! You may be interested in letting us know
where you're located etc.
At this point, I do not believe one can make selectors depend on each
other. That said, the feature has been requested before (actually, a
slightly different one), and we are tracking the issue here:
h
Mani chandra wrote:
> Hi,
>
> The following code is not plotting for some reason. The silder comes
> up and when I move it nothing happens.
>
> def exp_ikz_expansion(r, theta, l_max):
> s = 0
> for l in range(l_max):
> s = s + (2*l + 1)*I**l*spherical_bessel_J(l, r)*legendre
Great. Thanks.
On 18 Feb, 13:22, Harald Schilly wrote:
> On Feb 18, 12:18 pm, tomanizer wrote:
>
> > How do we get it in there?
>
> here is a new ticket, you can watch progress
> there:http://trac.sagemath.org/sage_trac/ticket/5305
>
> h
--~--~-~--~~~---~--~~
To
On Feb 18, 12:18 pm, tomanizer wrote:
> How do we get it in there?
>
here is a new ticket, you can watch progress there:
http://trac.sagemath.org/sage_trac/ticket/5305
h
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To
Thanks Wiliam.
There actually is a datepicker in jQuery.
http://docs.jquery.com/UI/Datepicker#overview
How do we get it in there?
Regrads
Thomas
On Feb 17, 10:29 pm, William Stein wrote:
> On Tue, Feb 17, 2009 at 2:24 PM, tomanizer
>
> wrote:
>
> > Hi All,
>
> > Is it possible to get a datep
On Tue, Feb 17, 2009 at 2:24 PM, tomanizer
wrote:
>
> Hi All,
>
> Is it possible to get a datepicker widget in interact?
> Or if there isn't can we create one?
Has anybody ever written a javascript date picker? (Just kiddin';
it's one of the canonical things for people to do...) It would be
gr
Hi Jason (Grout),
I found a very serious bug sort of similar to the one being discussed
in this thread. Namely, if you make an interact like this things go
horribly wrong:
@interact
def f(s=(0,pi,1)):
print s
I've posted a patch here
http://trac.sagemath.org/sage_trac/ticket/5232
Please
> The patch makes it so that u=x^2 works, where it didn't before (it gave
> you that weird string). What changes is that typing u='x^2' now
> literally puts 'x^2' (with the quote marks) in the input box, whereas
> before the patch, only x^2 (without quote marks) would show up in the
> input box.
kcrisman wrote:
> Does this mean that all people writing interacts would have to type
> u='x^2' instead of u=x^2?
>
> Does this mean that all people using interacts would have to type
> 'x^2' instead of x^2?
>
> This sounds like what Marshall says the behavior would be. That
> sounds horrible.
Marshall Hampton wrote:
> I think I disagree with this change in behavior. One (major) point of
> interact is to be very user-friendly. Needing to input functions as
> strings is not user-friendly.
The patch changes the behavior so that you *don't* need to input
strings. From your statement,
Does this mean that all people writing interacts would have to type
u='x^2' instead of u=x^2?
Does this mean that all people using interacts would have to type
'x^2' instead of x^2?
This sounds like what Marshall says the behavior would be. That
sounds horrible.
Shouldn't there be a way to get
I think I disagree with this change in behavior. One (major) point of
interact is to be very user-friendly. Needing to input functions as
strings is not user-friendly.
-Marshall
On Feb 9, 10:26 pm, Jason Grout wrote:
> kcrisman wrote:
> > Dear Support,
>
> > On sagenb.org, try making an inter
kcrisman wrote:
> Dear Support,
>
> On sagenb.org, try making an interact with an input box explicitly
> defined, e.g.
>
> @interact
> def plotfunction(f=input_box(x^2)):
> P=plot(f,0,1)
> show(P)
>
> It works fine in the sense that whatever you type in does what it
> should. But what'
A workaround is:
@interact
def plotfunction(f=input_box('x^2')):
P=plot(sage_eval(f, locals={'x':x}),0,1)
show(P)
In general I've found it safer to use string input and then explicitly
convert it.
Things look fine on 3.2.3, btw, at least on FF3 on linux.
-Marshall
On Feb 9, 5:31 pm, k
I should also point out that this does NOT occur (i.e. all is normal
in the text input box) on our local server, which is 3.0.6.
Could this be related to #4524? Either way, this is now # 5220.
- kcrisman
--~--~-~--~~~---~--~~
To post to this group, send email to
I'm able to reproduce this on sagenb.org on a Mac with FF3.
On Sun, Feb 8, 2009 at 11:00 PM, kcrisman wrote:
>
> Dear Support,
>
> On sagenb.org, try making an interact with an input box explicitly
> defined, e.g.
>
> @interact
> def plotfunction(f=input_box(x^2)):
>P=plot(f,0,1)
>show(P
There is a work-around though: have two controls (say coarse and fine)
and then use the sum of those variables as the actual parameter.
As a stupid example:
@interact
def stest(a = slider(0,3.14,.1,1.5), b = slider(0,.1,.01)):
sum_var = a + b
show(plot(lambda x: sin(x), 0, sum_var), xmin
kcrisman wrote:
> Is it possible to create an @interact setup such that there are two
> ways to specify the same input? That is, perhaps one wants to use the
> slider to get close to a desired input, but then for fine-tuning
> beyond the user's motor skill control (e.g. if there are hundreds of
>
Dear Mr. Palmieri,
Thank you for your suggestion. The minimum height of the cell seems
annoying and unnecessary. It should be easy to fix, and I am working
on it now.
Igor Tolkov
On Jul 22, 2:18 pm, John H Palmieri <[EMAIL PROTECTED]> wrote:
> Suppose I do this in the notebook:
>
> @interact
>
On Jul 9, 8:41 pm, "D. M. Monarres" <[EMAIL PROTECTED]> wrote:
> Okay that is fine, just means that I have to push harder to get a
> sage server locally on my campus for the students to play with. Thanks
For now, you can also construct animations that for example print a
variable value and the
On Wed, Jul 9, 2008 at 11:41 AM, D. M. Monarres <[EMAIL PROTECTED]> wrote:
>
> Okay that is fine, just means that I have to push harder to get a
> sage server locally on my campus for the students to play with. Thanks
It's only a temporary problem since Igor Tolkov is supposed
to "fix this" as p
Okay that is fine, just means that I have to push harder to get a
sage server locally on my campus for the students to play with. Thanks
--
David Monarres
[EMAIL PROTECTED]
"There... I've run rings 'round you logically"
-- Monty Python's Flying Circus
On Jul 9, 2008, at 11:35 AM, William Ste
1 - 100 of 109 matches
Mail list logo