Re: [sage-devel] Re: sagemath cluster
> > >> At the end of the 2 week camp the students really appreciated learning >> Sage and loved it (according to feedback). One missing feature they >> would have loved is an integrated chat system, e.g., we did public key >> crypto and a chatroom would have been helpful -- we did end up using >> the sagemath irc room, but irc doesn't have good math support. > > > > I totally agree with the chat system, but IMHO for that to work you would > also need to setup user "groups", something like Facebook has. What do you > think about that? > > If you run into similar issues again maybe you could use http://mathim.com/ . It is a no login required web based latex enabled chat. The source code they wrote to implement that website is also available: https://github.com/tommycli/mathim . -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagenb.org upgrade to 5.2
I can see the "5.2" and just tried to evaluate my usual "test" notebook. All evaluations return me the content of the input cells 1:1 into the output boxes. It's just me or does this happen for others, too? H -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagenb.org upgrade to 5.2
ok, hold it, it's just *this* notebook. another one works fine. interesting though ... h -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Sage notebook blocker
Is there any hope that the sage notebook can be fixed to allow passwordless login again? I made this a blocker since it prevents us from shipping a no-configuration virtual machine (which is now stuck at sage-5.1), yet no progress has been made on the ticket: http://trac.sagemath.org/sage_trac/ticket/13318 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: CAS/LDAP authentication
Could someone please write a tutorial on how to setup the sage notebook identification with CAS? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagemath cluster
On 8/25/12 4:32 AM, Maarten Derickx wrote: At the end of the 2 week camp the students really appreciated learning Sage and loved it (according to feedback). One missing feature they would have loved is an integrated chat system, e.g., we did public key crypto and a chatroom would have been helpful -- we did end up using the sagemath irc room, but irc doesn't have good math support. I totally agree with the chat system, but IMHO for that to work you would also need to setup user "groups", something like Facebook has. What do you think about that? If you run into similar issues again maybe you could use http://mathim.com/ . It is a no login required web based latex enabled chat. The source code they wrote to implement that website is also available: https://github.com/tommycli/mathim . You could probably even use the iframe command to embed that in a Sage worksheet. However, it's probably easier to have it off to the side in a different window. Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
On 8/25/12 6:51 AM, Volker Braun wrote: Is there any hope that the sage notebook can be fixed to allow passwordless login again? I made this a blocker since it prevents us from shipping a no-configuration virtual machine (which is now stuck at sage-5.1), yet no progress has been made on the ticket: http://trac.sagemath.org/sage_trac/ticket/13318 Doesn't it? The option name has changed to automatic_login=True. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
Is this with the unfinished 0.10 notebook? I get the following: [vbraun@volker-desktop ~]$ sage -- | Sage Version 5.3.beta2, Release Date: 2012-08-16 | | Type "notebook()" for the browser-based notebook interface.| | Type "help()" for help.| -- ** ** * Warning: this is a prerelease version, and it may be unstable. * ** ** sage: notebook(automatic_login=True) --- TypeError Traceback (most recent call last) /home/vbraun/ in () /home/vbraun/opt/sage-5.3.beta2/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds) 204 """ 205 def __call__(self, *args, **kwds): --> 206 return self.notebook(*args, **kwds) 207 208 notebook = run_notebook.notebook_twisted TypeError: notebook_twisted() got an unexpected keyword argument 'automatic_login' On Saturday, August 25, 2012 1:27:32 PM UTC+1, jason wrote: > > On 8/25/12 6:51 AM, Volker Braun wrote: > > Is there any hope that the sage notebook can be fixed to allow > > passwordless login again? I made this a blocker since it prevents us > > from shipping a no-configuration virtual machine (which is now stuck at > > sage-5.1), yet no progress has been made on the ticket: > > > > http://trac.sagemath.org/sage_trac/ticket/13318 > > Doesn't it? The option name has changed to automatic_login=True. > > Thanks, > > Jason > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagenb.org upgrade to 5.2
On 8/25/12 5:08 AM, Harald Schilly wrote: ok, hold it, it's just *this* notebook. another one works fine. interesting though ... Care to share the notebook? You can share it with me (jason3), or post it somewhere. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
On 8/25/12 7:34 AM, Volker Braun wrote: Is this with the unfinished 0.10 notebook? I get the following: Ah, you're right (I usually upgrade to 0.10 immediately upon install). Luckily, I do have a stock 5.2 I just compiled a few hours ago, and I just tested require_login=False, and it seems to work perfectly. The notebook worksheet listing just pops up with no login required. It also works with just plain notebook() and "sage -notebook" from the command line. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
When you just do "sage -notebook" you are logged in with a token as password since Sage spawns the browser. So you actually do log in, its just automatically behind the scenes. This is not an option for the virtual machine, you can't start a host browser from within the VM. The following does not work: sage -notebook interface=\'\' port=8002 open_viewer=False require_login=False When you manually open http://localhost:8002 you are greeted with a login screen. On Saturday, August 25, 2012 1:37:57 PM UTC+1, jason wrote: > > Luckily, I do have a stock 5.2 I just compiled a few hours ago, and I > just tested require_login=False, and it seems to work perfectly. The > notebook worksheet listing just pops up with no login required. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
On 8/25/12 7:53 AM, Volker Braun wrote: When you just do "sage -notebook" you are logged in with a token as password since Sage spawns the browser. So you actually do log in, its just automatically behind the scenes. This is not an option for the virtual machine, you can't start a host browser from within the VM. The following does not work: sage -notebook interface=\'\' port=8002 open_viewer=False require_login=False Okay, I can confirm that that doesn't work in 5.2. I'm about to install 0.10, and I'll check there too. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: Sage notebook blocker
On 08/25/2012 09:07 PM, Jason Grout wrote: On 8/25/12 7:53 AM, Volker Braun wrote: When you just do "sage -notebook" you are logged in with a token as password since Sage spawns the browser. So you actually do log in, its just automatically behind the scenes. This is not an option for the virtual machine, you can't start a host browser from within the VM. The following does not work: sage -notebook interface=\'\' port=8002 open_viewer=False require_login=False Okay, I can confirm that that doesn't work in 5.2. I'm about to install 0.10, and I'll check there too. Thanks, Jason It looks like there is no equivalent to the require_login=False and open_viewer=False in the new notebook. Is that true? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: sagenb.org upgrade to 5.2
On Sat, Aug 25, 2012 at 2:26 PM, Jason Grout wrote: > jason3 I've shared it with you, plaintext is here: http://pastebin.com/y9LqnYYW h -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagenb.org upgrade to 5.2
On 8/25/12 8:29 AM, Harald Schilly wrote: On Sat, Aug 25, 2012 at 2:26 PM, Jason Grout wrote: jason3 I've shared it with you, plaintext is here: http://pastebin.com/y9LqnYYW Your "system" is set to html at the top...of course it's just echoing. Interestingly, the system is *not* listed in the plaintext format. I think that's a bug. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: sagenb.org upgrade to 5.2
On Sat, Aug 25, 2012 at 3:37 PM, Jason Grout wrote: > Your "system" is set to html at the top...of course it's just echoing. ah, i understand. well, before the upgrade, it worked. maybe it has re-written a bit of the worksheet, i don't know. h -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Re: sagenb.org upgrade to 5.2
On 8/25/12 9:07 AM, Harald Schilly wrote: On Sat, Aug 25, 2012 at 3:37 PM, Jason Grout wrote: Your "system" is set to html at the top...of course it's just echoing. ah, i understand. well, before the upgrade, it worked. maybe it has re-written a bit of the worksheet, i don't know. What does "worked" mean? The cell at the top gave an error?(because it isn't valid sage syntax) Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] Bug in Graph.matching
I think I've discovered a bug in graphs/generic_graph.py: sage: g = graphs.PathGraph(3) # an unweighted graph sage: g.matching(value_only=True, use_edge_labels=True) # I get 1.0 sage: g.matching(value_only=True, use_edge_labels=False) # I get 2 Here's the problem area, around line 6786: d = networkx.max_weight_matching(g) if value_only: if use_edge_labels: return sum([weight(self.edge_label(u, v)) for u, v in d.iteritems()]) * 0.5 else: return Integer(len(d)) Since networkx.max_weight_matching returns a dict with a key for each vertex that is the endpoint of an edge in the matching, it seems like that last line should be "return Integer(len(d)/2)"? Thanks, Patrick -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: one doctest fails on ubuntu 12.04
Hi, Just an update. The test I mentioned is still failing and the last few lines before failing is - $ sage -t --long -force_lib "devel/sage/sage/modular/modform/find_generators.py" ... /home/rajeev/software/sage/local/lib/libatlas.so(ATL_dJIK52x52x52TN52x52x0_a1_b0+0xac)[0x7faffeb7426c] Unhandled SIGSEGV: A segmentation fault occurred in Sage. This probably occurred because a *compiled* component of Sage has a bug in it and is not properly wrapped with sig_on(), sig_off(). You might want to run Sage under gdb with 'sage -gdb' to debug this. Sage will now terminate. Segmentation fault (core dumped) I thought that there might a problem with atlas install, so I installed nose and ran the tests for numpy and scipy and all the test pass, so I guess atlas install is fine. Rajeev On Thu, Aug 23, 2012 at 8:50 AM, Rajeev Singh wrote: > Hi, > > Now I have also tried Sage-4.8 without SAGE64=yes flag and the > following tests fail - > > sage -t --long -force_lib devel/sage/sage/interfaces/quit.py # 1 > doctests failed > sage -t --long -force_lib > devel/sage/sage/interfaces/maxima_abstract.py # 1 doctests failed > sage -t --long -force_lib > devel/sage/sage/modular/hecke/ambient_module.py # 0 doctests failed > sage -t --long -force_lib > devel/sage/sage/modular/hecke/hecke_operator.py # 0 doctests failed > sage -t --long -force_lib devel/sage/sage/modular/modsym/ambient.py > # 0 doctests failed > > Rajeev > > On Wed, Aug 22, 2012 at 8:43 PM, Jeroen Demeyer > wrote: >> On 2012-08-22 16:57, Rajeev Singh wrote: >>> compiling sage with flag SAGE64=yes. >> Have you tried without this? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" group. >> To post to this group, send email to sage-devel@googlegroups.com. >> To unsubscribe from this group, send email to >> sage-devel+unsubscr...@googlegroups.com. >> Visit this group at http://groups.google.com/group/sage-devel?hl=en. >> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
[sage-devel] gnutls warning/error while plotting
Hi, I get the following when I try to use plot - $ sage -python Python 2.7.3 (default, Aug 21 2012, 14:05:59) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pylab as plt >>> plt.plot( plt.r_[0.1:1.0:0.1] ) /home/rajeev/software/sage/local/lib/libgnutls.so.26: version `GNUTLS_2_12' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so) Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so [] >>> plt.show() The plot actually appears. Should I be worried about this warning? I am on a 64 bit Ubuntu 12.04. Rajeev -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.