I like fkromer’s project awesome-kedro. No description available.
Publishing rhythm
Just starred machfiles by ChristianChiarulli. It’s an exciting project with a lot to offer. The dotfiles you see in all my videos
Check out LunarVim and their project LunarVim. 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
Looking for inspiration? joelhooks-com by joelhooks. playing with static pages
Automating my Post Starter
One thing we all dread is mundane work of getting started, and all the hoops it takes to get going. This year I want to post more often and I am taking some steps towards making it easier for myself to just get started. When I start a new post I need to cd into my blog directory, start neovim in a markdown file with a clever name, copy some frontmatter boilerplate, update the post date, add tags, a description, and a cover. Todo List for starting a post # frontmatter template Title slug tags date cover description create markdown file open in neovim Lets Automate this # This aint no proper cli # hot and fast As with many thing running behind the scenes on this site, I am the one and only user, I have limited time, so this is going to be a bit hot and fast. Let’s create a file called new-post. start the script new-post 👆 Works on my machine If this were something that had more users than me I would probably use something like click, but for this I want to get it done quick and avoid any…
Windowing Python Lists
In python data science we often will reach for pandas a bit more than necessary. While pandas can save us so much there are times where there are alternatives that are much simpler. The itertools more-itertools` are full of cases of this. This post is a walkthrough of me solving a problem with rather than reaching for a for loop, or pandas. I am working on a one-line-link expander for my blog. I ended up doing it, just by modifying the markdown with python. I first split the post into lines with, then look to see if the line appears to be just a link. One more safety net that I wanted to add was to check if there was whitespace around the line, this could not simply be done in a list comprehension by itself. I need just a bit of knowledge of the surrounding lines, enter. simplified rendering function # I have a function that will check to see if the line should be expanded, then render the correct template. Fist step is to check if the line contains no spaces and starts with, if it doe…
WaylonWalker has done a fantastic job with devtainer. Highly recommend taking a look. 🐳 (dotfiles) My personal development docker container base image
WaylonWalker has done a fantastic job with WaylonWalker. Highly recommend taking a look. Learning in public
Check out aoc by ThePrimeagen. It’s a well-crafted project with great potential. 2020
Check out ZaxR and their project bulwark. Bulwark is a package for convenient property-based testing of pandas dataframes.
mariokostelac has done a fantastic job with sagemaker-setup. Highly recommend taking a look. Useful scripts for making AWS SageMaker better
I like pypeaday’s project aoc-2020. Advent of Code 2020
I’m really excited about auto-editor, an amazing project by WyattBlue. It’s worth exploring! Auto-Editor: Efficient media analysis and rendering
Adding Audio to my blog posts
This is episode 1 of the Waylon Walker Audio experience, posts from waylonwalker.com {.hoverlink} in audio form. So I have had this idea for awhile to add audio to my blog posts. The idea partly comes from the aws blog, if you have ever been on their blog you will have noticed that they have a voiced by amazon polly section. What to Expect # Honestly I don’t know this is all new to me and I dont have much to go off of. For now its a test that may or may not work out. I will say that the time that I have available for clean audio is a bit limited so expect these to come out in batches as I get time to go back and record. What Not to Expect # One thing that makes the aws blog really hard to listen to is the robotic voice, I definitely don’t want that. This will be voiced by a real human, Me. At the same time written text doesn’t translate directly to audio well so don’t necessarily expect the audio to be word for word. Code blocks # There are a lot of code blocks in my blog, which don’t…
Check out yetudada and their project yetudada. No description available.
I’m impressed by quickpython from timothycrosley. A retro interactive coding environment powered by Python and nostalgia
gatsby-remark-embedder
Inspired by discourse’s link expansion I am rolling out expansions for one line links on the blog waylonwalker. I was able to find a gatsby plugin gatsby-remark-embedder that expands one line links for social cards for popular platforms like twitter and YouTube through a repose from Kyle Mathews to my tweet. https://twitter.com/kylemathews/status/1329817928666005504 Use Cases # This covers a couple of use cases I have with very little effort. Twitter YouTube install # This was super quick and simple to setup, the only thing that was extra was to install the plugin as well as the. enable # Thats it, now I can embed tweets and YouTube videos by just leaving the link on a single line.
Expand One Line Links
I wanted a super simple way to cross-link blog posts that require as little effort as possible, yet still looks good in vanilla markdown in GitHub. I have been using a snippet that puts HTML into the markdown. While this works, it’s more manual/difficult for me does not look the best, and does not read well as Goals for new card # The new card should be fully automated to expand with title, description, and cover image. Bonus if I am able to attach a comment behind it. fully automated card expansion Title description cover image Old Card # If you can call it a card 🤣. This card was just an image wrapped in an anchor tag and a paragraph tag. I found this was the most consistent way to get an image narrower and centered in both GitHub and dev.to. The key here is that I have to put the HTML into the markdown. It looks a bit dirty while editing and quite frankly it’s a pain to deal with. New Card # My first eight years as a working professional. First step # My first attempt was to make my…
astronomer has done a fantastic job with dag-factory. Highly recommend taking a look. Dynamically generate Apache Airflow DAGs from YAML configuration files
orchest by orchest is a game-changer in its space. Excited to see how it evolves. Build data pipelines, the easy way 🛠️
gvanrossum has done a fantastic job with patma. Highly recommend taking a look. Pattern Matching
mingrammer has done a fantastic job with diagrams. Highly recommend taking a look. 🎨 Diagram as Code for prototyping cloud system architectures
Just starred svelte-actions by swyxio. It’s an exciting project with a lot to offer. prototype official actions for Svelte
reasons-to-kedro
There are many reasons that you should be using kedro. If you are on a team of Data Scientists/Data Engineers processing DataFrames from many data sources should be considering a pipeline framework. Kedro is a great option that provides many benefits for teams to collaborate, develop, and deploy data pipelines What is Kedro Starter Template # Kedro makes it super easy to get started with their cli that utilizes cookiecutter under the hood. Create New Kedro Project read more about how to start your first kedro project here Collaboration # Kedro provides many tools that help teams collaborate on a single codebase. While writing monolithic scripts it can be easy to pin yourself in a corner where it is difficult to have multiple people making changes to the notebook/script at the same time. Kedro helps guide your team to break your project down into small pieces that different members of the team can work on in parallel. sharable catalog # Kedro makes it easy to collaborate with members wh…
Just starred Second-Brain by KasperZutterman. It’s an exciting project with a lot to offer. A curated list of awesome Public Zettelkastens 🗄️ / Second Brains 🧠 / Digital Gardens 🌱
Just starred Repo-Roster by nastyox. It’s an exciting project with a lot to offer. Shout-out supporters in your GitHub README file.
What’s New in Kedro 0.16.6
Kedro 0.16.6 is out! Let’s take a look through the release notes Deployment Docs # This is really exciting to see more deployment options coming from the kedro team. It really shows the power of the framework. The power of some of these orchestrations options is incredible. Argo Prefect Kubeflow Batch SageMaker Most of them hinge on a sweet combination of the kedro cli, docker image, and the pipeline knowing your nodes dependencies. Argo, Prefect, and Kubeflow have an interesting technique where they translate the pipeline and its dependencies from kedro to their language. Batch uses the aws cli to submit jobs, one node per job, and listen for them to complete. It will submit all nodes with completed dependencies at once, meaning that we can get some massive parallelization. I did a quick and dirty test of one of these by simulating the technique in a bash script and saw a 40 hr pipeline finish in about 1 hour. I am excited to get this working in my production workflow. Spaceflight sta…
mkdocs by mkdocs is a game-changer in its space. Excited to see how it evolves. Project documentation with Markdown.
A brain dump of stories
I started making stories as kind of a brain dump a few times per day and posting them to [LinkedIn]( https://www.linkedin.com/in/waylonwalker/(https://www.linkedin.com/in/waylonwalker/). Here are the last 11 days of stories. I store all the stories on my website with the hopes of doing something with them on my own platform eventually. For now it makes it easy to make these posts. Stories 10-10-2020 - 10-21-2020 #
Check out mmchougule and their project kedro-grpc-server. Kedro gRPC Server is a Kedro plugin that creates a gRPC server for triggering and monitoring pipeline runs using a general-purpose RPC framework gRPC
Check out yetudada and their project kedro-user-testing. Discovery prototypes for user testing
The work on flynt by ikamensh. A tool to automatically convert old string literal formatting to f-strings
charmbracelet has done a fantastic job with glow. Highly recommend taking a look. Render markdown on the CLI, with pizzazz! 💅🏻
Check out mytechnotalent and their project Python-For-Kids. A FREE comprehensive online Python development tutorial FOR KIDS utilizing an official BBC micro:bit Development Board going step-by-step into the world of Python for microcontrollers.
I’m impressed by pycon_pybadge_2020 from nnja. Initial code for Microsoft’s PyBadge at PyCon 2020
Fix git commit author
I was 20 commits into a hackoberfest PR when I suddenly realized they they all had my work email on them instead of my personal email 😱. This is the story of how I corrected my email address on 19 individual commits after already submitting for a PR. Change the email for this repo Prepare for rebasing start the rebase 🛠 Fix First wrong Commit Fix all commits Done ReCap Change the email for this repo # stop the bleeding Before anything else set the email correctly! Prepare for rebasing # First thing is to find how many commits back this mistake goes. I opened up the git log, and saw mine went back 19 commits. I rolled back 20 just to be sure. start the rebase # Now I start the rebase 20 commits back from HEAD. THis will pop you into a text file with a list of commits, for this change simply replace all with. Note for the first commit # If you want to rebase back to the start of the repo use the flag. Run git log to see where we ended up. As expected we ended up on Kiyo’s commit. So we c…
I like muesli’s project duf. Disk Usage/Free Utility - a better ‘df’ alternative
Designing a “Router” for kedro
nodes_global # I released a router-like plugin for kedro back in April 2020. This was not the first design, the idea actually came from one of the QB folks who taught me kedro nearly a year before. We were assembling our pipelines with something called. It worked fairly well but did have some issues around being set as a global variable. But… One thing in particular that it did not lend itself well to was being able to create a packagable pipeline that I could pip install and append into any of my existing pipelines. Something I am still trying to work out, maybe I don’t need this. I think I have it working for our internal pipelines and it seems like the way to go, but we don’t necessarily end up using it. Also… With this pattern all of the nodes needed to be importable by the module containing nodes_global. I find that this becomes a big hurdle for new pipelines coming from jupyter to overcome and can be most infuriating when their nodes aren’t getting ran after they added them. What…
I came across python_training from AnkurDedania, and it’s packed with great features and ideas. Intro to Python
github has done a fantastic job with renaming. Highly recommend taking a look. Guidance for changing the default branch name for GitHub repositories
Reclaim memory usage in Jupyter
Today I ran into an issue where we had a one-off script that just needed to work, but it was just chewing threw memory like nothing. It started with a colleague asking me How do I clear the memory in a Jupyter notebook, these are the steps we took to debug the issue and free up some memory in their notebook. How do I clear the memory in a Jupyter notebook? Pre check the status of memory # There are a number of ways that you can check the amount of memory on your system. The easiest is not necessarily my first go to is free… literally. check for free space Generally my first go to is a bit more graphical, and not available on a stock stystem, but far more useful….. is a terminal process explorer that shows cpu usage, mem usage, and running processes. htop First step throw more swap at it # Often before going through the process of getting a larger instance underneath the notebook you can hobble home with a bit more swap file. It may not be pretty or fast, but gets the job done in a pinc…
Strip Trailing Whitespace from Git projects
A common linting error thrown by various linters is for trailing whitespace. I most often use flake8. I generally have [pre-commit]( https://waylonwalker.com/pre-commit-is-awesome hooks setup to strip this, but sometimes I run into situations where I jump into a project without it, and my editor lights up with errors. A simple fix is to run this one-liner. One-Liner to strip whitespace # bash pre-commit is awesome I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but... Jun 5, 2020
tpope has done a fantastic job with vim-sleuth. Highly recommend taking a look. sleuth.vim: Heuristically set buffer options
actions has done a fantastic job with setup-python. Highly recommend taking a look. Set up your GitHub Actions workflow with a specific version of Python
I came across starter-workflows from actions, and it’s packed with great features and ideas. Accelerating new GitHub Actions workflows
checkout by actions is a game-changer in its space. Excited to see how it evolves. Action for checking out a repo
Looking for inspiration? dotfiles by nicknisi. vim, zsh, git, homebrew, neovim - my whole world
Just starred zk by sirupsen. It’s an exciting project with a lot to offer. Zettelkasten on the command-line 📚 🔍
The work on napkin-math by sirupsen. Techniques and numbers for estimating system’s performance from first-principles
deepyaman has done a fantastic job with kedro-accelerator. Highly recommend taking a look. Kedro-Accelerator speeds up pipelines by parallelizing I/O in the background.