icon
Personal Website

Weekly Coding • 2025-11-17

It's time to make an entry in my weekly coding diary.

-= Spring Boot =-

Watched videos, read tutorials, and started building an application using Spring Boot. I plan to create a page visit tracker for my personal website. I intend to store the number of visits for each URL in a SQLite database. For database access, I'm using the Java Persistence API from the spring-boot-starter-data-jpa package.

I've already set up Docker and Kubernetes for my new application in my cluster. The Spring Boot app consumes approximately 100...200 megabytes of RAM, so I allocated it a limit of 300 megabytes.

Last week, I spent 9 hours learning about Spring Boot. I started reluctantly but eventually got into it.

-= SmartProgress =-

In one of my previous posts, I mentioned that SmartProgress had enabled Cloudflare's bot protection, effectively blocking my blog post automation. However, this protection has been removed for a few weeks now 🥴 My automation is back in action. Although I still plan to make my personal website the "primary" source for my posts, I'll do so at a later date when the opportunity arises.

-= AI Video Generator =-

I've set up an AI video generator on my home computer. Previously, I had Stable Diffusion for static image generation and an LLM text generator. Now, I've configured a WAN 2.2 model (14B). It was quite a hassle... There's good news and bad news.

  • Good News 🚀: The generator works, and it's one of the most powerful video generators available today... Among those accessible to regular folks on personal PCs. Of course, there are more advanced models, but they require server-grade hardware
  • Bad News 🐌: The generator is incredibly slow. On my computer, generating a 6-second video takes approximately 6 hours 🥴 Waiting is out of the question, so I do one thing: start the generator and go to sleep, only to find the video ready in the morning

The model requires around 21 GB of video memory, but I have just 20 GB, which means this "last gigabyte" kills all speed as it cannot fit into memory, resulting in an endless 🔄️ loop between DDR4 and VRAM via the PCI bus.

I'm currently fine-tuning the cfg, shift, and steps parameters. I think I'll start posting AI-generated memes on some social network to see how it goes... Once I get all the necessary settings right, things will pick up quickly: I can produce one micro-video per day, but that's a goal for later as I gradually adjust the process ⚙️