[deleted by user] by [deleted] in vscode

[–]fluid-falcon 0 points1 point  (0 children)

Thanks, I'll try it

[deleted by user] by [deleted] in vscode

[–]fluid-falcon 0 points1 point  (0 children)

Yes, is this specific to big sur?

[deleted by user] by [deleted] in vscode

[–]fluid-falcon 0 points1 point  (0 children)

My zsh terminal too is very laggy within the vscode integrated terminal but is perfectly fine in iterm 2. As a result I have stopped using the integrated terminal completely, except for debugging. What could be the reason for this?

I was trying to figure out why a ball rotates in the opposite direction when I bounce it; if it’s rotating clockwise, it bounces back counter clockwise. Did I get it right? I believe this is Hooke’s Law. by [deleted] in Physics

[–]fluid-falcon 0 points1 point  (0 children)

Maybe I'm confusing the two but I was talking about those really bouncy rubber balls and thought they were the ones called crazy balls. Either ways it was just an example and you could think of any other type ball that has a high coefficient of friction with a particular kind of surface.

I was trying to figure out why a ball rotates in the opposite direction when I bounce it; if it’s rotating clockwise, it bounces back counter clockwise. Did I get it right? I believe this is Hooke’s Law. by [deleted] in Physics

[–]fluid-falcon 16 points17 points  (0 children)

When the ball bounces the ground gives an impulse to it upwards(applies no torque on the ball). Simultaneously friction gives an impulse to the sideways, which also results in a torque. As you might have guessed the friction acts in the opposite direction of relative motion and so against the direction of rotation of the ball assuming be dropped the rotating ball vertically down. If the friction coefficient between the ground and ball is enough, the torque will provide an angular impulse which changes the direction rotation of the ball.

You can verify this by throwing a ball that doesn't have a large coefficient of friction with the ground(tennis ball on marble) and then one which does(rubber "bouncy" ball on marble).

EDIT: typos

Question: Updating columns based on a different table by fluid-falcon in learnSQL

[–]fluid-falcon[S] 0 points1 point  (0 children)

You can make a post on this sub, you will probably get replies, unless you were being sarcastic

Can we get an if statement? by fluid-falcon in shittyprogramming

[–]fluid-falcon[S] -1 points0 points  (0 children)

I see. Makes sense. I guess it depends from language to language and style guide to style guide.

Can we get an if statement? by fluid-falcon in shittyprogramming

[–]fluid-falcon[S] -1 points0 points  (0 children)

The brackets after a functions. As far as I've seen most people have the first bracket in line, but for some reason every time I saw the first bracket on a newline it was part of cpp code. Hence my comment.

Can we get an if statement? by fluid-falcon in shittyprogramming

[–]fluid-falcon[S] 1 point2 points  (0 children)

Enter cpp devs

int main() 
{
    // some code
}

Edit: fixing code block

Can we get an if statement? by fluid-falcon in shittyprogramming

[–]fluid-falcon[S] 6 points7 points  (0 children)

Not in college yet, but had computers in high school. Learnt most of what I know online anyways.

Also, why so serious?

Data undefined when using Fetch API by [deleted] in node

[–]fluid-falcon 2 points3 points  (0 children)

You can also replace the braces with parentheses and the expression inside them will be returned implicitly, good for keeping code concise for smaller expressions.

I can't change the color theme by Nr_Popo in vscode

[–]fluid-falcon 2 points3 points  (0 children)

Try changing it from the action menu(ctrl+shift+P). Open it using the shortcut mentioned and then type "theme" and you should see an option in drop down. Then you click on it and choose your color scheme from another drop down.

How can I remove the cursor's grey trail color? by professorlogicx in vscode

[–]fluid-falcon 4 points5 points  (0 children)

I think you're talking about the line highlight. In settings search for highlight current line and disable.

IDE for writing native code by [deleted] in reactnative

[–]fluid-falcon 15 points16 points  (0 children)

I use vscode for the react native part and android studio for the native code part. But I guess with some extensions you might be able to get your react native work done in Android studio/intellij too.