The Rise of Kyoshi
« “Don’t criticize Yun’s past life,” Rangi said, whacking her shoulder with a mittened hand. “The Avatars tread paths of great destiny. Every action they take is meaningful.”
They meaningfully passed another three dull, meaningful hours »
@aescling oh i guess there is an Array::entries() method which i could be using instead of Object.entries(…).values() but same thing
@aescling (pipes here is an array, if that helps)
const pipesIterator = Object.entries(pipes).values();
for (const [pipeNº, index] of pipesIterator) {
/* … */
let nextPipeNº = pipeNº;
while (pipes[++nextPipeNº] < lastIndex) {
// skip pipes which precede lastIndex
if (pipesIterator.next().done) {
break;
} else {
continue;
}
}
}
@aescling because i needed to skip some iterations in a for…of loop?
“interesting” here is acting as a shorthand for “actually interesting”, not “having rare or unexpected qualities”, which would render this statement paradoxical
i’m not watching the game actively but it’s on in the other room and every time i pop in it’s like, oh look, he stepped out of bounds early; oh look, there was defensive holding on that play which would have been a sack; oh look, he threw an interception
@nleigh oh yeah i hope you like hot fire nation assassin women because let me tell you kyoshi does
@craigmaloney@octodon.social @noelle if you're curious about this decision, it comes from how python rounds //
many languages drop the fractional part, so -6 // 8 is 0. you then need a -6 to get back to your original value.
8*0 + (-6) == -6
python always rounds down, so -6 // 8 is -1. so you need a 2:
8*(-1) + 2 == -6
@nleigh good; it's a lot of political drama and actual death from the perspective of someone who was raised a poor servant orphan in the Earth Kingdom, which is definitely a different vibe from the shows but i appreciate it
also it’s gay
@noelle @craigmaloney@octodon.social oh, hm, not sure if i agree with that definition of remainder
technically speaking, it's a standardized 'remainder-near' function, so my only real issue with it is the name :P
anyway it's easy enough to
a%b - b if a < 0 else a%b
so there's no real issue
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.
For the time being, this is mostly a mirror of <https://status.ladys.computer/>. Want to get in touch? E·mail me!