Showing 1 to 6 of 81 blog posts tagged with "how-to".
-
Analyze data with SQL window functions
We regularly use tools like PostgreSQL, Pandas, and Jupyter Notebooks to analyze data here at Caktus. Recently, we were reviewing North Carolina traffic stop data for the NC Co... Read more
April 5, 2023 -
How to Use Celery for Scheduling Tasks
There are multiple ways to schedule tasks in your Django app, but there are some advantages to using Celery. It’s supported, scales well, and works nicely with Django. Given it... Read more
August 11, 2021 -
How Mock Can Improve Your Unit Tests: Part 2
In Part 1 of this blog series, we started looking at how we can use mocking to improve our unit tests. We'll expand on that in this post. Mock an Attribute Another common case... Read more
April 5, 2021 -
How Mock Can Improve Your Unit Tests: Part 1
We've written in the past about the importance of unit tests and how to write better ones: Culture of Unit Testing, Subtests are the Best. Mocking is a little tricky to learn t... Read more
March 29, 2021 -
Automating PyPI releases with Github Actions
At Caktus, we maintain some open source packages, which are usually pieces of code that we've found useful when building an application, and we figure they might be useful to ot... Read more
February 11, 2021 -
JavaScript Variable Declaration in the 21st Century
October 2020 marked the 14th anniversary of the introduction of “let” and "const" to Javascript. Yes, it was in 2006 that this feature was first introduced, and we’re still hav... Read more
January 25, 2021