CityScope / CS_CityIO

Serverside script for the cityscope platform
https://cityio.media.mit.edu
14 stars 8 forks source link

version controlling table state #20

Closed yasushisakai closed 5 years ago

yasushisakai commented 6 years ago

This has been in topic since we started, and has had iterations in the past. This post is a memorandum to show how "Git" copes with different file states.

image below is a normal way of thinking about deltas.

while the one below is how Git handles it.

The good thing is that any given state, you get a complete version of what you want. The question is in our case, what is the equivalent of a file in git? is it one cell in a grid? or is it a grid?

RELNO commented 6 years ago

@yasushisakai that goes back to our discussion about the size of each file/version. If we quarry 2mb in each version, both server and endpoints would suffer from that, which makes your option A more relevant. But in terms of simplicity, getting the entire table/grid in any given time is easier at option B.

popabczhang commented 6 years ago

I will say let's start with option B first, until we hit the limit.