Show newer

just legitimately had to use this technique; a·m·a

Show thread

; {
const values = [1, 2, 3, 4, 5].values()
for (const value of values) {
if (value % 2) values.next()
console.log(value)
}
}

Array.prototype.push.apply(parents, current == null ? [] : [current])

they’re very handy, even when you don’t need them, just for clarity of code

Show thread

using a lot of labelled blocks in this javascript which is not something you see often

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

Show thread

i have nothing against the ravens but it is fun to watch them footgun

@CobaltVelvet@octodon.social you’re reading “losing a son” as “losing a male (child)” but i think many people who use this phase intend it equally as “losing a (male) child”; it’s a disowning statement or performs as one

@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

@craigmaloney@octodon.social @noelle mod is NOT the same as remainder and this is the difference :). the problem (from this person's point of view, anyway, likely) is that most programming languages use % to mean remainder, and python (apparently) uses it to mean modulus.

@noelle does this person know about math.remainder() because that sounds like what they want

i’m reading the kyoshi book (part i) again, so i can read the kyoshi book (part ii)

@eldang look it’s not complicated. i’m saying that if you say “ban cars”, as a shorthand or no, people are going to get offended. if you continue to say it, as a shorthand or no, i can only assume that you are fine with those people getting offended.

so be it. but don’t act surprised when people do, then, get offended.

i am not arguing policy with you. i am saying that these fights are easily avoidable. OP was about avoiding these fights. my post was about avoiding these fights. you are not helping your cause by having these fights.

@Satsuma @eldang @GwenfarsGarden right, but there is a way of saying that which does not throw rural people under the bus, and it’s “improve and incentivize public transit”. which is what OP is saying.

if you are living in rural texas, without a car you do not have access to HRT, gender‐affirmation surgery, specialized medical care of any kind, or abortions. period. we do not have at our disposal any technology which could change that, and are not likely to anytime in the near future.

those are, i hope, things you agree people should have access to, and i would hope you would understand why people saying a plain, unqualified “no cars” might make individuals in that sort of a situation rather defensive.

i don’t know how anyone could read a continuation of that sort of language, understanding the above, as indicating anything other than “i don’t care about those people or how they feel”.

i also hate cars ftr

@eldang @GwenfarsGarden @Satsuma :redesign-urban-life*: is still explicitly an urban perspective tho? and understanding that the cities ALREADY tend to drive politics in a way which leaves rural areas underresourced i don’t think it’s hard to understand why people would be concerned about this

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.