Re: [sage-support] unable to create new user on Sage server

2012-01-31 Thread Berkin Malkoc
On Tue, Jan 31, 2012 at 4:30 PM, D.C. Ernst ernst.tr...@gmail.com wrote:

 A related question: Once I get this fixed, is there a way to add users in
 bulk?

You are probably looking for add_user
(http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html).

Berkin

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Using sagenb

2011-09-29 Thread Berkin Malkoc
 I'm teaching a new cohort of students this year and was hoping to give
 them a quick SAGE tutorial. Our IT guys have not been able to setup a
 SAGE server in time so I was wondering how stable sagenb is. Is it
 realistic to run a 90 minute lab session (tops) with about 40 odd
 students each logged in to sagenb?

AFAIK, sagenb would most probably (if not certainly) not support that
many people -administrators of sagenb would of course be more
knowledgeable. Actually, your situation is a recurring issue on this
list and people are always advised to set up their own server. You can
do a quick search in the archives for various tips.

I personally had set up a server following these instructions within an hour:
http://wiki.sagemath.org/SageServer
Another approach:
http://wiki.sagemath.org/DanDrake/JustEnoughSageServer

Most important hardware concern is about RAM: A single instance of
Sage worksheet seems to occupy ~90MB (version 4.7.1); so, assuming
that each student work on his/her own worksheet, you would need about
5GB of RAM for 40 people. Also security may be another important
concern, as you would likely want the server to be reachable. See
also:
http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html

Regards,
Berkin

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] How set up new accounts in a Python script? (instead of the notebook web form?)

2011-05-27 Thread Berkin Malkoc
On Fri, May 27, 2011 at 11:01 PM, Chris Seberino cseber...@gmail.comwrote:

 How set up new accounts in a Python script?  (instead of the notebook
 web form?)

 I would like to automate this process if possible.http://www.sagemath.org


It is in the reference:
http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: using existing functions with vectors / lists / arrays

2011-05-22 Thread Berkin Malkoc
 I have something like:
  y = x^2
 
  I can evaluate it at one point:
  y(2) # 4
 
  I'd like to evaluate it at a group of points:
  y( x ) # 2, 4, 9, 16, ...
 
  Can this just work like in IDL or MATLAB? How would one define x?
  What is the quickest syntax if it can't just be a variable? Perhaps:


For purely numerical work a la Matlab, you may want to use numpy arrays (you
will be using Python and not any Sage functionality):

sage: import numpy
sage: x = numpy.array([1, 2, 3, 4])
sage: def y(x):
: return x*x
:
sage: y(x)
array([ 1,  4,  9, 16])

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Sage Live CD (Alternativ based on Puppy Linux)

2010-02-20 Thread Berkin Malkoc
Hi,

 2010/2/20 PKHG pkhgrag...@gmail.com
 
   I tried a download ... but got only 359 MB?
   Trying to burn, complained about not correct lenght.
   So the dowload is 'wrong' I suppose
   Maybe share it at another 'host'?
   Greetings
   Peter



Alex link (http://aghitza.org/misc/SageLivePupv02.iso) worked fine.


Hello Peter,

 Thank's to Harald Schilly SageLivev02.ios is now mirrowed at the
 official Download servers!

 Link: http://www.sagemath.org/download-livecd.html

 However, I would be very happy about feedback concerning:

 * Bugs
 * Localisation (it should be asked at first boot, but it might not)
 * Hardware requirements (Processor, Memory - positiv and negativ
 experiances)
 * any Benchmarks
 * Is there something missing (i.e. the jsmath-fonts .. )

 and generally
 * suggestions and feedback


Thank you very much for this nice project; now it will be easier to impress
friends at the university about the capabilities of both SAGE and Linux. I
would like to share a couple of observations (of course these may have to do
only with Puppy itself):

1- Loading to RAM took quite a while although my machine can be considered
to be new. Maybe user can be urged to be patient.
2- SAGE worked without any problems. (Also, seeing LyX installed was a nice
surprise!)
3- I was not able to switch on touchpad clicking.
4- I was not able to connect to WEP secured wireless through none of the
connection wizards (there were two different). It seemed to get IP number
but no connection was actually established (I'm not an expert by the way!).
5- The screen was dim and I couldn't figure out how to make it brighter.

Regards,
Berkin

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Trouble Building Sage 4.2.1

2010-02-15 Thread Berkin Malkoc
It may be that SELinux is preventing necessary programs from running
(correctly). If this is the case, and as far as I understood from previous
posts, the most practical solution is to disable SELinux during installation
(and maybe for running SAGE later on too; though there seems to be a work
around for this).

Regards,
Berkin


On Mon, Feb 15, 2010 at 8:19 PM, rvaug...@gmail.com rvaug...@gmail.comwrote:

 I am running 64-bit Scientific Linux 4.8.
 I downloaded/un-tar'd sage-4.2.1.tar,
 cd'd to sage-4.2.1 and ran 'make'.

 Relevant output appended.

 -Richard Vaughn

 

 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking C++ compiler g++  -O2 -m64 -march=nocona -mtune=nocona... no,
 std iostream
 checking C++ compiler g++  -g -O2... no, std iostream
 configure: error: C++ compiler not available, see config.log for
 details
 Failed to configure.

 real0m4.167s
 user0m1.497s
 sys 0m1.324s
 sage: An error occurred while installing mpir-1.2.p9
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /usr/share/sage-4.2.1/install.log.  Describe your computer,
 operating system, etc.
 If you want to try to fix the problem yourself, *don't* just cd to
 /usr/share/sage-4.2.1/spkg/build/mpir-1.2.p9 and type 'make'.
 Instead type /usr/share/sage-4.2.1/sage -sh
 in order to set all environment variables correctly, then cd to
 /usr/share/sage-4.2.1/spkg/build/mpir-1.2.p9
 (When you are done debugging, you can type exit to leave the
 subshell.)
 make[1]: *** [installed/mpir-1.2.p9] Error 1
 make[1]: Leaving directory `/usr/share/sage-4.2.1/spkg'

 real5m23.163s
 user3m22.339s
 sys 1m21.842s
 Error building Sage.

 --
 To post to this group, send email to sage-support@googlegroups.com
 To unsubscribe from this group, send email to
 sage-support+unsubscr...@googlegroups.comsage-support%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/sage-support
 URL: http://www.sagemath.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
URL: http://www.sagemath.org


Re: [sage-support] Re: Trouble Building Sage 4.2.1

2010-02-15 Thread Berkin Malkoc
On Mon, Feb 15, 2010 at 10:25 PM, rvaug...@gmail.com rvaug...@gmail.comwrote:

 I appreciate the suggestion (I do recall a Sage v. SELinux issue),
 but after disabling SELinux and rebooting, the 'make' of
 sage-4.2.1 yielded the same result.


I don't think you should have to reboot for the SELinux issue. You could
just switch to permissive mode and go on. Writing this just to be sure.

Berkin

-- 
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
URL: http://www.sagemath.org