The work on kedro-mlflow by Galileo-Galilei. A kedro-plugin for integration of mlflow capabilities inside kedro projects (especially machine learning model versioning and packaging)
Publishing rhythm
If you’re into interesting projects, don’t miss out on textual, created by Textualize. The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
The work on lsp-colors.nvim by folke. 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don’t yet support the Neovim 0.5 builtin LSP client.
Using Kedro In Scripts
With the latest releases of kedro, it is now possible to run kedro pipelines from within scripts. While I would not start a project with this technique, it will be a good tool to keep in my back pocket when I want to sprinkle in a bit of kedro goodness in existing projects. New to Kedro # What is Kedro If your just learning about kedro check out this post walking through it No More Rabbit Hole of Errors # as of 0.17.2 I’ve tried to do this in kedro and it turned into a rabbit hole of errors. First kedro needed a directory, if you tried to fake one in it would then ask for logging setup. These errors just kept coming to the point it wasnt worth doing and I might as well use a proper template for real projects and stick to simple function calls for things that are not a kedro project. Kedro in a script # To get kedro running, you will need a pipeline, catalog, and runner at a minimum. Those who have used kedro before the pipeline will look very similar to what you are familiar with, but…
I’m really excited about netlify_deploy, an amazing project by lannonbr. It’s worth exploring! Mini Rust CLI to deploy sites to Netlify using their API
I recently discovered slidev by slidevjs, and it’s truly impressive. Presentation Slides for Developers
I’m really excited about bio, an amazing project by orta. It’s worth exploring! No description available.
Check out dogehouse by benawad. It’s a well-crafted project with great potential. Taking voice conversations to the moon 🚀
Silence Kedro Logs
Kedro can have a chatty logger. While this is super nice in production so see everything that happened during a pipeline run. This can be troublesome while trying to implement a cli extension with clean output. Silence a Python log # First, how does one silence a python log? Python loggers can be retrieved by the module’s function. Then their log level can be changed. Much of kedro’s chattiness comes from INFO level logs. I don’t want to hear about anything for my current use case unless it’s essential, i.e., a failure. In this case, I set the log levels to ERROR as most errors should stop execution anyways. python logging levels # Get or Create a logger # Getting a python logger is straightforward if we know the name of the logger. The following block will grab the logger object for the logger currently registered under the name passed in. 🔥 If a logger doesn’t exist under the passed in name, it will create one for you. Set Level # Once we get the logger, we need to silence it by sett…
Looking for inspiration? python-diskcache by grantjenks. Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
The work on lookatme by d0c-s4vage. An interactive, terminal-based markdown presenter
Python Diskcahe is locked
Running multiple processes using the same diskcache object can cause issues with locks. As I was trying to setup a rich Live display for markata I ran into issues where each part could not nun simultaneusly. As I had followed the instructions from discache it was not directly aparant to me, so I had to make a simple example to experiment and play with at a small scale. Minimum reproducible error # Minimum reporducible error is one of my superpowers in development. I do this very often to sus out what is really happening. My day to day work is processing data with python, I keep a number of very small data sets handy to break and fix. This helps separate complexities of the project and the problem. Let’s break it # Markata has a lot going on. It’s a plugins all the way down static site generator built in python. Trying to find the root cause through the layers of plugin and cli modules can be a pain, but in this case building a very simple minimum reporducible error was much easier. 📝 i…
The work on ward by darrenburns. Ward is a modern test framework for Python with a focus on productivity and readability.
How I navigate tmux in 2021
In 2021 I changed the way I navigate between tmux sessions big time. Now I can create, kill, switch with ease, and generally keep work separated into logical groups. Update # Since making this post, I have made ~20 other posts in short form that all have a YouTube video to go along with them you can find them all on my tmux-playlist. Chris Toomey’s Tmux Course # I took Chris’s tmux course in December 2020 and it was fantastic. Even as a seasoned tmux user, I learned quite a bit. Before the course, I was proficient in navigating within each of my tmux sessions but rarely started more than one session. A few months later, I have adopted a lot of what I learned from Chris and made it my own. I am now keeping projects to their own session and can move between them fluidly with just a few keystrokes. For high-traffic projects, I have them bound to a single keystroke for instant switching. This change has been a game-changer from the mess of windows I used to have and the nightmare it was to…
I came across compactyl from dereknheiley, and it’s packed with great features and ideas. No description available.
I’m really excited about thinkeys, an amazing project by moduloindustries. It’s worth exploring! Split ortholinear custom replacement keyboard with TrackPoint for ThinkPad laptops.
Trim unused git branches
Trim branches no longer on origin # Find branches already merged #
What is if name == “main_”, and how do I use it.
When a python module is called it is assigned the of otherwise if it’s imported it will be assigned the of the module. Concrete example # Let’s create a module to play with a bit. We will call this module. It is a module that we may want to run by it’self or import and use in other modules. I have set this module up to execute one of two if statements based on whether the module it’self is being ran or if the module is being imported. Note it is not common to have a block, this is just for demnonstration purposes. running python nodes.py # Running a python script with the command will execute your script top to bottom. This will print out How to Install miniconda on linux (from the command line only) If you don’t already have python installed try using miniconda or replit.com running./nodes.py # You can also simply execute the script from bash if you first set the module to be executable. is only needed one time, even if you edit the file. pipeline.py # Let’s create a second module and…
Create a Virtual File Gallery with Symlinks
Creating a directory that is a union of several directories can be achieved with a few symlinks at the command line. Creating a Virtual File Gallery # Here is how I am creating a virtual directory of all my projects that is a combination of both work and not-work projects. I am creating symlinks for every directory under and. ⚠ Notice that first I am recreating the directory each time. This will ensure that any project that is deleted from their actual directory is removed from the virtual gallery. Updating the gallery # Since links are always kept up to date without any extra work, all the data is still in the same place it started. But as new directories are added to any project directory they will not be automatically added to the virtual gallery. cron bashrc/zshrc If you’re concerned about system resources, you can add it to a cron job to run at a regular schedule that makes sense to you. For me, I just popped those 4 lines right in my. It’s a bit overkill, maybe bloat, but it runs…
I recently discovered delta by dandavison, and it’s truly impressive. A syntax-highlighting pager for git, diff, grep, and blame output
Just starred monkeytype by monkeytypegame. It’s an exciting project with a lot to offer. The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
Check out ntangle.nvim by jbyuki. It’s a well-crafted project with great potential. literate programming for neovim
If you’re into interesting projects, don’t miss out on termopen.vim, created by fabi1cazenave. Easy integration of TUI apps in Neovim: Ranger, LF, Tig… Tetris…
karimknaebel has done a fantastic job with nvim-lspinstall. Highly recommend taking a look. Provides the missing:LspInstall for nvim-lspconfig
I’m impressed by nvim-lspinstall from kabouzeid. Provides the missing:LspInstall for nvim-lspconfig
Looking for inspiration? dotfiles by Conni2461. Current dotfiles and scripts
How to Install micromamba on linux (from the comamnd line only)
I really like using conda () as my python virtual environment manager of choice. It’s simple and it includes its own python interpreter using the version that I specify at creation. Mamba # from their readme Mamba is a reimplementation of the conda package manager in C++. parallel downloading of repository data and package files using multi-threading libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE core parts of mamba are implemented in C++ for maximum efficiency At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible. Installing Micromamba # Similar to miniconda micromamba can be installed with a few lines of bash Creating Environments with Micromamba # Creating new environments with micromamba is pretty similar to using conda. -c is required # I was unable to figure out…
Check out nvim-treesitter and their project nvim-treesitter-textobjects. No description available.
telescope-project.nvim by nvim-telescope is a game-changer in its space. Excited to see how it evolves. No description available.
I came across lspsaga.nvim from nvimdev, and it’s packed with great features and ideas. improve neovim lsp experience
rmagatti has done a fantastic job with auto-session. Highly recommend taking a look. A small automated session manager for Neovim
Vim Wsl Clipboard
I’ve long used neovim from within windows wsl, and for far too long, I went without a proper way to get text out of it and into windows. wsl has access to cmd applications # wsl can access clip.exe. You can do some cool things with it, such as cat a file into the clipboard, sending output from a command to the clipboard, or set an autocmd group in vim to send yank to the windows clipboard. using clip.exe # Let’s say you want to send a teammate the tail of a log file over chat. You can tail the file into clip.exe. pipe streams of text into clip.exe make it a bit more natural # I recently made mine feel a bit more natural by aliasing it to clip. pop this in your ~/.bashrc or ~/.zshrc yanking to windows clipboard from vim # I use neovim as my daily text editor and its a pain to share code with a teammate over chat, stack overflow, into a gist, or whatever you need. The following snippet has been quite useful and flawless for me. add this to your ~/.vimrc or your ~/.config/nvim/init.vim Ws…
I’m impressed by onebuddy from Th3Whit3Wolf. Light and dark atom one theme
I’m impressed by awesome-streamerrc from awesome-streamers. Dotfiles for various streamers on Twitch.
If you’re into interesting projects, don’t miss out on telescope-fzf-native.nvim, created by nvim-telescope. FZF sorter for telescope written in c
kedro replit
I am trying to see what an embeded replit
Looking for inspiration? ltreesitter by euclidianAce. Standalone tree sitter bindings for the Lua language
I’m impressed by hop.nvim from hadronized. Neovim motions on speed!
I’m impressed by gitmux from arl. 💻 Git in your tmux status bar
Check out bidict by jab. It’s a well-crafted project with great potential. The bidirectional mapping library for Python.
photopea by photopea is a game-changer in its space. Excited to see how it evolves. Photopea is online image editor
I’m really excited about lolcat, an amazing project by tehmaze. It’s worth exploring! Rainbows and unicorns (without Ruby! jay!)
I’m really excited about bubbles, an amazing project by charmbracelet. It’s worth exploring! TUI components for Bubble Tea 🫧
Check out charmbracelet and their project lipgloss. Style definitions for nice terminal layouts 👄
plenary.nvim by nvim-lua is a game-changer in its space. Excited to see how it evolves. plenary: full; complete; entire; absolute; unqualified. All the lua functions I don’t want to write twice.
Pytest capsys
Testing print/log statements in pytest can be a bit tricky, capsys makes it super easy, but I often struggle to find it. capsys # capsys is a builtin pytest fixture that can be passed into any test to capture stdin/stdout. For a more comprehensive description check out the docs on capsys using capsys # Simply create a test function that accepts capsys as an argument and pytest will give you a capsys opject.
I’m impressed by kedro-diff from WaylonWalker. quickly diff kedro history
I like ThePrimeagen’s project git-worktree.nvim. No description available.
Check out nvim by kuator. It’s a well-crafted project with great potential. There are many neovim configurations, but this one is mine…
Looking for inspiration? awsimple by jamesabel. Simple API for basic AWS services