Talk:Hofstadter Q sequence: Difference between revisions

(→‎found the 100000th term,any news?: fixed malformed link; also, huh?)
 
(3 intermediate revisions by 2 users not shown)
Line 13:
 
: This is not challenge site, and the task is not meant to be a challenge, especially not the 100,000th term, which many of the code examples on the task can already do. That number is mentioned somewhere on this talk page because it causes very deep recursions and stack overflow if you use a purely recursive method, but it's nothing special. --[[User:Ledrug|Ledrug]] ([[User talk:Ledrug|talk]]) 20:36, 3 June 2015 (UTC)
 
:: Indeed, I just checked, and as of today, only 5 computer programming examples (out of 49) &nbsp; ''didn't'' &nbsp; execute their programs with (or for) 100,000 terms. &nbsp; It should be noted that this Rosetta Code task didn't specifically ask for (displaying) the 100,000<sup>th</sup> term, so almost every example didn't show it. &nbsp; I modified the three REXX programming examples to show the 100,000<sup>th</sup> term; &nbsp; it was a very minor addition to one of the existing REXX statement. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:07, 3 June 2015 (UTC)
 
:: I just added support to show the 1,000,000<sup>th</sup> term for the three REXX programming examples, it was no big deal (even for the recursive example). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:26, 3 June 2015 (UTC)
 
==Python non-recursive solution==
Line 32 ⟶ 36:
: It appears that all <nowiki><math></nowiki> handling on this page is entirely broken (I tested with a very simple version that shouldn't have required an external renderer; “<tt><nowiki><math>1</math></nowiki></tt>” which renders as “<math>1</math>”). Haven't checked on other pages yet (not that I expect it to be working there) but it could be associated with the recent updates. –[[User:Dkf|Donal Fellows]] 09:09, 14 December 2011 (UTC)
:: [http://irclog.perlgeek.de/rosettacode/2011-12-14 IRC log] says that <nowiki><math></nowiki> now works. However, I find that <nowiki><math></nowiki> remains broken until someone edits the page. I fixed this page with [http://rosettacode.org/mw/index.php?title=Hofstadter_Q_sequence&diff=128336&oldid=128261 a minor edit to Ruby]. Any single edit seems to reset the cache, so <nowiki><math></nowiki> works again. --[[User:Kernigh|Kernigh]] 19:00, 14 December 2011 (UTC)
 
 
==Formulae hidden to most browsers by under-tested cosmetic edits at 03:46, 20 April 2016 ==
 
Under-tested cosmetic edits made to the task page at 03:46, 20 April 2016, including the injection of spaces around expressions in &lt;math&gt; tags, have left some or all of the task description formulae completely invisible to all browsers which display the graphic file version of formulae rather than processing the MathML (this is, in fact, the majority of browsers). The MediaWiki processor does not currently expect such spaces, and generates syntactically ill-formed HTML if they are introduced. Other aspects of these cosmetic edits may further compound the problem. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 19:53, 22 September 2016 (UTC)
 
: Repaired today [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 21:55, 13 November 2016 (UTC)
9,655

edits