kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbynifty@lemmy.world
3 years

Brainfuck is the sixth circle

lemmy.world

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

57
    You must log in or register to comment.

    • TxzK@lemmy.zip
      3 years

      “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
          3 years

          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
              3 years

              I thought you were kidding.

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

                • Synthuir@lemmy.ml
                  3 years

                  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
                  3 years

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

                    • CanadaPlus@lemmy.sdf.org
                      3 years

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

                        • WIZARD POPE💫@lemmy.world
                          3 years

                          The chance of that is definitely not negligible

                    • morrowind@lemmy.ml
                      3 years

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

                      • _edge@discuss.tchncs.de
                        3 years

                        Sounds like Javascript and co-pilot to me.

                        • MonsiuerPatEBrown@reddthat.comdeleted by creatorEnglish
                          3 years

                          deleted by creator

                            • Ghyste@sh.itjust.works
                              3 years

                              Got you covered, friend.

                            • Grass@sh.itjust.works
                              3 years

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

                            • Bubs@lemmings.world
                              3 years

                              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
                                  3 years

                                  deleted by creator

                                    • brbposting@sh.itjust.works
                                      3 years

                                      What steps did you take to fix the formatting?

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

                                        • stebo@lemmy.dbzer0.comdeleted by creator
                                          3 years

                                          just copy the comment?

                                          • mindbleach@sh.itjust.works
                                            3 years

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

                                              • brbposting@sh.itjust.works
                                                3 years

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

                                                  • mindbleach@sh.itjust.works
                                                    3 years

                                                    … where are your vote icons, in general?

                                                      • brbposting@sh.itjust.works
                                                        3 years

                                                        Wasn’t logged in,

                                                        nice thanks :)

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

                                                          • mindbleach@sh.itjust.works
                                                            3 years

                                                            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.

                                                  • FreshLight@sh.itjust.works
                                                    3 years

                                                    Ah, yes! Much better!

                                                  • mox@lemmy.sdf.org
                                                    3 years

                                                    Huh. Looks just like Perl.

                                                    • Butt Pirate@reddthat.com
                                                      3 years

                                                      deleted by creator

                                                        • RBG@discuss.tchncs.de
                                                          3 years

                                                          Biblically correct hello world

                                                          • gravitas_deficiency@sh.itjust.worksEnglish
                                                            3 years

                                                            Idiomatically nonsensical, as all things should be.

                                                          • Shyfer@ttrpg.network
                                                            3 years

                                                            Beautiful

                                                            • yetAnotherUser@lemmy.ca
                                                              3 years

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

                                                              • mrkite@programming.dev
                                                                3 years

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

                                                                • JATtho@sopuli.xyz
                                                                  3 years

                                                                  Holy cow.

                                                                • Ð Greıt Þu̇mpkin@lemm.ee
                                                                  3 years

                                                                  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
                                                                      3 years

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

                                                                        • ShaunaTheDead@fedia.io
                                                                          3 years

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

                                                                            • Ð Greıt Þu̇mpkin@lemm.ee
                                                                              3 years

                                                                              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
                                                                                  3 years

                                                                                  Yeah, fingers have a strong union.

                                                                                  • mnemonicmonkeys@sh.itjust.worksEnglish
                                                                                    3 years

                                                                                    Speak for yourself

                                                                                    Hypermobility ftw

                                                                                    • LazerFX@sh.itjust.worksEnglish
                                                                                      3 years

                                                                                      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
                                                                                      3 years

                                                                                      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
                                                                                      3 years

                                                                                      Each hand is one base-6 digit.

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

                                                                                        • Hazzia@discuss.tchncs.de
                                                                                          3 years

                                                                                          seximal

                                                                                          (SFW)

                                                                                          :(

                                                                                        • Ð Greıt Þu̇mpkin@lemm.ee
                                                                                          3 years

                                                                                          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
                                                                                        3 years

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

                                                                                        Interestingly, this applies to C++ too.

                                                                                        • ThePyroPython@lemmy.world
                                                                                          3 years

                                                                                          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
                                                                                              3 years

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

                                                                                                • Natanael@slrpnk.net
                                                                                                  3 years

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

                                                                                                • Amerikan Pharaoh@lemmygrad.ml
                                                                                                  3 years

                                                                                                  High Ceremonial Programming(k)

                                                                                                  • neutron@thelemmy.club
                                                                                                    3 years

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

                                                                                                    • mindbleach@sh.itjust.works
                                                                                                      3 years

                                                                                                      A bunch of rocks.

                                                                                                    • Sibbo@sopuli.xyz
                                                                                                      3 years

                                                                                                      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
                                                                                                        3 years

                                                                                                        “counter-intuitive crazy operation” meh, we already have that, it is called Haskell.

                                                                                                          • PoolloverNathan@programming.devEnglish
                                                                                                            3 years

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

                                                                                                              • baseless_discourse@mander.xyz
                                                                                                                3 years

                                                                                                                This is probably a rather controversial topic in the haskell community. Haskell library and base has a tendency to provide “too many“ infix operator (at least IMO), many of which makes code hard to read for beginners and experts alike.

                                                                                                                See the discussion here: https://wiki.haskell.org/Haskell_programming_tips/Discussion#Use_syntactic_sugar_wisely

                                                                                                                  • expr@programming.dev
                                                                                                                    3 years

                                                                                                                    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
                                                                                                                        3 years

                                                                                                                        Yeah, it is one of the problem I have about Haskell.

                                                                                                                        The other two are lazy evaluation makes print debugging almost impossible, you will need to print the entire environment to figure out where you are.

                                                                                                                        Finally, I feel like List.fold, state monad, lens are basically just working with mutable structure with extra steps. Although this constructs prevent newbies who are not principled enough to effectively use mutable structure from using mutable structure, but it also doesn’t help experienced user to write more effective and clean code.

                                                                                                                        Mutuabilty are certainly not harmless either. For example in ocaml, if you construct the IntSet type twice, they will be two completely different type. But this behavior can be pretty easily avoided by an experienced user.

                                                                                                                        What do you feel about these features/shortcomings?

                                                                                                                  • CanadaPlus@lemmy.sdf.org
                                                                                                                    3 years

                                                                                                                    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
                                                                                                                        3 years

                                                                                                                        I didn’t imagine a joke would attract this many people defending Haskell. LOL.

                                                                                                                        I personally would say I hate Haskell the least among most of the PL I know, maybe except ocaml. Haskell is probably the second if not the most popular programming language (not including proof assistant) in my field, next to Ocaml; and I have been teaching it for couple years. My work is also heavily involved with category theory, so I don’t personally mind the category theory jargon.

                                                                                                                        But all of these doesn’t mean Haskell is without its flaws. For this post in particular, I am referring to one of the long standing debate in the haskell community of whether Haskell user and developer has a tendency to overuse exotic infix operators: https://wiki.haskell.org/Haskell_programming_tips/Discussion#Use_syntactic_sugar_wisely

                                                                                                                          • CanadaPlus@lemmy.sdf.org
                                                                                                                            3 years

                                                                                                                            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
                                                                                                                                3 years

                                                                                                                                welp, karma is not a thing here, nor do I care about them. It is great to see people loving haskell, it is a decent language <3.

                                                                                                                        • MinekPo1 [it/she]@lemmygrad.ml
                                                                                                                          3 years

                                                                                                                          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 post

                                                                                                                          Report community

                                                                                                                          Modlog
                                                                                                                          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
                                                                                                                            • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
                                                                                                                          Visibility: Public

                                                                                                                          This community is visible to everyone.

                                                                                                                          • 1.17K users / Day
                                                                                                                          • 4.53K users / Week
                                                                                                                          • 9.07K users / Month
                                                                                                                          • 11.6K users / 6 months
                                                                                                                          • 2.6K posts
                                                                                                                          • 97.3K comments
                                                                                                                          • 2 local subscribers
                                                                                                                          • 34.2K subscribers
                                                                                                                          • UI: 1.0.0-beta.0
                                                                                                                          • BE: 1.0.0-alpha.20
                                                                                                                          • Modlog
                                                                                                                          • Instances
                                                                                                                          • Docs
                                                                                                                          • Code
                                                                                                                          • join-lemmy.org