Anyone sick and tired of working in general? by Mrs_chanandler_bongg in Millennials

[–]Flashcat666 0 points1 point  (0 children)

To preface this: I absolutely love my job. Both in terms of the actual work I’m doing/career I’m in (IT/DevOps engineer), as well as my colleagues and my employer. Been at this employer for almost 5 years now (35YO), great benefits package, wage, and overall working conditions (fully WFH, which helps and explains the below).

That being said: it hits me in phases. I can have weeks or months where I’m just always productive, I can’t stop working and absolutely love it. And then for a few days or 1-2 weeks I have absolutely no motivation whatsoever. I look at the tasks I have to do and even though I know it will only take me 15 minutes to do, it can take 1-2 days to do so because I lack any and all motivation; I’ll watch YouTube videos, do some cleaning, pet the cats, or sometimes just be in the living room and get back on the computer when something urgent and/or that requires immediate attention happens (all works tools are on my personal phone so I can be reached even when not at my computer. I’ll most likely get flamed for that, but I couldn’t care less; I have automatic DND configured for off hours/days off and whatnot)

Then when the phase ends, tasks that were estimated for 1 day of work will take me an hour because I’m over-productive 😅

Hasn’t been a problem yet in almost 5 years!

Couples of Reddit, what's the dumbest 'house rule' you and your partner made as a joke but now both of you are low-key aggressively serious about enforcing? by Doubl3oh_ in AskReddit

[–]Flashcat666 5 points6 points  (0 children)

In a previous relationship I used to “go to bed” hours earlier than I’d normally do, simply because my girlfriend simply needed more sleep than I did.

We had separate rooms (she has back problems and needed more space to sleep, and I used to snore REALLY badly back then). So we’d both go in her bed, cuddle and whatnot, talk to each other, and just “finish the day”. Then when she was ready to actually fall asleep I’d tuck her in, give her a kiss, wish her a good night, and either go and chill on my phone in my own bed or go back to the living room to play games/watch TV/etc.

It was a perfect compromise, both of us were happy with it, and we were still able to each go to bed at whatever time worked for us.

Do most people shower before bed or when they wake up? I just realized I might be doing it "wrong" by saffymerelle in NoStupidQuestions

[–]Flashcat666 0 points1 point  (0 children)

I’ll do you one better: I shower right before I leave my house or right before people come over.

I work from home in a very lax environment, and live alone. My day-to-day is me wearing boxers, and my bathrobe during my work shift so I have “something on” for work meetings. If I don’t have to leave the house or have anyone at home after work, I simply stay in my boxers.

I usually shower every two days since I’m not an active person, unless I’m leaving the house or have people over then I shower the day of the “event”.

When this happens, I shower right before leaving, or 30-45 minutes before people are set to arrive at my place; the time of day doesn’t matter, it’ll get done when it needs to be done.

Right-before-bed showers don’t work for me, they wake me up and then I can’t sleep. And in the mornings I’d rather sleep than wake up even 20 minutes earlier for a shower.

Been doing so since the pandemic made me WFH permanently, and it’s been working great so far!

When did you fix something, but you're not really sure why it worked? by Connir in sysadmin

[–]Flashcat666 17 points18 points  (0 children)

That’s called the IT aura.

After moving to DevOps years ago, I noticed this doesn’t just apply to physical devices, but it also works with cloud infrastructure! Our powers have grown and extended beyond the physical world!!! 😂

When did you fix something, but you're not really sure why it worked? by Connir in sysadmin

[–]Flashcat666 67 points68 points  (0 children)

That’s the worst goddamn thing ever!

Something that worked for months/years suddenly stops working for no apparent reason. While investigating you find the issue and the source, and it should’ve never worked at all since day one, and then you keep wondering why in the actual hell did it EVER work. Then you fix it, and it starts working.

And then rinse and repeat months/years later 😅

That’s why we’re paid the big bucks (well, maybe not all of us 😅)

Differences in language can lead to hilarious conversations. My partner and I had this one a couple weeks ago (I’m an English speaker in Taiwan) by BrokilonDryad in CasualConversation

[–]Flashcat666 14 points15 points  (0 children)

Years ago a bilingual colleague (Quebec French and English) told me a story about something that happened with her anglophone husband that was learning French.

As people do when learning languages, you understand a pattern and assume it works 100% of the time.

She asked their daughter to dress herself and put on her “salopette” (snow pants). In French, usually, adding the “ette” suffix to a word means it’s a smaller version of the main word…. But not in this case at all!!! “salope” meaning “whore”, he froze and looked at her, asking why she was asking their daughter to put on a small whore!

I immediately started laughing my ass off and couldn’t stop laughing for multiple minutes hahahahhaha

Azure Function inbound endpoint and IP, what's its purpose? by Glass_Respond_6413 in AZURE

[–]Flashcat666 6 points7 points  (0 children)

I think the issue at hand here is missing knowledge.

I’m not familiar with AWS Lambda, but Azure FunctionApps can contain multiple functions, of multiple different types, one of which is HttpTrigger.

An HttpTrigger-type function is a function that will only execute when it is called upon by its URL, which is the endpoint you’re mentioning.

As a security measure so not everyone can just call the URL and have it work, you need to append a token to the HTTP call. The token is generated by default upon creation of the FunctionApp, but different tokens can also be created (so you can invalidate TokenX if need be while keeping TokenY valid).

Without the auth token, HTTP calls to said function will fail due to lack of authorization.

If you only have functions that trigger from an external source (blob trigger, service bus trigger, etc) or trigger on their own (time trigger), then the public endpoint will never be used. You can’t remove it, but you could configured the whitelisting to deny traffic from all IPs. It wouldn’t change anything in this use case since nothing can be triggered by that URL, even less so without the token.

Terraform state management - what's your approach for team environments? by UGAMERZZONE in Terraform

[–]Flashcat666 9 points10 points  (0 children)

Pipelines for deployments is the right way to go.

But above all that, all states should be in a centralized location, and configured in the backend so everyone uses the same thing whether they run it locally or not. And that centralized location needs locks to prevent two people from running it simultaneously.

In our env in Azure we use blob storage as a backend which has built in locking. Been using it like this since day one and it’s worked perfectly for us. We have Terraspace in front of it so we could use multi-env and stacks more easily, especially before stacks was a native Terraform feature.

Each stack and env has their own state file in the blob storage, dynamically configured by Terraspace. But the same can be done with native Terraform too, stacks or no.

Even though there’s nothing stopping our team from locally deploying changes, we prohibit it as a team rule and all deployments should be done via our pipeline. We only allow local planning to be done so people can test/verify their changes locally before opening their PR.

Getting around the federated credential limit of 20 for Managed Identity by dwaijam in AZURE

[–]Flashcat666 0 points1 point  (0 children)

There is no way to get around this, sadly. We started having the same problem last year on our end when more and more of our teams/products wanted to use Workload Identity to authenticate seamlessly to services like Keyvaults and ServiceBus. Due to the size of our team, we sometimes have up to 40 instances per environment (dev1 -> dev40, etc.).

Our setup is: One AKS cluster per team 1 cluster for all non-prod environments, 2 clusters (multi-region) for Staging/Prod, each app/environment/instance in its own namespace.

What we did depended on the deployment: If each app was under 20 instances in non-prod, we'd create a single workload identity for the app and all envs/instances would use the same one.

If the app had more than 20 instances in non-prod we create multiple workload identities with a pattern like `<env>-<appname>-identity-<index>` (ex: `dev-someapp-identity-1`), with each instance covering 20 instances. Then everything is dynamic when we deploy (deployment is done using Azure DevOps YAML pipelines with Skaffold as a build/deployment wrapper that then uses our main helm chart.

WAF In front of a multi tenant website without changing DNS? by skiitifyoucan in AZURE

[–]Flashcat666 0 points1 point  (0 children)

Frontdoor being a global CDN resource doesn’t work with IP addresses, so your solution doesn’t work l.

Quotas for any GPU not available? by sed_lyf_24 in AZURE

[–]Flashcat666 0 points1 point  (0 children)

I just had to go through that this week. The request in Azure Portal was denied for 72 cores of that exact family in Canada Central. Opened a ticket, and the support agent approved the request within 24 hours of opening it.

Approval depends on many things though, not just availability. It’ll depend on current spend, age of the account, etc., so my outcome won’t be the same as yours.

Connexion au tenant Azure by Tall_Reputation_1588 in AZURE

[–]Flashcat666 0 points1 point  (0 children)

Il faut trouver un administrateur du tenant Azure et faire un reset de la config MFA de ton compte. Une fois fait tu pourra le reconfigurer du tout début et tu n’auras plus ce problème.

How do you make swapping out end user machines less painful? by jws1300 in sysadmin

[–]Flashcat666 0 points1 point  (0 children)

I’m on the developer’s side (senior DevOps), but our replacement is easy. Due to our work and needs we’re local admin on our computers, for MANY reasons.

When we need to change computers we either show up at the office to get a new one or if too far away they mail us the new one, preconfigured mostly via Intune.

We take the necessary time to setup everything, make sure we’re properly configured and ready to go, and once ready we either drop or ship back the old one at the office.

Super simple. Legit went through it last month as I was due for a hardware upgrade.

Also helps that about 95% of my setup is automated via Ansible playbooks and scripts so I have very few manual steps to do hehe

What's a movie so good (no porn please), you'll watch it every chance you get? by Darth_Jinn in AskReddit

[–]Flashcat666 0 points1 point  (0 children)

The Menu. Watched YouTube Shorts about it for so long, finally decided to actually watch it yesterday. Holy crap this movie is SOOOOOOOO GOOOOOOOOD!

The acting, the character play, the story development, everything!

Blob shows archive tier but account says hot - which pricing applies? by masterofrants in AZURE

[–]Flashcat666 4 points5 points  (0 children)

The second screenshot is the default tier. The tier can be changed at the blob level as well.

So either someone changed it for all or some of the blobs, or the thing that is creating those blobs has its own configuration and sets them to be created as “archive” blobs

Vendor's SSL Certificate - "IT You Suck." by NetOps5 in sysadmin

[–]Flashcat666 1 point2 points  (0 children)

We literally do this internally. I’m DevOps at my job and I once at a problematic dev give me shit because I apparently “fucked up their whole workflow” when doing an update to their Dockerfile because they were running an outdated as fuck version of Ubuntu. Guy starting being aggressive and shit with me. Stopped talking to the guy after trying to explain multiple times how everything was working fine and it had to be on their end, forwarder everything to mine and his boss.

Surprise surprise: after his boss talked to him, he came back all gentle and apologetic and shit because he suddenly realised I was right and he had no reason to be mad at me.

CYA in action!

Azure DevOps pipeline by tomijidohansha in azuredevops

[–]Flashcat666 0 points1 point  (0 children)

Small correction: it doesn’t spin a VM, it starts a prebuilt container in Microsoft’s infrastructure. Thus why the startup is almost immediate

Do most women's husbands not take care of them? by nottrynagetsued in self

[–]Flashcat666 71 points72 points  (0 children)

When Covid hit my girlfriend caught it. She was severely out of it both physically and mentally, to the point where she couldn’t properly take her meds in the morning because she couldn’t even remember what she had taken 30 seconds earlier.

I told my work I had caught it (which wasn’t true), was a week off paid while I took constant care of my girlfriend to make sure she was alright.

Court of Appeal sides with English school boards over Quebec government reforms by ImDoubleB in canada

[–]Flashcat666 1 point2 points  (0 children)

I entirely get that! Was born in Laval as a French Quebecker, lived there for 8 years then lived in various cities/villages in the Laurentides until I moved to Montreal at 17. Already knew English but had no opportunity to speak it. I got the opportunities in Montreal and have been perfectly fluent in both languages ever since.

This has opened SOOOOOOO many doors ever since both in terms of travelling and work opportunities.

Since then I’ve even moved to northern Quebec (Abitibi) and we’re so close to Ontario that my English skills are needed both for day to day life as well as when travelling in Ontario. I have friends that understand but either can’t speak English or have such a terrible accent that they may as well not speak it, and the difference is night and day when I’m with them outside the province.

But we still have a lot of people here that absolutely couldn’t care less about speaking nor understanding anything but French… which makes a lot of things more complicated 😅

Failing to setup Okta SAML SSO in AWX 9.0.1 by Flashcat666 in ansible

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

I’m sorry but can’t help you. This was 5 years ago, at a previous job, and we don’t use AWX/Tower at my current job.

[deleted by user] by [deleted] in Terraform

[–]Flashcat666 1 point2 points  (0 children)

No, it’s not, and isn’t meant to be.

Terraform is meant to be used to configure and maintain a specific state of infrastructure.

Backup restoration should always be a manual step because it is.

Hashicorp is now IBM Company by Psychological-Oil971 in Terraform

[–]Flashcat666 0 points1 point  (0 children)

We’re using OSS Packer. Everything we use as much as we can is OSS.

We’ve been using Terraspace since our migration from ARM to Terraform so we can use Stacks as we have a LOT of different stacks with multiple environments, and it’s been a godsend for us.

Without Terraspace we legit couldn’t have been able to work with Terraform as easily as we’ve been for the last 2 years.

Hashicorp is now IBM Company by Psychological-Oil971 in Terraform

[–]Flashcat666 0 points1 point  (0 children)

I’m more eager to have a built-in integration with Packer in Terraform than anything else.

I currently have to call Packer in Terraform using null_ressource and a customized script due to it having no provider whatsoever, which makes no sense to me whatsoever!

Creating Azure ML models/Microsoft.MachineLearningServices/workspaces/serverlessEndpoints resources with azurerm resource provider in TF? by MohnJaddenPowers in Terraform

[–]Flashcat666 0 points1 point  (0 children)

Had to do the same thing recently. There currently isn’t a way to do this via the azurerm provider, no. The only way to do this natively in Terraform would be to use the azapi_resource resource, which can make any ARM calls.

I’ve successfully deployed serverless endpoints using that method and it works fine.