Itâs interesting how little C++ Iâve been using lately. Most of my programming time lately (which isnât much) has been in Python (making add-ons for Blender).
I haven't been using C++ too much either. C# and some other languages, but my work generally doesn't benefit from C++ much anymore. No one is writing complex apps and such in C++.
I use Blender mainly for designing parts to 3D print and stuff, very low-power Blender user compared to many. Most complex things I've done was a chess board (Code Geass themed hehe) and a gearbox (which was surprisingly efficient).
Donât write it off â C++ is still widely used in a lot of very heavy applications and industries, showing up in places you would never imagine it to be, and not just for maintenance of old projects.
Well, where ever C++ is, it's not in the AI training I'm doing much. Lately, training has been using AI via CLI to fix or add features to Github repos and see how they do.
They do really good. Claude's top model is absolutely great. ChatGPT's top model is astounding.
But yea, most repos are written in Python, Typescript, etc.. There's been a gross shift of creating GUI apps that are essentially just a browser. Slap a cross-platform GUI together with Typescript - seeing that a lot with these Github repos.
Heh, I usually try to make things a whole lot more one-clickety... but I guess I just didnât want to bother for that one. Didnât stop me from writing a half-done blag, though...
(Zapshe uses Python, etc for the machine learning work heâs doing... Wait until he learns how most of the Python modules used to implement that are written in C++... AFAIK)
(Zapshe uses Python, etc for the machine learning work heâs doing... Wait until he learns how most of the Python modules used to implement that are written in C++... AFAIK)
Well I personally haven't had to code much. It's mostly checking the work of the AI's code. And in that case, mostly Githubs repos which end up being Typescript/Javascript, but Python and other languages are in there too.
I'm always a C++ lover. I just haven't really touched in... a while.
Some of my work isn't even programming related at all, but writing really complex engineering scenarios for the AI to figure out.
They probably think they've already saturated AI training data with good programming examples enough.
I know Python uses C++ for a lot for backend, and I don't feel like I've been far from C++ though since I use C# for some personal projects which feels similar.
I just don't know how much longer a simple human like me will be useful for AI training.
The organisation of the development of the language encourages a lot of navel gazing and fame seekers. It's very different from community driven languages.
Most of the stuff in there obscure and niche, and in the general case, inapplicable to the real world.
Occasionally you see brilliant libraries like simdjson, but for a language who's design goal was to create libraries, it's disappointing.
Wow, I didn't know Grant Sanderson made those demos (with Ben Eater making the WebGL for it, it sounds like). Cool stuff. Still is going over my head at times.
Iâm currently designing a 3D a bubble level that actually keeps its bubble upright and level for you.
For context, the vial lies centered along the Y axis, with +Z as âupâ. Hence, rotating the thing around the X axis tilts it left and right, Z spins it, and Y should be ineffectual (because that bubble should always be UP).
In order to make the bubble stay up, I have to calculate the amount of Y spin necessary to counteract anything the user does around that Y axis. (The technique is called "billboarding" actually.)
Currently I have to use a separate object positioned directly above the center of the level and a rotation constraint on the Y axis to keep the thing properly up.
But I figure I ought to be able to compute it without the separate object using quaternions. If the imaginary âaxisâ, if you will, is positioned along the Euler Y axis, then 2*arcsin(W) ought to be the amount to rotate the Euler Y back to âupâ.
[EDIT: that was for the Blender swing & twistâs `W`, IIUC; for a quaternion, the equation is asin(2*(W*Y - X*Z)), jsyk]
But there is something somewhere I am not understanding about quaternions, or that the Blender devs didnât get right (unlikely), or that Blenderâs âswing and twistâ rotation mode does not line up with my conceptual understanding of how it is computing its data, or...
The result is that I can only get that bubble up -most- of the time and -mostly up- the rest of the time...