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.
  • 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
                        • M Mladen Jankovic

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

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

                          You are lazy like some of the q/a. And you lean back while asking 'clever' q here? Your words: "How do you ort images of cows or complex numbers?" Images: e.g. a hash (a very special one, it is up to you to learn more about that) Complex numbers: any other special things? What about sorting not only a 2.dim, but also 3, 4, .. dim? Sorry, that are the so 'trivial' things one expect here.... at least when I'm reading Q/A. So go and do your homework [Edit] And no, no, no I do not google for you "sorting N dimensions". It is simply a level more than the very simple questions in qa, but I excpect from you that you are able to do it [/Edit]

                          M 1 Reply Last reply
                          0
                          • L Lost User

                            You are lazy like some of the q/a. And you lean back while asking 'clever' q here? Your words: "How do you ort images of cows or complex numbers?" Images: e.g. a hash (a very special one, it is up to you to learn more about that) Complex numbers: any other special things? What about sorting not only a 2.dim, but also 3, 4, .. dim? Sorry, that are the so 'trivial' things one expect here.... at least when I'm reading Q/A. So go and do your homework [Edit] And no, no, no I do not google for you "sorting N dimensions". It is simply a level more than the very simple questions in qa, but I excpect from you that you are able to do it [/Edit]

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

                            So tell me what's the meaning behind the hash? Not even going to argue hash collisions. And please what the math is saying about such sorting of complex numbers?

                            1 Reply Last reply
                            0
                            • L Lost User

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

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

                              I have given a few examples twice now. I'm done too.

                              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 ;)

                                C Offline
                                C Offline
                                CodeWomble
                                wrote on last edited by
                                #38

                                and derive from old mechanical typewriters where moving the carriage (and horizontal line position) and moving the roller (and vertical line position) were two different operations. is a carriage return. On a typewriter it moves that carriage to the home position of the current line and on a computer it moves the insert cursor to the start of the current line (and on unix to the next line.) is a line feed. On a typewriter it rotates the roller by one line space (configurable). On a computer it moves the cursor down one line. Therefore moves the cursor to the start of the next line and should just move the cursor to the start of the current line.

                                K 1 Reply Last reply
                                0
                                • C CodeWomble

                                  and derive from old mechanical typewriters where moving the carriage (and horizontal line position) and moving the roller (and vertical line position) were two different operations. is a carriage return. On a typewriter it moves that carriage to the home position of the current line and on a computer it moves the insert cursor to the start of the current line (and on unix to the next line.) is a line feed. On a typewriter it rotates the roller by one line space (configurable). On a computer it moves the cursor down one line. Therefore moves the cursor to the start of the next line and should just move the cursor to the start of the current line.

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

                                  You could also mention that changes the active vertical position by one line with no change in the horizontal position. Now we are in harmony with International Standard Six Forty Six (and the numerous others that extends it).

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    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 Offline
                                    K Offline
                                    kalberts
                                    wrote on last edited by
                                    #40

                                    I am sure that you can sort out the facts. I have the impression that you are an expert on sorting.

                                    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 ;)

                                      M Offline
                                      M Offline
                                      Marc Clifton
                                      wrote on last edited by
                                      #41

                                      It may not be earth shattering but it is pathetic, the way Teams works. Wait, make that "doesn't work."

                                      Latest Articles:
                                      DivWindow: Size, drag, minimize, and maximize floating windows with layout persistence

                                      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

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

                                        Jörgen Andersson wrote:

                                        which is sortable per definitio

                                        Exactly.

                                        Jörgen Andersson wrote:

                                        but the order has no meaning,

                                        Ah, I see. So you are saying that the order of IDs have no meaning. They do tell you when a record was created relative to another, but otherwise, sure, I think I get what you are saying.

                                        K 1 Reply Last reply
                                        0
                                        • M Member_15329613

                                          Jörgen Andersson wrote:

                                          which is sortable per definitio

                                          Exactly.

                                          Jörgen Andersson wrote:

                                          but the order has no meaning,

                                          Ah, I see. So you are saying that the order of IDs have no meaning. They do tell you when a record was created relative to another, but otherwise, sure, I think I get what you are saying.

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

                                          If that is the way IDs are allocated. In other words: A special case. Such special cases do exist - but are special cases nevertheless. In a de-duplicating file system, a page or file (depending on which level de-duplication is done) usually have an ID given by the hash of the page/file contents. In other systems, partial series of IDs may be reserved by sub-authorities - this is common for ISDN reservations by book publishers, or phone number series allocated to different phone companies. The sub-authority may split the reservation into sub-series: I know of phone companies allocating numbers from different series to business or private customers. In many regions, an alphatbetic prefix on the car registration plate indicate home town or county; the numeric part is not unique, and cars from different locations cannot be ordered in age by it. Within the lowest level sub-sub-sub series, IDs might be allocated in order, but maybe not. Eg. IDs used earlier (like phone numbers or car license plates) may, after a quarantine period of non-usage, be allocated to another object.

                                          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