diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-07 10:31:19 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-07 10:31:19 +0300 |
| commit | 648d879f1f62488273b6c9679a57ab41d3036244 (patch) | |
| tree | e4bcc9883bbc5a693e1c94a5528ea6cec8407780 /gemfeed | |
| parent | e379f79f188a6623a59371d5125e7605603aee17 (diff) | |
Update content for md
Diffstat (limited to 'gemfeed')
12 files changed, 195 insertions, 0 deletions
diff --git a/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.md b/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.md index 1d8974cd..e8c2906b 100644 --- a/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.md +++ b/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.md @@ -80,6 +80,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2023-04-01-never-split-the-difference-book-notes.md b/gemfeed/2023-04-01-never-split-the-difference-book-notes.md index 72a18bf9..27b50215 100644 --- a/gemfeed/2023-04-01-never-split-the-difference-book-notes.md +++ b/gemfeed/2023-04-01-never-split-the-difference-book-notes.md @@ -139,6 +139,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.md b/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.md index 1b21560c..1673faf2 100644 --- a/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.md +++ b/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.md @@ -100,6 +100,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.md b/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.md index 0d6827b8..038c0e4d 100644 --- a/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.md +++ b/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.md @@ -308,6 +308,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2023-11-11-mind-management-book-notes.md b/gemfeed/2023-11-11-mind-management-book-notes.md index 821a1efc..62c45b04 100644 --- a/gemfeed/2023-11-11-mind-management-book-notes.md +++ b/gemfeed/2023-11-11-mind-management-book-notes.md @@ -110,6 +110,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2024-05-01-slow-productivity-book-notes.md b/gemfeed/2024-05-01-slow-productivity-book-notes.md index d9cc4e00..2309ef9a 100644 --- a/gemfeed/2024-05-01-slow-productivity-book-notes.md +++ b/gemfeed/2024-05-01-slow-productivity-book-notes.md @@ -138,6 +138,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.md b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.md index 4a8db81b..d5be6d1f 100644 --- a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.md +++ b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.md @@ -57,6 +57,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes (You are currently reading this)](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2024-10-24-staff-engineer-book-notes.md b/gemfeed/2024-10-24-staff-engineer-book-notes.md index 819d6c80..5cfe3b73 100644 --- a/gemfeed/2024-10-24-staff-engineer-book-notes.md +++ b/gemfeed/2024-10-24-staff-engineer-book-notes.md @@ -121,6 +121,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes (You are currently reading this)](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2025-04-19-when-book-notes.md b/gemfeed/2025-04-19-when-book-notes.md index 3c52329b..bbb71ca0 100644 --- a/gemfeed/2025-04-19-when-book-notes.md +++ b/gemfeed/2025-04-19-when-book-notes.md @@ -99,6 +99,7 @@ E-Mail your comments to `paul@nospam.buetow.org` :-) Other book notes of mine are: +[2025-06-07 "A Monk's Guide to Happiness" book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-04-19 "When: The Scientific Secrets of Perfect Timing" book notes (You are currently reading this)](./2025-04-19-when-book-notes.md) [2024-10-24 "Staff Engineer" book notes](./2024-10-24-staff-engineer-book-notes.md) [2024-07-07 "The Stoic Challenge" book notes](./2024-07-07-the-stoic-challenge-book-notes.md) diff --git a/gemfeed/2025-06-07-a-monks-guide-to-happiness-book-notes.md b/gemfeed/2025-06-07-a-monks-guide-to-happiness-book-notes.md new file mode 100644 index 00000000..378aad9b --- /dev/null +++ b/gemfeed/2025-06-07-a-monks-guide-to-happiness-book-notes.md @@ -0,0 +1,80 @@ +# "A Monk's Guide to Happiness" book notes + +> Published at 2025-06-07T10:30:11+03:00 + +These are my personal book notes from Gelong Thubten's "A Monk's Guide to Happiness: Meditation in the 21st century." They are for my own reference, but I hope they might be useful to you as well. + +## Table of Contents + +* [⇢ "A Monk's Guide to Happiness" book notes](#a-monk-s-guide-to-happiness-book-notes) +* [⇢ ⇢ Understanding Happiness](#understanding-happiness) +* [⇢ ⇢ The Role of Meditation](#the-role-of-meditation) +* [⇢ ⇢ Managing Thoughts and Emotions](#managing-thoughts-and-emotions) +* [⇢ ⇢ Practice and Discipline](#practice-and-discipline) +* [⇢ ⇢ Perspectives on Relationships and Interactions](#perspectives-on-relationships-and-interactions) +* [⇢ ⇢ Reflective Questions](#reflective-questions) +* [⇢ ⇢ Miscellaneous Guidelines](#miscellaneous-guidelines) + +## Understanding Happiness + +* Happiness is a skill we can train. +* Happiness is not about accomplishing goals, as that would be in the future. +* Feel free now. No urge about past and future. +* We can learn to produce our own happiness independently of physical needs. When we walk in a park, how do we feel? We can train to reproduce that feeling independently. + +## The Role of Meditation + +* Meditation is not about clearing your mind. A busy mind has nothing to do with interfering with your meditation. +* Our problem is that we need to detect that awareness. Meditation connects us with awareness. Awareness is freedom. +* We can let the mind be and don't care about the thoughts. It will have benefits for your life. It will protect you from all kinds of stress. +* Better meditate with open eyes so you don't associate it with the dark. You will also be able to be in a meditation state of mind outside of the meditation session. +* Have a baseline for time to build up discipline. +* We don't need to do anything about stress, just take a step back. + +## Managing Thoughts and Emotions + +* Our flow of emotions is really just habits. That can be changed through training, e.g., meditation training. +* A part of the mind recognises that we are sad or angry. That part is not sad or angry by itself, obviously. So we can escape to that part of the mind, be the observer, and not draw in the constant flow of emotions and thoughts. +* Let the front and back doors of your house open, and let the thoughts come in and leave. Just don't serve them tea. This once said, a great Zen master. +* Thoughts are friends and not enemies. +* Thoughts help the meditation as they make us notice that we wandered off, and therefore, we strengthen the reflection. + +## Practice and Discipline + +* The importance of habits to practice mindfulness. Bring mindfulness into the daily practice. +* Integrating short moments of mindfulness during the day is the fast track to happiness. Start off with small tasks, e.g. while washing your hands. +* Have many small doses of mindfulness and don't prolong as otherwise, your mind will revolt. +* Have a small moment of mindfulness when you wake up and go to sleep. +* Practice staying fully present in an uncomfortable situation and without judgement. +* Don't become two persons who never meet: the meditator and the not meditator. So integrate mindfulness during the day too. + +## Perspectives on Relationships and Interactions + +* Who is the opponent? The other person. The things he said or our reactions to things? Forgiveness is a high form of compassion. +* Understand the suffering of the person who "hurt" us. Where is the aggressor really coming from? +* People who are stressed or unhappy do and say things they wouldn't have said have done otherwise. Acting under anger is like being influenced by alcohol. +* People don't have a masterplan to destroy others, even if it seems so. They are under strong bad influence by themselves. Something terrible happened to them. Revenge makes no sense. +* Be grateful for people "trying" to hurt you as they help you to practice your path. + +## Reflective Questions + +* Why do I do all the things I do? What do I try to achieve? +* What am I doing about that? +* Is it working? +* What are the real causes of happiness and suffering? +* What about meditation? How does that address the situation? + +## Miscellaneous Guidelines + +* Posture is important as the mind and body are connected. +* Don't use music, so you don't rely on music to change your state of mind. Similar regular guided meditation. Guided meditation is good for learning a technique, but you should not rely on another voice. +* You are not trying to relax. Relaxing and trying are two different things. +* When you love everything, even the bad things happening to you, then you are invincible. +* Happiness is all in your mind. As if you flip a switch there. +* Digging for answers will never end. It will always cause more material to dig. + +If happiness is a mental issue. Clearly, the best time is spent training your mind in your free time and don't always be busy with other things. E.g. meditation, or think about the benefits of meditation. All that we do in our free time is search for happiness. Are the things we do actually working? There is always something around the corner... + +E-Mail your comments to `paul@nospam.buetow.org` :-) + +[Back to the main site](../) diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.md b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.md index 81be255d..32783a47 100644 --- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.md +++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.md @@ -19,6 +19,7 @@ This is the sixth blog post about the f3s series for self-hosting demands in a h * [⇢ ⇢ UFS Setup](#ufs-setup) * [⇢ ⇢ ZFS Setup](#zfs-setup) * [⇢ ⇢ ⇢ Encryption](#encryption) +* [⇢ ⇢ HAST](#hast) ## Introduction @@ -185,6 +186,108 @@ config: errors: No known data errors ``` +## HAST + +``` +doas zpool export zdata + +paul@f0:/etc/rc.d % cat /etc/hast.conf +resource storage { + on f0 { + local /dev/ada1 + remote 192.168.1.130 + } + on f1 { + local /dev/ada1 + remote 192.168.1.131 + } +} + +paul@f0:/etc/rc.d % doas hastctl create storage +paul@f0:/etc/rc.d % doas hastctl role primary storage +paul@f0:/etc/rc.d % doas service hastd onestart +Starting hastd. + +paul@f1:/etc/rc.d % doas hastctl create storage +paul@f1:/etc/rc.d % doas hastctl role secondary storage +paul@f1:/etc/rc.d % doas service hastd onestart +Starting hastd. + + +paul@f0:/var/log % doas hastctl status +Name Status Role Components +storage complete primary /dev/ada1 192.168.1.131 + +paul@f1:/var/log % doas hastctl status +Name Status Role Components +storage complete secondary /dev/ada1 192.168.1.130 + + + +paul@f0:/dev/hast % ls -l /dev/hast/storage +crw-r----- 1 root operator 0x83 Jun 6 00:08 /dev/hast/storage + +paul@f0:/dev/hast % doas zpool create -m /zhast zhast /dev/hast/storage +paul@f0:/dev/hast % doas zpool status zhast + pool: zhast + state: ONLINE +config: + + NAME STATE READ WRITE CKSUM + zhast ONLINE 0 0 0 + hast/storage ONLINE 0 0 0 + +errors: No known data errors +paul@f0:/dev/hast % doas zpool list +NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT +zhast 928G 420K 928G - - 0% 0% 1.00x ONLINE - +zroot 472G 21.0G 451G - - 0% 4% 1.00x ONLINE -``` + + +paul@f0:/dev/hast % doas openssl rand -out /keys/zhast.key 32 +paul@f0:/dev/hast % doas zfs create -o encryption=on -o keyformat=raw -o keylocation=file:///keys/zhast.key zhast/enc +paul@f0:/data/enc % zfs list | grep hast +zhast 764K 899G 96K /zhast +zhast/enc 200K 899G 200K /zhast/enc + +... copying the key to f1 + + +paul@f1:/var/log % doas hastctl list +storage: + role: secondary + provname: storage + localpath: /dev/ada1 + extentsize: 2097152 (2.0MB) + keepdirty: 0 + remoteaddr: 192.168.1.130 + replication: memsync + status: complete + workerpid: 2546 + dirty: 0 (0B) + statistics: + reads: 0 + writes: 26 + deletes: 0 + flushes: 0 + activemap updates: 0 + local errors: read: 0, write: 0, delete: 0, flush: 0 + queues: local: 0, send: 0, recv: 0, done: 0, idle: 255 + + + + + +paul@f1:/var/log % zfs get all zhast/enc | grep -E '(encryption|key)' +zhast/enc encryption aes-256-gcm - +zhast/enc keylocation file:///keys/zhast.key local +zhast/enc keyformat raw - +zhast/enc encryptionroot zhast/enc - +zhast/enc keystatus unavailable - + +root@f0:/zhast/enc # sysrc hastd_enable=YES +hastd_enable: NO -> YES + ZFS auto scrubbing....~? @@ -206,3 +309,5 @@ Other *BSD-related posts: E-Mail your comments to `paul@nospam.buetow.org` [Back to the main site](../) + +https://forums.freebsd.org/threads/hast-and-zfs-with-carp-failover.29639/ diff --git a/gemfeed/index.md b/gemfeed/index.md index 8aeffc60..9d8cda43 100644 --- a/gemfeed/index.md +++ b/gemfeed/index.md @@ -2,6 +2,7 @@ ## To be in the .zone! +[2025-06-07 - 'A Monk's Guide to Happiness' book notes](./2025-06-07-a-monks-guide-to-happiness-book-notes.md) [2025-05-11 - f3s: Kubernetes with FreeBSD - Part 5: WireGuard mesh network](./2025-05-11-f3s-kubernetes-with-freebsd-part-5.md) [2025-05-02 - Terminal multiplexing with `tmux` - Fish edition](./2025-05-02-terminal-multiplexing-with-tmux-fish-edition.md) [2025-04-19 - 'When: The Scientific Secrets of Perfect Timing' book notes](./2025-04-19-when-book-notes.md) |
