i have so may questions; why are the top right and dead center duplicates? why do they have different images? why are the phrases inconsistent? why are the images and phrases distributed at random? how did you miss this?

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
14h

the best thing about memes is that anybody can take it and remix it to make it better :)

fair point

Blessthisimmunity
link
fedilink
English
26h

One thing, I don’t know why

GiorgioBoymoder [none/use name]
link
fedilink
English
35
edit-2
1d

it’s really fucking with me that neither axis follows a progressive ordering so I’m going to post a fixed (debugged) version. EDIT: lmao this is the most fucked up, inconsistent alignment chart I’ve seen. here it is fixed: everything -> sometimes -> nothing

know -> not sure -> don’t know

TheDoctor [they/them]
link
fedilink
English
61d

Thank god

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
41d

haha nice work, that is an improvement :)

Where does “it used to work, but now it doesn’t, and I don’t understand how it could ever have worked” fit in?

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
41d

haha can’t believe I forgot that gem

There might be a bug in the labeling code here

Gregor
link
fedilink
131d

You doubled the “everything works, and I don’t know why”

Do you know why?

Gregor
link
fedilink
21d

I, in fact, don’t

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
-21d

one’s not sure why and the other is don’t know

Imnebuddy
link
fedilink
English
7
edit-2
1d

The center one is the same as the top right. I think the center is supposed to say “nothing works, I’m not sure why” to match the pattern with the rest.

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
31d

oh haha oops

TheDoctor [they/them]
link
fedilink
English
101d

I helped a friend debug a script last week that was working inconsistently in really weird ways. I looked at the script and it was all event hooks littered with sleep calls. I told him he was basically fuzz testing his own script and then getting surprised when he found race conditions. Shit was wild. Also, sometimes getters in Python are a mistake.

Aren’t setters and getters discouraged in Python?

I remember reading something like, “This isn’t C++ , and Python doesn’t have private vars. Just set the var directly.”

TheDoctor [they/them]
link
fedilink
English
11d

In the way that’s common in languages like Java where you’re making a property read-only, yes. But there’s a whole protocol in Python called descriptors where you can override the . on a field. The most common form of these is class methods annotated with the @property annotation, which makes it so the method can be accessed as if it were a property.

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
61d

I find setters/getters are generally an antipattern because they obfuscate behavior. When you access a field you know what it looks like, but if you pass it through some implicit transformation in a getter then you have to know what that was.

TheDoctor [they/them]
link
fedilink
English
51d

Yeah. I can understand the use case when it’s something relating to keeping simple state in sync by replacing it with derived state. But this particular case was flushing a cache after each get, which made each get of the property non-deterministic based on the class’s state.

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
51d

lol yeah that sounds like a nightmare

BlueMagaChud [any]
link
fedilink
English
71d

the “sometimes works, don’t know why” is the most maddening, I love tearing my hair out just trying to get it to fail reliabily so I’ve got a single hint

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
71d

Any problem that’s not repeatable is incredibly frustrating, and you’re rarely sure if you’ve truly fixed it in the end.

Bezier
link
fedilink
61d

Brain clot inducing labeling job here

this is what fighting with renderman’s outdated OSL scripts is like lmao

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 81 users / day
  • 214 users / week
  • 415 users / month
  • 2.93K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog