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/
http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
lucumr.pocoo.org
More About Unicode in Python 2 and 3
Some thoughts about bytes and Unicode in Python 2 and Python 3.
Are you a machine learning professional? Here is the cheat sheet for you: https://blogs.sas.com/content/subconsciousmusings/2017/04/12/machine-learning-algorithm-use
The SAS Data Science Blog
Which machine learning algorithm should I use? - The SAS Data Science Blog
This resource is designed primarily for beginner to intermediate data scientists or analysts who are interested in identifying and applying machine learning algorithms to address the problems of their interest. A typical question asked by a beginner, when…
Just a kind reminder about metaclasses for you:
http://jakevdp.github.io/blog/2012/12/01/a-primer-on-python-metaclasses/
http://jakevdp.github.io/blog/2012/12/01/a-primer-on-python-metaclasses/
A little guide on how to create packages by yourself in Python:
http://flask.pocoo.org/docs/0.12/patterns/distribute/
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
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
A Crash Course in Python for Scientists
Rick Muller, Sandia National Laboratories:
http://nbviewer.jupyter.org/gist/rpmuller/5920182
Rick Muller, Sandia National Laboratories:
http://nbviewer.jupyter.org/gist/rpmuller/5920182
nbviewer.org
Notebook on nbviewer
Check out this Jupyter notebook!
Sometimes Python will confuse you. Know why?
https://nedbatchelder.com//blog/201801/pythons_misleading_readability.html
https://nedbatchelder.com//blog/201801/pythons_misleading_readability.html
A little cheatsheet on navigating in UNIX terminal CL:
https://clementc.github.io/blog/2018/01/25/moving_cli/
https://clementc.github.io/blog/2018/01/25/moving_cli/
clementc.github.io
Clément Chastagnol ~ Moving efficiently in the CLI
A cheatsheet for moving efficiently in the CLI!
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
https://hackernoon.com/a-brief-tour-of-python-3-7-data-classes-22ee5e046517
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).
Visualstudio
Visual Studio Code - Code Editing. Redefined
Visual Studio Code redefines AI-powered coding with GitHub Copilot for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
David Beazley is a Python-beast, the author of a bunch of a best-selling books on programming with Python. Here is what he told us back in 2015 about AsyncIO. Here is a spoiler - it's our future. Is it? Do you agree?
https://www.youtube.com/watch?v=ZzfHjytDceU
https://www.youtube.com/watch?v=ZzfHjytDceU
YouTube
Keynote David Beazley - Topics of Interest (Python Asyncio)
Keynote da Conferência Python Brasil 11 [2015] - São José dos Campos
A conferência Python Brasil aconteceu dos dias 09 e 10 de Novembro de 2015, no Novotel, em São José dos Campos.
Keynote do David Beazley, sobre Topics of Interest (Python Asyncio)
Mais…
A conferência Python Brasil aconteceu dos dias 09 e 10 de Novembro de 2015, no Novotel, em São José dos Campos.
Keynote do David Beazley, sobre Topics of Interest (Python Asyncio)
Mais…
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
* 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
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
YouTube
The Messaging of Things
Mike Leonard http://2017.pycon-au.org/schedule/presentation/70/ #pyconau This talk was given at PyCon Australia 2017 which was held from 3-8 August, 2017 in ...
Prepare for Python 3.8. The release schedule is here (the releases are not going to happen soon though):
https://www.python.org/dev/peps/pep-0569/
https://www.python.org/dev/peps/pep-0569/
Python Enhancement Proposals (PEPs)
PEP 569 – Python 3.8 Release Schedule | peps.python.org
This document describes the development and release schedule for Python 3.8. The schedule primarily concerns itself with PEP-sized items.
I'm sure all of us use pdb pretty often. Just to remind you - here are some hints on how to use pdb effectively:
https://www.codementor.io/stevek/advanced-python-debugging-with-pdb-g56gvmpfa
https://www.codementor.io/stevek/advanced-python-debugging-with-pdb-g56gvmpfa
www.codementor.io
Advanced Python Debugging with pdb | Codementor
Debug your Python code faster with these pdb tips.
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
https://www.youtube.com/watch?v=l8u8VENJhpM
YouTube
The Wizardry of Metaprogramming
Mike Leonard
http://2017.pycon-au.org/schedule/presentation/32/
#pyconau
This talk was given at PyCon Australia 2017 which was held from 3-8 August, 2017 in Melbourne, Victoria.
PyCon Australia is the national conference for users of the Python Programming…
http://2017.pycon-au.org/schedule/presentation/32/
#pyconau
This talk was given at PyCon Australia 2017 which was held from 3-8 August, 2017 in Melbourne, Victoria.
PyCon Australia is the national conference for users of the Python Programming…
You guys know that there are some major improwements in python 3.7. Here is a little description of the performance speed up:
https://hackernoon.com/5-speed-improvements-in-python-3-7-1b39d1581d86
https://hackernoon.com/5-speed-improvements-in-python-3-7-1b39d1581d86
Hackernoon
5 speed improvements in Python 3.7 | HackerNoon
Here are the major speed boosts you’ll get with Python 3.7 versus 3.6