summaryrefslogtreecommitdiff
path: root/daily/2024-08-22.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-23 11:30:28 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-23 11:30:28 +0100
commit1f1423fdb8d4e2928768ffa33a6ad2b59c75e82e (patch)
tree67d94f0d821a053aca0e7c8a7ffb6c369047aa14 /daily/2024-08-22.md
parent93d36010a9d54bca1fdcaf1f4c99e6981aaf41bc (diff)
lowercase dirs
Diffstat (limited to 'daily/2024-08-22.md')
-rw-r--r--daily/2024-08-22.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/daily/2024-08-22.md b/daily/2024-08-22.md
new file mode 100644
index 0000000..fd1531c
--- /dev/null
+++ b/daily/2024-08-22.md
@@ -0,0 +1,25 @@
+Woke up full of motivation to go to the office. Asked my honey if it's okay to join her by train "is there enough time left?", "yeah" she replied. Then when I come downstairs and she asks me if I can be fast, I tell her maybe it's better you go then bc i worry I will not be able to. Right away she storms off mad and angry... My motivation gone, so I'll work from home..
+
+Went to the office anyway by motorcycle, cannot feel like I'm waking up when staying at home anymore.
+
+**MermaidJS ZenUML**
+Optional **Title**
+**Participants** can be declared when used or at the start.
+**Annotators** give **participants** a special icon, defined at the doc site.
+**Aliases** give a short **participant** name a more descriptive name when rendered, e.g: A as Alice <- Alice will be rendered, but the code can use A.
+**Messages** between **participants** can be **sync, async, creation or reply**.
+**Sync** use A.\<MessageName\> have a block {} for nested messages
+**Async** use an arrow A->B: How are you?
+**Creation** new keyword new A(optional params)
+**Reply** three ways to define:
+* Assign var from **Sync** message, e.g: OptionalType a = A.SyncMessage()
+* Return A.SyncMessage { return blaat }
+* @return or @reply on an **async** message
+**Nesting** can be done on both creation and sync messages using blocks {}.
+**Comments** can be added using `// comment` and support markdown.
+**Loops** can be defined using keywords: **while, for, foreach and loop**.
+**Alternative** paths can be sequenced using **if, else** statements. if(blaat) { A.syncMessage(B) }
+**Opt** fragments rendered via `opt { ... }`. This can be useful for optional responses or paths.
+**Parallel** paths can be defined using `par { ... }`.
+**Try/catch/finally** statements are supported as well.
+**@Starter(participant)** to make the line start from a **participant** \ No newline at end of file