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. The Lounge
  3. Nothing important; somebody noticed this also, MS <CRLF> vs. <CR> ...

Nothing important; somebody noticed this also, MS <CRLF> vs. <CR> ...

Scheduled Pinned Locked Moved The Lounge
sharepointvisual-studioquestion
43 Posts 9 Posters 1 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.
  • J Jorgen Andersson

    You have omitted the keyword meaningfully from the quote. An ID is a substitute key. It should not have a meaning. It's usually an incremented integer for practical reasons, which is sortable per definition but the order has no meaning, it could just as well be a GUID. <edit>my bad, I see the quote has been edited

    Wrong is evil and must be defeated. - Jeff Ello

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #15

    "It's usually an incremented integer for practical reasons" ... which is also the badest thing for an index (usually implemented as somtehing like a binary tree) because each increment does need to reorganice the tree. Anyway: Everything is sortable, either because we can do it on a binary representation or if not possible (what most probably will never be the case) one can introduce our self defined sorting.

    P 1 Reply Last reply
    0
    • P PIEBALDconsult

      Who says you can't enumerate it? Of course you can enumerate it.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #16

      Still missing an answer to "Ok, then please explain how to index a thing you can't enumerate. Please ...

      P 1 Reply Last reply
      0
      • L Lost User

        Nope ;) Enumarable is also A,B,C and also chinese characters are also kind of sortable. And btw. A,B,C was invented before ascii code ;) Sorry, I think you can't explain where I'm wrong. I case you can then please: Do it and do it with math background. Thanks, and I'm not interested in fights, I'm only interested on facts.

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #17

        Crayons are enumerable, cows are enumerable, photographs are enumerable, grains of sand on a beach are enumerable, are they sortable?

        L 1 Reply Last reply
        0
        • L Lost User

          Still missing an answer to "Ok, then please explain how to index a thing you can't enumerate. Please ...

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #18

          I didn't say you could.

          1 Reply Last reply
          0
          • L Lost User

            "It's usually an incremented integer for practical reasons" ... which is also the badest thing for an index (usually implemented as somtehing like a binary tree) because each increment does need to reorganice the tree. Anyway: Everything is sortable, either because we can do it on a binary representation or if not possible (what most probably will never be the case) one can introduce our self defined sorting.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #19

            If by "badest", you mean "worst", then I agree, integers are a poor choice for IDs.

            Member 15353828 wrote:

            Everything is sortable

            Nope.

            L 1 Reply Last reply
            0
            • P PIEBALDconsult

              Crayons are enumerable, cows are enumerable, photographs are enumerable, grains of sand on a beach are enumerable, are they sortable?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #20

              Any answer with facts?

              M 1 Reply Last reply
              0
              • L Lost User

                In most(?) parts of the MS- ecosystem - stuff (e.g. Notepad) is used to seperate lines for textual data. To know what I mean, look at a textfile where lines are seperated by only with notepad... Now in MS-Teams it looks like they changed their mind and followed the Unix standard and use only , try: Copy paste a text from MS-Teams and paste it to notepad. ... either way not really earth-shattering ;)

                K Offline
                K Offline
                kalberts
                wrote on last edited by
                #21

                Yeah! F**k standards. Ignore completely what international standards have said for fifty+ years about the semantics of CR and LF. Sure enogh: The *nix community has for 30+ years argued 'F**k standards! NIH!' - their only 'significant' argument being that it saves eight bits of storage space per text line. That sure is essential, isn't it? There are sensible *nix adherents. That does not include those justifying LF newlines 'because it saves eight bits'.

                L 1 Reply Last reply
                0
                • K kalberts

                  Yeah! F**k standards. Ignore completely what international standards have said for fifty+ years about the semantics of CR and LF. Sure enogh: The *nix community has for 30+ years argued 'F**k standards! NIH!' - their only 'significant' argument being that it saves eight bits of storage space per text line. That sure is essential, isn't it? There are sensible *nix adherents. That does not include those justifying LF newlines 'because it saves eight bits'.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #22

                  And now please repeat/explain less emotional, that I don't need to google every thing. Thanks in advance ;)

                  K C 2 Replies Last reply
                  0
                  • P PIEBALDconsult

                    If by "badest", you mean "worst", then I agree, integers are a poor choice for IDs.

                    Member 15353828 wrote:

                    Everything is sortable

                    Nope.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #23

                    'If by "badest", you mean "worst", then I agree, integers are a poor choice for IDs' On this I think we come closer, more I think we are on the same line. "Everything is sortable": Nope Please give me an idea what is not sortable. Minor: And sorry I have no idea about how to responde something 'quoted'. Thats why I put the quotes in italic. And also pay attention, I'm not native English therefore the chance of missunderstanding is always present :(

                    P 1 Reply Last reply
                    0
                    • L Lost User

                      'If by "badest", you mean "worst", then I agree, integers are a poor choice for IDs' On this I think we come closer, more I think we are on the same line. "Everything is sortable": Nope Please give me an idea what is not sortable. Minor: And sorry I have no idea about how to responde something 'quoted'. Thats why I put the quotes in italic. And also pay attention, I'm not native English therefore the chance of missunderstanding is always present :(

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #24

                      Crayons are enumerable, cows are enumerable, photographs are enumerable, grains of sand on a beach are enumerable, are they sortable?

                      L 1 Reply Last reply
                      0
                      • L Lost User

                        And now please repeat/explain less emotional, that I don't need to google every thing. Thanks in advance ;)

                        K Offline
                        K Offline
                        kalberts
                        wrote on last edited by
                        #25

                        If I understand you right: Any reference to international standards is 'emotional'. At least if they are in conflict with with what is pushed by the *nix community. Fair enough. It makes a point, sort of.

                        L 1 Reply Last reply
                        0
                        • P PIEBALDconsult

                          Crayons are enumerable, cows are enumerable, photographs are enumerable, grains of sand on a beach are enumerable, are they sortable?

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #26

                          Sorry, only intersting on facts.

                          P 1 Reply Last reply
                          0
                          • K kalberts

                            If I understand you right: Any reference to international standards is 'emotional'. At least if they are in conflict with with what is pushed by the *nix community. Fair enough. It makes a point, sort of.

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #27

                            I'm only interested in facts. Therefore explain your facts. Best will be if you can explain it exactely which means most of times explain it math whise ;)

                            K 1 Reply Last reply
                            0
                            • L Lost User

                              Sorry, only intersting on facts.

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #28

                              These are facts. Not everything is sortable.

                              L 1 Reply Last reply
                              0
                              • P PIEBALDconsult

                                These are facts. Not everything is sortable.

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #29

                                Everything -any data you catch with a computer- ends in a stream of bits which is sortable. Please explain whehre I'm wrong in case I'm wrong, which is not the case....

                                P 1 Reply Last reply
                                0
                                • L Lost User

                                  Everything -any data you catch with a computer- ends in a stream of bits which is sortable. Please explain whehre I'm wrong in case I'm wrong, which is not the case....

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #30

                                  Yes, but that's not "everything" -- it's only representations of things and labels for things within a computer. It also meets the criteria of not being meaningfully sortable.

                                  L 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Any answer with facts?

                                    M Offline
                                    M Offline
                                    Mladen Jankovic
                                    wrote on last edited by
                                    #31

                                    How do you sort images of cows or complex numbers?

                                    L 1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      Yes, but that's not "everything" -- it's only representations of things and labels for things within a computer. It also meets the criteria of not being meaningfully sortable.

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #32

                                      I give up, but I like to mention again you did not show an example which is 'not sortable' So it be

                                      P 1 Reply Last reply
                                      0
                                      • M Mladen Jankovic

                                        How do you sort images of cows or complex numbers?

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #33

                                        This is a very trivial case, before post that q think about it

                                        M 1 Reply Last reply
                                        0
                                        • L Lost User

                                          This is a very trivial case, before post that q think about it

                                          M Offline
                                          M Offline
                                          Mladen Jankovic
                                          wrote on last edited by
                                          #34

                                          No please explain and then tell me factually, since you like facts so much, how it's meaningful.

                                          L 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