How do I create/modify Custom Labels programatically?
How do I update Custom Label's value using apex? Which one would be a better option metadata api or tooling api? Please provide example
Why is a (simple) mask not recommended for asymptomatic COVID-19 patients? Information about (simple) mask wearing (concerning covid19) is a complete mystery to me. On several official places it is not recommended for a person without symptoms to wear a mask. For example:    (time 0:20)  or here:    However no explanation is given - which makes me wonder (and even angry). I think everybody should wear a mask because:   Many persons feel ashamed wearing it, even those with symptoms. If everybody wears it, they do not feel ashamed and wear it. As far as I know, one is (wrt covid19) contagious before developing symptoms. So if everybody wears the mask also these people do.   The two above points act as a collective protection.   Simple mask certainly will lower "getting / spreading illness" probability. Of course the "holes" (in a simple mask) are too big to prevent completely virus to enter (or get out when coughing), but it lowers probability! Even if it lowers the transmission probability by e.g. 5%, it might be a lot. As a hypothetical example: it might reduce R0 from 1.02 to 0.97 and so stop the virus spread so fast.   The videos are full of self-contradiction. In the same video    time 0:50 the lady says I should wear a mask if I am in contact with an infected person... why if it is inefficient?  Question: What are reasons for not recommending wearing a mask? How can I find and replace specific words in a text file using command line? How to fetch the columns of the synonyms for linked servers in SQL server I am using two servers local (SQL Server running on my system) and remote (SQL Server running on another system). I have created synonyms in my local server for a table which is located on the remote server.  Synonym used- CREATE SYNONYM [dbo].[test] FOR remoteserver_name .[database_name].[schema_name].object_name  Requirement   I need to fetch the columns of the synonym.  I can retrieve the columns of the synonym using below query in SQL server.  select * from dbo.test   where  dbo is synonym created schema name (local server schema name) and test is synonym name.  I have tried to retrieve the columns of the synonyms using below query, but I cannot fetch the columns  SELECT sys.schemas.name   AS SCHEMA_NAME,        sys.synonyms.name  AS view_name,        sys.columns.name   AS COL_NAME,        sys.types.name     AS data_typename FROM   sys.columns        INNER JOIN sys.synonyms             ON  OBJECT_ID(sys.synonyms.base_object_name) = sys.columns.object_id        INNER JOIN sys.schemas             ON  sys.schemas.schema_id = sys.synonyms.schema_id        LEFT OUTER JOIN sys.types             ON  sys.columns.system_type_id = sys.types.system_type_id WHERE  sys.types.system_type_id = sys.types.user_type_id        AND sys.schemas.name = N'scehmaname'        AND sys.synonyms.name = N'synonymname'   Can you please suggest some other way to retrieve the columns of the synonym or correct the above query? MCMC in a frequentist setting I have been trying to get a sense of the different problems in frequentist settings where MCMC is used. I am familiar that MCMC (or Monte Carlo) is used in fitting GLMMs and in maybe Monte Carlo EM algorithms. Are there more frequentist problems where MCMC is used? Find the Resistance between Two Terminals Let's say R = 49 ohms, and we want to find Req between a and d, how do we do that? Do we have to find Req for the whole circuit? I am trying to calculate the sum of this infinite series after having read the series chapter of my textbook: $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}$$  my steps:   $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=\sum_{n=1}^{\infty}\frac{2}{4n^2-1}-\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=..help..=sum$$  I am lacking some important properties, I feel I am coming to the right step and cannot spit that out.. Cold fusion is being mentioned a lot lately because of some new setup that apparently works. This is an unverified claim.  See for example:         ( of that last link in the Wayback Machine, given frequent  from that page.)   While we should give the scientific community time to evaluate the set up and eventually replicate the results, there is undoubtedly some skepticism that cold fusion would work at all, because the claim is quite extraordinary.  In the past, after Fleischmann and Pons announced their cold fusion results, in perfectly good faith, they were proven wrong by subsequent experiments.  What are the experimental realities that make Fleischmann and Pons style cold fusions experiments easy to get wrong?  Would the same risks apply to this new set up? Distinct digits in a combination of 6 digits How should one maintain and update a MiKTeX installation? Every once in a while after updating MiKTeX, the installation gets into an inconsistent state. This might be a problem with the packages (an example is described in ), but sometimes packages are split or renamed. The cases I remember are when  and when miktex-etex-base-2,9 was renamed to miktex-etex-base-2.9 (if I recall correctly; I am sure it was either that or something very similar). In each case the MiKTeX Update process suggested to remove the "old" packages but it didn't give the user any hints about him having to manually add the respective replacement packages back in the package manager to get one's MiKTeX installation back into a usable state.  What are best practices for keeping MiKTeX up to date? Note that I'm not asking about installing new packages or fonts in general; there are other questions covering this area.   In which order should one execute the Update process and the Synchronization of the repository? , it is recommended to check the MiKTeX homepage before updating. What else should one do? When and in which order (and why) should one execute the "Refresh FNDB" and "Update Formats" processes within the MiKTeX Options menu? What else can happen? Other advice? I have made a command  \newcommand{\mysec}[2]{%  \textbf{#1} \\ #2 }   I use it with \mysec{A}{B}.  But sometimes I also want a third parameter. I could make a whole new command for those situations where I need 3 parameters. But I thought if I could handle it with an optional parameter in my original command?  So I have to check if the third parameter is set and how to print if it is set. Why do first years cross the lake to get to the castle? It makes sense to keep them together, and to have them arrive in the Great Hall separately from the rest of the school for the Sorting. But why the boats? The lake crossing is dramatic, but inefficient - as we see in book 4 when Dennis Creevey falls in the lake during the storm.   Is there a canon (books/movies or JKR) explanation for why the first years come up from the train in boats instead of carriages? The nose of Tom Riddle (as a student) was fine, as I have seen in the movies. But, Voldemort's nose doesn't look like a normal human nose. What really happened? How can I disable the drag handle on the desktop? Difference between staticmethod and classmethod What is the difference between a function decorated with  and one decorated with ? Given a set $\{1,2,3,4\}$, how is the following relation $R$ antisymmetric?  $$R = \{(1, 2), (2, 3), (3, 4)\}$$  Note: Antisymmetric is the idea that if $(a,b)$ is in $R$ and $(b,a)$ is in $R$, then $a = b$. In my textbook  it says the above is antisymmetric which isn't the case as whenever $(a,b)$ is in $R$, $(b,a)$ is not. Why do you need to change your position rather than just focal length to affect perspective? Why must you change your distance from an object to change your perspective of it? Why is it not sufficient to change the focal length of your lens (the zoom level) to change  your perspective? Significance of assumption in competition inequality questions Refer to the problem below (IMO 2009 Shortlist)     Let $a, b, c$ be positive real numbers such that $$\frac{1}{a} + \frac{1}{b} + \frac{1}{c} = a + b+ c$$   Prove that    $$\frac{1}{(2a+b+c)^2} + \frac{1}{(2a+b+c)^2} + \frac{1}{(2a+b+c)^2} \leqslant \frac{3}{16} $$    In the solution given by the  (Pg 16), it states that      Without loss of generality, we choose $$a +b+c = 1$$.    Thus, the problem becomes    $$ \frac{1}{(1 + a)^2} + \frac{1}{(1 + b)^2} +\frac{1}{(1 + b)^2} \leqslant \frac{3}{16}(\frac{1}{a} + \frac{1}{b} + \frac{1}{c})$$    Applying Jensen’s inequality to the function $$f(x) = \frac{x}{ (1+ x)^2}$$   ,which is concave for $0 ≤ x ≤ 2$   and increasing for $0 ≤ x ≤ 1$, we obtain   $$α \frac{a}{(1 + a)^2} + β \frac{b}{(1 + b)^2} + γ \frac{c}{(1 + c)^2} \leqslant (α + β + γ) \frac{A}{(1 + A)^2}$$   , where $A =\frac{αa + βb + γc}{α + β + γ}.$   Choosing $α = \frac{1}{a} , β =\frac{1}{b},$ and  $γ = \frac{1}{c}$   , we can apply the harmonic-arithmetic-mean inequality   $$A =\frac{3}{\frac{1}{a} + \frac{1}{b} + \frac{1}{c}} ≤ \frac{a + b + c }{3} = \frac{1}{3} &lt; 1$$   Finally we prove:   $$ \frac{1}{(1 + a)^2} + \frac{1}{(1 + b)^2} +\frac{1}{(1 + b)^2} \leqslant ( \frac{1}{a} + \frac{1}{b} + \frac{1}{c}) \frac{A}{(1 + A)^2} \leqslant ( \frac{1}{a} + \frac{1}{b} + \frac{1}{c})\frac{A}{(1 + \frac{1}{3})^2} = \frac{3}{16}(\frac{1}{a} + \frac{1}{b} + \frac{1}{c}) $$   However,  (Pg 4) differs by having $a +b+c=3$ and setting $f(x) = \frac{1}{16x} - \frac{1}{(x+3)^2}$ and allowing Jensen to resolve the rest.   The questions are as follows;   How do you choose before hand which $a + b+ c =$ to choose?  Why particularly does the assumption differ between the 2 solutions? How does one know before hand the choosing of $α = \frac{1}{a} , β =\frac{1}{b},$ and  $γ = \frac{1}{c}$?  Where and how did $A =\frac{αa + βb + γc}{α + β + γ}$ come from?   Any help would be much appreciated. How do I tunnel and browse the server webpage on my laptop? I run a web app in one of my lab servers, and I have already setup X11 Forwarding on those machines. Other lab members can tunnel through SSH, and browse that web app on their local browser at home.  I can't. Last time I checked with them, there is almost nothing I need to do.  When I type 192.168.1.113/webapp I get nothing.   Any tips?  THanks.    I ended up using the second method :)  ssh -L 8080:&lt;server-ip-address&gt;:80 &lt;username&gt;@&lt;remote-addr&gt; -N How can I restrict various roles with limit in creating nodes of a particular content type How can I restrict various roles with limit in creating nodes of a particular content type? Why are loops always compiled into "do...while" style (tail jump)?