How to Create New Posts with Hugo
tl; dr hugo new post/how-to-create-new-posts-with-hugo.en.md We can create new posts by creating new .md files in the appropriate Hugo blog repository directory, but it’s easier to use the hugo new command while already in the blog repository. Command to Create a New Post We can create a new post with the Hugo command like this: hugo new content/path/to/post/post-title.md For my blog structure, it would be: hugo new content/post/how-to-create-new-posts-with-hugo.en.md But we can also shorten it: ...
Playing MIDI Files with FluidSynth
Hello, today we’re going to play MIDI files in the terminal! I decided to revisit my master’s thesis with fresh ears and eyes. It’s been over seven years! I’m now a seasoned programmer. Back then, I was creating music with recursive neural networks – echo state neural networks. I am proud of my ambition and courage from that time. However, today is not about that. Today is about playing MIDI files! ...
Publish a Python Package to PyPI with uv
Hi there! Today we’ll learn how to create and publish a Python package to PyPI from scratch using uv. uv is blazingly fast, which makes programming even more enjoyable! Installing uv If you don’t have uv yet, install it in your terminal: # macOS / Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" Make sure it works: uv --version Creating a new library uv has a convenient command for initializing a project. We’ll use the --lib flag, which creates a library — a package meant to be used in other projects. ...