Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Brian Sun
Running `./configure --with-system-givaro=no` fixed it! Thanks for all of 
the help!
On Thursday, August 19, 2021 at 6:57:23 AM UTC-4 dim...@gmail.com wrote:

>
>
> On Thu, 19 Aug 2021, 13:47 Samuel Lelievre,  wrote:
>
>> The Homebrew Givaro is also from the Macaulay2 taps.
>>
>> See the file `givaro.rb` in the "Formula" folder there:
>>
>> https://github.com/Macaulay2/homebrew-tap/tree/main/Formula
>>
>
> that was my guess. But, actually, anyone can create a custom Homebrew 
> formula...
>
>>
>>
>> 2021-08-19 01:49:05 UTC, John H Palmieri:
>>
>>> (I'm not sure where this comes from, since searching for "givaro" on 
>>> brew.sh comes up empty.)
>>>
>>> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>>>
 You could try uninstalling homebrew's givaro and/or use `./configure 
 --with-system-givaro=no` to force Sage to build its own givaro.

 On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:

> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
> work. I've the linbox log file again, which seems to be the only issue in 
> the installation. The errors seem similar to last time -- stuff about 
> "redefinition" and "implicit instantiation."
>
> Brian
>
 -- 
>>
> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.google.com/d/msgid/sage-devel/ad1adb8d-57ac-4cac-b866-f528c6e927b4n%40googlegroups.com.


Re: [sage-devel] Re: Adèles and idèles

2021-08-19 Thread TB

  
  
Dear Mathé,


From a quick skim of
  https://github.com/mathehertogh/adeles it looks very impressive. I
  do not know if it is better to incorporate the code into Sage or
  leave it as a stand-alone package, but in case the code does live
  in its own repository, I would make two suggestions:


1. Upload the package into PyPI, so
  users can install it with a command like:

$ sage --pip install package-name
and developers
  will still use `git clone` for the latest development version.
  This should make it easier for users to try out the code.

The Sage Sample
  Package [1] have the basic structure for Sage packages, but in a
  recent thread [2] it was noted that some of the packaging advice
  there is somewhat outdated. Your code is only (or mostly?) in
  Python, so consulting the Python Packaging User Guide [3] can be
  more useful.



2. Have the compiled HTML docs hosted
  somewhere (e.g. Read the Docs, GitHub Pages, personal website,
  etc.). Your repository seems to have extensive docs, and similar
  to the first point, it would make it easier for users to see what
  this package provides. This should also make the docs easier to
  find for a search engine.



Regards,
Tomer


[1]
  https://github.com/sagemath/sage_sample

[2]
  https://groups.google.com/g/sage-devel/c/wvhXWMwd0i8
[3] https://packaging.python.org/



On 18/08/2021 19:00, Mathe Hertogh
  wrote:


  
  Dear Nils and others,
  
  
  I would put my contribution in category B:
creating infrastructure for computing with adèles and idèles. 
  
  
  Currently completions of number fields at finite
primes are not yet implemented in sagemath and hence the
bundling of such computations into an adèle ring is not possible
at this point. My design is different, as you noted: I implement
rings of profinite integers as projective limits of rings of
integers. And based on that implementation I implemented the
finite adèle ring. 
  As for the idèles: there I do compute at different
completions of a number field explicitly. For this I implemented
the unit groups of such completions at finite primes seperately.
  Indeed Part 3 is an algorithmic contribution.
  
  
  As for the link to function fields and their
Picard groups: I did nog take this into consideration during the
design. So I would not know how easy it would to extend my code
to such circumstances. 
  
  
  As for the killer applications: the motivating
application of these rings/groups was the computation of Part 4.
Outside of that, I do not know of any applications that would
benefit from this code. But as this is the first implementation
of adèles/idèles in a computer algebra package (as for as I
know), this is not supprising I guess.
  You could view the following as an “application”
as well though: letting students learning about adèles and
idèles for the first time by letting them compute with them in
practice using sage, just like some undergraduate courses use
sage to teach about groups.
  
  
  You make a valid point about leaving the
repository on its own for a while. If this is how you think
about it and there are no other poeple with (different)
opinions, then I will let go of the plan to include the code
into sagemath for now. 
  But I know of at least one person that is
currently trying out the code, and maybe there are also others
that are still checking it out. If they have something to say
about the package, I would love to hear!
  
  
  Kind regards,
  Mathé
  
  
  

  On Sat, 14 Aug 2021 at
19:46, Nils Bruin  wrote:
  
  
Dear Mathé,


Congratulations on almost finishing your thesis. I
  trust it will just take a short stretch of time until you
  succeed in fully finishing your thesis (code from an
  unfinished thesis would be a bit of a red flag).  I'll
  give a bit of a general view of what the pros and cons of
  including code in sagemath are.


Useful new contributions to computer algebra packages
  come in many forms. I think two main categories are:
 A) Algorithmic contributions -- an implementation of
  some non-trivial algorithm (or suite of them) that allow
  certain computations that would be hard to do without
  them.
 B) Infrastructure/interface 

[sage-devel] Re: cube roots in Sage

2021-08-19 Thread Gregory Bard
I'm so grateful that this issue of cube roots (and other real nth roots)
has been solved so successfully. It's a huge help to those of us who
teach calculus, and it's a good story to showcase the cooperative
atmosphere of community developed open-source software.

I'd like to thank those responsible in the acknowledgements of the
2nd edition of Sage for Undergraduates. Would everyone who 
contributed a medium or large amount to this effort please email 
me, and provide the exact spelling of their name, as they would
like to see it appear in print?

With respect and gratitude,
---Greg


On Friday, June 12, 2020 at 9:04:17 AM UTC-5 kcrisman wrote:

> Just want to thank Kwankyu for getting this on a proper branch.  I've made 
> a few comments, and encourage anyone with feedback to do the same.  
>

-- 
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.google.com/d/msgid/sage-devel/4aea17be-c3a8-4ddb-a9d0-368655f6f731n%40googlegroups.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Dima Pasechnik
On Thu, 19 Aug 2021, 13:47 Samuel Lelievre, 
wrote:

> The Homebrew Givaro is also from the Macaulay2 taps.
>
> See the file `givaro.rb` in the "Formula" folder there:
>
> https://github.com/Macaulay2/homebrew-tap/tree/main/Formula
>

that was my guess. But, actually, anyone can create a custom Homebrew
formula...

>
>
> 2021-08-19 01:49:05 UTC, John H Palmieri:
>
>> (I'm not sure where this comes from, since searching for "givaro" on
>> brew.sh comes up empty.)
>>
>> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>>
>>> You could try uninstalling homebrew's givaro and/or use `./configure
>>> --with-system-givaro=no` to force Sage to build its own givaro.
>>>
>>> On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:
>>>
 I ran the two commands (and also uninstalled Macaulay2 and the copy of
 fflas-ffpack using Homebrew and tried it), and it still does not seem to
 work. I've the linbox log file again, which seems to be the only issue in
 the installation. The errors seem similar to last time -- stuff about
 "redefinition" and "implicit instantiation."

 Brian

>>> --
> 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.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com
> 
> .
>

-- 
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.google.com/d/msgid/sage-devel/CAAWYfq2UNNPA5rGn%2BOtb9tSsJB2rKz0VS7mxV8o41aZfUsJTWw%40mail.gmail.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Samuel Lelievre
The Homebrew Givaro is also from the Macaulay2 taps.

See the file `givaro.rb` in the "Formula" folder there:

https://github.com/Macaulay2/homebrew-tap/tree/main/Formula

2021-08-19 01:49:05 UTC, John H Palmieri:

> (I'm not sure where this comes from, since searching for "givaro" on 
> brew.sh comes up empty.)
>
> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>
>> You could try uninstalling homebrew's givaro and/or use `./configure 
>> --with-system-givaro=no` to force Sage to build its own givaro.
>>
>> On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:
>>
>>> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
>>> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
>>> work. I've the linbox log file again, which seems to be the only issue in 
>>> the installation. The errors seem similar to last time -- stuff about 
>>> "redefinition" and "implicit instantiation."
>>>
>>> Brian
>>>
>>

-- 
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.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com.