Archive

All published posts

2600 posts latest post 2026-10-16
Publishing rhythm
Sep 2026 | 28 posts

The week ofJan 17 – Jan 23, 2022

Featured this weekLink

If you’re into interesting projects, don’t miss out on dynaconf, created by dynaconf. Configuration Management for Python ⚙

The week ofJan 10 – Jan 16, 2022

Featured this weekWriting

functools.total_ordering makes adding all of six of the rich comparison operators to your custom classes much easier, and more likely that you remember all of them.

From the Docs: The class must define one of __lt__(), __le__(), __gt__(), or __ge__ In addition, the class should supply an __eq__() method.

one of these

  • lt()
  • le()
  • gt()
  • ge()

and required to have this one

  • eq()

Total Ordering Docs

Here is an example using the Enum I was working on the other day.

from enum import Enum, auto
from functools import total_ordering


@total_ordering
class LifeCycle(Enum):

    configure = auto()
    glob = auto()
    load = auto()
    pre_render = auto()
    render = auto()
    post_render = auto()
    save = auto()

    def __lt__(self, other):
        try:
            return self.value < other.value
        except AttributeError:
            return self.value < other

    def __eq__(self, other):
        try:
            return self.value == other.value
        except AttributeError:
            return self.value == other

Link

Link

Check out ipython and their project ipython. Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.

The week ofJan 3 – Jan 9, 2022

Featured this weekLink

Check out sharkdp and their project pastel. A command-line tool to generate, analyze, convert and manipulate colors

Link

If you’re into interesting projects, don’t miss out on asdf, created by asdf-vm. Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

The week ofDec 27 – Jan 2, 2022

Featured this weekLink

I came across outputformat from delestro, and it’s packed with great features and ideas. Python library to decorate and beautify strings

Link

pyenv has done a fantastic job with pyenv. Highly recommend taking a look. Simple Python version management

Link

The week ofDec 20 – Dec 26, 2021

Featured this weekWriting

Smoother Python with automatic imports | pyflyby

This is not a flaky works half the time kind of plugin, it’s a seriously smooth editing experience. I’ve just started using pyflyby, and it is solid so far. I have automatic imports on every save of a python file in neovim, and automatic imports on every command in ipython. I can’t tell you how pumped I am for this, and how good its felt to use over the past few weeks. It’s glorious. YouTube video Listen to me rant on how great pyflyby is https://youtu.be/2QW5DJiEJH4 Give the video a watch, I did not have noise-cancelling on in obs. My apologies for the background hum and the mic stand bumps. I did my best to fix them up. Installation How to install pyflyby for automatic python imports pyflyby is hosted on pypi, so you can get it with pip. I have had no issues installing it on 3.8+ so far. Configuration setup with stow always stow your dotfiles If you’re going to configure any of your tools the first thing you should do is set it up with stow, seriously don’t sleep on the stow. If you…

Link

vim-abolish by tpope is a game-changer in its space. Excited to see how it evolves. abolish.vim: Work with several variants of a word at once

Link

The week ofDec 13 – Dec 19, 2021

Featured this weekLink

The week ofDec 6 – Dec 12, 2021

Featured this weekWriting

You must use augroup with autocmd in vim | Here’s how

If you are running vim autocmd’s without a group, you’re killing your performance. Granted your probably not sourcing your vimscript files with autocmd’s too often, but every time you source that vimscript you are adding another command that needs to run redundantly. https://youtu.be/2ITTn4Dl0lc This is what I had Not silky smooth For WAAY too long I have had something like this in my vimrc or init.vim. It formats my python for me on every save, works great except if I source my dotfiles more than once I start adding how many times black runs. Why is a bare autocmd bad let me demonstrate Lets create a new file called and give it the. Works great, it starts telling me that its formatting. BUT as every time I give it the it formats an extra time on every single save. Setting up an augroup I’ve been told I need an to prevent duplicates. So I did it, and nothing changes, it still ran as many times as it was sources on every save. Clearing out the augroup What you need to do is clear out al…

Link

The week ofNov 29 – Dec 5, 2021

Featured this weekWriting

Code Review from the comfort of vim | Diffurcate

I often review Pull requests from the browser as it just makes it so easy to see the diffs and navigate through them, but there comes a time when the diffs get really big and hard to follow. That’s when its time to bring in the comforts of vim. https://youtu.be/5NKaZFavM0E Plugins needed This all stems from the great plugin by AndrewRadev. It breaks a down into a project. So rather than poping into a pager from git diff, you can pipe to diffurcate and it will setup a project in a tmp directory for you and you can browse this project just like any other except it’s just a diff. My aliases First to quickly checkout PR’s from azure devops I have setup an alias to fuzzy select a pr and let the command do the checkout. Next I have a few aliases setup for checking diffs. The first one checks what is staged vs the current branch, the others check the current branch vs main or master. Links diffurcte.vim

Writing

Setup a yaml schema | yamlls for a silky smooth setup

I’ve gone far too long without a good setup for editing yaml files, I am missing out on autocomplete and proper diagnostics. This ends today as I setup yaml-language-server in neovim. https://youtu.be/xo4HrFoKF4c The video for this one is part of a challenge-playlist I put out for myself to constantly improve my dotfiles for all of December. init.vim I have my setup to only source other modules, if you want everything in a single config, feel free to do as you wish. I broke mine up earlier this year as I doubled into nvim and am not going back. Plugin setup You will need the following plugins. I use plug, if you don’t you will have to convert the syntax over to the plugin manager you use. neovim/nvim-lspconfig is for configuring the lsp. It comes with a bunch of sane defaults for most servers, so you pretty much just have to call setup on that server unless you want to change the defaults. hrsh7th/nvim-cmp is what I use for autocomplete. If you are using something else you might need t…

Writing

Open files FAST from zsh | or bash if thats your thing

https://youtu.be/PQw_is7rQSw I am often in a set of tmux splits flying back and forth, accidentally close my editor, so when I come back to that split and hit my keybinds to edit files I enter them into zsh rather than into nvim like I intended. Today I am going to sand off that rough edge and get as similar behavior to nvim as I can with a couple of aliases. Make sure you check out the YouTube video to see all of my improvements. what’s an alias If you have never heard of an alias before it’s essentially a shortcut to a given command. You can pass additional flags to the underlying command and they will get passed in. Most of the time they are just shorter versions of commands that you run often or even like in this case a common muscle memory typo that occurs for you. My new alias’s for fuzzy editing files from zsh Here are the new aliases that I came up with to smooth out my workflow. These give me a similar feel to how these keys work in neovim but from zsh. Follow the YouTube chan…

Writing

How linux users install a text editor

In honor of the neovim 0.6.0 release, I decided to do a funny skit installing neovim, and fix up my install script in the process as part of my challenge to fix up my dotfiles. I ran into one snag where I was not updating the repo that I cloned. I moved it to the directory I now keep third-party git repos and set it to update with ansible. https://youtu.be/64oKLphhBuo The thing that took me the longest to realize was…. I had a path issue pointing me to an old install of the appimage over the fresh build, fixed that up and now we are on 0.7.0 nightly. Related Links https://neovim.io/ https://github.com/neovim/neovim https://github.com/neovim/neovim/releases/tag/v0.6.0

Writing

30 days dotfile ricing

https://youtu.be/Jq1Y48F_rOU I am challenging myself to 30 days of dotfile ricing. I have been on linux desktop for a few months now and have a pretty good workflow going, I have the coarse edits done to my workflow, but it has some rough edges that need sanded down. It’s time to squash some of those little annoyances that still exist in my setup. This is primarily going to be focused on productivity, but may have a few things to just look better. This will comprise heavily of aliases, zsh, and nvim config. Follow the YouTube channel or the rss feed to stay up to date.

Link

Link

Link

Link

The week ofNov 15 – Nov 21, 2021

Featured this weekWriting

JUT | Read Notebooks in the Terminal

Trying to read a.ipynb file without starting a jupyter server? jut has you covered. https://youtu.be/t8AvImnwor0 watch the video version of this post on YouTube install is packaged and available on pypi so installing is as easy as pip installing it. examples what are all the commands available for jut? Take a look at the help of the cli to explore all the options that it offers. There is some good information on the projects readme as well. without installing using pipx Don’t want jut cluttering up your venv, or want to save yourself from making a new one, can manage a separate virual environment for you. This is one of the biggest selling points for me. nbconvert is the lightweight option that I think will fit the bill often for me, but it just doesn’t always cut it. Mostly if there are images in the notebook or large output that is hard to read, its time to pull out the medium guns that sit between fulling running jupyter and. nbconvert does not have its own cli, instead it sits unde…

Writing

Waylon Walker

Hi, Hello, I’m Waylon Husband, dad of two, and hobbyist builder of things on the internet. When I’m not wrangling data pipeline platforms or building web platforms, you’ll find me gaming with my kids, making art, or skating around the neighborhood. Reliving my mechanical engineering days with my 3d printer. Winding down at the end of the day binge-watching Big Bang Theory with my wife. What I Do I’m a Senior Software Engineer who specializes in data pipelines and Python-based web platforms. I help teams turn messy data into reliable systems that actually work. Why I Built This Site from scratch I got tired of: Build times that took forever Node modules folders that became black holes Bloated pages that took ages to load SEO tools that felt like an afterthought So I built my own platform from scratch using pluggy and diskcache. It’s under-funded, over-dreamed, barely documented, and I love it. This site is my sandbox for learning, teaching, and sharing ideas on my own terms. Infrastruct…

Writing

kedro catalog create

I use to boost my productivity by automatically generating yaml catalog entries for me. It will create new yaml files for each pipeline, fill in missiing catalog entries, and respect already existing catalog entries. It will reformat the file, and sort it based on catalog key. https://youtu.be/_22ELT4kja4 What is Kedro 👆 Unsure what kedro is? Check out this post. Running Kedro Catalog Create The command to ensure there are catalog entries for every dataset in the passed in pipeline. Create’s new yaml file, if needed Fills in new dataset entries with the default dataset Keeps existing datasets untouched it will reformat your yaml file a bit default sorting will be applied empty newlines will be removed CONF_ROOT Kedro will respect your settings when it creates a new catalog file, or looks for existing catalog files. You can change the location of your configuration files by editing your variable in your projects.. I prefer to keep my configuration packaged inside of my project. This is…

Link

The week ofNov 8 – Nov 14, 2021

Featured this weekLink

The week ofNov 1 – Nov 7, 2021

Featured this weekLink

sqlfluff by sqlfluff is a game-changer in its space. Excited to see how it evolves. A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

Link

The week ofOct 25 – Oct 31, 2021

Featured this weekWriting

nvim conf 2021 | IDE’s are slow | Waylon Walker

https://youtu.be/E18m4KkJUnI Slides 👇 welcome Other possible titles Using Vim as a Team Lead I 💜 Tmux Why I stopped using @code Get there fast How I vim It’s ok Use a graphical IDE if it works for you. Trick it out vim is so well integrated into the terminal, take advantage It wasn’t working for me anymore dozens of instances As a team lead I bounce betweeen a dozen projects a per day https://pbs.twimg.com/media/FAEmRjYUcAUk2eR?format=jpg&name=large Move With Intent Running vim inside tmux lets me move swiftly between the exact project I need. https://twitter.com/_WaylonWalker/status/1438849269407047686/photo/1 //: <> (__) Hub and Spoke direct link to specific projects fuzzy into all projects fuzzy into open projects How I navigate tmux in 2021 #hub-and-spoke Other Things That Make this Possible tmux direnv vim adjacent things yes, vim is ugly, make it yours @rook @_waylonwalker lsp treesitter telescope fuzzy matching like a boss fzf is ok too Check Messages

Link

Link

Link

Check out chipsenkbeil and their project distant.nvim. 🚧 (Alpha stage software) Edit files, run programs, and work with LSP on a remote machine from the comfort of your local environment 🚧

Link

tesseract by tesseract-ocr is a game-changer in its space. Excited to see how it evolves. Tesseract Open Source OCR Engine (main repository)

The week ofOct 18 – Oct 24, 2021

Featured this weekLink

Link

Link

Check out flick-it by cmgriffing. It’s a well-crafted project with great potential. An OBS overlay game similar to the!drop game.

Link

The week ofOct 11 – Oct 17, 2021

Featured this weekLink

codelucas has done a fantastic job with newspaper. Highly recommend taking a look. newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:

Link

I recently discovered delta-rs by delta-io, and it’s truly impressive. A native Rust library for Delta Lake, with bindings into Python

Link

Link

Link

Link

The week ofOct 4 – Oct 10, 2021

Featured this weekWriting

Just Ask Ipython for help

It happens to the best of us We can’t all remember every single function signature out there, it’s just not possible. If you want to stay productive while coding without the temptation to hit YouTube or Twitter. Use the built in help. Here are 5 ways to get help without leaving your terminal. https://youtu.be/TZrRAP-9UMk Docstrings In any python repl you can access the docstring of a function by calling for. In Ipython we can even get some syntax highlighting with the. Source Code Sometimes the docstrings are not good enough, and don’t give us the content we need, and we just need to look at the source. Without leaving your terminal there are two ways I often use to get to the source of a function I am trying to use. The more common way I do it is with the ipython. Bonus rich.inspect You thought the syntax highlighting was good with ipython, check out what can do! As far as I know there is no way to get to source code, but the results are still fantastic. Install rich then inspect Conn…
2 min read

Writing

Hacktoberfest 2021?

Are you participating in Hacktoberfest 2021? I got my start with open source with Hacktoberfest 2018. I remember being so nervous for those first pr’s. I have continued to participate every year, and it feels good to give back. It made a big change on me Something that it really did for me was to lower the hurdle to contribute regularly. I am not a huge contributor to open source. I am not necessarily a regular maintainer of any large project, but I do often raise issues when I see things as a user that would make things easier or more clear. After participating it does not feel like such a big deal to go through the motions of making my own fork, making a small change, and submitting it for review. What can you do? As a user, you might be in a unique position to see a library from the perspective of other users rather than from the eyes of a maintainer. You can help bring the user perspective to your favorite library. https://twitter.com/_WaylonWalker/status/1446440878864846909 My fav…

Writing

I made a neovim plugin

I’ve slowly adding more and more lua functions into my neovim configuration, and recently I noticed a pattern for a class of functions that reach out to run shell commands that can be abstracted away. https://youtu.be/8m5ipBuopPU Telegraph.nvim Check out the project readme for the most up to date details on the plugin itself. Motivation I want a simple way to make remaps into shell commands that can open new tmux windows, popups, or just run a command with context from the editor. For example I want to make remaps to do things like open the current file in lookatme. The main goal here is that remaps become one liners that can just be put directly in my without creating a whole new lua module for each shell command I want to bind. how takes in a argument to determine where to tun the command.j (default) runs command in the built in terminal runs command in a new tmux session and joins it. runs command in a tmux popup window. runs command in a tmux session and displays it in a popup runs…