14 Jun '13, 1am

ruby c-extensions rhttp://goo.gl/yKhVu (script de python) (script de ruby) (gem…

Sign up for a GitHub Account Sign in public 3zcurdia / pi.py Created 2013-06-14 Pi with Machin's formula Gist Detail Revisions 2 Download Gist Clone this gist Embed this gist Link to this gist pi.py Python File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 #!/usr/bin/env python # http://en.literateprograms.org/Pi_with_Machin's_formula_(Python)?action=history&offset=20080618194038 def arccot ( x , unity ): sum = xpower = unity // x n = 3 sign = - 1 while 1 : xpower = xpower // ( x * x ) term = xpower // n if not term : break sum += sign * term sign = - sign n += 2 return sum def pi ( digits ): unity = 10 ** ( digits + 10 ) pi = 4 * ( 4 * arccot ( 5 , unity ) - arccot ( 239 , unity )) return pi // 10 ** 10 if __name__ == '__main__' : print ( pi ( 100000 ) ) Please sign in to comment on this gist. Something went wrong with that requ...

Full article: https://gist.github.com/3zcurdia/5778522

Tweets

ruby c-extensions rhttp://goo.gl/yKhVu (script ...

gist.github.com 14 Jun '13, 1am

Sign up for a GitHub Account Sign in secret 3zcurdia / pi.rb Created 2013-06-14 Gist Detail Revisions 1 Download Gist Clon...

ruby c-extensions rhttp://goo.gl/yKhVu (script ...

github.com 14 Jun '13, 1am

Gem to calculate n digits of irrational numbers very fast Installation Add this line to your application's Gemfile: gem 'n...

chrome-profile-manager - Script Ruby pour gérer...

news.humancoders.com 14 Jun '13, 5am

Dev. Front chrome-profile-manager - Script Ruby pour gérer vos profils Chrome sur Mac OS (fr) Partagé par Camille Roux il ...

Some kid created a web site for me on Ruby on R...

freelancer.com 12 Jun '13, 11pm

Some kid created a web site for me on Ruby on Rails. He developed it in Heroku. After he finished and I approved the websi...

railsmx : Aprendiendo Ruby

rails.mx 12 Jun '13, 11pm

En nuestra próxima reunión seguiremos aprendiendo a programar en Ruby, iniciando con conceptos básicos de programación, y ...

Antes de aprender Rails aprende Ruby: Primeros pasos necesarios en Ruby

Antes de aprender Rails aprende Ruby: Primeros ...

Una de las reglas fundamentales de Ruby es que tengamos en cuenta que todo es un objeto, es importante que este punto lo t...

Introduction to Ruby on Rails, este viernes 21 de Junio

Introduction to Ruby on Rails, este viernes 21 ...

facebook.com 12 Jun '13, 4pm

Desde la comodidad de tu Trabajo o tu Hogar. Sesiones en vivo con tu instructor Certificado, en español y a distancia. Sin...

formula1.db - free public domain F1 / Formula O...

rubyflow.com 10 Jun '13, 9pm

formula1.db - free public domain F1 / Formula One database n models in Ruby Posted by geraldbauer on June 10, 2013 — 0 com...

[de PHP à Rails] Jour 10 : Sprockets

news.humancoders.com 10 Jun '13, 3pm

Bonjour ! Aujourd'hui je m'attaque à la découverte et à la personnalisation de Sprockets, le gestionnaire d'assets de Ruby...

Automated programming and testing jig built with Raspberry Pi

Automated programming and testing jig built wit...

hackaday.com 10 Jun '13, 9pm

[Doug Jackson] makes word clocks, and he must be doing quite a bit of business. We say that because he put together a prog...

Being paranoid with Ruby gems

rubyflow.com 10 Jun '13, 10am

Being paranoid with Ruby gems Posted by gravis on June 10, 2013 — 0 comments We all know the unpleasant consequences if we...

@skieft

@skieft

element14.com 15 Jun '13, 5pm

So where is JHDMI pin 3 connected to the Micro HDMI and USB connectors? Well I decided to go through the long process of a...

#freelance jobs: Ruby on Rails - Heroku - JSON ...

freelancer.com 09 Jun '13, 11pm

Project Description: Project involves existing open source script. Mainly front-end development cloning some additional fu...

How to Script Your Explainer Videos with Celtx ...

reelseo.com 07 Jun '13, 6pm

Sitting down to write a script for a promo/explainer video can be daunting. A good scriptwriting application can relieve y...

Já temos 85 inscritos no hangout Carreira Ruby ...

facebook.com 05 Jun '13, 2pm

Hangout Carreira Ruby on Rails | Facebook