-is-this-fft-'s blog

By -is-this-fft-, history, 5 hours ago, In English

In Polygon, if you go to a contest, this link is almost unusable:

Specifically, I mean the "English (from working copies)". If you have a typical ICPC-style contest with 12 or so problems, it will almost always load for a really long time until I am eventually served with a CloudFlare "timeout" screen. (The one from packages works fine, but sometimes you want to see how the whole contest looks without committing your changes or packaging.)

My suggestion is, if there is truly that much work to do for the server, then run this PDF generation in some sort of background thread and show the user a progress bar.

  • Vote: I like it
  • +38
  • Vote: I do not like it

»
5 hours ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

This feature has never even worked for me. It always loads some weird error but preview in HTML works fine.

  • »
    »
    4 hours ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    Even when creating an empty problem? There are some things that aren't supported for the PDF output because the resulting LaTeX is invalid in some way.

    • »
      »
      »
      4 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      No, but I'm not sure when it doesnt crash. When I read the error logs it's like title too long (lol??) or some weird error with statement

»
90 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

In my experience, you can open it in another page, do something else for 10 minutes, then go reload that other page. If you didn't save any statements in between, the document will be available almost instantly.

That said, I'd also like to see contest statements faster. On the other hand, I know LaTeX can get snaily.

  • »
    »
    46 minutes ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I have observed that too. But the issue is most noticeable when you have errors that show up when you compile the PDF of the entire contest, but not when you look at PDFs of individual problems. In that case, you want fast feedback, not to do something else for 10 minutes.

    On the other hand, I know LaTeX can get snaily.

    I don't think it's LaTeX. I have previously compiled contest PDFs locally to insert emojis in problem names, using exactly the package provided by Polygon. It only took about 10 seconds. Not exactly blazing fast, but also not the slowness we see in Polygon.