From 151af16a6ef97eb42f495a9355e43e2fd87f8d37 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 30 Dec 2024 00:06:05 +0200 Subject: Update content for gemtext --- .../2024-07-07-the-stoic-challenge-book-notes.gmi | 4 +- gemfeed/DRAFT-summary-for-202410-202411-202410.gmi | 311 +++++ .../DRAFT-summary-for-202410-202411-202410.gmi.tpl | 263 ++++ gemfeed/atom.xml | 1400 ++++++++++---------- 4 files changed, 1276 insertions(+), 702 deletions(-) create mode 100644 gemfeed/DRAFT-summary-for-202410-202411-202410.gmi create mode 100644 gemfeed/DRAFT-summary-for-202410-202411-202410.gmi.tpl (limited to 'gemfeed') diff --git a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.gmi b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.gmi index 020bdecc..80fd0118 100644 --- a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.gmi +++ b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.gmi @@ -19,11 +19,11 @@ These are my personal takeaways after reading "The Stoic Challenge: A Philosoph ## Table of Contents * ⇢ "The Stoic Challenge" book notes -* ⇢ ⇢ Got sets you up for a challenge +* ⇢ ⇢ God sets you up for a challenge * ⇢ ⇢ Negative visualization * ⇢ ⇢ Oh, nice trick, you stoic "god"! ;-) -## Got sets you up for a challenge +## God sets you up for a challenge Gods set you up for a challenge to see how resilient you are. Is getting angry worth the price? If you stay calm then you can find the optimal workaround for the obstacle. Stay calm even with big setbacks. Practice minimalism of negative emotions. diff --git a/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi b/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi new file mode 100644 index 00000000..9612612a --- /dev/null +++ b/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi @@ -0,0 +1,311 @@ +# Summary for 202410 202411 202412 + +## Table of Contents + +* ⇢ Summary for 202410 202411 202412 +* ⇢ ⇢ October 2024 +* ⇢ ⇢ ⇢ First on-call experience in a startup. Doesn't ... +* ⇢ ⇢ ⇢ Reviewing your own PR or MR before asking ... +* ⇢ ⇢ ⇢ Fun with defer in ` ⇢golang`, I did't know, that ... +* ⇢ ⇢ ⇢ I have been in incidents. Understandably, ... +* ⇢ ⇢ ⇢ Little tips using strings in ` ⇢golang` and I ... +* ⇢ ⇢ ⇢ Reading this post about ` ⇢rust` (especially the ... +* ⇢ ⇢ ⇢ The opposite of ` ⇢ChaosMonkey` ... ... +* ⇢ ⇢ November 2024 +* ⇢ ⇢ ⇢ I just became a Silver Patreon for OSnews. What ... +* ⇢ ⇢ ⇢ Until now, I wasn't aware, that Go is under a ... +* ⇢ ⇢ ⇢ These are some book notes from "Staff Engineer" ... +* ⇢ ⇢ ⇢ Looking at ` ⇢Kubernetes`, it's pretty much ... +* ⇢ ⇢ ⇢ There has been an outage at the upstream ... +* ⇢ ⇢ ⇢ One of the more confusing parts in Go, nil ... +* ⇢ ⇢ ⇢ Agreeably, writing down with Diagrams helps you ... +* ⇢ ⇢ ⇢ I like the idea of types in Ruby. Raku is ... +* ⇢ ⇢ ⇢ So, ` ⇢Haskell` is better suited for general ... +* ⇢ ⇢ ⇢ At first, functional options add a bit of ... +* ⇢ ⇢ ⇢ Revamping my home lab a little bit. ` ⇢freebsd` ... +* ⇢ ⇢ ⇢ Revamping my home lab a little bit. ` ⇢freebsd` ... +* ⇢ ⇢ ⇢ Wondering to which ` ⇢web` ` ⇢browser` I should ... +* ⇢ ⇢ ⇢ eks-node-viewer is a nifty tool, showing the ... +* ⇢ ⇢ ⇢ Have put more Photos on - On my static photo ... +* ⇢ ⇢ ⇢ In Go, passing pointers are not automatically ... +* ⇢ ⇢ ⇢ Myself being part of an on-call rotations over ... +* ⇢ ⇢ ⇢ Feels good to code in my old love ` ⇢Perl` again ... +* ⇢ ⇢ ⇢ This is an interactive summary of the Go ... +* ⇢ ⇢ December 2024 +* ⇢ ⇢ ⇢ Thats unexpected, you cant remove a NaN key ... +* ⇢ ⇢ ⇢ My second blog post about revamping my home lab ... +* ⇢ ⇢ ⇢ Very insightful article about tech hiring in ... +* ⇢ ⇢ ⇢ for ` ⇢bpf` ` ⇢ebpf` performance debugging, have ... +* ⇢ ⇢ ⇢ 89 things he/she knows about Git commits is a ... +* ⇢ ⇢ ⇢ I found that working on multiple side projects ... +* ⇢ ⇢ ⇢ Agreed? Agreed. Besides ` ⇢Ruby`, I would also ... +* ⇢ ⇢ ⇢ Plan9 assembly format in Go, but wait, it's not ... +* ⇢ ⇢ ⇢ This is a neat blog post about the Helix text ... +* ⇢ ⇢ ⇢ This blog post is basically a rant against ... +* ⇢ ⇢ ⇢ Quick trick to get Helix themes selected ... +* ⇢ ⇢ ⇢ Example where complexity attacks you from ... +* ⇢ ⇢ ⇢ LLMs for Ops? Summaries of logs, probabilities ... +* ⇢ ⇢ ⇢ Excellent article about your dream Product ... +* ⇢ ⇢ ⇢ I just finished reading all chapters of CPU ... +* ⇢ ⇢ ⇢ Indeed, useful to know this stuff! ` ⇢sre` ... +* ⇢ ⇢ ⇢ It's the small things, which make Unix like ... + +## October 2024 + +### First on-call experience in a startup. Doesn't ... + +First on-call experience in a startup. Doesn't sound a lot of fun! But the lessons were learned! `#sre` + +=> https://ntietz.com/blog/lessons-from-my-first-on-call/ + +### Reviewing your own PR or MR before asking ... + +Reviewing your own PR or MR before asking others to review it makes a lot of sense. Have seen so many silly mistakes which would have been avoided. Saving time for the real reviewer. + +=> https://www.jvt.me/posts/2019/01/12/self-code-review/ + +### Fun with defer in `#golang`, I did't know, that ... + +Fun with defer in `#golang`, I did't know, that a defer object can either be heap or stack allocated. And there are some rules for inlining, too. + +=> https://victoriametrics.com/blog/defer-in-go/ + +### I have been in incidents. Understandably, ... + +I have been in incidents. Understandably, everyone wants the issue to be resolved as quickly and others want to know how long TTR will be. IMHO, providing no estimates at all is no solution either. So maybe give a rough estimate but clearly communicate that the estimate is rough and that X, Y, and Z can interfere, meaning there is a chance it will take longer to resolve the incident. Just my thought. What's yours? + +=> https://firehydrant.com/blog/hot-take-dont-provide-incident-resolution-estimates/ https://firehydrant.com/blog/hot-...de-incident-resolution-estimates/ + +### Little tips using strings in `#golang` and I ... + +Little tips using strings in `#golang` and I personally think one must look more into the std lib (not just for strings, also for slices, maps,...), there are tons of useful helper functions. + +=> https://www.calhoun.io/6-tips-for-using-strings-in-go/ + +### Reading this post about `#rust` (especially the ... + +Reading this post about `#rust` (especially the first part), I think I made a good choice in deciding to dive into `#golang` instead. There was a point where I wanted to learn a new programming language, and Rust was on my list of choices. I think the Go project does a much better job of deciding what goes into the language and how. What are your thoughts? + +=> https://josephg.com/blog/rewriting-rust/ + +### The opposite of `#ChaosMonkey` ... ... + +The opposite of `#ChaosMonkey` ... automatically repairing and healing services helping to reduce manual toil work. Runbooks and scripts are only the first step, followed by a fully blown service written in Go. Could be useful, but IMHO why not rather address the root causes of the manual toil work? `#sre` + +=> https://blog.cloudflare.com/nl-nl/improving-platform-resilience-at-cloudflare/ https://blog.cloudflare.com/nl-nl...latform-resilience-at-cloudflare/ + +## November 2024 + +### I just became a Silver Patreon for OSnews. What ... + +I just became a Silver Patreon for OSnews. What is OSnews? It is an independent news site about IT. It is slightly independent and, at times, alternative. I have enjoyed it since my early student days. This one and other projects I financially support are listed here: + +=> https://foo.zone/gemfeed/2024-09-07-projects-i-support.html + +### Until now, I wasn't aware, that Go is under a ... + +Until now, I wasn't aware, that Go is under a BSD-style license (3-clause as it seems). Neat. I don't know why, but I always was under the impression it would be MIT. `#bsd` `#golang` + +=> https://go.dev/LICENSE + +### These are some book notes from "Staff Engineer" ... + +These are some book notes from "Staff Engineer" – there is some really good insight into what is expected from a Staff Engineer and beyond in the industry. I wish I had read the book earlier. + +=> https://foo.zone/gemfeed/2024-10-24-staff-engineer-book-notes.html + +### Looking at `#Kubernetes`, it's pretty much ... + +Looking at `#Kubernetes`, it's pretty much following the Unix way of doing things. It has many tools, but each tool has its own single purpose: DNS, scheduling, container runtime, various controllers, networking, observability, alerting, and more services in the control plane. Everything is managed by different services or plugins, mostly running in their dedicated pods. They don't communicate through pipes, but network sockets, though. `#k8s` + +### There has been an outage at the upstream ... + +There has been an outage at the upstream network provider for OpenBSD.Amsterdam (hoster, I am using). This was the first real-world test for my KISS HA setup, and it worked flawlessly! All my sites and services failed over automatically to my other `#OpenBSD` VM! + +=> https://foo.zone/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html https://foo.zone/gemfeed/2024-04-...gh-availability-with-OpenBSD.html +=> https://openbsd.amsterdam/ + +### One of the more confusing parts in Go, nil ... + +One of the more confusing parts in Go, nil values vs nil errors: `#golang` + +=> https://unexpected-go.com/nil-errors-that-are-non-nil-errors.html + +### Agreeably, writing down with Diagrams helps you ... + +Agreeably, writing down with Diagrams helps you to think things more through. And keeps others on the same page. Only worth for projects from a certain size, IMHO. + +=> https://ntietz.com/blog/reasons-to-write-design-docs/ + +### I like the idea of types in Ruby. Raku is ... + +I like the idea of types in Ruby. Raku is supports that already, but in Ruby, you must specify the types in a separate .rbs file, which is, in my opinion, cumbersome and is a reason not to use it extensively for now. I believe there are efforts to embed the type information in the standard .rb files, and that the .rbs is just an experiment to see how types could work out without introducing changes into the core Ruby language itself right now? `#Ruby` `#RakuLang` + +=> https://github.com/ruby/rbs + +### So, `#Haskell` is better suited for general ... + +So, `#Haskell` is better suited for general purpose than `#Rust`? I thought deploying something in Haskell means publishing an academic paper :-) Interesting rant about Rust, though: + +=> https://chrisdone.com/posts/rust/ + +### At first, functional options add a bit of ... + +At first, functional options add a bit of boilerplate, but they turn out to be quite neat, especially when you have very long parameter lists that need to be made neat and tidy. `#golang` + +=> https://www.calhoun.io/using-functional-options-instead-of-method-chaining-in-go/ https://www.calhoun.io/using-func...instead-of-method-chaining-in-go/ + +### Revamping my home lab a little bit. `#freebsd` ... + +Revamping my home lab a little bit. `#freebsd` `#bhyve` `#rocky` `#linux` `#vm` `#k3s` `#kuberbetes` `#wireguard` `#zfs` `#nfs` `#ha` `#relayd` `#k8s` `#selfhosting` `#self`-hosting `#homelab` `#home`-lab + +=> https://foo.zone/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.html https://foo.zone/gemfeed/2024-11-...bernetes-with-freebsd-part-1.html + +### Revamping my home lab a little bit. `#freebsd` ... + +Revamping my home lab a little bit. `#freebsd` `#bhyve` `#rocky` `#linux` `#vm` `#k3s` `#kubernetes` `#wireguard` `#zfs` `#nfs` `#ha` `#relayd` `#k8s` `#selfhosting` `#homelab` + +=> https://foo.zone/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.html https://foo.zone/gemfeed/2024-11-...bernetes-with-freebsd-part-1.html + +### Wondering to which `#web` `#browser` I should ... + +Wondering to which `#web` `#browser` I should switch now personally ... + +=> https://www.osnews.com/story/141100/mozilla-foundation-lays-off-30-of-its-employees-ends-advocacy-for-open-web-privacy-and-more/ https://www.osnews.com/story/1411...cy-for-open-web-privacy-and-more/ + +### eks-node-viewer is a nifty tool, showing the ... + +eks-node-viewer is a nifty tool, showing the compute nodes currently in use in the `#EKS` cluster. especially useful when dynamically allocating nodes with `#karpenter` or auto scaling groups. + +=> https://github.com/awslabs/eks-node-viewer + +### Have put more Photos on - On my static photo ... + +Have put more Photos on - On my static photo sites - Generated with a `#bash` script + +=> https://irregular.ninja + +### In Go, passing pointers are not automatically ... + +In Go, passing pointers are not automatically faster than values. Pointers often force the memory to be allocated on the heap, adding GC overhad. With values, Go can determine whether to put the memory on the stack instead. But with large structs/objects (how you want to call them) or if you want to modify state, then pointers are the semantic to use. `#golang` + +=> https://blog.boot.dev/golang/pointers-faster-than-values/ + +### Myself being part of an on-call rotations over ... + +Myself being part of an on-call rotations over my whole professional life, just have learned this lesson "Tell people who are new to on-call: Just have fun" :-) This is a neat blog post to read: + +=> https://ntietz.com/blog/what-i-tell-people-new-to-oncall/ + +### Feels good to code in my old love `#Perl` again ... + +Feels good to code in my old love `#Perl` again after a while. I am implementing a log parser for generating site stats of my personal homepage! :-) @Perl + +### This is an interactive summary of the Go ... + +This is an interactive summary of the Go release, with a lot of examples utilising iterators in the slices and map packages. Love it! `#golang` + +=> https://antonz.org/go-1-23/ + +## December 2024 + +### Thats unexpected, you cant remove a NaN key ... + +Thats unexpected, you cant remove a NaN key from a map without clearing it! `#golang` + +=> https://unexpected-go.com/you-cant-remove-a-nan-key-from-a-map-without-clearing-it.html https://unexpected-go.com/you-can...om-a-map-without-clearing-it.html + +### My second blog post about revamping my home lab ... + +My second blog post about revamping my home lab a little bit just hit the net. `#FreeBSD` `#ZFS` `#n100` `#k8s` `#k3s` `#kubernetes` + +=> https://foo.zone/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html https://foo.zone/gemfeed/2024-12-...bernetes-with-freebsd-part-2.html + +### Very insightful article about tech hiring in ... + +Very insightful article about tech hiring in the age of LLMs. As an interviewer, I have experienced some of the scrnarios already first hand... + +=> https://newsletter.pragmaticengineer.com/p/how-genai-changes-tech-hiring https://newsletter.pragmaticengin...m/p/how-genai-changes-tech-hiring + +### for `#bpf` `#ebpf` performance debugging, have ... + +for `#bpf` `#ebpf` performance debugging, have a look at bpftop from Netflix. A neat tool showing you the estimated CPU time and other performance statistics for all the BPF programs currently loaded into the `#linux` kernel. Highly recommend! + +=> https://github.com/Netflix/bpftop + +### 89 things he/she knows about Git commits is a ... + +89 things he/she knows about Git commits is a neat list of `#Git` wisdoms + +=> https://www.jvt.me/posts/2024/07/12/things-know-commits/ + +### I found that working on multiple side projects ... + +I found that working on multiple side projects concurrently is better than concentrating on just one. This seems inefficient at first, but whenever you tend to lose motivation, you can temporarily switch to another one with full élan. However, remember to stop starting and start finishing. This doesn't mean you should be working on 10+ (and a growing list of) side projects concurrently! Select your projects and commit to finishing them before starting the next thing. For example, my current limit of concurrent side projects is around five. + +### Agreed? Agreed. Besides `#Ruby`, I would also ... + +Agreed? Agreed. Besides `#Ruby`, I would also add `#RakuLang` and `#Perl` @Perl to the list of languages that are great for shell scripts - "Making Easy Things Easy and Hard Things Possible" + +=> https://lucasoshiro.github.io/posts-en/2024-06-17-ruby-shellscript/ + +### Plan9 assembly format in Go, but wait, it's not ... + +Plan9 assembly format in Go, but wait, it's not the Operating System Plan9! `#golang` `#rabbithole` + +=> https://www.osnews.com/story/140941/go-plan9-memo-speeding-up-calculations-450/ https://www.osnews.com/story/1409...emo-speeding-up-calculations-450/ + +### This is a neat blog post about the Helix text ... + +This is a neat blog post about the Helix text editor, to which I personally switched around a year ago (from NeoVim). I should blog about my experience as well. To summarize: I am using it together with the terminal multiplexer `#tmux`. It doesn't bother me that Helix is purely terminal-based and therefore everything has to be in the same font. `#HelixEditor` + +=> https://jonathan-frere.com/posts/helix/ + +### This blog post is basically a rant against ... + +This blog post is basically a rant against DataDog... Personally, I don't have much experience with DataDog (actually, I have never used it), but one reason to work with logs at my day job (with over 2,000 physical server machines) and to be cost-effective is by using dtail! `#dtail` `#logs` `#logmanagement` + +=> https://crys.site/blog/2024/reinventint-the-weel/ +=> https://dtail.dev + +### Quick trick to get Helix themes selected ... + +Quick trick to get Helix themes selected randomly `#HelixEditor` + +=> https://foo.zone/gemfeed/2024-12-15-random-helix-themes.html + +### Example where complexity attacks you from ... + +Example where complexity attacks you from behind `#k8s` `#kubernetes` `#OpenAI` + +=> https://surfingcomplexity.blog/2024/12/14/quick-takes-on-the-recent-openai-public-incident-write-up/ https://surfingcomplexity.blog/20...-openai-public-incident-write-up/ + +### LLMs for Ops? Summaries of logs, probabilities ... + +LLMs for Ops? Summaries of logs, probabilities about correctness, auto-generating Ansible, some uses cases are there. Wouldn't trust it fully, though. + +=> https://youtu.be/WodaffxVq-E?si=noY0egrfl5izCSQI + +### Excellent article about your dream Product ... + +Excellent article about your dream Product Manager: Why every software team needs a product manager to thrive via @wallabagapp + +=> https://testdouble.com/insights/why-product-managers-accelerate-improve-software-delivery https://testdouble.com/insights/w...elerate-improve-software-delivery + +### I just finished reading all chapters of CPU ... + +I just finished reading all chapters of CPU land: ... not claiming to remember every detail, but it is a great refresher how CPUs and operating systems actually work under the hood when you execute a program, which we tend to forget in our higher abstraction world. I liked the "story" and some of the jokes along the way! Size wise, it is pretty digestable (not talking about books, but only 7 web articles/chapters)! `#cpu` `#linux` `#unix` `#kernel` `#macOS` + +=> https://cpu.land/ + +### Indeed, useful to know this stuff! `#sre` ... + +Indeed, useful to know this stuff! `#sre` + +=> https://biriukov.dev/docs/resolver-dual-stack-application/0-sre-should-know-about-gnu-linux-resolvers-and-dual-stack-applications/ https://biriukov.dev/docs/resolve...vers-and-dual-stack-applications/ + +### It's the small things, which make Unix like ... + +It's the small things, which make Unix like systems, like GNU/Linux, interesting. Didn't know about this `#GNU` `#Tar` behaviour yet: + +=> https://xeiaso.net/notes/2024/pop-quiz-tar/15110 diff --git a/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi.tpl b/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi.tpl new file mode 100644 index 00000000..c16bdba7 --- /dev/null +++ b/gemfeed/DRAFT-summary-for-202410-202411-202410.gmi.tpl @@ -0,0 +1,263 @@ +# Summary for 202410 202411 202412 + +<< template::inline::toc + +## October 2024 + +### First on-call experience in a startup. Doesn't ... + +First on-call experience in a startup. Doesn't sound a lot of fun! But the lessons were learned! `#sre` + +=> https://ntietz.com/blog/lessons-from-my-first-on-call/ + +### Reviewing your own PR or MR before asking ... + +Reviewing your own PR or MR before asking others to review it makes a lot of sense. Have seen so many silly mistakes which would have been avoided. Saving time for the real reviewer. + +=> https://www.jvt.me/posts/2019/01/12/self-code-review/ + +### Fun with defer in `#golang`, I did't know, that ... + +Fun with defer in `#golang`, I did't know, that a defer object can either be heap or stack allocated. And there are some rules for inlining, too. + +=> https://victoriametrics.com/blog/defer-in-go/ + +### I have been in incidents. Understandably, ... + +I have been in incidents. Understandably, everyone wants the issue to be resolved as quickly and others want to know how long TTR will be. IMHO, providing no estimates at all is no solution either. So maybe give a rough estimate but clearly communicate that the estimate is rough and that X, Y, and Z can interfere, meaning there is a chance it will take longer to resolve the incident. Just my thought. What's yours? + +=> https://firehydrant.com/blog/hot-take-dont-provide-incident-resolution-estimates/ https://firehydrant.com/blog/hot-...de-incident-resolution-estimates/ + +### Little tips using strings in `#golang` and I ... + +Little tips using strings in `#golang` and I personally think one must look more into the std lib (not just for strings, also for slices, maps,...), there are tons of useful helper functions. + +=> https://www.calhoun.io/6-tips-for-using-strings-in-go/ + +### Reading this post about `#rust` (especially the ... + +Reading this post about `#rust` (especially the first part), I think I made a good choice in deciding to dive into `#golang` instead. There was a point where I wanted to learn a new programming language, and Rust was on my list of choices. I think the Go project does a much better job of deciding what goes into the language and how. What are your thoughts? + +=> https://josephg.com/blog/rewriting-rust/ + +### The opposite of `#ChaosMonkey` ... ... + +The opposite of `#ChaosMonkey` ... automatically repairing and healing services helping to reduce manual toil work. Runbooks and scripts are only the first step, followed by a fully blown service written in Go. Could be useful, but IMHO why not rather address the root causes of the manual toil work? `#sre` + +=> https://blog.cloudflare.com/nl-nl/improving-platform-resilience-at-cloudflare/ https://blog.cloudflare.com/nl-nl...latform-resilience-at-cloudflare/ + +## November 2024 + +### I just became a Silver Patreon for OSnews. What ... + +I just became a Silver Patreon for OSnews. What is OSnews? It is an independent news site about IT. It is slightly independent and, at times, alternative. I have enjoyed it since my early student days. This one and other projects I financially support are listed here: + +=> https://foo.zone/gemfeed/2024-09-07-projects-i-support.html + +### Until now, I wasn't aware, that Go is under a ... + +Until now, I wasn't aware, that Go is under a BSD-style license (3-clause as it seems). Neat. I don't know why, but I always was under the impression it would be MIT. `#bsd` `#golang` + +=> https://go.dev/LICENSE + +### These are some book notes from "Staff Engineer" ... + +These are some book notes from "Staff Engineer" – there is some really good insight into what is expected from a Staff Engineer and beyond in the industry. I wish I had read the book earlier. + +=> https://foo.zone/gemfeed/2024-10-24-staff-engineer-book-notes.html + +### Looking at `#Kubernetes`, it's pretty much ... + +Looking at `#Kubernetes`, it's pretty much following the Unix way of doing things. It has many tools, but each tool has its own single purpose: DNS, scheduling, container runtime, various controllers, networking, observability, alerting, and more services in the control plane. Everything is managed by different services or plugins, mostly running in their dedicated pods. They don't communicate through pipes, but network sockets, though. `#k8s` + +### There has been an outage at the upstream ... + +There has been an outage at the upstream network provider for OpenBSD.Amsterdam (hoster, I am using). This was the first real-world test for my KISS HA setup, and it worked flawlessly! All my sites and services failed over automatically to my other `#OpenBSD` VM! + +=> https://foo.zone/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html https://foo.zone/gemfeed/2024-04-...gh-availability-with-OpenBSD.html +=> https://openbsd.amsterdam/ + +### One of the more confusing parts in Go, nil ... + +One of the more confusing parts in Go, nil values vs nil errors: `#golang` + +=> https://unexpected-go.com/nil-errors-that-are-non-nil-errors.html + +### Agreeably, writing down with Diagrams helps you ... + +Agreeably, writing down with Diagrams helps you to think things more through. And keeps others on the same page. Only worth for projects from a certain size, IMHO. + +=> https://ntietz.com/blog/reasons-to-write-design-docs/ + +### I like the idea of types in Ruby. Raku is ... + +I like the idea of types in Ruby. Raku is supports that already, but in Ruby, you must specify the types in a separate .rbs file, which is, in my opinion, cumbersome and is a reason not to use it extensively for now. I believe there are efforts to embed the type information in the standard .rb files, and that the .rbs is just an experiment to see how types could work out without introducing changes into the core Ruby language itself right now? `#Ruby` `#RakuLang` + +=> https://github.com/ruby/rbs + +### So, `#Haskell` is better suited for general ... + +So, `#Haskell` is better suited for general purpose than `#Rust`? I thought deploying something in Haskell means publishing an academic paper :-) Interesting rant about Rust, though: + +=> https://chrisdone.com/posts/rust/ + +### At first, functional options add a bit of ... + +At first, functional options add a bit of boilerplate, but they turn out to be quite neat, especially when you have very long parameter lists that need to be made neat and tidy. `#golang` + +=> https://www.calhoun.io/using-functional-options-instead-of-method-chaining-in-go/ https://www.calhoun.io/using-func...instead-of-method-chaining-in-go/ + +### Revamping my home lab a little bit. `#freebsd` ... + +Revamping my home lab a little bit. `#freebsd` `#bhyve` `#rocky` `#linux` `#vm` `#k3s` `#kuberbetes` `#wireguard` `#zfs` `#nfs` `#ha` `#relayd` `#k8s` `#selfhosting` `#self`-hosting `#homelab` `#home`-lab + +=> https://foo.zone/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.html https://foo.zone/gemfeed/2024-11-...bernetes-with-freebsd-part-1.html + +### Revamping my home lab a little bit. `#freebsd` ... + +Revamping my home lab a little bit. `#freebsd` `#bhyve` `#rocky` `#linux` `#vm` `#k3s` `#kubernetes` `#wireguard` `#zfs` `#nfs` `#ha` `#relayd` `#k8s` `#selfhosting` `#homelab` + +=> https://foo.zone/gemfeed/2024-11-17-f3s-kubernetes-with-freebsd-part-1.html https://foo.zone/gemfeed/2024-11-...bernetes-with-freebsd-part-1.html + +### Wondering to which `#web` `#browser` I should ... + +Wondering to which `#web` `#browser` I should switch now personally ... + +=> https://www.osnews.com/story/141100/mozilla-foundation-lays-off-30-of-its-employees-ends-advocacy-for-open-web-privacy-and-more/ https://www.osnews.com/story/1411...cy-for-open-web-privacy-and-more/ + +### eks-node-viewer is a nifty tool, showing the ... + +eks-node-viewer is a nifty tool, showing the compute nodes currently in use in the `#EKS` cluster. especially useful when dynamically allocating nodes with `#karpenter` or auto scaling groups. + +=> https://github.com/awslabs/eks-node-viewer + +### Have put more Photos on - On my static photo ... + +Have put more Photos on - On my static photo sites - Generated with a `#bash` script + +=> https://irregular.ninja + +### In Go, passing pointers are not automatically ... + +In Go, passing pointers are not automatically faster than values. Pointers often force the memory to be allocated on the heap, adding GC overhad. With values, Go can determine whether to put the memory on the stack instead. But with large structs/objects (how you want to call them) or if you want to modify state, then pointers are the semantic to use. `#golang` + +=> https://blog.boot.dev/golang/pointers-faster-than-values/ + +### Myself being part of an on-call rotations over ... + +Myself being part of an on-call rotations over my whole professional life, just have learned this lesson "Tell people who are new to on-call: Just have fun" :-) This is a neat blog post to read: + +=> https://ntietz.com/blog/what-i-tell-people-new-to-oncall/ + +### Feels good to code in my old love `#Perl` again ... + +Feels good to code in my old love `#Perl` again after a while. I am implementing a log parser for generating site stats of my personal homepage! :-) @Perl + +### This is an interactive summary of the Go ... + +This is an interactive summary of the Go release, with a lot of examples utilising iterators in the slices and map packages. Love it! `#golang` + +=> https://antonz.org/go-1-23/ + +## December 2024 + +### Thats unexpected, you cant remove a NaN key ... + +Thats unexpected, you cant remove a NaN key from a map without clearing it! `#golang` + +=> https://unexpected-go.com/you-cant-remove-a-nan-key-from-a-map-without-clearing-it.html https://unexpected-go.com/you-can...om-a-map-without-clearing-it.html + +### My second blog post about revamping my home lab ... + +My second blog post about revamping my home lab a little bit just hit the net. `#FreeBSD` `#ZFS` `#n100` `#k8s` `#k3s` `#kubernetes` + +=> https://foo.zone/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html https://foo.zone/gemfeed/2024-12-...bernetes-with-freebsd-part-2.html + +### Very insightful article about tech hiring in ... + +Very insightful article about tech hiring in the age of LLMs. As an interviewer, I have experienced some of the scrnarios already first hand... + +=> https://newsletter.pragmaticengineer.com/p/how-genai-changes-tech-hiring https://newsletter.pragmaticengin...m/p/how-genai-changes-tech-hiring + +### for `#bpf` `#ebpf` performance debugging, have ... + +for `#bpf` `#ebpf` performance debugging, have a look at bpftop from Netflix. A neat tool showing you the estimated CPU time and other performance statistics for all the BPF programs currently loaded into the `#linux` kernel. Highly recommend! + +=> https://github.com/Netflix/bpftop + +### 89 things he/she knows about Git commits is a ... + +89 things he/she knows about Git commits is a neat list of `#Git` wisdoms + +=> https://www.jvt.me/posts/2024/07/12/things-know-commits/ + +### I found that working on multiple side projects ... + +I found that working on multiple side projects concurrently is better than concentrating on just one. This seems inefficient at first, but whenever you tend to lose motivation, you can temporarily switch to another one with full élan. However, remember to stop starting and start finishing. This doesn't mean you should be working on 10+ (and a growing list of) side projects concurrently! Select your projects and commit to finishing them before starting the next thing. For example, my current limit of concurrent side projects is around five. + +### Agreed? Agreed. Besides `#Ruby`, I would also ... + +Agreed? Agreed. Besides `#Ruby`, I would also add `#RakuLang` and `#Perl` @Perl to the list of languages that are great for shell scripts - "Making Easy Things Easy and Hard Things Possible" + +=> https://lucasoshiro.github.io/posts-en/2024-06-17-ruby-shellscript/ + +### Plan9 assembly format in Go, but wait, it's not ... + +Plan9 assembly format in Go, but wait, it's not the Operating System Plan9! `#golang` `#rabbithole` + +=> https://www.osnews.com/story/140941/go-plan9-memo-speeding-up-calculations-450/ https://www.osnews.com/story/1409...emo-speeding-up-calculations-450/ + +### This is a neat blog post about the Helix text ... + +This is a neat blog post about the Helix text editor, to which I personally switched around a year ago (from NeoVim). I should blog about my experience as well. To summarize: I am using it together with the terminal multiplexer `#tmux`. It doesn't bother me that Helix is purely terminal-based and therefore everything has to be in the same font. `#HelixEditor` + +=> https://jonathan-frere.com/posts/helix/ + +### This blog post is basically a rant against ... + +This blog post is basically a rant against DataDog... Personally, I don't have much experience with DataDog (actually, I have never used it), but one reason to work with logs at my day job (with over 2,000 physical server machines) and to be cost-effective is by using dtail! `#dtail` `#logs` `#logmanagement` + +=> https://crys.site/blog/2024/reinventint-the-weel/ +=> https://dtail.dev + +### Quick trick to get Helix themes selected ... + +Quick trick to get Helix themes selected randomly `#HelixEditor` + +=> https://foo.zone/gemfeed/2024-12-15-random-helix-themes.html + +### Example where complexity attacks you from ... + +Example where complexity attacks you from behind `#k8s` `#kubernetes` `#OpenAI` + +=> https://surfingcomplexity.blog/2024/12/14/quick-takes-on-the-recent-openai-public-incident-write-up/ https://surfingcomplexity.blog/20...-openai-public-incident-write-up/ + +### LLMs for Ops? Summaries of logs, probabilities ... + +LLMs for Ops? Summaries of logs, probabilities about correctness, auto-generating Ansible, some uses cases are there. Wouldn't trust it fully, though. + +=> https://youtu.be/WodaffxVq-E?si=noY0egrfl5izCSQI + +### Excellent article about your dream Product ... + +Excellent article about your dream Product Manager: Why every software team needs a product manager to thrive via @wallabagapp + +=> https://testdouble.com/insights/why-product-managers-accelerate-improve-software-delivery https://testdouble.com/insights/w...elerate-improve-software-delivery + +### I just finished reading all chapters of CPU ... + +I just finished reading all chapters of CPU land: ... not claiming to remember every detail, but it is a great refresher how CPUs and operating systems actually work under the hood when you execute a program, which we tend to forget in our higher abstraction world. I liked the "story" and some of the jokes along the way! Size wise, it is pretty digestable (not talking about books, but only 7 web articles/chapters)! `#cpu` `#linux` `#unix` `#kernel` `#macOS` + +=> https://cpu.land/ + +### Indeed, useful to know this stuff! `#sre` ... + +Indeed, useful to know this stuff! `#sre` + +=> https://biriukov.dev/docs/resolver-dual-stack-application/0-sre-should-know-about-gnu-linux-resolvers-and-dual-stack-applications/ https://biriukov.dev/docs/resolve...vers-and-dual-stack-applications/ + +### It's the small things, which make Unix like ... + +It's the small things, which make Unix like systems, like GNU/Linux, interesting. Didn't know about this `#GNU` `#Tar` behaviour yet: + +=> https://xeiaso.net/notes/2024/pop-quiz-tar/15110 diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index ea33e0a8..4f7ec903 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2024-12-18T23:28:38+02:00 + 2024-12-29T23:48:55+02:00 foo.zone feed To be in the .zone! @@ -243,9 +243,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
[paul@earth]~/Downloads% sudo dd \
-  if=FreeBSD-14.1-RELEASE-amd64-bootonly.iso \
-  of=/dev/sda conv=sync
+
[paul@earth]~/Downloads% sudo dd \
+  if=FreeBSD-14.1-RELEASE-amd64-bootonly.iso \
+  of=/dev/sda conv=sync
 

Next, I plugged the Beelinks (one after another) into my monitor via HDMI (the resolution of the FreeBSD text console seems strangely stretched, as I am using the LG Dual Up monitor), connected Ethernet, an external USB keyboard, and the FreeBSD USB stick, and booted the devices up. With F7, I entered the boot menu and selected the USB stick for the FreeBSD installation.
@@ -271,9 +271,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # freebsd-update fetch
-root@f0:~ # freebsd-update install
-root@f0:~ # freebsd-update reboot
+
root@f0:~ # freebsd-update fetch
+root@f0:~ # freebsd-update install
+root@f0:~ # freebsd-update reboot
 

I also added the following entries for the three FreeBSD boxes to the /etc/hosts file:
@@ -281,11 +281,11 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cat <<END >>/etc/hosts
-192.168.1.130 f0 f0.lan f0.lan.buetow.org
-192.168.1.131 f1 f1.lan f1.lan.buetow.org
-192.168.1.132 f2 f2.lan f2.lan.buetow.org
-END
+
root@f0:~ # cat <<END >>/etc/hosts
+192.168.1.130 f0 f0.lan f0.lan.buetow.org
+192.168.1.131 f1 f1.lan f1.lan.buetow.org
+192.168.1.132 f2 f2.lan f2.lan.buetow.org
+END
 

After install


@@ -296,7 +296,7 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # pkg install helix doas zfs-periodic uptimed
+
root@f0:~ # pkg install helix doas zfs-periodic uptimed
 

Helix editor


@@ -313,7 +313,7 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf
+
root@f0:~ # cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf
 

https://man.openbsd.org/doas
@@ -326,24 +326,24 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # sysrc daily_zfs_snapshot_enable=YES
-daily_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc daily_zfs_snapshot_pools=zroot
-daily_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc daily_zfs_snapshot_keep=7
-daily_zfs_snapshot_keep:  -> 7
-root@f0:~ # sysrc weekly_zfs_snapshot_enable=YES
-weekly_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc weekly_zfs_snapshot_pools=zroot
-weekly_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc weekly_zfs_snapshot_keep=5
-weekly_zfs_snapshot_keep:  -> 5
-root@f0:~ # sysrc monthly_zfs_snapshot_enable=YES
-monthly_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc monthly_zfs_snapshot_pools=zroot
-monthly_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc monthly_zfs_snapshot_keep=6
-monthly_zfs_snapshot_keep: 2 -> 6
+
root@f0:~ # sysrc daily_zfs_snapshot_enable=YES
+daily_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc daily_zfs_snapshot_pools=zroot
+daily_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc daily_zfs_snapshot_keep=7
+daily_zfs_snapshot_keep:  -> 7
+root@f0:~ # sysrc weekly_zfs_snapshot_enable=YES
+weekly_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc weekly_zfs_snapshot_pools=zroot
+weekly_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc weekly_zfs_snapshot_keep=5
+weekly_zfs_snapshot_keep:  -> 5
+root@f0:~ # sysrc monthly_zfs_snapshot_enable=YES
+monthly_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc monthly_zfs_snapshot_pools=zroot
+monthly_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc monthly_zfs_snapshot_keep=6
+monthly_zfs_snapshot_keep: 2 -> 6
 

https://github.com/ross/zfs-periodic
@@ -356,9 +356,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cp /usr/local/mimecast/etc/uptimed.conf-dist \
-  /usr/local/mimecast/etc/uptimed.conf 
-root@f0:~ # hx /usr/local/mimecast/etc/uptimed.conf
+
root@f0:~ # cp /usr/local/mimecast/etc/uptimed.conf-dist \
+  /usr/local/mimecast/etc/uptimed.conf 
+root@f0:~ # hx /usr/local/mimecast/etc/uptimed.conf
 

In the Helix editor session, I changed LOG_MAXIMUM_ENTRIES to 0 to keep all uptime entries forever and not cut off at 50 (the default config). After that, I enabled and started uptimed:
@@ -367,8 +367,8 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # service uptimed enable
-root@f0:~ # service uptimed start
+
root@f0:~ # service uptimed enable
+root@f0:~ # service uptimed start
 

To check the current uptime stats, I can now run uprecords:
@@ -377,15 +377,15 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
 root@f0:~ # uprecords
-     #               Uptime | System                                     Boot up
-----------------------------+---------------------------------------------------
-->   1     0 days, 00:07:34 | FreeBSD 14.1-RELEASE      Mon Dec  2 12:21:44 2024
-----------------------------+---------------------------------------------------
-NewRec     0 days, 00:07:33 | since                     Mon Dec  2 12:21:44 2024
-    up     0 days, 00:07:34 | since                     Mon Dec  2 12:21:44 2024
-  down     0 days, 00:00:00 | since                     Mon Dec  2 12:21:44 2024
-   %up              100.000 | since                     Mon Dec  2 12:21:44 2024
+
 root@f0:~ # uprecords
+     #               Uptime | System                                     Boot up
+----------------------------+---------------------------------------------------
+->   1     0 days, 00:07:34 | FreeBSD 14.1-RELEASE      Mon Dec  2 12:21:44 2024
+----------------------------+---------------------------------------------------
+NewRec     0 days, 00:07:33 | since                     Mon Dec  2 12:21:44 2024
+    up     0 days, 00:07:34 | since                     Mon Dec  2 12:21:44 2024
+  down     0 days, 00:00:00 | since                     Mon Dec  2 12:21:44 2024
+   %up              100.000 | since                     Mon Dec  2 12:21:44 2024
 

This is how I track the uptimes for all of my host:
@@ -403,17 +403,17 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % ifconfig re0
-re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
-        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
-        ether e8:ff:1e:d7:1c:ac
-        inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
-        inet6 fe80::eaff:1eff:fed7:1cac%re0 prefixlen 64 scopeid 0x1
-        inet6 fd22:c702:acb7:0:eaff:1eff:fed7:1cac prefixlen 64 detached autoconf
-        inet6 2a01:5a8:304:1d5c:eaff:1eff:fed7:1cac prefixlen 64 autoconf pltime 10800 vltime 14400
-        media: Ethernet autoselect (1000baseT <full-duplex>)
-        status: active
-        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
+
paul@f0:~ % ifconfig re0
+re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
+        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
+        ether e8:ff:1e:d7:1c:ac
+        inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
+        inet6 fe80::eaff:1eff:fed7:1cac%re0 prefixlen 64 scopeid 0x1
+        inet6 fd22:c702:acb7:0:eaff:1eff:fed7:1cac prefixlen 64 detached autoconf
+        inet6 2a01:5a8:304:1d5c:eaff:1eff:fed7:1cac prefixlen 64 autoconf pltime 10800 vltime 14400
+        media: Ethernet autoselect (1000baseT <full-duplex>)
+        status: active
+        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
 

RAM


@@ -424,8 +424,8 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % sysctl hw.physmem
-hw.physmem: 16902905856
+
paul@f0:~ % sysctl hw.physmem
+hw.physmem: 16902905856
 
 

@@ -437,11 +437,11 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % sysctl dev.cpu | grep freq:
-dev.cpu.3.freq: 705
-dev.cpu.2.freq: 705
-dev.cpu.1.freq: 604
-dev.cpu.0.freq: 604
+
paul@f0:~ % sysctl dev.cpu | grep freq:
+dev.cpu.3.freq: 705
+dev.cpu.2.freq: 705
+dev.cpu.1.freq: 604
+dev.cpu.0.freq: 604
 

CPU throttling


@@ -452,14 +452,14 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % doas pkg install ubench
-paul@f0:~ % rehash # For tcsh to find the newly installed command
-