English

Pay Attention to Program-triggering Events and Execution Order

I originally thought this is a kind of passive skill of the programmer profession, but I realized that many colleagues do not pay much attention to program-triggering events and execution order. In this article, I want to explain why we, as programmers, should pay attention to these things and what benefits it brings. When the program is triggered If you accidentally download a virus from the internet, and it’s now saved on your local disk. Is it game over? Not yet. It hasn’t been executed. Just delete it (preferably using a file shredder tool). Our computers follow the Von Neumann architecture, in which programs and data are treated equally when they are stored in the hard drive (as well as in memory).

Train a LoRA model for an anime character

This article was completed with the help of www.DeepL.com/Translator. I saw the LoRA model of Hero from “Wolf and Spice” posted by Eric Fu earlier. My heart ignited an impulse, who does not want to refine a model for waifu? So… I tried to make it done. The process was recorded for your reference. To complete this thing requires you have: A certain understanding of Python coding and Python environment building, ML projects or old projects inevitably have a bit of dependency conflicts. In order to avoid dependency confusion, I have prepared a separate venv for each tool. If your computer’s GPU is Nvidia supported CUDA GPU, remember to install pytorch-cuda before installing dependencies for each project, this package uses GPU while pytorch will drive your CPU crying.

Introducing a Minecraft treehouse I built (contains a total of 200MBsize images)

Warning again, this blog contains a total of 200MBsize images, you may want to wait until you are connected to a no-traffic-limit network before reading. Location One of the Minecraft servers that I’m playing just cleaned its old savings and upgraded to version 1.18.2, just in time for my periodic rekindling of the passion to play Minecraft. When I was traveling through the main world, looking for an ideal place for building house, at the end of the endless jungle, the mouth of the river, two trees from the forest close to each other caught my attention. This location is not far from the server’s spawn point, about three fireworks elytra flying distance, easily to accessible.

Process of practicing part of Conway’s Game of Life Kata in Java with IntelliJ IDEA

Forward What is “Kata” Kata is example code or question for practicing coding, that is repeatedly written to hone the proficiency of various programming skills (such as using IDE shortcut keys, using design patterns to refactor code…) to achieve the state of subconsciously completing hand actions. This noun is from some sort of martial arts, means “type”, “form” or “move” etc, single part of whole. It’s written as かた in Japanese, pronounced as “ka ta”, same as the English word. What is “Conway’s Game of Life Kata” You can read this Wikipedia page for information about “Conway’s Game of Life”, but I think most of us have already known it.

Tips of the electronic data backup system applicable to individuals

This article was completed with the help of www.DeepL.com/Translator. Electronic data (hereinafter referred to as “Data”) is stored on electronic media and can only be read and written by electronic devices, which means that additional equipment may need to be purchased to meet the need for its storage and processing. In this paper, all self-created terms that do not have a corresponding term-level definition will be cited using brackets to highlight the term to prevent confusion to the reader (example: [self-created term]). Also, this article uses backquotes to quote terms that have been mentioned above (e.g., terminology). This article is a summary of my reflections on the loss of four and a half months of work data due to stupidity and accidents.