this post was submitted on 28 Apr 2026
97 points (100.0% liked)

technology

24369 readers
269 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS
 

Do they honestly expect me to believe that there wasn't a more appropriate way to abbreviate "cumulative maximum" than cummax? Imagine the headaches the inventor of the world's first Python powered sexbot will suffer when they realise that the method name cummin has already been taken.

top 28 comments
sorted by: hot top controversial new old
[–] trompete@hexbear.net 26 points 3 weeks ago (1 children)

I'll defend this. No amount of funny connotations would get me to rename an otherwise perfectly good function name. And not out of a childish desire for mischief like you lot, just out of general principle.

[–] trompete@hexbear.net 9 points 3 weeks ago

Seriously, I will never rename a thing just because it has a little cum on it.

[–] Rom@hexbear.net 25 points 3 weeks ago (1 children)

I'M DELETING YOU, DADDY!😭👋

██]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] 10% complete.....

████]]]]]]]]]]]]]]]]]]]]]]]]]]] 35% complete....

███████]]]]]]]]]]]]]]]] 60% complete....

███████████] 99% complete.....

🚫ERROR!🚫 💯True💯 Daddies are irreplaceable 💖I could never delete you Daddy!💖 Send this to ten other 👪Daddies👪 who give you 💦cummies💦 Or never get called ☁️squishy☁️ again❌❌😬😬❌❌ If you get 0 Back: no cummies for you 🚫🚫👿 3 back: you're squishy☁️💦 5 back: you're daddy's kitten😽👼💦 10+ back: Daddy😛😛💕💕💦👅👅

[–] cockmushroom@reddthat.com 1 points 2 weeks ago

Is this hornypasta?

[–] segfault11@hexbear.net 21 points 3 weeks ago (3 children)

fr, "cummax()"? a more sensible API designer would call it "goon()"

[–] dadarobot@lemmy.ml 11 points 3 weeks ago
[–] RION@hexbear.net 10 points 3 weeks ago

☝️🤓 cummax is a distinct kink subculture!

[–] Umechan@hexbear.net 9 points 3 weeks ago* (last edited 3 weeks ago)

From what little I know about the devs, I expect they already created a function called goon() as an abbreviation of something mundane like "generate one-tenth of number" and just divides a number by 10.

[–] Umechan@hexbear.net 16 points 3 weeks ago (2 children)

Standard Python is guilty of this too. Who the fuck abbreviates "standard deviation" as std? At least Python's inventor has the excuse that he's Dutch.

[–] GaveUp@hexbear.net 9 points 3 weeks ago (1 children)

Python programmers when you make a symbol name longer than 5 characters

maddened

[–] invalidusernamelol@hexbear.net 2 points 2 weeks ago* (last edited 2 weeks ago)

item = obj.get_item()

long long mv_NEW_API_ItemGetter_st = *IMPL_obj_ref->NEW_itemGetter_st()

Don't get me started on c++ name mangling

[–] CupcakeOfSpice@hexbear.net 5 points 3 weeks ago
#include <cstd.h>

using namespace std;
[–] radio_free_asgarthr@hexbear.net 15 points 3 weeks ago (1 children)

If you think that's bad, you should see how much cum functions numpy has.

[–] Umechan@hexbear.net 15 points 3 weeks ago (1 children)

I can't help but read numpy as numpty unless it's capitalised as NumPy. Why is Python such an unserious language? The 16-18 year olds I learned PHP and SQL with 20+ years ago, always sremoveded when one of the teachers talked about "queries" or the website's "backend". The instructors would have probably had a stroke if they had to teach them about cum functions.

[–] ClathrateG@hexbear.net 10 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

sremoveded

Hexbear hasn't solved the Sremovedhorpe problem? smdh

[–] invalidusernamelol@hexbear.net 4 points 2 weeks ago

We're Sremovedhorpe maximalists here

[–] cockmushroom@reddthat.com 3 points 2 weeks ago (1 children)

What's the removed string?

[–] ClathrateG@hexbear.net 4 points 2 weeks ago* (last edited 2 weeks ago)

the N word in what I quoted, C word in the rest of the comment

[–] miz@hexbear.net 12 points 3 weeks ago* (last edited 3 weeks ago)

cumprod

what Isn'treal uses to try to get the semen in time

[–] an_engel_on_earth@hexbear.net 11 points 3 weeks ago (1 children)

use polars, its much faster. Unfortunately it still has the cum methods but theres an underscore in the middle if that makes it better.

[–] Speaker@hexbear.net 8 points 3 weeks ago

Definitively makes it worse.

[–] invalidusernamelol@hexbear.net 10 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I regret to inform you that pandas is based on R and R had the names first

Technically (according to the docs) it was originally proposed in 1988

[–] Umechan@hexbear.net 5 points 2 weeks ago (1 children)

They're still responsible for adopting the functions without renaming them.

[–] invalidusernamelol@hexbear.net 5 points 2 weeks ago* (last edited 2 weeks ago)

You never rename a function, no matter how bad it is lol. There's been a multi-year fight on the Python Forums about re.match being confusing since it anchors the expression to the start of the string while some other languages use match to search the whole string.

I propose that they deprecate cumsum and instead provide an alternative spelling sumcum since that will group it with the other sum functions in the language server autocomplete options

Of course this applies to the related functions maxcum, mincum, and prodcum

[–] meler@hexbear.net 6 points 3 weeks ago (1 children)
[–] Umechan@hexbear.net 2 points 2 weeks ago (1 children)

Matlab? Is that the scientific socialist alternative to matplotLIB ?

And don't call them cumtrapz. Regardless of their unusual and risky sexual behaviour, you know very well that they all have names.

[–] cockmushroom@reddthat.com 2 points 2 weeks ago

Always thought matlab was closed source and paid for

[–] ChaosMaterialist@hexbear.net 2 points 3 weeks ago

Oh god I'm Cumulative Minimum!