Re: [sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Fri, Jul 12, 2019 at 3:38 PM Simon King wrote: > > sage: DOT_SAGE > > '/home/user/.sage/' > > Do you literally mean "user", not the specific name of a single user? yes, all cocalc projects run under the same user "user" in their own container. $ echo $USER user $ id uid=2001(user) gid=2001(us

Re: [sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
Ok... To me, this sounds like we have to uninstall MeatAxe on CoCalc. The CoCalc setup is quite easy to explain, and so far I wasn't aware of any issues. Sage is in a globally shared read-only directory /ext/sage/sage- and permissions are set such that a user "user" can read/exec it. Hence, onl

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Friday, July 12, 2019 at 11:48:40 AM UTC+2, Simon King wrote: > > > sage: DOT_SAGE > '/home/king/.sage/' It's sage: DOT_SAGE '/home/user/.sage/' Which I bet is the wrong place to look. (all cocalc projects are essentially linux docker containers, where /home/user is $HOME, though)

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
On Friday, July 12, 2019 at 11:48:40 AM UTC+2, Simon King wrote: > > > sage: DOT_SAGE > '/home/king/.sage/' It's sage: DOT_SAGE '/home/user/.sage/' Which I bet is the wrong place to look. (all cocalc projects are essentially linux docker containers, where /home/user is $HOME, though)

[sage-support] Re: problem with matrix over finite field

2019-07-12 Thread Harald Schilly
I've no idea why this is happening on CoCalc. My first guess is there is an optional package installed, which is causing this. Interestingly, this works: matrix(GF(16), [[1,0], [0, 1]]) while matrix(GF(25), [[1,0], [0, 1]]) fails with the above error. -- You received this message because you

[sage-support] Re: Sage Jupyter Kernel?

2017-08-30 Thread Harald Schilly
Hello On Wednesday, August 30, 2017 at 9:54:03 AM UTC+2, Pstrang Rzekle wrote: > > > ┌┐ > │ SageMath version 7.3, Release Date: 2016-08-04 │ > As you can see above, you're running a more than a year old rele

Re: [sage-support] csdp installed in 7.6?

2017-07-11 Thread Harald Schilly
On Tue, Jul 11, 2017 at 8:52 PM, c. e. larson wrote: > >We install tons (100+?) of extra optional packages into every standard > Sage install on CoCalc. > > Is there a list of these somewhere? I've had no luck googling this. (In > particular which ones are still optional and which ones are now st

[sage-support] Re: sagews2html

2017-07-09 Thread Harald Schilly
On Sunday, July 9, 2017 at 11:11:06 AM UTC+2, Ingo Dahn wrote: > > On GitHub there is sagews2html. What is the status of this tool? > Hi, what exactly do you mean? sagews2html is integrated as a part of cocalc. Besides that, this isn't a question related to sage. I suggest you to ask in the coca

[sage-support] Re: [CoCalc] Re: LattE

2017-07-02 Thread Harald Schilly
Thank's for forwarding, LattE is installed. -- harald -- 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

Re: [sage-support] Using SageCloud for the production of interactive materials

2017-06-04 Thread Harald Schilly
On Sunday, June 4, 2017 at 1:35:42 PM UTC+2, Ingo Dahn wrote: > > Is there support for using ASCIIMATH? > Theoretically yes, the module is loaded, but there are overlaps with the syntax of other processors which makes this hard. So far, we do not have a compatible syntax and asciimath was nev

[sage-support] Re: [CoCalc] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-06-01 Thread Harald Schilly
On Thu, Jun 1, 2017 at 2:59 PM, Dima Pasechnik wrote: > right, sorry, I mean a sagews notebook running Sage. > I did not try other SMC Sage interfaces. Yes, there is probably somewhere this "show" function involved, which has the same name but a different implementation -- please don't ask me abo

[sage-support] Re: [CoCalc] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-06-01 Thread Harald Schilly
On Thu, Jun 1, 2017 at 9:02 AM, Dima Pasechnik wrote: > By the way, this example does work on SMC, so they must be doing something > non-standard here. > What is that? Hi, you need to be more precise, since CoCalc has a rather large feature surface. In case you mean "sagews" files, they have noth

[sage-support] Re: [CoCalc] Re: Crystals not displaying

2017-05-31 Thread Harald Schilly
On Wed, May 31, 2017 at 12:02 PM, Dima Pasechnik wrote: > oops, it does work after I install dot2tex by doing > > sage -i dot2tex Well, I can only confirm, that dot2tex is installed on CoCalc... Better error messages and sanity checks FTW :-) -- harald -- You received this message because you

Re: [sage-support] Sage Crash Report

2017-03-27 Thread Harald Schilly
On Monday, March 27, 2017 at 5:08:39 AM UTC+2, slelievre wrote: > > Volker, William, > > Any chance a redirect from the now-404 > > https://github.com/sagemath/docker > > to the current > > https://github.com/sagemath/docker-images > > might be set up? > No, but the existing "docker-imag

[sage-support] Re: trouble signing in

2017-03-17 Thread Harald Schilly
On Friday, March 17, 2017 at 8:57:50 PM UTC+1, Shannon Negaard wrote: > > I can't remember the last time I was asked to log in. I can't remember my > username > You have to help us here. Do you work on your local machine or a remote service? What's the exact URL where you try to login? -- h

[sage-support] Re: Advices in "Git the Hard Way" don't work for me

2017-02-23 Thread Harald Schilly
On Thursday, February 23, 2017 at 4:50:50 PM UTC+1, Simon King wrote: > > git clone git://github.com/sagemath/sage.git when you clone from github via the ssh protocol, you need to be part of the repository. click on the "https" link or button there where you got the link in github, then yo

[sage-support] Re: [sage-cloud] Re: Czech language(pack) in SageTex

2017-01-29 Thread Harald Schilly
Hi, also, the only linux ubuntu package I know of related to this is texlive-lang-czechslovak You can check all the files it installs via running the following command in a terminal: dpkg -L texlive-lang-czechslovak -- harald -- You received this message because you are subscribed to the Googl

[sage-support] Re: Sage always crashes

2016-09-07 Thread Harald Schilly
Dima Pasechnik wrote: > I'd try the following: > > * get a copy of the website locally > > * make all the symlinks relative (is it OK?) > > * check in all the non-binaries and symlinks > > Are there any symlinks to binaries? > > > On Wed, Sep 7, 2016 at 3:32 PM, Ha

[sage-support] Re: Sage always crashes

2016-09-07 Thread Harald Schilly
Hi, I started https://github.com/sagemath/files and already added a bit on the server, but stumbled over general idiocies. So, I don't want to spend more time on this. E.g. there are symlinks, but git doesn't like them, and there is something odd going on with an already existing ssh key vs. github

[sage-support] Re: [sage-cloud] Re: How do i remove overtype?

2016-08-20 Thread Harald Schilly
did you accidentally press the insert key? press "ins" again, or however it is called (maybe near your del key) -- h On Sat, Aug 20, 2016 at 7:50 AM, Dima Pasechnik wrote: > it is not clear what kind of Sagemath interface you were using; e.g., if you > used a "usual" text editor then it's a que

Re: [sage-support] Re: Lambda functions vs. defining functions

2016-08-11 Thread Harald Schilly
I think you got it, but I'm just adding this below in case someone else is also interested: Here, this sequence defines a symbolic x, and that function f, and then checks the types x = var('x') f=lambda x: x*sin(x) type(f) type(f(x)) and f(x) is still a symbolic expression. Now we change x to b

Re: [sage-support] Re: Lambda functions vs. defining functions

2016-08-10 Thread Harald Schilly
On Wed, Aug 10, 2016 at 10:46 PM, Todd Zimmerman wrote: > You can integrate and differentiate both types of functions in SageMath as > well as use them for solving differential equations. So, can you copy/paste us an example? It does work, if that small python-function is evaluated and returns a

[sage-support] Re: Lambda functions vs. defining functions

2016-08-10 Thread Harald Schilly
On Wednesday, August 10, 2016 at 8:37:18 PM UTC+2, Todd Zimmerman wrote: > > Is there any significant difference in SageMath between defining a > function using lambda vs. defining it using 'def ...:'? > > This is actually a pure Python question, and the answer is yes. Technically: def f1(x):

[sage-support] Re: Problem with precision in large sum?

2016-05-12 Thread Harald Schilly
The important question is, over which ring you are doing your arithmetics. In your case, you might have an underflow or overflow, that causes numerical instabilities, and then it fails. With more precision, you can get closer to the actual value. Look at "interval arithmetic" if you want to kno

Re: [sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
On Fri, Apr 29, 2016 at 4:12 PM, Hemanth G wrote: > In view of your question,you can run any python program using ipcluster. Yes, exactly. The point I wanted to make is, that from such a Python program, you can call SageMath as a library, i.e. "sage.all_cmdline import *". The tricky part might be

Re: [sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
ity between the engines invoked and the sage terminal.How do > you connect the engines and sage? > > Please let me know if there is any method to resolve this issue.Thank you. > > With Best Regards/ Mit Besten Grüßen / Sincères Salutations > Hemanth Gaekwad > > > > On Fri,

[sage-support] Re: Parallel Process/Engine in Sage.

2016-04-29 Thread Harald Schilly
On Thursday, April 28, 2016 at 8:12:16 PM UTC+2, HEMS wrote: > > ...like the way we invoke parallel process/engine on IPython. > I haven't tried myself, but have you tried using ipython's engine for sagemath? Ipython is in sagemath and you can install additional packages via "sage -pip ...".

[sage-support] Re: Solving a function with a lower floor

2016-04-23 Thread Harald Schilly
On Saturday, April 23, 2016 at 11:29:07 AM UTC+2, Massimo D'Antoni wrote: > > I need to define a function like the following (the function cannot assume > negative values): > > y = 5 - 2x if f(x)>0 > 0 otherwise > > Hi, you cannot mix python syntax with building a symbolic exp

[sage-support] Re: Sage or Mathemathica. Which one is correct?

2016-04-21 Thread Harald Schilly
In your mathematica version, is "log10" a parameter with values from -8 to 8, while in sagemath you use it as a logarithm with basis 10. Is that how I read it or do I miss something obvious? -- h -- You received this message because you are subscribed to the Google Groups "sage-support" grou

[sage-support] Re: is_prime() error

2016-04-05 Thread Harald Schilly
the division changes the type to a rational number. I.e. type(q) and is_prime(Integer(q)) True fixes this. Not sure if that's a bug. It's certainly not obvious why this happens. -- harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. T

[sage-support] Re: Eulers method for non-linear ODEs

2016-04-01 Thread Harald Schilly
On Friday, April 1, 2016 at 9:40:13 AM UTC+2, Jesse Hulse wrote: > > eulers_method(y(1-y)-0.2*(1-0.7*cos(2*pi*x)),0,1,1/2,1) > I have the feeling ,that your y(1-y) should be y*(1-y) A variable with parenthesis next to it is a function call, i.e. like y(7) → something, whereas you seem to mean

Re: [sage-support] Re: SMC vpython/ivisual

2016-03-07 Thread Harald Schilly
​ On Mon, Mar 7, 2016 at 5:06 PM, ​​ HG wrote ​ > ​ Hi, > Do you mean I have to pay to get connected ? yes, there were malicious users abusing the service to target other servers on the internet. we have to protect the service from being shut down. this did already happen about a month ago and wa

[sage-support] Re: SMC vpython/ivisual

2016-03-07 Thread Harald Schilly
Hello, what does "connect out" mean? No connection? You have to upgrade the "internet access" quota in order to have access to the internet from within your project. Besides that, please email us at h...@sagemath.com this question and the full URL link to your project. -- harald On Saturday,

[sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Harald Schilly
On Wednesday, February 24, 2016 at 4:57:45 PM UTC+1, Pierre wrote: > Is there a way to fix it? Probably yes, but what you really want is a workaround. I would suggest you to write a normal .py file and import it in a sagews file. Start the cell where you import with "% auto" and this cell will

Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-18 Thread Harald Schilly
On Sunday, February 7, 2016 at 2:53:39 PM UTC+1, HG wrote: > > I forgot would tikz or circuitikz work on sagemathcloud ? Is it installed ? > Hi, you have to write to our mailing lists or directly to h...@sagemath.com if you have a question like that. It only came to my attention, thank's to Sa

[sage-support] Re: Either Sage is doing something wacky or I am.

2016-02-15 Thread Harald Schilly
That's your problem, using "range". On Monday, February 15, 2016 at 4:03:25 PM UTC+1, Jeremy Martin wrote: > > for p in range(3,4): > > That produces python integers while srange produces SageMath Integers. -- h -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] How to install sagemathcloud on local computer?

2016-02-08 Thread Harald Schilly
On Monday, February 8, 2016 at 8:11:09 PM UTC+1, Jerico Revote wrote: > > Is SMC still not available for local/private installation? > SMC is available for any form of installation for at least a year now. Note, that in src/dev/latop are newer instructions about how to set it up locally. Be aw

[sage-support] Re: Using Sage on a Local Web Server

2016-02-04 Thread Harald Schilly
The website www.lmfdb.org is -- technically speaking -- a web front-end to SageMath. It uses a standard stack of apache, gunicorn and flask for the request handling, mongodb for additional data sources, and runs SageMath via a library (this means, when you open certain pages, GAP, Pari and other

[sage-support] Re: Can I run sagemathcloud on my own institutional cloud / cloud host?

2015-11-24 Thread Harald Schilly
On Tuesday, November 24, 2015 at 12:12:13 PM UTC+1, Tony Hirst wrote: > > ... and I was wondering how labour/knowledge/developer intensive it is > likely to be setting up and running SageMathCloud on an institutional > cloud, or via commercial cloud hosting (Google Cloud, or AWS), assuming > t

[sage-support] Re: https://sage.mat.uam.es/upload_worksheet

2015-11-24 Thread Harald Schilly
On Tuesday, November 24, 2015 at 12:12:13 PM UTC+1, Carlos Gómez wrote: > Help me please! I cannot upload this worksheet. Hello Carlos, we do not manage sage.mat.uam.es. Please contact whoever is responsible for this SageMath installation. -- Harald -- You received this message because you

[sage-support] Re: Is it ok to delete src/ directory?

2015-08-25 Thread Harald Schilly
Well, there is code in src which is executed, because python is a scripting language. I guess there are some files which you could get rid of, but I'm not sure. Besides that, a lot should already be stripped when building the binary. What you could get rid of is the documentation. Those are just

[sage-support] Re: when trying to open sagemath in oracle vm virtual box in windows 8.1 64 bit machine Blue screen of d

2015-06-07 Thread Harald Schilly
Which OS are you using? Searching the internet for that violation error and virtualbox brings up issues with windows 8.1. On Sunday, June 7, 2015 at 6:26:34 PM UTC+2, Amritendu Mukhopadhyay wrote: > > Installation of Oracle VM Virtual Box and importing the sage ova file in > it was not a problem

[sage-support] Re: Decompressing sage version

2015-06-07 Thread Harald Schilly
The download page itself tells you to 1. install lrzip: $ sudo apt-get install lrzip (or via synaptic) 2. $ lrzuntar *.tar.lrz Hope this helps, Harald On Saturday, June 6, 2015 at 9:55:59 PM UTC+2, avi kaur wrote: > > hello > > > I am facing problem while installing sagemath. I am unable to de

[sage-support] Re: problem with sagemath.org

2015-06-06 Thread Harald Schilly
On Friday, June 5, 2015 at 5:46:03 PM UTC+2, David Perkinson wrote: > > http://www.sagemath.org/packages/standard/ > > > gives a 404 error. > The 404 error m

[sage-support] Re: Approximate decimal answers

2015-03-26 Thread Harald Schilly
On Tuesday, March 24, 2015 at 11:44:21 PM UTC+1, A. Jorge Garcia wrote: > > Monte Carlo simulations and quadrature calculations... > mpmath is also what I would recommend to look into, it also has quadrature functions. I still have to warn you, that monte carlo simulations might give you bias

[sage-support] Re: Filling a matrix with functions

2015-03-24 Thread Harald Schilly
On Tuesday, March 24, 2015 at 12:49:57 PM UTC+1, Oscar Alberto Castillo Felisola wrote: > > I'd like to obtain something like > > f11 = function('f11', t,r) > f12 = function('f12', t,r) > f21 = function('f21', t,r) > f22 = function('f22', t,r) > M = matrix(2,2, [[f11, f12], [f21, f22]]) > > Si

[sage-support] Re: Filling a matrix with functions

2015-03-24 Thread Harald Schilly
On Tuesday, March 24, 2015 at 11:05:21 AM UTC+1, Oscar Alberto Castillo Felisola wrote: > > but for "huge" matrices it is boring and make no sense. > Can you describe a rule or pattern how this matrix should be filled? -- You received this message because you are subscribed to the Google Gr

[sage-support] Re: adding 4 numbers

2015-02-18 Thread Harald Schilly
A leading zero is in Python (and hence Sage) an octal number. I also stumbled about this. Many others probably as well. Just get rid of the leading zero ;-) -- Harald On Wednesday, February 18, 2015 at 9:21:47 PM UTC+1, kuno wrote: > > Hi, code below > > sage: version() > 'Sage Version 6.4.1,

[sage-support] Re: Update the benchmarks on the sagemath website?

2015-02-14 Thread Harald Schilly
On Saturday, February 14, 2015 at 1:04:27 PM UTC+1, SL wrote: > > Hello, > > The page at http://sagemath.org/tour-benchmarks.html is a bit outdated > Sure, years ago I thought it is neat to have a small page with some benchmarks ;-) The sources are here: https://github.com/sagemath/website/b

[sage-support] Re: Sage maa - magic word

2015-01-14 Thread Harald Schilly
Duplicate email, I have no idea what MAA is doing there. You can run Sage online at various locations and also download it to run it locally. On Wednesday, January 14, 2015 at 9:21:40 AM UTC+1, Dvir Arad wrote: > > Hello, > I'm a student at Ariel University. > Ressantly I start learning "SAGE"

[sage-support] Re: sage Maa create acoount

2015-01-14 Thread Harald Schilly
I don't know anything about that sage MAA site, it's also really outdated. If you want to run Sage online, go to https://cloud.sagemath.com … all free. -- Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group an

[sage-support] Re: left right subtrees

2014-11-25 Thread Harald Schilly
On Tuesday, November 25, 2014 2:33:39 PM UTC+1, kcrisman wrote: > > > Hi! I don't think this is necessarily a notebook question, so I'm > forwarding this to sage-support where it is morel likely to get some > responses. Good luck! > I did the reverse, and invited Nathann to help Dominique. ;

[sage-support] Re: How to paste code for quick rather than type code in terminal in sage cloud

2014-09-26 Thread Harald Schilly
On Friday, September 26, 2014 1:45:57 PM UTC+2, Martin Chan wrote: > > How to paste code for quick rather than type code in terminal in sage cloud > Have you tried Ctrl-v? Press the 5th "clipboard" button above the terminal window to see more information. -- harald -- You received this messa

[sage-support] Grey scale network graph colorings

2014-09-24 Thread Harald Schilly
Is there a better way to do this? http://vincent-knight.com/unpeudemath/code/2014/09/24/greyscale-graphs-in-sage/ -- 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

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Harald Schilly
On Thursday, September 18, 2014 7:30:09 PM UTC+2, Dan Drake wrote: > > I guess I was holding a hammer and it made his problem look like a nail... > Second even larger hammer to the rescue: from sage.misc.cachefunc import cached_function @cached_function def f(x): return x^2+1 ;-) -- Yo

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Harald Schilly
On Thursday, September 18, 2014 3:59:47 PM UTC+2, Dan Drake wrote: > > So the above list is > > [applyntimes(f, x, n) for n in range(whatever)] > ... it works, but doesn't it call f way too often? Personally, I think the for-loop with list appending is the easiest. The yield/list approach is

Re: [sage-support] Re: Share piece of Sage code

2014-09-16 Thread Harald Schilly
On Tuesday, September 16, 2014 12:33:21 PM UTC+2, projetmbc wrote: > > The website I used allow external user to play with the code like in > http://sagecell.sagemath.org/ . > You can evaluate some code and click on share. That should do it, right? Public parts of sagenb.org are turned off and

[sage-support] Re: Using an Undefined Function?

2014-09-13 Thread Harald Schilly
On Saturday, September 13, 2014 11:40:26 PM UTC+2, Harald Schilly wrote: > > On Saturday, September 13, 2014 11:18:49 PM UTC+2, Chris Maness wrote: >> >> Is it possible for sage to use an undefined function such that: >> >> diff(f(x(t),y(t)),t) yields the defi

[sage-support] Re: Using an Undefined Function?

2014-09-13 Thread Harald Schilly
On Saturday, September 13, 2014 11:18:49 PM UTC+2, Chris Maness wrote: > > Is it possible for sage to use an undefined function such that: > > diff(f(x(t),y(t)),t) yields the definition of the total derivative? > > I'm not sure about Sage itself, but since SymPy is technically part of Sage, this s

Re: [sage-support] Re: apparent numerical integration bug in sage

2014-08-30 Thread Harald Schilly
On Sat, Aug 30, 2014 at 12:35 AM, Robert Dodier wrote: >> Harald, thanks. I think now we have six or seven ways to do quadrature in >> Sage! > > Yes, but most of them are QUADPACK, right? The whole idea of mpmath is to be standalone, right? https://github.com/fredrik-johansson/mpmath/blob/maste

[sage-support] Re: apparent numerical integration bug in sage

2014-08-29 Thread Harald Schilly
On Friday, August 29, 2014 7:15:27 PM UTC+2, Robert Dodier wrote: > > QUADPACK ... > I've tried this in mpmath's quad. I think it works there, but maybe I've overlooked the actual problem. sage: import mpmath as mp sage: f1 = lambda _ : 1. / mp.sqrt(_^3 + 2) sage: f2 = lambda _ : 1. / mp.sqrt

[sage-support] Re: Solving system of nonlinear equations

2014-08-29 Thread Harald Schilly
On Friday, August 29, 2014 6:46:39 PM UTC+2, Chris Corio wrote: > > Can anyone point me at the functions that I can use to solve these > equations or have any suggestions for the solutions? I appreciate the help. > > Sage's "solve" is explicit, I don't know if it gives you a solution. What you

[sage-support] Re: promote Sage on python success stories

2014-08-27 Thread Harald Schilly
> https://www.python.org/about/success/ That's a nice idea, but how to submit something and what exactly? On one hand one can mention that Sage is used by "some peo

[sage-support] Re: sage-6.3-x86_64-Darwin-OSX_10.6_x86_64-app.dmg won't be built?

2014-08-22 Thread Harald Schilly
On Fri, Aug 22, 2014 at 4:16 PM, kcrisman wrote: > Harald, is this easy to do on the mirrors? Easy and tedious. As long as the filename changes, it counts as being removed and a new one is added. -- H -- You received this message because you are subscribed to the Google Groups "sage-support"

[sage-support] Re: numba

2014-07-22 Thread Harald Schilly
On Tuesday, July 22, 2014 11:04:14 PM UTC+2, juresco leonard wrote: > > Hello, > > Would it be possible to integrate some packages of Anaconda (continuum.io), > especially Numba, in sage ? > Depending on your installation, it should be straight forward to start the Sage environment via "$ sage

[sage-support] Re: Importing data from the online L-functions and modular forms database

2014-06-11 Thread Harald Schilly
There is a lmfdb mailing list: https://groups.google.com/forum/#!forum/lmdb - maybe you should ask there. Unfortunately, lcalc has no standard format. I once talked to Mike Rubinstein about this and suggested him to use yaml for the file format. Don't know if anything in that direction happened

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Harald Schilly
Hi, I haven't looked into that file, but maybe you should try to solve and simplify the equations directly in sympy? There is also a group for sympy, maybe they can help you streamlining this, too. https://groups.google.com/forum/#!forum/sympy Harald -- You received this message because you ar

[sage-support] Re: global name is not defined

2014-05-07 Thread Harald Schilly
inside your for loop, the last two lines, you need to prepend a "self." to both variables on the left ... just like you did with self.rho and the others on the right. harald -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[sage-support] Re: Impressive use cases of Sagemath - examples for a workshop

2014-04-11 Thread Harald Schilly
Hi, there are plenty of benchmarks you can do, if speed is something those are easily impressed by. Here are some interacts, http://wiki.sagemath.org/interact and http://interact.sagemath.org Regarding physics, a simple thing is the part for converting units. There are also more advanced usages

[sage-support] Re: Is SageMathCloud reasonably usable from China?

2014-03-21 Thread Harald Schilly
On Friday, March 21, 2014 1:09:23 AM UTC+1, n.p.str...@sheffield.ac.uk wrote: > > If I understand correctly, all the SageMathCloud servers are in Washington > State. > I don't know, but about the locaion: they are at the campus of the university of washington and google's us-central1-a data

[sage-support] Re: Search function at sagemath.org broken?

2014-01-28 Thread Harald Schilly
Interesting, seems to be a bug in google's javascript. However, at the bottom is a direct link to the CSE, you can use it as a fallback https://www.google.com/cse/home?cx=017384562579735769466:s27byrlaffu Harald On Wednesday, January 22, 2014 11:14:23 AM UTC+1, Stan Schymanski wrote: > > Dear

[sage-support] Re: In sagemath have access from java?

2014-01-17 Thread Harald Schilly
On Tuesday, January 14, 2014 10:12:25 PM UTC+1, Ренат Ескенин wrote: > > We're going to do a project in which it will be convenient to use the > sage as computing library. Can I get access to sagemath from java? I haven't done this, but if you get that project running in the Sage environment

Re: [sage-support] Re: Sage+numpy -> complex numbers drop image part in calculations with numpy functions

2014-01-03 Thread Harald Schilly
On Fri, Jan 3, 2014 at 11:53 PM, wrote: > I fully agree with your analysis. But still the result is wrong. Should I > file a bug? Is it a bug in Sage or in Numpy? I have no idea how the two work > together. I'd appreciate any hint on how to proceed. It's definitely something which is Sage relate

[sage-support] Re: Sage+numpy -> complex numbers drop image part in calculations with numpy functions

2014-01-02 Thread Harald Schilly
On Thursday, January 2, 2014 9:22:14 PM UTC+1, bspi...@gmail.com wrote: > > What's going on here? > These are two different "sqrt": the first one is a sage specific function, the second one is from numpy. it's just that numpy's sqrt(2) produces something (a float64 type) which makes troubles w

[sage-support] Re: numpy.count_nonzero

2013-11-30 Thread Harald Schilly
An idea to throw in: >>> mm = matrix(ZZ, 2, 3, [1,0,2,0,0,0]) >>> mm.numpy() != 0 array([[ True, False, True], [False, False, False]], dtype=bool) >>> (mm.numpy() != 0).sum() 2 Harald -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: Solving linear equation systems in GF(2)

2013-10-15 Thread Harald Schilly
I hope this helps: sage: A = matrix(GF(2), [ [1, 1, 1, 0], [0, 1, 1, 0], [1, 0, 0, 1], [0, 1, 0, 1]]) sage: b = vector(GF(2), [0, 1, 1, 0]) sage: A \ b (1, 0, 1, 0) The "x" is indeed in GF(2): sage: x = A \ b sage: x.parent() Vector space of dimension 4 over Finite Field of size

[sage-support] Re: Sagemath Cloud

2013-09-27 Thread Harald Schilly
On Friday, September 27, 2013 2:07:37 PM UTC+2, projetmbc wrote: > > Hello, > how can I share my project to other persons ? > In the "wrench" menu, you can add collaborators. They have equal rights and can also edit. Public projects or read-only collaborators are not yet implemented. H -- Y

[sage-support] Re: n-dimensional numerical integration

2013-07-01 Thread Harald Schilly
On Saturday, June 29, 2013 2:21:40 PM UTC+2, Martin Albrecht wrote: > > Hi all, > > do we have n-dimensional numerical integration in Sage? > I got recently a similar question. there is "nsum" in mpmath, which does that. http://mpmath.googlecode.com/svn/trunk/doc/build/calculus/sums_limits.

[sage-support] Re: Completely confused about simple Sage matrix operation error

2013-07-01 Thread Harald Schilly
On Monday, July 1, 2013 10:45:36 AM UTC+2, David Ingerman wrote: > > The following matrix operation produces wrong answer in online Sage: > > M=matrix(RR,[[7,3,10,13],[1,1,2,2],[1,2,3,4],[1,3,5,7]]);det(M);invM=M^(-1);invM*M;det(invM) RR stands for the "real numbers" with the usual 53bits of pr

[sage-support] Re: Solver doesn't find a solution for nonlinear problem

2013-05-23 Thread Harald Schilly
Hi You are using a symbolic solver for a rather large system of equations. Maybe it's not really possible to solve this in a sane way and therefore you don't get an answer. I suggest you to look into solving this numerically, especially because in the end you seem to be only interested in a nu

[sage-support] Re: Google OpenID account problems for sagenb.org

2013-05-08 Thread Harald Schilly
On Wednesday, May 8, 2013 12:49:39 AM UTC+2, Robert Nendorf wrote: > > I've recently had issues trying to log in to Sage via sagenb.org Which URL did you use exactly? Maybe it's an issue of the OpenID/OAuth2 system, where the exact URL matters. Hence, please try www.sagenb.org or sagenb.og …

[sage-support] Sage part of Google's Summer of Code 2013

2013-04-08 Thread Harald Schilly
Good News, like last year Sage is once again part of Google's Summer of Code. This means, until April 22 at 19:00 UTC students can submit their applications and mentors will review them and do the matching. Please share this with prospective students or think about being a mentor this year! gsoc p

[sage-support] Re: Sage on the Mac

2013-04-03 Thread Harald Schilly
I've removed the version information, since it is redundant from the file listing. also updated the readme. Harald On Tue, Apr 2, 2013 at 6:46 PM, Karl-Dieter Crisman wrote: > > > > On Tue, Apr 2, 2013 at 12:38 PM, Vinayak Vatsal wrote: >> >> Thanks. I was looking at >> >> http://www.sagemath.o

[sage-support] Re: RESOLVED: Re: "sage -b" fails following install of IBM ILOG CPLEX Optimization Studio V12.5

2013-02-14 Thread Harald Schilly
On Thursday, February 14, 2013 4:22:55 AM UTC+1, Dima Pasechnik wrote: > It might be good to add an extra link to source on > http://www.sagemath.org/download-[your system].html > All you see there at the top is > "Click here for other systems" > which is misleading if you need source. I'm

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread Harald Schilly
On Thu, Jan 31, 2013 at 5:40 PM, LFS wrote: > The second makes the fonts rather small - i used dpi=50 dpi is the size of the raster for the bitmap, and the other size is the number of inches the image should be. fonts are rendered to fit into this, therefore they apparently change size! http://

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread Harald Schilly
On Thu, Jan 31, 2013 at 4:50 PM, LFS wrote: > Here is the minimal code version ok, this is a straightforward matplotlib-only question. therefore the answer is easy :-) before the histogram line, create a figure and define its size (tuple of inch values): plt.figure(figsize=(2,2)) when you sav

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread Harald Schilly
On Thursday, January 31, 2013 12:22:53 PM UTC+1, LFS wrote: > > *Question for anyone:* How to I get my histograms from matplotlib to be > smaller? > > could you please post the full command of such an example plot? i haven't followed everything and there are several ways how such a plot is act

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-30 Thread Harald Schilly
On Tuesday, January 29, 2013 11:47:35 PM UTC+1, Jason Grout wrote: > > When we upgrade numpy [1], we should also seriously look at including > pandas [2] > big +1 from me. And I would also like to see statsmodels :-) http://statsmodels.sourceforge.net/ H -- You received this message because

[sage-support] Re: Performance improvements over time (fyi)

2013-01-02 Thread Harald Schilly
Hi, this table looks nice! Can we get the exact code for these in order to update the quite old benchmark website here: http://www.sagemath.org/tour-benchmarks.html ? greetings Harald On Tuesday, January 1, 2013 10:18:57 PM UTC+1, Rolandb wrote: > > >

Re: [sage-support] Re: NumPy Array with generator

2012-12-31 Thread Harald Schilly
On Mon, Dec 31, 2012 at 7:44 PM, LFS wrote: > Thank you Harald. np, i'm just heading to a party, so, just a short answer: > I need the simplest most intuitive > format possible with the least number of commands. ok, then i suggest you to use python lists, nothing else. and tell them that there

[sage-support] Re: NumPy Array with generator

2012-12-31 Thread Harald Schilly
On Monday, December 31, 2012 4:52:37 PM UTC+1, LFS wrote: > > Thanks indeed Juan, it did help immensely! I couldn't get array to work > and your example finally clicked for me. > In the end, I used: w=numpy.array([cos(x0+j*h) for j in range(n+1)], > float) > THANKS. Linda Hi, you line will wor

[sage-support] Re: Chrome Web Store and demo.sagenb.org

2012-11-25 Thread Harald Schilly
tings Harald On Mon, Nov 19, 2012 at 10:11 PM, Jason Grout wrote: > On 11/19/12 3:09 PM, Harald Schilly wrote: >> >> thank you! i've updated the chrome webstore s.t. it points to demo as >> usual. >> > > But tomorrow morning, there seems to be the chance th

[sage-support] Re: Chrome Web Store and demo.sagenb.org

2012-11-19 Thread Harald Schilly
thank you! i've updated the chrome webstore s.t. it points to demo as usual. h On Mon, Nov 19, 2012 at 9:34 PM, Keshav Kini wrote: > I don't have time right now to do debugging, but I did restart demo. -- You received this message because you are subscribed to the Google Groups "sage-support"

[sage-support] Re: Chrome Web Store and demo.sagenb.org

2012-11-19 Thread Harald Schilly
Mon, Nov 19, 2012 at 9:17 AM, Harald Schilly > wrote: > > Oh, too bad. Nobody told me that it has been turned off :-( > > I could turn it on but I guess Jason might have turned it off for a reason > (?) > > -Keshav > -- You received this message because you are subscri

[sage-support] Re: Chrome Web Store and demo.sagenb.org

2012-11-19 Thread Harald Schilly
Oh, too bad. Nobody told me that it has been turned off :-( H On Thursday, November 15, 2012 11:32:54 AM UTC+1, Pedro Cruz wrote: > > Just to note that the "Chrome Web Store" for Sage is not working because > demo.sagenb.org is down. > Pedro > -- You received this message because you are sub

[sage-support] Re: Upper convex hull ("inverse" Newton polygon)

2012-10-23 Thread Harald Schilly
On Monday, October 22, 2012 11:09:51 AM UTC+2, Volker Braun wrote: > > sage: q = Polyhedron(vertices=points, rays=[(0,1)]) > >> I just opened the documentation here: http://www.sagemath.org/doc/reference/sage/geometry/polyhedron/constructor.html because I wasn't sure what it is doing, and at the

[sage-support] Re: Healpy

2012-09-25 Thread Harald Schilly
On Tuesday, September 25, 2012 10:24:27 AM UTC+2, Jesús TC wrote: > It is somehow trivial, but would it be interesting to publich somewhere > the instructions and a worksheet with the tutorial section in the > documentation? > I didn't knew it, but it looks interesting (not just image mapping

[sage-support] Re: Is google groups buggy? Test posting

2012-09-14 Thread Harald Schilly
On Thursday, September 13, 2012 9:44:52 AM UTC+2, moritz wrote: > > Two days ago I tried to post on this list, using the UI of google groups. > The message did not appear on sage-support .. > I reported this in detail, that's all I can do :-( H (group admin) -- You received this message bec

Re: [sage-support] Re: Installing Sage seeding using metalink and Ubuntu.

2012-08-11 Thread Harald Schilly
On Sat, Aug 11, 2012 at 5:53 PM, John Nicholson wrote: > Now what? Have you read the installation guide? E.g. http://www.sagemath.org/doc/installation/binary.html#linux-and-os-x In your case, most likely tar --lzma -xvf sage-5.2-linux-64bit-ubuntu_12.04_lts-x86_64-Linux.tar.lzma Then go into th

Re: [sage-support] Re: Installing Sage seeding using metalink and Ubuntu.

2012-08-11 Thread Harald Schilly
On Sat, Aug 11, 2012 at 5:28 PM, John Nicholson wrote: > How long do I need to wait for this install to tell if it worked then? oh, you don't have to wait at all! You can stop it immediately after it has finished downloading (it stated that right before it started seeding). Just press "CTRL-C" st

  1   2   3   4   >