This would get a discount from me too tbh

  • luciole (he/him)@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    This is why you always exclude vowels from randomly generated strings you hand out to users. You never know when your infinite typing monkeys will write something much worse than some Shakespeare.

      • luciole (he/him)@beehaw.org
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        🍭

        OK you made me go back and check. I do avoid 1 and 0 because they’re too much like I and O. If a key still manages to look dirty to someone with such an amputated alphabet, then their mind is as naughty as can be and there’s nothing I can do for them but share memes.

          • ChaoticNeutralCzech@feddit.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            The problem is, you can’t easily define “sometimes” - is Y in M1RY4M a vowel? It’s WAY easier to write a program that uses the 23456789BCDFGHJKLMNPQRSTVWXZ alphabet to generate base-28 codes than one that excludes all possibilities where an English-speaking human could possibly interpret the Y as a vowel.

            • Maven (famous)@lemmy.zipOP
              link
              fedilink
              arrow-up
              0
              ·
              4 months ago

              Yes that’s true but this was a joke about how linguistically Y is only sometimes a vowel. The idea of having a program randomly decide when to include and exclude it is funny to me.

              • ChaoticNeutralCzech@feddit.org
                link
                fedilink
                English
                arrow-up
                0
                ·
                4 months ago

                having a program randomly decide when to include it

                “Not randomly,” the company’s underutilized AI expert rises from his chair, “that’s a job for me!”

                $30,000 later, the system that rejects would-be vowels with “99.5% accuracy” is unveiled. Two weeks after that, a customer is given the code 69BJ4KKK88 and shares it on social media.

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago


    If you decode the QR code by hand, it reads

    bo(~dsd␡`}#?j#o(oeacck█io~egnrd██nvev██~█q␓.█q␗██a␜n███'
    

    Of course, I can’t do Solomon-Reed error correction in my head so I can’t recover the damaged bits. It sure does not look like a URL - I am pretty sure I didn’t make any mistakes as recoverable bytes all fit the 0-1----- or, more rarely, 0001---1 pattern - the latter are likely dividers of some sort. This suggests it’s some kind of internal-use encoding with 6 bits per byte. Interesting, I thought it would just encode the URL and/or the code (but it’s not valid ASCII text so no URL, and you don’t need 55 bytes for 6 alphanumeric characters!)

  • brbposting@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Guess discount codes should get sanitized against naughty/spicy word lists. With enough logic to prevent anyone from e.g. getting the first few letters of the N word except with a 1 in place of the i.