Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4673 > unrolled thread
| Started by | James Mills <prologic@shortcircuit.net.au> |
|---|---|
| First post | 2011-05-05 10:13 +1000 |
| Last post | 2011-05-05 06:11 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
[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
| From | James Mills <prologic@shortcircuit.net.au> |
|---|---|
| Date | 2011-05-05 10:13 +1000 |
| Subject | [OT]: PiCloud - really cool! |
| Message-ID | <mailman.1174.1304554424.9059.python-list@python.org> |
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"
[toc] | [next] | [standalone]
| From | Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@gmail.com> |
|---|---|
| Date | 2011-05-05 06:11 -0700 |
| Subject | Re: : PiCloud - really cool! |
| Message-ID | <57a80dce-9a05-4239-ba62-87ba4679aacb@x3g2000yqj.googlegroups.com> |
| In reply to | #4673 |
On May 4, 8:13 pm, James Mills <prolo...@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! :) > > cheers > James > > -- > -- James Mills > -- > -- "Problems are solved by method" It looks interesting but unfortunately is not free software :(
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web