Re: [sage-devel] Re: Pictures in documentation

2015-07-23 Thread Vincent Knight
There is also http://trac.sagemath.org/ticket/18003 which is being worked
on and has images of fully packed loops. I thought it looked good :)

We'll also be included some more images on some upcoming game theory
tickets.


On Thu, Jul 23, 2015 at 11:28 AM Eric Gourgoulhon 
wrote:

> Hi,
>
>
> Le mardi 21 juillet 2015 11:40:10 UTC+2, Jori Mäntysalo a écrit :
>>
>> http://trac.sagemath.org/ticket/18932
>>
>> This is first example of ..PLOT used (if not counting what Nathann made
>> when he implemented this feature).
>
>
> Another example is the documentation of the functions plot() of coordinate
> charts
> and of manifold points in #18783 
> (not ready for review yet).
> I found it very useful and, on this example, it looks professional to me.
>
> Best wishes,
>
> Eric.
>
>  --
> 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: European Horizon 2020 project OpenDreamKit accepted

2015-05-20 Thread Vincent Knight
Congratulations to all!

Bravo :)

Vince

On Wed, May 20, 2015 at 8:43 AM 'Martin R' via sage-devel <
sage-devel@googlegroups.com> wrote:

> Wow, it's incredible what you achieved here!  And I remember, it seemed to
> be hard work!  Congratulations!
>
>
> Martin
>
> --
> 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: GSoC 2015: 5 projects funded

2015-04-27 Thread Vincent Knight
Thanks for the hard work Harald and welcome to all the students!

Vince

On Tue, 28 Apr 2015 04:58 Dima Pasechnik  wrote:

> Thanks, Harald,
> for the work making this possible.
>
>
> On Monday, 27 April 2015 21:07:46 UTC+1, Harald Schilly wrote:
>>
>> Hello students and welcome to SageMath! This years GSoC funds five
>> projects:
>>
>> (Multivariate) Asymptotic Expressions
>> Benjamin Hackl and Daniel Krenn
>>
>> http://www.google-melange.com/gsoc/project/details/google/gsoc2015/behackl/5649050225344512
>>
>> Performance Improvements for the Graph Module of Sagemath
>> Michele Bborassi and David Coudert
>>
>> http://www.google-melange.com/gsoc/project/details/google/gsoc2015/borassi/5685265389584384
>>
>> Connectivity and optimization algorithms in matroids
>> Chao Xu and Stefan van Zwam, Michael Welsh
>>
>> http://www.google-melange.com/gsoc/project/details/google/gsoc2015/mgccl/5676830073815040
>>
>> SageMathCloud personal version
>> Jonathan Lee and William Stein
>>
>> http://www.google-melange.com/gsoc/project/details/google/gsoc2015/jlee27/5668600916475904
>>
>> Extending Game Theory in Sage
>> Tobenna Peter Igwe and Vince Knight, Dima Pasechnik
>>
>> http://www.google-melange.com/gsoc/project/details/google/gsoc2015/ptigwe/5693417237512192
>>
>> -- Harald
>>
>  --
> 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] Sage logo -- Proposal

2015-03-29 Thread Vincent Knight
I can't say I have a problem with the current logo however having seen you
talk about the code behind this one I think it's super cool to have a logo
produced by Sage itself. I like it.

Vince

On Sun, Mar 29, 2015 at 4:23 PM jplab  wrote:

> Hi all,
>
> Lately, I was suggested to create a post concerning the Sage logo. It
> would be nice to have an open discussion about some possibilities. Perhaps
> this is a good place to do so.
>
> I hope the discussion will be constructive.
>
> Indeed, one may ask the reason "why bother?", "why change the logo?". This
> is indeed a relevant question to ask. Perhaps this thread could gather
> ideas about the sage logo and opinions about it?
>
> I believe it seems to some users and developers that the logo is something
> that looks like an icosahedron. Is that the case in the origin?
>
> If so, I used sage and tikz to produce a similar picture which is an
> actual faithful drawing of an icosahedron. (I join the picture and the code
> to this post). I kind of like the picture and it was produced using Sage
> (and tikz)! A self-made logo is cool also I would say?
>
> Could this be used to produce a logo for sage?
>
> Plusses:
> -vector graphics
> -custumizable
>
> One could also easily add the "sage" letter logo to it.
>
> What do you think?
>
> --
> 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: [sage-nt] GSoC projects

2015-02-11 Thread Vincent Knight
I have added a project on Game Theory (generally extend what is there:
still a lot of work to do! :)).

Apologies in advance if I've done this wrong (would not be my first
time...).

Thanks,
Vince

On Wed Feb 11 2015 at 15:34:39 Simon Spicer  wrote:

> As someone who participated in GSoC 2014 as a grad student implementing
> mathematical code in Sage, I’d like to chip to any students following this
> list that this is a *highly* enjoyably and rewarding way to spend a summer.
> Would highly recommend; shoot me an email if you want more details on the
> actual logistics of doing GSoC project.
>
> Also, I often ended up needing to work with PARI directly, so I think that
> wrapping all the new functionality thereof for easy access in Sage would
> make an excellent summer project.
>
> - Simon Spicer
>
> On Feb 11, 2015, at 4:47 AM, John Cremona  wrote:
>
> On 11 February 2015 at 10:04, Jeroen Demeyer 
> wrote:
>
> On 2015-02-11 05:03, William Stein wrote:
>
>
> Does anybody have any GSoC projects to add to
>
> http://wiki.sagemath.org/GSoC/2015
>
> There were basically zero that involved actual mathematics, so I've
> added two.
>
>
>
> I'm not sure whether the HNF for number fields is useful, given that PARI
> has it already (unless you mean a different kind of HNF, but given that you
> refer to Cohen it's probably the one which is in PARI).
>
> More generally, there is really a huge amount of new functionality in PARI
> git master (e.g. modular symbols, non-commutative algebras, elliptic curve
> point counting, L-functions coming soon). Sage should interface that, not
> replicate.
>
>
> +1
>
> I think it would be a very good project to expose some more of the
> extra functionality from the pari library to Sage -- as Jeroen says,
> the capabilities of pari have increased rather rapidly recently.
>
> John
>
>
> Jeroen.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
>
> "sage-nt" group.
>
>
> To unsubscribe from this group and stop receiving emails from it, send an
>
> email to sage-nt+unsubscr...@googlegroups.com.
> To post to this group, send an email to sage...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-nt.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-nt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-nt+unsubscr...@googlegroups.com.
> To post to this group, send an email to sage...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-nt.
>
>
> 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.
>

-- 
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: GSoC projects

2015-02-11 Thread Vincent Knight
Dima pointed this out to me the other day but I haven't had time to add
anything to it. I'm hoping to get to it this evening with an idea of adding
a Game theory project :)

Thanks,
Vince

On Wed Feb 11 2015 at 12:52:32 PM mmarco  wrote:

> IIRC there was an old proposal about implementing semialgebraic sets. It
> would be nice to retake it. QEPCAD could be used to do much of the
> heavylifting computations. I know a PhD student that plans to finish his
> thesis this year and works on related concepts, i can ask him about his
> availability.
>
> El miércoles, 11 de febrero de 2015, 13:30:10 (UTC+1), Dima Pasechnik
> escribió:
>
>> On 2015-02-11, William Stein  wrote:
>> > Does anybody have any GSoC projects to add to
>> >
>> > http://wiki.sagemath.org/GSoC/2015
>> >
>> > There were basically zero that involved actual mathematics, so I've
>> > added two.  One is relevant for quaternion algebras and another for
>> > modular forms.
>> >
>> > Hey people -- you could use this to support a frickin' grad student
>> > for the summer to get amazing deep useful mathematical code into
>> > Sage?!
>>
>> as this just popped in, we can add a project to create an interface
>> for CGAL in Sage...
>> (yes, nowadays CGAL licence is mostly (L)GPL)
>>
>> Dima
>>
>>
>>  --
> 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: LinearModelFit contribution

2015-01-28 Thread Vincent Knight
I would certainly appreciate the functionality, if you could ping me when
the ticket goes up I'd be delighted to act as a reviewer.

Vince

On Wed Jan 28 2015 at 3:17:36 PM kcrisman  wrote:

>
> I'm sure the functionality would be appreciated.
>>
>
> +1 !
>
> --
> 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] Not sure if compilation is giving an error (something to do with lazy_import)

2014-12-18 Thread Vincent Knight
Great, thanks both. Will refactor as necessary :)

Vince

On Thu Dec 18 2014 at 2:51:03 PM Volker Braun  wrote:

> On Thursday, December 18, 2014 2:51:28 PM UTC+1, Vincent Knight wrote:
>>
>> lazy_import('sage.misc.package', 'is_package_installed', at_startup=True)
>>
>
> You should never use at_startup=True, this option should have never been
> added.
>
> --
> 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] Not sure if compilation is giving an error (something to do with lazy_import)

2014-12-18 Thread Vincent Knight
On Thu Dec 18 2014 at 1:51:17 PM Vincent Knight  wrote:

> On Thu Dec 18 2014 at 1:33:08 PM Jeroen Demeyer 
> wrote:
>
>> I think the error message is clear enough, you shouldn't be resolving
>> lazy imports on Sage startup.
>
>
> Thanks for the reply. I'm afraid that it's not quite clear enough for me
> which I think probably means my understanding of it isn't good enough :)
>
>
>> Usually, lazy imports are used to limit
>> the amount of imports done at Sage startup. So if a lazy import is used
>> during Sage startup, that's usually a bug.
>>
>
> I don't quite understand what you mean by the above: if the point of lazy
> import is to limit imports at Sage startup am I not supposed to use it at
> Sage startup?
>

I've thought about this a bit more. Is the issue coming from the fact that
we're using lazy_import in the front matter of our library, and this is
what is being kicked in on startup? Whereas we want to actually use
lazy_import in methods etc... so that they import as necessary?

If I've understood that correctly I think I should be able to refactor as
you suggested :)

>
>
>>
>> Now the underlying problem is that you use is_package_installed() in
>> code which is executed on startup. I suggest you try to refactor your
>> code to avoid the use of is_package_installed (for example, use
>> try:/except ImportError: instead).
>>
>
> We've managed to remove the error message by running:
>
> lazy_import('sage.misc.package', 'is_package_installed', at_startup=True)
>
> but I think you're saying that this is not the right way to go...
> I think that I understood elsewhere that using `is_package_installed` is
> preferred over try/except statements...
>
> Am I missing some documentation somewhere that would clarify would fix  my
> lack of understanding :) (Apologies if this is something I should have
> already read).
>
> Thanks for the help,
> Vince
>
>
>
>> On 2014-12-18 12:44, Vincent Knight wrote:
>> > Resolving lazy import is_package_installed during startup
>>
>> --
>> 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] Not sure if compilation is giving an error (something to do with lazy_import)

2014-12-18 Thread Vincent Knight
On Thu Dec 18 2014 at 1:33:08 PM Jeroen Demeyer 
wrote:

> I think the error message is clear enough, you shouldn't be resolving
> lazy imports on Sage startup.


Thanks for the reply. I'm afraid that it's not quite clear enough for me
which I think probably means my understanding of it isn't good enough :)


> Usually, lazy imports are used to limit
> the amount of imports done at Sage startup. So if a lazy import is used
> during Sage startup, that's usually a bug.
>

I don't quite understand what you mean by the above: if the point of lazy
import is to limit imports at Sage startup am I not supposed to use it at
Sage startup?


>
> Now the underlying problem is that you use is_package_installed() in
> code which is executed on startup. I suggest you try to refactor your
> code to avoid the use of is_package_installed (for example, use
> try:/except ImportError: instead).
>

We've managed to remove the error message by running:

lazy_import('sage.misc.package', 'is_package_installed', at_startup=True)

but I think you're saying that this is not the right way to go...
I think that I understood elsewhere that using `is_package_installed` is
preferred over try/except statements...

Am I missing some documentation somewhere that would clarify would fix  my
lack of understanding :) (Apologies if this is something I should have
already read).

Thanks for the help,
Vince



> On 2014-12-18 12:44, Vincent Knight wrote:
> > Resolving lazy import is_package_installed during startup
>
> --
> 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] Not sure if compilation is giving an error (something to do with lazy_import)

2014-12-18 Thread Vincent Knight
Hi all,

Working on an interface with an optional package and have used 
`lazy_import`. This happens when I run `sage -bt ...`:

***

Finished cleaning, time: 0.08 seconds.
running install
running build
running build_py
running build_ext
Executing 0 commands (using 1 thread)
Time to execute 0 commands: 0.11 seconds.
Total time spent compiling C/C++ extensions: 0.20 seconds.
running install_lib
running install_egg_info
Removing 
/Users/vince/sage/local/lib/python2.7/site-packages/sage-6.5.beta2-py2.7.egg-info
Writing 
/Users/vince/sage/local/lib/python2.7/site-packages/sage-6.5.beta2-py2.7.egg-info
---
Resolving lazy import is_package_installed during startup
Calling stack:
  File "/Users/vince/sage/src/bin/sage-runtests", line 79, in 
from sage.doctest.control import DocTestController
  File 
"/Users/vince/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", 
line 28, in 
from sources import FileDocTestSource, DictAsObject
  File 
"/Users/vince/sage/local/lib/python2.7/site-packages/sage/doctest/sources.py", 
line 27, in 
from parsing import SageDocTestParser
  File 
"/Users/vince/sage/local/lib/python2.7/site-packages/sage/doctest/parsing.py", 
line 49, in 
from sage.all import RealIntervalField
  File "/Users/vince/sage/local/lib/python2.7/site-packages/sage/all.py", 
line 175, in 
from sage.game_theory.all import *
  File 
"/Users/vince/sage/local/lib/python2.7/site-packages/sage/game_theory/all.py", 
line 2, in 
from normal_form_game import NormalFormGame
  File 
"/Users/vince/sage/local/lib/python2.7/site-packages/sage/game_theory/normal_form_game.py",
 
line 535, in 
if is_package_installed('gambit'):
---
too few successful tests, not using stored timings
Running doctests with ID 2014-12-18-11-37-26-a80126c4.
Git branch: 16333
Doctesting 1 file.


***


Is the part in between the lines expected behaviour? All seems to be 
working fine: tests for the code I'm writing pass... This is the first time 
I've seen this so just wondering...

Vince

-- 
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] User Survey

2014-12-08 Thread Vincent Knight
I have Sage running a bunch of numerical experiments on a cluster. If this
change of start up would stop some of those running (as I wouldn't input
anything) I also don't think it's a good idea. The 1% would very quickly
block everything...

On Mon Dec 08 2014 at 8:36:57 AM Jori Mantysalo 
wrote:

> On Mon, 8 Dec 2014, Vincent Delecroix wrote:
>
> > Hi Jori,
> >
> > What do you mean?
> > - if you mean that this would modify the startup of sage, then I do
> > not think it is a good idea
>
> Why not? Some programs already do that in a form or another. See Firefox
> for example, or a user counter for alpine.
>
> I guess that a user that has already answered is not so likely to answer
> again. Hence I suggest asking only from 1% of users.
>
> --
> Jori Mäntysalo
>

-- 
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: What are we unable to do right now ?

2014-12-05 Thread Vincent Knight
I feel that some plots could be better. I often end up writing pure
matplotlib code. For example for histograms, boxplots (current version is
limited) etc...

On Fri Dec 05 2014 at 07:22:58 Nathann Cohen 
wrote:

> Weird to answer your own thread, but I think that we are bad for plots.
> Look at that:
>
> sage: graphs.RandomTree(40).show()
> sage: graphs.RandomTree(40).show(method="js")
>
> The first one is a picture, the second uses d3.js. You can do a lot of
> crazy things with it, and it is done in javascript:
>
> https://github.com/mbostock/d3/wiki/Gallery
>
> Anyway. Let us use this thread ot make the list of what is wrong, and we
> will try to solve each problem independently in domain-specific threads.
>
> Nathann
>
> --
> 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: VOTE: code of conduct - ends Monday at midnight, PST.

2014-11-24 Thread Vincent Knight
[X] Yes -- adopt the code of conduct stated below (*) 

Thanks,
Vince

-- 
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: trac doesn't reset password

2014-08-07 Thread Vincent Knight
Would it be possible to reset my password also? I've had the same problem 
as Ralf Stephan. Reset password, get email but new one does not work.

Thanks in advance :)
Vince

On Wednesday, April 2, 2014 11:53:43 AM UTC+1, Volker Braun wrote:
>
> I'll reset the password
>
> On Wednesday, April 2, 2014 9:07:22 AM UTC+1, Ralf Stephan wrote:
>>
>> Hi,
>> I can no longer git push because 6.2.beta5 sage -dev push is broken 
>> here---but more serious is that trac won't reset the password (it mails but 
>> leaves the old intact) so I cannot use git because I have forgotten my old 
>> password and the new one doesn't work.
>>
>> Please help
>>
>

-- 
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: Best practice when working on multiple (kind of related) tickets

2014-07-01 Thread Vincent Knight
On 1 July 2014 12:43, Niles Johnson  wrote:

> It sounds like you're in the situation Volker described.  I don't think
> there's any need to "clean" 16333 if it just contains some commits that are
> in the 16332 branch -- branches aren't patches, so (as I understand it)
> they already contain the history of every other ticket that's ever been
> merged anyway.
>

> The goal (in my mind) is that it be easy for a reviewer to tell exactly
> what changes are being proposed on the 16333 branch, and to apply and test
> them.  A git diff between the two branches should show only 16333-relevant
> changes.  You can also ask git to show you a list of commits that are in
> one branch but not another (I forget the syntax at the moment, but it
> involves ^)
>

Thank you both for explaining things. I *think* we're ok to just push them
as they are then. Still a couple of things to do and then we'll be doing
that :)

Thanks again,
Vince




-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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] Best practice when working on multiple (kind of related) tickets

2014-06-30 Thread Vincent Knight
Dear all,

James Campbell and I have been working on 3 related tickets 
(http://trac.sagemath.org/ticket/16331, 
http://trac.sagemath.org/ticket/16332, 
http://trac.sagemath.org/ticket/16333).

We pushed 16332 to trac a while ago and have an almost positive review and 
have since been busy with 16333. 

On our own repository (https://github.com/theref/sage-game-theory/) we have 
some overlap between our 16332 and 16333 branches (16333 is in effect a 
branch of 16332). We're now almost ready to push 16333 to trac and I just 
want to check if we can push it as it is or if we're supposed to 'clean' 
16333 of any relation to 16332 so that in effect every branch on trac 
corresponds to a single ticket.

Hopefully I've explained that correctly and it's a simple enough answer.

Thanks :)

Vince

-- 
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: How to handle an optional package that causes build crashes

2014-06-13 Thread Vincent Knight
On 13 June 2014 12:21, Nathann Cohen  wrote:

> I cheated in all cases :
>
> For the optinal LP solvers I don't mind as there is a standard LP
> solver that exposes the features :
>
> http://www.sagemath.org/doc/reference/numerical/index.html
>
> For the C libraries solving specfic graph problem there is in every
> case a method of the Graph class (which appears in the doc). And it
> either raises an exception when it is called, saying that the package
> should be installed, or solves the problem in a different way.
>
> Whatever you do, add pieces of doc everywhere pointing toward the
> absent features and explaining how to install them.
>

Cool, will keep this in mind.

>
> Nothing better. I would like a way to have the doc appear even in all
> functions raise an exception, but I don't. If you actually need to
> inherit from external code, I'm not very optimistic :-/
>

We've actually just thought of a completely different approach that we
_might_ or _might not_ go with. There are advantages (which include not
having to deal with this problem at all) and disadvantages that we need to
carefully consider (if it's of interest the idea is here:
https://github.com/theref/sage-game-theory/issues/48).

With regards to the optional compilation, I might have expressed myself
poorly. We've found another solution. Would adding the following to all.py
in our game_theory folder be 'acceptable' with regards to general Sage
etiquette etc:

from sage.misc.package import is_package_installed
from cooperative_game import CooperativeGame
if is_package_installed('gambit'):
from normal_form_game import *

normal_form_game.py is the module that imports and inherits from gambit.

Thanks,
Vince

-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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: How to handle an optional package that causes build crashes

2014-06-13 Thread Vincent Knight
On 13 Jun 2014 12:59, "Nathann Cohen"  wrote:
>>>
>>> Look at the bottom of src/module_list.py, there are already a number of
Cython extensions that are only compiled conditionally.
>>
>>
>> Thanks!
>
>
> Keep something in mind, however : all the documentation contained in
those files will *not* appear in Sage's online doc. Which means that users
may not even know that the features are available. That's no problem at all
if all that you are caching is internal stuff, but if those classes contain
a lot of things meant for users, well... No doc :-/

Very helpful: thanks. Is there another way to handle this and/or get around
it?

>
> Nathann
>
> --
> You received this message because you are subscribed to a topic in the
Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sage-devel/IPRJwPdkuW0/unsubscribe.
> To unsubscribe from this group and all its topics, 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: How to handle an optional package that causes build crashes

2014-06-13 Thread Vincent Knight
On 13 June 2014 11:40, Volker Braun  wrote:

> I take it you are trying to write a Cython class using a shared library
> from the Gambit optional package?
>

That's correct :)


>
>
Look at the bottom of src/module_list.py, there are already a number of
> Cython extensions that are only compiled conditionally.
>

Thanks!



-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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] How to handle an optional package that causes build crashes

2014-06-13 Thread Vincent Knight
Hi all,

*Some background:*

For this ticket http://trac.sagemath.org/ticket/16333, we are working on 
some new Sage features that inherit from classes from Gambit 
(http://gambit.sourceforge.net/).

This is making good progress (Ted Turocy from gambit is very keen for this 
integration and has helped us by making some tweaks to gambit that make 
things more 
straightforward: https://github.com/tturocy/gambit/tree/sage_integration).

We have had another ticket reviewed regarding making Gambit an optional 
package for Sage (http://trac.sagemath.org/ticket/16466) which is also good

*Our question:*

In our current (very much working) branch 
(https://github.com/theref/sage-game-theory/tree/16333) we are importing 
Gambit so as to define the corresponding Sage class.
This is all fine (although inheriting from the gambit game class wasn't 
straightforward) *but* an obvious issue occurs when building Sage without 
gambit installed.

We're wondering what is the *best practice* for dealing with this is. Error 
handling in the new module is simple enough but doesn't feel like the right 
way to do it... 

I'm assuming that there is a way of including conditional build commands in 
a makefile somewhere (so that the particular piece of game_theory code only 
compiles if gambit is installed).

Is the above the right way to go about this?

If it is: could someone perhaps point us in the right direction? (There's 
very little experience on our side with regards to makefiles etc...).

Thanks a lot,
Vince 

-- 
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: Hoping to develop Game Theoretical capabilities in to Sage

2014-05-12 Thread Vincent Knight
I have raised the 3 tickets here:

- http://trac.sagemath.org/ticket/16331#ticket
- http://trac.sagemath.org/ticket/16332#ticket
- http://trac.sagemath.org/ticket/16333#ticket

I have put them under the 'relocation' component as I'm hoping that a
result of these 3 tickets would be a new component  (namely: Game Theory)
but if there's a better spot or any thing else I should have written
differently in those tickets then I apologise :) (And am very happy to
change them).

Thanks,
Vince


On 5 May 2014 17:41, Vincent Knight  wrote:

>
> On 5 May 2014 16:00, kcrisman  wrote:
>
>> At this point you should start opening tickets!  More technical
>> discussion can happen there, though of course discussion about
>> optional/standard packages needs to happen here.
>
>
> Thanks, I'll do this over the next week or so. I'll open three tickets (in
> line with the general plan I have for the summer):
>
> - Ticket for matching game;
> - Ticket for cooperative game;
> - Ticket for 2 player normal form games (I'll make this one general so
> that it incorporates best way forward re Gambit or just lrs).
>
> I appreciate talking this over with you Kris.
>
> Thanks,
> Vince
>
>
> --
> Dr Vincent Knight
> Cardiff School of Mathematics
> Senghennydd Road,
> Cardiff
> CF24 4AG
> (+44) 29 2087 5548
> www.vincent-knight.com
> +Vincent Knight
> @drvinceknight
> Skype: drvinceknight
>



-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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: Hoping to develop Game Theoretical capabilities in to Sage

2014-05-05 Thread Vincent Knight
On 5 May 2014 16:00, kcrisman  wrote:

> At this point you should start opening tickets!  More technical discussion
> can happen there, though of course discussion about optional/standard
> packages needs to happen here.


Thanks, I'll do this over the next week or so. I'll open three tickets (in
line with the general plan I have for the summer):

- Ticket for matching game;
- Ticket for cooperative game;
- Ticket for 2 player normal form games (I'll make this one general so that
it incorporates best way forward re Gambit or just lrs).

I appreciate talking this over with you Kris.

Thanks,
Vince


-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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: Hoping to develop Game Theoretical capabilities in to Sage

2014-05-04 Thread Vincent Knight
Thanks Kris,

On 2 May 2014 19:12, kcrisman  wrote:

> We've already corresponded about this privately, but I wanted to publicly
> support this proposal and offer help with it, given that it is a lot closer
> to my current research than anything else in Sage ;-)  In particular, I
> think it is very important to think carefully about exactly how subclassing
> can work so that the most stuff is available for later additions.  For
> instance, one would be interested in making sure that any potential
> symmetries on games could be activated/used.   I'll be interested to see
> how you make a class general enough for both the cooperative and
> non-cooperative theory!  Good luck.
>

I've thought about this a little bit and think that a general class would
have properties relating to number of players and perhaps no more than
that. Inheritance would then allow for more complex ideas.


> Re: Gambit: "Gambit is Free/Open Source software, released under the terms
> of the GNU General Public License, Version 2."  Would that then only be an
> optional package, license gurus?  It also seems to have an interface with
> lrs - see
> http://www.gambit-project.org/gambit13/ideas.html#interface-with-lrslib At 
> least compiling and its Python extension seems straightforward enough,
> also doesn't work on Windows without Cygwin, so it must be a perfect match
> ;-)
>

I'm aware of Gambit but I thought that liaising directly to lrs would be
ideal as it 'implements the same algorithm more efficiently and robustly'.
I'm happy to talk about this though, although I've got no experience of
using Gambit but have used lrs quite a lot - and it is in the 'extra' sage
packages (although I'm not too sure how they work).

>
> In fact, they have several GSOC proposals this year:
> http://www.google-melange.com/gsoc/org2/google/gsoc2014/gambit Plus it's
> led by other UK people.  I think it would really be worth looking into
> whether this is worth using the Python API for, even if it means changing
> your summer student's work description to at some point check out how much
> of what you want to do is a) already doable and b) could be "Sageified"
> without too many hoops.
>
> Changing my students' work description is not at all an issue. At the very
least my student would experiment with Gambit.



> Anyway, no matter what the status of Gambit, this is a very good idea,
> because I want to be able to convince people in my field that computation
> is important.  (Well, some people already think it is! But I want more.)
>

Thanks for the support. Is the next step for me to raise relevant tickets
or is more discussion here a good idea? (Don't want to do this wrong :)).

Thanks,
Vince




-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

-- 
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] Hoping to develop Game Theoretical capabilities in to Sage

2014-05-01 Thread Vincent Knight
Dear all,

I am attempting to follow the developer guidelines and after applying for a
trac server account it is recommended to email this list with some details
of what I hope to do before opening a ticket.

If it sounds like a good idea I'd like to open tickets with an aim to
develop some Game Theoretic capabilities in to Sage. Loosely this would
include the following:

- A general class for a general game object,
- Classes for cooperative games,
- Class for matching games
- Classes for normal form games,

Most of this is relatively simple to do however methods to solve normal
form games would require new algorithms to be written and/or and adaption
of the lrs package (http://cgm.cs.mcgill.ca/~avis/C/lrs.html) (that I
understand 'lives' in Sage already somewhere...)

I (think I) understand that I would need to open multiple tickets for this
and suggest opening 3 tickets (one for each of the types of game so far).

I have obtained funding to have a talented undergraduate student
(proficient with Python, Sage, git and starting to learn Cython as well as
various other tools) work with me on this over the summer. Proposal
available here: http://goo.gl/4ck47Q

As a result of this I am thinking about potentially taking the student to
present at a national UK conference where we would showcase not only the
Game Theory code but also Sage as a research tool.

In the future this could/would hopefully lead to more types of game
theoretic models being added.

I'm not sure if this was the type of email I was expected to write but
hopefully everyone thinks this is an ok idea as I am impatient to be able
to call myself a contributor to Sage :)

I'd be grateful to hear your thoughts.

Best wishes,
Vince

-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
+Vincent Knight
@drvinceknight
Skype: drvinceknight

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