programming

When It Keeps Failing

Jul 7, 2024
Game Development, Rust Programming, 3D Graphics
rust, gamedev, bevy, 3d, programming

Don’t give up! Just Invoke-UntilSuccess! ๐Ÿ˜น <# .SYNOPSIS This function executes a command until it succeeds. .DESCRIPTION The Invoke-UntilSuccess function takes a command as an argument and executes it. If the command fails, it retries the command until it succeeds. The function outputs the result of the command and whether the command was executed successfully or not. .PARAMETER commandStr The command to be executed. .EXAMPLE Invoke-UntilSuccess git clone https://github.com/ka-de/polars #> function Invoke-UntilSuccess { try { do { $commandStr = $args -join ' ' Write-Host "Executing command: $commandStr" $output = Invoke-Expression $commandStr Write-Host $output $exitCode = $LASTEXITCODE if ($exitCode -eq 0) { Write-Host "Command executed successfully. ...

Early Steps

Aug 18, 2023
technology, programming, vba script, data manipulation, self-improvement, addiction recovery, health, ai assistance, powershell, chatgpt, excel

Men slowly starting to interface with the machines other men built for them. Glorious! I accidentally dropped out of society for a few years, and upon my return, I discovered the presence of peculiar machines that we can converse with, and which possess extensive knowledge about various subjects. I have no trepidation concerning GPUs, so let’s embark on a deep exploration of this novel ‘disruptive’ technology together. Below, you will find a graveyard of both useful and useless scripts, composed individually by machines or with minimal assistance from this hairy monkey. ...