[-] decivex@yiffit.net 2 points 1 year ago

The engine is where like 95% of the complexity lies though. Maybe more.

[-] decivex@yiffit.net 4 points 1 year ago

Make your own rules.

[-] decivex@yiffit.net 5 points 1 year ago* (last edited 1 year ago)
  1. list.append returns None so what you've actually got is a list comprehension that generates a list containing the value None 19 times. (using functions with side effects, such as list.append, in list comprehensions are generally bad style so you should avoid this)
  2. The list[...] syntax retrieves elements from the list, which is not what you're trying to do here. (and it is actually invalid syntax in this case)
  3. You should generally avoid calling lists list, because list is already a builtin.

If you want to append the numbers 1 to 19 to a list as you're trying to do you can call the list.extend function with the list comprehension [value for value in range(1, 20)] as the argument. (Although in this case you can also just use the range directly.) To do it without list comprehensions you can simply loop over the range and repeatedly call the append function.

[-] decivex@yiffit.net 6 points 1 year ago

No, but it is primarily a white supremacists movement and the '88' on the license plate kinda takes away all doubt.

[-] decivex@yiffit.net 4 points 1 year ago

Probably because they're trying to apply DnD alignments to real life, which isn't really any better than black and white morality.

[-] decivex@yiffit.net 5 points 1 year ago

Yeah, and it's extremely janky.

[-] decivex@yiffit.net 4 points 1 year ago* (last edited 1 year ago)

You can also use & to get &.

Edit: Fuck, I meant &

Edit 2: &

Okay nevermind, either lemmy or sync resolves html entities recursively apparently.

Edit 3: &

[-] decivex@yiffit.net 3 points 1 year ago

Personally I think it's probably best for Americans to vote Biden, since that will give the left some more time to organize, but I get that it's just too much for some to swallow. I'm just glad I have actual options in my country.

[-] decivex@yiffit.net 3 points 1 year ago* (last edited 1 year ago)

That's not what I was asking about, what did you hope to accomplish? Are you actually trying to convince people or did you just think you'd feel better if you did?

[-] decivex@yiffit.net 5 points 1 year ago

To what end are you trying to highlight that distinction though? What is the goal or motivation for writing that?

[-] decivex@yiffit.net 3 points 1 year ago

Not sure why you're being downvoted, it's a valid question and I don't think you're asking it to be mean.

[-] decivex@yiffit.net 8 points 1 year ago

Do you consider virtue signaling to be inherently bad? Because I'm pretty sure his comment also qualifies as such.

view more: ‹ prev next ›

decivex

joined 2 years ago