[sage-devel] Re: trouble upgrading to latest stable version

2020-05-24 Thread Matthias Koeppe
Hi Anne,

On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote:
>
> Downloading the Sage mirror list
> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: 
> error code: 1010
> Searching fastest mirror
> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror directly 
> and no proxy set
>

Here's a workaround:

echo '["http://files.sagemath.org/;]' > upstream/mirror_list 


I hope this helps,
Matthias

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/7c3cde30-5dbd-4f03-b611-b3eb46119f80%40googlegroups.com.


[sage-devel] trouble upgrading to latest stable version

2020-05-24 Thread Anne Schilling
Hi All,

I seem to have trouble upgrading my Sage to the latest stable version:

sage anne$ make
make -j4 build/make/Makefile --stop
./bootstrap -d
rm -rf config configure build/make/Makefile-auto.in
rm -f src/doc/en/installation/*.txt
src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
src/doc/en/installation/arch-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
src/doc/en/installation/debian-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
src/doc/en/installation/fedora-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
src/doc/en/installation/cygwin-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/homebrew.txt and 
src/doc/en/installation/homebrew-optional.txt
gettext and the gettextize program must be installed and be in
your PATH. E.g. Homebrew installs them in /usr/local/opt/gettext/bin.
Bootstrap failed, downloading required files instead.
Attempting to download package 
configure-765c5cb3e24dd134708eca97e4c52e0221cd94ba.tar.gz from mirrors
Downloading the Sage mirror list
CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: 
error code: 1010
Searching fastest mirror
ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror directly 
and no proxy set

Traceback (most recent call last):
  File 
"/Applications/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 
130, in run_safe
run()
  File 
"/Applications/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 
112, in run
app.download_tarball(args.url_or_tarball, args.destination, 
args.allow_upstream)
  File "/Applications/sage/build/bin/../sage_bootstrap/download/app.py", 
line 41, in download_tarball
tarball.download(allow_upstream=allow_upstream)
  File "/Applications/sage/build/bin/../sage_bootstrap/tarball.py", line 
156, in download
for mirror in MirrorList():
  File 
"/Applications/sage/build/bin/../sage_bootstrap/download/mirror_list.py", 
line 69, in __init__
self._refresh()
  File 
"/Applications/sage/build/bin/../sage_bootstrap/download/mirror_list.py", 
line 185, in _refresh
self._rank_mirrors()
  File 
"/Applications/sage/build/bin/../sage_bootstrap/download/mirror_list.py", 
line 146, in _rank_mirrors
raise MirrorListException('Failed to connect to any mirror, probably no 
internet connection')
MirrorListException: Failed to connect to any mirror, probably no internet 
connection

Error: downloading 
configure-765c5cb3e24dd134708eca97e4c52e0221cd94ba.tar.gz failed
make[1]: *** [configure] Error 1
make: *** [base-toolchain] Error 2


Any idea why?

Best,

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/7b63cb23-0913-4ccf-b54f-9ca3084a86a8%40googlegroups.com.


Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-24 Thread Jonathan
Although a good idea, I don't think I can make it simple enough to set up 
inside a data acquisition environment that depends on Python. This would 
require installing Maxima and all the connector software. The people using 
this are unlikely to do anything that requires more than a `pip 
install...`. Once Sagemath can cleanly install using pip, this problem will 
be solved on systems with enough processing power and memory. I've almost 
get everything needed working already. I will post a link to the github 
repository as soon as I post the first version.

Thanks to all for the suggestions.
Jonathan

On Sunday, May 24, 2020 at 12:00:00 PM UTC-5, rjf wrote:
>
> It seems to me that the obvious thing is not to extract parts from 
> SageMath, but
> just use Maxima, which is a part, but also an entire symbolic math system, 
>
> Your example looks like this:   ( assignment is ":"   equations use "=".  
> a command is terminated by ";" )
>
> eq1 : p*V = n*r*t ;
> eq1/V;
>
>returns p = (n*r*t)/V
>
> RJF
>
> On Friday, May 22, 2020 at 5:47:35 PM UTC-7, Samuel Lelievre wrote:
>>
>> Le samedi 23 mai 2020 02:14:58 UTC+2, Dima:
>> >
>> > Conda does have Sagemath available.
>> > Not 100% sure how it works on Windows, though.
>>
>> One can install SageMath from Conda on Linux and macOS.
>> Not on Windows.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/3f8e3035-c1ae-4950-96eb-69230861f87a%40googlegroups.com.


Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-24 Thread rjf
It seems to me that the obvious thing is not to extract parts from 
SageMath, but
just use Maxima, which is a part, but also an entire symbolic math system, 

Your example looks like this:   ( assignment is ":"   equations use "=".  a 
command is terminated by ";" )

eq1 : p*V = n*r*t ;
eq1/V;

   returns p = (n*r*t)/V

RJF

On Friday, May 22, 2020 at 5:47:35 PM UTC-7, Samuel Lelievre wrote:
>
> Le samedi 23 mai 2020 02:14:58 UTC+2, Dima:
> >
> > Conda does have Sagemath available.
> > Not 100% sure how it works on Windows, though.
>
> One can install SageMath from Conda on Linux and macOS.
> Not on Windows.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/246c6aa5-1c7b-4b73-a5ba-4d5bd1c3d31d%40googlegroups.com.


Re: [sage-devel] bug in matrix solve over inexact coefficients?

2020-05-24 Thread Markus Wageringel
Don't get me wrong. I would greatly prefer if RR would detect the 
ill-conditioned cases as well, but, as it stands, this is not implemented. 
Neither LU nor QR decompositions are supported for RR, so it is not easy to 
change this. The default implementation for solve_right just computes an 
echelonization.

Putting a warning in the except clause might be a good first step indeed, as it 
should at least detect the case of a matrix that is singular to machine 
precision.

For the record, this is what Matlab does in these cases:

>> linsolve([0], [1])
Warning: Matrix is singular to working precision.

ans =

   Inf

>> linsolve([0], [0])
Warning: Matrix is singular to working precision.

ans =

   NaN

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/4969CF48-442E-4486-891B-151FF39AFD0A%40gmail.com.


[sage-devel] Have you considered having a Sage Journal?

2020-05-24 Thread Diego Sejas
Hello, Sage Community!

I am not completely sure that this is the correct place to propose an idea 
like this, but I think that here it can be upvoted or downvoted, and 
commented.

I have been thinking for a long time that the Sage Community should have a 
Journal for everyone of us being able to read what is going on with Sage; 
how it is being used in research, education, etc.; what improvements have 
been made; etc., etc., etc. Perhaps an annual publication, so it is not so 
much of a burden for the editors (?).

Since the *Global Virtual SageDays 109* is approaching (yay!!!), it could 
be a good moment to discuss this idea with the community. Actually, I can 
see that somebody already asked about how people is using Sage in research, 
education, etc. (
https://ask.sagemath.org/question/51524/how-do-you-use-sagemath-in-research-education/)
 

 
That could evolve into a small journal with a few articles about the use of 
Sage, if enough people collaborate.

Please, let me know what you think.

(If this is the incorrect place to make a proposal like this, please, guide 
me to the correct resource. In any case, I am posting this same question in 
https://ask.sagemath.org/question/51529/have-you-considered-having-a-sage-journal/
.)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/e24996d9-6dfb-476c-8cff-54930c1b3f10%40googlegroups.com.


[sage-devel] Have you considered having a Sage Journal?

2020-05-24 Thread Diego Sejas


Hello, Sage Community!


I am not completely sure that this is the correct place to propose an idea 
like this, but I think that here it can be upvoted or downvoted, and 
commented.


I have been thinking for a long time that the Sage Community should have a 
Journal for everyone of us being able to read what is going on with Sage; 
how it is being used in research, education, etc.; what improvements have 
been made; etc., etc., etc. Perhaps an annual publication, so it is not so 
much of a burden for the editors (?).


Since the *Global Virtual SageDays 109* is approaching (yay!!!), it could 
be a good moment to discuss this idea with the community. Actually, I can 
see that somebody already asked 

 
about how people is using Sage in research, education, etc. That could 
evolve into a small journal with a few articles about the use of Sage, if 
enough people contribute.


Please, let me know what you think.


(If this is the incorrect place to make a proposal like this, please, guide 
me to the correct resource. In any case, I am posting this same question in 
https://ask.sagemath.org/question/51529/have-you-considered-having-a-sage-journal/.)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8914c507-52ea-4766-bf32-21236b531dc8%40googlegroups.com.