Ask Your Question

czsan's profile - activity

2023-05-13 21:56:04 +0200 received badge  Popular Question (source)
2021-04-11 13:18:26 +0200 received badge  Famous Question (source)
2020-04-29 15:43:23 +0200 received badge  Famous Question (source)
2019-04-18 22:40:13 +0200 received badge  Self-Learner (source)
2019-04-18 22:40:13 +0200 received badge  Necromancer (source)
2019-04-18 19:55:49 +0200 received badge  Famous Question (source)
2018-07-16 16:00:13 +0200 received badge  Notable Question (source)
2018-03-20 00:48:39 +0200 received badge  Popular Question (source)
2017-06-14 00:29:32 +0200 received badge  Popular Question (source)
2017-06-14 00:29:32 +0200 received badge  Notable Question (source)
2016-12-25 02:25:54 +0200 received badge  Famous Question (source)
2016-10-12 16:48:20 +0200 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 21:32:50 +0200 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 23:22:08 +0200 received badge  Notable Question (source)
2016-07-22 20:07:26 +0200 received badge  Popular Question (source)
2016-05-24 20:27:11 +0200 received badge  Popular Question (source)
2016-05-04 12:15:14 +0200 received badge  Notable Question (source)
2015-12-10 18:34:26 +0200 received badge  Famous Question (source)
2015-11-24 15:44:49 +0200 received badge  Popular Question (source)
2015-10-21 23:52:00 +0200 received badge  Famous Question (source)
2015-08-08 23:09:16 +0200 received badge  Notable Question (source)
2015-04-17 13:22:27 +0200 received badge  Popular Question (source)
2015-04-16 18:41:15 +0200 received badge  Nice Question (source)
2015-04-16 12:26:16 +0200 commented answer character encoding

The respone is u'g\xf6mb\xf6c'

2015-04-16 10:57:45 +0200 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-25 06:09:56 +0200 received badge  Notable Question (source)
2014-11-05 12:45:59 +0200 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 12:00:46 +0200 received badge  Famous Question (source)
2014-10-16 23:34:00 +0200 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 18:35:00 +0200 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 18:23:02 +0200 commented question Backup sage server

yes, i mean that

2014-10-16 09:56:48 +0200 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-29 03:13:06 +0200 marked best answer solving a simple equation

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

2014-02-10 15:23:56 +0200 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 15:23:31 +0200 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 15:17:24 +0200 commented answer crash after system upgrade

So, it is not true

2014-02-10 15:17:01 +0200 commented answer crash after system upgrade

5 minutes ago

2014-02-10 15:16:32 +0200 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 15:16:32 +0200 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-08 03:27:32 +0200 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 14:08:28 +0200 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 14:08:24 +0200 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 14:06:33 +0200 commented answer algebraic substitution

It works only for even powers.

2014-02-06 11:38:29 +0200 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 16:50:32 +0200 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 16:15:30 +0200 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 16:34:55 +0200 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 19:19:39 +0200 received badge  Notable Question (source)
2013-10-16 02:07:22 +0200 received badge  Notable Question (source)