Generally, you want to use the built-in sorted() function which takes a custom comparator as its parameter. We need to pay attention to the fact that in Python 3 the parameter name and semantics have changed. How the custom comparator works When providing... (more…)
Read more »
In this post, we are going to learn to play with an image using OpenCV and python and try to learn with existing tools like Haar cascades face detection and build youtube inspired face-detect - crop - blur. (more…)
Read more »
This week, Twitter upped their single-tweet character limit from 140 to 280, purportedly based on this interesting analysis of tweet lengths published on Twitter's engineering blog.
The gist of the analysis is this: English language tweets display a rough... (more…)
Read more »
How we tested Python, Elixir and Go’s abilities to rebuild some of Unbabel’ core services. (more…)
Read more »
I’ve found myself explaining Python 3’s str to people online more and more often lately. There’s this ridiculous claim about that Python 3’s string handling is broken or somehow worse than Python 2, and today I intend to put that myth to rest. Pyt...
Read more »