[sage-devel] Re: talk

2018-07-24 Thread Kwankyu Lee
Charming slides! I could sympathize with most of your wishlist.

Many thanks that you started Sage project, around the time when I wished 
something like Sage!

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: talk

2018-07-24 Thread John H Palmieri


On Tuesday, July 24, 2018 at 4:32:38 PM UTC-7, William wrote:
>
> On Tue, Jul 24, 2018 at 5:49 PM, Timo Kaufmann  > wrote: 
> > I really like your wishlist! The all-or-nothing nature of sage and the 
> slow 
> > startup time 
> > (although it's actually more like 1.3 seconds with a warm cache 
> > on my machine) 
>
> Precisely how are you benchmarking this, and what is your machine? 
> Can you copy/paste a session? 
>

You weren't asking me, but: cold, "sage --startuptime" gives me

Total time (sum over exclusive time): 28884.693ms

Then rerunning it gives

Total time (sum over exclusive time): 1019.819ms

Or if you don't like 'sage --startuptime':

$ time ./sage -c 'print("hello")'
hello

real0m1.210s
user0m0.849s
sys0m0.279s

This is on a 2017 iMac, 4.2 GHz Intel i7, 32 GB, "fusion" drive.

-- 
John



-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: talk

2018-07-24 Thread William Stein
On Tue, Jul 24, 2018 at 5:49 PM, Timo Kaufmann  wrote:
> I really like your wishlist! The all-or-nothing nature of sage and the slow
> startup time
> (although it's actually more like 1.3 seconds with a warm cache
> on my machine)

Precisely how are you benchmarking this, and what is your machine?
Can you copy/paste a session?


> I'm not sure if its a good idea to separate user and developer error
> messages.

I think it might be, because most end users of Sage have very, very
different expectations, backgrounds, etc., than Sage developers.
Developers are
often intimately familiar with Python, Cython, and the Sage library.
 Instructors who I've talked to who teach undergrads  and who don't
give up on Sage typically create their own local "dictionaries" to
help their students figure out what the  cryptic Sage error messages
actually mean.  I've seen this repeatedly, and it's often done in a
context sensitive way.

Improving presentation of errors messages (especially the Sage
preparser related mangling) is probably one of the more accessible
projects.  Maybe somebody will do it as a GSoC in 2019...

> I'm also not convinced that machine learning would be of great
> help here, but who knows!

It is only potentially useful if you have a large sample of actual
errors in the wild...  Stackoverflow can be useful for that for some
software (not Sage).

-- 
William (http://wstein.org)

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: talk

2018-07-24 Thread Timo Kaufmann
I really like your wishlist! The all-or-nothing nature of sage and the slow 
startup time (although it's actually more like 1.3 seconds with a warm 
cache on my machine) are my biggest pain points. 

I'm not sure if its a good idea to separate user and developer error 
messages. I'm also not convinced that machine learning would be of great 
help here, but who knows!

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Quaternion algebras

2018-07-24 Thread Jeroen Demeyer

On 2018-07-24 22:52, John Cremona wrote:

I heard  a talk today by Henri Cohen

Today? Nice coincidence :-)


The recent pari release (2.11.0)
has classical modular forms but not Hilbert.  HC said that it was on his
wishlist to do similar form HMFs, and he planned to work on that with
Aurel Page, but they have not done it yet.


In any case, progress for this wishlist item is most likely going to 
come from PARI/GP.



I do not think that there are quaternion algebras in there yet


They have a whole package dealing with finite-dimensional algebras in 
general and a few specific things for quaternion algebras:


https://pari.math.u-bordeaux.fr/dochtml/html/Associative_and_central_simple_algebras.html

--
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Quaternion algebras

2018-07-24 Thread John Cremona
On 24 July 2018 at 22:47, William Stein  wrote:

> On Tue, Jul 24, 2018 at 4:19 PM, Jeroen Demeyer 
> wrote:
> > You write in your wishlist
> >
> > Quaternion algebras over totally real fields
> >
> > What exactly do you want to do?
>
> I want to compute Hilbert modular forms over totally real fields.
>
> > PARI/GP has done a lot in that direction in
> > recent years, but none of that is interfaced/used by Sage.
>
> NICE ! -- I'll check it out...
>

I heard  a talk today by Henri Cohen (at Oberwolfach -- remembering happy
days when William was here too).  The recent pari release (2.11.0) has
classical modular forms but not Hilbert.  HC said that it was on his
wishlist to do similar form HMFs, and he planned to work on that with Aurel
Page, but they have not done it yet.  I do not think that there are
quaternion algebras in there yet, but would have to check to make certain.

John


>
> > --
> > 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 this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> William (http://wstein.org)
>
> --
> 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 this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Quaternion algebras

2018-07-24 Thread William Stein
On Tue, Jul 24, 2018 at 4:19 PM, Jeroen Demeyer  wrote:
> You write in your wishlist
>
> Quaternion algebras over totally real fields
>
> What exactly do you want to do?

I want to compute Hilbert modular forms over totally real fields.

> PARI/GP has done a lot in that direction in
> recent years, but none of that is interfaced/used by Sage.

NICE ! -- I'll check it out...

> --
> 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 this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Quaternion algebras

2018-07-24 Thread Jeroen Demeyer

You write in your wishlist

Quaternion algebras over totally real fields

What exactly do you want to do? PARI/GP has done a lot in that direction 
in recent years, but none of that is interfaced/used by Sage.


--
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] sage build clangs

2018-07-24 Thread Samuel Lelievre
If I understand correctly, thanks to the work in

- Sage Trac ticket 12426
  Make Sage build with clang (3.7+) and make it the default on OS X
  https://trac.sagemath.org/ticket/12426

building Sage with clang works since Sage 8.2,
but this makes Sage build with clang only under
macOS >= 10.11 "El Capitan", in particular,
not under macOS 10.9.x "Mavericks or under
macOS 10.10.x "Yosemite".

In any case, Mavericks and Yosemite are no longer
supported by Apple, so it is highly encouraged to
upgrade to a supported operating system -- either
a recent enough macOS or Linux!   : )

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: 8.3.rc1: issue with sage banner

2018-07-24 Thread Samuel Lelievre
Note that you can run

sage -v

to get just the version; and

sage -q

to start in quiet mode (no banner).

Combining them gives a "simplified banner".

$ sage -v; sage -q
SageMath version 8.3.rc2, Release Date: 2018-07-22
sage:

-- 
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 this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.