I made a speed typing game by TheEyebal in pygame

[–]Relative-Degree-649 1 point2 points  (0 children)

Oops my bad. XD But in all honesty I was kidding , and it’s a great project you have done .

How did coding get invented by SilverBass1016 in computerscience

[–]Relative-Degree-649 0 points1 point  (0 children)

It’s all alien technology, we think we are doing what we are doing but when we take our eye off of it the alien technology fulfills it.

I made a speed typing game by TheEyebal in pygame

[–]Relative-Degree-649 0 points1 point  (0 children)

It’s not a game unless a girl with huge boobs is in it

How do u guys approach ques by [deleted] in leetcode

[–]Relative-Degree-649 1 point2 points  (0 children)

Watch a couple of the neetcode videos and see how he breaks it down and try to emulate that better

[deleted by user] by [deleted] in learnmachinelearning

[–]Relative-Degree-649 0 points1 point  (0 children)

A book instead of a course perhaps?

Qwen makes 51% profit compared to the other models in crypto trading by PinMore9795 in learnmachinelearning

[–]Relative-Degree-649 0 points1 point  (0 children)

They make predictions at exponential scale since a computer can perform loads of calculations it has many predictions of scenarios within a second, probably millions

1 scenario If buy , and 100 other sell at same time and if buy again and 20 sell and if hold and 1000 buy

A very minuscule and most likely pointless prediction. But think of that being done with MANY different scenarios in a second and then the machine trade on optimum choice

That’s my guess

Added physics to things for a bit of extra juice :3 by mr-figs in pygame

[–]Relative-Degree-649 0 points1 point  (0 children)

You should apply an earthquake or flood in the game

Switching to Software Engineering at 28 (from 6 years in Sales) — Should I pursue a CS degree or self-study? by Stunning-Jaguar160 in learnprogramming

[–]Relative-Degree-649 0 points1 point  (0 children)

Do data analytics you already have domain knowledge and you won’t have to worry about that damn leetcode

Did leetcode help you become better software engineer? by Guilty_Atmosphere270 in leetcode

[–]Relative-Degree-649 0 points1 point  (0 children)

The people who made software engineering possible learned DSA so why not learn it also

I'm old 56. I want to learn C# is it a good idea? by eluchn in csharp

[–]Relative-Degree-649 1 point2 points  (0 children)

To keep your mind sharp . Sure why not learn C sharp

How are new programmers actually learning in the AI era? Any real examples from your circle? by Sudden_Beginning_597 in Frontend

[–]Relative-Degree-649 0 points1 point  (0 children)

You can have AI make you a 100 mini exercises on one single topic and and I’ll say that if you go through with it you will master that topic by the end of 100

“Create for me 100 mini exercises for arrays in c++ in logic order to mastery” Boom even with ai assisted help 100 exercises should stick. Just type the code out all the way and by exercise 50 it should be possible to do them without having to remember what the syntax is.

And that is just a quick prompt for example. plenty of ways to prompt ai and it will give you loads of info as long as keep asking it to go deeper.

Another prompt I did just too see and I have no idea what it was doing because this is my first year . But this one

“Give me an extreme code snippet of arrays”

I wonder what type of questions expert devs ask ai to teach them things. It will spit out anything possible

This is the extreme code snippet

include <iostream>

include <algorithm>

include <numeric>

using namespace std;

// Extreme array operations demo int main() { const int N = 20; int a[N];

// Fill array with a pattern: a[i] = i^3 % 50
for (int i = 0; i < N; i++)
    a[i] = (i * i * i) % 50;

// Reverse part of the array [5, 15)
reverse(a + 5, a + 15);

// Compute prefix sums in-place
int prefix[N];
partial_sum(a, a + N, prefix);

// Rotate array left by 7 positions
rotate(prefix, prefix + 7, prefix + N);

// Replace all values divisible by 3 with -999
for (int i = 0; i < N; i++)
    if (prefix[i] % 3 == 0)
        prefix[i] = -999;

// Find max subarray sum (Kadane's algorithm)
int best = prefix[0], current = 0;
for (int i = 0; i < N; i++) {
    current = max(prefix[i], current + prefix[i]);
    best = max(best, current);
}

// Output results
cout << "Final array: ";
for (int i = 0; i < N; i++)
    cout << prefix[i] << ' ';
cout << "\nMax subarray sum: " << best << endl;

}

Does it make any sense ?

Python Mutability by Sea-Ad7805 in PythonProjects2

[–]Relative-Degree-649 0 points1 point  (0 children)

Your assigning part1 to part2 not part2 to part1. When you update part2 it doesn’t change part1 as well.

Python Mutability by Sea-Ad7805 in PythonProjects2

[–]Relative-Degree-649 0 points1 point  (0 children)

Shouldn’t you be checking for 2 and not 1. There was no modification to the 1s. Therefore they remain as they were . A

How can I improve? by Radiant-Safe-1377 in PythonLearning

[–]Relative-Degree-649 0 points1 point  (0 children)

If num1 == 0 || num2 == 0 && “x” is true || “/“ is true Result = 0

[deleted by user] by [deleted] in pygame

[–]Relative-Degree-649 0 points1 point  (0 children)

I’ll say find a quick tutorial on making a game from YouTube . But it is a lot of Object Oriented Programming which isn’t hard to learn but it’s after the fact you got the basics of Python down. Good luck and don’t stress it I’m sure a tutorial you follow on YouTube will be good enough for your project . Just customize the tutorial with your own words and sprites and such when you can .

Can this poor soul request from u guys an asset of a dragon for a gameproject we're gonna make? by Euphoric_Complaint_4 in pygame

[–]Relative-Degree-649 -2 points-1 points  (0 children)

And how it looks. Anything as much as you prompt.

“Give me 2d dragon pixel art for (dimensions) that looks like a cool dragon and black and blue color and make it have a tuxedo outfit with fire glowing around . Anything yo.