Ask Your Question
1

sage cell difference between Permanent and short link

asked 2019-09-16 09:41:27 +0100

ortollj gravatar image

updated 2019-09-16 10:48:01 +0100

tmonteil gravatar image

Hi

what is the difference on sage cell between Permalink and Short temporary link does it mean that Short temporary link will be able to be used only a short period of time as its name suggests ? in the case of short temp lnk, how long the link will remain valid ?

I suppose that if the server restart the short link does not exist anymore ?

Permalink is not usable in Youtube comment, there are characters that are not accepted for a link and the link's length is insane .

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2019-09-16 11:15:29 +0100

tmonteil gravatar image

updated 2019-09-16 11:17:45 +0100

I guess it is not onlt a matter of the server restarting or not. Since the shortlink is identified with 6-letter lower-case chararacters, with high probability you will get a collision after 20000 (birthday paradox).

Regarding youtube, i do not have a youtube account so i can not try by myself, but i bet the culprit is the &, which is used to separate variables sent to the server. SInce only the first variable (named z) seems absolutely necessary, you can try by removing what remains, that is trnasform

https://sagecell.sagemath.org/?z=eJxLyU9JTU7MSE0pys_T0AQAKYsFMg==&lang=sage&interacts=eJyLjgUAARUAuQ==

into

https://sagecell.sagemath.org/?z=eJxLyU9JTU7MSE0pys_T0AQAKYsFMg==

In case they are the culprit, you can even remove the trailing = that are used for padding:

https://sagecell.sagemath.org/?z=eJxLyU9JTU7MSE0pys_T0AQAKYsFMg
edit flag offensive delete link more

Comments

no permanent link can’t be used with youtube see the response I did to Kitiara306 (choose top comment)

https://www.youtube.com/watch?v=cOUTp...

the permanent link is not accepted in youtube comments, nor is it accepted in a comment on asksagemath .

too long for the comment allowed place !.

ortollj gravatar imageortollj ( 2019-09-16 20:39:47 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-16 09:41:27 +0100

Seen: 390 times

Last updated: Sep 16 '19