[sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
Hello, this morning I'm having strange problems with Trac. I can log in to Trac and the page shows that I'm logged in. But whenever I try to make a change I get a permission error saying that I'm not logged in. It seems to work if I make an edit very quickly after logging in. So it looks as

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 10:09, Jeroen Demeyer wrote: It seems to work if I make an edit very quickly after logging in. So it looks as if I'm being automatically logged out 5 minutes after I log in or so. It's actually much less than 5 minutes, more like a few seconds. Often, when I log in and then

Re: [sage-devel] Re: Proposal : a branch for OpenSSL-less Sage

2017-10-30 Thread Erik Bray
On Sat, Oct 28, 2017 at 4:24 PM, Maarten Derickx wrote: > > On Friday, 27 October 2017 16:19:30 UTC+2, Emmanuel Charpentier wrote: >> >> Dear Marteen, >> >> Le vendredi 27 octobre 2017 16:02:03 UTC+2, Maarten Derickx a écrit : >>> >>> Why a separate git branch and not

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
On 2017-10-29 23:14, Travis Scrimshaw wrote: What about any object that does a TestSuite(foo).run()? This guarantees that it pickles (assuming it is not skipping that test) and is an object that someone would create. Sounds like a good idea to me. We could have TestSuite(foo).run() create a

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Erik Bray
On Mon, Oct 30, 2017 at 11:12 AM, Jeroen Demeyer wrote: > On 2017-10-30 11:07, Jeroen Demeyer wrote: >> >> I just tried with my phone and the problem also occurs there! What is >> wrong with me if I'm the only person having this problem? > > > OK, the common source of

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Erik Bray
On Sun, Oct 29, 2017 at 10:04 AM, Simon King wrote: > Hi Erik, > > On 2017-10-27, Erik Bray wrote: >> Plus, while pickling has many valid runtime use-cases, particularly >> for IPC, and short-term preservation of objects between interpreter >>

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 08:41, Simon King wrote: would you rather have no test at all than a superficial consistency test on a wide range of objects, versions and machines? Yes. A test which doesn't actually test anything is worse than no test. That's exactly the situation that we currently have with

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
On 2017-10-29 20:22, Simon King wrote: The m*n-fold pickle jar should not pollute the SageMath sources. In that way, a new pickle jar version wouldn't result in a new to-be-merged git commit. Instead, the jar should only be stored on some SageMath servers. I don't like this part. It should be

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 10:39, John Cremona wrote: Have you changed browser of cookie settings? I just tried another browser (Chromium instead of Firefox) and the problem persists. So I think that we can exclude the browser as source of problems. I have no idea what is going on... -- You received

[sage-devel] Re: Trac: getting logged out instantly

2017-10-30 Thread Simon King
On 2017-10-30, Jeroen Demeyer wrote: > On 2017-10-30 10:09, Jeroen Demeyer wrote: >> It seems to work if I make an edit very quickly after logging in. So it >> looks as if I'm being automatically logged out 5 minutes after I log in >> or so. > > It's actually much less

[sage-devel] Re: Some sparse matrices cleanup and question on parallelism

2017-10-30 Thread Simon King
Hi Travis, On 2017-10-30, Travis Scrimshaw wrote: > My first question is that the method _strassen_default_echelon_cutoff seems > to return -1 and never be overwritten. This means that by default, the > echelonize will always use the classical in-place, making having a

[sage-devel] Re: Some sparse matrices cleanup and question on parallelism

2017-10-30 Thread Travis Scrimshaw
On Monday, October 30, 2017 at 5:47:10 PM UTC+10, Simon King wrote: > > Hi Travis, > > On 2017-10-30, Travis Scrimshaw wrote: > > My first question is that the method _strassen_default_echelon_cutoff > seems > > to return -1 and never be overwritten. This means that by

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread julien.puydt via sage-devel
Clock issue? I would check the hours on the affected computers... -- 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

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 10:28, julien.puydt via sage-devel wrote: Clock issue? I would check the hours on the affected computers... As far as I know, my clock is correct. It is being synchronized via NTP. Current time on my machine is Mon Oct 30 10:34:36 CET 2017 It's true that my computer changed

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
I just tried with my phone and the problem also occurs there! What is wrong with me if I'm the only person having this problem? -- 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,

[sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Simon King
On 2017-10-29, Volker Braun wrote: > Thats still only addressing that objects can be unpickled No, it is also addressing that "the same" objects unpickled from different SageMath versions and different machines evaluate equal. > ; You'd also have > to run the entire

[sage-devel] Re: Some sparse matrices cleanup and question on parallelism

2017-10-30 Thread Travis Scrimshaw
> > > Onto some paraellization questions, as I can take advantage of multiple > cores. Does anyone know of a good parallel linear algebra library we could > include in Sage (hopefully it would work with my field)? How difficult is > it to parallelize Cython code? At least in the classical

Re: [sage-devel] Some sparse matrices cleanup and question on parallelism

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 01:39, Travis Scrimshaw wrote: How difficult is it to parallelize Cython code? Cython supports OpenMP: http://cython.readthedocs.io/en/latest/src/userguide/parallelism.html Note that OpenMP may not be supported on all systems. This is something we will need to check.

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread John Cremona
On 30 October 2017 at 09:34, Jeroen Demeyer wrote: > On 2017-10-30 10:28, julien.puydt via sage-devel wrote: >> >> Clock issue? I would check the hours on the affected computers... > > > As far as I know, my clock is correct. It is being synchronized via NTP. > Current

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 11:07, Jeroen Demeyer wrote: I just tried with my phone and the problem also occurs there! What is wrong with me if I'm the only person having this problem? OK, the common source of problems might be my university network. I disabled wifi on my phone and now it seems to work...

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 15:12, Erik Bray wrote: My point, however, is baked directly into the file format--the pickle format is very Python version-dependent (there are I think 5 different pickle formats now) It's true that the format has changed, but always in a backward-compatible way. For basic

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 15:50, Erik Bray wrote: Is it possible you're using Tor or some other sort VPN that uses a different IP address on each request? Personally, I'm not doing that. But it could be that my university is doing something funny. As I said, the problem seems to be with my university

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 16:28, William Stein wrote: Not necessarily.Pickle is *the* canonical extensible object serialization system for Python. It’s of course very extensible in that users can define how objects pickle, eg by defining a dunder reduce method. As such they can of course make that

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Erik Bray
On Mon, Oct 30, 2017 at 4:32 PM, Jori Mäntysalo wrote: > On Mon, 30 Oct 2017, Erik Bray wrote: > >>> OK, the common source of problems might be my university network. > > >> Hard to imagine--maybe the university network has a proxy that is >> stripping/corrupting some

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jeroen Demeyer
On 2017-10-30 16:51, Erik Bray wrote: Thanks to some request/response dumps Jeroen sent me, I think I can take a guess at the problem. His university has set up a forward proxy to cache static HTTP resources, and so while his /login request comes from his machine, or whatever NAT router it's

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Erik Bray
On Mon, Oct 30, 2017 at 3:23 PM, Erik Bray wrote: > On Mon, Oct 30, 2017 at 11:12 AM, Jeroen Demeyer > wrote: >> On 2017-10-30 11:07, Jeroen Demeyer wrote: >>> >>> I just tried with my phone and the problem also occurs there! What is >>> wrong with

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Erik Bray
On Mon, Oct 30, 2017 at 3:35 PM, Jeroen Demeyer wrote: > On 2017-10-30 15:12, Erik Bray wrote: >> >> My point, however, is baked directly into the file format--the pickle >> format is very Python version-dependent (there are I think 5 different >> pickle formats now) > > >

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Jeroen Demeyer
Another very relevant question: are pickles supposed to be hardware/OS-independent? In other words: can I take a pickle from one machine and unpickle it on a different machine (assuming that the software version is the same)? -- You received this message because you are subscribed to the

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread William Stein
On Mon, Oct 30, 2017 at 8:17 AM Jeroen Demeyer wrote: > Another very relevant question: are pickles supposed to be > hardware/OS-independent? In other words: can I take a pickle from one > machine and unpickle it on a different machine (assuming that the > software

Re: [sage-devel] Trac: getting logged out instantly

2017-10-30 Thread Jori Mäntysalo
On Mon, 30 Oct 2017, Erik Bray wrote: OK, the common source of problems might be my university network. Hard to imagine--maybe the university network has a proxy that is stripping/corrupting some request and/or response headers? Not at all that strange to me. Just three weeks ago we

Re: [sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Erik Bray
On Mon, Oct 30, 2017 at 4:33 PM, Jeroen Demeyer wrote: > On 2017-10-30 16:28, William Stein wrote: >> >> Not necessarily.Pickle is *the* canonical extensible object >> serialization system for Python. It’s of course very extensible in >> that users can define how

[sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Simon King
Hi Jeroen, On 2017-10-30, Jeroen Demeyer wrote: > Another very relevant question: are pickles supposed to be > hardware/OS-independent? In other words: can I take a pickle from one > machine and unpickle it on a different machine (assuming that the > software version

[sage-devel] Re: Getting rid of the pickle jar

2017-10-30 Thread Simon King
Hi Jeroen, On 2017-10-30, Jeroen Demeyer wrote: > On 2017-10-30 08:41, Simon King wrote: >> would you rather have no test at all than a >> superficial consistency test on a wide range of objects, versions and >> machines? > > Yes. A test which doesn't actually test