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.
  • K Kelly Herald

    This link describes CRLF vs CR pretty well. Difference between CR LF, LF and CR line break types? - Stack Overflow[^]

    Kelly Herald Software Developer

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

    Now, I think I'm pretty aware about the differences ...

    1 Reply Last reply
    0
    • L Lost User

      For nitpickers like you, I mean . Btw. let me also be nitpicking... Your statement: "IDs should never be sortable. It must be a meaningless operation.", see your post The Lounge[^] *lol*... Happy surviving with that. 'Not sortable' means also 'not able to make an index on it'. Think about it and why your DBs are that slow ;)

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

      Member 15353828 wrote:

      'Not sortable' means also 'not able to make an index on it'.

      No, it does not.

      L 1 Reply Last reply
      0
      • P PIEBALDconsult

        Member 15353828 wrote:

        'Not sortable' means also 'not able to make an index on it'.

        No, it does not.

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

        Ok, then please explain how to index a thing you can't enumerate. Please ...

        P 1 Reply Last reply
        0
        • L Lost User

          Ok, then please explain how to index a thing you can't enumerate. Please ...

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

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

          L 2 Replies 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
            #9

            Sorry, but enumerable means sortable... in case you say no to that, then I doubt your statements [Edit] sorry, I'm not native English but enumerable means implicitly also sortable, at least for me [/Edit] [Edit1] But maybe because of my lack of English I misinterpreted your statement, mentioned above. In case that happens, sorry. For me everyting is 'sortable' because we can introduce for everyting our 'sort rule' [/Edit1]

            P 1 Reply Last reply
            0
            • K Kelly Herald

              This link describes CRLF vs CR pretty well. Difference between CR LF, LF and CR line break types? - Stack Overflow[^]

              Kelly Herald Software Developer

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

              The Lounge[^]

              1 Reply Last reply
              0
              • L Lost User

                Sorry, but enumerable means sortable... in case you say no to that, then I doubt your statements [Edit] sorry, I'm not native English but enumerable means implicitly also sortable, at least for me [/Edit] [Edit1] But maybe because of my lack of English I misinterpreted your statement, mentioned above. In case that happens, sorry. For me everyting is 'sortable' because we can introduce for everyting our 'sort rule' [/Edit1]

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

                Nope. enumerable ADJECTIVE mathematics able to be counted by one-to-one correspondence with the set of all positive integers.

                M L 2 Replies Last reply
                0
                • P PIEBALDconsult

                  Nope. enumerable ADJECTIVE mathematics able to be counted by one-to-one correspondence with the set of all positive integers.

                  M Offline
                  M Offline
                  Member_15329613
                  wrote on last edited by
                  #12

                  Rather than all the arguing, how about you explain your statement that ids should not be sortable.

                  J 1 Reply Last reply
                  0
                  • M Member_15329613

                    Rather than all the arguing, how about you explain your statement that ids should not be sortable.

                    J Offline
                    J Offline
                    Jorgen Andersson
                    wrote on last edited by
                    #13

                    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 M 2 Replies Last reply
                    0
                    • P PIEBALDconsult

                      Nope. enumerable ADJECTIVE mathematics able to be counted by one-to-one correspondence with the set of all positive integers.

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

                      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 1 Reply Last reply
                      0
                      • 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
                                          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