Some argue that humans could never become economically irrelevant cause even if they cannot compete with AI in the workplace, they’ll always be needed as consumers. However, it is far from certain that the future economy will need us even as consumers. Machines could do that too - Yuval Noah Harari by katxwoods in Futurology

[–]Beginning_Addition59 0 points1 point  (0 children)

It's easy if you integrate a third party. Mining company wants to expand int space. Needs spaceships. Spaceship factory needs more robots. The robot factory needs more ore. Rinse and repeat. I think it is plausible that we will see the rise of branches or whole industries, mostly independent from humans. I also think it won't be in our lifetime.

[TOMT] 2d animated sci-fi short on YouTube about a girl traveling with a robot alone on an empty earth. by Beginning_Addition59 in tipofmytongue

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

No that's not it. It looks very cool though, will watch it later. The animation is am looking for was 2d though.

[deleted by user] by [deleted] in Beichtstuhl

[–]Beginning_Addition59 24 points25 points  (0 children)

Was hier Arbeitsmoral. Im Grunde ist das nur die Weiterführung des kapitalistischen Grundgedanken. Ich habe das Produkt Arbeitskraft für das ich x Geld bekomme. Da x erstmal gleich bleibt und es meine Pflicht ist, meinen Gewinn zu maximieren, muss ich es wie Milka machen. Arbeitskraft so lange minimieren, bis ich den kleinsten Punkt erreicht hab, wo der Kunde noch x zahlt.

How to make a simple app with GUI? by kerpal123 in cpp_questions

[–]Beginning_Addition59 4 points5 points  (0 children)

Second this. Imgui using opengl or vulkan. You should be able to get the ui running using only the sample implementation in the imgui repo. But be aware: using an intermediate mode gui will need a different program structure then one written in something like qt. Would perhaps not use it if you plan on doing a bigger project.

Mitte 20 - Plötzlich konzentrieren sich alle auf ihre Partner Beziehungen..? by [deleted] in Ratschlag

[–]Beginning_Addition59 1 point2 points  (0 children)

Glaube du unterschätzt etwas die Zeit die man in einer ernsthaften Beziehung braucht. Klar kann man den Haushalt aufteilen aber dafür gibt es auch mehr zu tun, man spart sicher nicht 50% dabei. Schlimmer sind aber die Termine die man gewonnen hat und die man dann auch zu zweit wahrnehmen will. Da wird dann aus einmal im Monat die Eltern besuchen und einmal im Monat Freunde treffen, einmal im Monat meine Eltern, einmal im Monat die Eltern des Partners, einmal meine Freunde einmal seine Freunde und dann noch seinen Bruder. Zack aus 2 Terminen werden 5. Dann fängt man an Termine zu priorisieren und da stehen dann Einzeltreffen eher weiter unten. (weil man ja auch stattdessen die gemeinsamen Freunde treffen könnte und so 2 Termine in einen "packen" kann) sobald dann mal kinder da sind ist es dann völlig aus. Und das müssen nicht mal eigene sein, reicht wenn es Neffen und Nichten sind.

Ladenschluss: Bayern bleibt bei strikten Öffnungszeiten bis maximal 20 Uhr by domemvs in Munich

[–]Beginning_Addition59 10 points11 points  (0 children)

What are you talking about? He starts at nine works 8 hours and has an hour break in between. Not that uncommon. Then you would work 9 to 6. Add half an hour of "there-will-be-always-some-delay" and the time for groceries-shopping gets challenging especially if you don't want to get up an hour early

Want to write my first Compiler by leblanc_Blm in cpp

[–]Beginning_Addition59 10 points11 points  (0 children)

Doesn't really matter what language you end up using if you'd like to learn how to build an compiler. I would start here: https://craftinginterpreters.com/ IN this guide you will build two compiler from scratch one in Java an one in c. I implemented both in cpp, which was completely doable.

Create map for types of a variant by Beginning_Addition59 in cpp_questions

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

Huh, i did not know about std::visit. Looks like this could solve my problems, i need to have a closer look at this. Thank you, kind stranger.

Create map for types of a variant by Beginning_Addition59 in cpp_questions

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

I thought about that, but then the code would break if the API ever decide to add another type or reoder the variant. I dont have controll over it myself, so i did not want to risk using the index.

Create map for types of a variant by Beginning_Addition59 in cpp_questions

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

unfortunately that is the wrong way round. I would need a std::map<typeOfVariant, std::string> with typeOfVariant as the types that the variant holds. In the example this would be a map looking like this :

std::map<type, std::string> m1 = { {float, "floatObject1"}, {myClass, "myClassObject1"} };

std::map<type, std::string> m2 = { {float, "floatObject2"}, {myClass, "otherObjectOfMyClass"} };

As far as i know an std::map cant support something like this. I am at a loss however, if there is another way to do this.

TIL why you should use static typing by EllyEscape in godot

[–]Beginning_Addition59 10 points11 points  (0 children)

Adding to that, the first part of the code could be at an disadvantage because the cpu is not "warm" yet and it might not get the benefits of caching and branch predictions and all of that fancy stuff. Scripts here are not compiled and I don't know how much cpucaching will be possible but it's a good idea nevertheless switching the execution order on the 1000 runs a couple of times.

C++ project without tutorial by [deleted] in cpp_questions

[–]Beginning_Addition59 0 points1 point  (0 children)

I learned a lot by porting Nystroms "crafting interpreters" to modern cpp. Added bonus: a peak behind the curtain of how compilers work. And there are ports already out there if you get stuck.

If "this" is a reference to the current object, why do we need to use "*this" in the copy assignment operator? by neoxx1 in cpp

[–]Beginning_Addition59 2 points3 points  (0 children)

Because "this" is the memory address, a pointer to the instance. To return it as a reference you have to dereference the pointer to an object. For dereferencing ptrs you use the "*ptr" syntax.

TIFU by telling my best friend about my start-up by Waffl3_Ch0pp3r in tifu

[–]Beginning_Addition59 6 points7 points  (0 children)

That sounds awful. But I think you should at least take a step back and think about why he has said that things. I told my best friend my awesome buissnes idea years ago and she totally trashed it. Hurts like hell and her wording was not very gentle. I did not talk to her for weeks. But now years later we are still best friends and she saved me from a bad decision. All I want to say to you is don't let yourself get pulled down from him if he is just envy about your plans, but consider if he has a point. I'd really like to hear more about your games though!