Data
Operations Is No Longer Guesswork
· β˜• 4 min read
For more techniques, keep an eye on the updates to this post. 1. Operations Is No Longer Guesswork Everything is interconnected, and the internet’s model of the physical world is becoming more and more accurate. Our geographic location, our movement trajectories, and our operations on electronic devices are all being recorded.

GrowingIO Data Collection Field Analysis
· β˜• 1 min read
1. Field Meanings 1.1 u, User ID 1 2 3 4 5 6 if cookie.has(gr_user_id){ //使用 cookie δΈ­ηš„ gr_user_id ζœ‰ζ•ˆζœŸεεΉ΄ } else { //ζŒ‰η…§ "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ζ ΌεΌοΌŒιšζœΊη”ŸζˆδΈ€δΈͺ gr_user_id } 1.2 s, Session

Django Initial Data with Fixtures
· β˜• 3 min read
1. Characteristics of Fixtures Fixtures are a new way to provide initial data, and they are used by Django’s test framework to handle test data for unit tests. Unlike SQL files, a fixture can provide a serialized file that Django’s serialization system understands; it is read, automatically converted into the corresponding model, and then saved into the database.

Base64 Encoding
· β˜• 2 min read
1. Application Scenarios 1.1 Mail RFC821 requires that email content be ASCII. When a message contains other non-ASCII characters or binary data, Content-Transfer-Encoding is needed, and Base64 is one such method. 1.2 URL Some applications need to put binary data into a URL, but URLs only allow a specific set

Operations Tracking and Solution Design
· β˜• 3 min read
1. Terminology xpath: There are two approaches, the exact path and the approximate path. Exact path: body>div[0]>div[3]>ul>li[5]>a[0], walking up from the clicked element all the way to the root node and recording every node along the way. Approximate path: body>div.header>div.nav>a[23], which on top of the former omits from the upward path any node that is not on the whitelist.