Re: [sage-support] Isomorphism of Linear Codes

2012-06-08 Thread Benjamin Jones
t; is_permutation_equivalent? >> >> > >> > Best regards, >> > Oleksandr >> > >> > It's conventional to define two linear codes to be isomorphic (or equivalent) if there is a permutation of the underlying basis which sends one code to t

Re: [sage-support] Crash report: integral of ln(1+4/5*sin(x)) crashes Maxima and Sage

2012-06-07 Thread Benjamin Jones
*sin(x)), x) ... (waited almost an hour) ^C Maxima encountered a Lisp error: Console interrupt -- Benjamin Jones On Thu, Jun 7, 2012 at 11:21 PM, Dan Drake wrote: > On Thu, 07 Jun 2012 at 02:13PM -0700, Benjamin Jones wrote: >> On Mac OS X 10.6.8 intel core i7 and sage-5.0 (also sage-

[sage-support] Crash report: integral of ln(1+4/5*sin(x)) crashes Maxima and Sage

2012-06-07 Thread Benjamin Jones
On Mac OS X 10.6.8 intel core i7 and sage-5.0 (also sage-5.1.beta2) I can crash sage (and Maxima) by evaluating: sage: integrate(ln(1+4/5*sin(x)), x, -3.1415, 3.1415) ;;; ;;; Binding stack overflow. ;;; Jumping to the outermost toplevel prompt ;;; ... ;;; ;;; Binding stack overflow. ;;; Jumpi

Re: [sage-support] Re: `maximum recursion depth exceeded` when starting notebook in sage-5.0

2012-05-18 Thread Benjamin Jones
On Fri, May 18, 2012 at 2:08 PM, Jason Grout wrote: > On 5/18/12 1:19 PM, Benjamin Jones wrote: >> >> When starting up the sage-5.0 notebook (with the new notebook from trac >> #11080 and the sagecell-0.9.0 spkg installed) with >> directory='/home/sageserver/sag

[sage-support] `maximum recursion depth exceeded` when starting notebook in sage-5.0

2012-05-18 Thread Benjamin Jones
When starting up the sage-5.0 notebook (with the new notebook from trac #11080 and the sagecell-0.9.0 spkg installed) with directory='/home/sageserver/sage_notebook.sagenb' pointing to a notebook directory containing many existing user accounts and worksheets from a previous sage-4.7.1 install,

[sage-support] Re: 3d plotting using Jmol: black screen of death [SOLVED]

2012-04-24 Thread Benjamin Jones
On Tuesday, April 10, 2012 7:40:51 PM UTC-5, Benjamin Jones wrote: > > 3d plotting using Jmol: black screen of death > > I've read through all the Jmol problem threads here that I could find, > back to2008, and I can't find an answer to the "Jmol produces a &g

Re: [sage-support] Re: 3d plotting using Jmol: black screen of death

2012-04-11 Thread Benjamin Jones
Sun/Oracle java 1.6.0 release. - ... so the Java isntallation on the Linux machine might be the cause of the problems there (the red error messages in the table below). But, it still leaves the problem I have on Mac OS X in Firefox and that my colleagues have on Windows 7 in Firefox. -- Benjamin

[sage-support] Re: Sage 4.8 Won't Run on Scientific Linux 6.2

2012-04-10 Thread Benjamin Jones
Try moving any old ~/.sage directories out of the way: > mv ~/.sage ~/.sage.BAK > sage On Tuesday, April 10, 2012 9:29:46 PM UTC-5, rvau...@gmail.com wrote: > > When I run sage 4.8 I get this: > > == > ImportError: libcsage.so: cannot open share

[sage-support] 3d plotting using Jmol: black screen of death

2012-04-10 Thread Benjamin Jones
3d plotting using Jmol: black screen of death I've read through all the Jmol problem threads here that I could find, back to2008, and I can't find an answer to the "Jmol produces a blank, black display" problem I'm about to describe. So here is a new thread. ... I've been hav

[sage-support] Re: Using sagenb

2011-10-02 Thread Benjamin Jones
s, > > Jason Jason- I think that published worksheet must have moved or else you have a typo. Worksheet 3257 seems to be about information management. -- Benjamin Jones -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-

[sage-support] Re: Rotate of Bits

2011-08-14 Thread Benjamin Jones
On Aug 13, 3:00 am, Simon King wrote: > Hi Santanu, hi Benjamin, > > On 13 Aug., 06:23, Benjamin Jones wrote: > > > On Aug 12, 9:38 pm, Santanu Sarkar > > See section 5.4.1 of: > > >http://docs.python.org/library/stdtypes.html > > I doubt that that is

[sage-support] Re: Rotate of Bits

2011-08-12 Thread Benjamin Jones
On Aug 12, 9:38 pm, Santanu Sarkar wrote: > I have  64 bit integer N. I want to rotate bits of N cyclically 5 bits right > and 5 bits left to generate two integers N1, N2. > How can I do this in Sage efficiently? See section 5.4.1 of: http://docs.python.org/library/stdtypes.html -- BFJ -- To

[sage-support] Re: Accessing Sage Server from other clients on same LAN

2011-08-12 Thread Benjamin Jones
On Aug 12, 10:47 pm, Owen Densmore wrote: > Now I'd like to access the Mini from my other systems on the same LAN.  If I > tryhttp://10.0.1.222(where 10.0.1.222 is the Mini's address) from them, I > get access to the Apache server, as expected.  However, when I then try > accessing port 8000 (htt

[sage-support] Re: converting str 'x+5 >= 0' to equivalent expression x+5 >= 0 ?

2011-04-24 Thread Benjamin Jones
Try using Python's `eval` function: sage: eval('y+x>=0') x + y >= 0 sage: type(eval('y+x>=0')) -- Benjamin Jones benjaminfjo...@gmail.com On Apr 24, 1:50 pm, tvn wrote: > I can convert   'x + 5' to equivalent expression with SR()   but can'

Re: [sage-support]

2011-04-23 Thread Benjamin Jones
Unfortunately, N is the name of the built-in numerical evaluation function: sage: pi pi sage: N(pi) 3.14159265358979 sage: N(pi, digits=20) 3.1415926535897932385 On Apr 23, 11:25 am, clodemil wrote: > Many thanks > > On Apr 23, 4:13 pm, "D. S. McNeil" wrote: > > > (3) Avoid "n" as a variable.

[sage-support] Re: 3DPlot error

2011-03-04 Thread Benjamin Jones
You can try upgrading the Sage Jmol package manually. This has fixed some problems on Mac + Chrome systems. See this thread: http://groups.google.com/group/sage-support/browse_thread/thread/47046e1c81d75d24 -- Benjamin Jones On Feb 28, 1:13 pm, Thomas Rike wrote: > On Feb 28, 2011, at 2:27

[sage-support] Re: jmol in OS X on Chrome

2011-03-04 Thread Benjamin Jones
jamin Jones On Mar 3, 2:08 pm, kcrisman wrote: > On Mar 3, 1:32 pm, Volker Braun wrote: > > > On Thursday, March 3, 2011 6:19:01 PM UTC, Benjamin Jones wrote: > > > > You're right, it's not corrupted. I had to manually delete the .spkg > > > file in

Re: [sage-support] Re: jmol in OS X on Chrome

2011-03-03 Thread Benjamin Jones
On Thu, Mar 3, 2011 at 11:20 AM, William Stein wrote: > On Thu, Mar 3, 2011 at 8:23 AM, Benjamin Jones > wrote: >> I'm not sure if it's me, but the spkg at: >> >> http://www.uwosh.edu/faculty_staff/gutow/Jmol_for_SageNoteBook-1.1.4.spkg >> >> se

[sage-support] Re: jmol in OS X on Chrome

2011-03-03 Thread Benjamin Jones
ted to the .spkg I had downloaded previously (shortly after William started this thread) and it unpacks and installs just fine. Has anyone else tried upgrading their Jmol recently? -- Benjamin Jones On Feb 26, 3:06 pm, Benjamin Jones wrote: > > > Hopefully good.  On the other hand, usin

[sage-support] Re: Jmol problem with Chrome on Mac

2011-02-26 Thread Benjamin Jones
If you update Chrome and the Jmol package in Sage it will work. See this newer thread: http://groups.google.com/group/sage-support/browse_thread/thread/47046e1c81d75d24 -- Benjamin Jones On Jan 27, 2:29 am, pong wrote: > I just wonder if any one has any success in getting Jmol to

[sage-support] Re: jmol in OS X on Chrome

2011-02-26 Thread Benjamin Jones
a 3d plot and Jmol now loads and works great. The new interface is *really* nice. -- Benjamin Jones -- 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 group a

[sage-support] Re: jmol in OS X on Chrome

2011-02-25 Thread Benjamin Jones
mins and didn't find any problems using recent Chrome versions. -- Benjamin Jones On Feb 25, 11:34 pm, Jason Grout wrote: > On 2/25/11 11:21 PM, William Stein wrote: > > > > > > > > > > > On Fri, Feb 25, 2011 at 9:14 PM, Jason Grout > >  wrote: > >