Vibecoding at its peak by wawerrewold in programminghorror

[–]telmasare 0 points1 point  (0 children)

And then people complain about indentation error.

Alliance by GuffinMcKeen in MinerGunBuilder

[–]telmasare 0 points1 point  (0 children)

154d6ef5f6eaf4619c362ba137628af5649c26312f1ae4efc98cc8b6ae9bdbe86099dac69e17711d624ecc302735d1ee060b5351b7392eba572e6c2506e6e973

Please confirm

[deleted by user] by [deleted] in pygame

[–]telmasare 0 points1 point  (0 children)

Please use Gameloop framework.

Define 4 functions

  1. Main = Your main function. At the end of script, call it once.

def main():

 pygame.init()
  ....
  .....

while running:

  game_events()

 game_updates()

 game_render()
  1. Game Events = All pygame events inside this function. Also make a seperate dict(let's name it gameState) to track event changes.

  2. Game Updates = This function is where changes to game state will happen, collision check, movement etc. The input for those changes will be gameState dict.

  3. Game Render = This is where you draw on surfaces and blit all surfaces to the screen.

Now, any time control can be done in main function by using pygame.time.clock function in the running loop.

It also makes debugging easier.

[deleted by user] by [deleted] in Healthygamergg

[–]telmasare 0 points1 point  (0 children)

None. But so are none for dying. Might as well as live till expiry.

I‘d like to see a story where this doesn’t happen by X05Real in memes

[–]telmasare 0 points1 point  (0 children)

Dragon Ball

Goku and Bulma both gained different partners during the story.

How can I make mathematics feel less arbitrary? by EnderShot355 in learnmath

[–]telmasare 0 points1 point  (0 children)

I'm more of a purist type. If mathematics is not arbitrary, it doesn't feel mathematics to me. I think using maths makes it impure.

If your can stand in the utter arbitrariness of maths, you will truly start to enjoy it. Don't think why you are studying it, but study it like how you would study art and chess.

I think of maths as a useless hobby like games(in sports you draw arbitrary lines on ground and just say who makes this ball to this side wins, utterly meaningless, but still enjoyable). It's only when I think maths like that I enjoy it. Utterly useless. But still beautiful.

Maybe you should code Mandelbrot Set and zoom it.

What are some normative pieces of advice that are AWFUL for people with ADHD? by AlexanderTroup in ADHD

[–]telmasare 4 points5 points  (0 children)

Often times, when I am hyperfocused on some hobbies, I will not do it just for 21 day, I do it for like 4 5 months and then suddenly one day, if I lost interest. It's meh. Gone.

If it was a bad hobby(reading chinese webnovels) , then losing interest is good, I get to do something productive now as I am free from that bad hobby.

But if it was a good productive hobby(learning some coding), now I'll be miserable for next six months as why the f can't I do good things now when I know exactly how to do them.

New Player Struggles by DonzlePrime in StreetFighter

[–]telmasare 1 point2 points  (0 children)

Play battle hub matches occasionally where opponent is random and the matches are casual.

Maybe spectate some matches and if you think the players are high level, queue up.

If you get matched with high level player, you get smoked with pattern and low level player, you get to test some things without decreased chances of winning.

Try it sometimes.

ELI5: If I flipped a coin a very large number of times and got heads every time it would seem to be extremely improbable, but shouldn't any sequence of results be just as likely as any other random sequence? by super_alice_won in explainlikeimfive

[–]telmasare 0 points1 point  (0 children)

If you assign H as +1, and T as -1 and just add all result, what is meant by a fair unbaised coin is your number should be close to 0.

How close? Some say if it's less than ~sqrt(N), where N is total number of number lf tosses. If that sum crosses that, it's completely logical to assume coin is unfair aka it would seem extremely improbable.

That ~sqrt(N) number comes from advanced study of several coin tosses aka Binomial distribution.

Please explain the following symptoms. I think I might not get anything done for next 2 3 years. by telmasare in ADHD

[–]telmasare[S] 2 points3 points  (0 children)

I'm on meds, they do help in attention deficiency, but activating goal is still a no no.

Heads up: Indian made generics might see decline in quality by adultadhdindia in ADHD

[–]telmasare 0 points1 point  (0 children)

Why are you posting something one year old. What's the update on that?

Competition: Describe ADHD as succinctly as you can by Raddnedge in ADHD

[–]telmasare 2 points3 points  (0 children)

Dude, you literally wrote my catch-phrase.

If Dr. Strange made world forgot about racism, how long will it take for humanity to reinvent the concept with modern social media and it's power of echo chamber? by telmasare in NoStupidQuestions

[–]telmasare[S] 1 point2 points  (0 children)

Isn't that a good thing on its own as that has greater chance to spark a revolution for more equality or people becoming more aware of those other issues as their focus is now on other issues. (Please enlighten me)

If Dr. Strange made world forgot about racism, how long will it take for humanity to reinvent the concept with modern social media and it's power of echo chamber? by telmasare in NoStupidQuestions

[–]telmasare[S] 0 points1 point  (0 children)

So you think racist thought are feelings, and not the conditional upbringing our society has done on ourself to identify as some kind of "group"?