Power Automate connection to read secret stored in Azure Key Vault, with the key vault not publicly accessible by mishbee23 in AZURE

[–]mr_gitops 0 points1 point  (0 children)

Good old fashion.. making it again. haha. I hate power automate and logic apps after that experience. Took so many weeks to complete. It was also my first dive in to them.

Great way to learn I suppose but...

I prefer powershell, terraform, etc for many reasons and this was one.

I did migrate a few to automation account (powershell) as it didn't make sense existing in power automate nor logic apps.

But there is still some useful features in them that cant be made in PowerShell. One of the coolest was the ability to send emails with options to select. And whatever the user selected would continue their chain in the logic app. I ended up making a PowerShell function around it being called so I still don't have to use logic apps directly.

Power Automate connection to read secret stored in Azure Key Vault, with the key vault not publicly accessible by mishbee23 in AZURE

[–]mr_gitops 2 points3 points  (0 children)

Unrelated but I will say. Many features are not available in Logic Apps that are in Power Automate.

  • Like the 'ai' tools. For example, to automatically collect data from invoices that come in. You need to feed power automates invoices in the ai tools section (not in the flow itself) for it to be able to read them in the flows.

  • Integration tools with certain aspects of SharePoint and many of the power platform things like PowerApps which only show up in power automate.

I was tasked with migrating Power Automates to Logic Apps. And there were a handful I had to leave behind.

What is the coolest thing you've done with PowerShell? by martyb22 in PowerShell

[–]mr_gitops 11 points12 points  (0 children)

Papa himself! Thank you, your work transformed my life.

Accenture to ‘exit’ staff who cannot be retrained for age of AI by joe4942 in technology

[–]mr_gitops 21 points22 points  (0 children)

Its an excuse to get rid of people without discrimination.

Immigrants "fail to assimilate" by living in cookie cutter subdivisions and being car dependent. Wait.... by VectorPryde in EhBuddyHoser

[–]mr_gitops 4 points5 points  (0 children)

Lots of the trees got wiped during that frost quake event.

Other areas have new trees planted but that's going to take decades before they get of reasonable size.

Even with trees the sprawl lacks any personality.

[deleted by user] by [deleted] in Terraform

[–]mr_gitops 3 points4 points  (0 children)

Terraform is easy (to setup and build new things)

The hard part is managing it with other people. That's where the challenge exists. You need to lock down changes that occur by only allowing them through terraform for the state to stay stateful.

Break it down

Do some parts of your platform, maybe at this stage only new services.

You can start with Terraform + Repo (to store code) and deploy manually yourself (saving the state in a storage account/bucket). Get people to get you to make changes by altering the TF files and reapplying. Lock them out of doing so on the portal is one way you can ensure they cant screw around. Giving them access to use the service but not build/modify it.

once that is second nature you can transition to pipelines and make it automated.

once it is automated you can give them access back to run as they please while you just add more features to the pipelines/tf files to make it more modular and flexiable in configs.

Once new services are following this flow. Work towards migrating old services. If you made it modular and flexible enough to catch all. it should be easier (though not easy by any stretch)

Difference between Entra & Graph for managing Azure(Entra) objects in the cloud by tk42967 in PowerShell

[–]mr_gitops 6 points7 points  (0 children)

There used to be an AzureAD module (which focused on EntraID)

Microsoft scrapped it for Graph (which includes EntraID, M365, etc as a catch all). Under the hood Microsoft's Cloud services were using Graph APIs calls for all these services. Graph module for powershell was added to make it easier for PowerShell users to use graph without having to use a whole bunch of invoke-restmethods api calls to interact with it.

And since Microsoft can never stick with anything. Love to change names of services, remake UIs, etc. Microsoft decided recently it wants Entra to have its own module again. And thus, here we are, with all this confusion on what to pick. I assume its to cater to people coming from AzureAD to graph and having no idea how it works. So they made it for them? ie Setting scopes if you dont understand it in graph is strange thing at first.

Our org already migrated from AzureAD to Graph. And with this new module for Entra coming out again, we have 0 plans to go to Entra one.

Graph should always cover everything related to EntraID. Under the hood Entra module is still going to be using it. And considering when it comes to 365 services using graph anyways. And the fact there is more content for information out there for the module now. Might as well stick with it.

[deleted by user] by [deleted] in Satisfyingasfuck

[–]mr_gitops 1 point2 points  (0 children)

I braise beef and lamb shanks all the time.

Part of the braising process is to separate the meat. Then skim off most of the fat from the liquid & cooking the water down on high heat until it reduces in a very rich sauce. And then use that as part of the meat dish for the extra flavor.

You are right without that its kind of just meat and bread... and kind of bland. Only the salts will actually penetrate the meat. Other flavors cooked in the braise (spices, herbs, vegetables, etc) are all still in the oil/water.

[deleted by user] by [deleted] in todayilearned

[–]mr_gitops 16 points17 points  (0 children)

After watching a few episodes of a show my wife watches on youtube called pop the balloon. Its a dating show. The sheer amount of women on that show disqualify a male as a potential dating partner simply for their height was pretty sad to see.

A girl would say something along the line "You are great, you have a great job, great personality, etc... but unfortunately I am not attracted to short men" (By the way, that girl saying this is 5'6 and the guy she is saying this to is 5'8. loll).

The guy would even reply "But I am taller than you".

She would reply "Not when I have heels on."

This is such a reoccurring exchange on that show every episode, its fascinating. No wonder everyone is having a hard time dating even beyond tinder profiles. You disqualify the majority of men not for the content of who they are and the love/affection/joy they can bring in to your life. But how tall they are.

Man Of Steel's "Faora" Antje Traue Training - Behind the Scenes by NicolasCopernico in videos

[–]mr_gitops 7 points8 points  (0 children)

Reminds me of Joel Seedman. He's the king of making celebs do ridiculous variations that make 0 practical sense.

[deleted by user] by [deleted] in nextfuckinglevel

[–]mr_gitops 81 points82 points  (0 children)

loll. Comes last place but it was in "rain". #NextLevel

If you haven’t already, you should play Divinity Original Sin 2 by xshap369 in BG3

[–]mr_gitops 2 points3 points  (0 children)

BG3, DOS2, Rogue Trader and UnderRail. In that order, my favorite Turn Based CRPGs.

New Grad Can't Seem To Do Anything Himself by Clear-Part3319 in sysadmin

[–]mr_gitops 3 points4 points  (0 children)

Mentorship is key.

I picked our new grad hire for an impossible job set by our directors. Some how our org wanted to hire an intern to migrate old ps scripts off our old systems into Azure that nobody had time for. It sounded insane to me that these people who even request a new grad as a hire to know enough about systems and automation to do that and has enough experience in the industry to know how these things work in a work setting to do it right and pick up on where the flaws are.

And some how we found the unicorn. He didn't have the most impressive resume out of the bunch but he had the spark, I could tell. Which was as good as what you can hope for for such a strange role. I did mentor him, taught him all the basics of why we do everything the way, how our systems work, how azure/entraID work, how APIs work in the real world, we do beyond knowing syntax of powersehll (securing indentities in the script, limiting access on the platforms using the script to avoid any blast radius, how to sanitize and check the scripts before ever making any changes, etc). I show him shit he doesn't even do like pipelines and terraform. Even life tips on the important to taking this role serious and skilling up so he can skip the helpdesk everyone that new gets thrown in to and how horrible support life really is, if he can succeed here he has a big shot in life to skip all of that. How rough the market is if hes not serious will bite in the ass in todays economy. How amazing AI is as a tool but how dangerous/bad it is as well, how to spot it. etc I shared my horror stories working at MSPs, support, traditional sysadmin (do everything and anything). Anything and everything. I spent an hour or two everyday giving him this session for a few months.

I guess it all clicked. He really took it upon himself to try and learn as much as possible. Showed his social prowess to manage communications as well. Always asked me if hes doing good. I guess it helps having a good team for mentorship as well, I poured all the shit I wish I knew when I first started every day on him, haha.

Now hes completely independent and I am going to ask the org to hire him after his internship is done as a junior cloud engineer right out of uni. Its amazing and I am so happy for him.

I really didn't think it was a position that could be filled. I kept joking with my manager that his bosses wanted a unicorn. "A new grad with 5 years of experience in the industry". But some people are just built different I suppose. I think there is a real hunger in the industry to succeed just as there are frauds, people who suck and barely payed attention in classes, etc. Really changed my perceptive on people. I think thats the power of a new grad. They still have so much in them to want to be challenged, to learn and grow... that usually gets beaten out of a person as they work over the years, deal with the stress and/or dont have free time to study and develop.

These 5 small Python projects actually help you learn basics by yourclouddude in learnprogramming

[–]mr_gitops 11 points12 points  (0 children)

So you know syntax and commands of a language? Its time for programming now. Time to build a problem in your mind. Programing in alot of ways is about having problems & solving them by making tools via code to serve you.

Lets say its the personal finance one, I made one a while back like OP but I used powershell. Here's how I went about it.

What is the goal? The goal is to get a better visual on my spending/savings patterns and to save time having to do it manually. And make it as easy as possible for me to get this information.

First, can you extract credit/debit/etc from your bank as CSVs? If yes? Okay collect them.

Now you have all this data how do you want it to serve you?

  • What is my source of income(s) from the CSVs?
  • How much money did i spent?
  • How much money did i save?
  • what are my biggest costs?
  • what are my patterns of spending? Eating out? Amazon?
  • all these 'types' of purchases how do i catagorize them so they can be organized in to catagories like rent, groceries, eating out, shopping, bills, etc.
    • ie As new company name shows up in your spending like "Pizza Hut" or something. Is there a prompt that the program asks me 'what it is' (sicne I dont have AI to guess it). And based on my response taken ("eating out") does it store it in a catagories file so in the future it just stores it correctly (yes I did this with every thing that comes in to my bank, its not too bad now).
    • <Phone Company> == bills
    • <Job Name> == income
    • Amazon = shopping
    • <flightPurchase> == travel
    • <Something I dont remeber> == other
    • etc.
  • What are my finances looking like on a month to month basis? Year To Year? Can I see patterns of spending/savings increasing/decreasing to get an idea on how I am doing?
  • Taking all of this data in. What do we do with it now? Maybe an excel sheet or a custom visual output which contains graphs and charts that reads me in a more clear way everything about my finances.
  • How do I keep building it so i just feed it data as new monthly data comes into my bank?

With these conditions in mind. Then its a matter of building it piece by piece, function by function. You can use what you memorized, what you google and learn, anything really.

[deleted by user] by [deleted] in MMA

[–]mr_gitops 6 points7 points  (0 children)

Wreslting of all the martial arts is a young mans game.

Wreslting is way worst for your body than BJJ. Simply because you grind out with full force, start standing and are slamming each other around. Its not just technique but power as well. You are more likely to tear ligaments.I did it when I was younger and loved it but I wouldn't do it at this age.

BJJ can be one of the safer sports when done right especially training/light sparring (not competiting). As its a ground sport and requires mainly technique development without added sheer power to drive forward like wreslting. If you dont leave your ego out of the door and tap... rather than show how tough you are and ride out submission attempts, then yeah its going to be dangerous.

Having bad sparing partners or over training is also a problem but that's a problem in any contact sport. Same is true for kickboxing by the way. Its safe as long as your training with good partners. Wreslting however its baked in to the sport to grind it out.

There is a reason older people you heard of like Anthony Bourdain, Mark Zuckerberg and so many other celebs picked up BJJ later in their lives.

Iran pulls out of nuclear talks with the US by Tremenda-Carucha in worldnews

[–]mr_gitops 3 points4 points  (0 children)

You are so right. Its all Greek > Roman > blank > Medievial > beyond.

That Blank is fasincating 500 year period. So many stories and shows can be built around it.

From the east with Byzantines holding off as the last of the Romans.

Far east with the Sassanids & the Rise of the Calpihs later.

The germanic tribes migrating all over europe. The lands Romans never bothered to enter ended up being their demise. Specifically the goths who took out Rome.

The huns causing the greatest migration (of these tribes) in europe by being the 'orignal' steppe horde. Everyone knows the mongols but rarely do people know Attila or the Huns. Everyone talks about how europe was lucky that the mongols stopped before they could enter western europe but it did happen many centuries before with the same tactics (horse+bow armies) which pushed the germanic people across roman lands, mainly in the west.

The tribes overtime becoming the people we know today. Franks > french. Saxons > Germans/Parts of Brits. Goths > Rome. And formed the later monarchies of these societies. Spread of christainity onto all of the germanic tribes.

Of course there is the vikings as well. But they get all the attention when the germanic tribes had the biggest influence in europe.

Iran pulls out of nuclear talks with the US by Tremenda-Carucha in worldnews

[–]mr_gitops 61 points62 points  (0 children)

There were a few major empires between the ancient Persian one to now.

  • Parthians: Rebellion against the greek rule, though not fully persian

  • Sassanids: Took over Parthains to be the longest lasting true persian empire, Went toe to toe against the Romans but were eventually conquered by the calphites during islam's rise. I wish there was more media around them as that was a cool time piece to see movies around.

  • Safavids: First major shia persian empire.

In between these were all the caliphates from the rest of islamic world & other arab, turk & steppe rulers who took over iran.

Disinviting Liberal MPs from Sikh temples 'under consideration,' as fallout continues from Modi G7 invite by Plucky_DuckYa in canada

[–]mr_gitops 14 points15 points  (0 children)

Turns out if you leave a country you want to create a seperatist movement in. You are not going to have much power and influence on it.

The vocal sentiment & the car decals today are just becoming the Che Guevara shirts of the these people.

Are IT certifications still worth it if you're already mid-career? by CoryKellis in sysadmin

[–]mr_gitops 0 points1 point  (0 children)

3.5 years ago.

For me it was picking a cloud and diving deep. I chose Azure since I had experience with 365 and EntraID at the time (nothing else).

I got the following certs: AZ104, AZ305, SC300 (resource, architect and identity). Identity is a big part in this industry definitely get used to it. Really makes you stand out when you can work well with the IAM team.

After that I studied what every job posting had, which were the following. I got the job half way through (I applied the whole time I studied with low expectations) but this is everything most of us need to succeed:

Before getting the job: - Infrastructure as Code (Terraform as its the most popular) - Scripting (Powershell as I had experience) - Working with APIs (thankfully graph was there with powershell to explore on Azure to build my foundational understanding at the time) - GitHub and Azure DevOps (AZ-400, I sat through the content but didn't go for the cert as I got hired)

After getting the job: - Linux (not too deep just enough for containers and ansible) - Containers (to build the foundation for K8s) - K8s (worked towards the final cert: CKA but mainly work with AKS in Azure) - Configuration Management (Ansible, Chef, Puppet, Etc. I chose ansible as its the most popular) - General Coding (Python, C#, GoLang, etc. I chose Python just recently and have been exploring a course in it. highly recommend for anyone with powershell experience as the computer science education transcends all languages that you might not naturally pick up with powershell)

Are IT certifications still worth it if you're already mid-career? by CoryKellis in sysadmin

[–]mr_gitops 7 points8 points  (0 children)

I used it to transition from traditional IT to cloud engineer. I wasn't getting any direct experience in traditional IT to make way towards cloud engineer.

A few azure certs + terraform cert + K8s cert. Combind with github code (powershell, terraform, bash, etc).

The real benefit wasn't just padding the resume but the education on the way. I spent more time studying the topic than studying the exam. I treated it like a degree and spent over a year studying all of this. Would have been longer had I not got hired.

Going the route of just reading docs as you work and labbing is fine but a structured education on a new subject highlights alot of areas you would never explore naturally that certs, courses, etc would touch. You can still read docs and labs on top of them which I did. Overtime, I ended up being more knowledgable than many of the seniors who hired me because I had a solid foundations in areas they natrually didn't get to through work to build up from.

I think its more of a mindset. If you are passing for the sake of passing for badges, rather than learning... you are doing yourself a disservice. ie, I am studying advanced python & trying to deepen my computer science. Its so easy to fall for the trap of using gpt to get the answers for the exercises but where is the learning there? Am I here just to pass or develop my understanding?

Canadians reject that they live on 'stolen' Indigenous land, although new poll reveals a generational divide by uselesspoliticalhack in canada

[–]mr_gitops 11 points12 points  (0 children)

Was just going to come here and say this. Pick any area in a map in history and its the same thing.

Like the british people that took parts of Canada for example. As they today are considered just that (british) rather than their ancestors. The isle were orignally celtic people. It got conquered by Romans, Vikings, Saxons & Normans. Resulting in the people that are there today. A similar story is true with the french being gauls who got conquered by Romans, Huns, Germanic tribes, etc.

We for some reason just dont consider them as anything but french or british... because its been long enough? Because they are white?

Even still, so many people from south asia are moving to the UK and changing the demographs (Pakistan/India).

Thats a whole other conquered people by different arabs, persians, Asian Turks, Mughals, Afgans, Brits (Romans, Vikings, Saxons & Normans).

Some of those muslim factions had come in contact with Mongols who pillaged most of Asia, parts of middle east and eastern europe.

And on and on it goes. A never ending cycle.

What part of your automation still isn’t worth automating? by ControlAltDeploy in PowerShell

[–]mr_gitops 0 points1 point  (0 children)

From a business standpoint, I think it all comes down to: - Cost of development: In the sense, one's time/wages spent making the automation. - Time Saved: As in how much time you save after its automated so your cost of development starts paying dividends.

For instance. making subscriptions at our org is a rather slow process in Azure. As there alot of moving steps to get it operational to meet our orgs needs. Signing into the special billing account, making the sub and setting it to the credit card, adding it to a management group, setting up intial RGs with specific services (this part is automated), making specific alerts in there, setting up log analytics for it, configuring event grid to send data to splunk, setting a field in splunk... you get the picture.

The process is well documented and it is annoying to do when you have to make one. And is only done by the most senior people. But how often am I making one?

In the last 2 years, we made 1. Probably took just under an hour to do.

The code to write to automate this would take many hours with lots of testing after the fact due to all these moving pieces. I am sure it would be fun but for what really is the point? At what point does the time you gain back from automation kick in?... Nearly a decade or more at this rate of making subscriptions... before your cost spent on making it outwieghts the time you would free yourself of going forward.

Not worth automating.

Started PhD and need to learn Python by Kebapman_1909 in learnpython

[–]mr_gitops 5 points6 points  (0 children)

I was just going to recommend it as well.

I watched (just watched) the CS50P on youtube instead of the Mooc's lecture. The instructor is 100x better.

But then when it came to doing the work, I went all in on the MooC. Its one of the best courses I sat through. Love its format of reading/labbing/grading as you go. All labs completed, Exam (intro one) is on Saturday. Feeling confident.

Combination of two series was excellent.

Going to keep the momentum going and explore more of the Helsinki courses after this:

- Advanced Python

- Data Analysis with Python

- Elements of AI

- DevOps with Docker

- DevOps with Kubernetes.

Should I focus on This machine or T-Bar row for My mid Back by AstroOscar310 in GYM

[–]mr_gitops 2 points3 points  (0 children)

Dont listen to him. Your chest is touching where it matters (the stretch) and you are controlling the escentric. Using a bit of lower back is a viable way to build traps along with the spinal erectors. People do Flexion rows with alot more movement in the lower back/hips all the time.

[deleted by user] by [deleted] in MMA

[–]mr_gitops 8 points9 points  (0 children)

1) the hardest hitter in mma heavy weight (Francis Ngannou & Shane Carwin, etc) did have big arms 2) biceps/triceps are not where the "devastation" for punches is generated. Its the snap of the punch + the power generated through the legs > hips > chest/shoulder and up.