Re: [sage-devel] Temporary files problems

2022-09-27 Thread Andrey Novoseltsev
On Tuesday, 27 September 2022 at 11:11:00 UTC-6 dim...@gmail.com wrote: > Basically, we should deprecate and remove tmp_dir() and tmp_filename() > from Sage. > Does Sagecell use them? It should not, Python3 has perfectly good > replacements... > The problems that surfaces so far that I believe

Re: [sage-devel] Temporary files problems

2022-09-27 Thread Andrey Novoseltsev
On Tuesday, 27 September 2022 at 03:22:47 UTC-6 dim...@gmail.com wrote: > On Tue, Sep 27, 2022 at 3:58 AM Andrey Novoseltsev > wrote: > > this temporary directory is created and then used ever after. But what > if it gets deleted? > I think it's meant to be used in

[sage-devel] Re: Temporary files problems

2022-09-26 Thread Andrey Novoseltsev
I think it must be customizable, and also its use should be checked for errors - if it does not exist anymore, it should be recreated... Public SageCell servers probably see enough traffic to keep it alive, but people with private servers are very likely to run into problems, e.g. when their st

[sage-devel] Temporary files problems

2022-09-26 Thread Andrey Novoseltsev
Hello! I've run into this while testing upgrades to Ubuntu 22.04 from 20.04, but it seems that it comes from how temporary files are handled in Sage 9.7: TMP_DIR_FILENAME_BASE=tempfile.TemporaryDirectory() this temporary directory is created and then used ever after. But what if it gets delete

Re: [sage-devel] Re: VOTE: move Sage development to Github

2022-09-26 Thread Andrey Novoseltsev
+1 for Github -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.goo

[sage-devel] Suppressing R NULL output

2022-08-16 Thread Andrey Novoseltsev
Could somebody familiar with R interface take a look at https://trac.sagemath.org/ticket/34378#ticket please? I imagine it should be easy to fix ;-) Thank you! Andrey -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group

[sage-devel] Limitations of GAP interface

2022-04-24 Thread Andrey Novoseltsev
This has been reported at https://github.com/sagemath/sagecell/issues/560 but as far as I can see is the problem of GAP interface in Sage itself. Perhaps somebody familiar with it may want to take a look ;-) -- You received this message because you are subscribed to the Google Groups "sage-dev

[sage-devel] Re: jpeg support in pillow

2022-04-18 Thread Andrey Novoseltsev
"sage -pip install pillow" does not install anything, saying that pillow is already there. "sage -pip install -U pillow" does install a newer version with jpeg-support, but a) presumalby won't work if we happen to have the latest version already and b) has potential to break some other dependen

[sage-devel] jpeg support in pillow

2022-04-18 Thread Andrey Novoseltsev
sage-cell got a request for jpeg support in pillow, which was explicitly removed 6 years ago, it seems, but people would like to have: https://groups.google.com/g/sage-cell/c/_kZdSpnEtMs Are there any chances of doing it? My understanding is that it would require a dependency on libjpeg-dev and

[sage-devel] Re: multi-polynomial substitution consistency

2021-05-24 Thread Andrey Novoseltsev
On Sunday, 9 May 2021 at 02:50:06 UTC-6 vdelecroix wrote: > What is annoying in the above scenario is that it breaks > badly the rule "same input parent" -> "same output parent". > Here are three distinct output parents for the same substitution > command > I completely agree with Vincent on t

[sage-devel] Where should polynomial substitution live?

2021-05-23 Thread Andrey Novoseltsev
Consider the following: sage: R. = QQ[] : p = x + y : print(parent(p.subs(x=1))) : print(parent(p.subs(x=1, y=2))) : print(parent(p(x=1))) : print(parent(p(x=1, y=2))) : print(parent(p(1, 2))) : print() : R. = QQ["a"][] : p = x + y : print(parent(p

[sage-devel] Re: What should Sage import by default?

2020-09-02 Thread Andrey Novoseltsev
Perhaps it makes sense to keep "math related" imports given that we have a bunch of other "math functionality" available without extra imports and that's the point of Sage in general. While stuff for dealing with files and warnings is special enough to require special commands. On Wednesday, 2

[sage-devel] Preparser is seriously broken!

2020-08-20 Thread Andrey Novoseltsev
It interferes with multiline strings now!!! ┌┐ │ SageMath version 9.2.beta9, Release Date: 2020-08-18 │ │ Using Python 3.7.3. Type "help()" for help.│ └

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-24 Thread Andrey Novoseltsev
re you did "make cmake-clean"? The last build log still seems >> to be using a cmake from SAGE_LOCAL >> >> On Wednesday, July 15, 2020 at 1:02:20 PM UTC-7, Andrey Novoseltsev wrote: >>> >>> Here it is, for some reason much bigger than before, maybe the

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-23 Thread Andrey Novoseltsev
For the record: NOT installing system libboost-dev allowed cryptominisat to be installed in Sage. Good enough solution for me, but the reason I was installing libboost-dev was ./configure recommendation... -- You received this message because you are subscribed to the Google Groups "sage-devel

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-15 Thread Andrey Novoseltsev
On Wednesday, 15 July 2020 14:21:59 UTC-6, Matthias Koeppe wrote: > > On Wednesday, July 15, 2020 at 1:02:20 PM UTC-7, Andrey Novoseltsev wrote: >> >> Here it is, for some reason much bigger than before, maybe there are >> several versions - are logs overwritten on e

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-15 Thread Andrey Novoseltsev
On Wednesday, 15 July 2020 10:38:46 UTC-6, Matthias Koeppe wrote: > > Andrey, actually could you try if installing "cmake" from the system > package manager (and doing "make cmake-clean") fixes this problem? > We ship an ancient version of cmake in sage. > Does not seem to make any difference!

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-15 Thread Andrey Novoseltsev
On Tuesday, 14 July 2020 10:42:49 UTC-6, Matthias Koeppe wrote: > > Thanks for spotting this. > > Andrey: I would suggest to try whether a cryptominisat upgrade ( > https://trac.sagemath.org/ticket/25374) has better Boost detection. > > If not, we should change the boost spkg-configure so that it

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-14 Thread Andrey Novoseltsev
son chime in, but I imagine that if you get > the latest version of libboost-dev and cmake from apt and let sage find it > via ./configure then maybe cyrptominisat will build. > > On Monday, July 13, 2020 at 11:26:06 PM UTC-4 Andrey Novoseltsev wrote: > >> On Monday, 13 July 2020

[sage-devel] Re: Interacts on wiki need some care

2020-02-11 Thread Andrey Novoseltsev
To make optional or pip or else packages available on SageMathCell public servers one has to let me know what should be installed - assuming that it is indeed possible to install these things they will become available ;-) -- You received this message because you are subscribed to the Google Gr

[sage-devel] Interacts on wiki need some care

2020-02-06 Thread Andrey Novoseltsev
Hello, William recently mentioned our collection of interacts https://wiki.sagemath.org/interact in https://stackoverflow.com/questions/59997930/embed-local-jupyter-notebook-cells-in-web-browser/60089271#60089271 No surprises - many of these interacts need some care to start working without di

[sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-01-06 Thread Andrey Novoseltsev
On Monday, 6 January 2020 03:13:02 UTC-7, Frédéric Chapoton wrote: > > the wiki promise was written by myself alone, and I think it should be > changed. I think there will be very few (or no) people that will desire to > compile sage 9.0 with python 2. And 9.1 even more. People that want to be

[sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-01-05 Thread Andrey Novoseltsev
On Sunday, 5 January 2020 16:24:38 UTC-7, Nils Bruin wrote: > > On Sunday, January 5, 2020 at 2:51:44 PM UTC-8, Nils Bruin wrote: >> >> I don't think there's a doubt that we'll drop py2.7 support. This Wiki, >> however, has been referred to in many places describing the py2/py3 >> transition. >>

[sage-devel] jmol directory permissions

2019-10-03 Thread Andrey Novoseltsev
Hello, I believe jmol directory permissions are screwed up, sage/local/share/jmol is 0700 making it unusable by other users. Looking at the install scripts it is not obvious to me why does this happen, so I would appreciate if someone more knowledgeable fixed it ;-) Thank you! Andrey -- You

Re: [sage-devel] No output from GAP

2019-05-05 Thread Andrey Novoseltsev
OK, here is me not trying to rely on implicit printing by REPL: sage: gap.eval("Print({});".format(10^1)) '10' sage: gap.eval("Print({});".format(10^10)) '100' sage: gap.eval("Print({});".format(10^100)) '' Is gap pexpect interface still used internally? If not, it seems that consistent

Re: [sage-devel] No output from GAP

2019-05-05 Thread Andrey Novoseltsev
Here is the logic of executing GAP commands via files: if it has := before " write it to file as is otherwise wrap it in Print( ) execute via Read() which has no input on its own However when multiple commands are fed into gap.eval as in the original post, they all are combined into a single

Re: [sage-devel] No output from GAP

2019-04-30 Thread Andrey Novoseltsev
The use case here is: take a snippet of GAP code, execute it, and display the result. GAP is one of the languages "supported" by SageMathCell and it is done via print gap.eval(...) It is not really for users of Sage who need GAP functionality, it is an easy way for GAP users to embed live compu

Re: [sage-devel] No output from GAP

2019-04-29 Thread Andrey Novoseltsev
trailing semicolon. For SageMathCell it is very likely that the input contains several commands (as it was the case for the original example here). What can be done in this case? Just splitting on l; is likely to break on comments and strings. > On Mon, Apr 29, 2019 at 5:54 PM Andrey Novoselt

Re: [sage-devel] No output from GAP

2019-04-29 Thread Andrey Novoseltsev
Reminded me of this old issue with Macaulay2 many years ago: https://trac.sagemath.org/ticket/5467 I wonder if it is something similar here... -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emai

Re: [sage-devel] No output from GAP

2019-04-29 Thread Andrey Novoseltsev
Thank you for the confirmation and debugging, Vincent! It was pointed out to me that we even have it documented: http://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/gap.html#long-input Is it really that difficult to fix??? Surely there has to be some reason and solution for this

[sage-devel] No output from GAP

2019-04-28 Thread Andrey Novoseltsev
Hello, I got a report about GAP problem in SageMathCell, but it looks like the GAP interface in Sage itself is having issues. I am getting an empty string from the following command: sage: print(gap.eval(""" : D_4 := SmallGroup(8,3); : IsAbelian( D_4 ); : List( ConjugacyClasses( D_4

[sage-devel] Re: Poll: set online=True as the default for threejs viewer

2019-03-31 Thread Andrey Novoseltsev
https://trac.sagemath.org/ticket/27575 addresses this by fixing an apparently already existing "fallback to the online CDN" and claiming that this discussion here becomes moot. But I think what the discussion here tried to address is that it is bad for a local install of Sage to silently fetch

[sage-devel] Re: [sage-cell] Re: Is sagecell python3-ready?

2019-03-23 Thread Andrey Novoseltsev
I actually just checked: if you create linked cells, it is possible to run multiple interacts in them, so perhaps it is the solution for your use case. Things did get a bit strange when I caused an error in one cell - I didn't investigate the details, but likely this should not be the default b

[sage-devel] Re: [sage-cell] Re: Is sagecell python3-ready?

2019-03-23 Thread Andrey Novoseltsev
On Saturday, 23 March 2019 00:25:10 UTC-6, Kwankyu Lee wrote: > > I would expect one process runs all interact cells from one client (if > this makes sense). > > I have a webpage that contains many interact cells that run on my own > sagecell server. The webpage stops working if many of the in

[sage-devel] Re: [sage-cell] Re: Is sagecell python3-ready?

2019-03-22 Thread Andrey Novoseltsev
On Thursday, 21 March 2019 22:48:08 UTC-6, Kwankyu Lee wrote: > > > > On Friday, March 22, 2019 at 12:56:58 AM UTC+9, Andrey Novoseltsev wrote: >> >> "languages" for SageMathCell are very different from kernels for Jupyter. >> SageMathCell keeps a bunc

[sage-devel] Re: [sage-cell] Re: Is sagecell python3-ready?

2019-03-21 Thread Andrey Novoseltsev
When I was actively using SageMathCell for teaching, I indeed got quite irritated that things that used to work during preparation did not work in class because of some recent changes. My eventual solution was to run my own server, where no changes were ever unexpected and in general I had bett

[sage-devel] Re: [sage-cell] Re: Is sagecell python3-ready?

2019-03-21 Thread Andrey Novoseltsev
"languages" for SageMathCell are very different from kernels for Jupyter. SageMathCell keeps a bunch of preforked kernels (all are the same), so that new computations don't have to wait for startup. "language" just turns "code" into something like "print octave.eval(code)", which is then sent to

Re: [sage-devel] Poll: set online=True as the default for threejs viewer

2019-02-15 Thread Andrey Novoseltsev
On Friday, 15 February 2019 14:21:45 UTC-7, mmarco wrote: > > 2) Patching sage to look for those files in the new addresses > There is actually a special function to provide these addresses, here is its use in SageMathCell: https://github.com/sagemath/sagecell/blob/master/backend_cell.py#L176 --

Re: [sage-devel] Poll: set online=True as the default for threejs viewer

2019-02-15 Thread Andrey Novoseltsev
The bottom line for all these data points, however, is not that "online HAS to be default" but rather "all these interfaces didn't figure out (or perhaps even didn't bother) yet how to make offline threejs work". And the solution is either to fix it case by case or, if it is difficult/impossibl

[sage-devel] R.eval behaves differently with the new interface

2019-01-11 Thread Andrey Novoseltsev
Just want to bring some attention to https://trac.sagemath.org/ticket/27025#ticket in case someone knows what to do with it. There is now 'NULL' string returned in cases when there was no output and multiple commands may not generate "automatic" output. I do get complaints about it from SageMath

[sage-devel] Re: What the hell is JSAGE ?

2019-01-04 Thread Andrey Novoseltsev
>From the foundation page: "People that have used SageMath in their research work and have some available money from their grants are also very welcome to give a little back to help." Is it indeed easy to donate money from a grant??? I.e. can it easily be justified as a reasonable expense and f

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 14:55:02 UTC-7, Timo Kaufmann wrote: > > Am Dienstag, 25. Dezember 2018 22:46:22 UTC+1 schrieb Nils Bruin: >> >> Perhaps for reference, maxima_lib can only be instantiated once and, >> since sage.interfaces.maxima_lib is only referenced at start-up via >> lazy_impor

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 13:53:07 UTC-7, Timo Kaufmann wrote: > > Am Dienstag, 25. Dezember 2018 16:32:10 UTC+1 schrieb Andrey Novoseltsev: >> >> It does not affect me personally at all, my use of R is limited to making >> it work in SageMathCell. But if there is o

Re: [sage-devel] Single instance of R only

2018-12-25 Thread Andrey Novoseltsev
On Tuesday, 25 December 2018 03:55:13 UTC-7, vdelecroix wrote: > > Since there is only one process, there should be a single instance of > the R object in Sage. Isn't that a trivial fix? > > Disallowing multiple R instances might be a misfeature. But it is not > dramatic (to my mind and to the O

Re: [sage-devel] Single instance of R only

2018-12-24 Thread Andrey Novoseltsev
On Sunday, 23 December 2018 19:23:27 UTC-7, William wrote: > > I didn't have anything to do with the change, but for what it is > worth, it was definitely not my intention that calling R() twice only > creates one interface. > When I designed and implemented the interfaces, my intention was that

[sage-devel] Single instance of R only

2018-12-23 Thread Andrey Novoseltsev
This is what we had: ┌┐ │ SageMath version 8.4, Release Date: 2018-10-17 │ │ Type "notebook()" for the browser-based notebook interface.│ │ Type "help()" for help.

Re: [sage-devel] Dropping support for old-style .spkgs?

2018-08-10 Thread Andrey Novoseltsev
On Friday, 10 August 2018 04:23:45 UTC-6, Erik Bray wrote: > > On Fri, Aug 10, 2018 at 11:46 AM Dima Pasechnik > wrote: > > > > could you offer this package for download, at least temporarily? > > Perhaps we could put it on github... > > Where did it come from in the first place? Is this some

Re: [sage-devel] Dropping support for old-style .spkgs?

2018-08-08 Thread Andrey Novoseltsev
On Wednesday, 8 August 2018 17:19:13 UTC-6, Travis Scrimshaw wrote: > > IMO, it would be good to have here a current list of old-style spkgs so we > can be explicit about what things we are dropping support for. > And can we please not omit "huge" packages like polytopes_db_4d-1.0.spkg - I do us

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Andrey Novoseltsev
On Tuesday, 27 March 2018 18:03:48 UTC-6, saad khalid wrote: > > Why not assume by default that when someone enters a floating point > number, they intend it as a member of QQ, at least in this case. > It may be an interesting option to have similar to "automatic_names". It may also be nice to

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Andrey Novoseltsev
On Tuesday, 27 March 2018 13:57:12 UTC-6, Michael Orlitzky wrote: > > But will MATLAB tell you that two equal matrices have different ranks? I > know sage will do it. > A few years back it could give you completely different eigenvalues for a matrix and its transposition. There are presumably m

[sage-devel] Re: ~/.sage/R created on the second run only

2018-03-04 Thread Andrey Novoseltsev
On Sunday, 4 March 2018 19:12:14 UTC-7, Andrey Novoseltsev wrote: > > On the first run of Sage, it is supposed to create some folders in .sage > What I observe is that R directory is created only on the second run (and > Sage fails to start if by then .sage is made immutable)

[sage-devel] ~/.sage/R created on the second run only

2018-03-04 Thread Andrey Novoseltsev
Hello, On the first run of Sage, it is supposed to create some folders in .sage What I observe is that R directory is created only on the second run (and Sage fails to start if by then .sage is made immutable). Looking at https://github.com/sagemath/sage/blob/master/src/bin/sage-env I fail to s

[sage-devel] Orphaned kernels

2018-02-25 Thread Andrey Novoseltsev
Hello, I've started using Jupyter notebooks, as this seems to be the bright future, and I am not impressed by handling restarted or crashed kernels: I have restarted a worksheet quite a few times today as I was changing modules it used and discovered now that there are ~30 kernels running after

[sage-devel] trac not showing branch changes

2017-09-28 Thread Andrey Novoseltsev
I've seen it happen before a few times and now Ursula Whitcher reports it while reviewing https://trac.sagemath.org/ticket/22391 : if you click on the branch name it just shows that 3 files are deleted, which is scary and useless. Would be nice to know what is causing this issue and how to fix i

[sage-devel] How to configure MathJax for Jupyter notebook?

2017-09-03 Thread Andrey Novoseltsev
Specifically I want to enable color.js extension as was done here https://github.com/sagemath/sagenb/blob/master/sagenb/data/sage/js/mathjax_sage.js so that https://trac.sagemath.org/ticket/23730 is resolved. But I have no idea which files have to be adjusted. -- You received this message bec

[sage-devel] Re: Plotting fans

2017-09-01 Thread Andrey Novoseltsev
On Friday, 1 September 2017 03:16:45 UTC-6, Carlo Verschoor wrote: > > Hello, I had this problem with plotting fans in Sage 8.0 which still works > in Sage 7.6. The problem breaks down to the following piece of code: > > cones = [Cone([(0,1),(1,0)]),Cone([(-2,-1),(-1,-3)]),Cone([(0,1),(-2,-1 > )

Re: [sage-devel] Old-style packages

2017-07-05 Thread Andrey Novoseltsev
There is also "huge" package polytopes_db_4d which I do care about, but it is hard to find in listings, and given its 8GB size I don't download again and again but rather install locally. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsub

[sage-devel] trac notifications

2017-05-25 Thread Andrey Novoseltsev
Hello, I've checked my trac preferences and I have "Notify" for all events available. Although I cannot see *"Notify: Any ticket changes" *which is mentioned in the text around settings. I do not get notifications about closed tickets like this one https://trac.sagemath.org/ticket/21066 (I thi

[sage-devel] Re: Poll for issue G5 a specific guideline for writing docstrings

2017-05-17 Thread Andrey Novoseltsev
On Wednesday, 17 May 2017 15:05:55 UTC-6, Eric Gourgoulhon wrote: > > +1 (a list can have a single item anyway) > > +1 I actually like how OUTPUT block is formatted in the same way as INPUT in HTML when a hyphen is used. On a related note, I do not like allowing :param: etc directives since they

[sage-devel] Re: Poll for issue G4 a specific guideline for writing docstrings

2017-05-17 Thread Andrey Novoseltsev
+1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit

Re: [sage-devel] Poll for issue G3 a specific guideline for writing docstrings

2017-05-17 Thread Andrey Novoseltsev
-1 I prefer (3) or (4) or "Check" instead of "Test" and have no problems with mixing them. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...

[sage-devel] Re: Poll for issue G2 a specific guideline for writing docstrings

2017-05-17 Thread Andrey Novoseltsev
X I think ``self`` should be allowed in a longer description and allowing it there but not in a one-liner is a bit confusing. So I'd rather not say anything about it and let people use their preferences. -- You received this message because you are subscribed to the Google Groups "sage-devel"

[sage-devel] Re: Poll for issue G1 a specific guideline for writing docstrings

2017-05-17 Thread Andrey Novoseltsev
-1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit

[sage-devel] Re: Rant about plotting documentation

2017-03-26 Thread Andrey Novoseltsev
On Monday, 20 March 2017 08:09:31 UTC-6, kcrisman wrote: > > > > On Sunday, March 19, 2017 at 2:41:48 PM UTC-4, Andrey Novoseltsev wrote: >> >> I wanted to check how to make new threejs plotting code to use CDN. show? >> and plot? don't mention viewer option

[sage-devel] Let R pick up system/user configuration files

2017-03-26 Thread Andrey Novoseltsev
I would like to tweak R interface a little: https://trac.sagemath.org/ticket/22682 Can someone who uses R please check it out and report if there are any problems? There are 2 changes: 1) Allow picking up configuration files. This should not affect those who don't have these files, obviously,

[sage-devel] Re: Default display for equations in notebook

2017-03-20 Thread Andrey Novoseltsev
"implemented on the Sage side" as opposed to in notebooks? I would very much be in favour of this so that the difference between code behaviour in different environments is as small as possible! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

[sage-devel] Rant about plotting documentation

2017-03-19 Thread Andrey Novoseltsev
I wanted to check how to make new threejs plotting code to use CDN. show? and plot? don't mention viewer options and their parameters. So, I go to the reference manual http://doc.sagemath.org/html/en/reference/ and close to the top I see 3D Graphics http://doc.sagemath.org/html/en/reference/plot3

[sage-devel] Why is patchbot testing closed tickets?

2017-01-10 Thread Andrey Novoseltsev
This one https://trac.sagemath.org/ticket/20940 was closed 5 months ago, yet as can be seen from https://patchbot.sagemath.org/ticket/20940/ it was tested again and again and again like 70 times after the few ones that were useful. That's a lot of wasted computing power for other tickets and just

Re: [sage-devel] Re: threejs as standard package

2017-01-01 Thread Andrey Novoseltsev
Trying to get back to threejs: - it is apparently possible to use HTTPS for rawgit.com and it has a CDN which we actually must use to avoid being blocked - "more usual CDNs" provide threejs, but not extra files like OrbitControl - it seems that the recommended way of using threejs is to download

[sage-devel] phc installation problems

2017-01-01 Thread Andrey Novoseltsev
Hello, I am getting the following error when trying to install phc optional package from a script: ... Error: package 'phc' not found Assuming it is an old-style package... (this is deprecated: use -p instead of -i to install old-style packages) Found package phc in /home/sc_serv/sage/upstream

[sage-devel] Re: threejs as standard package

2016-12-28 Thread Andrey Novoseltsev
On Wednesday, 28 December 2016 18:12:36 UTC-7, Paul Masson wrote: > > > > On Wednesday, December 28, 2016 at 3:47:53 PM UTC-8, Andrey Novoseltsev > wrote: >> >> On Tuesday, 27 December 2016 15:34:51 UTC-7, Paul Masson wrote: >>> >>> I'm very m

[sage-devel] Re: threejs as standard package

2016-12-28 Thread Andrey Novoseltsev
e time people will not save the output, so while it is important to support saving/embedding, proper showing is the first priority and at the moment SageNB does not work over HTTPS. Presumably there would be no problems if scripts were served from local installation. On Monday, December 26, 2016 at

[sage-devel] threejs as standard package

2016-12-26 Thread Andrey Novoseltsev
Hello, How about making threejs a standard package? It was optional for a while, used in SageMathCell to power its own version of threejs viewer. https://trac.sagemath.org/ticket/12402 has added threejs as possible output for a bunch of backends and ideally it will become standard for all inte

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 14:23:10 UTC-6, Andrey Novoseltsev wrote: > > That's a stale ticket that would allow one to turn of the prompt, but the > real problem is "communicating with Sage" - I am trying to provide an > answer to the question by sending a newline

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
Yet another possibly related problem: when installing qhull from a script it errors out with ... cd lib && ln -f -s libqhull_r.so.7.2.0 libqhull_r.so === == If user_eg fails to link on MinGW or Cygwin, use == "make SO=dll" and copy lib/libqhull_r

[sage-devel] Re: Cannot run sage in postinst

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 03:23:12 UTC-6, Jan Groenewald wrote: > > Hi > > I'm preparing the PPA for sage 7.4. In the postinst script I run sage once > as root to set hardcoded paths (which may have been replaced by > replocate-once.py??). > > It fails to run under apt or dpkg --configure with

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 01:18:58 UTC-6, Matthias Koeppe wrote: > > > > On Saturday, October 22, 2016 at 10:52:20 PM UTC-7, Andrey Novoseltsev > wrote: >> >> I have further problems (now with 7.5beta0 + #21743), sending new line >> during instal

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-22 Thread Andrey Novoseltsev
:01:06 AM UTC+2, Andrey Novoseltsev > wrote: >> >> Hello, >> >> I need help figuring out what's going on when I am preparing Sage for >> SageMathCell. >> >> When the script is at >> >> https://github.com/sagemath/sagecell/blob/maste

[sage-devel] Troubles communicating with Sage 7.4

2016-10-21 Thread Andrey Novoseltsev
Hello, I need help figuring out what's going on when I am preparing Sage for SageMathCell. When the script is at https://github.com/sagemath/sagecell/blob/master/contrib/vm/container_manager.py#L445 trying to pipe some commands into a freshly compiled Sage it crashes. The crash report is attach

[sage-devel] DeprecationWarning stacklevel issues

2016-10-16 Thread Andrey Novoseltsev
Consider the following code def g(): function("f", x) html(04) g() which in SageMathCell gives the following warning messages (in Sage itself and SageMathCloud everything is even more useless without using an extra module due to https://groups.google.com/d/topic/sage-devel/-KiMrG--5x8

Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-10-09 Thread Andrey Novoseltsev
nsion no longer works? > > Thanks, > > Jason > Thanks for the pointer, Jason! Cells are created now but it would be great to go over interacts to fix deprecated and broken things or report new bugs. > > On Mon, Sep 19, 2016 at 8:48 PM William Stein > wrote: > >> On Mon,

Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Andrey Novoseltsev
On Monday, 19 September 2016 18:59:08 UTC-6, Jason Grout wrote: > > Some ideas: > > Is the MoinMoin sage cell extension enabled? > https://github.com/sagemath/sagecell/blob/master/contrib/moinmoin/sagecell.py. > If > it is enabled, was MoinMoin updated and the extension no longer works? > While

Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Andrey Novoseltsev
On Monday, 19 September 2016 10:53:27 UTC-6, William wrote: > > This seems to be an absolutely *massive* issue, which I'm sure was caused > by some API change by Andrey. These wiki pages have worked fine for about > 7 years, so it's annoying that they are all suddenly broken. > > > I guess it w

Re: [sage-devel] Re: Trac notifications again

2016-08-12 Thread Andrey Novoseltsev
On Friday, 12 August 2016 02:35:23 UTC-6, Erik Bray wrote: > > On Thu, Aug 11, 2016 at 11:35 PM, Andrey Novoseltsev > wrote: > > On Wednesday, 27 July 2016 15:35:29 UTC-6, leif wrote: > >> > >> Orthogonal to that, but also annoying is that we do no longer get

[sage-devel] Re: Trac notifications again

2016-08-11 Thread Andrey Novoseltsev
On Wednesday, 27 July 2016 15:35:29 UTC-6, leif wrote: > > Orthogonal to that, but also annoying is that we do no longer get > notifications when a ticket gets closed. > > Is this a bug or a feature? > > > -leif > > Ping? I definitely like getting notifications that a ticket is closed, hopeful

Re: [sage-devel] Re: Trac attachment limit

2016-07-27 Thread Andrey Novoseltsev
On Tuesday, 26 July 2016 20:13:56 UTC-6, William wrote: > > On Tue, Jul 26, 2016 at 1:04 PM, Paul Masson > wrote: > > What about a "packages" repository on GitHub just to store files? > > I was also going to suggest that. A drawback is we would have to add > all trac users to the Github repo,

[sage-devel] Re: Trac attachment limit

2016-07-25 Thread Andrey Novoseltsev
On Monday, 25 July 2016 08:53:48 UTC-6, leif wrote: > > In the past we were told to not attach *any* binary files because they > would end up in some (VCS?) repo where they would remain forever even > after deletion on trac. > > I couldn't find any reference to that in our current documentation

[sage-devel] Trac attachment limit

2016-07-24 Thread Andrey Novoseltsev
Is there any deep reason to 2MB attachment limit on Trac? Can it be increased to, say, 100MB? Would be convenient to be able to upload new packages there rather than figuring out some place to post them. Thank you, Andrey -- You received this message because you are subscribed to the Google Gr

[sage-devel] Dedicated group for SageMathCell

2016-07-03 Thread Andrey Novoseltsev
The group https://groups.google.com/forum/#!forum/sage-cell will now be used for important announcements regarding SageMathCell, issue reporting and any other relevant discussions. If you actively use SageMathCell and especially if you maintain web pages with embedded cells, please subscribe to

[sage-devel] Re: Deprecation warnings are no longer printed?!

2016-06-29 Thread Andrey Novoseltsev
In 7.3.beta4 I get sage: sage: f1(x) = -1 sage: sage: f2(x) = 2 sage: sage: f = Piecewise([[(0,pi/2),f1],[(pi/2,pi),f2]]) /home/novoselt/sage/src/bin/sage-ipython:1: DeprecationWarning: use lower-case piecewise instead See http://trac.sagemath.org/14801 for details. #!/usr/bin

Re: [sage-devel] Re: What is the best time for Trac downtime?

2016-06-19 Thread Andrey Novoseltsev
On Sunday, 19 June 2016 20:19:50 UTC-6, William wrote: > > On Sun, Jun 19, 2016 at 4:09 AM, mmarco > > wrote: > > Did you recently enable cloudflare cache services? > > > > I am using Tor to circunvent some pesky firewall, and when trying to > push > > some changes, I get some git_trac.trac_e

Re: [sage-devel] Sage apps for iOS and Android

2016-06-13 Thread Andrey Novoseltsev
On Monday, 13 June 2016 14:58:54 UTC-6, Paul Masson wrote: > > If the error occurs in Mobile Safari, then it's not an issure with the app > but with the browser in general, since the app is basically an iOS > UIWebView. > > The only major change made to the web server was adding require.js, right

Re: [sage-devel] Sage apps for iOS and Android

2016-06-13 Thread Andrey Novoseltsev
Android app and iOS one are still having issues, below is a detailed report from one of the users. I cannot test/debug these, so any help would be greatly appreciated or they will remain broken... Thank you, Andrey I'm still having issues on the App... I also wrote to the App developer Ivan A

[sage-devel] Re: Coming SageMathCell upgrade - please test!

2016-06-09 Thread Andrey Novoseltsev
This is due to the bug fixed by http://trac.sagemath.org/ticket/20797 Also, I'll try to keep further discussion of SageMathCell at https://groups.google.com/forum/#!forum/sage-cell On Monday, 6 June 2016 02:14:25 UTC-6, Peter Luschny wrote: > > ---

[sage-devel] Re: Weird ImportError with six

2016-06-09 Thread Andrey Novoseltsev
ote: >> >> It's because these is a "six" module in sage/misc. >> >> I met this problem in #20694 >> >> Solution: use from __future__ import absolute import >> >> Frederic >> >> Le mardi 31 mai 2016 07:55:14 UTC+2, Andrey Novose

[sage-devel] Re: [sage-notebook] Coming SageMathCell upgrade - please test!

2016-06-05 Thread Andrey Novoseltsev
On Thursday, 2 June 2016 16:39:53 UTC-6, paulmasson wrote: > > Andrey, any idea when my embedded interacts will start working again? > Thanks. > Should be working now, please test. There was a true check (undefined === undefined), I think I'd prefer AttributeError: https://github.com/sagemath/sa

[sage-devel] Re: [sage-notebook] Coming SageMathCell upgrade - please test!

2016-06-02 Thread Andrey Novoseltsev
On Thursday, 2 June 2016 16:39:53 UTC-6, paulmasson wrote: > > Andrey, any idea when my embedded interacts will start working again? > Thanks. > Hopefully by Monday. I still don't know what exactly is happening, but I didn't work much on it since last weekend was short on time in general and I

[sage-devel] Weird ImportError with six

2016-05-30 Thread Andrey Novoseltsev
Hello, Can anybody explain (even better - fix ;-)) what is going on with this error with 7.2 and 7.3.beta0: sage: from sage.misc.remote_file import get_remote_file sage: get_remote_file('http://193.146.36.205:8080/GgbSageDirect/DiscoverGGB/DiscoverGGBAux/2015_11_24_fromGgbXMLString2Cons.sage')

[sage-devel] Re: [sage-notebook] Coming SageMathCell upgrade - please test!

2016-05-29 Thread Andrey Novoseltsev
On Thursday, 26 May 2016 10:34:10 UTC-6, kcrisman wrote: > > > Please report any new (or old) errors that you notice - I will try to >> fix them tomorrow (Saturday) afternoon (MST) and on Sunday/Monday. If >> something is horribly wrong and I can't resolve it by Monday evening, >> I'll pull back

[sage-devel] Re: Sage apps for iOS and Android

2016-05-27 Thread Andrey Novoseltsev
t CodeMirror may be fully configured after some sizing already took place. > > On Thursday, May 26, 2016 at 8:46:15 AM UTC-7, Andrey Novoseltsev wrote: >> >> I got a report that iOS app using SageMathCell is broken and I imagine >> the same is true for Android. Can someone l

  1   2   3   4   5   >