Develop Sage inside GitHub Codespaces and/or other "cloud" options?
190 views
Skip to first unread message
Jing Guo
unread,
Jun 3, 2023, 7:16:22 AM6/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Hello everyone,
Last year, I developed Sage inside Linux VM (Debian, to be specific) on my old Macbook Pro, so the compiling time was not really good, or was not what it could have been.
Recently, I learn that there exist some services like GitHub's Codespaces, which seems to provide develop-and-build environments on their own machines(?). I was wondering that if anyone have had some experience with these services. If so, do you have any recommendations for alternatives other than the GitHub one? Or would you say that the GitHub one is good enough? (Sage documentation seems to suggest GitPod)
Thank you for your time.
Jing
Dima Pasechnik
unread,
Jun 3, 2023, 8:01:00 AM6/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
I have not. I am exploring different options and weighing the pros-and-cons.
Dima Pasechnik
unread,
Jun 3, 2023, 8:26:01 AM6/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-...@googlegroups.com
On Sat, Jun 3, 2023 at 1:19 PM Jing Guo <dev....@gmail.com> wrote:
>
> I have not. I am exploring different options and weighing the pros-and-cons.
Another option is cocalc.com - although you'd rather pay for
subscription, to allow development environments.
Apart from this, I am only aware of GitPod and Codespaces.
Needless to say, you can also set up a sufficently big VM on a cloud
service and use it, but most probably you'd need to pay,
as Sage is resource-hungry.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
I used github codespaces for sage development for some until since I only had a weak laptop with me. It worked quite well, actually better than gitpod (mainly due to better vscode integration). But you can easily try it out yourself. Just go to https://github.com/codespaces/new?hide_repo_select=true&ref=develop&repo=597660615 (or use Code > Codespaces from https://github.com/sagemath/sage if the direct link is not working) and create a codespace.
You may need to select the 4 core machine type, otherwise leave the defaults (develop branch and conda devcontainer). We provide prebuilds, so it should only take a min or so until you have a dev environment with fully compiled sage.
Jing Guo
unread,
Jun 4, 2023, 3:03:15 PM6/4/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Thank you for the info, Tobias. Currently I more or less decided to develop Sage on CoCalc. I will check out some of the things you mentioned though.