From e15aa5447150d31e86590da8b2ebd8e62acadcb8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 12 Jul 2025 22:46:46 +0300 Subject: Update content for html --- about/resources.html | 204 +- about/showcase.html | 978 ++++---- about/showcase/debroid/image-1.png | 124 +- gemfeed/2025-06-22-task-samurai.html | 28 +- .../DRAFT-f3s-kubernetes-with-freebsd-part-6.html | 2620 ++++++++++++++++++-- gemfeed/atom.xml | 30 +- .../f3s-kubernetes-with-freebsd-part-6/drives.jpg | Bin 0 -> 114358 bytes .../usbkeys1.jpg | Bin 0 -> 301121 bytes .../usbkeys2.jpg | Bin 0 -> 356228 bytes index.html | 2 +- uptime-stats.html | 44 +- 11 files changed, 3059 insertions(+), 971 deletions(-) create mode 100644 gemfeed/f3s-kubernetes-with-freebsd-part-6/drives.jpg create mode 100644 gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg create mode 100644 gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg diff --git a/about/resources.html b/about/resources.html index a58ddcef..4999a93b 100644 --- a/about/resources.html +++ b/about/resources.html @@ -50,107 +50,107 @@ In random order:


Technical references



I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order:


Self-development and soft-skills books



In random order:


Here are notes of mine for some of the books

@@ -159,30 +159,30 @@ Some of these were in-person with exams; others were online learning lectures only. In random order:


Technical guides



These are not whole books, but guides (smaller or larger) which I found very useful. in random order:


Podcasts


@@ -192,60 +192,60 @@ In random order:


Podcasts I liked



I liked them but am not listening to them anymore. The podcasts have either "finished" (no more episodes) or I stopped listening to them due to time constraints or a shift in my interests.


Newsletters I like



This is a mix of tech and non-tech newsletters I am subscribed to. In random order:


Magazines I like(d)



This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order:


Formal education



diff --git a/about/showcase.html b/about/showcase.html index 1c13c828..a5be8e15 100644 --- a/about/showcase.html +++ b/about/showcase.html @@ -13,7 +13,7 @@

Project Showcase



-Generated on: 2025-07-09
+Generated on: 2025-07-12

This page showcases my side projects, providing an overview of what each project does, its technical implementation, and key metrics. Each project summary includes information about the programming languages used, development activity, and licensing. The projects are ordered by recent activity, with the most actively maintained projects listed first.

@@ -27,9 +27,8 @@
  • ⇢ ⇢ timr
  • ⇢ ⇢ tasksamurai
  • ⇢ ⇢ rexfiles
  • -
  • ⇢ ⇢ dtail
  • -
  • ⇢ ⇢ wireguardmeshgenerator
  • ⇢ ⇢ ior
  • +
  • ⇢ ⇢ wireguardmeshgenerator
  • ⇢ ⇢ ds-sim
  • ⇢ ⇢ sillybench
  • ⇢ ⇢ gos
  • @@ -39,12 +38,13 @@
  • ⇢ ⇢ quicklogger
  • ⇢ ⇢ docker-gpodder-sync-server
  • ⇢ ⇢ terraform
  • +
  • ⇢ ⇢ gogios
  • ⇢ ⇢ docker-radicale-server
  • ⇢ ⇢ docker-anki-sync-server
  • ⇢ ⇢ gorum
  • ⇢ ⇢ guprecords
  • -
  • ⇢ ⇢ gogios
  • ⇢ ⇢ randomjournalpage
  • +
  • ⇢ ⇢ dtail
  • ⇢ ⇢ sway-autorotate
  • ⇢ ⇢ photoalbum
  • ⇢ ⇢ algorithms
  • @@ -68,44 +68,45 @@
  • ⇢ ⇢ japi
  • ⇢ ⇢ perl-poetry
  • ⇢ ⇢ ipv6test
  • -
  • ⇢ ⇢ cpuinfo
  • ⇢ ⇢ loadbars
  • +
  • ⇢ ⇢ cpuinfo
  • ⇢ ⇢ perldaemon
  • ⇢ ⇢ awksite
  • ⇢ ⇢ jsmstrade
  • ⇢ ⇢ netcalendar
  • ⇢ ⇢ ychat
  • -
  • ⇢ ⇢ vs-sim
  • ⇢ ⇢ hsbot
  • ⇢ ⇢ fype
  • +
  • ⇢ ⇢ vs-sim

  • Overall Statistics




    Projects



    gitsyncer





    GitSyncer is a cross-platform repository synchronization tool that automatically keeps Git repositories in sync across multiple hosting platforms like GitHub, Codeberg, and private SSH servers. It solves the common problem of maintaining consistent code across different Git hosting services by cloning repositories, adding all configured platforms as remotes, and continuously merging and pushing changes bidirectionally while handling branch creation and conflict detection.
    @@ -115,19 +116,14 @@ View on Codeberg
    View on GitHub

    -Go from internal/cli/handlers.go:
    +Go from internal/showcase/images.go:

    -func LoadConfig(configPath string) (*config.Config, error) {
    -	if configPath == "" {
    -		configPath = findDefaultConfigPath()
    -		if configPath == "" {
    -			return nil, fmt.Errorf("no configuration file found")
    -		}
    -	}
    -	
    -	fmt.Printf("Loaded configuration from: %s\n", configPath)
    -	return config.Load(configPath)
    +func isGitHostedImage(url string) bool {
    +	return strings.Contains(url, "github.com") || 
    +		strings.Contains(url, "githubusercontent.com") ||
    +		strings.Contains(url, "codeberg.org") ||
    +		strings.Contains(url, "codeberg.page")
     }
     

    @@ -138,13 +134,13 @@ func LoadConfig(configPath string) (*config.Config, error) {

    @@ -155,10 +151,14 @@ func LoadConfig(configPath string) (*config.Config, error) { View on Codeberg
    View on GitHub

    -Go from internal/version.go:
    +Go from internal/live/live.go:

    -const Version = "v0.0.0"
    +func tick() tea.Cmd {
    +	return tea.Tick(time.Second, func(t time.Time) tea.Msg {
    +		return tickMsg(t)
    +	})
    +}
     

    ---
    @@ -168,14 +168,14 @@ const Version = "v0.0.0"

    tasksamurai screenshot
    @@ -189,39 +189,10 @@ const Version = "v0.0.0" View on Codeberg
    View on GitHub

    -Go from internal/ui/table.go:
    +Go from internal/version.go:

    -func editDescriptionCmd(description string) tea.Cmd {
    -	return func() tea.Msg {
    -		tmpFile, err := os.CreateTemp("", "tasksamurai-desc-*.txt")
    -		if err != nil {
    -			return descEditDoneMsg{err: err, tempFile: ""}
    -		}
    -		tmpPath := tmpFile.Name()
    -		
    -		_, err = tmpFile.WriteString(description)
    -		tmpFile.Close()
    -		if err != nil {
    -			os.Remove(tmpPath)
    -			return descEditDoneMsg{err: err, tempFile: ""}
    -		}
    -		
    -		editor := os.Getenv("EDITOR")
    -		if editor == "" {
    -			editor = "vi"
    -		}
    -		
    -		c := exec.Command(editor, tmpPath)
    -		c.Stdin = os.Stdin
    -		c.Stdout = os.Stdout
    -		c.Stderr = os.Stderr
    -		
    -		return tea.ExecProcess(c, func(err error) tea.Msg {
    -			return descEditDoneMsg{err: err, tempFile: tmpPath}
    -		})()
    -	}
    -}
    +const Version = "0.9.2"
     

    ---
    @@ -229,13 +200,13 @@ func editDescriptionCmd(description string) tea.Cmd {

    rexfiles




    @@ -247,73 +218,64 @@ func editDescriptionCmd(description string) tea.Cmd { View on Codeberg
    View on GitHub

    -Shell from frontends/scripts/sitestats.sh:
    +Perl from frontends/scripts/foostats.pl:

    -STATSFILE=/tmp/sitestats.csv
    -BOTSFILE=/tmp/sitebots.txt
    -TOP=20
    +sub write ( $path, $content ) {
    +    open my $fh, '>', "$path.tmp"
    +      or die "\nCannot open file: $!";
    +    print $fh $content;
    +    close $fh;
    +
    +    rename
    +      "$path.tmp",
    +      $path;
    +}
     

    ---

    -

    dtail


    +

    ior





    -dtail screenshot
    +ior screenshot

    -DTail is a distributed log processing system written in Go that allows DevOps engineers to tail, cat, and grep log files across thousands of servers concurrently. It provides secure access through SSH authentication and respects UNIX file system permissions, making it ideal for enterprise environments where log analysis needs to scale horizontally across large server fleets. The tool supports advanced features like compressed file handling (gzip/zstd) and distributed MapReduce aggregations for complex log analytics.
    +Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:

    -dtail screenshot
    +ior screenshot

    -The system uses a client-server architecture where dtail servers run on target machines (listening on port 2222) and clients connect to multiple servers simultaneously. It can also operate in serverless mode for local operations. The implementation leverages SSH for secure communication, includes sophisticated connection throttling and resource management, and provides specialized tools (dcat, dgrep, dmap) for different log processing tasks. The MapReduce functionality supports SQL-like queries with server-side local aggregation and client-side final aggregation, enabling powerful distributed analytics across log data.
    +**I/O Riot NG** is a Linux-based performance monitoring tool that uses eBPF (extended Berkeley Packet Filter) to trace synchronous I/O system calls and analyze their execution times. This tool is particularly valuable for system performance analysis, allowing developers and system administrators to visualize I/O bottlenecks through detailed flamegraphs. It serves as a modern successor to the original I/O Riot project, migrating from SystemTap/C to a Go/C/BPF implementation for better performance and maintainability.

    -View on Codeberg
    -View on GitHub
    +The architecture combines kernel-level tracing with user-space analysis: eBPF programs (internal/c/ior.bpf.c) attach to kernel tracepoints to capture syscall entry/exit events, which are then processed by a Go-based event loop (internal/eventloop.go) that correlates enter/exit pairs, tracks file descriptors, and measures timing. The tool can operate in real-time mode for live monitoring or post-processing mode to generate flamegraphs from previously collected data using the Inferno flamegraph library. Key features include filtering capabilities for specific processes or file patterns, comprehensive statistics collection, and support for various I/O syscalls like open, read, write, close, and dup operations.
    +
    +View on Codeberg
    +View on GitHub

    -Go from internal/io/signal/signal.go:
    +Go from internal/file/file.go:

    -func InterruptCh(ctx context.Context) <-chan string {
    -	sigIntCh := make(chan os.Signal, 10)
    -	gosignal.Notify(sigIntCh, os.Interrupt)
    -	sigOtherCh := make(chan os.Signal, 10)
    -	gosignal.Notify(sigOtherCh, syscall.SIGHUP, syscall.SIGTERM, syscall.SIGQUIT)
    -	statsCh := make(chan string)
    -
    -	go func() {
    -		for {
    -			select {
    -			case <-sigIntCh:
    -				select {
    -				case statsCh <- "Hint: Hit Ctrl+C again to exit":
    -					select {
    -					case <-sigIntCh:
    -						os.Exit(0)
    -					case <-time.After(time.Second * time.Duration(config.InterruptTimeoutS)):
    -					}
    -				default:
    -				}
    -			case <-sigOtherCh:
    -				os.Exit(0)
    -			case <-ctx.Done():
    -				return
    -			}
    -		}
    -	}()
    -	return statsCh
    +func NewFd(fd int32, name []byte, flags int32) FdFile {
    +	f := FdFile{
    +		fd:    fd,
    +		name:  types.StringValue(name),
    +		flags: Flags(flags),
    +	}
    +	if f.flags == -1 {
    +		panic(fmt.Sprintf("DEBUG with -1 flags: %v", f))
    +	}
    +	return f
     }
     

    @@ -328,7 +290,7 @@ func InterruptCh(ctx context.Context) <-chan string {
  • 📈 Lines of Code: 396
  • 📄 Lines of Documentation: 24
  • 📅 Development Period: 2025-04-18 to 2025-05-11
  • -
  • 🔥 Recent Activity: 71.7 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 74.9 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🏷️ Latest Release: v1.0.0 (2025-05-11)

  • @@ -353,51 +315,6 @@ def initialize(myself)
    ---

    -

    ior


    -
    -
    -
    -ior screenshot
    -
    -Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:
    -
    -ior screenshot
    -
    -**I/O Riot NG** is a Linux-based performance monitoring tool that uses eBPF (extended Berkeley Packet Filter) to trace synchronous I/O system calls and analyze their execution times. This tool is particularly valuable for system performance analysis, allowing developers and system administrators to visualize I/O bottlenecks through detailed flamegraphs. It serves as a modern successor to the original I/O Riot project, migrating from SystemTap/C to a Go/C/BPF implementation for better performance and maintainability.
    -
    -The architecture combines kernel-level tracing with user-space analysis: eBPF programs (internal/c/ior.bpf.c) attach to kernel tracepoints to capture syscall entry/exit events, which are then processed by a Go-based event loop (internal/eventloop.go) that correlates enter/exit pairs, tracks file descriptors, and measures timing. The tool can operate in real-time mode for live monitoring or post-processing mode to generate flamegraphs from previously collected data using the Inferno flamegraph library. Key features include filtering capabilities for specific processes or file patterns, comprehensive statistics collection, and support for various I/O syscalls like open, read, write, close, and dup operations.
    -
    -View on Codeberg
    -View on GitHub
    -
    -C from tools/forktest.c:
    -
    -
    -int main() {
    -    int fd = open("testfile", O_WRONLY| O_CREAT, 0644);
    -    if (fd < 0) {
    -        perror("open");
    -        return 1;
    -    }
    -    int flags = fcntl(fd, F_GETFL);
    -    printf("Parent: File access mode is O_RDWR|O_CREAT (%d %d %d)\n", flags,
    -      O_RDWR|O_CREAT, O_WRONLY|O_CREAT);
    -
    -    pid_t pid = fork();
    -
    -
    ----
    -

    ds-sim




    @@ -489,7 +394,7 @@ func main() {
  • 📈 Lines of Code: 3967
  • 📄 Lines of Documentation: 411
  • 📅 Development Period: 2024-05-04 to 2025-06-12
  • -
  • 🔥 Recent Activity: 114.5 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 117.8 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🏷️ Latest Release: v1.0.0 (2025-03-04)
  • 🤖 AI-Assisted: This project was partially created with the help of generative AI
  • @@ -506,16 +411,29 @@ func main() { View on Codeberg
    View on GitHub

    -Go from internal/platforms/linkedin/linkedin.go:
    +Go from internal/config/args.go:

    -func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,
    -  imagePath string) (string, error) {
    -	uploadURL, imageURN, err := initializeImageUpload(ctx, personURN, accessToken)
    -	if err != nil {
    -		return imageURN, err
    +func (a *Args) ParsePlatforms(platformStrs string) error {
    +	a.Platforms = make(map[string]int)
    +
    +	for _, platformInfo := range strings.Split(platformStrs, ",") {
    +		parts := strings.Split(platformInfo, ":")
    +		platformStr := parts[0]
    +
    +		if len(parts) > 1 {
    +			var err error
    +			a.Platforms[platformStr], err = strconv.Atoi(parts[1])
    +			if err != nil {
    +				return err
    +			}
    +		} else {
    +			colour.Infoln("No message length specified for", platformStr, "so assuming
    +			  500")
    +			a.Platforms[platformStr] = 500
    +		}
     	}
    -	return imageURN, performImageUpload(ctx, imagePath, uploadURL, accessToken)
    +	return nil
     }
     

    @@ -526,13 +444,13 @@ func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,

    Based on the README and project structure, **foostats** is a privacy-respecting web analytics tool written in Perl specifically designed for OpenBSD systems. It processes both traditional HTTP/HTTPS logs and Gemini protocol logs to generate comprehensive traffic statistics while maintaining visitor privacy through SHA3-512 IP hashing. The tool is built for the foo.zone ecosystem and similar sites that need analytics without compromising user privacy.
    @@ -568,7 +486,7 @@ sub write ( $path, $content ) {
  • 📈 Lines of Code: 1373
  • 📄 Lines of Documentation: 48
  • 📅 Development Period: 2024-12-05 to 2025-02-28
  • -
  • 🔥 Recent Activity: 138.3 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 141.6 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🧪 Status: Experimental (no releases yet)

  • @@ -580,16 +498,17 @@ sub write ( $path, $content ) { View on Codeberg
    View on GitHub

    -Ruby from lib/dslkeywords/package.rb:
    +Ruby from lib/dslkeywords/given.rb:

    -def package(name, &block)
    -  return unless @conds_met
    +def respond_to_missing? = true
     
    -  f = Package.new(name)
    -  f.packages(f.instance_eval(&block))
    -  self << f
    -  f
    +def met?
    +  return false if @conds.key?(:hostname) && Socket.gethostname !=
    +    @conds[:hostname].to_s
    +
    +  true
    +end
     

    ---
    @@ -603,7 +522,7 @@ def package(name, &block)
  • 📈 Lines of Code: 2268
  • 📄 Lines of Documentation: 1180
  • 📅 Development Period: 2021-05-21 to 2025-07-09
  • -
  • 🔥 Recent Activity: 200.7 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 204.0 days (avg. age of last 42 commits)
  • ⚖️ License: GPL-3.0
  • 🏷️ Latest Release: 3.0.0 (2024-10-01)

  • @@ -640,7 +559,7 @@ while read -r src; do
  • 📈 Lines of Code: 917
  • 📄 Lines of Documentation: 33
  • 📅 Development Period: 2024-01-20 to 2025-07-06
  • -
  • 🔥 Recent Activity: 448.3 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 451.6 days (avg. age of last 42 commits)
  • ⚖️ License: MIT
  • 🏷️ Latest Release: v0.0.3 (2025-07-06)

  • @@ -712,7 +631,7 @@ func createPreferenceWindow(a fyne.App) fyne.Window {
  • 📈 Lines of Code: 12
  • 📄 Lines of Documentation: 3
  • 📅 Development Period: 2024-03-24 to 2024-03-24
  • -
  • 🔥 Recent Activity: 472.1 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 475.4 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🧪 Status: Experimental (no releases yet)

  • @@ -750,7 +669,7 @@ aws: build
  • 📈 Lines of Code: 2850
  • 📄 Lines of Documentation: 52
  • 📅 Development Period: 2023-08-27 to 2025-04-05
  • -
  • 🔥 Recent Activity: 502.1 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 505.4 days (avg. age of last 42 commits)
  • ⚖️ License: MIT
  • 🧪 Status: Experimental (no releases yet)

  • @@ -762,17 +681,73 @@ aws: build View on Codeberg
    View on GitHub

    -HCL from s3-org-buetow-tfstate/main.tf:
    +HCL from org-buetow-base/ecr.tf:

    -terraform {
    -  backend "s3" {
    -    bucket = "org-buetow-tfstate"
    -    key    = "s3-org-buetow-tfstate/terraform.tfstate"
    -    region = "eu-central-1"
    -    encrypt = true
    +resource "aws_ecr_repository" "radicale-read" {
    +  name = "radicale"
    +
    +  tags = {
    +    Name = "radicale"
       }
     }
    +
    +resource "aws_iam_policy" "ecr_radicale_read" {
    +
    +
    +---
    +
    +

    gogios


    +
    +
    +
    +gogios screenshot
    +
    +Gogios is a lightweight, minimalistic monitoring tool written in Go designed for small-scale server monitoring. It executes standard Nagios-compatible check plugins and sends email notifications only when service states change, making it ideal for personal infrastructure or small environments with limited resources. The tool emphasizes simplicity over complexity, avoiding the bloat of enterprise monitoring solutions like Nagios, Icinga, or Prometheus by eliminating features like web UIs, databases, contact groups, and clustering.
    +
    +The implementation follows a clean architecture with concurrent check execution, dependency management, and persistent state tracking. Key features include state-based notifications (only alerts on status changes), configurable retry logic, federation support for distributed monitoring, and stale detection for checks that haven't run recently. The tool is configured via JSON and requires only a local mail transfer agent for notifications. It's designed to run via cron jobs and supports high-availability setups through simple dual-server configurations, making it perfect for users who want effective monitoring without operational overhead.
    +
    +View on Codeberg
    +View on GitHub
    +
    +Go from internal/check.go:
    +
    +
    +func (c check) run(ctx context.Context, name string) checkResult {
    +	cmd := exec.CommandContext(ctx, c.Plugin, c.Args...)
    +
    +	var bytes bytes.Buffer
    +	cmd.Stdout = &bytes
    +	cmd.Stderr = &bytes
    +
    +	if err := cmd.Run(); err != nil {
    +		if ctx.Err() == context.DeadlineExceeded {
    +			return checkResult{name, "Check command timed out", time.Now().Unix(),
    +			  nagiosCritical, false}
    +		}
    +	}
    +
    +	parts := strings.Split(bytes.String(), "|")
    +	output := strings.TrimSpace(parts[0])
    +
    +	ec := cmd.ProcessState.ExitCode()
    +	if ec < int(nagiosOk) || ec > int(nagiosUnknown) {
    +		ec = int(nagiosUnknown)
    +	}
    +
    +	return checkResult{name, output, time.Now().Unix(), nagiosCode(ec), false}
    +}
     

    ---
    @@ -786,7 +761,7 @@ terraform {
  • 📈 Lines of Code: 32
  • 📄 Lines of Documentation: 3
  • 📅 Development Period: 2023-12-31 to 2023-12-31
  • -
  • 🔥 Recent Activity: 555.7 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 558.9 days (avg. age of last 42 commits)
  • ⚖️ License: No license found
  • 🧪 Status: Experimental (no releases yet)

  • @@ -824,7 +799,7 @@ run: build
  • 📈 Lines of Code: 29
  • 📄 Lines of Documentation: 3
  • 📅 Development Period: 2023-08-13 to 2024-01-01
  • -
  • 🔥 Recent Activity: 648.9 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 652.2 days (avg. age of last 42 commits)
  • ⚖️ License: MIT
  • 🧪 Status: Experimental (no releases yet)

  • @@ -863,7 +838,7 @@ aws:
  • 📈 Lines of Code: 1525
  • 📄 Lines of Documentation: 15
  • 📅 Development Period: 2023-04-17 to 2023-11-19
  • -
  • 🔥 Recent Activity: 701.0 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 704.3 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🧪 Status: Experimental (no releases yet)

  • @@ -875,15 +850,16 @@ aws: View on Codeberg
    View on GitHub

    -Go from internal/utils/string.go:
    +Go from internal/vote/vote.go:

    -	"strings"
    -)
    +func New(conf config.Config, ids ...string) (Vote, error) {
    +	var v Vote
    +
    +	v.FromID = conf.MyID
    +	v.IDs = ids
     
    -func StripPort(addr string) string {
    -	parts := strings.Split(addr, ":")
    -	return parts[0]
    +	return v, nil
     }
     

    @@ -898,7 +874,7 @@ func StripPort(addr string) string {
  • 📈 Lines of Code: 312
  • 📄 Lines of Documentation: 416
  • 📅 Development Period: 2013-03-22 to 2025-05-18
  • -
  • 🔥 Recent Activity: 751.1 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 754.3 days (avg. age of last 42 commits)
  • ⚖️ License: No license found
  • 🏷️ Latest Release: v1.0.0 (2023-04-29)

  • @@ -933,76 +909,6 @@ method output-trim(Str \str, UInt \line-limit --> Str) {
    ---

    -

    gogios


    -
    -
    -⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
    -
    -gogios screenshot
    -
    -Gogios is a lightweight, minimalistic monitoring tool written in Go designed for small-scale server monitoring. It executes standard Nagios-compatible check plugins and sends email notifications only when service states change, making it ideal for personal infrastructure or small environments with limited resources. The tool emphasizes simplicity over complexity, avoiding the bloat of enterprise monitoring solutions like Nagios, Icinga, or Prometheus by eliminating features like web UIs, databases, contact groups, and clustering.
    -
    -The implementation follows a clean architecture with concurrent check execution, dependency management, and persistent state tracking. Key features include state-based notifications (only alerts on status changes), configurable retry logic, federation support for distributed monitoring, and stale detection for checks that haven't run recently. The tool is configured via JSON and requires only a local mail transfer agent for notifications. It's designed to run via cron jobs and supports high-availability setups through simple dual-server configurations, making it perfect for users who want effective monitoring without operational overhead.
    -
    -View on Codeberg
    -View on GitHub
    -
    -Go from internal/state.go:
    -
    -
    -func readState(conf config) (state, error) {
    -	s := state{
    -		stateFile: fmt.Sprintf("%s/state.json", conf.StateDir),
    -		checks:    make(map[string]checkState),
    -	}
    -
    -	if _, err := os.Stat(s.stateFile); err != nil {
    -		return s, nil
    -	}
    -
    -	file, err := os.Open(s.stateFile)
    -	if err != nil {
    -		return s, err
    -	}
    -	defer file.Close()
    -
    -	bytes, err := io.ReadAll(file)
    -	if err != nil {
    -		return s, err
    -	}
    -
    -	if err := json.Unmarshal(bytes, &s.checks); err != nil {
    -		return s, err
    -	}
    -
    -	var obsolete []string
    -	for name := range s.checks {
    -		if _, ok := conf.Checks[name]; !ok {
    -			obsolete = append(obsolete, name)
    -		}
    -	}
    -
    -	for _, name := range obsolete {
    -		delete(s.checks, name)
    -		log.Printf("State of %s is obsolete (removed)", name)
    -	}
    -
    -	return s, nil
    -}
    -
    -
    ----
    -

    randomjournalpage




    @@ -1037,6 +943,63 @@ declare -i NUM_PAGES_TO_EXTRACT=42 # This is the answear!
    ---

    +

    dtail


    +
    +
    +⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
    +
    +dtail screenshot
    +
    +DTail is a distributed log processing system written in Go that allows DevOps engineers to tail, cat, and grep log files across thousands of servers concurrently. It provides secure access through SSH authentication and respects UNIX file system permissions, making it ideal for enterprise environments where log analysis needs to scale horizontally across large server fleets. The tool supports advanced features like compressed file handling (gzip/zstd) and distributed MapReduce aggregations for complex log analytics.
    +
    +dtail screenshot
    +
    +The system uses a client-server architecture where dtail servers run on target machines (listening on port 2222) and clients connect to multiple servers simultaneously. It can also operate in serverless mode for local operations. The implementation leverages SSH for secure communication, includes sophisticated connection throttling and resource management, and provides specialized tools (dcat, dgrep, dmap) for different log processing tasks. The MapReduce functionality supports SQL-like queries with server-side local aggregation and client-side final aggregation, enabling powerful distributed analytics across log data.
    +
    +View on Codeberg
    +View on GitHub
    +
    +Go from internal/io/fs/readfilelcontext.go:
    +
    +
    +func (f *readFile) lContextNotMatched(ctx context.Context, ls *ltxState,
    +	lines chan<- *line.Line, rawLine *bytes.Buffer) readStatus {
    +
    +	if ls.processAfter && ls.after > 0 {
    +		ls.after--
    +		myLine := line.New(rawLine, f.totalLineCount(), 100, f.globID)
    +
    +		select {
    +		case lines <- myLine:
    +		case <-ctx.Done():
    +			return abortReading
    +		}
    +
    +	} else if ls.processBefore {
    +		select {
    +		case ls.beforeBuf <- rawLine:
    +		default:
    +			pool.RecycleBytesBuffer(<-ls.beforeBuf)
    +			ls.beforeBuf <- rawLine
    +		}
    +	}
    +
    +	return continueReading
    +}
    +
    +
    +---
    +

    sway-autorotate




    @@ -1081,7 +1044,7 @@ declare -r SCREEN=eDP-1
  • 📈 Lines of Code: 342
  • 📄 Lines of Documentation: 39
  • 📅 Development Period: 2011-11-19 to 2022-04-02
  • -
  • 🔥 Recent Activity: 1278.9 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 1282.2 days (avg. age of last 42 commits)
  • ⚖️ License: No license found
  • 🏷️ Latest Release: 0.5.0 (2022-02-21)

  • @@ -1124,7 +1087,7 @@ scalephotos () {
  • 📈 Lines of Code: 1728
  • 📄 Lines of Documentation: 18
  • 📅 Development Period: 2020-07-12 to 2023-04-09
  • -
  • 🔥 Recent Activity: 1430.0 days (avg. age of last 42 commits)
  • +
  • 🔥 Recent Activity: 1433.3 days (avg. age of last 42 commits)
  • ⚖️ License: Custom License
  • 🧪 Status: Experimental (no releases yet)

  • @@ -1137,21 +1100,16 @@ scalephotos () { View on Codeberg
    View on GitHub

    -Go from queue/elementarypriority.go:
    +Go from queue/priority.go:

    -func (q *ElementaryPriority[T]) DeleteMax() T {
    -	if q.Empty() {
    -		return 0
    -	}
    -
    -	ind, max := q.max()
    -	for i := ind + 1; i < q.Size(); i++ {
    -		q.a[i-1] = q.a[i]
    -	}
    -	q.a = q.a[0 : len(q.a)-1]
    -
    -	return max
    +type PriorityQueue interface {
    +	Insert(a int)
    +	Max() (max int)
    +