C to Java Byte Code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Programmer Dude

    Re: Not STD C is "not C" ? ----WAS: Re: C to Java Byte Code

    Alfred Z. Newmane writes:
    [color=blue][color=green][color=darkred]
    >>> Is there someplace that defines (unofficially of course) the
    >>> guideline for it?[/color]
    >>
    >> Of course not. We're talking about *tradition*, not a standard.
    >>
    >> That newsreaders have come to do something fancy with that
    >> tradition means *nothing*. EVERY SINGLE newsreader I know
    >> allows you to configure your quote style. That should tell
    >> you something.[/color]
    >
    > Well, most don't allow you to put white space before your quote
    > token.[/color]

    As you can see, Agent does. Interestingly, doing so breaks the
    color coding of quotes. On the flip side, it also breaks the
    broken behavior of not wrapping quotes.
    [color=blue]
    > You are right it is a /tradition/, it has always bene tradition
    > to start a line with a quote character, lest it be counted as
    > local text.[/color]

    Agreed. I'll be interested to see what Agent makes of this post
    when it reads it (that is, will it color code the quotes).

    Comment

    • Programmer Dude

      Re: Not STD C is "not C" ? ----WAS: Re: C to Java Byte Code

      Programmer Dude writes:
      [color=blue]
      > I'll be interested to see what Agent makes of this post
      > when it reads it (that is, will it color code the quotes).[/color]

      No colors. Looks just like an "old fashioned" post in tin or
      something. Oooooh,... 80s flashback!!


      Comment

      • Floyd L. Davidson

        Re: Not STD C is "not C" ? ----WAS: Re: C to Java Byte Code

        "Thomas G. Marshall" <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> wrote:[color=blue]
        >Dik T. Winter coughed up:[color=green]
        >> which). It is stated that when you get the message 'more quoted text
        >> than new text' with a rejection by the system you should first try to
        >> reduce the amount of quoted text, en if you still was sure that all
        >> the
        >> quoted text was needed, you should do:
        >> :%s/^>/</
        >> to change the quoting symbol. I am very sure that in earlier releases
        >> it was advised that you should do:
        >> :%s/^>/ >/[/color]
        >
        >I saw this as well yesterday----Not sure what it means.[/color]

        Some newsreaders, and some news servers, will refuse to post a
        message that contains more quoted text than non-quoted text.
        The mechanism used is extremely simple, and merely counts lines
        that begin with the most commonly used quote prefix characters.

        The method for overriding the count is to use a quote prefix
        that begins with a space or any other character that is rarely
        used (and thus does not trigger the mechanism). The
        newsreader/server will then allow the message to be posted.

        Of course it should be realized that when newsreaders and
        servers began implementing that mechanism it caused a
        significant number of people to permanently override it by
        making their default quote prefix something that would not be
        counted. That resulted in the now common practice of using a
        variety of characters other than '>'. (Other methods to
        override it are even worse...)

        --
        FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
        Ukpeagvik (Barrow, Alaska) floyd@barrow.co m

        Comment

        • Måns Rullgård

          Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

          Programmer Dude <Chris@Sonnack. com> writes:
          [color=blue]
          > Programmer Dude writes:
          >[color=green]
          >> I'll be interested to see what Agent makes of this post
          >> when it reads it (that is, will it color code the quotes).[/color]
          >
          > No colors. Looks just like an "old fashioned" post in tin or
          > something. Oooooh,... 80s flashback!![/color]

          FWIW, gnus colored it properly.

          --
          Måns Rullgård
          mru@inprovide.c om

          Comment

          • Floyd L. Davidson

            Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

            "Alfred Z. Newmane" <a.newmane.remo ve@eastcoastcz. com> wrote:
            <Programmer Dude wrote:[color=blue][color=green]
            >> That newsreaders have come to do something fancy with that
            >> tradition means *nothing*. EVERY SINGLE newsreader I know
            >> allows you to configure your quote style. That should tell
            >> you something.[/color]
            >[/color]
            AZN> Well, most don't allow you to put white space before your
            AZN> quote token.

            You continue to advocate the use of *broken* newsreaders as a
            default standard for Usenet... (The /reasonable/ solution is to
            use a better newsreader.)

            Just for grins (and groans), I reconfigured Gnus just to post
            this one article. You'll note that it allows the quote prefix
            to begin with whitespace, /and/ that is also allows two
            different quote prefixes. In this example the text *quoted*
            *from* the previous article is prefixed by " AZN>", and text
            *quoted* *in* the previous article is prefixed by " > ".

            I haven't used this facility before (and won't likely again),
            and I assume that it is perhaps handy for dealing with some of
            the odd things people do with /supersite/. Note that I also let
            Gnus reformat the paragraphs to maintain proper line lengths,
            and it had no problem with the odd quote prefix or the leading
            whitespace. (Good newsreaders really are *nice*! Or, they are
            if you define "good" as a measure of functionality rather than
            glitter. You'll be pleased, though, to hear that the spell
            checker was indeed confused, and wanted to correct your spelling
            errors as well as mine. But that's a bug, not a Usenet
            Standard!)

            AZN> You are right it is a /tradition/, it has always bene
            AZN> tradition to start a line with a quote character, lest it
            AZN> be counted as local text. furthur more, most readers that
            AZN> allow for od and unusual quoting styles are usually
            AZN> features created by people who probably haven't spent a
            AZN> lot of time in UseNet. (Not always the case, but ther are
            AZN> some poor readers out there.)

            Incidentally, given these "OE folks are using OE_QuoteFix" are
            the makings for de facto standards and tradition claims, have
            you ever taken a look at /supercite/ and the way it cites
            previous articles?

            Since /supercite/ existed long before OE began to "standardiz e"
            Usenet with non-functionality, it would seem that the authors of
            OE and OE_QuoteFix *should* have looked at examples of similar
            programs to avoid the same mistakes and at least to include the
            same features. (Of course, since they had little Usenet
            experience at the time, they may just have not understood...)

            --
            FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
            Ukpeagvik (Barrow, Alaska) floyd@barrow.co m

            Comment

            • joe@invalid.address

              Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

              Måns Rullgård <mru@inprovide. com> writes:
              [color=blue]
              > Programmer Dude <Chris@Sonnack. com> writes:
              >[color=green]
              > > Programmer Dude writes:
              > >[color=darkred]
              > >> I'll be interested to see what Agent makes of this post when it
              > >> reads it (that is, will it color code the quotes).[/color]
              > >
              > > No colors. Looks just like an "old fashioned" post in tin or
              > > something. Oooooh,... 80s flashback!![/color]
              >
              > FWIW, gnus colored it properly.[/color]

              Gnus also wraps it correctly when reformatting.

              Joe
              --
              Nothing cures like time and love
              - Laura Nyro

              Comment

              • Floyd L. Davidson

                Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                joe@invalid.add ress wrote:[color=blue]
                >Måns Rullgård <mru@inprovide. com> writes:
                >[color=green]
                >> Programmer Dude <Chris@Sonnack. com> writes:
                >>[color=darkred]
                >> > Programmer Dude writes:
                >> >
                >> >> I'll be interested to see what Agent makes of this post when it
                >> >> reads it (that is, will it color code the quotes).
                >> >
                >> > No colors. Looks just like an "old fashioned" post in tin or
                >> > something. Oooooh,... 80s flashback!![/color]
                >>
                >> FWIW, gnus colored it properly.[/color]
                >
                >Gnus also wraps it correctly when reformatting.[/color]

                I did find a "bug" in Gnus though... with the
                message-yank-prefix and message-yank-cited-prefix variables set
                to start with whitespace, invoking ispell on the message buffer
                checks the spelling of the quoted text as well as the message
                text (which it normally does not). I guess ispell.el isn't as
                smart as message.el.

                Maybe Alfred Z. Newmane can tell us how OE's spell check
                functionality works in those circumstances? ;-)

                --
                FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
                Ukpeagvik (Barrow, Alaska) floyd@barrow.co m

                Comment

                • Dik T. Winter

                  Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                  In article <f48b8b09.04110 21443.6a2442df@ posting.google. com> supermanisadork 71@yahoo.com (Al MacHonahey) writes:
                  ....[color=blue]
                  > That because, unlike Dik, other people have actually got a clue of
                  > what and WHY some things are done on UseNet in the way they have been
                  > for decades.[/color]

                  At least I have a clue *why* long ago people suggested to put a space
                  in front of the quotation symbol.
                  --
                  dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
                  home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

                  Comment

                  • Dik T. Winter

                    Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                    In article <P9%hd.3381$rZ1 .522@trndny05> "Thomas G. Marshall" <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> writes:
                    ....[color=blue]
                    > Is there a document somewhere which suggests how to form a standard usenet
                    > quoted reply line? I cannot find it via google.[/color]

                    No, there is no standard about that.
                    [color=blue]
                    > My understanding was that the line to be quoted has a quote character
                    > (usually >, sometimes | ) inserted at the /beginning/ of the line. Not just
                    > before the first non whitespace character.[/color]

                    Originally the advice was not to use the square brackets, the curly
                    brackets, the vertical bar, the backslash, the underscore or the
                    backtick. The reason was that that could make quotations difficult
                    to read for people that used another incantation of ISO-646 than
                    ASCII.
                    --
                    dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
                    home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

                    Comment

                    • Dik T. Winter

                      Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                      In article <2usds0F2f8driU 1@uni-berlin.de> "Alfred Z. Newmane" <a.newmane.remo ve@eastcoastcz. com> writes:[color=blue]
                      > Well, most don't allow you to put white space before your quote token.
                      > You are right it is a /tradition/, it has always bene tradition to start
                      > a line with a quote character, lest it be counted as local text.[/color]

                      Yup, that is what rn (the second newsreader ever) did do indeed, by default.
                      It came public in september 1984. (I do not know when I started to use it,
                      it must have been somewhere in 1985 or 1986, before that time I used the
                      first newsreader ever: readnews.) But with rn you could change the quoting
                      mechanism easily, put in your .rninit a line like
                      -F" > "
                      and you would get my quoting style. There was a pretty good reason to
                      change it and it was largely advised...
                      [color=blue]
                      > most readers that allow for od and unusual quoting styles are
                      > usually features created by people who probably haven't spent a lot of
                      > time in UseNet.[/color]

                      Eh? Larry Wall (of perl fame) not having spent a lot of time in Usenet
                      back in 1984? Where were *you* at that time? Actually you would be
                      right. At that time you could (and I did) read *all* articles posted on
                      the net without problems. Darn, all the news came here, nightly, through
                      a 1200 baud dial-up line from Amsterdam to the US (seismo), the first
                      newslink outside the US and Canada.
                      [color=blue]
                      > (Not always the case, but there are some poor readers out
                      > there.)[/color]

                      Yes, there are (OE?) I still think rn is a good newsreader, and still do
                      use it. (Although it has since that time been updated quite a bit.)

                      Funny, in 12 days it will be 20 years that I posted my first article on
                      Usenet. <224@turing.UUC P>.
                      --
                      dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
                      home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

                      Comment

                      • Dik T. Winter

                        Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                        In article <b2e4b04.041103 0805.18922426@p osting.google.c om> jcoffin@taeus.c om (Jerry Coffin) writes:
                        ....[color=blue]
                        > Taking the Son of RFC 1036 as our guidance, we find only that lines
                        > should be broken "as appropriate", and "Although styles vary widely,
                        > for plain text it is usual to use no left margin..." That's
                        > _extremely_ weak guidance at best -- even reading it as strongly as
                        > possible, I can't see how it could be taken as much more than a
                        > suggestion that Dik's style is mildly unusual.[/color]

                        I do not even think that. Plain text is something different from
                        quotation. The intention was to stop people who indented *all* text
                        they entered by preceding their text with either a space or a tab.
                        And, yes, that did occur.
                        --
                        dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
                        home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

                        Comment

                        • Dik T. Winter

                          Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                          In article <td8id.3820$rZ1 .2733@trndny05> "Thomas G. Marshall" <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> writes:[color=blue]
                          > Dik T. Winter coughed up:[/color]
                          ....[color=blue][color=green]
                          > > quoted text was needed, you should do:
                          > > :%s/^>/</
                          > > to change the quoting symbol. I am very sure that in earlier releases
                          > > it was advised that you should do:
                          > > :%s/^>/ >/[/color]
                          >
                          > I saw this as well yesterday----Not sure what it means.[/color]

                          First I was wrong. Next, let me explain. When in 1984 rn came out to
                          replace readnews as a newsreader (they were, I think, second and first
                          respectively), the system would reject articles where the number of lines
                          of quoted text was larger than the number of lines of new text. This
                          according to a guideline that had come into force around that time
                          (readnews did not impose such limits). In some cases this was too
                          severe (but it helped quite a bit, as it suggested severely trimming the
                          quoted material). So around that time ways were thought to allow such
                          postings if you did put in enough effort. One way was to follow the
                          advice above: when you were put into 'vi' (as text editor) to create
                          your follow-up, first delete any stuff that was irrelevant, next change
                          the quotation character. (The command ":%s/^>/</" is a 'vi' command
                          to change any ">" that occurs at the start of a line to "<".) Doing
                          that would interfere with the check of new text against quoted text.
                          By the time that advice got to the guidelines (I think December 1987)
                          many people had already done various things with the quoting string,
                          as it was easy with rn to change the quoting string to anything you
                          fancied (about three years of frustration have gone into it). That
                          is why you see the proliferation of quoting styles, none of them have
                          ever been disallowed (but it was suggested that you did not use
                          specific symbols).

                          BTW, one of the big advantages of 'rn' over 'readnews' was the
                          introduction of 'kill-files', another one was that now you no longer
                          needed to see *all* header lines of an article.
                          --
                          dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
                          home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/

                          Comment

                          • J. J. Farrell

                            Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                            "Thomas G. Marshall" <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> wrote in message news:<P9%hd.338 1$rZ1.522@trndn y05>...[color=blue]
                            > J. J. Farrell coughed up:[color=green]
                            > > "Alfred Z. Newmane" <a.newmane.remo ve@eastcoastcz. com> wrote in
                            > > message news:<2ul8tsF2b uhqsU1@uni-berlin.de>...[color=darkred]
                            > >>
                            > >> The text after "Dik T. Winter coughed up:" is in fact Thomas's
                            > >> quoting of Dik, which got horribly miss wrapped, mainly because of
                            > >> the white space before his quote char. Why should everyone change
                            > >> the way thing have bene done the past decade anda half because one
                            > >> person decides to diverge from that accepted norm?[/color]
                            > >
                            > > I'm puzzled. What has "the past decade and a half" got to do with
                            > > anything? Dik's been quoting in this way in his posts to Usenet
                            > > for well over 17 years. Why should he change because you choose
                            > > to use a broken program to read his postings?[/color]
                            >
                            > Is there a document somewhere which suggests how to form a standard usenet
                            > quoted reply line? I cannot find it via google.[/color]

                            None that I know of. This is largely a matter of tradition.
                            [color=blue]
                            > My understanding was that the line to be quoted has a quote character
                            > (usually >, sometimes | ) inserted at the /beginning/ of the line. Not just
                            > before the first non whitespace character.[/color]

                            That is the most common tradition. Dik's style is certainly
                            unusual, but has not previously been a problem. In any case,
                            Dik's long-standing unusual quoting style is effectively
                            "protected" by another long-standing (though less widely
                            known) tradition - that lines beginning with a space character
                            should not be reformatted. This makes it practicable to quote
                            posted C code, for example.
                            [color=blue]
                            > Is there someplace that defines (unofficially of course) the guideline for
                            > it?[/color]

                            Not that I know of.

                            Comment

                            • Thomas G. Marshall

                              Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                              Dik T. Winter coughed up:[color=blue]
                              > In article <td8id.3820$rZ1 .2733@trndny05> "Thomas G. Marshall"
                              > <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> writes: > Dik
                              > T. Winter coughed up: ...[color=green][color=darkred]
                              > > > quoted text was needed, you should do:
                              > > > :%s/^>/</
                              > > > to change the quoting symbol. I am very sure that in earlier[/color][/color]
                              > releases > > it was advised that you should do:[color=green][color=darkred]
                              > > > :%s/^>/ >/[/color]
                              > >
                              > > I saw this as well yesterday----Not sure what it means.[/color]
                              >
                              > First I was wrong. Next, let me explain. When in 1984 rn came out to
                              > replace readnews as a newsreader (they were, I think, second and first
                              > respectively), the system would reject articles where the number of
                              > lines
                              > of quoted text was larger than the number of lines of new text. This
                              > according to a guideline that had come into force around that time
                              > (readnews did not impose such limits). In some cases this was too
                              > severe (but it helped quite a bit, as it suggested severely trimming
                              > the
                              > quoted material). So around that time ways were thought to allow such
                              > postings if you did put in enough effort. One way was to follow the
                              > advice above: when you were put into 'vi' (as text editor) to create
                              > your follow-up, first delete any stuff that was irrelevant, next
                              > change
                              > the quotation character. (The command ":%s/^>/</" is a 'vi' command
                              > to change any ">" that occurs at the start of a line to "<".) Doing
                              > that would interfere with the check of new text against quoted text.
                              > By the time that advice got to the guidelines (I think December 1987)
                              > many people had already done various things with the quoting string,
                              > as it was easy with rn to change the quoting string to anything you
                              > fancied (about three years of frustration have gone into it). That
                              > is why you see the proliferation of quoting styles, none of them have
                              > ever been disallowed (but it was suggested that you did not use
                              > specific symbols).
                              >
                              > BTW, one of the big advantages of 'rn' over 'readnews' was the
                              > introduction of 'kill-files', another one was that now you no longer
                              > needed to see *all* header lines of an article.[/color]

                              I recognized the vi / ex / sed-like command, and knew what it did per se. I
                              just didn't know what they were trying to accomplish. To defeat the more
                              quote than substance rule makes sense. (I hope we're way past ever needing
                              that silly rule again).



                              --
                              "It's easier to be terrified by an enemy you admire."
                              -Thufir Hawat, Mentat and Master of Assassins to House Atreides


                              Comment

                              • Thomas G. Marshall

                                Re: Not STD C is &quot;not C&quot; ? ----WAS: Re: C to Java Byte Code

                                J. J. Farrell coughed up:[color=blue]
                                > "Thomas G. Marshall"
                                > <tgm2tothe10thp ower@replacetex twithnumber.hot mail.com> wrote in
                                > message news:<P9%hd.338 1$rZ1.522@trndn y05>...[color=green]
                                >> J. J. Farrell coughed up:[color=darkred]
                                >>> "Alfred Z. Newmane" <a.newmane.remo ve@eastcoastcz. com> wrote in
                                >>> message news:<2ul8tsF2b uhqsU1@uni-berlin.de>...
                                >>>>
                                >>>> The text after "Dik T. Winter coughed up:" is in fact Thomas's
                                >>>> quoting of Dik, which got horribly miss wrapped, mainly because of
                                >>>> the white space before his quote char. Why should everyone change
                                >>>> the way thing have bene done the past decade anda half because one
                                >>>> person decides to diverge from that accepted norm?
                                >>>
                                >>> I'm puzzled. What has "the past decade and a half" got to do with
                                >>> anything? Dik's been quoting in this way in his posts to Usenet
                                >>> for well over 17 years. Why should he change because you choose
                                >>> to use a broken program to read his postings?[/color]
                                >>
                                >> Is there a document somewhere which suggests how to form a standard
                                >> usenet quoted reply line? I cannot find it via google.[/color]
                                >
                                > None that I know of. This is largely a matter of tradition.
                                >[color=green]
                                >> My understanding was that the line to be quoted has a quote character
                                >> (usually >, sometimes | ) inserted at the /beginning/ of the line.
                                >> Not just before the first non whitespace character.[/color]
                                >
                                > That is the most common tradition. Dik's style is certainly
                                > unusual, but has not previously been a problem. In any case,
                                > Dik's long-standing unusual quoting style is effectively
                                > "protected" by another long-standing (though less widely
                                > known) tradition - that lines beginning with a space character
                                > should not be reformatted. This makes it practicable to quote
                                > posted C code, for example.[/color]

                                Understood, but that doesn't "protect" his style policy for the simple
                                reason that he will be adding a space in front of lines that would only get
                                cutoff grotesquely if there weren't allowed to be formatted. Unless such
                                lines are never truncated either. {shrug}




                                [color=blue]
                                >[color=green]
                                >> Is there someplace that defines (unofficially of course) the
                                >> guideline for it?[/color]
                                >
                                > Not that I know of.[/color]



                                --
                                "It's easier to be terrified by an enemy you admire."
                                -Thufir Hawat, Mentat and Master of Assassins to House Atreides


                                Comment

                                Working...