I'm new to SalesForce. What happens when the Convert button on the Lead Details page is clicked? I've read that   The lead is marked as 'closed'. An Account object is created. An Opportunity tied to the Account is also created.   Where is this workflow documented? Where can I see the code that does it?  How can I intercept or extend this to create/re-parent other objects that need to lose their association to the lead and be associated with the new Account and Opportunity.  When I explore Customize > Leads, there are no validation rules, triggers, assignment rules, processes, or whatnot that would lead me in the right direction (excuse the pun).  I've also explored create > Workflow and Approvals to no avail.  Is this covered in any of the Force.com Workbooks, or perhaps any 3rd party books.  Mucho Puzzled.  Edit (1): I found the following:   which covers the general process.  and this:    This may help someone else looking for the same thing.  Edit (2): Marked as duplicate  I checked the referenced question regarding the order of trigger execution. In the context of this question, I do not care about the order of trigger execution; my question attempts to elicit what changes when a lead is connverted and how the process might be extended. The two links in Edit (1) answer the process side of the question and the mechanism by which the process can be extended.
I've got a project where I'm looking to tweak the standard lead conversion process.   Triggers and lead conversion has always been funky in past projects so I was hoping to start the design off by reviewing the order of execution, but after a long google search I'm coming up empty handed.   Anyone out there know the specific trigger order for lead conversion?    Edit: I'm not asking about trigger execution order for any object, but all the objects created in the lead conversion process.  I'd think it would be something like this:        Lead Before Update Triggers (isConverted = false, convertedAccountId = null, convertContactId = null, convertedOpportunityId = null)         Account Before Insert Triggers (not fired if merged with existing account)   Account After Insert Triggers (not fired if merged with existing account)   Contact Before Insert Triggers (not fired if merged with existing contact)   Contact After Insert Triggers (not fired if merged with existing contact)   Opportunity Before Insert Triggers (not fired if no opportunity) (OpportunityContactRoles null)   Opportunity After Insert Triggers (not fired if no opportunity) (OpportunityContactRoles = convertedContactId)   Lead After Update Triggers (isConverted = true, convertedAccountId = XXX, convertedContactId = XXX, convertedOpportunityId = XXX)
What software to cite in a manuscript, and how? When writing a manuscript for a scientific article, I often wonder what software I should cite or acknowledge, and how.  The first problem is to make a choice which software to cite. On the one hand, there is no way to cite all software, as this would mean to cite my whole software stack (Linux, GNU tools, emacs, git, ...). On the other hand, not citing any software is not fair, either. Furthermore, some software explicitly asks to be cited, some software doesn't. Also, some software is really crucial to the results, some isn't. Another important aspect is that citing software is not only about giving credit to the authors of the software, but also to give other scientists hints on what software they might want to use. So, the choice which software to cite is a problem.  The second problem is how to cite the software. Some (scientific) software does provide a classical scientific article that can be cited. However, in this case, no URL to the software is given. Others do not have an associated article. How do I cite these? I have seen people that cite the manual of a software, others just give the URL. What is the way to go?  Another aspect is where to cite the software. Some software can be cited in the course of the articles text, but when it comes to more fundamental software, other places may be more appropriate.  Are there any good ideas out there on any of these aspects? how to output text to both screen and file inside a shell script? Currently I have a shell script which logs messages to a log file like this:  log_file="/some/dir/log_file.log" echo "some text" &gt;&gt; $log_file do_some_command echo "more text" &gt;&gt; $log_file do_other_command   When executing this script, there is no output to screen, and, since I'm connecting to the server via putty, I have to open another connection and do "tail -f log_file_path.log", because I can't terminate the running script and I want to see the output in real time.  Obviously, what I want is that the text messages are printed on screen and into file, but I'd like to do it in one line, not two lines, one of which has no redirection to file.  How to achieve this? are the uses of 'bare infinitive' & 'participle' same here? I saw him sing     I saw him singing    In the first example, the verb sing is used as a bare infinitive and in the following one it is exemplified as a present participle. My question is  if both of them are expressing the same meaning? Create a .desktop file that opens and execute a command in a terminal Install on, install in, install to When I say "programs to install on a new PC" it sounds alright to me, but I'm not sure if it's the correct usage. Which one of the following should I use?   Programs to install on a new PC Programs to install in a new PC Programs to install to a new PC iCloud Disassociation for a Mac Computer I had a Mid-2012 MacBook Pro that recently stopped booting. I narrowed this down based on troubleshooting of the boot device to likely the SATA/hard drive connector/cable no longer working for whatever reason.  I have decided to sell the system. I'd like to know if I remove the hard drive (or in this case, an after-market SSD I've installed) from the system, will there be any other data (i.e. iCloud data) stored on the system on any other chip that I can reset in any way? I plan to reset the SMC/NVRAM before I sell the system off of to someone else.  Additionally, if I remove the hard drive, is the system still associated to iCloud (specifically Find My Mac) or any other service? If so, how do I disassociate it? The system will no longer boot even if I put in my boot device.  Thanks! Where is composition tab in QGIS Composer to change page size? I am trying to change the page size in the QGIS 3.0 Composer but I am not able to see the Composition tab.  I have right clicked an empty space in the toolbar but did not see anything about composition.  I am using Windows 7.  I tried looking at the QGIS docs but they are still in testing. Correct ssh config file settings to tunnel to a 3rd machine I'm trying to tunnel to a server via a bridge server. So far, I've been able to get it working from the command shell properly using the following command:  ssh -A -t bridge_userid@bridgemachine.com ssh -A remote_userid@remoteserver.com   But I've been trying to wrap this into my ~/.ssh/config file and I have troubles. I've tried:  Host axp   User          remote_userid   HostName      remoteserver.com   IdentityFile  ~/.ssh/id_rsa.eric   ProxyCommand ssh -A -t bridge_userid@bridge_userid.com ssh -A remote_userid@%h   But when I do, I get the following error message from remoteserver.com and I'm not sure what is causing it:     ksh: SSH-2.0-OpenSSH_6.8^M:  not found   I know that when I log into remoteserver.com , my shell is /usr/bin/ksh.  I've tried to add path arguments to the ssh commands in the config file, but it made no difference.  Any ideas what it can be? Matrices - Conditions for $AB+BA=0$ The Problem Let $A$ be the matrix $\bigl(\begin{smallmatrix}a&amp;b\\c&amp;d\end{smallmatrix} \bigr)$, where no one of $a,b,c,d$ is $0$. Let $B$ be a $2\times 2$ matrix such that $AB+BA=\bigl(\begin{smallmatrix} 0&amp;0\\ 0&amp;0 \end{smallmatrix} \bigr)$. Show that either   $a+d=0$, in which case the general solution for $B$ depends on 2 parameters, or $ad-bc=0$, in which case the general solution for $B$ depends on one parameter.   (this is question 22 of the last matrix exercise of Further Pure Mathematics by Bostock et al.)  Comments Writing $B=\bigl(\begin{smallmatrix} e&amp;f\\ g&amp;h \end{smallmatrix} \bigr)$ and multiplying out I get that    $(a+d)(f+g)+(b+c)(e+h)=0$ $ae+bg+cf+dh=0$   but I am unable to get the required restrictions on $a,b,c,d$. Is there a quick way of doing the problem that doesn't require manual computation? I thought of considering invertible and non-invertible cases but couldn't get anywhere. Help would be much appreciated. Remove entire row in a file if first column is repeated I have a file containing two columns and 10 million rows. The first column contains many repeated values, but there is a distinct value in column 2. I want to remove the repeated rows and want to keep only one using awk. Note: the file is sorted with values in column 1. For example:    1.123 -4.0 2.234 -3.5 2.234 -3.1 2.234 -2.0 4.432 0.0 5.123 +0.2 8.654 +0.5 8.654 +0.8 8.654 +0.9 . . . .   Expected output  1.123 -4.0 2.234 -3.5 4.432 0.0 5.123 +0.2 8.654 +0.5 . . . . Flash with Chromium or Google Chrome broken on Ubuntu 19.04 I tried loading Adobe Flash player in Chromium on Ubuntu 19.04 (Lubuntu in this case) using various answers on AskUbuntu.com. I get to the point where the Allow Flash popup happens. But when I click to allow it, it says "Right-click to run Adobe Flash Player". When I rightclick and choose Run this Plugin, nothing happens. I've tried to apply fixes using the Pepperflash technique, as well as the Adobe Flashplugin technique. I'm editing a book that includes about 25 papers written in LaTeX by different authors.  Since many of them use the same \label, to avoid collisions I redefined the \label command (and \ref and \pageref and \cite and \bibitem)  so that if the third paper has  \label{main_theorem} the aux file actually uses the tag "iii:main_theorem", and \ref{main_theorem} actually refers to the same tag.  I did a similar thing for \cite and \bibitem.  %*************** bib/cite hacks \let\TheReal@citex=\@citex \let\TheReal@bibitem=\@bibitem \let\TheReal@lbibitem=\@lbibitem \gdef\@lbibitem[#1]#2{\TheReal@lbibitem[{#1}]{#2\roman{chapter}}} \gdef\@bibitem#1{\TheReal@bibitem{#1\roman{chapter}}} \gdef\@citex[#1]#2{% \toks@={}\count@=0% \@for\@citec:=#2\do{% \advance\count@ 1 \ifnum\count@=1\edef\0{\the\toks@\expandafter\expandafter\noexpand\@citec\roman{chapter}}% \else\edef\0{\the\toks@,\expandafter\expandafter\noexpand\@citec\roman{chapter}} \fi% \toks@=\expandafter{\0}}% \TheReal@citex[#1]{\the\toks@}% } %************** label/ref/pageref hacks  %%%%%%%%%%%%% must be before ams pkgs \let\TheRealLabel=\label \let\TheRealRef=\ref \let\TheRealPageref=\pageref \gdef\label#1{\TheRealLabel{\roman{chapter}:#1}} \gdef\ref#1{\TheRealRef{\roman{chapter}:#1}} \gdef\pageref#1{\TheRealPageref{\roman{chapter}:#1}}   This all worked fine until I used hyperref, which seems to ignore the redefinition of \label, whether I load it before or after the above code.  Any suggestions?  It would be nice if the redefinition would work whether or not hyperref was loaded, so I don't want to just grab the defintion of \label out of the package and tweak it.  I'm also open to alternative methods.  Redefining \label and \ref just seemed the most straightforward (to me) solution.  Note that I also want to be able to refer to the inner labels from outside, as well.  For example, I might want to say "the main theorem of the third paper is  \ChapRef{iii}{main_theorem}  from within the introduction (a different chapter). Why wouldn't the `which` command work for `cd`? I can't find the executable for `cd` either! I tried which cd and it didn't give a path but instead returned the exit code 1 (checked with echo $?). The coreutil cd itself is working, so the executable should be there, right? I also ran a find for cd, but there was no executable file shown. How is it implemented then?  Update:  I don't know if I should ask this in another post but since I think it is good here, I'm expanding (?) the post... So the answer was actually quite simple, there's no executable for that — because it's a builtin — But I've found some builtins (bash shell in Fedora) have the executable files! So builtin -> no executable isn't right I suppose? Maybe an answer explaining what builtins actually are (builtin commands?), which actually is the matter here, rather than focusing more on cd... Some good links posted previously indicate that builtins are not programs... so what are they? How do they work? Are they just functions or threads of the shell? Show that $\sum_{n = 1}^\infty n^qx^n$ is absolutely convergent, and that $\lim_{n \rightarrow \infty}$ $n^qx^n = 0$ I'm having trouble with proving the following for my math study:  Let $x$ be a real number with $|x| &lt; 1$, and $q$ be a real number. Show that the series $\sum_{n = 1}^\infty n^qx^n$ is absolutely convergent, and that $\lim_{n \rightarrow \infty}$ $n^qx^n = 0$  I tried this:  $\sum_{n = 1}^\infty n^qx^n$ = $x + 2^q + 3^qx^3 + ...$ $= x(1 + 2^qx + 3^qx^2 + ...)$  So far, I don't know how I have to do this, I tried to apply the root test on this, but for that I would need to compute the lim sup of the series, so I thought that was not correct. Could you explain me how to prove this?  Thanks in advance! Replace Tag of and xml file after pattern matching using shell I have an input xml file like below INPUT FILE &lt;ReconSummary&gt; &lt;entryName&gt;Total Deep&lt;/entryName&gt; &lt;Code&gt;777&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;   &lt;ReconSummary&gt; &lt;entryName&gt;Total Saurav&lt;/entryName&gt; &lt;Code&gt;666&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;   &lt;ReconSummary&gt; &lt;entryName&gt;Total Ankur&lt;/entryName&gt; &lt;Code&gt;555&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;  I want to comment the tag if i find the pattern &quot;Total Deep&quot; so that the output file looks like below OUTPUT &lt;!--&lt;ReconSummary&gt; &lt;entryName&gt;Total Deep&lt;/entryName&gt; &lt;Code&gt;777&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;--&gt;   &lt;ReconSummary&gt; &lt;entryName&gt;Total Saurav&lt;/entryName&gt; &lt;Code&gt;666&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;   &lt;ReconSummary&gt; &lt;entryName&gt;Total Ankur&lt;/entryName&gt; &lt;Code&gt;555&lt;/Code&gt; &lt;License&gt;L&lt;/License&gt; &lt;Tran&gt;H20&lt;/Tran&gt; &lt;job&gt;1234&lt;/job&gt; &lt;/ReconSummary&gt;  Since i am new to shell scripting, can anyone help me out as to how i can apply this with the help of shell scripting? After update, Ubuntu has now become PopOS I'm running Ubuntu 20.04.1 LTS. I was recently prompted to install an update from Ubuntu's GUI software updater, but I'm not sure which update. Now, I seem to have... a strange amalgamation of Ubuntu and PopOS all of a sudden? After booting up today, my desktop looks quite different:  It appears to be using Pop Shell, the tiling window manager that PopOS uses. The left-hand dock is gone. Looking at 'Appearance -&gt; Background' in Settings, the PopOS wallpapers are present. If I go to 'Appearance -&gt; Appearance', the light/dark theme chooser shows a visual with &quot;Pop!_OS User&quot; in it. The scrolling direction has been reversed. The icons are different. The Ubuntu Software Center is missing, but there's no &quot;Pop Shop&quot; in its place. The list goes on...  At the same time, a lot of my system is still very much how it was a few days ago when it was &quot;pure Ubuntu&quot; so to speak. My browser, IDE, files/folders, etc. are all the same... For context, I used to dual boot Windows and PopOS on a single SSD, but I've since wiped the drives I use (including resetting partitions). Now I use Windows on the SSD and Ubuntu on a new second drive... I can't imagine how anything from my old PopOS installation would carry over, let alone suddenly reappear inside Ubuntu after an update. EDIT: When running Software Updater again, it shows a full list of what it's trying to install: . When I try to install these packages, it fails midway through. That partially explains things... but why is this even happening? EDIT2: It is trying to install pop-gnome-initial-setup.deb which seems to conflict with gnome-initial-setup. Weird. I am looking to create realistic car movement using vectors How can I rename many files at once? Scoping in assigning a derivative Proper way to handle multiple forms on one page in Django