I recently finished Factfulness: Ten Reasons We’re Wrong About the World–and Why Things Are Better Than You Think and I urge you to read it. It was enlightening.
Hans Rosling along with his son Ola Rosling and daughter in law Anna Rosling Rönnlund took to heart the mission to debunk a few misconceptions we have about the world. And the best part? They debunked them with data. Some of them might seem incredible but are actually based on hard data....
When I started this blog I wanted to learn something new and so I decide to develop it with Gatsby. It was a new framework which would allow me to enhance my knowledge in the frontend spectrum and teach me a thing or two about React and GraphQL. Bonus points for the awesome documentation.
After a few tutorials I decided to use one of it’s themes and settled on the Chronoblog theme....
Shall we spend some time exploring a little bit about loggers? We shall! Let’s do it.
Visit the docs for more detailed information about the logging module. Let’s use a simple example, from the documentation, to illustrate the basic usage:
def simple_exmaple(): # create logger logger = logging.getLogger('StreamHandler') logger.setLevel(logging.DEBUG) # create console handler and set level to debug ch = logging.StreamHandler() # create formatter formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') # add formatter to ch ch....
If you’ve following the news, here for example, you’re aware that there is a new bug out there. You can easily find information about it out there and how to fix it.
We’ve patching servers and although we have the most recent one’s managed with Chef some legacy one’s are not. As a good practice I script everything, so this time wasn’t an exception.
The script provided here as a gist, will help you check for the bug and patch it....
Recently I’ve messing around with a Google Glass and started working on a small prototype to interface Glass with our internal systems. Let’s build a very simple, Hello World style application, using the GDK.
The features of our application will be:
Add a command to the main menu; Use voice to trigger that command; Launch an activity from that trigger. Let’s start by setting the string that will be added to the menu and be used as a trigger....