Hi,
during SD57, Vincent, Luca and myself worked on "Index Librorum Salvificorum",
a web service that allows to index various kind of documents related to Sage
(pdf, ipynb, sws, rst,...).
It is hosted on a VM at my lab: http://sageindex.lipn.univ-paris13.fr/
Some informations are provided on the
On Wed, Feb 11, 2015 at 9:17 AM, Marc Mezzarobba wrote:
> Jeroen Demeyer wrote:
>
>> You are missing something:
>
> Indeed! Thanks for pointing it out. That was sloppy grepping of mine.
>
>> * finite fields are Python
>> (src/sage/rings/finite_rings/finite_field_*.py)
>
> So in this case, apparent
On Wed, Feb 11, 2015 at 3:15 AM, Marc Mezzarobba wrote:
> Volker Braun wrote:
>> My advice would be to implement the parent in Python and benchnmark
>> it. If you are doing something in _element_constructor_ that would
>> benefit greatly by Cython then you can just move that part to Cython.
>
> Ap
Its tricky. The right thing to do would be to keep stdout/stderr from the
child process and wait until either it returns an error, it opens a window
(wait for an X window with the right _NET_WM_PID to pop up), or a timeout
expries (10 seconds or so).Then show the output with a suitable error
me
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
Jeroen Demeyer wrote:
>> Element.__call__ calls it, it is a Cython call.
> There is no Element.__call__.
I meant Parent.__call__, sorry.
--
Marc
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving e
On Wed, Feb 11, 2015 at 02:44:50PM +0200, Clemens Heuberger wrote:
> >From 6.5.rc0 on,
> sage -n ipython
> does no longer work, it starts the sagenb notebook with directory
> ipython.sagenb.
>
> Until 6.5.beta6, this opened the ipython notebook.
>
> sage -n -h says:
> --notebook [NOTEBOO
Jeroen Demeyer wrote:
> You are missing something:
Indeed! Thanks for pointing it out. That was sloppy grepping of mine.
> * finite fields are Python
> (src/sage/rings/finite_rings/finite_field_*.py)
So in this case, apparently,
(i) the Python parent classes derive from an abstract Cython cla
On 2015-02-11 16:31, Marc Mezzarobba wrote:
Yes, that's my question, more or less: for example, QQ is an instance of
a Python class, and has a fast element constructor, declared as such in
the parent's __init__, but defined outside the Python class, so that (if
my understanding is correct, I'm qu
On 2015-02-11 16:31, Marc Mezzarobba wrote:
And then there is the situation where the parent does store values that
you want to access from C or Cython code without paying the cost of a
Python attribute access, but then I see no other option than making the
parent a Cython class.
I agree.
--
Yo
On 2015-02-11 16:31, Marc Mezzarobba wrote:
Unless I'm missing something, RDF, CDF, CC, ZZ, RLF, CLF, and most
finite fields, polynomial rings and power series rings are not!
You are missing something:
* CC is Python (src/sage/rings/complex_field.py)
* finite fields are Python (src/sage/rings/
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
Jeroen Demeyer wrote:
> However, I wonder why you insist on using
> parent._element_constructor_(). You could for example have a fast
> ElementClass.__init__() or a fast non-method function
> construct_foo_element().
Yes, that's my question, more or less: for example, QQ is an instance of
a Pytho
On Wednesday, February 11, 2015 at 12:14:46 PM UTC+1, Marc Mezzarobba wrote:
>
> Or, to put it differently: why are so many parents Cython classes if
> there are no benefits?
My guess is that its a documentation issue, we should really spell out how
to organize parent/elements:
* Start with t
On 2015-02-11 12:15, Marc Mezzarobba wrote:
also that the cost of issuing a Python method call when constructing
elements is significant, what is the best approach to deal with it?
If you *really* need a fast _element_constructor_ method, then the only
way is to use Cython.
However, I wonder
You can have multiple java versions installed, select the active one with
"alternatives --config java"
On Wednesday, February 11, 2015 at 1:36:17 PM UTC+1, Thierry
(sage-googlesucks@xxx) wrote:
>
> Hi,
>
> same problem here (Debian wheezy, Sage 6.5.rc1). No jmol works from the
> command line
On 2015-02-11 15:06, Volker Braun wrote:
> Can you open a ticket?
http://trac.sagemath.org/ticket/17769
regards, CH
--
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
Can you open a ticket?
On Wednesday, February 11, 2015 at 1:45:02 PM UTC+1, Clemens Heuberger
wrote:
>
> From 6.5.rc0 on,
> sage -n ipython
> does no longer work, it starts the sagenb notebook with directory
> ipython.sagenb.
>
> Until 6.5.beta6, this opened the ipython notebook.
>
>
> Install Java
I was talking about fixing sage to get a decent error message.
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...@goog
Install Java
On Wednesday, February 11, 2015 at 1:14:19 PM UTC+1, Nathann Cohen wrote:
>
> Hmmm... I am a bit embarassed, I do not know really how to 'fix' that.
>
> Nathann
>
> On 11 February 2015 at 12:06, Nathann Cohen > wrote:
> >> Ca marche pour moi, aussi. Quel version de Sage et Java (j
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 semialge
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
availabili
>From 6.5.rc0 on,
sage -n ipython
does no longer work, it starts the sagenb notebook with directory
ipython.sagenb.
Until 6.5.beta6, this opened the ipython notebook.
sage -n -h says:
--notebook [NOTEBOOK], -n [NOTEBOOK], -notebook [NOTEBOOK]
The notebook to run
Hi,
same problem here (Debian wheezy, Sage 6.5.rc1). No jmol works from the
command line (but still from the notebook). I have both version 6 and 7 of
openjdk installed, but it seems that version 6 takes precedence. According
to my apt logs, those packages were recently updated, so i can not say
w
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 peop
On 2015-02-11, Nathann Cohen wrote:
> Yo !
>
>> I don't know if PPL does any of these.
>
> There is a sage.libs.ppl.C_Polyhedron.minimized_generators function
Is it incremental? (I.e., can it stop early, encountering a
non-convex-hull point?)
>
>> If it does not,
>> I'd suggest using CGAL, where
Yo !
> also, qhull (which used to be a Sage optional package without bindings) is
> shipped with scipy
Oh. It's probably the best choice. The interface is probably cleaner
than with Sage's C_Polyhedron class.
Nathann
--
You received this message because you are subscribed to the Google Groups
Hmmm... I am a bit embarassed, I do not know really how to 'fix' that.
Nathann
On 11 February 2015 at 12:06, Nathann Cohen wrote:
>> Ca marche pour moi, aussi. Quel version de Sage et Java (java -showversion)
>> as-tu?
>
> O_o
>
> In french ? :-P
>
> Well...
>
> ~$ java -showversion
> bash: jav
Hi,
also, qhull (which used to be a Sage optional package without bindings) is
shipped with scipy (and also with matplotlib from version 1.4, so we will
have it twice without work), so you could benefit from their Cython
interface to use qhull features within Sage (Delaunay triangulation,
Voronoi
Yo !
> I don't know if PPL does any of these.
There is a sage.libs.ppl.C_Polyhedron.minimized_generators function
> If it does not,
> I'd suggest using CGAL, where these things work quite well, although it's a
> bit of a pain.
> (mostly due to its size, and dependence on advanced C++ features).
Hi Nathann,
On Wed, Feb 11, 2015 at 11:37:30AM +0100, Nathann Cohen wrote:
> I am dealing with a problem for which I need to check quickly whether a set
> of points is in convex position [1] in 2D and 3D. Sage seems to be able to
> do that with the commands:
>
> sage: l = [(1,2),(3,4),(2,5)]
> sag
> You can call PPL directly, that'll reduce the overhead. See sage.libs.ppl
Thanks. It is faster indeed.
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
Volker Braun wrote:
> My advice would be to implement the parent in Python and benchnmark
> it. If you are doing something in _element_constructor_ that would
> benefit greatly by Cython then you can just move that part to Cython.
Apparently my question was unclear. Of course, it is good advice as
> Ca marche pour moi, aussi. Quel version de Sage et Java (java -showversion)
> as-tu?
O_o
In french ? :-P
Well...
~$ java -showversion
bash: java: command not found
Actually, this is probably the main issue:
~$ jmol
/usr/bin/jmol: 24: /usr/bin/jmol: java: not found
No error message, howeve
Ca marche pour moi, aussi. Quel version de Sage et Java (java -showversion)
as-tu?
On Wednesday, February 11, 2015 at 11:58:40 AM UTC+1, Frédéric Chapoton
wrote:
>
> Salut, pour moi
>
> sage: polytopes.n_simplex(3).show() et polytopes.n_simplex(4).show()
>
> ouvrent Jmol. Sage version 6.5.rc1,
You can call PPL directly, that'll reduce the overhead. See sage.libs.ppl
On Wednesday, February 11, 2015 at 11:37:35 AM UTC+1, Nathann Cohen wrote:
>
> Hello everybody,
>
> I am dealing with a problem for which I need to check quickly whether a
> set of points is in convex position [1] in 2D a
Salut, pour moi
sage: polytopes.n_simplex(3).show() et polytopes.n_simplex(4).show()
ouvrent Jmol. Sage version 6.5.rc1, ubuntu.
Le mercredi 11 février 2015 11:41:44 UTC+1, Nathann Cohen a écrit :
>
> Hello everybody,
>
> Could you please check what the following command does on your computer ?
Hello everybody,
Could you please check what the following command does on your computer ?
sage: polytopes.n_simplex(3).show()
On mine, nothing happens. No error message, no nothing. Just silence and
loneliness.
Same for 4D polytopes, even though I have no idea how we would display that:
Hello everybody,
I am dealing with a problem for which I need to check quickly whether a set
of points is in convex position [1] in 2D and 3D. Sage seems to be able to
do that with the commands:
sage: l = [(1,2),(3,4),(2,5)]
sage: p = Polyhedron(l)
sage: len(p.Vrepresentation()) == len(l)
True
T
39 matches
Mail list logo