- git checkout master
- git pull
- git checkout -b TOPIC_BRANCH origin/master
- [do your thing here]
- git commit -a -s
- git pull --rebase origin master
- git rebase -i origin/master # if you want to squash commits
- git show
There doesn't seem to be a good resource online describing the issues with protocol buffers and deterministic serialization (or lack thereof). This is a collection of links on the subject.
Protocol Buffers v3.0.0. release notes:
The deterministic serialization is, however, NOT canonical across languages; it is also unstable across different builds with schema changes due to unknown fields.
Wire format ordering and map iteration ordering of map values is undefined, so you cannot rely on your map items being in a particular order.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | |
│ peer │ | |
│ │ | |
┌───────────────┐ │ │ | |
│ │ │ │ | |
│ │ │ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local count = 0 | |
local sum = 0 | |
local min = 0 | |
local max = 0 | |
local cursor = "0" | |
local result = nil | |
local data = nil | |
repeat | |
result = redis.call("zscan", KEYS[1], cursor, "count", 100) |