this post was submitted on 08 Dec 2025
5 points (100.0% liked)

Powershell

1205 readers
1 users here now

PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS

Resources:


Rules:

Self-promotion rules:


founded 2 years ago
MODERATORS
 

Saving Christmas with PowerShell: Building a Reusable Matching Algorithm

This video isn’t just “here’s a script.” It walks step-by-step through the whole evolution of the solution:

  • Start with a naive random shuffle
  • Add constraints and filtering
  • Introduce backtracking when things get messy
  • Turn it all into a clean, reusable function

The end result is a robust matching engine you can adapt for scheduling, load balancing, on-call rotations, pairing systems, etc.

Watch: https://youtu.be/4uwQh6Nap5M
Code: https://www.dowst.dev/?p=3971

Feedback and ideas welcome!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here