Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory internal-categories k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorUrs
    • CommentTimeFeb 25th 2015
    • (edited Feb 25th 2015)

    on my system presently when following this anchor

      http://ncatlab.org/nlab/show/Čech+cohomology#AbelianCechCohomologyDefinition
    

    the browser takes me to the top of another subsection, different form the one that this anchor refers to. However the correct subsection is being highlighted (shaded in grey). Something funny is going on. Is it just on my system? Or am I missing something?

    • CommentRowNumber2.
    • CommentAuthorZhen Lin
    • CommentTimeFeb 25th 2015

    It works for me?

    • CommentRowNumber3.
    • CommentAuthorTodd_Trimble
    • CommentTimeFeb 25th 2015

    Takes me straight to the Definition section.

    • CommentRowNumber4.
    • CommentAuthorUrs
    • CommentTimeFeb 25th 2015

    Zhen Lin, Todd, Thanks for the feedback! This means it must be something on my end. Sorry for the noise then.

    • CommentRowNumber5.
    • CommentAuthorUrs
    • CommentTimeFeb 27th 2015

    I see now my problem. Something must have changed recently with the MathJax or whatever it is now that displays the formulas. In any case, displaying them takes much more time on my machine since recently. And the page reflows incrementally as the formulas eventually appear. In the case above, it took so long that I thought nothing was happening. But the missing reflow breaks the focus on the anchors.

    Well anyway. It’s not a big issue. I just keep being amazed how much trouble it is in the 21st century to display a few symbols on a computer.

    • CommentRowNumber6.
    • CommentAuthorZhen Lin
    • CommentTimeFeb 27th 2015

    It’s not merely a matter of “displaying” symbols but actually arranging them. Imagine how time-consuming it must have been to manually typeset just one page of mathematics!

    • CommentRowNumber7.
    • CommentAuthorUrs
    • CommentTimeFeb 27th 2015

    Yeah, but come on, today the most primitive computer chips run Doom. That also involves arranging some bits.

    • CommentRowNumber8.
    • CommentAuthorZhen Lin
    • CommentTimeFeb 27th 2015

    That’s not quite true. Most computers nowadays have dedicated hardware to deal with 3D graphics, and that’s quite sophisticated.

    Anyway, as you observed, the real problem is that the page is reflowed as the mathematics is typeset. That is highly inefficient. But that seems to be a problem with MathJax in particular – I should have mentioned I’m using Firefox, so it’s rendered as straight MathML for me.

    • CommentRowNumber9.
    • CommentAuthorMike Shulman
    • CommentTimeFeb 27th 2015

    Ditto firefox here.

    I also bet that doing the reflowing with javascript is a lot slower than in some other language. One of the many problems with mathjax (vs mathml).

    • CommentRowNumber10.
    • CommentAuthoradeelkh
    • CommentTimeFeb 27th 2015

    In the new version of MathJax, there is an option to render as “Fast HTML” (right click a formula, Math Settings -> Math Renderer -> Fast HTML). I’ve been using this and it actually makes pages load at a reasonable speed (in Chrome, I refuse to use Firefox), albeit with lower quality.

    • CommentRowNumber11.
    • CommentAuthorUrs
    • CommentTimeFeb 27th 2015
    • (edited Feb 27th 2015)

    Most computers nowadays have dedicated hardware to deal with 3D graphics,

    Doom runs on printers, on ATMs, etc. e.g. here. The running joke is that these days every toaster runs doom.

    I am well aware that me, the user, could do various things to have my symbols be displayed less than sluggishly. For instance I could sit down and write a program myself that does it. I am just saying that I am amazed that I have to do that, in the 21st century.

    • CommentRowNumber12.
    • CommentAuthorUrs
    • CommentTimeFeb 27th 2015

    In the new version of MathJax, there is an option to render as “Fast HTML” (right click a formula, Math Settings -> Math Renderer -> Fast HTML).

    Ah, thanks!

    • CommentRowNumber13.
    • CommentAuthorRodMcGuire
    • CommentTimeFeb 28th 2015
    • (edited Feb 28th 2015)

    Anyway, as you observed, the real problem is that the page is reflowed as the mathematics is typeset. That is highly inefficient. But that seems to be a problem with MathJax in particular

    MathJax’s problem, as with any non-native software (MathML is native) that wants to precisely position characters is that in current browsers there is no way to determine the extent the characters will take up until after they are rendered. Right now this means that every math expression has to be rendered twice - the first time to measure it and the second time to precisely position it (and reposition everything relative to it.) Firefox and Chrome I think still (I haven’t checked recently) have open bugs about determining size of text made into DOM structure without having to first render it (normal MathJax uses a hidden place for first rendering), but this seems to be a hard problem that would involve restructuring a lot of software.

    I guess “Fast HTML” makes a guess about text sizes to do the first render pass and display, then batches together all the DOM changes to reflect the true sizes so they all happen at once and each change doesn’t trigger a reflow.

    EDIT: The above is just guess about the various MathJax display modes since I don’t use it. “Fast HTML” may not actually use a second pass but only displays the guessed version. See Stack Exchange: Mathjax 2.5 alpha for more precise info. Maybe I’ll fire up Chrome to see what options it gives.

    • CommentRowNumber14.
    • CommentAuthorUrs
    • CommentTimeMar 19th 2015
    • (edited Mar 19th 2015)

    not sure if anyone wants to hear it, but just for the record:

    with the entry geometry of physics – homotopy types it’s now at the point that on Opera with its MathJax hack it takes something like 20 minutes to display the formulas of the entry, on my machine.

    I’ll have to add some alerts to the top of such pages, I suppose, advising people that the page effectively won’t display with some (?) or most (?) browsers

    • CommentRowNumber15.
    • CommentAuthorTodd_Trimble
    • CommentTimeMar 20th 2015

    It’s fine on mine (FF 36.0.1), virtually instantaneous. However, the page is very long. Any thoughts on breaking it up into subpages?

    • CommentRowNumber16.
    • CommentAuthorUrs
    • CommentTimeMar 20th 2015

    Thanks, Todd. Yes, Firefox doesn’t resort to MathJax, it’s the MathJax engine that gets stuck. I will have to put a note on the page that it effectively only (?) works in Firefox. That’s sad, because it’s not meant for me, but for my audience, and it makes things awkward if the technology doesn’t simply work.

    And, yes, the page is long. It is already one sub-part of what would otherwise be an even longer page, though. I can break it up, but it means increasingly more and boring work on my part. One would think computers would be there precisely to take care of trivial tedious tasks such as displaying a moderate chunk of text.

    • CommentRowNumber17.
    • CommentAuthorRodMcGuire
    • CommentTimeNov 12th 2016

    urs #14

    not sure if anyone wants to hear it, but just for .the record:

    with the entry geometry of physics – homotopy types it’s now at the point that on Opera with its MathJax hack it takes something like 20 minutes to display the formulas of the entry, on my machine.

    I’ll have to add some alerts to the top of such pages, I suppose, advising people that the page effectively won’t display with some (?) or most (?) browsers

    Does the nLab still have severe MathJax problems or have recent upgrades fixed them?

    I tried loading in Chrome geometry of physics – homotopy types and the display seemed pretty good though it appeared that Chrome was running one of my CPU’s cores full out for maybe 3 minutes after loading. That page’s history doesn’t seem to indicate that it has been made much smaller since Urs’s comment.

    I’ve been looking into whether the new Mozilla browser Servo will provide any hooks so that MathJax layout can be computed in 1 pass not 2.