

I’m glad you noticed. That was my favorite part too.


I’m glad you noticed. That was my favorite part too.


I just tested it in PowerShell. Works fine
$i = 1
$x = -$i
$x
Outputs -1


function myFunction() {
try {
x = new Random().nextInt();
if (x != 10) {
throw "not 10";
}
else {
return (10)
}
catch(err) {
myFunction()
}
}
}
x = myFunction()
Commit notes: Added error handling
The weakest link in any system is the user
Correct. No policy is an adequate substitute for security training or phishing awareness training. That doesn’t mean to allow abuse cases though
export sensitive company data onto their own personal machines
Intune can be (and usually is) used to enforce logins only from enrolled devices. Personal devices can be enrolled, then Conditional Access policies can be applied to silo app data from company data, preventing this abuse case
reauth once per hour
No way. One per day, at most. No one should have to re-auth every hour, except maybe Global Admin accounts, which shouldn’t be used for day-to-day tasks anyway.
users who generate service account credentials
To do this in Entra, you need the Application Administrator role assigned, which is a Privileged Role, so it should be controlled by PAM to prevent/detect this abuse case.
When your policy teeters towards aggravating users, many of them will just find clever ways to circumvent it
Not for long. And usually not without leaving an audit trail that indicates violating acceptable use policies, security policies, or access control standards, which then becomes an HR issue, not an IT issue
If your session gets hijacked, max session lengths ensure the attacker doesn’t retain access once the session expires. It’s more likely someone in your company was phished and the attacker retained access to their Outlook for a few days or weeks before anyone noticed.


This happens a lot with old movies.
A film comes out that’s revolutionary, so every film after it copies it. Future eyes lack that context, so they just see something that looks like everything else they’ve seen.
Citizen Kane is a good example. The writing, editing, and cinematography were revolutionary at the time. But, through a modern lens, it appears very ordinary because it’s very similar to every copycat that followed it.
Yes sir, can you please tell me, did I give you purr-fect customer service and are you completely satisfied with the outcome of your call?

Because after we’re all dead and everyone is reading about this time in history, we want them to know what happened and who stood for what.


The fact it’s even being considered is very telling once one understands it’s entirely and obviously unconstitutional.


I have the entire lemmy.ml and hexbear.net instances blocked. Nothing of value has been lost and my experience has dramatically improved.


Close. I believe you’re referring to the EPA efficiency mandates passed in the 90s that carved out exceptions for “heavy duty” trucks and SUVs, which lead to the creation of “crossover” vehicles, which started as a way to deliver car-like efficiency and features, while still minimizing development and efficiency costs by still having it classified as a “truck.”


This is the better option. But, if you’re gonna do that, there needs to be some kind of program that allows people to sell their banned vehicle to the government for above market value so they can afford to purchase a comparable, but more suitable vehicle instead. Otherwise, you’re gonna have a bunch of pissed off people with six-figure, three-ton lawn ornaments crying about how they couldn’t have known their vehicle would get banned and it’s now useless.


Close. I believe you’re referring to the EPA efficiency mandates passed in the 90s that carved out exceptions for “heavy duty” trucks and SUVs, which lead to the creation of “crossover” vehicles, which started as a way to deliver car-like efficiency and features, while still minimizing development and efficiency costs by still having it classified as a “truck.”


So, pass a ban that only applies to poor people and let the rich continue to do whatever they want still since they can afford the fine?
Once you subtract suicides, self-defense, justifiable homicides, officer involved shootings, and accidents, what you’re left with is a statistic that indicates 100% of gun violence is caused by less than 1% of gun owners.
Overall, the vast, VAST majority of gun owners in the US are safe and do make good choices.
No, the biggest problem (IMO) is that we enshrine the right to bear arms, but mandate no education about firearms in public school. If we’re going to embrace guns the same way we do cars, we should teach “shooter’s ed” the same way we teach “driver’s ed.”
The second biggest problem is, even though most Americans agree that the root causes of violence need to be addressed (poverty, homelessness, unemployment, mental health, etc.) the sad reality of our political system is that these interests aren’t represented because capitalists have hijacked our government for their own benefit.
I’m a member of the American public. I abide by the rules, make smart choices, and don’t tolerate those who don’t. All my friends are the same way.
Less than 1% of American gun owners commit 100% of gun violence in the US.
Have you ever tried it?
There’s nothing quite so uniquely irritating as someone intensely critical of something they know very little about.
Friendly reminder that medieval peasants only spent 20-30 hours per week working the land.
Coding on mobile is hard