User talk:Paddy3118: Difference between revisions

Line 1,694:
: I agree with you, primes are a natural grouping. On the name for "others" it might be best to see what gets put there and name it afterwards?<br>
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 15:39, 11 July 2020 (UTC)
 
 
== «math» HTML tags not rendering correctly ==
 
In a Rosetta Code task &nbsp; (that I entered, &nbsp; namely the task: &nbsp; '''Leonardo numbers'''), &nbsp; I tried to use the &nbsp; ''exact'' &nbsp; <big> <nowiki> <math> </nowiki> </big> &nbsp; HTML tag that is used on Wikipedia &nbsp; (for '''Leonardo number'''), &nbsp; but on Rosetta Code, &nbsp; it produces a big red error message.
 
 
Here is the Wikipedia code, as-is &nbsp; (from the &nbsp; '''Leonardo number''' &nbsp; entry on Wikipedia):
<pre>
:<math>
L(n) =
\begin{cases}
1 & \mbox{if } n = 0 \\
1 & \mbox{if } n = 1 \\
L(n - 1) + L(n - 2) + 1 & \mbox{if } n > 1 \\
\end{cases}
</math>
</pre>
 
 
{I also have the (above) code "inside" the &nbsp; '''Leonardo numbers''' &nbsp; Rosetta Code task as an HTML comment.}
 
 
The error messages produced are &nbsp; (the original error message is one big long sentence):
<b>
<pre style="font-size:200%;color: red">
Failed to parse (MathML with SVG or PNG fallback (recommended
for modern browsers and accessibility tools): Invalid
response ("<p>There was a problem during the HTTP request:
503 Service Unavailable </p>") from server
"http://mathoid.testme.wmflabs.org":):
L(n) = \begin{cases} 1 & \mbox{if } n = 0 \\ 1 & \mbox{if }
n = 1 \\ L(n - 1) + L(n - 2) + 1 & \mbox{if } n > 1 \\
\end{cases}
</pre>
</b>
 
 
The (above) messages are very similar to the error messages produced when there are leading and/or trailing whitespace in the &nbsp; <big> <nowiki> <math> </nowiki> </big> &nbsp; HTML tags elsewhere on Rosetta Code.
 
Now, the (failing) text does have leading and trailing blanks, &nbsp; but it <u>does</u> work on Wikipedia, &nbsp; but not on Rosetta Code. &nbsp; You may recall the tiff that ensued when I used leading and trailing blanks on various &nbsp; <big> <nowiki> <math> </nowiki> </big> &nbsp; HTML tags, &nbsp; (it worked for FireFox, but not some other web browsers), &nbsp; and the ensuing stone throwing. &nbsp; Apparently, it's easier to cast stones than address the real problem. &nbsp; I had found/mentioned a fix that I read about after searching in the dark &nbsp; (this was because the error is caused in an "area" of HTML rendering that I newer heard or knew of), &nbsp; but the fix (not a program fix, but some kind of specification) &nbsp; was never implemented as far as I know; &nbsp; the fix is outside of my knowledge of such things.
 
I have elided the leading, trailing, and embedded superfluous whitespace, &nbsp; but no matter what combination I used, it always produced an error message.
 
 
In trying to debug the (above) error, &nbsp; I had taken the &nbsp; <big> <nowiki> <math> </nowiki> </big> &nbsp; HTML tag that is used within the preamble of the Rosetta Code task &nbsp; '''Bernoulli numbers''', &nbsp; and I changed (on the Rosetta Code task &nbsp; '''Bernoulli numbers''') &nbsp; the bold &nbsp; '''B''' &nbsp; within the &nbsp; <big> <nowiki> <math> </nowiki> </big> &nbsp; HTML tag text to an &nbsp; '''S''', &nbsp; and that also produced the same error!! &nbsp; &nbsp; Just an attempted single character change. &nbsp; I also tried various other character (letter) substitutions, &nbsp; all produced the same error message. &nbsp; No whitespace was changed. &nbsp; What's going on? &nbsp; A caching problem, perhaps? &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:10, 11 July 2020 (UTC)
 
 
Also &nbsp; (and you might want to burn this paragraph after reading, least I propagate vandelous information), &nbsp; I have found that when those particular red bold error messages are produced, &nbsp; <u>and</u> &nbsp; &nbsp; left &nbsp; &nbsp; there &nbsp; (without clearing the display of the error), &nbsp; and then, &nbsp; in another (FireFox or Internet Explorer) window, &nbsp; trying to access the Rosetta Code website (any page), &nbsp; I essentially received a (I think) a &nbsp; '''505''' &nbsp; (504?) error saying that the '''Rosetta Code''' website isn't responding. &nbsp; Now, it could be that only '''I''' couldn't access the Rosetta Code site, not others. &nbsp; In essence, I may have stumbled on a method for a denial-of-service. &nbsp; This is one reason that I think this problem should be addressed and fixed. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:10, 11 July 2020 (UTC)