Leading space test
Sat Sep 18, 2021 2:49am

leading space test.

  • Banana - Erik_, Thu Sep 16 2021 4:58am
    • Leading space test- Erik_, Sat Sep 18 2021 2:49am
      • * Wait, did it pass? - Puckdropper, Sun Sep 26 2021 3:49am
        It's awful waiting those 20 minutes for a test result to come back from the doctor's office! This is worse... You posted DAYS ago!
        • It did! - Erik_, Mon Sep 27 2021 3:11am
          There was a bug in my input sanitation on the COBOL RSS Reader. It has a function to remove any leading blank spaces/tabs of an RSS item description. Turns out, it didn't actually work at all. I re-wrote it and now it's working as it should.
          • * What if the leading spaces were there on purpose? (nm) - Puckdropper, Mon Sep 27 2021 5:12pm
            • Good test!!! Just saw what you did. - Erik_, Wed Sep 29 2021 1:56am
              The browser renders the spaces in your subject as a single space even though if you "view source", they're there. The "What" gets placed a space away from the asterisk. In the RSS feed, the subject line is also sent with the spaces intact. Because there's an asterisk at the start, there are no "lead... more
              • Can we post a message on the resurrected disc app to see how - Puckdropper, Fri Oct 01 2021 2:44am
                Shawn and Tamara handled things? :-) The next question, is of course, what about trailing spaces?
                • I just checked and their RSS url no longer works. - Erik_, Sat Oct 02 2021 1:24am
                  I figured maybe it still would because there's the one active forum left but the goes to a page not found now. That was a good idea though. Trailing spaces exist by default in COBOL on alphabetic or alphanumeric fields as they're fixed length. So any unused character positions are filled with s... more
            • They get removed... for now at least. - Erik_, Tue Sep 28 2021 10:58am
              The description area only has room for 560 characters currently because the screen fits into a standard 80x25 terminal window. Because of this, I remove as much filler as possible so I can display the most of the item description into the small text area. I do have plans down the road to have mu... more
              • *General tomfoolery? I haven't thought of anything - Puckdropper, Fri Oct 01 2021 2:48am
                either. That's a very "classic software" design decision. It's why you sometimes see those things happen. "There just wasn't room, and we had to choose what was important. We were at 4 kB+128 bytes and had to remove some stuff to get under 4 kB."
Click here to receive daily updates
"Forces act when not restrained" - Puckdropper