First Commit

This commit is contained in:
2024-12-02 15:11:30 +01:00
commit 031f6004de
4688 changed files with 441558 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
---
title: C++ Data Structures
created_date: 2024-11-11
updated_date: 2024-11-11
aliases:
tags:
---
# C++ Data Structures
## Vectors
- stores sequence of data in variable length container (like an array, but variable in size)
- insertions other than at the end are slow, because elements must be shifted
- Applications:
- Paths and Waypoints and trajectories
- Vectors of vectors allow to store matrices
- dynamic resizing
- any element can be accessed --> random access
- access all element at once, filter, sort them, etc
## Stack and Queues
- storing data in specific order
### Stack
- LIFO: Last in first out
- meaning if i stack 1 then 2 then 3 and then I pop them I get 3 first, then 2 and finally 1
- 1,2,3 --> 3,2,1
- Applications
- Backtracking algorithms: if you hit a dead end and you need to go back to a previous node from where you can explore another path.
- Depth first search
- Undo/Redo functionality (last action must be undone first)
- store navigation history (web browsers)
- manage states (you could go back to a previous state)
### Queues
- FIFO: First in First Out
- 1,2,3 --> 1,2,3
- Applications:
- Buffers of sensors
- moving average implementation
- data streaming
## Sets
- collection of **unique** elements
- you cannot modify elements of a set
- ordered and unordered sets
- Applications
- UID management:
- keep track of objects in a scene (label each with a unique id) --> robotics navigation, etc.
- Store valid configuration sets for system. Invalid configurations can be detected
- Keep track of visited nodes/cells in grid. unordered cell --> very fast lookup if cell has already been visited
- Union, intersections and difference
- used in multi robot systems.
- Feature and Capabillity Tracking: Keep track of which sensors are online, which features are working
- Finite State Machines and Transitions: keep track of allowed states and prevent illegal ones
## Arrays
- fixed size
- useful for limited memory tasks
## Hash Map
- collection of unique elements as key-value pairs. Access them through `.first` and `.secondo`

View File

@@ -0,0 +1,3 @@
# Am I convinced that X is good?
Only if I am completely convinced that a Product, a Stock, etc. is good I would recommend it to my Family. I have experienced this with the VT ETF vs the AMPX stock when talking about it to [[Stefan |my Dad]].

View File

@@ -0,0 +1,26 @@
---
title: Physiology of Scuba Diving
created_date: 2024-11-02
updated_date: 2024-11-02
aliases:
tags:
---
# Physiology of Scuba Diving
The understanding of partial pressure in the physiology of scuba diving is crucial. What determines the functional state of the body is that the cells receive enough oxygen to continue functioning. Oxygen is transported across membranes into cells mainly by diffusion, meaning its going from a higher concentration to a lower concentration to balance out the concentrations.
In summary, the transport of oxygen from the blood to tissues is a diffusion-driven process, guided by concentration gradients and modulated by physiological factors that ensure efficient oxygen delivery to meet cellular demands.
## Partial Pressure
The gradient of partial pressure of Oxygen (pO2) is the driving force behind the diffusion. The cells have a low partial pressure of Oxygen, because [[Mitochondria]] use it in aerobic respiration for the [[ATP]] production. Therefore, this makes sure there is always a low concentration of oxygen within the cell.
Across the membrane and interstitial fluid we have blood with oxyhemoglobin thus presenting a high partial pressure of oxygen. Since there is a high gradient, the oxygen will diffuse.
Both the Bohr-effect (increase in pCO2 results in lowering affinity of hemoglobin to Oxygen resulting in decomposition of oxyhemoglobin into oxygen and hemoglobin) and the temperature decrease the affinity between hemoglobin and oxygen, thus promoting the diffusion process from arteriole into the cells.
The same happens in the lungs, only that the diffusion happens from lungs into the blood.
Since only the partial pressure is relevant scuba divers can breathe an air mix with only 1% oxygen when breathing it under high pressure (e.g 21 bars =200m depth) resulting in a partial pressure of oxygen of 0.21 bars which is very similar to what we have on the surface of the earth.
> [!Important]- Carbon Monoxide (CO) Toxicity
> Carbon Monoxide (CO) is a colorless and odorless gas. Carbon Monoxide poisoning occurs when CO reacts with haemoglobin at the site of oxygen binding. Haemoglobin has an affinity for CO that is 210x greater than its affinity for oxygen. This means that once carbon monoxide binds to haemoglobin, it is **irreversible.**
> Symptoms of CO poisoning are headache, nausea and tiredness. Interestingly, respiration rate is usually spared as the partial pressure of oxygen dissolved in the blood is maintained at normal levels. Haemoglobin bound to CO has a **cherry-red colour** and this may be visible in nails beds and mucous membranes of patients with CO poisoning. Treatment is with 100% oxygen and referral for **hyperbaric oxygen** treatment. CO poisoning is considered **fatal** when 70-80% of haemoglobin is bound with carbon monoxide

45
Temporary/Untitled.md Normal file
View File

@@ -0,0 +1,45 @@
---
title: The 7 Habits of Highly Effective People by Stephen Covey
created_date: 2024-11-22
updated_date: 2024-11-22
aliases:
tags:
- book
type: book
book_name: The 7 Habits of Highly Effective People
author: Stephen Covey
status: not_started
---
# The 7 Habits of Highly Effective People by Stephen Covey
- **🏷Tags** : #11-2024 #book
---
## Summary
> [!summary] Summary
> 3 Sentences only!
> - What are the main ideas?
> - If I implemented one idea from this book right now, which one would it be?
> - How would I describe the book to someone else?
---
## Ideas and Thoughts
> [!info]+ Inspiring Questions
> - Did you think about other concepts from other books?
> - Do the concepts fit to your past, to your memories?
> - Can you relive them and reflect them from a different angle?
---
## Clippings
> [!info] Import Clippings from Kindle
> Annotate Clippings with thoughts and cross references
---
```query
The 7 Habits of Highly Effective People Stephen Covey
-file: "The 7 Habits of Highly Effective People by Stephen Covey.md"
```

View File

View File

@@ -0,0 +1,3 @@
---
Aliases: [ "#plan/outdoor/übernachten" ]
---