Mocking date using Python freezegun library

Recently, I used freezegun library to mock date for writing unit test for microservices endpoint. This is a fairly new library and I could not find many examples online. So, I wanted to blog about my experience of using this library. Freezegun library allows our Python tests to travel through time by mocking the datetime module. Once the decorator or […]

Writing end to end test for microservices based architecture used for posting skype messages

Recently, I have attempted to test microservices based architecture where the AWS Lambda function consumes messages from a microservices endpoint and posts them to the skype channel. I have made an attempt to add most of the validations for the flow. I have included this end-to-end test in the below blog. Background: The above architecture explains, microservices based architecture which […]

Handling set new password prompt with Paramiko

Why this post? I hit an issue at one of our client recently – beginning from the latest version of the application, the remote server will prompt for a new password in the first login attempt, the password that comes out of the box will take you to the set new password prompt where you need to set a new […]

Holiday Reminder Skype Bot

Qxf2 services provides testing services for startups, a majority of our client base is offshore so as to keep them informed about the days Qxf2 is going to be on PTO (public and optional holidays) we follow a practice of notifying them 3 to 7 days in advance. This helps in proper planning and estimating the work. Every year, Qxf2 […]

Optimize running large number of tasks using Dask

I want to share my experience of using Dask tasks and certain best practices/optimizations I implemented. Having some prior understanding about Dask is required to follow along. For implementing parallelism, I used Dask futures, one of the Dask collections. I referred Dask best practices on how to improve performance and incorporated some of them to my project. Hope you find […]

Visualize chess heatmap using Dask and Coiled

I used Dask and Coiled to make some Python code I had written run in parallel. In this blog, I have described the approach used for implementing parallelism using Dask running on a coiled cluster. I had developed a Python program to generate control heatmap images for chess games. A control heatmap (a term I made up!) shows how many […]

How to conduct ‘Round 2’ interviews at Qxf2

Qxf2 reserves Round 2 of our three-round job interview solely to evaluate if the candidate can learn and apply new concepts quickly. During this round we use one of approximately fifteen exercises. This post goes into great detail on how an interviewer is supposed to conduct Round 2 when using the ‘Fork a repository and fix an error’ exercise. Interviewers […]