this post was submitted on 18 Apr 2025
254 points (97.7% liked)

Programmer Humor

24615 readers
1211 users here now

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

founded 2 years ago
MODERATORS
 
top 33 comments
sorted by: hot top controversial new old
[–] enemenemu@lemm.ee 29 points 2 months ago (3 children)

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

I can play this game as well

[–] darvocet@infosec.pub 15 points 2 months ago (2 children)
[–] anton@lemmy.blahaj.zone 7 points 2 months ago (1 children)
[–] name_NULL111653@pawb.social 9 points 2 months ago (2 children)
[–] kambusha@sh.itjust.works 5 points 2 months ago

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

[–] merari42@lemmy.world 9 points 2 months ago* (last edited 2 months ago) (3 children)

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

[–] lmmarsano@lemmynsfw.com 10 points 2 months ago* (last edited 2 months ago)

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 6 points 2 months ago

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

[–] enemenemu@lemm.ee 6 points 2 months ago

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

[–] techt@lemmy.world 3 points 2 months ago (2 children)

Would it be for giving credit it to the Tweeter?

[–] LeninsOvaries@lemmy.cafe 11 points 2 months ago (1 children)

Twitter users don't deserve credit.

[–] ripcord@lemmy.world 1 points 2 months ago

Lol who downvoted this

[–] enemenemu@lemm.ee 3 points 2 months ago

The twitter guy didnt share the link to the source

[–] helloyanis@jlai.lu 20 points 2 months ago

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

[–] cm0002@lemmy.world 16 points 2 months ago (1 children)

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

[–] RapidCatLauncher@lemmy.ca 11 points 2 months ago* (last edited 2 months ago)

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

[–] Artyom@lemm.ee 13 points 2 months ago* (last edited 2 months ago) (1 children)

Pandas was always 200% slow, nothing lost there.

[–] merari42@lemmy.world 6 points 2 months ago

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

[–] j4k3@lemmy.world 10 points 2 months ago

This sure as fuck better check locale for US only!

[–] enemenemu@lemm.ee 10 points 2 months ago

That's called snap on ubuntu

[–] frezik@midwest.social 9 points 2 months ago

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

[–] uranibaba@lemmy.world 8 points 2 months ago
[–] seeigel@feddit.org 6 points 2 months ago* (last edited 2 months ago)

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

[–] kibiz0r@midwest.social 5 points 2 months ago

The extra time is spent mining $TRUMP

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

[–] rustbuckett@lemmings.world 4 points 2 months ago

Hopefully it maxes out your CPU and memory for no reason.

[–] joyjoy@lemm.ee 4 points 2 months ago (1 children)

You can smuggle imports using importlib.

[–] elvith@feddit.org 3 points 2 months ago

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

[–] driving_crooner@lemmy.eco.br 3 points 2 months ago (1 children)

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

[–] Aatube@kbin.melroy.org 5 points 2 months ago

extra 4% tariff on aliased packages

[–] lily33@lemm.ee 1 points 2 months ago

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

[–] zqwzzle@lemmy.ca 1 points 2 months ago* (last edited 2 months ago)

This would actually be good for npm though…