It’s 2 AM. Your phone is going off. Users can’t connect to the application, and when you open SSMS to investigate, the connection spinner just keeps spinning. SQL Server is alive; you can see the process running, but it’s too overwhelmed to let you in. You need to get in there and kill something, but you can’t get a connection to do it.This is exactly the scenario the Dedicated Admin Connection DAC was built for. And if you haven’t set it up yet, now is the time. Because when you need it, you really need it.What Is the DAC?The Dedicated…
Author: drweb
Concurrency bugs are some of the hardest problems to track down. I keep coming back to the Producer-Consumer problem because it captures exactly what goes wrong when threads operate at different speeds. Let me walk through what it is and how to solve it in Python. The core issue: one thread produces data, another consumes it, and they share a fixed-size buffer. If the producer runs faster than the consumer, the buffer overflows. If the consumer runs faster, it reads from an empty buffer. Plus, both threads can step on each other if they access the buffer at the same…
I discovered a procedure recently that I wasn’t aware of: sp_sequence_get_range. This post looks at how the proc works.Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers.The SetupI have a sequence object, IDCounter, that is an integer with an increment of 2. The next value that is returned is shown here:The next value returned will be 99 (increment by 2).However, imagine that I know I need 10 new values. I don’t want a loop to get these values. Instead, I want to move the sequence to 10 values…
The demos look super cool! An AI agent detects a failing deployment, rolls it back, opens a GitHub issue, and notifies Slack — all before the on-call engineer has finished reading the alert. If you’ve been following the DevOps tooling space over the last 18 months, you’ve probably seen some version of this pitch. But here’s the honest question: How much of this is actually running in production today, and how much is still a well-staged conference demo? This article cuts through the noise. We’ll look at what AI agents in DevOps actually are, where they’re delivering real value right…
If you work with financial data, you have probably asked yourself how to forecast volatility. I keep coming back to this problem because simple moving averages do not capture the clustering effect of volatility. That is where the GARCH model helps. It models time-varying variance in a way that reflects how markets actually behave. In this article, I walk through the GARCH model from scratch, show you how to fit it in Python, and highlight the practical differences between its variants. The GARCH model shows up everywhere in quantitative finance. Risk managers use it to estimate Value at Risk. Options…
Learn how to use systemctl with the –failed flag to instantly spot broken services on your Linux system, without scrolling through hundreds of healthy ones. A server starts acting up, something is clearly wrong, but systemctl status dumps a wall of text that tells you nothing useful. You scroll, you squint, you give up and open the logs. The faster move is to ask systemd one simple question, which services actually failed, and let it answer in two lines instead of two hundred. Every command below was tested on Ubuntu and Rocky Linux, and the behavior is identical on any…
SUSE today revealed it is collaborating with multiple providers of artificial intelligence (AI) agents with the ability to manage IT infrastructure resources via integrations with the Model Context Protocol (MCP) server embedded in its platforms. Announced at the SUSECON 2026 conference, AI agents from Fsas Technologies, n8n and Revenium, Stacklock and Amazon Web Services (AWS) can invoke the MCP server that SUSE has embedded in its Rancher Prime and SUSE Multi-Linux Manager offerings. Rick Spencer, general manager, engineering at SUSE, said that capability makes it possible, for example, for the Amazon Quick AI agent that AWS developed to automate workflows…
Python ships with a philosophy that prioritizes readability and transparency. The interpreter executes source code directly, which means anyone with access to your .py files can read, copy, or modify your logic. For open-source projects this is a feature. For proprietary software, commercial products, or any code that handles sensitive algorithms, this openness becomes a liability. Obfuscation addresses this problem by transforming readable source into something that still executes correctly but resists human comprehension. The goal is not to make code impossible to run, but to make reverse engineering impractical. String literals get encoded, class and function names get replaced…
Python database programming isn’t just about writing queries, it’s also about understanding the right tools. From sqlite3 to MySQL and PostgreSQL (via mysql-connector-python and psycopg2), and even NoSQL with pymongo, each plays an important role. You also need a basic understanding of SQLAlchemy and pandas. In this article, I’ve combined all these concepts into a set of 100 Python SQL & Database MCQs, helping you prepare for your upcoming interviews or exams. 100 Python SQL & Database MCQs Each of these 100 Python SQL & Database MCQs covers a key concept. Master them, and you’ll be interview-ready. Q1. Which built-in…
Your on-call phone rings at 2 AM. Application timeouts are climbing and someone is already asking for updates in the incident channel. You open one dashboard. Then another. Then a cloud portal. Then the legacy monitoring tool nobody wanted to retire. Forty minutes later you are still figuring out which SQL Server instance is actually responsible. Meanwhile, the LCK_M_S wait chain has quietly been building for an hour. Let us talk about SQL Server Monitoring Across Cloud, Hybrid, and On-Prem. This is not a tooling problem. Most teams have tools. It is a visibility problem. And it becomes painfully obvious…
