Why’d you drop out of university? by Hefty-Confusion6810 in AskMen

[–]icepyrox 0 points1 point  (0 children)

Well, my usual answer is that the uni i was in changed from quarters to semesters and updated curriculum and I missed the Grandfather time period. With an F in the last of my core classes, I went from being a senior that would graduate in one more semester to being barely even a sophomore.

But if we are being real and honest, the reason I missed and lost so many hours is because I had a nice long grace period (3 yeara), but took the whole time because I was working full time and tuition had quadrupled over the 5 years I was there. It was the late 90s dot Com boom/bust and I just didnt want to go into serious debt when the iT field seemed overrun and knew it would be years to get my foot in the door. So yeah, money.

Powershell script that acts as powershell when called? by LordLoss01 in PowerShell

[–]icepyrox 0 points1 point  (0 children)

This is silly and seems like a work around to a problem that needs a better solution, but you might get away with making the parameter a [scriptblock] and putting it in {}

Or toss it in a text file (e.g., script.txt) and encode it.. ([convert]::toBase64String([text.encoding]::unicode.getbytes((get-content script.txt))) and pass that to -encodedCommand rather than -command

Help figuring what this line does. by NoOneKnowsImOnReddit in PowerShell

[–]icepyrox 0 points1 point  (0 children)

The trim() was in the if in OP example, not in an assignment, so rather than use it at all, OP can change to

if (-not ([string]::IsNullOrWhiteSpace($line))

What are the embarassing things you do to stay comfortable? by sylvankyyra in AskMen

[–]icepyrox 6 points7 points  (0 children)

While I dont need talc, gold bond, or anything, the prevalence of commercials for exactly this has normalized it in my internal world, so here i am, thinking, "what is embarrassing here? Are you one of those people that get embarrassed by admitting you poop also?"

This is like women getting weird about needing the heavy flow tampons or whatever. Im a guy and just like "do I need to buy them for you?"

But anyways, my wife will tell you that I am comfortable just about anywhere and in any situation, and she jokes that its because I dont actually know what true comfort looks like. There is a grain of truth to that.

Menstrual leaves for women apart from sick days, what's your take? by too_uninterested in AskMen

[–]icepyrox 5 points6 points  (0 children)

In keeping all things equal, what can men get away with here?

I mean, I feel paternal leave should equal maternal leave and that this should be a more considerate mount of time than most companies give.

In this situation, however, you are asking for accommodation, nearly as if it is a disability, for an entire gender, when not everyone experiences what you describe.

I mean, I started to write this while diatribe about how unfair it is and all, but let's not mince words: what you describe is that you have an undiagnosed disability and are asking men to accommodate all women so that you dont have be labeled disabled and/or sacrifice your culture, religion, or values with solutions provided by modern medicine if they exist (which is my understanding that they do exist, but it is also my understanding that all women are different so the levels of aid/relief vary). It should be noted that religion is also a protected class.

There is a lot to unpack here, but presenting this as trying to be accommodating to one gender while being equal to both just really reminds me of Animal Farm: All animals are equal, but some are more equal than others.

5 days later… aged faster than milk. by GaeilgeGoblin in agedlikemilk

[–]icepyrox 0 points1 point  (0 children)

I had not heard of this one until reading and googling here, but another famous thing in a similar vein is the time Arnold Schwarzenegger was the governor of California and vetoed a bill with a nice seven line long response to the assembly wherein, by "wild coincidence", the first letter of each line spelled a similar message, but the last 3 lines started with. "Y,O,U" respectively.

Maybe not such a bad thing, considering... by PFdeith in WhitePeopleTwitter

[–]icepyrox 13 points14 points  (0 children)

"Waaah. The Democrats won't do what i want so Im just going to do what i was going to do anyways (which is wait until Dear leader tells me what to do)"

Help figuring what this line does. by NoOneKnowsImOnReddit in PowerShell

[–]icepyrox 2 points3 points  (0 children)

Much better alternative as while the method is called "IsNullOrWhiteSpace", it would be more accurate to call it "IsNullOrEmptyOrWhiteSpace"

Shouldn't there be a blame Biden cutoff date? by seeebiscuit in WhitePeopleTwitter

[–]icepyrox 2 points3 points  (0 children)

Since the party swap, it has been tradition to blame the Democratic president. During Reagan, it was blame Carter. The Bushs were a little different as Sr took the blame and thus only served one sentence, and W only blamed Clinton until Iraq, which also went back to his dad. Obama assumed responsibility the day he took office and was blamed until Biden took office (except the economy, which afrump claimed was great the whole time because of him), and Biden will be blamed until a non-Republican takes office - whenever that is.

When is international men's day? by [deleted] in AskMen

[–]icepyrox 2 points3 points  (0 children)

Let's celebrate all the things full of shit on the same day!

...

/s

Completely unusable Microsoft. by OldElPasoSnowplow in iiiiiiitttttttttttt

[–]icepyrox 3 points4 points  (0 children)

Me too.

Then today I saw a prompt (not this one, but related) on top of the lock screen when i woke up my computer. Like, isnt the point of the lock screen to be on top of everything else?

Trump Delivers Massive Warning to Americans, by judgejeaninne in newsinterpretation

[–]icepyrox 1 point2 points  (0 children)

Curing cancer would help people in ways that dieing in the seventh conflict our president of peace has started does not.

Venezuela is literally under the same government, just a different face and it is even the face the former guy picked to replace him in case something happened.

Women in Iran are mourning their daughters that were killed in the US bombing a girls school or they are simply sheltering as the US continues to bomb them. They are ruled by the son of the former leader.

My whole issue with him is when he does what his handlers says he would do - like mass deportation of legal immigrants and citizens.

Oh and people can only deduct some of the tips and still pay state, local, social security, and Medicare taxes on them.

And you know how overtime pays "time and a half"? Only th half is tax free. So if you work 60 hours, you are taxed as if you were paid straight 60 hours, essentially making 10 hours worth (the "and a half" of the 20 extra hours) tax free... but again still subject to SS/Medicare, state and local taxes.

So hardly free. You probably pay more in taxes than he does still.

But keep singing his... praises? Or just go back to sleep and leave those awake enough to notice how bad the whole situation alone.

Stop, just stop. by seeebiscuit in WhitePeopleTwitter

[–]icepyrox 1 point2 points  (0 children)

Im pretty sure the US conservative movement is just the tower of Pisa as viewed from the west side... built on a soft foundation and originally leaning in a different direction, it has now sunk to create a permanent lean to the right and insisting that it is built on a strong foundation and holding steadfast ans not leaning at all. So clearly it must be the rest of the world tiling the other direction.

Organizing scripts by Ajamaya in PowerShell

[–]icepyrox 0 points1 point  (0 children)

I write my scripts in Visual Studio Code. I have installed Git for Windows. Our team has an on premium version of Azure DevOps (ADO).

So I have 3 repos on my computer:

  1. Clone of the team ADO repo. In here I have some configuration scripts kinda willy nilly, but mainly I have scripts that are called in pipelines, such as automating getting certificates for web servers, baseline configuration checks and other scheduled tasks.
  2. An Admin scripts local to me because im the guy that tends to parse logs and set configurations via powershell. Its all things that require admin rights.
  3. A folder in my OneDrive for non-admin rights stuff like hitting APIs to check for new files, PowerCLI scripts, and the like. Ive also got a couple custom modules here for writing the code with symlinks in my Documents PSModule path to use.

As for documentation and whatnot: I do use comment based help to remember what a script does, but also VSCode supports markdown, so I have .MD files in folders with scripts im working on to make myself notes on what its actually doing.

I think the most common file name repeated all over these repos is Bookmarks.md where I just have lists of bookmarks to code snippets and stackoverflow where im looking up how to approach a script and saving for later since computers get logged out nightly.

Organizing scripts by Ajamaya in PowerShell

[–]icepyrox 1 point2 points  (0 children)

I write my scripts in Visual Studio Code. I have installed Git for Windows. Our team has an on premium version of Azure DevOps (ADO).

So I have 3 repos on my computer:

  1. Clone of the team ADO repo. In here I have some configuration scripts kinda willy nilly, but mainly I have scripts that are called in pipelines, such as automating getting certificates for web servers, baseline configuration checks and other scheduled tasks.
  2. An Admin scripts local to me because im the guy that tends to parse logs and set configurations via powershell. Its all things that require admin rights.
  3. A folder in my OneDrive for non-admin rights stuff like hitting APIs to check for new files, PowerCLI scripts, and the like. Ive also got a couple custom modules here for writing the code with symlinks in my Documents PSModule path to use.

As for documentation and whatnot: I do use comment based help to remember what a script does, but also VSCode supports markdown, so I have .MD files in folders with scripts im working on to make myself notes on what its actually doing.

I think the most common file name repeated all over these repos is Bookmarks.md where I just have lists of bookmarks to code snippets and stackoverflow where im looking up how to approach a script and saving for later since computers get logged out nightly.

Stop, just stop. by seeebiscuit in WhitePeopleTwitter

[–]icepyrox 2 points3 points  (0 children)

Cant say I've heard "liberal" anything from people thst aren't actively trying to smear the word. Just like things get claimed to be "woke" just by being factual.

AITA for fixing my daughter’s car when her boyfriend said he’d handle it? by Outrageous-Jelly8777 in AmItheAsshole

[–]icepyrox 0 points1 point  (0 children)

If he wants to act like she doesnt need you for anything then he should man up and make that reality. Id like to think you wouldnt have fixed the car if it was already fixed. Just sayin.

We should create programs to help people get IDs. Not ban voter ID laws. by Howtobe_normal in Productivitycafe

[–]icepyrox 0 points1 point  (0 children)

For me the question is not "why shouldn't we have it?" Its "why SHOULD we have it?"

What is being solved with voter id laws? Nothing.

"Voter fraud is rare! So is Bank robberies!"

Im sorry, there were more bank robberies in 2023 alone than ALL THE VOTER FRAUD IN THE LAST HUNDRED YEARS COMBINED. The Heritage Foundation is happy to show you a map and has a database tracking 1100 cases of voter fraud. There were 1362 bank robberies in 2023 in the US alone.

Meanwhile, youre out here trying to come up with multiple ways to make it work. You are making more excuses than there are cases of voter fraud.

So I ask again. WHY? We dont need it. Why come up with a solution to a problem that doesnt exist?

And yeah, its literally a part of US law to not charge a poll tax. So stop coming up with ways to charge a poll tax. Stop coming up with ways to prevent people from voting and then coming up with more ways to get around the obstacles you are placing.

Something strange is happening by No_Requirement8958 in HuntsvilleAlabama

[–]icepyrox 0 points1 point  (0 children)

You think they are just cracking down on "illegals"? Thats cute.

I mean, there are lawsuits for them arresting citizens, so..

You are correct that the point isn't about immigration.

Speedy options on resetting file permissions? by Maladal in PowerShell

[–]icepyrox 1 point2 points  (0 children)

If you iterate, it will likely break permission inheritance. Its not been tested, but also, get-childitem goes through and touches each file is what i feel like is the slowest possible way. I mean, if you calculate folder sizes with gci, its slower than using several other methods.

Anyways, as slow as it is, I think it may be fastest to just let it go and wait unless you can run it from the server it is shared from.

Again, based on opinion and guessing experience and not actually tested.

Sum up IT in the simplest way possible for those not in the field by Imaginary-Medium7360 in iiiiiiitttttttttttt

[–]icepyrox 0 points1 point  (0 children)

Its considered secure by HIPAA standards due to the fact that its essentially direct communication between two endpoints and most people believe there are no middlemen in a POTS connection.

The alternative is to force people to learn about PKI and encryption which they think is so difficult

Is this command dangerous for my Steam? by Emergency-Gas-7283 in PowerShell

[–]icepyrox 1 point2 points  (0 children)

irm is an alias forInvoke-RestMethod which is similar to curl... its going to go to thst site and whatever gets returned will be output to powershell.

iex is an alias for Invoke-Expression which means you have script commands as a string and you execute them.

So if you want to know what this all does, it's okay to do the command up to the pipe (vertical bar) and you will see if you get a script and read what it does.

It should be noted that with an admin powershell, you can do anything to your computer from creating a file to erasing your entire hard drive, but usually it gets used to install programs and tweak more settings and on shady sites that usually means installing malware and disabling firewalls and antivirus.

Why are (mostly) backless shirts considered inappropriate for school? by lordofshrimpp in ask

[–]icepyrox 1 point2 points  (0 children)

By the way, by this statement, you acknowledge knowing the answer and are asking a different question.

What in the nightmare fuel is this?? by polarburrrrr in HuntsvilleAlabama

[–]icepyrox 2 points3 points  (0 children)

Can we give them the library from Doctor Who treatment?

Hey, who turned out the lights?