I am  attempting to create following rule:     if Utiltiy (look up field) =  abc  then ONLY allow certain users to edit these date fields  date field1 and date field2. Following rule doesnt work..... ***i logged in as user NOT specified in the following rule i was able to edit the date  fields. The rule should only allow users specified below should be able to edit the date fields.  AND(     Utility__c = 'PREPA - PR',     OR(         ISCHANGED(Net_Meter_Agreement_Date__c),         ISCHANGED(Received_Date__c)     ),     $User.Id  &lt;&gt; "005E00000050ir2",     $User.Id  &lt;&gt; "005E0000006kdYD" )
I have a requirement where a certain field can be edited without the validations firing for a particular user. Now I tried to write rule like LastModifiedId != '005000000000000AAA' but the validation was still firing. Then I realized that until the record saves, the LastModifiedId does not change and the validations still fire, as the LastModifiedId would not be updated to the exempted User.   Is there any workaround or a way to check the Id of the User who is currently editing the record?
$ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} dx dy $ Question : The integral   $$ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} \mathop{dx}\mathop{dy} $$  is   (a) infinite   (b) finite but can not be evaluated in closed form   (c) 1  (d) 2 .  I tried substituting $u=x+y$ and $v=y$ that led me no where . I'm not even sure about convergence of integral .Any help would be greatly appreciated . Automatic field should take the required entry Lecturer with anxiety. How to survive in academia? I've been a long time member of academia.SE but I created this alt account because the question is a bit embarrassing. I finished my PhD 4 years ago and after a 2 year postdoc at a different university secured a contractual lecturership. During my PhD I never realised I had fear of public speaking, because I always felt secure presenting in front of my supervisor. Even at conferences, his presence in the audience was enough to keep me relaxed.  Fast forward to my postdoc, I was mostly working and publishing by myself. So, even if I had to present something it was to my coauthors, with which I am okay. But as a lecturer doing research part of my time, I am involved in projects and seminars where I am expected to present my latest work. Being on my own has brought out my inner anxiety, so much so that I choked during a presentation, had to drink water to calm my nerves and apologise for my breathlessness and slurred speech. That was the most embarrasing thing in my life. Please note that the anxiety is not the result of me not publishing or doing research. I have published more than most in my department. Knowing that hasn't helped with the anxiety though. I am constantly making excuses to get out of project presentations and seminar talks. Fortunately, the anxiety is less intense in teaching and I am able to manage.   How do I survive as an academic? Now even conference presentations seem daunting. I can publish exclusively in journals, but how do I get out of giving project and departmental presentations? How can I politely refuse to present without revealing my situation? Or better yet, how do I fix the whole thing? That one bad presentation has really messed me up. Seeking Symbology for Interactive Mapping? When a user clicks on a map what should they expect to see?   I would say a symbol for where they clicked.  A pushpin seems to be the most accepted icon for generic data. Google has pushed the upside down tear drop.   What are other ideas/options and is there a place for finding professional gis oriented icon packs?  I ended up creating this,     This just popped up from the guys at map box. Clean Running an infinite loop on startup I'd like to run a command at startup which pings a certain address every 10 minutes and writes the result to a file. I've figured out now how to do the pinging and file writing and the 10 min intervals:  while true; do my-command-here; sleep 600; done   My question is, can I put this in /etc/init.d/rc.local or should I be putting it in /etc/rc.local or somewhere else entirely? I'm specifically concerned because it's an infinite loop so I'm not sure if I could put it in one of these startup scripts.  Some help would be appreciated. I'm using Ubuntu 12.04.5 Blender image output is greyish and not white I already searched the internet but could not find a solution to this. Maybe it is the same question as  but there was no answer.  I want to render a video with tracking, but the output "loses" color information and gets kind of greyish. I first thought that it is related to the renderer, but it happens in Cycles and Eevee. Therefore i made a sample image, added it to the image sequence editor and rendered it as 1 frame. Resulting in the same problem.  I placed the original image beside blenders output so that you can see the difference. The only idea I came up with is that something with the lighting is not correct but I can't find a setting for that.  I am using Blender 2.80 with the default settings. Only set the output resolution to match the input resolution. Take an FF body and a crop body, with similar MP rating - and the FF body will give a sharper image of the same object. At least, that seems to be the case - as here:    I assume a low ISO was used in both images.  Why does the FF body, with the same lens and almost the same MP, give an image that is so much sharper?   My best guess is that the diffraction / airy still play a role, and the larger pixels reduce effective overlap - thus increasing contrast/sharpness by displaying less of the neighboring diffraction, as below? Migrate database from Postgres to MySQL Import PLY doesn't display vertex colors I'm trying to import a .PLY mesh in Blender. I've troubles with colors: the mesh appear in a grayscale palette. Other softwares open it correctly (eg. MeshLab).  This is the header of the PLY file:  ply format binary_big_endian 1.0 comment created by Geomagic Sculpt Exporter. element vertex 182488 property float x property float y property float z property uchar red property uchar green property uchar blue element face 364980 property list uchar int vertex_indices end_header   Any tips? Thanks! How do you prevent a user from posting data multiple times on a website Understanding GeoTIFF tags? Is spacetime discrete or continuous? Is the spacetime continuous or discrete? Or better, is the 4-dimensional spacetime of general-relativity discrete or continuous? What if we consider additional dimensions like string theory hypothesizes? Are those compact additional dimensions discrete or continuous?   Are there experimental evidences of continuity/discreteness?  When particles move inside space do they occupy spacetime by little chunks? What would imply if spacetime is discrete on continuous theories?  I've found little information on the web and books.  Probably my question is ill-posed and I apologize for this. According to the , when a Shinigami dies, their remaining lifespan is given to the human they saved.     Shinigami who die are reduced to dust, and their remaining lifespan is given to the human they saved.   Since Rem killed L and Watari, she gained their remaining lifespans. Additionally she probably still had some lifespan left. On top of that Misa was already given a lot of lifespan from Gelus (from which she lost 75% again). So does this mean all of this lifespan is transferred to Misa Amane?!  Yet according to her , she dies in 2011 at the age of 26, only seven years after Rem died.  Does this mean that humans are also capable of reducing their own lifespans? Or would the author have made a mistake by letting Misa die as early as she has? I know she lost 75% of her remaining lifespan through the two eye deals, but you'd think that the cumulation of L, Watari and Rem's remaining lifespans would be greater than just one year, wouldn't you? I recently received an old iMac secondhand.  I have no way to reach the original owner. I am trying to upgrade the OS software, but the prompts demand the administrator's name (which is auto-filled) and password (which I do not have).  I understand why these security features are in place, but is there any way in the world for me to access Admin. privileges without the password? My regex is matching too much. How do I make it stop? I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully  I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\s+(.*)\s+J[0-9]{7}:  The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}? Assume that $0 &lt; a_n \leq 1$ and that $\sum a_n=\infty$. Is it true that  $$ \sum_{n \geq 1} \frac{a_n}{(a_1+\ldots+a_n)^2} &lt; \infty $$ ?  I think it is but I can't prove it. Of course if $a_n \geq \varepsilon$ for some $\varepsilon &gt; 0$ this is obvious.  Any idea? Thanks. Initially, my question was: is "focussed" or "focused" the correct past tense of "focus", but since this applies to a lot of words, I would like to generalize and ask: is there supposed to be a rule when to double the consonant? How to run grep and show x number of lines before and after the match grep returns just the line where it matched the regex and often what I want to really see is a few (say 2) lines above and below the matched one. Is there a simple way to achieve it?  EDIT: OS: Ubuntu based Bodhi Linux.  As mentioned in comments, -C does not work in vanilla but its GNU grep in my case. Moving /var, /home to separate partition I am attempting to move some folders (such as /var and /home) to a separate partition after reading this guide:    I was able to move one folder successfully following guide.  However, it doesn't seem to work for multiple folders, and all my folders are dumped into the partition without proper folders.  I would like to mount /var, /home, and /tmp onto the separate partition; can someone guide me on this? So, for fun, I am taking some of the data of calls from the call center I work at and trying to do some hypothesis testing on them, specifically the number of calls received in a week, and using a Poisson distribution to fit it. Due to the subject matter of my job, there are two types of weeks, let's call one of them on-weeks where I hypothesize there are more calls, and off-weeks where I hypothesize there are fewer.  I have a theory that the $\lambda$ from on-weeks (let's call it $\lambda_1$) is larger than that of the one from off-weeks (let's call it $\lambda_2$)  So the hypothesis I want to test is $H_0: \lambda_1 &gt; \lambda_2, H_1: \lambda_1 \leq \lambda_2 $  I know how to test for one parameter (say  $H_0: \lambda_1 &gt; 1, H_1: \lambda_1 \leq 1 $) but not so sure how to go about doing 2 given a data set. Let's say I take two week's worth of data from each one $X_1 = 2$ and $X_2 = 3$ for the off-week and $Y_1 = 2$ and $Y_2=6$ for the on-week. Can someone help walk me though this simpler version such that I can apply it to a larger data set? Any help is appreciated, thank you.