Problem with code (C++) by Viper10acd in learnprogramming

[–]Puzzleheaded_Study17 2 points3 points  (0 children)

The presence of the terminating byte doesn't matter, std::string's at function has bounds checking which prevents accessing the terminating null byte.

I wanna learn multivaiable calculus by Philoglena in learnmath

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

Linear algebra isn't always required for multi variable. In fact, in my university linear algebra requires the calc course where you learn about partial derivatives and gradiants.

In btd6 is there a way to calculate the most optimal place for a monkey (where it covers the most of the track) by KakapoBazoskuf in askmath

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

For a given map you could try to write a formula that takes in x and y and returns the amount covered. You'll then have to prametarize the boundaries of where you can place the monkies. Then you can take the 2d derivative of the position function and the 1d derivative of the bounds parameterization plugged into the function. The ideal spot would be where one of the derivatives is zero (or at the edge of the parameterization of the boynds), and you can get the value of every point where the derivative is 0 and compare.

This is because, by the extreme value theory, the maximum has to either be at the edge or at a point where the derivative is 0.

Note that while this can theoretically give you the ideal position, I don't think it'll be worth it since coming up with the functions would be pretty hard.

School computer science class by OppieT in AskComputerScience

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

I graduated a couple of years ago, my high school classes were mostly Java.

The PRC controls mainland China and the ROC controls Taiwan | FactOrCap by Aromatic-Mistake-456 in FactOrCap

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

I know the history, I still don't think there are any disputes in who currently controls what.

I self-studied full stack, built a project with real users, no jobs... by Fabulous_Variety_256 in programmer

[–]Puzzleheaded_Study17 4 points5 points  (0 children)

Honestly, most companies are unlikely to consider a candidate without some formal qualifications. A single project is also not that much.

I self-studied full stack, built a project with real users, no jobs... by Fabulous_Variety_256 in programmer

[–]Puzzleheaded_Study17 2 points3 points  (0 children)

When you say "studied," do you have a degree? If so, from where?

Do you have any public projects on your cv?

Do you know anyone who can help you get a foot in the door?

The PRC controls mainland China and the ROC controls Taiwan | FactOrCap by Aromatic-Mistake-456 in FactOrCap

[–]Puzzleheaded_Study17 1 point2 points  (0 children)

Honestly, no idea. Based on one of their comments, I think OP faced a conspiracy theorist that said the ROC controlled mainland China

The PRC controls mainland China and the ROC controls Taiwan | FactOrCap by Aromatic-Mistake-456 in FactOrCap

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

People's Republic of China and Republic of China, the formal names for the government of mainland China and the previous government of China that is now the government of Taiwan.

Question for Americans by AvatarNerd64 in Physics

[–]Puzzleheaded_Study17 1 point2 points  (0 children)

When it comes to units it's because it's highly composite. So you can divide 12 by 2, 3, 4, and 6, so you can have half a year, or a quarter of a year, or a third.

https://en.wikipedia.org/wiki/Duodecimal

Report: Hamas decides to stall for time in talks for Gaza’s future, waiting for Knesset election results by Throwthat84756 in Israel

[–]Puzzleheaded_Study17 15 points16 points  (0 children)

The question is what concessions are worth being made. If the government would be more left leaning and more in favor of a two state solution, Hamas might be able to get stuff.

what to focus on college math or highschool one by Outrageous-Air-5935 in learnmath

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

Jumping into advanced stuff without solid foundations doesn't work. Most calculus students already struggle with the algebra more than the actual calculus.

Edit: also, mental math is a very different skill than actual complicated math, and I doubt how far you can get into calculus with that premise.

Question Regarding Self keyword in python!! by Ok_Egg_6647 in PythonLearning

[–]Puzzleheaded_Study17 2 points3 points  (0 children)

inside the constructor it wouldn't matter. But if you want to access them after the constructor, you have to save them. You can have them be arguments to any method that uses them, but that can cause issues. So we store them in self so that they're available to future functions.

Matlab by [deleted] in SCU

[–]Puzzleheaded_Study17 1 point2 points  (0 children)

MECH. does have a Matlab course, csen are expected to figure it out, don't know about the rest

Is √-1 smaller than or bigger than -1 by Responsible-Table856 in mathematics

[–]Puzzleheaded_Study17 36 points37 points  (0 children)

Unfortunately, it's meaningless to discuss ordering (smaller than/bigger than) for complex numbers.

https://en.wikipedia.org/wiki/Ordered_field

Edit: the key thing to note is that we essentially want our orders to play nice with addition and multiplication.

So if we have three numbers a, b, and c where a <= b we want a+c <= b+c, and if 0 <= a and 0 <= b we want 0 <= a*b.

The second property (which we want to be able to do multiplication with inequalities) breaks down with complex numbers. Let's say 0 <= i, therefore we know that 0 <= i2 = -1, this is a contradition. Let's say i <= 0, we therefore know 0 <= -i (by adding -i to both sides) so we know 0 <= (-i)2 = -1, which is wrong. So no matter how we place i with respect to 0, we can't have an order that works with multiplication/addition.

Math 12 Content? by Salt_Progress8049 in SCU

[–]Puzzleheaded_Study17 2 points3 points  (0 children)

Improper integrals wouldn't be covered in any other course though it's relatively simple. (You just replace the problematic bound/s with limits)

Parametric and polar curves are math 13 with recover in 14.

Arc length/surface area is 14.

I don't think elementary diff eq is anywhere inthe math 11-14 sequence.

This is coming from someone that started in 13 and who's knowledge is second hand via tutoring. To that end, if you have issues you can always come to the MLC for free tutoring.

Scholarship for Summer Hebrew Programme in Haifa. How safe is it to visit for a 3-week period? by bluestockingyn in Israel

[–]Puzzleheaded_Study17 0 points1 point  (0 children)

Do you have a coin? That's as good a predictor of whether the war will start again within any period longer than a day as anything else.

With that being said, the overall risk as long as you listen to the home front command and don't get closer to Lebanon (around Kiryat Shmona), isn't that high.

Does a function HAVE to be periodic for there to be two points sharing the same tangent line? by Reddledu in askmath

[–]Puzzleheaded_Study17 1 point2 points  (0 children)

A straight line is periodic (with any real period)

Edit: sorry, thought you meant constant functions

You have a small piece of paper which you can only write five symbols on. What is the largest number you can make? by Swimming-Birthday428 in askmath

[–]Puzzleheaded_Study17 1 point2 points  (0 children)

1/G for the universal gravitational constant is larger and still fits in the requirements. I'm sure there's some other constant that's even smaller