Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4674

Re: [OT]: PiCloud - really cool!

References <BANLkTimk2An8md-7cox47RzBGvv-WYUzqg@mail.gmail.com>
Date 2011-05-04 17:19 -0700
Subject Re: [OT]: PiCloud - really cool!
From geremy condra <debatem1@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1175.1304554781.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, May 4, 2011 at 5:13 PM, James Mills
<prologic@shortcircuit.net.au> wrote:
> If anyone hasn't seen this yet, I encourage you to!
> (I stumbled upon it with some random thoughts and Gooogling)
>
> http://www.picloud.com/
>
> Here's a quick test I wrote up that works locally using the simulator
> and live (I did run it live):
>
> #!/usr/bin/env python
>
> import cloud
>
> def fib(n):
>    a, b, = 1, 1
>    while n > 1:
>        a, b = b, a + b
>        n -= 1
>    return b
>
> #cloud.start_simulator()
>
> jobs = cloud.map(fib, range(100))
>
> print [cloud.result(job) for job in jobs]
>
> Enjoy! :)

I was the poster across from them at PyCon two years back. Pretty fun
to play with, although last I checked it was hard to do true HPC on
it.

Geremy Condra

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [OT]: PiCloud - really cool! geremy condra <debatem1@gmail.com> - 2011-05-04 17:19 -0700

csiph-web