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

This might have some impact on efficiency

lemmy.world
36
    You must log in or register to comment.

    • cm0002@lemmy.world
      2 years

      Not feature complete, needs to be tied with a RNG to determine when TARIFF ON and TARIFF OFF

        • RapidCatLauncher@lemmy.caEnglish
          2 years

          Hidden feature: Defines a tariff.admin.impeach function that increments a global counter and does absolutely nothing else

        • enemenemu@lemm.ee
          2 years

          I don’t get why people share twitter screenshot instead of the image itself

          I can play this game as well

            • darvocet@infosec.pub
              2 years

                • anton@lemmy.blahaj.zone
                  2 years

                    • ℛ𝒶𝓋ℯ𝓃@pawb.social
                      2 years

                        • kambusha@sh.itjust.works
                          2 years

                          🎶 Non, rien de rien. Non, je ne regrette rien. 🎶

                          • ØliviaMauuu@lemmy.blahaj.zoneEnglish
                            2 years

                        • MonkderVierte@lemmy.ml
                          2 years

                        • merari42@lemmy.world
                          2 years

                          This is a bluesky screenshot, not a twitter screenshot. This is to show, where I reposted this from.

                            • lmmarsano@lemmynsfw.comEnglish
                              2 years

                              This is the web: we can attribute source with link, and the original source in markdown could be quoted without breaking accessibility. The web is built for it.

                              👊 TARIFF 🔥

                              The GREATEST, most TREMENDOUS Python package that makes importing great again!

                              MIGA: make importing great again. pip.

                              About

                              TARIFF is a fantastic tool that lets you impose import tariffs on Python packages. We’re going to bring manufacturing BACK to your codebase by making foreign imports more EXPENSIVE!

                              meme: Breaking news: 34% tariff on python imports. pypi ecosystem thrown into turmoil.

                              Installation

                              pip install tariff
                              

                              Usage

                              import tariff
                              
                              # Set your tariff rates (package_name: percentage)
                              tariff.set({
                                  "numpy": 50,     # 50% tariff on numpy
                                  "pandas": 200,   # 200% tariff on pandas
                                  "requests": 150  # 150% tariff on requests
                              })
                              
                              # Now when you import these packages, they'll be TARIFFED!
                              import numpy   # This will be 50% slower
                              import pandas  # This will be 200% slower
                              

                              Text: it’s accessible!

                              • MonkderVierte@lemmy.ml
                                2 years

                                Use the download picture there, use the upload picture here and post a link to the source?

                                • enemenemu@lemm.ee
                                  2 years

                                  That’s what I don’t understand. Usually you quote the original source. What if it was a video?

                                • techt@lemmy.world
                                  2 years

                                  Would it be for giving credit it to the Tweeter?

                                    • LeninsOvaries@lemmy.cafeEnglish
                                      2 years

                                      Twitter users don’t deserve credit.

                                        • ripcord@lemmy.world
                                          2 years

                                          Lol who downvoted this

                                        • enemenemu@lemm.ee
                                          2 years

                                          The twitter guy didnt share the link to the source

                                      • enemenemu@lemm.ee
                                        2 years

                                        That’s called snap on ubuntu

                                        • 𞋴𝛂𝛋𝛆@lemmy.worldEnglish
                                          2 years

                                          This sure as fuck better check locale for US only!

                                          • driving_crooner@lemmy.eco.br
                                            2 years

                                            Importing pandas and numpy without the pd and np aliases looks weird.

                                              • Aatube@kbin.melroy.org
                                                2 years

                                                extra 4% tariff on aliased packages

                                              • uranibaba@lemmy.worlddeleted by creator
                                                2 years

                                                https://github.com/hxu296/tariff

                                                • helloyanis@jlai.lu
                                                  2 years

                                                  Set it to -1000% and enjoy your new lightning-fast imports!

                                                  • zqwzzle@lemmy.caEnglish
                                                    2 years

                                                    This would actually be good for npm though…

                                                      • mmddmm@lemm.ee
                                                        2 years

                                                        Are you trying to say npm doesn’t implement this yet?

                                                        • Aatube@kbin.melroy.org
                                                          2 years

                                                          how so lol

                                                        • unalivejoy@lemm.eeEnglish
                                                          2 years

                                                          You can smuggle imports using importlib.

                                                            • Elvith Ma'for@feddit.org
                                                              2 years

                                                              We’re gonna build a firewall and importlib is gonna pay for it!

                                                            • Artyom@lemm.ee
                                                              2 years

                                                              Pandas was always 200% slow, nothing lost there.

                                                                • merari42@lemmy.world
                                                                  2 years

                                                                  If you can tariff penguin island you could also tariff polars, which isn’t slow.

                                                                • kibiz0r@midwest.socialEnglish
                                                                  2 years

                                                                  The extra time is spent mining $TRUMP

                                                                  Tap for spoiler

                                                                  I know it’s PoS, it’s just funnier this way, don’t come at me.

                                                                  • lily33@lemm.ee
                                                                    2 years

                                                                    Having to import my tariff management solution is a critical national security risk. Needs to be built-in. PEP soon, please?

                                                                    • frezik@midwest.social
                                                                      2 years

                                                                      Reduce them later. Tell your boss you found a 2x speedup.

                                                                      • seeigel@feddit.orgEnglish
                                                                        2 years

                                                                        Is there a way that I can enforce this as root to all of my users?

                                                                        • lily33@lemm.ee
                                                                          2 years

                                                                          What a great way to reduce external dependencies and mitigate supply chain attacks!

                                                                          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.

                                                                          • 824 users / Day
                                                                          • 3.78K users / Week
                                                                          • 7.97K users / Month
                                                                          • 12K users / 6 months
                                                                          • 2.62K posts
                                                                          • 98K comments
                                                                          • 2 local subscribers
                                                                          • 34.3K subscribers
                                                                          • UI: 1.0.0-beta.0
                                                                          • BE: 1.0.0-alpha.20
                                                                          • Modlog
                                                                          • Instances
                                                                          • Docs
                                                                          • Code
                                                                          • join-lemmy.org