[sage-devel] Error installing package mpir-2.7.0 on arch linux

2015-10-30 Thread pang
Hello, I just got an error trying to compile sage 6.9 from source, on a just updated archlinux with kernel 4.2.3. A couple of days ago I could upgrade my working installation, and it worked, but it failed at building the documentation. Regards libtool: compile: gcc -DHAVE_CONFIG_H -I. -I..

[sage-devel] Re: [sage-notebook] Re: hosting the sage cell server

2015-05-21 Thread pang
Sorry for the late reply, but after some talks, the department of mathematics of the Universidad Autónoma de Madrid can offer a core i3, with a 256GB SSD and 30GB of RAM. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this

[sage-devel] Re: Error installing package sqlite-3.8.4.3, when building sage 6.2 from source on arch linux

2014-06-04 Thread pang
El martes, 20 de mayo de 2014 14:38:49 UTC+2, leif escribió: Yes, Sage's is still readline 6.2, and that gets installed regardless of the version the system uses, which here apparently is readline 6.3. This pops up regularly, by design... To get around this, you can create symbolic links

[sage-devel] Error installing package sqlite-3.8.4.3, when building sage 6.2 from source on arch linux

2014-05-20 Thread pang
Hello: sage 6.2 fails to install on arch linux. This is a rolling release, so I can't state the version, but I just updated arch and it fails again. This distro uses python3 by default. Found local metadata for sqlite-3.8.4.3 Found local sources at /home/pang/Escritorio

[sage-devel] any lessons to be learned?

2013-11-21 Thread pang
Please try the following code: def pot(D,k): return diagonal_matrix([l^k for l in D.diagonal()]) var('t p k') R.q = PolynomialRing(QQ, 'q') M = matrix([(-q + 1, q, 0, 0, 0), (0, -1/2*q + 1, 1/6*q, 1/3*q, 0), (0, 0, -2/3*q + 1, 2/3*q, 0), (0, 0, 1/4*q,

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-22 Thread pang
El jueves, 18 de abril de 2013 17:05:00 UTC+2, leif escribió: 'man sem_open' would probably have been quicker... ;-) There are more man pages that could be dreamt in my philosophy. Did you run that as root, or as the user you're building Sage with? All ok! for both. (And did you

Re: [sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-18 Thread pang
sudo rm -rf /dev/shm sudo ln -s /run/shm /dev/shm It really looked promising, but unfortunately, it didn't work: is a reboot necessary? -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-18 Thread pang
On Thursday, April 18, 2013 3:09:43 PM UTC+2, leif wrote: pang wrote: sudo rm -rf /dev/shm sudo ln -s /run/shm /dev/shm It really looked promising, but unfortunately, it didn't work: is a reboot necessary? I don't think so. What does $ ls -ld /run/shm give? (I.e

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-18 Thread pang
Not a c expert, I get a: sageadmin@ks3316508 ~ g++ semaphores.c /tmp/cc4ALTKd.o: In function `main': semaphores.c:(.text+0x22): undefined reference to `sem_open' semaphores.c:(.text+0x59): undefined reference to `sem_close' semaphores.c:(.text+0x63): undefined reference to `sem_unlink'

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-18 Thread pang
On Thursday, April 18, 2013 4:23:08 PM UTC+2, pang wrote: Not a c expert, I get a: sageadmin@ks3316508 ~ g++ semaphores.c /tmp/cc4ALTKd.o: In function `main': semaphores.c:(.text+0x22): undefined reference to `sem_open' semaphores.c:(.text+0x59): undefined reference to `sem_close

[sage-devel] This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-17 Thread pang
Hello! I have downloaded a sage 5.8 binary for an atom 64 bits server, and it worked. Then I tried to build a secure server. It takes more work than it did previously. I could install the openssl package, but then I had to rebuild Sage and it failed. It was the same error I get when I try to

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-17 Thread pang
El miércoles, 17 de abril de 2013 13:59:16 UTC+2, Dima Pasechnik escribió: Can you build Sage completely from source instead? The above error was when trying to compile from source, starting from scratch. I removed the binaries before starting! -- You received this message because you

[sage-devel] Re: This platform lacks a functioning sem_open implementation This platform lacks a functioning sem_ope

2013-04-17 Thread pang
El miércoles, 17 de abril de 2013 14:06:02 UTC+2, mabshoff escribió: On Wednesday, April 17, 2013 11:45:13 AM UTC+2, pang wrote: You need shared memory for multiprocessing to work. Check if your /dev/shm is mounted. There is a strange line in the output of mount none on /run/shm type

[sage-devel] Re: Worksheet - rst?

2011-06-09 Thread pang
Is there an easy way to take an existing worksheet (with text fields, code and output) and translate it to rst format, such that it can easily be included in the docs? Seehttp://trac.sagemath.org/sage_trac/ticket/10637for the latest! I'm the author of that patch. I've used sage -sws2rst

[sage-devel] Re: tips on sphinx for sage

2011-01-24 Thread pang
That was useful, but I'll need to get into more detail. I'll keep reading the sphinx docs, I guess. On 21 ene, 01:54, slabbe sla...@gmail.com wrote: Salut Pablo, I dont know if it can help but this week I found this makefile which helped me to understand how to call sphinx with which options

[sage-devel] Re: int floor division

2011-01-18 Thread pang
That would be a greater confusion: we'd have the Sage layer, and underlying that you wouldn't have neither python 2 nor python 3, but a mixture. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Testing rst files...

2011-01-17 Thread pang
Hello: I'm also interested in this feature: how about we add a single line at the beggining of the rst file that indicates that all code cells are linked? That would cover all my use cases: how about yours? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: Testing rst files...

2011-01-17 Thread pang
oops, sorry, for some weird reason I was looking at this old thread. Anyway, Florent, I'll talk to you about this tomorrow if we get a chance. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: error compiling gnutls on suse 11.3

2010-12-30 Thread pang
Apparently those packages were installed, but not on the most current version: upgrading solved the problem. Thanks On 29 dic, 14:00, Volker Braun vbraun.n...@gmail.com wrote: Install your distribution's lzo and lzo-devel packages. -- To post to this group, send an email to

[sage-devel] Re: Buildbot - does not seem to get much use

2010-12-01 Thread pang
On 30 nov, 20:50, Robert Bradshaw +1. I have the feeling that people are doing more testing than reading of code, which is omitting the most important step, and in particular the one that only a human can do. Testing should happen orthogonal to someone reading the code and giving it a

[sage-devel] Re: Buildbot - does not seem to get much use

2010-12-01 Thread pang
On 1 dic, 13:59, David Kirkby david.kir...@onetel.net wrote: Why should I waste my time checking the validity of code that the author can't be bothered to check actually works? I feel it's the responsibility of the author to check the code works, not the reviewer. If you submitted a proof

[sage-devel] Re: Buildbot - does not seem to get much use

2010-12-01 Thread pang
On 1 dic, 14:56, David Kirkby david.kir...@onetel.net wrote: What has notation got to do with my analogy.?  It's the correctness that matters. For a paper, it is. I would never argue with an author about the particular notation she uses in a paper, provided it is consistent, but for a ticket,

[sage-devel] Re: Buildbot - does not seem to get much use

2010-12-01 Thread pang
On 1 dic, 17:40, David Kirkby david.kir...@onetel.net wrote: . But for someone that regularly submits tickets, if they can't be bothered to test them, then I'm personally not going to spend much time on a ticket. ok, we got each other wrong. The way I understood Robert Bradshaw's comment is:

[sage-devel] Re: weird difference in performance

2010-11-23 Thread pang
Thanks ! I see there is a second issue then: when I used %run script.sage from the ipython console, there is no preprocessing. That's why there was no penalty in the sage console. Of course, there is a penalty when running the script as in: sage script.sage BTW: how do you guys run scripts

[sage-devel] Re: Example worksheets contest

2010-11-15 Thread pang
Hola! Great idea: Would you sort them into categories, or mix high school and advanced math? -- 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: interacts from the wiki in the library

2010-11-12 Thread pang
On Nov 10, 11:45 am, pang pablo.ang...@uam.es wrote: I searched for wikiinteract on trac, and came up with patches with no testing at all: 9737, 9729, 9728 and 9623. I couldn't find an example that is nicely tested. On second thought, these are not trivial to split and test. Roughly every line

[sage-devel] Re: interacts from the wiki in the library

2010-11-12 Thread pang
4. The scipy dev team is currently having a thread about setting up a snippet web database for scipy. It's just in the planning stages now; maybe we could work together with them on a system we both could use. That was a long thread! Let me sum it up: Many people liked gist, but many others

[sage-devel] Re: interacts from the wiki in the library

2010-11-10 Thread pang
On 9 nov, 21:24, William Stein wst...@gmail.com wrote: On Tue, Nov 9, 2010 at 12:05 PM, Jason Grout Something being tedious is not a reason not to do it. But it may be a good reason not to recommend others to do it. Moving interacts from the wiki into the library is encouraged in the

[sage-devel] Re: interacts from the wiki in the library

2010-11-10 Thread pang
On 9 nov, 21:24, William Stein wst...@gmail.com wrote: On Tue, Nov 9, 2010 at 12:05 PM, Jason Grout Something being tedious is not a reason not to do it. But it may be a good reason not to recommend others to do it. Moving interacts from the wiki into the library is encouraged in the

[sage-devel] Re: interacts from the wiki in the library

2010-11-10 Thread pang
  This is what has happened already I think, and is why progress has been so glacial with moving wiki interacts into the library -- it's much harder work than doing it in a way without any testing.   I searched for wiki interact on trac, and came up with patches with no testing at all: 9737,

[sage-devel] Re: Including GPLv3+ code in Sage

2010-11-10 Thread pang
On 10 nov, 10:32, Jeroen Demeyer jdeme...@cage.ugent.be wrote: I'm not totally convinced though that it's okay to use GPLv3+ spkgs in Sage (the question boils down to: is cvxopt part of Sage or does Sage simply call cvxopt as external program). Jeroen. Imagine the Sage library depended on

[sage-devel] Re: technology behind Sage screencasts/videos

2010-11-05 Thread pang
Minh already suggested gtk-recordmydesktop (in the other thread), but I'd like to add that you don't need anything fancy to place video of yourself on top of the screencast, you can just place a small window with the video from the webcam above the browser. For example, in debian or ubuntu, open

[sage-devel] Re: spanish translation of the tutorial

2010-10-25 Thread pang
On 24 oct, 17:48, Pablo De Napoli pden...@gmail.com wrote: Hi I've seen the video contributing to Sage where W. Stein mentioned the translation of the tutorial to Spanish as a possible contribution to sage. Indeed, some parts of the tutorial have been already translated into Spanish by Luis

[sage-devel] Re: Do not remove output of interact if auto_update=False

2010-07-13 Thread pang
I'd say that's in the sagenb package. You can use the instructions at: http://nb.sagemath.org/dev.html Specifically, the file interact.py contains a funciont called interact, and then you'd have to read also the javascript part, which is possibly in the file notebook_lib.js, around: function

[sage-devel] Re: Notebook feature request

2009-09-28 Thread pang
On Sep 28, 10:38 am, Maurizio maurizio.gran...@gmail.com wrote: Can't we take advantage of inheritance for this issue? I don't know how far that can go, though, I'm not a programmer... Thanks Maurizio I think this will cause headaches to non-programmers, if your idea of dependence does not

[sage-devel] Re: core dump

2009-09-15 Thread pang
http://wiki.sagemath.org/faq#Otherquestions William Thanks! Well, this raises issues for a live dvd that should work on as most computers as possible. I'll give some thought to find the best solution. --~--~-~--~~~---~--~~ To post to this group, send an email

[sage-devel] Re: core dump

2009-09-15 Thread pang
Which machine is the live dvd built on? Jason I'm not sure I understand: I used SAGE binaries. I can test the live dvd in several machines. We've tried several already, with the result that the binaries did not work in Pentium III or IV, and work in Core (T2000 I think) or newer, including

[sage-devel] Re: Sage 4.1 installation on ubuntu 8.04 failed

2009-07-31 Thread pang
On Jul 31, 3:50 pm, wom wo.mac...@gmail.com wrote: Is there an easy way to install sage 4.1 on ubuntu 9.04? Bruce Cohen told me recently [1] in sage-support that the debian lenny version works fine in ubuntu hardy. It works for me too! [1]

[sage-devel] Re: GPL v2+ restriction

2009-06-23 Thread pang
Just so that others can follow this discussion: could you post a link or cut and paste some of your arguments against GPL v3? I see how the difference between GPLv2 and GPLv3 may affect a project like Java, but how does it matter for a project like SAGE? It really seems to be a big deal to

[sage-devel] Re: not all controls on interact should trigger an update

2009-05-21 Thread pang
On May 21, 2:48 pm, kcrisman kcris...@gmail.com wrote: Something closely related was discussed but apparently never implemented a while ago (a box to click for not updating immediately, which would be unclicked when one wanted things to update again). Would this idea be relevant to your

[sage-devel] Re: not all controls on interact should trigger an update

2009-05-21 Thread pang
Does anyone have a non-trivial example they have already used which could be posted on the wiki? I have uploaded an example of an interaction which could be used to present the problem of the eight queens: http://wiki.sagemath.org/interact/misc#Queensonboard

[sage-devel] Re: [sage-edu] Re: sage-moodle integration

2009-03-28 Thread pang
Hello: I'm now learning moodle as admin, and I would like to use another kind of moodle integration, just to control access to the sage server and to organize the notebooks. I have the following reasons: 1) Security: I've been told sage servers can be taken down if universal access is