Add a key and array to object in Javascript
How can I merge properties of two JavaScript objects dynamically?
Anonymous questions and Avatars Some Stack Exchange sites allow to ask an anonymous question by specifying a one-time user name and an email which is "required, but never shown". However the Gravatar attached to the email is shown anyway. Anonymous users do not want their picture to appear - someone can find their identity via google image search or someone that knows them.  Example: open incognito window and : My website used to have sitelinks and now it doesn't. It's very possible that it's due to changing the website to a sidebar design instead of having an "interstitial" type landing page which limited the number of choices, but I'm not sure.  Here is how sitelinks might look for a site:    What are some things that I can do to improve my chances of getting sitelinks? Lunch Meeting Probability for two person to meet in given 1 hour slot and none would wait more then 15 minute. Two friends who have unpredictable lunch hours agree to meet for lunch at their favorite restaurant whenever possible. Neither wishes to eat alone and each dislikes waiting for the other, so they agree that each will arrive at a random time between noon and 1 pm, and each will wait for the other for 15 minutes or until 1:00. What is the probability that the friends will meet for lunch on a given day? How can I find out which process is locking a file or folder in Windows?  For instance, when trying to delete a folder, Windows reports this:     The action can't be completed because the folder is open in another program   Happens the same with a file, but how do I find out what program or application is currently using it and preventing me from deleting the file or folder? If $f'(x)\le g'(x)$, prove $f(x)\le g(x)$ I have to do the following exercise:     Let $f$ and $g$ two differentiable functions such that $f(0)=g(0)$ and $f'(x)\leq g'(x)$ for all $x$ in $\mathbb{R}$. Prove that $f(x)\leq g(x)$ for any $x\geq0$.   Now, I know this is true because the first derivative of a function is the angular coefficient of the function in a point $x$. So, $f'(x)\leq g'(x)$ means, in other words, that the function $g(x)$ grows faster than $f(x)$. I think this is the base for a more formal proof, could someone help me to figure out a more formal proof? how to run the dialog command with proccess Please look on my code – ( bash script )  I want to display both dialogs on the screen on the same time,   one dialog display the:  tail –f from - /var/log/proccess1.log  ,   and the second dialog display the:  tail –f from the file - /var/log/proccess2.log     but the sad fact is that I can display only one dialog and not both dialogs ( because when I run the first dialog , the second dialog will activate only if the first dialog will killed )   So I create process on the second dialog ( ….. ) &amp;    , in order to display both dialogs    But …. the second dialog create process number but not create the second dialog GUI , ( seems that when we create dialog with process , the process not send the dialog to standard output )  So how to  run the second dialog with process but send the dialog GUI to screen ? , or other solution in order to display both dialogs on screen  My code       #!/bin/bash       # this dialog will locate the tail box on the top of the screen      dialog --begin 15 10  --tailbox   /var/log/proccess1.log  13 125         # this dialog will locate the tail box down in the screen      ( dialog --begin 37 10  --tailbox   /var/log/proccess2.log    13 125 ) &amp; What happened to the voting buttons? Starting from yesterday, the up-/downvote buttons seem to have moved from the left of a post towards above (in the middle) of the bodies of all questions and answers. Here is a screenprint of a sample (containing such buttons for both a question and an answer to it):    This happens on an iOS device (running 9.3.5), using various browsers and this in any SE site. No idea so far how it looks like in the most recent iOS version. Same for the (green) checkbox below those voting buttons (to mark an answer as accepted). Is this intended to be like this (IMO it looks ugly ... and a huge waste of available space), or is it rather some sort of CSS related issue that needs to be fixed? PS: Looking at the same page around the same time on a Win PC (using any of the common browsers) seems to work fine. How to show that the commutator subgroup is a normal subgroup Making data points different sizes based on data using QGIS? I am trying to plot sales data on a map using QGIS. I will add the disclaimer that I am a rookie at using the program. I added the different sales types by adding delimited text layers (utf16). The data included Longitude, Latitude, and Amount. I want to make the dots on the map scale with the value of the sale. Ive had no luck with trying to use Simple Marker->Data defined properties-> size and writing case functions. Some data points show up at different sizes while others show up at all data points. Here are my functions under different simple markers:   CASE WHEN Amount &lt;= 10000 THEN '.2' END CASE WHEN 10000 &lt; Amount &lt; 75000 THEN '.4' END CASE WHEN 75000 &lt; Amount &lt;= 250000 THEN '.6' END CASE WHEN Amount &gt;= 250000 THEN '1' END   The majority of my data set falls into the 10-75k range. However the .4 and .6 size circles show up at every data point on the map, while the .2 and 1 sizes only show up where the data specifies (along with the .4 and .6 sizes). At this point I am trying to figure out what is wrong with the equations, however I am stuck.   Is there a better way to go about this or am I just simply messing up the equations?   I wish I could share my whole map with you but it is looking great. I went with U/Joseph 's solution and here is an excerpt of the results for those interested. Reference — frequently asked questions about PDO How do I get started creating an Ubuntu Desktop App? Why are duplicates not being merged? I see more and more exact duplicates on SO. Instead of being merged they are being simply closed. I think this is very big disservice to SO. Why don't moderators merge duplicates? Why don't owners of the site do anything about this?  EDIT  It's disservice because this way we have more and more junk. Duplicates are duplicates and should be merged so that information in in one place.     If the duplicate has no answers then there is no benefit to merging.   Of course there is. You don't need to waste your time with dupes.     It also means that the search routes to the main question are   diminished which makes the posting of new duplicates more likely   There's easy solution for this which I gave in  back in march.     If both questions have answers that have been accepted, which one   should be unaccpeted?   There are plenty of solutions. You accept most voted accepted answer or the first accepted answer or both (I think this is be the best). Yes, there will be possibility of many accepted answers to one question. So what?     When a question is closed as a duplicate, there is a link to the   duplicate question. What more do you want?   I don't want yet another link. I want to have all answers to some problem in one place. Is this that hard? Isn't this natural expectaion?     Removal of the question means that the text in it is no longer searchable - that's a disservice.   See my answer above to Scrooge's comment. Textbook approach to modeling non-proportional hazards in the Cox model In Cox models with time varying coefficients, the effect of covariates on the hazard is allowed to change through time. In cases where a coefficient has a linear relationship with time, I am aware of at least two text books ( and an Appendix to ) that advocate for the following model, first in R code:  coxph(Surv(time, death) ~ disease + disease:time)   And now in mathematical notation:  $$ h(t|X) = h_0(t) \exp(\beta_1X + \beta_2X_T) $$ Where $h(t|X)$ is the instantaneous hazard rate at time $t$ given covariates $X$; $h_0(t)$ is the baseline hazard rate; and $T$ is the censoring or event times. $\beta_1$ represents the log hazard ratio for individuals with $T=0$ (which is sort of nonsensical since you can't have $T=0$ in the data), while $\beta_2$ is harder to interpret... $\beta_2$ shows how the log hazard ratio depends on censoring/event times, but that is circular because event times are also the response variable (this point is made in Terry Therneau’s vignette “”).  According to Therneau's vignette, to correctly specify a time varying coefficient, you need to use the following model, first in R code:  coxph(Surv(time, death) ~ disease + tt(disease), tt=function(x,t,...){x*t})   And now in mathematical notation: $$ h(t|X) = h_0(t) \exp(\beta_1X + \beta_2X_T) $$  The difference is that the time interaction is with $t$ in the model rather than with the event times $T$ in the data. The resulting parameters are easy to interpret: they are the intercept and slope of the linear relationship between the log hazard ratio of $X$ and time. This approach seems like the proper way to model a time varying effect.  Can anyone justify or advocate for the first approach to modeling non-proportional hazards in the Cox model? If it is really incorrect (as I suspect it is), what are the practical consequences of using this approach? How do I open Chromium in incognito mode by default? I would like to be able to open Chromium in incognito mode automatically. I'm new to Linux and I love it so far but I haven't yet found a way to do this. I'm using Ubuntu 14.04. Cannot empty trash I am trying to empty my trash, and it keeps giving me an error message that says,      .Trash can't be opened right now because it's being used by another task...     I have tried restarting my computer, running Finder > Secure Empty Trash everything yields the same result and error message from above. What would happen to a teaspoon of neutron star material if released on Earth? I've read on NASA's page on neutron star that one teaspoonful of that star would weigh over 20 billion tonnes on Earth. If it was somehow possible to bring it to earth would it:   Burn and disappear during Earth atmosphere entry? Assuming we have 20 billion tonnes of mass occupying the volume of a teaspoon here on Earth, would it fall through the ground under its own weight? When certain nationalities of people want to travel in the Schengen zone, they are required to apply for a Schengen visa. This is a straight-forward process for most, but when an applicant has had problems with removals or refusals they may be reluctant to apply because they want to avoid the complexities of serial visa refusals. This reluctance may lead some into wondering how their history can be expunged, and this line of thought inevitably leads to the idea of getting their passport replaced with a new one.  This sounds like a great formula for people who have had prior refusals or removals.  In essence they can become 'reincarnated' as a first-time traveller and hence avoid the unpleasantness of revealing their prior interactions with the Schengen authorities.  The relevant parts of the application form are shown here...    Nothing asks about a prior removal or refusal, and the applicant is left with simple denials for 3 questions in order to present themselves as a first-time traveller.  Assuming the person is happy to set aside the moral issues associated with denying their history, are there any holes to this strategy?  This question is scoped to Schengen visa applications so that it will not be unmanageably broad, but answers from other regimes (particularly the affluent Commonwealth and the USA) are acceptable as long as the main points are relatively consistent with Schengen. Is there a word for a person who avoids their responsibilities? Can you grab the blue shirts and socks?   Is the above sentence stating that both the shirts and the socks are blue? Or only the shirts?  At this stage, I am leaning towards the earlier (only the shirts) — though writing "Can you grab the blue shirts and blue socks?" seems redundant. How do I get started with Translations? My friend and i would like to translate Ubuntu. where should we start? where to find translation tools?