From 9080196f6b3e20e002cb95818aeccb1d57e00401 Mon Sep 17 00:00:00 2001 From: thomashamburg Date: Thu, 9 Oct 2025 21:53:01 +0200 Subject: [PATCH] drake formular --- slides/datastar/slides.md | 136 +++++++++++++++++--------------------- 1 file changed, 62 insertions(+), 74 deletions(-) diff --git a/slides/datastar/slides.md b/slides/datastar/slides.md index c608bf5..b3657d1 100644 --- a/slides/datastar/slides.md +++ b/slides/datastar/slides.md @@ -366,86 +366,53 @@ also allows you to add [Learn more](https://sli.dev/guide/animations#click-animation) +--- + +# HTTP - Protocol +# + +
POST https://api.example.com/api/users/search?page=2&limit=10 HTTP/1.1
+
+
Host: api.example.com
+
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
+
Accept: application/json
+
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
+
Cookie: sessionId=abc123; theme=dark
+
Content-Length: 89
+
+ +
+
+
{
+
body: data for the search request
+
}
+
+ --- -# Motions +# Reducing the Network to a Remote Procedure Call -Motion animations are powered by [@vueuse/motion](https://motion.vueuse.org/), triggered by `v-motion` directive. - -```html -
- Slidev -
-``` - -
-
- - - -
- -
- Slidev -
-
- - - -
-[Learn more](https://sli.dev/guide/animations.html#motion) +// the function that "unwraps" the promise: +export function to(promise: Promise) { + return promise + .then((response) => response.json()) + .then((data) => ({ data, error: null })) + .catch((error) => ({ data: null, error })); +} -
+``` --- @@ -483,7 +450,28 @@ L &= \text{length of time civilizations are detectable} \end{aligned} $$ -[Learn more](https://sli.dev/features/latex) +

Drake Formular

+ +--- + +

Drake Formular

+ +
+ +$$ {1|2|3|4|5|6|7|all} +\begin{aligned} +N &= R_* \cdot f_p \cdot n_e \cdot f_l \cdot f_i \cdot f_c \cdot L \\ +R_* &= \text{rate of star formation} \\ +f_p &= \text{fraction of stars with planets} \\ +n_e &= \text{number of habitable planets per star} \\ +f_l &= \text{fraction where life develops} \\ +f_i &= \text{fraction where intelligent life evolves} \\ +f_c &= \text{fraction that develops detectable technology} \\ +L &= \text{length of time civilizations are detectable} +\end{aligned} +$$ + +
--- class: text-center --- @@ -495,7 +483,7 @@ N_w &= D_b \cdot L_b \cdot F_b \cdot P_t \cdot F_f \cdot S_m \cdot C_{ss} \cdot \\ N_w &= \text{Total Possible Tech Stacks} \\ D_b &= \text{databases (PostgreSQL, MongoDB, MySQL...)} \\ -L_b &= \text{backend languages (Node.js, Python, Go...)} \\ +L_b &= \text{backend languages (Javascript, Python, Go...)} \\ F_b &= \text{backend frameworks (Express, Django, FastAPI...)} \\ P_t &= \text{transport protocols (REST, GraphQL, gRPC...)} \\ F_f &= \text{frontend frameworks (React, Vue, Svelte...)} \\