Ask Your Question

czsan's profile - activity

2019-04-18 15:40:13 -0600 received badge  Necromancer (source)
2019-04-18 15:40:13 -0600 received badge  Self-Learner (source)
2019-04-18 12:55:49 -0600 received badge  Famous Question (source)
2018-07-16 09:00:13 -0600 received badge  Notable Question (source)
2018-03-19 18:48:39 -0600 received badge  Popular Question (source)
2017-06-13 17:29:32 -0600 received badge  Popular Question (source)
2017-06-13 17:29:32 -0600 received badge  Notable Question (source)
2016-12-24 19:25:54 -0600 received badge  Famous Question (source)
2016-10-12 09:48:20 -0600 commented question Could not find the Mozilla runtime

I'm using arch linux (antergos), and there are some packages for sagemath in this distro. If I type in firefox: localhost:8080, then it opens the notebook, but previously it needs to reset the admin password.

2016-10-09 14:32:50 -0600 asked a question Could not find the Mozilla runtime

I try to run sage: notebook(), or some other notebook with name between the parenthesis, but I get the nessage 'Could not find the Mozilla runtime' and Sage stops.

What is the solution? sagemath is v7.3.5 sage-notebook is v0.13.3

I'm using the Firefox web browser, v49.0.1

2016-08-01 16:22:08 -0600 received badge  Notable Question (source)
2016-07-22 13:07:26 -0600 received badge  Popular Question (source)
2016-05-24 13:27:11 -0600 received badge  Popular Question (source)
2016-05-04 05:15:14 -0600 received badge  Notable Question (source)
2015-12-10 11:34:26 -0600 received badge  Famous Question (source)
2015-11-24 08:44:49 -0600 received badge  Popular Question (source)
2015-10-21 16:52:00 -0600 received badge  Famous Question (source)
2015-08-08 16:09:16 -0600 received badge  Notable Question (source)
2015-04-17 06:22:27 -0600 received badge  Popular Question (source)
2015-04-16 11:41:15 -0600 received badge  Nice Question (source)
2015-04-16 05:26:16 -0600 commented answer character encoding

The respone is u'g\xf6mb\xf6c'

2015-04-16 03:57:45 -0600 asked a question character encoding

How can I chgange characte encoding in Sage notebook. I'm hungarian, and in string I need characterd like á, ő, ű, etc, but not \xc3, \xc5 and so on.

2015-01-24 23:09:56 -0600 received badge  Notable Question (source)
2014-11-05 05:45:59 -0600 commented answer notebok server on ubuntu

I think it is not true; I newly installed arch linux on two machine (Antergos distro), the problem is same.

2014-11-05 05:00:46 -0600 received badge  Famous Question (source)
2014-10-16 16:34:00 -0600 commented question notebok server on ubuntu

Yes, they are installed. I found, that this is not ubuntu problem, the effect is same on arch linux.

2014-10-16 11:35:00 -0600 asked a question notebok server on ubuntu

On ubuntu (versions from 12.04 to 14.04) I got the following error, when I started the notebook server with secure=True parameter:

RuntimeError Traceback (most recent call last) <ipython-input-3-3d6cf59ae321> in <module>() ----> 1 notebook(secure=True)

/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/lazy_import.so in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3000)()

/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/notebook_object.py in __call__(self, args, *kwds) 226 """ 227 def __call__(self, args, *kwds): --> 228 return self.notebook(args, *kwds) 229 230 notebook = run_notebook.notebook_run

/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/run_notebook.py in notebook_run(self, directory, port, interface, port_tries, secure, reset, accounts, openid, server_pool, ulimit, timeout, doc_timeout, upload, automatic_login, start_path, fork, quiet, server, profile, subnets, require_login, open_viewer, address) 475 import OpenSSL 476 except ImportError: --> 477 raise RuntimeError("HTTPS cannot be used without pyOpenSSL" 478 " installed. See the Sage README for more information.") 479

RuntimeError: HTTPS cannot be used without pyOpenSSL installed. See the Sage README for more information.

SOme remarks: First: this server was a live ~6.1* server using secure=True parameter (we used it over https). After some updating of ubuntu it crashed. Second: Since this accident I tried some new versions of Ubuntu and later versions of Sage, but the error remain same. Third: otherwise the program runs - yet the notebook server too (without SSL)

2014-10-16 11:23:02 -0600 commented question Backup sage server

yes, i mean that

2014-10-16 02:56:48 -0600 asked a question Backup sage server

I'm maintaning a Sage server in my campus. How can I backup all content of the server, then restore in another maschine?

2014-06-28 20:13:06 -0600 marked best answer solving a simple equation

Is there a method to solve the equation x + x^(1/3) == -2 ?

2014-02-10 08:23:56 -0600 marked best answer crash after system upgrade

The PPA for Sage 6.1.1 is now ready thanks to Jan Groenewald, see this post on the sage-release mailing list.

2014-02-10 08:23:31 -0600 commented answer crash after system upgrade

It is a regular error in marriage of Ubuntu and Sage. It is very unpleasant, because Ubuntu and its forks are the far common linux distros. I'm very upset, because this problem causes in addition a failure in source repository.

2014-02-10 08:17:24 -0600 commented answer crash after system upgrade

So, it is not true

2014-02-10 08:17:01 -0600 commented answer crash after system upgrade

5 minutes ago

2014-02-10 08:16:32 -0600 commented answer crash after system upgrade

installArchives() failed: Setting up sagemath-upstream-binary (6.1.1ubuntu1) ... Running Sage once as root to set paths /var/lib/dpkg/info/sagemath-upstream-binary.postinst: 42: /var/lib/dpkg/info/sagemath-upstream-binary.postinst: /usr/bin/sage: not found dpkg: error processing sagemath-upstream-binary (--configure): subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already Errors were encountered while processing: sagemath-upstream-binary Setting up sagemath-upstream-binary (6.1.1ubuntu1) ... Running Sage once as root to set paths /var/lib/dpkg/info/sagemath-upstream-binary.postinst: 42: /var/lib/dpkg/info/sagemath-upstream-binary.postinst: /usr/bin/sage: not found dpkg: error processing sagemath-upstream

2014-02-10 08:16:32 -0600 commented answer crash after system upgrade

installArchives() failed: Setting up sagemath-upstream-binary (6.1.1ubuntu1) ... Running Sage once as root to set paths /var/lib/dpkg/info/sagemath-upstream-binary.postinst: 42: /var/lib/dpkg/info/sagemath-upstream-binary.postinst: /usr/bin/sage: not found dpkg: error processing sagemath-upstream-binary (--configure): subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already Errors were encountered while processing: sagemath-upstream-binary Setting up sagemath-upstream-binary (6.1.1ubuntu1) ... Running Sage once as root to set paths /var/lib/dpkg/info/sagemath-upstream-binary.postinst: 42: /var/lib/dpkg/info/sagemath-upstream-binary.postinst: /usr/bin/sage: not found dpkg: error processing sagemath-upstream

2014-02-07 20:27:32 -0600 asked a question crash after system upgrade

I'm using Ubuntu 12.04. After automatic system update the sagemath-upstream-binary vanishes and does not possible to install from ppa. (v 6.1.1)

2014-02-06 07:08:28 -0600 marked best answer algebraic substitution
var('y')
P = x^18
eqn = x^2 == y + 1
soln = solve(eqn,x)
P = P.subs(x=soln[0].rhs())
P.expand().subs(y=x)
2014-02-06 07:08:24 -0600 commented answer algebraic substitution

For example, if P = x^17 = x^16*x=(x^2)^4*x=(x+1)^4*x. But it is impossible with this method.

2014-02-06 07:06:33 -0600 commented answer algebraic substitution

It works only for even powers.

2014-02-06 04:38:29 -0600 asked a question algebraic substitution

How can I imitate the algsubs function of Maple? A little example:

p = x^18

algsubs(x^2=x+1,p)

The reult in Maple is:

x^9+9x^8+36x^7+84x^6+126x^5+126x^4+84x^3+36x^2+9x+1.

2014-01-16 09:50:32 -0600 answered a question Function generator

it seems, in my problem the following works:

[F[i].function(x) for i in range(len(F))]

2014-01-16 09:15:30 -0600 asked a question Function generator

How can I generate a list (or array) of functions? I have a list which contains the expressions for the functions. For example: F = [x, x^2, (x-1)/x, -1/x] and I want f1(x) = F[1] f2(x) = F[2],... (In Maple there is an indexed function construction) Thanks

2013-11-03 09:34:55 -0600 asked a question Making new user account on notebook server

How can I generate a lot of new accounts (the admin interface is too slow for). And how can I delete them?

2013-10-25 12:19:39 -0600 received badge  Notable Question (source)
2013-10-15 19:07:22 -0600 received badge  Notable Question (source)
2013-10-07 08:50:57 -0600 commented answer IntegerModRing representation

and only if the modulus is prime?

2013-10-07 01:26:48 -0600 commented answer IntegerModRing representation

This is true, if the polynomialring is multivariate

2013-10-06 21:28:41 -0600 answered a question IntegerModRing representation

Surprisingly in IntegerModrings Sage uses positive representations, but in polynomialrings over these it uses symmetric representation. So we can make the computations with the residues in the polynomialring.