Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_first
powershell_heavy
windows_tools
Summary
The documentation demonstrates some Windows bias, primarily by listing Windows prerequisites and tools (such as Visual Studio) before Linux equivalents, and by providing more detailed setup steps for Windows. The use of Windows-specific tools (Visual Studio) and the ordering of instructions (Windows first, then Linux) reinforce this bias. However, the tutorial does provide Linux instructions and examples, and the main sample build and run commands are cross-platform.
Recommendations
  • Alternate the order of Windows and Linux instructions or present them in parallel tabs to avoid always listing Windows first.
  • Provide equivalent detail for Linux as for Windows, e.g., mention recommended Linux IDEs or editors (such as VS Code, CLion, or gedit) and any relevant Linux-specific setup tips.
  • Avoid assuming Visual Studio is the default C++ development environment; mention cross-platform alternatives.
  • Ensure all command-line examples are provided for both Windows (cmd or PowerShell) and Linux (bash), especially for git clone and build steps.
  • Where possible, use neutral, cross-platform language and tools in explanations and code snippets.
  • Explicitly state that all steps are supported on both Windows and Linux, and ensure parity in troubleshooting or notes sections.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-11 00:00 #240 completed Clean Clean
2026-01-10 00:00 #237 completed Clean Clean
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-03 00:00 #100 completed Clean Clean
2025-07-31 00:00 #66 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

In Linux, the binaries are in the _./build_ folder underneath the _mosquitto_ folder.

In Windows, the binaries are in the _.\build\Debug_ folder underneath the _mosquitto_ folder.

## Send telemetry

The *mosquitto_telemetry* sample shows how to send a device-to-cloud telemetry message to your IoT hub by using the MQTT library.

Before you run the sample application, run the following command to start the event monitor for your IoT hub. Be sure to use the name of your IoT hub: