Talk:Hickerson series of almost integers: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Perl 6 comment: origin of the mystery message)
Line 14: Line 14:
Hi Timtoady, I put the comment <code># Looks like you failed 2 tests of 17</code> outside the <nowiki><pre>...</pre></nowiki> block (but still in the output section) just to emphasise that it was not output printed by the program but something added in after. Or so I thought after scanning the Perl 6 source for that line as code. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:18, 4 January 2014 (UTC)
Hi Timtoady, I put the comment <code># Looks like you failed 2 tests of 17</code> outside the <nowiki><pre>...</pre></nowiki> block (but still in the output section) just to emphasise that it was not output printed by the program but something added in after. Or so I thought after scanning the Perl 6 source for that line as code. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:18, 4 January 2014 (UTC)
:That summary is output by the Test module we're using. Test Anything Protocol (TAP) has a long and storied history in Perl—most Perl modules come with oodles of tests, so it's pretty baked into the culture to use Test (or one of its derivatives) whenever you can. So there's no explicit print of the summary; it just happens automatically on any test exit with less than full success. It's a comment so that TAP will ignore it. --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 03:58, 5 January 2014 (UTC)
:That summary is output by the Test module we're using. Test Anything Protocol (TAP) has a long and storied history in Perl—most Perl modules come with oodles of tests, so it's pretty baked into the culture to use Test (or one of its derivatives) whenever you can. So there's no explicit print of the summary; it just happens automatically on any test exit with less than full success. It's a comment so that TAP will ignore it. --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 03:58, 5 January 2014 (UTC)

::Thanks. I get it now. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:16, 5 January 2014 (UTC)


==Clojure?==
==Clojure?==

Revision as of 07:16, 5 January 2014

OEIS

I stuck the first five nearest integers from the series into The On-Line Encyclopedia of Integer Sequences whereupon I discovered it as series A034172 and the search for terms mentions more series. --Paddy3118 (talk) 11:02, 1 January 2014 (UTC)

range 1 to 17

Why does the reference article claim 1 to 17 when it also has 'almost integers' only up to 15? --Walterpachl (talk) 11:59, 4 January 2014 (UTC)

Why indeed? I just put it down to a hasty compilation of the page. It did point out to me that there was a task to be done though :-)
--Paddy3118 (talk) 16:35, 4 January 2014 (UTC)
I just made this point to the MathWorl team. --Paddy3118 (talk) 17:30, 4 January 2014 (UTC)

Perl 6 comment

Hi Timtoady, I put the comment # Looks like you failed 2 tests of 17 outside the <pre>...</pre> block (but still in the output section) just to emphasise that it was not output printed by the program but something added in after. Or so I thought after scanning the Perl 6 source for that line as code. --Paddy3118 (talk) 17:18, 4 January 2014 (UTC)

That summary is output by the Test module we're using. Test Anything Protocol (TAP) has a long and storied history in Perl—most Perl modules come with oodles of tests, so it's pretty baked into the culture to use Test (or one of its derivatives) whenever you can. So there's no explicit print of the summary; it just happens automatically on any test exit with less than full success. It's a comment so that TAP will ignore it. --TimToady (talk) 03:58, 5 January 2014 (UTC)
Thanks. I get it now. --Paddy3118 (talk) 07:16, 5 January 2014 (UTC)

Clojure?

Perhaps the Clojure entry was deleted by mistake. Too many edits in a short time? -bearophile (talk) 19:51, 4 January 2014 (UTC)

Apparently so: I changed < pre > to < /pre > at the bottom :-( --Walterpachl (talk) 20:00, 4 January 2014 (UTC)