|
Hi All,
This is odd I posted a question Friday answered it my-self (rubber ducks are useful) and get a reply from a member
that ends with
Quote: 'Not from me': Oh yes from you. Please have a look to that crap piece of code. I'm pretty sure you have commented such crap for a new member much more directly
I have never answered a question in the 'style' he or it suggests, I am merely posting it here so the flame war can be more visible. I am not generally a 'softy' I tend to work on hardware more. I also think coming up with 'You should know better' of course I should, it does not need that attitude. Even newbies who ask questions should be treated with respect. If you don't know, you don't know, ask someone thats how Steg the cave man inveted the wheel. I'm guessing the Posted is an 'arm chair general' of the software world, knows attacking Stalingrad is a bad idea after there has been a route. Bile duct empty. Resume normal service.
Also I forgot the gem:Quote: And you even don't get that it is better to reply to a comment using the 'reply button' of a comment When I replied to his comment using the reply button. I'm getting some pop corn...
|
|
|
|
|
|
Of course, Quote: The code I suggested is simply: simple and logical and correct
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Quote: The code I suggested is simply: simple and logical and correct Wink | After the solution has been found and the question answered. Arm Chair Code Warrior!
modified 22-Apr-23 17:44pm.
|
|
|
|
|
As we've seen throughout the past six or seven years, some people are just a**holes.
|
|
|
|
|
The person in question is usually OK. And to be fair to him, there was quite a bit of information missing from the original question.
|
|
|
|
|
Fair enough, the thing that got me was I had sorted it out, marked it as solved then get a 'learn to program reply' thats what ticked me off, Stack Overflow ended up being full of those types. Also implying I knew nothing of the Boolean logic of an if() statement! He did miss the classic 'why not a switch statement' which is what I was expecting...(I couldn't use one due to the size I was getting the code into). It was just the attitude I found odd...
|
|
|
|
|
glennPattonWork3 wrote: It was just the attitude I found odd... Yes, I don't really understand why he took that attitude to your solution. Chalk it up to experience and move on, as they say.
|
|
|
|
|
Well I wasn't really going to anything else, just wanted to high light it as I feel thats how SO started to circle the drain
|
|
|
|
|
glennPattonWork3 wrote: Even newbies who ask questions should be treated with respect
You must be new to the internet and online forums?
Years (decades) ago when 'forums' were very primitive I remember being very surprised when an author of several books that I depended on tore into a newbie in a long tirade which basically boiled down to RTFM. Make me look more closely at other posts by that same person and noted similar posts. This is the person that I would have expected on that forum to be the absolute authority on the subject. Yet seemed more important to him to tell people not what to post.
|
|
|
|
|
Quote:
You must be new to the internet and online forums?
No I am not (thankfully!), it's the first time I had that sort of tirade from a member who I have interacted with in the past. Also CP is one of the few, I feel are beginner friendly web sites the danger is if the people in charge are not aware of this behavior, CP will start to circle the SO drain. I just found the behavoir odd almost like the poster wasn't the poster (a hacked account or worse?)
|
|
|
|
|
This is a followup to a previous post made here in the Lounge, that post was titled “Simulation” I think.
The main problem with AI in RTS games is that while the building of the base resembles to what a human would do, the fighting itself follows no strategy. If we take Starcraft for example the AI player combat units always attack following the shortest path, regardless if it’s a case of a building or a unit in it’s own base suffering damage and needing protection or a case of attacking the enemy base. In the later situation the attack force enters the enemy base as stream of units arriving one by one which makes the attack useless.
Among the main challenges in Starcraft is defending the base and the expansions. At the beginning of the game you have a small number of combat units. If you build an expansion, splitting your combat units in two to defend your main base and the expansion is not a good idea, two small unit groups separated from each other are easy to defeat. The solution is to keep your units together and place them in a location that will cover both bases. That can be done by tracing paths from the enemy base to your bases and see where the paths overlap. The place where the common nodes end and the two paths go in different directions makes a good location where you can keep your units. This way you can use your units to protect both bases at the same time
|
|
|
|
|
Tactics generally dictate concentrating all your forces on a given point when attacking. Ai can calculate attack and defend strength and arrive at probabilities. Strategy involves iterating over the enemy and finding his weak points, and your own. At its core, it's about maneuvering (march rates; terrain; inclines; fatigue); putting your strength against his weakest point. In real simulations, there are no "barracks" that spawn hundreds of troops at a time or infinite farms: you go for supply (communications) lines.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
>Tactics generally dictate concentrating...
I think that changes a bit depending on the game you’re playing. It is true if you’re playing a game like Warcraft 3. In Starcraft however the main rule is inflict damage without taking damage. That means your attacking units need to be placed not on the edge of the enemy base that is closest to your base ( which is the place where the typical AI sends his units) but somewhere else where they don’t take damage. This can be achieved by marking on the map the areas that fall in the enemy units fire range and keeping your units away from those areas.
|
|
|
|
|
Quordle[^]
Four Wordle games simultaneously - 9 guesses to get all four ... It's not easy.
Don't know if I'll do it regularly, but it's a brain waker-upper all right.
My first try:
Daily Quordle 453
8️⃣3️⃣
7️⃣4️⃣
m-w.com/games/quordle
⬜⬜⬜⬜⬜ ⬜🟩🟩⬜⬜
⬜⬜🟨🟨⬜ ⬜🟨🟨⬜🟩
🟨⬜⬜⬜⬜ 🟩🟩🟩🟩🟩
⬜⬜⬜⬜⬜ ⬛⬛⬛⬛⬛
⬜⬜🟨⬜⬜ ⬛⬛⬛⬛⬛
⬜⬜⬜⬜🟩 ⬛⬛⬛⬛⬛
🟨⬜⬜⬜⬜ ⬛⬛⬛⬛⬛
🟩🟩🟩🟩🟩 ⬛⬛⬛⬛⬛
🟨🟨⬜⬜🟨 🟩🟩🟨⬜⬜
⬜⬜⬜🟨⬜ ⬜⬜⬜⬜⬜
⬜🟨⬜⬜⬜ ⬜🟩🟨⬜⬜
🟨🟨⬜⬜🟨 🟩🟩🟩🟩🟩
🟨🟨🟨🟨⬜ ⬛⬛⬛⬛⬛
⬜🟩🟨🟩🟨 ⬛⬛⬛⬛⬛
🟩🟩🟩🟩🟩 ⬛⬛⬛⬛⬛
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Daily Octordle #453
4️⃣🕛
🔟🕐
🟥5️⃣
9️⃣🕚
Score: 78
I didn't make it.
Didn't even make it to the third left, but I've never heard of that word (other than a regular name), so I wasn't going to make it anyway.
First and last on the right and second left weren't exactly common words either.
So one unknown and three (very) rare words in a set of eight?
I was doomed from the start
Still, seven out of eight isn't so bad I think.
|
|
|
|
|
That's ... a strange combination of difficult and simple.
Daily Octordle #453
4️⃣5️⃣
9️⃣🕛
6️⃣7️⃣
🕚🔟
Score: 64
I think if you use two good starters that cover all vowels plus "Y" - I used "AROSE" and "UNITY" then pick the "best match" to work on then it's relatively simple. But I was still pretty close on the last word!
Thanks - I'll add to the the "daily puzzles" list.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Phew, barely made it!
Bottom left was a hard one.
Daily Quordle 453
5️⃣4️⃣
9️⃣8️⃣
m-w.com/games/quordle
⬜⬜🟨⬜⬜ 🟨⬜🟨🟩⬜
⬜⬜⬜🟨⬜ ⬜⬜⬜⬜🟨
⬜🟨⬜🟩⬜ ⬜⬜⬜🟨⬜
🟨⬜⬜⬜⬜ 🟩🟩🟩🟩🟩
🟩🟩🟩🟩🟩 ⬛⬛⬛⬛⬛
🟨⬜⬜⬜⬜ 🟨⬜⬜⬜⬜
⬜⬜🟨⬜⬜ ⬜⬜⬜⬜🟨
⬜⬜🟨⬜⬜ ⬜⬜🟨⬜⬜
⬜🟨⬜⬜⬜ ⬜🟩🟨⬜⬜
⬜⬜⬜⬜🟨 ⬜⬜⬜⬜⬜
🟨🟨⬜⬜⬜ 🟩🟩⬜🟩⬜
⬜🟨🟨🟨🟨 ⬜🟨⬜⬜🟩
🟨🟨⬜⬜🟨 🟩🟩🟩🟩🟩
🟩🟩🟩🟩🟩 ⬛⬛⬛⬛⬛
|
|
|
|
|
…because the ridiculous daily “Wordle” and “Worldle” humble-brag posts weren’t enough? 
|
|
|
|
|
I think you mean wordle
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 672 3/6*
⬜🟩🟩⬜🟩
⬜🟩🟩⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 672 X/6
⬜⬜⬜🟨⬜
⬜⬜🟨🟨⬜
⬜🟨⬜⬜🟨
⬜🟩🟩⬜🟩
⬜🟩🟩⬜🟩
⬜🟩🟩⬜🟩
Lost today
|
|
|
|
|
Wordle 672 2/6
⬛🟩⬛⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 672 2/6
⬜🟩⬜⬜🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|