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 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.
For a first time don’t try to get the strongest character possible. It’s a time sink to do that. Usually the main campaign of games are beatable even if you screw up something. The worst that can happen is you backtracking a bit and spending time to level up before doing the next quest.
When you played the game once and got used to the mechanics you can make a 2nd char and plan it more deeply ahead if you wish. You know what mechanics you like so the prospect of finding what to invest in what is worth etc… becomes more streamlined. But you don’t have to. You can just be happy to have finished the game and call it a day.
That’s what I did for Diablo 4. After the main campaign I did not feel like venturing more into the game or making another character so I started playing another game. If you really want to 100% a game it does require a ton of time and planning but you don’t have to
On the world’s roads last year, there were over 20 million electric vehicles and 1.3 million commercial EVs such as buses, delivery vans, and trucks.
But these numbers of four or more wheel vehicles are wholly eclipsed by two- and three-wheelers. There were over 280 million electric mopeds, scooters, motorcycles, and three-wheelers on the road last year
There are about 20x more e-bikes than electric cars. Of course its going to demand more oil.
The real question is what is best in terms of oil demand between electric cars and e-bikes
Looks cool! This reminds me of Freespace, another beautiful space fighter game
About your specific example I find the Rust code to be much simpler to understand than your equivalent Golang code…
To understand the Rust code I just have to understand each case. 0…1 returns false. Ok. 2…n returns true iff no divider was found between 2 and n-1. Ok the function is primality test
The Golang code is much harder. I do not take into account the division by 2 because its not part of the original Rust code.
A for loop starting at 2 that look for divisors. Then the return value > 1. Why is it OK to just return value > 1
? Oh that’s because the loop did not return. Why did it not? Either no dividor was found or we did not get into the loop at all. If value > 1 we have the guarantee the loop was executed so it’s really a primal number. If value <= 1 it is either 0 or 1 which are not primal. Ok, so we return value > 1.
I think people dislike Rust because it has a lot of functional languages constructs and people are not used to code in functional languages.
Whatever you fight in Rust you end up saving time by avoiding runtime bugs that would have plagued your productivity anyway. I’d much rather have a language with a hard entry but with solid and maintainable code rather than fast-written spaghetti that no one knows what it is supposed to do 2 years after.
This is such a basic functionality. It does not deserve advertisements, it should have been there from the start.
and it’s not locked behind a paywall
Are we supposed to cheer?
The Christian Bible’s Matthew 24 had a prophecy that is about to become historical-fact, in the coming decade.
Here’s a decent version of it:
https://www.biblegateway.com/passage/?search=matt+24&version=AMPC
That bit around verses 15-20 is the pertinent area.
Simply wait 1 decade, and see: if Israel still exists, as a country, in 2033, I’ll eat a hat.
The nice thing about prophecies is that they can never be proven to be false. Indeed, one would have to examine the future to prove it wrong. Which is either impossible or unrealistic.
Me too I can make a ton of prophecies and claim they will be eventually right. I will never be wrong.
Let’s see. Let me prophesize that:
However, you can be sure that in 2033 I will come back in this thread and have you eat a hat. Marking the date and the link in my calendar. If lemmy is still alive, that is
They are not making them more efficient. They are studying how to make them more efficient. It’s a really big difference because I am not yet ready to place my life in the hands of a CNN-based AI
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 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.
It’s not as simple as that. Those cores are specialised in handling graphics. Game devs have 0 control over it
Oh, it most definitely is scummy. It’s no news that Tinder does not care about people well-beings. Actually, they want you to get stuck to the platform as long as you can; if everyone was finding their partner after a week their platform would not be profitable anymore.
On Tinder it would not be in the same context that what you experienced. In OKCupid it’s part of the rules that you can send messages without a match. So people are OK (I guess) with it. On Tinder it’s going to come as unexpected and unwelcome. You will start with a disadvantage. Unless the woman is only interested in money (if you can spend $500/month on an app then you are probably among the wealthier half of the population).
That’s true especially in gaming circles.
There are big misconceptions about game development jobs. People tend to think that implementing X or Y feature “surely can’t be that hard”. They have absolutely zero experience in game design or game programming and yet they take on such a condescending level when you read their posts.
Programming is hard. Balancing is hard. Developing a game while you have a whole player base against you is hard. The game industry is most infamously known for its crunch times and high turnover rates. And yet players do not respect that.
Whenever a game gets released at all, it’s such a ton of work that have been done. Even if the game turns out to be not as fun as people wanted. Or even if there are bugs. In fact, i am sure that half of the people that complain aggressively will never do something that impressive in their life, ever.
We should be in awe and respect our fellow devs because this job is one of pure passion.
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
Thanks indeed I misunderstood the problem