Re: [sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-05 Thread mmarco
Wrapping a code that we cannot ship makes little sense. I say: if we are 
going to rewrite it, we better do it as part of the sage library from the 
beginning. If the license is not clarified soon, that is the path that i 
would follow.

El lunes, 5 de mayo de 2014 14:49:42 UTC+2, Amit Jamadagni escribió:
>
> But the worry is that the maintainer has not given his thoughts on the 
> subject of license. I know re-writing is altogether at a different level 
> (keeping in mind the extensive results that Braid program provides), but 
> considering the advantages like total control (rather than wrapping, with 
> compiler version issues creeping up in between and, easy code maintenance 
> stand out. Keeping in mind that we are yet to estimate the robustness of 
> the software (as Nathan, above points comments on this subject) rewriting 
> would provide greater insight, and if everyone is okay with 
> re-implementation then we can do it in phases, initially writing wrappers 
> (temporary basis) for the less important and then partially moving 
> everything in. These are my thoughts as of now. 
>
>
> On Mon, May 5, 2014 at 6:02 PM, Amit Jamadagni 
> 
> > wrote:
>
>> Yes, with some pointers I guess I can pull it off. But re-writing would 
>> make it set once for all. That is what I think.
>>
>>
>> On Mon, May 5, 2014 at 5:58 PM, mmarco >wrote:
>>
>>> Amit, how do you feel about that patching? Do you feel capable of doing 
>>> it?
>>>
>>> El sábado, 3 de mayo de 2014 22:29:23 UTC+2, Amit Jamadagni escribió:
>>>
 Hello all,
  We (me under the mentorship of Miguel) have been working 
 on the implementation of Knot theory in Sage as a part of GSoC 2014 and 
 would like to hear your thoughts on the following subject. 
 We got introduced to the Braid progamme (http://www.layer8.co.uk/
 maths/braids/index.htm) project as we were looking out for Vogel's 
 algorithm implementation. Coming to the details of Braid project it has 
 been written in C++ and has some extensive results pertaining to Braid 
 word 
 representation. It would be great if the community could comment on the 
 issue below:

 Would it be great to rewrite the entire code or just wrap the present 
 code. (This has been posed keeping in mind that the community supports the 
 idea "building the car instead of reinventing the wheel" because of 
 the following reasons). 

 We are yet to know the license on which the above project has been 
 shipped. 

 If the author is happy then we are thinking of re-implementing the most 
 important parts and writing wrappers for the rest as a temporary solution 
 (during the coding period) and then move onto re-implement the rest of the 
 project (after the summer) [The re-implementation would help in 
 maintaining 
 the code].

 Some might comment saying " Why to reinvent the wheel if wrappers are 
 present ?? "
 We had problems compiling the braid project using gcc 4.7, it worked 
 fine using the older versions. So we cannot guarantee that wrappers would 
 work on every system. 
 And as mentioned above, re-implementation might help in 
 effective maintenance of the code. 

 So we have come to the conclusion that the code must be rewritten but 
 it would be done in phases.

 If there could be a better way out, it would be of great help if we 
 could be notified.  

 If it turns out to be negative (in sense the license does not meet the 
 expectations) then re-writing the entire logic would be the only option 
 remaining.(We are losing out on wrappers for some good code for a 
 temporary 
 period of time). 

 Hoping to hear from the community.Thanks.

 Amit.

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


Re: [sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-05 Thread Amit Jamadagni
But the worry is that the maintainer has not given his thoughts on the
subject of license. I know re-writing is altogether at a different level
(keeping in mind the extensive results that Braid program provides), but
considering the advantages like total control (rather than wrapping, with
compiler version issues creeping up in between and, easy code maintenance
stand out. Keeping in mind that we are yet to estimate the robustness of
the software (as Nathan, above points comments on this subject) rewriting
would provide greater insight, and if everyone is okay with
re-implementation then we can do it in phases, initially writing wrappers
(temporary basis) for the less important and then partially moving
everything in. These are my thoughts as of now.


On Mon, May 5, 2014 at 6:02 PM, Amit Jamadagni wrote:

> Yes, with some pointers I guess I can pull it off. But re-writing would
> make it set once for all. That is what I think.
>
>
> On Mon, May 5, 2014 at 5:58 PM, mmarco  wrote:
>
>> Amit, how do you feel about that patching? Do you feel capable of doing
>> it?
>>
>> El sábado, 3 de mayo de 2014 22:29:23 UTC+2, Amit Jamadagni escribió:
>>
>>> Hello all,
>>>  We (me under the mentorship of Miguel) have been working on
>>> the implementation of Knot theory in Sage as a part of GSoC 2014 and would
>>> like to hear your thoughts on the following subject.
>>> We got introduced to the Braid progamme (http://www.layer8.co.uk/
>>> maths/braids/index.htm) project as we were looking out for Vogel's
>>> algorithm implementation. Coming to the details of Braid project it has
>>> been written in C++ and has some extensive results pertaining to Braid word
>>> representation. It would be great if the community could comment on the
>>> issue below:
>>>
>>> Would it be great to rewrite the entire code or just wrap the present
>>> code. (This has been posed keeping in mind that the community supports the
>>> idea "building the car instead of reinventing the wheel" because of the
>>> following reasons).
>>>
>>> We are yet to know the license on which the above project has been
>>> shipped.
>>>
>>> If the author is happy then we are thinking of re-implementing the most
>>> important parts and writing wrappers for the rest as a temporary solution
>>> (during the coding period) and then move onto re-implement the rest of the
>>> project (after the summer) [The re-implementation would help in maintaining
>>> the code].
>>>
>>> Some might comment saying " Why to reinvent the wheel if wrappers are
>>> present ?? "
>>> We had problems compiling the braid project using gcc 4.7, it worked
>>> fine using the older versions. So we cannot guarantee that wrappers would
>>> work on every system.
>>> And as mentioned above, re-implementation might help in
>>> effective maintenance of the code.
>>>
>>> So we have come to the conclusion that the code must be rewritten but it
>>> would be done in phases.
>>>
>>> If there could be a better way out, it would be of great help if we
>>> could be notified.
>>>
>>> If it turns out to be negative (in sense the license does not meet the
>>> expectations) then re-writing the entire logic would be the only option
>>> remaining.(We are losing out on wrappers for some good code for a temporary
>>> period of time).
>>>
>>> Hoping to hear from the community.Thanks.
>>>
>>> Amit.
>>>
>>  --
>> 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 http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-05 Thread mmarco
Well, we still have the license issue. Without the explicit permission of 
the author we cannot distribute a derivative work under the GPL.

El lunes, 5 de mayo de 2014 14:32:36 UTC+2, Amit Jamadagni escribió:
>
> Yes, with some pointers I guess I can pull it off. But re-writing would 
> make it set once for all. That is what I think.
>
>
> On Mon, May 5, 2014 at 5:58 PM, mmarco >wrote:
>
>> Amit, how do you feel about that patching? Do you feel capable of doing 
>> it?
>>
>> El sábado, 3 de mayo de 2014 22:29:23 UTC+2, Amit Jamadagni escribió:
>>
>>> Hello all,
>>>  We (me under the mentorship of Miguel) have been working on 
>>> the implementation of Knot theory in Sage as a part of GSoC 2014 and would 
>>> like to hear your thoughts on the following subject. 
>>> We got introduced to the Braid progamme (http://www.layer8.co.uk/
>>> maths/braids/index.htm) project as we were looking out for Vogel's 
>>> algorithm implementation. Coming to the details of Braid project it has 
>>> been written in C++ and has some extensive results pertaining to Braid word 
>>> representation. It would be great if the community could comment on the 
>>> issue below:
>>>
>>> Would it be great to rewrite the entire code or just wrap the present 
>>> code. (This has been posed keeping in mind that the community supports the 
>>> idea "building the car instead of reinventing the wheel" because of the 
>>> following reasons). 
>>>
>>> We are yet to know the license on which the above project has been 
>>> shipped. 
>>>
>>> If the author is happy then we are thinking of re-implementing the most 
>>> important parts and writing wrappers for the rest as a temporary solution 
>>> (during the coding period) and then move onto re-implement the rest of the 
>>> project (after the summer) [The re-implementation would help in maintaining 
>>> the code].
>>>
>>> Some might comment saying " Why to reinvent the wheel if wrappers are 
>>> present ?? "
>>> We had problems compiling the braid project using gcc 4.7, it worked 
>>> fine using the older versions. So we cannot guarantee that wrappers would 
>>> work on every system. 
>>> And as mentioned above, re-implementation might help in 
>>> effective maintenance of the code. 
>>>
>>> So we have come to the conclusion that the code must be rewritten but it 
>>> would be done in phases.
>>>
>>> If there could be a better way out, it would be of great help if we 
>>> could be notified.  
>>>
>>> If it turns out to be negative (in sense the license does not meet the 
>>> expectations) then re-writing the entire logic would be the only option 
>>> remaining.(We are losing out on wrappers for some good code for a temporary 
>>> period of time). 
>>>
>>> Hoping to hear from the community.Thanks.
>>>
>>> Amit.
>>>
>>  -- 
>> 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 http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-05 Thread Amit Jamadagni
Yes, with some pointers I guess I can pull it off. But re-writing would
make it set once for all. That is what I think.


On Mon, May 5, 2014 at 5:58 PM, mmarco  wrote:

> Amit, how do you feel about that patching? Do you feel capable of doing it?
>
> El sábado, 3 de mayo de 2014 22:29:23 UTC+2, Amit Jamadagni escribió:
>
>> Hello all,
>>  We (me under the mentorship of Miguel) have been working on
>> the implementation of Knot theory in Sage as a part of GSoC 2014 and would
>> like to hear your thoughts on the following subject.
>> We got introduced to the Braid progamme (http://www.layer8.co.uk/
>> maths/braids/index.htm) project as we were looking out for Vogel's
>> algorithm implementation. Coming to the details of Braid project it has
>> been written in C++ and has some extensive results pertaining to Braid word
>> representation. It would be great if the community could comment on the
>> issue below:
>>
>> Would it be great to rewrite the entire code or just wrap the present
>> code. (This has been posed keeping in mind that the community supports the
>> idea "building the car instead of reinventing the wheel" because of the
>> following reasons).
>>
>> We are yet to know the license on which the above project has been
>> shipped.
>>
>> If the author is happy then we are thinking of re-implementing the most
>> important parts and writing wrappers for the rest as a temporary solution
>> (during the coding period) and then move onto re-implement the rest of the
>> project (after the summer) [The re-implementation would help in maintaining
>> the code].
>>
>> Some might comment saying " Why to reinvent the wheel if wrappers are
>> present ?? "
>> We had problems compiling the braid project using gcc 4.7, it worked fine
>> using the older versions. So we cannot guarantee that wrappers would work
>> on every system.
>> And as mentioned above, re-implementation might help in
>> effective maintenance of the code.
>>
>> So we have come to the conclusion that the code must be rewritten but it
>> would be done in phases.
>>
>> If there could be a better way out, it would be of great help if we could
>> be notified.
>>
>> If it turns out to be negative (in sense the license does not meet the
>> expectations) then re-writing the entire logic would be the only option
>> remaining.(We are losing out on wrappers for some good code for a temporary
>> period of time).
>>
>> Hoping to hear from the community.Thanks.
>>
>> Amit.
>>
>  --
> 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 http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-05 Thread mmarco
Amit, how do you feel about that patching? Do you feel capable of doing it?

El sábado, 3 de mayo de 2014 22:29:23 UTC+2, Amit Jamadagni escribió:
>
> Hello all,
>  We (me under the mentorship of Miguel) have been working on 
> the implementation of Knot theory in Sage as a part of GSoC 2014 and would 
> like to hear your thoughts on the following subject. 
> We got introduced to the Braid progamme (
> http://www.layer8.co.uk/maths/braids/index.htm) project as we were 
> looking out for Vogel's algorithm implementation. Coming to the details of 
> Braid project it has been written in C++ and has some extensive results 
> pertaining to Braid word representation. It would be great if the community 
> could comment on the issue below:
>
> Would it be great to rewrite the entire code or just wrap the present 
> code. (This has been posed keeping in mind that the community supports the 
> idea "building the car instead of reinventing the wheel" because of the 
> following reasons). 
>
> We are yet to know the license on which the above project has been 
> shipped. 
>
> If the author is happy then we are thinking of re-implementing the most 
> important parts and writing wrappers for the rest as a temporary solution 
> (during the coding period) and then move onto re-implement the rest of the 
> project (after the summer) [The re-implementation would help in maintaining 
> the code].
>
> Some might comment saying " Why to reinvent the wheel if wrappers are 
> present ?? "
> We had problems compiling the braid project using gcc 4.7, it worked fine 
> using the older versions. So we cannot guarantee that wrappers would work 
> on every system. 
> And as mentioned above, re-implementation might help in 
> effective maintenance of the code. 
>
> So we have come to the conclusion that the code must be rewritten but it 
> would be done in phases.
>
> If there could be a better way out, it would be of great help if we could 
> be notified.  
>
> If it turns out to be negative (in sense the license does not meet the 
> expectations) then re-writing the entire logic would be the only option 
> remaining.(We are losing out on wrappers for some good code for a temporary 
> period of time). 
>
> Hoping to hear from the community.Thanks.
>
> Amit.
>

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-04 Thread Simon King
Hi Marco,

On 2014-05-04, mmarco  wrote:
> That sounds a lot like rewriting it.

Why?

> El domingo, 4 de mayo de 2014 17:21:21 UTC+2, Volker Braun escribi=C3=B3:
>>
>> I've actually looked at the code. If we really want to use it we'd really=
>> need to turn it into a shared library, strip out debugging code, and=20
>> probably replace the custom bigint library with gmp/mpir.

That rather sounds like "patching" to me. Non-trivial patching for sure,
but rewriting would be a different level.

Best regards,
Simon

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-04 Thread mmarco
That sounds a lot like rewriting it.

El domingo, 4 de mayo de 2014 17:21:21 UTC+2, Volker Braun escribió:
>
> I've actually looked at the code. If we really want to use it we'd really 
> need to turn it into a shared library, strip out debugging code, and 
> probably replace the custom bigint library with gmp/mpir.
>
>
>
> On Saturday, May 3, 2014 10:29:23 PM UTC+2, Amit Jamadagni wrote:
>>
>> Hello all,
>>  We (me under the mentorship of Miguel) have been working on 
>> the implementation of Knot theory in Sage as a part of GSoC 2014 and would 
>> like to hear your thoughts on the following subject. 
>> We got introduced to the Braid progamme (
>> http://www.layer8.co.uk/maths/braids/index.htm) project as we were 
>> looking out for Vogel's algorithm implementation. Coming to the details of 
>> Braid project it has been written in C++ and has some extensive results 
>> pertaining to Braid word representation. It would be great if the community 
>> could comment on the issue below:
>>
>> Would it be great to rewrite the entire code or just wrap the present 
>> code. (This has been posed keeping in mind that the community supports the 
>> idea "building the car instead of reinventing the wheel" because of the 
>> following reasons). 
>>
>> We are yet to know the license on which the above project has been 
>> shipped. 
>>
>> If the author is happy then we are thinking of re-implementing the most 
>> important parts and writing wrappers for the rest as a temporary solution 
>> (during the coding period) and then move onto re-implement the rest of the 
>> project (after the summer) [The re-implementation would help in maintaining 
>> the code].
>>
>> Some might comment saying " Why to reinvent the wheel if wrappers are 
>> present ?? "
>> We had problems compiling the braid project using gcc 4.7, it worked fine 
>> using the older versions. So we cannot guarantee that wrappers would work 
>> on every system. 
>> And as mentioned above, re-implementation might help in 
>> effective maintenance of the code. 
>>
>> So we have come to the conclusion that the code must be rewritten but it 
>> would be done in phases.
>>
>> If there could be a better way out, it would be of great help if we could 
>> be notified.  
>>
>> If it turns out to be negative (in sense the license does not meet the 
>> expectations) then re-writing the entire logic would be the only option 
>> remaining.(We are losing out on wrappers for some good code for a temporary 
>> period of time). 
>>
>> Hoping to hear from the community.Thanks.
>>
>> Amit.
>>
>

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-04 Thread Volker Braun
I've actually looked at the code. If we really want to use it we'd really 
need to turn it into a shared library, strip out debugging code, and 
probably replace the custom bigint library with gmp/mpir.



On Saturday, May 3, 2014 10:29:23 PM UTC+2, Amit Jamadagni wrote:
>
> Hello all,
>  We (me under the mentorship of Miguel) have been working on 
> the implementation of Knot theory in Sage as a part of GSoC 2014 and would 
> like to hear your thoughts on the following subject. 
> We got introduced to the Braid progamme (
> http://www.layer8.co.uk/maths/braids/index.htm) project as we were 
> looking out for Vogel's algorithm implementation. Coming to the details of 
> Braid project it has been written in C++ and has some extensive results 
> pertaining to Braid word representation. It would be great if the community 
> could comment on the issue below:
>
> Would it be great to rewrite the entire code or just wrap the present 
> code. (This has been posed keeping in mind that the community supports the 
> idea "building the car instead of reinventing the wheel" because of the 
> following reasons). 
>
> We are yet to know the license on which the above project has been 
> shipped. 
>
> If the author is happy then we are thinking of re-implementing the most 
> important parts and writing wrappers for the rest as a temporary solution 
> (during the coding period) and then move onto re-implement the rest of the 
> project (after the summer) [The re-implementation would help in maintaining 
> the code].
>
> Some might comment saying " Why to reinvent the wheel if wrappers are 
> present ?? "
> We had problems compiling the braid project using gcc 4.7, it worked fine 
> using the older versions. So we cannot guarantee that wrappers would work 
> on every system. 
> And as mentioned above, re-implementation might help in 
> effective maintenance of the code. 
>
> So we have come to the conclusion that the code must be rewritten but it 
> would be done in phases.
>
> If there could be a better way out, it would be of great help if we could 
> be notified.  
>
> If it turns out to be negative (in sense the license does not meet the 
> expectations) then re-writing the entire logic would be the only option 
> remaining.(We are losing out on wrappers for some good code for a temporary 
> period of time). 
>
> Hoping to hear from the community.Thanks.
>
> Amit.
>

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-04 Thread Nathan Dunfield

>
> Hoping to hear from the community.Thanks.
>

Personally, I would start by stress-testing the code on a variety of inputs 
to determine it's robustness.  If it crashes a lot, there's not much point 
wrapping it.  On the other hand, if it turns out to be bullet-proof, I 
would recommend against reimplementation absent a compelling reason to do 
so.   As Leif says, the issue of compiling it under a newer version of gcc 
is a typical problem for C++, and so unless your aiming for a pure Python 
(or Python + C) implementation, I don't see that as a major issue.  

I would also do some tests of the code's correctness before making a 
decision either way.  For example, you could take a knot, make a braid, get 
the DT code, make a knot from that, and then check that the initial and 
final knot are the same.  As long as you stick to hyperbolic knots, SnapPy 
can easily do the final step.  

Nathan

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-03 Thread leif

leif wrote:

Amit Jamadagni wrote:

[...]
We got introduced to the Braid progamme
(http://www.layer8.co.uk/maths/braids/index.htm) project as we were
looking out for Vogel's algorithm implementation. Coming to the details
of Braid project it has been written in C++ and has some extensive
results pertaining to Braid word representation. It would be great if
the community could comment on the issue below:

Would it be great to rewrite the entire code or just wrap the present
code. (This has been posed keeping in mind that the community supports
the idea "building the car instead of reinventing the wheel" because of
the following reasons).

We are yet to know the license on which the above project has been
shipped.


Yep, even the source tarball lacks any licen[cs]e or copyright
information; the only thing I could find is

   Written by A. Bartholomew, January 2008 - February 2013

in a single file.


P.S.:  From [1]:

[...] This is a spare time activity for me which I do solely for
pleasure, for my day job I work as a computer network engineer.
[...]

If you plan to use any of these programmes, please read the
disclaimer and general comments [2]

If you find any bugs or errors, please email me at
andr...@layer8.co.uk


From [2]:

All the software and results on this site are provided as is, and
in good faith. To the best of my knowledge the code is accurate and
the results presented correct, however, if you decide to use these
results or software then I accept no responsibility for the
consequences of any errors they may contain.

Any errors that are reported to me will, in due course, be
corrected at this site but no guarantees beyond best endeavours are
given. [...]


-leif


[1] http://www.layer8.co.uk/maths/

[2] http://www.layer8.co.uk/maths/disclaimer.htm

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

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


[sage-devel] Re: Regarding Braid project and its integration in Sage

2014-05-03 Thread leif

Amit Jamadagni wrote:

[...]
We got introduced to the Braid progamme
(http://www.layer8.co.uk/maths/braids/index.htm) project as we were
looking out for Vogel's algorithm implementation. Coming to the details
of Braid project it has been written in C++ and has some extensive
results pertaining to Braid word representation. It would be great if
the community could comment on the issue below:

Would it be great to rewrite the entire code or just wrap the present
code. (This has been posed keeping in mind that the community supports
the idea "building the car instead of reinventing the wheel" because of
the following reasons).

We are yet to know the license on which the above project has been shipped.


Yep, even the source tarball lacks any licen[cs]e or copyright 
information; the only thing I could find is


  Written by A. Bartholomew, January 2008 - February 2013

in a single file.



If the author is happy then we are thinking of re-implementing the most
important parts and writing wrappers for the rest as a temporary
solution (during the coding period) and then move onto re-implement the
rest of the project (after the summer) [The re-implementation would help
in maintaining the code].

Some might comment saying " Why to reinvent the wheel if wrappers are
present ?? "
We had problems compiling the braid project using gcc 4.7, it worked
fine using the older versions. So we cannot guarantee that wrappers
would work on every system.


We could certainly help in making it conform to newer C++ standards; GCC 
(g++) tends to get "stricter" with each major release.




And as mentioned above, re-implementation might help in
effective maintenance of the code.


Well, contributing changes back upstream would certainly be a better 
option, provided the licence allows us to redistribute the code 
(modified or not).



-leif


So we have come to the conclusion that the code must be rewritten but it
would be done in phases.

If there could be a better way out, it would be of great help if we
could be notified.

If it turns out to be negative (in sense the license does not meet the
expectations) then re-writing the entire logic would be the only option
remaining.(We are losing out on wrappers for some good code for a
temporary period of time).

Hoping to hear from the community.Thanks.

Amit.


--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

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