Author: drweb

The AI coding agent market just got a new competitor. Elon Musk’s xAI is rolling out its first coding agent, called Grok Build, in a bid to challenge Anthropic’s Claude and other established tools in the developer workflow space. For DevOps teams already sorting through a crowded field of AI-assisted coding tools, the arrival of Grok Build adds another option — and a few fresh ideas worth paying attention to.What Grok Build IsThe agent, currently in early testing and available only to paying subscribers, can complete complex coding tasks based on user commands. But the more interesting part isn’t what…

Read More

I keep coming back to Python’s replace() function whenever I need to clean up messy text data. Whether it’s stripping unwanted characters from a CSV import or standardizing user inputs, replace() handles it without ceremony. No regex needed for simple substitutions. The article covers how str.replace() works, the count parameter, case sensitivity, multiline strings, and common pitfalls. I’ll also show how pandas extends this function to work with entire DataFrame columns at once. By the end, you’ll know exactly when to use replace() and when to reach for regex instead. TLDR str.replace(old, new) swaps every occurrence of old with new…

Read More

The latest series of attacks using the notorious Shai-Hulud worm puts into sharp focus the threats facing software developers and their CI/CD pipelines, an issue that has been raised in recent months as bad actors increasingly turn their attention to DevOps environments.That said, these most recent Shai-Hulud incidents attributed to the TeamPCP group also reflect the trend toward abusing trust, a key point given the extensive connectivity between corporate ecosystems and development platforms.“Shai-Hulud should be understood less as a one-off package compromise and more as an evolving supply-chain playbook,” said Jonathan Stross, SAP security analyst at Pathlock.Earlier waves of Shai-Hulud attacks…

Read More

The first time I had to parse a timestamp from an API, I spent twenty minutes reaching for third-party libraries before remembering Python ships with exactly what I need. The datetime module is part of the standard library — no pip install, no external dependency. After that moment I started using it by default, and I have not needed dateutil or pendulum for anything production-facing in years. This article walks through the datetime module end to end. You will learn how to build date, time, and datetime objects, perform arithmetic with timedelta, convert between strings and datetime types, and handle…

Read More

Today’s business world operates in a state of constant change. What the customer wants to buy changes quickly, new competitors appear overnight, and cyber threats are changing faster than ever. In this world, the concept of “resilience,” the ability to adapt, to overcome, and to continue to create value for the enterprise despite the changes, has become a top-level imperative for cybersecurity and technology executives. DevOps, the cultural and technical movement to unify the software development and operations disciplines, has come of age as a key enabler of business resilience.Bridging the Dev and Ops Divide: A Culture of ResilienceBefore DevOps,…

Read More

We’re excited to announce the general availability of Custom Catalogs and Profiles for managing Model Context Protocol (MCP) servers. These two complementary capabilities fundamentally change how teams package, distribute, and manage AI tooling.  Custom MCP Catalogs let organizations curate and distribute approved collections of MCP servers. MCP Profiles enable individual developers to easily build, run, and share their MCP tools and configurations across projects and teams. In this post, we’ll walk through how to create your own custom catalog – building on and improving our previous approach. We’ll also introduce Profiles, a new primitive that lets you define portable, named…

Read More

I keep running into the same problem when I train neural networks: my model learns something, but how do I actually measure whether it is learning the right thing? The loss function is the answer to that question. It is the single number that tells a model how far off its predictions are from the truth, and every weight update in the network tries to make that number smaller. This article covers PyTorch’s built-in loss functions, from basic ones like MSELoss and CrossEntropyLoss to specialized losses like HuberLoss and TripletMarginLoss. By the end, you will know which loss to reach…

Read More

I ran into a confusing error the first time I tried to install the Levenshtein package on Windows. The pip install failed with a cryptic message about missing build tools, and I had no idea where to start. That confusion is exactly what this article solves. This article covers what Levenshtein distance is, how to implement it manually in Python, and how to install the Levenshtein package without hitting the common Windows errors. By the end, you will have a working installation and a solid grasp of when to use the library versus a manual implementation. TLDR Levenshtein distance measures…

Read More

Cloud-native DevOps promised infinite scale and speed, but production failures expose the gap: Deployments pass CI/CD but crumble under real traffic. Continuous testing catches functional bugs, yet misses performance regressions, security drift and capacity limits that only emerge in cloud environments. Observability bridges this divide. Beyond alerting on failures, it reveals why tests fail across distributed systems — traces map API call chains, metrics quantify load impact and logs capture ephemeral errors. In 2026, mature DevOps teams treat testing as an observability problem, not just a quality gate. Recent State of DevOps reports show that teams with observability-integrated testing achieve 3x faster recovery and 50% fewer production incidents. The payoff: The confidence to ship…

Read More