There's more than one way to do things PerlMonks

Proporzione Divina

by blazar (Canon)
 on May 29, 2007 at 19:09 UTC ( #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 (Chancellor) 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 ++!
Heck of a job :) Going to have to look back later :)

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

Create A New User
Node Status?
node history
Node Type: poem [id://618034]
Approved by liverpole
Front-paged by planetscape
help
Chatterbox?
 [choroba]: software is never completed [choroba]: becuase the hardware always changes beneath it, at least [Discipulus]: yes i think I know a bit about you: if I would had the competence and the will to accomplish something like MCE.. i'd be running here and there with flags and t-shirt about.. ;=) Lady_Aleena rolls over on the sofa, pulling a light blanket over her, and falls to sleep. [Discipulus]: but world is fun beacause it is manifold [Discipulus]: anyway congratulations marioroy imho your work is very good and useful

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-05-26 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
My favorite model of computation is ...

Results (189 votes). Check out past polls.