[sage-devel] Funding idea: selling hardware

2015-11-30 Thread Pablo Angulo
Hello: In a recent local spanish Sage meeting, some folks from the University of Vigo told us about their Sage setup for the classroom using a laptop as a sage server. Their wireless at some classrooms is not good enough, so they would bring the laptop to the classroom, create and share a local

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

2015-11-01 Thread Pablo Angulo
mpir 2.7.0 compiled just fine using the AUR package. I didn't 'pacman -Syu' in between. My previous sage installed upgraded to sage 6.9 with no problem, and version is 2.7.0, but there was a system upgrade in between. I don't need to solve this, but I will perform other attempts if it can help

[sage-devel] very weird error when testing a file

2011-04-08 Thread Pablo Angulo
I've found a very weird error trying to get some files pass the automated testing: I got the same Expected and Got, but the test failed. Copy the following text to devel/sage/sage/misc/example.py: # -*- coding: utf-8 -* def f(text): EXAMPLES:: sage: from sage.misc.example

[sage-devel] tips on sphinx for sage

2011-01-20 Thread Pablo Angulo
Hello: I'm working on two issues [1], [2] that require me to mess up with sphinx. Anybody has any tips about the right place to interfere the building of the documentation? I would need to define extra codes like: ..link_all:: to tell the testing framework to link all code cells (this means

[sage-devel] error compiling gnutls on suse 11.3

2010-12-29 Thread Pablo Angulo
Hello: We just got an error compiling sage (we tried versions 4.5.3 and 4.6) in opensuse 11.3 32 bits. We took care of the readline problem that other people reported recently, just in case, but even though all reports regarding compile problems with suse 11 end up in a successful compile, it

[sage-devel] UnicodeDecodeError's using docbuild

2010-12-22 Thread Pablo Angulo
Hello: I'm getting UnicodeDecodeError's using docbuild. Funny thing is, I get them with a file with no unicode characters: Testing === Text .. MATH:: d=\left|\begin{array}{rrr} 1 \alpha_1 \alpha_1^2 \\ 1 \alpha_2 \alpha_2^2 \\ 1 \alpha_3 \alpha_3^2 \end{array}\right|

[sage-devel] weird difference in performance

2010-11-23 Thread Pablo Angulo
Hello: A colleague was working in code for a certain projecteuler problem, and found that using len of a list has a severe penalty on the sage notebook, which doesn't happen on either the sage or the python console. The two versions of the code below differ only in a call to the function len.

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

2010-11-09 Thread Pablo Angulo
I see there are some trac tickets for moving interacts from the wiki into the Sage library (at least 9623, ). However, none of them have unit tests. I though that automated checking of the code was the main reason for moving the interacts into the library. Availability is fine, sure, but that

[sage-devel] Re: math equation editor

2010-05-31 Thread Pablo Angulo
Although I am used to learning the hard way, I find that there are few free resources (as in beer) for learning JavaScript, so I don't really know how to start with the existing code. These are nice, though not definitive: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide

[sage-devel] Re: Processing.js visualization of Numpy data from notebook?

2010-05-24 Thread Pablo Angulo
Could you be more specific? Otherwise, you can look at some working examples: the graph editor uses processing for sure, and the javascript viewer for 3d plots might also use it. There were some messages in this list last month about a javascript matrix editor, but I don't know if it uses

[sage-devel] Re: Ubuntu 10.04, JMOL, Java

2010-05-14 Thread Pablo Angulo
By the way, there is now a package for the chromium browser, and it runs sage nicely, including jmol applets. Correction: editing text blocks has some glitches. -- 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: Ubuntu 10.04, JMOL, Java

2010-05-13 Thread Pablo Angulo
By the way, there is now a package for the chromium browser, and it runs sage nicely, including jmol applets. -- 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

[sage-devel] Re: Ubuntu 10.04, JMOL, Java

2010-05-12 Thread Pablo Angulo
My experience before 10.04 was that openjdk worked from the command line, but not in the notebook. This appeared to be the case. After reading this thread, I tried to drop my .mozilla folder, which I have carried for years and now applets do work. More concretely, I renamed .mozilla into

[sage-devel] Re: A repository for user scripts

2010-05-07 Thread Pablo Angulo
I think Aditya is right: there's a huge gap between writing a decent code snippet, and contributing to SAGE. Apart from code quality, there is the coercion system, the collaborative tools, the review process, the huge libraries which may already contain something similar to what you have done...

[sage-devel] sage -t

2010-05-05 Thread Pablo Angulo
Hi: I was trying to review a patch and, following instructions on the Developer's guide, I ran sage --testall. It reported an error on the file modules/free_module.py, unrelated to the patch. However, if I start sage and repeat the commands supposed to produce the error, I get the right

[sage-devel] Re: sage -t

2010-05-05 Thread Pablo Angulo
Just so that we are talking about the same section of the Developer's Guide, do you mean that you followed instructions from the very first chapter [1] of that guide? [1] http://www.sagemath.org/doc/developer/walk_through.html

[sage-devel] Re: sage -t

2010-05-05 Thread Pablo Angulo
Got it! I set the environment variable SAGE_HOME, and the test passed! -- 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: sage -t

2010-05-05 Thread Pablo Angulo
Well, I'd rather say: the test failed (sage -t ...free_module.py), then I set SAGE_HOME, then it passed, but the right environment variable is SAGE_ROOT, isn't it? Way more puzzling -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Regular expression involving numpy.float

2010-04-28 Thread Pablo Angulo
Hello: Tracking a weird bug I've discovered the following: For a symbolic variable x and a numpy.float64 y, the code 'xy' evals to a Symbolic expression, while 'yx' evals to a numpy.bool. I'm afraid I'm stacked, as it is the responsability of the method numpy.float64.__lt__, and I can't

[sage-devel] Re: Regular expression involving numpy.float

2010-04-28 Thread Pablo Angulo
My mind slipped: I meant Symbolic expression involving numpy.float -- 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: sage and nfs

2010-04-21 Thread Pablo Angulo
I'm coming back to this old topic in case someone reads it seeking help for a similar problem. After more time and experiments, my colleague decided the main problem was the big size of files to transfer. Now there's a script deleting regularly .mozilla and some subfolders of .sage. The startup

[sage-devel] Re: triangulation editor based on the graph editor

2010-03-26 Thread Pablo Angulo
1) I have updated the content at http://www.uam.es/personal_pdi/ciencias/pangulo/etc/te.zip with some corrections. It is still not recommended for installation, just for reading. 2) I have left a server in the machine: https://lavadora.mat.uam.es:8000/home/pub/1/ where you can browse the

[sage-devel] Re: new version of the graph editor

2010-03-26 Thread Pablo Angulo
I've noticed that the graph editor is viewable in published worksheets. Should this behaviour be disabled? -- 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: new version of the graph editor

2010-03-26 Thread Pablo Angulo
I've noticed that the graph editor is viewable in published worksheets. Should this behaviour be disabled? Why? It's confusing. It looks like you can edit the page while you really can't. It'd better if the javascript were disabled. But wait, interacts are also alive on published

[sage-devel] Re: triangulation editor based on the graph editor

2010-03-26 Thread Pablo Angulo
How did you implement the Triangulation class, so that you can just use it in Sage? Did you just add it to the Sage library? Or installed it as some extra package (in this case, how exactly did you install it)? I usually just install packages as spkg, which means that I have to create

[sage-devel] triangulation editor based on the graph editor

2010-03-24 Thread Pablo Angulo
Hello, This weekend I wrote a triangulation editor, based on the previous code for the graph editor. You can get the relevant files from: http://www.uam.es/personal_pdi/ciencias/pangulo/etc/te.zip I'm learning mercurial, and the sage packaging conventions, and I need to decide where to place

[sage-devel] Re: triangulation editor based on the graph editor

2010-03-24 Thread Pablo Angulo
Hello, Ondrej: Do you have some example worksheet doing this? That's the exact same workflow that we want to use in FEMhub --- only we want to use our C++ PDE solvers (http://hpfem.org/ http://www.google.com/url?sa=Dq=http://hpfem.org/usg=AFQjCNGeqv6JoTc2MKrXb5G6x8cbvLNKXg), that we wrapped

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
Hello, I'd like to review this patch, but I don't know how to apply patches to sagenb: can you give me a link? Thanks -- 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

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
It's done, I just had to change to the right directory -- 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 http://groups.google.com/group/sage-devel

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
Well, it's not done. I found some source files but they're not the ones the system is using. I'd appreciate your help for applying the patch -- 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: new version of the graph editor

2010-03-23 Thread Pablo Angulo
It worked up to the point where I got some: Hunk #1 FAILED at 0 and similar errors, with a final abort: patch failed to apply Thanks for your help, but it looks like I need to learn more about this mercurial before I proceed. -- To post to this group, send an email to sage-devel@googlegroups.com

[sage-devel] Re: no GSoC for Sage

2010-03-21 Thread Pablo Angulo
What I gather from your proposals above is that we need to have some kind of lists of easy tickets for someone to nibble on (chew lightly for a few hours). The idea of such an easy list is to anticipate someone coming along and say, I'm new to Sage. I would like to help out with its

[sage-devel] Re: should hard integrals be evaluated numericaly if they fail to be evaluated?

2010-03-17 Thread Pablo Angulo
Sorry to come back to this (two weeks) old topic, but what do you think about raising an exception whenever a symbolic integral (or any symbolic computation) fails? Otherwise, is there a simple way to distinguish a succesful integration from failed ones that are just indicated (e.g.,

[sage-devel] hide all code

2010-01-22 Thread Pablo Angulo
Hello! Upon looking at the new graph editor, I'm even more interested in a feature we could call hide all code. Have you considered this possibility before? Use case is: a standard course not dedicated to SAGE, the teacher does not want to show the code, the students don't have programming

[sage-devel] Re: hide all code

2010-01-22 Thread Pablo Angulo
Put %hide at the beginning of a cell. I think that putting %hideall at the top of the worksheet will hide all of them, but I am not 100% sure about that (click Help on the upper right of any worksheet and the page should explain this, though). %hideall doesn't work, and I couldn't find any

[sage-devel] SAGE 4.2.1 won't print the last characters of a string if they belong to SAGE

2009-12-11 Thread Pablo Angulo
This is weird. Occassionaly, in the SAGE notebook, version 4.2.1, the last characters of output after evaluating a cell are supressed. I've tried all of string.printable: the only characters supressed are S, A, G, E and _. No kidding. A related issue is that the starting whitespace is removed.

[sage-devel] Re: A strang bug with Piecewise/integral/plot

2009-12-10 Thread Pablo Angulo
This is related to a subtle, undocumented difference between these two definitions of a symbolic expression: var('v') r(v)=v print r /// v |-- v r=v print r /// v so both are printed different, but they return the same value when called with a question mark: r? /// *File:*

[sage-devel] Re:sage and nfs

2009-11-27 Thread Pablo Angulo
My colleague discovered that the plain hard disk read speed was very low due to a configuration problem. This has sped up the transmission a lot! We'll test the system the next day a lot of students log in at once and report back. So you were right, Jan, the server was the place to look. You've

[sage-devel] sage and nfs

2009-11-26 Thread Pablo Angulo
Hello: In my university, we have a room with 24 computers and one nfs server serving the home folders for all of them. SAGE is installed in each of the computers individually. As the course progresses, we're running into severe performance problems when using SAGE in this setting. We have now

[sage-devel] Re: sage and nfs

2009-11-26 Thread Pablo Angulo
The worsheets are very small objects; so I guess that the problem is somewhere else. Maybe the .mozilla folder is responsible. Or maybe sage attempts to browse the .sage directory and that causes nfs to transfer all the files. My .sage folder is 150mb big. If your nfs server is a linux

[sage-devel] Re: Suggestion for a map showing where Sage is taught.

2009-11-23 Thread Pablo Angulo
Is there no way to have users of the wiki add their universities themselves? I've seen collaborative maps elsewhere. -- 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,

[sage-devel] Re: What about Sage Conservative version?

2009-10-25 Thread Pablo Angulo
For me, it would be enough if the binaries for the previous versions did not disappear from the mirrors, and big changes in SAGE came with big changes in the version number. I could then tell my students to: use any version of SAGE starting with 4.1, but use SAGE=4.2 at your own risk right at

[sage-devel] Re: What about Sage Conservative version?

2009-10-25 Thread Pablo Angulo
Is it not more obvious to call the =4.2 'beta' versions, if that strategy is used. Virtually everyone knows a 'beta' version of software is subject to bugs. Well, I don't think 4.1.2 is any more unstable than 4.1.1, but 4.1.1 happens to be the one we have installed. It's very important to

[sage-devel] Edit or Text button in the latest notebook code

2009-10-23 Thread Pablo Angulo
I just installed the notebook code: sage -i http://sage.math.washington.edu/home/wstein/patches/sagenb/sagenb-0.3.6.spkg When I press either the Edit or the Text button, the page starts to refresh every second or so and firefox takes almost one full processor. Editing is impossible. This

[sage-devel] Re: Edit or Text button in the latest notebook code

2009-10-23 Thread Pablo Angulo
Actually, all buttons produce that behaviour: Edit, Text, Undo, Share and Publish --~--~-~--~~~---~--~~ 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

[sage-devel] Re: backwards compatibility of sage 4.1.2 format

2009-10-22 Thread Pablo Angulo
If you want to very easily try this new code (and everything else we've done improving the new notebook in the last few days), just do this: sage -i http://wstein.org/home/wstein/patches/sagenb/sagenb-0.3.5.spkg Everything smooth, including a feature I requested about a month ago. Thanks

[sage-devel] Re: backwards compatibility of sage 4.1.2 format

2009-10-21 Thread Pablo Angulo
I've made the following experiment: * uncompress a sws file from sage 4.1.2 * rename worksheet.html into worksheet.txt * compress it again * open with sage 4.1 It basically worked. Of course the new pickle file is not used, but the core of the page remains. The output may be lost but we can

[sage-devel] Re: backwards compatibility of sage 4.1.2 format

2009-10-21 Thread Pablo Angulo
The page title is also a bit different: The old sage 4.1 format started with: -- page title system:sage h1content... -- while the new one takes the title from somewhere else and starts directly with content. Then when a sage 4.1.2 worksheet.html is renamed into worksheet.txt and

[sage-devel] Re: backwards compatibility of sage 4.1.2 format

2009-10-21 Thread Pablo Angulo
Oh, I see in your patch you've taken care of the title. --~--~-~--~~~---~--~~ 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] Error rebuilding MPIR and ATLAS

2009-10-20 Thread Pablo Angulo
Also, the problem above looks like a networking issue? You can download spkg's directly from http://sagemath.org/packages/standard/ and do ./sage -f name_of_package.spkg to force re-install. It absolutely worked, but the network was ok. I actually downloaded the packages from the same

[sage-devel] backwards compatibility of sage 4.1.2 format

2009-10-20 Thread Pablo Angulo
The new sage version 4.1.2 introduces a new file format that is incompatible with the previous one. If I use download fo a file, that file can't be opened with sage 4.1.1 (viceversa works fine). Is there any way to convert from the new to the old format? I expect a wave of problems as students

[sage-devel] Re: sage notebook servers

2009-10-17 Thread Pablo Angulo
So if you're running a Sage notebook somewhere, could you answer these questions: 1. Where? Universidad Autónoma de Madrid, Spain 2. Why? We use the server to share interesting worksheets with the other members of the department. It also allows members of the department to try

[sage-devel] Re: notebook mini-feature request

2009-10-01 Thread Pablo Angulo
Thanks a lot! One comment: if the merging of text blocks only happens when the sheet is saved, closed and opened again, this is no big deal. Most of the time, a user will want to solve the problem immediately. It will be nice to split a text block anyway, but I think the user will not get

[sage-devel] notebook mini-feature request

2009-09-30 Thread Pablo Angulo
Many of my students have run into the following problem: they have deleted the code cells that separated two text blocks and it's impossible to put a code block between the two text blocks. The only solution I've found is: create more text and code blocks below, then copy and paste. Can I ask for

[sage-devel] core dump

2009-09-15 Thread Pablo Angulo
Hello: On a Pentium IV machine, two versions of sage 4.1 yield approximately the same error (the following is cut and paste when trying the second): /opt/sage-4.1.1-linux-Ubuntu_9.04-i686-Linux/local/bin/sage-sage: line 199: 5276 Instrucción ilegal (core dumped) sage-ipython $@ -i First

[sage-devel] empty lines in my worksheets

2009-07-27 Thread Pablo Angulo
Hello: I just started to version-control my worksheets, and I noticed that some worksheets are changed, even if I don't open them. The change is inocous: empty lines are added to the files worksheet.txt between the code and the output in some code cells (apparently, all code cells with

[sage-devel] click on a plot to select a point, using interact

2009-05-21 Thread Pablo Angulo
Hello Sometimes when writing an interactive plot with @interact I would like to select a 2D point. I can put two input boxes, one for each coordinate. When either coordinate is updated, it starts to recompute the graph, while I'd prefer it to compute only when both coordinates are changed.

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

2009-05-21 Thread Pablo Angulo
Hello: Correct me if I'm wrong, but there's no way to avoid that an interaction is rebuilt after any change in the controls. While I've been able to live with that, I was now working in some examples using persistent data (code is below), and I'd really love two or three things: 1) To choose

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

2009-05-21 Thread Pablo Angulo
You are correct. Right now one can't do what you want with controls. It would be possible for us to implement it though. How would you like to specify that a control doesn't cause a change? For example, @interact def _(var1=input_box(default_value=1, trigger_updates=False),

[sage-devel] Re: following instructions from install.log, an email about an install error

2008-12-11 Thread Pablo Angulo
Thanks very much for the information. It's not my computer, and it cannot be upgraded until the course is over, so I'm probably out of luck. I'll write if I get lucky. I'm not sure you received my link with the config.log, so here it goes again:

[sage-devel] Re: following instructions from install.log, an email about an installerror

2008-12-10 Thread Pablo Angulo
Something is wrong with your g++ compiler, but it is broken in a subtle way. Can you upload the content of spkg/build/gmp-4.2.2.p1.fake/ src/config.log somewhere and post a link? Sure: http://www.uam.es/personal_pdi/ciencias/pangulo/etc/config.log