Re: [sage-support] Sagemath 9.5 kernel crash from GF(2) empty vector dot product

2022-05-05 Thread 'Justin C. Walker' via sage-support



> On May 5, 2022, at 21:04 , Tracy Hall  wrote:
> 
> The following two lines crash the kernel in 9.5 but not 9.4:
> 
> xx = vector(GF(2), [])
> xx * xx
> 
> It works correctly (with answer 0) over other finite fields or over QQ.
> 
> Installation is Sagemath 9.5 in Ubuntu running under WSL for Windows; tested 
> also in CoCalc Sagemath 9.5 (where it crashes) and CoCalc Sagemath 9.4 (where 
> it correctly produces 0).

I can confirm that if I run these two lines, the following happens:

9.4 (built locally, from scratch): the printed result is 0

9/.5 (the version supplied by Marc Culler): SIGSEGV [a segmentation fault in 
sage] no traceback supplied

I am running on an iMac Pro (18 core Xeon), with macOS 10.13.6.

I assume by “the kernel” you mean Sage, not the linux kernel.

HTH 

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income

"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
  - Homer J Simpson



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3BF1DFBD-30D2-44A2-B175-58B985DB93EA%40mac.com.


Re: [sage-support] Problem in running SageMath application

2022-01-14 Thread 'Justin C. Walker' via sage-support



> On Jan 14, 2022, at 09:08 , Rahul Naik  wrote:
> 
> Guys, I have just installed SageMath for the first time. I am unable to run 
> any command . i am not even able to save the document. Please Help

We are here to help, but in order to do that, it would help us to know what is 
going wrong.  You have not given us much to go on.

The following might help us:
- what version of sage?
- how did you install it (binary package from our website; similar from a 
package manager from your OS; compile from source)?
- what hardware and OS (including OS version)?
- how do you start sage (command line; notebook)?
- what commands did you try, and what were the results.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

If you're not confused,
You're not paying attention




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/466C08F7-0B82-4F20-80B4-88041C408C27%40mac.com.


Re: [sage-support] Memory issues when running simple program

2021-09-02 Thread 'Justin C. Walker' via sage-support
FWIW, I ran this on a 2019 Mac Book Pro (8-core 2.4 GHz Core i9) with 64GB of 
memory and ~4TB of disk.

The code thrashed the disk with more paging than I have seen in a long time 
with this much disk.  As Nils guesses, it’s the parametric_plot() call that 
brings things to a halt.  I finally killed it after about 4 hours.

Also, memory usage for this python process seemed to stabilize for the last 2-3 
hours.

HTH

Justin

> On Sep 2, 2021, at 10:28, Britt Cagnina  wrote:
> 
> I'm running SageMath 9.2 on windows (and also tried 9.0 on Ubuntu). My specs 
> are: Intel i5-10600K CPU @ 4.10GHz, 32.0 GB RAM, and a RTX 3060 graphics card.
> 
> When I run the following program, it seems to starts leaking memory until all 
> 32 GB is consumed, then crashes. I may be doing something silly in the below 
> example (though it is roughly copy/paste from 
> http://sporadic.stanford.edu/reference/plot3d/sage/plot/plot3d/tachyon.html)
> 
> Or perhaps I simply don't have enough memory--which would be odd considering 
> I can ray trace much more complicated objects on Blender with no trouble.
> 
> f = lambda t: (t, t^2, t^3)
> t = Tachyon(camera_center=(5,0,4))
> t.texture('t0', ambient=0.1, diffuse=0.9, specular=0.1,  opacity=1.0, 
> color=(1.0,0,0))
> t.light((-20,-20,40), 0.2, (1,1,1))
> t.parametric_plot(f, -10, 10,'t', min_depth=20, max_depth=40)
> t.save(filename='parametric.png', verbose=0, extra_opts='')
> 
> Thanks for the time,
> Britt
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/9bc2b2c9-2e87-484f-97b8-a2541f2ed14dn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/9C689B91-8971-46FC-B74A-375629408AC6%40mac.com.


Re: [sage-support] Adventure Academy Takes Math to the Next Level

2020-05-30 Thread 'Justin C. Walker' via sage-support
My apologies.  I have no idea how this arrived in a Sage mailing list (other, 
of course, than the fact that I appear to have sent it here, which is the 
mystery.)

> On May 30, 2020, at 12:01 , 'Justin C. Walker' via sage-support 
>  wrote:
> 
> Idiots
> 
>> On May 30, 2020, at 04:31 , Adventure Academy 
>>  wrote:
>> 
>> 
>> 
>> Get Your First Month Free
>> 
>> 
>> MATH
>> 
>> Adventure Academy takes math to the next level!
>> For Kids 8–13
>> 
>> Young scholars don’t shy away from challenging school subjects when they’re 
>> made into games-and math makes for great games!
>> 
>> With interactive activities, short and fun videos, and real-world examples, 
>> students learn to apply mathematics to everyday problems. And with engaging 
>> activities that guide them to explore new concepts, they can respond to 
>> challenges using problem-solving steps.
>> 
>> 
>> The Adventure Academy math curriculum includes these essential topics, 
>> concepts, and skills:
>> 
>>  • Place Value
>>  • Whole Number Operations
>>  • One- and Two-step Word Problems
>>  • Measurement
>>  • Graphs
>>  • Geometry
>>  • Famous Formulas
>>  • And much more…
>> 
>> At Adventure Academy, math is no problem. It’s a chance to earn rewards, 
>> unlock potential, and make learning especially exciting.
>> 
>> 
>> Get Your First Month FREE!
>> 
>> Unsubscribe from Adventure Academy emails.
>> Please review our Privacy Policy
>> 
>> TM & © 2020 Age of Learning, Inc.
>> P.O. Box 10458, Glendale, CA 91209
>> 
>> 
> 
> --
> Justin C. Walker, Curmudgeon-At-Large
> Director
> Institute for the Enhancement of the Director's Income
> 
> "Weaseling out of things is what separates us from the animals.
> Well, except the weasel."
>  - Homer J Simpson
> 
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/F015BF19-34BD-4D8C-BC13-DACB5B89E4A0%40mac.com.

--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds

186,000 Miles per Second
Not just a good idea:
  it's the law!


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/EE3D1CF2-0E5C-4052-BD83-E9FB332F4F50%40mac.com.


[sage-support] Re: Adventure Academy Takes Math to the Next Level

2020-05-30 Thread 'Justin C. Walker' via sage-support
Idiots

> On May 30, 2020, at 04:31 , Adventure Academy 
>  wrote:
> 
> 
>  
> Get Your First Month Free
>  
> 
> MATH
> 
> Adventure Academy takes math to the next level!
> For Kids 8–13
> 
> Young scholars don’t shy away from challenging school subjects when they’re 
> made into games-and math makes for great games!
> 
> With interactive activities, short and fun videos, and real-world examples, 
> students learn to apply mathematics to everyday problems. And with engaging 
> activities that guide them to explore new concepts, they can respond to 
> challenges using problem-solving steps.
> 
> 
> The Adventure Academy math curriculum includes these essential topics, 
> concepts, and skills:
> 
>   • Place Value
>   • Whole Number Operations
>   • One- and Two-step Word Problems
>   • Measurement
>   • Graphs
>   • Geometry
>   • Famous Formulas
>   • And much more…
> 
> At Adventure Academy, math is no problem. It’s a chance to earn rewards, 
> unlock potential, and make learning especially exciting.
> 
>  
> Get Your First Month FREE!
>  
> Unsubscribe from Adventure Academy emails.
> Please review our Privacy Policy
> 
> TM & © 2020 Age of Learning, Inc.
> P.O. Box 10458, Glendale, CA 91209
> 
>  

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income

"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
  - Homer J Simpson



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/F015BF19-34BD-4D8C-BC13-DACB5B89E4A0%40mac.com.


Re: [sage-support] tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 is not downloading SageMath

2020-05-29 Thread 'Justin C. Walker' via sage-support



> On May 29, 2020, at 13:35 , Joshua Meadowcroft  
> wrote:
> 
> um, I'm not surprised that the file or directory can not be found on my 
> machine.  Because it hasn't been downloaded yet.  That's what I'm attempting 
> to do.  I used tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 to download Sage 
> last week on an identical different machine and it worked perfectly. So, it's 
> odd that the exact command is not doing it now.

Well, perhaps Ubuntu has special mojo that would make that work, but on any 
Unix-like system I am aware of, what I saw in your attached snap of the command 
and output means to me that the command was expecting the file to be in the 
current directory.  Nothing shows me that the command would know where in the 
world to look for the tarball other than locally.

If it did work and now doesn’t, it’s beyond my experience.

In your following message, you say “Unable to sagemath download pre-built 
binary from site”.  Is that literal output from tar?  It’s pretty weird 
phrasing, in the first place.  And additionally, how does “it” know what the 
site is, and that the tarball contains a pre-built binary?

Sorry I can’t be of more help.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income

When LuteFisk is outlawed,
Only outlaws will have LuteFisk




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1343AE75-10CA-4B6E-8646-D8AFBDCF4F82%40mac.com.


Re: [sage-support] tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 is not downloading SageMath

2020-05-29 Thread 'Justin C. Walker' via sage-support



> On May 29, 2020, at 12:18 , Joshua Meadowcroft  
> wrote:
> 
> Trying to download Sage on Linux Ubuntu but the following command isn't 
> working.  What am i doing wrong?  Please see attached picture.
> 
> tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 

If you check the results of this command, you will see what the problem is:

 "tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2: Cannot open: no such file or 
directory"

This means that the “tar” command is not able to locate the file “sage-….” in 
the current directory.  You either need to run this command in the directory 
containing the file, or give the “full” file name to the command.

HTH

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
--








-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/634FC636-6876-4DA4-B087-1CC99BF318F4%40mac.com.


Re: [sage-support] Sage Crash Report

2020-04-13 Thread 'Justin C. Walker' via sage-support



> On Apr 13, 2020, at 14:59 , HANG HUANG  wrote:
> 
> I am trying to install Sage version 9.0 on the High performance cluster at my 
> university, which runs Linux (CentOS 7). I am installing to my local 
> "scratch" folder since I do not have administrative permissions. I am trying 
> to install from source code as the installing from pre-built binaries also 
> gives me some other error. I was able  to run ./configure without any issues 
> and then when i did make, I received the following log file (attached) and 
> error: 
> 
> Error building Sage.
> 
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
> 
> * package: flint-2.5.2.p5
>   log file: /scratch/user/hhuang235/sage-9.0/logs/pkgs/flint-2.5.2.p5.log
>   build directory: 
> /scratch/user/hhuang235/sage-9.0/local/var/tmp/sage/build/flint-2.5.2.p5
> 
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
> 
> make[1]: *** [all-start] Error 1
> make[1]: Leaving directory `/scratch/user/hhuang235/sage-9.0'
> make: *** [all] Error 2

Checking the log file for flint that you attached, there is this:

ccache: error: Failed to create temporary file for 
/home/hhuang235/.ccache/2/9/8e02d78d68b9638edd65c3e5744171-2001.manifest.tmp: 
Disk quota exceeded

I think that should explain the problem you are having.  Is the “scratch 
folder” on a disk of small size, or does it have a small amount of free space?  
The source build of Sage does take a lot of space.  On my system, Sage 9.0 uses 
about 7.5 GB (when complete).

HTH

Justin

--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds

186,000 Miles per Second
Not just a good idea:
  it's the law!


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/8F194F5B-3706-4290-AB20-9E16425014D4%40mac.com.


Re: [sage-support] Does SageMath work on Mac OS 10.14.6

2020-02-25 Thread 'Justin C. Walker' via sage-support
I have all recent Sage versions running on macOS versions 10.13, 10.14, and 
10.15.

All built from a clone of the develop tree, and built with few if any issues.

I build *without* the aid of HomeBrew, MacPorts, or any of the other “package 
management” schemes available.

HTH

Justin

> On Feb 24, 2020, at 16:04 , seriously  wrote:
> 
> Seriously, has anyone got one of the current releases of Sage to work on any 
> Mac platform?
> 
> I tried several times, lately with version 8.8 for 10.14.5.  I dropped the 
> binary in Applications.
> It can start up then - it opens a browser window which just stalls; it has a 
> drop-down menu called "Terminal Session",
> which doesn't do anything, and if I go directly into the App and execute 
> ./sage, all kinds of errors appear
> (many about permissions) and it crashes.
> 
> Unfortunately I want to run a program built on this platform, and really need 
> a working version.  
> Any ideas are much appreciated.
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/c5b789fb-04de-4249-a0a9-c26fe7cf23dc%40googlegroups.com.

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
   just drags on and on.  F



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3F020F30-4144-49F7-844C-EA1A3D75489D%40mac.com.


Re: [sage-support] "SageMath is damaged and can't be opened" on macOS 10.14

2020-01-10 Thread 'Justin C. Walker' via sage-support



> On Jan 10, 2020, at 09:18 , kcrisman  wrote:
> 
> 
> 
> On Friday, January 10, 2020 at 3:18:17 AM UTC-5, Dima Pasechnik wrote:
> On Fri, Jan 10, 2020 at 8:01 AM Szabolcs Horvát  wrote: 
> > 
> > I just installed the app version of SageMath 9.0 on macOS 10.14. When I try 
> > to launch it, I get "SageMath is damaged and can't be opened." Version 8.9 
> > worked fine on the same macOS version. 
> > 
> > Do others have this problem too? It would be surprising to me if this were 
> > a universal problem, as it would have certainly been noticed before 
> > publishing the distribution ... 
> > 
> > Is there a workaround? 
> 
> don't use the app version. Use a "normal" terminal version. 
> > 
> > 
> > 
> > Is SageMath struggling with getting enough developer resources? Recently 
> > one has to go through more and more hoops to be able to use it ... it's no 
> > longer possible to just download a binary and start it like any normal app. 
> > The last few versions already took minutes to start on macOS unless they 
> > were launched manually from the command line. 
> 
> Apple keeps introducing new security features that are supposed to 
> make MacOS "safer" :-) 
> 
> We don't have any active developers who are experts in MacOS specifics. 
> And no paid engineers to look into this sort of unpleasant stuff, 
> since the end of OpenDreamKit grant few months ago. 
> 
> I think the app version must be pulled, I have been saying this for some 
> time. 
> 
> Which app version was used?   I just tested the one I built on my own 
> computer and I was able to get it going.  However, that is OS X 10.11 - I 
> don't have access to the newer versions.

FWIW, I am running the Sage 9.0 app on macOS 10.13.6 (it appears to have been 
built for 10.11, according to the name).

I will be trying later versions of the app on 10.13.6, 10.14.6 and (I think) 
10.15.x later today or this weekend.

Justin

--
Justin C. Walker
Director, Institute for the Absorption of Federal Funds
--
Taxes, n.:
   Of life's two certainties, the only one
   for which you can get an extension.
--


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6BDA7C45-0ADD-43F2-904E-83599D64FB2E%40mac.com.


Re: [sage-support] How to define variables over integer

2019-05-23 Thread 'Justin C. Walker' via sage-support



> On May 8, 2019, at 06:14 , Santanu Sarkar  
> wrote:
> 
> I know how to define variables over BooleanPolynomialRing.
> This is as follows.
> 
> n=4
> V=BooleanPolynomialRing(n+1,['z%d'%(i) for i in range(n+1)] )
> V.inject_variables()
> 
> Can we define similar code over integers (ZZ) or rationals (QQ)?
> Also I want to store variables in an array like Z=[z0,z1,z2,z3]
> but it should be automatic. I will change only n.

Check out PolynomialRing.  Typing
 PolynomialRing?
will give you some documentation.

HTH

Justin

--
Justin C. Walker
Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
--
Build a man a fire and he'll be warm
for a night.
Set a man on fire and he'll be warm
for the rest of his life.



-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/BBF0F4D5-0ABA-4B47-B730-DD38A2F23B3C%40mac.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] How to permute a list of elements in sage

2019-05-19 Thread 'Justin C. Walker' via sage-support



> On May 19, 2019, at 20:29 , jianrong  wrote:
> 
> Dear All,
> 
> I am trying to write a function in sage to permute a list of elements.
> 
> def f(i, v1):
> v=[]
> for j in v1:
>v.append(j)
> 
> print(v)
> v[i+1]=v1[i]
> v[i]=v1[i+1]
> return v
> 
> But the above codes do not work. I couldn't figure out the mistake. Thank you 
> very much.

It would help to know what “codes do not work” means.  Do you get an error 
message, or does the function f() not produce the result you want.

It may be that you do not have much experience with the Python programming 
language.  There is extensive documentation available at .

In case your copy of the code you are writing was exactly what you used, the 
problem may be that you are not following the indentation rules that Python 
uses.  This code, which is the same as yours, except for indentation, works for 
me:

def f(i, v1):
v=[]
for j in v1:
v.append(j)
print(v)
v[i+1]=v1[i]
v[i]=v1[i+1]
return v

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

Men are from Earth.
Women are from Earth.
   Deal with it.




-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/47CF431B-A92F-4FC5-8A3A-17B83E4B365D%40mac.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] A case of immaculate conception...

2019-03-20 Thread 'Justin C. Walker' via sage-support
Oy!  Mon dieu!

> On Mar 20, 2019, at 14:00 , Simon King  wrote:
> 
> Hi John,
> 
> On 2019-03-20, john_perry_usm  wrote:
>> ...
>> 
>> 2) In Catholic theology it is not actually "necessary" for Mary to be free 
>> of original sin; rather, it is "fitting".
> 
> Right, "fitting" may be the better wording. And concerning the necessity of
> the doctrine of immaculate conception: 13th till 19th century (before pope
> Pius IX. turned immaculate conception into a dogma), the Dominicans provided
> alternative facts, namely "Sanctificatio Mariae" instead of immaculate
> conception. Whereas virginal conception is accepted doctrine in Catholicism,
> Protestantism and Islam, immaculate conception is dogma in Catholicism, not
> accepted as a dogma in most other branches of Christian theology, and
> irrelevant to Islam.
> 
> So, back to SageMath, hoping to not hurt people's feelings: According to
> the scripture (SageMath documentation), in
>   sage: f(x,y) = x^2+y
> x and y are virginally conceived by the symbolic ring through the power
> of the preparser, which is commonly accepted by SageMath's followers.
> However, the scripture does not assert that the symbolic ring is free of
> sin (bugs), and thus not all followers agree on the immaculate conception
> of the symbolic ring.
> 
> Best regards,
> Simon
> 
> -- 
> 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@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
--








-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Sage is extremely slow to start on macOS Mojave

2019-03-01 Thread 'Justin C. Walker' via sage-support



> On Mar 1, 2019, at 10:30 , Dima Pasechnik  wrote:
> 
> On Fri, Mar 1, 2019 at 1:15 PM Szabolcs Horvát  wrote:
>> 
>> I am using the app version of Sage 8.6 on macOS Mojave 10.4.3.  It is 
>> extremely slow to start up. It takes multiple minutes.
>> 
>> Running the sage or Sage executables found within the app bundle is fast—it 
>> takes only a few seconds, as it should.  It is launching the app the normal 
>> way (double click) that does not work.
>> 
>> Is this a known problem and is there a solution?
> 
> The known problem is that the app version has not been looked at by a
> MacOS developer for years. It might be using something obsolete.
> 
> We are now trying to offer a Google Summer of Code project to work on it.
> 
> If the app version is so bad then we perhaps should just pull it.

I have been unable to get the .app (8.4 or 8.5) working on 10.14, but it works 
just fine on earlier versions of macOS, so I don’t think pulling it is a great 
idea.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
---


-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] algorithme

2019-01-19 Thread 'Justin C. Walker' via sage-support



> On Jan 19, 2019, at 17:23 , Anton Sherwood  wrote:
> 
> On 2019-1-19 15:52, MAMANE DJAMILOU Salissou Dango wrote:
>> Bonjour,
>> je suis un tous nouveau utilisateur de sagemath. Je maîtrise les opérations 
>> indépendantes. Mon souci se trouve au nivaux des algorithmes. je n'arrive, 
>> jusque là pas à comprendre comment programmer avec sageMath (voir les 
>> ''screenshots'').
>> merci de m'aider à démarrer.
> 
> An attempt at translation:
> Good day,
> I am a very new user of sagemath.  I am mastering independent operations.  My 
> trouble is on the level of algorithms.
> So far, I cannot understand how to program with sageMath (see the 
> screenshots).
> Thanks for helping me to get started.

The problem is the use of “\”.  Python programs are structured by indentation, 
so the way to type the program in an editor, at the command line prompt, or in 
the notebook, is as follows:

def fac(n):
if n == 1:
print ‘bonjour’
else:
print “bonsai”

The OP was entering the code almost correctly, but the “\” caused the parser to 
ignore the new-line, and string everything together as one line.  

HTH

Justin

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
   just drags on and on.  F



-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] SageMath 8.5 Crash Report

2018-12-29 Thread 'Justin C. Walker' via sage-support



> On Dec 29, 2018, at 11:04 , Adam O Hausknecht  wrote:
> 
> Hi,
> 
> I have attempted to install SageMath 8.5 on a 15" 3.1 GHz Intel Core i7 16GB 
> 2017 MacBook Pro running Mac OS 10.14.2
> 
>   • First the App version via DMG. This caused my MacBook Pro to restart 
> while attempting to open the .DMG
>   • Second via the Terminal version via .tar.bz2. This generated the 
> arched crash log when attempting to launch via the Terminal

I have roughly the same system as you, with 10.14.2.  I have successfully 
installed the 8.5 “.app” from the DMG without issue (although I can’t seem to 
start sage in a terminal window).  

I have yet to install from the tarball, but it sounds like you unpacked the 
tarball and then tried to run “./sage”.  Is that correct?  If so, that does not 
work, because the tarball contains only source.  To use it, you have to first 
build it, which, AFAIR, takes about 1-2 hours if you include testing.  It also 
requires you to have the Xcode command-line tools installed.

If you are not up for building from scratch, there should be a .dmg of a 
pre-built 8.5 version for 10.14 at the same place you got the .app version.  
That may work better for you.

If some of that is unclear, or you want more pointers/info, reply back.  There 
is also information available on the sagemath website.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

If you're not confused,
You're not paying attention




-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] different result from file or at prompt

2018-11-13 Thread 'Justin C. Walker' via sage-support
Try returning the plot at the last line, and run the procedure again
  return complex_plot(…)

I think the problem is that your procedure swallows the result of the plot.

HTH

> On Nov 13, 2018, at 20:38 , Michael Beeson  wrote:
> 
> def nov13():
>   var('M,N,z')
>   f = (M^2-3*N)*(-i *sqrt(3)-1) *z^3 
>   f = f + (M^2 *(-i *sqrt(3) +3) + 3*N*(-i *sqrt (3) - 1))*z^2 
>   f = f + (M^2 *(i *sqrt(3)+3) + 3*N* (i* sqrt(3)-1))*z + (M^2-3*N)* (i* 
> sqrt(3)-1)
>   g = f.substitute(M=6,N=11)
>   complex_plot(g, (-3, 3), (-3, 3))
> 
> if this code is put in a file and the file is "attached"  I get no plot, but 
> if 
> I paste the function body in to a prompt then I do get a (very nice) plot.  
> I expected it would run from an attached file, which is how I usually use 
> SageMath.
> Can someone explain why I don't get a plot that way?
> 
> 
> -- 
> 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@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
---
--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
  - Casey Stengel
--



-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] sage.app question

2018-10-23 Thread 'Justin C. Walker' via sage-support
Hi, all,

This may be something obvious, but I was surprised when, using a terminal 
session launched from sage.app-8.4, I could not “%attach”.

The complaint was “no module named attach”.

The full traceback is
---
ImportError   Traceback (most recent call last)
 in ()
> 1 get_ipython().magic(u'attach')

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
 in magic(self, arg_s)

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
 in run_line_magic(self, magic_name, line)

 in attach(self, s)

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython/core/magic.pyc
 in (f, *a, **k)

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/repl/ipython_extension.pyc
 in attach(self, s)

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
 in ex(self, cmd)

 in ()

/private/tmp/SageMath-8.4.rc1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/repl/load.pyc
 in load(filename, globals, attach)

ImportError: No module named attach

Help!

And, in advance, Thank!

Justin

PS: This is on macOS 10.13.6.

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
  just drags on and on.  F





--
Justin C. Walker
Curmudgeon-at-large
--
Network, n., Difference between work
charged for and work done



-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.