Re: [sage-support] Building on Catalina

2020-04-10 Thread David Einstein
Mac OS 10.15.4 Xcode Version 11.3 beta (11C24b) On Friday, April 10, 2020 at 12:07:09 AM UTC-4, Dima Pasechnik wrote: > > On Fri, Apr 10, 2020 at 5:23 AM David Einstein > wrote: > > > > Sorry, that was a side effect of me running one of the internal scripts &g

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
, 2020 at 6:35:53 AM UTC-7, David Einstein wrote: >> >> I did a brew install pkg-config and was notified that version 0.29.1 was >> already installed, but I could upgrade to 0.29.2, so I did so. Then did a >> `make distclean` and then make and got marginally further. Now

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
Apple just gave me a supplemental Catalina update, and now sagelib is building. If this works, I'll attribute it to some Apple problem. On Thursday, April 9, 2020 at 9:37:56 AM UTC-4, David Einstein wrote: > > davideinstein@Davids-MacBook-Pro-3 sage % pkg-config --modversion libpng >

Re: [sage-support] Building on Catalina

2020-04-09 Thread David Einstein
bpng is > found via pkg-config > Thanks > Dima > > On Thu, Apr 9, 2020 at 10:58 AM David Einstein > wrote: > > > > Here is the config.log. > > > > On Wednesday, April 8, 2020 at 10:32:51 PM UTC-4, Dima Pasechnik wrote: > >> > &

[sage-support] Building on Catalina

2020-04-08 Thread David Einstein
I am trying to build on OSX Catalina, and everything seems to go well until it builds sagelib, and I get a libpng not found. Everything built nicely a few weeks ago. I am tempted to blame the upgrade to catalina, but I also upgraded hombrew and XCode. Any ideas? Here is the final output from

[sage-support] Find an edge in an undirected graph given two edges

2018-10-18 Thread David Einstein
Given an undirected graph g, and two vertices v1 and v2 such that there is an edge connecting them, is there a simple way to figure out which one of (v1, v2) or (v2, v1) will be the edge that occurs in g.edges(labels=False)? -- You received this message because you are subscribed to the

[sage-support] Weird comprehension behavior.

2016-05-09 Thread David Einstein
Ok I'm running a 7.2.rc1 (built by myself) on OSX and am seeing some weird behavior. I define a function def top_points(n): d = n + 1 return set([(a/n,b/n,c/n,0) for a in range(d) for b in range(a+1) for c in range(a+1)]) Now if I do sage: [len(top_points(i+1)) for i in

[sage-support] Re: Is there some way of testing that Maxima simplified something?

2015-05-31 Thread David Einstein
).is_different_from(y): return floor(y) else: give up I suspect that code like this would be fairly common in the _eval methods of new functions. On Sunday, May 31, 2015 at 11:47:15 AM UTC-4, Nils Bruin wrote: On Sunday, May 31, 2015 at 8:08:52 AM UTC-7, David Einstein wrote: Given a symbolic expression

[sage-support] Is there some way of testing that Maxima simplified something?

2015-05-31 Thread David Einstein
Given a symbolic expression u is there some way to tell if u.simplify() accomplished something? All I can think of is comparing the string representations, and that seems a bit silly. For example, sage: u = sin(x)^2 + cos(x)^2 sage: u.simplify() cos(x)^2 + sin(x)^2 sage: u.full_simplify() 1

[sage-support] Did something happen with matrix_plot in 6.7

2015-05-20 Thread David Einstein
In 6.6 if I did sage: matrix_plot(matrix([[1,2,3,4],[4,3,2,1]])) I'd get a boring image (a bunch of squares) In 6.7 I just get an axis. This happens on my Mac OSX 10.10.3 and My linux machine (some recent Fedora). Both sages are built from source. There do not seem to be any open trac

[sage-support] Re: sage 6.6: error building r

2015-04-22 Thread David Einstein
I too am having this problem. I recently upgraded Xcode to 6.3.1 and am running OSX 10.10.3. I have homebrew, but have removed it and all the /usr/local stuff from my environment. Also I am using the sage built gcc (I set SAGE_INSTALL_GCC=yes), which should (in theory) moot the homebrew

[sage-support] Re: sage 6.6: error building r

2015-04-22 Thread David Einstein
, April 22, 2015 at 5:35:54 PM UTC-4, David Einstein wrote: I too am having this problem. I recently upgraded Xcode to 6.3.1 and am running OSX 10.10.3. I have homebrew, but have removed it and all the /usr/local stuff from my environment. Also I am using the sage built gcc (I set