Cursor AI Programming IDE Trial
It seems like another year has passed, and the biggest change at work is a significant increase in AI participation. Previously, switching between different development languages required developers to be familiar with various language-specific API interfaces. Now, these basic code snippets can all be generated by AI, which is a huge blessing for developers.
ChatGPT As early as 2023, I’ve written two simple introductory articles about it. Now it’s been 25 years – how to put this… I haven’t felt a significant improvement.
C++ Bitwise Operations Fundamentals: Bitwise Extraction and Flag Setting
In actual C++ development, bitwise operations are a common technique, especially when dealing with system states, flags, or control bits. Bitwise operations can provide very efficient solutions. This article will illustrate how to use bitwise operations to retrieve and set specific flags through an example.
Bitwise Operations Fundamentals In computers, data is stored in binary bits (0 and 1). Bitwise operations are operations performed on these binary bits. C++ provides several commonly used bitwise operators:
Upgrading from a desktop to a 2.5G network card, accelerating local area network connectivity.
Desktop hardware three-in-one, in the previous text we mentioned PCIe adapter for solid state drives, where did the old SSDs go? Of course there was no waste, were any of them broken, disassembled and installed on the newly purchased ‘MechMaker Mini-3765H’ (bought a year ago).
The new machine has powerful hardware specifications: 2.5G dual network interface, PCIe4.0, WiFi6.
Recently moved house and my room doesn’t have a dedicated router for networking, all the machines are connected via wireless network; the ASUS motherboard desktop wireless card performance wasn’t great, or perhaps it was the router’s wireless access, which resulted in slow upload speeds between local networks, leading to poor network speeds between the machines.
ASUS Z490 motherboard has too many disks, resulting in intermittent disk unrecognition.
Continuing from the previous text, an issue suddenly arose where the wireless network card was unable to be recognized. Before rebuilding the partitions, I had also researched other solutions online, such as: removing the motherboard battery and disconnecting power for fifteen minutes; upgrading to the latest version of the BOIS driver, but all attempts were unsuccessful.
Thinking there were still tasks to complete, I switched to a limited network by pulling a web across from the living room into the room. However, this is when the problem returned – wired networking was also unable to be recognized. I then resorted to the ultimate solution of reinstalling the system, which resulted in partition loss during the boot process. If the issue had consistently occurred, I wouldn’t have spent so long troubleshooting it; the ASUS disk conflict is intermittent and triggered by unstable system restarts.
Last week, I purchased a new 2TB solid-state drive from长江存储 (Jiangang Chengsu – Yangtze Storage) with an M.2 interface, and the machine never rebooted until yesterday when I shut it down once.
Windows Built-in Disk Cleanup Tool: Storage
I’m not sure from what version it started, but in Windows 11, the Disk Cleanup tool has been significantly improved and become much smarter.
The key is that it’s an official tool, so it won’t accidentally delete files, won’t have ads, won’t have pop-ups, won’t have background processes, or any unnecessary elements.
You can access the Disk Cleanup tool in Windows 11 by going to Settings > System > Storage > Temporary Files.
Docker Domestic Mirror Proxy Failed
Deploying Docker on domestic servers, after deployment, if the company doesn’t provide a registry center, the first thing developers need to do is configure a domestic registry mirror address. It’s lucky that today there was a server configured with a registry mirror address, but when pulling images, it kept failing to pull.
Error response from daemon: “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Troubleshooting and Repair Attempts Initially, we attempted to switch to alternative mirror acceleration addresses, hoping to resolve the issue.
CentOS 8 Stream EOL
CentOS Stream is the upstream open-source development platform prior to Red Hat’s Linux distribution.
I first noticed the open-source operating system lifecycle redhat and centos life cycle had ended, and I was wondering what was going on. Besides security issues, dnf wasn’t working, and I recently encountered failures when installing tools – checking the repository sources revealed that CentOS 8 Stream had reached its end of life.
CentOS Stream Introduction Positioning and Roles CentOS Stream sits between Fedora Linux (upstream development) and RHEL (Red Hat Enterprise Linux, downstream development), acting as a bridge.
Hugo Module Customizing Theme: Explanation of Approach
Browsing through the historical commit records, the site has undergone numerous theme switches. Each theme switch involved some custom modifications, and this is where I’m documenting the approach to customizing themes. My Github repository briefly maintained the even theme, but due to my obsessive-compulsive tendencies, I resisted upgrading the hugo compiler to the latest version, which resulted in incompatibility with the even theme, so I switched back to the stack theme.