[sage-devel] Re: sagenb

2011-10-19 Thread Emil Widmann
I tried the new server and it feels *much* smoother than the old one
(from central europe). So congratulations and thanks to all involved.

I tried to test with copy pasting some examples from the tutorial,
everything I did worked fine except the maxima plotting commands in
tutorial/interfaces.html#maxima

I know that this is most likely not working, and there is also a
comment at the end of each line saying '# not tested',  but examples
in the documentation should work. So the easiest fix for those would
be to remove them from the tutorial.

But IF plotting in Maxima, R, Scipy (all the various modes of the
notebook) can be fixed somehow - at least at the official servers -,
this would be an awesome boost of functionality.

Plotting is maybe not so important in pure maths, but it is essential
in  education and in applied math. This would also allow for a huge
stock of examples and code for those packages (R, maxima, scipy ...)
to be directly accessible from the sage notebook.

I know it is much harder to implement in the standard binary
distribution because this depends maybe on all sort of graphic
libraries and plotting backends at the host machine.

just saying










-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage installation error @ gnutls-2.2.1.p5

2011-10-19 Thread leif
On 19 Okt., 01:01, Yamaç Kurtuluş  wrote:
> On Oct 18, 11:51 pm, Francois Bissey
> > it looks like it is trying to build the lzo back end but is missing bits.
> > Do you have lzo installed on the machine? If so do you have the matching
> > development package installed?
>
> > Francois
>
> Thank you, that worked. So i'd need to look for libs if any error
> occurs again. It would be nice to list all the dependencies on manual
> or something actually.
> Anyway. Thanks for the help.
> Peace.

Well, lzo is not a prerequisite for Sage (or GNU TLS), but if you have
the library and development headers installed, GNU TLS tries to use
it, so the versions of your installed packages must match, which
apparently wasn't the case.


-leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread Dan Drake
On Wed, 19 Oct 2011 at 09:28PM -0700, P Purkayastha wrote:
> On Thursday, October 20, 2011 11:00:16 AM UTC+8, William wrote:
> >
> > I'm looking forward to when Sage has a viable browser-based 3d display
> > option that doesn't depend on Java applets.   Surely there is
> > something out there we can use -- I've been waiting forever.  Has
> > HTML5 got good enough yet?
> >
> >  -- William
> >
> It supposedly has. The following webpage is a test webpage that's supposedly 
> demos webgl: http://helloracer.com/webgl/
> 
> At least opera-12-alpha can show it well. :)

My understanding is that HTML5, WebGL, and that stuff is plenty good
enough -- but (1) someone has to code something that we can use, and (2)
browsers and graphics drivers have to catch up. The above demo worked (mostly)
for a bit in Firefox 7, and then something went wonky and I got a
seizure-inducing* browser window flashing green and red.

We use Java, I guess, because once it's installed and working -- and
this is possible on any reasonable computer -- it works. 

Dan


* Well, not really, but anyone prone to seizures or who has trouble with
bright, quickly flashing light would be very unhappy after that.

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread P Purkayastha


On Thursday, October 20, 2011 12:24:55 PM UTC+8, P Purkayastha wrote:
>
> I mentioned this earlier 
> hereon
>  Gentoo Linux 64bit installation, but jmol from local Sage-4.7.0 + 
> rkirov-flask installation worked.
>
> But the strangest thing is, it works in a ubuntu-10.04 32 bit install 
> (actually Bodhi Linux) in a VM, and it works in a ubuntu-11.04 64bit minimal 
> installation (not in VM). So, it has been hard for me to pinpoint why 
> exactly it is failing. The arch doesn't seem to matter much.
>
 
Forgot to mention: it's sun-jdk-1.6 being used in every installation that I 
tested.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread P Purkayastha


On Thursday, October 20, 2011 11:00:16 AM UTC+8, William wrote:
>
> I'm looking forward to when Sage has a viable browser-based 3d display
> option that doesn't depend on Java applets.   Surely there is
> something out there we can use -- I've been waiting forever.  Has
> HTML5 got good enough yet?
>
>  -- William
>
It supposedly has. The following webpage is a test webpage that's supposedly 
demos webgl: http://helloracer.com/webgl/

At least opera-12-alpha can show it well. :)

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread P Purkayastha
I mentioned this earlier 
hereon 
Gentoo Linux 64bit installation, but jmol from local Sage-4.7.0 + 
rkirov-flask installation worked.

But the strangest thing is, it works in a ubuntu-10.04 32 bit install 
(actually Bodhi Linux) in a VM, and it works in a ubuntu-11.04 64bit minimal 
installation (not in VM). So, it has been hard for me to pinpoint why 
exactly it is failing. The arch doesn't seem to matter much.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread William Stein
On Wed, Oct 19, 2011 at 7:17 PM, Dan Drake  wrote:
> On Wed, 19 Oct 2011 at 08:53PM -0500, Jason Grout wrote:
>> So does it work on sagenb.org? (just checking)
>>
>> test.sagenb.org and sagenb.org are running on the same codebase right
>> now.
>
> Using sagenb.org and Chromium, for a brief moment I saw the correct
> plot, but then it switched to the "loading..." image. This is after I
> tried the worksheet in Firefox (it didn't work there).
>
> So perhaps things are getting set up correctly, but not displayed?

It does not work for me either with Chrome (non-free) and Sun Java on
*Ubuntu 11.10*.   I recently upgraded to Ubuntu 11.10 from Ubuntu
11.04 (where things worked), and jmol stopped working for me.   This
is because they removed the Sun java's.   I added some ppa that added
them back, installed them, and everything worked again.   Then today I
did the standard upgrade of packages in Ubuntu 11.10 stable today, and
use of jmol in Sage is broken again, both locally and at sagenb.org.

When I try to use Chrome or Safari on OS X Lion (10.7) instead of
Linux, it also fails to show 3d and has a "missing plugin" message.
By clicking and waiting, and downloading 65MB of things from Apple,
this... gets fixed, and works.   Evidently, OS X really doesn't
include Java anymore by default (and upgrading an OS X that does
results in one that doesn't).

I'm looking forward to when Sage has a viable browser-based 3d display
option that doesn't depend on Java applets.   Surely there is
something out there we can use -- I've been waiting forever.  Has
HTML5 got good enough yet?

 -- William

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread Dan Drake
On Wed, 19 Oct 2011 at 08:53PM -0500, Jason Grout wrote:
> So does it work on sagenb.org? (just checking)
> 
> test.sagenb.org and sagenb.org are running on the same codebase right
> now.

Using sagenb.org and Chromium, for a brief moment I saw the correct
plot, but then it switched to the "loading..." image. This is after I
tried the worksheet in Firefox (it didn't work there). 

So perhaps things are getting set up correctly, but not displayed?

Dan

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


Re: [sage-devel] Re: New flask notebook; please test

2011-10-19 Thread Dan Drake
On Wed, 19 Oct 2011 at 08:40PM -0500, Jason Grout wrote:
> I just tried jmol on test.sagenb.org with Firefox 7.0.1 and Chrome
> 14.0.835.202 on OSX 10.6.8, and everything seemed to work fine.
> 
> Is anyone else seeing this problem on Linux?  Jonathan, is this one
> of those problems that applying the jmol upgrade would fix?

Data points:

Jmol works with Firefox 7 and Chromium 14 in a 32-bit Ubuntu 11.04 VM,
using test.sagenb.org.

Perhaps less useful, Jmol also works with Firefox and IE9 in a Windows 7
VM using Sun's/Oracle's Java.

And since everything works locally in my regular 11.10 machine, it seems
to be something about the remote connection and my current Java. Any
other Ubuntu Oneiric users seeing this?

Dan

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


[sage-devel] Re: New flask notebook; please test

2011-10-19 Thread Jason Grout

On 10/19/11 8:33 PM, Dan Drake wrote:

On Tue, 18 Oct 2011 at 03:17AM -0500, Jason Grout wrote:

I think we've fixed the last remaining bugs in the flask notebook.
Can people please test the new flask notebook, either at
test.sagenb.org, or by following the instructions here:
http://code.google.com/r/jasongrout-flask-sagenb/

We are looking for any regressions compared to the released version
of the notebook in Sage 4.7.1 or any regression compared to
sagenb.org.


Is Jmol working? I can't get Jmol to work on test.sagenb, using either
Firefox 7 or Chromium 14; I get the applet window, it says "Loading Jmol
applet..." and a seconds counter that just keeps counting. No plot ever
appears.

Locally, I can use Sage 4.7.1 from the command line and via the notebook
and Jmol works.

I'm using OpenJDK on Ubuntu Oneiric, 64 bit. Has anyone else seen this?


So does it work on sagenb.org? (just checking)

test.sagenb.org and sagenb.org are running on the same codebase right now.

Thanks,

Jason



--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: New flask notebook; please test

2011-10-19 Thread Jason Grout

On 10/19/11 8:33 PM, Dan Drake wrote:

On Tue, 18 Oct 2011 at 03:17AM -0500, Jason Grout wrote:

I think we've fixed the last remaining bugs in the flask notebook.
Can people please test the new flask notebook, either at
test.sagenb.org, or by following the instructions here:
http://code.google.com/r/jasongrout-flask-sagenb/

We are looking for any regressions compared to the released version
of the notebook in Sage 4.7.1 or any regression compared to
sagenb.org.


Is Jmol working? I can't get Jmol to work on test.sagenb, using either
Firefox 7 or Chromium 14; I get the applet window, it says "Loading Jmol
applet..." and a seconds counter that just keeps counting. No plot ever
appears.

Locally, I can use Sage 4.7.1 from the command line and via the notebook
and Jmol works.

I'm using OpenJDK on Ubuntu Oneiric, 64 bit. Has anyone else seen this?


I just tried jmol on test.sagenb.org with Firefox 7.0.1 and Chrome 
14.0.835.202 on OSX 10.6.8, and everything seemed to work fine.


Is anyone else seeing this problem on Linux?  Jonathan, is this one of 
those problems that applying the jmol upgrade would fix?


Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] New flask notebook; please test

2011-10-19 Thread Dan Drake
On Tue, 18 Oct 2011 at 03:17AM -0500, Jason Grout wrote:
> I think we've fixed the last remaining bugs in the flask notebook.
> Can people please test the new flask notebook, either at
> test.sagenb.org, or by following the instructions here:
> http://code.google.com/r/jasongrout-flask-sagenb/
> 
> We are looking for any regressions compared to the released version
> of the notebook in Sage 4.7.1 or any regression compared to
> sagenb.org.

Is Jmol working? I can't get Jmol to work on test.sagenb, using either
Firefox 7 or Chromium 14; I get the applet window, it says "Loading Jmol
applet..." and a seconds counter that just keeps counting. No plot ever
appears.

Locally, I can use Sage 4.7.1 from the command line and via the notebook
and Jmol works.

I'm using OpenJDK on Ubuntu Oneiric, 64 bit. Has anyone else seen this?


Dan

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


[sage-devel] Re: sagenb

2011-10-19 Thread Jason Grout

On 10/19/11 11:40 AM, kcrisman wrote:

Even today, as I tried to have EIGHT students log in to our local
server simultaneously (to do, say, n(1/7)) we had massive slowness,
though it worked.



Maybe you could upgrade and test?  I upgraded the Drake server to get 
some more testing data...


Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: sagenb

2011-10-19 Thread Jason Grout

On 10/19/11 11:40 AM, kcrisman wrote:

Just a shout-out of thanks to Jason, Rado, et al. (I know there are
LOTS) for making this possible.

Even today, as I tried to have EIGHT students log in to our local
server simultaneously (to do, say, n(1/7)) we had massive slowness,
though it worked.

I sent them all to demo.sagenb.org, and they had a lot of fun the rest
of class.

Let's get this upgrade tested and *in*.



Yes!  I noticed a few other issues that need to be taken care of, but 
they shouldn't take more than a few minutes once I (or someone) has time.


So now I'm just monitoring the error logs and listening for regression 
reports.


Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: sagenb

2011-10-19 Thread kcrisman
Just a shout-out of thanks to Jason, Rado, et al. (I know there are
LOTS) for making this possible.

Even today, as I tried to have EIGHT students log in to our local
server simultaneously (to do, say, n(1/7)) we had massive slowness,
though it worked.

I sent them all to demo.sagenb.org, and they had a lot of fun the rest
of class.

Let's get this upgrade tested and *in*.

- kcrisman

On Oct 19, 12:18 am, Jason Grout  wrote:
> On 10/18/11 9:49 PM, Jason Grout wrote:
>
> > Hi all,
>
> > sagenb.org is now upgraded to the latest version of the flask notebook.
> > The upgrade (over 60,000 accounts!) gave some bumps to the migration
> > process for shared worksheet data, so it's been up and down for the past
> > few hours. But it is up now, and it appears that for the vast majority
> > of accounts [1], shared worksheets should be listed in your worksheet
> > listing now. This also upgrades sagenb.org to 4.7.1 and Twisted 11.0.0.
>
> > If you see any regressions on either sagenb.org or test.sagenb.org,
> > please post to sage-devel. I will try to monitor the error logs for
> > test.sagenb.org and sagenb.org as well.
>
> I see a lot of errors in the logs that say something like:
>
> Login attempt by unknown user 'someuser'.
>
> where 'someuser' is some username.  There are something like 2000 of
> these log entries in the last month.  Some of the usernames don't have
> directories on sagenb, but many do.  I did a quick check, and there are
> something like 5000 user names listed in the home directory for the
> sagenb.org server that are *not* in the users.pickle file.  Is there a
> reason for this?  I put a list of these usernames in
> /sagenb/servers/sage_notebook-sagenb.sagenb/directory_not_pickled.txt .
>
> Thanks,
>
> Jason

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Multiple databases and sage

2011-10-19 Thread daly
On Wed, 2011-10-19 at 10:44 +0200, Paul-Olivier Dehaye wrote:
> Dear all,
> 
> I am currently participating in a sage-based project that aims to
> integrate a lot of number theory databases (some of you know it, or
> are even participating!).  Some of the goals of the project are to
> display, search across or perform further computations on archived
> objects that come from very different sources. The variety of sources
> can be due to human factors (more than one person has data, or people
> have overlapping but not identical interest), historical reasons (a
> legacy table has since been expanded but should be kept for
> compatibility reasons), and most importantly mathematical reasons (the
> archived objects can be computed using very different constructions
> that current mathematical results do not know how to unify, but all
> these objects should really be looked at through the same lens
> sometimes).
> 
> I expect these to be very common problems when trying to integrate
> mathematical data from various sources into sage, regardless of the
> area of mathematics.
> 
> Does this sound familiar to anyone?
> 
> Some participants of the sage-combinat project are pushing for the
> concept of "Categories" (<> mathematical categories) as a way to
> exploit object-oriented programming to its fullest and organize code
> in a flexible and efficient way. "Categories" are then used to
> incorporate purely mathematical information (of the type "a Field is a
> Ring"), that Python can also understand and use to build a whole class
> hierarchy.

Axiom is based on a Category concept. Categories give a mathematical
structure to the results that make it possible to use the algebra
as a scaffold to organize the software. It has proven to be very
effective.

Can you point me at the sage-combinat project?

Tim Daly


-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Multiple databases and sage

2011-10-19 Thread Paul-Olivier Dehaye
Dear all,

I am currently participating in a sage-based project that aims to
integrate a lot of number theory databases (some of you know it, or
are even participating!).  Some of the goals of the project are to
display, search across or perform further computations on archived
objects that come from very different sources. The variety of sources
can be due to human factors (more than one person has data, or people
have overlapping but not identical interest), historical reasons (a
legacy table has since been expanded but should be kept for
compatibility reasons), and most importantly mathematical reasons (the
archived objects can be computed using very different constructions
that current mathematical results do not know how to unify, but all
these objects should really be looked at through the same lens
sometimes).

I expect these to be very common problems when trying to integrate
mathematical data from various sources into sage, regardless of the
area of mathematics.

Does this sound familiar to anyone?

Some participants of the sage-combinat project are pushing for the
concept of "Categories" (<> mathematical categories) as a way to
exploit object-oriented programming to its fullest and organize code
in a flexible and efficient way. "Categories" are then used to
incorporate purely mathematical information (of the type "a Field is a
Ring"), that Python can also understand and use to build a whole class
hierarchy.

I think that similarly the problems I have described in the first
paragraph could be partly solved from a new concept of
"MathematicalDatabases", as a way to exploit object-oriented
programming to its fullest and organize _data_ in a flexible and
efficient way.

Any thoughts on that?

Thanks

Paul

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org