[sage-support] Re: trouble displaying 3D graphics

2021-11-08 Thread rickhg12hs
After ``` sage.misc.viewer.viewer.browser('firefox') ``` ... do you experience the same behavior? On Monday, November 8, 2021 at 12:25:24 PM UTC+1 John Cremona wrote: > I don't often use 3D graphics, but when I run implicitplot3d() I get > a file permissions error (on ubuntu 20.04): > > #

[sage-support] Re: sage-9.3 and sage from github both fail to compile

2021-07-15 Thread rickhg12hs
Perhaps just install sage-9.3-2 from the Fedora 34 repo with `sudo dnf install sagemath`. On Wednesday, July 14, 2021 at 9:23:24 PM UTC+2 bluf...@gmail.com wrote: > Both sage-9.3 and sage from github both fail to compile on Fedora 34 [= > up-to-date]. > The error message seems to indicate that

[sage-support] Re: RSA code

2021-05-03 Thread rickhg12hs
How are you manually entering the `Ciphertext` for decryption? Ciphertext, cipher = ['㓔', '\U000107ee', '퇫', '뺸'] On Monday, May 3, 2021 at 10:10:58 AM UTC+2 samu@gmail.com wrote: > ''' I have the RSA code, code works when we give input to encryption and > take decryption output

[sage-support] Re: A root systems short algorithm : "ValueError: too many values to unpack"

2020-08-19 Thread rickhg12hs
> [proja1, proja2, proja3, proja4, proja5] = myLel Here you are setting a list of 5 variables to a tuple of 8 elements? Did you want to call your `proj` function before this? On Wednesday, August 19, 2020 at 2:15:56 PM UTC+2 Sarah DIJOLS wrote: > > Hello, > I am running the following code

[sage-support] Re: Solve this Equation for H: 5260862 = M*H^y % 20876441; know variables y and M.

2020-05-14 Thread rickhg12hs
H = (Mod(20192834, 20876441)^-1 * 5260862).nth_root(17) On Thursday, May 14, 2020 at 3:26:09 PM UTC+2, Madison Adams wrote: > > Solve this Equation for H: 5260862 = M*H^y % 20876441 > > Does anyone happen to know the steps to solve for h: > Equation: 5260862 = M*Hy % 20876441 > > Where y = 17,

[sage-support] What do the different `make ****clean` targets do?

2018-02-11 Thread rickhg12hs
I've built from source to get a performance boost (I hope) and I'd like to know when I should use the different levels of `make clean`. In the top-level make file I see, "misc-clean, bdist-clean, clean, distclean, build-clean, bootstrap-clean, maintainer-clean, sagelib-clean" as either

[sage-support] Does `sage -upgrade` upgrade the packages as well?

2017-05-13 Thread rickhg12hs
Does `sage -upgrade` upgrade the packages as well? If not, what's the most efficient way to upgrade all packages to the latest release? Is this bullet from Sage Docs still acuurate? - --upgrade [url] – download, build and

Re: [sage-support] sage-6.0: Error installing 4ti2 package

2014-01-15 Thread rickhg12hs
Was there there something from the original Sage install (compiled from source) that produced the different CXXFLAGS? Strange that only the Sage config.log had #define _4ti2_HAVE_MPZ_INT64_CONVERSION 1. On Sunday, January 12, 2014 5:15:34 PM UTC-5, rickhg12hs wrote: FYI, building 4ti2

[sage-support] sage-6.0: Error installing 4ti2 package

2014-01-12 Thread rickhg12hs
Trying to install 4ti2 package generates an error. How can this be fixed? [from log file] ... Host system: Linux steelers.net 3.12.6-200.fc19.i686.PAE #1 SMP Mon Dec 23 16:58:40 UTC 2013 i686 i686 i386 GNU/Linux

Re: [sage-support] sage-6.0: Error installing 4ti2 package

2014-01-12 Thread rickhg12hs
]: *** [lib4ti2int64_la-VectorArrayAPI.lo] Error 1 make[3]: Leaving directory `/tmp/4ti2-1.6/src/groebner' On Sunday, January 12, 2014 12:45:49 PM UTC-5, William wrote: On Sun, Jan 12, 2014 at 8:36 AM, rickhg12hs rickh...@gmail.comjavascript: wrote: Trying to install 4ti2 package generates

Re: [sage-support] sage-6.0: Error installing 4ti2 package

2014-01-12 Thread rickhg12hs
-aliasing -ffast-math -Wall -std=c++0x' --- CXXFLAGS=' -Wall -std=c++0x' ... 2600a2437 #define _4ti2_HAVE_MPZ_INT64_CONVERSION 1 On Sunday, January 12, 2014 2:16:49 PM UTC-5, rickhg12hs wrote: Unfortunately, the recipe generated the same error. /bin/sh ../../libtool --tag=CXX --mode=compile g

[sage-support] Re: Should freetype be updated in Sage?

2013-10-22 Thread rickhg12hs
Hmmm, maybe I was lucky. The trac fix works for me too. Should sage have a few/several more SAGE_ORIG_ vars for sage-native-execute to restore? On Tuesday, October 22, 2013 2:05:52 AM UTC-4, Nils Bruin wrote: On Monday, October 21, 2013 10:39:03 PM UTC-7, rickhg12hs wrote: Since

[sage-support] Re: Should freetype be updated in Sage?

2013-10-21 Thread rickhg12hs
+1, rickhg12hs wrote: Trying to run `runsnake` from within sage commandline fails on my Fedora 19 system. `runsnake` on my system requires that `libfreetype` define symbol `FT_Face_GetCharVariantIndex` which started in `freetype` version 2.3.6. Currently Sage is distributed with `freetype

[sage-support] Should freetype be updated in Sage?

2013-10-19 Thread rickhg12hs
Trying to run `runsnake` from within sage commandline fails on my Fedora 19 system. `runsnake` on my system requires that `libfreetype` define symbol `FT_Face_GetCharVariantIndex` which started in `freetype` version 2.3.6. Currently Sage is distributed with `freetype` version 2.3.5. Fedora

[sage-support] Trouble passing Sage 5.11 pari/gen.pyx doctests

2013-08-20 Thread rickhg12hs
Just fully built Sage 5.11 and there seems to be a problem passing all the doctests. -- sage -t devel/sage/sage/libs/pari/gen.pyx # 4 doctests failed --

[sage-support] Re: Trouble passing Sage 5.11 pari/gen.pyx doctests

2013-08-20 Thread rickhg12hs
Yep, that's it. 32-bit F19. -- 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-support+unsubscr...@googlegroups.com. To post to this group, send email to

[sage-support] Re: Partial Fraction Expansion for Polynomials with complex factors

2013-08-01 Thread rickhg12hs
On Thursday, August 1, 2013 1:50:32 AM UTC-4, Rakhi Warriar wrote: I have the following function: f(x) = 1 x^2 + 4*x + 13 I need to find its partial fraction expansion. As the factors are complex conjugates, I am not able to do using

[sage-support] Disturbing Equality (from askSAGE)

2013-07-30 Thread rickhg12hs
sage: var('a b') (a, b) sage: assume(a, 'real') sage: assume(b, 'real') sage: bool( sqrt((a+b)^2) == sqrt(a^2) + sqrt(b^2) ) True sage:bool( (sqrt((a+b)^2) == sqrt(a^2) + sqrt(b^2)).subs(a=1,b=-1) ) False sage: Why the strange equality? -- You received this message because you are subscribed to

[sage-support] Re: Sage Notebook, Chrome Browser, SELinux Alert

2013-07-30 Thread rickhg12hs
AM UTC-4, Volker Braun wrote: Works on Fedora 19, maybe you can post a part of your log? Steps to reproduce? On Monday, July 29, 2013 11:11:48 PM UTC-4, rickhg12hs wrote: Sage 5.10 Notebook, Fedora 17 with SELinux set to Enforcing. SELinux is preventing /opt/google/chrome/chrome from

[sage-support] Re: Sage Notebook, Chrome Browser, SELinux Alert

2013-07-30 Thread rickhg12hs
chrome_sandbox_t user_home_t:dir write; [Details End] On Tuesday, July 30, 2013 11:21:13 AM UTC-4, Volker Braun wrote: post the actual log message On Tuesday, July 30, 2013 10:35:08 AM UTC-4, rickhg12hs wrote: Which log do you mean? Steps to reproduce: $ ./sage -notebook An SELinux

[sage-support] Re: Disturbing Equality (from askSAGE)

2013-07-30 Thread rickhg12hs
On Tuesday, July 30, 2013 1:40:29 PM UTC-4, JamesHDavenport wrote: On Tuesday, 30 July 2013 15:29:43 UTC+1, rickhg12hs wrote: sage: var('a b') (a, b) sage: assume(a, 'real') sage: assume(b, 'real') sage: bool( sqrt((a+b)^2) == sqrt(a^2) + sqrt(b^2) ) True sage:bool( (sqrt((a+b)^2

[sage-support] Sage Notebook, Chrome Browser, SELinux Alert

2013-07-29 Thread rickhg12hs
Sage 5.10 Notebook, Fedora 17 with SELinux set to Enforcing. SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the directory /home/MyHomeDir/.sage. Is this expected? Should I allow write access by creating a local exception for SELinux? -- You received this

Re: [sage-support] Google Group sage-support Daily Summary Email Bomb

2013-06-30 Thread rickhg12hs
On Thursday, June 27, 2013 1:59:07 PM UTC-4, Niles Johnson wrote: According to my email history, the last normal message I got from sage-support was 12/20/2012. Then I got no email from sage-support until Wed, Jun 26, 2013 at 7:40 PM EDT; this was an abridged summary of 250 messages,

[sage-support] Re: Google Group sage-support Daily Summary Email Bomb

2013-06-27 Thread rickhg12hs
Have now received 5 of these in the last 8 hours. The first was at Wed, Jun 26, 2013 at 7:40 PM EDT. -- 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

Re: [sage-support] Google Group sage-support Daily Summary Email Bomb

2013-06-27 Thread rickhg12hs
On Thursday, June 27, 2013 3:21:59 AM UTC-4, Minh Nguyen wrote: Hi, On Thu, Jun 27, 2013 at 2:13 PM, rickhg12hs rickh...@gmail.comjavascript: wrote: All of a sudden the Google Group sage-support Daily Summary Email is huge ( 350kB) and more often than daily. Here's

[sage-support] Google Group sage-support Daily Summary Email Bomb

2013-06-26 Thread rickhg12hs
All of a sudden the Google Group sage-support Daily Summary Email is huge ( 350kB) and more often than daily. Here's the latest subject: subject: [sage-support] Abridged summary of sage-support@googlegroups.com - 250 Messages in 58 Topics I've received three of these in the last 5 hours (not

[sage-support] R interface performance

2012-09-25 Thread rickhg12hs
Is there a way to use R from Sage to speed things up? Is there something in Sage that could be improved to approach R's speed? E.g., here's a toy demonstration of how slow R's summary is from Sage. sage: version() 'Sage Version 5.3, Release Date: 2012-09-08' sage: %timeit

Re: [sage-support] R interface performance

2012-09-25 Thread rickhg12hs
On Tuesday, September 25, 2012 4:22:03 PM UTC-4, William wrote: On Tue, Sep 25, 2012 at 1:14 PM, William Stein wst...@gmail.comjavascript: wrote: On Tue, Sep 25, 2012 at 1:10 PM, rickhg12hs rickh...@gmail.comjavascript: wrote: Is there a way to use R from Sage to speed things up

Re: [sage-support] R interface performance

2012-09-25 Thread rickhg12hs
sage: import rpy2.robjects as robjects sage: v = robjects.r(range(1000)) sage: summary = robjects.r['summary'] sage: %timeit summary(v) 625 loops, best of 3: 898 µs per loop sage: print(summary(v)) Min. 1st Qu. MedianMean 3rd Qu.Max. 999 999 999 999

[sage-support] Workaround: Sage 5.2 fails to build (mpir-2.4.0.p6) on Fedora 16 32-bit

2012-09-17 Thread rickhg12hs
On Wednesday, September 12, 2012 9:33:56 AM UTC-4, rickhg12hs wrote: On Monday, September 10, 2012 2:16:02 PM UTC-4, rickhg12hs wrote: After failing an upgrade from Sage v. 4.8, the Sage v. 5.2 source was downloaded (md5sum checked fine) and the build started. The build failed with mpir

[sage-support] Re: Sage 5.2 fails to build (mpir-2.4.0.p6) on Fedora 16 32-bit

2012-09-11 Thread rickhg12hs
On Monday, September 10, 2012 2:16:02 PM UTC-4, rickhg12hs wrote: After failing an upgrade from Sage v. 4.8, the Sage v. 5.2 source was downloaded (md5sum checked fine) and the build started. The build failed with mpir-2.4.0.p6 complaining that configure: error: ABI=32 is not among

[sage-support] Polyhedron.radius() bug?

2012-02-10 Thread rickhg12hs
Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Doesn't seem like any of these are answers right. sage: sq=polytopes.n_cube(2) sage: sq.vertices() [[1, 1], [-1, 1], [1, -1], [-1, -1]] sage: sq.radius() 2*sqrt(2) sage:

[sage-support] Re: How to use R's untar in Sage?

2010-07-13 Thread rickhg12hs
Found the problem was with my system's tar command. After specifying tar=internal (meaning that it uses R's builtin tar) everything worked fine. Thanks for your consideration though. On Jul 12, 11:14 pm, kcrisman kcris...@gmail.com wrote: On Jul 12, 10:57 pm, rickhg12hs rickhg1...@gmail.com

[sage-support] How to use R's untar in Sage?

2010-07-12 Thread rickhg12hs
I've tried to use R's untar command a number of different ways from Sage's commandline interface and I am having trouble listing the contents of a LZMA compressed TAR file. Actually, I don't seem to get any desirable output from r.untar so I am thinking I'm not even close to using the correct

[sage-support] Re: Integer.sqrt() memory leak?

2010-05-29 Thread rickhg12hs
, rickhg12hs wrote: I noticed that doing sqrt() for large integers seems to continually chew up memory. For example: sage: m = get_memory_usage() sage: while True:    a = ZZ(randint(2^400,2^800)).sqrt()    print get_memory_usage(m) This prints ever increasing memory usage values, but I'm

[sage-support] Integer.sqrt() memory leak?

2010-05-27 Thread rickhg12hs
I noticed that doing sqrt() for large integers seems to continually chew up memory. For example: sage: m = get_memory_usage() sage: while True: a = ZZ(randint(2^400,2^800)).sqrt() print get_memory_usage(m) This prints ever increasing memory usage values, but I'm not sure that it should.

[sage-support] Re: Possible bug in sample standard deviation

2010-05-23 Thread rickhg12hs
Really appreciate/enjoy Sage, but while we're picking on std, why isn't the docstring returned after ?-return? sage: std? Type: function Base Class: type 'function' String Form:function std at 0xae1c87c Namespace: Interactive File:

[sage-support] Re: converting an R vector to a list

2010-04-13 Thread rickhg12hs
x.sage() works great too! On Apr 13, 12:20 pm, ablondin alexandre.blondin.ma...@gmail.com wrote: I answered myself. It suffices to call sageobj on it. sage: x = r.c([1,2,3]) sage: x [1] 1 2 3 sage: list(x) [[1] 1, [1] 2, [1] 3] sage: sage: sage: sage: sageobj(x) [1, 2, 3] sage:

[sage-support] Re: ValueError: Unable to solve

2010-01-10 Thread rickhg12hs
The real disappointment is that sage could not solve it. Aren't there several solutions? Richard On Jan 10, 7:01 am, Simon King simon.k...@nuigalway.ie wrote: Hi Roland! On 10 Jan., 12:56, Rolandb rola...@planet.nl wrote: Hi, The following message amazes me, because if an equation is

[sage-support] post-solve filtering based on assumptions????

2010-01-10 Thread rickhg12hs
It would be convenient to filter solve output based on assume. Is there an easy, generally applicable way to do this? E.g., sage: var('a b t x y') (a, b, t, x, y) sage: assume(a0,b0,t0) sage: assumptions() [a 0, b 0, t 0] sage: solve([y==(x^2-1)/2,x==a*t,y==b*t],x,y,t) [[x == (b + sqrt(a^2 +

[sage-support] Re: Updating 'line3d' without making a fresh call.

2010-01-10 Thread rickhg12hs
Sorry not to address your query, but ... Is there a satellite ephemeris propagator for sage? ... or does your data come from outside sage? Cheers, Richard On Jan 7, 8:19 pm, Stefan stefan.louis.no...@gmail.com wrote: Hi all, I'm preparing to make a presentation to a few colleagues at work on

[sage-support] Try cvxopt.solvers.lp (Was Re: MixedIntegerLinearProgram solver)

2009-12-13 Thread rickhg12hs
You could also use the LP solver in cvxopt. http://www.sagemath.org/doc/numerical_sage/cvxopt.html For your example problem: sage: RealNumber=float sage: Integer=int sage: from cvxopt.base import matrix as m sage: from cvxopt import solvers sage: c = m([-1., -5.]) sage: G = m([[1., 1.5, -1.,

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-21 Thread rickhg12hs
On Jun 20, 10:18 pm, Robert Bradshaw rober...@math.washington.edu wrote: sage: n = 10 sage: m = block_matrix([0, zero_matrix(1,1), identity_matrix(n), 0]) sage: m.subdivide() # get rid of the block divisions sage: m [0 0 0 0 0 0 0 0 0 0 0] [1 0 0 0 0 0 0 0 0 0 0] [0 1 0 0 0 0 0 0 0 0 0]

[sage-support] Re: Apache configure

2009-06-17 Thread rickhg12hs
I would like to serve the Sage notebook running in a VM on a real machine that is not the Apache server machine. I am running into similar issues ... Unfortunately, in sage the html links are all absolute rather tha relative so I can redirecthttp://myserver/sageto port 8000 but the the