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

technology

24439 readers
191 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 6 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
[–] segfault11@hexbear.net 16 points 3 months ago (3 children)

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

[–] Umechan@hexbear.net 9 points 3 months ago* (last edited 3 months 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.

[–] dadarobot@lemmy.ml 9 points 3 months ago
[–] RION@hexbear.net 7 points 3 months ago

☝️🤓 cummax is a distinct kink subculture!

[–] trompete@hexbear.net 14 points 3 months 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 7 points 3 months ago

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

[–] Rom@hexbear.net 14 points 3 months 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 3 months ago

Is this hornypasta?

[–] radio_free_asgarthr@hexbear.net 11 points 3 months ago (1 children)

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

[–] Umechan@hexbear.net 12 points 3 months 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 7 points 3 months ago* (last edited 3 months ago) (2 children)

sremoveded

Hexbear hasn't solved the Sremovedhorpe problem? smdh

[–] invalidusernamelol@hexbear.net 4 points 3 months ago

We're Sremovedhorpe maximalists here

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

What's the removed string?

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

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

[–] Umechan@hexbear.net 11 points 3 months 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 7 points 3 months ago (1 children)

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

maddened

[–] invalidusernamelol@hexbear.net 1 points 3 months ago* (last edited 3 months 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 4 points 3 months ago
#include <cstd.h>

using namespace std;
[–] an_engel_on_earth@hexbear.net 10 points 3 months 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 7 points 3 months ago

Definitively makes it worse.

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

cumprod

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

[–] meler@hexbear.net 4 points 3 months ago (1 children)
[–] Umechan@hexbear.net 1 points 3 months 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 1 points 3 months ago

Always thought matlab was closed source and paid for

[–] invalidusernamelol@hexbear.net 3 points 3 months ago* (last edited 3 months 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 3 points 3 months ago (1 children)

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

[–] invalidusernamelol@hexbear.net 2 points 3 months ago* (last edited 3 months 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

[–] ChaosMaterialist@hexbear.net 1 points 3 months ago

Oh god I'm Cumulative Minimum!