Ask Your Question

castal's profile - activity

2019-08-02 09:31:01 +0100 received badge  Famous Question (source)
2019-02-28 15:55:48 +0100 received badge  Good Answer (source)
2019-02-25 13:52:24 +0100 received badge  Nice Answer (source)
2019-02-21 02:34:27 +0100 answered a question Sage takes very long to start—why?

I've been wrestling with this ever since 10.14, "Mojave" came out. I gave an answer to this question, sagemath 8.6 could not work normally on mac 10.14.3 with my own workaround, but your suggestion,, seems to work just fine for me and is easier to do. I have just now written a shell script, made it executable with chmod a+x and put it in the dock, so that is a big improvement!

As I said in my previous answer, I have mentioned this before in the sage-devel forum. I will raise the matter there again if 8.7 doesn't clear it up, and your workaround would seem to point to a very easy solution to this problem.

2019-02-10 00:35:37 +0100 received badge  Enthusiast
2019-02-09 06:22:40 +0100 commented question sagemath 8.6 could not work normally on mac 10.14.3

For my part, I am using on 10.14.3. But this has been a problem ever since Sage 8.4. The common denominator has been "Mojave", in versions 10.14, 10.14.2 and now 10.14.3. It looks like Sage 8.7 is about to be released, and if this hasn't cleared up, I guess I'll mention it again on the sage-devel forum.

2019-02-09 06:08:17 +0100 commented answer sagemath 8.6 could not work normally on mac 10.14.3

The Sage icon on my menu bar (when it finally appears!) lists 'View Log" as an option right above "Preferences...". I am using Safari, but I don't think it should matter. It's still good to know how to invoke the console directly in case the Sage icon doesn't appear. You can set the default browser from the "Preferences..." option on the menu bar, but that's only after you have managed to get the Sage icon to appear in the first place...

2019-02-08 01:15:02 +0100 received badge  Editor (source)
2019-02-08 01:13:48 +0100 answered a question sagemath 8.6 could not work normally on mac 10.14.3

I have also been having this same problem ever since upgrading to Mac OS 10.14, "Mojave".

I have since found a workaround that isn't too painful. After starting up the double-clickable app, use the Mac terminal application to execute the Mac Console utility:

open ~/Library/Logs/sage.log

At the end of the log file, you should see a message:

Copy/paste this URL into your browser when you connect for the first time, to login with a token:

After pasting the URL into your browser, you should immediately see the notebook interface, and you can then use Sage. Despite what the message says, you will still have to do the copy/paste operation on subsequent Sage invocations.

If you wait for about a minute or two, the Sage icon will eventually appear on the menu bar. If you are patient, you can skip the copy/paste step and wait a couple of minutes for the app to open by itself.

There are also ways of opening the notebook directly from the command line, see Running the notebook.

2019-01-18 00:07:59 +0100 received badge  Notable Question (source)
2019-01-16 13:12:13 +0100 received badge  Nice Answer (source)
2019-01-16 04:17:44 +0100 answered a question Identity in a quotient Group

You can compute a rewriting system by: rewrite = H3.rewriting_system()

Then rewrite.reduce(a1*b1/a1/b1*a2*b2/a2/b2*a3*b3/a3/b3) gives you 1 as expected. But the rewriting system is not confluent by default, and it only has the one rule: a1*b1*a1^-1*b1^-1*a2*b2*a2^-1*b2^-1*a3*b3*a3^-1*b3^-1 ---> 1.

In general, it is not possible to guarantee that the Knuth-Bendix procedure will terminate to produce a confluent rewriting system. This is why the system cannot automatically reduce arbitrary expressions. In fact, it seems that Knuth-Bendix fails to terminate on your example. See the make_confluent() documentation for more information.

2019-01-07 13:58:09 +0100 received badge  Nice Answer (source)
2019-01-05 14:19:12 +0100 received badge  Teacher (source)
2019-01-04 21:43:13 +0100 answered a question SageMath 8.5

This may be the issue reported on the sage-devel group, Sage 8.5 .dmg crashing macOS 10.14.2 at end of verifying .dmg. It turned out to be a problem related to using a virus scanner.

2018-12-17 19:24:08 +0100 received badge  Popular Question (source)
2018-11-04 13:38:05 +0100 received badge  Student (source)
2018-10-30 08:42:00 +0100 asked a question problem running Sage on MacOS 10.14, Mojave

I recently installed on my Mac and ran it under macOS 10.13, High Sierra with no problems. A few days later I noticed that became available, so I installed that version, too, again with no problems under macOS 10.13, High Sierra. But then a few days later I upgraded my MacOS to 10.14 Mojave, and I have had problems getting Sage to run properly.

After clicking on the Sage app, the browser icon "bounces" in the dock for a few minutes before stopping altogether, and Sage never starts at all.

Oddly enough, I have actually been able to run both sage-8.4.rc1-OSX_10.13.6 as well as my older copy of Sage 8.3 under Mojave if I wait for a minute or a minute and a half for the browser to start and then another few seconds for Sage to start. But neither sage-8.4-OSX_10.13.6-x86_64 nor sage-8.4-OSX_10.11.6-x86_64 can be persuaded to run at all.

The long startup time with sage-8.4.rc1 is a very minor issue, and I have been getting along pretty well with it. I am not particularly enamored of the Mojave release, and I could always reinstall High Sierra if necessary.

Has anyone else seen these problems? If so, I thought maybe the developers would like to know about it.

2014-01-18 22:41:10 +0100 received badge  Supporter (source)
2014-01-18 22:38:29 +0100 answered a question get graph combinatorial embedding from position of vertices

You just need to add one extra line:


Here is your code again with the above line inserted:

H = Graph({0:[1,3,5,4],1:[0,2,3],2:[1,4,5],3:[0,1],4:[0,2,5],5:[0,2,4]})




The resulting output is:

{0: [1, 3, 5, 4], 1: [2, 3, 0], 2: [4, 5, 1], 3: [0, 1], 4: [0, 5, 2], 5: [0, 2, 4]}