Author: drweb

Want to break down complex signals into their building blocks? The Fast Fourier Transform (FFT) is like a musical analyzer for any kind of data. It can take a messy signal and show you exactly which frequencies make it up.Python’s scipy.fft module makes this powerful tool easy to use. Whether you’re working with audio files, sensor readings, or any data that changes over time, FFT helps you see the hidden patterns inside.In this tutorial, we’ll learn how to use scipy.fft to analyze signals step by step. You’ll see how to break down simple waves, plot the results, and even work…

Read More

This is Part 4 of our MCP Horror Stories series, where we examine real-world security incidents that expose the devastating vulnerabilities in AI infrastructure and demonstrate how Docker MCP Gateway provides enterprise-grade protection against sophisticated attack vectors. The Model Context Protocol (MCP) has transformed how developers integrate AI agents with their development environments. Tools like MCP Inspector have become essential for debugging and monitoring MCP communications, with over 38,000 weekly downloads making it one of the most popular utilities in the ecosystem. But as our previous issues revealed, from the mcp-remote supply chain attack (Part 2) to the GitHub prompt…

Read More
SQL

I’m starting a long trip at Boston this weekend. I’ll be there Saturday speaking, two sessions I think. At least one.I’m excited for this session as I’ve had a good time playing with LLMs and hope I can make this interesting for the attendees. I got asked to also talk about the Data API Builder, but Sessionize doesn’t have that updated, so I’ll be double checking that session today.Hopefully I see you there. It’s a great schedule, with some talented speakers. There is also a precon from Brent on Friday.Register today and I’ll see you in the Boston area on…

Read More

Clustering is like organizing your music collection – songs with similar beats go in one folder, and classical pieces in another. Python’s scipy.cluster module makes this super easy for data scientists and programmers.This powerful tool can automatically find patterns and group data points that belong together. Whether you’re analyzing customer behavior, organizing images, or finding trends in large datasets, scipy.cluster has the algorithms you need. Let’s explore how to use these clustering techniques with clear examples and practical code.What is scipy.cluster?scipy.cluster is a powerful submodule within the SciPy library that provides implementations of various clustering algorithms. Think of it as…

Read More
SQL

I have also witnessed what happens when organizations try to shortcut these foundational steps. The damage is predictable and costly: User Resistance and Misaligned Solutions: Building data quality systems without input from actual users creates solutions that don’t solve real problems, which results in resistance to adoption and wasted resources. Reactive Crisis Management: Without proactive monitoring, data quality problems remain hidden until they cause business disruptions. By then, fixes are expensive, urgent, and often incomplete, leading to unreliable decision-making across the organization. Persistent Data Quality Debt: When there is no clear resolution process, data quality issues accumulate like technical debt. Problems persist for…

Read More
SQL

Not long ago, a colleague of mine was completely shocked when he first heard about SQL Server’s Batch Mode feature. His immediate reaction was: “Wait, but SQL is set-based. Doesn’t that mean it already processes everything as a set instead of row by row?”That’s actually a really common assumption, and it makes sense at first glance. After all, people often describe relational databases as powerful because they “process sets of data at once.” But the reality is a little more nuanced. Let’s clear this up.Set-Based SQL Is About How You Express QueriesWhen we say SQL is a set-based language, we’re talking about how you, the database professional, express…

Read More

Keeping files in sync across multiple machines is a common task for Linux users. You might use both a laptop and a desktop, manage a home server and a VPS, or just need an extra copy of your important files. For simple backups, tools like rsync and scp work well, but if you make changes on both systems, one-way sync isn’t enough and you risk overwriting files or losing updates. This is where Unison File Synchronizer is useful, which is a two-way synchronization tool that compares directories on both sides, detects changes, and updates them so that both locations always…

Read More

GitHub Copilot Chat just got more flexible. Hugging Face released an extension that connects open-source large language models directly to VS Code’s chat interface. This means developers can now test models like Kimi K2, DeepSeek V3.1 and GLM 4.5 without leaving their editor.How it WorksThe setup is straightforward. Install the Hugging Face Copilot Chat extension, open VS Code’s chat interface, select Hugging Face as your provider, add your token, and choose your models. Once connected, you can switch between different providers and models using the same interface you’re already familiar with.There’s one catch worth noting early: you need VS Code…

Read More

DevOps teams across organizations are suddenly finding themselves responsible for security with no roadmap. One day, teams are focused on deployment velocity and infrastructure automation, the next day, they’re expected to understand threat modeling, vulnerability management and compliance frameworks. This shift isn’t happening by choice — it’s happening because traditional security approaches can’t keep pace with modern development cycles. The gap is real: DevOps professionals know they need security skills, but lack clear guidance on where to start. Most available resources either assume deep security expertise or offer surface-level tool tutorials that miss the bigger picture. Meanwhile, organizations desperately need people…

Read More
SQL

A customer wanted a report they could email to their boss about jobs, something that showed failures. This isn’t hard to get in Redgate Monitor, though it is manual (for now). Here’s how to do this.This is part of a series of posts on Redgate Monitor. Click to see the other posts.The Estate View of JobsUnder the Estate menu item, there is an entry for jobs.Click this and you get to the estate view of jobs. Here I see an overview, and I can click the scale in the upper right for day/week/month.Below this I see the failed and successful…

Read More