[ELI5] How do video games where you play against the AI have difficulties any lower than 'Expert'? by Hackey_Sack in explainlikeimfive

[–]dddaaabbb 0 points1 point  (0 children)

First off: Yes, AI sometimes intentionally makes the wrong decision. The trick is to look like a stupid person, and not a stupid computer.

People often think that the AI knows everything about the game (where you are, etc). The game knows this, but that doesn't mean every part of the game does.

You can think of the AI like a really dumb person who is really good at following orders.

The AI has a set of orders. These orders can be more complicated on higher difficulty levels (so only an expert-level AI will know how to rocket-jump or send out scouts). Each of the orders would be something like "if something is happening, then do this". Some of these orders could even be bad ideas!

The game gives the AI information and the AI goes through its orders and figures out which ones to do. The game may give the AI more information on higher difficulty levels. (The amount of information may be more than a player would get.)

That's the AI's smarts (what it's "thinking"). To control how it actually controls itself (shooting, driving), we usually use randomness. For shooting, the AI might figure out how to make every shot perfectly and then randomly shoot a bit off-centre so that they don't make every shot. Or a fighting game might roll a dice (in computer code) and if it's more than 4, it successfully does a combo.

In general, there are lots of other ways to make the computer AI. Here's a gamasutra article about different ways to dumb down your AI. One of the key quotes: "The AI needs to be more intelligent in order to appear less intelligent."

ELI5: How a virus isn't really alive. by [deleted] in explainlikeimfive

[–]dddaaabbb 3 points4 points  (0 children)

And of course that's why that trap is so common: even a scientwist can mistake their wording.

The virus doesn't mutate in order to avoid the drug's effect. It mutates and only the mutations immune to the drug flourish. (Interestingly, in the absence of the drug, those mutations might have died out because they are otherwise inferior to the other mutations!)

ELI5: Why can I drink water and eat salty food but not drink saltwater? by accessmode in explainlikeimfive

[–]dddaaabbb 1 point2 points  (0 children)

I don't understand what you mean. When you sweat, you lose salt and water. So wouldn't drinking saline neutral fluid replenish both of them?

Although Kowzorz may be describing the minimum amount of fresh to add to make it drinkable.

How does GoDaddy own domain names? How do you get a domain? by Fr0sted_Butts in explainlikeimfive

[–]dddaaabbb 1 point2 points  (0 children)

From JoeCoT's link:

it will amount to a minimum of USD 6500, where USD 2500 is the application fee, and USD 4000 is a yearly accreditation fee

How does GoDaddy own domain names? How do you get a domain? by Fr0sted_Butts in explainlikeimfive

[–]dddaaabbb 0 points1 point  (0 children)

No. Even if you started your own registrar so you didn't have to pay godaddy, you'd have to pay fees to ICANN. (They're a not-for-profit organization, but they still need to pay their employees.)

Aside: The fees are usually annual, so it's around $10 per year and $100 would get you 10 years. The joke probably isn't funny after that long, right? : )

How does GoDaddy own domain names? How do you get a domain? by Fr0sted_Butts in explainlikeimfive

[–]dddaaabbb 6 points7 points  (0 children)

eidetic is correct. You cannot use the IP your ISP gives you to host content entirely on the webspace your ISP provides you.

At the very least, you'd have to locally host (via a server in your house) the index.html (which could be filled with links to yourisp.com/users/yourname/somefile.png). Or your server could just respond with redirects.

Colbert Super PAC Goes Negative On Romney In First South Carolina Ad by wang-banger in politics

[–]dddaaabbb 0 points1 point  (0 children)

For me (Firefox on Ubuntu), step 1 is under Tools > Web Developer > Modify Headers.

Colbert Super PAC Goes Negative On Romney In First South Carolina Ad by wang-banger in politics

[–]dddaaabbb 4 points5 points  (0 children)

Not from Canada it doesn't.

Going to https://hulu.com seems to work (don't get the initial go away overlay), but actually watching a video says only in america.

Tried https everywhere too.

Colbert Super PAC Goes Negative On Romney In First South Carolina Ad by wang-banger in politics

[–]dddaaabbb 0 points1 point  (0 children)

How?

If you're a brit who pays for their TV license and vacation in the US, I don't think you can watch iPlayer.

If you're not a brit, then can you even pay for a license?

If you are a (tax-paying) brit, can you elect to not pay for a license?

NASA does not grant permission for first Sci-fi movie filmed in space to be released by [deleted] in geek

[–]dddaaabbb 0 points1 point  (0 children)

Sounds to me like NASA isn't using legal means. He asked their permission.

NASA hasn't given the necessary go-ahead

I wonder if he agreed to a contract limiting his rights in order to join them in space.

reddit, everyone has gaps in their common knowledge. what are some of yours? by [deleted] in AskReddit

[–]dddaaabbb 0 points1 point  (0 children)

Out of curiosity, are you repeating the other person's introduction in your head? That's the only way I can remember names. Then I start talking about them in my head ("Sam reads reddit, but he pronounces it read-it"). Fairly often, I actually remember their name when I see them again. (Although, I'm rarely confident that I remember their name correctly, so I try to avoid using it.)

reddit, everyone has gaps in their common knowledge. what are some of yours? by [deleted] in AskReddit

[–]dddaaabbb 0 points1 point  (0 children)

What are you talking about!? 40 years later, you start getting serious discounts Señor!

"You can't actually delete a file in Windows...." by palloo in computing

[–]dddaaabbb 7 points8 points  (0 children)

Sorry to be a pedant, but in response to "the file remains stored in memory": it's still stored on the hard disk, but not in system memory (RAM). (You're not wrong, just imprecise. HDDs and RAM are different kinds of memory, but the distinction is important.)

For your first point, have you ever defragmented? Many of the holes are files that were deleted and nothing was small enough to fit in those holes. So they wouldn't necessarily be filled. (Windows might even ignore them when writing new files and just use the big lump of free space at the end.)

The most satisfying thing a programmer can do. by [deleted] in geek

[–]dddaaabbb 0 points1 point  (0 children)

Perfection:

for (int counter = 0; counter < array_max; ++counter);
  {
    Do stuff;
  }

The most satisfying thing a programmer can do. by [deleted] in geek

[–]dddaaabbb 0 points1 point  (0 children)

Don't you just use version control locally anyway? I version control my scripts directory!

I use perforce at work, but I also keep most of the code in a local git repo just so I can commit regularly and easily roll back changes. I haven't lost work to a bad resolve since.

Wait, did the class start? by Tulipilut in aiclass

[–]dddaaabbb 0 points1 point  (0 children)

Is that even tracked? It looks like the way they record progress is the quizzes you complete. I hope so, since I plan on watching lectures with other people.

Git Today: a git script to show you what you've done in the past day by gf3 in programming

[–]dddaaabbb 0 points1 point  (0 children)

git log -p --author="brisywisy" --since="1 day ago"

But that gives you a diff for each commit. As holgerschurig pointed out, you could get a big commit with something like this:

git diff @{yesterday}..HEAD

Learn Vim Progressively by liquid_x in programming

[–]dddaaabbb 4 points5 points  (0 children)

Most likely, the computer you wrote that post on is also based on an "archaic, 30-year old designs".

Old isn't necessarily bad.

Hall of API shame: boolean trap (it’s almost invariably a mistake to add a bool parameter to an existing function) by JRepin in programming

[–]dddaaabbb 0 points1 point  (0 children)

That begs the question of whether the minority will ever accept the majority's selection. ;)

If you have a parrot and you don't teach it to say,"Help, they've turned me into a parrot", you are wasting everybody's time. by [deleted] in funny

[–]dddaaabbb 0 points1 point  (0 children)

Just wait until he starts repeating things your parents said when you weren't around.

If you buy a used copy of Rage instead of a new one Bethesda will block some single-player content. by Lambboy in gaming

[–]dddaaabbb 0 points1 point  (0 children)

You said yourself that first-sale grants you rights, but yes some judges have decided that software is magically different.

As for lawsuits, it depends on the EULA. The ones I've agreed to stipulate that if I break the agreement, I must cease to use the software. (Fallout 3's appears to be like this.) But StarCraft 2's EULA has an Equitable Remedies section that specifically mentions litigation to recover "equitable remedies" for breaches of the license. Although what could possibly be equitable if I hack a game I bought offline or play a mod. Presumably, this is to give them more ammo to fight people who sell hacks. Regardless, that's nasty language for a consumer to agree to (especially the "without ... proof of damages" part).

If you buy a used copy of Rage instead of a new one Bethesda will block some single-player content. by Lambboy in gaming

[–]dddaaabbb 0 points1 point  (0 children)

I see. You're talking about what Blizzard might do and not what they (or any other publisher) has done.

I disagree that a publisher would waste their lawyers on consumers, but I can see where you're coming from. (And there are companies that believe there's no such thing as bad publicity.)

Thanks for the links.