I just asked a question a moment ago, the subject of which was "Is there a word for taking an (possibly undeserved) authoritative tact?"  And I immediately had the follow up question of "was that sentence grammatically correct?" Namely, does the article a/an connect to what's in the parentheses (in which case I should have used "a") or to the adjective that follows, which the article actually refers to (in which case I did the right thing).
When a/an precedes a parenthetical aside (sometimes seen in informal/conversational writing), should the vowel rule depend on the first word in parentheses, or the next word in the "regular" flow of the sentence?     I need a (memorable) idiom (preceding an m word; use a)   or     I need an (memorable) idiom (preceding an i word; use an)
Space between 2 paths in Illustrator How can I align 2 paths perfectly? No matter what I do I get a little space (gap between the 2 paths I create, and they are straight lines not as I saw in other questions with pixel problems)  An example:    Between every triangle is a little space, like in the example. It isn't obvious and it doesn't bother, but if I use the image (as an SVG or something) it is really obvious. Suppose $k$ is a field, $A$ is a $k$-subalgebra of the polynomial ring $k[x]$. Must $A$ be a finitely generated $k$-algebra?   Thanks. Particle effect showing only on one side of mirrored object I'm trying to create a fur particle effect on sonic the hedgehog, and I'm using weight paints to keep it in the areas I want.   Problem: I can only get the hair effect to show up on certain random areas on model, and only on one side.  I'm using a mirror effect to keep model symmetrical, but hair only shows on one side of the mirror.  I'm new used Blender, so I don't know what all the settings for the particle effects do.  Whats going on and how do I fix it? Get the real width and height of an image with JavaScript? (in Safari/Chrome) I am creating a jQuery plugin.  How do I get the real image width and height with Javascript in Safari?  The following works with Firefox 3, IE7 and Opera 9:  var pic = $("img")  // need to remove these in of case img-element has set width and height pic.removeAttr("width");  pic.removeAttr("height");  var pic_real_width = pic.width(); var pic_real_height = pic.height();   But in Webkit browsers like Safari and Google Chrome values are 0. how to scale math font only In Google Sheets how do I duplicate a sheet along with its permission In a Google Spreadsheet called Attendance there is a sheet called Template. The user duplicates this sheet, renames the sheet with current date and uses this sheet to mark attendance for students. The Template sheet contains protected cells and the attendance is marked by entering Student's ID number in the space given (unprotected cells). I use the following script to duplicate multiple sheets and rename them everyday:  function createDailyAttendance() {   var ss = SpreadsheetApp.getActiveSpreadsheet();   var refss = ss.getSheetByName("DataPointers");      // Get the range Row and Column information.   var dataRangeRow = refss.getRange("K2").getValue();   //var dataRangeCol = ss.getRangeByName(ColName).getValue();      // Get the range of cells that store Duplicate sheet name.   var AttendanceDataRange = refss.getRange(dataRangeRow);    var AttendanceObjects = AttendanceDataRange.getValues();    var template = ss.getSheetByName('Template');    for (var i=0; i &lt; AttendanceObjects.length; i++) {       // Put the sheet you want to create in a variable      var sheet = ss.getSheetByName(AttendanceObjects[i]);        // Check if the sheet you want to create already exists. If so,       // log this and loop back. If not, create the new sheet.         if (sheet) {            Logger.log("Sheet " + AttendanceObjects[i] + "already exists");         } else {            template.copyTo(ss).setName(AttendanceObjects[i]);            }         }   return; }   This script helps me create multiple copies of sheets from Template but the duplicate copies do not retain the Cell/Range permissions. Is there a way to add a loop function which extracts permission from Template and applies it every time the loop template.copyTo creates a sheet? Recovering broken or deleted NTFS partitions About two weeks ago I had a problem with my PC that my brother wrote a question about at .  I still haven't solved the problem, so my PC is unusable now.  Now I think that it would be simpler to re-install both Win7 &amp; Ubuntu than repair them, but there're some data on their partitions. I want to recover this data.  These partitions are not mountable for some reason. I don't know why.  sudo fdisk -l about the problematic partitions:     Device    Boot      Start         End      Blocks   Id  System /dev/sda1            2048     147912703    73955328   83 Linux /dev/sdb2            206848   174079999    86936576    7  HPFS/NTFS/exFAT   And in GParted:      And the error of the mount command:  Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   And the exact same message for /dev/sda1  How can I recover my data from those HDDs?  EDIT     I have tried to specify the type of the drive:  $ sudo mount -t ext4 /dev/sda1 /olddisk mount: wrong fs type, bad option, bad superblock on /dev/sda1,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so $ sudo mount -t ntfs /dev/sdb2 /olddisk NTFS signature is missing. Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   EDIT     sudo ntfsfix /dev/sdb2 returns:  Mounting volume... NTFS signature is missing. FAILED Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error Volume is corrupt. You should run chkdsk. What's the difference between the snap folder in /home/UserName and the snap folder in root (/)? Gaussian-like integral : $\int_0^{\infty} e^{-x^2} \cos( a x) \ \mathrm{d}x$ I shall assume that the sun is at rest, so before the half mass disappear, the orbit of earth is an ellipse. Intersection of open affines can be covered by open sets distinguished in *both*affines Suppose $X$ is an arbitrary scheme and $U \cong \operatorname{Spec} A$ and $V \cong \operatorname{Spec} B$ are affine upon subsets of $X$.  It's not true in general that $U \cap V$ is affine, so if we want to prove basic results about general schemes (e.g. the stuff in section II.3 of Hartshorne), we need some technical means of understanding what goes on on the intersections of open affines.  I've heard that this can be done by covering $U \cap V$ with open sets which are distinguished in both $U$ and $V$, i.e. sets $W \subseteq U \cap V$ with $W \cong \operatorname{Spec} A_f \cong \operatorname{Spec} B_g$ for some $f \in A$ and $g \in B$.  I'm having trouble actually proving this.    So, questions:   Is this actually true? If so, how are these sets constructed? Discount for Roles I am using Drupal Commerce and I would like to know if it is possible to have discounted prices for registered users and much better for roles.  For example, the nomral price is $100 but when a user logs in that belongs to Role1 for example, he will see different prices with the percentage discount that I will have assigned to that role.  How can I accomplish such a feature? Best Algebraic Geometry text book? (other than Hartshorne) Is there a recursive version of the dict.get() built-in? Calculate $E(Y)$ and $Var(Y)$ given the random variable which is exponentially distributed The random variable $X$ is exponentially distributed with parameter $\lambda = \dfrac{1}{2}$. Also, define $Y = -2X + 1$. Calculate $E(Y)$ and $Var(Y)$.  So we have   $$f_X(x) = \dfrac{1}{2} e^{-\dfrac{1}{2}x} $$  if $x\ge0$ and $0$ otherwise.  But how to calculate $E(Y)$ and $Var(Y)$ ? nodes near coords with logarithmic axis: Wrong values I created a horizontal bar plot to compare benchmark times. Since one of the tested components is really slow, I need a logarithmic y axis for the other values to be distinguishable. Combined with "nodes near coords" this results in the calculated values showing, instead of the original ones. Is there any way to fix this?  What it looks like:   What the values(!) should look like:   Clearly, I'm overlooking something terribly obvious. I'm just a beginner at PGFPlots, so please don't kill me. :)  MWE:  \documentclass[fontsize=12pt]{scrartcl}  \usepackage{pgfplots} \pgfplotsset{compat=1.8}  \begin{document}   \begin{tikzpicture}   \begin{axis}[      width=12.5cm,     xbar=0.1cm,     xmin=0,     y=0.6cm,     bar width=0.4cm,     xlabel={Time (ms)},     xmode=log,     major x tick style = transparent,     major y tick style = transparent,     symbolic y coords={       {SpreadsheetGear},       {Aspose.Cells},       {NPOI},       {C1.Excel},       {Spire.XLS},       {GemBox.Spreadsheet},       {SmartXLS},     },     ytick=data,     y dir = reverse,      nodes near coords,     nodes near coords align={horizontal},   ]    \addplot coordinates {       (3078.6,{Aspose.Cells})       (10059.2,{C1.Excel})       (28794.8,{GemBox.Spreadsheet})       (7437079.8,{SmartXLS})       (19975.2,{Spire.XLS})       (573.2,{SpreadsheetGear})       (10025.2,{NPOI})};   \end{axis}   \end{tikzpicture} \end{document} Graph editor for shape key animation I have animation where object changes his shape using shape keys, and I want to make some animation smoothing with graph editor. Is there a way to use graph editor for shape key animation? How can I intercept XMLHttpRequests from a Greasemonkey script? Should I buy an original manufacturer battery, or is a generic brand OK? I need another LP-E5 type battery for my Canon 450D. Should I buy an original Canon battery or one of the many generic brands available? There are loads of cheapos on , for example.  I should add that the new battery will be added to my existing Canon battery in a battery grip.  Does anyone have any experience (good or bad) of using generic batteries? As the title says, I've heard two possible meanings for turning down the air conditioning: It could mean set the target temperature lower (i.e. colder) or make it work less (i.e. warmer).  Turning down the heat makes it colder, but both meanings are in agreement there.