[sage-edu] Re: Grant for a sage server

2009-04-25 Thread mabshoff



On Apr 25, 12:53 am, Gerald Smith  wrote:



Hi,

> I just removed the indicated file and ran it anyway, willing to take the 
> risk, as my use is primarily educational rather than oriented towards serious
> number crunching.

This does not matter, even simple problems with linear algebra can
trigger this. Since many people seem to simply ignore the warning,
delete the file and *then* complain to sage-support that Sage crashed
I will remove the workaround instructions in Sage 3.4.2 - see #5892.
Since we build SSE2 only binaries now people are less likely to hit
this to begin with, but because there is clearly no technical
understanding about the relevance here in many cases I see no case for
keeping the wording of the warning as is.

Cheers,

Mcihael
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Grant for a sage server

2009-04-25 Thread David Joyner

On Sat, Apr 25, 2009 at 3:53 AM, Gerald Smith  wrote:
> Hello Gentlemen!
>
> The dire and dirty deed is duly done.  I have set up a personal SAGE Math
> server, and it should be currently running
> at https://67.23.33.110:8000
> This is a MOSSO cloud server at RackSpace.  RackSpace has a good rep, and
> what they offer and the
> price cannot be beat, and I did a LOT of looking!  Basically, on the cloud
> server I have access to 40 gigs
> of disk space and 1 gig of RAM, and SAGE seems to be running just fine.  RAM
> is the real sticking point as
> having access to that much RAM on a server is typically $100 to $150 a month
> and can run up to $200.  At
> RackSpace, those resources are available for $46 a month and can be upgraded
> or downgraded on a month
> by month basis as needed. There is an additional charge for bandwidth usage;
> $0.22 per GigaByte out and $0.08
> per Gigabyte going in.  Despite making heavy use of bandwidth over many
> hours setting up and testing the server,
> I still managed to use less than a gigabyte and it was mostly coming in, so
> I don't expect that to add a lot to the
> cost.  This is pricey compared with setting up a MOODLE server but a lot
> cheaper than I was expecting to have
> to pay for a working installation. I figure that in practice it will
> probably come to $15 to $20 a week once
> I get my Math Bear Education Initiative on Second Life really going to
> town.
>
> Please check it out if you wish.The admin password is "tachyonics".  So far,
> I have NOT been successful in getting any other accounts set up.
> I am not at all sure just what I am doing wrong.  I followed the examples in
> the manual and entered what I thought were all the
> correct commands, and SAGE seemed to accept the new users, but when I ran
> the notebook server the new accounts were simply
> ignored and I was stuck with the admin one only.  I have also put up 5


I am not much of a notebook user, so please take this with a grain of salt,
but I wonder if the permission on the .sage directory are set up so that others
can read and write to it? For the command line, that directory is used a lot to
store temp files and so on. Maybe the notebook is the same way?



> example worksheets to show various aspects of SAGE.  I have not
> yet attempted to implement any special forms of security, though I have so
> far not succeeded in SSH-ing into the server. I have had to
> use the special control panel accessible through RackSpace's website.  They
> have very good customer service with prompt access to
> technical support via live chat.  That guy went to www.sagemath.com and
> checked out the program, and said I should have no trouble
> setting up SAGE as long as I knew something about setting up such things
> under linux.  I went ahead and signed up for the account,
> but I really don't owe them anything until I have actually used their
> resources and you can keep track.
>
> You basically have your choice of many flavors of Linux and I chose Debian
> (lenny). They set up the operating system for you.
> You can set up as many servers as you like and add or delete them as you see
> fit.  First I used apt-get to install everything from
> the Debian repositories that was latex related and IMHO, likely to be
> useful.  Then I downloaded the appropriate precompiled
> Debian 5.0 64 bit binary build and plopped it into a folder I had prepared
> for it. I took about half an hour. When I ran it, it gave me
> one of those dire messages about being compiled on a different machine and
> missing something which could make SAGE fail sometime.
> I just removed the indicated file and ran it anyway, willing to take the
> risk, as my use is primarily educational rather than oriented towards
> serious
> number crunching.  If I do run into problems later on, I will go ahead and
> install from source. I am not as yet really concerned about security
> as I also have a SAGE server running on my computer (VISTA via VMWare) and
> it isn't accessible to anybody but me. I will keep anything
> important stored on my private SAGE server. I will introduce what ever
> security measures seem reasonable once I get things going.  I need to look
> into that.  I am not sure what all the security measures RackSpace has going
> but that may be a factor. Right now, feel free to play with it as you like.
> I would very much appreciate an informed opinion on the functionality of my
> toy and security issues. And I offer my special gratitude to the "Dr.
> Frankenstein"
> who brought this particular magnificent mathematical monster to life, our
> good Dr. William Stein!
>
> Cheers to All and Sundry,
>
> Jerry (a.k.a. MathBear)
>
> P.S.  For your bemusement, I included a snapshot of my mascot for my
> educational complex. This is the actual form I wear on SL when I am being an
> educator.
> 
> From: William Stein 
> To: sage-edu@googlegroups.com
> Sent: Wednesday, April 22, 2009 11:44:44 PM
> Subject: [sage-edu] Re

[sage-edu] Re: Grant for a sage server

2009-04-25 Thread William Stein

On Sat, Apr 25, 2009 at 12:53 AM, Gerald Smith  wrote:
> Hello Gentlemen!
>
> The dire and dirty deed is duly done.  I have set up a personal SAGE Math
> server, and it should be currently running
> at https://67.23.33.110:8000
> This is a MOSSO cloud server at RackSpace.  RackSpace has a good rep, and
> what they offer and the
> price cannot be beat, and I did a LOT of looking!  Basically, on the cloud
> server I have access to 40 gigs
> of disk space and 1 gig of RAM, and SAGE seems to be running just fine.  RAM
> is the real sticking point as
> having access to that much RAM on a server is typically $100 to $150 a month
> and can run up to $200.  At
> RackSpace, those resources are available for $46 a month and can be upgraded
> or downgraded on a month
> by month basis as needed. There is an additional charge for bandwidth usage;
> $0.22 per GigaByte out and $0.08
> per Gigabyte going in.  Despite making heavy use of bandwidth over many
> hours setting up and testing the server,
> I still managed to use less than a gigabyte and it was mostly coming in, so
> I don't expect that to add a lot to the
> cost.  This is pricey compared with setting up a MOODLE server but a lot
> cheaper than I was expecting to have
> to pay for a working installation. I figure that in practice it will
> probably come to $15 to $20 a week once
> I get my Math Bear Education Initiative on Second Life really going to
> town.
>
> Please check it out if you wish.The admin password is "tachyonics".  So far,
> I have NOT been successful in getting any other accounts set up.
> I am not at all sure just what I am doing wrong.  I followed the examples in
> the manual and entered what I thought were all the
> correct commands, and SAGE seemed to accept the new users, but when I ran
> the notebook server the new accounts were simply
> ignored and I was stuck with the admin one only.

Precisely what command do you run in order to start the sage notebook server?

 -- William

> I have also put up 5
> example worksheets to show various aspects of SAGE.  I have not
> yet attempted to implement any special forms of security, though I have so
> far not succeeded in SSH-ing into the server. I have had to
> use the special control panel accessible through RackSpace's website.  They
> have very good customer service with prompt access to
> technical support via live chat.  That guy went to www.sagemath.com and
> checked out the program, and said I should have no trouble
> setting up SAGE as long as I knew something about setting up such things
> under linux.  I went ahead and signed up for the account,
> but I really don't owe them anything until I have actually used their
> resources and you can keep track.
>
> You basically have your choice of many flavors of Linux and I chose Debian
> (lenny). They set up the operating system for you.
> You can set up as many servers as you like and add or delete them as you see
> fit.  First I used apt-get to install everything from
> the Debian repositories that was latex related and IMHO, likely to be
> useful.  Then I downloaded the appropriate precompiled
> Debian 5.0 64 bit binary build and plopped it into a folder I had prepared
> for it. I took about half an hour. When I ran it, it gave me
> one of those dire messages about being compiled on a different machine and
> missing something which could make SAGE fail sometime.
> I just removed the indicated file and ran it anyway, willing to take the
> risk, as my use is primarily educational rather than oriented towards
> serious
> number crunching.  If I do run into problems later on, I will go ahead and
> install from source. I am not as yet really concerned about security
> as I also have a SAGE server running on my computer (VISTA via VMWare) and
> it isn't accessible to anybody but me. I will keep anything
> important stored on my private SAGE server. I will introduce what ever
> security measures seem reasonable once I get things going.  I need to look
> into that.  I am not sure what all the security measures RackSpace has going
> but that may be a factor. Right now, feel free to play with it as you like.
> I would very much appreciate an informed opinion on the functionality of my
> toy and security issues. And I offer my special gratitude to the "Dr.
> Frankenstein"
> who brought this particular magnificent mathematical monster to life, our
> good Dr. William Stein!
>
> Cheers to All and Sundry,
>
> Jerry (a.k.a. MathBear)
>
> P.S.  For your bemusement, I included a snapshot of my mascot for my
> educational complex. This is the actual form I wear on SL when I am being an
> educator.
> 
> From: William Stein 
> To: sage-edu@googlegroups.com
> Sent: Wednesday, April 22, 2009 11:44:44 PM
> Subject: [sage-edu] Re: Grant for a sage server
>
>
> On Wed, Apr 22, 2009 at 9:35 PM, Pong  wrote:
>>
>> Hi Rob,
>>
>>    Thanks for letting me know. So sagenb is supported by Sun and NSF
>> now?
>
> Yes, by Sun, NSF, and Univ. of 

[sage-edu] Re: Grant for a sage server

2009-04-25 Thread Gerald Smith
Greetings!


I used the following command to start up the notebook server:   
notebook(address='67.23.33.110:8000', secure=True)

ThankYou,

Jerry



  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Grant for a sage server

2009-04-25 Thread Gerald Smith
Well,

I did have it run a bunch of tests and it did so successfully. Before making 
serious use, I will compile it from source,
The current setup is just for testing purposes.

Cheers,

Jerry





From: mabshoff 
To: sage-edu 
Sent: Saturday, April 25, 2009 4:16:08 AM
Subject: [sage-edu] Re: Grant for a sage server




On Apr 25, 12:53 am, Gerald Smith  wrote:



Hi,

> I just removed the indicated file and ran it anyway, willing to take the 
> risk, as my use is primarily educational rather than oriented towards serious
> number crunching.

This does not matter, even simple problems with linear algebra can
trigger this. Since many people seem to simply ignore the warning,
delete the file and *then* complain to sage-support that Sage crashed
I will remove the workaround instructions in Sage 3.4.2 - see #5892.
Since we build SSE2 only binaries now people are less likely to hit
this to begin with, but because there is clearly no technical
understanding about the relevance here in many cases I see no case for
keeping the wording of the warning as is.

Cheers,

Mcihael


  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Grant for a sage server

2009-04-25 Thread David Joyner

Again, I'm not an expert on these matters but it seems to me upon reading
"notebook?" that you need "accounts=True". Do you read it that way?



On Sat, Apr 25, 2009 at 1:55 PM, Gerald Smith  wrote:
> Greetings!
>
> I used the following command to start up the notebook server:
> notebook(address='67.23.33.110:8000', secure=True)
>
> ThankYou,
>
> Jerry
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Grant for a sage server

2009-04-25 Thread William Stein

On Sat, Apr 25, 2009 at 11:15 AM, David Joyner  wrote:
>
> Again, I'm not an expert on these matters but it seems to me upon reading
> "notebook?" that you need "accounts=True". Do you read it that way?
>

Reading the output of notebook? is a good idea.

accounts=True makes it so other users can *make* accounts.

Once accounts are made, then you can definitely run the notebook with
accounts=False, and those other
users can still login.

You address line is suspicious, by the way.  It should be

   notebook(address="67.23.33.110", port=8000,secure=True)

It sounds to me like you are *not* creating accounts correctly.  Try
the following:

1) start the notebook with

  sage:notebook(address="67.23.33.110", port=8000,secure=True,
accounts=True)

2) Make the accounts using the notebook interface, i.e., clicking at
the login screem on "Create a new account".

3) Then exit the notebook and restart it with

  sage:notebook(address="67.23.33.110", port=8000,secure=True,
accounts=False)

so nobody else can create accounts.

William



>
>
> On Sat, Apr 25, 2009 at 1:55 PM, Gerald Smith  wrote:
>> Greetings!
>>
>> I used the following command to start up the notebook server:
>> notebook(address='67.23.33.110:8000', secure=True)
>>
>> ThankYou,
>>
>> Jerry
>>
>>
>> >
>>
>
> >
>



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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---