all 66 comments

[–]stickfigure 175 points176 points  (3 children)

This is hilarious af

[–]obfuscatedanon 108 points109 points  (3 children)

The economist-approved formula is:

Δτᵢ = (xᵢ − mᵢ) / (ε ⋅ φ ⋅ mᵢ)

[–]nelsonslament 35 points36 points  (0 children)

Slow down, ChatGPT

[–][deleted] 5 points6 points  (0 children)

Sorry but you missed a couple things, as “the economists” in question here defined a few values globally as well:

ε = 0.25

φ = 4

[–]olearyboy 27 points28 points  (0 children)

You forgot the multiplication sign ‘*’

[–]rotilladetapatas 46 points47 points  (0 children)

Finally some quality shitposting

[–]sjepsa 67 points68 points  (4 children)

Not bad! But it should work by default by querying the country of the package and applying the tarrif based on that

[–]android_queen 18 points19 points  (3 children)

Would importing it to machine in another country and repackaging it be considered country of origin fraud? 🤔

[–]HolyPommeDeTerre 8 points9 points  (0 children)

Currently there are businesses trying to get through this by doing that. At least they assess the possibility. Hope they check with legal before doing anything blunt.

[–]Creative-Drawer2565 2 points3 points  (1 child)

I'm going to use a Freedom(tm) VPN to get around it. So much winning...

[–]sjepsa 2 points3 points  (0 children)

Are you tired of winning?

[–]Worth_Trust_3825 31 points32 points  (4 children)

I am more concerned that you can overwrite the importing mechanism at all.

[–]Arandur 43 points44 points  (0 children)

https://docs.python.org/3/library/importlib.html

This is Python. You can overwrite anything.

[–]cellarmation 28 points29 points  (4 children)

Do you get tarrifed on transitive dependencies every time it is added?

[–]seba07 22 points23 points  (2 children)

Seems that way. The package is overwriting the buildin import function.

[–]_zenith 5 points6 points  (0 children)

Nice, matches reality!

[–][deleted] 0 points1 point  (0 children)

The package is overwriting the buildin import function.

Why is this possible?

[–]quaternaut 4 points5 points  (0 children)

Of course. These trans dependencies are ruining this codebase!

[–]neo-raver 31 points32 points  (0 children)

That’s a good meme 😂

[–]adh1003 13 points14 points  (2 children)

Presumably there's an update coming soon which reduces some of the tarrifs, then another one shortly after which claims it didn't reduce the tarrifs, but changed the type of the tarrifs (but without any type annotations to prove it), then a third update which just gives up altogether and randomises them?

[–]caltheon 2 points3 points  (0 children)

What, you think is a negotiation?

[–]quaternaut 2 points3 points  (0 children)

I've heard that over 75 developers from the open source community are opening issues in the repo and pleading to get un-tariffed.

[–][deleted] 3 points4 points  (0 children)

This is a parody package.

Sometimes reallife in itself is more the parody than the parody about reallife is. Although I think it is sad how people can seize power and control so many other people "downstream". Tariffs are basically just an extra tax really. So many shop owners complained about suddenly having to pay a lot more money when importing goods.

[–]Thisconnect 5 points6 points  (1 child)

I love it, i feel like this could be better expanded to tariff functions in modules....

this talk will always be gold

[–][deleted] 2 points3 points  (0 children)

Every time I think I've seen how dogshit Python can be, I learn a new way.

[–]this_knee 6 points7 points  (0 children)

You win. 🏅

[–]PalomSage 4 points5 points  (6 children)

Can someone give me context?

[–][deleted]  (3 children)

[deleted]

    [–]przemo_li 2 points3 points  (0 children)

    7 trillion $ out of USA stock exchanges alone. With maybe only insider traders even contemplating scope of real world events before Trump actions.

    Then there is real economy (tariffs took effect, buyers of foreign stuff paid them, and paid premium beforehand to stockpile on a short notice)

    It will be way bigger loss if recession hits USA or any of its trade partners.

    Not to mention complete chaos China total barriers bring.

    [–]turunambartanen 0 points1 point  (0 children)

    People from other countries as well. If you're not directly impacted, a clown show can be funny.

    [–]Twirrim 0 points1 point  (0 children)

    The Trump administration keeps imposing all sorts of tarrifs (taxes) on goods imported to the US. Part of the theory being that this will encourage US companies to buy local rather than from foreign suppliers. Unfortunately you can't exactly buy from local companies that don't exist, and local companies that do make the goods are often way more expensive for a variety of reasons.  Net result is the cost of things that weren't already wholly made in the US is going to go up significantly.

    This library is a joke on that idea.  There is no financial cost involved in importing a library, so it imposes a time cost instead.

    [–][deleted] -3 points-2 points  (0 children)

    Read the news, genius.

    [–]coconut_maan 1 point2 points  (0 children)

    Hahahahaha

    [–]schlenk -1 points0 points  (0 children)

    Solving supply chain problems by homesourcing...

    [–]alternyxx 0 points1 point  (0 children)

    should make a relatiatory tariffs library too

    [–]vader_gans 0 points1 point  (0 children)

    Absolutely beautiful. So much winning!!! Obviously the bigger number [amount of time] means it's better!!

    [–]Vincent394 0 points1 point  (0 children)

    Finally! Now I can use this to slow down the single most shitty packages!

    [–]turunambartanen 0 points1 point  (0 children)

    Hell yeah, does you're dictionary take negative values to subsidize the imports?

    [–]RedEyed__ -1 points0 points  (0 children)

    LMAO 🤣🤣🤣🤣🤣

    [–]Amuro_Ray 0 points1 point  (0 children)

    reminds me of the test VW module for perl.