Skip to content

Instantly share code, notes, and snippets.

View fmg-lydonchandra's full-sized avatar

Lydon Chandra fmg-lydonchandra

View GitHub Profile
@fmg-lydonchandra
fmg-lydonchandra / protobuf-serialization.md
Created May 22, 2023 04:53 — forked from kchristidis/protobuf-serialization.md
Notes on protocol buffers and deterministic serialization (or lack thereof)

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.

Maps documentation:

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.

@fmg-lydonchandra
fmg-lydonchandra / install_openlens.sh
Created January 18, 2023 04:17 — forked from jslay88/install_openlens.sh
Build and Install OpenLens
#!/bin/bash
install_deps_windows() {
echo "Installing Build Dependencies (Windows)..."
choco install -y make visualstudio2019buildtools visualstudio2019-workload-vctools
}
install_deps_darwin() {
echo "Installing Build Dependencies (Darwin)..."
xcode-select --install