lemmy.sieprawski.pl
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
nifty@lemmy.world to Programmer Humor@programming.dev · 1 year ago

Brainfuck is the sixth circle

lemmy.world

message-square
54
fedilink
485

Brainfuck is the sixth circle

lemmy.world

nifty@lemmy.world to Programmer Humor@programming.dev · 1 year ago
message-square
54
fedilink

More details in the compete post: https://www.tumblr.com/lavenderhorns/705277666010464256/every-now-and-then-i-remember-that-malbolge-exists?source=share

alert-triangle
You must log in or register to comment.
  • TxzK@lemmy.zip
    link
    fedilink
    arrow-up
    215
    ·
    edit-2
    1 year ago

    “Malbolge was very difficult to understand when it arrived, taking two years for the first Malbolge program to appear. The author himself has never written a Malbolge program. The first program was not written by a human being; it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp.”

    All right, WHAT THE FUCK

    • Synthuir@lemmy.ml
      link
      fedilink
      arrow-up
      137
      ·
      1 year ago

      In the soap opera General Hospital, Colonel Sanders of KFC makes a guest appearance because someone is trying to kill him to obtain the secret recipe of 11 herbs and spices. He knows Malbolge and is able to disarm the destruct sequence.

      … I… what?

      • hex@programming.dev
        link
        fedilink
        arrow-up
        24
        ·
        1 year ago

        I thought you were kidding.

        https://youtu.be/4T50w1BWCro?si=mlSizqEAnJ_5wb5n

        • Synthuir@lemmy.ml
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Well, I wasn’t kidding, but I put about a 50% chance that someone had just vandalized the wiki page…

          Thanks for finding that, absolutely golden lol

      • WIZARD POPE💫@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        1 year ago

        That soap opera apparently has 15000 episodes and has been airing since 1963…

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

          So you’re saying that might not even be the craziest episode?

          • WIZARD POPE💫@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            1 year ago

            The chance of that is definitely not negligible

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      33
      ·
      1 year ago

      This is peak programming. That’s it. It’s done. We can pack up and go home now.

    • _edge@discuss.tchncs.de
      link
      fedilink
      arrow-up
      30
      arrow-down
      2
      ·
      1 year ago

      Sounds like Javascript and co-pilot to me.

    • MonsiuerPatEBrown@reddthat.com
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      My God!

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

        Got you covered, friend.

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

      Fuck… all the big tech corps got some catching up to do

  • Bubs@lemmings.world
    link
    fedilink
    arrow-up
    135
    ·
    1 year ago

    Apparently, this is the code for a Hello World program in Malbolge:

    (=<#9]~6ZY327Uv4-QsqpMn&amp;+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:H%c#DD2^WV>gY;dts76qKJImZkj

    • LostXOR@fedia.io
      link
      fedilink
      arrow-up
      116
      ·
      1 year ago

      Looks like the backticks in the program messed up the formatting a bit, here’s it with fixed formatting.

      (=&lt;`#9]~6ZY327Uv4-QsqpMn&amp;+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZkj
      

      Not that it’s any more intelligible. :D

      • brbposting@sh.itjust.works
        link
        fedilink
        arrow-up
        13
        ·
        1 year ago

        What steps did you take to fix the formatting?

        (Save me the Unicode identifier / dive into console :) )

        • LostXOR@fedia.io
          link
          fedilink
          arrow-up
          13
          ·
          1 year ago

          I just grabbed the original program from Wikipedia and put it in a code block.

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

          The document icon below each comment is “view source.”

          • brbposting@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            (Also where’s your comment on Lemmy.world!)

            • mindbleach@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              … where are your vote icons, in general?

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

                Wasn’t logged in,

                nice thanks :)

                Still curious why your comment doesn’t show on Lemmy.world!

                • mindbleach@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  1
                  ·
                  1 year ago

                  General ban by an admin being an asshat. Haven’t bothered asking nicely to get reinstated.

                  Lemmy desperately needs some default notification, because what newbie is checking a site’s modlog with any regularity? I didn’t even know it existed. I was bickering with some troll who said ‘you’re cruising for a report, mister!’ despite being far further over-the-line than me, and I said, that’s adorable, knock yourself out. And then things so thoroughly stopped working that I assumed my LW account had been straight-up deleted.

                  Meanwhile, that troll suffered no consequences whatsoever. Despite starting shit, getting personal, and being wrong. My accordingly low opinion of moderation across Lemmy has since been vindicated more often than not. This was the largest instance that didn’t demand “civility” as a constant choke-collar, and the worst problems I’ve had have still been mods flying off the handle in cases where I’ve been perfectly polite.

                  Apparently I can’t say please and thank you without people taking it as vicious sarcasm, so I don’t fuckin’ try and I don’t fuckin’ worry about it. It’s been freeing.

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

          just copy the comment?

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

        Ah, yes! Much better!

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

      Huh. Looks just like Perl.

    • Yearly1845@reddthat.com
      link
      fedilink
      arrow-up
      33
      ·
      edit-2
      7 months ago

      deleted by creator

      • RBG@discuss.tchncs.de
        link
        fedilink
        arrow-up
        49
        ·
        1 year ago

        Biblically correct hello world

      • gravitas_deficiency@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 year ago

        Idiomatically nonsensical, as all things should be.

    • Shyfer@ttrpg.network
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Beautiful

    • yetAnotherUser@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      And I’ve heard it took years until someone managed to do it

    • mrkite@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Mom, put down the phone, I’m using the modem!

    • JATtho@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Holy cow.

  • Ð Greıt Þu̇mpkin@lemm.ee
    link
    fedilink
    arrow-up
    68
    arrow-down
    1
    ·
    1 year ago

    The Base3 arithmetic alone makes me deeply upset

    Base36 is where it’s at! Super divisibility, 0-Z keyspace, and “10” is a Square that’s also the product of two squares.

    Plus you can count to “40” (144) on your hands!

    • Pogogunner@sopuli.xyz
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      1 year ago

      How do you count in base36 on your hands? I seem to only have 10 (decimal notation) fingers

      • ShaunaTheDead@fedia.io
        link
        fedilink
        arrow-up
        29
        ·
        1 year ago

        You can count up to 1023 in base 2 using your fingers to represent 0s and 1s.

        • Ð Greıt Þu̇mpkin@lemm.ee
          link
          fedilink
          arrow-up
          16
          ·
          1 year ago

          In theory yes, in practice…fingers don’t like cooperating with the combinations of bent and up that you can get by doing that

          • magikmw@lemm.ee
            link
            fedilink
            arrow-up
            6
            ·
            1 year ago

            Yeah, fingers have a strong union.

          • mnemonicmonkeys@sh.itjust.works
            cake
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Speak for yourself

            Hypermobility ftw

          • LazerFX@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            I do it regularly… I particularly like 4.

            In all seriousness, I use it when I need to time something - 32 on one hand means one minute (approximately) with two rotations. I started when trying to determine if my daughter was asleep, waiting for a minute after she’d last moved or talked, and I didn’t want a screen or light or noise to wake her (she’s always been hard to get to sleep).

            So - yeah it’s a tiny bit tricky to do some combos, but no more than touch typing.

        • Pogogunner@sopuli.xyz
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          1 year ago

          I understand this, but I didn’t know how one would count up to 36 the first time around. PhlubbaDubba is using joints in their fingers to get additional objects to increment on. If we only used our fingers, we could only get to 10

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

        Each hand is one base-6 digit.

        https://www.seximal.net/finger-counting (SFW)

        • Hazzia@discuss.tchncs.de
          link
          fedilink
          arrow-up
          15
          ·
          edit-2
          11 months ago

          deleted by creator

      • Ð Greıt Þu̇mpkin@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Using your thumbs as pointers, count the joints in your fingers on one hand, that gets you to 12, use the other hand’s finger joints to count the thirds within 36, with 4 fingers on the other hand, that’s “40”

  • hades@lemm.ee
    link
    fedilink
    arrow-up
    52
    ·
    1 year ago

    Despite this design, it is possible to write useful programs.

    Interestingly, this applies to C++ too.

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

    So is there a 9th circle? Would that be a programming language where the only way to compile would be to speak op-codes out loud in the correct sequence & cadence into a microphone?

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

      oh my god don’t give them any ideas for tonal programming languages

      • Natanael@slrpnk.net
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Too late, take a look at teletext and RDS for radio, and also literally the very first cable free TV remote controls

    • neutron@thelemmy.club
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      There’s a conlang introducing phonemic hats, so why the hell not?

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      A bunch of rocks.

    • Amerikan Pharaoh@lemmygrad.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      High Ceremonial Programming(k)

  • Sibbo@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Looks interesting. Except for the fact that an instruction is modified after execution, this is quite simple in the end. Unless I missed something. But yeah, self-modifying instructions makes loops really hard.

  • baseless_discourse@mander.xyz
    link
    fedilink
    arrow-up
    9
    arrow-down
    7
    ·
    edit-2
    8 months ago

    deleted by creator

    • PoolloverNathan@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Haskell’s crazy operation is intuitive though. Assuming you’re talking about >>=, it’s just a generalized flatMap.

      • baseless_discourse@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        8 months ago

        deleted by creator

        • expr@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          As a professional Haskell developer, I tend to agree. I loathe any and all lens code I find using a ton of operators (though I just dislike lenses in general). Operators from base are generally fine, but for the rest, just use normal functions damnit. Operators suck for code navigation too.

          • baseless_discourse@mander.xyz
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            8 months ago

            deleted by creator

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

      Haskell is abstract, and very different from other popular languages, but I actually find it very intuitive. At the very least, the type system makes it extremely predictable.

      • baseless_discourse@mander.xyz
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        8 months ago

        deleted by creator

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

          Haha, an actual category theorist! You should have gone with “we have more than one of those in Haskell” or something, then. As it is, it really just reads like someone who thinks higher-order functions are too hard of a concept, and that the whole language is therefore garbage.

          • baseless_discourse@mander.xyz
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            8 months ago

            deleted by creator

  • MinekPo1 [it/she]@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    honesty I never understood why people consider malbolge so bad . sure its difficult AF to do anything in and the complexity gets quite higher still , but IMHO its just to abstract to be painful , it feels to different to feel like something you should be able to understand .

    honesty struggling to write simple operations in some of my own esolangs was way more mind-bendingly horrid than I think malbolge could be without making a compiler to it , while still feeling like I was programming .

    to be fair I also made ArrayFuck so yeah

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.

  • 2.04K users / day
  • 5.06K users / week
  • 10.1K users / month
  • 19.5K users / 6 months
  • 1 local subscriber
  • 24.2K subscribers
  • 1.38K Posts
  • 44.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org