[sage-combinat-devel] Re: dot2tex, combinat

2012-01-11 Thread Travis Scrimshaw
Nicolas and John,    I added ImageMagick (since it's Fedora: yum install ImageMagick ), did the jsmath_avoid_list('tikz') command, and I was able to properly view the pdf. However it does not work if I don't do the jsmath_avoid command. John, perhaps you could elaborate why you thought to use this

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-11 Thread Nicolas M. Thiery
On Wed, Jan 11, 2012 at 12:26:20AM -0800, Travis Scrimshaw wrote:    I added ImageMagick (since it's Fedora: yum install ImageMagick ), did the jsmath_avoid_list('tikz') command, and I was able to properly view the pdf. However it does not work if I don't do the jsmath_avoid command. John,

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-11 Thread Anne Schilling
Hi! Anne, I tried reproducing your error first on my usual VM setup, and received a long list of latex errors (similar to the list when I first tried to get the crystal graphs to compile). Then I copied the latex output using latex(H) to my host tex editor/compile which generated the

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-11 Thread Anne Schilling
On 1/11/12 6:15 AM, Nicolas M. Thiery wrote: On Mon, Jan 09, 2012 at 11:58:19AM -0800, Anne Schilling wrote: I also seem to have some trouble with view. sage: B = CrystalOfTableaux(['A',2],shape=[1]) sage: view(B, pdflatex=True, tightpage=True) works fine. But the following code gives an

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread Jeroen Demeyer
On 2012-01-11 08:53, Julien Puydt wrote: Le 10/01/2012 23:26, Jeroen Demeyer a écrit : On 2012-01-10 23:25, Julien Puydt wrote: Would sage maintainers accept a patch to bzip2's spkg adding the following to spkg-install : if there's already a bzip2 on the system then don't compileinstall a new

[sage-devel] Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Simon King
Hi! Matrix spaces of dense and sparse matrices are equal and are thus not unique parents: sage: M1 = MatrixSpace(ZZ,2,sparse=True) sage: M2 = MatrixSpace(ZZ,2,sparse=False) sage: M1 is M2 False sage: M1==M2 True Fine. But what should be really bad: They violate the assumption that

Re: [sage-devel] pexpect troubles

2012-01-11 Thread Jeroen Demeyer
On 2012-01-11 00:34, William Stein wrote: I would say that me and Mike Hansen both know it very well. From my perspective, it's not that complicated and I don't think it needs to be refactored. Maybe the problem lies with pexpect upstream rather than Sage's use of pexpect? I don't know. I

Re: [sage-devel] Sage pay electric for build slaves

2012-01-11 Thread Jeroen Demeyer
Just wondering: is bandwidth a problem for you, or would that potentially become a problem if there were more buildbots at your place, possibly also building and uploading binaries? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

Re: [sage-devel] Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Nicolas M. Thiery
On Wed, Jan 11, 2012 at 01:25:47AM -0800, Simon King wrote: Matrix spaces of dense and sparse matrices are equal and are thus not unique parents: sage: M1 = MatrixSpace(ZZ,2,sparse=True) sage: M2 = MatrixSpace(ZZ,2,sparse=False) sage: M1 is M2 False sage: M1==M2 True Fine.

[sage-devel] Re: VirtualBox

2012-01-11 Thread mmarco
I have tried the new VM from Volker (on a linux host), and the guest browser works fine, but i can't connect from a host browser. Somebody else noticed this? As for the shared folders, i think it would be a good idea to include a dialog in Emil's installer to configure them after the .ova image

[sage-devel] Re: Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Simon King
Hi Nicolas, hi all, On 11 Jan., 11:50, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: Question to you: Do you see an obvious reason why matrix spaces should not be unique parents? If at all possible, I for myself would rather have them as unique parents. On the other hand, I remember

Re: [sage-devel] Re: Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Marco Streng
On 11/01/2012 11:46, Simon King wrote: 2) A more general consideration: The coercion model prefers to have unique parents. But many people think that A == B should mean A and B are canonically isomorphic, and not just A is B. That could be solved by making the coercion model consequently use

[sage-devel] Re: Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Simon King
Hi Marco, On 11 Jan., 13:30, Marco Streng marco.str...@gmail.com wrote: I'm not sure what you mean by ``making the coercion model use containers that compare by is and not by =='', If you have a dictionary D with keys A and B such that A==B but A is not B, then you will always have D[A] is

[sage-devel] Re: Should matrix spaces keep violating the basic assumption on hash functions, or should they be unique parents?

2012-01-11 Thread Simon King
Hi! #12290 is now ready for review. For reference, the ticket contains one not-totally-finished patch that only improves the hash. However, the patch that is supposed to be reviewed goes beyond and introduces UniqueRepresentation as a base class of matrix spaces. First feature: All tests pass,

Re: [sage-devel] pexpect troubles

2012-01-11 Thread Jeroen Demeyer
On 2012-01-11 00:34, William Stein wrote: I should take a look... There is also http://trac.sagemath.org/sage_trac/ticket/12294 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For

[sage-devel] Re: VirtualBox

2012-01-11 Thread Dima Pasechnik
I tried running this on a Windows 7 (64-bits), using Virtual Box 4.1.8. I imported the ova file with the default settings, but the thing fails to start, saying Failed to open a session for VM..., VT-x features locked on unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED) What am I doing

[sage-devel] Re: VirtualBox

2012-01-11 Thread Volker Braun
The virtual machine has hardware virtualization support enabled. You can probably switch on HW virtualization in the BIOS of your computer, which is recommended if you do any virtualization. You can also disable it in the settings of the virtual machine (Settings-System-Acceleration) at a

[sage-devel] Re: VirtualBox

2012-01-11 Thread Emil Widmann
On 11 Jan., 16:56, Volker Braun vbraun.n...@gmail.com wrote: The virtual machine has hardware virtualization support enabled. You can probably switch on HW virtualization in the BIOS of your computer, which is recommended if you do any virtualization. You can also disable it in the settings of

[sage-devel] Re: Sage-Combinat Days at Cernay

2012-01-11 Thread Nathann Cohen
Hellooo !!! If that is fine with you I will join you on sunday afternoon until the end of the week ! It looks more than enough to deal with long due work like static graph backends and perhaps rewriting the current ones. And also put my nose in other people's work of course :-) Nathann

[sage-devel] Re: VirtualBox

2012-01-11 Thread Dima Pasechnik
Settings-System-Acceleration way worked (I also needed to set the # of CPUs to 1). (For BIOS settings I need to go the the office and attach a monitor to the box :-)) Somehow, I expected I could run the notebook server in the VM and connect to it from the host system, but I don't see a way to

Re: [sage-devel] Re: VirtualBox

2012-01-11 Thread William Stein
On Wed, Jan 11, 2012 at 10:22 AM, Dima Pasechnik dimp...@gmail.com wrote: Settings-System-Acceleration way worked (I also needed to set the # of CPUs to 1). (For BIOS settings I need to go the the office and attach a monitor to the box :-)) Somehow, I expected I could run the notebook server

[sage-devel] Re: F.Khoshnam

2012-01-11 Thread William Stein
On Wed, Jan 11, 2012 at 10:33 AM, FOAD KHOSHNAM khosh...@azaruniv.edu wrote: Dear Prof. Stein I appreciate very much if you run this program in magma for me and give me an output from that program. By the way, I must mention that   I haven't access to Magma  here. Thank you. Your Truly No.

[sage-devel] Re: VirtualBox

2012-01-11 Thread mmarco
The port forwarding seems to be well configured in Volker's VM (the same configuration works fine in otyher VM's), but i don't know why it does not work. Maybe something isn't right in the guest system? Volker, are you sure that your guets system is listening to ssh connections, and that it

Re: [sage-devel] Re: VirtualBox

2012-01-11 Thread Volker Braun
On Wed, Jan 11, 2012 at 10:22 AM, Dima Pasechnik dimp...@gmail.com wrote: Somehow, I expected I could run the notebook server in the VM and connect to it from the host system, but I don't see a way to do it. You should be able to connect from the host to the guest port t(ssh into the

[sage-devel] Re: VirtualBox

2012-01-11 Thread William Stein
On Wednesday, January 11, 2012, Volker Braun vbraun.n...@gmail.com wrote: On Wed, Jan 11, 2012 at 10:22 AM, Dima Pasechnik dimp...@gmail.com wrote: Somehow, I expected I could run the notebook server in the VM and connect to it from the host system, but I don't see a way to do it. You should

[sage-devel] Re: VirtualBox

2012-01-11 Thread Volker Braun
On Wednesday, January 11, 2012 3:52:37 PM UTC-5, William wrote: To make sure we are on the same page: have you used VMware much? I haven't. Whenever I wanted to give it a try I eventually found out that my kernel is too new for VMware. -- To post to this group, send an email to

Re: [sage-devel] New termcap spkg (#12282) needs review

2012-01-11 Thread Jeroen Demeyer
This is now the very last ticket needing review for sage-4.8 (at least, as far as we know): On 2012-01-09 14:21, Jeroen Demeyer wrote: Please review *blocker* ticket #12282. It fixes a segmentation fault in the termcap library, triggered by the new readline spkg at #11970. The problem was

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread Michael Orlitzky
On 01/11/2012 03:40 AM, Jeroen Demeyer wrote: True, but we're talking a different order of magnitude here. Speeding up the atlas installation by just 5% would save more time than removing both bzip2 and patch. If we want to be sure that the user has bzip2 installed, we should just bzip the

[sage-devel] Re: VirtualBox

2012-01-11 Thread mmarco
Volker, can you access the sage notebook from the host using your last VM? I can't. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

[sage-devel] Re: VirtualBox

2012-01-11 Thread mmarco
In fact, i get that only the lo interface is up in the guest system. I think that explains the problem. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this

[sage-devel] Re: VirtualBox

2012-01-11 Thread Volker Braun
It works for me. Since it doesn't work for everybody I'm assuming that VirtualBox presents different bios names for the nic, perhaps depending on the version. I'll change the VM to fix that. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group,

Re: [sage-devel] Re: VirtualBox

2012-01-11 Thread Dima Pasechnik
On Thursday, 12 January 2012 04:48:39 UTC+8, Volker Braun wrote: On Wed, Jan 11, 2012 at 10:22 AM, Dima Pasechnik di...@gmail.com wrote: Somehow, I expected I could run the notebook server in the VM and connect to it from the host system, but I don't see a way to do it. You should be

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread Dima Pasechnik
it's a good point. I never understood why the source tarballs are not compressed. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread R. Andrew Ohana
On Wed, Jan 11, 2012 at 19:23, Dima Pasechnik dimp...@gmail.com wrote: it's a good point. I never understood why the source tarballs are not compressed. Well there is virtually no benefit to compressing the source tarballs since the vast majority of the sage source is bundled in spkgs, which

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread William Stein
On Wednesday, January 11, 2012, Michael Orlitzky mich...@orlitzky.com wrote: On 01/11/2012 03:40 AM, Jeroen Demeyer wrote: True, but we're talking a different order of magnitude here. Speeding up the atlas installation by just 5% would save more time than removing both bzip2 and patch. If

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread Julien Puydt
Le 12/01/2012 05:10, William Stein a écrit : On Wednesday, January 11, 2012, Michael Orlitzky mich...@orlitzky.com mailto:mich...@orlitzky.com wrote: On 01/11/2012 03:40 AM, Jeroen Demeyer wrote: True, but we're talking a different order of magnitude here. Speeding up the atlas

Re: [sage-devel] Installing bzip2 only if needed

2012-01-11 Thread William Stein
On Jan 11, 2012 9:45 PM, Julien Puydt julien.pu...@laposte.net wrote: Le 12/01/2012 05:10, William Stein a écrit : On Wednesday, January 11, 2012, Michael Orlitzky mich...@orlitzky.com mailto:mich...@orlitzky.com wrote: On 01/11/2012 03:40 AM, Jeroen Demeyer wrote: True, but we're