Profile avatar
gilbertsanchez.com
Staff Software Development Engineer. Formerly known as the "SeΓ±or Systems Engineer" at Meta. Preaching the value of #PowerShell, #DEI, and #DevEx. Always interested in Systems Thinking, Cognition, and Learning in Public. πŸ“Έ Banner by jtkyber1
234 posts 583 followers 289 following
Regular Contributor
Active Commenter
comment in response to post
This is what `-NoProfile` is for. It's one of the fixes I submit to projects all the time.
comment in response to post
I definitely say "Power, Power, PowerSHELL!"
comment in response to post
Most of us in the Pwsh community are happy to help. When people think of CLI on Windows they still think of CMD.
comment in response to post
You can also usually add a description field. That can be useful to users so they understand what the field is describing. I really enjoy using JSON schemas lol
comment in response to post
Have you looked at using a JSON schema? You could have a pattern for the values. And then use `Test-Json` to validate the file with your schema. FYI AI is very good at generating schemas from existing files. If you add the `$schema` key to your json, then VScode will help you fill it out.
comment in response to post
Is it time to turn PSKoans into a service?
comment in response to post
"And then maybe we could verify each other... πŸ‘‰πŸ‘ˆπŸ₯Ί"
comment in response to post
At the 34 min mark!
comment in response to post
Anxiety = worrying about the future. Depression = worrying about the past. Obviously a hasty generalization. I would add some stoicism quotes, but tl;dr talk to a professional. It's a very common issue most of us face.
comment in response to post
Sidenote: "PowerShell is too verbose" is the reason it's easy for folks to learn. Soft constraining names with the Verb-Noun format + limited set of Verb's means discoverability is high. I understand why most people dislike it though, but I've seen it transform Admins to Engineers (and I πŸ’œ that).
comment in response to post
Just git bash right? My C is not very strong, but I think they may be doing some filtering here: github.com/git-for-wind...
comment in response to post
Do you have a repo/PR to look at? There are a few ways to print the escape sequences and depending on how to app was called, sometimes things are respected or ignored by different apps.
comment in response to post
Yea, you can ignore whitespace changes in GitHub. There's a diff tool a teammate shared (that I can't remember) which is supposed to be smart about ignoring stuff like this. But even better then whitespace, it can see that a rename happens and only highlight it once. No PS support yet.
comment in response to post
Congrats! What are the stats for powerpointisfun.com ?
comment in response to post
It's funny, I don't think I was initially sold on the premise that aligned properties were easier to scan. But I definitely believe that it's easier to spot problems. Now with it being automatic in VScode, I don't think about it much.
comment in response to post
If you're using VScode the `powershell.codeFormatting.alignPropertyValuePairs` setting will do it for you automatically. When I was doing it by hand I hated aligning, but once the editor did it automatically I stopped thinking about.
comment in response to post
I use chezmoi to handle my dotfiles, but because it can execute code you can have it do things like install software. I have mine install choco packages and powershell modules. www.chezmoi.io/user-guide/a... github.com/HeyItsGilber...
comment in response to post
If you don't feel like writing it, you should ask on socials. A lot of folks recreate Linux tools in PowerShell to leverage existing muscle memory. Or run PowerShell on Linux to get the best of both worlds. 🀷 I missed `cd -` so I wrote this:
comment in response to post
I heard a similar story from a peer. They reached out and asked a coworker to run their script since they didn't have access and didn't know how to use PowerShell. The code looked ok at first glance, but after a thorough read was full of hallucinations.
comment in response to post
Windows has to ask all the hardware/drivers to please sleep and some stuff doesn't play nice. There are also things that you would want to keep the machine from sleeping (e.g., watching video, etc.). Not to mention there are different sleep states. Each with a different level of support.
comment in response to post
So Mac has always had a very good story around sleep, but the reason for that is they control the entire ecosystem from silicon to application. I have also had weird annoying issues with managing sleep and hibernation.
comment in response to post
She used the example of people who export data from data lakes only to have them live in excel docs: - Then get further modified, so you never know where the real source of truth is. - Then don't have proper controls, etc. - Then get copied or lost.
comment in response to post
I got to be the live studio audience for this one!
comment in response to post
πŸ‘©β€πŸ’Ό: Are you familiar with Json?
comment in response to post
If you're really struggling: the good guide image everyone on Bluesky shares a lot is this one!
comment in response to post
OpenSSH on Windows has been around for a bit. It's support has just gotten a whole lot better in the last few years. PowerShell being cross platform has just made it the easy choice for a lot of teams.
comment in response to post
While waiting for my flight on Sunday, I quickly wrote a blog on how to use JSONResume which I titled "RaC: Resume as Code" gilbertsanchez.com/posts/rac-re.... This was advice I gave regularly but I knew a simple blog was overdue. Hopefully this helps folks! Feedback is welcome!
comment in response to post
Smart speaker in the bathroom. I'll figure out how to program the "ugh 😩" reply.
comment in response to post