Categories

107 pages

Computer

A long period of heavy AI programming

Recently, in the project, there has been heavy use of AI programming, which should be the most integrated AI in work over the past three years. The notes taken were not systematic; whatever came to mind was recorded. Background Linux environment, backend service development, without involving any UI or frontend content. Models I’ve tried out the three “Big Three” in China – minimax, glm, and kimi – and kimi has performed best.

Deep Dive: Memory Corruption and Cache Pollution in C++ with Static Lambdas

This article analyzes the bizarre phenomenon in C++ development where unordered_map::find returns an object with mismatched fields after a hit. The root cause lies in defining a static lambda within the function and using reference capture to capture local variables, leading to a dangling reference after the first call, triggering undefined behavior (UB) and polluting cache data in subsequent calls. It is recommended to address this issue by explicitly passing parameters instead of implicit capture, managing lifecycles properly, and utilizing Sanitizer tools.

wrk vs. JMeter deep benchmarking

In internet system stress testing, we frequently encounter two tools with vastly different styles: one is extremely lightweight, pursuing extreme throughput—wrk; the other is feature-rich and simulates real business flows—JMeter. Prompt: Outline the core ideas and write a科普 article (explanatory article): HTTP

Detailed Explanation of How Passkeys Work and Their Future

Background introduction: Tencent’s CNB platform only supports WeChat login, with no conventional email account method, leading to several guys in the group complaining about it daily – it’s getting annoying. The Tencent product manager came up with a compromise solution: support Passkey login.

Every day, we are repeating a dangerous action: entering passwords. Despite our complex rules (uppercase, special symbols, numbers), data breaches, phishing attacks, and the frustration of “forgotten password” issues continue to trouble everyone.

Tech giants (Apple, Google, Microsoft) along with the FIDO Alliance have provided the ultimate solution: Passkey (Passcode Key). It’s not just a “replacement” for passwords; it completely “eliminates” them.

The login process has shifted from verifying passwords to verifying the current device’s trustworthiness.

Ultimately, it’s returning to domestic models.

“Previously, it was mentioned that when logging into Gemini Cli, you needed to configure the Google Cloud Project ID. This is already wrong – if it’s a personal account, there shouldn’t be this restriction. The fact that this restriction exists indicates that you’ve started triggering Google’s security system and are being identified as not being a personal account. It’s frustrating; after using it for half a month and getting used to it, now I have to return to the embrace of cc + domestic models.

Gemini CLI installation and deployment, Google is catching up.

It’s been almost half a month, and MiniMax and GLM4.6 in China have both had paid trials – the difference is still noticeable. The cc tool is quite useful. Last night I was messing around with optimizing the front-end interface, you know… as a writer, I basically don’t understand front-end development; Vibe Coding will be next, and I’m starting to get into the front-end technology stack. Domestic large models haven’t been figured out; I tried the newly released Gemini3, and it was done in five minutes.

Cloudflare experienced a global network outage, causing websites like X (formerly Twitter) and ChatGPT to crash. The stock price suffered a setback ahead of the market open.

This site’s main domain is hosted on GitHub Pages, and the blog’s backup subdomain is on Vercel with acceleration. It has been deployed through Cloudflare. The backend management page looks too outdated and unappealing, which is a major deterrent. Initially, it was a quiet, unassuming piece of content; however, constant messages in the blogging circles disrupted this tranquility – opening it up, CF went down, and many friends’ websites couldn’t be accessed.

As an internet infrastructure component, such prolonged downtime is unacceptable. The stock price didn’t plummet dramatically, which I hadn’t anticipated.