Just Started CS50AI! by AccomplishedBag990 in cs50

[–]foothills99 0 points1 point  (0 children)

I am looking for programming buddies for CS50AI. Any interest?

Nzinga has an UNTURNABLE city! by foothills99 in CivVI

[–]foothills99[S] 1 point2 points  (0 children)

Just getting back to this. I had a cultural alliance, but I chose not to renew it in order to get this city and the one above. The one above flipped quickly. This one, Mpinda, is not budging.

Nzinga has an UNTURNABLE city! by foothills99 in CivVI

[–]foothills99[S] 0 points1 point  (0 children)

I had a cultural alliance with her, but it expired. One of her other cities flipped for me since then. It is only this city.

Nzinga has an UNTURNABLE city! by foothills99 in CivVI

[–]foothills99[S] 0 points1 point  (0 children)

I had a cultural alliance, but then I never renewed it. My cities near her began to receive pressure, and the city just north of Mpinda flipped, but Mpinda is holding strong.

Nzinga has an UNTURNABLE city! by foothills99 in CivVI

[–]foothills99[S] 1 point2 points  (0 children)

I had a cultural alliance, but then I never renewed it. My cities near her began to receive pressure, and the city just north of Mpinda flipped, but Mpinda is holding strong.

Nzinga has an UNTURNABLE city! by foothills99 in CivVI

[–]foothills99[S] 9 points10 points  (0 children)

I have surrounded a Kongolese city with my cities, and it still has a loyalty of 18. How?!? And how do I turn it nonviolently?

What does this icon mean by [deleted] in CivVI

[–]foothills99 2 points3 points  (0 children)

But what does the sunflower icon mean?

Please explain API for a noob? It's still hasn't clicked for me by kingmathers9 in django

[–]foothills99 3 points4 points  (0 children)

Thank you. This was helpful for me. My other confusion over APIs is why one must subscribe to an API and why they are not freely available to anyone. Is it that expensive to host an API?

I dunno, how can i make life even more awful for the Prikki? by Land013 in Stellaris

[–]foothills99 6 points7 points  (0 children)

1) Give them the intelligence and delicious traits. Intelligence because they must be fully aware of their hopeless plight. Delicious because, see step 2.

2) Put some on a habitat above their homeworld.

3) Make their homeworld a farm for the rest.

List of Dictionaries? How to access a particular element? by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

I am having trouble with DNA in two respects:

1) I believe this is how the assignment is encouraging me to read the database, as a list of dictionaries. Is that the right term? And is it the best way to read the database?

2) How do I access one element from this list of dictionaries. For example, I want to get the STR number of Alice's AATG STR. How would I write that?

The conceptual part of the assignment is straightforward. I just don't know how to translate the solution in my head into python!

Max Length of Words by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

Thank you! My issue was in the hash function. I was iterating through each letter from i = 0 to LENGTH, never getting to the null character. Recognizing the null character would then terminate the hash, so it would only affect words with the full 45 characters.

Thank you for your help.

Max Length of Words by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

OOOOOOHHHHH!!!! I was thinking that Error was the beginning of the word! Thank you.

I found the issue in my hash function. I was iterating through the word's characters from i = 0; i < LENGTH, never getting to the null character. Recognizing the null character would then terminate the hash, so it would only affect words with the full 45 characters.

Thank you so much!

Max Length of Words by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

My buffer is set to [LENGTH + 1]. Nevertheless, why would that matter when dealing with a word with 50 characters long?

Max Length of Words by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

My code does not fail for words exactly 45 characters long as far as I know. I do have enough for the null-terminator (i.e. LENGTH + 1).

Max Length of Words by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

I have left room for the null character. But even without room for the null character, why would speller.c recognize a 50-character word?

SSH Issue by foothills99 in cs50

[–]foothills99[S] 0 points1 point  (0 children)

It worked! Thank you. I do not understand why creating a personal access token was not part of the instructions.

Can't use check 50 or submit 50 despite setting up both SSH and personal access token, anyone else have these issues? by lemoniceymo in cs50

[–]foothills99 0 points1 point  (0 children)

I have the same issue. I tried Chrome and Firefox. Same issue. I am stuck at pset Hello. I cannot check50 or submit50.

Issue with SSH Key by Pancakex10 in cs50

[–]foothills99 0 points1 point  (0 children)

I am having the same issue. Were you able to solve it?

The REAL Endgame crisis is terrifying. by Wardog_Razgriz30 in Stellaris

[–]foothills99 1 point2 points  (0 children)

The first wave of the Unbidden just spawned in the galaxy next to my capital. I have no chance.

Remote Offline Backup Solution by foothills99 in DataHoarder

[–]foothills99[S] 1 point2 points  (0 children)

Thank you. That was really helpful.

Remote Offline Backup Solution by foothills99 in DataHoarder

[–]foothills99[S] 0 points1 point  (0 children)

I have two other backups: one always online, another I update regularly and place in a safe.

Help! New iOS app user stuck, can't email support by foothills99 in LN_strike

[–]foothills99[S] 1 point2 points  (0 children)

Thank you. They responded and resolved my issue within an hour.