[sage-support] Re: Posting in sage-windows

2009-06-15 Thread kilucas



On Jun 15, 9:32 am, Craig Citro craigci...@gmail.com wrote:
  My apologies for posting about the sage-windows group within the sage-
  support group but I posted 3 messages (two replies and a new topic)
  into sage-windows a couple of weeks back and they're still not showing
  up in the message lists. And I wasn't sure how else to ask for help in
  posting there.

  I'm listed as a member of that group and did get an email notification
  that some messages had been posted.

  So do I need to do anything special to post there perhaps?

  That was my mistake.  I'm really sorry for your message not getting
  posted promptly.  It should in the future.

 And just for the record -- when the behavior on one of the other
 groups is funky, emailing sage-support isn't a bad idea at all. :) (In
 this case, it was exactly the right move to fix the problem ... and
 now several of us can approve messages on sage-windows, meaning it
 shoudn't happen again.)

All sounds good. Many thanks
Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Posting in sage-windows

2009-06-14 Thread kilucas

My apologies for posting about the sage-windows group within the sage-
support group but I posted 3 messages (two replies and a new topic)
into sage-windows a couple of weeks back and they're still not showing
up in the message lists. And I wasn't sure how else to ask for help in
posting there.

I'm listed as a member of that group and did get an email notification
that some messages had been posted.

So do I need to do anything special to post there perhaps?

Thanks

Kevin


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



[sage-support] Re: Folders to organise worksheets

2009-06-08 Thread kilucas



On Jun 4, 9:44 am, William Stein wst...@gmail.com wrote:
 On Thu, Jun 4, 2009 at 1:36 AM, kilucas kevin.lu...@concave.co.uk wrote:

  As a set of worksheets grows I feel I need to organise them into my
  own folder structure. On sagenb I can see Active, Archived and Trash
  folders for worksheets but can't spot a way to create my own folders
  or navigate such a folder structure afterwards. Can I do this (and
  especially - can I do this as an online worksheet user without
  resorting to to the sage command line) and if so how please? Or should
  I organise my worksheets in some other way perhaps?

 Unfortunately, there is currently no support for folders in the Sage
 notebook.  Nobody has had a chance to implement it yet.   However,
 Mike Hansen is currently planning to implement both folders and labels
 for the Sage notebook in the immediate future.

 So stay tuned!

 In the meantime, I tend to put a keyword in the title of a collection
 of related worksheets, then use the search box in the upper right to
 view only those worksheets.


V helpful. Thanks.

 William



  Many thanks for any clues you can give.

  Kevin

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Folders to organise worksheets

2009-06-04 Thread kilucas

As a set of worksheets grows I feel I need to organise them into my
own folder structure. On sagenb I can see Active, Archived and Trash
folders for worksheets but can't spot a way to create my own folders
or navigate such a folder structure afterwards. Can I do this (and
especially - can I do this as an online worksheet user without
resorting to to the sage command line) and if so how please? Or should
I organise my worksheets in some other way perhaps?

Many thanks for any clues you can give.

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] How do I run a newly compiled Sage 3.4.2?

2009-05-24 Thread kilucas

After failed attempts to run Sage 3.4.1 from the binary available for
VMWare I've compiled Sage v3.4.2 from within VMWare on a Win XP laptop
using the following instructions:

Login as manage and type sudo su. Then
1. Delete /usr/local/sage:
  cd /usr/local; rm -rf sage
2. Download sage-3.4.2.tar by typing
   wget http://sagemath.org/src/sage-3.4.2.tar
3. Extract it,
tar xf sage-3.4.2.tar
4. Move it to be /usr/local/sage, and
mv sage-3.4.2 sage
5. Build Sage -- this will take a few *hours* (no manual
intervention)
but will work:
 cd sage; make.

When the compilation completed I immdiately tried sage by guessing
that I'd simply type sage at the post-compilation prompt. I managd
to run the early tests from the installation guide successfully. This
is the first time I've run any part of sage successfully so that's a
great milestone passed. I used exit a number of times to the point
where I could typ off which closed my VMWare Player.

What do I now do to run Sage notebooks from my browser and to run the
sage command line please?

If I open the VMWare Player the only relevant option I can spot is to
re-rerun the sage VMX. This taks me to the Notebook, Manage, Off, Sage
menu that I've seen before and is as ineffective; if I type notebook
I can't gain acces from my browser. If I login using login/sage and
then type sage I get no sage command line. This is presumably
because I'm running the faulty vmx that I'm trying to circumvent with
my compilation. So:

1) How do I use the VMWare environment to access a browser-based
notebook using my new compilation?

2) How do I use the VMWare environment to access the sage comand line
using my new compilation?

3) Can I now use my new compilation to run a sage notebook without
needing the VMWare Player (that is, directly under Windows XP now)?
And if so how?

4) Can I now use my new compilation to run the sage command line
without needing the VMWare Player (that is, in Windows XP)? And if so
how?

In the cases of 3) and 4) above I'm not even sure where the executable
and any associated files are in Windows; the obvious searches for .exe
files or any sage files created on the day of the compliation seem
fruitless.

Many thanks for any guidance you can give.

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Downloading binaries or source to completion

2009-05-17 Thread kilucas



On May 16, 6:12 pm, Paul Sargent psa...@gmail.com wrote:
 Adding a -c flag to wget will make it continue an aborted download if  
 the server will let it. It'll probably still fail but at least you can  
 recover.

Very helpful. I'll give that a go. Thanks. Kevin


 On 17 May 2009, at 01:04, kilucas kevin.lu...@concave.co.uk wrote:





  It took me 6 attempts to retrieve the latest Windows binary from
  across a number of mirrors and I'm now running into the same problem
  trying to retrieve the source of 3.4.2 and 3.4.1 using wget ( I don't
  know how to detect or use mirrors by this method). In all cases the
  download seems to freeze after various periods of time.

  Is there any special trick to getting these downloads to complete
  perhaps or are the mirrors just having a bad week?

  Is there any specific mirror that people find especially reliable
  perhaps?

  Thanks

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Logging in to a browser session

2009-05-16 Thread kilucas

I'm struggling to get sage running on a lan-connected notebook and so
have been pointing Firefox at a whole variety of IP addresses, port
numbers and http/https combinations to see if I can find anything that
will respond. Occasionally attempts to reach IP addresses associated
with VMNet8 or VMNet1 will ask me to log in. This made me realise that
I don't know whether I will have to log in to a browser page the first
time I use my own copy of Sage and, if so, which credentials I should
use.

I've trioed the login/sage combination and I've tried the Windows
credentials but neither works.

So will I need to login through Firefox and if so, which credentials
should I use please?

Thanks

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] When to type notebook and notebook()

2009-05-16 Thread kilucas

I'm using VMWare Player 2.5.2 and Sage 3.4.1 on Win XP Pro on a LAN-
connected laptop with no firewall and I've become confused about when,
in the startup sequence, I type the notebook and/or the notebook()
commands.

In the sequence:

1) run the VMWare Player from Windows
2) open the sage_vmx from within the VMWare Player
3) wait until I see a menu of 4 options: notebook, off, manage, sage
4) login to sage by typing login then sage which briengs me to a
li...@sage:~$ prompt

do I type notebook after step 3 or after step 4?

When (and from which prompt or screen) would I use the command
notebook()?

Thanks for any clues you can give.

Kevin


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



[sage-support] Reaching the sage command line

2009-05-16 Thread kilucas

I'm using the VMWare Player v2.5.2 and Sage 3.4.1 on a LAN-connected
laptop with no firewall and am confused about how to reach the sage
command line.

If I run the VMWare Player from Windows, and use it to open sage_vmx
I'm offered a menu of 4 choices: notebook, off, manage, sage (which
says it's the option to reach the command, as I desire). If I type
sage (without using the notebook options first) lots of text
scrolls by, I see a brief message about the sage version and typing
notebook() to get a GUI, but then I'm returned to the 4 option menu
with a login prompt. Attempts to type mathematical expressions are
interpreted as attempts to login.

If I choose the notebook menu option (which returns me to the 4
option menu again) before typing sage, I get the same effect.

So how should I reach the command line please or does any of this
signify a prob lem with my set up?

many thanks

Kevin

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



[sage-support] Re: Logging in to a browser session

2009-05-16 Thread kilucas



On May 16, 2:58 pm, Serge A. Salamanka salsa-...@tut.by wrote:
 When you start notebook server from the command line the very first time
 you get a promt to choose password for admin user.

Is the command line you're refering to the login prompt that I see
below the menu of 4 options (notebook, off, manage, sage)? If so, when
I type notebook at this point I just see lots of text scroll past
and eventually I get the same 4 menu options and the same login prompt
back. Nothing prompts me for an admin password.

Have I misunderstood what you mean or is my implementation behaving
oddly perhaps?

Thanks
Kevin

 Thus, login as admin

 Serge

 kilucas пишет:



  I'm struggling to get sage running on a lan-connected notebook and so
  have been pointing Firefox at a whole variety of IP addresses, port
  numbers and http/https combinations to see if I can find anything that
  will respond. Occasionally attempts to reach IP addresses associated
  with VMNet8 or VMNet1 will ask me to log in. This made me realise that
  I don't know whether I will have to log in to a browser page the first
  time I use my own copy of Sage and, if so, which credentials I should
  use.

  I've trioed the login/sage combination and I've tried the Windows
  credentials but neither works.

  So will I need to login through Firefox and if so, which credentials
  should I use please?

  Thanks

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Multi-user server on Windows

2009-05-16 Thread kilucas



On May 12, 3:35 pm, kilucas kevin.lu...@concave.co.uk wrote:
 On May 12, 2:52 pm, Jason Grout jason-s...@creativetrax.com wrote:





  kilucas wrote:
   Marik

   Thanks for the reminder and I had indeed spotted these threads. I'm
   guessing that I'd run the Sage server under VMWare primarily just to
   get it to run on Windows and that I'd then get the security benefits
   as side-effects.

  That's correct.

   But these are all guesses which is why I'm very
   interested to check what I should really be doing in a Windows
   environment formulti-user access.

  Are you running multiple separate notebooks (e.g., one each for
  different sets of users) or are you running just one notebook?

 I don't know yet - I'm not advanced enough yet to have thought of the
 question - thanks for posing it. I want to play with Sage to
 understand what questions arise and I know I can do this on the Sagenb
 site or on a standalone, single user copy. But I'd ideally like to
 install it as amulti-user facility so that I'm trying out my options
 (and any limitations) in that environment.

 How much
  do you trust your users? (e.g., do you expect some to try to break into
  things and use the server to email spam or whatever?)

 I don't expect this much because I'd expect to make access available
 only to registered users. However, access would be over the Internet
 rather than a private network.

 One target audience is school (rather than college/university) pupils.
 I'd expect them to get lots of things wrong but I think the likelihood
 of deliberate damage is low (though not zero).



  The easiest way to set up amulti-user server is to just get the vmware
  version of Sage running, start sage, and then use the notebook()
  command.  At the sage prompt, type notebook? to read the help.

 This sounda a bit like something I'd do when sitting at the server
 rather than when sitting at a remote web browser. Or am I wrong? For
 example, I access Sagenb via a browser and hence a URL, rather than
 via VMWare (even though I get the impression that Sagenb is
 underpinned by VMWare - can't recall where I read that)..

 In particular, you'll probably want to read about the accounts,
  address, and secure options.

 Will do. Many thanks

Jason

I couldn't find any way to run notebook? from any of the prompts I can
reach so far. Or any of the commands it describes like notebook (),
notebook(require_login=False) etc. This may be because my
implementation is incompatible with my CPU but there's still a big
hole in my understanding here. The only place I've managed to run all
these commands is in a worksheet on www.sagenb.org. But that is in an
environment that's already started up whereas presumably I need to be
able to run a command like these in order to effect that startup.

So at which stage of the startup sequence should I be able to type
these commands please?

As you suggested, there are commands here that implement some of the
things I've been asking about so your guidance has been very
informative. But obviously I can only act on what I've learned if I
can work out when to run them.

Thanks for any guidance you can give.
Kevin




  Jason

 Thanks
 Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Logging in to a browser session

2009-05-16 Thread kilucas

Thanks Serge. I think my problem lies in finding or recognising the
right kind of command line. I actually tried notebook() in a worksheet
on www.sagenb.org and that did indeed ask for an admin password as you
suggest. But I can't find any way to run the same command in my VMWare
envioronment.

I've asked about how to find this command line in another thread so
let's see if that enquiry proves fruitful.

Many thanks
Kevin

On May 16, 7:45 pm, Serge A. Salamanka salsa-...@tut.by wrote:
 You've got to have access to the command line.
 The way I start notebook server:

 I call sage from command line.
 then under sage promt I type:
 notebook()

 It then creates user admin and promts for the password.

 that is it.

 But it is an ordinary linux way.
 I don't know your situation and I haven't dealt with VM images.

 #Serge

 kilucas пишет:





  On May 16, 2:58 pm, Serge A. Salamanka salsa-...@tut.by wrote:
  When you start notebook server from the command line the very first time
  you get a promt to choose password for admin user.

  Is the command line you're refering to the login prompt that I see
  below the menu of 4 options (notebook, off, manage, sage)? If so, when
  I type notebook at this point I just see lots of text scroll past
  and eventually I get the same 4 menu options and the same login prompt
  back. Nothing prompts me for an admin password.

  Have I misunderstood what you mean or is my implementation behaving
  oddly perhaps?

  Thanks
  Kevin

  Thus, login as admin

  Serge

  kilucas пишет:

  I'm struggling to get sage running on a lan-connected notebook and so
  have been pointing Firefox at a whole variety of IP addresses, port
  numbers and http/https combinations to see if I can find anything that
  will respond. Occasionally attempts to reach IP addresses associated
  with VMNet8 or VMNet1 will ask me to log in. This made me realise that
  I don't know whether I will have to log in to a browser page the first
  time I use my own copy of Sage and, if so, which credentials I should
  use.
  I've trioed the login/sage combination and I've tried the Windows
  credentials but neither works.
  So will I need to login through Firefox and if so, which credentials
  should I use please?
  Thanks
  Kevin- Hide quoted text -
  - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] What's the best way to check binary compatibility?

2009-05-16 Thread kilucas

It's beginning to look as if I've been trying to fix a sage
implementation on a PC with a CPU that's incompatible with the VMWare
binary of 3.4.1. But it's taken quite a bit of time to reach that
conclusion (including that of kind folk on this forum).

If I'm to try to implement sage on another PC I'd like to avoid going
through the same set of challenges only to reach the same point so is
there anything I can do in advance to assess compatibility or do I
just have to try each PC in turn?

I also had it in mind to use sage across a set of pupil PCs but that
won't work well if many (maybe even any) of them fall foul of
compatibility too. So is there any CPU spec that PCs must meet to work
with the binaries so, just like working out whether I could upgrade an
operating system in advance of trying it, I can adopt sage and install
it with confidence (or give up and use something else)?

(I know I can theoreticcaly install a single instance of sage that
pupils can use over the Internet but my attempt to install that didn't
just fail but was disastrous. My Windows environment demands the
VMWare Player which crashed my server and disturbed my firewall so
that no reliable internet connection was possible. I ended up
reinstalling the firewall and spending days trying to get its settings
back to their previous state which had been finely tuned over 3 years
to accomodate a wide range of products. While the failure was caused
by VMWare and not Sage, the number of components to a sage
installation introduces more potential points of failure than a
single, installed application. And once again it was an example of an
inconvenient incompatibility, hence my desire to understand as much as
I can about compatibility issues in advance of an installation).
Thanks

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Reaching the sage command line

2009-05-16 Thread kilucas



On May 16, 8:04 pm, William Stein wst...@gmail.com wrote:
 On Sat, May 16, 2009 at 9:07 AM, kilucas kevin.lu...@concave.co.uk wrote:

  On May 16, 2:32 pm, William Stein wst...@gmail.com wrote:
  On Sat, May 16, 2009 at 6:01 AM, kilucas kevin.lu...@concave.co.uk wrote:

   I'm using the VMWare Player v2.5.2 and Sage 3.4.1 on a LAN-connected
   laptop with no firewall and am confused about how to reach the sage
   command line.

   If I run the VMWare Player from Windows, and use it to open sage_vmx
   I'm offered a menu of 4 choices: notebook, off, manage, sage (which
   says it's the option to reach the command, as I desire). If I type
   sage (without using the notebook options first) lots of text
   scrolls by, I see a brief message about the sage version and typing
   notebook() to get a GUI, but then I'm returned to the 4 option menu
   with a login prompt. Attempts to type mathematical expressions are
   interpreted as attempts to login.

   If I choose the notebook menu option (which returns me to the 4
   option menu again) before typing sage, I get the same effect.

   So how should I reach the command line please or does any of this
   signify a prob lem with my set up?

  The Sage binary evidently doesn't work at all on your computer, perhaps 
  because
  it may be built with optimizations that your computer's CPU doesn't 
  provide.
  If you do:

    login: login

  then type sage at the prompt, you'll probably get an error message,
  and if you read
  it, then it will probably explain that the Sage binary is too
  optimized for your computers
  architecture.

  You'll have to wait until we produce a less optimized binary (it's on
  the todo list), or you'll have to build
  one yourself for now.  Alternatively of course, you can always 
  usehttp://sagenb.org.

  William

  Thanks for the guidance - I'm certainly beginning to wonder if some
  combination of my implemenattion, sage and my brain is incompatible
  here ;-)

  Just before I give up can I just check I'm trying your experiment
  above correctly. When you say login: login is that the same as
  typing login at the sage login: prompt below the 4 menu options
  (notebook, off, manage, sage)?

  And when you say to type sage at the prompt, I've presumed you mean
  that I type sage in response to the subsequent password request. Is
  that correct?

  If I do this I don't get the compatibility warning that you mention.
  Instead I get:

  A line begining Linux sage 2.6.17-12-386 ...
  A paragraph about programs in Ubuntu being free software.
  A reminder there is absoluetly no warranty
  A prompt that says lo...@sage :~$

 Type sage at the $ prompt, e.g.,

 lo...@sage :~$ sage

William

Very helpful. I then get the sage 3.4.1 release date etc header
folloowed by the following message before being returned to the
lo...@sage :~$ prompt

/usr/local/sage/local/bin/sage-sage: line 198   3515 Illegal
instructionsage-ipython $@ -i

Is this sage's way of confirming your suspicion that my binary is
incompatible with my CPU? Or is there more hope here and there's
something I can do to circumvent this error.

Thanks
Kevin

 Wiliam- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Windows and VMWare networking for Sage

2009-05-15 Thread kilucas

Having read a lot of posts about how the networking side of VMWare and
Sage should be set up I confess I'm quite confused - and still haven't
managed to get Sage running. So I wondered if I could get a few
initial questions out of the way and then ask how the networking
should look for the three scenarios in which I envisage using Sage.
First, some background questions:

1) When I open the VMWare Player and open the Sage_vmx within it and
then run the notebook command, I see lots of text scroll by including
a statement that I should open Firefox at a specific address. Yet most
(though not all) references I see to using sage refer to pointing my
browser at http://localhost:8000. So:

1.1) Do I always ignore the IP address and use the localhost address?

1.2) If I use the IP address do I still have to qualify it with port
8000?

1.3) And I don't get long to write the IP address down. How can I find
it once it's disappeared from the screen?

1.4) Do I run Firefox from Windows or inside the VMWare Player? (I'd
presumed the former but, as I can't get it to work, I thought it
bright to ask)

2) How do I know when to use an https://... URL?

3) If I want to use secure communications via an https://... URL how
do I set this up or is it in place automatically?

And now for my three scenarios. I envisage using Sage:
- on a standalone laptop, connected to no network
- on a LAN PC (such as the above laptop subsequently connected to the
netowrk by a wire or wirelessly)
- on a server accessible from the Internet to permit multiple remote
users access to Sage.

In each of these scenarios in turn:

4) do I use the bridged, NAT or host-only network setting using the
VMWare Player GUI?

5) Does it matter whether I use the Devices menu that appears once the
Sage_vmx has been opened or via an icon at the foot of the GUI when I
want to change betwen these networking types?

6) which of VMNet0, VMNet1 and VMNet8 does this network setting apply
to when I look at them in vmconfig.exe (or is the setting effectively
a choice between these three)?

7) if bridging is used, does this imply I must check that both ends of
the bridge are somehow set correctly? And if so, what should they be
set to and how would I check them?

8) Do I ever need to log in to Sage at the Sage login prompt after
running the notebook command if I'm only trying to run Sage ina
browser in all three of these scenarios?

9) Is there a way of telling when I've already run the notebook
command so that I don't run it again?

For the standaolne and LAN-connected sceanrios above I'm using VMWare
Player v2.5.2 and Sage 3.4.1 on a Windows XP Pro laptop wirelessly
connected to a LAN with no firewall on the laptop (but a firewall
protecting the LAN exit to the Internet but that's on another box).

I've given up trying the multi-access server for now and the spec for
that machine may yet change. So let's assume at present that I'd try
to set scenario 3 up on a laptop with the same spec.

Sorry for the long list but I'm very confused and quite a lot of the
postings here suggest some of the settings are trivially created or
detected but my unfamiliarity with VMWare and Linux (once I get inside
VMWare) is puzzling the heck out of me. Maybe this is a chance to pull
this networking information into one place. Or is it already located
somewhere and I've yet to find it? My apoloigies if it is.

Thanks

Kevin



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



[sage-support] Re: Multi-user server on Windows

2009-05-15 Thread kilucas



On May 12, 6:50 pm, Jason Grout jason-s...@creativetrax.com wrote:
 kilucas wrote:

  On May 12, 5:14 pm, Jason Grout jason-s...@creativetrax.com wrote:
  kilucas wrote:
  snip
  I hadn't thought about multiple v single notebook architectures and
  will think harder about that now.
  Or what I would do in your place is just use one notebook for now, and
  worry about trying to set up multiple notebooks later if you want it.
  It's trivial to start up multiple notebook instances once you have one
  working.

  V helpful. Thanks.

  So do I just set up the server by following the single user
  installation instructions plus your tips on security, and then find a
  URL that provides remote access to that server? (And if so, what would
  that URL look like?)
  There is one setting that you need to change on the vmware server to
  allow outside network access (someone else will have to chime in here; I
  don't know the setting).  I believe you need to change the networking to
  be bridged networking.  Then you need to work with your network
  administrator about the URL to use to access the server.

  I'll go in search of this setting. Effectively I am the administrator
  here (not that I'm a professional techie) so I know the external URL
  to the current web server that's running on my Windows server but I
  don't know how I'd adjust this to find Sage. Maybe that'll become
  obvious but if anyone knows what shape the URL should take, I'd be
  interested to hear. I'm not even clear at this stage which web server
  (my existing server or one supplied by Sage) will apply.

 The vmware sage server will have its own IP address, and thus its own
 hostname and URL.  Sage includes a webserver that will run over the
 vmware network address; that is the webserver you would use (not the one
 on the host computer).  If you change the networking to bridged
 networking, start up the vmware server, then start up sage, you can get
 the hostname by doing:

 sage: import socket
 sage: socket.getfqdn()
 'good'

 (fqdn stands for fully qualified domain name)

Can I just clarify at what point I run this please? (I'm not quite
sure when I've started sage and when I haven't)

- If I run it after starting the VMWare Player and the sage_vmx so
I'm, at the Sage Login prompt then I'm told that I'm logging in
incorrectly when I try the import socket command.
- If I start the VMWare Player, open the sage_vmx and run the notebook
command first, and then try the above commands, I'm still told I'm
logging in incorrectly.
- If I start the VMWare Player, open the sage_vmx, login to sage
(whether I run the notebook command first or not), the import socket
command is greeted with import: unable to open X server followed by
two single quotes

In all these cases the networking was nominated as bridged before
opening the VMWare Player.

At present I can't tell if I'm doing this at the wrong poin t in the
starting and logging in sequence or whether I'm doing it at the right
time but something's not working as planned. S I hope you might be
able to clarify for me.

Thanks
Kevin






  Or is there more to it than that to drive multiple users from a
  Windows-based server?
  I ask because the linux instructions for setting up a multi-user
  environment looked different from the instructions for a single user
  and so I was guessing that the Windows set up would also be different.
  What instructions are you referring to?  The linux instructions should
  work, except that you'll also have to change the vmware networking to
  bridged networking (I believe).

  I'm using the pdf version of the Sept 17 2008 installation
  instrcutions. The contents page of this document shows:

  1 Introduction
  2 Pre-built Binary Install
      2.1 Linux and OS X
      2.2 Microsoft Windows
  3 Install from Source Code
      3.1 Steps to Install from Source
      3.2 Installation in a Multiuser Environment
              System-wide install
      3.3 Special Notes
  4 Running the SAGE Notebook Securely
  5 Desktop icon
  6 The Sage Documentation

  You can see that 3.2 installation in a multi-user environment is
  covered only in the 3 installation from source code section. This
  implies that it's achieved through a source code install rather than a
  binary install. And, when you look at 3.2, you find it's all about
  Linux anyway. Hence my puzzle about how to set up a multi-user
  environemnt under Windows.

 That section is for installing Sage on a computer that has multiple
 users so that they can all use sage from the command line, not for
 setting up sage to be a notebook server for multiple users.  That
 section does not apply to your situation.  I can see the confusion from
 the name, though.

 Jason- Hide quoted text -

 - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage

[sage-support] Re: VMWare Player versions for Sage 3.4.1

2009-05-14 Thread kilucas



On May 14, 10:43 am, Alberto vand...@gmail.com wrote:
 2.5.1 for sure that work. I has using 2.5.2 (that works fine with sage
 3.2.2) but it seems to keep sage 3.4.1 in a continuous loop when
 entering notebook option.

Interesting. I'll lok out for that when I get that far!


 Have you check if during instalation the authorizations to wmware
 networks adapters in the windows firewall?

I wasn't asked for any authorizations by VMWare during the
installation which actually asks me very little indeed - just about
where I want the installation and what menu start/desktop menu options
I want.

I was asked by ZoneAlarm which is my firewall as you indicate. This
detected two new networks, both of which I said I trusted.

I get no firewall notifications when I actually try to start the
VMWare player and even tried to start it with the firewall switched
off but it still forced my PC to reboot.

I did get a tray icon indicating VMNet was trying to acquire a network
address for about 10 minutes after I'd done the requested post-
installation restart. Then the icon went away.

I've used the same installation file on an alternative WinXP PC and
that doesn't crash windows (and didn't generate the network
acquisition icon). This PC does not run ZoneAlarm so maybe there's a
challenge with ZA.

I've posted my problems on the VMWare forum for the Player and may
learn more through them too. But meanwhile I wondered if a change of
Player version might help.

Given your comment above I may try v 2.5.1.

Thanks


 On May 13, 9:18 pm, kilucas kevin.lu...@concave.co.uk wrote:



  I've had two attempts at installing the VMWare Player v2.5.2 on a
  Windows XP Pro PC. Both times the Player will not start correctly - it
  crashes Windows almost immediately the player has started. So I'm not
  even getting as far as starting Sage.

  So I'm tempted to try earlier versions of the VMWare Player but wasn't
  sure which I'd need for Sage 3.4.1. Options seem to include VMWare
  Player 2.5.1, 2.5.0 and then 2.0.5 and earlier.

  Can anyone say which versions of the Player should be compatible with
  Sage 3.4.1 please?

  Many thanks for your help.

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage inside MediaWiki

2009-05-13 Thread kilucas



On May 12, 11:07 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On May 12, 3:05 pm, kilucas kevin.lu...@concave.co.uk wrote:

  On May 12, 8:39 pm, David Joyner wdjoy...@gmail.com wrote:

 SNIP

  Conversely, I've also since spotted reference to MoinMoin within Sage.
  I've not yet explored what benefits this might confer but, once I
  know, I might then  be interested to know if I could easily replace
  MoinMoin by MediaWiki in that context too.

 Sage doesn't work as an extension of MoinMoin, it just provides the
 bits and pieces to run MoinMoin from within Sage. Sorry.

 Cheers,

 Michael

Thanks MIchael
I'm installing Sage now and so should have a chance to explore how
MoinMoin applies in a Sage environment a little further shortly too.

All the best
Kevin

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



[sage-support] VMWare Player versions for Sage 3.4.1

2009-05-13 Thread kilucas

I've had two attempts at installing the VMWare Player v2.5.2 on a
Windows XP Pro PC. Both times the Player will not start correctly - it
crashes Windows almost immediately the player has started. So I'm not
even getting as far as starting Sage.

So I'm tempted to try earlier versions of the VMWare Player but wasn't
sure which I'd need for Sage 3.4.1. Options seem to include VMWare
Player 2.5.1, 2.5.0 and then 2.0.5 and earlier.

Can anyone say which versions of the Player should be compatible with
Sage 3.4.1 please?

Many thanks for your help.

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Sage inside Alfresco

2009-05-12 Thread kilucas

Does anyone know where I might find any guidance on using Sage within
Alfresco perhaps? Or of examples that I could study?

Many thanks

Kevin Lucas
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Multi-user server on Windows

2009-05-12 Thread kilucas



On May 12, 5:14 pm, Jason Grout jason-s...@creativetrax.com wrote:
 kilucas wrote:
  snip
  I hadn't thought about multiple v single notebook architectures and
  will think harder about that now.

 Or what I would do in your place is just use one notebook for now, and
 worry about trying to set up multiple notebooks later if you want it.
 It's trivial to start up multiple notebook instances once you have one
 working.

V helpful. Thanks.


  So do I just set up the server by following the single user
  installation instructions plus your tips on security, and then find a
  URL that provides remote access to that server? (And if so, what would
  that URL look like?)

 There is one setting that you need to change on the vmware server to
 allow outside network access (someone else will have to chime in here; I
 don't know the setting).  I believe you need to change the networking to
 be bridged networking.  Then you need to work with your network
 administrator about the URL to use to access the server.

I'll go in search of this setting. Effectively I am the administrator
here (not that I'm a professional techie) so I know the external URL
to the current web server that's running on my Windows server but I
don't know how I'd adjust this to find Sage. Maybe that'll become
obvious but if anyone knows what shape the URL should take, I'd be
interested to hear. I'm not even clear at this stage which web server
(my existing server or one supplied by Sage) will apply.


  Or is there more to it than that to drive multiple users from a
  Windows-based server?

  I ask because the linux instructions for setting up a multi-user
  environment looked different from the instructions for a single user
  and so I was guessing that the Windows set up would also be different.

 What instructions are you referring to?  The linux instructions should
 work, except that you'll also have to change the vmware networking to
 bridged networking (I believe).

I'm using the pdf version of the Sept 17 2008 installation
instrcutions. The contents page of this document shows:

1 Introduction
2 Pre-built Binary Install
2.1 Linux and OS X
2.2 Microsoft Windows
3 Install from Source Code
3.1 Steps to Install from Source
3.2 Installation in a Multiuser Environment
System-wide install
3.3 Special Notes
4 Running the SAGE Notebook Securely
5 Desktop icon
6 The Sage Documentation

You can see that 3.2 installation in a multi-user environment is
covered only in the 3 installation from source code section. This
implies that it's achieved through a source code install rather than a
binary install. And, when you look at 3.2, you find it's all about
Linux anyway. Hence my puzzle about how to set up a multi-user
environemnt under Windows.


 Jason

As ever, thanks very much for your help.

Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Multi-user server on Windows

2009-05-12 Thread kilucas



On May 12, 6:50 pm, Jason Grout jason-s...@creativetrax.com wrote:
 kilucas wrote:

  On May 12, 5:14 pm, Jason Grout jason-s...@creativetrax.com wrote:
  kilucas wrote:
  snip
  I hadn't thought about multiple v single notebook architectures and
  will think harder about that now.
  Or what I would do in your place is just use one notebook for now, and
  worry about trying to set up multiple notebooks later if you want it.
  It's trivial to start up multiple notebook instances once you have one
  working.

  V helpful. Thanks.

  So do I just set up the server by following the single user
  installation instructions plus your tips on security, and then find a
  URL that provides remote access to that server? (And if so, what would
  that URL look like?)
  There is one setting that you need to change on the vmware server to
  allow outside network access (someone else will have to chime in here; I
  don't know the setting).  I believe you need to change the networking to
  be bridged networking.  Then you need to work with your network
  administrator about the URL to use to access the server.

  I'll go in search of this setting. Effectively I am the administrator
  here (not that I'm a professional techie) so I know the external URL
  to the current web server that's running on my Windows server but I
  don't know how I'd adjust this to find Sage. Maybe that'll become
  obvious but if anyone knows what shape the URL should take, I'd be
  interested to hear. I'm not even clear at this stage which web server
  (my existing server or one supplied by Sage) will apply.

 The vmware sage server will have its own IP address, and thus its own
 hostname and URL.  Sage includes a webserver that will run over the
 vmware network address; that is the webserver you would use (not the one
 on the host computer).  If you change the networking to bridged
 networking, start up the vmware server, then start up sage, you can get
 the hostname by doing:

 sage: import socket
 sage: socket.getfqdn()
 'good'

 (fqdn stands for fully qualified domain name)


V helpful. Time to give this a try, I think.







  Or is there more to it than that to drive multiple users from a
  Windows-based server?
  I ask because the linux instructions for setting up a multi-user
  environment looked different from the instructions for a single user
  and so I was guessing that the Windows set up would also be different.
  What instructions are you referring to?  The linux instructions should
  work, except that you'll also have to change the vmware networking to
  bridged networking (I believe).

  I'm using the pdf version of the Sept 17 2008 installation
  instrcutions. The contents page of this document shows:

  1 Introduction
  2 Pre-built Binary Install
      2.1 Linux and OS X
      2.2 Microsoft Windows
  3 Install from Source Code
      3.1 Steps to Install from Source
      3.2 Installation in a Multiuser Environment
              System-wide install
      3.3 Special Notes
  4 Running the SAGE Notebook Securely
  5 Desktop icon
  6 The Sage Documentation

  You can see that 3.2 installation in a multi-user environment is
  covered only in the 3 installation from source code section. This
  implies that it's achieved through a source code install rather than a
  binary install. And, when you look at 3.2, you find it's all about
  Linux anyway. Hence my puzzle about how to set up a multi-user
  environemnt under Windows.

 That section is for installing Sage on a computer that has multiple
 users so that they can all use sage from the command line, not for
 setting up sage to be a notebook server for multiple users.  That
 section does not apply to your situation.  I can see the confusion from
 the name, though.

Ah! I've been fretting about the wrong part of the instructions then.
But I've learned a lot in the process. For which, many thanks indeed.
Time to install!


 Jason- Hide quoted text -

 - Show quoted text -- Hide quoted text -

 - Show quoted text -

Thanks
Kevin
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage inside Alfresco

2009-05-12 Thread kilucas



On May 12, 8:21 pm, David Joyner wdjoy...@gmail.com wrote:
 Could please explain your idea more clearly?
 Based only onhttp://en.wikipedia.org/wiki/Alfresco_(software),
 I'm not sure that you mean by using Sage within 



 On Tue, May 12, 2009 at 10:56 AM, kilucas kevin.lu...@concave.co.uk wrote:

  Does anyone know where I might find any guidance on using Sage within
  Alfresco perhaps? Or of examples that I could study?

I had in mind that I could invoke fixed mathematical content as well
as calculable content from Sage in Alfresco pages. For example,
Alfresco supports projects and project teams. So I wondered if Sage
could provide mathematical support to teams working on scientific or
mathematical projects.

I've seen some recent discussion of embeding Sage elements in html
pages so I planned to explore whether that method could be used. And
I've seen some references to Sage integration with Moodle so I'll
check that too.

The only other integration aspect I had in mind was common login
credentials but that's only worth exploring if I can get the first
idea to work.

So I wondered if anyone else had seen any integration between Sage and
Alfresco

Thanks
Kevin
.

  Many thanks

  Kevin Lucas- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage inside MediaWiki

2009-05-12 Thread kilucas



On May 12, 8:39 pm, David Joyner wdjoy...@gmail.com wrote:
 Could you give an example of what you mean?
 For instance, you are typing in a wiki and maybe you want it to call Sage
 and execute some Sage commands in the wiki code?

Yes. Currently I use the math facility in MediaWiki which uses Latex-
like statements to create fixed mathematical statements. But this has
no calculation capability and I'd be interested to add one to standard
MediaWiki pages.

I'm also likely to add a discussion forum capability to MediaWiki and
I think this will use standard MediaWiki editing facilities to
generate discussion postings. If so, and if MediaWiki can invoke Sage
output and calculation capabilities, then  it might allow discusiion
posters to embed Sage output and calculations in their posts.

I've seen some recent discussion of embeding Sage elements in html
pages so I planned to explore whether that method could be used. And
I've seen some references to Sage integration with Moodle so I'll
check that too.

Conversely, I've also since spotted reference to MoinMoin within Sage.
I've not yet explored what benefits this might confer but, once I
know, I might then  be interested to know if I could easily replace
MoinMoin by MediaWiki in that context too. I have MoinMoin already but
most of my content is going into a MediaWiki implementation for now.

The only other integration aspect I had in mind was common login
credentials but that's only worth exploring if I can get the Sage in
MediaWiki idea to work first.

So I wondered if anyone else had seen any integration between Sage and
MediaWiki - either Sage in MediaWiki or MediaWiki in lieu of MoinMoin
in Sage.

Thanks
Kevin




 On Tue, May 12, 2009 at 10:55 AM, kilucas kevin.lu...@concave.co.uk wrote:

  Does anyone know where I might find any guidance on using Sage within
  a MediaWiki environment perhaps? Or of examples that I could study?

  Many thanks

  Kevin Lucas- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---