this post was submitted on 18 Apr 2025
847 points (98.1% liked)

Programmer Humor

22921 readers
114 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 35 comments
sorted by: hot top controversial new old
[–] cm0002@lemmy.world 95 points 2 weeks ago (1 children)

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

[–] RapidCatLauncher@lemmy.ca 55 points 2 weeks ago* (last edited 1 week ago)

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

[–] enemenemu@lemm.ee 72 points 1 week ago (3 children)

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

I can play this game as well

[–] merari42@lemmy.world 10 points 1 week ago* (last edited 1 week ago) (2 children)

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

[–] enemenemu@lemm.ee 6 points 1 week ago

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

[–] MonkderVierte@lemmy.ml 5 points 1 week ago

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

[–] techt@lemmy.world 9 points 1 week ago (2 children)

Would it be for giving credit it to the Tweeter?

[–] LeninsOvaries@lemmy.cafe 22 points 1 week ago (1 children)

Twitter users don't deserve credit.

[–] ripcord@lemmy.world 3 points 1 week ago

Lol who downvoted this

[–] enemenemu@lemm.ee 5 points 1 week ago

The twitter guy didnt share the link to the source

[–] enemenemu@lemm.ee 38 points 1 week ago

That's called snap on ubuntu

[–] j4k3@lemmy.world 33 points 1 week ago

This sure as fuck better check locale for US only!

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

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

[–] Aatube@kbin.melroy.org 34 points 2 weeks ago

extra 4% tariff on aliased packages

[–] uranibaba@lemmy.world 22 points 1 week ago
[–] helloyanis@jlai.lu 21 points 1 week ago

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

[–] zqwzzle@lemmy.ca 17 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

This would actually be good for npm though…

[–] mmddmm@lemm.ee 7 points 2 weeks ago

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

[–] Aatube@kbin.melroy.org 3 points 2 weeks ago
[–] kibiz0r@midwest.social 16 points 2 weeks 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.

[–] joyjoy@lemm.ee 16 points 2 weeks ago (1 children)

You can smuggle imports using importlib.

[–] elvith 9 points 1 week ago

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

[–] Artyom@lemm.ee 15 points 1 week ago* (last edited 1 week ago) (1 children)

Pandas was always 200% slow, nothing lost there.

[–] merari42@lemmy.world 7 points 1 week ago

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

[–] lily33@lemm.ee 12 points 2 weeks ago

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

[–] frezik@midwest.social 10 points 1 week ago

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

[–] lily33@lemm.ee 6 points 2 weeks ago

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

[–] seeigel 6 points 1 week ago* (last edited 1 week ago)

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

[–] rustbuckett@lemmings.world 4 points 1 week ago

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