Categories

130 pages

Computer

No coding, design and develop a self-selected stock module.

  • Last month, we experimented with cursor, but due to the limitations of the free quota, we didn’t develop overly complex features; we just did some basic testing. We discovered then that Byte also released similar products, both using the same large models – Claude-3.5 – at their core. Byte’s product is called Trae, initially launched in the Mac version and finally released its Windows version in February of this year. Big companies are good because you can freely “white嫖” (literally translates to “free-eat”), without having to pay, with unlimited use of Claude-3.5 – this model performs quite well.

Protobuf Zero Value Pitfalls: When Default Values Become an Invisible Killer of Business Logic

The US stock market has three trading sessions: pre-market, live market, and post-market. The logic for pushing data – whether it’s full data or numerical increments – is optimized to conserve bandwidth (sending as little data as possible). Initially, only the full dataset is sent in the first transmission; subsequent transmissions are incremental updates of all fields.

Why not use the optimal solution? This involves multiple project teams, some of which have been live for many years. As we’re a new integration, we can only strive for compatibility.

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.”





In today's diverse operating system environment, system administrators and developers have been constantly seeking a tool that is cross-platform, efficient, and powerful to meet their needs in system management and automation tasks. PowerShell 7 is precisely such a noteworthy tool, offering not only robust scripting capabilities but also the ability to run across Windows, Linux, and macOS operating systems, bringing users unprecedented convenience.

PowerShell 7: A Powerful Tool Across Platforms

Cross-Platform Features

PowerShell 7 breaks down platform limitations, allowing you to perform enterprise-level server management on Windows systems, system administration in Linux environments, or daily development tasks on macOS – all with a unified PowerShell 7 tool. This significantly increases productivity and reduces the learning curve and operational complexity associated with platform differences.

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. A PDB file can be generated during program compilation to aid in debugging.

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. It still needs to develop its own cognition, be able to reasonably break down tasks, and, of course, most importantly, identify whether AI-generated code contains bugs.

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: