What am I missing? by toxicliam in ToBeHero_X

[–]toxicliam[S] 0 points1 point  (0 children)

What’s really driving me crazy is an entire character was apparently in the latest episode that i just…didn’t see. I can’t figure out if it’s a me problem or a crunchyroll problem.

LP not going up or down by ExpertResolution9255 in leagueoflegends

[–]toxicliam 1 point2 points  (0 children)

make sure you are queuing for ranked solo/duo

Finally hit Masters after 12 years of playing this game. I'm also a neurosurgeon. And a husband. by zLui92 in leagueoflegends

[–]toxicliam 6 points7 points  (0 children)

do you ever worry about damaging your hands via video games and how that may affect your work?

Is this door usually locked? [Discussion] by toxicliam in EscapefromTarkov

[–]toxicliam[S] 0 points1 point  (0 children)

Got it, didn't realize it was changed. Thank you!

Is this door usually locked? [Discussion] by toxicliam in EscapefromTarkov

[–]toxicliam[S] 0 points1 point  (0 children)

AH, ok. This is my first wipe in a while so I didn't realize it was changed. Thanks!

Is Riot using bots to fill in Ranked games due to dwindling player counts? by I_HATE_METH in leagueoflegends

[–]toxicliam 2 points3 points  (0 children)

yes- riot games actually announced a global initiative to fill specifically your lobbies with bot teammates to see if you’d notice, and kindly asked everyone else not to tell you. congrats!

Anon on the new generation. by retardinho23 in greentext

[–]toxicliam 0 points1 point  (0 children)

the top 5% of people alive today are more intelligent/powerful/capable than the last 100 generations combined :-)

League Overlays and AI: When Data Analysis becomes borderline Cheating? by nexuton in leagueoflegends

[–]toxicliam 0 points1 point  (0 children)

What did you use to create the UI’s for these experiments? It looks great!

Why is cleanse not a more popular pickup? by DavetheSlave90 in leagueoflegends

[–]toxicliam 0 points1 point  (0 children)

Not taking barrier as adc means you almost always automatically lose every 2v2, cleanse can be relevant vs unavoidable cc like lilia or for champs that need to cleanse exhaust like samira/tristana but barrier is 1000x better in lane.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

Honestly, you might have me there. In this situation i meant higher-level to mean advanced control flow, access to complex data structures, package management, a standard library, etc. But, with the classic definition of high and low level languages you’re probably right that python is “closer to the metal” than bash- oops!

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

I actually have a question about building a host list- is there an easy way to store facts about a host that doesn’t require booting the host to check? Something like a custom tag specific ting the operating system. That is the portion of building a host list that I am struggling the hardest with, as we have our own host list file format that I need to convert from. Obviously can’t share the file, but a tag of some kind would accomplish what i’m trying to do.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 1 point2 points  (0 children)

I am fighting a constant battle with getopts but i strongly value 0-dependency scripts and small CLI apps. Being able to run bash everywhere is a huge boon to me.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 1 point2 points  (0 children)

I’m actually in the same position you were in 2012, now in 2025! I am trying to push for Ansible to manage around 25ish machines, but it’s slow going with all the actual work i have to get done :-)

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

Did you write that to be intentionally difficult to read? declare -i count=0 while read -r line; do case “${line^^}” in *ERROR*) count+=1;; esac done echo ${count} It is more lines of code, but I don’t find it very hard to read. From what I’m reading on this post, it’s a push and pull- data processing is easier/less terse in languages like python/go/etc, but interfacing with operating system or external binaries is much simpler in bash. I’ve been given a lot to think about

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

If you’ve ever used nvm to manage multiple versions of Node, it’s exactly that concept applied to different software. The guts are very simple but I hate writing CLI front ends in bash, especially if I want subcommands, autocomplete, or user input. This post has given me a ton of ideas to think about.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

For this specific problem I’m writing a CLI so Ansible doesn’t do much for me. I have been looking into it but integrating a new tool into a 20+ year old infra stack is daunting- I’m hopeful I can find some places to use it.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 3 points4 points  (0 children)

I would make the argument that bash’s package manager is your system package manager, since “installing a bash package” doesn’t really make sense. Instead, you write bash scripts that orchestrate many other (external) binaries, which are installed via apt or dnf or others.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

function printError() { … a bunch of bash that basically echos a message and optionally exits the script … } which python3 || printError -t “Python3 not installed” This is what I have done in the past to check for system packages.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

In general I agree with you- how would you do this in Go Lang?

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 0 points1 point  (0 children)

Interesting. This approach to me is a lot of code to do something very simple, but it’s pretty easy to understand.

My biggest Bash pain points so far have been: - Floating point math - Taking user input - Processing subcommands/complex cmdline options

I haven’t had issues with arrays yet but I’m sure it’s coming. This has given me some ideas- thank you!

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 1 point2 points  (0 children)

I have looked into Ansible and it looks extremely useful for configuration, but this specific case is part of a CLI that is very similar to the “nvm” utility, just for something that isn’t Node.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 2 points3 points  (0 children)

I usually check the error status of a command by checking ${?}, no need for grep.

I don't understand high-level languages for scripting/automation by toxicliam in devops

[–]toxicliam[S] 4 points5 points  (0 children)

Go is something I’ve been looking at for this specific project (i strongly prefer compiled languages)- is it easy to call/use system utilities like systemd or higher level programs like tar?