[sage-devel] Re: Block matrices?

2008-01-09 Thread vgermrk

On 9 Jan., 08:25, Mike Hansen [EMAIL PROTECTED] wrote:
 It was my impression that he didn't want a matrix with matrix entries,
 but instead wanted the matrix whose entries were given by the entries
 of the submatrices.

 --Mike

That's right. I should make myself more clearer next time.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread boothby

Excellent idea, Ted.  I took your idea, expanded upon it, and added standard 
scalable development concepts to accelerate the synergy of the web service 
protocols you've proposed.

http://sage.math.washington.edu/home/boothby/web_service_architecture_joke.png

(tongue firmly in cheek)


On Wed, 9 Jan 2008, Ted Kosan wrote:


 William wrote:

 Just to break up the tension in this thread a little bit, here's my
 idea of what it might look like:

 http://sage.math.washington.edu/home/was/tmp/architecture_en.jpg

 The idea of separating the Sage computation engine from the notebook
 server looks interesting.  I took that idea, expanded upon it and then
 added standard web service protocols
 (http://en.wikipedia.org/wiki/Web_service):

 http://sage.math.washington.edu/home/tkosan/misc/web_service_architecture.png

 Ted

 




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Block matrices?

2008-01-09 Thread Robert Bradshaw

http://sagetrac.org/sage_trac/ticket/1732

On Jan 8, 2008, at 4:27 AM, vgermrk wrote:


 Is there a way to construct block matrices in SAGE?
 Not just the block_sum, augment and stack functions.

 As an example, let A, B, C, D be matrices and i want to construct a
 matrix like E=[[A,B],[C,D]]

 Such a feature would be very nice.

 -vgermrk-
 

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Fwd: [sage-support] Re: Sage 2.9 VMWare image released

2008-01-09 Thread William Stein

-- Forwarded message --
From: Adam Getchell [EMAIL PROTECTED]
Date: Jan 8, 2008 11:24 AM
Subject: Re: [sage-support] Re: Sage 2.9 VMWare image released
To: William Stein [EMAIL PROTECTED]


I just uploaded vmware-sage-deluxe-2.9.3.7z to my home directory on
sage.math. It's slightly smaller than the previous (2.9.1.1) version.

Adam


On Jan 7, 2008 1:02 PM, Adam Getchell [EMAIL PROTECTED] wrote:
 I've uploaded vmware-sage-deluxe.7z (which is just over 2GB) onto my
 home directory on sage.math.washington.edu.

 Let me know if you see any problems with it!


 Adam
 --
 Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu




--
Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Harald Schilly



On Jan 9, 6:52 am, Ted Kosan [EMAIL PROTECTED] wrote:

 The idea of separating the Sage computation engine from the notebook
 server looks interesting.

That's very nice, yes. Especially then there could be different
interfaces (third party ...). If somebody likes Java, no problem -- or
replacing the current interface with something like the the GWT
( http://code.google.com/webtoolkit/ ) , which is one of the most
interesting web development approaches i've every seen! i think, wiris
like interface in GWT could be done in a relatively short time with
good support for future browsers and future enhancements.

h
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE 2.10.alpha0 released

2008-01-09 Thread Alexander Dreyer

Hi everybody,
 Ok, I send the patch to Michael B. today off list, but I hadn't heard
 back yet.
I already incorporated the patch from the trac. In fact, I've
rewritten it a little bit, since HOME and LD_LIBRARY_PATH could be
treated likewise, see:
http://polybori.cvs.sourceforge.net/polybori/PolyBoRi/SConstruct?r1=1.8r2=1.9

 I also think that that fix is a potential solution for the
 Itanium issue that William reported since at least on the box I am
 currently playing with a gcc 3.2 gets picked and that doesn't end too
 well as you can imagine.
Yeah, standalone-PolyBoRi works on Itanium, but for compiling SAGE,
one needs a newer compiler (I have the same problem on the Itanium box
here, but didn't succeed in compiling SAGE yet).

Best regards,
  Alexander
PS: Feel free to post these issues and patches directely to the
PolyBoRi-Tracker: http://sourceforge.net/tracker/?group_id=210499
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Singular bugs: #1703, #1705 on trac.sagemath.org, gcc 4.3 compilation

2008-01-09 Thread mabshoff



On Jan 7, 1:10 pm, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 Hello Singular team,

 we came across two bugs and the gcc 4.3 compilation issue in the
 latest Singular code basis that we ship with Sage 2.9.3.

 The first bug is #1703: one mpz is leaked in longrat.cc triggered by
 linear_code.py

 See:  http://trac.sagemath.org/sage_trac/ticket/1703

 Valgrind reports:

 ==32468==at 0x4A1BB35: malloc (vg_replace_malloc.c:207)
 ==32468==by 0x6160C87: __gmpz_init (in /tmp/Work-mabshoff/release-
 cycle/sage-2.10.alpha0/local/lib/libgmp.so.3.4.1)
 ==32468==by 0x128B87AF: nlNormalize(snumber*) (longrat.cc:1147)
 ==32468==by 0x128DBE70: p_Normalize(spolyrec*, sip_sring*)
 (polys.cc:800)

 I tracked this down to void nlNormalize (number x) in longrat.cc.
 The patch named Singular-3-0-4-2-fix-longrat.cc-mpz-leak.patch 
 attached to the ticket fixes the issue for me. The rebuild Singular
 does not have the leak any more and valgrind does not report any issue
 when running the same doctest. Our test suite also passes. I assume we
 exposed the issue by hooking the GMP allocator so that it ends up
 using standard malloc, so that valgrind actually catches it. mmap
 based omalloc allocations are completely ignored/not tracked by
 valgrind. The code and the patch is simple enough to actually see that
 the mpz isn't freed in that code path.

 The second bug is #1705: factorization of polynomials over non-prime
 finite fields is TOTALLY BROKEN in Sage (and Singular?!)

 See  http://trac.sagemath.org/sage_trac/ticket/1705

 This was confirmed with the official Singular binary by Martin
 Albrecht:

  ring r = (3,a),(x,y),dp;
  minpoly = a^2 + 2*a + 2;
  poly f = (x-a)*(y-a);
  factorize(f);

 [1]:
_[1]=1
_[2]=xy+(-a)*x+(-a)*y+(a+1)
 [2]:
1,1

 For all details also check outhttp://trac.sagemath.org/sage_trac/ticket/1705
 - we do not have a solution for that issue and as far as I am aware
 nobody has attempted to track this down yet.

 gcc 4.3 compilation: I emailed a while ago about a patch that makes
 Singular compile with the current gcc 4.3 snapshot. I never heard
 back. So is there interest for that one, too? Ismail Dönmez from
 Pardus [a turkish linux distribution] ended up coding up the same
 patch in parallel with me which is nearly identical with my solution,
 so I guess the best thing is that we should share credit for that one.
 It is available from

 http://svn.pardus.org.tr/pardus/devel/programming/libs/singular/files...

 Let me know if there are any more questions or comments.

 Cheers,


Ok, good news: The initial email got lost but after poking around via
back channels the Singular team became aware of this email.

a) the memleak fix got merged
b) the factorization bug is being worked on
c) the gcc 4.3 compile fix patch was merged in a slightly modified
form to make it work with older compilers.

If anything new about (b) pops up I will let you know.

 Michael

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE 2.10.alpha0 released

2008-01-09 Thread Kate

Michael,

Sage-2.10.alpha0 builds from source (using gcc-4.2.2)
fine for me on

  x86-Linux (pentium4-fc6)
  x86_64-Linux (opteron-fc6)

but fails on ia64-Linux (RH Linux) in flint-1.05 with

Testing _fmpz_poly_mul_karatsuba()... ok
Testing _fmpz_poly_mul_karatsuba_trunc()... ok
Testing _fmpz_poly_mul_karatsuba_trunc_left()... ok
Testing _fmpz_poly_mul_KS()... GNU MP: Cannot reallocate memory
(old_size=8 new_size=4294959128)
./spkg-check: line 51: 11240 Aborted (core dumped) ./
fmpz_poly-test

Kate


On Jan 7, 9:30 pm, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 Hello folks,

 and a new merge cycle has been opened. Every time I finish one they
 pull me back in again ;)

 Anyways, tarball is in

 http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10/

 Inside that directory you see another directory alpha0 which contains
 all updated spkgs as well as all patches. So that way you can keep an
 eye on development and just grab patches and spkgs as they get merged.
 Once I start alpha1 expect that directory to appear there, too.

 As usual I will ask people to do reviews and fix open bugs. Come on
 over to the tracker and do your best. alpha0 was mostly about mem leak
 fixes, I did discover a whole bunch of new ones when I did an audit
 with the help of valgrind of 2.9.3 and with the help of various people
 (see below) we fixed a whole bunch of them. We are getting to the
 point where the number of known leaks is going toward zero, the main
 culprit at the moment is Givaro.

 As usual let us know about any issue you encounter. I am catching some
 sleep now - see you in the morning.

 Cheers,

 Michael

 Merged in alpha0:

 #1092: Willem Jan Palenstijn, Michael Abshoff: small memleaks exposed
by ntl_ZZ_pE
 #1093: Michael Abshoff, Willem Jan Palenstijn: small memleaks exposed
by ntl_ZZ_pX.py
 #1541: Burcin Erocal: improve PolyBoRi integration
 #1544: David Joyner, Rich Morin: SAGE Tutorial nits #2
 #1553: Kiran Kedlaya, Michael Abshoff: SCons related build failure
of PolyBoRi on 64-bit RHEL5
 #1598: Martin Albrecht: fix SIGSEGV in libSINGULAR interface on
Solaris
 #1694: Michael Abshoff, Bill Hart: Update FLINT to 1.05 release
 #1701: Martin Albrecht: attempt to clean up currRing if deallocated
 #1702: Martin Albrecht: fix memleak in fplll.pyx
 #1703: Michael Abshoff: memleak in Singular: one mpz is leaked in
longrat.cc
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE 2.10.alpha0 released

2008-01-09 Thread mabshoff



On Jan 9, 5:15 pm, Kate [EMAIL PROTECTED] wrote:
 Michael,

Hi Kate,

 Sage-2.10.alpha0 builds from source (using gcc-4.2.2)
 fine for me on

   x86-Linux (pentium4-fc6)
   x86_64-Linux (opteron-fc6)

 but fails on ia64-Linux (RH Linux) in flint-1.05 with

 Testing _fmpz_poly_mul_karatsuba()... ok
 Testing _fmpz_poly_mul_karatsuba_trunc()... ok
 Testing _fmpz_poly_mul_karatsuba_trunc_left()... ok
 Testing _fmpz_poly_mul_KS()... GNU MP: Cannot reallocate memory
 (old_size=8 new_size=4294959128)
 ./spkg-check: line 51: 11240 Aborted (core dumped) ./
 fmpz_poly-test

I found the same bug on an Itanium also with gcc 4.2.2. See

https://groups.google.com/group/sage-devel/t/a05734c584f012b

I did run make check on Sage's gmp compiled with that compiler and it
passes with flying colors. Bill Hart is aware of the problem, but
currently is still contemplating what would cause this. It looks like
a potential gmp bug, but so far no one has figured out what is wrong.
He currently needs access to an actual Itanium to track this down, but
it looks like William will give him access shortly.

Another question: I assume we can close 
http://trac.sagemath.org/sage_trac/ticket/1277
since those two issues you reported there have been resolved. I meant
to ask for confirmation, but I got side tracked over the last couple
days :(

 Kate

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE 2.10.alpha0 released

2008-01-09 Thread mabshoff



On Jan 9, 4:35 pm, Alexander Dreyer
[EMAIL PROTECTED] wrote:
 Hi everybody, Ok, I send the patch to Michael B. today off list, but I 
 hadn't heard
  back yet.

 I already incorporated the patch from the trac. In fact, I've
 rewritten it a little bit, since HOME and LD_LIBRARY_PATH could be
 treated likewise, 
 see:http://polybori.cvs.sourceforge.net/polybori/PolyBoRi/SConstruct?r1=1...

  I also think that that fix is a potential solution for the
  Itanium issue that William reported since at least on the box I am
  currently playing with a gcc 3.2 gets picked and that doesn't end too
  well as you can imagine.

 Yeah, standalone-PolyBoRi works on Itanium, but for compiling SAGE,
 one needs a newer compiler (I have the same problem on the Itanium box
 here, but didn't succeed in compiling SAGE yet).

Ok, I am having similar problems and while I solved most of the
compilation issues I also have some linker issue at startup to solve.
William just send me an email that he never got Sage to work on that
box, so it might be a while before I get this to work.

 Best regards,
   Alexander
 PS: Feel free to post these issues and patches directely to the
 PolyBoRi-Tracker:http://sourceforge.net/tracker/?group_id=210499

Ok, I bookmarked it and will post issues I see there, too.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE 2.10.alpha0 released

2008-01-09 Thread Kate

Michael,

 I found the same bug on an Itanium also with gcc 4.2.2. See

 https://groups.google.com/group/sage-devel/t/a05734c584f012b

Sorry, missed that.

 Another question: I assume we can 
 closehttp://trac.sagemath.org/sage_trac/ticket/1277
 since those two issues you reported there have been resolved. I meant
 to ask for confirmation, but I got side tracked over the last couple
 days :(

Yes, you may close it.  flint built ... just did not pass its tests.

Kate

On Jan 9, 11:23 am, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 On Jan 9, 5:15 pm, Kate [EMAIL PROTECTED] wrote:

  Michael,

 Hi Kate,

  Sage-2.10.alpha0 builds from source (using gcc-4.2.2)
  fine for me on

x86-Linux (pentium4-fc6)
x86_64-Linux (opteron-fc6)

  but fails on ia64-Linux (RH Linux) in flint-1.05 with

  Testing _fmpz_poly_mul_karatsuba()... ok
  Testing _fmpz_poly_mul_karatsuba_trunc()... ok
  Testing _fmpz_poly_mul_karatsuba_trunc_left()... ok
  Testing _fmpz_poly_mul_KS()... GNU MP: Cannot reallocate memory
  (old_size=8 new_size=4294959128)
  ./spkg-check: line 51: 11240 Aborted (core dumped) ./
  fmpz_poly-test

 I found the same bug on an Itanium also with gcc 4.2.2. See

 https://groups.google.com/group/sage-devel/t/a05734c584f012b

 I did run make check on Sage's gmp compiled with that compiler and it
 passes with flying colors. Bill Hart is aware of the problem, but
 currently is still contemplating what would cause this. It looks like
 a potential gmp bug, but so far no one has figured out what is wrong.
 He currently needs access to an actual Itanium to track this down, but
 it looks like William will give him access shortly.

 Another question: I assume we can 
 closehttp://trac.sagemath.org/sage_trac/ticket/1277
 since those two issues you reported there have been resolved. I meant
 to ask for confirmation, but I got side tracked over the last couple
 days :(

  Kate

 Cheers,

 Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

boothby wrote

I'd really prefer people to help out with the notebook, since
homework already keeps me.
stretched thin, and I'd rather be writing more mathematical code.
But hey, y'all are volunteers -- do what you want.

I am about 1/3 of the way through the O'Reilly JavaScript book and I
think I will be able to help out with the notebook by the time I
finish it.  I have been spending time studying the notebook code and
it is starting to make sense.  What would be helpful, though, is if
all the functions in the notebook had some comments added to them :-)

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Tom wrote:

 Excellent idea, Ted.  I took your idea, expanded upon it, and added standard 
 scalable development concepts to accelerate the synergy of the web service 
 protocols you've proposed.

 http://sage.math.washington.edu/home/boothby/web_service_architecture_joke.png

 (tongue firmly in cheek)

That's quite funny :-)

Anyway, in about the same amount of time it took you to put that
together, I got a graphic equation editor working in the notebook.
Just execute the following code in a notebook cell for a
demonstration:

html('applet id=mathrider\
width=540 height=322\
archive=Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar\
code=Display.MainApplet.class\
codebase=http://sage.math.washington.edu/home/tkosan/mathrider/DragMath/applet/classes\
name=DragMath\
MAYSCRIPT /applet')

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] implausibly old time stamp in optional package gap_packages-4.4.10_2.spkg

2008-01-09 Thread Kate

When using the optional package 'gap_packages-4.4.10_2.spkg',
if I do

  mv gap_packages-4.4.10_2.spkg  gap_packages-4.4.10_2.tar.bz2
  bunzip2  gap_packages-4.4.10_2.tar.bz2
  tar xf gap_packages-4.4.10_2.tar

then I get

tar: gap_packages-4.4.10_2/src/ctbllib/doc: implausibly old time stamp
1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/tst: implausibly old time stamp
1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/gap4: implausibly old time
stamp 1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/htm: implausibly old time stamp
1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/gap3: implausibly old time
stamp 1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/etc: implausibly old time stamp
1969-12-31 19:00:00
tar: gap_packages-4.4.10_2/src/ctbllib/data: implausibly old time
stamp 1969-12-31 19:00:00

So that this does not worry other people  - it worried me! - perhaps
these
files can be 'touched' and the package rebuilt?

Kate






--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Fabio Tonti
Quite fancy, but the thing took about 1 Minute to load on my Kubuntu
machine, and Firefox was frozen in the meantime!!!
Yes, that's right, it's Java ;)
But it sure could be one possible way to go. (I must say I like the AJAX
stuff more, although I really have NO CLUE at all about web programming...)

Cheers, Fabio

On Jan 9, 2008 7:43 PM, Ted Kosan [EMAIL PROTECTED] wrote:


 Tom wrote:

  Excellent idea, Ted.  I took your idea, expanded upon it, and added
 standard scalable development concepts to accelerate the synergy of the web
 service protocols you've proposed.
 
 
 http://sage.math.washington.edu/home/boothby/web_service_architecture_joke.png
 
  (tongue firmly in cheek)

 That's quite funny :-)

 Anyway, in about the same amount of time it took you to put that
 together, I got a graphic equation editor working in the notebook.
 Just execute the following code in a notebook cell for a
 demonstration:

 html('applet id=mathrider\
 width=540 height=322\
 archive=Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,
 jep.jar\
 code=Display.MainApplet.class\
 codebase=
 http://sage.math.washington.edu/home/tkosan/mathrider/DragMath/applet/classes
 \
 name=DragMath\
 MAYSCRIPT /applet')

 Ted

 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] bug in elliptic curve isomorphisms in characteristic 2 and 3

2008-01-09 Thread John Cremona

Elliptic curve isomorphism code only works when the characteristic is
not 2 or 3. I expect to submit a patch shortly.  See note added to
trac #740.

John

-- 
John Cremona

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Justin C. Walker


On Jan 9, 2008, at 10:43 AM, Ted Kosan wrote:


 Tom wrote:

 Excellent idea, Ted.  I took your idea, expanded upon it, and  
 added standard scalable development concepts to accelerate the  
 synergy of the web service protocols you've proposed.

 http://sage.math.washington.edu/home/boothby/ 
 web_service_architecture_joke.png

 (tongue firmly in cheek)

 That's quite funny :-)

 Anyway, in about the same amount of time it took you to put that
 together, I got a graphic equation editor working in the notebook.
 Just execute the following code in a notebook cell for a
 demonstration:

 html('applet id=mathrider\
 width=540 height=322\
 archive=Project.jar,AbsoluteLayout.jar,swing- 
 layout-1.0.jar,jdom.jar,jep.jar\
 code=Display.MainApplet.class\
 codebase=http://sage.math.washington.edu/home/tkosan/mathrider/ 
 DragMath/applet/classes\
 name=DragMath\
 MAYSCRIPT /applet')

Maybe it's just that my system senses my inate hostility to Java, but  
this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3  
Public Beta, whatever version of Java I have).

I pasted the above snippit into the notebook, and evaluated it,  
giving me a sort of Java-looking subwindow.  I could type a few  
things, but after I started clicking on icons, the interface ground  
to a halt, and icons got repainted in the wrong places as I clicked.

Java: write once, run occasionally.  :-}

Justin

--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Problem installing Cython

2008-01-09 Thread mabshoff



On Jan 9, 10:39 pm, VictorMiller [EMAIL PROTECTED] wrote:
 I just tried downloading sage-2.9.3 and building it on my system
 (value of uname -a is below):

 Linux runner 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007
 i686 i686 i386 GNU/Linux

 I got an error.  As requested, I'm posting the relevant lines.

 Victor


Hi Victor,

it looks like a python related problem on first sight. Could you gzip
up install.log, put it up somewhere on the net and post  a link here
so we can take a look?

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Problem installing Cython

2008-01-09 Thread VictorMiller

I just tried downloading sage-2.9.3 and building it on my system
(value of uname -a is below):

Linux runner 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007
i686 i686 i386 GNU/Linux

I got an error.  As requested, I'm posting the relevant lines.

Victor

sage-spkg cython-0.9.6.9 21
cython-0.9.6.9
Machine:
Linux runner 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007
i686 i686 i386 GNU/Linux
Deleting directories from past builds of previous/current versions of
cython-0.9.6.9
Extracting package /u/victor/sage-2.9.3/spkg/standard/
cython-0.9.6.9.spkg ...
-rw-r--r--  1 victor ccr 1959597 Dec 17 11:17 /u/victor/sage-2.9.3/
spkg/standard/cython-0.9.6.9.spkg
cython-0.9.6.9/
cython-0.9.6.9/._.DS_Store
cython-0.9.6.9/.DS_Store
cython-0.9.6.9/.hg/
cython-0.9.6.9/.hg/00changelog.i
cython-0.9.6.9/.hg/dirstate
cython-0.9.6.9/.hg/requires
cython-0.9.6.9/.hg/store/
cython-0.9.6.9/.hg/store/00changelog.i
cython-0.9.6.9/.hg/store/00manifest.i
cython-0.9.6.9/.hg/store/data/
cython-0.9.6.9/.hg/store/data/_c_h_a_n_g_e_s.txt.i
cython-0.9.6.9/.hg/store/data/_c_h_a_n_g_e_s__pyrex.txt.i
cython-0.9.6.9/.hg/store/data/_c_o_p_y_i_n_g.txt.i
cython-0.9.6.9/.hg/store/data/_demos/
cython-0.9.6.9/.hg/store/data/_demos/_makefile.i
cython-0.9.6.9/.hg/store/data/_demos/_makefile.nodistutils.i
cython-0.9.6.9/.hg/store/data/_demos/_setup.py.i
cython-0.9.6.9/.hg/store/data/_demos/callback/
cython-0.9.6.9/.hg/store/data/_demos/callback/_makefile.i
cython-0.9.6.9/.hg/store/data/_demos/callback/_makefile.nodistutils.i
cython-0.9.6.9/.hg/store/data/_demos/callback/_r_e_a_d_m_e.txt.i
cython-0.9.6.9/.hg/store/data/_demos/callback/_setup.py.i
cython-0.9.6.9/.hg/store/data/_demos/callback/cheese.pyx.i
cython-0.9.6.9/.hg/store/data/_demos/callback/cheesefinder.c.i
cython-0.9.6.9/.hg/store/data/_demos/callback/cheesefinder.h.i
cython-0.9.6.9/.hg/store/data/_demos/callback/run__cheese.py.i
cython-0.9.6.9/.hg/store/data/_demos/embed/
cython-0.9.6.9/.hg/store/data/_demos/embed/_makefile.i
cython-0.9.6.9/.hg/store/data/_demos/embed/_makefile.msc.i
cython-0.9.6.9/.hg/store/data/_demos/embed/_makefile.msc.static.i
cython-0.9.6.9/.hg/store/data/_demos/embed/_makefile.unix.i
cython-0.9.6.9/.hg/store/data/_demos/embed/_r_e_a_d_m_e.i
cython-0.9.6.9/.hg/store/data/_demos/embed/embedded.pyx.i
cython-0.9.6.9/.hg/store/data/_demos/embed/main.c.i
cython-0.9.6.9/.hg/store/data/_demos/numeric__demo.pyx.i
cython-0.9.6.9/.hg/store/data/_demos/primes.pyx.i
cython-0.9.6.9/.hg/store/data/_demos/pyprimes.py.i
cython-0.9.6.9/.hg/store/data/_demos/run__numeric__demo.py.i
cython-0.9.6.9/.hg/store/data/_demos/run__primes.py.i
cython-0.9.6.9/.hg/store/data/_demos/run__spam.py.i
cython-0.9.6.9/.hg/store/data/_demos/spam.pyx.i
cython-0.9.6.9/.hg/store/data/_doc/
cython-0.9.6.9/.hg/store/data/_doc/_about.html.i
cython-0.9.6.9/.hg/store/data/_doc/_f_a_q.html.i
cython-0.9.6.9/.hg/store/data/_doc/extension__types.html.i
cython-0.9.6.9/.hg/store/data/_doc/index.html.i
cython-0.9.6.9/.hg/store/data/_doc/overview.html.i
cython-0.9.6.9/.hg/store/data/_doc/primes.c.i
cython-0.9.6.9/.hg/store/data/_doc/sharing.html.i
cython-0.9.6.9/.hg/store/data/_doc/special__methods.html.i
cython-0.9.6.9/.hg/store/data/_i_n_s_t_a_l_l.txt.i
cython-0.9.6.9/.hg/store/data/_includes/
cython-0.9.6.9/.hg/store/data/_includes/python.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__bool.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__complex.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__dict.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__exc.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__float.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__function.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__instance.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__int.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__iterator.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__list.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__long.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__mapping.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__mem.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__method.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__module.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__number.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__object.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__parse.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__ref.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__sequence.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__set.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__string.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__tuple.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/python__type.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/stdio.pxi.i
cython-0.9.6.9/.hg/store/data/_includes/stdlib.pxi.i
cython-0.9.6.9/.hg/store/data/_l_i_c_e_n_s_e.txt.i
cython-0.9.6.9/.hg/store/data/_m_a_n_i_f_e_s_t.in.i

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Justin wrote:

 Maybe it's just that my system senses my inate hostility to Java, but
 this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3
 Public Beta, whatever version of Java I have).

 I pasted the above snippit into the notebook, and evaluated it,
 giving me a sort of Java-looking subwindow.  I could type a few
 things, but after I started clicking on icons, the interface ground
 to a halt, and icons got repainted in the wrong places as I clicked.

Perhaps this would help?:

http://www.apple.com/downloads/macosx/apple/macosx_updates/javaformacosx104release6.html

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Justin C. Walker


On Jan 9, 2008, at 3:33 PM, Ted Kosan wrote:


 Justin wrote:

 Maybe it's just that my system senses my inate hostility to Java, but
 this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3
 Public Beta, whatever version of Java I have).

 I pasted the above snippit into the notebook, and evaluated it,
 giving me a sort of Java-looking subwindow.  I could type a few
 things, but after I started clicking on icons, the interface ground
 to a halt, and icons got repainted in the wrong places as I clicked.

 Perhaps this would help?:

 http://www.apple.com/downloads/macosx/apple/macosx_updates/ 
 javaformacosx104release6.html

Sorry; I should have noted the version installed here.  I installed  
this last month, so that's not the issue.

Justin

--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income

The path of least resistance:
it's not just for electricity any more.





--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Justin wrote:

 Sorry; I should have noted the version installed here.  I installed
 this last month, so that's not the issue.

Does this code work?  It is the standard GUI widget demo that is
distributed with the Java development kit:

#GUI widgets.
html('applet id=mathrider\
code=SwingSetApplet\
width=695 height=525\
codebase=http://sage.math.washington.edu/home/tkosan/mathrider/SwingSet/\
archive=SwingSet.jar MAYSCRIPT/applet')

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread William Stein

On Jan 9, 2008 2:35 PM, Justin C. Walker [EMAIL PROTECTED] wrote:


 On Jan 9, 2008, at 10:43 AM, Ted Kosan wrote:

 
  Tom wrote:
 
  Excellent idea, Ted.  I took your idea, expanded upon it, and
  added standard scalable development concepts to accelerate the
  synergy of the web service protocols you've proposed.
 
  http://sage.math.washington.edu/home/boothby/
  web_service_architecture_joke.png
 
  (tongue firmly in cheek)
 
  That's quite funny :-)
 
  Anyway, in about the same amount of time it took you to put that
  together, I got a graphic equation editor working in the notebook.
  Just execute the following code in a notebook cell for a
  demonstration:
 
  html('applet id=mathrider\
  width=540 height=322\
  archive=Project.jar,AbsoluteLayout.jar,swing-
  layout-1.0.jar,jdom.jar,jep.jar\
  code=Display.MainApplet.class\
  codebase=http://sage.math.washington.edu/home/tkosan/mathrider/
  DragMath/applet/classes\
  name=DragMath\
  MAYSCRIPT /applet')

 Maybe it's just that my system senses my inate hostility to Java, but
 this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3
 Public Beta, whatever version of Java I have).

 I pasted the above snippit into the notebook, and evaluated it,
 giving me a sort of Java-looking subwindow.  I could type a few
 things, but after I started clicking on icons, the interface ground
 to a halt, and icons got repainted in the wrong places as I clicked.

 Java: write once, run occasionally.  :-}

Since we're comparing Java to Javascript for the purposes of an equation editor,
I did a quick google search and found that the author of jsmath wrote
a javascript
equation editor.  Please try it out:

http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html

It uses jsmath to implement an equation editor.Lets see how many
people have trouble using this and how many don't, and what you think
of how it looks.

 -- william

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Justin C. Walker

On Jan 9, 2008, at 3:53 PM, Ted Kosan wrote:


 Justin wrote:

 Sorry; I should have noted the version installed here.  I installed
 this last month, so that's not the issue.

 Does this code work?  It is the standard GUI widget demo that is
 distributed with the Java development kit:

 #GUI widgets.
 html('applet id=mathrider\
 code=SwingSetApplet\
 width=695 height=525\
 codebase=http://sage.math.washington.edu/home/tkosan/mathrider/ 
 SwingSet/\
 archive=SwingSet.jar MAYSCRIPT/applet')

Roughly the same behavior: I think the Java engine gets confused  
about where things are, so it ends up repainting in the wrong place.   
In this case, I could get the menus (File, Options, ...) to drop by  
clicking below and to the right of where they appeared on-screen.   
After a while that seemed to cure itself.

This graphic (from The RadioButtons view) shows what might be a  
glitch (I haven't seen this operate, so it's a guess; the blotch  
will show up below and to the right of whatever circle I click on):


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



Picture
Description: application/applefile
inline: Picture

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income

When LuteFisk is outlawed,
Only outlaws will have LuteFisk






[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Justin wrote:

 Roughly the same behavior: snip

It looks like this is a known issue:


According to Apple specs OS X 10.5 Leopard already runs the newer
Version (J2SE 1.5.0_13 and 1.4.2_16),. However, Tiger and Leopard use
different build numbers, so problem seems limited to Tiger 10.4.10 and
.11, and only if updated with Java Release 6 (installs J2SE 1.5.0_13
and 1.4.2_16 in OS X 10.4.10  .11). Previous Release 5 for Tiger
(installs J2SE 1.5.0_07 and 1.4.2_12), as well as Safari 3 (in Combo
Update 10.4.11) and all earlier Apple updates improved things quite a
bit from the start, but from now on: better test those Apple updates
on a non-Oanda-critical system.


The full forum thread is here which discusses workarounds:

http://www2.oanda.com/cgi-bin/msgboard/ultimatebb.cgi?ubb=get_topic;f=17;t=003729

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Justin C. Walker


On Jan 9, 2008, at 4:12 PM, William Stein wrote:
 On Jan 9, 2008 2:35 PM, Justin C. Walker [EMAIL PROTECTED] wrote:
 On Jan 9, 2008, at 10:43 AM, Ted Kosan wrote:
[snip]
 Since we're comparing Java to Javascript for the purposes of an  
 equation editor,
 I did a quick google search and found that the author of jsmath wrote
 a javascript
 equation editor.  Please try it out:

 http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/ 
 editor.html

 It uses jsmath to implement an equation editor.Lets see how many
 people have trouble using this and how many don't, and what you think
 of how it looks.

The editor seems to work well, and since it has few moving parts,  
there is little to go wrong :-}.  It's pretty hard to judge based on  
the simple worksheet in this presentation (unless I missed  
something), but it looks OK to me.

The comparison would be better if the site were in some way  
equivalent to what Ted cobbled up.

A couple of points in favor of the jsMath version: more ability to  
use the keyboard.  Even in Mathematica, selecting a particular form  
plants the template for the form in the editing area.

In the Java version, you select the form, which gives you a floating  
template, which you then have to place in the editing area (e.g., for  
exponentiation).  In addition, it appears only some of the components  
of the equation are editable (in X+Y, I can select and change X  
and Y, but not +?), and navigating between these components is  
not simple (TAB sometimes works, but not -?).

I don't know whether these are limitations of the model, or of the  
quick mockup Ted did.

Justin

--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ondrej Certik

On Jan 10, 2008 1:12 AM, William Stein [EMAIL PROTECTED] wrote:


 On Jan 9, 2008 2:35 PM, Justin C. Walker [EMAIL PROTECTED] wrote:
 
 
  On Jan 9, 2008, at 10:43 AM, Ted Kosan wrote:
 
  
   Tom wrote:
  
   Excellent idea, Ted.  I took your idea, expanded upon it, and
   added standard scalable development concepts to accelerate the
   synergy of the web service protocols you've proposed.
  
   http://sage.math.washington.edu/home/boothby/
   web_service_architecture_joke.png
  
   (tongue firmly in cheek)
  
   That's quite funny :-)
  
   Anyway, in about the same amount of time it took you to put that
   together, I got a graphic equation editor working in the notebook.
   Just execute the following code in a notebook cell for a
   demonstration:
  
   html('applet id=mathrider\
   width=540 height=322\
   archive=Project.jar,AbsoluteLayout.jar,swing-
   layout-1.0.jar,jdom.jar,jep.jar\
   code=Display.MainApplet.class\
   codebase=http://sage.math.washington.edu/home/tkosan/mathrider/
   DragMath/applet/classes\
   name=DragMath\
   MAYSCRIPT /applet')
 
  Maybe it's just that my system senses my inate hostility to Java, but
  this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3
  Public Beta, whatever version of Java I have).
 
  I pasted the above snippit into the notebook, and evaluated it,
  giving me a sort of Java-looking subwindow.  I could type a few
  things, but after I started clicking on icons, the interface ground
  to a halt, and icons got repainted in the wrong places as I clicked.
 
  Java: write once, run occasionally.  :-}

 Since we're comparing Java to Javascript for the purposes of an equation 
 editor,
 I did a quick google search and found that the author of jsmath wrote
 a javascript
 equation editor.  Please try it out:

 http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html

 It uses jsmath to implement an equation editor.Lets see how many
 people have trouble using this and how many don't, and what you think
 of how it looks.

This works for me quite well (Debian sid, epiphany), but needs more
polishing (for
example I tried sin(pi)) and it didn't look as pretty as latex. :)

To take my part in the flamebate, I also prefer ajax, as this is slow,
and maybe it sucks, but it works. java is maybe gpl,
but it is not in Debian (there are some licensing problems with some
parts of the java,
but I didn't dug into it). And as seen in this thread, ajax mostly
works for everyone,
but not java.

Ondrej

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Justin wrote:

 In addition, it appears only some of the components
 of the equation are editable (in X+Y, I can select and change X
 and Y, but not +?),

Double click on the operator to select it and then select a
replacement operator from the pallet.



and navigating between these components is
 not simple (TAB sometimes works, but not -?).

tab moves forward through the equation and shifttab moves backwards.

Some documentation is available here:

http://www.dragmath.bham.ac.uk/doc/index.html

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: basic java question

2008-01-09 Thread Robert Bradshaw

Ted,

Thanks, this looks like a lot of work! I ran into an error compiling  
Log4j12, any ideas. (I've been busy at the conference the last couple  
of days, but could look more into this maybe when I get home).

- Robert


On Jan 6, 2008, at 9:30 PM, Ted Kosan wrote:


 Robert,

 The jmol-11.5.2-src.spkg is ready for testing and it can be found  
 here:

 http://sage.math.washington.edu/home/tkosan/misc/jmol-11.5.2-src.spkg

 Ted

commons-logging-1.1.1-src/xdocs/tech.xml
commons-logging-1.1.1-src/xdocs/troubleshooting.xml
tar: A lone zero block at 1830
Buildfile: build.xml

init:
  [echo]  Logging Wrapper Library 1.1.1-SNAPSHOT 

prepare:
  [echo]
  [echo] Log4j12: log4j-1.2.12.jar
  [echo]
  [echo]
  [echo] LogKit: logkit-1.0.1.jar
  [echo] Avalon-Framework: avalon-framework-4.1.3.jar
  [echo]
 [mkdir] Created dir: /Users/robert/sage/sage-2.8.11/spkg/build/ 
jmol-11.5.2-src/dependencies/packages/commons-logging/src/commons- 
logging-1.1.1-src/target
 [mkdir] Created dir: /Users/robert/sage/sage-2.8.11/spkg/build/ 
jmol-11.5.2-src/dependencies/packages/commons-logging/src/commons- 
logging-1.1.1-src/target/classes
 [mkdir] Created dir: /Users/robert/sage/sage-2.8.11/spkg/build/ 
jmol-11.5.2-src/dependencies/packages/commons-logging/src/commons- 
logging-1.1.1-src/target/conf
 [mkdir] Created dir: /Users/robert/sage/sage-2.8.11/spkg/build/ 
jmol-11.5.2-src/dependencies/packages/commons-logging/src/commons- 
logging-1.1.1-src/target/tests

discovery:

compile-non-log4j:
 [javac] Compiling 11 source files to /Users/robert/sage/ 
sage-2.8.11/spkg/build/jmol-11.5.2-src/dependencies/packages/commons- 
logging/src/commons-logging-1.1.1-src/target/classes
 [javac] /Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2- 
src/dependencies/packages/commons-logging/src/commons-logging-1.1.1- 
src/src/java/org/apache/commons/logging/impl/ 
ServletContextCleaner.java:24: package javax.servlet does not exist
 [javac] import javax.servlet.ServletContextEvent;
 [javac]  ^
 [javac] /Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2- 
src/dependencies/packages/commons-logging/src/commons-logging-1.1.1- 
src/src/java/org/apache/commons/logging/impl/ 
ServletContextCleaner.java:25: package javax.servlet does not exist
 [javac] import javax.servlet.ServletContextListener;
 [javac]  ^
 [javac] /Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2- 
src/dependencies/packages/commons-logging/src/commons-logging-1.1.1- 
src/src/java/org/apache/commons/logging/impl/ 
ServletContextCleaner.java:52: cannot find symbol
 [javac] symbol: class ServletContextListener
 [javac] public class ServletContextCleaner implements  
ServletContextListener {
 [javac]   ^
 [javac] /Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2- 
src/dependencies/packages/commons-logging/src/commons-logging-1.1.1- 
src/src/java/org/apache/commons/logging/impl/ 
ServletContextCleaner.java:61: cannot find symbol
 [javac] symbol  : class ServletContextEvent
 [javac] location: class  
org.apache.commons.logging.impl.ServletContextCleaner
 [javac] public void contextDestroyed(ServletContextEvent sce) {
 [javac]  ^
 [javac] /Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2- 
src/dependencies/packages/commons-logging/src/commons-logging-1.1.1- 
src/src/java/org/apache/commons/logging/impl/ 
ServletContextCleaner.java:135: cannot find symbol
 [javac] symbol  : class ServletContextEvent
 [javac] location: class  
org.apache.commons.logging.impl.ServletContextCleaner
 [javac] public void contextInitialized(ServletContextEvent  
sce) {
 [javac]^
 [javac] 5 errors

BUILD FAILED
/Users/robert/sage/sage-2.8.11/spkg/build/jmol-11.5.2-src/ 
dependencies/packages/commons-logging/src/commons-logging-1.1.1-src/ 
build.xml:359: Compile failed; see the compiler error output for  
details.

Total time: 1 second
Error in dir:
/Users/robert/sage/current/spkg/build/jmol-11.5.2-src/dependencies/ 
packages/commons-logging/src/commons-logging-1.1.1-src
Error in dir:
/Users/robert/sage/current/spkg/build/jmol-11.5.2-src/dependencies/ 
packages/commons-logging
Error.

real0m53.573s
user0m18.730s
sys 0m5.505s
sage: An error occurred while installing jmol-11.5.2-src
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Users/robert/sage/current/install.log.  Describe your computer,  
operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/Users/robert/sage/current/spkg/build/jmol-11.5.2-src and type 'make'.
Instead type /Users/robert/sage/current/sage -sh
in order to set all environment variables correctly, then cd to

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread mhampton

It worked for me, and seems nice for what it does.

On Jan 9, 7:49 pm, William Stein [EMAIL PROTECTED] wrote:
 On Jan 9, 2008 4:53 PM, Ondrej Certik [EMAIL PROTECTED] wrote:





  On Jan 10, 2008 1:12 AM, William Stein [EMAIL PROTECTED] wrote:

   On Jan 9, 2008 2:35 PM, Justin C. Walker [EMAIL PROTECTED] wrote:

On Jan 9, 2008, at 10:43 AM, Ted Kosan wrote:

 Tom wrote:

 Excellent idea, Ted.  I took your idea, expanded upon it, and
 added standard scalable development concepts to accelerate the
 synergy of the web service protocols you've proposed.

http://sage.math.washington.edu/home/boothby/
 web_service_architecture_joke.png

 (tongue firmly in cheek)

 That's quite funny :-)

 Anyway, in about the same amount of time it took you to put that
 together, I got a graphic equation editor working in the notebook.
 Just execute the following code in a notebook cell for a
 demonstration:

 html('applet id=mathrider\
 width=540 height=322\
 archive=Project.jar,AbsoluteLayout.jar,swing-
 layout-1.0.jar,jdom.jar,jep.jar\
 code=Display.MainApplet.class\
 codebase=http://sage.math.washington.edu/home/tkosan/mathrider/
 DragMath/applet/classes\
 name=DragMath\
 MAYSCRIPT /applet')

Maybe it's just that my system senses my inate hostility to Java, but
this doesn't seem to work well for me (Mac OS X, 10.4.11, Safari 3
Public Beta, whatever version of Java I have).

I pasted the above snippit into the notebook, and evaluated it,
giving me a sort of Java-looking subwindow.  I could type a few
things, but after I started clicking on icons, the interface ground
to a halt, and icons got repainted in the wrong places as I clicked.

Java: write once, run occasionally.  :-}

   Since we're comparing Java to Javascript for the purposes of an equation 
   editor,
   I did a quick google search and found that the author of jsmath wrote
   a javascript
   equation editor.  Please try it out:

  http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html

   It uses jsmath to implement an equation editor.Lets see how many
   people have trouble using this and how many don't, and what you think
   of how it looks.

  This works for me quite well (Debian sid, epiphany), but needs more
  polishing (for
  example I tried sin(pi)) and it didn't look as pretty as latex. :)

 They layout is actually 100% identical to latex, since it is a
 complete javascript
 implementation of the TeX math layout algorithm.

 If you install the jsmath fonts, which are tiny 120KB download from

http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html

 then using the above javascript equation editor demo will look exactly 100%
 identical to LateX.  I've attached a screen shot.  Otherwise jsmath just
 uses unicode fonts that don't look as good.

  -- William



  To take my part in the flamebate, I also prefer ajax, as this is slow,
  and maybe it sucks, but it works. java is maybe gpl,
  but it is not in Debian (there are some licensing problems with some
  parts of the java,
  but I didn't dug into it). And as seen in this thread, ajax mostly
  works for everyone,
  but not java.

  Ondrej

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org

  Picture 7.png
 161KViewDownload
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-09 Thread Ted Kosan

Tom wrote:

 The clicking  dragging interface is *painful*.  I can't see using that for 
 anything more than a few symbols.

I agree, the interface is not very usable.  On the plus side, however,
the application's core looks solid and the project looks fairly
active:

0.6.2 Notes (2007-12-23 12:02)
0.6.1 Notes (2007-12-18 13:40)
0.6 Notes (2007-12-12 06:36)
0.5 Notes (2007-09-20 07:34)
0.4 Notes (2007-08-17 11:11)

My thought is that there is a good chance they would improve the user
interface if given some feedback.

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: implausibly old time stamp in optional package gap_packages-4.4.10_2.spkg

2008-01-09 Thread mabshoff



On Jan 9, 8:34 pm, Kate [EMAIL PROTECTED] wrote:
 When using the optional package 'gap_packages-4.4.10_2.spkg',
 if I do

   mv gap_packages-4.4.10_2.spkg  gap_packages-4.4.10_2.tar.bz2
   bunzip2  gap_packages-4.4.10_2.tar.bz2
   tar xf gap_packages-4.4.10_2.tar

 then I get

 tar: gap_packages-4.4.10_2/src/ctbllib/doc: implausibly old time stamp
 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/tst: implausibly old time stamp
 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/gap4: implausibly old time
 stamp 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/htm: implausibly old time stamp
 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/gap3: implausibly old time
 stamp 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/etc: implausibly old time stamp
 1969-12-31 19:00:00
 tar: gap_packages-4.4.10_2/src/ctbllib/data: implausibly old time
 stamp 1969-12-31 19:00:00

 So that this does not worry other people  - it worried me! - perhaps
 these
 files can be 'touched' and the package rebuilt?

I agree and hope that David Joyner will fix this soon. This is now
#1743.

 Kate

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: FLINT 1.05 make check failure on Linux/Itanium

2008-01-09 Thread mabshoff



On Jan 9, 4:28 am, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 Hello,

 Sage 2.10.alpha0 contains an updated FLINT release. As per usual I
 forced to run make check and the following happened in 64 bit mode
 with gcc 4.2.2 on Itanium:

 Testing _fmpz_poly_mul_KS()... GNU MP: Cannot reallocate memory
 (old_size=8 new_size=4294959128)
 ./spkg-check: line 51: 13014 Aborted ./fmpz_poly-test

 real13m45.435s
 user13m40.921s
 sys 0m1.597s
 sage: An error occurred while installing flint-1.05
 Please email sage-develhttp://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /users/wstein/build/sage-2.10.alpha0/install.log.  Describe your
 computer, operating system, etc.
 If you want to try to fix the problem, yourself *don't* just cd to
 /users/wstein/build/sage-2.10.alpha0/spkg/build/flint-1.05 and type
 'make'.
 Instead type /users/wstein/build/sage-2.10.alpha0/sage -sh
 in order to set all environment variables correctly, then cd to
 /users/wstein/build/sage-2.10.alpha0/spkg/build/flint-1.05
 (When you are done debugging, you can type exit to leave the
 subshell.)
 make[1]: *** [installed/flint-1.05] Error 1
 make[1]: Leaving directory `/scratch/was/build/sage-2.10.alpha0/spkg'

 real48m8.044s
 user45m32.578s
 sys 1m34.541s

 The gmp I am linking against passes make check.

 Obviously anybody else seeing failures on any platforms with the
 updated FLINT.spkg should report them here.

 Cheers,

 Michael

FYI: This is now #1744.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Sage 2.10.alpha1 released

2008-01-09 Thread mabshoff

Hi,

Sage 2.10.alpha1 has been release. I guess the highlight is the
Pentium M takes forever to compile fix by Paul Zimmermann. Josh
and I also updated numpy and there was a whole bunch of patches
that fix some long standing issues. More details are below.

Tarball [197MB] is at

http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10/sage-2.10.alpha1.tar

I will write a separate email about the tickets that need reviews
shortly.

Cheers,

Michael

Known Problems:

#1744: FLINT 1.05 make check failure on Linux/Itanium

Merged in alpha1:

#975: Jason Grout: work around Library incompatibilities when
  launching external applications
#1073: Martin Albrecht: print out some useful information right
   after sage -pkg creates a package
#1669: Josh Kantor: remove bogus recommendation to set SAGE_ATLAS
   when numpy fails
#1693: Martin Albrecht: jmol stubles over browser caching
#1709: Robert Miller: Make experimental jmol graph plotting work
#1717: Alex Ghitza, David Harvey: trivial fixes in the
   programming guide (mostly typos)
#1720: Josh Kantor, Michael Abshoff: update numpy to 1.0.4, also
   fix silent build problems with gfortran
#1725: Jaap Spies: Experimental package for wxPython
   [linux only for now]
#1726: Jaap Spies: Experimental package for Enthought Mayavi2
   [linux only for now]
#1728: Michael Abshoff: numpy 1.0.4 causes various numerical noise
   doctest failures
#1729: Robert Bradshaw, Tom Boothby: disable password prompt on
   initial startup
#1740: Paul Zimmermann: Fix Pentium M detection for ATLAS BLAS
#1741: Michael Abshoff: Build zlib with debug info
#1742: Michael Abshoff: Build ntl with debug info

Merged in alpha0:

#1092: Willem Jan Palenstijn, Michael Abshoff: small memleaks exposed
   by doctesting ntl_ZZ_pE.pyx
#1093: Michael Abshoff, Willem Jan Palenstijn: small memleaks exposed
   by doctesting ntl_ZZ_pX.pyx
#1541: Burcin Erocal: improve PolyBoRi integration
#1544: David Joyner, Rich Morin: SAGE Tutorial nits #2
#1553: Kiran Kedlaya, Michael Abshoff: SCons related build failure
   of PolyBoRi on 64-bit RHEL5
#1598: Martin Albrecht: fix SIGSEGV in libSINGULAR interface on
   Solaris
#1694: Michael Abshoff, Bill Hart: Update FLINT to 1.05 release
#1701: Martin Albrecht: attempt to clean up currRing if deallocated
#1702: Martin Albrecht: fix memleak in fplll.pyx
#1703: Michael Abshoff: memleak in Singular: one mpz is leaked in
   longrat.cc
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: basic java question

2008-01-09 Thread Ted Kosan

Robert wrote:

 I ran into an error compiling
 Log4j12, any ideas. (I've been busy at the conference the last couple
 of days, but could look more into this maybe when I get home).

I discovered that this was caused by a jar file I didn't know I had in
my classplath.  I am in the process of creating an isolated build
environment for jmol on my PC and when it is finished I will try to
fix this problem and see if there are any others.

Thanks,

Ted

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] QEPCAD spkg

2008-01-09 Thread Jason Grout


Thanks to Robert Bradshaw's tremendous help, we have the start of a 
QEPCAD spkg for linux posted at 
http://trac.sagemath.org/sage_trac/ticket/772

The spkg does not include source because we haven't sorted out licensing 
issues.  However, it does use wget to get the source from the webpage, 
so you shouldn't have to do anything.

Currently the spkg compiles on my ubuntu 32-bit linux laptop (but has 
linking issues; see the readline issue below).  Apparently there are 
some nontrivial issues with compiling SACLIB on OSX (dealing with the 
FPU or something).  It'd be great if someone who knew more about OSX 
could take a look.

The spkg currently dies when trying to link to readline.  Does anyone 
know how to get a package to link to readline?  The error is:

g++ -O4 -I/home/grout/sage/spkg/build/qepcad/saclib2.1/include 
-I/home/grout/sage/spkg/build/qepcad/qesource/source  -I. -o cad2d 
../source/saclib/GCSI.c \
 cad2d.a 
/home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/lift2D/lift2Do.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/newadj/newadjo.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/adj2d/adj2do.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/rend/rendo.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a 
/home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a 
/home/grout/sage/spkg/build/qepcad/saclib2.1/lib/saclibo.a -lreadline 
cad2d.a /home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/lift2D/lift2Do.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/newadj/newadjo.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/adj2d/adj2do.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/rend/rendo.a 
/home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a 
/home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a 
/home/grout/sage/spkg/build/qepcad/saclib2.1/lib/saclibo.a -lreadline
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`PC'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tgetflag'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tgetent'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`UP'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tputs'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tgoto'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tgetnum'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`BC'
/home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to 
`tgetstr'
collect2: ld returned 1 exit status
make: *** [opt] Error 1




Thanks,

Jason

P.S. Thank you SO MUCH to everyone who worked on getting email to work 
on trac.  It's so nice to get notifications of changes to tickets!


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---