WTF Bites
-
Eight to 16 characters
^
-
WTF of my day (well, really Wednesday):
We store users emails and use them for a bunch of purposes, including (gasp) sending transactional emails (we don't do any marketing ones from this product). That's not the WTF.
We store them in the database, in a
VARCHAR(100)
field. Uh...ok...The automated test suite (which creates users in production to perform some of the tests) uses an email like
<triggering users's email>+<code>+timestamp@<domain>
. And that's always longer than 100 characters. So it silently truncates the last chunk, leaving an invalid email address. Which causes errors when the email sender tries to use them to send emails.Count the WTFs:
my conservative count
* a 100-character wide column * DOING AUTOMATED TESTS IN PRODUCTION THAT REQUIRE ACTUALLY CHANGING DATA * not throwing an error and rejecting it when invalid emails are created because you truncated crap to fit your too-narrow column * silently truncating crap
-
LinkedIn let me set a longer password without issue, and it's only when logging back in again it complains it's too long.
-
@loopback0 Okay, I get that 16 characters are not enough for reasonable passphrases.
But did you really have to use War and Peace as password again?
Even just using hex characters a 256 bit password is no longer than 64 characters, and you're not going to get any more entropy than that anyway.
-
@loopback0 said in WTF Bites:
Eight to 16 characters
^
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
I was also taught you shouldn't combine both styles in the same sentence, and to use my own judgement.
-
But did you really have to use War and Peace as password again?
I remember someone here feeding Discurse a book for a password, might have been the entire LOTR text, it ended more poorly than this did.
-
-
-
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
Same, but up to and including twelve. But, whatever.
-
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
Same, but up to and including twelve. But, whatever.
So, up to 13?
-
@topspin fairly sure it locked the server up for a bit computing the hash for it. I don't remember if it actually crashed the runner or simply locked up incoming connections for a bit.
-
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
Same, but up to and including twelve. But, whatever.
Regional or language differences, most likely. I specifically recall "six to 12 o'clock" to be an example of consistency being more important than the boundary rule.
And of course this was in primary school. I wouldn't write out "12 o'clock" except when transcribing dialogue; I'd otherwise prefer "12:00".
-
I was also taught you shouldn't combine both styles in the same sentence, and to use my own judgement.
-
@PleegWat I usually spell out numbers less than three syllables - one, twenty, ninety, etc. - or at the beginning of a sentence. Seems to work pretty well.
-
@lolwhat And it can of course be used for emphasis -
one thousand dollars
versus$1000
-
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
Same, but up to and including twelve. But, whatever.
Use the bingo terms to avoid confusion.
-
@dkf The only bingo that I would ever consider playing is the bullshit-variant.
Filed under: Not enough yet.
-
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
RTotD: should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
-
should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
RTotD: should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
We also have a "THE BAD IDEAS THREAD" and a "🙅♀️ THE BAD IDEAS THREAD"...
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
RTotD: should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
We also have a "THE BAD IDEAS THREAD" and a "🙅♀️ THE BAD IDEAS THREAD"...
As seen in the The "The Bad Ideas Thread" Thread thread.
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
RTotD: should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
We also have a "THE BAD IDEAS THREAD" and a "🙅♀️ THE BAD IDEAS THREAD"...
As seen in the The "The Bad Ideas Thread" Thread thread.
Threads are free!
-
@loopback0 said in WTF Bites:
Eight to 16 characters
^
So, after 1 uppercase letter, 1 lowercase letter, and 1 number, what do you use to fill in the remaining 5 to 13 characters?
White space, special characters, caseless characters, ...?
-
@BernieTheBernie said in WTF Bites:
@loopback0 said in WTF Bites:
Eight to 16 characters
^
So, after 1 uppercase letter, 1 lowercase letter, and 1 number, what do you use to fill in the remaining 5 to 13 characters?
White space, special characters, caseless characters, ...?Edit: DAMMIT MARKDUMB
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
Hey! I've been switching those for weeks, and now you've gone and noticed. And then said something about it.
-
@lolwhat And it can of course be used for emphasis -
one thousand dollars
versus$1000
And also the legalese staple
one (1)
-
@Medinoc my favorite combination is on checks in USA - "twenty dollars and 50/100". Nobody would ever use that style in regular writing.
-
@Gąska Weird indeed. Where I live our
checkschèques have separate fields for the sum in writing and the sum in digits (and of course both must match).
So it would beTwenty euros fifty cents
in one field and€20.50
in the other.
-
@Medinoc it's like that in the USA too. The number part says "$ 20.50" and the text part says "twenty dollars and 50/100".
-
@Gąska We don't have checks where I live
-
@Vault_Dweller Same here. I was somewhat surprised to see @Medinoc refer to euros and checks in the same sentence.
-
@Vault_Dweller Same here. I was somewhat surprised to see @Medinoc refer to euros and checks in the same sentence.
Fixed.
-
@Medinoc my favorite combination is on checks in USA - "twenty dollars and 50/100". Nobody would ever use that style in regular writing.
You're missing the "only" after the number.
Yeah, weird. Long ago, a customer gave me a check to bring to my employer. It was a large sum, something like
One hundred forty-six thousand two hundred ninety two Pounds only
-
@BernieTheBernie said in WTF Bites:
You're missing the "only" after the number.
Yeah, weird. Long ago, a customer gave me a check to bring to my employer. It was a large sum, something like
One hundred forty-six thousand two hundred ninety two Pounds onlyPerhaps the "only" meant there were no cents/pence/etc.
-
@Medinoc my favorite combination is on checks in USA - "twenty dollars and 50/100". Nobody would ever use that style in regular writing.
When I first got my checking account, I thought that weird too. And started doing "twenty and fifty/100". That didn't last long.
-
I just realised we have a "Random thought of the day" thread, and a "Random Thought of the Day" thread, and both are still somewhat active.
RTotD: should I post my next RTotD in a new "RanDom ThouGht oF tHe dAy" thread?
We also have a "THE BAD IDEAS THREAD" and a "🙅♀️ THE BAD IDEAS THREAD"...
And "Help Bites" and "Help Bites" (not to mention "Help Bites--necro edition"
-
@Zerosquare said in WTF Bites:
When things keep working, users have no incentive to update.
Alphabet has learned this lesson well.
If you don't update Chrome in a timely fashion, stuff starts breaking. It gets very annoying very quickly.
-
@Polygeekery said in WTF Bites:
You can set Chrome to only download PDFs and lock that option. But then Chrome, or whatever was doing it, will set the Windows file association to Chrome and the file will just download over and over and over again and never open, because raisins.
My company's GP is set like this. Yes, it's annoying.
-
Currently am being driven insane by two different SPI somewhere up the network generating inconsistent cert signatures. It is no fun. Another few months of this and I may do something about it.
-
-
@Benjamin-Hall said in WTF Bites:
We store users emails and use them for a bunch of purposes, including (gasp) sending transactional emails (we don't do any marketing ones from this product). That's not the WTF.
We store them in the database, in a
VARCHAR(100)
field. Uh...ok...We had the same email length problem, and when I did some research into it, I found that the official email spec accepts up to 250 characters, IIRC. (I'm not sure why it's not 255 or 256, but kicked in at that point.) We brought that up to the dev team, and they fixed it in the next version; but for the older versions, if one of our clients wants to add an email that is >100 characters, we have to update the column type. Thankfully, SQL Server DBs allow extending a varchar column length without losing existing data.
-
@loopback0 said in WTF Bites:
LinkedIn let me set a longer password without issue, and it's only when logging back in again it complains it's too long.
But does it simply truncate the password, or does it replace the very last character with the last value from the entered text?
-
@Benjamin-Hall said in WTF Bites:
We store users emails and use them for a bunch of purposes, including (gasp) sending transactional emails (we don't do any marketing ones from this product). That's not the WTF.
We store them in the database, in a
VARCHAR(100)
field. Uh...ok...We had the same email length problem, and when I did some research into it, I found that the official email spec accepts up to 250 characters, IIRC. (I'm not sure why it's not 255 or 256, but kicked in at that point.) We brought that up to the dev team, and they fixed it in the next version; but for the older versions, if one of our clients wants to add an email that is >100 characters, we have to update the column type. Thankfully, SQL Server DBs allow extending a varchar column length without losing existing data.
I don't even want to attempt it in mysql v.ancient.
I think I did set up the validation to reject anything too long for the column, despite what the spec says.
-
Currently am being driven insane
?
Wrong tense. Should be past tense. (Also, wrong voice; should be active, not passive.)
That ship sailed long ago. Not just sailed, but sank in deep ocean, with all hands lost.
-
I was taught that numbers below ten should be written out, and numbers above 10 should be written in digits.
Same, but up to and including twelve. But, whatever.
Use the bingo terms to avoid confusion.
Why do some of the explanations say "Cockney rhyming slang for..." and others just say "Rhymes with..."?
Aren't they the same picture?
-
@HardwareGeek said in WTF Bites:
Not just sailed, but sank in deep ocean, with all hands lost.
While on fire. Don't forget the fire.
-
Aren't they the same picture?
Not 🦕🥦, some rhyming slangs are non-Cockney proper per region and some occur in pure monoglot contexts, so also non-cockney.
-
@djls45 Rhyming slang is a word of phrase which isn't generally used, except to make things rhyme which otherwise don't.
-
@djls45 Rhyming slang is a word of phrase which isn't generally used, except to make things rhyme which otherwise don't.
Porkies.