Python: Type Hints
Lately I have been thinking about type hints a lot because I like to be as clear as possible when writing code. I was recently working alongside someone who wrote a function that could return objects of different types. A lot of procedural code was written, and I was unfamiliar with the code and what it was for. My first step: identify what objects are being returned, and make it obvious for whoever comes after me.
What have I been up to since last post?
Hey everyone, It’s been a while since my last post and that’s because I’ve been working on quite a bit. I left my previous job for a Senior Infrastructure Engineer role, and I’ve been kept pretty busy during onboarding. I’m very excited about my new role and I get to do new things and work on interesting technology. I’m doing a lot of work in Python, and it is a big breath of fresh air.
Migrating your on-premises infrastructure to Microsoft Azure with Terraform
Hey everyone, Today I want to share my experience with Terraform and Microsoft Azure. I was tasked with creating a new Active Directory Domain Controller in Azure with a VPN back to on-premises servers, in preparation to slowly stop using Active Directory. After last year, I can very easily see this becoming a more common request, and I’d like to cut down on how much time I spend creating infrastructure.
Two Sum Example and Solutions
Hi everyone, I’m back, this time with a common problem off of Leetcode. Last week at NYC Python’s project night event we did some Leetcode problems. There was a lot of discussion around Two Sum. Two Sum is the first problem on Leetcode and is ranked as “Easy”. The premise is the following: Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to target.
Remote Work In 2020 and Going Forward
Hi everyone, it’s been a long while. I really need to get into the habit of writing more. I’ve been working on a few projects at work but I want to talk about mobile device management (MDM). I’ve been working on rolling out MDM to devices across all our customers. It is going pretty smoothly, and customers are very receptive to it. MDM makes a ton of work very easy. When it came to workstation setups for remote work, someone would have to spend quite a while on the phone with someone, following a checklist.