Published

All published posts

2717 posts latest post 2026-11-11
Publishing rhythm
Oct 2026 | 30 posts

Explicit vs Implicit Returns in Javascript

Often when reading through javascript examples you will find some arrow functions use parentheses while others use braces. This key difference is that parentheses will implicitly return the last statement while braces require an explicit return statement. It is important to understand the difference between them because it is likely that you will find code examples of both and trying to edit code written differently than you’re used to may have unintended consequences. Arrow functions are one-liner functions in javascript that have two main syntactical ways to create the code block. with parentheses and braces. Let’s take a look at both ways of creating arrow functions so that when we come accross them in the wild it will all make sense. Here is an example of an arrow function that will implicitly return the last statement without the return keyword. I believe that these are a bit more restricted in that you cannot set variables inside them. They are a little bit more concise and great…

Twitter deepdives

Inspired by Chris Achard My ideas Python List comps Classes Inheritance Background Click Lambdas Kedro Cataloging Custom datasets Reusable pipelines find-kedro Learn kedro in 5 days Email course inspired by learn d3 in 5 days Mail Share your knowledge Practice Practice in public Make practice easy Share your notes Digital Gardening Own your content Build your audience Be nice Have empathy Learn your way Continuous learning
1 min read
I’m really excited about vim-quickui, an amazing project by skywind3000. It’s worth exploring! The missing UI extensions for Vim 9 (and NeoVim)!! 😎
If you’re into interesting projects, don’t miss out on bashtop, created by aristocratos. Linux/OSX/FreeBSD resource monitor

TIL: Bind arguments to dynamically generated lambdas in python

This past week I had a really weird bug in my kedro pipeline. For some reason data running through my pipeline was coming out completely made no sense, but if I manually request raw data outside of the pipeline it matched expectations. NOTE While this story is about a kedro pipeline, it can be applied anywhere closures are put into an iterable. After a few days of looking at it off and on, I pinpointed that it was all the way down in the raw layer. Right as data is coming off of the database. For this I already had existing files stored and a function to get the data so I opted to just set up the pipeline to utilize the existing code as much as possible, leaning on the kedro framework a bit less. I have dynamically created lists of pipeline nodes many times in the past, but typically I take data from kedro input and use it in the lambda. I prefer the simplicity of using lambdas over. It typically looks something like this. What was different this time is that I needed to pass in the na…
2 min read

python-deepwatch

Is it possible to deep watch a single python function for changes? Shallow Watch keeping track of a python functions hash is quite simple. There is a method attached to every python function. Calling it will return a hash of the function. If the function changes the hash will change. Using hashlib provides a consistent hash. Now we have a consistent way to hash function code. Deep hashing Find dependencies setup a function in a module with a dependency Create Generic module importer by filepath get code of dependency the inspect module can tell us the filename of our current module. now we can hash the dependency
1 min read
Looking for inspiration? autoreload by stevekrenzel. A small python script to watch a directory for changes and reload a process when a change is detected.

Four Github Actions for Python

If you are developing python packages and using GitHub here are four actions that you can use today to automate your release workflow. Since python tools generally have such a simple cli I have opted to use the cli for most of these, that way I know exactly what is happening and have more control over it if I need. If you are developing python packages and using GitHub here are four actions that you can use today to automate your release workflow. Since python tools generally have such a simple cli I have opted to use the cli for most of these, that way I know exactly what is happening and have more control over it if I need. Lint Test Package Upload to PyPi Lint With flake8 flake8 is pythons quintessential linting tool to ensure that your code is up to the standards that you have set for the project, and to help prevent hidden bugs. I am a heavy user of and as well, but for ci flake8 is typically considered the gold standard. and will help you automate many fixes suggested by flake8.…
Check out Textualize and their project rich. Rich is a Python library for rich text and beautiful formatting in the terminal.

Variables names don’t need their type

So often I see a variables inside of its name and it hurts me a little inside. Tell me I’m right or prove me wrong below. Examples Pandas are probably the worst offender that I see Sometimes vanilla structures too! Edge Cases? It’s so common when you need to get inside a data structure in a special way that itsn’t provided by the library…. I am not exactly sure of a good way around it. Containers are plural Always name your containers plural, so that naming while iterating is simple. Before I start fights 🥊 in code review, am I inline here or just being pedantic?
I’m really excited about cpython, an amazing project by python. It’s worth exploring! The Python programming language
I recently discovered scully by scullyio, and it’s truly impressive. The Static Site Generator for Angular apps

Send Emails with GitHub Actions

Here is one useful thing that you can do with GitHub actions no matter what language you use, send email. You might want to know right away when your ci passes. You might want to give your team a nice pat on the back when a new release is deployed. There might be subscribers wanting to see the latest release notes in their inbox as soon as the latest version is deployed. Whatever it is, its pretty easy to do with an action right out of the actions marketplace. Mail on Star Here is a silly example that sends an email to yourself anytime someone stars your repo.