WPF Learning Resources
The potholes in the mini-program development haven’t been filled, and we’ve just dug a new one with WPF. Recently, the company has been experiencing some turbulence, and remote collaboration communication is invariably less efficient than desired. So, we’ve taken on the development of client interfaces.
ZeroTier VPN
I recently got a mini host for the office, thinking it would be convenient to configure an environment and have occasional access at home. I temporarily deployed internal network penetration using frp – specifying port forwarding, which requires a public server with a connection quality dependent on its bandwidth. Instead, I experimented with a fresh Zerotier virtual LAN, similar to a VPN, where I created a virtual network card locally and all machines joined it into a single virtual network.
VMware Virtual Machine Disk Space Optimization
When installing a development system with VMware virtual machines, it’s generally recommended to allocate extra disk space. Over time, the local disk space consumed by the VM will far exceed the actual size of its files.
Scenario Description The df -h command revealed that the current machine was using 60GB of disk space, and after deleting all snapshots and clone images, the local virtual machine still occupied significantly more than 60GB, further straining the already limited hard drive.
Stable Diffusion – The Love, Hate, and Drama of Installing it from Scratch
Domestic resources are basically all recommending Autumn Leaf’s one-click deployment package, thinking that they are open-source projects based on Python, so deployment wouldn’t be very complicated, let’s try to start from scratch.
I was messing around with AI-generated images and specifically changed my graphics card, a beginner version of the 3060 12g; the seven-year-old 960 retired gloriously.
The core pytorch cuda installation, which I previously encountered issues with when writing Python game helper scripts (I had installed it locally before), still presented problems – the cuda encryption consistently failed to activate.
Program optimization should not attempt to fight against hardware.
one loop thread, the time taken has already been at the microsecond level, switching servers resulted in a backlog of up to 60,000 packets, to almost none.
In single-threaded loop processing data scenarios, the CPU performance depends on factors such as clock frequency, cache size, and instruction set architecture. Generally, CPUs with higher clock frequencies, larger caches, and more advanced instruction set architectures perform better in single-threaded data processing.
Single-Threaded Performance improvements aren’t always achieved by adding threads; it’s not necessary to overcomplicate things.
Prompt Engineer
Just as we needed to learn the techniques of searching engines back then, we also need to learn some techniques for communicating with AI, providing reasonable and sufficient constraints, and efficiently obtaining the answers we need. If you look at it from a different angle, current AI is like a very good student with excellent memory – it has the ability to memorize everything. What we need to do is
WeChat Mini Program Background and Development Environment
WeChat Mini Program Introduction and Development Preparation Why Mini Programs Exist Better Experience: Slow web loading and blank screens; native app experience is faster. Standards & Management: For WeChat, onboarding and management Before mini programs were released, WeChat published an SDK called JSDk to open up some of the original WeChat capabilities: WeChat Pay, coupons. However, developers used web development languages to develop logic, bypassing some WeChat regulations. Mini Programs
Office migration, the servers are inaccessible.
Administrative notice, office relocation from the second floor to the fifteenth floor – a standard, routine desk move.
Design Sense Migration Closing up shop, packing everything away, a familiar route, a new workstation – adjusting computer cabling, finding a comfortable posture to start working. (ÒωÓױ)! – Connecting the network cable, the servers frequently used by the team were inaccessible. I tried switching to wireless networking, and access was normal again.