Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Editing a BIG question.

Editing a BIG question.

Scheduled Pinned Locked Moved Site Bugs / Suggestions
questioncsharphtmlcombeta-testing
6 Posts 3 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    This question: Click on add and edit radgrid gives error[^] has HTML and C# code - but while the HTML is in pre tags the C# is unformatted. So I edit it, add the tags and try to save - and get an error message

    Quote:

    The content must be between 30 and 50000 characters.

    While I agree that 50K is far too much to drop on us in QA (my text editor says it's 52,916 characters) I'm guessing that the HTML block converter is the reason it's so huge: "<" instead of "<" pushing it over the 50K limit. Perhaps the limit needs a bit more sophisticated checking to allow for the substitutions?

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    C 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      This question: Click on add and edit radgrid gives error[^] has HTML and C# code - but while the HTML is in pre tags the C# is unformatted. So I edit it, add the tags and try to save - and get an error message

      Quote:

      The content must be between 30 and 50000 characters.

      While I agree that 50K is far too much to drop on us in QA (my text editor says it's 52,916 characters) I'm guessing that the HTML block converter is the reason it's so huge: "<" instead of "<" pushing it over the 50K limit. Perhaps the limit needs a bit more sophisticated checking to allow for the substitutions?

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      If we're at the point where we need to worry about < vs < then the question is already a catastrophe. I would either 1. Post a comment (not as an answer) and say "Would love to help, but you need to help us help you. Please edit the question down the the specific problem", or 2. close it. Everyone here works their bottoms off trying to help others, but questions that just suck the life out of someone just take the wind out of everyone's sails. Leaving them up also implicitly says questions like that are acceptable. The other reason to post a comment is that if a comment is posted and the OP doesn't reply, or doesn't make a change, then they aren't paying attention in the first place, or simply aren't interested in putting in effort to help us help them. We should help them help themselves, but also be ready to move on.

      cheers Chris Maunder

      OriginalGriffO 1 Reply Last reply
      0
      • C Chris Maunder

        If we're at the point where we need to worry about < vs < then the question is already a catastrophe. I would either 1. Post a comment (not as an answer) and say "Would love to help, but you need to help us help you. Please edit the question down the the specific problem", or 2. close it. Everyone here works their bottoms off trying to help others, but questions that just suck the life out of someone just take the wind out of everyone's sails. Leaving them up also implicitly says questions like that are acceptable. The other reason to post a comment is that if a comment is posted and the OP doesn't reply, or doesn't make a change, then they aren't paying attention in the first place, or simply aren't interested in putting in effort to help us help them. We should help them help themselves, but also be ready to move on.

        cheers Chris Maunder

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        One way to do it without the soul destroying wall of text might be to lower the limit? I mean, 50K of code is the equivelant of 10,000+ words (English average word length is 4.7 characters) which is half way to a novella! No bugger is going to read it all anyway :laugh: What if the original max length was a more reasonable 4K? If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone? That's still a 4 page short story or a couple of hundred lines of code? What does the DB say is the average length of a QA question?

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        C Richard DeemingR 2 Replies Last reply
        0
        • OriginalGriffO OriginalGriff

          One way to do it without the soul destroying wall of text might be to lower the limit? I mean, 50K of code is the equivelant of 10,000+ words (English average word length is 4.7 characters) which is half way to a novella! No bugger is going to read it all anyway :laugh: What if the original max length was a more reasonable 4K? If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone? That's still a 4 page short story or a couple of hundred lines of code? What does the DB say is the average length of a QA question?

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          You're totally right, but I think there was something, somewhere, at sometime, that made me bang my head against and wall, sigh, and then just crank the limit up to 11. or 50,000, as it were. Yeah - 4K is enough for anyone. To paraphrase someone whose name escapes me ;)

          cheers Chris Maunder

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            One way to do it without the soul destroying wall of text might be to lower the limit? I mean, 50K of code is the equivelant of 10,000+ words (English average word length is 4.7 characters) which is half way to a novella! No bugger is going to read it all anyway :laugh: What if the original max length was a more reasonable 4K? If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone? That's still a 4 page short story or a couple of hundred lines of code? What does the DB say is the average length of a QA question?

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #5

            OriginalGriff wrote:

            If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone?

            That presupposes that the user will read and understand the message, and not just post a link to download their 100KLoC project from a dodgy file hosting site instead. :)


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            OriginalGriffO 1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              OriginalGriff wrote:

              If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone?

              That presupposes that the user will read and understand the message, and not just post a link to download their 100KLoC project from a dodgy file hosting site instead. :)


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              Richard Deeming wrote:

              That presupposes that the user will can read and understand the message, and not just post a link to download their 100KLoC project from a dodgy file hosting site instead.

              FTFY ... :sigh:

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups