[sage-devel] Re: Sage + Hadoop

2012-02-24 Thread Keshav Kini
First we need to upgrade our IPython to 0.12! Is anyone working on it? -Keshav Join us in #sagemath on irc.freenode.net ! On Saturday, February 25, 2012 7:25:10 AM UTC+8, Harald Schilly wrote: > > personally, i'm a fan of IPython's parallelization framework. Maybe it > would be best to ext

[sage-devel] Re: set_random_seed does not seed Python's random number generator

2012-02-24 Thread Nils Bruin
On Feb 24, 3:17 pm, William Stein wrote: [reason for current design] > But what was it?    Since he is MIA, we might not ever know... When you look a little at how Python's random.Random is designed, his design seems a fairly clean solution. Whether it leads to a convenient interface is another q

Re: [sage-devel] matrix semigroups in SAGE

2012-02-24 Thread Florent Hivert
Hi, > I am looking for a way to define 1) finite (multiplicative) semigroups > generated by a set of square 0/1 matrices where the composition is the > reduced matrix multiplication (reduce the product of two 0/1 matrices > by putting a 1 whenever the result is positive and a 0 otherwise) o

[sage-devel] Re: Sage + Hadoop

2012-02-24 Thread Harald Schilly
personally, i'm a fan of IPython's parallelization framework. Maybe it would be best to extend their existing framework? this would benefit sage directly because ipython is included. implementing higher-level interfaces directly into sage will come handy later. H -- To post to this group, sen

[sage-devel] Re: matrix semigroups in SAGE

2012-02-24 Thread Vincent D
Hi, The best place to look at is in sage/categories/examples/ semigroups.py. Following FreeSemiGroup in the file mentioned above, I was able to implement 1) in 50 lines, which make me think that the category mechanism is not so bad ;-) I do have a question : do you know a small set of generators

[sage-devel] Re: Sage + Hadoop

2012-02-24 Thread Florent Hivert
Hi Andrew, On Thu, Feb 23, 2012 at 12:44:39PM -0800, akm wrote: > > I'm interested. But in the practical application I've in mind, the data > > isn't > > there it is generated on the fly by sage itself. The problem it to gather > > information (eg: the size) on huge sets from combinatorics. Th

Re: [sage-devel] Re: Sage + Hadoop

2012-02-24 Thread Florent Hivert
On Thu, Feb 23, 2012 at 12:52:38PM -0800, akm wrote: > > I'm interested. But in the practical application I've in mind, the data > > isn't > > there it is generated on the fly by sage itself. The problem it to gather > > information (eg: the size) on huge sets from combinatorics. Those sets are >

Re: [sage-devel] Re: set_random_seed does not seed Python's random number generator

2012-02-24 Thread William Stein
On Fri, Feb 24, 2012 at 2:11 PM, Nils Bruin wrote: > On Feb 22, 1:46 pm, William Stein wrote: >> I would think this is an obvious serious bug... but since it seems so >> blatant, maybe I'm missing something. > > See #12580. It looks like it was Witty's design to wrap python's > random rather than

[sage-devel] Re: set_random_seed does not seed Python's random number generator

2012-02-24 Thread Nils Bruin
On Feb 22, 1:46 pm, William Stein wrote: > I would think this is an obvious serious bug... but since it seems so > blatant, maybe I'm missing something. See #12580. It looks like it was Witty's design to wrap python's random rather than set global state immediately. He probably had good reasons t

[sage-devel] matrix semigroups in SAGE

2012-02-24 Thread mhs
Hi, I am looking for a way to define 1) finite (multiplicative) semigroups generated by a set of square 0/1 matrices where the composition is the reduced matrix multiplication (reduce the product of two 0/1 matrices by putting a 1 whenever the result is positive and a 0 otherwise) or more generall

[sage-devel] Re: set_random_seed does not seed Python's random number generator

2012-02-24 Thread Mariah
This is now trac #12580. Mariah On Feb 22, 4:46 pm, William Stein wrote: > Hi Sage-Devel, > > I was very surprised by this just now: > > sage: import random > sage: random.randint(0,20) > 0 > sage: set_random_seed(0) > sage: random.randint(0,20) > 0 > sage: set_random_seed(0) > sage: random.rand

Re: [sage-devel] Re: sagenb.org restarted

2012-02-24 Thread R. Andrew Ohana
> That's already 2 and a half hours ago, though. It looks like the bind mounts > of > /scratch and /home (from resp. /mnt/disk/scratch and /mnt/disk/home) didn't > succeed. That's what's causing the ssh password prompt. /home and /scratch are fixed now. -- Andrew -- To post to this group, send

[sage-devel] Re: Sage + Hadoop

2012-02-24 Thread Andrew Musselman
> In any case the streaming utility seems quit like what would be good for > Sage. What do I have to do to take a file with, say, a lot of random > numbers and then use a Sage script to compute the square of each? Can you > give me a brief description? Here's a way to perform that task using sage

[sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Keshav Kini
William Stein writes: > It works fine for me now... That is because Jason just restarted it (see the rest of the thread :) ) Thanks, Jason, Willem! -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe fro

Re: [sage-devel] sagenb.org restarted

2012-02-24 Thread William Stein
On Friday, February 24, 2012, Keshav Kini wrote: > sagenb.org is throwing 503s now. It works fine for me now... > test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all working fine. > > -Keshav > > > Join us in #sagemath on irc.freenode.net ! > > -- > To post to this group, send a

[sage-devel] Re: Sage library on GitHub

2012-02-24 Thread Keshav Kini
Er. Well, that didn't line up very well. Here it is in forced monospace in an HTML email for those of you reading this on google groups: <-- past future --> - - - O --- A --- O --- O --- O --- B --- O --- O - - - - - - HEAD ^^^

[sage-devel] Re: Sage library on GitHub

2012-02-24 Thread Keshav Kini
P Purkayastha writes: > On Friday, February 24, 2012 7:40:07 PM UTC+8, Keshav Kini wrote: > Eh?! I set up my local branch to track the remote/github-master branch because > I wanted to read the README.rst sometime (Yeah I know I could change branches > and then read it ;)). Well, the README.rst i

[sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Jason Grout
On 2/24/12 11:26 AM, Willem Jan Palenstijn wrote: On Fri, Feb 24, 2012 at 11:18:47AM -0600, Jason Grout wrote: On 2/24/12 11:11 AM, Jason Grout wrote: On 2/24/12 10:38 AM, Keshav Kini wrote: sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all workin

Re: [sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Willem Jan Palenstijn
On Fri, Feb 24, 2012 at 11:18:47AM -0600, Jason Grout wrote: > On 2/24/12 11:11 AM, Jason Grout wrote: > >On 2/24/12 10:38 AM, Keshav Kini wrote: > >>sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and > >>flask.sagenb.org are all working fine. > >> > > > >sagenb.org is running

[sage-devel] Re: Sage library on GitHub

2012-02-24 Thread P Purkayastha
On Friday, February 24, 2012 7:40:07 PM UTC+8, Keshav Kini wrote: > > Keshav Kini writes: > > You can see it at http://github.com/sagemath/sagelib . Hopefully we can > use it > > as more than a mirror someday! I welcome any comments or suggestions :) > > To anyone who has cloned this from github

[sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Jason Grout
On 2/24/12 11:11 AM, Jason Grout wrote: On 2/24/12 10:38 AM, Keshav Kini wrote: sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all working fine. sagenb.org is running on mod, while all the rest are running on geom. Funny thing is that when I try t

[sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Jason Grout
On 2/24/12 10:38 AM, Keshav Kini wrote: sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all working fine. sagenb.org is running on mod, while all the rest are running on geom. Funny thing is that when I try to log into mod, it doesn't use my SSH k

Re: [sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Keshav Kini
sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all working fine. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-d

[sage-devel] Re: Sage library on GitHub

2012-02-24 Thread Keshav Kini
Keshav Kini writes: > You can see it at http://github.com/sagemath/sagelib . Hopefully we can use it > as more than a mirror someday! I welcome any comments or suggestions :) To anyone who has cloned this from github, please delete your branch called "github-master" and rebase anything that was b