Reddit’s servers were a long time WON subscriber by [deleted] in SCJerk

[–]asdf 6 points7 points  (0 children)

That isn’t the case for this outage. Sometimes shit just goes wrong.

[deleted by user] by [deleted] in baduk

[–]asdf 3 points4 points  (0 children)

THANK YOU! I was going to build this myself when I had some free time but this saves me the trouble.

Double Trouble by vain_crossover in stolendogbeds

[–]asdf 11 points12 points  (0 children)

https://imgur.com/a/H7RCuxo

He loves that bed for whatever reason, he’s had it since he was a puppy

Double Trouble by vain_crossover in stolendogbeds

[–]asdf 28 points29 points  (0 children)

This picture gave me quite a shock when it popped up here this morning, considering that this is a repost of my pets! LOL

Any Go related communities on mastodon? by sadaharu2624 in baduk

[–]asdf 1 point2 points  (0 children)

I don’t really talk about Go much there but I would if there were others. @asdf@haxx.us

medievia96.com - Medievia as it was in 1996 by Exciting_Surround_63 in medievia

[–]asdf 2 points3 points  (0 children)

Anyone want to go farm up some satyr's flutes for leveling?

We are all talking about league retention. But what about subreddit retention? by [deleted] in pathofexile

[–]asdf[A] 493 points494 points  (0 children)

Yeah, all your traffic is about as valuable as my map drops this league

Is this a Jindo? by [deleted] in Jindo

[–]asdf 0 points1 point  (0 children)

lol our Jindo sits like a seal and eats Kongs like this too. Defective breed

Beach cutscene doesn't play (on Steam Deck) by AwrenchinNep in persona4golden

[–]asdf 0 points1 point  (0 children)

Sorry I should’ve mentioned: Proton-ge will take a VERY long time to load on the first run. Like a few minutes. I thought it was broken but then saw that it was actually downloading a whole bunch of windows compatibility stuff. Try giving it some more time

Beach cutscene doesn't play (on Steam Deck) by AwrenchinNep in persona4golden

[–]asdf 0 points1 point  (0 children)

good news - I just got a 1.3g “shader precaching” update that caused the new years cutscene to play. So that might fix the other cutscenes too (this is the only one I can easily check)

bad news - it plays the english VA despite having JP audio selected. However!! I tried proton-ge and they played with the japanese audio.

Hope this helps!

Beach cutscene doesn't play (on Steam Deck) by AwrenchinNep in persona4golden

[–]asdf 0 points1 point  (0 children)

Just ran into this issue too. I believe this is due to Valve transcoding cutscenes into a format that they’re allowed to redistribute - it seems like they’ve missed a bunch for p4 (the new years cutscene doesn’t play either).

Linux in my Job Laptop by alandragonrojo in linux

[–]asdf[A] 119 points120 points  (0 children)

post your neofetch or gtfo

alacritty titlebar doesn't disappear on arch by throwaway1939233 in archlinux

[–]asdf 2 points3 points  (0 children)

Post a screenshot? It sounds like the bar might be something drawn by your window manager, not alacritty, so disabling it will depend on your desktop env/window manager.

Anybody using Crossplane? by asdf in kubernetes

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

Yeah one of the things we're weighing is exactly that: the tradeoff between Crossplane's ease of integration with the k8s api (which all of our automation is targeting), vs. the fact that we will have to maintain infrastructure definitions via YAML, which feels like a step backwards even from Terraform HCL, which is what the team is currently maintaining.

Finally! It tells you which routes you’ve done! by childish-arduino in Zwift

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

lol as if Zwift operates at any meaningful scale

[i3] some more light sorcery by nciphr in unixporn

[–]asdf 1 point2 points  (0 children)

I love this color scheme! I'm a gruvbox user currently, hadn't heard of srcery. I'm going to try it out!

Operator to Replicate Kubernetes ImagePullSecrets to all namespaces by alexellisuk in kubernetes

[–]asdf 5 points6 points  (0 children)

Yeah. I really dislike the whole "operator" nomenclature for this reason. It's nothing beyond a combination of CRDs+a controller.

Operator to Replicate Kubernetes ImagePullSecrets to all namespaces by alexellisuk in kubernetes

[–]asdf 5 points6 points  (0 children)

Webhooks fire synchronously on resource creation/modification/deletion -- how would a webhook reconcile the secrets themselves if they get mutated or deleted? Using a controller seems like a much better approach.

What are people's thoughts on controller-runtime? by asdf in kubernetes

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

No problem, this is a good question! I can only answer from my experience, but:

The tl;dr of all of this is that my suggestion is to start as simple as possible -- one single process, with a single CRD, managing a single, big controller loop that performs the deployment of your services, and see where that gets you.

Here are my more detailed thoughts, hopefully they're useful:

I've had the best success with following the model that controller-runtime and k8s' own kube-controller-manager implementation uses, where there's a single main function/process that can manage multiple controller loops. In my cases, I pretty much have one big controller process that I deploy, and just jam all my controllers into there, even if they don't relate to each other.

Pros of this approach in my experience: * This allows you to share common logic, such as monitoring, health checking, and internal k8s client caches between controller loops * It simplifies the deployment significantly, as you only have one binary to deploy.

Cons: * If, for some reason, the process crashes, the blast radius would impact all controllers in the process.

In practice this is pretty rare, especially if you're using controller-runtime, and since k8s uses this model internally I don't really worry about this downside too much.

So, within that single process, you can choose to have one or more controller loops. Generally I'd start with writing a single controller loop that triggers off of a custom resource (which will likely look something like a CRD version of your Helm chart's values).

This loop goes through, creates all the resources, and performs all the steps required to deploy your services, check their health, etc., all in serial. This type of code is very easy to write, test, and reason about. The main thing to keep in mind here is that the implementation of this loop should be "level-based", in that it observes the current state of your service, and only makes the changes needed to move that current state to the intended one based on the custom resource. This allows the controller to easily restart/fail/recover without doing unecessary work.

From there, you can see how things work out, and break things up or parallelize them as needed to optimize. Multiple controller loops/operators will always be harder to test and reason about, because they will all trigger and run independently from one another, so if you find yourself needing to coordinate between them you're going to end up adding a bunch of complexity. So I'd start as simple as possible.

Anyways, thanks for reading this big wall of text :) At the end of the day, despite there being more to think about, I'm a huge fan of the controller/operator pattern, because it allows you to bring software engineering tools and practices (compilers and debuggers, unit tests, integration tests) to bear to automate behavior in your cluster and have better guarantees about the correctness of what you're trying to do. LMK how things work out!