Is there a way, out of the box Salesforce functionality, Lightning Experience, to send somehow an e-mail with an attachment (word or pdf) and merged fields? More specifically, my requirement is:  I am at case record and has relationship with a custom Objcet (Subscription) I need from case record (i have already selected the lookup record from Subscription entity) to send an e-mail with an attached document with filled in the Subscription Number (custom field on subscription) and account's data (name, VAT number etc).  Any suggestions?
How can I render a VisualForce Page as PDF and have a button on the page that saves this PDF as an attachment to a record?  I want to have a button on my object detail page, 'Generate PDF' which will open a VisualForce Page for preview. On the Preview page I need a button to Save or Save and Email this PDF.  Edit - I use the professional edition + API enabled, so I cannot write a controller but maybe replace that with ajax toolkit?   Is that doable?
Show that one-sided limits always exist for a monotone function (on an interval) When training a neural network using the back-propagation algorithm, the gradient descent method is used to determine the weight updates. My question is: Rather than using gradient descent method to slowly locate the minimum point with respect to a certain weight, why don't we just set the derivative $\frac{d(\text{Error})}{dw}=0$, and find the value of weight $w$ which minimizes the error? Also, why are we sure that the error function in back-propagation will be a minimum? Can't it turn out the error function is a maximum instead? Is there a specific property of the squashing functions that guarantees that a network with any number of hidden nodes with arbitrary weights and input vectors will always give an error function that has some minima? Graph with $k$ components. Let $G$ be a simple graph on $n$ vertices. If $G$ has $k$ components and every component is complete prove that: $$|E| \le \frac{(n-k)(n-k+1)}{2}$$ I'm asking for advice. What is the importance of eigenvalues/eigenvectors? Hide processes from other users based on groups (under Linux)? Is it possible to configure process hiding for certain user groups under a linux system?  For example: Users from group X should not see processes owned by users from group Y in ps/top or under /proc.  Is it possible to configure such a setup with SELinux?  (I vaguely remember a similar feature in the funny grsecurity patch set - but IIRC, it was more generic - and besides, I want to configure a stock linux distro without having to maintain a custom kernel.)  Edit: For better illustration, . The example is not that generic, but one can configure that a user or some users can only see information of their own processes in ps etc. Is there some guide I can use for cooking soft boiled ostrich eggs? Using sObject.get() to fetch a field value from a related parent object I have a contact in a generic sObject in apex and while I'm able to easily get detail field values using   sObject.get('MyContactField__c')  I'm not able to get fields off the related parent object, and I'm sure the related field is in memory, based on the debug logs. This returns a runtime error:  sObject.get('Account.MyAccountField__c')  with the error     Invalid field Account.MyAccountField__c' for Contact   How do I get a field value off of a parent on a generic sObject? Using QGIS 3 graphical modeler I created a model with a variety of input parameters (> 10). When starting the model, a nice user interface is generated. But the arrangement of the GUI elements is totally confused and apparently unpredictable during creating the model. It does neither seem to depend on the arrangement of input parameters in the graphical modeler nor on the chronological order in which the input parameters are added to the model.   Is there a way that let's me arrange the GUI elements in the order I desire? Why doesn't matter pass through other matter if atoms are 99.999% empty space? The ghostly passage of one body through another is obviously out of the question if the continuum assumption were valid, but we know that at the micro, nano, pico levels (and beyond) this is not even remotely the case. My understanding is that the volume of the average atom actually occupied by matter is a vanishingly small fraction of the atom's volume as a whole. If this is the case, why can't matter simply pass through other matter? Are the atom's electrons so nearly omnipresent that they can simultaneously prevent collisions/intersections from all possible directions? If we allow that the energy to allow quantum tunnelling through a potential barrier has been borrowed by the Heisenberg energy-time uncertainty relation, from the vacuum energy. How is the borrowed energy paid back? How many numbers are in the Fibonacci sequence below a given threshold? Assuming I'm asked to generate Fibonacci numbers up to N, how many numbers will I generate? I'm looking for the count of Fibonacci numbers up to N, not the Nth number.  So, as an example, if I generate Fibonacci numbers up to 25, I will generate:   1, 1, 2, 3, 5, 8, 13, 21 that's 8 numbers   How do I calculate this mathematically for an arbitrary "n"? Show that $\sqrt{n^2+1}-n$ converges to 0 I want to use the definition of the limit to show that $\sqrt{n^2+1}-n$ converges to 0.  The definition is as follows: if $\sqrt{n^2+1}-n$ converges to 0, then $\forall \epsilon&gt;0$, there exists an $N&gt;0$ such that $n\ge N \implies \mid\sqrt{n^2+1}-n\mid&lt;\epsilon$.  Now I want to start backwords in order to figure out how to pick N. I know:   $\mid\sqrt{n^2+1}-n\mid=\sqrt{n^2+1}-n$   since $n$ is a natural number and $\sqrt{n^2+1}&gt;n$. So I need to pick an N such that $\sqrt{n^2+1}-n&lt;\epsilon$. I tried multiplying $\sqrt{n^2+1}-n$ by $\frac{\sqrt{n^2+1}+n}{\sqrt{n^2+1}+n}$ but that didn't really seem to help.   Do you have any ideas on how to find this N?  Thanks I've recently taken up a position in an all Mac workshop - We have Intel based Apple machines. Can I dual boot Ubuntu on my machine, if so how? Tunnel traffic through another machine over ssh How can I use Netflix on Ubuntu? Creating a gradient-based legend I have a map with graduated symbology, with 328 unique values. I would like to add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values.  I have done this in ArcGIS before. Is there a way to do this in QGIS as well? What's the Pythonic way to combine two sequences into a dictionary? Is there a more concise way of doing this in Python?:  def toDict(keys, values):   d = dict()   for k,v in zip(keys, values):     d[k] = v    return d Self-explanatory title really! A student today asked me why they were called integral domains -- and I realised that the word "integral" seems to be being used in a way totally unlike any other way I hear it used in mathematics. The student suggested that "integral" was used because the integers were an example -- but I didn't buy this because by that logic they could have been called "rational domains" or "real domains".  Any ideas anyone? How do I hide the GRUB menu showing up at the beginning of boot? I stopped dual booting and I don't want to have to choose the OS any more. I want to boot into Ubuntu 12.04 directly without seeing the GRUB menu.  How can I achieve that? How would you prove the following limit?  $$\lim_{(x,y) \to (0,0)} \frac{x^3y}{x^4+y^2} = 0$$  I think the best way is using the squeeze theorem but I can't find left expression.  $$0 \le \frac{x^3y}{x^4 + y^2} \le \frac{x^3y}{x^4} \le \frac{x^3y}{x^3} \le y = 0.$$  But I'm not sure I'm right (especially at $\frac{x^3y}{x^4} \le \frac{x^3y}{x^3}).$  If I'm right - I'd glad if you can accept it.  If I'm wrong - can you please correct me?  Thanks in advance!