The end of mono-threading python? - #10
Normandy evidently deserves to be visited, in the meantime: test your code
Ciao!
I love Italy, and I happen to be Italian too, I think Italy has so much to offer - for everyone. What about France? I don't know much about France, I was in Normandy many years ago with my family - this “spot” makes me definitely want to return.
A piece of art. How can someone be so good at doing things like that?!
But now it is September and holidays will slowly become a memory ;)
ps: this will be a slightly new format, let’s see how it works.
Something to read
Only one thread can be running Python code at a time, even if the Python interpreter is running on a multi-core CPU, because of the GIL: here is an explanation. But things are probably changing in the future because real multithreading is coming to town.If you don’t
testyour code, you should. A popular framework for testing in python is pytest: learn about (expect to fail) xfail an skipif (conditional skip) functionalities.
But learn it calmly - no rush please, write calmcode.In python, you can add
dynamic functionalitiesto methods using decorators. Decorators are a powerful tool that can be used to add functionality to functions without modifying the original method's code: here is how.
Something to watch
Looking for a
job in the data area? Interested in data-science jobs? Here is a full data-science mock interview video. And here the article introducing it.As suggested above,
keep calm(code)and watch this calm introduction to embeddings, you just need to know something about neural networks to understand it.
Something to try
Pandas Tutor enables you to write Python pandas code in your browser and to see how it transforms your data step-by-step. You need it. And it does it very nicely:
Something to… bonus!
Ashwin Rao put together a short story in a Colab Notebook to explain, using his own words, WTF happened with Silicon Valley Bank (SVB): play with it, and learn not only how to fail as a bank, but also what
Bond Riskis, by using High-School Calculus.Ok you have a responsive website now, but are you also using Responsive Typography? Here is an introduction to it:
Enjoy this September full of new challenges. And if you think this newsletter contains useful (totally free) information, please forward it to your friends, family, doctor, therapist... You will help me to increase the group of my subscribers ;)
See you soon!
David



