Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Harald Schilly
@haraldschilly
well, no idea actually. that logfile here above contains some binary information... weird
Gabriel Indurskis
@gabindu
I just did a test restarting the project and the dropbox daemon manually. It then indeed recreates logfiles in that directory - but they are all binary files. I tried gunzip and tar tfz as some obvious candidates, but file only returns data as file type.
Anyhow, the more important observation is that restarting the project manually does not affect the dropbox daemon, the account stays linked. So maybe the issue only arises when the project has been stopped for a longer period of time. The dropbox daemon keeps track of a hostkey in one of its config files in .dropbox, so my guess is that this somehow is recomputed and gives a different value under certain circumstances.
But let's not waste too much time with this now, I'll investigate this some more if and when it happens again. Until then, back to more important work. ;-) Thanks again!
Gabriel Indurskis
@gabindu
Just as a quick note to others who read this and want to use project.init (until it gets renamed): it has be an executable file, so make sure to use chmod a+x project.init
William Stein
@williamstein
Projects are no longer attached to specific host computers — when you restart them (or stop and start them later) — they come up on the “best” (by some criterion) available host. That may or may not be the same computer you were using before.
This model is much more efficient. For example, when a pre-emptible node goes down, all the projects running on it fan out to the rest of the cluster and are running again in seconds, rather than waiting 10 minutes for the preemptible to full boot up, bootstrap, join the mesh network, etc.
Gabriel Indurskis
@gabindu
I see, that makes a lot of sense - and might indeed explain the Dropbox relinking problem.
iara iapc
@iaraiapc
127/5000
Hello everyone. Is there a command equivalent to "typeset (True)" for Jupyter? I want the outputs of the evaluations to be pretty.
ops, "typeset _mode(True)"
iara iapc
@iaraiapc
Hi W Stein
thanks for this ;) it works now
Gabriel Indurskis
@gabindu
Hi there, I just hit a weird problem from one moment to the other: typeset math in a Sage worksheet suddenly doesn't display anymore. For example: A=matrix(2,2,[1,2,3,4]); show(A); A only shows the non-typeset version of the matrix. I've tested with Chrome and Firefox, so it doesn't seem to be a browser issue (in particular since it did work just a few minutes ago...) Was there a (very) recent change in the backend to cause this? Thanks for checking! (my students are writing an exam this week on CoCalc, so I do hope we can fix this quickly...)
Gabriel Indurskis
@gabindu
ah, it just came back and now seems to work again. No idea if this was just a temporary issue on my end or a fix on your end, but thanks in any case (and sorry for the false-alert if it was indeed on my end). ;-)
Michael McNeil Forbes
@mforbes
Is there any way to use Notebooks in the CoCalc environment using something like the RISE extension? I can't find reference to this, so I suspect not, but we have some upcoming presentations where most students are using Jupyter notebooks and I thought it would be a nice way for them to show their work.
Ah. I missed sagemathinc/cocalc#2158. Could be very useful.
William Stein
@williamstein

Was there a (very) recent change in the backend to cause this?

I changed the frontend to not show raw stuff when rendering mathjax; maybe it was taking a little while to load...

Incidentally, if you use the new share server by making files public, then it does all mathjax rendering on the server rather than in the browser, so it is much faster for the browser to load/show, smaller, and uses way less resources (not javascript at all)...
William Stein
@williamstein

Is there any way to use Notebooks in the CoCalc environment using something like the RISE extension? I can't find reference to this, so I suspect not,

It definitely must be possible, but I've not tested/tried. You can install any extension locally in a project and use it with the Plain Vanilla Server (link from project settings)...

Gabriel Indurskis
@gabindu

I changed the frontend to not show raw stuff when rendering mathjax; maybe it was taking a little while to load...

I've been having these issues repeatedly since last I reported it, mostly in Chrome, Firefox seemed to be doing a bit better - always with Sage worksheets with lots of matrices, and some directed graphs. Possibly relatedly, I've also had a frightening number of "worksheet could not be saved to the server" recently (this while I had a very stable network connection, and other worksheets which were open at the same time had no trouble saving). When this happened for a worksheet, I could also not access TimeTravel. (on a related note, I noticed that the hidden history files which used to be in the same folder have disappeared, have they gone somewhere in the backend, or in a snapshot folder now?) Anyways, I'm almost done with my marking, and there were no issues during my exam, so it's not super-urgent for me, but maybe worth investigating some more in case this is a more serious issue. Thanks in any case, William!

William Stein
@williamstein

(on a related note, I noticed that the hidden history files which used to be in the same folder have disappeared, have they gone somewhere in the backend, or in a snapshot folder now?)

There are no hidden history files -- the last time those were, was several iterations of realtime sync ago (years ago).

I could also not access TimeTravel.

What does this mean precisely?

Gabriel Indurskis
@gabindu
when the "cannot save worksheet" problem occurs, clicking on TimeTravel tries to open the history file, but is stuck loading it (the file remains empty and unresponsive).
William Stein
@williamstein
Further discussion here: sagemathinc/cocalc#2561
Michael McNeil Forbes
@mforbes
What is the recommended procedure for "regrading" an assignment? I made comments in the student's notebooks, but then many of them did their corrections in the "graded" folder so they did not get collected a second time. This is discussed a bit in sagemathinc/cocalc#465 but a recommended workflow has not been provided.
William Stein
@williamstein
We have absolutely no support for regrading of assignments. For some reason I've not even thought about this. Duh. Can you make a new issue and tell us what YOU want? We will prioritize it highly.
iara iapc
@iaraiapc
Hello everyone. Does anyone know which algorithms the solve () function of sympy uses?
Vijay Sharma
@Eulerianial
@iaraiapc You can see the code in following file: /ext/sage/sage-8.1/local/lib/python2.7/site-packages/sage/symbolic/relation.py. You can always (?) to get more info. For example: "solve?" solve is using the routine from Maxima internally in the code.
dv-extrarius
@dv-extrarius
I'm having trouble getting 'from future import print_function' working in a sage worksheet on cocalc. It doesn't seem to make any difference - print(a,b,c) acts like I'm printing a tuple, not calling the print function. Any ideas?
a boy
@a-boy
By using Sagemath, I wrote a proof for Goldbach's Conjecture. gold(n) < prime_pi(n)+sigma(n,0)
shefalig29
@shefalig29
Hi William ,
I am doing a high time complexity loop calculation , it's somewhere 1024×1024×1024x64 loops , on my local machine , it will take atleast several months.
if I switch over to cloud , basically using cocalc in Google cloud and buying vms to support my work , will it work or any substitution to do such kind of work