oficina / slides Public

Clone
git clone https://amadan.net/oficina/slides

Plain git — no account needed to clone.

Download

Download this file

1[
2 {
3 "name": "null data and no words",
4 "scene": {"code": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "data": null, "words": {}},
5 "canonical": "{\"code\":\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"data\":null,\"words\":{}}",
6 "version": "16a1f8804f00fc9fb71712e4a46de8d2d57632dd4dab7b8a9c449c88cc522ea8"
7 },
8 {
9 "name": "absent data and words read as null and none",
10 "scene": {"code": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"},
11 "canonical": "{\"code\":\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"data\":null,\"words\":{}}",
12 "version": "16a1f8804f00fc9fb71712e4a46de8d2d57632dd4dab7b8a9c449c88cc522ea8"
13 },
14 {
15 "name": "nested data: keys sorted at every level, numbers as JSON.stringify prints them",
16 "scene": {"code": "fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210", "data": {"b": [1, 2.5, {"z": true, "a": null}], "a": {"y": "x", "x": -0, "n": 1e21, "m": 1.5e-7, "k": 0.1, "big": 9007199254740993, "f": 100000000000000000000, "e": 1e-6, "w": 5.0}}, "words": {"title": "World", "a": "first"}},
17 "canonical": "{\"code\":\"fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210\",\"data\":{\"a\":{\"big\":9007199254740992,\"e\":0.000001,\"f\":100000000000000000000,\"k\":0.1,\"m\":1.5e-7,\"n\":1e+21,\"w\":5,\"x\":0,\"y\":\"x\"},\"b\":[1,2.5,{\"a\":null,\"z\":true}]},\"words\":{\"a\":\"first\",\"title\":\"World\"}}",
18 "version": "ee9336f972547ef3c71d2d02f885778cc789582968a7610e93a8b049f0de70ef"
19 },
20 {
21 "name": "unicode: code point order, escapes as JSON.stringify writes them",
22 "scene": {"code": "00000000000000000000000000000000000000000000000000000000000000ff", "data": {"\ud83d\ude00": 2, "\ufb00": 1, "s": "tab\there \"q\" \\ \u0001 \u001f \u007f \u2028 \u00fc \ud83d\ude00"}, "words": {"\ud83d\ude00": "smile", "\ufb00": "ligature", "\u00e9": "line\none", "z": "\u0000"}},
23 "canonical": "{\"code\":\"00000000000000000000000000000000000000000000000000000000000000ff\",\"data\":{\"s\":\"tab\\there \\\"q\\\" \\\\ \\u0001 \\u001f \u007f \u2028 \u00fc \ud83d\ude00\",\"\ufb00\":1,\"\ud83d\ude00\":2},\"words\":{\"z\":\"\\u0000\",\"\u00e9\":\"line\\none\",\"\ufb00\":\"ligature\",\"\ud83d\ude00\":\"smile\"}}",
24 "version": "c8d60b86897d8d1010eca751084c0c7534ccf53dcf8c487b2816f9271687f37d"
25 },
26 {
27 "name": "empty object, empty list and an empty word",
28 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": {"obj": {}, "list": [], "s": ""}, "words": {"k": ""}},
29 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":{\"list\":[],\"obj\":{},\"s\":\"\"},\"words\":{\"k\":\"\"}}",
30 "version": "50eacf9dd107b9598810281367cb098a8aa683e491370ececd85d3b0fcac4bfd"
31 },
32 {
33 "name": "a string as the whole of data",
34 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": "just words", "words": {}},
35 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":\"just words\",\"words\":{}}",
36 "version": "0b21b8b3a3f62c80e1bf37ddb875adb52ddfb85c268d3d11ff2742134cb6d9f8"
37 },
38 {
39 "name": "collision pair, one word holding a newline and a NUL",
40 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": null, "words": {"a": "b\nc\u0000d"}},
41 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":null,\"words\":{\"a\":\"b\\nc\\u0000d\"}}",
42 "version": "ddd1cdb164536354cb1f21664b7f6d179c40731d3267f6324483f3e75c769fcd"
43 },
44 {
45 "name": "collision pair, the two words that spelled the same lines",
46 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": null, "words": {"a": "b", "c": "d"}},
47 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":null,\"words\":{\"a\":\"b\",\"c\":\"d\"}}",
48 "version": "03ad898572d6d4be088d36740254d37a8862f9d5cef59f0d97db417e36c72fc5"
49 },
50 {
51 "name": "quotes, backslashes, NUL and newline in keys and text; __proto__ as text",
52 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": {"constructor": "c", "back\\slash": "\"quoted\"", "text": "__proto__"}, "words": {"q\"k": "t\\x", "n\nk\u0000": "\"\u0000\n", "constructor": "__proto__"}},
53 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":{\"back\\\\slash\":\"\\\"quoted\\\"\",\"constructor\":\"c\",\"text\":\"__proto__\"},\"words\":{\"constructor\":\"__proto__\",\"n\\nk\\u0000\":\"\\\"\\u0000\\n\",\"q\\\"k\":\"t\\\\x\"}}",
54 "version": "7bd119760b4187045ae8f297d256ebcfe573b1083482cba8d1f803e5af2cfbd2"
55 },
56 {
57 "name": "code alone differs: the same data and words as the first",
58 "scene": {"code": "1111111111111111111111111111111111111111111111111111111111111111", "data": null, "words": {}},
59 "canonical": "{\"code\":\"1111111111111111111111111111111111111111111111111111111111111111\",\"data\":null,\"words\":{}}",
60 "version": "8b56238f8abd76bb42728fada630446b2727f12f5d31fce5e47a1cb523e64952"
61 },
62 {
63 "name": "numbers JSON.stringify writes with seventeen digits keep every one",
64 "scene": {"code": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "data": {"pieces": [[427.20000000000005, -15.599999999999994], [54.400000000000006, 0.30000000000000004]]}, "words": {}},
65 "canonical": "{\"code\":\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"data\":{\"pieces\":[[427.20000000000005,-15.599999999999994],[54.400000000000006,0.30000000000000004]]},\"words\":{}}",
66 "version": "e2ec4a0d6a99f5f217fa4545d78957af412955863de03914c8b245bb407cf06d"
67 }
68]
69