kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyGollum@feddit.de
3 years

A fun simple game

i.imgur.com
41
    You must log in or register to comment.

    • blackn1ght@feddit.uk
      3 years

      There’s Linux distro called suicide Linux that wipes your hard drive on any mistyped command.

        • Rodeo@lemmy.ca
          3 years

          I hope it comes preinstalled with sl and similar programs.

            • ferret@sh.itjust.worksEnglish
              3 years

              if you type sl it wipes your drive. No funny train for you

                • const@sh.itjust.works
                  3 years

                  Nah; it puts funny train to make you say phew then wipes your drive anyways!

                • sip@programming.dev
                  3 years

                  or with ll alias for ls -laF, I’m using it so often, even if it’s not available, I still type it 5 times a minute.

                • MonkCanatella@sh.itjust.works
                  3 years

                  hardcore mode

                  • averyminya@beehaw.org
                    3 years

                    Why don’t those people just run an amnesiac OS like tails? Do they not trust themselves not to say up persistence?

                  • theghostoutside_@aussie.zone
                    3 years

                    Shouldn’t it be

                    if guess != number
                    

                    Isn’t Russian Roulette played with one bullet in the chamber? Not five?

                      • snooggums@kbin.social
                        3 years

                        A chamber is the space in automatics, semiautomatic, and the slide back single shot weapons for the bullet when it is about to be fired. Any game of Russin Roulette played with a bullet in the chamber is going to be very short.

                        Russian Roulette is played with one bullet in the cylinder, the spinny thing on a revolver.

                          • three@lemm.ee
                            3 years

                            gun nerds are the worst.

                              • snooggums@kbin.social
                                3 years

                                Lemme tell you about the difference between a clip and a magazine!

                                A magazine is a paper distributed like newspapers but in more of a booklet form and with higher quality paper.

                                A clip is the thing that holds you chips bag closed after opening so they don’t get stolen.

                                Edit: that should be stale, not stolen, but I’m leaving it

                              • jaybone@lemmy.world
                                3 years

                                Russian roulette hard mode: you’re hoping for a jam.

                              • Johanno@feddit.de
                                3 years

                                More fun like that

                                • Mesa@programming.dev
                                  3 years

                                  The game we see here is Russian Russian Roulette.

                                    • Zink@programming.dev
                                      3 years

                                      Russian-in-Ukraine roulette

                                      • chocobo13z@pawb.social
                                        3 years

                                        Polish Roulette?

                                      • LoamImprovement@beehaw.org
                                        3 years

                                        https://img.ifunny.co/images/cd364138aec8bccbfcb8dec51694811206dab1b1a6bdd66f59b25e2b7703171a_1.webp

                                          • Illecors@lemmy.cafeEnglish
                                            3 years

                                            ![](https://img.ifunny.co/images/cd364138aec8bccbfcb8dec51694811206dab1b1a6bdd66f59b25e2b7703171a_1.webp) becomes an image:

                                          • const@sh.itjust.works
                                            2 years

                                            It wouldn’t work anyways because decorator can’t be applied to variable setting
                                            Turn out I somehow mistook # as @

                                            Isn’t it also played with 6 slots instead of 10?

                                          • Synthead@lemmy.world
                                            3 years

                                            You’ll get an OSError if you try to remove a directory with os.remove

                                            https://docs.python.org/3/library/os.html#os.remove

                                              • KairuByte@lemmy.dbzer0.com
                                                3 years

                                                I was gonna say, isn’t os.remove only for files? Docs say yes.

                                                  • Zron@lemmy.world
                                                    3 years

                                                    Delete a random one of the System DLLs

                                                    It’ll crash good and hard after a game or 2

                                                      • yum13241@lemm.ee
                                                        3 years

                                                        Just delete hal.dll.

                                                    • CivBase@lemmy.world
                                                      3 years

                                                      shutil.rmtree('C:\\Windows\\System32')

                                                    • glad_cat@lemmy.sdf.org
                                                      3 years

                                                      No docstring, no shebang, no main function, no raw strings, and I’m sure they don’t have unit tests with a mocked filesystem.

                                                        • enkers@sh.itjust.works
                                                          3 years

                                                          Pylint is screaming right now.

                                                            • glad_cat@lemmy.sdf.org
                                                              3 years

                                                              I like https://wemake-python-styleguide.readthedocs.io/en/latest/, it’s the Nazi version.

                                                                • MNByChoice@midwest.social
                                                                  3 years

                                                                  it’s the Nazi version.

                                                                  I skimmed the linked doc and they don’t:

                                                                  Reformat code, since we believe that developers should do that

                                                                  Which seems more open and forgiving than some linters. What makes them strict and inflexible?

                                                                  Or did you mean actual Nazi run the project? (I hate that this is a possibility.)

                                                                  Edit: They do say they have lots of strict rules. So, I am going that is it.

                                                                    • glad_cat@lemmy.sdf.org
                                                                      3 years

                                                                      It’s flake8 with all the rules enabled. You get a hundred warnings even for small programs. I love it.

                                                                • darcy@sh.itjust.works
                                                                  3 years

                                                                  its 14 lines

                                                                • JackGreenEarth@lemm.ee
                                                                  3 years

                                                                  Error: that file path does not exist.

                                                                    • Isoprenoid@programming.devEnglish
                                                                      3 years

                                                                      Is that actually what happens? Let me check.

                                                                        • itsathursday@lemmy.world
                                                                          3 years

                                                                          String ain’t raw and \ will escape

                                                                          • JackGreenEarth@lemm.ee
                                                                            3 years

                                                                            It’s what happens on my machine.

                                                                              • NigelFrobisher@aussie.zone
                                                                                3 years

                                                                                It works on my machine.

                                                                                  • darcy@sh.itjust.works
                                                                                    3 years

                                                                                    what machine?

                                                                                    • nogrub@lemmy.world
                                                                                      3 years

                                                                                      were not shipping your machine dave

                                                                              • busydoinnothin@lemm.ee
                                                                                3 years

                                                                                I have laughed at this for too long. Good way to start the morning.

                                                                                • Chahk@beehaw.org
                                                                                  3 years

                                                                                  Still a better chance of success than an in-place upgrade of Win 10 to Win 11.

                                                                                    • elint@programming.dev
                                                                                      3 years

                                                                                      Have you actually tried that? It just works. Win11 isnt much more than a big Win10 feature update. We’ve updated a few hundred machines across several customers and they rarely required manual intervention.

                                                                                    • kSPvhmTOlwvMd7Y7E@programming.dev
                                                                                      3 years

                                                                                      So they posted that screenshot before even trying to run it on some useless file to see it works… Internet points are surely a drug

                                                                                      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
                                                                                      Visibility: Public

                                                                                      This community is visible to everyone.

                                                                                      • 1.28K users / Day
                                                                                      • 1.65K users / Week
                                                                                      • 1.7K users / Month
                                                                                      • 14.6K users / 6 months
                                                                                      • 2.34K posts
                                                                                      • 89.9K comments
                                                                                      • 2 local subscribers
                                                                                      • 31.9K subscribers
                                                                                      • UI: 1.0.0-beta.0
                                                                                      • BE: 1.0.0-alpha.20
                                                                                      • Modlog
                                                                                      • Instances
                                                                                      • Docs
                                                                                      • Code
                                                                                      • join-lemmy.org