Навколо розробки
160 subscribers
47 photos
1 file
362 links
Привіт, мене звати Дмитро, колись я зробив цей канал щоб ділитися в ньому цікавинками та корисностями, частково це, сподіваюся, вдається
Download Telegram
Happy new year! Run this script:
"""
Bitwise Happy New Year 2018!
Coded by Kuba Siekierzyński (c) 2017

"""

k = [19297169, 19483217, 32469898, 19481092, 19481092, 0, 1145376, 1655328, 1405472, 1262240, 1145152, 0, 4580976, 4524360, 2740080, 1116496, 1173832, 0, 3245154, 4869266, 1201250, 2245776, 7970402]

for j in k:
for i in range(25):
print(chr(176 + bool(j & 2**(24-i)) * 43), end='\n'*(i//24))
A little guide to namespaces in Python - check it out, if you want to remind what’s the meaning of the LEGB abbreviation: http://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
Wonderful Armin Ronacher explains more about unicode in Python 2 and Python 3 in this must-read article, please enjoy your evening reading!
http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
A little guide on how to create packages by yourself in Python:
http://flask.pocoo.org/docs/0.12/patterns/distribute/
A must-read article on key differences between 2.7.x and 3.x versions of Python:
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
Overview one of the new feature that will be on board of Python 3.7:
https://hackernoon.com/a-brief-tour-of-python-3-7-data-classes-22ee5e046517
Channel photo updated
I never thought Microsoft would do that good for Python developers (and not only) until I tried VS Code with Microsoft Python plugin. It's just amazing. If you are a long time Sublime Text or PyCharm user - you definitely should try it. Here is the link: https://code.visualstudio.com/. It's free and extremely usable (despite it's built with Electron, ha-ha).
Five ideas underlying the design-pattern

* Separate things that do not change from things that do not change
* Program is done for interface (not for implementation)
* Aggregate rather than inherit
* Delegation, delegation, delegation
* Do not make until you need it (YAGNI)

For more details please check out this great short-read and think about it:)

https://boostlog.io/@reece.jaskolski25/5-principles-of-design-pattern-by-python-5a71fc4052b91d9de6d0bddb
What are the network messaging options? How do they compare? And which should I use?

MQTT is being used by AWS but how does this compare to the newly emerging gRPC; how does the tried and tested Avro compare to Protocol Buffers or even using the familiar JSON with HTTP and Websockets? Enjoy the presentation by Mike Leonard (he is from Australia, isn't he?)
https://www.youtube.com/watch?v=UfPhXhCjMpw
Have you ever asked yourself if you needed Python metaprogramming in some particular situation? If you did, you didn't need it. You only go with metaprogramming when you are 101% sure you need it. And this presentation is therefore for you. Enjoy Mike Leonard and your weekend:
https://www.youtube.com/watch?v=l8u8VENJhpM