commit 02782b5256c3d8144eb5248f75374abe5b4e7618
parent 7fd8a5e43f27e39cc419814e56f01f9d24294464
Author: ling0x <ling0x@users.noreply.github.com>
Date: Tue, 23 Jun 2026 10:05:15 +0100
notes
Diffstat:
4 files changed, 266 insertions(+), 16 deletions(-)
diff --git a/commands/grep_and_ripgrep.txt b/commands/grep_and_ripgrep.txt
@@ -0,0 +1,12 @@
+Grep and Ripgrep
+
+Ripgrep is several magnitude faster than grep:
+
+- This command searches for the word "TODO" in current directory without recursion:
+
+rg "TODO"
+
+- This command lists all symlinks in current directory:
+
+ls -la | grep "^l"
+
diff --git a/commands/llama-cpp.txt b/commands/llama-cpp.txt
@@ -7,3 +7,14 @@ Optimizations:
- Use -ngl 32 for GPU offloading (NVIDIA/AMD)
- Use -rl 2048 for context window
- Use --threads [number of physical cores]
+
+====================================================================
+Commands:
+
+Run on NVIDIA GPU without reasoning:
+
+./build/bin/llama-server -hf unsloth/gemma-4-12b-it-GGUF -ngl 999 -c 32768 --host 0.0.0.0 --port 9090 --reasoning off
+
+Run on CPU only without reasoning:
+
+./build/bin/llama-server -hf unsloth/gemma-4-12b-it-GGUF -c 32768 --host 0.0.0.0 --port 9090 --reasoning off
diff --git a/health/biomarkers.txt b/health/biomarkers.txt
@@ -1,8 +1,8 @@
Biomarkers
---------------------------------
+=================================
Heart & Circulation
---------------------------------
+=================================
LDL Cholesterol
@@ -22,12 +22,219 @@ TC: HDL Ratio
Tryglycerides
--------------------------------
+================================
Inflamation & Recovery
--------------------------------
+================================
Uric Acid
+----------------------------------------------------------------
Creatine Kinase
+----------------------------------------------------------------
-C-Reactive Protein
-\ No newline at end of file
+C-Reactive Protein
+----------------------------------------------------------------
+
+===============================
+Vitamins & Minerals
+===============================
+
+Active Vitamin B12
+----------------------------------------------------------------
+
+Zinc
+----------------------------------------------------------------
+
+Copper
+----------------------------------------------------------------
+
+Vitamin D
+----------------------------------------------------------------
+
+Folate
+----------------------------------------------------------------
+
+Magnesium Serum
+----------------------------------------------------------------
+
+===============================
+Blood Sugar Balance
+===============================
+
+Haemoglobin A1c
+----------------------------------------------------------------
+
+===============================
+Liver & Detox
+===============================
+
+Total Bilirubin
+----------------------------------------------------------------
+Total bilirubin measures the amount of bilirubin in the blood, a substance produced during the normal breakdown of red blood cells. Bilirubin is processed by the liver and prepared for elimination through bile. Measuring total bilirubin helps assess red blood cell turnover, liver processing capacity, and bile flow, providing insight into overall liver and metabolic function.
+
+What a high result means
+Higher bilirubin levels may reflect slowed liver processing, increased red blood cell breakdown, impaired bile flow, or inherited variations such as Gilbert's syndrome , many of which are benign and asymptomatic.
+
+What a low result means
+Lower bilirubin levels are common and generally carry no clinical concern, indicating efficient processing and elimination.
+
+Globulin
+----------------------------------------------------------------
+
+Total Protein
+----------------------------------------------------------------
+
+Alanine Aminotransferase
+----------------------------------------------------------------
+
+Y-Glutamyl Transferase
+----------------------------------------------------------------
+
+Albumin
+----------------------------------------------------------------
+
+Alkaline Phosphatase
+----------------------------------------------------------------
+
+===============================
+Kidneys & Hydration
+===============================
+
+Blood Urea Nitrogen
+----------------------------------------------------------------
+BUN reflects how your body processes and clears urea, a natural waste product created when protein is broken down. Urea is produced by the liver and carried in the blood to the kidneys, where it is filtered and removed from the body. Measuring BUN helps provide insight into hydration status, protein intake, and how efficiently the kidneys are working.
+
+What a high result means
+Higher BUN levels may suggest that your body is slightly dehydrated, concentrating the waste in your bloodstream. They may also reflect increased protein intake, corticosteroid use, digestive blood loss, or a temporary reduction in kidney filtration, for example, during illness or after strenuous exertion.
+
+What a low result means
+Lower BUN levels may reflect low dietary protein intake, pregnancy, fluid overload, or reduced production by the liver.
+
+
+Creatinine
+----------------------------------------------------------------
+
+Estimated Glomerular Filtration Rate
+----------------------------------------------------------------
+
+================================
+Hormones & Energy
+================================
+
+Lutenizing Hormone
+----------------------------------------------------------------
+LH works alongside FSH to support ovarian function. It helps signal key ovarian processes, including ovulation and progesterone production, and its levels adjust in response to feedback from oestrogen and progesterone. This feedback loop helps regulate hormonal balance across different life stages.
+
+What a high result means
+Higher LH levels are commonly seen when ovarian responsiveness is reduced, such as during perimenopause or menopause, or in certain endocrine patterns characterised by increased LH secretion.
+
+What a low result means
+Lower LH typically reflects central suppression by the hypothalamus or pituitary, often influenced by factors such as stress, illness, low energy availability, or higher circulating sex hormone levels.
+
+
+Oestradiol
+----------------------------------------------------------------
+Oestradiol is the primary and most biologically active form of oestrogen, supporting bone density, cardiovascular and metabolic health, brain function, and mood regulation. Measuring oestradiol helps assess hormonal balance and provides insight into how oestrogen is influencing overall physiological function.
+
+What a high result means
+Higher oestradiol levels may be seen during pregnancy, with hormone therapy, or with increased hormone production by the ovaries or adrenal glands. Elevated oestradiol may also occur when liver clearance is slowed.
+
+What a low result means
+Lower oestradiol levels typically occur during perimenopause and menopause, with primary ovarian insufficiency, or when brain signalling to the ovaries is reduced. Levels may also drop with low energy availability, significant physiological stress, or sustained high exercise load.
+
+
+Free Triiodothyronine
+----------------------------------------------------------------
+FT3 reflects the unbound, active thyroid hormone (T3) that directly influences metabolic activity, including energy production, body temperature regulation, heart rate, and mental clarity. T3 levels depend both on how much T4 the thyroid produces and how efficiently the body converts T4 into T3.
+
+What a high result means
+Higher FT3 reflects increased thyroid hormone activity, which may be seen in hyperthyroid states, thyroid hormone over-replacement, or periods of increased conversion.
+
+What a low result means
+Lower FT3 often reflects reduced conversion of T4 to T3, which can occur with calorie restriction, chronic illness, stress, inflammation, or hypothyroidism. Because this conversion process is energy- and nutrient-dependent, FT3 is particularly sensitive to lifestyle factors and recovery capacity.
+
+
+Progesterone
+----------------------------------------------------------------
+Progesterone is a hormone that supports reproductive tissue health and helps balance the effects of oestrogen. It also plays a role in regulating sleep, mood, and nervous system stability. Progesterone levels change in response to hormonal signals and vary across different life stages, and measuring progesterone helps provide insight into overall hormonal balance.
+
+What a high result means
+Higher progesterone levels are expected during certain hormonal states, such as the second half of the menstrual cycle. They can also be seen with progesterone-containing hormone therapies, or less commonly when progesterone production is increased by the ovaries or adrenal glands.
+
+What a low result means
+Lower progesterone levels may reflect reduced ovarian progesterone production, altered ovulatory signalling, or suppression related to stress or low energy availability.
+
+
+Follicle-Stimulating Hormone
+----------------------------------------------------------------
+FSH is released by the pituitary gland and helps regulate ovarian activity across different life stages. Its levels rise or fall depending on how the ovaries respond to hormonal signals, making it a useful marker of hormonal balance and overall ovarian function.
+
+What a high result means
+Higher levels typically occur when reproductive organs are less responsive to pituitary signalling, commonly during perimenopause or menopause, or in cases of primary ovarian insufficiency.
+
+What a low result means
+Lower FSH often reflects suppression at the brain level due to stress, undernutrition, overexercise, illness, or elevated circulating sex hormones providing negative feedback that slows FSH release.
+
+
+Free Thyroxine
+----------------------------------------------------------------
+FT4 measures the amount of unbound thyroxine (T4) circulating in the blood and available to tissues. T4 is the main hormone produced by the thyroid gland, which helps regulate metabolism, energy production, body temperature, and how efficiently cells use fuel. Measuring FT4 helps assess thyroid hormone production and provides important context alongside other thyroid markers to understand overall thyroid function.
+
+What a high result means
+Higher FT4 indicates increased circulating thyroid hormone. This may be due to hyperthyroidism, thyroiditis, or exogenous thyroid hormone use such as levothyroxine.
+
+What a low result means
+Lower FT4 suggests reduced thyroid hormone production, providing meaningful insight into hypothyroid states, especially when levels fall alongside elevated TSH.
+
+
+Thyroid-Stimulating Hormone
+----------------------------------------------------------------
+TSH is produced by the pituitary gland and regulates thyroid hormone production. When circulating thyroid hormones fall, TSH rises to stimulate production; when hormones rise, TSH falls to slow the system down. Measuring TSH helps us understand this feedback loop and whether the thyroid is being asked to work harder or ease off.
+
+What a high result means
+Higher TSH typically indicates reduced thyroid hormone output, prompting the brain to send stronger signals. This may reflect early or established hypothyroid patterns, autoimmune thyroid disease, iodine deficiency, or medication effects.
+
+What a low result means
+Lower TSH suggests increased thyroid hormone activity or pituitary signalling suppression. This may occur in hyperthyroidism, during thyroid hormone overtreatment, or transiently with non-thyroidal illness or physiological stress.
+
+
+================================
+Iron & Oxygen
+================================
+
+Ferritin
+----------------------------------------------------------------
+Ferritin is the body's main iron storage protein, releasing iron
+when needed for red blood cell production, energy metabolism,
+and tissue repair. A serum iron test shows how much iron is
+present in the bloodstream at a given moment, whereas ferritin
+reflects the body's iron reserves available for use over time.
+
+What a high result means
+Higher ferritin more commonly reflects inflammation or metabolic
+stress rather than iron excess. Liver health, metabolic syndrome,
+infection, and autoimmune activity can raise ferritin. In fewer
+cases, high ferritin may indicate tissue iron overload.
+
+What a low result means
+Lower ferritin indicates depleted iron stores and is the earliest
+and most specific marker of iron deficiency. This may result from
+inadequate intake, menstrual loss, gastrointestinal bleeding,
+or increased demands such as athletic training or pregnancy.
+
+
+Iron
+----------------------------------------------------------------
+Serum iron measures the amount of iron circulating in the blood,
+which is used for red blood cell production, energy metabolism,
+and many cellular processes. Because serum iron levels can
+fluctuate throughout the day and are influenced by recent food
+intake, testing serum iron alongside ferritin provides a more
+complete picture of iron status by reflecting both short-term
+availability and longer-term iron stores.
+
+What a high result means
+Higher serum iron levels may reflect supplementation, increased release of iron from stores, or reduced incorporation of iron into red blood cells. Elevated levels can also accompany liver conditions or inherited iron-handling conditions.
+
+What a low result means
+Lower serum iron levels suggest reduced iron availability, which may result from inadequate intake or absorption, menstrual losses, low vitamin C intake, or chronic inflammatory states reducing iron mobilisation.
+\ No newline at end of file
diff --git a/machine_learning/concepts.txt b/machine_learning/concepts.txt
@@ -1,24 +1,33 @@
-# Concepts
-
-## ONNX
+==========================================
+ONNX
+==========================================
Machine learning data are often stored in `.onnx` format
[ONNX Documentation](https://onnx.ai/onnx/index.html)
-## Image processing kernal
+
+==========================================
+Image processing kernal
+==========================================
They are basically matrices
[Image processing kernel](https://en.wikipedia.org/wiki/Kernel_(image_processing))
-## VAE (Variational autoencoder)
+
+==========================================
+VAE (Variational autoencoder)
+==========================================
https://en.wikipedia.org/wiki/Variational_autoencoder
Input -> Encoder -> Latent Space -> Decoder -> Output
-## Vector database
+
+==========================================
+Vector database
+==========================================
The vector set of 3D models is the same as the vector database
@@ -29,15 +38,16 @@ trig to calculate how alike two objects are:
such as Cosine Similarity
-```
Sim(A,B) = cos(θ) = A ⋅ B / ||A|| ||B||
-```
so when we convert meshes to vectors it enables us to classify different meshes.
It's a sequence of simple steps pipelined into each other.
-## Loss function
+
+==========================================
+Loss function
+==========================================
AI is essentially taking small steps to make a small loss function:
@@ -48,6 +58,16 @@ function gets larger the more drag, so the AI takes steps to alter the
parameters to reduce the drag, but we can also make other loss functions for
anything, like architecture, etc.
-## AB-UPT released by Emmi AI
+
+==========================================
+AB-UPT released by Emmi AI
+==========================================
https://www.emmi.ai/news/ab-upt-scaling-neural-surrogates-100m-cfd-meshes
+
+
+==========================================
+Neural Operators
+==========================================
+
+https://en.wikipedia.org/wiki/Neural_operators