[sage-devel] Failed source build

2016-10-07 Thread 'Rado' via sage-devel
- I'm using Debian 8 (jessie) - have instsalled GCC 6.2 - git cloned the source from today and just ran make (after installing some prerequisites). - After some minutes I arrived at this issue: [gcc-4.9.3.p1] In file included from ../../src/gcc/cp/except.c:1013:0: [gcc-4.9.3.p

[sage-devel] Re: too many file descriptors causing problems on sagenb

2011-11-06 Thread Rado
As far as I remember, after restart of the server rogue processes have parent id 1, which makes them easy to identify and kill. Problem of course being that you need to restart. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email

[sage-devel] Re: twisted 11

2011-10-17 Thread Rado
tures (subnets and https) are possible in twisted11, but never had the time to put them back in. Rado -- 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 gro

[sage-devel] solve_right RDF weirdness

2011-09-08 Thread Rado
rical error. Any idea what is happening? Rado -- 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 URL:

[sage-devel] python ints vs sage ints with respect to powers

2011-09-05 Thread Rado
e(int(3) ** 3) We had students experiencing an unpleasant surprise when using range and ^ -2 thus getting back floats instead of QQ (of course they should have been using srange). Rado -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, s

[sage-devel] Re: testing sage notebook

2011-08-06 Thread Rado
admin script written during SageDays31, to handle multiple sage installs. Rado -- 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 iPhone app

2011-07-24 Thread Rado
> > I do have some other specific questions that might be easier to answer: > > - Where should I host the source code? as part of Sage or separately e.g. > on bitbucket? > Sagenb is on google code. It makes sense to have a separate project for the app. > - What is a better name than iSage? j

[sage-devel] Re: Sage iPhone app

2011-07-24 Thread Rado
> > Right now the biggest thing holding the app back is what service to use. > It's coded against aleph, which is very easy to use, but isn't currently > running. Moreover it executes python not Sage. > You can do "from sage.all import *" assuming you installed and started aleph with "sage -

[sage-devel] Re: finite free module iterator

2011-07-16 Thread Rado
This should mean that there is no caching happening. sage: timeit('list(random_matrix(GF(5),5,10).row_space())') 5 loops, best of 3: 1.04 s per loop sage: timeit('list(free_mod_iter(random_matrix(GF(5),5,10).row_space()))') 25 loops, best of 3: 14.6 ms per loop Yeah, this iterator is "stuck" on

[sage-devel] Re: finite free module iterator

2011-07-16 Thread Rado
Ops, the code posted is not quite right (it's in the middle of a rewrite :)). Use the following def inner_iter(L, R): if len(L) == 1: for i in R: yield i * L[0] else: el = L[0] for rest in inner_iter(L[1:], R): for i in R: y

[sage-devel] finite free module iterator

2011-07-16 Thread Rado
Hello, I needed to get all elements of a vector-space over a finite field. Here are three approaches, each ~ 10x faster than the previous: A = random_matrix(GF(5), 5, 10) #-- timeit('all2 = A.row_space().list()') 5 loops, best of 3: 1.07 s per loop #-- timeit('all = [i*A for i in VectorS

[sage-devel] Re: Sage development visualization (YouTube vid)

2011-05-18 Thread Rado
cool! what is the red bunch on the side? -- 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 URL: http://www

[sage-devel] Re: Flask notebook

2011-04-22 Thread Rado
> 1. Rado reviews and pulls my latest bugfixes/changes that address > several bugs. done. I have a different bug fix for one of the issues, I need a review for that. More details in google code. > > 2. Rado commits his fix for data URLs done. > > 3. William pulls the new code

[sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-03-29 Thread Rado
one in the sage library as given by Jason in http://trac.sagemath.org/sage_trac/ticket/11078. After sage -br you should have Jmol working. Rado On Mar 30, 8:41 am, Jason Grout wrote: > On 3/29/11 7:07 PM, Jason Grout wrote: > > > On 3/25/11 9:03 PM, William Stein wrote: > >&

[sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-03-26 Thread Rado
> By the way, ishttps://code.google.com/r/rkirov-flask/the source code > of this notebook? Should we test it locally in addition? Yes, thats the repository that has the version that is currently served at flask.sagemath.org. Local testing is welcome too, let me know if there are issues with the in

[sage-devel] Re: Graph Input control for interacts

2010-03-28 Thread Rado
apped as matrix interact. Rado On Mar 28, 6:02 pm, Rob Beezer wrote: > Kevin Clark and Rado Kirov have been advancing the graph editor lately > [1], [2].  Long-term I would love to see an interact control built on > their work.  In an interact one could mouse-around building a graph > a

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

2010-03-28 Thread Rado
On Mar 28, 5:33 pm, Rob Beezer wrote: > Hi Rado and Kevin, > > Very nice work on this.  I've been putting it through its paces this > weekend and it works quite well.  Fed it the Higman-Sims graph (100 > vertices, regular of degree 7, interesting automorphism group) and let &

[sage-devel] Re: screenshots of Sage in action

2010-03-28 Thread Rado
does this work: http://www.math.uiuc.edu/~rkirov2/sage-notebook.png Rado On Mar 28, 8:50 am, Minh Nguyen wrote: > Hi folks, > > I hit the send button too quickly. What I wanted to say is: Would > anyone be willing to provide screenshots of Sage in action as > described abov

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

2010-03-26 Thread Rado
y the graph_editor came in useful as a stepping stone. Send me an email if you have any comments on improving the JS code. Rado On Mar 23, 10:38 am, Pablo Angulo wrote: > It worked up to the point where I got some: "Hunk #1 FAILED at 0" and > similar errors, with a final "ab

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

2010-03-24 Thread Rado
On Mar 24, 3:00 pm, Rob Beezer wrote: > On Mar 22, 11:09 pm, Rado wrote: > > > Nice catch Rob. It should be fixed now. Tell me how it looks. > > Loops are behaving much better.  Is there a natural way to make them > rotate in the live layout (maybe add a fake invisible

[sage-devel] Re: Faster matrix input

2010-03-24 Thread Rado
improvement if anybody is interested in getting their hands dirty with JS (it took me awhile to get the right tweaks in, and I still dont understand it all). Rado On Mar 23, 7:42 pm, Alberto Ferreira wrote: > Hi everyone. I have used sage for some time and it was really useful > in calculus

[sage-devel] Re: Faster matrix input

2010-03-24 Thread Rado
ome general purpose JS out there. The best I found is http://www.visop-dev.com/jquerysheet.html (scroll down and hit DEMO) It is too heavy at its current stage but if stripped down, it might work for matrix editor. Rado On Mar 23, 9:14 pm, Alex Leone wrote: > Hi Alberto, > I'm currentl

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

2010-03-23 Thread Rado
the iphone there is no dragging for some reason but everything else seems to work. Rado On Mar 23, 6:07 pm, Ondrej Certik wrote: > Hi Rado, > > On Mon, Mar 22, 2010 at 4:44 PM, Rado wrote: > > Thanks to Kevin (one of William's undergrad students), we have some > > major

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

2010-03-23 Thread Rado
The only way I know is (I am kinda new to all this): 1) unzip sagenb in spkg/standard 2) go to the subfolder containing setup.py 3) SAGEPATH\sage -python setup.py develop 4) hg patch *patchname* hope that helps. Rado On Mar 23, 9:07 am, Pablo Angulo wrote: > Well, it's not done. I fo

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

2010-03-22 Thread Rado
cited when I saw Kevin's spring-electric algo and finished my additions). I will try to do proper software development in the future :) Rado On Mar 22, 10:53 pm, Rob Beezer wrote: > Rado and Kevin, > > Very nice!  With the vertex numbers turned on, it takes me back.  But > we neve

[sage-devel] new version of the graph editor

2010-03-22 Thread Rado
o the graph editor will always be compatible with the way Sage calls it. Next step is labels for edges and vertices and directed graphs. Processing.js seems to be doing well at displaying text and with JSON data transfer this should relatively easy to implement. Rado -- To post to this group, se

[sage-devel] droste effect in Sage

2010-03-14 Thread Rado
so if it gets fast enough to produce the images, one can make cool movies by adding an offset time variable. To learn more about the original picture by M.C. Escher that inspired it all you can read this article by H.W.Lenstra. http://www.ams.org/notices/200304/fea-escher.pdf. Rado PS. William to

[sage-devel] Re: trac 7004: Refactor the graph layout code, and add interface with graphviz

2010-02-09 Thread Rado
>  * graph_editor was using iterations=1000 as default. Was there a >    reason? If yes, do we want to set this up as default value for all >    layouts? I think Mitesh added that part, so he should answer if there are any deep reasons for it. But most likely any value would work. As long as the u

[sage-devel] Re: graph editor -- devel doc

2010-01-24 Thread Rado
Thanks for the support!!! I am overwhelmed by the positive feedback for a small weekend project like the graph_editor. On Jan 24, 3:35 pm, "Nicolas M. Thiery" wrote: > On Thu, Jan 21, 2010 at 12:22:05PM -0800, William Stein wrote: > > The new graph editor in sage by Rado

[sage-devel] Re: graph editor -- devel doc

2010-01-22 Thread Rado
that but it caused errors while loading because the event was firing before the graph was in place, so Pat LeSmith commented it out. Some smart use of Jquery should be able to fix this eventually. Rado On Jan 21, 4:56 pm, William Stein wrote: > On Thu, Jan 21, 2010 at 2:14 PM, Pat LeSmithe wr

[sage-devel] Re: graph editor -- devel doc

2010-01-21 Thread Rado
; box. When you say Save changes the cell, is the adjacency list in the cell the new one or the original one? Rado On Jan 21, 2:40 pm, David Roe wrote: > I agree that it's awesome.  I'm not sure if I'm using it right though.  If I > remove a vertex from Williams example bel

[sage-devel] Re: graph editor -- devel doc

2010-01-21 Thread Rado
smart enough to pick the values that produces the best looking graph. Rado On Jan 21, 2:22 pm, William Stein wrote: > Hi, > > The new graph editor in sage by Rado is AWESOME.  One can try it > easily athttp://sagenb.orgby typing: > >   g = graphs.CompleteGraph(10) >   graph_edi

[sage-devel] Re: AMS meeting in San Francisco

2010-01-13 Thread Rado
I am interested. The wireless at the Moscone is pathetic, so maybe we should arrange time and place to meet tonight (as I am basically cutoff from the net all day). Rado On Jan 13, 1:34 pm, William Stein wrote: > Hi, > > If you're at the AMS meeting in San Francisco and want

[sage-devel] Re: sage 4.3 compile error Unknown compiler flag: --incref-local-binop

2010-01-07 Thread Rado
yeah, come to think of it, it is probably that i changed some things without doing clone first (in my defense clone eats up a lot of space on small hdd). here is the hg heads output. Not sure how it is supposed to look, but probably having two heads is unusual? r...@rado-tablet:~/sage/devel/sage

[sage-devel] Re: Sage-Enhanced Textbook Demo

2010-01-07 Thread Rado
o find the transformation that produces flip, rotation and so on. Rado On Jan 5, 11:39 pm, Rob Beezer wrote: > I'm giving a short (15 min) talk at the annual US mathematics meetings > in San Francisco next week, about converting textbooks into Sage > worksheets.  It's more a previe

[sage-devel] Re: sage 4.3 compile error Unknown compiler flag: --incref-local-binop

2010-01-04 Thread Rado
Hi Georg, Yes my sage folder is in /home/rado/ . Here is the output of 'which cython'. r...@rado-tablet:~$ which cython /usr/bin/cython sage subshell$ which cython /home/rado/sage/local/bin/cython /home/rado/sage Any idea how to fix that issue ? I tried uninstalling my glo

[sage-devel] sage 4.3 compile error Unknown compiler flag: --incref-local-binop

2009-12-31 Thread Rado
Hello, I am trying to compile Sage 4.3 (using ./sage -upgrade) and I get the following error: ... python `which cython` --embed-positions --incref-local-binop -I/home/ rado/sage/devel/sage-main -o sage/libs/linbox/linbox.cpp sage/libs/ linbox/linbox.pyx Unknown compiler flag: --incref-local

[sage-devel] Re: Grant Ideas: sage days workshops

2009-10-19 Thread Rado
means it should be relatively painless. Also the bug with Riemann-Roch spaces coming from Singular can be tackled (unless it is solved already?). Rado On Oct 16, 4:03 pm, David Joyner wrote: > On Fri, Oct 16, 2009 at 9:38 AM, William Stein wrote: > > > 2009/10/16 David Joyner : > &

[sage-devel] Re: Sage at the joint meetings in San Francisco

2009-10-14 Thread Rado
I will definitely stop by. Looking forward to meeting all the Sage people. On Oct 14, 8:32 pm, mhampton wrote: > I started a wiki page for this: > > http://wiki.sagemath.org/jmms2010 > > and I took the liberty of adding Karl, Rob Beezer, and William as > participants.  Hopefully that's OK.  I en

[sage-devel] Re: n(list)

2009-09-23 Thread Rado
its functions take lists (even without reference in the help files). In[1]:= FactorInteger[{3, 5342, 345, 4, 2654, 43}] Out[1]= {{{3, 1}}, {{2, 1}, {2671, 1}}, {{3, 1}, {5, 1}, {23, 1}}, {{2, 2}}, {{2, 1}, {1327, 1}}, {{43, 1}}} So if Sage wants to act like mathematica a lot of functions need

[sage-devel] Re: Graph from dictionary of sets are losing the loops

2009-09-22 Thread Rado
(e,selfloops=True) sage: G.edges() Since this G is a networkx graph, you might want to make it a Sage graph: sage: G=Graph(G,loops=True) sage: G.edges() Rado On Sep 22, 10:39 am, Sébastien Labbé wrote: > Hi sage-devel, > > I am currently using Graphs and it is practical for me to cr

[sage-devel] Re: graph editor for Sage

2009-09-20 Thread Rado
PS. I just saw that Mathematica has a similar graph editor, which you can run with Needs["GraphUtilities`"] GraphEdit[G] However, it runs extremely slow on my machine. Funny thing is that their designers also decided to dump the data out of the graph editor into a cell. Rado On Sep

[sage-devel] Re: graph editor for Sage

2009-09-20 Thread Rado
4.1.1.patch" and "patch.0.2", and put the following files in $SAGE_ROOT/local/notebook/javascript/graph_editor : graphed.html, graphed.js and processing.editor.min.js. Rado On Aug 3, 6:14 pm, Minh Nguyen wrote: > Hi Rado, > > On Tue, Aug 4, 2009 at 8:38 AM, Rado wrote: >

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-08 Thread Rado
Minh, thanks a lot for the detailed explaination. Maybe the problem is that i have to patch it against 4.1.1 rc1 instead of 4.1 ... On Aug 6, 10:54 pm, Minh Nguyen wrote: > Hi Rado, > > On Fri, Aug 7, 2009 at 1:33 PM, Rado wrote: > > > r...@rado-desktop:~/sage-4.0.2/devel

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ cat sage/numerical/ all.py.rej --- all.py +++ all.py @@ -1,3 +1,4 @@ from optimize import (find_root, find_maximum_on_interval, find_minimum_on_interval,minimize,minimize_constrained, linear_program, find_fit) +from

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
I hit sage -upgrade successfully, cloned sage and tried to patch but got this... r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ hg patch AllMIP.patch applying AllMIP.patch patching file sage/numerical/all.py Hunk #1 FAILED at 0 1 out of 1 hunks FAILED -- saving rejects to file sage/numerical

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
I want to try it, but i have a newbie question, do i need to download and install all 8 patches from http://trac.sagemath.org/sage_trac/ticket/6502 ? Can we get a master patch, (something along the way of hg diff baserv:lastrv should give a composite patch). On Aug 6, 10:53 am, Nathann Cohen wro

[sage-devel] Re: Sage and Singular Talk

2009-08-03 Thread Rado
his vector to C[3], the place of degree 6 gets 10 which explains why we get such a high dimension. So I am guessing the underlined algorithm is correct but the way to get a hold of the points is screwy and until C[1][5]->POINTS relates properly to C[3] this can't be fixed on SAGE's side.

[sage-devel] Re: Sage and Singular Talk

2009-08-03 Thread Rado
hink the output from set C[1][5] -> POINTS is deceiving since the order seems to be random while , but don't know how to get the point coordinates from C[3]. I actually need this for my research, so I can spend guilt-free time trying to fix it (singular sintax is big road block for now).

[sage-devel] graph editor for Sage

2009-08-03 Thread Rado
any suggestions, comments, especially code corrections are welcome Rado --~--~-~--~~~---~--~~ 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: passing graphs by value

2009-08-03 Thread Rado
ops, my bad ... and i thought i knew python :) Rado On Aug 3, 4:04 pm, Kwankyu wrote: > On Aug 4, 5:21 am, Rado wrote: > > > > > Hello, > > > (I apologize if this has been discussed and it is a design decision). > > I just noticed that graphs are pas

[sage-devel] Re: passing graphs by value

2009-08-03 Thread Rado
ds it to the JS. Once JS is done, its spits out the data. But now question to overwrite the python variable which is locally 'g', but globally something else. that is if the user calls graph_editor(my_graph), how can the JS later call 'my_graph=' (when the user hits update

[sage-devel] passing graphs by value

2009-08-03 Thread Rado
() sage:modify(G) sage:G Petersen graph: Graph on 10 vertices However, a normal python behavior should be. sage:def modify_list(L): sage:L.append(3) sage:L=[1,2] sage:modify_list(L) sage:L [1,2,3] This can be disastrous if your are passing big graphs. Rado

[sage-devel] Re: notebook rewrite

2009-07-21 Thread Rado
it to Mathematica's rigidness. Rado --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.go

[sage-devel] Re: [Fwd: A variation on Rado's graph editor]

2009-07-04 Thread Rado
js.py for quite some time). But then again this is already working, so no rewrite needed. Also, does anyone know a more graceful way of passing variables to an iframe other than the current href="graph_editor?g=.data..." ? Rado PS. LeSmithe, if you have time try to add the cool jqueryu

[sage-devel] Re: wysiwyg mathematics

2009-07-02 Thread Rado
he general direction of the Sage project it would make sense to wait it for it. Otherwise we need to hack into that huge triple-quoted chunk of js. P.S. Didn't even know about contentEditable divs, thanks for the info, looks pretty promising. Rado On Jul 2, 12:59 am, Jason Grout wrote: > W

[sage-devel] Re: 3D using processing.js

2009-07-01 Thread Rado
Yep, processing.js is just a parser to turn the processing java code into javascript. At the end of the day its all executred through HTML canvas (thats why it wont run in IE). Its was just easier for me to write the java code than the javascript code because of the OOP. On Jun 30, 9:27 pm, Wi

[sage-devel] Re: video for sage days 16

2009-06-25 Thread Rado
Nice video embedding. Btw, it seems the first video is repeated twice (hence the double length). Click to minute 49. Rado On Jun 25, 2:51 pm, Ondrej Certik wrote: > Hi, > > On Tue, Jun 23, 2009 at 11:50 PM, William Stein wrote: > > > Hi, > > > Video and slides for

[sage-devel] Re: 3D using processing.js

2009-06-17 Thread Rado
Here is an even more impressive demo, actually almost doing what we need in js. http://www.benjoffe.com/code/tools/functions3d/ Rado --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email

[sage-devel] Re: 3D using processing.js

2009-06-16 Thread Rado
ix somethings). Curiously enough some clicks are registered (only if they are adding new nodes). However, the "live" option works so you can see how the speed compares with a PC. Rado --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@g

[sage-devel] Re: 3D using processing.js

2009-06-16 Thread Rado
google's solution. Rado On Jun 17, 12:14 am, Ondrej Certik wrote: > On Tue, Jun 16, 2009 at 10:49 PM, Tim Lahey wrote: > > > On Jun 17, 2009, at 12:32 AM, Ondrej Certik wrote: > > >> On Tue, Jun 16, 2009 at 7:32 PM, Tim Lahey wrote: > > >>> Hi, >

[sage-devel] Re: Strange behaviour with loading files and numpy

2009-06-15 Thread Rado
A simple fix by moving out the code that does the literals (the part that changes 1/2 to Integer(1)/Integer(2)) into a separate function and made sure its called at each load. I used my shiny new trac account to add the patch to the Trac. Rado On Jun 15, 6:53 pm, William Stein wrote: > On

[sage-devel] Re: "What can Magma do that Sage can't do?"

2009-06-08 Thread Rado
4 . Since its pure python, eventually we can merge our code with SAGE. If someone else is working on AG codes send me an email to coordinate. No point writing the same code twice. We are not ready to publish the code, but if someone is interested in the results they can be

[sage-devel] Re: graph construction

2009-05-19 Thread Rado
he c_graph info, I will use it next time I need to deal with big graphs. Rado On May 18, 1:32 pm, Robert Miller wrote: > Rado, > > First of all, thank you for your improvement! > > > I was playing with some big(10^6) graphs and noticed SAGE cannot > > handle constructing t

[sage-devel] Re: graph construction

2009-05-14 Thread Rado
here is the patch as promised. I don't have a trac account and it seems closed, so someone needs to paste it there. http://www.math.uiuc.edu/~rkirov2/sage/11804.patch Rado On May 14, 7:12 am, Jason Grout wrote: > Rado wrote: > > alright, all tests passed. I will post the patch

[sage-devel] Re: graph construction

2009-05-14 Thread Rado
alright, all tests passed. I will post the patch here tomorrow (its only two lines). Thanks for the explanations, now I understand what's the symlink for :) Rado On May 14, 3:39 am, mabshoff wrote: > On May 14, 1:32 am, Robert Bradshaw > wrote: > > > On May 14, 2009, at

[sage-devel] Re: graph construction

2009-05-14 Thread Rado
Last question if I used ./sage -clone myvrr and made the changes in myver, how do I tell sage to run the tests there (if this even makes sense?) Rado On May 14, 3:13 am, mabshoff wrote: > On May 14, 1:08 am, Rado wrote: > > > The bug is almost trivial. The code > > &

[sage-devel] Re: graph construction

2009-05-14 Thread Rado
: for i in xrange(10^3): : D[i]=[i+1,i-1] : sage: timeit('g=Graph(D)') 5 loops, best of 3: 79.6 ms per loop Before I submit a patch how do I run the the graph theory doctests to make sure nothing else is broken by changing verts from list to set? Rado On May 10, 3:40 pm, Willia

[sage-devel] graph construction

2009-05-10 Thread Rado
xrange(10^3): D[i]=[i+1,i-1] : sage: timeit('g=Graph(D)') 5 loops, best of 3: 2.05 s per loop sage: import networkx sage: timeit('g=networkx.XGraph(D)') 25 loops, best of 3: 21.9 ms per loop Rado --~--~-~--~~~---~--~~ To post to this group

[sage-devel] Re: Linear Algebra QuickRef

2009-05-08 Thread Rado
. One thing I always forget is what exactly _left and _right refers to (the matrix to the left of the eigenvector on the left). I am sure it is standard in Lin algebra but it wouldn't hurt to put the actual equation like Av=lv. Is there a way to throw the equation the help doc too? Rado On

[sage-devel] Re: JavaScript Graph editor

2009-05-07 Thread Rado
ility (with a bit of copy/ pasting) of "linking" up with SAGE, to make the construction/ visualization of a simple graphs easier. Hopefully, it can help some graph theorists. Rado On May 8, 12:39 am, Rob Beezer wrote: > Looking real good.  I like the red edges prior to deletion when y

[sage-devel] Re: JavaScript Graph editor

2009-05-07 Thread Rado
accompanying python script which preps ups the graph data in JS format for easy copy/paste to get the same graph in the editor. 3) The edges of the selected vertex are now blue. This is just a visual clue. Rado On May 5, 2:52 pm, rjf wrote: > On May 5, 10:53 am, Andras Salamon > wrote: >

[sage-devel] Re: JavaScript Graph editor

2009-05-05 Thread Rado
Yeah, it was supposed to be a feature, but I agree that double click to remove is easier and less error-prone. I will give it a few days to see if anybody has good argument why we should keep it and if not I will remove it. I will also make undo for the last erased vertex. Rado On May 5, 9:13

[sage-devel] Re: JavaScript Graph editor

2009-05-04 Thread Rado
mediate step for little tweaks. Rado On May 4, 11:00 pm, Rob Beezer wrote: > On May 4, 5:03 pm, rjf wrote: > > > You might find this paper interesting, since it discusses the linkage > > of an interactive graphics system (for graphs) to a computer algebra > > system. >

[sage-devel] Re: JavaScript Graph editor

2009-04-30 Thread Rado
orks (don't want to break something else). What might be even better is to send a particular embedding to the editor (i.e. send the adj. lists + vertices coordinates), but I am not sure if this info is easily extractable (in simple (x,y) form) from the

[sage-devel] JavaScript Graph editor

2009-04-30 Thread Rado
In the maple 13 thread, someone mentioned graph editor done in java script that can be added to SAGE for interactive playing around with small graphs. Since I recently came across the port of Processing to JavaScript ( http://processingjs.org ), I decided to see how hard it would be to implement t

[sage-devel] Re: Custom folders in notebook (Was Re: sage-moodle integration )

2009-04-26 Thread Rado
resolvable. Also maybe SAGE should get some features from https://bespin.mozilla.com/ which is also open-source (and does have syntax-highlighting). Rado On Mar 30, 11:29 am, Jason Grout wrote: > Maurizio wrote: > > There has been some discussions about it at: > > >http://groups

[sage-devel] Re: load/attach bugs

2009-04-26 Thread Rado
ent), which is a bigger project and should be well-thought out first. Rado On Apr 25, 7:50 pm, William Stein wrote: > On Sat, Apr 25, 2009 at 4:30 PM, Rado wrote: > > > Sweet, I will give it a shot. > > > One last thing I noticed is that attached_files() is not exposed to

[sage-devel] Re: load/attach bugs

2009-04-25 Thread Rado
e:attach test.py sage:attached_files() < fail, AttributeError: 'module' object has no attribute 'attached_files' sage:w.attached_files() <--- this should work theoretically, once I figure out how to get a hold of the current worksheet and assign it to w. Any ideas? Rado On Apr 2

[sage-devel] Re: load/attach bugs

2009-04-24 Thread Rado
Alright I got how to make ``load "test space.py"`` work for the notebook too. The problem is in: /home/rado/sage-3.4/devel/sage/sage/server/notebook/worksheet.py line 3558: for filename in L.split(): the python split function splits "test space.py" to '"test

[sage-devel] Re: load/attach bugs

2009-04-24 Thread Rado
obviously, only one of those can work, so forget about the argument passing. Here is a more concise version of the problems I see (unless i am doing something wrong): 1)``load "home/rado/.sage/test space.py" `` doesn't work in a notebook, works in prompt 2)``load test1.py test2.py`` doesn&#

[sage-devel] load/attach bugs

2009-04-24 Thread Rado
Hello, I was trying to load some python files and found some weird behaviour of the load/attach commands. I have three test files (a normal file) /home/rado/.sage/test.py (a file with space in the name) /home/rado/.sage/test space.py (a file to take arguments from command line) /home/rado/.sage

[sage-devel] Re: sage_fortran.bin: Internal error: Segmentation fault

2009-04-17 Thread Rado
I just realized that my cpu fan wasn't spinning and my CPU was at 90C! That my explain the weirdness with my installation. Consider this thread closed. Rado On Apr 17, 12:04 pm, Rado wrote: > Here is the original error: > > sage -t  "devel/sage/sage/fina

[sage-devel] Re: sage_fortran.bin: Internal error: Segmentation fault

2009-04-17 Thread Rado
Here is the original error: sage -t "devel/sage/sage/finance/time_series.pyx" ** File "/home/rado/sage-3.4/devel/sage/sage/finance/time_series.pyx", line 2361: sage: s.mean() Expected: 1

[sage-devel] Re: sage_fortran.bin: Internal error: Segmentation fault

2009-04-16 Thread Rado
.so.3.0.0 >make >make test -- The following tests failed: sage -t "devel/sage/sage/finance/time_series.pyx" Total time for all tests: 5662.6 seconds Rado On Apr 16, 1:59 am, mabshoff wrote: > On

[sage-devel] sage_fortran.bin: Internal error: Segmentation fault

2009-04-15 Thread Rado
error: Segmentation fault (program f951) Please submit a full bug report. See http://www.g95.org or mail an...@firstinter.net for instructions. make[3]: *** [sstemr.o] Error 1 make[3]: Leaving directory `/home/rado/sage-3.4/spkg/build/ lapack-20071123.p0/src/SRC' make[2]: *** [lapacklib] Error 2 m