Author: drweb

# Syntax map(function, iterable1, iterable2, …) # Example: Square each number in a list numbers = [1, 2, 3, 4, 5] squared = map(lambda x: x**2, numbers) print(list(squared)) # [1, 4, 9, 16, 25] The python map function applies a transformation to every element in an iterable without writing explicit loops. You pass a function and one or more iterables, and map returns an iterator containing transformed values. Understanding how python map processes data The map() method takes two required arguments. The first argument accepts any callable function, including built-in functions, lambda expressions, or custom functions. The second argument accepts…

Read More

sorted(iterable, key=None, reverse=False) # Basic example numbers = [5, 2, 8, 1, 9] result = sorted(numbers) print(result) # [1, 2, 5, 8, 9] The python sorted function returns a new list containing all elements from any iterable arranged in ascending order. Unlike the sort() method that modifies lists in place, sorted() creates a fresh list while preserving your original data structure. This distinction matters when you need to maintain the original sequence or work with immutable types like tuples and strings. How python sorted works with lists The most straightforward application of python sorted involves numeric lists. The function examines…

Read More

# Basic list comprehension syntax new_list = [expression for item in iterable] # Example: Square each number in a list numbers = [1, 2, 3, 4, 5] squares = [num ** 2 for num in numbers] print(squares) # Output: [1, 4, 9, 16, 25] List comprehension python provides a single-line mechanism to construct new lists by applying operations to each element in an existing iterable. The syntax consists of square brackets containing an expression, followed by a for clause that iterates through a source iterable. This approach replaces multi-line for loops with compact, readable code that executes faster due to…

Read More

Postman CEO Abhinav Asthana explains how the acquisition of Fern will significantly improve the quality and consistency of documentation generated for application programming interfaces (APIs) and software development kits (SDKs), as well as the impact on developer experience and modern API-driven development. Fern, Asthana explains, has built momentum by helping companies generate higher-quality SDKs and […]

Read More

SmartBear vice president of AI and architecture Fitz Nowlan explains why maintaining software integrity in the age of artificial intelligence requires organizations to double down on testing and quality assurance. He discusses how AI-driven development increases risk and why stronger QA practices are essential for reliable software delivery. Nowlan argues that AI-driven development increases risk […]

Read More

This post is a collaboration between Docker and Arm, demonstrating how Docker MCP Toolkit and the Arm MCP Server work together to simplify architecture migrations. Moving workloads from x86 to Arm64 architecture has become increasingly important. Organizations seek to reduce cloud costs and improve performance. AWS Graviton, Azure Cobalt, and Google Cloud Axion have made Arm-based computing mainstream, promising 20-40% cost savings and better performance for many workloads. But here’s the challenge: How do you migrate your applications to Arm without breaking things? Traditional migration approaches require: Manual code analysis for x86-specific dependencies Tedious compatibility checks across multiple tools Manual…

Read More
SQL

I was messing around performing investigative work on a pod running SQL Server 2025 in Kubernetes the other day and noticed something…the sqlservr process is no longer PID 1 in its container.Instead there is: –Hmm, ok we have a script /opt/mssql/bin/launch_sqlservr.sh and then the sqlservr binary is called.I swear this wasn’t always the case, have I seen that before? Started to doubt myself so spun up a pod running an older version of SQL (2019 CU5) and took a look: –Ahh ok, there has been a change. Now those two processes there are expected, one is essentially a watcher process…

Read More