Background Service TCP Communication Anomaly Troubleshooting
Business Model: The backend service establishes a connection with the group’s market data gateway using TCP. Each time a connection is established, it must first send an authorization request and then continuously send heartbeat packages to maintain the connection status.
However, one day, an alert message was received indicating that the service had disconnected. After carefully examining the logs, it was discovered that the backend service was continuously sending heartbeat packages, but the other party did not respond at all, yet the connection remained open.
ollama local deployment of deepseek-R1
Ollama is an open-source AI tool designed to enable users to run and deploy large language models (LLMs) locally. Its goal is to provide a convenient and efficient way for developers to use models like GPT on their local machines without relying on cloud services. Ollama supports multiple models and focuses on optimizing performance, allowing even resource-constrained devices to smoothly run these models.
PowerShell 7 and Persistent Settings Command-Line Prediction View
“I’d gotten used to using zsh on Linux, and when I was writing a blog post the other day, I suddenly realized that PowerShell 7 also supports persistent command-line prediction views, so I tried it out. It turned out to be pretty useful after all.”
“I don’t know what I did to enable this feature, but it just appeared—that’s all.”
Visual Studio loading a mismatched PDB file
When debugging programs under Windows using Visual Studio, if the PDB file does not match the executable file, Visual Studio will display “Unable to load symbol file.” The program crashes and generates a crash dump. If it’s an mismatched PDB file, Visual Studio cannot smoothly enter the crash site.
What is a PDB File? A PDB file is a debugging information file created by Microsoft, used for debugging programs. It contains information such as the symbol table, source code filenames, line numbers, and other debugging data.
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.