this repo has no description

copy for day 4

+15 -7
+15 -7
shared/challenges_markdown/four/part_one.md
··· 1 - You may have seen some record keys that look a bit like this `3mhhb2bgzs22p`, these are 2 - called [TIDs](https://atproto.com/specs/tid), or Timestamp Identifiers. These are the most common record keys. They 3 - are 4 - made up of a `clock id` and a `timestamp` then encoded in a way that you can sort and order by time. The clock id helps 5 - with uniqueness if you are running multiple nodes, and the timestamps are in nanoseconds as well to help with this. 1 + You may have seen some record keys that look a bit like this: `3mhhb2bgzs22p`. 6 2 7 - Today you will be making a `tid` withe clock id of `{{clock_id}}` and a timestamp of `{{tid_time}}`. 3 + These are [TIDs](https://atproto.com/specs/tid) (Timestamp Identifiers), the most common format for record keys. They are made up of a `timestamp` and a `clock id`, and encoded in a way that you can sort and order by time. 8 4 9 - Hint: May check out [@atcute/tid](https://github.com/mary-ext/atcute/tree/trunk/packages/utilities/tid) 5 + - The timestamp is microcoseconds since the unix epoch. 6 + - The clock ID is typically randomized, to help avoid collisions across devices. 7 + 8 + Your challeng is to **create a `tid`** with: 9 + 10 + - **Timestamp**: exactly `{{clock_id}}` 11 + - **Clock ID**: `{{tid_time}}` 12 + 13 + <details> 14 + <summary>Hint</summary> 15 + 16 + - In javascript: check out [@atcute/tid](https://github.com/mary-ext/atcute/tree/trunk/packages/utilities/tid) 17 + </details>