Re: [sage-devel] Re: Cygwin: Error installing package mpir-2.6.0.p4

2014-07-09 Thread Jean-Pierre Flori
On Tuesday, July 8, 2014 6:03:23 PM UTC+2, Chris Doris wrote: > > Thanks for your reply, Jean-Pierre. > > I installed Cygwin from the x86_64 setup executable. Is this what you're > calling Cygwin64? > > Do I take it that the Cygwin entry on the supported platforms wiki page is > only referring

[sage-devel] remove cplex

2014-07-09 Thread Mohammed hussein
How to remove cplex in Ubuntu -- 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-d

[sage-devel] adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
Hello everyone, (see end for questions only) I am currently writing a sampling of functions as c++ mini library I want to be able to use in sage. The target is a (preferable fast) implementation of mulders-storjohann to compute the weak-popov-form of a matrix over a polynomial ring over a finit

[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread Volker Braun
Python/Cython classes are not C++ classes, so you can't call Py/Cy methods from C++ code directly. It can of course be done using the CPython C API or Boost.Python, but a Python object is never a straight C++ object. For starters it doesn't have a C++ vtable, methods can be added dynamically in

Re: [sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread William Stein
On Wed, Jul 9, 2014 at 7:18 AM, Volker Braun wrote: > Python/Cython classes are not C++ classes, so you can't call Py/Cy methods > from C++ code directly. It can of course be done using the CPython C API or > Boost.Python, but a Python object is never a straight C++ object. For > starters it doesn

[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
Am Mittwoch, 9. Juli 2014 16:18:03 UTC+2 schrieb Volker Braun: > > Python/Cython classes are not C++ classes, so you can't call Py/Cy methods > from C++ code directly. It can of course be done using the CPython C API or > Boost.Python, but a Python object is never a straight C++ object. For >

[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread Volker Braun
IMHO its better to go with the first option. You essentially want to add a single new method to matrices, it'll be easier to write and maintain to not have to dig through a layer of Python->C++ indirection. The linbox code of course uses the LinBox C++ matrix class. Then there is always some s

[sage-devel] Re: remove cplex

2014-07-09 Thread Dima Pasechnik
On 2014-07-09, Mohammed hussein wrote: > How to remove cplex in Ubuntu what do you mean by this? Removing a Sage binding to it as the default solver? I believe removing links to .h and .so files and doing 'sage -b' after this will do. Uninstalling CPLEX from the system? just remove the files...

[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
Am Mittwoch, 9. Juli 2014 17:27:21 UTC+2 schrieb Volker Braun: > > IMHO its better to go with the first option. You essentially want to add a > single new method to matrices, it'll be easier to write and maintain to not > have to dig through a layer of Python->C++ indirection. > > The linbox c

[sage-devel] trouble installing 5.11

2014-07-09 Thread robert . pollack
I'm trying to help develop some code that a group is currently working on using sage 5.11, and so I need to get a copy of that version of sage on my laptop. There is no longer a binary file posted and so I need to install through the source code. I know little about how these things work, and

[sage-devel] Re: trouble installing 5.11

2014-07-09 Thread Nils Bruin
On Wednesday, July 9, 2014 10:56:44 AM UTC-7, robert@gmail.com wrote: > > I'm trying to help develop some code that a group is currently working on > using sage 5.11, and so I need to get a copy of that version of sage on my > laptop. There is no longer a binary file posted and so I need to

[sage-devel] emacs, SageTeX, multiple major modes

2014-07-09 Thread Dan Drake
Hi, Those of you who use SageTeX with emacs and, say, AUCTeX, may be annoyed when you are editing sageblock environments because of the TeX-like behavior. Here's a snippet you can use to make emacs use MMM (multiple major modes) and treat your TeX like TeX, and your Sage code like Sage code. http

Re: [sage-devel] emacs, SageTeX, multiple major modes

2014-07-09 Thread Ivan Andrus
On Jul 9, 2014, at 12:24 PM, Dan Drake wrote: > Hi, > > Those of you who use SageTeX with emacs and, say, AUCTeX, may be annoyed > when you are editing sageblock environments because of the TeX-like > behavior. Here's a snippet you can use to make emacs use MMM (multiple > major modes) and treat

Re: [sage-devel] Re: trouble installing 5.11

2014-07-09 Thread R. Andrew Ohana
The first version that had 10.9 support was 5.13, although it should be as simple as applying the patches and spkgs at [1] and [2] to get it to work on 5.11. Before any of this, you should work from a clean set of sage sources. [1] http://trac.sagemath.org/15433 [2] http://trac.sagemath.org/15937

Re: [sage-devel] emacs, SageTeX, multiple major modes

2014-07-09 Thread Dan Drake
On Wed, 09 Jul 2014 at 01:03PM -0600, Ivan Andrus wrote: > Sweet! Would you mind if I added it to sage-mode? There is already a > sage-latex.el which does some AUCTeX specific setup. I would be > willing to do it, or you can create a pull request (thereby getting > credit). I'll make a pull req

Re: [sage-devel] emacs, SageTeX, multiple major modes

2014-07-09 Thread Ivan Andrus
On Jul 9, 2014, at 2:11 PM, Dan Drake wrote: > On Wed, 09 Jul 2014 at 01:03PM -0600, Ivan Andrus wrote: >> Sweet! Would you mind if I added it to sage-mode? There is already a >> sage-latex.el which does some AUCTeX specific setup. I would be >> willing to do it, or you can create a pull reque

Re: [sage-devel] emacs, SageTeX, multiple major modes

2014-07-09 Thread Dan Drake
On Wed, 09 Jul 2014 at 02:26PM -0600, Ivan Andrus wrote: > No problem! I munch elisp for breakfast. :-) Well, parentheses do look a bit like cereal... :) Here's the pull request, let me know what you think: https://bitbucket.org/gvol/sage-mode/pull-request/5/add-mmm-support-to-sage-latexel/diff

[sage-devel] Images disappeared in new Askbot

2014-07-09 Thread v_2e
Hello! Today I noticed that the images embedded into the answer to my question on ask.sagemath.org are not shown. I know for sure that these images were present on that page before. I believe, they disappeared after the Askbot version upgrade. Here is the question I am talking about: http://

Re: [sage-devel] Images disappeared in new Askbot

2014-07-09 Thread Mike Hansen
Hello, This should be fixed now. --Mike On Wed, Jul 9, 2014 at 3:29 PM, wrote: > Hello! > Today I noticed that the images embedded into the answer to my > question on ask.sagemath.org are not shown. I know for sure that these > images were present on that page before. I believe, they disap

[sage-devel] new Sage special interest group in coding theory

2014-07-09 Thread David Joyner
Hi all: Following a suggestion of Steve Szabo, I've created a special interest googlegroup called sage-coding-theory. Besides Steve Szabo, other owners are Irene Marquez and Edgar Martinez-Moro. I hope is that this group can provide extra support for GSOC projects in coding theory and related topi