Ask Your Question

smbelcas's profile - activity

2020-09-11 11:20:43 -0500 received badge  Popular Question (source)
2020-07-24 09:28:21 -0500 asked a question rotating polytope in 4d?

So back in the day, when one had to install a viewer separately to see 3D stuff in Sage... when one plotted a 4-polytope in Sage, there were popup menu options for rotating the image in other than the visible 3 dimensions.

How does this work now? (Or how is it supposed to work?) None of my students are able to find controls of any kind; we have people on Macs, PCs, Linux. Everyone is in Sage 9.0 or 9.1.

2020-07-14 23:08:45 -0500 received badge  Notable Question (source)
2020-05-29 15:02:59 -0500 received badge  Famous Question (source)
2019-08-27 15:15:45 -0500 received badge  Popular Question (source)
2019-08-14 06:51:15 -0500 received badge  Popular Question (source)
2019-04-15 10:11:49 -0500 received badge  Popular Question (source)
2018-06-05 14:05:10 -0500 received badge  Critic (source)
2018-06-05 14:05:02 -0500 commented answer Sagemath 8.2 macOS10.12.6?

This does not address my question.

2018-05-31 08:20:04 -0500 asked a question Sagemath 8.2 macOS10.12.6?

Installer packages for Sagemath 8.2 have been posted for macOS10.11 and for macOS10.13 in the last week or so. Are there plans to have installer packages for macOS10.12 as well? (Basically I'm wondering whether I should wait a week or two to upgrade, or just go to Sagemath 8.1 for the year.)

2018-05-23 10:00:59 -0500 received badge  Popular Question (source)
2017-12-21 01:22:09 -0500 received badge  Notable Question (source)
2017-08-29 13:12:16 -0500 received badge  Nice Answer (source)
2017-08-28 22:30:00 -0500 asked a question jupyter interface vs. sagenb

I'm converting to jupyter from sagenb, and am having trouble finding equivalent interface shortcuts for a couple of features. (a) In sagenb, to get a new cell I can hit a +/wordballoon icon. In jupyter, do I have to go through the pulldown menu or is there some way to get a new cell by mousing inside the notebook? (b) In sagenb, there is a wysiwyg interface for the explanatory-text cells. In jupyter, I'm not finding one; I seem to have to code everything manually in markdown.

Am I missing something, or are those time-saving features gone?

Also: One feature I wanted that was not present in sagenb was the ability to delete output cells. (This is so I can make a lab notebook for a class without having to make a test copy and then copy/paste all the input cells to a fresh notebook.) Is that possible somehow in jupyter? I see that I can hide output cells, but it's not exactly the same.

2017-08-28 16:54:56 -0500 answered a question Seeking advice for classroom installation

My advice is to ask students with laptops to install Sage and to bring their computers to class. (These days, that's most of the class at most institutions.) This approach has the advantage that students can work with Sage outside the classroom as well, to experiment with homework and such. The disadvantage is walking the students through the installation process. I've been doing this for several years now and find it much easier and more pedagogically effective than using computer classrooms or even laptop carts.

2017-08-24 13:37:59 -0500 commented question unexpected behaviors with Sage 8.0 on Mac

If it's related to where I installed, then this is a design flaw---I installed in Applications, where (a) the instructions say to put it and (b) where my prior versions have been. Also, given that Sage 8.0 asks me to designate a default folder for Jupyter notebooks, one would think that that's where the notebooks would be saved independent of which server is being used.

2017-08-24 11:01:17 -0500 commented question unexpected behaviors with Sage 8.0 on Mac

Well, except no, the first thing I ran in 8.0 was a converted notebook. And that opened a new port with the conversion. I think that the conversion server is a separate server from regular Jupyter (there's some message about starting a new server). And that separate server is not using the same default location for Jupyter notebooks.

It seems like what's going on is that I need to - convert notebook - save notebook - quit everything - drag notebook into the correct directory - restart everything (haven't tried this yet) but still that doesn't seem to be how the conversion system should be designed---or if so, there ought to be a note on the conversion server page saying that this is what's going on.

2017-08-24 09:35:27 -0500 commented answer Sage 8.0 startup screen: broken links?

Try what? I sent email to that address and got the delivery notification failure. I went to the group, and it said I needed to join in order to be able to post. No option for being sent to moderation (which is what happens to some other google groups that I moderate).

2017-08-24 08:19:25 -0500 asked a question unexpected behaviors with Sage 8.0 on Mac

I'm having some weirdnesses with my Sage 8.0 installation. I run Sage via the app, not the command line. Here's the story.

I upgraded to Sage 8.0. It made me create a folder to contain Jupyter notebooks. I found the menu item to upgrade notebooks individually. I picked my favorite and oldest notebook ("experiments") to upgrade. I ran a semi-arbitrary cell, which worked fine (mostly---it told me to install JDK, which I have installed so didn't install, and then Sage displayed the graphics properly). I created a couple of new cells. I saved the file.

This is where things get weird.

  • The converted/saved notebook isn't showing up in the default notebook list, which is empty even on refresh.
  • The converted/saved notebook isn't showing up in the Jupyter notebooks folder.

  • The Jupyter interface that opens automatically when I start Sage 8.0 is at localhost:8888.

  • The converted notebook was somewhere under localhost:8889.
  • I restarted everything (app, Jupyter server, upgrade server) and, because the converted notebook was nowhere to be found, I re-converted it and re-ran something in it. That's showing up as under localhost:8890.
  • Nothing showed up under the Running list for localhost:8888 until I created a new notebook there (which also appeared in all the other places I expected it to appear). The first converted notebook shows up under the Running list for localhost:8889. The second converted notebook shows up under the Running list for localhost:8890.

So... I can't tell whether I don't understand the new (Jupyter) paradigm, or whether something's gone wrong with my setup. How is saving/accessing/re-accessing converted notebooks supposed to work? What should I be doing differently?

Edited to add: The converted notebooks have been found (by accident): They ended up in my root directory instead of the default Jupyter directory. Still seems like things are not acting as they should.

2017-08-24 08:16:42 -0500 asked a question Sage 8.0 startup screen: broken links?

The "Sage is starting" screen seems to have two issues:

(1) If I point my browser to localhost:8080, which is what the "Sage is starting" screen tells me the Jupyter interface should go to, I get a "connection was refused" error. I am guessing that's just a mistaken link. But what port should I be going to? 8888?

(2) It says if problems continue, to email support and gives a link of Following that link and sending an email gives an autoresponse of "Delivery Status Notification (Failure) We're writing to let you know that the group you tried to contact (sage-support) may not exist, or you may not have permission to post messages to the group." It seems to me that if people are required to join a google group in order to get support, that should be part of the instructions rather than telling users to directly email the group.

2017-06-07 14:03:41 -0500 received badge  Self-Learner (source)
2017-06-07 14:02:32 -0500 received badge  Teacher (source)
2017-06-07 14:02:32 -0500 received badge  Self-Learner (source)
2017-06-07 13:49:14 -0500 answered a question SageTeX, TeXShop, and

Here is the answer!

In Terminal, navigate to /Users/yourusernamehere/Library/TeXShop/Engines

Then pico sage.engine (to edit the file) and on line approx. 31, where the path including is given (something like /Applications/ blah blah), change the application name to (where of course you want it to be your current version number). In case you can't remember how pico works, do Ctrl-X and say Y.

(This is of course partly a note to my future self, because I will update Sage and wonder how to get SageTeX to run again, and not remember where to look to edit what file.)

2017-06-07 13:45:36 -0500 asked a question SageTeX, TeXShop, and

I'm trying to get SageTeX to work with TeXShop, but there seems to be a conflict about the name of the application.

TeXShop is able to see sagemath.sty, and Sage was working fine, and then I did the following things:

(0) Quit Sagemath.

(1) Rename to

(2) Followed instructions in Ron Bannon's Embedding Sage in LATEX with SageTEX for TEXShop Users, as follows:

(a) Went to ~/Library/TeXShop/Engines/Inactive/Sage and copied the file sage.engine to ~/Library/TeXShop/Engines/

(b) in Terminal, executed

cd /usr/local/texlive/texmf-local/tex/latex

sudo ln -s /Applications/ sagetex.sty

sudo mktexlsr

(3) Tried to compile an example of SageTex and seemingly nothing happened. I remembered I was not running Sage, so I started Sage.

(4) Got a pile of python errors in Terminal. Oh no!

(5) Looked at the TeXShop console and discovered an error message saying that Sage had gone missing and it looked like I'd tried to rename the Sage application and that this would Not Work.

(6) Renamed to

Now Sage runs fine, but TeXShop says it can't find Sage! Help?

2017-06-07 13:17:43 -0500 answered a question Installation/update issue: Another Sage Notebook server is running

Uninstall all versions of Sage, including .sage/sage_notebook.sagenb in the home directory. Then reinstall the newest version of Sage. That should work! (Or rather, past self, I just did that, and it did work.)

2017-06-07 13:16:12 -0500 commented question Installation/update issue: Another Sage Notebook server is running

The problem was that (a) in the process list, there was only one Sage-related process, and (b) the PID listed by Sage was something different.

2017-06-06 17:11:23 -0500 asked a question Installation/update issue: Another Sage Notebook server is running

I have a mystery in updating Sage on a MacBook Air. (To be precise, I'm updating it on three MacBook Airs; two of them have Sage working fine, but the third...) Both Sage 7.6 and 7.2 are installed. Sage 7.2 worked fine on this machine before today, as far as I know. I updated the operating system to Sierra and then installed Sage 7.6 (yes, the OS 12.3 version).

When I start up Sage, I get the "Starting, please wait..." page, and then the localhost:8080 page tries to load, but I get "The connection was refused when attempting to contact localhost:8080." The first thing I checked was the security settings; there are no firewalls or anything on the machine. The next thing I checked was looking at sage.log, and here there is the statement Another Sage Notebook server is running, PID 365.

Now: I quit Sage 7.6 and tried running Sage 7.2 and got the same results (meaning the same error messages.) I looked to see whether there was a process with PID 365 under Activity Monitor, and there was---followupd. I restarted the machine, started Sage 7.6, got the same results, and... now PID 365 is a WiFiproxy (because I've restarted the machine) so that is definitely not a Sage notebook server.

I will completely believe that a past user of this machine (possibly me) has done something stupid that is causing the problem... but what?

2017-01-08 05:30:23 -0500 received badge  Notable Question (source)
2017-01-08 05:30:23 -0500 received badge  Popular Question (source)
2016-02-09 12:36:36 -0500 received badge  Popular Question (source)
2015-03-26 22:07:45 -0500 marked best answer how to contribute tutorial/notebook guide?

I'm nearly done writing a notebook that gives an overview of the Sage polytope commands for people who want to compute a la Gr\"unbuam / Brondsted.

Is there a standard way to make this available to the community? Of course I can just post it on my webpage, but people are less likely to find it there than if it's somehow in some repository somewhere. (True?)

2015-03-26 22:07:43 -0500 marked best answer projection_direction broken for polytopes?

Some years back (probably 2 or 3) Marshall very kindly sent me a notebook of polytope commands. In that notebook there were the following:

poly = polytopes.twenty_four_cell()[2,5,11,17])

These last two commands produced different green diagrams... two years ago. Today, they produce identical blue diagrams.

I search "sage projection_direction" and seems to indicate that the projection_direction option is still valid (not deprecated? should work? what's the correct phrasing here?).

Anyone know what's up with that?

2015-03-26 22:07:40 -0500 marked best answer diacritical marks?

How do we do diacritical marks in Sage? They don't work in math mode in LaTeX, so I don't see how to get them in Sage and google doesn't turn up any results more recent than a 2008 complaint.

2014-11-23 04:07:56 -0500 received badge  Taxonomist
2014-09-23 20:35:37 -0500 received badge  Famous Question (source)
2014-07-23 19:49:25 -0500 commented answer How can I display a polytope in SageMathCloud?

Yes. That is in fact exactly what shows up. Thank you! Now I have 4 students for whom polytopes are possible.

2014-07-23 19:44:54 -0500 marked best answer How can I display a polytope in SageMathCloud?

So... I have students who cannot install sage locally. Thus they use sagecloud instead. However, graphics don't show up there. Instead, some wack text string that semi-mimics the command given shows up. What's up with this? I have no idea what to tell the students...