I've been reading a chapter in a certain (programming) book and stumbled upon the following sentences (and I'm sure I've seen more examples like this in the book):   Since randomized tests are nondeterministic, it is critical that the log record sufficient information to reproduce the failure.  It’s important that code being tested not call (certain functions).    (While I would expect 'the log records' and 'code doesn't call'.) The book is well-edited so I don't think all of these can be mistakes. So what's the rule about using bare infinitive after 'that' (or probably in similar constructions)?
Why is this sentence correct?     She suggested that he go to the cinema.   I would definitely use goes instead of go.
I was confused initially about what the pins mean next to a topic in the new help center.  "those articles are "featured" articles; they are meant to draw attention to the most important site policies or most frequently encountered issues."   If the pin is used to denote an important topic, it should at least be noted as such. Also a pin generally means to me that this is something that I personally selected.  Could their meaning be clarified somehow? What's the best way to develop old, exposed film? A friend of mine just found 3 rolls of exposed 135 (i.e. 35mm) film. They are at least 10 years old. He'd like to know if it is even worth taking them to the local hour photo lab but also if he should give them any special instructions. I am attempting to solve this counting problem through combinatorial argument. The following is the equation I am given:   $$\sum_{i=1}^n (i-1)(n-i) = \binom{n}{3}$$  I understand that the right-hand side of this equation represents a set of $n$-elements out of which we choose 3. For example I believe we can say suppose we have a group of $n$ people and we want to choose 3 out of $n$ to be in a committee. However I'm not sure how to express the left-hand side in words. If forming a committee is an appropriate way to tackle this problem then I know the left-hand side must utilize the addition and multiplication principles, but I don't know how to put it into words. Also my intuition tells me that in solving this we should first flip $$(n-i)(i-1)$$  Thanks! I need a bit of help with this.      She is a photographer but that camera is her brother's-in-law     or:        She is a photographer but that camera is her brother-in-law's   I am aware that I could change the construction to make things easier, like:      She is a photographer but that camera belongs to her brother-in-law       However, I would really like to find out what's the correct way to write the sentence. C++ 11 Thread initialization with member functions compiling error Split comma-separated strings in a column into separate rows How to fix lsregister failing associations after reboot? How to remove app which is greyed out, can't be deleted, won't open and doesn't appear in apps list? I have this app with a greyed out icon which I'm trying to delete.    I tap and hold, and it asks me if I want to delete it and its data. I confirm and nothing happens.  I try to open it and nothing happens.  I go to Settings>General>Usage and it's not in the list.  I reboot the device and it's still here.  Is there another way to force deletion of this (ghost) app? Cross tabulation of two categorical variables: recommended techniques Convergence of the series $\sum a_n$ implies the convergence of $\sum \frac{\sqrt a_n}{n}$, if $a_n>0$ I need help to solve following problem from Rudin's Mathematical analysis book:    Convergence of the series $\sum a_n$  implies the convergence of $\sum \dfrac{\sqrt {a_n}}{n}$, if $a_n&gt;0$  I tried to construct a suitable convergence sequence $b_n$ such that $\sum b_n$ converges and $a_n \leq b_n$ but, I am not able to find such sequence $b_n$ .  Thanks for the help and sugestions. Is it possible to make a sequence of renders and give the user the option to cancel the process through the UI at any given time? I'm trying to make a script where I have to render several images of the same scene at the same frame, and write to disk with appropriate names. The problem is that although this works fine with a non-responsive UI, it doesn't work well when the render progress appears in the Blender UI.  I mean,  bpy.ops.render.render()   uses "EXEC_DEFAULT" when called from a script. This leaves a blocked User Interface until the render finishes, meaning that you can't cancel the process, except by killing Blender. The problem is that the render may be too big in resolution, and the user could want to stop the process when realizing that the render could take hours, so the idea is to cancel this process without losing the currently opened project.  If I call,  bpy.ops.render.render("INVOKE_DEFAULT")   I get a nice preview bar in the Info Window with a clickable "X" button. I want the user to be able to press that button to cancel the operation if needed, but for a series of renders (not animation).  The problem here seems to be when trying to loop this command with the INVOKE_DEFAULT context to write several renders. I made a lot of testing, and this way of calling the render operator seems to continue with whatever is next in the script, so it loops very fast and ends before the rendering actually finishes.  I think that I need some way to stop the script and make it wait until render finishes to continue looping with the next ones. I tried the "render_complete" and "render_cancel" handlers, but I can't use them to start a new render or even make the rest of the script wait until the loop of renders is complete. I tried threading and events without success either. Maybe I'm doing something wrong.  import bpy  render = bpy.context.scene.render path = render.filepath = "/tmp/" shots = ["one", "two", "three"]  for x in shots:     render.filepath = path + x     bpy.ops.render.render("INVOKE_DEFAULT", write_still=True) # this doesn't work      # but if I use:     # bpy.ops.render.render(write_still=True)     # without the INVOKE thing, images are written as expected,     # but losing the possibility to see the progress and cancel rendering Seeing that Defense Against the Dark Arts is a crucial subject, both in Harry's life as well as a part of the school-going wizard's curriculum, it must be in the hands of a good professor.   Is it known who Minerva McGonagall appointed as DADA prof. once she was made Headmistress. Was it someone we know or was it just a random powerful wizard. Is there any information about this available? What level should I be to kill Alduin I am level 31 and I have the Elder Scroll. I am not sure if my level is high enough to go to Whiterun and trap one of Alduin's minions. What level should I be before I attempt it? After learning about the  datasets I've working with the following layers, from the USA data   Country boundaries State boundaries County boundaries City boundaries ZipCode/Postcode boundaries   What I am trying to find is the equivalent (where appropriate) of the same data for various countries.  Is there any free administrative boundaries available as shapefiles for other countries? I'm trying to understand the /etc/rsyslog.conf file, but I'm missing something. For example, this is a part of the file:  auth,authpriv.*         /var/log/auth.log *.*;auth,authpriv.none      -/var/log/syslog cron.*              /var/log/cron.log daemon.*            -/var/log/daemon.log kern.*              -/var/log/kern.log lpr.*               -/var/log/lpr.log mail.*              -/var/log/mail.log user.*              -/var/log/user.log   According to  page:     The facility is one of the following keywords: auth, authpriv, cron,   daemon, kern, lpr, mail, mark, news, security (same as auth), syslog,   user, uucp and local0 through local7.      The priority is one of the following keywords, in ascending order:   debug,info, notice, warning, warn (same as warning), err, error (same   as err) crit, alert, emerg, panic (same as emerg). The keywords error,   warn and panic are deprecated and should not be used anymore. The   priority defines the severity of the message.      An asterisk ("*") stands for all facilities or all priorities,   depending on where it is used (before or after the period). The   keyword none stands for no priority of the given facility.      You can specify multiple facilities with the same priority pattern in   one statement using the comma (",") operator. You may specify as much   facilities as you want. Remember that only the facility part from such   a statement is taken, a priority part would be skipped.      Multiple selectors may be specified for a single action using the   semicolon (";") separator. Remember that each selector in the   selector field is capable to overwrite the preceding ones. Using this   behavior you can exclude some priorities from the pattern.   So, this is pretty understandable but what about the file path on the right. It can be just a path, or path with | or - before it (or maybe even something else). What is the difference between the three? I'm trying to create record Type selection screen in LWC, but getting this error  afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined]  HTML:  &lt;template&gt;     &lt;lightning-combobox name="recordType" label="Record Type" placeholder="Choose Status"                         value={value}                          options={recordTypeId}&gt;      &lt;/lightning-combobox&gt; &lt;/template&gt;   JS:  import { LightningElement, track, wire, api } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import CONTACT_OBJECT from '@salesforce/schema/Contact';  export default class CreateContact extends LightningElement {      @track statusOptions;     @track value;     @api objectApiName;      @track objectInfo;      @wire(getObjectInfo, { objectApiName: CONTACT_OBJECT,})     objectInfo;       get recordTypeId() {         // Returns a map of record type Ids          console.log(this.objectInfo);         const rtis = this.objectInfo.data.recordTypeInfos;         return rtis;     }  } Regex for parsing directory and filename I'm trying to write a regex that will parse out the directory and filename of a fully qualified path using matching groups.  so...  /var/log/xyz/10032008.log   would recognize group 1 to be "/var/log/xyz" and group 2 to be "10032008.log"  Seems simple but I can't get the matching groups to work for the life of me.  NOTE:  As pointed out by some of the respondents this is probably not a good use of regular expressions.  Generally I'd prefer to use the file API of the language I was using.  What I'm actually trying to do is a little more complicated than this but would have been much more difficult to explain, so I chose a domain that everyone would be familiar with in order to most succinctly describe the root problem. How to add text to end of line when pattern is matched? inputs:  line1 with the PATTERN that contains ( )  line2 with the PATTERN that contains ( )  lineN with the PATTERN that contains ( )    outputs:  line1 with the PATTERN that contains ( ) ; line2 with the PATTERN that contains ( ) ; ... lineN with the PATTERN that contains ( ) ;   I tried this:  find . -name "test.txt" -print | xargs sed -i "/PATTERN/ s/$)/); /g"   but it didn't work. I'm looking for a command (or command line program) to toggle (disable/enable) internet access to the outside world in Windows XP machines. It should temporarily block internet access but leave the LAN working.   I looked for ways to change the DNS, but browsers like Chrome keep their own cache. The machines are configured via DHCP. Export cycles material to unity I have been experiencing an issue that once I have a material created and looking the way I want it, I cannot seem to export it correctly with the textures mixed.  I don't know the correct words to use, but in blender I have the material created using the nodes editor, and I have placed two textures inside of there (one for the rock texture and one for moss, my object is a rock). When I export this model and import to Unity (the game engine I am using), I find a materials folder but the material inside of it does not have the textures assigned, it's just a plain white material?  How can I export my material from blender in a way that it will allow me to import it WITH TEXTURES into Unity?