Thanks indeed I misunderstood the problem
Thanks indeed I misunderstood the problem
I misunderstood the problem. I thought the thieve came on bike to steal something. I did not get that the bike itself was what got stolen.
I do not get why it would work in that case. I assume the scenario is someone with a bike coming, doing theft, then leaving with the same bike.
Therefore there will be a period without bike, then a period with bike, then a period without bike again.
Let’s assume there is no bike on the particular moment viewed. How do you know whether it occured before or after the theft? If you make the wrong decision, you get stuck on an endless binary search… Unless you take note at each timestamp where you made the decision, draw a tree of timestamps, and go back the tree if your search is fruitless but that’s much more complicated than what this post says.
Yeah exactly. Here follows some spoiler for those who have never played Dark Souls
Once you escape from the asylum you can get to the catacombs right away. I did that and got my ass kicked so I figured I was not supposed to get there first.
So I went up towards the upper Bell. Which I did ring. But then afterwards it looked so clear to me, especially as you unlock the shortcut to Firelink : yes ! The other bell must be down in the catacombs! So I headed there.
I struggled a lot to handle all the monsters. I kept going until the valley where you face skeletons on wheels and the black Knight. I figured “no something isn’t right, I don’t think the game is supposed to be that hard. There are tips on the ground about using a divine weapon but I don’t even know how to get one.”. I read a post online and figured I went the wrong way… Once again
Once I fixed that and went the right way things got significantly easier. I heard how some players literally got down to the catacombs from the get go and somehow managed to get to the boss door only to be met by a yellow fog that can’t be passed, and how they struggled to get back to firelink without getting killed…
The bottom line is that I think you need to have someone telling you where not to go to really enjoy Dark souls. Because its not obvious whether you die because of your incompetence or just because you were not supposed to be there right now. I wouldn’t say its bad design though - but it’s not for everyone for sure
I used to dislike dark souls. Recently I tried it again - I struggled but I finally got the hang of it!
I think the hardest is to know what to do. I figured out I was struggling because I kept going in zones I was not expected to go yet.
Also it’s such a big shift compared to what I was used to. You have to wait for the right opportunity to attack rather than going in there and relying on reflexes.
I doubt Elon Musk does programming
I see. You want to offload AI-specific computations to the Nvidia AI cores. Not a bad idea, although it does mean that hardware that do not have them will have more CPU load so perhaps the AI will have to be tuned down based on the hardware they run on…
You could imagine training one AI for each game AI problem like pathfinding but what is see the benefit over just using classical algorithms?
Can DLSS and XeSS be used for something else than upscaling?
They are for providing special hardware for Neural Network inference (most likely convolutional). Meaning they provide a bunch of matrix multiplication capabilities and other operations that are required for executing a neural network.
Look at this page for more info : https://www.nvidia.com/en-us/data-center/tensor-cores/
They can be leveraged for generative AI needs. And I bet that’s how Nvidia provides the feature of automatic upscaling - it’s not the game that does it, it’s literally the graphic cards that does it. Leveraging AI of video games (like using the core to generate text like ChatGPT) is another matter - you want to have a game that works on all platforms even those that do not have such cores. Having code that says “if it has such cores execute that code on them. Otherwise execute it on CPU” is possible but imo that is more the domain of the computational libraries or the game engine - not the game developer (unless that developer develops its own engine)
But my point is that it’s not as simple as “just have each core implement an AI for my game”. These cores are just accelerators of matrix multiplication operations. Which are themselves used in generative AI. They need to be leveraged within the game dev software ecosystem before the game dev can use those features.
Well Ruby does exactly that though. The methods have good documentation so it’s easy to find what something does. There is no magic in the language that makes it do something else than what you wrote.
I love Ruby since I got introduced to it. The syntax is great and you can do many things in a simple manner.
Before that, Python was my go-to language for scripting but now I cannot stand the syntax anymore. I dislike the lack of braces and forced indent.
It’s not as simple as that. Those cores are specialised in handling graphics. Game devs have 0 control over it
If the code base is arcane enough, code reviews won’t matter. You just won’t understand at all what is happening there. And the “Martin” will probably pressure you to accept anyway by telling the bosses “I can’t work, they won’t accept my code reviews”.
Absolutely. Just yesterday I tried asking stable diffusion to draw me “An elephant and a monkey dance while two cheetahs drink punch. The elephant and monkey look very happy. The cheetahs look bored.”
It drew me two elephants with monkey hair and two cheetahs. No punch, no dance.
If what you ask is somewhere in the bank of images it will draw it. But if what you ask is a situation the AI has never encountered before in any image, it will fail to invent it.
If all artists used AI we would be stuck on a loop of content that is not novel. Years from now we would stop seeing amazing incredible art. There would be no evolution at all in the styles.
I am glad that there are artists who continue to draw without AI even if it must be hard for them.
Yeah sometimes you just have to take a step back and think again. Then you will think more clearly and actually know what you wrote :) good luck!
Instead of blindly trying code until it works I would suggest you to write on paper the distinct steps that are required to solve the problem.
Imagine you are the computer and you can do nothing else but what Python allows you. How do you solve the problem ?
Usually people do this exercise on a small example. Then they generalise the approach when they find examples where it does not work.
Interesting take. I prefer spaces because each piece of code that I see with tabs has an implicit tabsize you really need to have if you don’t want the code to look ugly - especially if the person has been mixing tabs and spaces - and they usually do. Sometimes unadvertently.
When you remove all tabs at least everyone is on the same page.
To the actual problem raised by the article:
I have ADHD. Two spaces per indent makes it damn near impossible for me to scan code. My brain gets too distracted by the visual noise. Someone who’s visually impaired might bump their font size up really large, and need to scale up or down the amount of space per indent. Someone might just prefer it because…
I wonder if it could be possible to adjust the “indent number of spaces you see” in code editors. Code editors are able to figure out what are indents and what are not, so in theory it should be possible. Perhaps that would be an idea for a new feature?
I understand that video games dev and Web dev does not overlap but the developer field is more vast than just Web. For example embedded development uses a lot of C/C++ so knowledge would be transferable there.
I would also say that even though the engines or framework is not the same, surely there are human skills that can be transferred like managing a project, solving problems, algorithms, performance analytics and debugging.
But that’s only my theory and I have no experience on switching field like that
Do you know why is that so?
I feel like all the points you raise could be replied by : if you do not like it, no one is forcing you into doing it.
It is my understanding that people do this for fun - to take the occasion to get into a new language and/or exercise their problem resolution skills.
Personally, although I love coding (it is a passion), after a whole day of coding I do not feel the energy to partake in a coding event. And during holidays I am busy doing other stuff. So I do not participate in the Advent of Code. But I am still glad that the event exists for people who enjoy it and have the time for it