In these uncertain times, many of us are finding ourselves working remotely. And with the recent resurge of COVID-19 cases across the United States, it’s looking like we will be in this for the long haul.
As a Software Engineer, I have been lucky to do most of my job remotely for almost ten years now. So, this transition has been easier for me than for others.
My personality is suited to work from home. I consider myself an extroverted introvert, which means I gain energy from spending time by myself or a select few people — thinking, reading, researching, and moving around in nature. However, I do enjoy going to parties and socializing with coworkers and thrive in collaboration with other people within my organization. It helps that I am organized and self-motivated. …
And which one should I choose?
If you are like me, the first time you went to create a Dockerfile and had to choose an image from the DockerHub page, you were thoroughly confused. Sometimes choices like this can freeze us up from acting, so maybe we just go with the standard image and avoid looking into it further, so that we can move forward with our project.
But it’s a good idea to understand the differences between the types of Docker images so that you choose the right one for your application or script.
In short, the difference between docker images is the underlying operating system. Here is a summary of each. …
At this time of unrest in our country, many of us are looking for ways that we can help. In the past week, we watched as protestors erupted in a stand against the racial injustice that has occurred against George Floyd and countless others across this country for centuries.
Posts are popping with ways we can educate ourselves, listen, and help. Most of them involve donating money, attending peaceful protests, calling our representatives, and demanding action, following black leaders, supporting black-owned businesses, and calling out racism in our community. …
So, you’ve learned how to code. Maybe you even are getting paid for it. Perhaps you’ve been doing it for a long time.
And, maybe you are a programmer who has come to that moment when you realize — it’s time to step up my game.
Most software developers come to a point in their career when they’ve learned the basics and have been using them in practice, but realize to move up to the next level, something needs to change.
Becoming a good programmer is hard work. …
Online learning is easier than ever. There are hundreds of ways to learn programming languages online, especially if you want to learn Python.
But I still love to learn from books. When I open a programming book, I often disconnect from the internet and code in a bubble without distraction.
With books, I can get into a flow of deep thinking that helps me to really understand the material.
Here are five books that I recommend to take your Python skills from beginner to advanced in just a few months.
Python Crash Course, by Eric Matthes, is a fantastic book for absolute beginners. …
It was 1985. My dad walked through the garage door with his arms wrapped around a large package. His gym socks were hiked up to his knees, shorts shorter than should be legal, and a massive smile across his mustachioed face. We all knew what it was.
An Apple IIc computer.
My brother, who is two years older than me, had entered a computer programming contest at school. After we got the computer, he was always frantically typing away on it in the back bedroom, where we kept the machine.
At the time, I wanted to do everything that my brother did. He played baseball; I played baseball. He got a skateboard; I asked for one the next Christmas. …
The flask-injector package for Python does not have complete documentation, and there are few examples on the web about how to implement it. I was not able to find a good tutorial on how to get dependency injection working with flask-injector in a real-life Flask application, so when I figured it out, I decided to write my own.
Dependency Injection (DI) was first presented as a design pattern by Martin Fowler. His article is worth a read, but it took me a while to fully understand it. He shares some Java code as an example. …
Have you ever been to one of those corporate meetings that seemingly have no leader, no agenda, and no direction? At the end of the session, you feel like everyone has just wasted an hour of their time?
Or, maybe you are a new leader at your company and are struggling to gain control of your meetings.
This problem is common in the corporate world, especially in meetings where there is no clear leader, and the group does not meet often enough to establish a flow.
If you find yourself calling people together often, here is an outline of several concrete steps that you can take to make each session go smoothly. If you follow this guide every time, you will run consistently efficient and productive discussions. People will look forward to attending your meetings rather than dread them. …
Python’s Flask is a lightweight web framework that provides a way to quickly build a backend for your application while giving the developer control over the implementation. It was created a few years after Django became popular, so it improves upon Django in many ways, while allowing for greater flexibility.
Unlike Django, Flask does not provide a built-in data access layer or migrations, administration interface, serialization, caching, or form validation methods. It does provide a template engine, development server and debugger, unit testing, and built-in support for working with HTTP requests and responses.
If you dislike boilerplate code, want more flexibility in your implementation, and want to get started quickly, Flask is a great choice. …
One of Python’s greatest attributes is readability. So, it is often painful when you open another programmer’s code and have no idea what she was trying to accomplish.
As developers, we often tackle a new problem head-on with brute force, manipulating our code until we get it to work. We look at our terminals, browsers, or applications in delight as they do just what we set out for them to do.
Then, we look at the code mess we created — time to refactor.
Wouldn’t it be better to tackle the structure and readability of your code as you go? Here are a few simple steps to start cleaning up your Python code today. Try this out on just one of your scripts, and you will see immediate results in readability, maintainability, and testability. The next time you receive a new assignment, try implementing these tactics as you go. …