Posts by Mike Crowe
Databricks Multiple Filters using a Python Lambda statement
Simplifying Multiple Null Checks in Databricks Recently, I ran into a case where I needed to check if 11 different fields were null. Yes, I could have used Copilot (or my preferred Codeium) to generate it for me, but I knew it had to be easier. There had to be an easier way… The Scenario…
Read MoreMaking Databricks Widgets Smarter
Have you ever wished the Databricks widgets were a little more intelligent? When you change one, the others adjust? That’s not too hard, but it’s a bit tricky. Here’s the secret: The widgets must be replaced as they change! Dynamic Widget Replacement For example: Let’s say you have a date input, and whenever it changes,…
Read MoreWrangling Gitlab CI/CD in Monorepos
So, I recently had the opportunity to extensively dig into Gitlab’s CI/CD. We have a monorepo that I wanted to deploy automatically, and it took quite a bit of work to optimize it and work as I expected. To set the stage, here’s our core .gitlab-ci.yml file (now): image: node:18-alpine3.19 variables: AWS_REGION: us-east-1 AWS_DEFAULT_REGION: us-east-1 FF_USE_FASTZIP: 'true'…
Read MoreGraphQL/TypeScript: Create Types when not Provided
Recently, I kicked off a project using GraphQL and needed the TypeScript types for the GraphQL API. However, they were not included in the project. It’s surprisingly easy to generate these types, but seemingly hard to find a simple “Here’s how you do it” example. In this case, install the required packages: The init asks…
Read MoreHow Can I Wordle Out of Housework?
Let me start this with a confession: I don’t (technically) play Wordle This is very important, as recently my wife came to me and proclaimed “I just got a “magnificent” in Wordle” (the blank look on my face definitely bumped up my heating bill for a few days). When I asked my daughter if she…
Read MoreShareable ESLint/Prettier/TypeScript configurations
direnv — Take Control of your Development Environment
If you aren’t familiar with [direnv](https://direnv.net), you need to be. It’s a great tool to help you stay organized.
Read More