[sage-devel] Re: Anyone used SBox.interpolation_polynomial?

2018-12-22 Thread Travis Scrimshaw
It has to do more specifically with how GF(2^k) elements are interpreted by 
an SBox. The documentation says they are treated differently than the code, 
and I wanted to know which was correct. In particular, it was interpreted 
in the code as a list in opposite order. So I would like to know which is 
the correct behavior, which shows up in the interpolation_polynomial 
doctests.

Best,
Travis


On Thursday, December 20, 2018 at 1:17:38 AM UTC+10, Friedrich Wiemer wrote:
>
> Is there anyone who used the SBox.interpolation_polynomial?
> Travis and I found a wird behaviour of the  SBox.__call__ regarding 
> finitie field elements as inputs and think that this is a bug.This is fixed 
> in #25633 but it would be nice if someone who used this input (e.g. 
> indirectly with the `interpolation_polynomial` method) could review this 
> change and check if this brakes something?
>

-- 
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] hardcoding platform-dependent constants in cython

2018-12-22 Thread Jeroen Demeyer

On 2018-12-22 12:32, Volker Braun wrote:

Just avoid premature optimization; Nobody cares if the one-time dlopen()
takes a nanosecond longer or not...


I agree here... especially for a one-time function call.

And even if you do plan to open the GAP library thousands of times per 
second, you could just compute the filename once and store it.


--
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] hardcoding platform-dependent constants in cython

2018-12-22 Thread Volker Braun
Just avoid premature optimization; Nobody cares if the one-time dlopen() 
takes a nanosecond longer or not...


On Saturday, December 22, 2018 at 8:57:06 AM UTC+1, Dima Pasechnik wrote:
>
> The question came up here:
>
> https://trac.sagemath.org/ticket/26930
>
> This is for handling of GAP kernel packages, something we should be able 
> to do once #22626 (update to GAP 4.10) is merged
>
> On Sat, 22 Dec 2018 01:43 Nils Bruin  wrote:
>
>> On Friday, December 21, 2018 at 4:47:47 PM UTC-8, Isuru Fernando wrote:
>>>
>>> See 
>>> https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#conditional-compilation
>>>
>>> Isuru
>>>
>>>
>> Watch out that cython documentation recommends to distribute code in 
>> preprocessed form (so that the receiver does not need to have a functional 
>> cython to install your package). The "IF ..." statements would already be 
>> expanded. I think the cython people to a large degree recommend that you 
>> depend on the advanced constant folding that modern C compilers should be 
>> able to do (i.e., a C-level if statement with a constant conditional should 
>> get compiled with the true branch preselected).
>>
>> -- 
>> 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 post to this group, send email to sage-...@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.


[sage-devel] Call to registration to "Calcul Mathématique Libre" CIRM Feb 11-15 2019

2018-12-22 Thread Viviane Pons
Dear colleagues and fellow developers,

This is reminder for the conference "Calcul Mathématique Libre" which we
organize in CIRM (Marseilles) on Feb 11-15, 2019. Please register **before
January 7**.

This community building and training conference aims to bring together
users and developers of (open source) (pure) mathematics software,
including GAP, Linbox, MPIR, Pari/GP, SageMath, or Singular. Following
a long trend of highly productive workshops within the various
communities (e.g. the Sage-Days series), this conference will consist
of keynote talks and hands on tutorials with a focus on experimental
research and computational and development best practices; and plenty
of free time for interactions and collaborative work.

This conference is organized by the H2020 European project
OpenDreamKit, of which it will be the main public closing event.

Keynote speakers:

- Marie-Françoise Roy (Université de Rennes 1)
  A historical perspective on contributions of researchers and teachers to
(open source) mathematical software
- Max Horn (Justus-Liebig-Universität Gießen)
  Collaborative software development in a large system (GAP)
- Fernando Perez (Berkeley Institute for Data Science, California)
  Scientific computing, user interfaces, and community building
- Anne Schilling (UC Davis California)
  Impact of computer assisted experimentation in combinatorics
- Joris Van Der Hoeven (Ecole Polytechnique)
  General purpose mathematical software design

-- 
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.