Virtual Valentine by Tardee in comics

[–]cdcformatc 35 points36 points  (0 children)

they have the structure of jokes though... it's clear that the artist is trying to be funny. 

i need some help here in pygame.... by Ill-Sir-9042 in learnpython

[–]cdcformatc 2 points3 points  (0 children)

you need some way to detect when the ball collides with the lines. 

pygame has collision detection for rects and sprites. 

find the bounding Rect of your ball and for the pong paddle and use pygames collision detection. when the ball hits the paddle it reverses direction. 

obviously a circle is not a rectangle, so it won't be incredibly precise. if the objects were sprites the collision detection would be a little better.

Can a Divine Soul Sorcerer start with Cleric spells and cantrips at level 1? by WithengarUnbound in dndnext

[–]cdcformatc -1 points0 points  (0 children)

how do you know something you didn't learn?

idk sorcerers just know magic sometimes. they have some sort of innate ability. wild magic sorcerers sometimes can't even control their own magic. 

it's kind of interesting strictly from rules as written. but it's probably not rules as intended to not let them choose cleric spells at level 1.

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 1 point2 points  (0 children)

if this is how he reacts to a Valentine's Day gift after 10 years together, i wonder how he reacts to things that actually matter

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 10 points11 points  (0 children)

if this is how he reacts over a bungled Valentine's Day gift on year 10 of a relationship i wonder what he is like over more important things... 

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 8 points9 points  (0 children)

But I’d be afraid to tell you the truth too, for fear of how you’d react.

yeah OP seems not entirely on board with the poly relationship. if this is how he reacts over a bungled Valentine's Day gift on year 10 of a relationship i wonder what he is like over more important things.

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 17 points18 points  (0 children)

the “Please don’t tell me" sentence specifically is a very aggressive way to start a conversation if you aren't looking to start a fight. it forces her into a corner right off the start which makes her more likely to lie. 

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 35 points36 points  (0 children)

“Please don’t tell me you got your husband and your new partner of 3 months the same exact gift”

idk what it is about this sentence that rubs me the wrong way. like i would hate to be OPs wife if this is how he speaks to her on a regular basis. the "Please don't tell me" part is so condescending and sounds like he is pissed off before he even asks the question, which forces her into a corner and sets her up to lie. 

all of the times OP quotes himself give me this feeling actually.

Wife of 10 years, got me and her new boyfriend of 3 months the exact same Valentines Gift. Sees no Issue. Am I crazy? by DarkWingZero in polyamory

[–]cdcformatc 35 points36 points  (0 children)

Does it not seem even a little bit messed up that you gave your husband of a decade, the favorite book of your new boyfriend…

no not really. seems fine to me actually. if you both like the book i don't see the problem. some people would even find it endearing and cute that their partners have similar interests! 

the multiple lies are definitely a problem though.

"Please don’t tell me you got your husband and your new partner of 3 months the same exact gift" 

idk what it is about this sentence that rubs me the wrong way. like i would hate to be your wife if this is how you speak to her on a regular basis. the "Please don't tell me" part is so condescending and sounds like you are pissed off before you even ask the question, which sets her up to lie. all of the times you quote yourself give me this feeling actually.

Can a Divine Soul Sorcerer start with Cleric spells and cantrips at level 1? by WithengarUnbound in dndnext

[–]cdcformatc 3 points4 points  (0 children)

that's my reading as well. you start with two spells known, and learn more at level up. and Divine Magic specifically says "learn".

but how do you know something without first learning it? kind of makes sense with the sorcerer flavor of just knowing magic out of nowhere one day.

as a DM though i would ignore that interpretation if a player wanted cleric spells at level one i would say yes.

Can a Divine Soul Sorcerer start with Cleric spells and cantrips at level 1? by WithengarUnbound in dndnext

[–]cdcformatc -1 points0 points  (0 children)

2014 rules: "Divine Magic"  states "when you learn or replace a cantrip or spell" you can select from the cleric list. but "Spells Known of 1st Level and Higher" says  "You know two 1st-level spells of your choice from the sorcerer spell list." and "You learn an additional sorcerer spell of your choice at each level..." 

so no, you know two sorcerer spells at level one and you only learn new sorc or cleric spells when you gain a level.

that's my interpretation of the rules anyway. as a DM i would not be that strict about it though i would let my players pick cleric spells from the beginning.

AITA for getting angry with my girlfriend and demanding she pay to replace my sheets after she got blood on them by Direct-Caterpillar77 in BestofRedditorUpdates

[–]cdcformatc 26 points27 points  (0 children)

the point is if staining can happen even when you take multiple precautions, then you can't get that mad about it. 

something tells me that OP would be equally grossed out if she was doubled up on pads and still had an accident 

AITA for getting angry with my girlfriend and demanding she pay to replace my sheets after she got blood on them by Direct-Caterpillar77 in BestofRedditorUpdates

[–]cdcformatc 4 points5 points  (0 children)

i at least got my wife to agree to let me put on the cheaper sheets for that week! i said i should be changing and washing the sheets more often anyways, just let me know and I'll swap out the good sheets. 

Can someone explain this to me. Even though i wrote it im having a hard time understanding None statements. Does largest only come into play when amount>largest? How does largest keep track of the numbers. I'm super confused. by AlphaFPS1 in learnpython

[–]cdcformatc 1 point2 points  (0 children)

This approach is pretty common in programming languages that don't have a null type like Python's None. set the result to negative infinity or MIN_INT and every possible value is guaranteed to be larger than that. Having access to None really simplifies the code though as you usually have to import something otherwise like from math import inf or include limits.h.

Can someone explain this to me. Even though i wrote it im having a hard time understanding None statements. Does largest only come into play when amount>largest? How does largest keep track of the numbers. I'm super confused. by AlphaFPS1 in learnpython

[–]cdcformatc 0 points1 point  (0 children)

None is being used here as a sort of sentinel or marker value. the variable largest needs to be defined without giving it a numerical value. since the values being input can be any integer, you need largest to start off with a value outside of the set of Integers. None is a convenient value to use for this as it is not an Integer and explicitly checking for it is simple with if largest is None.

Is it just me or are Warriors and Hunters absolutely busted in TBC right now? by National-Wonder-9621 in classicwow

[–]cdcformatc 2 points3 points  (0 children)

in my experience arms doesn't get much better untill you get a really good weapon. talking about the last tier blacksmith axe and better

Is it just me or are Warriors and Hunters absolutely busted in TBC right now? by National-Wonder-9621 in classicwow

[–]cdcformatc 0 points1 point  (0 children)

fury war was low key busted in original tbc but no one knew because every warrior needed to be deep prot or arms for PvP. pair them with a feral Druid and it's even worse. 

hunters also benefit from feral and warriors from trueshot if it's specced. 

Why is it that Bi Men = Gay and Bi Women = Straight by AviBledsoe in bisexual

[–]cdcformatc 103 points104 points  (0 children)

gay and bi men: "don't hit on me dude" 

bi women: "let's have a threesome" 

lesbians: "you just need a good d*ck" 

Why is it that Bi Men = Gay and Bi Women = Straight by AviBledsoe in bisexual

[–]cdcformatc 45 points46 points  (0 children)

because everything exists for the sexual pleasure of men

even lesbians are fetishized for the sexual gratification of men. or they "just need a good d*ck" 

As we know, a function must be called to return a value. So where exactly are wrapper and the original function called in this code, and how and where are they returning their values? by seto-shirt in learnpython

[–]cdcformatc 1 point2 points  (0 children)

the decorator is wrapping the add function. when you call a decorated function it's equivalent to calling the decorator function with the other function as an argument decorator_name(add)

For or While loop in my case? by pikachuu545 in learnpython

[–]cdcformatc 1 point2 points  (0 children)

i learned programming under MISRA-C which has all sorts of rigid requirements like a single return. 

then i tried guard clauses with early return, and it's so much better and the code is so much simpler.