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
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
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
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
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
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|
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.
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
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
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
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
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
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
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...
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.,
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
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
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.
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:*
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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),
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:
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
61 matches
Mail list logo