« first day (4370 days earlier)      last day (564 days later) » 

7:46 AM
hey guys there are two separate (same) questions on SO. Both with highly upvoted answers. What is a way to link these two? It would be useful to retain both answers though.
 
8:13 AM
@GiorgiMoniava If they are really the same question, you can mark one as a duplicate of the other. You can also try to request merging via a modflag but you do have to make sure that they are really the same question, and answers to one make sense as answers to the other.
 
8:31 AM
@VLAZ If one say A is dupe of another B, will A be deleted? Like I said answers of both questions could be useful (they contain different info). I guess I will leave it as is
 
8:51 AM
@GiorgiMoniava No, duplicates do not delete anything, if there are answers. The only time questions are automatically deleted are by the roomba. However, it requires the closed question to have negative score, no positive or accepted answer, no multiple answers, and almost no comments. Essentially, the question has to be negative scored, no answers (or a single non-positive scored), and maybe a single comment, in order to be roomba'd
Even a zero-scored question with no answers which is marked as a duplicate will not be deleted.
 
9:10 AM
@VLAZ I can share links to those questions although they are typescript. Otherwise I will just leave them as they are, I am also not well familiar with TS
 
 
6 hours later…
3:37 PM
I have this code

var p = 5;
x < 6,p > 6 && console.log('john'),console.log('peter')

in the left hand side the second expression(the one being evaluated) resolves in false....I would expect that being false the execution will not go the right of the &&...it goes though and outputs peter in the console....this I do not undestand
 
there is a comma before console.log('peter') - the conditional expression is p > 6 && console.log('john') which indeed does not print
 
so in other words..you are saying that console.log('peter) DOES NOT BELONG to the previous expression
and that is why it get's printed
 
 
3 hours later…
6:20 PM
@DimitrisPapageorgiou Correct, there are three expressions separated with commas (the comma operator)
|| operator precedence
 
 
1 hour later…
7:48 PM
anyone have an experience with i18n ?
I am trying to use translation like this
        <Trans
          i18nKey="USM-Registration:ResponseError.error.already.exists"
          t={t}
        >
          Social security number already exists. Please go to{' '}
          <Link href="google.com">the login page</Link>.
        </Trans>
"already.exists": "Social security number already exists. Please go to <5>the login page</5>.",
I tried a lot and a lot solutions
but nothing works with links
 

« first day (4370 days earlier)      last day (564 days later) »