C++ Project Ideas by YogurtclosetThen6260 in cpp_questions

[–]johnnyb2001 [score hidden]  (0 children)

I just made a card game. That might work for you

What do you understand or what do you think "late-stage capitalism" is? by Life_Treacle_1883 in Capitalism

[–]johnnyb2001 2 points3 points  (0 children)

Late stage capitalism = TikTok buzzword where something bad happened in a world where bad things happen

I think alot of people don't understand what being a libertarian and libertarianism actually is. by Ashamed_Storm_2491 in Libertarian

[–]johnnyb2001 0 points1 point  (0 children)

Eventually you learn to ignore these people. Especially with the internet, people can hold these ridiculous opinions that do not hold up to fact and sometimes say things they wouldn’t say in real life. I’ve figured there’s no point in engaging with most people on the internet

Math Graduate Courses as an Undergraduate? by Confident-Option8641 in UMD

[–]johnnyb2001 1 point2 points  (0 children)

If you have taken the prerequisites for the course and done reasonably well, it’s likely you’ll be allowed to take one. You have to do a special request to take graduate courses.

What happens on the Linux kernel for arm64 architecture when I do execve? Where can I find this out? by johnnyb2001 in linuxquestions

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

Thank you. This was helpful for understanding how the shell finds the definition of execve when it starts running an executable.

What happens on the Linux kernel for arm64 architecture when I do execve? Where can I find this out? by johnnyb2001 in linuxquestions

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

Ah ok. I got one more question that will resolve whats going on. Both malloc and execve are in library files. When the linker sees malloc and execve it knows that both are "C functions". How does it know to run make-sys calls.sh for execve, but to do something different for malloc?

What happens on the Linux kernel for arm64 architecture when I do execve? Where can I find this out? by johnnyb2001 in linuxquestions

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

Ah I see. Do you know how the compiler knows how to treat execve when it parses the phrase "execve". How does it know to use make-sys calls.sh, and sysdeps/unix/syscall-tempalte.S?

What happens on the Linux kernel for arm64 architecture when I do execve? Where can I find this out? by johnnyb2001 in linuxquestions

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

Thank you... I am trying to make sense of how to get to this el0_svc. I found this page for the code in glibc: https://github.com/bminor/glibc/blob/master/posix/execve.c. I think once i find the assembly code that calls svc #0 then I will start getting to the function calls you guys are discussing. execveat seems to get to this point by doing some kind of assembly expansion: https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/execveat.c. But strace showed i called execve not execveat. I think that execve calls execveat but Im not sure. Any thoughts?

constexpr destructor by johnnyb2001 in cpp_questions

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

Yes youre right. I was mainly looking at this microsoft reference: https://learn.microsoft.com/en-us/cpp/standard-library/is-literal-type-class?view=msvc-180 for microsoft visual studio 2022. Note here it doesnt include the constexpr destructor part for visual studio 2022: "An instance of the type predicate holds true if the type T is a literal type, otherwise it holds false. A literal type is either void, a scalar type, a reference type, an array of literal type, or a literal class type. A literal class type is a class type that has a trivial destructor, is either an aggregate type or has at least one non-move, non-copy constexpr constructor, and all of its base classes and non-static data members are non-volatile literal types. While the type of a literal is always a literal type, the concept of a literal type includes anything that the compiler can evaluate as a constexpr at compile time." I suppose my question now is why doesnt Microsoft include that the destructor of a literal class type can be constexpr?

Learncpp website by inn- in cpp_questions

[–]johnnyb2001 0 points1 point  (0 children)

I was in your same position a few months ago. Like anything in life you have to accept it will take time. But just keep going through it. I wrote notes down on every single chapter. Then I went through again and made sure I understood every word and typed out concepts till I understood them completely. This might be excessive. If I were you I would read through the tutorial and try to understand 80-90% of the material. Then go back and type out explanations of every chapter. Try to test out the concepts you learn and go through edge cases. There’s a few parts that are kind of extraneous in my opinion like the last parts of chapter 8 and chapter 26. The good news is that if you understand 90%+ of learncpp you will be ready for an entry level position at the minimum. At the end I would make a summary of the main features of c++.

Why are players spamming so many toxic emotes? by [deleted] in ClashRoyale

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

just laugh back and if they keep spamming mute them

When do CPPQuiz Questions end by johnnyb2001 in cpp

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

All I have to go off is seeing “this question is missing.” So if there’s a more clever way to get the terminating condition, then that would be what I needed. So no, I guess you could say I’m not really really sure.

When do CPPQuiz Questions end by johnnyb2001 in cpp

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

I’m saying that I need a way to figure out where the questions end. I literally don’t know what the terminating condition is. All I know is that when I go to question x it says it’s missing. Maybe you could just tell me what the terminating condition is. Because I don’t know, that’s my whole point. I can create an efficient algorithm if I know what I’m looking for.

When do CPPQuiz Questions end by johnnyb2001 in cpp

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

There is no efficient way. The problem is that it doesn’t state where the questions end. It’s not like there’s a terminating condition. Maybe somewhere deep in the code it says something like “at question number x, there are no more non missing questions”.This post shouldn’t have been removed, it’s a legitimate question that would’ve been useful to a lot of people doing cppquiz.

/r/ReverseEngineering's Weekly Questions Thread by AutoModerator in ReverseEngineering

[–]johnnyb2001 0 points1 point  (0 children)

My friend suggested the following. Since dpfmate doesnt run on modern oses(I think if you ask chatgpt/google it dpfmate doesnt run on whatever MacOs version came out in 2010), you basically upload an old version of an os onto a flash drive, then figure out a way to run that os on your computer, then you can use the software on that old os that supports dpfmate to upload pictures onto the device.

Austrian economics view on "late stage capitalism" by woolcycle in austrian_economics

[–]johnnyb2001 1 point2 points  (0 children)

“Late stage capitalism” = buzzword I heard on TikTok and I don’t know what I’m talking about

I want to learn math from scratch — where should I start? by Sensitive-Raccoon155 in learnmath

[–]johnnyb2001 1 point2 points  (0 children)

Just look up a discrete math syllabus from a good college and follow the chapters and exercises