1. Beyond Bash: Writing Intelligent Git Hooks with Python and LLMs

    Posted on in programming

    Git hooks are one of the most powerful — and most underutilized — features in the Git ecosystem. They allow you to automate actions at key points in your Git workflow: before committing, before pushing, after merging, and more. Traditionally, these hooks are implemented using shell scripts, but that’s limiting in …

  2. Building Your Own Git Assistant with OpenAI and Python

    Posted on in programming

    GitHub Copilot is impressive, but what if you could build your own AI-powered Git assistant tailored to your workflow? In this article, we’ll walk step-by-step through building a command-line Git assistant using Python and OpenAI’s API. It will explain diffs, write commit messages, generate .gitignore files, and even …

  3. AI-Powered GitOps: Automating DevOps Workflows with LLMs

    Posted on in system_administration

    GitOps has already transformed how we think about infrastructure: declarative, auditable, and version-controlled. But as infrastructure-as-code (IaC) adoption grows and systems become more complex, even GitOps can feel overwhelming.

    Enter the next wave: AI-powered GitOps. By integrating large language models (LLMs) into our CI/CD pipelines, infrastructure management becomes not …

  4. Git Rebase vs. Merge: A Deep Dive into Git Internals

    Posted on in programming

    If you’ve ever participated in a heated pull request debate, you’ve probably encountered the age-old dilemma: Should we rebase or merge? While this question often sparks opinions based on team culture or aesthetics, there’s a more technical layer that rarely gets discussed — what’s really happening inside …

  5. The Evolution of Source Code Management: From SVN to AI-Powered Git

    Posted on in programming

    Source Code Management (SCM) has evolved dramatically over the past few decades. What started as simple file versioning systems has transformed into sophisticated platforms integrating AI-driven automation, security, and collaboration features. From the days of CVS and SVN to the dominance of Git and the rise of AI-powered development, this …

  6. Understanding the “Semaphore Released Too Many Times” gsutil Error

    Posted on in system_administration

    When working with Google Cloud Storage (GCS) via gsutil, most file operations run smoothly. However, occasional cryptic error messages may appear that leave you scratching your head. One such error is:

    Semaphore released too many times MiB]  99% Done
    CommandException: 1 files/objects could not be copied/removed.
    make: *** [Makefile …
  7. Counting Lines of Code by Language in a Code Repository

    Posted on in programming

    Understanding the composition of a codebase can provide valuable insights: Which languages dominate the repository? Where might maintenance efforts be concentrated? Counting lines of code by language is a common task when assessing project complexity, preparing for audits, or reporting progress in multi-language environments.

    In this article, we’ll explore …

  8. Counting Bazel Targets by Top-Level Directory

    Posted on in programming

    When working with large Bazel code repositories, it’s not always clear how targets are distributed across directories. Understanding how many targets each top-level directory contains can help gauge complexity, identify hotspots, or guide refactoring efforts.

    While Bazel itself doesn’t have a direct command to provide a “count of …

  9. Protobuf in Rust: Integrating Another Language into the gRPC Ecosystem

    Posted on in programming

    We’ve now built similar RPC setups using Thrift and Protobuf/gRPC in Java and Python. Following the pattern established with Thrift, let’s integrate Rust into our Protobuf/gRPC ecosystem. Rust’s performance and safety features make it a popular choice for high-performance back-ends, and this exercise will show …

  10. Getting Started with Thrift: Building a Java Server and Python Client

    Posted on in programming

    In our first article, we introduced Thrift and Protobuf and laid out our plan to build cross-language client/server applications. Now, it’s time to dive into a hands-on example with Thrift. In this article, we’ll define a simple service using Thrift’s IDL, implement a server in Java …

  11. Introduction to Thrift and Protobuf: Laying the Foundation for Cross-Language RPC

    Posted on in programming

    Modern distributed systems often span multiple programming languages, architectures, and runtimes. As services grow in complexity and scale, developers turn to powerful serialization frameworks and RPC (Remote Procedure Call) mechanisms that streamline inter-service communication. Two such technologies, Thrift and Protobuf, have emerged as popular solutions.

    This article sets the stage …

Slaptijack's Koding Kraken