14

Very weird things happened today:

I saw a question, which can be answered better with a demo. So I opened a new jsFiddle window (see at the bottom why).

I added some CSS, made a demo in jsFiddle and came back to my answer and clicked the stack snippet button:

A white box opens up, and stays as it is for a long time (see below). I got frustrated and thought at least I could fix the minor formatting in the mean time while the snippet window loaded completely. Hence I duplicated the tab (using the duplicate option of Google Chrome) - a new tab opened where my post was in edit mode, without the snippet window opened. 5 minutes didn't pass, so I fixed the formatting issue and clicked OK - it became a new answer..!

Wow... that is scary. I quickly deleted it, closed the duplicated tab, and ran away from there.

Now Chrome took me back to the original tab, snippet hadn't loaded yet, and the UI was not accessible. So:

  • I clicked reload
  • The page asked me whether to leave the page or not
  • I clicked OK and reloaded the page
  • Edited the existing post which was not deleted
  • Opened the stack snippet window (this time it loaded)
  • Pasted the code from jsFiddle to stack snippet, clicked insert and post.
  • The page asked me to perform the reCAPTCHA, which I passed and the page refreshed

It became another answer..!

This is the order in which things happened to the best of my knowledge (I somewhat panicked while all this happened, seeing myself posting multiple answers). I added content in the post-your-answer area and clicked the post-your-answer-button only once - the very first time. The rest were edits.

This is the above mentioned post. Screenshot of edits that became additional answers within the grace period:

Enter image description here


I went to jsFiddle to make a demo because it has a nice list of libraries, and I can choose the libraries I want to include very quickly (jQuery UI in this case). When it comes to stack snippet, we're on our own, despite all the feature requests, sadly.

I usually create the demo in a jsFiddle window and without saving the code there, I'll inspect it, copy the URL to libraries one by one from the head section (of course in reverse order) as well as the code to stack snippet :/


Here is the frustrating white box (I am not sure how many of you have ever seen this; I have a very pathetic Internet connection. I have to live with it :):

Enter image description here

3
  • Sometimes I have seen that white box too. But after some seconds it loads the snippet editor.
    – Oriol
    Commented Dec 14, 2014 at 17:42
  • 2
    Never ever again, go through the dark alleyways.
    – Braiam
    Commented Dec 14, 2014 at 18:06
  • 3
    as programmers: duplication is evil.
    – jbutler483
    Commented Dec 15, 2014 at 13:40

0

You must log in to answer this question.

Browse other questions tagged .