In this article I will show you how to make a beautiful yet simple graph using Django + Chart.js. The code for this project is here. Getting the data We are going to plot the number of Bite exercises that get completed per month on our platform. For this I exported the live data from… Continue reading How to make a nice graph using Django and Chart.js
Bob Belderbos
Bob studied business economics, but got fired up about programming early in his career. He taught himself web design / coding and started living his biggest passion: automate the boring stuff, making other people's lives easier. Since then he has coded projects accruing millions in cost savings and built a coding platform that has taught Python to thousands of people worldwide. He deeply cares about helping other people succeed. His biggest win will be your next win!
How to achieve more deep work
By Bob Belderbos on 11 May 2022
Listen now: How much deep work do you get done on a typical work day? In our case, we thought plenty. It turns out that lately it’s been less and less. As the authors of Practical Productivity with PyBites this came as quite a shock! But as you’ll learn in this episode, productivity is insidious. You can be… Continue reading How to achieve more deep work
A debugging tale
By Bob Belderbos on 6 March 2022
I ran into an interesting issue debugging the other day … I used isort with pre-commit to automatically sort imports before committing my code. This is a huge time saver and I am very thankful for both tools, as well as black and flake8. They save a ton of time and they instantly boost the… Continue reading A debugging tale
10 Tips to Write Better Functions in Python
By Bob Belderbos on 19 January 2022
In today’s article 10 tips to improve the quality of your Python functions.
How to handle environment variables in Python
By Bob Belderbos on 31 August 2021
In this article I will share 3 libraries I often use to isolate my environment variables from production code. Why is this important? Separate config from code As we can read in The Twelve-Factor App / III. Config: Apps sometimes store config as constants in the code. This is a violation of twelve-factor, which requires strict… Continue reading How to handle environment variables in Python
Applying the Hedgehog Concept to Learning Python
By Bob Belderbos on 20 August 2021
In this post we’ll look at how to apply the hedgehog concept to get more meaningful work done using Python and in your career. The other day I posted on Twitter: Don’t get stuck in tutorial paralysis, start building. Yes, it’s uncomfortable but you will learn so much more by deliberately applying what you learn… Continue reading Applying the Hedgehog Concept to Learning Python
The Benefits of Using GitHub Actions
By Bob Belderbos on 13 August 2021
If you’re not using GitHub Actions you’re missing out! This tool is a great way to catch any errors in the central place of the GitHub repo. Catch errors early Of course this is always second best, developers should do their due diligence locally first before pushing code: Some of my favorites in that regard… Continue reading The Benefits of Using GitHub Actions
5 Helpful Python Decorator Use Cases
By Bob Belderbos on 3 August 2021
Some time ago I asked on Twitter: I was curious what you use #Python decorators for? And I got quite an amazing / insightful response: The obvious next step for me was to look at some examples / use cases. So below are 5 useful applications of decorators. Study them, then apply similar things to… Continue reading 5 Helpful Python Decorator Use Cases
Are you overwhelmed by tutorial paralysis?
By Bob Belderbos on 30 July 2021
Tutorial Paralysis, information overload, hoarding and never completing online courses (How large are your Udemy and Coursera libraries?)… This is the pain we’re increasingly hearing about in conversations with developers and it’s more common than you may realise. It’s real, it’s crippling and it can make you feel like you’re going nowhere. Even if you do manage… Continue reading Are you overwhelmed by tutorial paralysis?
Fast Emoji Lookup from the Command Line
By Bob Belderbos on 7 May 2021
Today I wanted to share a little app I built the other day to search emojis from the command line.