Discover
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year ago

I hate it

sh.itjust.works

message-square
111
link
fedilink
1.07K

I hate it

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year ago
message-square
111
link
fedilink
alert-triangle
You must log in or register to comment.
  • thisfro@slrpnk.net
    link
    fedilink
    arrow-up
    163
    ·
    1 year ago

    It looks very weird, but if you put it like abab vs abba, it makes more sense

    • Wilzax@lemmy.world
      link
      fedilink
      arrow-up
      113
      ·
      1 year ago

      bdbd is not a palindrome but bddb is

      • Klear@sh.itjust.works
        link
        fedilink
        arrow-up
        56
        ·
        1 year ago

        I hate it

      • intensely_human@lemm.ee
        link
        fedilink
        arrow-up
        16
        ·
        1 year ago

        bddb is my favorite word to pronounce

        • kambusha@sh.itjust.works
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          I think you just hacked my modem

        • ninja@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          1 year ago

          deleted by creator

        • houndeyes@toast.ooo
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 year ago

          Is it pronounced like that Super Troopers Porsche song?

        • kamenLady.@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Maijin bddb

        • RecluseRamble@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          deleted by creator

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        12
        ·
        1 year ago

        Yes, baddragonbaddragon is, in fact, not a palindrome.

        • Log in | Sign up@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Username checks out.

        • Sparky@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          :3

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        This is much easier to parse for me than the one in the post. Interesting. I guess letters are easier to abstract

      • Log in | Sign up@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I hate this even more than the original one. At least the original one had a horizontal line of symmetry to calm me a bit.

    • raman_klogius@ani.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      mamma mia

      • thisfro@slrpnk.net
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Here I go again

  • underisk@lemmy.ml
    link
    fedilink
    arrow-up
    138
    ·
    1 year ago

    “()()” is an ambigram, which wikipedia describes as “visual palindromes”, for whatever that’s worth.

    • TriflingToad@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      WIKIPEDIA CAN SHOW GIFS?!

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Oh boy, they have some good ones. You’ve been missing out.

        Edit: Quicksort has a nice one. SVD for linear/matrix operations too.

        I’m pretty sure I’ve seen even better ones that could almost stand as a YouTube video but I can’t remember where now

    • Imgonnatrythis@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      I love that the word ambigram can be made to look as an ambigram whereas palindrome - wtf, could have done so much better with naming that guys.

      • bstix@feddit.dk
        link
        fedilink
        arrow-up
        12
        ·
        edit-2
        1 year ago

        hippopotomonstrosesquipedaliophobia (Fear of long words) was clearly not defined by anyone suffering from the phobia either.

        • Imgonnatrythis@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Well that’s just mean.

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    53
    ·
    1 year ago

    This is an unacceptable glitch in the universe.

    It’s time to reboot it with a patch.

  • 𝓔𝓶𝓶𝓲𝓮@lemm.ee
    link
    fedilink
    arrow-up
    44
    ·
    edit-2
    1 year ago

    Let us substitute: ( - x, ) - y
    Thus ()() becomes xyxy
    ())( becomes xyyx
    Now clearly it can be seen, even while high, that the second one is and the first isn’t

  • TriflingToad@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    1 year ago

    for those too lazy to google,
    palindrome /păl′ĭn-drōm″/ noun A word, verse, or sentence, that is the same when read backward or forward. “madam; Hannah; or Lewd did I live, & evil I did dwel.”

    () () backwards is )( )(
    () )( backwards is () )(

  • parapsyker@startrek.website
    link
    fedilink
    arrow-up
    25
    ·
    1 year ago

    This has ruined my day.

  • Kaelygon@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    this took me a while but after converting to ascii in hex I get it

    “())(” = 40 41 41 40

    “()()” = 40 41 40 41

    As long your strings aren’t null terminated

    • pingveno@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      As long your strings aren’t null terminated

      What kind of monstrous bug prone language would do that?

  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    What about ⊂⁠(⁠(⁠・⁠▽⁠・⁠)⁠)⁠⊃

    • palordrolap@kbin.run
      link
      fedilink
      arrow-up
      37
      ·
      1 year ago

      ⊃))⁠・⁠▽⁠・(⁠(⊂

      • oce 🐆@jlai.lu
        link
        fedilink
        arrow-up
        20
        ·
        1 year ago

        (╯°□°)╯︵ ┻━┻

        • radicalautonomy@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          ┻━┻ ︵╯)°□°╯(

  • limonade@jlai.lu
    link
    fedilink
    arrow-up
    18
    ·
    1 year ago

    Why would you do this to me 😭

  • Gsus4@mander.xyz
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    Oh god, please no 😄

  • Armok: God of Blood@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    1212 isn’t a palindrome, but 1221 is.

  • CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    Calm down, everyone. Brackets form a tree structure, and can be represented by a free magma, while strings with concatenation are equivalent to a free monoid. You’re essentially asking for the two respective common involutory operations to be connected by this map, just because they’re involutory, which put that way is a wild guess at best. In fact, reversing this string produces something outside the range of the map entirely, which is injective and so can’t be surjective for combinatorical reasons.

    … Yeah I might be the only person that finds that useful.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      yeah but that’s just like your opinion man

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago
        I mean,

        the part about the “wild” guess is, but this is a counterexample, and something like the reciprocal vs the negative of reals or rationals when moved across the log map would be an example. So, either you’re a galaxybrain that just instantly knows if the transformation is structure-preserving in that way, or you’re guessing to some degree as well.


        The symbols and abstractions have touched me in no-no ways. I miss okaybuddyphd on r*ddit, they knew the pain.

        I suppose I could also just say that characters which aren’t just drawn asymmetrical, but actually point in a direction as part of their function, look wrong when reversed like this. So, (e) -> )e( is no good, but bed -> deb is fine.

    • AFaithfulNihilist@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m just going to assume those 4 dollar words are real and you aren’t just misspelling normal words to fuck with us.

      Non surjective free magma? What about the doblastic amortized basalt?

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        I was saying unipotent at first instead of involutory, which was actually the wrong jargon because of the context, but I’ve fixed that now. Yes, they’re all real.

        A glossary:

        Involution

        Surjective

        Injective

        Free magma

        Free monoid

        Map, although in this context I could probably have just said function. I go with map by default when thinking bidirectionally.

        I think most people here will know combinatorics, the study of the different possible configurations of something. The number of n-length strings with two possible characters is 2n, as coders should all know, and the number of trees turns out to be Catalan numbers, many of which have prime factors other than 2. This is an injective map from n node trees to 2n character strings, so it’s possible, but you’ll (almost?) never get a perfect match, so by the pigeonhole principle it can’t be surjective.

        I’m wondering now if Catalan numbers are O(n!). The equation has a lot of n! but it also has a certain smell like it might depend on big or little o.

        Edit: D’oh, they must grow no faster than 22n; I just wrote that. So, exponential.

        • AFaithfulNihilist@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          You are awesome.

          Lemmy is better for you being here. Thanks for the reading material!

          • CanadaPlus@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            You’re very welcome! How kind.

  • KeriKitty (They(/It))@pawb.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    That’s horrible and horrifying and I’m never gonna sleep again and also I hate you :(

  • Evil_Shrubbery@lemm.ee
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    I’m not saying I was having a good day before, but this made it that lil bit worse.

  • istoff@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    Had to take a break and come back later before it made sense.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 514 users / day
  • 3.98K users / week
  • 7.51K users / month
  • 19K users / 6 months
  • 1 local subscriber
  • 25.2K subscribers
  • 1.54K Posts
  • 47K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org