Currently,  which prevents deleting cookies - causing an exception: OpenQA.Selenium.WebDriverException: 'Unknown error’  Microsoft’s response was to mark it as Won’t Fix and advise updating the version of Edge.  Unfortunately, telling clients to update their browser version isn’t ideal. Is there a workaround which will allow me to remove a cookie, without this exception?
How do you delete all the cookies for the current domain using JavaScript?
(1) Does he not know? (2) Doesn't he know?  I don't usually see and hear questions formed in the first style. I was even surprised to know that it is grammatically correct. And actually it is the most &quot;proper&quot; way to form an interrogative sentence.  shows that the first style was much more popular before than now. What are your suggestions on choosing between these styles? And I will probably add the third one.  (3) He does not know?  EDIT: The answers have explained how to form a question, but have not actually provided an account on the usage of the first two forms. Especially I'm interested in the first form: does it sound formal, is it used in speech or only in writing, et cetera. Singular information matrix error in lrm.fit in R I am running an ordinal logistic regression in R and running into trouble when I include dummy variables.  My model works great with my first set of predictors.  Next I want to add dummy variables for each of the years represented in my dataset.    I created the dummy variables with car:recode in this manner (one statement like this for each of the 11 years)  fsd$admityear2000 &lt;- recode(fsd$ApplicationYear ,"2000=1;else=0")   The lrm model is specified as follows  library(Design) ddist&lt;- datadist(fsd) options(datadist='ddist') m4 &lt;- lrm(Outcome ~ relGPA + mcAvgGPA + Interview_Z + WorkHistory_years + GMAT + UGI_Gourman + admityear1999 + admityear2000 + admityear2001 + admityear2002 + admityear2003 + admityear2004 + admityear2005 + admityear2006 + admityear2007 + admityear2008 + admityear2009, data=fsd)   (sorry for all of the other random variables, but I don't want to introduce confusion by changing my code)  I get the error  singular information matrix in lrm.fit (rank= 22 ).  Offending variable(s): admityear2009 admityear2000 admityear1999  Error in lrm(Outcome ~ relGPA + mcAvgGPA + Interview_Z + WorkHistory_years +  :    Unable to fit model using “lrm.fit”   I understand that including all options of a dummy variable over-defines the model, but I get the error whether I include all 11 years or just 10.  I found a suggestion  to set the penalty parameter of lrm to a small positive value.  Setting it to 1 or 5 changes the error such that it only names one of the variables as offending.  The error doesn't go away even with penalty=100.  I'm pretty new to R, but loving the freedom so far.  Thanks for any help!  Responses and Lessons   Factors are awesome and I can't believe I didn't notice them earlier. Man that cleans up my code a lot.  Thanks! My DV, 'Outcome' is indeed ordinal and after making it a factor(), I also made it ordered(). The str() command is also awesome and this is what my data now looks like (with some of the non-relevant variables omitted)   output:  str(fsd)      Outcome      : Ord.factor w/ 3 levels "0"&lt;"1"&lt;"2" relGPA       : num   mcAvgGPA     : num  admitschool  : Factor w/ 4 levels "1","2","3","4" appyear      : Factor w/ 11 levels "1999","2000",..    both lrm() and polr() now run successfully, and they both deal with appyear by dropping some values of the factor.  lrm() drops 1999, 2000, and 2001 while polr() just drops 1999 and 2000.  lrm() gives no warnings while polr() says "design appears to be rank-deficient, so dropping some coefs."  This is an improvement, but I still don't understand why more than one value needs to be dropped. xtabs shows that there isn't full seperation right?   output:  xtabs(~fsd$appyear + fsd$Outcome)            fsd$Outcome fsd$appyear    0    1    2        1999 1207  123  418        2000 1833  246  510        2001 1805  294  553        2002 1167  177  598        2003 4070  158 1076        2004 2803  106 1138        2005 3749  513 2141        2006 4429  519 2028        2007 6134  670 1947        2008 7446  662 1994        2009 4411   86 1118 C++ compiling on Windows and Linux: ifdef switch Why are lamps and mesh lights not illuminating anything? There are several techniques to do a 3 point lighting system.   How do you properly light a scene while using mesh planes as emission light sources?   I'm following , however despite setting up planes to act a lighting sources, the scene is still very dark.      Actual Blender file here: TikZ: Intersection of two lines what is the easiest way to determine the intersection of two lines? I tried  \usetikzlibrary{intersections} \begin{tikzpicture}[every node/.style={black,above right}] \draw[name path=line 1] (0,0) -- (2,2); \draw[name path=line 2] (2,0) -- (0,2); \fill[red,name intersections={of=line 1 and line 2}]     (intersection-1) circle (2pt) node {1}     (intersection-2) circle (2pt) node {2} \end{tikzpicture} Consider a block cipher with a key of size 128 bits but a small block size, say 32 bits.  Is this kind of block cipher secure?  I would like to know to what extent I can use a small block cipher, like a 32 bit block cipher. What are the constraints so that the use is acceptable in a real life application.  For instance, if we use a one-time key, that is, to encrypt only one message. Besides, the message could be small.  Suppose that when we want so send one file, we perform a key agreement so that we use the key for one message. This scenario is not efficient, but the CPA find-then-guess game is not adequate in this case. How do I access previous promise results in a .then() chain? Number of functions from n-element set to {1, 2, …, m} I've gotten stuck at the following exercise;     There are m functions from a one-element set to the set {1, 2, …, m}.   How many functions are there from a two-element set to {1, 2, …, m}?   From a three-element set? Give a recurrence for the number of T(n) of   functions from an n-element set to {1, 2, …, m}. Solve the recurrence.   I'm not sure how to begin solving it? I have just fitted a new screen to my iPhone 5s, and i need to restore it to factory settings.  One problem though, it's disabled for over 23,000,000 minutes and the home button doesn't work.  Does anyone know how I can restore it? What are the advantages and disadvantages of using ARC? If parsing the output of ls is dangerous because it can break on some funky characters (spaces, \n, ... ), what's the best way to know the number of files in a directory?  I usualy rely on find to avoid this parsing, but similarly, find mydir | wc -l will break for the same reasons.  I'm working on Solaris right now, but I'm looking for a answer as portable across different unices and different shells as possible. Geoserver ecw plugin problem I am trying to publish some ecw files with geoserver 2.7.2 on ubuntu 15.04 x64. I downloaded gdal plugin, gdal_data and native libraries for image-io 1.1.11 and set environment variables; GDAL_DATA, LD_LIBRARY_PATH.  I can see new store types when adding new one (ECW, EHdr, JP2ECW etc.). But when I try to save an ECW store with a valid ecw file which I tested with ArcMap, geoserver crashes with this error:    terminate called after throwing an instance of 'std::length_error'   what():  basic_string::_S_create Aborted (core dumped)  Do you have any idea about this problem? How to send email from MySQL 5.1 How come SG-1 couldn't get back to Earth? In Stargate SG-1 S02E16, , SG-1 (Captain Carter, Teal'c and two other members, who replaced Colonel O'Neill and Dr Jackson) is "trapped" on planet in binary system, where second star has risen and is slowly raising temperature - Samantha Carter says, in one moment, that it's going to reach 200°F soon - and dialing device is locked mid-dial. Yet, SGC manages to dial the planet and send them instructions how to repair the device and off-world team makes it back.  Why didn't they come back when Earth first dialed P9Q-281 to contact SG-1? I mean, from my understanding, stargate wormhole is two-directional, meaning it doesn't matter which end it was activated from, yet it seems like it is one-directional from the events of this episode... What happens when the Runner stack is empty? When the corporation R&amp;D is empty the corporation loses.  What happens when the Runner's stack is empty?    I think that: He must finish the game with only the cards on the table.  or  I doubt that: He reshuffles the heap into a new stack. I wasn't forcing myself to say anything, or/nor trying to be funny.   "Or" sounds more grammatically correct to me. But "nor" has more Google results. So I'm confused. Supporting Multiple Screen Sizes in Storyboards (3.5 and 4 inch screens) 99% of the time, I'm clear on when I should use "a" versus "an." There's one case, though, where people &amp; references I respect disagree.  Which of the following would you precede with "a" or "an," and why?   FAQ FUBAR SCUBA   [Note: I've read the questions  and , but the rules given there don't necessarily apply here.]    [Edited to add]  Here's a shorter (and hopefully clearer) version of the question…  In written English, which is correct (and why): "a FAQ" or "an FAQ"?  Some references with differing opinions:   an: the  and  a: the Microsoft Manual of Style for Tech Publications, 3e either: the  and What is the best (idiomatic) way to check the type of a Python variable? I need to know if a variable in Python is a string or a dict.  Is there anything wrong with the following code?  if type(x) == type(str()):     do_something_with_a_string(x) elif type(x) == type(dict()):     do_somethting_with_a_dict(x) else:     raise ValueError   Update: I accepted avisser's answer (though I will change my mind if someone explains why isinstance is preferred over type(x) is).  But thanks to nakedfanatic for reminding me that it's often cleaner to use a dict (as a case statement) than an if/elif/else series.  Let me elaborate on my use case.  If a variable is a string, I need to put it in a list.  If it's a dict, I need a list of the unique values.  Here's what I came up with:  def value_list(x):     cases = {str: lambda t: [t],              dict: lambda t: list(set(t.values()))}     try:         return cases[type(x)](x)     except KeyError:         return None   If isinstance is preferred, how would you write this value_list() function? multiple regression and multiple comparisons Say I fit a multiple regression of p explanatory variables. The t-test will allow me to check if any single one of those is significant ($H_0: \beta_i = 0$). I can do a partial F-test to check if some subset of them is significant ($H_0: \beta_i=\beta_j=...=\beta_k=0$).  What I often see though is that someone gets 5 p-values from 5 t-tests (assuming they had 5 covariates) and only keeps the ones with a p-value &lt; 0.05. That seems a bit incorrect as there really should be a multiple comparison check no? Is it really fair to say something like $\beta_1$ and $\beta_2$ are significant but $\beta_3$, $\beta_4$ and $\beta_5$ are not?   On a related note, say I run 2 regressions on 2 separate models (different outcome). Does there need to be a multiple comparison check for significant parameters between the two outcomes?  Edit: To differentiate from the similar question, is there any other interpretation to the p-values besides: "B_i is (in)significant, when adjusting for all the other covariates"? It doesn't seem that this interpretation allows me to look at every B_i and drop those less than 0.5 (which is similar to the other post).   It seems to me that a sure fire way to test whether B_i and Y have an a relationship would be to get a correlation coefficient p-value  for each covariate and then do a multcomp (although that would definitely lose signal).  Finally, say I computed the correlation between B1/Y1, B2/Y1 and B3/Y1  (thus three p-values). Unrelatedly, I also did a correlation between T1/Y2, T2/Y2, T3/Y2. I'm assuming the correct Bonferroni adjustment would be 6 for all 6 tests together (rather than 3 for the first group and 3 for the second group - and thus getting 2 "semi"-adjusted p-values).