[sage-devel] Sage 3.2.3 on Solaris with working notebook, but some broken tests

2009-01-08 Thread mabshoff

Hi,

I finally fixed the main usability bug in Sage on Solaris, i.e that
the notebook was completely busted. It turned out to be an issue
libgcrypt, but all details are at

  http://wiki.sagemath.org/solaris/sage-3.2.3

A same session - up until now this would just hang before twisted even
started up. I will post a binary for 32 bit SSE2 Solaris 10 binary
soon - so keep an eye on the main Solaris porting page at

  http://wiki.sagemath.org/solaris

If you want to take it for a spin and give me feedback this would be
very welcome. Note that the Singular interface still deadlocks on
large input due to some issue with passing input via file as well as
sympow not working. Other than that it is in a fairly usable state.

Cheers,

Michael

Exiting SAGE (CPU time 0m0.04s, Wall time 1m27.04s).
-bash-3.00$ uname -a
SunOS fulvia 5.10 Generic_127128-11 i86pc i386 i86pc
-bash-3.00$ ./sage
--
| Sage Version 3.2.3.final, Release Date: 2009-01-02 |
| Type notebook() for the GUI, and license() for information.|
--
sage: notebook()
The notebook files are stored in: /home/mabshoff/.sage//sage_notebook
**
**
* Open your web browser to http://localhost:8000 *
**
**
2009-01-08 03:26:40-0500 [-] Log opened.
2009-01-08 03:26:40-0500 [-] twistd 8.1.0 (/home/mabshoff/
build-3.2.3.final/sage-3.2.3.final-fulvia/local/bin/python 2.5.2)
starting up
2009-01-08 03:26:40-0500 [-] reactor class: class
'twisted.internet.selectreactor.SelectReactor'
2009-01-08 03:26:40-0500 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2009-01-08 03:26:40-0500 [-] Starting factory
twisted.web2.channel.http.HTTPFactory instance at 0x8ddc9ec
^C2009-01-08 03:26:48-0500 [-] Saving notebook...
2009-01-08 03:26:48-0500 [-] Notebook cleanly saved.
2009-01-08 03:26:48-0500 [-] Saving notebook...
2009-01-08 03:26:48-0500 [-] Notebook cleanly saved.
2009-01-08 03:26:48-0500 [-] (Port 8000 Closed)
2009-01-08 03:26:48-0500 [-] Stopping factory
twisted.web2.channel.http.HTTPFactory instance at 0x8ddc9ec
2009-01-08 03:26:48-0500 [-] Main loop terminated.
2009-01-08 03:26:48-0500 [-] Server Shut Down.
True
sage:


--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Sage wiki down for now

2009-01-08 Thread mabshoff

Hi,

the Sage wiki is down for now again since it has been acting up again
by consuming up to 23 GB RAM, i.e. pushing itself up to 16 GB into
swap. I am not sure what happens, but once it happens all the sudden
it consumes about 0.1% of the available RAM *per* second. I have
pinged #moinmoin and hopefully in the morning we will get some
feedback what is up. Sorry for the downtime, but given the choice
between sagemath.org DOSed by the wiki or no wiki the choice was
clear.

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.2.3 on Solaris with working notebook, but some broken tests

2009-01-08 Thread mabshoff


SNIP

 A same session - up until now this would just hang before twisted even
 started up. I will post a binary for 32 bit SSE2 Solaris 10 binary
 soon - so keep an eye on the main Solaris porting page at

  http://wiki.sagemath.org/solaris

The wiki is flaky at the moment, it is up, but I might it shut down
again once I figure out what is happening. So here is the info: The
556MB tarball is at

   
http://sage.math.washington.edu/home/mabshoff/release-cycles-3.2.3/sage-3.2.3-x86-sse2-solaris10-beta.tar.gz

This includes the complere toolchain I used to build this, so if you
want to do development on this snapshot it is pretty much self
contained. Just in case the md5sum

   6845a3345d9cd824f046d9bd2f838b49  sage-3.2.3-x86-sse2-solaris10-
beta.tar.gz

If you care about Solaris please give this build a spin and let me
know how it works for you. As mentioned there is some trouble with
symmetrica, sympow and Singular's pexpect interface, but aside from
that it should work fairly well. The more feedback you give the faster
this will become usable :)

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread William Stein

On Thu, Jan 8, 2009 at 1:21 AM, mabshoff mabsh...@googlemail.com wrote:

 Hi,

 the Sage wiki is down for now again since it has been acting up again
 by consuming up to 23 GB RAM, i.e. pushing itself up to 16 GB into
 swap. I am not sure what happens, but once it happens all the sudden
 it consumes about 0.1% of the available RAM *per* second. I have
 pinged #moinmoin and hopefully in the morning we will get some
 feedback what is up. Sorry for the downtime, but given the choice
 between sagemath.org DOSed by the wiki or no wiki the choice was
 clear.

Since the wiki is running now, maybe you could update this message?


Also, assuming that the above situation were the case, it would be best to
use ulimit to run the wiki, so that it would get auto-killed if it exceeded
say 8GB RAM, then just restart it  (that would be an easy few-lines script).

  -- William

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread Conrad Meyer

2009/1/8 mabshoff mabsh...@googlemail.com:

 Hi,

 the Sage wiki is down for now again since it has been acting up again
 by consuming up to 23 GB RAM, i.e. pushing itself up to 16 GB into
 swap. I am not sure what happens, but once it happens all the sudden
 it consumes about 0.1% of the available RAM *per* second. I have
 pinged #moinmoin and hopefully in the morning we will get some
 feedback what is up. Sorry for the downtime, but given the choice
 between sagemath.org DOSed by the wiki or no wiki the choice was
 clear.

 Cheers,

 Michael

Perhaps it's time to upgrade to something that scales better than moinmoin?

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread mabshoff



On Jan 8, 9:43 am, Conrad Meyer konrad.me...@gmail.com wrote:

SNIP

Hi,

 Perhaps it's time to upgrade to something that scales better than moinmoin?

Well, this is not a scalability issue, but a bug. And there is more at
play here than scalability, i.e. mediawiki is way more work to set up
and keep up to date security wise.

Just in case: What do you have in mind?

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread mabshoff



On Jan 8, 8:13 am, William Stein wst...@gmail.com wrote:
 On Thu, Jan 8, 2009 at 1:21 AM, mabshoff mabsh...@googlemail.com wrote:

  Hi,

  the Sage wiki is down for now again since it has been acting up again
  by consuming up to 23 GB RAM, i.e. pushing itself up to 16 GB into
  swap. I am not sure what happens, but once it happens all the sudden
  it consumes about 0.1% of the available RAM *per* second. I have
  pinged #moinmoin and hopefully in the morning we will get some
  feedback what is up. Sorry for the downtime, but given the choice
  between sagemath.org DOSed by the wiki or no wiki the choice was
  clear.

 Since the wiki is running now, maybe you could update this message?

The issue is still not fixed, so I would wait until we know better.
But the way it look right now the wiki will stay up.

 Also, assuming that the above situation were the case, it would be best to
 use ulimit to run the wiki, so that it would get auto-killed if it exceeded
 say 8GB RAM, then just restart it  (that would be an easy few-lines script).

I did something like that, but limited it to about 1GB. And it has
stayed up since without restarts. Something strange is going on here,
i.e. his happened twice in a day after many weeks of working fine
after the last time we had trouble. I got some thoughts what is wrong,
but I will share those later.

   -- William

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread Conrad Meyer

2009/1/8 mabshoff mabsh...@googlemail.com:



 On Jan 8, 9:43 am, Conrad Meyer konrad.me...@gmail.com wrote:

 SNIP

 Hi,

 Perhaps it's time to upgrade to something that scales better than moinmoin?

 Well, this is not a scalability issue, but a bug. And there is more at
 play here than scalability, i.e. mediawiki is way more work to set up
 and keep up to date security wise.

 Just in case: What do you have in mind?

 Cheers,

 Michael

All the same, MoinMoin scales *horribly*. I didn't have a specific
replacement in mind, though over at Fedora we recently transitioned
from MoinMoin to Mediawiki specifically because MoinMoin was becoming
too slow. If you can get MoinMoin to use a database it might not be so
bad but last I heard it only supports flat files for storage.

Regards,
--
Conrad

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.2.3 on Solaris with working notebook, but some broken tests

2009-01-08 Thread adrian

Is this only for solaris/x86?
Is there a version working for solaris/sparc?

Thanks.
-Adrian.

On Jan 8, 4:10 am, mabshoff mabsh...@googlemail.com wrote:
 SNIP

  A same session - up until now this would just hang before twisted even
  started up. I will post a binary for 32 bit SSE2 Solaris 10 binary
  soon - so keep an eye on the main Solaris porting page at

   http://wiki.sagemath.org/solaris

 The wiki is flaky at the moment, it is up, but I might it shut down
 again once I figure out what is happening. So here is the info: The
 556MB tarball is at

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

 This includes the complere toolchain I used to build this, so if you
 want to do development on this snapshot it is pretty much self
 contained. Just in case the md5sum

    6845a3345d9cd824f046d9bd2f838b49  sage-3.2.3-x86-sse2-solaris10-
 beta.tar.gz

 If you care about Solaris please give this build a spin and let me
 know how it works for you. As mentioned there is some trouble with
 symmetrica, sympow and Singular's pexpect interface, but aside from
 that it should work fairly well. The more feedback you give the faster
 this will become usable :)

 Cheers,

 Michael

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread mabshoff



On Jan 8, 10:16 am, Conrad Meyer konrad.me...@gmail.com wrote:
 2009/1/8 mabshoff mabsh...@googlemail.com:

SNIP

Hi Conrad,

 Perhaps it's time to upgrade to something that scales better than moinmoin?

  Well, this is not a scalability issue, but a bug. And there is more at
  play here than scalability, i.e. mediawiki is way more work to set up
  and keep up to date security wise.

  Just in case: What do you have in mind?

  Cheers,

  Michael

 All the same, MoinMoin scales *horribly*.

Sure, no secret there. But we are getting a couple thousand hits a day
on the wiki on a busy day, so scalability is not really a problem.
Once we are closer to achieving world domination I guess we would need
to reevaluate our options :)

 I didn't have a specific
 replacement in mind, though over at Fedora we recently transitioned
 from MoinMoin to Mediawiki specifically because MoinMoin was becoming
 too slow. If you can get MoinMoin to use a database it might not be so
 bad but last I heard it only supports flat files for storage.

Sure, but the fact that moinmoin just works without the need for any
configuration of a sql database is a killer feature since it might not
be a problem for some people on this list to set up mysql and so on
properly, but many, many Sage users will not even know what a sql db
is and not even care enough to attempt to find out what it is. They
just want something that works and so far for 100% of the Sage users
it seems that moinmoin scales well enough :). One example: It has
emerged from the AMS 2009 meeting that the installation of the VMWare
player is a hurdle many people will not get over, so that is a barrier
for the adoption of Sage. While you and me are probably snickering a
little since this is trivial most people want to use software, not
learn how to install it and so on.

Not that you ever claimed anything like this, but it is kind of like
gear heads talking about cars: If I get this carburator/shocks/
$INSERT_CAR_PART installed it would be so much better to drive $FOO/
get much better fuel efficiency (note that I don't have any clue
about cars), but the vast majority of people use their car to get from
point A to B and if the warning lights go on they go to a garage to
make somebody else deal with it. But if they had to do difficult tasks
to even get a particular brand of car started many of those people
would just chose another brand. With Sage we have to get to the same
utility level as this and the VMWare image is a problem now, just like
using 7zip instead of zip to compress the VMWare image proved a major
issue with non-technical users in the past. So even though the zip
archive was roughly 60% larger than the 7zip one we switched back to
zip. And back then I thought that this was a bad move and we should
not cater to users who cannot read the simple README.txt pointing out
where to download 7zip and so on, but now I see the error of my
ways :)

 Regards,
 --
 Conrad

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread mabshoff



On Jan 7, 7:05 pm, David Joyner wdjoy...@gmail.com wrote:
 On Wed, Jan 7, 2009 at 6:59 PM, Jason Grout jason-s...@creativetrax.com 
 wrote:

  Hi everyone,

  There was another request on sage-edu for a nice way to edit text cells
  in the notebook.  Patches which enable a very nice in-place wysiwyg

Hi David,

 Just to emphasize the importance (and not meaning to hijack the
 thread): There was also a request by Mike May at the booth for this too.
 Mike May, if you don't know, is a huge resource for people who teach
 using Maple, as he has tons of great Maple worksheets on his website.

Nice, I took a look and the worksheets are pretty nice.

 I hope and think I convinced him that Sage is the way to go and he
 plans to test out Sage this semester before giving it to his students.
 (He seemed inclined anyway, so I just strongly encouraged his own idea.)
 However, he explained clearly how he teaches and that he needs the
 students to be able to *easily* edit the text he types into the worksheets.
 I've forgotten why - maybe he used the cell for computation and asks
 the students to
 enter their answer as text in a grammatically correct sentence.

 If Mike May does in fact switch over to Sage, this will be a huge benefit, 
 IMHO,
 since he is well-known in the Maple community, so this will be a sign
 of confidence in Sage as a teaching platform by a widely respected teacher,
 and also will be a great resource for really high quality teaching materials
 down the road. He also agreed that the CC attribution license is
 acceptable to him for his maple-Sage translated worksheets, if
 he agrees to switch to Sage. (I spent some time trying to talk him out of the
 non-commercial CC version, which I hope was successful.)

:)

  editor for text cells are sitting on trac waiting to be reviewed.  Some
  people have reviewed them and found them to work well.  I'm not sure how
  much review is needed before they pass the test and are merged (the
  patches touch a lot of notebook and javascript code).  If anyone can
  test them, I'm pleading for more reviews (at least, I think that's the
  stage they are stuck at now).  I believe the main concerns are making
  sure that the patches work on a variety of platforms/browsers.  Another
  concern that has been expressed is a review of the javascript code (for
  example, the notebook AJAX communication code was replaced with jquery
  function calls).

I think that the editor is just as important as the @interact in the
notebook. So if we could find some more people to test the patches we
can get them into the next release. As long as they don't break any
existing functionality I would think that even if the editor support
is slightly broken on some platforms it should still go in. The patch
has been around for a while and resolving this would make life easier
for everyone.

  Instructions for applying the patches are below and at the bottom of the
  ticket athttp://trac.sagemath.org/sage_trac/ticket/4705.  Note that
  some of these tickets have cleaned-up spkgs from mabshoff (listed at the
  bottom of the relevant ticket) that should be tested instead of the
  spkgs listed in the email below.

  Thanks,

  Jason

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-08 Thread mabshoff



On Jan 6, 1:33 am, bsdz blai...@googlemail.com wrote:
 Hi,

Hi Blair,

 I dabbled a little with the vmware version of Sage and was able to
 install EditArea, a javascript syntax highlighting library 
 (http://www.cdolivet.net/index.php?page=editArea). It is quite useful when
 editing Python and can be turned on or off. It also allows callbacks
 so pressing the save button can run evaluate_cell. It might be an
 alternative to using the It's All Text Firefox plug-in.

SNIP Details

 Hope it might be useful.
 Blair

You might want to check out the discussion at
http://groups.google.com/group/sage-devel/browse_thread/thread/a4ba0ed228e220c5
about adding support for TinyMCE. It seems that it doesn't support
syntax highlighting, but that might be an orthogonal issue anyway. At

  
http://www.spencerkellis.net/articles.php?post=merging-google-syntax-highlighter-and-tinymce

there is a link to a html syntax highlight plugin for TinyMCE, so
there might be something similar for Python. But I guess it is worth
checking out, especially if is an an feature one can easily turn on
and off.

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread Martin Albrecht

 Sure, but the fact that moinmoin just works without the need for any
 configuration of a sql database is a killer feature since it might not
 be a problem for some people on this list to set up mysql and so on
 properly, but many, many Sage users will not even know what a sql db
 is and not even care enough to attempt to find out what it is. They
 just want something that works and so far for 100% of the Sage users
 it seems that moinmoin scales well enough :).

Hi, out of curiosity: Are there people out there who actually use the wiki 
from their Sage install? It would never occur to me to do that and I always 
found it a bit strange that we ship a wiki software.

So, are there endusers of the wiki bundled with Sage?

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinralbre...@jabber.ccc.de


--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread Conrad Meyer

2009/1/8 mabshoff mabsh...@googlemail.com:
 On Jan 8, 10:16 am, Conrad Meyer konrad.me...@gmail.com wrote:
 I didn't have a specific
 replacement in mind, though over at Fedora we recently transitioned
 from MoinMoin to Mediawiki specifically because MoinMoin was becoming
 too slow. If you can get MoinMoin to use a database it might not be so
 bad but last I heard it only supports flat files for storage.

 Sure, but the fact that moinmoin just works without the need for any
 configuration of a sql database is a killer feature since it might not
 be a problem for some people on this list to set up mysql and so on
 properly, but many, many Sage users will not even know what a sql db
 is and not even care enough to attempt to find out what it is. They
 just want something that works and so far for 100% of the Sage users
 it seems that moinmoin scales well enough :). One example: It has
 emerged from the AMS 2009 meeting that the installation of the VMWare
 player is a hurdle many people will not get over, so that is a barrier
 for the adoption of Sage. While you and me are probably snickering a
 little since this is trivial most people want to use software, not
 learn how to install it and so on.

 Michael

Ah, I meant the wiki on the site, not the wiki shipped with Sage. I
wasn't aware Sage shipped a wiki -- if it does, MoinMoin certainly
makes sense for that.

--
Conrad

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread mabshoff



On Jan 8, 12:42 pm, Conrad Meyer konrad.me...@gmail.com wrote:
 2009/1/8 mabshoff mabsh...@googlemail.com:

Hi,

 Ah, I meant the wiki on the site, not the wiki shipped with Sage. I
 wasn't aware Sage shipped a wiki -- if it does, MoinMoin certainly
 makes sense for that.

Yes, I agree that this is a special case. Even though now I think that
setting things up independently of Sage might be less work in the long
term since we can more easily customize things. On the other hand I
don't want to do the work, so I am not seeing this change any time
soon.

 --
 Conrad

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage wiki down for now

2009-01-08 Thread mabshoff



On Jan 8, 12:29 pm, Martin Albrecht m...@informatik.uni-bremen.de
wrote:

Hi Martin,

  Sure, but the fact that moinmoin just works without the need for any
  configuration of a sql database is a killer feature since it might not
  be a problem for some people on this list to set up mysql and so on
  properly, but many, many Sage users will not even know what a sql db
  is and not even care enough to attempt to find out what it is. They
  just want something that works and so far for 100% of the Sage users
  it seems that moinmoin scales well enough :).

 Hi, out of curiosity: Are there people out there who actually use the wiki
 from their Sage install? It would never occur to me to do that and I always
 found it a bit strange that we ship a wiki software.

 So, are there endusers of the wiki bundled with Sage?

 Martin

I asked the same question a while back and William told me that there
are actually people who installed Sage just for the moinmoin wiki came
with it since it just worked. Our version also ships with jsmath
already properly configured, so this seems to be a big plus as well.
It is certainly not very well advertised that we ship a wiki with Sage
and given its size I don't think the benefit of removing it will
outweigh its small size.

Cheers,

Michael

 --
 name: Martin Albrecht
 _pgp:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
 _www:http://www.informatik.uni-bremen.de/~malb
 _jab: martinralbre...@jabber.ccc.de
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread Martin Albrecht

 Please do not distribute this, since it is work in progress.

You just sent the worksheet to a public mailinglist with 752 members. 

Furthermore, your attachment is available for download here:

http://groups.google.com/group/sage-devel/browse_thread/thread/a4ba0ed228e220c5

i.e. your work is already distributed considerably :)

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinralbre...@jabber.ccc.de


--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread Luiz Felipe Martins

Oh well...

On Thu, Jan 8, 2009 at 5:16 PM, Martin Albrecht
m...@informatik.uni-bremen.de wrote:

 Please do not distribute this, since it is work in progress.

 You just sent the worksheet to a public mailinglist with 752 members.

 Furthermore, your attachment is available for download here:

 http://groups.google.com/group/sage-devel/browse_thread/thread/a4ba0ed228e220c5

 i.e. your work is already distributed considerably :)

 Martin

 --
 name: Martin Albrecht
 _pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
 _www: http://www.informatik.uni-bremen.de/~malb
 _jab: martinralbre...@jabber.ccc.de


 




-- 
The main things which seem to me important on their own account, and
not merely as means to other things, are knowledge, art, instinctive
happiness, and relations of friendship or affection.
   -Bertrand Russell

L. Felipe Martins
Department of Mathematics
Cleveland State University
luizfelipe.mart...@gmail.com

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread mabshoff



On Jan 8, 2:21 pm, Luiz Felipe Martins
luizfelipe.mart...@gmail.com wrote:
 Oh well...

Yeah, I kind of wandered about this myself and we could in theory
delete that particular message from sage-devel. But since this list is
archived elsewhere there is no point to do this and I would greatly
prefer not to change/delete any messages here anyway.

Cheers,

Michael

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-08 Thread bsdz

I must admit I did consider TinyMCE amongst many others but I liked
EditArea since it could syntax highlight python code. Other
highlighters either didn't allow editing or didn't have built in
python lexers. I notice the other thread has recently become more
active so I may follow that.

Thanks for the update.

On 8 Jan, 20:24, mabshoff mabsh...@googlemail.com wrote:
 On Jan 6, 1:33 am, bsdz blai...@googlemail.com wrote:

  Hi,

 Hi Blair,

  I dabbled a little with the vmware version of Sage and was able to
  install EditArea, a javascript syntax highlighting library 
  (http://www.cdolivet.net/index.php?page=editArea). It is quite useful when
  editing Python and can be turned on or off. It also allows callbacks
  so pressing the save button can run evaluate_cell. It might be an
  alternative to using the It's All Text Firefox plug-in.

 SNIP Details

  Hope it might be useful.
  Blair

 You might want to check out the discussion 
 athttp://groups.google.com/group/sage-devel/browse_thread/thread/a4ba0e...
 about adding support for TinyMCE. It seems that it doesn't support
 syntax highlighting, but that might be an orthogonal issue anyway. At

  http://www.spencerkellis.net/articles.php?post=merging-google-syntax-...

 there is a link to a html syntax highlight plugin for TinyMCE, so
 there might be something similar for Python. But I guess it is worth
 checking out, especially if is an an feature one can easily turn on
 and off.

 Cheers,

 Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread Luiz Felipe Martins

That's ok, not to worry. Actually I just want people to keep in mind
it is something unfinished. Perhaps in retrospect I should have waited
one day to post it.

On Thu, Jan 8, 2009 at 5:26 PM, mabshoff mabsh...@googlemail.com wrote:



 On Jan 8, 2:21 pm, Luiz Felipe Martins
 luizfelipe.mart...@gmail.com wrote:
 Oh well...

 Yeah, I kind of wandered about this myself and we could in theory
 delete that particular message from sage-devel. But since this list is
 archived elsewhere there is no point to do this and I would greatly
 prefer not to change/delete any messages here anyway.

 Cheers,

 Michael

 




-- 
The main things which seem to me important on their own account, and
not merely as means to other things, are knowledge, art, instinctive
happiness, and relations of friendship or affection.
   -Bertrand Russell

L. Felipe Martins
Department of Mathematics
Cleveland State University
luizfelipe.mart...@gmail.com

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: building with 512MB RAM?

2009-01-08 Thread mabshoff



On Jan 8, 2:33 pm, William Stein wst...@gmail.com wrote:
 Hi,

Hi,

 One of the virtual machines I use for building Sage has 512MB RAM and
 is running Linux CentOS 64-bit.
 In trying to build Sage it gets to linbox:

  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I. -I../../linbox -g
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include/linbox
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include -O2
 -DDISABLE_COMMENTATOR
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include -g -fPIC
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include/linbox
 -L/home/wstein/build/centos64/build/sage-3.2.3/local/lib
 -I/home/wstein/build/centos64/build/sage-3.2.3/spkg/build/linbox-1.1.6/src
 -I/home/wstein/build/centos64/build/sage-3.2.3/spkg/build/linbox-1.1.6/src/ 
 linbox
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
 -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
 -D__LINBOX_HAVE_CBLAS -c linbox-sage.C  -fPIC -DPIC -o
 .libs/linbox-sage.o
 [... sits here for at least 24 hours...]

 Note that there is only 512MB RAM allocated to this machine (obviously
 I'll increase this at some point).

Yeah.

 wst...@centos64:~/build/centos64/build/sage-3.2.3$ free
              total       used       free     shared    buffers     cached
 Mem:        510788     189260     321528          0      39452      87596

 Question: Do you think the Sage prereq check at the very beginning
 should simply refuse to try to build sage if the user has less than
 1GB RAM?   Or, at a minimum, it could give a huge warning, and have an
 environment variable that one can set to get around this constraint?

The gcc memory requirements are not consistent, i.e. gcc 3.4.x does
compile the LinBox extension using about 350 MB peak or so. For gcc
4.x it seems that maybe 750 MB is peak consumption. So I am not sure
what to do, i.e. if we make this dependent on the gcc version used we
should maybe print a big, fat warning, but go on to build.

 William

Cheers,

Michael

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread Jason Grout

mabshoff wrote:

 
 I think that the editor is just as important as the @interact in the
 notebook. So if we could find some more people to test the patches we
 can get them into the next release. As long as they don't break any
 existing functionality I would think that even if the editor support
 is slightly broken on some platforms it should still go in. The patch
 has been around for a while and resolving this would make life easier
 for everyone.



Can someone official make a list of requirements on this ticket to get 
into Sage (i.e., a list of platforms people need to try it on, so many 
people per platform, whatever).  I would, but I'm afraid it'd be a bit 
biased :).

Thanks,

Jason


--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage and TinyMCE

2009-01-08 Thread mabshoff



On Jan 8, 3:22 pm, Jason Grout jason-s...@creativetrax.com wrote:
 mabshoff wrote:

  I think that the editor is just as important as the @interact in the
  notebook. So if we could find some more people to test the patches we
  can get them into the next release. As long as they don't break any
  existing functionality I would think that even if the editor support
  is slightly broken on some platforms it should still go in. The patch
  has been around for a while and resolving this would make life easier
  for everyone.

 Can someone official make a list of requirements on this ticket to get
 into Sage (i.e., a list of platforms people need to try it on, so many
 people per platform, whatever).  I would, but I'm afraid it'd be a bit
 biased :).

Well, my personal POV:

 (a) testing with IE 6, IE 7 Windows
 (b) testing with FF 2.0.x, 3.x on Windows, OSX and Linux
 (c) testing with Safari on 10.4 and 10.5
 (d) testing with Opera 9.5 on Windows, OSX,  Linux
 (e) Chrome on Windows

Obviously this is rather harsh, so if we covered all five major
browsers somehow this would be enough for me assuming the patches
themselves get a positive review and everything is working *after* we
delete the javascript from the ext repo since there is potentially a
reference to some code in there.

Some of the above has already been tested and confirmed to work. Maybe
you can grab a couple people at the AMS meeting and make them review
this patch :)

I think all the spkgs are covered and it would be nice if someone can
review the changes I made to some of them. Then I would take care of
the rest.

In the end having your assurance that you will available to fix some
of the inevitable issues would also be assuring.

 Thanks,

 Jason

Cheers,

Michael


--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-08 Thread mabshoff



On Jan 8, 2:34 pm, bsdz blai...@googlemail.com wrote:
 I must admit I did consider TinyMCE amongst many others but I liked
 EditArea since it could syntax highlight python code. Other
 highlighters either didn't allow editing or didn't have built in
 python lexers. I notice the other thread has recently become more
 active so I may follow that.

 Thanks for the update.

Sure. I think that what you want is still orthogonal to the TinyMCE
effort, but having another edit widget in the tree just for
highlighting ought to be well thought out and the burden of
maintenance must be taken into account, i.e. if somehow TinyMCE could
be extended to do Python and all the other languages the notebook
supports syntax highlighting via some plugins that would be
preferable. As far as I understand we don't use TinyMCE to edit the
cells themselves yet, but that could be something we might do in the
future.

Either way this plays out: Thanks for the effort and hopefully this
will all be sorted out in the near future.

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] more Sage pics from AMS-MAA 2009

2009-01-08 Thread David Joyner

Hi:

I just posted more pics to
http://sage.math.washington.edu/home/wdj/sagedays/ams2009/images.html

I think Sage gained a lot of publicity this year both by being at
the booth but also having an MAA panel discussion and an AMS session.
The panel discussion was good to be able to meet others in the
teaching community. I think this is related to Sage development because
projects like the educational open source software webworks has a
funding model which seems to be successful. I think Karl Crisman said he
would try to follow up on that.

A few people I met at the booth said they were interested in Sage development
but more stopped by saying that either they or their students could not afford
Maple or Mma and was looking into a cheaper quality alternative. The
collaroration
possibilities of the Sage server was a strong selling point for
smaller schools
which could load sage on a webserver.

There were some really good talks at the Sage session. For example,
Marshall's talk had amazing graphics and Robert Miller's talk was very
well attended
(with maybe twice as many people in the audience as some of the others).
I thought the quality overall was great, but I'm very partial to such
topics of course.

The general message I got from many was that more written material
on Sage in use would be welcomed, especially books. I was touched by one guy
who explained to me that his students were very poor (waitresses, for example)
who cannot afford calculus texts and commercial math programs. The point
he was implicitly making was that by offering software and documentation for
free we are actually improving the quality of such peoples' lives in a real way.

- David Joyner

--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: more Sage pics from AMS-MAA 2009

2009-01-08 Thread mabshoff



On Jan 8, 7:41 pm, David Joyner wdjoy...@gmail.com wrote:
 Hi:

Hi David,

 I just posted more pics 
 tohttp://sage.math.washington.edu/home/wdj/sagedays/ams2009/images.html

 I think Sage gained a lot of publicity this year both by being at
 the booth but also having an MAA panel discussion and an AMS session.
 The panel discussion was good to be able to meet others in the
 teaching community. I think this is related to Sage development because
 projects like the educational open source software webworks has a
 funding model which seems to be successful. I think Karl Crisman said he
 would try to follow up on that.

Cool.

 A few people I met at the booth said they were interested in Sage development
 but more stopped by saying that either they or their students could not afford
 Maple or Mma and was looking into a cheaper quality alternative. The
 collaroration
 possibilities of the Sage server was a strong selling point for
 smaller schools
 which could load sage on a webserver.

 There were some really good talks at the Sage session. For example,
 Marshall's talk had amazing graphics and Robert Miller's talk was very
 well attended
 (with maybe twice as many people in the audience as some of the others).
 I thought the quality overall was great, but I'm very partial to such
 topics of course.

Could you get the various presentation and put them up on the wiki
page? I would certainly like to read some of them.

 The general message I got from many was that more written material
 on Sage in use would be welcomed, especially books. I was touched by one guy
 who explained to me that his students were very poor (waitresses, for example)
 who cannot afford calculus texts and commercial math programs. The point
 he was implicitly making was that by offering software and documentation for
 free we are actually improving the quality of such peoples' lives in a real 
 way.

+1

 - David Joyner

Cheers,

Michael
--~--~-~--~~~---~--~~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---