Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

Geplant Angeheftet Gesperrt Verschoben Uncategorized
37 Beiträge 26 Kommentatoren 0 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

    slyecho@mdon.eeS This user is from outside of this forum
    slyecho@mdon.eeS This user is from outside of this forum
    slyecho@mdon.ee
    schrieb zuletzt editiert von
    #10

    @emmatyping It's not even just in Pyhon...

    1 Antwort Letzte Antwort
    0
    • nazokiyoubinbou@urusai.socialN nazokiyoubinbou@urusai.social

      @emmatyping What do you mean? It has utterly failed! It got it completely backwards even. SMH.

      emmatyping@hachyderm.ioE This user is from outside of this forum
      emmatyping@hachyderm.ioE This user is from outside of this forum
      emmatyping@hachyderm.io
      schrieb zuletzt editiert von
      #11

      @nazokiyoubinbou I regret to inform you the results are quite consistent across Apples.

      nazokiyoubinbou@urusai.socialN 1 Antwort Letzte Antwort
      0
      • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

        @nazokiyoubinbou I regret to inform you the results are quite consistent across Apples.

        nazokiyoubinbou@urusai.socialN This user is from outside of this forum
        nazokiyoubinbou@urusai.socialN This user is from outside of this forum
        nazokiyoubinbou@urusai.social
        schrieb zuletzt editiert von
        #12

        @emmatyping This is so horrendously wrong...

        thomastc@mastodon.gamedev.placeT 1 Antwort Letzte Antwort
        0
        • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

          People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

          thomasjwebb@mastodon.socialT This user is from outside of this forum
          thomasjwebb@mastodon.socialT This user is from outside of this forum
          thomasjwebb@mastodon.social
          schrieb zuletzt editiert von
          #13

          @emmatyping oh great, now we're going to have to know this stuff when manually lexically sorting records with emoji in their titles.

          thomasjwebb@mastodon.socialT 1 Antwort Letzte Antwort
          0
          • thomasjwebb@mastodon.socialT thomasjwebb@mastodon.social

            @emmatyping oh great, now we're going to have to know this stuff when manually lexically sorting records with emoji in their titles.

            thomasjwebb@mastodon.socialT This user is from outside of this forum
            thomasjwebb@mastodon.socialT This user is from outside of this forum
            thomasjwebb@mastodon.social
            schrieb zuletzt editiert von
            #14

            @emmatyping I'd also say that python is wrong but I guess my beef is with the unicode consortium.

            1 Antwort Letzte Antwort
            0
            • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

              People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

              gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
              gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
              gkrnours@mastodon.gamedev.place
              schrieb zuletzt editiert von
              #15

              @emmatyping that's because they sre string, not 🍎 and 🍊. Also, I'm pretty sure `class 🍎: ...` is invalid python but I could be wrong

              1 Antwort Letzte Antwort
              0
              • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                girgias@phpc.socialG This user is from outside of this forum
                girgias@phpc.socialG This user is from outside of this forum
                girgias@phpc.social
                schrieb zuletzt editiert von
                #16

                @emmatyping PHP also doesn't have a problem comparing them!

                1 Antwort Letzte Antwort
                0
                • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                  People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                  0x4d6165@wanderingwires.net0 This user is from outside of this forum
                  0x4d6165@wanderingwires.net0 This user is from outside of this forum
                  0x4d6165@wanderingwires.net
                  schrieb zuletzt editiert von
                  #17
                  @emmatyping is this just comparing their place on the Unicode table?
                  emmatyping@hachyderm.ioE 1 Antwort Letzte Antwort
                  0
                  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                    petealexharris@mastodon.scotP This user is from outside of this forum
                    petealexharris@mastodon.scotP This user is from outside of this forum
                    petealexharris@mastodon.scot
                    schrieb zuletzt editiert von
                    #18

                    @emmatyping
                    Well, it's not a statically-typed language. In Rust you'd have to define some kind of Fruit trait.

                    emmatyping@hachyderm.ioE 1 Antwort Letzte Antwort
                    0
                    • 0x4d6165@wanderingwires.net0 0x4d6165@wanderingwires.net
                      @emmatyping is this just comparing their place on the Unicode table?
                      emmatyping@hachyderm.ioE This user is from outside of this forum
                      emmatyping@hachyderm.ioE This user is from outside of this forum
                      emmatyping@hachyderm.io
                      schrieb zuletzt editiert von
                      #19

                      @0x4d6165 Yup! red apple is U+1F34E, while tangerine is U+1F34A, so red apple compares greater than tangerine!

                      1 Antwort Letzte Antwort
                      0
                      • petealexharris@mastodon.scotP petealexharris@mastodon.scot

                        @emmatyping
                        Well, it's not a statically-typed language. In Rust you'd have to define some kind of Fruit trait.

                        emmatyping@hachyderm.ioE This user is from outside of this forum
                        emmatyping@hachyderm.ioE This user is from outside of this forum
                        emmatyping@hachyderm.io
                        schrieb zuletzt editiert von
                        #20

                        @petealexharris On the contrary, it just works in Rust

                        https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=4424cfb379596c5477ad2a3ee738774b

                        petealexharris@mastodon.scotP 1 Antwort Letzte Antwort
                        0
                        • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                          People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                          vampirdaddy@chaos.socialV This user is from outside of this forum
                          vampirdaddy@chaos.socialV This user is from outside of this forum
                          vampirdaddy@chaos.social
                          schrieb zuletzt editiert von
                          #21

                          @emmatyping
                          That's not python - with 3.14 it's pi-thon 🤪

                          enobacon@urbanists.socialE 1 Antwort Letzte Antwort
                          0
                          • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                            People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                            rbran@infosec.exchangeR This user is from outside of this forum
                            rbran@infosec.exchangeR This user is from outside of this forum
                            rbran@infosec.exchange
                            schrieb zuletzt editiert von
                            #22

                            @emmatyping yep, rust agree:

                            1 Antwort Letzte Antwort
                            0
                            • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                              @petealexharris On the contrary, it just works in Rust

                              https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=4424cfb379596c5477ad2a3ee738774b

                              petealexharris@mastodon.scotP This user is from outside of this forum
                              petealexharris@mastodon.scotP This user is from outside of this forum
                              petealexharris@mastodon.scot
                              schrieb zuletzt editiert von
                              #23

                              @emmatyping
                              Thanks for fact-checking my joke, I nearly encouraged people to learn how Rust traits work on a Saturday night, but you saved them.

                              1 Antwort Letzte Antwort
                              0
                              • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                studiop@fosstodon.orgS This user is from outside of this forum
                                studiop@fosstodon.orgS This user is from outside of this forum
                                studiop@fosstodon.org
                                schrieb zuletzt editiert von
                                #24

                                @emmatyping this is why Python is the best

                                1 Antwort Letzte Antwort
                                0
                                • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                  People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                  csolisr@hub.azkware.netC This user is from outside of this forum
                                  csolisr@hub.azkware.netC This user is from outside of this forum
                                  csolisr@hub.azkware.net
                                  schrieb zuletzt editiert von
                                  #25
                                  Python version 3.14, or as I like to call it, π-thon
                                  1 Antwort Letzte Antwort
                                  0
                                  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                    rusty_shackleford@colorlessgreenvoid.comR This user is from outside of this forum
                                    rusty_shackleford@colorlessgreenvoid.comR This user is from outside of this forum
                                    rusty_shackleford@colorlessgreenvoid.com
                                    schrieb zuletzt editiert von
                                    #26
                                    @emmatyping
                                    If this were javascript, itd be in a compilation about why javascript is a bad language.
                                    1 Antwort Letzte Antwort
                                    0
                                    • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                      People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                      mozziediver@mastodon.socialM This user is from outside of this forum
                                      mozziediver@mastodon.socialM This user is from outside of this forum
                                      mozziediver@mastodon.social
                                      schrieb zuletzt editiert von
                                      #27

                                      @emmatyping But not by much? For the sciency answer ...
                                      https://improbable.com/classics/apples-and-oranges-a-comparison/

                                      1 Antwort Letzte Antwort
                                      0
                                      • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                        People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                        knapjack@snac.gruntle.ccK This user is from outside of this forum
                                        knapjack@snac.gruntle.ccK This user is from outside of this forum
                                        knapjack@snac.gruntle.cc
                                        schrieb zuletzt editiert von
                                        #28
                                        I'm not certain that the correct answer, though. 🤔
                                        1 Antwort Letzte Antwort
                                        0
                                        • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                                          People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                                          qlp@linh.socialQ This user is from outside of this forum
                                          qlp@linh.socialQ This user is from outside of this forum
                                          qlp@linh.social
                                          schrieb zuletzt editiert von
                                          #29

                                          @emmatyping I think some people might riot when they see this comparison.

                                          michael@social.chrisco.meM fruitcakesareyum@mastodon.socialF 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen



                                          Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                                          Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                                          Impressum | Datenschutzerklärung | Nutzungsbedingungen

                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Über dieses Forum