Ask Your Question
1

sage cell difference between Permanent and short link

asked 5 years ago

ortollj gravatar image

updated 5 years ago

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 .

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 5 years ago

tmonteil gravatar image

updated 5 years ago

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
Preview: (hide)
link

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 ( 5 years ago )

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: 5 years ago

Seen: 449 times

Last updated: Sep 16 '19