User talk:Walterpachl: Difference between revisions

m
testing
mNo edit summary
m (testing)
 
(13 intermediate revisions by 4 users not shown)
Line 12:
:::: I know about the redundant space but mine didn't have any, as far as I can see: <nowiki><math>3435 = 3^3+4^4+3^3+5^5</math></nowiki>. I just tried it with Edge and it does indeed not render, which is strange because Edge does render the Wikipedia math tags. [[User:Fwend|Fwend]] ([[User talk:Fwend|talk]]) 14:17, 24 September 2016 (UTC)
::::: Is that expression well-formed in TeX ? I think that the MediaWiki's generation of a graphic file (with its wrapping HTML) for use by the majority of browsers may choke unless it manages to parse the expression as TeX. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:24, 24 September 2016 (UTC)
::::::: If I copy and paste the math tags above to wikipedia, using exactly the same Edge browser, it renders just fine (in the preview). It looks like this tag only fails at Rosetta Code. [[User:Fwend|Fwend]] ([[User talk:Fwend|talk]]) 15:03, 24 September 2016 (UTC)
:::::::: If you inspect the HTML generated, you will find that the Rosetta installation of MediaWiki is creating the graphic file OK, but dropping a semi-colon between two attributes, so that the browser just finds ill-formed HTML and skips it.
:::::::: Perhaps Wikipedia has installed a later build ? Tho even they have related problems – only yesterday I restored the lost visibility of one of the first three formulae on the Wiki page on Symmetric Difference, by pruning extraneous space out of its &lt;math&gt; tag ... [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 15:07, 24 September 2016 (UTC)
 
::::::::: Just checked – Wikipedia is using a slightly later build '''MediaWiki 1.28.0-wmf.20''' (vs Rosetta's '''MediaWiki 1.26.2''') so an upgrade might reduce the fragility of the '''&lt;math&gt;''' tag processing – though not (to judge from yesterday's invisible Wikipedia formulae) entirely eliminate it.
::::::::: Cosmetic editing will still need to involve checking in both kinds of browsers [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 15:33, 24 September 2016 (UTC)
 
:::::: See https://www.mediawiki.org/wiki/Extension:Math [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:27, 24 September 2016 (UTC)
:::::: https://meta.wikimedia.org/wiki/Help:Displaying_a_formula [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:30, 24 September 2016 (UTC)
Line 76 ⟶ 83:
 
::::: Thanks Walterpachl, it's appreciated. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:16, 4 October 2014 (UTC)
 
==Another transportation problem==
On tio, I modified a copy of [[Transportation_problem#REXX]] to start with
 
4 5 # of sources / # of demands
50 60 50 50 sources
30 20 70 30 60 demands
16 16 13 22 17 cost matrix
14 14 13 19 15
19 19 20 23 50
50 12 50 15 11
 
and found I also had to change the first Do i=1 To 5 in init to Do i=1 To 7, then it worked fine. Obviously it would be better to analyse the first line and then loop/read from 2 to (number of sources+3). It also strikes me the code on that page should actually be on [[Vogel%27s_approximation_method]] and maybe try stepping stone or something else on the tp page, jmo. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:58, 10 December 2020 (UTC)
:Two problems or three:
I discovered Vogel's page only after I finisher this pgm. And my pgm does not properly work with Vogel's data :-(
<br>I am still trying to understand how to optimize :-(
<br>I don't know how t proüerly sign such a text.
<br>Anyway, thanks for caring :-) Walter
:: You sign posts by typing <nowiki>--~~~~</nowiki> but not inside &lt;nowiki&gt;&lt;/nowiki&gt; as I just did then ==&gt;&gt; --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 18:41, 10 December 2020 (UTC)
::Testing --Walter Pachl 19:05, 10 December 2020 (UTC)
2,289

edits