☭
Death to America, its demise is inevitable
Text version, for easier copypasting: (I had fun typing that off, lol)
Revisionist rats!
I did nothing but good for your project, yet you banned me for my ideology in haste!
I gave you many chances to unban me, I could have made thousands of edits, yet you rejected me.
Now… you have forced me to go THERMONUCLEAR!
If it’s not too much work, could you make it convert the links in posts as well as comments? I occassionally post YouTube links, and it would be nice if the Invidious links for it were provided automatically.
(Personally I use a redirection add-on that redirects to my preferred Invidious instance whenever I click on a YouTube link, but it can sure be helpful when I’m on another device where I haven’t had the time to set it up yet.)
The DPRK, for sure. Other than that, I’m not really that much into travelling… I think Russia’s far east would be interesting to see, especially since if I remember correctly you can take a train from Vladivostok to the DPRK, so I could combine it with the country I want to travel to the most.
China might be interesting, but the language barrier would be much more of an issue with the previous two.
In that case, I think you have to use a different approach, and rather than iterate over all the numbers and filter out the ones that aren’t multiples of 3, you can iterate over the multiples of 3 and append every number you iterate over to the array. (Which is what snek_boi’s answer suggests.)
multiples_of_3 = []
for value in range(3,31,3):
multiples_of_3.append(value)
print(multiples_of_3)
Your problem is this statement:
number = value % 3 == 0
It gets evaluated in this order:
number = (value % 3 == 0)
So, first value % 3 == 0
gets evaluated to True or False, and then that gets assigned to the variable number
.
If you only want to append numbers that are multiples of 3, you would need an if-statement, like this:
multiples_of_3 = []
for value in range(3, 31):
if value % 3 == 0:
multiples_of_3.append(value)
print(multiples_of_3)
The compose key isn’t a key that you might have on your keyboard, it’s achieved by binding an existing key to be the compose key instead of its usual functionality.
E.g. I never use Caps Lock, so I have bound it to be the compose key, by creating the file /etc/X11/xorg.conf.d/10-keyboard.conf
with the following content:
Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:caps"
MatchIsKeyboard "on"
EndSection
If you use a desktop environment like GNOME, there’s no need to edit config files like this, you can also do it graphically via the Gnome Tweaks application, see here for instructions: https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en#compose
September’s Korean study thread on c/korea
I just created October thread. :) https://lemmygrad.ml/post/395711
Nice bread 🍞