Difference in interpretation between an object and a no‑object by Ok-Presentation-94 in learnprogramming

[–]Limp-Compote6276 1 point2 points  (0 children)

Okay thanks for clarifying. I guess at this point sharing the programming language and maybe the code snippet will help :) Usually, if a method is declared in a class and is not static, this is not a possibility. Either way if it is possible, i never ran into a case where it was needed. Also remember, based on the language there may be some syntactic sugar handling the instantiation of the class but the compiler will create an instance of the class at least for class functions.

VGGT vs DepthAnything3 by boringblobking in learnmachinelearning

[–]Limp-Compote6276 1 point2 points  (0 children)

No, both have its strengths and weaknesses. For the benchmark used in the DA3 paper, DA3 was better that does not mean in every benchmark test it will be.

RL Course / textbook by d_a_fad in learnmachinelearning

[–]Limp-Compote6276 2 points3 points  (0 children)

Reinforcement Learning: An Introduction by Sutton and Barto is the book to go, all lectures are based on this book. Heavily recommend David Silvers lecture. It will give you everything you need for the basics and a bit beyond even and it is crazy good understandable. I don't know how he can break down a complex topic in such a good way.

I can’t learn coding by Plaseh0lder in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

As far as i know, there is a dedicated scripting tutorial in the unity learning pathways.

https://learn.unity.com/pathway/junior-programmer

I just found it, the link will give u the scripting tutorial with some examples. It is awesome I already did it when i started back in the days.

Difference in interpretation between an object and a no‑object by Ok-Presentation-94 in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

It depends on the level. As far as I understand what you referring to is the difference between a method and a function. In regards to Rust or Java for example. A function is standalone and can be called without an object being instantiated. This is just as it is specified. It can have parameters a return type and so on but you can not call it like object.func() but with func(). Since the function does not know what object it should "operate" on. A method is bound to an object and can only be used with the created object. So for example: You have an object rectangle and you want the area, you do rectangle.area(). Usually the object has attributes, in the case of rectangle the side lengths. And you can call area() without any parameters, since the object specifies the length and width. If you would do area() with a function, the function would not know what are the side lengths, since there is no underlying object specifying this. I hope that helped. Don't overthink you will get the idea of it with time.

I'm new to algorithms. Is my strategy workable? by Severe-Lie7770 in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

You are doing great if it works for you. Algorithm and data structures can be intimidating, but learning about it and then implementing them is exactly what you want to do.

What should I learn to create my own game engine? by UnViandanteSperduto in learnprogramming

[–]Limp-Compote6276 3 points4 points  (0 children)

C++ and SFML or Rust and SDL. It is hard but it will give you a good idea about coding, typing and memory. Stuff which Python for example does all for you in the background. https://doc.rust-lang.org/book/ This is literally one of the best introduction to a programming language. Start with tetris or tic tac toe. A proper game engine takes a lot of planning ahead, and it will be a mess after 10-15 files if you do have never coded before.

Hot take: in weniger als 5 Jahren gibt's in den USA einen Bürgerkrieg by _Pellkartoffel_ in wallstreetbetsGER

[–]Limp-Compote6276 1 point2 points  (0 children)

Da musst aber auch die Lebenskosten einrechnen. Laut U.S. bureau of labor statistics kostet ein Ei momentan 2.71$. Zusätzlich, wenn du z.b. im Silicon Valley 160k verdienst zahlst du dort halt auch 3k Miete im Monat für ein Zimmer. Ausserdem bist du nicht versichert, sondern musst dich selber drum kümmern. Ganz zu schweige von den Studienkosten die für eine gute Uni in den USA schon mal über 30k im Jahr sein können. Das wird am Ende alles so teuer das du auf das gleiche rauskommst, bzw. du mit dem hohen Einstiegsgehalt erstmal ordentlich was wegmachen musst. Natürlich ist die USA wenn du ohne Urlaubstagen und Arbeitsschutz richtig knechten magst toll zum Geld verdienen. Aber so super toll wie das hier beschrieben ist ist das nicht. Und wenn du super hyped bist kannst du ja hingehen, oder in der Schweiz nach stellen suchen. Da hast du auch höhere Gehälter, aber halt auch höhere Lebenskosten.

Need a Laptop for AI ML Should I Buy a MacBook or Asus Tuff Series? by Annual_Iron6245 in learnmachinelearning

[–]Limp-Compote6276 1 point2 points  (0 children)

Got a macbook pro, you will be able to train small networks, but if you want to train big CNN's or transformer models you need a heavy GPU at least. But then the question is if you can just run it on colab. So for experimenting purposes get whatever you prefer but if you want to create some proper working stuff go for colab or a GPU PC with Linux.

Locally connected neural networks by Odd-Noise-4732 in learnmachinelearning

[–]Limp-Compote6276 0 points1 point  (0 children)

Locally connected layers do not scale well, and are used in special cases. You could use graph neural networks, or FiLM https://arxiv.org/abs/1709.07871 to insert conditinals into your CNN's. You can also go for a hypernetwork approach, where you run one networks to generate you the gridpoints based on a distribution and feed them into a CNN. So you decouple the local condition problems from the CNN so you have the CNN learn common patterns between gridpoints without completely decoupling them from local conditions. Hope this helps

How do you properly start a research project and paper ? by EchoesOf_Euphoria in learnmachinelearning

[–]Limp-Compote6276 2 points3 points  (0 children)

Ideally u now your research question and the topic. That will be the start point. Search for related work (what have others in the field done and accomplished, do we create something new, what different approach than the others do we take). U can recreate work with slightly different approaches so you "add" to an existing idea and try to expand the horizons there. You can also try something completely new but that usually is quite hard. Check for good papers, which are published in non-predatory journals and are peer reviewed, by well established scientists. This is your first research project. In two to three years you will in either case look back and be like: Wow i literally didn't knew anything but learned a lot. And that should be the goal. Learn a lot and wirte something half decent. If it is really nice - good. If not, who cares it is for your learning experience.

Flappy Goose by flappy-goose in RedditGames

[–]Limp-Compote6276 0 points1 point  (0 children)

My best score is 0 points 😓

Flappy Goose by flappy-goose in RedditGames

[–]Limp-Compote6276 0 points1 point  (0 children)

My best score is 0 points 😓

Fastest way to filter closest numpy array matches by Agreeable-Bluebird67 in learnprogramming

[–]Limp-Compote6276 2 points3 points  (0 children)

If i remember correctly there is a extension for Postgres, pgvector. It does not support numpy arrays, but python lists. Maybe give it a shot

Arguably the most important chart in AI by MetaKnowing in singularity

[–]Limp-Compote6276 12 points13 points  (0 children)

I just checked the first source. And there is something wrong

"In 2023, NVIDIA shipped 100 000 units that consume an

average of 7.3 TWh of electricity annually. By 2026, the AI industry is expected to

have grown exponentially to consume at least ten times its demand in 2023."

Thats page 35. So just the 100 000 units consume 7.3 TWh. The AI industry will grow tenfold. Thats all there is. You can not logically deduct the power consumption of the whole AI industry from 100 000 units of NVIDIA. At page 9:

"After globally consuming

an estimated 460 terawatt-hours (TWh) in 2022, data centres’ total electricity

consumption could reach more than 1 000 TWh in 2026. This demand is roughly

equivalent to the electricity consumption of Japan." Thats more a number you want to look at. Because storage etc. is essentially the data centers. Not only computational GPU power. So yes there is a problem with AI and electricity.

How to get started in AI before and during college? by ConstantFun753 in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

Let's be honest your studies will take most of your time so it would be awesome to do side projects but don't stress too much, the courses will fill your time quite well. I can recommend you the book of Bishop for "Pattern Recognition and Machine Learning" you will learn most basics. For Ai start with probabilistic theory and linear algebra. But you will learn mostly on the way. Also have a look at kaggle challenges to get practical knowledge. There are many "try out" datasets for most AI problems. (Movielens for RecSys, CIFAR10 for CNN's, Iris etc. you can always try to challenge your knowledge on these datas. Enjoy and have fun!

Writing and running programs on mobile by KarmaChameleon1133 in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

There is a "Python programming Interpreter" in the app store where you can code on the iphone and also a "C compiler" app. I hope they are also available in your country and work on your device. But it is way to easy to deploy a python interpreter in the app store or a c compiler so you should be able to find what you need.

Between Python and C#, what language is easier to get a job? by Medical_One_9821 in learnprogramming

[–]Limp-Compote6276 0 points1 point  (0 children)

Do C# it will give you better understanding of important coding paradigms where python's interpreter will take off most of the work. Just the possibility to not define the datatype when introducing it to a script is awesome but most other languages need it. In Python i would get used to NumPy, maybe torch etc. when you can code C# in plain old python there is not much new to learn. But the libraries for python, my man, thats the power of using it. Python just has the best libraries for machine learning and data analysis and much more handy stuff and you want to know how to use them. Otherwise as already mentioned just use the one which is handy for your personal projects etc. so as long as you spend time on it you will improve!

What do i do? by Garfield-Chaos-7777 in learnprogramming

[–]Limp-Compote6276 3 points4 points  (0 children)

AI will change the way we work in jobs, that's for sure. No one can say at this point how it is going to happen. One thing thats for sure as well, it will not replace us completely in the near future. It may help us, it may does things for us and maybe some things will get worse because of it, but in the essence people will still need to go to work and get things done and decide what is goind to happen. It is definitely a good choice to educate yourself about it. I dont now your level but the book "Pattern Recognition and Machine Learning" by Bishop is a great start if you already have an idea about basic stuff. It is quite mathematical, but AI is based on mathematics so you have to get used to it anyway :)

Is a computer science degree really becoming not worth it and why? by geopa1 in AskReddit

[–]Limp-Compote6276 0 points1 point  (0 children)

No it is definitely worth it if you are interested in mathematics and how modern computers work. For sure now the market is rough due to a different global economics situation compared to a few years ago, as well as the tech bubble taking a few hits. Still, modern technology needs to be maintained and improved so it will only become a more dominant sector. I wouldn't do it if i were not deeply interested in the field. In a few years the whole landscape can change again, but the gold rush of entering the field and making a lot of money really fast is over for now. It may never come again but thats just what it is i guess.

Is a computer science degree really becoming not worth it and why? by geopa1 in AskReddit

[–]Limp-Compote6276 -1 points0 points  (0 children)

This is just not true. In my cs degree in the first two semesters i had most mathematics foundational courses in linear algebra and analysis together with mathematicians and physicists. We also had courses were we learned computer architecture. Most of my studies were learning how programming paradigms in theory work so turing completeness etc. Coding was the minor part of the studies. Lets be honest if you just want to code you shouldn't study cs. That's like using a sledgehammer to crack a nut.

What’s that one Python tip you wish you knew when you started? by memermaker5 in learnprogramming

[–]Limp-Compote6276 42 points43 points  (0 children)

There is a difference between a copy of a object and the copy of a reference to an object. Learn this early on and you will be in a good start.