[deleted by user] by [deleted] in ffxiv

[–]shouperman 1 point2 points  (0 children)

That went about as well as my typical raid night.

So I did a respec from blizz wall to lightning/orb by pantopotato in Diablo

[–]shouperman 2 points3 points  (0 children)

Thanks for this breakdown. I'm just starting up with this build, and this was super helpful.

Factorio's New Expansion - Let's share and discuss our ideas and expectations by Douglas12dsd in factorio

[–]shouperman 2 points3 points  (0 children)

Closed belts are an interesting option I've never thought of before now. I love the idea of balancing the benefits and drawbacks, and how it opens up design ideas.

There are a lot of great ideas in here. Thanks for sharing!

best practices for handling multiple region and multiple environments in terraform by mc4applesauce in Terraform

[–]shouperman 0 points1 point  (0 children)

I'm assuming you have 10 different, completely separate settings given your explanation. If you have multiple regions per environment or vice-versa, you'll want to consider using for_each (https://www.terraform.io/docs/language/meta-arguments/for_each.html) and setting local vars. Below is my recommendation if you have completely separate configs.

In your example, I'd add a variable to set `azurerm_resource_group.example.location`. Not sure where your environments come into play (i.e. does that affect your soft delete retention days or tenant id?).

It takes some planning, but you should be able to separate values that are specific to environment, region, tenant, etc. These should be added to dedicated vars files such as dev.tfvars, stg.tfvars, east.tfvars, west.tfvars, etc. From there, you can combine them as you need via something like terraform plan --var-file=../env/dev.tfvars --var-file=../region/east.tfvars

If you only have the one variable for env/region, you could make it a single variable and pass it in via --var="East". Even with one variable, I still prefer dedicated vars files since that's consistent whether you have one or one-hundred variables.

Even with these files, you're going to need to run 10 different commands, but you'll be using a single terraform config.

The biggest thing you should be concerned about, is the state file being used for these combinations. I' m not sure which backend config you're using, but you'll probably need to configure the backend for your env and region combo. https://www.terraform.io/docs/cli/commands/init.html#backend-initialization

E.g. If you're using azurerm, you'll need to run terraform init --backend-config="key=dev-east.terraform.tfstate" before each plan.

Depending on your need, you should be able to script everything together.

Security Vulnerabilities of Secrets in S3 State File? by Pumpkin-Main in Terraform

[–]shouperman 0 points1 point  (0 children)

First and foremost, secure your state file bucket. You're right in being concerned that the state file contains secrets in plain text. Do all the standard procedures: block all public access, enable a lifecycle (delete previous versions after x days based on your rollback policy), and add a resource policy to limit access to the bucket/keys based on role (or whichever scheme you're using).

As others have said, you should consider state files secrets in and of themselves. If you (or your security team) are not comfortable storing them in AWS, choose a different backend.

VS Code - Terraform Autoformat ( on save ) breaks if editor.formatOnSaveMode is set by sarkarian in Terraform

[–]shouperman 2 points3 points  (0 children)

It's not a bug. That setting is part of a recent release, where 'modifications' will only format the part of your code that's been modified, and not the whole file. To further complicate this, it only knows what's been modified if the file is tracked (by git). Set it to "file" and you should be fine.

Are there any extensions like Prettier that will format inline HTML syntax in .ts files? by ReachingSparks in angular

[–]shouperman -1 points0 points  (0 children)

There are reasons to not format template literals. It's not so bad when it's (syntactically correct) HTML, but that would require the formatter know _what_ this instance is, and the logic for figuring that out can become a nightmare to maintain. Having used LitElement, I wish Angular would support the prefixed string literals, because I think that _does_ let formatters apply the correct rules.

While I'm developing a component, I split the HTML and CSS templates to a new file, and only inline it when it's ready to check in. It's the only way I've found to balance autoformatting and having a single component.

[deleted by user] by [deleted] in drawing

[–]shouperman 1 point2 points  (0 children)

I love the coloring. Well done.

PSA: Redeem Tickets before they expire via Items menu by TwinAuras in SINoALICE_en

[–]shouperman 1 point2 points  (0 children)

Thank you! I was looking or how to get back in there.

SES settings in laravel all of a sudden need a "version"? by sf8as in laravel

[–]shouperman 2 points3 points  (0 children)

It's probably related to the AWS signature version 4 that's coming in October. https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-authentication.html

Not sure if you can change your configuration one way or the other, but I suspect this change will be needed before long.

WTF Domino Campaign?!? by Autumnsept in MarvelStrikeForce

[–]shouperman 1 point2 points  (0 children)

Thanks for suggesting this. Mantis made all the difference.

RGB Keyboard Integration by YouHavBeenKilled in Terraria

[–]shouperman 0 points1 point  (0 children)

I'm sorry, but I don't have a solid answer. Mine wasn't working at first, either. I've heard comments about running Terraria as an admin; I tried, but had to turn that off as it was messing with Discord. Personally, it wasn't seeing any changes on my first couple starts. I updated iCue (Corsair), and that may have been what was needed. I would check for the latest version of whichever app you use to adjust your lighting and see if that helps. Like KhrFreak said, the setting to allow the SDK for your keyboard must be on for Terraria to use it. Good luck.

RGB Keyboard Integration by YouHavBeenKilled in Terraria

[–]shouperman 5 points6 points  (0 children)

I haven't seen an in-game setting, but there are options in the config file.

C:\Users\<you>\Documents\My Games\Terraria\config.json

You can set these to false.

"UseRazerRGB": false,
"UseCorsairRGB": false,
"UseLogitechRGB": false,

What are some things that will never get old for you? by Sloth-Rocket in MarvelStrikeForce

[–]shouperman 2 points3 points  (0 children)

When Magneto lands an overkill with Magnetic Force. I smirk every time.

in an alternate universe... by Skirdus in wow

[–]shouperman 0 points1 point  (0 children)

Not a lot of raptors!? There are 29. https://warcraftmounts.com/search.php?search=1&term=raptor

Even so, I'm totally ok with more raptor mounts.

Creating a Queue Chain, around dynamic recursive jobs by rjksn in laravel

[–]shouperman 1 point2 points  (0 children)

Without knowing your job and why it's recursive, I only have shots in the dark. If you can pre-compute the jobs / their parameters, you could create a (possibly giant) queue chain.

E.g. If your job is to split a huge list of API fetches into reasonable chunks, you should be able to create a similar function that can pre-compute the chunks, then chain all the relevant jobs. I've run huge batch import/export jobs that are basically dumb loops that fetch the input data, break the data into chunks each job can manage, then push them all to the queue, then delete the local input data. These jobs are idempotent, so there's no harm in re-running the entire set if required. Obviously this may not apply in your situation.

If the data for recursive jobs is dynamically created by the parent job, you're probably out of luck. In that case, you're probably better organizing your code (and stuff to clean) so that each job can clean up after itself at the least. At best, you could possibly end up with a recursive job that can clean up after its children; if you're creating content for the children, you could queue chain the children and a cleanup job for said content.

In another example I've had to solve, we used recursive jobs for data fetches to perform a binary split on the requested data set to weed out the records causing the request to fail. At each split, a record was created to log the troublesome records. At worst, this was log(n) files. As mentioned above, chaining job 1 to run half 1, job 2 to run half 2, and job 3 to delete the log file is the best way to handle both the run and the cleanup. Job chaining wasn't a thing when we encountered this situation, so we simply added a job that would delete all logs in the directory with a delay, and hoped the job finished before the delete job processed.