The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Let's just say it is for now, because I have a complaint.
I just joined a website to get a logo designed on the cheap. When I did, I used my password manager / creator (C'YaPass>[^] gratuitous self-promo ) to create a password, since I don't remember or type passwords any more.
Normally I like to make the passwords 64 chars long, but I figured the lame site might have a limitation so I cut it in half and made it 32. It said you need uppercase, and letters and numbers and I did all that.
Sign Up Worked
I created my password and signed up. It took my password and everything seemed fine.
Couldn't Sign In
Then I tried to sign in again and I couldn't. I pasted directly from my password manager but it didn't work. Hmmm??? I kept trying and then the the thought struck me.
I bet they do not allow over N characters. I guessed that the max might be 30, set my password manager to limit to 30, pasted it in and it worked.
Here's The Point
The ENTRY text box that I signed up on did not say, "max is 30" or anything. Instead it just took the first 30 chars and used them, but it didn't let me know that so I'm thinking something else is incorrect. Oy!!
Other Sites Do This Too
A bank site I use did this to me too. It allowed me to think it took N number of chars when I created the password, then wouldn't let me sign in. I finally guessed with that one too.
I think I've mentioned before, my first PC (1992) had the ability to set a password in the BIOS, but it treated DELETE as any other character! So I wound up with a password which contained DELETE -- e.g. Pi<DEL>assword .
Reminds me of when I was teaching a course in the wilds of [better not say where] many many moons ago. I had too many nosy students looking over my shoulder, so the course admin account had a password composed of the escape sequences for "Clear Screen", Home (twice) and some other erase. They never cracked it, but I saw a few trying.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
A friends mother decided ages ago to get broadband, and signed herself up. Decided on a password she could remember - "pepsi", the name of her daughters first and beloved cat. In those days, most systems didn't check password strength.
Years passed, and she had no problems. The company she was with was bought by TalkTalk and her account transferred fine.
More years passed, until finally he computer died and we had to set up a new one. Well, I had to set up a new one - it gets a little complicated.
Everything went fine, until I had to enter the password for her broadband - and it wouldn't accept it because it was too short, and didn't contain a special character. OK, fine, we'll change it. "Enter existing password". 'p', 'e', 'p', 's', 'i'. "Too short." Oh, fer sake ...
Tech support: "You can't use that, it's too short". "I know: but it wasn't when she set up the account". Took around three hours of back and forthing before they agreed to reset it and email me the new link (since she couldn't get into the account to retrieve anything) ...
I wish she'd used "p*n*s" - at least we'd have got a cheap laugh out of it.
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
It has been fun, C# 8 has some nice features. Pattern matching switch cleaned up some code (and helps deal with nullability warnings), default interface members (converted to abstract classes), and the biggest one (IMO): nullability warnings. (there is more in C# 8 but I didn't get the chance to test everything).
There were about 200 nullability warnings when I turned that on and some new ones came up while fixing things, it took a while to do something about all of them, but not even that much time. A couple of hours. It found a few real bugs so it was already worth it, and I expect more bugs will be prevented without it having to explicitly fail during testing.
VS2019 does seem slower though. Again. The time from F5 until the program starts running seems longer, compile errors and warnings take longer to show up, switching to a different file sometimes takes noticeable time to process..
when you first start vs2019 it goes on-line to look for style/definition updates and repository updates (git, team..), the vs2019 updater gors on-line to look for package updates, the 4 service workers all go on line to look for updates for their style/template updates. Every 30 minutes they all do it again.
If you are developing with full internet access a huge speed improvement it gained by putting vs2019 behind a firewall (blocking outbound connections - if using repositories just fingrain the allowed connections), it runs as much as 30% faster and no functionality is lost.
...Worried about updates, just open/disable the firewall when you go for lunch.
(don't forget in the about to turn off the "customer improvement" options - it'll still send telemetry back to ms (just a little bit less) - another thing the firewall helps.
Codelens is absolutely worth turning off, it's fine for newbie, it's nothing for anyone else.
- No I'm not one of those worried about being 'spied on,' I just don't appreciate the performance hits on my dev system.
OTOH: personally I'd be quite worried about my abilities if a style analyser is finding bugs.