WTF Bites
-
@pie_flavor said in WTF Bites:
@tsaukpaetra
BOOL
is assuredly notdouble
.With Win32 you can never be sure.
https://what.thedailywtf.com/topic/7404/microsoft-s-three-value-boolean
Filed under: I am not responsible for any resulting necros
-
@pie_flavor said in WTF Bites:
No it's not.
Reading comprehension failure. The original screenshot @bb36e posted had
[url](title)
, which is what @lb_ commented on. @bb36e and yourself responded with[title](url)
links, which are correct for markdown, but backwards from the screenshot.
-
@pie_flavor said in WTF Bites:
it may say that they require you to use a different one each time, but it doesn't seem like it's actually enforced.
I have managed to avoid that a few times as a result of the password change tool failing to change the password on all of the systems it should have changed, thus requiring a password reset, after which it would happily accept the previous password.
-
-
@pie_flavor said in WTF Bites:
Got the standard 'you must reset your password in the next 30 days email' a while back, and I've been steadily putting it off. I thought it was asking me for my current password when it was actually asking me for my new one, and, well, it may say that they require you to use a different one each time, but it doesn't seem like it's actually enforced.
It looks like they didn't read the newest version of NIST Special Publication 800-63B - Digital Identity Guidelines - Authentication and Lifecycle Management (in particular section 5.1.1.2)
They really no longer recommend changing passwords unless there's a chance of a compromised password:Verifiers SHOULD NOT require memorized secrets to be changed arbitrarily (e.g., periodically). However, verifiers SHALL force a change if there is evidence of compromise of the authenticator.
Is there a possibility to do a Reply All?
It's auto-sent by the server. Passwords expire every 180 days. And it could be worse - there's no max character limit and all the silly rules are gone except for the no duplicates rule if the password is over 20 characters.
-
@bb36e At least, now we know why you're having a crappy Linux experience
If you like a tiling window manager, why don't you try this one :
FileUnder: KDE is the best
-
@timebandit said in WTF Bites:
At least, now we know why you're having a crappy Linux experience
>implying I'm stupid enough to bother ricing
-
-
Sorry is the LinuxForums or something where they masturbate over their screenshots of configuring obscure window managers? Oh no. You guys are dicks.
Why don't you wank to your own reflection?
-
@pie_flavor said in WTF Bites:
there's no max character limit and all the silly rules are gone except for the no duplicates rule if the password is over 20 characters.
Do I interpret it correctly that passwords shorter than 20 characters can be reused forever while longer passwords need to change more frequently?
If so they have never heard of Diceware because my passphrase is more than 40 characters long, and you'd take quite a while to guess it.
-
-
@boomzilla just a little reminder.
Are we going to have one of the BSD guys lecture me on here about his Grub config ... FFS.
-
Are we going to have one of the BSD guys lecture me on here about his Grub config
Of course not. BSDs have their own bootloader.
-
Sorry is the LinuxForums or something where they masturbate over their screenshots of configuring obscure window managers? Oh no. You guys are dicks.
Sorry do you want to try writing those sentences down again?
-
Sorry do you want to try writing those sentences down again?
It's not like it would be better the second time
-
@bb36e They make a lot of sense if you aren't a twat.
-
@pie_flavor said in WTF Bites:
@tsaukpaetra
BOOL
is assuredly notdouble
.It's not a single value, there are two. Therefore it's a double
-
@bb36e They make a lot of sense, but only if you are
n't a twatthoroughly pissed.FTFY
-
@boomzilla No most of them back in 2004-2005 ish used to chainload off of grub.
I actually built a gentoo stage 1 install back in 2004.
I converted to OpenBSD for *nix in about 2006.
-
I actually built a gentoo stage 1 install back in 2004.
I converted to OpenBSD for *nix in about 2006.Sorry is the LinuxForums or something where they masturbate over their accomplishments of running their obscure systems?
-
@cvi Generally most Linux users yes
-
@pie_flavor said in WTF Bites:
there's no max character limit and all the silly rules are gone except for the no duplicates rule if the password is over 20 characters.
Do I interpret it correctly that passwords shorter than 20 characters can be reused forever while longer passwords need to change more frequently?
If so they have never heard of Diceware because my passphrase is more than 40 characters long, and you'd take quite a while to guess it.
No, the rule is on both and isn't enforced on either.
-
@pie_flavor said in WTF Bites:
there's no max character limit
Is there really?
This may need to be tested.
With the text for War and Peace.
-
dfsudifshiudf requires a separate installation of 3ui9uwisjomsndkjfa in order to respond to messages from plutisnfnkjnrdc
-
@timebandit said in WTF Bites:
At least, now we know why you're having a crappy Linux experience
>implying I'm stupid enough to bother ricing
-
-
Sorry is the LinuxForums or something where they masturbate over their screenshots of configuring obscure window managers? Oh no. You guys are dicks.
*faps furiously*
Why don't you wank to your own reflection?
No Linux drivers for my webcam.
-
@pie_flavor said in WTF Bites:
there's no max character limit
Is there really?
This may need to be tested.
With the text for War and Peace.I think that's more of a reference to character limits if they're being stored in plaintext, or are using naked
bcrypt
to hash it.There'll naturally be limits as to how much the underlying php(to pick a random language) or the server can handle.
-
-
-
This was an interesting failure mode.
Restarting Firefox fixed it.
-
something ? true : false
MSC++ has a warning for
(bool)something
(orbool(something)
orstatic_cast<bool>(something)
wheresomething
is a non-bool integral value:warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
but it does not show that for implicit conversion in a condition. So some people write it to avoid that.
A
bool
is anint
anyway, and any nonzero value istrue
. Maybe it's complaining because you've pointlessly added logic to check to see if the integer value is "truthy" and convert it to either1
or0
, when the condition that you're using it in would treat any nonzero value as truthy anyway.
-
-
@bb36e
Poe or Noe
-
@coldandtired said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Sorry for the trouble.
Hey, at least you didn't make it double!
-
@anotherusername said in WTF Bites:
something ? true : false
MSC++ has a warning for
(bool)something
(orbool(something)
orstatic_cast<bool>(something)
wheresomething
is a non-bool integral value:warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
but it does not show that for implicit conversion in a condition. So some people write it to avoid that.
A
bool
is anint
anyway, and any nonzero value istrue
. Maybe it's complaining because you've pointlessly added logic to check to see if the integer value is "truthy" and convert it to either1
or0
, when the condition that you're using it in would treat any nonzero value as truthy anyway.Actually no, the warning is what forces you to add pointless logic to check the truthiness of the integer. Otherwise you could just write normal code like a normal person.
-
@lb_ Can you provide an example?
-
@anotherusername said in WTF Bites:
@lb_ Can you provide an example?
This method lacks await operators and will be run synchronously.
Yes, thanks visual studio, I'm doing this intentionally because the calling function requires an async method and I don't want to put in a dummy awaited task just for that!
-
@tsaukpaetra said in WTF Bites:
@anotherusername said in WTF Bites:
@lb_ Can you provide an example?
This method lacks await operators and will be run synchronously.
Yes, thanks visual studio, I'm doing this intentionally because the calling function requires an async method and I don't want to put in a dummy awaited task just for that!
You... do know that
Task.FromResult
exists, right?
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@anotherusername said in WTF Bites:
@lb_ Can you provide an example?
This method lacks await operators and will be run synchronously.
Yes, thanks visual studio, I'm doing this intentionally because the calling function requires an async method and I don't want to put in a dummy awaited task just for that!
You... do know that
Task.FromResult
exists, right?Nope!
-
Windows put the clock forward two hours last night on the desktop but one on the phone.
-
@coldandtired said in WTF Bites:
Windows put the clock forward two hours last night on the desktop but one on the phone.
Daylight Savings Time was two weeks ago.
-
@anotherusername Europe does it on the 25th, typical EU bureaucracy
-
@anotherusername said in WTF Bites:
@coldandtired said in WTF Bites:
Windows put the clock forward two hours last night on the desktop but one on the phone.
Daylight Savings Time was two weeks ago.
It's a big world out there.
-
This seems to be a common theme:
- To get a local bank account, you need a local phone number (mobile phone OK)
- To sign a contract for phone number you need a bank account
I briefly considered trying to exploit data races (I doubt they have proper synchronization) by signing up for both at the same time, but then remembered that that's not really a thing in meat space.
Oh, well. Plan B. A pre-paid card. ... What?
- To order a pre-paid card you need a local phone number.
There must be some kind of misunderstanding here. When I buy a pre-paid card, you are supposed to give me a phone number, not the other way around.
-
@cvi get a Google account that doesn't have a phone number yet and see if you can get a local number for Google Voice.
-
@anotherusername said in WTF Bites:
Daylight Savings Time was two weeks ago.
Ah, but two weeks ago in which timezone?
-
@anotherusername Not sure if Google Voice is supported around here, but if it is, that's not a bad idea. I'll check it out.
-
@anotherusername said in WTF Bites:
@lb_ Can you provide an example?
The post you quoted was the example. Because of the warning you now have to write
something? true : false
or!!something
instead of the more clearstatic_cast<bool>(something)
orbool b = something;
.
-
I've been annoyed by Windows Hello asking for a PIN whenever the biometric crap fails for a while now (I probably set a PIN, then forgot it in favour of a password) -- instead of being able to just type my password, I have to clickety-click around to get the right option.
Enough is enough, and I decided to ask the Google for advice. Surely, I'm not the only person annoyed by this? And nope, I'm not. But that's where the stupid begins.
Morbid curiosity and not knowing when to quit led me to the following: "Why a PIN is better than a password". It gets cited by morons everywhere.
tl;dr.
- "PIN is tied to the device" -- So was the password before Microsoft started pushing for their stupid Microsoft account single-login across devices. I even started using that after a while...
- "PIN is local to the device" -- Actually, let's examine the first sentence of that section: "A password is transmitted to the server -- it can be intercepted in transmission or stolen from a server." If that's the case, you are doing it very very very wrong. Also, see above.
- "PIN is backed by hardware". Ok, so they shove it into the TPM chip. I guess that's good.
- "PIN can be complex". Wait... what? "The Windows Hello for Business PIN is subject to the same set of IT management policies as a password, such as complexity, length, expiration, and history." Uh... so the PIN is a password now? Why are you calling it a PIN then?
Also
If you only had a biometric sign-in configured and, for any reason, were unable to use that method to sign in, you would have to sign in using your account and password, which doesn't provide you the same level of protection as Hello.
Well, I can sign in using my account and password as well, so what's the point again? Also, we are talking about the Microsoft Account and password. Really confidence inspiring there, guys.