Skip to main content

View Diary: This is just a test, please ignore (89 comments)

Comment Preferences

  •  Let me ponder that one. (3+ / 0-)
    •  St. can be used to abbreviate... (1+ / 0-)
      Recommended by:

      ... street and Saint.

      Looking through the bent backed tulips, To see how the other half lives, Looking through a glass onion - John Lennon and Paul McCartney

      by Hey338Too on Tue Oct 01, 2013 at 04:39:12 PM PDT

      [ Parent ]

      •  But usually it wouldn't be the last character (1+ / 0-)
        Recommended by:

        in a legit tag, I'm not thinking.

        You wouldn't have a tag Wall St. -- it would be Wall Street

        St. Louis has the period in the middle.


        Fry, don't be a hero! It's not covered by our health plan!

        by elfling on Tue Oct 01, 2013 at 04:56:20 PM PDT

        [ Parent ]

        •   Well.... (0+ / 0-)

          Tag for PA Governor race, abbreviated to PA Gov.

          Just about any abbreviation could end up being the tail of a tag.

          It's been quite a while for me, but dealing with string variables at the input level usually has a 'strip leading and trailing white space' function as part of the fundamental error-checking of the data being input.

          ((lurkers, that means that if someone punches in extra space before and after a single word, the computer needs to be told to take away the extra spaces from "   Cat   " so that it is three letters wide in the computer memory rather than the nine that someone put in the text box. Because if you don't tell it the difference, a computer will think "Cat" and "   Cat   " are two different words.))

          I'm aware that nowadays all that stuff is usually just included in some standard input output code library, but at some level the option is there. And better news is that the white space eliminator likely isn't being used all that much, as the leading and trailing white space is preserved in the raw subject line of this comment:
          "                                   Well....       "

          So... If the trailing period is a problem just add a line that strips it and any whitespace from all tags as they are entered, and start using it. It's your car, drive the thing.

          •  There is a format for election tags (1+ / 0-)
            Recommended by:

            Correct form is just PA-Gov

            Yes, absolutely we can strip an ending period, just hadn't occurred to me to do so before, so I was curious to see if anyone had a reason we shouldn't. We do already strip whitespace from new tags.

            Fry, don't be a hero! It's not covered by our health plan!

            by elfling on Wed Oct 02, 2013 at 10:04:26 AM PDT

            [ Parent ]

      •  That turns up in the novel (2+ / 0-)
        Recommended by:
        Hey338Too, Eyesbright

        Little, Big, where somebody is trying to debug the software for laying out telephone books. The Fourth St. Bar turns out to be the Fourth Saint Bar, and the Church of All Sts. turns out to be the Church of All Streets. Also fairies, architecture, magic technology, and wishes being granted. Tricky, that.

        Ceterem censeo, gerrymandra delenda est

        by Mokurai on Wed Oct 02, 2013 at 12:34:23 AM PDT

        [ Parent ]

Subscribe or Donate to support Daily Kos.

Click here for the mobile view of the site