Author: drweb

Harness today previewed two additional modules for its artificial intelligence (AI) platform for DevOps that automate code maintenance and automatically rollback a deployment whenever an issue is detected.Additionally, Harness is adding an Architect Mode to the Harness AI platform that interactively engages DevOps engineers to design pipelines based on best practices for security, quality and compliance that have been defined by the organization, in addition to making available an AI agent for its internal developer portal (IDP).Finally, Harness Release Orchestration has been extended using an AI capability that makes it possible to now model new release processes using natural language,…

Read More

Have you ever needed to find the closest point to your location or calculate distances between places on a map? Maybe you want to create boundaries around data points or find clusters in your dataset. These are spatial problems, and they pop up everywhere – from GPS apps to computer graphics to machine learning.In this guide, I’ll show you how to use scipy.spatial to solve these problems with Python. You’ll learn how to work with convex hulls, KDTrees for fast nearest neighbor searches, and various distance calculations. By the end, you’ll have practical tools to handle spatial data like a…

Read More

Leading stewards of several major open source projects today issued a joint open letter calling for major changes to be made to the way the IT infrastructure used to support these initiatives is funded, operated and maintained.Posted on the Open Source Security Foundation (OpenSSF) website, the open letter signed by representatives from open source projects such as Maven Central/Sonatype, OpenJS, The Python Software Foundation and The Rust Foundation called for fundamental reforms to be made in terms of both how IT infrastructure is funded and the way open source software is being consumed.At the core of the issue is vendors…

Read More

When I first started working with data analysis, I thought all regression was the same. I’d fit a line through my data points and call it a day. However, I then discovered orthogonal distance regression (ODR), which completely changed how I handle noisy data. If you’ve been using regular regression where only the y-values have errors, you’re missing out on a powerful technique that considers errors in both x and y coordinates.The scipy.odr module is Python’s go-to tool for orthogonal distance regression. Unlike ordinary least squares that minimizes vertical distances to the line, ODR minimizes the perpendicular (orthogonal) distances from…

Read More

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