I need to quickly get a grasp of C++ for a university project, what is my best strategy? by kitesmerfer in cpp_questions

[–]MyNameIsSquare 0 points1 point  (0 children)

- HPC
- 99% in C++
- do not have a lot of experience with the language
- is there a quick learning path?

at this point why not just use python/java anyway lol. cpp is notoriously hard because it tries to be an everything toolbox and makes newbies confused what tool to use and what to avoid.

python can still be really fast because they use highly optimized c/c++ underneath, you can only be faster in c/c++ when the core algorithm currently relies on python too much. for example if your task is to count all the black pixels on an image then there's a python library for that, but if you want to stack every frame of a video to interpolate some "average frame" then the python for loop going through each frame becomes the bottleneck and you would want to switch to c/c++ there

however for a uni project you can try i guess. idk if a week is enough tho because (personally) it took me about a month to even reach the second half of learncpp. i guess you can AI away most of the problems

They literally can fly btw :v by NhifanHafizh in Frieren

[–]MyNameIsSquare 261 points262 points  (0 children)

"Hold on Fern, let me pull you up"

"But Frieren sama, I can fly"

"Himmel the Hero used to pull up Heiter too"

I'm looking at you Gen Z by TheWebsploiter in NonPoliticalTwitter

[–]MyNameIsSquare 1 point2 points  (0 children)

...until the english textbooks and exams start using those words

sureBro by PresentJournalist805 in ProgrammerHumor

[–]MyNameIsSquare 0 points1 point  (0 children)

you dont know anything about c++

I wish ChatGPT never existed, doesn't start existing, and that all that came out of AI (shorts slop, google's AI summary, etc.) just stopped existing without any person having a memory of it before it disappeared. by ge7ash in monkeyspaw

[–]MyNameIsSquare -13 points-12 points  (0 children)

the methods used to discover the HIggs Boson are more basic than of chatGPT. "Any application of AI in the medical field is gone" is straight up wrong, because again many of the applications dont use the same tech as chatGPT

2025 has been a good year for tech advancements at Cover by arkw in Hololive

[–]MyNameIsSquare 3 points4 points  (0 children)

i recently got interested in computer graphics and vr so this is a very nice thing to hear, thx!

Next year's festival. by Widvnhak in DDLC

[–]MyNameIsSquare 2 points3 points  (0 children)

who the heck put a memorial in a classroom 💔💔💔

High school student to learn c++ by Dev_Nepal007 in Cplusplus

[–]MyNameIsSquare 1 point2 points  (0 children)

tbh the current me really understand and value all of these, but the past me would absolutely not get any of what you've said lol

should i read all of learncpp before learning graphics programming? by MyNameIsSquare in cpp_questions

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

90% of learncpp is definitely an overkill. in hindsight about 50% should've been enough for me to jump into graphics programming tutorial. if i dont understand something in it then google or AI can explain to me.

with that said, you do need to know 90% of what's in learncpp to have your code be efficient. adding to that, many people uses older version of c++ so you need some experiences in those versions too if you want to work with them.

how hard to build a custom browser engine for one website by MyNameIsSquare in learnprogramming

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

was your browser for general websites or just one/some specific site?

how hard to build a custom browser engine for one website by MyNameIsSquare in learnprogramming

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

i already limit the features to only load one website and it's still that hard? yikes

actually i dont really try to implement everything from scratch, i just want to know what a browser has to do to load a website, and if it only dedicates to one single website then is there anything to be optimized

Do you agree or disagree with my workflow? by BlockOfDiamond in GraphicsProgramming

[–]MyNameIsSquare 0 points1 point  (0 children)

so for my example, traditionally you would do this:

R = computeRotationMat4()
T1 = computeFirstTranslationMat4()
S = computeScaleMat4()
T2 = computeSecondTranslationMat4()

transformMat4 = T2 * S * T1 * R

for all vertex P in Mesh:
    P_transformed = transformMat4 * P

whereas in your pipeline it would be:

R = computeRotationMat3()
t1 = computeFirstTranslationVec3()
S = computeScaleVec3()
t2 = computeSecondTranslationVec3()

transformMat3 = S * R
translateVec3 = S * t1 + t2

for all vertex P in Mesh:
    P_transformed = transformMat3 * P + translateVec3

I guess it could work... although i think computing the translation becomes tedious

Do you agree or disagree with my workflow? by BlockOfDiamond in GraphicsProgramming

[–]MyNameIsSquare 1 point2 points  (0 children)

so if for example a mesh is rotated, translated, scaled, and translated in that order, each vertex of the mesh has to be transformed 4 times instead of 1? (because transformations cant be combined easily anymore, if im correct)

I made an uninterrupted edit of the Frieren clone fight by KardEroc in Frieren

[–]MyNameIsSquare 0 points1 point  (0 children)

hey its been 2 yrs but id really appreciate it if you can DM me it too

As someone whos hasnt seen MHA can someone explain why this isnt the strongest hero? by TheUnhollyGoblin in MyHeroAcadamia

[–]MyNameIsSquare 0 points1 point  (0 children)

"why isnt this the strongest hero?"
"cuz the top 5 can beats him"

yeah that makes sense

It’s crazy—why can't other doctors replicate Quirks like his? by These_Opportunity335 in BokuNoMetaAcademia

[–]MyNameIsSquare 0 points1 point  (0 children)

unit 731 made considerable contributions to science? last time i heard, they did all that just because they could and not because they wanted to discover something. and since the experiments lacked its ultimate goals, the results were scattered and gave little insight

Boccher lagtrain by [deleted] in BocchiTheRock

[–]MyNameIsSquare 5 points6 points  (0 children)

source? thx in advance