I like RanaEmad’s [1] project metrics-of-awesome-api [2].
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.
References:
[1]: https://github.com/RanaEmad
[2]: https://github.com/RanaEmad/metrics-of-awesome-api
Publishing rhythm
If you’re into interesting projects, don’t miss out on awesome-gpt3 [1], created by elyase [2].
No description available.
References:
[1]: https://github.com/elyase/awesome-gpt3
[2]: https://github.com/elyase
shreyashankar [1] has done a fantastic job with gpt3-sandbox [2]. 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.
References:
[1]: https://github.com/shreyashankar
[2]: https://github.com/shreyashankar/gpt3-sandbox
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 [1].
So Inspirational # [2]
I was particularly inspired by @chantastic [3] episode 103 of the react podcast with @ParissAthena [4]. 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 ...
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 [1].
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.
This has been by far the easiest way to commit back to a repo that I have seen. Other patterns often require fully setting up the git [2] user and everything. While it’s not all that hard, this action already has all of that covered.
You must give it a commit message and thats it. Optionally you can configure a number of things. Its possible to configure the commit_user_name, commit_user_email, and commit_author. I often also scope the file_pattern to a certain subset of files.
---
Getting Started with GitHub Actions
Github actions are written in configuration files using the YAML syntax. YAML is a superset of JSON...
What's New in Kedro 0.16.4
If we take a look at the release notes [1] 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 [2]
[2]
Think pytest # [3]
As mentioned in #435 [2] this is the model that pytest uses. Not all plugins automatically start doing things right out of the box but require a CLI argument.
simplicity # [4]
It feels a bit crazy that simply installing a package will change the way that your pipeline gets executed. I do like that it requires just a bit less reaching into the framework stuff for the average user. Most folks will be able to write in the catalog and nodes without much change to the rest of the project.
Implementation # [5]
Reading through the docs [6], they show us that we can make our hooks automatically register by adding a kedro.hooks endpoint that points to a ...
I’m impressed by gitActionTraction [1] from bdougie [2].
📹 Home video of GitHub Actions tips for better traction.
References:
[1]: https://github.com/bdougie/gitActionTraction
[2]: https://github.com/bdougie
If you’re into interesting projects, don’t miss out on awesome-README-templates [1], created by elangosundar [2].
A collection of awesome readme templates to display on your github profile.
References:
[1]: https://github.com/elangosundar/awesome-README-templates
[2]: https://github.com/elangosundar
I’m really excited about pandoc [1], an amazing project by jgm [2]. It’s worth exploring!
Universal markup converter
References:
[1]: https://github.com/jgm/pandoc
[2]: https://github.com/jgm
I’m really excited about github-readme-stats [1], an amazing project by anuraghazra [2]. It’s worth exploring!
⚡ Dynamically generated stats for your github readmes
References:
[1]: https://github.com/anuraghazra/github-readme-stats
[2]: https://github.com/anuraghazra
Integration testing with Python, TestProject.io, and GitHub Actions
Caution
None of the testproject.io urls resolve anymore in JAN 2025, I removed all
of the broken links.
As I continue to build out waylonwalker.com [1] 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.
---
🤔 What to test first? # [2]
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 information from the top open-source libraries
that I have created. To prevent the need...
I came across nocode [1] from kelseyhightower [2], and it’s packed with great features and ideas.
The best way to write secure and reliable applications. Write nothing; deploy nowhere.
References:
[1]: https://github.com/kelseyhightower/nocode
[2]: https://github.com/kelseyhightower
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 update
sudo apt install docker-ce
# docker-compose
sudo curl -L "https://g...
🐍 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.
Three online REPLS # [1]
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 sin...
Kedro Catalog
I am exploring a kedro catalog meta data hook, these are some notes about what I am thinking.
Process # [1]
- metadata will be attached to the dataset object under a .metadata attribute
- metadata will be updated after_node_run
- metadata will be empty until a pipeline is ran with the hook on
- optionally a function to add metadata will be added
- metadata will be stored in a file next to the filepath
- meta
Problems This Hook Should solve # [2]
- what datasets have a columns with sales in the name
- what datasets were updated after last tuesday
- which pipeline node created this dataset
- how many rows are in this dataset (without reloading all datasets)
implementation details # [3]
- metadata will be attached to each dataset as a dictionary
- list/dict comprehensions can be used to make queries
Metadata to Capture # [4]
try pandas method -> try spark -> try dict/list -> none
- column names
- length
- Null count
- created_by node name
Database? # [5]
Is there...
I’m really excited about Thaiane [1], an amazing project by Thaiane [2]. It’s worth exploring!
No description available.
References:
[1]: https://github.com/Thaiane/Thaiane
[2]: https://github.com/Thaiane
Check out sindresorhus [1] and their project css-in-readme-like-wat [2].
Style your readme using CSS with this simple trick
References:
[1]: https://github.com/sindresorhus
[2]: https://github.com/sindresorhus/css-in-readme-like-wat
I’m impressed by blog-post-workflow [1] from gautamkrishnar [2].
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
References:
[1]: https://github.com/gautamkrishnar/blog-post-workflow
[2]: https://github.com/gautamkrishnar
The work on commitizen [1] by commitizen-tools [2].
Create committing rules for projects 🚀 auto bump versions ⬆️ and auto changelog generation 📂
References:
[1]: https://github.com/commitizen-tools/commitizen
[2]: https://github.com/commitizen-tools
How python tools configure
mypy # [1]
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.
mypy/config_parser [2]
flake8 # [3]
options/config.py [4]
black # [5]
black [6]
portray # [7]
- only uses pyproject.toml
portray/config.py [8]
interrogate # [9]
- only uses pyproject.toml
References:
[1]: #mypy
[2]: https://github.com/python/mypy/blob/master/mypy/config_parser.py
[3]: #flake8
[4]: https://github.com/PyCQA/flake8/blob/master/src/flake8/options/config.py
[5]: #black
[6]: https://github.com/psf/black/blob/master/src/black/__init__.py#L277-L331
[7]: #portray
[8]: https://github.com/timothycrosley/portray/blob/main/portray/config.py
[9]: #interrogate