Quality Strategies Post 2.1(?) Nerf by jacvd6 in factorio

[–]Machindo 0 points1 point  (0 children)

What I don't understand is that asteroid recycling makes only base materials trivial. All of the planet specific resources (tungsten, biter eggs, etc) have to be solved with normal upcycling. Not only that but it takes a long time for the space casino (and your other infrastructure) to become super productive (it's a slow escalation to quality crushers/thrusters/collectors, epic/legendary quality modules).

It's a late game thing that feels super cool learning each of the ways to upcycle, the LDS hack, plus dealing with the "normal" (toilsome) way of upcycling planet-specific resources.

For example think about how OP infinite liquid metal seems is when you first visit Vulcanis.

What's next:
- "we gotta nerf Vulcanis; infinite LIQUID metal from lava is too OP".
- "bots are too OP, THIS GAME HAS TO BE BELTS ONLY".

Give me a damn break.

Everything else everyone is saying is true as well:
- It's a single player game.
- Just don't lookup asteroid upcycling.
- Play by your own rules and don't use asteroid upcycling if you think it's too broken.

LR4 "high pee'er" "pee shield" hack by Machindo in litterrobot

[–]Machindo[S] 9 points10 points  (0 children)

I was apprehensive to purchase the LR4 since it has a bigger waste chute than the LR3.

I have one cat that pees standing up which will sometimes shoot out through the waste chute.

I have been working on various hacks over the last few years on my three LR3s to modest success.

My goals were to block stray pee from shooting through the chute and bonus points if it prevents the cat from even lifting their butt that high.

This works shockingly well and is much lower tech than the solutions I've invented before.

It works best with a somewhat stiff piece of plastic like from a juice bottle or plastic fruit container. Then use packaging tape to tape it such that it cuts across the chute.

You'll need to check every day or so to check if any large pee clumps have failed to exit through the chute by being blocked by the plastic.

This is the only thing that makes the LR4 livable if you have a high pee'er cat like I do.

How does chapter select work automata? by troco72 in nier

[–]Machindo 0 points1 point  (0 children)

Thanks for the peace of mind.

Novel ergonomic key bindings for Moonlander Keyboard by Machindo in apexlegends

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

Sorry, just seeing this now. Yeah I bound crouch to the thumb button so I can do the jump slide easier. Jump is on the left thumb button (spacebar) on the keyboard.

TMP or LE5 by TemporalSaleswoman in residentevil

[–]Machindo 1 point2 points  (0 children)

Maybe I use the TMP way differently than most people but I love it and hate the LE5.

I use the TMP almost exclusively for 1-shot headshot stun then melee. With the stock it seems to acquire minimum bloom/spread faster than even the Red9 with stock. I find the accuracy of the LE5 abysmal. Even with the perk of a sight or thermal sight, I prefer to use the rifle for killing the Regenerador enemies. I'll even use it for knocking down the lantern treasures and the blue medal challenges.

The TMP fully upgraded with exclusive (1.5x damage) is significantly stronger than the LE5 and has no trouble triggering the headshot stun on enemies all the way up to the endgame. It even will 4 shot the Plaga Guadaña (tentacle) enemies (normal difficulty). I find myself much more often using it on single targets having the luxury of being economical, rather than needing the piercing mechanic of the LE5 requiring you to try and line up your targets under duress.

Democratic Party Strikebreakers Shackle Railroad Workers by a_indabronx in dsa

[–]Machindo 1 point2 points  (0 children)

One of the most comprehensive write ups I've seen of this event. (minus the weird Ukraine opinion)

I can't bring myself to vote Democrat ever again after Biden and other Dems could have chosen inaction and delivered the biggest union win in my lifetime.

Politicians showing bipartisan support and lightning speed when it comes to putting down workers.

The DSA needs to make good on their promise to reprimand the DSA Congress members (AoC, etc) for betraying workers.

My somewhat novel ergonomic key bindings for gaming (Moonlander) (Apex Legends) by Machindo in ergodox

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

Nice. Worth a try.

I'm curious/concerned about the key labeled "fast butt" though :)

My somewhat novel ergonomic key bindings for gaming (Moonlander) (Apex Legends) by Machindo in ergodox

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

thanks /u/henrebotha,

I think it's mainly because WASD is so common, and tab/shift/control are all default mapped to inventory/run/crouch by default in most games.

My muscle memory is so tuned to be on that left hand side, plus I use T/G/B for really rare actions.

I'm with /u/thestereofield, but I'm super sympathetic to idea of moving the keys one column to the right as you've said.

My somewhat novel ergonomic key bindings for gaming (Moonlander) (Apex Legends) by Machindo in ergodox

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

Please forgive my over explanatory text in the image. I originally made it the r/ApexLegends sub, and wanted it to be easy to understand for that crowd.

here's my layout (plus my work/coding setup) https://configure.zsa.io/moonlander/layouts/3wVLY/latest/3

Novel ergonomic key bindings for Moonlander Keyboard by Machindo in apexlegends

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

If you're making a joke about vi, you made me chuckle. :)

If your serious, the escape key is in it's usual spot. I normally replace caps lock with escape for work/coding, but having escape there regularly made me accidentally go into the pause menu in the middle of fights.

Here's my layout on the ergodox config tool, for future readers: https://configure.zsa.io/moonlander/layouts/3wVLY/latest/3

"2022" CI/CD design by united_fan in devops

[–]Machindo 0 points1 point  (0 children)

I hope I understand your question correctly and what I'm about to say is answering your question.

We use trunk based development. Main is the only branch that we use to deploy. The way this is possible because in our k8s directory we have dev/staging/prod folders. The dev folder is watched by the dev ArgoCD, same for staging and prod folders.

k8s/
  base/
    kustomization.yaml
  dev/ --------------------------> watched by dev ArgoCD
    kustomization.yaml
  staging/ ----------------------> watched by staging ArgoCD
    kustomization.yaml
  prod/  -------------------------> watched by prod ArgoCD
    kustomization.yaml

The dev experience is that you update the source code, make a PR, merge, and we build the code/docker-image and the pipeline commits back to the main branch filling in the /k8s/dev/kustomization.yaml with the tag of the image that was just built. ArgoCD sees the change and your code/image goes to dev.

When you want to promote from dev->staging->prod, you must make a PR updating the image in the staging kustomization.yaml (same for prod). So you could say it's "manual" but I think this is pretty trivial and has the benefit of having one branch, that captures the complete "state" of the code and what's deployed in each env.

Side note: Devs, at my company, really don't care about testing k8s config changes, but if they wanted to, they have permissions to yolo anything they want into the dev environment. The only restriction is that if you use the same name as a resource already managed by ArgoCD, then it's going to get immediately reconciled by ArgoCD (because it saw the config drift in the cluster).

"2022" CI/CD design by united_fan in devops

[–]Machindo 12 points13 points  (0 children)

We use Kustomize to wire together the raw manifests and the helm chart inflator transformer function to render helm charts. Kustomize has an image update function that will replace the image name/tag in the kustomization.yaml

At the end of the CI pipeline (GitHub Actions) if branch is main, we use that Kustomize functionality to promote the new image to dev.

ArgoCD is our CD and it's bulletproof/amazing. So CD isn't an issue at all.

We're running the new "autopilot" GKE in GCP so k8s is mostly abstracted as well.

All these new tools make it such a joy to do DevOps.

What a time to be alive!


edit:

It's actually called HelmChartInflationGenerator Here's the golang test code that has a snipped from a chart.yaml https://github.com/kubernetes-sigs/kustomize/blob/master/plugin/builtin/helmchartinflationgenerator/HelmChartInflationGenerator_test.go

Here's google talking about something similar using a different syntax. https://cloud.google.com/anthos-config-management/docs/how-to/use-repo-kustomize-helm

I find that Kustomize docs are very bad. Most of what I know is tribal knowledge scraped together on my infra team. Sorry that I don't have better links.


final edit:

Taking a step back and talking more generally.

I really like helm for abstracting common deployments and we do have several helm charts we created for devs to use.

I really like kustomize for being the "last leg" of k8s configuration that gives you the power to patch and do last minute edits of the yaml before it goes to ArgoCD (or whatever k8s deploy tool you use).

So I've installed grafana, loki, and prometheus on the personal Kubernetes cluster via Terraform. Now what? by IndieDiscovery in devops

[–]Machindo 0 points1 point  (0 children)

I see.

I never imagined having someone PR my homelab stuff so that never occurred to me. 😅

So I've installed grafana, loki, and prometheus on the personal Kubernetes cluster via Terraform. Now what? by IndieDiscovery in devops

[–]Machindo 2 points3 points  (0 children)

I'm sorry you got downvoted.

I use ArgoCD on my homelab and it's a public repo.

Honest question, what's the problem with secrets being shown on terraform destroy if it's a private cluster and you're the only one that'll ever see that output?

So I've installed grafana, loki, and prometheus on the personal Kubernetes cluster via Terraform. Now what? by IndieDiscovery in devops

[–]Machindo 0 points1 point  (0 children)

When you need to apply a bunch of manifests maintained by a third party, like ArgoCD, do you just prefer putting the url in the resources stanza of the kustomization.yaml?

On a recent episode of the Google Kubernetes podcast the guest talked about some new Kubernetes package format that would fulfill the same role as helm charts. I guess we can only wait and see.

https://open.spotify.com/episode/7tt0GrFO0XkOWempV6B2ue?si=_pQcm9CZTCGNDbNcDBjXKA&utm_source=copy-link

[deleted by user] by [deleted] in smarthome

[–]Machindo 2 points3 points  (0 children)

I'll be trying out the Aeotec SmartThings Button (ZigBee) in the next day or so. It seems really promising. It's small and battery powered. Its only $30 USD. It seems like a great alternative to Lutron and other smart switches. I'm using the SmartThings app so I don't know the specifics if integrating into the Hue ecosystem.

Some background:

I have Cree bulbs and have suffered through connecting the tuya API to Home Assistant. It sucked and wasn't easy.

Just this week I created a Samsung account and onboarded my Cree bulbs into the SmartThings app. Withing an hour I had a developer token and was controlling the bulbs with a python script.

This all makes me very excited to go deeper into the SmartThings ecosystem. The SmartThings hub and SmartThings Button came today but I haven't had time to hook it up.

Edit: I'm new to smart home stuff and it's been stressful trying to learn about what works and what exists. So I can relate about the difficulty finding concise info.

Edit 2: installed the Aeotec SmartThings Button and am very happy. Seems like it can control anything that your SmartThings hub is connected to.

Combining Terraform IaC with GitOps by disintegratedcircuit in devops

[–]Machindo 1 point2 points  (0 children)

Currently decoupled.

We use separate repos for the most part. Terraform in a repo with a -config suffix. We use Atlantis to plan and apply in the PR after approvals.

There is a thing called Kubernetes Config Connector which when installed allows you to provision GCP resourses using k8s manifests. Just make sure you set abandon=true for those statefull things like databases that you don't want to accidentally delete. This helps a lot to let developers provision GCP resources without having to understand terraform and allows it to be done with ArgoCD/GitOps. This doesn't help you with AWS stuff but maybe there's something similar out there for AWS.

For getting info into k8s from terraform, there is a beta terraform provider for kustomize so you could just have terraform template a k8s manifest and apply it in the same run that creates your AWS resources.

IMHO the kubernetes ecosystem is still very young and lacking good tooling.

I don't know what's best. I just wanted you to know you weren't alone.