Archive
All published posts
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.
Chrome Extensions I use
There are many useful chrome extensions out there. I probably have way too many installed, here are four that I am currently using.
This post was inspired from Chris over at daily-dev-tips
Love it or hate it passwords are hard to manage. Everyone needs a password manager to avoid the dreaded password reuse, and to be able to quickly rotate them with a service. I use lastpass, thus it’s browser extension is my most used extension.
...
The work on find-kedro by WaylonWalker.
kedro plugin to automatically construct pipelines using pytest style pattern matching
Looking for inspiration? steel-toes by WaylonWalker.
a kedro hook to protect against breaking changes to data
I like htop-dev’s project htop.
htop - an interactive process viewer
Creating Reusable Bash Scripts
Bash is a language that is quite useful for automation no matter what language you write in. Bash can do so many powerful system-level tasks. Even if you are on windows these days you are likely to come across bash inside a cloud VM, Continuous Integration, or even inside of docker.
I have three techniques that help me write more composable bash scripts.
Break scripts down into reusable components
...
Three things to Automate with Python using Pandas
Here are three things that I see my non programming counterparts doing every single day. These really sum up so much of what folks do within an office. So many of us dabble in or become power users of spreadsheets without knowing there is an alternative out there that can save us time, automate boring things, and allow us to open up our minds for the part that we add value, Thinking about the data.
Lets face it, stitching together spreadsheets is zero value add by itself, but if you can see something in the data and take action on it, this can be huge value add to your company. Learning just a bit of python will help focus more of your attention on “value add operations” and leave the mundane stuff to your computer.
I see this one all the time. One team gets a spreadsheet from another team once per month and they need to stich all the pieces together. Excel really opens the door for some nasty hidden bugs in your manually stiched together data. It also takes time out of your day...
...
How to Install miniconda on linux (from the command line only)
miniconda is a python distribution from continuum. It’s a slimmed-down version of their very popular anaconda distribution. It comes with its own environment manager and has eased the install process for many that do not have a way to compile c-extensions. It made it much easier to install the data science stack on windows a few years ago. These days windows are much better than it was back then at compiling c-extensions. I still like its environment manager, which installs to a global directory rather than a local directory for your project.
Installing miniconda on Linux can be a bit tricky the first time you do it completely from the terminal. The following snippet will create a directory to install miniconda into, download the latest python 3 based install script for Linux 64 bit, run the install script, delete the install script, then add a conda initialize to your bash or zsh shell. After doing this you can restart your shell and conda will be ready to go.
...
How to crush amazing posts on DEV
This post was inspired by a comment I left on @dsteenman’s post.
{% post dsteenman/how-long-should-a-blogpost-be-2k6n %}
Most of the time I prefer short as I am more likely to read the whole thing. If its setup as a series I am more likely to work my way through the whole series in a matter of a few sessions. Just my preference
...
I like RanaEmad’s project metrics-of-awesome-api.
A Node.js API with the main purpose of acting as a backend for practicing authentication in React. It enables the user to sign up, sign in and view a dashboard with his metrics of awesome through different endpoints.
If you’re into interesting projects, don’t miss out on awesome-gpt3, created by elyase.
No description available.
shreyashankar has done a fantastic job with gpt3-sandbox. Highly recommend taking a look.
The goal of this project is to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
Black Tech Pipeline
I was particularly inspired by @chantastic episode 103 of the react podcast with @ParissAthena. They spoke about the black tech pipeline as well as Diversity, Equity, and Inclusion. Pariss is quite an inspiration. She has done so much work to create a better place for POC in tech. I like that not only is she helping them get jobs but acting as a mentor for their first few months on the job to make sure that they are able to find their place and fit in.
Based on an episode of react podcast.
🎙 Listen to the full episode.
...
Review of the git-auto-commit-action
It’s a really cool GitHub action that will automatically commit files changed during the action. I was using this to render a new readme based on a template.
Check out the repo for git-auto-commit-action.
It’s a really cool GitHub action that will automatically commit files changed during the action. I was using this to render a new readme based on a template.
...
What's New in Kedro 0.16.4
If we take a look at the release notes I see one major feature improvement on the list, auto-discovery of hooks.
## Major features and improvements * Enabled auto-discovery of hooks implementations coming from installed plugins.
This one comes a bit surprising as it was just casually mentioned in #435
I’m impressed by gitActionTraction from bdougie.
📹 Home video of GitHub Actions tips for better traction.
If you’re into interesting projects, don’t miss out on awesome-README-templates, created by elangosundar.
A collection of awesome readme templates to display on your github profile.
I’m really excited about github-readme-stats, an amazing project by anuraghazra. It’s worth exploring!
⚡ Dynamically generated stats for your github readmes
Integration testing with Python, TestProject.io, and GitHub Actions
As I continue to build out waylonwalker.com I sometimes run into some errors that are not caught because I do not have good testing implemented. I want to explore some integration testing options using GitHub’s actions.
Running integration tests will not prevent bugs from happening completely, but it will allow me to quickly spot them and rollback.
The very first thing that comes to my mind is anything that is loaded or ran client-side. Two things quickly came to mind here. I run gatsby so most of my content is statically rendered, and it yells at me if something isn’t as expected. For performance reasons I lazy load cards on my blogroll, loading all of the header images gets heavy and kills lighthouse (if anyone actually cares). I am also loading some...
...
I came across nocode from kelseyhightower, and it’s packed with great features and ideas.
The best way to write secure and reliable applications. Write nothing; deploy nowhere.
New Machine for developing Tests with TestProject.io
Today I setup a new machine on Digital Ocean to use with TestProject.io, Here are my installation notes.
apt update && apt upgrade -y apt install zsh chsh zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" curl -fsSL https://starship.rs/install.sh | bash echo 'eval "$(starship init zsh)"' >> ~/.zshrc # python sudo apt update sudo apt install python3-pip -y echo 'alias python=python3' >> ~/.zshrc echo 'alias pip=pip3' >> ~/.zshrc # pipx apt install python3-venv pip install pipx pipx install black pipx install shell-functools pip install ipython # docker sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt...
🐍 Practice Python Online
When learning a new skill it’s important to practice along the way. In order for me to show up to practice I need to make it easy to show up. An easy way to show up to practice with python is to use an online repl. With these you can try out something quick. Sometimes I see snippets from blogs or tweets and I need to try the out for myself to really understand.
When learning a new skill it’s important to practice along the way. In order for me to show up to practice I need to make it easy to show up. An easy way to show up to practice with python is to use an online repl. With these, you can try out something quick. Sometimes I see snippets from blogs or tweets and I need to try them out for myself to really understand.
Here are three different options that I have used in the past to try out something at some various levels. I am sure there are plenty more, but these are three that I have tried. I am not covering all of them, because It’s been a while since I have used one other...
...
Kedro Catalog
I am exploring a kedro catalog meta data hook, these are some notes about what I am thinking.
try pandas method -> try spark -> try dict/list -> none
Is there an easy way to create a nosql database in memory from a a list of dictionaries?
Check out sindresorhus and their project css-in-readme-like-wat.
Style your readme using CSS with this simple trick
I’m impressed by blog-post-workflow from gautamkrishnar.
Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
The work on commitizen by commitizen-tools.
Create committing rules for projects 🚀 auto bump versions ⬆️ and auto changelog generation 📂
How python tools configure
Mypy’s config parser seems to be one of the most complex. This is likely in part to it having the largest backwards compatability of all projects that I looked at.
...
Edit On GitHub
I recently added a button to my blog, and subsequently my posts on DEV.to. It’s the best thing that I have done for it in a while. It makes it so easy to do quick edits.
I refer back to my old posts quite a bit, sometimes I find errors in them. Honestly most of the time its too much effort to load up my editor make the change and git add and git commit. It’s not much, but when I am referring to my own post generally I am just trying to get something done and don’t have time for that.
The slug that I am getting from gatsby is formatted as /blog/this-post/. Note the trailing slash and missing file extension, thats where the ${slug.slice(0, -1)}.md comes in.
...
Check out ChristopherBiscardi and their project toast.
Moved! now at https://github.com/toastdotdev/toast
Why use a cms
When first learning to code its very common to hard code everything right into the code. This happens with most folks in just about any language. Whether its HTML or markdown for front end content, or even hardcoding parameters in our backend languages like python, or node.js.
Hard coding everything right into your code makes it really hard for non-technical collaborators to join. It makes it nearly impossible to hand websites off to clients without needing to come back for routine updates.
The cms generally come with a rich content editor that feels more like something most folks are used to. There are buttons for changing the font, font-size, adding images, bold, italics, etc.
...
I like rikschennink’s project fitty.
✨ Makes text fit perfectly
🐍 Parsing RSS feeds with Python
I am looking into a way to replace my google reader experience that I had back in 2013 before google took it from us. I am starting by learning how to parse feeds with python, and without much previous knowledge, it proved to be much easier than anticipated thanks to the feedparser library.
This is how I used python to parse rss and setup my own custom feed.
Install the feedparser library.
...
Check out awesome-github-profile-readme by saturn-abhishek. It’s a well-crafted project with great potential.
😎 A curated list of awesome GitHub Profile which updates in real time
I recently discovered awesome-github-profile-readme by abhisheknaiidu, and it’s truly impressive.
😎 A curated list of awesome GitHub Profile which updates in real time
zoxide by ajeetdsouza is a game-changer in its space. Excited to see how it evolves.
A smarter cd command. Supports all major shells.
I recently discovered mscoutermarsh by mscoutermarsh, and it’s truly impressive.
SECRETS!
Reader-2020
The input will be a yaml file containing a list of Items you want to stay up to date with. Inside each item will be a url, and weight.
email: max-entries: 10 recipients: - [email protected] markdown: max-entries: 100 output: - README.md json: max-entries: 1000 output: - feeds/feed.json rss: max-entries: 1000 output: - feeds/feed.xml html: max-entries: 100 output: index.html items: Waylon Walker: weight: 5 url: https://waylonwalker.com/rss.xml @_WaylonWalker: weight: 3 twitter: https://twitter.com/_waylonwalker DEV Waylon Walker: weight: 8 url: https://dev.to/waylonwalker Stack Overflow Kedro: weight: 5 url: https://stackoverflow.com/questions/tagged/kedro Kedro GitHub: weight: 4 url: https://github.com/kedro-org/kedro Kedro Pypi weight: 10 url: https://pypi.org/project/kedro/
Types #
- rss feed (primary source)
- youtube feed
- Stack Overflow tags
- GitHub...
...
🤓 What's on your GitHub Profile
I ran this post on dev.to and got a great response of great examples, check it out.
The GitHub profile feature just went live for a subset of users. Simply creating a repo named after your username, and clicking share to Profile on the sidebar will create a custom profile that shows up just above your pinned projects.
...
🙋♂️ Can Anyone Explain Twitter Cards to me?
Can someone explain how or why twitter cards render differently from device to device? I do understand that twitter cards a built from meta tags, the full list can be found in their docs
Mobile Looks fine.
On Desktop it is not picking up the image.
...
staged-recipes by conda-forge is a game-changer in its space. Excited to see how it evolves.
A place to submit conda recipes before they become fully fledged conda-forge feedstocks
I’m really excited about log_to_json, an amazing project by rwhitt2049. It’s worth exploring!
Yet another Python library to log to JSON
I’m really excited about foam-template, an amazing project by foambubble. It’s worth exploring!
Foam workpace template

