Skip to content

tips-and-tricks

Members Public

Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search

Ever needed to track down when a specific piece of code was first introduced in a project? As part of some refactoring I had to do recently, I needed to do just that for a variable on a Django model. I was already familiar with the basic git log command,

Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search
Members Public

Using XOR to write concise conditionals

It's not uncommon that I sometimes write if statements where the overall conditional is true when both conditions are true or both are false. As an example, let's say I'm validating input from an API call where I'm updating information on a

Members Public

Fixing "No preset version installed for command poetry"

Poetry is a packaging and dependency management tool for Python, and a tool that didn't exist when I worked with Python many years before I started working at Float. I also hadn't been exposed to asdf, which is a handy little tool for managing multiple runtimes.

Members Public

How to install a Nerd Font on Warp

I started using Vim as my IDE of choice recently, and one of the things I wanted early on was a more visually appealing icon and font set. I kept reading about Nerd Fonts so I decided to try installing one, but the instructions for doing so were both clear

Members Public

How to change the version of an npm package associated with a specific tag

If publishing experimental npm packages is a somewhat regular part of your development workflow, you've likely experienced some nerves around publishing that package incorrectly such that it becomes the version that anyone newly installing or upgrading the package gets. If you find that you accidentally did exactly this

How to change the version of an npm package associated with a specific tag
Members Public

How to search and filter issues and pull requests in Github by author

If you ever find yourself needing to find issues or pull requests created by someone (or a few someones) in Github, here are a few quick tips for how to do that. First up - when you're looking for an individual, you'll want to use the

How to search and filter issues and pull requests in Github by author
Members Public

Tips for maintaining peak health before conference speaking

Being a speaker is intense energy- and time-wise and we can sometimes forget to take care of ourselves as a result. While there are a lot of guides and posts out there for things like navigating the 'call for proposals' process, making great slide decks, and speaking with

Tips for maintaining peak health before conference speaking
Members Public

Exploring the world of AI-powered code mods with Intuita

In a past job life, a lot of the codebase I had been working in was written in Coffeescript. There was a strong desire to move towards Typescript, but the transition was slow because it was done on the initiative of various engineers or whenever it was possible to incorporate

Exploring the world of AI-powered code mods with Intuita
Members Public

Bug in dependency or module resolution issues? Debugging with Selective Dependency Resolutions

When multiple versions of a dependency are used in your Node project and you start seeing build or import errors related to that dependency, it can be frustrating to solve. I recently learned about selective dependency resolutions (SDR) and it has since made me more confident in debugging these types

Members Public

Avoid package resolution errors by setting a package manager in the package.json

Developers working on Node projects have likely encountered errors related to package resolution at some point in their careers. It's so common that removing the node_modules directory and reinstalling all of the project dependencies is one of the first things folks attempt in an effort to resolve