Bart Dorlandt
@dreamnetworking.nl
(Network) automation above all
Pinned
Bart Dorlandt
@dreamnetworking.nl
· Jan 3
I've written an article on linkedIn on my tool to migration from poetry to uv. Having uv is awesome, though the migration of each repo isn't...
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
As a first in the pydantic series, let's start with the basics. The goal of the whole series is to be able to validate the model as well as being able to generate the same json as the input, to verify we didn't miss anything.
July 21, 2025 at 9:38 AM
As a first in the pydantic series, let's start with the basics. The goal of the whole series is to be able to validate the model as well as being able to generate the same json as the input, to verify we didn't miss anything.
I've working on parsing a json structure into a pydantic model. I'm planning to write a couple of posts on this. Is this something you've been playing with?
Anything specific you ran into?
Perhaps I could write about something specific if you have certain interests. Please let me know.
Anything specific you ran into?
Perhaps I could write about something specific if you have certain interests. Please let me know.
July 18, 2025 at 9:38 AM
I've working on parsing a json structure into a pydantic model. I'm planning to write a couple of posts on this. Is this something you've been playing with?
Anything specific you ran into?
Perhaps I could write about something specific if you have certain interests. Please let me know.
Anything specific you ran into?
Perhaps I could write about something specific if you have certain interests. Please let me know.
Dealing with #Ansible & #docker compose on #synology systems and an alternative #taskfile option
Let's dive in: buff.ly/xoSjQ1A
The alternative with taskfile: buff.ly/bMcd7SG
Let's dive in: buff.ly/xoSjQ1A
The alternative with taskfile: buff.ly/bMcd7SG
Managing dockers using ansible on Synology NAS - Dream networking and automation
How I use ansible to manage docker compose on my Synology NAS
buff.ly
June 18, 2025 at 9:38 AM
Dealing with #Ansible & #docker compose on #synology systems and an alternative #taskfile option
Let's dive in: buff.ly/xoSjQ1A
The alternative with taskfile: buff.ly/bMcd7SG
Let's dive in: buff.ly/xoSjQ1A
The alternative with taskfile: buff.ly/bMcd7SG
June 16, 2025 at 9:38 AM
When I encountered #uv I fell for it right away. I was already using ruff for a while and started looking into rye, which was the intermediate step before it became uv.
May 28, 2025 at 9:38 AM
When I encountered #uv I fell for it right away. I was already using ruff for a while and started looking into rye, which was the intermediate step before it became uv.
Previously I share a post on how you can use `uv run -s script.py` to run that script and have `uv` handle the dependencies. The original script is showing the shebang is pointing to a python3 executable.
March 12, 2025 at 10:38 AM
Previously I share a post on how you can use `uv run -s script.py` to run that script and have `uv` handle the dependencies. The original script is showing the shebang is pointing to a python3 executable.
Ever wanted to run a python script, without having to specify a virtualenv?
Given buff.ly/cVEXJle we can build scripts as we would normally, though now add a few comments to it to specify the dependencies.
March 10, 2025 at 10:38 AM
Ever wanted to run a python script, without having to specify a virtualenv?
Given buff.ly/cVEXJle we can build scripts as we would normally, though now add a few comments to it to specify the dependencies.
Poetry had a new release recently, version 2.0. Given the number, this means stuff broke ;) E.g. the poetry shell command is no more. The pyproject.toml is updated and now supporting the project header. (PEP 621)
This also meant I had to update my ansible role for poetry (bartdorlandt.poetry).
This also meant I had to update my ansible role for poetry (bartdorlandt.poetry).
January 13, 2025 at 9:36 AM
Poetry had a new release recently, version 2.0. Given the number, this means stuff broke ;) E.g. the poetry shell command is no more. The pyproject.toml is updated and now supporting the project header. (PEP 621)
This also meant I had to update my ansible role for poetry (bartdorlandt.poetry).
This also meant I had to update my ansible role for poetry (bartdorlandt.poetry).
I've written an article on linkedIn on my tool to migration from poetry to uv. Having uv is awesome, though the migration of each repo isn't...
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
January 3, 2025 at 9:36 AM
I've written an article on linkedIn on my tool to migration from poetry to uv. Having uv is awesome, though the migration of each repo isn't...
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
This tool will make your life a bit easier. Have fun 😞
https://buff.ly/3BPX5WI
Wouldn't it be great if Apple had a decent fix for the #notch on the Macs...
Every time I have the Mac disconnected from the external monitor I'm annoyed by it. This time it was enough and I started looking into "fixing" it.
Every time I have the Mac disconnected from the external monitor I'm annoyed by it. This time it was enough and I started looking into "fixing" it.
January 1, 2025 at 9:36 AM
Wouldn't it be great if Apple had a decent fix for the #notch on the Macs...
Every time I have the Mac disconnected from the external monitor I'm annoyed by it. This time it was enough and I started looking into "fixing" it.
Every time I have the Mac disconnected from the external monitor I'm annoyed by it. This time it was enough and I started looking into "fixing" it.
Another beautiful feature of #task is to include other taskfiles. Especially to have them OS specific where desired.
Just include the desired #taskfile. Use `{{OS}}` to make it dynamic, allowing variables or tasks to be OS dependent. Useful for developing on Mac and running on Linux (or pipelines)
Just include the desired #taskfile. Use `{{OS}}` to make it dynamic, allowing variables or tasks to be OS dependent. Useful for developing on Mac and running on Linux (or pipelines)
December 30, 2024 at 9:36 AM
Reposted by Bart Dorlandt
Depending on the pipeline system you're using, you might need to specify the commands to be executed yourself (jenkins, gitlab, ...)
Hang on... You just created that beautiful #taskfile to make your life easier... Why not make your pipeline easier, by just executing your tasks...
Hang on... You just created that beautiful #taskfile to make your life easier... Why not make your pipeline easier, by just executing your tasks...
December 27, 2024 at 9:36 AM
Depending on the pipeline system you're using, you might need to specify the commands to be executed yourself (jenkins, gitlab, ...)
Hang on... You just created that beautiful #taskfile to make your life easier... Why not make your pipeline easier, by just executing your tasks...
Hang on... You just created that beautiful #taskfile to make your life easier... Why not make your pipeline easier, by just executing your tasks...
You are expanding your #taskfile and realise that there a couple of tasks with dependencies on a build process.
Though you don't want to rebuild it, if nothing changed. #Task got you covered!
Using sources and generates to monitor the source files and if the generated file exists.
Though you don't want to rebuild it, if nothing changed. #Task got you covered!
Using sources and generates to monitor the source files and if the generated file exists.
December 23, 2024 at 9:36 AM
How to deal with #task when needing a dynamic variable or one that is stored in a file or from the output of another command...
Variables can be assigned using the 'sh' key when assigned a variable. Allowing you to assign the output of any shell command.
Lovely
Variables can be assigned using the 'sh' key when assigned a variable. Allowing you to assign the output of any shell command.
Lovely
December 20, 2024 at 9:36 AM
How to deal with #task when needing a dynamic variable or one that is stored in a file or from the output of another command...
Variables can be assigned using the 'sh' key when assigned a variable. Allowing you to assign the output of any shell command.
Lovely
Variables can be assigned using the 'sh' key when assigned a variable. Allowing you to assign the output of any shell command.
Lovely
As mentioned in my previous post, occasionally you'll need to execute a command in multiple directory or differently said, need to execute a #task multiple times. Which may involve directories, files or any action essentially.
A for loop is what we need 😀
A for loop is what we need 😀
December 18, 2024 at 9:36 AM
As mentioned in my previous post, occasionally you'll need to execute a command in multiple directory or differently said, need to execute a #task multiple times. Which may involve directories, files or any action essentially.
A for loop is what we need 😀
A for loop is what we need 😀
You have this beautiful #Taskfile helping you out. Though some systems use exec1 for a certain task, while the other use exec2.
A concrete example could be 'docker-compose' vs 'docker compose'.
Here is a way of working with that.
❯ task a -n
task: [a] docker compose --help
A concrete example could be 'docker-compose' vs 'docker compose'.
Here is a way of working with that.
❯ task a -n
task: [a] docker compose --help
December 13, 2024 at 9:36 AM
You have this beautiful #Taskfile helping you out. Though some systems use exec1 for a certain task, while the other use exec2.
A concrete example could be 'docker-compose' vs 'docker compose'.
Here is a way of working with that.
❯ task a -n
task: [a] docker compose --help
A concrete example could be 'docker-compose' vs 'docker compose'.
Here is a way of working with that.
❯ task a -n
task: [a] docker compose --help
The debug capability in vscode/pycharm is great! I can't imagine people debug without it.
I still see too many people not using the watch feature though. It is so nice to just have a few things in focus while diving in. Here is my recommendation to check it out, if you aren't using it full time yet
I still see too many people not using the watch feature though. It is so nice to just have a few things in focus while diving in. Here is my recommendation to check it out, if you aren't using it full time yet
December 11, 2024 at 9:36 AM
The debug capability in vscode/pycharm is great! I can't imagine people debug without it.
I still see too many people not using the watch feature though. It is so nice to just have a few things in focus while diving in. Here is my recommendation to check it out, if you aren't using it full time yet
I still see too many people not using the watch feature though. It is so nice to just have a few things in focus while diving in. Here is my recommendation to check it out, if you aren't using it full time yet
Did you ever run into a #python project which you wanted to debug, but your breakpoints weren't respected...
I had this the other day, having a project with pytest and pytest-cov. Apparently this messes up vscode. Mainly pytest-cov is the blocker. Try this for your launch.json.
I had this the other day, having a project with pytest and pytest-cov. Apparently this messes up vscode. Mainly pytest-cov is the blocker. Try this for your launch.json.
December 10, 2024 at 9:36 AM
Did you ever run into a #python project which you wanted to debug, but your breakpoints weren't respected...
I had this the other day, having a project with pytest and pytest-cov. Apparently this messes up vscode. Mainly pytest-cov is the blocker. Try this for your launch.json.
I had this the other day, having a project with pytest and pytest-cov. Apparently this messes up vscode. Mainly pytest-cov is the blocker. Try this for your launch.json.
Reposted by Bart Dorlandt
Thoughts on Autocon2, a 🧵
Last week I attended Autocon2, put on by the Network Automation Forum networkautomation.forum/autocon2.
As an extreme introvert, the non-stop interaction with various folks was absolutely exhausting, and today is the first day I feel vaguely human again.
1/?
Last week I attended Autocon2, put on by the Network Automation Forum networkautomation.forum/autocon2.
As an extreme introvert, the non-stop interaction with various folks was absolutely exhausting, and today is the first day I feel vaguely human again.
1/?
November 25, 2024 at 3:33 PM
Thoughts on Autocon2, a 🧵
Last week I attended Autocon2, put on by the Network Automation Forum networkautomation.forum/autocon2.
As an extreme introvert, the non-stop interaction with various folks was absolutely exhausting, and today is the first day I feel vaguely human again.
1/?
Last week I attended Autocon2, put on by the Network Automation Forum networkautomation.forum/autocon2.
As an extreme introvert, the non-stop interaction with various folks was absolutely exhausting, and today is the first day I feel vaguely human again.
1/?
Heard about a service called #paperless about half a year ago and I love it!
Scan and store every physical mail, giving you the ability to sort and search them. What a timesaver. You could even go all out by autonumbering the documents.
Running it in a docker is free.
Scan and store every physical mail, giving you the ability to sort and search them. What a timesaver. You could even go all out by autonumbering the documents.
Running it in a docker is free.
Paperless-ngx
Features
buff.ly
December 7, 2024 at 2:19 PM
Heard about a service called #paperless about half a year ago and I love it!
Scan and store every physical mail, giving you the ability to sort and search them. What a timesaver. You could even go all out by autonumbering the documents.
Running it in a docker is free.
Scan and store every physical mail, giving you the ability to sort and search them. What a timesaver. You could even go all out by autonumbering the documents.
Running it in a docker is free.