From 175e60efbeaf47cb822346abb0526b112342b3d8 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Tue, 15 Oct 2024 07:29:11 -0600 Subject: [PATCH] Update flashcards and daily notes. --- .../plugins/obsidian-to-anki-plugin/data.json | 14 +++++--- notes/_journal/2024-10-15.md | 9 ++++++ notes/_journal/{ => 2024-10}/2024-10-10.md | 0 notes/_journal/2024-10/2024-10-11.md | 9 ++++++ notes/_journal/2024-10/2024-10-12.md | 9 ++++++ notes/_journal/2024-10/2024-10-13.md | 9 ++++++ notes/_journal/2024-10/2024-10-14.md | 9 ++++++ notes/c17/types/simple.md | 32 +++++++++---------- notes/data-structures/b-tree.md | 2 +- notes/set/relations.md | 20 ++++++++++-- 10 files changed, 90 insertions(+), 23 deletions(-) create mode 100644 notes/_journal/2024-10-15.md rename notes/_journal/{ => 2024-10}/2024-10-10.md (100%) create mode 100644 notes/_journal/2024-10/2024-10-11.md create mode 100644 notes/_journal/2024-10/2024-10-12.md create mode 100644 notes/_journal/2024-10/2024-10-13.md create mode 100644 notes/_journal/2024-10/2024-10-14.md diff --git a/notes/.obsidian/plugins/obsidian-to-anki-plugin/data.json b/notes/.obsidian/plugins/obsidian-to-anki-plugin/data.json index 1927571..a490009 100644 --- a/notes/.obsidian/plugins/obsidian-to-anki-plugin/data.json +++ b/notes/.obsidian/plugins/obsidian-to-anki-plugin/data.json @@ -580,7 +580,7 @@ "_journal/2024-06/2024-06-04.md": "52b28035b9c91c9b14cef1154c1a0fa1", "_journal/2024-06-06.md": "3f9109925dea304e7172df39922cc95a", "_journal/2024-06/2024-06-05.md": "b06a0fa567bd81e3b593f7e1838f9de1", - "set/relations.md": "2759e68e8dd19f513fca2da8d2506433", + "set/relations.md": "f29889b9cde0e8bb24fae4f5c37fb7ad", "_journal/2024-06-07.md": "795be41cc3c9c0f27361696d237604a2", "_journal/2024-06/2024-06-06.md": "db3407dcc86fa759b061246ec9fbd381", "_journal/2024-06-08.md": "b20d39dab30b4e12559a831ab8d2f9b8", @@ -748,7 +748,7 @@ "_journal/2024-08/2024-08-07.md": "119c052f4109a3e098d825b771af89de", "_journal/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264", "_journal/2024-08/2024-08-08.md": "b8211a4c576ff594217e2e9cae9396c0", - "data-structures/b-tree.md": "011f11424c9892219dcaa66de72f3f18", + "data-structures/b-tree.md": "4c1d61ab9b9184e02c3455fb0c701369", "data-structures/binary-tree.md": "67b0b5b9688faa205983993fe507079a", "_journal/2024-08-10.md": "08e7ea4a78c46645b93ec51e2372d04f", "_journal/2024-08/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264", @@ -791,7 +791,7 @@ "c17/enums.md": "9414fb67aa256a0a11b7240534c67bf6", "c17/derived-types.md": "6fb8f23a2423f05d5bdccb6672a32e38", "c17/basic-types.md": "7c6653bf6dc24c2f2aa72fc95c4f7875", - "c17/types/simple.md": "502c7a742e8516057f820c75cc7a096e", + "c17/types/simple.md": "48e455d1cb6a631fe74e419e52e0a695", "c17/types/enumerated.md": "e1f70a30677c776b7b44ac3e0ff4e76d", "c17/types/derived.md": "cd77112313bd0f9cf99b0f224a364179", "c17/types/basic.md": "5064e21e683c0218890058882e06b6f3", @@ -876,7 +876,13 @@ "_journal/2024-10/2024-10-08.md": "2f737d8198b12bf635808964c4887ae1", "x86-64/procedures.md": "c36268b99c0681bfca245e0538a302e0", "_journal/2024-10-10.md": "29e4be2c164c63f8b7aab56bddee3dd6", - "_journal/2024-10/2024-10-09.md": "b718c6f4cfe3069fcc0faf07ec414f73" + "_journal/2024-10/2024-10-09.md": "b718c6f4cfe3069fcc0faf07ec414f73", + "_journal/2024-10-15.md": "6e696a8d16ba257ed89e8564b771d290", + "_journal/2024-10/2024-10-14.md": "fbb5a82a18e3acca55bb46a824a9419d", + "_journal/2024-10/2024-10-13.md": "8882c01060a4a909fd890180db356e73", + "_journal/2024-10/2024-10-12.md": "1c299384b7f1fffa4e9f50fa5a1c05c2", + "_journal/2024-10/2024-10-11.md": "6c98c6541efcb92854c1de68a2881d89", + "_journal/2024-10/2024-10-10.md": "b7c386d47a9f1e860effaa36001404ba" }, "fields_dict": { "Basic": [ diff --git a/notes/_journal/2024-10-15.md b/notes/_journal/2024-10-15.md new file mode 100644 index 0000000..fa2c122 --- /dev/null +++ b/notes/_journal/2024-10-15.md @@ -0,0 +1,9 @@ +--- +title: "2024-10-15" +--- + +- [x] Anki Flashcards +- [x] KoL +- [x] OGS +- [ ] Sheet Music (10 min.) +- [ ] Korean (Read 1 Story) \ No newline at end of file diff --git a/notes/_journal/2024-10-10.md b/notes/_journal/2024-10/2024-10-10.md similarity index 100% rename from notes/_journal/2024-10-10.md rename to notes/_journal/2024-10/2024-10-10.md diff --git a/notes/_journal/2024-10/2024-10-11.md b/notes/_journal/2024-10/2024-10-11.md new file mode 100644 index 0000000..e8a7a92 --- /dev/null +++ b/notes/_journal/2024-10/2024-10-11.md @@ -0,0 +1,9 @@ +--- +title: 2024-10-11 +--- + +- [x] Anki Flashcards +- [x] KoL +- [ ] OGS +- [ ] Sheet Music (10 min.) +- [ ] Korean (Read 1 Story) \ No newline at end of file diff --git a/notes/_journal/2024-10/2024-10-12.md b/notes/_journal/2024-10/2024-10-12.md new file mode 100644 index 0000000..48cb901 --- /dev/null +++ b/notes/_journal/2024-10/2024-10-12.md @@ -0,0 +1,9 @@ +--- +title: 2024-10-12 +--- + +- [x] Anki Flashcards +- [x] KoL +- [ ] OGS +- [ ] Sheet Music (10 min.) +- [ ] Korean (Read 1 Story) \ No newline at end of file diff --git a/notes/_journal/2024-10/2024-10-13.md b/notes/_journal/2024-10/2024-10-13.md new file mode 100644 index 0000000..0fcb0cc --- /dev/null +++ b/notes/_journal/2024-10/2024-10-13.md @@ -0,0 +1,9 @@ +--- +title: "2024-10-13" +--- + +- [x] Anki Flashcards +- [x] KoL +- [ ] OGS +- [ ] Sheet Music (10 min.) +- [ ] Korean (Read 1 Story) \ No newline at end of file diff --git a/notes/_journal/2024-10/2024-10-14.md b/notes/_journal/2024-10/2024-10-14.md new file mode 100644 index 0000000..fcdf373 --- /dev/null +++ b/notes/_journal/2024-10/2024-10-14.md @@ -0,0 +1,9 @@ +--- +title: "2024-10-14" +--- + +- [x] Anki Flashcards +- [x] KoL +- [x] OGS +- [ ] Sheet Music (10 min.) +- [ ] Korean (Read 1 Story) \ No newline at end of file diff --git a/notes/c17/types/simple.md b/notes/c17/types/simple.md index dca5223..6cbf4ce 100644 --- a/notes/c17/types/simple.md +++ b/notes/c17/types/simple.md @@ -358,7 +358,7 @@ END%% %%ANKI Basic What is the minimum precision of a `bool`? -Back: $1$ +Back: $1$ bit. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -374,7 +374,7 @@ END%% %%ANKI Basic What is the minimum precision of an `unsigned char`? -Back: $8$ +Back: $8$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -406,7 +406,7 @@ END%% %%ANKI Basic What is the minimum precision of an `unsigned short`? -Back: $16$ +Back: $16$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -422,7 +422,7 @@ END%% %%ANKI Basic What is the minimum precision of an `unsigned int`? -Back: $16$ +Back: $16$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -446,7 +446,7 @@ END%% %%ANKI Basic What is the minimum precision of an `unsigned long`? -Back: $32$ +Back: $32$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -469,7 +469,7 @@ END%% %%ANKI Basic What is the minimum precision of an `unsigned long long`? -Back: $64$ +Back: $64$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -587,7 +587,7 @@ END%% %%ANKI Basic What is the minimum precision of a `signed char`? -Back: $7$ +Back: $7$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -603,7 +603,7 @@ END%% %%ANKI Basic What is the minimum precision of a `signed short`? -Back: $15$ +Back: $15$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -626,7 +626,7 @@ END%% %%ANKI Basic What is the minimum precision of a `signed int`? -Back: $15$ +Back: $15$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -642,7 +642,7 @@ END%% %%ANKI Basic What is the minimum precision of a `signed long`? -Back: $31$ +Back: $31$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -658,7 +658,7 @@ END%% %%ANKI Basic What is the minimum precision of a `signed long long`? -Back: $63$ +Back: $63$ bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% @@ -1028,7 +1028,7 @@ END%% Basic *Why* isn't `b42` in the following considered an ICE? ```c -enum { b42 = 42 } +enum { b42 = 42 }; ``` Back: N/A. It is. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). @@ -1040,7 +1040,7 @@ Basic *Why* isn't `b42` in the following considered an ICE? ```c signed const a42 = 42; -enum { b42 = a42 } +enum { b42 = a42 }; ``` Back: Because it depends on the evaluation of object `a42`. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). @@ -1051,7 +1051,7 @@ END%% Basic *Why* isn't `c52` in the following considered an ICE? ```c -enum { b42 = 42, c52 = b42 + 10 } +enum { b42 = 42, c52 = b42 + 10 }; ``` Back: N/A. It is. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). @@ -1063,7 +1063,7 @@ Basic *Why* isn't `b42` in the following considered an ICE? ```c signed const a42() { return 42; } -enum { b42 = a42() } +enum { b42 = a42() }; ``` Back: Because it depends on a function call. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). @@ -1235,7 +1235,7 @@ END%% %%ANKI Basic Suppose `intN_t` exists. What is its precision? -Back: `N - 1` +Back: `N - 1` bits. Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020). END%% diff --git a/notes/data-structures/b-tree.md b/notes/data-structures/b-tree.md index 34fac17..e3cef69 100644 --- a/notes/data-structures/b-tree.md +++ b/notes/data-structures/b-tree.md @@ -69,7 +69,7 @@ END%% %%ANKI Basic What is the maximum number of children a node in a B-tree have? -Back: N/A. It depends on the tree's order. +Back: A number equal to the tree's order. Reference: Donald Ervin Knuth, _Art of Computer Programming, 3: Sorting and Searching_, 2. ed., 34. (Reading, Mass: Addison-Wesley, 1995). END%% diff --git a/notes/set/relations.md b/notes/set/relations.md index 0f1fd89..c69dc69 100644 --- a/notes/set/relations.md +++ b/notes/set/relations.md @@ -638,12 +638,20 @@ END%% %%ANKI Basic -Given $R = \{\langle a, a \rangle, \langle b, c \rangle\}$, is $R$ reflexive on $a$? -Back: N/A. We should ask if $R$ is reflexive on set $\{a\}$. +Is $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $a$? +Back: No. Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977). END%% +%%ANKI +Basic +Is $R = \{\langle a, a \rangle\}$ reflexive on $a$? +Back: No. +Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977). + +END%% + %%ANKI Basic *Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a\}$? @@ -652,6 +660,14 @@ Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Pre END%% +%%ANKI +Basic +Is $R = \{\langle a, a \rangle\}$ reflexive on $\{a\}$? +Back: Yes. +Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977). + +END%% + %%ANKI Basic *Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a, b\}$?