Bom dia! 🇵🇹
Let's start the week with some SQL: this post from the Towards Data Science blog lists some tips and best practices for writing your queries 🤓
If you want to write readable code (in Python 🐍 this time), automatic formatting tools are very handy: no need to remember all the rules listed in the official style guide (PEP8), just write your code as usual, and then let the tool do all the work to get a clean result! Several tools exist (autopep8
, YAPF
...), but Black
is the one that's been getting a lot of attention recently. It's easy to use, either from the command line, integrated into your favorite IDE, or automatically run as a git pre-commit hook. You can find here some short videos explaining how it works.
Finally, we conclude with a video by Derek Muller from the Veritasium channel (thanks to my colleague Jérôme for the contribution! 🙏), which explains the reasons for a potential return to analog processors, particularly for implementing in hardware the matrix multiplication operations required for neural networks. IBM is already manufacturing experimental processors of this type. The video also provides a brief historical overview of the emergence of this type of algorithms, and the big names in research who have been associated with it.
Have a great week and see you soon! 👋