For my community login, I have a custom vf page to which the user is redirected if his password has expired for him to reset his password. Also, when the user's password is reset manually from the back-end the link in the password reset mail redirects the user to the same vf page. I need an identifier in the custom vf page for whether the redirection is from the mail link or due to password expiry. Is there any way to do this? Thanks in advance.
Here's what I am trying to do:  1) User creates record A.  2) Time-based workflow sends an email to the Record A creator based on a date field in the record.  3) The email template has a URL link.  4) The URL links to a Visualforce page that is basically a form with fields to be filled out (this Visualforce page is in a managed package) and a save button that creates a new User record.  5) When the User clicks the URL link in the email, the Visualforce page opens in a new window.  6) I would like to pass the values of the fields in record A to pre-fill the Visualforce page fields.   Here's my link:  &lt;a href="https://cs19.visual.force.com/apex/CloneThisUser?Desktop=true&amp;Id={!Pending_User__c.User_to_CloneId__c}&amp;formGroupInputSmall={!Pending_User__c.First_Name__c}   And here's the code from the relevant section of the Visualforce page:  &lt;div class="form-group form-group-sm"&gt;       &lt;!-- &lt;apex:outputLabel styleClass="col-sm-2 control-label" for="formGroupInputSmall"&gt;First Name&lt;/apex:outputLabel&gt; --&gt;       &lt;div class="col-xm-11 col-sm-12"&gt;           &lt;apex:inputField html-placeholder="First Name" styleClass="form-control FirstNameInput"  value="{!u.FirstName}" id="formGroupInputSmall"/&gt;       &lt;/div&gt;     &lt;/div&gt;   I have only included the first field I would like to pass the parameter to, in order to keep this post simple.   The link passes the User_to_Clone_Id__c just fine but does not fill in the "First Name" field with the value of the First_Name__c .  What am I doing incorrectly? Thanks.
Compress a folder with tar? I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date.  This is what I have:  cd /var/www &amp;&amp; sudo tar -czf ~/www_backups $time"   I am completely lost and I've been at this for hours now. Not sure if -czf is correct. I simply want to copy all of the content in /var/www into a $time.tar file, and I want to maintain the file permissions for all of the files. Can anyone help me out? I understand that the expressions on both sides of an equal sign are the same entity, and I know that when you modify one side, the other must be changed because it is referring to the same thing. What I do not understand is why making a new equation (adding or taking away from an expression) allows one to know what an unknown represents. What about equations lets us do this? According to the documentation  in order to retrieve a list of picklist values for an object we need to pass in a Record Type Id which can be retrieved using the getObjectInfo method.   The issue is that these are both wire functions and I cannot figure out how to chain these methods.  If I try code like the following:  getObjectInfo({ objectApiName: ACCOUNT_OBJECT })             .then(result =&gt; {                 return getPicklistValues({recordTypeId: result.defaultRecordTypeId, fieldApiName: TYPE_FIELD});             })             .then(result =&gt; {                 this.picklistValues = result.data             })             .catch(error =&gt; {                 this.error = error;             });   I get an error      render threw an error in 'c:getpicklistexample' [Imperative use is not   supported. Use @wire(getObjectInfo).]   If I try something like   @track rtId;      @wire(getObjectInfo, { objectApiName: ACCOUNT_OBJECT })     handleResult({error, data}) {         if(data) {             this.rtId = data.defaultRecordTypeId;         }     }      @wire(getPicklistValues, {recordTypeId: this.rtId,fieldApiName: TYPE_FIELD})     picklistValues;   Then it throws an internal server error. Anybody have an idea as to how I could retrieve the record type Id and then call to get the pick list values like the documentation suggests?  FYI my imports are:  import { LightningElement, wire, track } from 'lwc'; import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi'; import TYPE_FIELD from '@salesforce/schema/Account.Type'; import ACCOUNT_OBJECT from '@salesforce/schema/Account'; I sadly haven't been able to answer this questions using Google. In beamer, I'd like to make the default font for the entire title page, as well as frame titles, to be the default font from the old  (example ). JavaScript: getting ImageData without canvas what is the difference between IBE and ABE schemes Can somebody explain in simple words. real life example light help and limitations of these schemes etc. Is there a difference between SWAP and Cache memory? I installed the indicator-multiload 0.2-0ubuntu1 from the software center. (It's very similar to the gnome panel indicator showing memory and CPU graphs)  When I click on the Unity panel which shows the little memory graph, it says ;  Mem :1.451 GB   Cache: 2.581.  This is also represented in the color graph.  However, when I load the System Monitor, SWAP is at a flat 0.  Is this normal, or could there be a bug in either the System Monitor or Panel Indicator? Step to step how to install Cinelerra I have some problems installing cinelerra on my Ubuntu.  How do I install it? How would I prove that if an integer $n>2$, then $\bar{z}=z^{n-1}$ has $n+1$ solutions If $n$ is an integer and $n&gt;2$, then $$\bar{z}=z^{n-1}$$ has $n+1$ solutions. Does this have something to do with the rational root theorem? EDIT:  It seems that I've also had edits that stacked well, so I'm not sure if I had a timing problem, or was just delusional.  The one thing that can be fixed, that I'll turn this question into, is a feature request so that when I go to re-edit (either within the 5-minute grace period, or before a suggested edit is approved), it brings up the old edit summary text.  Right now, it brings up a blank edit summary, and this replaced the first one I did.  This isn't really intuitive, and even knowing that's what it's doing, I still forget to put everything in.  Original Question:  It has happened a few times now, when on a site where I don't have edit privileges, that I make an edit.  I then see that the edit didn't work quite right, so I go back in to re-edit it.  This creates a brand new edit review, with an additional useless summary. How about we have the same grace period to re-edit your up-for-review edit, as there is for a normal edit? Of course, it wouldn't be possible once it's been approved. Cycles Normal Bake does'nt bake indents that are not tapered I can bake high poly normal maps with a lot of success, however if I try to bake a very simple indentation on a cube with no tapering I get a flat baked normal map, please see the below image to clarify what I mean.   I dont know I am doing wrong because if I scale down the indented face slightly it will bake the normal map correctly, as seen in the image below. Discrepancy in using adjective or adverb with “taste” After installing the latest Ubuntu I find that the icons in the applications folder (viz. /usr/share/applications), when opened in the Files application (Nautilus), come up as a blank page with a gear in the middle. If I try to open them I get a read only text box. I am not talking about miracles, religious revelation, or artistic expression, but something more mundane. There is a lot of "empirical" evidence that the Riemann hypothesis is true, the scare quotes indicate that the source of the evidence is "mathematical intuition". In psychology there are mental states that no one sees, touches, hears, smells or tastes, qualia with their perceptual fullness that can not be conceptualized or directly communicated, and abilities/skills "know how" with the same problem. In linguistics Kripke's theory of reference relies on "modal intuitions" to decide the truth of counterfactuals. But an empirical counterfactual is an oxymoron, especially when it is embedded into an entire "possible world".  Freudian psychoanalysis and Husserlian phenomenology are attempts to deal with some of them systematically, but they are traditionally confined to the fringe of science at best. The mainstream approach is empirical second hand, but behaviorism in psychology and linguistics, and nominalism in mathematics, were not very productive.   According to the naturalized epistemology there is no a priori "first philosophy" of science, methodology is subject to the "tribunal of experience" and revision, just as the science itself. Should it apply to non-empirical experience? Sense empiricism has served science well for centuries, and was fully embraced by Quine.  takes him to task for it:     "Cognitive science is an empirical science working to unearth the mechanisms through which natural language constitutes itself. That account has had to recognize the indispensability of mental states, of beliefs, if it is ever to become adequate to the problem... There is still too much "first philosophy" in Quine. We must rescue naturalized epistemology from its own founder".    Note the use of "empirical" together with "mental states".  Questions: Does naturalized epistemology dictate that natural science should relax sense empiricism, and approach non-empirical phenomena partly first hand? If so, how can the scientific method be adapted to introspective/intuitive phenomena that are not readily reproducible, manipulable, measurable, and/or publicly accessible? What would play the selective role of empirical testing? Can there be non-empirical (more likely, not entirely empirical) natural science? What do we mean by hyperparameters? Can anyone give me full details about what we mean by hyperparameters, and what in the Dirichlet distribution are called hyperparameters? A practice example for the estimation of those parameters would also be useful. Let $s_n$ be a sequence defined as given below for $n \geq 1$. Then find out $\lim\limits_{n \to \infty} s_n$.   \begin{align}   s_n = \int\limits_0^1 \frac{nx^{n-1}}{1+x} dx  \end{align}  I have written a solution of my own, but I would like to know it is completely correct, and also I would like if people post more alternative solutions. The Monster Manual describes Lair Actions as occurring "On initiative count 20 (losing all ties)..." (p 11).  What does "initiative count 20" mean? I can't find that phrase anywhere in the PHB or in any other context in the MM... Is Unicoins a April Fool’s Stunt? Is Unicoins a April Fool’s Stunt ? Blender render crash when using subsurf modifiers. Functional equations $f(x+y)= f(x) + f(y)$ and $f(xy)= f(x)f(y)$ Let $f:\mathbb{R}\to \mathbb{R}$ is a function such that for all real $x$ and $y$, $f(x+y)= f(x) + f(y)$ and $f(xy)= f(x)f(y)$, then prove that $f$ must be one of the two following functions:   $f:\mathbb{R}\to \mathbb{R}$ defined by $f(x)=0$ for all real $x$   OR   $f:\mathbb{R}\to\mathbb{R}$ defined by $f(x)=x$ for all real $x$   I got to the point where putting the two equations together, you get $f(x+y)f(x)= f(xy) + f(x)^2$ and plugging in $f(x)=x$ checks with it. So am I going in the right direction or am I just doing some guess work? Is there a more elegant way of doing it?   Thanks