cannonner retweeted
Смажив картоплю, дізнався, що в усіх топах України є контент ворога: YouTube та YT Music, Spotify та решті. Покажіть це відео іншим, зробіть ретвіт
cannonner retweeted
I’m not gonna blur this.
This is exactly what you think it is.
Everybody in the world must see the reality of what the Kremlin is doing to Ukraine while braindead motormouths in the West squeal about “NATO expansion,” or “U.S. proxy war on Russia,” or “concessions for peace,”
cannonner retweeted
А тепер Блять максимально серйозно до того поставтеся!!!
⚡️⚡️ Увага! Важливо!
Ворог зрозумів, що українці знищують мітки. Тому тепер використовує телефони з увімкненою геолокацією.
Прохання до всіх вимкнути геолокацію на своїх телефонах. Це дуже серйозно.
cannonner retweeted
Replying to @shaunwalker7
American tank mechanic here. Some advice.
Tanks are bad at urban combat. They need infantry support. Without boots on ground they're just big targets with poor visibility. Rifles should aim for the periscopes, but most importantly the sight unit on top of the turret.
cannonner retweeted
7 років та 3 міс позбавлення волі з конфіскацією половини майна.
Дякую Венедіктовій, Татарову та Труханову за це рішення.
Особлива подяка Зеленському
cannonner retweeted
Serious productivity boost for reading code on GitHub.
1️⃣.
Go to any repo you are interested in on GitHub.
2️⃣.
Replace "github" with "github1s" (one + s) in the browser address bar.
3️⃣.
Enjoy browsing code like you would in VS Code.
This is huge 🔥
cannonner retweeted
x += a is not always the same as x = x + a
>>> x = y = [1]
>>> x += [2]
>>> x, y # return ([1, 2], [1, 2])
>>> x = x + [3]
>>> x,y # return ([1, 2, 3], [1, 2])
That is because `+=` calls __iadd__ method while `+` calls __add__.
stackoverflow.com/questions/…
Another example 👇
This quoted post is unavailable.
cannonner retweeted
Here's the video for my #PyBay2019 keynote, "The Mental Game of Python: 10 strategies for managing complexity."
Skip the intro. The meat starts at 2:40. There is only 1 slide with all 10 techniques. The rest is live coding with non-trivial examples.
youtube.com/watch?v=UANN2Eu6…
cannonner retweeted
Why You Should Use `python -m pip` #python snarky.ca/why-you-should-use…
cannonner retweeted
Multiprocessing vs Threading in Python: What Every Data Scientist Needs to Know #python sumit-ghosh.com/articles/mul…
cannonner retweeted
#pythontip by @florimong1: 'pytest-mypy-plugins' is a must for those who work a lot with type hinting
sobolevn.me/2019/08/testing-…
This post is from an account that no longer exists. Learn more
cannonner retweeted
Python now has a new Code of Conduct: pyfound.blogspot.com/2019/09…
cannonner retweeted
Oh my. This is so awesome. Get temperature in Linux/Unix/macOS shell using curl command:
curl v2.wttr.in
curl v2.wttr.in/Mumbai
curl v2.wttr.in/London
cannonner retweeted
#Python tip: None and NotImplemented are singletons.
PEP 8 advises that comparisons for singletons should always be done with "is" or "is not", never the equality operators.






















