Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Proporzione Divina

by blazar (Canon)
on May 29, 2007 at 19:09 UTC ( [id://618034]=poem: print w/replies, xml ) Need Help??

Perfect Proportion is reached
As node Golden Ratio of 10**6 is hit
And PerlMonks goes even stronger...
#!/usr/bin/perl use strict; use warnings; print <<'INTRO'; <p>Approximations to this node:</p> <ul> INTRO my ($F,$G,$og)=(2,1,''); while (1) { (my $g=sprintf '%0.6f', $G/$F) =~ s/^0\.//; last if $g eq $og; print "<li>[id://$g]</li>\n"; ($F,$G,$og)=($F+$G,$F,$g); } print "</ul>\n"; __END__

Approximations to this node:

Eagerly waiting for nodes 1618034, 6180340 and beyond!!


(Title, inspiration and a few suggestions courtesy of liverpole.)

Replies are listed 'Best First'.
Re: Proporzione Divina
by liverpole (Monsignor) on May 29, 2007 at 19:53 UTC
    ++blazar,

    Very nice!  :-D

    I resisted the urge to check Newest Nodes as the number was getting closer, on the miniscule chance that doing so would prevent you from getting a refresh in time.  I'll bet you got a little anxious waiting to "pounce" on that number, didn't you?  ;-)

    After you mentioned your idea to me, I started thinking about an appropriate, similarly-fashioned obfuscation.  Following your lead, I'll post this obfuscation in the future... heh, heh!


    s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
      I'll bet you got a little anxious waiting to "pounce" on that number, didn't you?

      You bet I did! Well... indeed you do, actually that's what you claim! Anyway, after I saw 618032 I started frantically pressing the "Check for newer nodes" button, and then I slightly feared that being intercepted as a bot or something with my IP being blocked as consequence... ;-)

      After you mentioned your idea to me, I started thinking about an appropriate, similarly-fashioned obfuscation. Following your lead, I'll post this obfuscation in the future... heh, heh!

      You know, you left me for some seconds pondering which mathematical constant were you referring to...

Re: Proporzione Divina
by Gavin (Archbishop) on May 29, 2007 at 20:12 UTC
    You learn something new everday at Perlmonks. I didn't know what a Golden ratio was and had to look it up at Wikipedia
    ++ blazar and liverpole
      You learn something new everday at Perlmonks. I didn't know what a Golden ratio and had to look it up at Wikipedia

      Yep, maybe it's just me because I know the Golden Ratio by heart to twelve decimal digits (basically, those a pocket calculator gives you) since... I don't even remember when: and I didn't sat down trying to learn it; I just "had" to type it here and there somewhere in the past, and it stuck.

Re: Proporzione Divina
by shmem (Chancellor) on May 29, 2007 at 21:45 UTC
    Brilliant, blazar!

    I've bookmarked this node, to see what falls into place... :-)

    I would have liked another node at 618037, but well... so are things, and maybe he's right, even... :-P

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      I've bookmarked this node, to see what falls into place... :-)

      There's time enough, up to the rough 2/3 approximation...

      I would have liked another node at 618037, but well... so are things, and maybe he's right, even... :-P

      Anonycoward?!? Well, he may be right, but as far as I'm concerned all bets are off. (If that is the correct idiomatic expression!)

Re: Proporzione Divina
by wulvrine (Friar) on May 30, 2007 at 13:40 UTC
    Ha! Nice one ++!
    I thought it funny two links were in the same thread!
    Heck of a job :) Going to have to look back later :)

    s&&VALKYRIE &&& print $_^q|!4 =+;' *|

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://618034]
Approved by liverpole
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-18 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found