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


Groups > comp.lang.python > #4673

[OT]: PiCloud - really cool!

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prologic@shortcircuit.net.au>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'skip:# 20': 0.03; 'python': 0.07; 'to:name:python list': 0.09; 'def': 0.13; 'stumbled': 0.16; 'subject:cool': 0.16; 'subject:really': 0.16; "hasn't": 0.19; 'received:209.85.213': 0.23; 'wrote': 0.25; 'skip:# 10': 0.25; 'skip:[ 10': 0.26; 'message- id:@mail.gmail.com': 0.28; 'cloud': 0.29; 'solved': 0.31; 'subject:]: ': 0.31; 'random': 0.31; 'anyone': 0.31; 'import': 0.32; 'to:addr:python-list': 0.32; 'test': 0.33; 'subject:[': 0.34; 'using': 0.34; 'print': 0.35; 'yet,': 0.35; 'some': 0.37; 'received:209.85': 0.37; 'run': 0.37; 'received:google.com': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'works': 0.40; 'header:Received:5': 0.40; 'upon': 0.63; 'subject:!': 0.68; 'locally': 0.91
MIME-Version 1.0
From James Mills <prologic@shortcircuit.net.au>
Date Thu, 5 May 2011 10:13:21 +1000
Subject [OT]: PiCloud - really cool!
To python list <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1174.1304554424.9059.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 82.94.164.166
X-Trace 1304554424 news.xs4all.nl 81482 [::ffff:82.94.164.166]:45646
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4673

Show key headers only | View raw


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! :)

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"

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


Thread

[OT]: PiCloud - really cool! James Mills <prologic@shortcircuit.net.au> - 2011-05-05 10:13 +1000
  Re: : PiCloud - really cool! Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@gmail.com> - 2011-05-05 06:11 -0700

csiph-web