Re: [sage-support] Re: Sage installation on windows : browser cannot connect

2012-04-18 Thread Jean-Pierre Flori
There is some Sage meeting this afternoon in Paris.
I have a Windows 7 installation on my laptop, I'll give a VirtualBox 
installation a try, maybe I'll be more lucky than last time.
That was particularly painful to have people ready to try Sage on their 
computer at a previous meeting, but being unable to connect to the Sage 
notebook server running inside the virtual machine.

By the way, I have had no problems running a notebook server within a 
VirtualBox virtual machine on a Debian guest, and having a dozen of 
students connecting to it from distant hosts...

On Tuesday, April 17, 2012 8:49:01 PM UTC+2, Volker Braun wrote:

 Yes, except that any machine on the LAN can act as a dhcp server. Not just 
 the VM host.


 On Tuesday, April 17, 2012 2:45:05 PM UTC-4, Robert wrote:

 OK. So if my Windows machine isn't also a DHCP server for the Sage 
 Virtualbox, there will be nothing. Good to know. Thanks!

 On Tue, Apr 17, 2012 at 2:40 PM, Volker Braun vbraun.n...@gmail.comwrote:

 If you set the networking to bridged the IP address of the virtual 
 machine will be determined by dhcp. If you don't have a dhcp server, it 
 will not set up networking.



 On Tuesday, April 17, 2012 2:30:04 PM UTC-4, Robert wrote:

 On Wednesday, March 28, 2012 9:06:31 AM UTC-4, Matthias L wrote:
  Dear group,
  
  I've tried to install Sage on Windows 7 following the installation 
 guide linked below. It seems to work until step 4, I get the same console 
 window as shown in the screen shot there (Open your web browser). But if 
 I do so, I can't connect to Sage and receive a 404 error instead.
  
  Installation guide
  http://wiki.sagemath.org/**SageAppliancehttp://wiki.sagemath.org/SageAppliance
  
  Virtual Box 4.1.10, Sage 4.8
  
  Some ideas?
  
  Thank you, Matthias

 I also am stuck, but my problem is a Virtualbox problem. I have 
 Sage-4.8 running, but I don't know how to see it from another computer. If 
 I have it to NAT I can see the notebook on my PC. If I make it bridged, 
 what is the IP address I'd use? If it were local I'd use 
 http://localhost:8000. My machine has a fixed IP. Do I use 
 aaa.bbb.ccc.ddd:8000? That isn't working for me. Do you have any 
 suggestions?

  -- 
 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




 -- 
 Robert Blanchette
 robert.blanchet...@gmail.com
 @TeamGeofrog

  

-- 
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


[sage-support] Re: Sage installation on windows : browser cannot connect

2012-04-18 Thread emil


  If I make it bridged, what is the IP address I'd use?

stop the sage notebook server (with Ctr-C) and type ifconfig. This should 
show you your IP address on the network.

It should also show in the startup message of the notebook server.

-- 
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


[sage-support] Re: Determining if a ring has any non-trivial idempotents

2012-04-18 Thread JamesHDavenport
I would doubt it very much. I imagine the same techniques as Fr\ohlich,A. 
 Shepherdson,J.C., Effective Procedures in Field Theory. Phil, Trans. Roy. 
Soc. Ser. A 248(1955-6) pp. 407-432, can be used to construct a ring which 
has nontrivial idempotents iss we can determine membership in a recursively 
enumerable sequence. I think you would need to know how the ring was 
constructed.

On Tuesday, 17 April 2012 19:37:29 UTC+1, diophan wrote:

 Is there any way in sage to determine if a commutative ring with unity R 
 has any idempotents other than 0 or 1? My R's have infinitely many elements 
 so squaring all the elements isn't going to work. This is equivalent to R 
 being isomorphic to a product of two non-trivial rings.



-- 
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: Determining if a ring has any non-trivial idempotents

2012-04-18 Thread David Loeffler
On 18 April 2012 15:50, diophan rdeberh...@gmail.com wrote:
 I'll check out the reference. If it makes the situation any better the ring
 is a quotient of a polynomial ring over a finite field.

If it's a quotient of a one-variable polynomial ring, you can just
factor the defining polynomial, can't you? The quotient will have
non-trivial idempotents iff the polynomial has more than one
irreducible factor.

David

-- 
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: Determining if a ring has any non-trivial idempotents

2012-04-18 Thread diophan
It's multivariate (sorry I didn't specify), so being irreducible and having 
no non-trivial idempotents aren't equivalent.

On Wednesday, April 18, 2012 4:04:04 PM UTC-4, David Loeffler wrote:

 On 18 April 2012 15:50, diophan rdeberh...@gmail.com wrote:
  I'll check out the reference. If it makes the situation any better the 
 ring
  is a quotient of a polynomial ring over a finite field.

 If it's a quotient of a one-variable polynomial ring, you can just
 factor the defining polynomial, can't you? The quotient will have
 non-trivial idempotents iff the polynomial has more than one
 irreducible factor.

 David



-- 
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] Importing Cython .so module

2012-04-18 Thread Emil
Hi Robert, thanks for taking an interest in my problem! I've been
unwell, and could not respond sooner. I can't put an __init__.py file
in the top-level /site-packages directory as far as I am aware, and
I'm not sure that would be a sensible thing to do to my users...

I think my original email specifies the problem clearly:

I have a package I would like to distribute, that Sage users can
install using distutils, and I want to be able to import a
Cython-generated extension without it polluting the global namespace.

I suspect this is nothing to do with Cython, or Sage, but to do with
Python or disutils, but I am not sure... If someone could at least
clarify what area this problem fits into that would be a great help
because I can then go to the appropriate forums. Thanks,

Emil

-- 
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