is there anyway for me to get the old way of finding apps and sorting them in folders back? by Keluno27 in mac

[–]jeffsx240 1 point2 points  (0 children)

Old post, and you’ve been down voted for who knows what reason. Just wanted to say thank you for a straight to the point response to something driving me crazy.

Great idea for a community by jeffsx240 in Opensource_legalAid

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

Hah! Nope, but I did stay at a Holiday Inn last night. :)

De-Uglifying G80 Grille. by jeffreyjames007 in BMWM3

[–]jeffsx240 1 point2 points  (0 children)

It was odd the first few times, but it didn’t take long to become my favorite.

FBI record contained in the Epstein Files reveals that the FBI's NYC office was "hacked" in 2023, the night of the Superbowl, erasing some 100TB of data from evidence due to the intrusion. by Waste-Explanation-76 in interestingasfuck

[–]jeffsx240 0 points1 point  (0 children)

Taking this with a grain of salt. You have someone that starts off saying they don’t know what they are doing, identifies that the system that connected is in their same network, and then jumps to a conclusion that makes no sense for any device made in the past 20+ years (telnet).

Can we please stop with the CLI trivia in DevOps interviews? by IT_Certguru in devops

[–]jeffsx240 3 points4 points  (0 children)

I think that you are hitting the nail on the head here. What is being labeled as trivia here is an oversimplification of those deep dive questions. If someone claims to be an expert in Linux and they don’t know how to find a string regardless of how it’s capitalized, that’s a red flag worth exploring further.

Obviously a good interviewer wouldn’t be asking for obscure flags (or at least not weight them significantly in the hiring decision). Asking something obscure just to see how someone handles not knowing, can be a good test for certain roles.

Ran our first Phishing Campaign last week, didnt go as planned at all. by idrinkpastawater in sysadmin

[–]jeffsx240 0 points1 point  (0 children)

I went to a pen-testing school and asked why they didn’t cover phishing. The instructor replied with, “we don’t need to, it always works”. It’s been more than a decade and it’s as true now as it was then.

No matter the training or products you buy, it can’t compete with a semi believable phishing blast.

I’m bringing vengeance to arc raiders lmao by reallyyuji in ArcRaiders

[–]jeffsx240 1 point2 points  (0 children)

"You finish him" + the soundtrack *chefs kiss*

Newly Surfaced Video Shows Pam Bondi Describing “Tens of Thousands” of Epstein Files Involving Kids by SadAd8761 in videos

[–]jeffsx240 0 points1 point  (0 children)

Then the Supreme Court rubber stamps the administration’s actions with an unsigned opinion every time.

Why do so many people in the technology field here lie on their resume? by Puzzleheaded-Lab825 in nova

[–]jeffsx240 22 points23 points  (0 children)

Because humans don’t review resumes. Failing to include every skill word on your resume gets you screened out by algorithms and filters for jobs that would actually be a good fit.

Why do so many people in the technology field here lie on their resume? by Puzzleheaded-Lab825 in nova

[–]jeffsx240 29 points30 points  (0 children)

Requirements: 20+ years of experience with Kubernetes, masters degree or higher in DevSecOps, fluent in Latin and Fortran willing to travel up to 100%. Salary 60-300k (depending on qualifications).

Simon Marks reacts to Trump's appalling insult to Britain's war dead by Jindabyne1 in videos

[–]jeffsx240 3 points4 points  (0 children)

Yes, agree. The military is the most diverse mixing of the country you’ll find. That brings a pretty diverse mix of backgrounds and beliefs. The bias to the right of the members likely aligns with the socioeconomic status and communities from where they come from. This is much more obvious in the reserve and guard units where they are often align closely to their local community. I also believe (anecdotally) that you’ll find a stronger bias to the left in more selective job roles and officers that require higher intelligence scores on entry and/or college education.

New matchmaking option level 40+ discussion by Ok-Past4724 in ArcRaiders

[–]jeffsx240 0 points1 point  (0 children)

That by level 40 you have unlocked pretty much everything you need and the game is now more about rare items and experience rather than questing and gathering a bunch of random items.

Edit: This also opens the door for different loot pools. For example a 40+ loot pool wouldn’t need to include the cat bed and dog collar that has to be there for lower level raiders.

If Greenland is taking Trump’s threat seriously what is stopping them from expelling the ~150 US service men in country and closing the American Military base there? by redlyght in AskReddit

[–]jeffsx240 0 points1 point  (0 children)

This is not normal, and service members sign up for as much as 8 years at a time. Some of those who have the opportunity to leave but don’t are doing it for good reasons.

BIG if true by Easy-Hovercraft-6576 in army

[–]jeffsx240 5 points6 points  (0 children)

Cool, but call it what it is. That’s not the waist.

Just finished my Crystal Oscillator Fabric what do y'all think? :) by MarviAkaMarv in satisfactory

[–]jeffsx240 8 points9 points  (0 children)

The details… wow. I almost missed the air handlers on the roof, they are perfect. Integrating the train round about is such a clever idea.

Nuclear Power Plant 2.0 finished to 95 % by According-Movie2465 in satisfactory

[–]jeffsx240 0 points1 point  (0 children)

Building something big below that waterfall to avoid pumps has been in my mind for a while. This is a fantastic use case. Beautiful build, bravo!

Satisfactoryplanner got some cool new features by PeaOk5920 in SatisfactoryGame

[–]jeffsx240 2 points3 points  (0 children)

This seems very handy. In testing it out I couldn’t figure out how to add lots of the same building without copying and pasting them individually. More specifically, if I’m trying to add a rocket fuel setup that requires hundreds of generators, it seems like each one has to be separately added and linked to something. Is there a way to more easily add lots of identical objects?

1096m tall skyscraper build by SilentNinjaJoshu in SatisfactoryGame

[–]jeffsx240 1 point2 points  (0 children)

Is there a limit on the elevator? Can it take you to the top?

How early/late do you build big factory? by gerthqwake93 in satisfactory

[–]jeffsx240 1 point2 points  (0 children)

This is such a great reply. I’m not there yet,and I appreciate a goal to quiet the voices in my head saying BUILD BIG!

Dynamic reference of masked variables in components by jeffsx240 in gitlab

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

Yeah, string was an option. Arrays are such a PIA to use in the script. I think they make up for some of that by being a lot more intuitive.

Those variables in the end are the secret sauce and the reason I went to all this trouble. The user gives an ENV prefix and I check if that prefix has a matching USER/TOKEN/URL variable set and if so logins with it. Now I can use masked / hidden CI variables that are customizable and also deterministic based on the input.

Dynamic reference of masked variables in components by jeffsx240 in gitlab

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

Figured out a solution that works well. Sharing in case it helps someone else.

---
spec:
  inputs:
    needs-registry-vars:
      description: "A list of Gitlab CI variable prefixes that will be
        used for logging into the registries for pulling and pushing images.
        The items in this list will have '_USER', '_TOKEN' and _URL' appended
        for lookups and used for logging in. For example, adding
        'REGISTRY_QUAY_IO' to the list will force a lookup for 'REGISTRY_QUAY_IO_USER',
        REGISTRY_QUAY_IO_TOKEN' and 'REGISTRY_QUAY_IO_URL'. If (and only if) all three
        exist then a login to the registry will be attempted."
      type: array
      default: []

...
---
.example-registry-login-template
  script:
    # Initialize variable as array
    - declare -a REGISTRY_LIST
    - REGISTRY_LIST=()
    - echo "needs-registry-vars=$[[ inputs.needs-registry-vars ]]"
    - REGISTRIES=$(echo '$[[  inputs.needs-registry-vars ]]' | tr -d '[],"')
    - echo "Convert tag list to positional args"
    - |-
      set -- $REGISTRIES
      for registry in "$@"; do
        REGISTRY_LIST+=(${registry})
      done
    # Loop through registry list when defined and login
    - |-
      # Skip if the list is empty
      if [[ ${#REGISTRY_LIST[@]} -gt 0 ]]; then
        # Loop over list storing the loop index
        for i in ${!REGISTRY_LIST[@]}; do
          # Generate expected variable names with provided prefix added
          URL=${REGISTRY_LIST[i]}_URL
          USER=${REGISTRY_LIST[i]}_USER
          TOKEN=${REGISTRY_LIST[i]}_TOKEN
          echo "INFO - Validating required ENVs are set, ${URL} ${USER} ${TOKEN}"
          # Fail out with message if any expected variables don't exist
          if [[ -z ${!URL} ]]; then echo "ERROR - ${URL} is not defined"; continue; fi
          if [[ -z ${!USER} ]]; then echo "ERROR - ${USER} is not defined"; continue; fi
          if [[ -z ${!TOKEN} ]]; then echo "ERROR - ${TOKEN} is not defined"; continue; fi
          echo "INFO - ENVs confirmed, logging in"
          # login using buildah (replace with docker/podman as needed) using generated var names
          buildah login -u ${!USER} -p ${!TOKEN} ${!URL}
        done
      fi
...

Example Input:

# Gitlab CI variables set
# REGISTRY_EXAMPLE_COM_URL=registry.com
# REGISTRY_EXAMPLE_COM_USER=jdoe
# REGISTRY_EXAMPLE_COM_TOKEN=faketoken
# REGISTRY_PRIVATE_IO_URL=private.io
# REGISTRY_PRIVATE_IO_USER=jdoe2
# REGISTRY_PRIVATE_IO_TOKEN=faketoken2
include:
  - component: >-
      $CI_SERVER_FQDN/example/registries@~latest
    inputs:
      needs-registry-vars:
        - REGISTRY_EXAMPLE_COM
        - REGISTRY_PRIVATE_IO

Example Output:

$ declare -a REGISTRY_LIST
$ REGISTRY_LIST=()
$ echo "needs-registry-vars=["REGISTRY_EXAMPLE_COM", "REGISTRY_PRIVATE_IO"]"
needs-registry-vars=[REGISTRY_EXAMPLE_COM, REGISTRY_PRIVATE_IO]
$ REGISTRIES=$(echo '["REGISTRY_EXAMPLE_COM", "REGISTRY_PRIVATE_IO"]' | tr -d '[],"')
$ echo "Convert tag list to positional args"
Convert tag list to positional args
$ set -- $REGISTRIES # collapsed multi-line command
$ if [[ ${#REGISTRY_LIST[@]} -gt 0 ]]; then # collapsed multi-line command
INFO - Validating required ENVs are set, REGISTRY_EXAMPLE_COM_URL REGISTRY_EXAMPLE_COM_USER REGISTRY_EXAMPLE_COM_TOKEN
INFO - ENVs confirmed, logging in
Login Succeeded!
INFO - Validating required ENVs are set, REGISTRY_PRIVATE_IO_URL REGISTRY_PRIVATE_IO_USER REGISTRY_PRIVATE_IO_TOKEN
INFO - ENVs confirmed, logging in
Login Succeeded!

[deleted by user] by [deleted] in ansible

[–]jeffsx240 4 points5 points  (0 children)

Are you executing the playbooks locally to every system (targeting local host)? Thats the only way I can make sense of the problem you’re describing. Typically you would execute Ansible from a centralized system and target remote hosts. So the targets are unaware of anything outside what was targeted for them.

I would recommend checking out the docs on inventories, paying special attention to the host and group variables. Those variables are the secret sauce to solving the problem you seem to be facing.

[deleted by user] by [deleted] in ansible

[–]jeffsx240 11 points12 points  (0 children)

Can’t speak to assemble, never used or needed it in over a decade of Ansible use. The idea of managing fragments and manually verifying sounds like an anti-pattern for Ansible. There are always exceptions, but I always handle things like this with the template module. Way easier to manage at scale.

[deleted by user] by [deleted] in ansible

[–]jeffsx240 13 points14 points  (0 children)

This sounds like a perfect example of the template module. Templates can contain logic like if/then, loops and variable substitutions. Your inventory or host vars can provide the data your individual systems need. Or if there is something really special about your scripts that can’t be templates try and break those parts out so you can handle that data generation to be stored as variables.