Hi Peter! OEIS is already whitelisted.
As far as allowing to load Python code from files with txt extension - you can ask Sage developers to do it and then it will start eventually work for SageMathCell too. But if it is a crucial feature to load scripts from OEIS, wouldn't it make more sense to ask them to allow arbitrary extensions, not just txt??? Best regards, Andrey On Sunday 5 May 2024 at 02:06:25 UTC-6 [email protected] wrote: > Hi! > > I request whitelisting the OEIS. > > The OEIS is a safe place to store programs because the inclusion of a > program > undergoes a review process. > > But OEIS is not just a safe place to store programs, it's a natural place > to store > a sequence generating script where the sequence is searched for. Many > programs > in various languages are already stored there, making it a crucial > resource for > many users. > > I'll give an example. Currently, you can do the following: > > load(' > https://raw.githubusercontent.com/PeterLuschny/BinaryQuadraticForms/main/BinaryQF.sage > ') > Q = binaryQF([1, 13, -9]) > print(Q.represented_positives(2750, 'prime')) > > In the future, it could look like this: > > load('https://oeis.org/A243701/A243701.sage.txt') > Q = binaryQF([1, 13, -9]) > print(Q.represented_positives(2750, 'prime')) > > But there is one obstacle: > Programs are saved on OEIS as text files and always have the suffix > ".txt", > regardless of what programming language it is. > > Question: > Can you change Sage's "load" mechanism so that the above form is also > valid? > > Peter > > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/414efb5b-9286-4511-97cc-00f16340f30fn%40googlegroups.com.
