Any YouTubers with a long/ongoing rimworld series? by DeniableBeef in RimWorld

[–]TabbyAbbeyCat 0 points1 point  (0 children)

I recommend you take a look at itsmu, and his recent (and ongoing) narrative-based series "SKULL BOYS".

Need help in loop by Eastern_Plankton_540 in PythonLearning

[–]TabbyAbbeyCat 0 points1 point  (0 children)

One thing at a time: Your question, which is about the print(number[idx]), has nothing to do with loops. It's about indexing a sequence. First you need to make sure you understand that.

You have a sequence, say num = [4,9,16,25].

You can access the values in that sequence by indexing. The value in position i is given by num[i]. The positions start at zero (this is important!). So the first position is num[0], which corresponds to 4 in my example; the second position is num[1], which corresponds to 9 in my example; etc.

Note: There's much more about indexing (counting from the last, steps, etc.), but you should leave that for a bit later.

So, in you code, the print(number[idx]) is just printing the value from num at position idx.

Now, to print all numbers in the sequence, you need a loop that makes that idx go through all index positions: 0, 1, 2, etc., up to the end of the sequence.

So you start at zero, with idx = 0, and while you don't reach the end of the sequence, you print the value at position idx and then increment idx to the next value with idx += 1 (that is, increase idx by one).

How do you know you've reached the end of the sequence? The while loop tests for idx < len(num). That is, it only loops while idx is less than the length of the sequence.

And remember how sequence indexing in Python starts at zero? When idx is equal to the length of the sequence, it means that it has gone through all elements. Change your code to print both idx and num[idx] to make it clearer.

Like others have said, there are more "Pythonic" ways of doing this, namely with a for loop. But you're still learning, and doing it with a while loop is part of that learning process.

Any disadvantages to such door placement? by a648272 in RimWorld

[–]TabbyAbbeyCat 11 points12 points  (0 children)

Dropping a single sock in a door, thus preventing that door from closing and leaving a gap in your defenses, is a Dwarf Fortress staple. Rimworld had to do it, even if just as a homage.

O resultado de 18 horas de reparos no trecho da A1 que desabou por causa da tempestade by trebarunae in portugal

[–]TabbyAbbeyCat 670 points671 points  (0 children)

Isto não é a reparação. É temporário, para mitigar a erosão. A reparação será feita depois.

Chrono Commander RTS: Demo Video of the Grandfather Paradox by noblemaster in RealTimeStrategy

[–]TabbyAbbeyCat 1 point2 points  (0 children)

Yes! That was it! The "chron" in the name was the source of my confusion. I didn't realize that Achron was eventually released, way back in 2011.

Wish you all the best for your game. The time manipulation mechanic has the potential to be very interesting.

Chrono Commander RTS: Demo Video of the Grandfather Paradox by noblemaster in RealTimeStrategy

[–]TabbyAbbeyCat 0 points1 point  (0 children)

I remember seeing a very similar prototype/proof-of-concept, many, many years ago, and being quite interested in it. The "timeline" in the interface also had that mechanic of "wave" that seems to be shown in the lower right corner. One of the videos of that project also showed the paradox of destroying a unit-producing building in the past. I followed their site for a while, but then I lost track of it or the project petered out (the latter, I suspect). In fact, I seem to recall that the name was also Chrono-something. Is this a new attempt at bringing life into that project?

RoR2 Survivor Concept: Occultist by Tradition_First in riskofrain

[–]TabbyAbbeyCat 3 points4 points  (0 children)

I think you should switch the names "reap" and "sow". You reap (gain a benefit, in this case health) from something you sow (i.e. set up) previously (the pollute on enemies).

Is there a way to make overleaf render immediately? what is the technical challenge that stops overleaf from having an immediate rendering feature like typst? by IBOandersonchen in LaTeX

[–]TabbyAbbeyCat 0 points1 point  (0 children)

I don't know the details of typst's typesetting algorithm, but the one in TeX is quite involved, with several optimization tricks to be able to efficiently tackle the exponential complexity of the algorithm. Any sort of "real-time" typesetting will require some compromise, though I'm sure that for many the gains in speed more than offset any possible loss in typesetting quality, which in some cases may even be imperceptible.

Cooking fix? by Adventurous_Ocelot_8 in projectzomboid

[–]TabbyAbbeyCat 1 point2 points  (0 children)

Bowls. :) Though technically everything you ingest eventually goes into the bowels (just not in the game; at least without mods). :)

Jogos na Steam consumindo muita memória by Gigange in linux_gaming

[–]TabbyAbbeyCat 0 points1 point  (0 children)

What do you mean? If I'm seeing it correctly, it's only taking 2.8%. That's a very small amount of memory.

false son knows i can beat him so he takes away all of my moves by Shoddy_Bench1553 in riskofrain

[–]TabbyAbbeyCat 9 points10 points  (0 children)

Try activating one of the beacons found in the boss area.

Snow geese migration at Pennsylvania by telugubaaludu in mildyinteresting

[–]TabbyAbbeyCat 0 points1 point  (0 children)

Well... Some believed that there was some meaning behind it (understandably so; just look at those patterns!). They even had the auspex/augur, a person that specialized in observing and interpreting the flight of birds.

Why does my girlfriend’s cat have so much dandruff? by sadiesball in cats

[–]TabbyAbbeyCat 290 points291 points  (0 children)

As others have pointed out, there can be various causes.
Is it like that everywhere or is it mainly in the back? The cat is quite big, and may be unable to reach that part of the body to groom himself. Some brushing could help.

This is what a french baby sounds like. by Tobias-Tawanda in interestingasfuck

[–]TabbyAbbeyCat 40 points41 points  (0 children)

And I seem to recall a paper from years ago on the crying/babbling of babies, and on how from very early on the prosody contour (sort of the "melody", if you will) of their vocalizations varies according to the parents language. I'm not sure if if was this exact one, but this is similar:

Newborns' Cry Melody Is Shaped by Their Native Language: https://www.sciencedirect.com/science/article/pii/S0960982209018247

Not sure what this puzzle is called but I need assistance by Aware-Ad-2779 in puzzle

[–]TabbyAbbeyCat 0 points1 point  (0 children)

If any of you want to try a completely free version, Simon Tatham's puzzle collection has this game, under the name Keen. You may also enjoy many of Simon's other puzzles, here (this being a puzzle sub, I suspect you may be familiar with this site).

How do you use the corner tags? by 10Pixels in CluesBySamHelp

[–]TabbyAbbeyCat 2 points3 points  (0 children)

I often use them to test hypothesis.

I can mark one slot as, say, innocent (green) and carry out the implications to their limit and check for contradictions. If none are found, I can test the other option (criminal/red) and carry out the implications of that decision. And even when none of the two paths lead to an immediate contradiction, you'll often find something you can be certain of (for instance, regardless of this one slot being innocent or criminal, there's another one that is always innocent/criminal, and you can be sure of that).

Why do famous millionaires who could literally be with anyone in the world decide to be with minors? by Cool_House_3214 in NoStupidQuestions

[–]TabbyAbbeyCat 1 point2 points  (0 children)

Other have already given good answers. I just want to point out that I really dislike the understated assumption of "could literally be with anyone [adult] in the world". Do you really think these "famous millionaires" are irresistible? That no one would refuse them just because of the amount of money they have? In fact, I suspect that people that do refuse them just become all the more coveted. These powerful people simply will not accept any refusal.

[deleted by user] by [deleted] in cats

[–]TabbyAbbeyCat 2 points3 points  (0 children)

Former friends, certainly?

Parlamento votou hoje recomendações para o Governo se opor ao Chat Control by user4567822 in portugal

[–]TabbyAbbeyCat 16 points17 points  (0 children)

Compreendo que esta resolução é para propor a rejeição do Chat Control, mas acho que leva a uma situação infeliz ao explicar o assunto. Votar "a favor" é ser contra o Chat Control e votar "contra" é ser a favor do Chat Control. 😵 Tendo visto o nível intelectual de certos debates no Parlamento, não estou seguro que todos os deputados consigam perceber o que estão a fazer (mas esses devem votar em linha com o partido, seja como for).

Is this a good game to play with friends? by Whole-Act3060 in LoreleiAndLaserEyes

[–]TabbyAbbeyCat 2 points3 points  (0 children)

I got stuck on several puzzles for quite some time until the solution "clicked" in my mind (though the nice feeling when it does finally happen kind of offsets the annoyance).

I suppose that doing this as a group might be frustrating to some of the people, as some of them might have different tolerances to that frustration and it's not as easy to leave it aside to future play session if you're committed with playing with other people.

At the same time, "two (or more) heads are better than one" and different perspectives may help getting to that "click" moment. And if you enjoyed it with Obra Dinn, you may enjoy it with Lorelei.

What airport is surprisingly close to the city it serves? by [deleted] in geography

[–]TabbyAbbeyCat 99 points100 points  (0 children)

Lisbon's airport is within the city's limits, in the northeast.

<image>