When I was browsing through a stackexchange site recently, I noticed this:    As you can see, the tags  and  were showing through the spoiler section. The cause for this is that the spoiler css masks the color property of the tag, but not the background-color, so the blue background bleeds through. Here is an image of the css:  (It's quite small so you'll have to open it in a new tab and zoom in). As you can see from the strikethrough, the color is being overwritten by the spoiler but the tag is not.     This is an example of a spoiler. When this  is fixed, the tags  and  should not show through.     Please fix this by changing the css for spoilers to overwrite background color!


Why are big companies like Apple or Google not included in the Dow Jones Industrial Average (DJIA) index?

I'm taking an investing and personal finance class in school. I was assigned to ask someone who knows about the stock market why big companies like Apple and Google aren't included the Dow Jones Industrial Average (DJIA) even though they're doing really well?     Ed. Note: After this question was originally asked, Apple joined the Dow Jones Industrial Average in March of 2015.


How to send arguments to a running Process in C#?

I've Created a Music Player using Visual Studio 2012 Windows Form C#. now I want the user to be able to play songs in windows explorer such as other players(Windows Media Player,Winamp,etc.) with my player. I already found the way to File association!  but I need to prevent my application from running multiple instance(as WMP&... don't) and I want to get the songs Paths too to send them to my application(already started).  For example User Select 3 Songs in a directory in windows explorer & Press Enter so my application / and execute my AddFiles Function (add the supported files to playlist and ...)  I tried mutex it solves the first part(just single instance) but can't get arguments from it!  I also tried  but No chance :( it gave error!  ** I already tried "Matt Davis" Answer and it makes my application to be single instance only and bring to front part was awesome but didn't send arguments to my running process so It couldn't solve my problem!  any Help would be in advance :)  UPDATE: I don't understand while I haven't get my problem solved why experts close the question!? :| :/  UPDATE 2 (FOUND THE SOLUTION):  ok Finally I've got the solution :)   this link helped me to get paths of selected files in explorer by clicking on a context-menu item:   real easy :) Hope this help others too!


Field containing emoji, showing unicode on querying

I am having a custom field in which I'm storing text and emojis but when I am querying the record its giving unicode character for ex: &#127885; instead of 🎍.  I have already used EncodingUtil.URLENCODE(str,'UTF-8') and EncodingUtil.URLDECODE(str,'UTF-8') but of no use. Please help me with this


using toString to form a String with Characters

using the toString method to add characters into my string I form the word "LAUGHTER". However, the program does not recognize the word = "LAUGHTER" and therefore it did not enter my if loop. Any idea why is it like that?  word += Character.toString(cList.get(i));  if(word == "LAUGHTER" ) {     System.out.println(word); }


How to vertically center align a div while using bootstrap layout

I have the following code snippet:    #content{     text-align: center;     vertical-align: middle; }

Sample Text

Subtext to the intro to the site

                     <button class="btn btn-default btn-lg">Get Started!</button>

      I'm using Bootstrap's grid system.  I want to be able to vertically center the contents of the div with id="content" (basically I want the whole content to be horizontally and vertically centered even as the page is resized).  This is meant to be a splash page with an image as the background.  How can I do that using CSS?  vertical-align: middle does not work.  And just for my learning, does text-align: center basically center any element even though the name seems to indicate it is for text?


How to disable select-on-release right mouse button in Linux

We are having issues with mouse behavior in Linux.  In Windows:  In any application, to open a context menu and select an option:   right mouse button down + release move the cursor to an option left mouse button down + release   In Linux, the same thing can be done in:   right mouse button down move the cursor over to an option release right mouse button.   We are having problems in Eclipse, when accessed from a remote X server on Windows. The padding between the Eclipse menu items and the mouse cursor is too low (mouse cursor is inside the menu). Whenever we press the right mouse button down, mouse cursor is already moved over onto the immediate menu option, and when we release, selection event is triggered.   How to disable this behavior?


Find the double integral by changing to polar coordinates

So I have the following double integral          $$\int_{-2}^{0} \int_{-\sqrt{4-x^2}}^{\sqrt{4-x^2}} \sqrt{x^2+y^2} dydx$$      If I integrate with respect to y first I get: $\frac{1}{2}(y\sqrt{x^2+y^2}+x^2\log(\sqrt{x^2+y^2}+y)$  I understand that in polar coordinates $x=r\cos\theta$ and $y=r\sin\theta$, but am unsure how to convert the limits to polar coordinates? Thanks


Export to excel multiple sheet/tab in salesforce apex

I want to Implement export to excel functionality in salesforce apex with Visual force page. I want to export to excel with multiple sheet/tabs. Sheet/tab would be dynamic. There are multiple datatable/grid is available I have to export each data table to different sheet. How can I achieve this? <apex:repeat value="{!MenuRepeat}" var="main">       <Worksheet ss:Name="{!main.SourceSetupValueType__c}">           <Table x:FullColumns="1" x:FullRows="1">               <Column ss:Width="160"/>               <Column ss:Width="160"/>               <Column ss:Width="160"/>                             <Row>                   <Cell ss:StyleID="Headers"><Data ss:Type="String">Property Name</Data></Cell>                   <Cell ss:StyleID="Headers"><Data ss:Type="String">Source Master Source</Data></Cell>                   <Cell ss:StyleID="Headers"><Data ss:Type="String">Source Value</Data></Cell>                                  </Row>               <apex:repeat value="{!Result}" var="res">                   <Row>                       <Cell><Data ss:Type="String">{!res.SourcePropertyName__c}</Data></Cell>                       <Cell><Data ss:Type="String">{!res.SourceMasterSource__c}</Data></Cell>                       <Cell><Data ss:Type="String">{!res.SourceSetupValueName__c}</Data></Cell>                                          </Row>               </apex:repeat>           </Table>       </Worksheet>   </apex:repeat>  My Controller code is here: public String xlsHeader {     get     {     String strHeader = '';     strHeader += '<?xml version="1.0"?>';     strHeader += '<?mso-application progid="Excel.Sheet"?>';     return strHeader;     } }  public List<AH_DS_SetupValue_Mapping__c> getMenuRepeat() {             lstSetupvalueMenu = new List<AH_DS_SetupValue_Mapping__c>();                 List<AggregateResult> ResultData = new List<AggregateResult>();                ResultData = [SELECT Count(Id),SourceSetupValueType__c,ProjectId__c FROM AH_DS_SetupValue_Mapping__c where ProjectId__c =: PropertyNameSelectedValue  Group by SourceSetupValueType__c,ProjectId__c Order by SourceSetupValueType__c ASC];                        for(AggregateResult a : ResultData) {                     AH_DS_SetupValue_Mapping__c sv = new AH_DS_SetupValue_Mapping__c();         sv.SourceSetupValueType__c = String.valueOf(a.get('SourceSetupValueType__c'));         sv.ProjectId__c = String.valueOf(a.get('ProjectId__c'));          lstSetupvalueMenu.add(sv);                                                       }     System.debug('lstSetupvalueMenu.size()  ' +lstSetupvalueMenu.size());     for(Integer j=0; j< lstSetupvalueMenu.size(); j++)     {         string strQuery=''  ;         strQuery = 'SELECT SourceMasterSource__c,SourcePropertyName__c,SourceSetupValueName__c,TargetSetupValueId__c,TargetSetupValueMasterSource__c,TargetSetupValueName__c FROM AH_DS_SetupValue_Mapping__c WHERE ProjectId__c = ' +'\'' + lstSetupvalueMenu[j].ProjectId__c + '\'' + ' AND SourceSetupValueType__c = ' +'\'' + lstSetupvalueMenu[j].SourceSetupValueType__c  + '\'' + ' Order by SourceSetupValueType__c ASC';         System.debug('strQuery  ' +strQuery);         Result = Database.query(strQuery);      }                        return lstSetupvalueMenu; }  Here,I use two repeater but when I export that data In every sheet it's display last setup value data. It's overwrite data in every sheet.


$\frac{(x-1)(x+1)}{ (x+1)} \rightarrow (x-1)$ Domain Change

Forgive my ignorance. The below seems 'inconsistent'. If canceling the $(x+1)$ is 'legal', how does the domain change? I realize it does, but would someone be so kind as to provide an explanation?    $$ \frac{x^2 - 1}{x + 1} \mbox{ is undefined when } x = -1 $$  Its domain (the values that can go into the expression) does not include $ -1 $.  Now, we can factor $ x^2 - 1 $ into $ (x - 1)(x + 1) $ so we get:  $$ \frac{(x - 1)(x + 1)}{(x + 1)} $$  It is now tempting to cancel $ (x + 1) $ from top and bottom to produce:  $$ x - 1 $$  $$ \mbox{Its domain now } \textbf{does} \mbox{ include } -1 \mbox{.} $$  But it is now a different function because it has a different domain.    Thanks!


For what numbers $n$ every group of order $n$ is abelian?

What are the numbers $n$ such that every group of order $n$ is abelian?    For every prime $p$, every group of order $p$ or $p^2$ is abelian. If there is a prime $p$ such that $p^3\mid n$, then I can take a direct product of a nonabelian group of order $p^3$ with a cyclic group of order $\frac{n}{p}$ and get a nonabelian group.   So, we are left with values of $n$ divisible by more than one prime, but not divisible by $p^3$ for any prime $p$.  For some orders of this type (i.e. $35$) all are abelian, but not for all ofcourse.


How do I use shape keys and bones for a Facial Rig?

I want to try my hand at a more advanced facial rig but I'm nout sure how to go about it


Why isn't the Printscreen button working in Gnome?

Printscreen button not working on Gnome. I have to Run Shutter to make printscreen. Is there any tutorial to make it work with printscreen button?


Let’s say, we are tossing a fair coin.  How many times, on average, should we toss it so as to have N more heads than tails or tails than heads?  In other words, what is the mathematical expectation of the number of tosses till |number(heads) - number(tails)| == N?


Is there a bijection of the natural numbers which swaps $\frac{1}{n}$-summable subsets with $\frac{1}{\sqrt{n}}$-summable subsets?

Let me start with a precise statement of the question.  For a subset $A\subseteq \mathbb{N}$ and a series of positive real numbers $\sum_{n=0}^\infty a_n$, I'll use the notation $\sum_A a_n$ as a shorthand for $\sum_{n\in A} a_n$.  Is there a bijection $f:\mathbb{N}\rightarrow \mathbb{N}$ with the property that for every $A\subseteq \mathbb{N}$, $\sum_A \frac{1}{n}$ converges iff $\sum_{f(A)} \frac{1}{\sqrt{n}}$ converges?  Background: Fix a series of positive terms $\sum_{n=0}^\infty a_n$.  Given a subset $A\subseteq \mathbb{N}$, call it $a_n$-small if $\sum_A a_n$ converges.  The following proposition is easy to prove:  Proposition:  The set $\{A\subseteq \mathbb{N}: A\text{ is } a_n\text{-small}\}\cup \{\mathbb{N}\}$ is a topology of closed sets on $\mathbb{N}$.  I will use the notation $(\mathbb{N},a_n)$ to refer to this topology.  Then one can ask how topological properties of $(\mathbb{N},a_n)$ are related to series properties of $\sum a_n$.  For example, I can show:  Proposition:  The following are equivalent.  $\sum a_n$ converges.  $(\mathbb{N},a_n)$ is discrete.  $(\mathbb{N},a_n)$ is disconnected.  $(\mathbb{N},a_n)$ is Hausdorff    And there are other nice things.  For example, $(\mathbb{N},a_n)$ is compact iff $(\mathbb{N},a_n)$ is cofinite iff $\liminf a_n > 0$. With this language, my question can be reformulated as...  Are $\left(\mathbb{N}, \frac{1}{n}\right)$ and $\left(\mathbb{N}, \frac{1}{\sqrt{n}}\right)$ homeomorphic?  I have made very little progress on this.  Of course, the identity function $i:(\mathbb{N}, \frac{1}{\sqrt{n}})\rightarrow (\mathbb{N}, \frac{1}{n})$ is a continuous bijection, but the inverse map is not continuous.  Also, if there is such a bijection, there there is such a bijection with agrees with $i$ on any preassigned finite set. Edit  I thought I add in a slightly suprising (to me, at least) example when things work out to be homeomorphic. Begin with a convergent series $\sum c_n$. and divergent series $\sum a_n$ with $\lim a_n = 0$.  Create a new series $b_n$ using all the terms of $c_n$ and $a_n$ (in whatever order you wish).  Then $(\mathbb{N}, a_n)$ and $(\mathbb{N}, b_n)$ are homeomorphic.  The idea is that since $\lim a_n = 0$, there is a convergent infinite subseries $\sum_A a_n$.  Then we use a bijection which with $A$ and $A\cup \{\text{indices of }c_n\}$ to "squeeze" the $c_n$ in without changing the topology.  Of course, I am glossing over many details, but I can include them if desired.


Error when calling a method that returns a string c#

I am getting this error and I don't know why.     'An object reference is required for the non-static field, method, or   property'   Why do I need to have an object reference here? My code is as below:  public string GetChanges()     {         string changelog = "";          MySqlConnection connection = new MySqlConnection("server=127.0.0.1;uid=root;pwd=pass;database=data");         try         {             connection.Open();              MySqlCommand cmd = new MySqlCommand("SELECT `change_log` FROM version WHERE ID = '1'", connection);              MySqlDataReader reader = cmd.ExecuteReader();             while (reader.Read())             {                 if (!reader.IsDBNull(0))                 {                     changelog = reader.GetString(0);                 }             }              connection.Close();         }         catch         {             //MessageBox.Show(e.Message, "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);         }          return changelog;     }   I am calling the above function like so:  string changelog = GetChanges();   Why is an object reference required in this case? I cannot use static because I am creating a Web Service which doesn't work with static methods. How can I alter this to use objects?  Thanks


How to "fastboot flashing unlock" when device has no volume rocker?

I have a android tablet that has no volume buttons, but has an unlocked OEM bootloader. I'm trying to flash a new rom, and after I run fastboot flashing unlock I am presented with a prompt that asks for me to press volume up.   Is there anyway to override this prompt? like -y or something?  I'm asking for a general solution as this problem happens to a lot of people from time-to-time. Whether it be from a broken rocker or from a device that has no volume buttons.  Edit: I didn't think to add the type of tablet, since none of you all would have heard of it. It is an eewrite e-pad pro by Wisky (sold by novadealshop) running Android 7.1.1. Any additional information about its specs can be found here:


I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that?


Lasso - Representing l1-ball constraint using the penalized formulation

I would like to solve the following problem:  $$ \beta = \arg\min_{\beta;\|\beta\|_1 \leq1} \|X\beta-y\|_2^2 $$  which happens to be the constrained formulation of the Lasso, considering only parameter vectors that lie inside the $\ell 1$-unit-ball.  However, Matlab uses the penalized formulation, i.e.   $$ \beta = \arg \min_{\beta} \|X\beta-y\|_2^2 + \lambda\|\beta\|_1 $$  So my question is the following: is there a way to choose $\lambda$, or a way to transform the formulation, so that I can represent the first problem statement (with its constraint) using the second formulation? In other words, can I choose a value of $\lambda$ such that the parameter vector stays within the $\ell 1$-unit-ball?


How to Iterate Across Fields as Inputs for a single tool (Kernel Density) in ArcGIS ModelBuilder

I am trying to make Employment Distribution of map of a given area in ArcGIS. All the employment information is in this one point shapefile from Census. Different fields show different number of employment for different industries.   Now I want to use each field as population field input in Kernel Density tool. There are like 18 fields so I am wondering how I could use iterator or some other way to do it more efficiently.  The model I used is shown as below:    What shall I do to finish this job?  This was marked as duplicated by Mods, which I understand. But I am just wondering if this could be done merely in ModelBuilder.


Running Custom commands in a Terminal Application

I'm running a terminal application in /dev/pts/X terminal that has its own console as:           What I need is to run commands specific to this application but from another terminal.  Using ttyecho does not work as it interacts with the shell not with the application running  on the shell.


I have a list of .tif files which have the wrong projection system (NAD_1983_UTM_Zone_13N). However, I want to have those files in (WGS_1984). I want to do this by a script that can transform tif files from one projection system to another. I have found many scripts online, but none seem to work for me. anyone a script or idea?


I am trying to split a string using regex on $ symbol but the output is not what I want. string = "43$hello" list_of_splits = re.split("$",string)  Output: ['43$hello','']  Output I want: ['43','hello']  It's visible by the output that "$" is a special character in regex, but now by how can I do this?


Nested data in a Grid or Table - how deep is too deep?

I’m reasonably sure we all have that love/hate relationships with grids or tables when it comes to nested data.   Over the years I have grown intolerant of anything below one level down, and work diligently to keep it simple. Early on I found going any deeper just made data hard to display, and often difficult for the user to understand. I work diligently to maintain my ‘rule of one level down’ by coming at the problem whatever way I can; changing navigation, breaking the data into smaller chunks, and sometimes even working to change expectations in the product owner.    How does everyone here feel about nested data in grids or tables? Do you have a rule of thumb that keeps things manageable?    Any and all input would be great – I’m curious what you think.


In how many ways can 5 boys and 3 girls be seated in a row such that no two girls are together?

I've been trying to solve this permutation problem. I know that it's been posted on this site before, but my question is about the specific approach I take to solving it.  Here's what I thought I'd do : I could first figure out the total number of permutation where AT LEAST $2$ girls are together, and then subtract this from the total number of permutations.  Now, the total number of ways in which the students can be seated is obviously $^8\mathbf{P}_8$, or $8!$.  For the total number of permutations where at least $2$ girls are together, I first figured out that if I take $2$ girls as $1$ object, I can seat them in a total of $ 7 $ ways.   To this I multiplied the total number of way in which $2$ out of $3$ girls can be chosen. Thus I had $ 7  \times ^3\mathbf{P}_2 $, or $ 6 \times 7$  Finally, to this I multiplied the total number of permutations for the seating arrangement of the remaining students, to get $7 \times 6 \times ^6\mathbf{P}_6 $, or $ 6 \times 7!$.  Finally, I subtracted the number of permutation where AT LEAST 2 girls are seated together ($6 \times 7!$), from the total number of permutations of possible seating arrangements ($8!$).  Thus, I have $8! - 6 \times 7!$, or $7!(8-6) = 10080$.  BUT, the answer given in my book, and online, is 14400.   I want to know where my problem solving logic is wrong and if my calculation is wrong ?  Thanks.


Converting Avenue scripts/extensions from ArcView 3.x to ArcPy for ArcGIS Desktop?

As a side project, I'm looking into the effort required to (semi-) automate conversion from Avenue to Python, instead of keeping ArcView 3.x around to run them.


How can I exit fullscreen in Minecraft and it stays on?

I just downloaded it and I accidently pressed fullscreen. Now all I see is a back screen in front of me. I tried all commands and stuff, but only the quit command works. I want to exit full screen but not actually exit out of Minecraft, just the fullscreen.


Change folder icon of multiple folders (movies)

I've been here but it doesn't work for me. Because my movies aren't in the home partition they are in a different ext4 partition and when I try to put the location of that partition in that command it simply doesn't work because it automatically puts /home/sumeet in front of the location that I type.   Scripts in the 2nd post aren't working! Maybe I'm doing something wrong.   [EDIT 2 DETAILED]   { while read -r d ; do [ -d "$d" ] && [ -e "$d/folder.png" ] || continue ; gvfs-set-attribute -t string "$d" metadata::custom-icon "file://$d/folder.png" ; done ; } < <(find ~/mnt/c2104e2a-cc8e-4b7b-9bba-a05d316472b4/I -mindepth 1 -maxdepth 1 -type d)   I ran this command first from the first post, which gave me an out put  find: ‘/home/sumeet/mnt/c2104e2a-cc8e-4b7b-9bba-a05d316472b4/I’: No such file or directory   Then I moved some of the files to home/videos/films as suggested in the orignal post and ran this command  { while read -r d ; do [ -d "$d" ] && [ -e "$d/folder.png" ] || continue ; gvfs-set-attribute -t string "$d" metadata::custom-icon "file://$d/folder.png" ; done ; } < <(find ~/Videos/Films -mindepth 1 -maxdepth 1 -type d)   Which worked perfectly fine but i can't move my entire film collection to home folder.  Then I tried the solution in the 2nd mentioned post and ran  python3 /home/sumeet/change_icon.py </mnt/c2104e2a-cc8e-4b7b-9bba-a05d316472b4/I>   And got this output  bash: syntax error near unexpected token `newline'   Then I figured, I did something wrong and tried this  python3 /home/sumeet/change_icon.py /mnt/c2104e2a-cc8e-4b7b-9bba-a05d316472b4/I   Didn't get any output but it didn't work either.  Then I tried the second script 3 or 4 times. Right click option appeared but it didn't work, and I've done everything both the posts asked. I logged out, logged back in, I tried rebooting, -q nautilus  Doesn't seem to be working.


I am in abstract algebra and am currently reading on a theorem which describes equivalent conditions relating to polynomial irreducibly. Here is the theorem:  Let $\mathbb{F}$ be a field and $p(x)$ a non-constant polynomial in $\mathbb{F}[x]$. Then the following conditions are equivalent:   $p(x)$ is irreducible if $b(x)$ and $c(x)$ are any polynomials such that $p(x)|b(x)c(x)$, then $p(x)|b(x)$ or $p(x)|c(x)$ if $r(x)$ and $s(x)$ are any polynomials such that $p(x) = r(x)s(x)$, then $r(x)$ or $s(x)$ is a nonzero constant polynomial.  When the textbook proves condition $3$ by using condition $2$, they say the following: "If p(x) = r(x)s(x), then p(x)|r(x) or p(x)|s(x), by 2." It goes on to show that this will lead to either r(x) or s(x) being a unit, and thus a constant polynomial. What I'm not getting, though, is where it says that if p(x) = r(x)s(x), then p(x)|r(x) or p(x)|s(x). Condition 2 hinges on p(x)|r(x)s(x), meaning r(x)s(x) = t(x)p(x) for some t(x) in F[x]. Wouldn't p(x)=r(x)s(x) mean that r(x)|p(x) and s(x)|p(x), rather than the other way around? I had the idea that perhaps p(x)|r(x) or p(x)|s(x) when t(x)=1 in r(x)s(x)=p(x)t(x), but I'm not sure if this is the correct interpretation. Any bit of insight would be appreciated.


I'm using the Android client. I've posted a picture which I would like to rotate (say, clockwise 90 degrees). How can I accomplish this without editing my original picture and reuploading?


Eigenvalues of matrix and its transpose.

Prove that if A is a square matrix then A and A transpose have same Eigen values.  Kindly help me how to prove this by generally not considering matrix by ourselves.


Are pronouns in English resolved syntactically or semantically? Do they always refer to the closest matching noun?  A  has these examples:        We gave the bananas to the monkeys because they were hungry.   We gave the bananas to the monkeys because they were ripe.   We gave the bananas to the monkeys because they were here.       My understanding was that pronouns are resolved syntactically, and so sentence 2 is semantically incorrect (unless the author really meant that the monkeys were ripe) and sentence 3 is not ambiguous. Is this wrong?  Citations and references are most welcome.


20.04 Sony WH-1000XM4 does not output to headset

I have a Sony WH-1000XM4 which is paired to Ubuntu 20.04. The output is configured to the headset, but the sound keep coming out from the speaker instead. Bluez was already installed: user@ubuntu:~$ bluetoothctl --version bluetoothctl: 5.53  I have tried to disconnect, connect again, reboot Bluetooth, but it still doesn't work. I have also installed the following libraries: sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev  But it didn't help.


"What kind of a person" vs. "what kind of person"

I often hear people saying what kind of [singular noun] rather than what kind of a [singular noun].  Are we not supposed to use an article (a) before noun?


How to enable snap app permissions to read files on a secondary HDD?

I have a secondary internal hard drive to store files. However, Snap programs in Ubuntu do not have the permissions to open the files on the secondary hard drive. To open files with certain Snap apps, I have to copy them first to the primary Ubuntu drive to access them. Desired solution: How do I enable Snap access to contents on my secondary internal HDD as if it was my main hard drive with full permissions.


How Implication or Material/Concrete Conditional works when the antecedent is false and the consequent is true

When we talk about formal logic, we generally agree that $P$ and $Q$ are deductively valid propositions. Below fact is supported by  Rutger Uni. page no.2 (PDF doc) And further when we talk about implication or material/concrete conditional $P\to Q$ we assume: "if $P$ is true, then $Q$ is also true" or more generally in formal logic we assume: if premises are true then conclusions are also true because we are dealing with deductively valid propositions. But when we draw truth-table of $P\to Q$ we come across one paradox. That is,  When $P$ is false, and $Q$ is true, $P\to Q$ is still true!  Why so? How can premise (deductively valid proposition or antecedent) be false  with a conclusion (deductively valid proposition or consequent) be true, and their implication be still TRUE! Reading through the explanations given on the question:  It is bit clear with the given examples that: When $P$ is false, and $Q$ is true, $P\to Q$ is true in some situations. Out of given examples I am selecting example given by Jai [3rd top answer on that page] which in fact comes from this :  "If you get an A, then I'll give you a dollar." What if it's false that you get an A? Whether or not I give you a dollar, I haven't broken my promise.  Does this mean that if I get A+ or B- or I was ill for the exam, I will still get a dollar as promised? Because, I thought propositions are rigid and their use in conditional should be consider as-is without changing the meaning of them, then what is intended by the author of the given example. Here, it is very clear that author of the example suggest that; it is a necessary condition for "Get an A" is "I'll give you a dollar" and a sufficient condition for "I'll give you a dollar" is "Get an A". Is there any further explanation: The premise (antecedent) requires further support or can be overlooked or ignored in order for conclusion (consequent) to be true when antecedent is false and consequent is true?


Find out which app is pushing ads in my notification bar?

This may be a duplicate question but it seems the bad guy has improved its technology and known methods don't work so far. Anyway, started recently, my phone shows a notification every few days. Addons Detector and AirPush Detector didn't find anything related. Using:  adb shell dumpsys notification   I got this:  NotificationRecord{40c413b0 pkg=com.google.android.gsf id=1 tag=null}   icon=0x1080077 / android:drawable/stat_notify_chat   contentIntent=PendingIntent{40d4f178: PendingIntentRecord{40d62628 com.google.android.gsf startActivity}}   deleteIntent=PendingIntent{40d4f148: PendingIntentRecord{40d45710 com.google.android.gsf broadcastIntent}}   tickerText=xoxbellejenxo37@jabber-chat.com wants to be able to chat   contentView=android.widget.RemoteViews@40cd0b38   defaults=0x4   flags=0x1   sound=content://settings/system/notification_sound   vibrate=null   ledARGB=0x0 ledOnMS=0 ledOffMS=0   My question is what else can I do to find out which app is pushing ads? I don't want to try airpush opt out for two reasons:   I wouldn't trust people doing this at the first place. I want to find out which app is doing this and add the company/developer behind it to my black list.   UPDATE  My phone is a rooted Samsung Captivate Glide, Android 2.3.  UPDATE  Updated to 4.0.4  Thanks


tkz-euclide "Undefined control sequence"

I've been trying to practice tkz-euclide by working through the documentation's examples. But I've been getting errors. Here:  \documentclass{article} \usepackage{xcolor} \usepackage{tkz-euclide} \usepackage{beton} \usepackage{euler}  \begin{document}     \begin{tikzpicture}     \tkzDefPoints{0/0/A,4/0/B}     \tkzDrawLine[red](A,B)     \tkzDefPointOnLine[pos=1.2](A,B)     \tkzGetPoint{P}     \tkzDefPointOnLine[pos=-0.2](A,B)     \tkzGetPoint{R}     \tkzDefPointOnLine[pos=0.5](A,B)     \tkzGetPoint{S}     \tkzLabelPoint[above](P){pos=$1.2$}     \tkzLabelPoint[above](R){pos=$-.2$}     \tkzLabelPoint[above](S){pos=$.5$}     \tkzDrawPoints(A,B,P,R,S)     \tkzLabelPoints[](A,B) \end{tikzpicture} \end{document}   When I try to compile this I get this error despite the command being listed and used in the documentation:  Undefined control sequence. [\tkzDefPointOnLine]   I've checked similar questions, but they all say to add usetkzobj{all} and yet the current README of the package says this is not required. Furthermore, when I do add it in, I get this:  I can't find file `tkz-obj-angles.tex'. [\usetkzobj{all}]   What's going on?


Programming blank atmega328 microcontroller

I bought couple ATMEGA328P-PU as a replacement for my Arduino Uno. The problem is that I don't have any cables to program to 328 directly and I'm trying to avoid using Arduino and it's bootloader. I want to write code in C, but I don't know where to start..  I'm trying to figure out two things:        How to build my own USB cable to write bootloader & code to the ATMEGA328P-PU?   What software do I use to get started with the bootloader (Linux)?      Any help would be much appreciated, thanks!


Dwellers return automatically after finding a low amount of items in Wasteland

I have a strange thing happening - dwellers I send to explore wasteland are automatically returning to vault after finding a little amount of items (4 or 5).   The exploration log says: "That's as much as I can carry. I better head back and show the Overseer what I found".  Before today they successfully carried up to 30 items and never returned to vault on their own.  I don't know is it relevant or not, but I have a lot of free storage space available.  What caused this change? What can I do to prevent this?


While trying to find out who was faster, Superman or the Flash (the answer is the Flash), I found out that the Flash can travel back and forth through time on occasion.  Does that mean that the Flash can travel faster than light?  What is the limit to the Flash's speed?


Update Manager doesn't show the latest version for upgrade

I am currently running Ubuntu 12.04 LTS and I want to upgrade it to 15.04. However, the update manager shows only 12.10. I tried changing its settings -> all new versions and disabling third party softwares, but it only shows 12.10. I have no pending updates on my system. How do i rectify this problem, without doing a fresh install?


How to unscrew a screw that I can't access frontally?

I need to unscrew a screw that I can't access frontally. How can I do it? Googling a bit I was thinking of a Torque Wrench, do you think it's the right choice?


Will dual boot of Ubuntu 14.04 + Windows XP work for old Acer Aspire 3690?

I want to do a dual boot of Windows XP and Ubuntu 14.04 on a very old Acer Aspire 3690 laptop. Are there any peculiarities of installing Ubuntu with dual boot on Acer Aspire laptops?   To be specific, I don't want to mess partition that contains recovery copy of Windows XP. Laptop HDD is divided into 2 partitions, one for OS, another for data. I've already formatted and cleared the data partition and want to install Ubuntu there. Is it safe to do, will Ubuntu install not mess with the rest of the hard drive? On laptop it says that it was designed for Windows XP, it worries me too.  I also want to install a 64-bit version of Ubuntu. I'm aware that on such laptop it's generally useless, I just need to develop applications for my 64 bit Ubuntu desktop. But I don't know if hardware can support this. This are hardware parameters:  CPU: Intel Celeron M 420 1.60 GHz  Chipset: Intel 940GML Express  Video: Intel GMA 950  RAM: 512 mb   Also I guess I need to install a "lighter" version of OS on such laptop. What would be the best solution in such case? Lubuntu?


Putty restart session and show previous visible data and path

I am running a task on my Ubuntu 18.04 Server which imports and processes a huge file.  I am running putty over SSH on my laptop to administrate the whole process and the output from the task.  The laptop is not capable to run the whole time of the import and to show the process. I want to make it possible to login at a later time and see the same things I saw at the earlier stage.  Is this possible?  Duplicate Edit: I dont need this for a lag or a disconned over minutes. I want to be able to reconnect after some days and still see the same. I want a similiar functionality like Remote Desktop for Windows.


I’m trying to write a simple finite state automaton in TikZ/LaTeX—The code should be quite self-explanatory:  \documentclass[a4paper,10pt]{article}  \usepackage{amsmath} \usepackage{tikz}  \begin{document} \begin{tikzpicture}   \tikzstyle{state}=[circle, draw]   \tikzstyle{endstate}=[circle, draw, double]    \node (start) at (-1, -1) {};   \node (AS) at (1, 1) [state]{$A_S$};   \node (AF) at (3, 1) [endstate]{$A_F$};    \draw [->] (start) to (AS);   \draw [->] (AS) to node [auto, near start] {a} (AF); \end{tikzpicture}  \end{document}   Unfortunately, LaTeX completely ignores the node positions, i.e. all three nodes are placed on top of each other.   A similar code (which is quite long, so I won’t post it here) used to work previously (when I was using a GUI, mikTEX, I think), but now produces the same erroneous output when compiled via pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian), which makes me think it’s not the code itself which is causing problems, but some configuration I may have missed.  How do I get the nodes to adhere to the given positioning?


Let me use the arrow keys when searching in the site switcher

When I want to switch to a site that's not in my top five by rep, I enter a term into the search box in the site switcher menu:    And there it is -- that's the one I want! Let's go! My hands are already at the keyboard! I can't wait! Arrow down!   <sadtrombone>    (Nothing happened.)  Can you please let us move out of the text box and through the search list with the arrow keys, the same way tag completions work? That would be swell!  (I'm on Mac OS X.)


What do you do when someone (obviously) erroneously edits your answer?

Today someone accidentally edited one of my answers (he thought he was editing his own).  He quickly noticed his error and reverted it, but it left me thinking:  What should I have done if he hadn't noticed his error?


I was directed here from lifehacks SE. Basically I am a student who would need access to gmail, Google in China (mainland).  From my past experience, Gmail is not blocked sometimes, blocked sometimes, but I would like something more reliable.  I am using MacBook Air. Does anyone know a reliable VPN that suits this purpose? I am just looking at mail/googling normal academic (English) websites on Mathematics, not searching for sensitive/prohibited content.


Are there meta-plurals beyond "peoples"?

The plural of "person" is "people".  The plural of "people" is "peoples". Person-people-peoples is the only sequence like this that I know of, but I'm looking for another.  (The equivalent question is, is there another plural noun which has become a singular countable collective noun?)  EDIT  For those of you that think that people is nothing but a collective noun (and not an irregular plural, like mice), I urge you to consider:   Do you treat other collective nouns as plurals?  One person, two people, but one star, two galaxy? Do you treat other plurals as collective nouns?  You can certainly say "a galaxy of stars" but do you say "a mice of mouses"?    For those of you that think the customary plural of person is persons, try it on the next three, uh, persons you see: "Finish this sentence: 'one person, two _ ?' "


Prove $\chi(G)\chi(\bar{G}) \geq n$ for chromatic number of graph and its complement

Let us denote by $\chi(G)$ the chromatic number, which is the smallest number of colours needed to colour the graph $G$ with $n$ vertices. Let $\bar{G}$ be the complement of $G$. Show that  (a) $\chi(G)+\chi(\bar{G}) \leq n+1$  (b) $\chi(G)\chi(\bar{G}) \geq n$  I was able to prove (a) using induction. Any hints on proving (b)?


Is it possible to stop a theme activation when a certain plugin is not activated

So I am planning a theme that will depend on a plugin (for instance  or ).  So of course a theme will break if it can't use it's depending plugin's. So I would like a way to stop the user of activating a theme that needs a certain plugin to work and instead show an friendly error message containing the plugin that's needed.  So far I found out how to check if a plugin is installed or not (), but how to stop the theme from being activated if that's possible at all?  I also found out about the switch_theme and the after_switch_theme actions.  So what I am missing right now is a way to stop the actual activation. Is this possible?  edit: Found  for displaying admin notices/warnings.


Dropped out of maths PhD - options for later on?

Over the last month or so I wrote a couple of posts about me worrying a lot about the way my mathematics PhD supervisor was dealing with things. Looking back on these my worries were unjustified and I have since done a lot of reflection upon what went wrong with my studies which made me feel that way. I decided to withdraw from my studies and move back home for a good while to re-evaluate my interests and think about where I want to be in life. I withdrew because:   the PhD was heavily analysis-based, whereas my background was much more towards the applied side (so the jump turned out to be too great for me in the end), and the choice of my PhD topic was based more on what I felt I "ought to know" rather than what I enjoyed and what I was already good at (out of the PhD offers I had at the time, the one I went for was probably the least suitable for me in terms of background, and this choice was exacerbated by the fact I was under pressure to choose a PhD programme during my final year of my undergraduate course) the above led to me finding it difficult to adapt to a routine and I was rapidly losing interest in the topic which had a very negative effect on my work ethic and research progress I was experiencing mental health difficulties and having trouble looking after myself the above were leading to my supervisors to worry a lot about my progress and so my main supervisor suggested that perhaps I withdraw from the studentship.   For now, my plan is to take a pause from academia and consider doing some teaching work in the meantime (or getting some other real-world experience), whilst being able to rectify any personal issues. So far I feel this has been a really positive move and I have been able to think much more clearly about my future and where my heart is. Furthermore, during my (limited) experience of being a research student, I learned a lot about what happens in a typical mathematics department, what research work usually involves, and what responsibilities a PhD student and his/her supervisor has.   I feel that there is a possibility that I would like to return to PhD studies in the future (I'm not ruling it out, at least), but with much more care and consideration towards the subject area and my suitability for research work.   However, I am aware that having dropped out of a PhD already might potentially hurt my chances if I consider reapplying later on - but I feel my justification is sound, and if I do consider applying for a PhD again in a year or two, then I can explain the situation to potential institution/supervisor and hopefully they would understand.   So my question is - would having withdrew from a PhD programme that wasn't a very good match for my mathematical background and strengths disadvantage me if I wanted to consider doing a PhD later on in something that was much more up my street? Furthermore, if I decide to take this route, would it be worth returning to my original institution where I know the faculty really well and have a good track record with them? (I obtained a 1st class Masters degree from there and was given numerous awards during my studies.)


I have 3 files   file1:  compute-0-44 compute-0-2  compute-0-7  compute-0-8    file2:  0 11/29/2017 | 02:01:34 0 05/16/2018 | 08:47:56   file3:  0 963 0 459   When I do paste file1 file2 file 3, I get :  compute-0-44    0       0 compute-0-2     11/29/2017 | 02:01:34   963 compute-0-7     0       0 compute-0-8     05/16/2018 | 08:47:56   459   What I want is :  compute-0-44    0                       0 compute-0-2     11/29/2017 | 02:01:34   963 compute-0-7     0                       0  compute-0-8     05/16/2018 | 08:47:56   459   Is it possible using paste? If there are any other alternatives like sed, that will serve the purpose too.


biblatex - volume and issue in words and with comma in front of them

So the current product looks like this:     Gillies, A. (1933), “Herder and the Preparation of Goethe’s Idea of World Literature”,   in: Publications of the English Goethe Society 9 (2), pp. 46–67.   Due to guidelines I must produce this though:     Gillies, A. (1933), “Herder and the Preparation of Goethe’s Idea of World Literature”,   in: Publications of the English Goethe Society, vol. 9, iss. 2, pp. 46–67.   ("Volume" and "issue" would be fine as well.)  Here is an MWE:  \documentclass[ 12pt, a4paper ] {scrreprt}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} %\usepackage[english]{babel}  \usepackage{hyperref} \usepackage[ language=auto, style=authoryear, backend=bibtex, hyperref=true, isbn=false, doi=false, citereset=chapter, maxcitenames=3, dashed=false, sorting=nyt, natbib=true, %faking natbib-commands firstinits=true, terseinits=false maxbibnames=99, %autopunct=true, uniquename=init ]{biblatex} \usepackage{xpatch}  \renewcommand*{\newunitpunct}{\addcomma\space}   \begin{filecontents*}{lit.bib}  @Article{gillies,   hyphenation     = {british},   author      = {Gillies, Alexander},   title       = {Herder and the Preparation of Goethe's Idea of World Literature},   journaltitle    = {Publications of the English Goethe Society},   volume      = {9},     issue = {2},   date        = {1933},   pages       = {46--67},   annotation      = {An \texttt{article} entry with a \texttt{series} and a \texttt{volume} field.             Note that format of the \texttt{series} field in the database file} } \end{filecontents*}  \addbibresource{lit.bib}  \begin{document} \chapter{First Chapter} \begin{itemize}     \item For the case of multiple editors, these are just some words.\footcite[See][p. xi]{gillies}. \end{itemize} \printbibliography \end{document}


What does the yellow color of CPU mean in htop?

if press h inside htop for quick help:  CPU  Blue      : Low-priority threads Green     : Normal priority threads Red       : Kernel threads Turquoise : Virtualization threads   but yellow?


Cannot boot my ubuntu after upgrade to 15.10

I cannot access  my computer using Ubuntu after upgrading to 15.10.If I attempt to access my files from recovery mode, it needs me to login and just shows #boot. How can I fix my installation?


I am running my thesis.tex file, but something strange persists. It said  ./thesis.tex:96: Extra }, or forgotten $. <recently read> }  l.96 ...hy[heading=bibintoc, title={参考文献}]   I went back to where the error points to,  \printbibliography[heading=bibintoc, title={参考文献}]   But it's my belief that there is nothing wrong in there.  What's the real problem of it, and how to fix it.   I used XeLaTex- BibTex-XeLaTex to compile the file, and I used Teashop 3.61.   Updated: as suggested by @Johannes_B, the problem is in bib file.  I provide the trouble bib entry as follows.  @article{Shen2010,   doi= {10.1016/j.automatica.2010.06.025},   url= {http://dx.doi.org/10.1016/j.automatica.2010.06.025},   year = {2010},   month= oct,   publisher= {Elsevier {BV}},   volume= {46},   number= {10},   pages= {1682--1688},   author= {Bo Shen and Zidong Wang and Y.S. Hung},   title= {Distributed ${H}_\infty$-consensus filtering in sensor networks with multiple missing measurements: The finite-horizon case},   journal= {Automatica} }   and I setting option of biblatex as   \usepackage[style=numeric-comp,doi=false,url=false,firstinits=true,backend=biber,sorting=none,maxnames=3,minnames=3]{biblatex}


Meaning of the chemical potential for a boson gas

My lecturer told me that $\mu$, the , is zero or negative, and in the following example, mathematically it acts as a normalization constant. But is there any physical insight about why boson gas can be zero or negative? I think it is due to the fact the photon gas can pop up from nowhere (i.e. vacuum fluctuation). $$ f_{BE}(\varepsilon)=\dfrac{1}{e^{(\varepsilon-\mu)/(k_B T)}-1}$$


Do you use "there is" or "there are" before a list?

When I use "there are:" (with a colon) to introduce a list starting with a singular item, should I use "there is" or "there are"?  According to grammar rules, I should use "there is" if the following item is singular, but in this case the colon introduces a plural group.  For example:     In my room there [is/are]: a bed, 2 chairs, a table, 2 carpets and a wardrobe.


I wonder if we can put "A" before a proper noun. Here's an example I found on Google:     As a Vietnam veteran I remembered that it was 16 years after my tour in Vietnam.   I wish to know why the author use "A" before "Vietnam." Thanks.


I am using an exam package and the following code  \fillin[$P(X\le6)-P(X\le3)$][3.7in]   but there is an vertical space issue which I could not find a solution for it between the equation and the horizontal line. Please see the picture


GNOME extension error on browser unable to connect

I am trying to get snap to corner on Ubuntu.  I am following the instructions below trying to get GNOME extension working on a browser. I am up to step 2 and have tried Chrome and Firefox, with both giving me a extensions.gnome.org refused to connect or unable to connect error.     How can I install GNOME extensions through the browser?.


Why do the White Walkers let people escape?

I can think of two times in the TV show when a White Walker has essentially caught a human, and then just let them walk away.   The survivor from the Night's Watch in the first episode. Samwell Tarly at the Fist of the First Men when he was too slow to run away.   Is there ever any explanation or evidence why the White Walkers would let lone humans escape?


How to print the directory tree in terminal

What is the command that can be used to draw the directory tree inside the terminal emulator?


There are lots of popular games now-days that enable a player to construct a word while opposing some limitations. If player constructs a valid word successfully, he gets a point. For this a big amount of English words is needed so that the game would be able to check if such a word exists in English. Where can I take such a bank of words? And how big the size will be? Would it we good for mobile games?


Separating Program and Design Logic (Structure of C# Winforms Project)

I am somewhat new to Visual Studio (2019) and WinForms. I am currently trying to separate the two classes: one for form design and one for the project logic. static class Program {     static void Main() {         Application.SetHighDpiMode(HighDpiMode.SystemAware);         Application.EnableVisualStyles();         Application.SetCompatibleTextRenderingDefault(false);         Application.Run(new Form1());         // more logic     } }  public partial class Form1 : Form {     public Form1() {         InitializeComponent();     }     // design logic }  Currently, I'm having difficulty transferring data between Program and Form1. I have tried creating public members to exchange this information, but I do not know how to access it (since the form is instantiated with the Application class. I have considered leaving Program as is and moving all of the project code into Form1. Replacing the Application class with an instantiation of a form leads to the program not displaying the Form and terminating early. Form1 foo = new Form1();  Is there a way to separate program and design logic, or should I put all the logic into Form1? Thank you for the help.


What does the Auto Property give me over a simple Field?

To be clear, I'm not asking for the .  Assuming I have just a basic auto-property, with no other access modifiers, what is the difference / advantage of having this:  class Book {     public string Title { get; set; } }   over this:  class Book {     public string Title; }   To the client code using Book, it makes no difference: reads and writes are still done to Book.Title.  What benefits does the Auto Property offer over the simplistic Field?


I have a set of numbers between 0 and 1, for instance, {0.4, 0.1, 0.0, 0.8}. What are the minimum and maximum values of population variance on such set?


Did Voldemort seal his fate by protecting Harry?

It occurred to me, while watching the movies, that Harry could have died doing any number of things, and Death Eaters had plenty of chances to kill him. But Voldemort had specific orders, Harry was his to kill.  The prophecy, any prophecy, by definition, is just a telling of things to come. It isn't some law regarding what must happen. Shouldn't Voldemort, knowing this, just had someone off Harry? Was this just a long story of someone's pride being their downfall?   I'm not asking why Voldemort had to kill Harry as Dumbledore said (Dumbledore knew there was a piece of Voldemort's soul to kill). That is .  What I'm asking, is:   Why didn't Voldemort just put a nice bounty on him and be done with it?


Modern movie where rich people can buy a personal assistant that sit in a small egg

This is a modern movie and rich people can buy this egg with a personal assistant. It's an actual person in it (or a person's mind). I believe it can even operate a toaster.  I believe later in the movie, a person (or their mind) can be transferred to such an egg. As a punishment, they increase the speed of time inside that egg to make the person inside the egg bored to death, so to speak.


How to output web page html source code into a file

My goal is to output an html source into a file, I'm using w3m to browse the web from terminal.  When using the following command on terminal: w3m <url> -dump the program displays the web site in a non interactive way, but no its html source.  If you open a web site with w3m <url>, the terminal will display the site and if you press v, then the program will display the html source, I tried to script this but with no success. I thought the command line argument -dump_source would help me, but the only thing I got is a non-human reading content, I don't know what -dump_source was supposed to return  Here is what I tried so far:   Use -T text/html with -dump on terminal but the output didn't changed Use -T text/plain with -dump_source on terminal hoping that the non-human output would be converted to a plain text, but no success (I didn't understand what -T is used for, even after reading w3m manual by typing man w3m on terminal) Knowing that pressing v while w3m is displaying a web site switch from web page content to html source code, I tried to use gdb to attach it to the w3m process and redirect its stdin and stdout to my files (input.txt, output.txt) which input.txt contains a single v, but I had no success. Doing this on my test program worked as expected. I followed what was described . If I write ls -l /proc/<w3m_pid>/fd, where w3m_pid is my w3m process id which I got by using ps ax on terminal, I can see there is 3 file descriptors, if I try to redirect the third one, the program crashes and displays: Error occured: errorno=25 Redirecting the standard I/O with w3m <url> < input.txt > output.txt also did not worked W3M uses keybinding to navigate on the web, it means that if you press v there is no need to hit enter, the terminal is not buffering the input, using gdb attached to the w3m process I tried to remove it by using p system ("/bin/stty cooked"), but the w3m keybind did not changed.   My question is: why redirecting I/O with gdb is not working and what I can do to get html source code? w3m have an option to output html source code that I'm missing or I would have to use another program?  PS: I need html source code for a university homework, with html source code I can create a script to browse the web and output the page into a file, than I'm supposed to use those outputs with flex to extract statics information about things on the web, like: how many the word stack appears in questions about the c language? This is my idea.  Any suggestions would be appreciated.  W3M version: 0.5.3+debian-15  GDB version: 7.7.1   Ubuntu version: 14.04  Thanks in advance!


Is it possible to draw a triangle, if the length of its medians $(m_1, m_2, m_3)$ are given only?  Someone asked me this question, but I can not see it. Is it really possible?  UPDATE  Apart from the algebraic solution given by JimmyK4542, can anyone give me a direct construction?  I mean, it should sound like:     Draw a line segment sufficiently long. Cut the length of $m_1$ from it. Then $\ldots$


What happened to Radagast the Brown after the War of the Ring?

Did he continue to stay in Middle Earth or did he eventually depart for Valinor (he is a Maiar after all), or did he receive banishment from the Valar from ever returning to Valinor for not being as productive as he should have been during the War of the Ring?


How to vote to reopen a question from the iOS app?

I know how to vote to close, but I don't see the reopen path anywhere. Where is it?


Why has the effect of the \small command been extended to item (e)?   \item $a_n = \dfrac{a^2_{n-1}}{a_{n-2}}, \textrm{ for } n \geq 2, a_0 = 1 \textrm{ e }                                             a_1 = 2$ (\small{{\textbf{\textit{Hint:}} SDSADSADASsscsc $\log a_n, n = 0,1, 2,...$ }})   \item $a_n = a^3_{n-1}a^2_{n-2}, \textrm{ for } n \geq 2 \textrm{ e } a_0 = a_1 = 2 $


Lightning Documentation - Method reference with examples

Is there anyway I can look for all the methods available under the components and how to use it? Like, what are the methods available under component, event objects?  EDIT: I need methods under component objects like Component, event for which I cannot get method list similar to $A through browser.


Why is this black line appearing on my mesh when I render?

I am new in Blender and  I can't understand why rendering goes wrong?


How is the eye of the Longclaw getting opened?

In Game of thrones Season 7 episode 6 , when John snow is coming up from cold water after killing some undead the eyes of the long claw(his sword) is getting opened. Approx time frame (52:24-52:29)


Family of GLM represents the distribution of the response variable or residuals?

I have been discussing with several lab members about this one, and we have gone to several sources but still don't quite have the answer:  When we say a GLM has a family of poisson let's say are we talking about the distribution of the residuals or the response variable?  Points of contention   Reading  article it states that the assumptions of the GLM are The statistical independence of observations, the correct specification of the link and variance function (which makes me think about the residuals, not the response variable), the correct scale of measurement for response variable and lack of undue influence of single points  question has two answers with two points each, the one that appears first talks about the residuals, and the second one about the response variable, which is it? In this , when talking about assumptions, they state "The distribution of the residuals can be other, eg, binomial" At the beginning of  chapter they say that the structure of the errors has to be Poisson, but the residuals will surely have positive and negative values, how can that be Poisson?  question, which often is cited in questions such as this one to make them duplicated does not have an accepted answer  question the answers talk about response and not residuals In  course description from the University of Pensilvania they talk about the response variable in the assumptions, not  the residuals


Script behaves differently when executed inside blender console vs python interpreter

I am using blender as a python module and want to use this trick to get rendering results without saving on the disk:   The exact code described in the link works when I execute it in the python console of the blender program. However, it does not work, if I simply run it with python or by calling blender -b -P script.py. In those cases, bpy.data.images['Viewer Node'].pixels contains 256*256 zeros instead of the rendered cube.  I would appreciate very much any tips concerning what the origin of this difference in behavior is, and how to eliminate it.  My guess would be, that some configuration of blender is different when starting the program compared to importing bpy in python, but I have no clue where to search for.


Install WSL2 on 18363 fails despite official docs say it should work

The  say WSL2 works from build 18362 or greater.  Running Windows 10, updated to version 1903 or higher, Build 18362 or higher for x64 systems.  I've got: 18363 WmiObject -Class Win32_OperatingSystem | % Buildnumber 18363  System information shows the same:  The required features are enabled: C:\WINDOWS\system32> Get-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux"   FeatureName      : Microsoft-Windows-Subsystem-Linux DisplayName      : Windows Subsystem for Linux Description      : Provides services and environments for running native user-mode Linux shells and tools on Windows. RestartRequired  : Possible State            : Enabled CustomProperties :                    ServerComponent\Description : Provides services and environments for running native user-mode Linux                    shells and tools on Windows.                    ServerComponent\DisplayName : Windows Subsystem for Linux                    ServerComponent\Id : 1033                    ServerComponent\Type : Feature                    ServerComponent\UniqueName : Microsoft-Windows-Subsystem-Linux                    ServerComponent\Deploys\Update\Name : Microsoft-Windows-Subsystem-Linux     C:\WINDOWS\system32> Get-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform"   FeatureName      : VirtualMachinePlatform DisplayName      : Virtual Machine Platform Description      : Enables platform support for virtual machines RestartRequired  : Possible State            : Enabled CustomProperties :    However, when I run wsl --set-default-version 2  I'm getting: C:\WINDOWS\system32> wsl --set-default-version 2 Invalid command line option: --set-default-version  Any idea what I've missed?


Brother's scanner is not working on Ubuntu 12.10 32-bits

I have a brother DCP J125  I have downloaded and installed the scanner driver but Simple Scan shows that it couldn't detect any scanner.  I'm running on Ubuntu 12.10 32bits, the steps show in  do not work for me as I can't find the lib64 folder.  Can anyone help me?


How to get steam to recognize game files downloaded on another machine?

Yesterday I purchased GTA V for the PC via Steam and downloaded it onto my laptop at work. When I got home to transfer the 65 GB worth of files to my main computer, I cleared up 65 GB of space on my SSD and have just enough room to fit those downloaded files onto a Steam folder that I created. However, Steam won't recognize the game as installed. I tried to click the "Install" button for the game where it's currently pointed to the folder where I've copied all of this data, but after exiting Steam and opening it again, it's saying that there isn't enough room to install the game. I spent several hours looking up ways to solve this, but I haven't been able to so far.  Also, Is 65 GB enough space for this game, or will I need to clear up more room for it?  Edit: After following Ross's guide below, everything worked fine with the backup process!


How retrieve the output parameter from stored procedure from a DataManager

I'm having trouble retrieving the output information from the stored procedure. My expected value is the number associated with the customer based on the customer name parameter value. The value I'm receiving is -1, however the customer name entered exists in the database.  I suspect the way I constructed the code behind is producing the unexpected value.  How can I retrieve the outputCustomerNumber value from the stored procedure when called through a DataManager?  Note:  I receive the expected value back when I execute this stored procedure in SQL Server Management Studio.  public int GetCustomerNumberOnName(string strCustomerName) {     int customerNumber = 0;      using (DataManager dm = new DataManager())     {         dm.AddParameter("@strCustomerName", strCustomerName, SqlDbType.VarChar, 75, ParameterDirection.Input);         dm.AddParameter("@outCustomerNumber", SqlDbType.Int, int.MaxValue, ParameterDirection.Output);          customerNumber = dm.runSPNonQuery("GetCustomerNumberOnName");     }      return customerNumber; }   Stored procedure:  SET ANSI_NULLS OFF GO SET QUOTED_IDENTIFIER ON GO  ALTER PROCEDURE [dbo].[GetCustomerNumberOnName]     @strCustomerName VarChar (75) = NULL,     @strCustomerNumber int = NULL,     --- Output parameter (Integer)     @outCustomerNumber int OUTPUT AS     SET NOCOUNT ON;      SELECT          @outCustomerNumber = Customer.CMR_NUMBER     FROM          Customer_Information      INNER JOIN         Customer ON Customer_Information.CMR_ROWID = Customer.CMR_ROWID     WHERE          (Customer.CMR_NUMBER = @strCustomerNumber)          OR Customer_Information.CIN_NAME LIKE @strCustomerName      RETURN @outCustomerNumber


how to setup dnsmasq for DNS for private and public hostnames via different DNS servers

lets say i have this private hostname dev.private.example.com that is only accessible in a private network over VPN connection and i have prod.example.com that is accessible to the internet. I have DNS servers to resolve the private hostname and then i can use the public DNS servers(google, cloudflare etc) for the public hostnames. i will like setup dnsmasq(let me know if there is another tool) so that it will query DNS server for the private hostnames and if it is another hostname then it will resolve via the public DNS servers How do i go about doing this?


How do I figure out what package something is in without resorting to Google?

I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me:  $ make html sphinx-build -b djangohtml -d _build/doctrees   . _build/html make: sphinx-build: Command not found make: *** [html] Error 127  $ sudo apt-get install sphinx E: Unable to locate package sphinx  $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build   googles  $ sudo apt-get install python-sphinx   Is there a better way?


How do I install cuda on 14.04? nvidia-cuda-toolkit got removed from this distribution.   I tried installing cuda 6.0 toolkit from nvidia's website, but it only says it works for 13.10, so that didn't work either (not surprisingly).


I am having trouble running a perl script and it keeps on giving me this error.  C:\Users\heitadmin\Desktop\360AnalyticsLtd\360-FAAR-v0.4.6\360-FAAR>perl 360-faar.pl Can't locate Text/Shellwords.pm in @INC (@INC contains: C:/Program Files (x86)/VMware/VMware vSphere CLI/Perl/site/lib C:/Program Files (x86)/VMware/VMware vSphere CLI/Perl/lib .) at 360-faar.pl line 239. BEGIN failed--compilation aborted at 360-faar.pl line 239.    The script I am trying to run is a firewall audit tool:    I am using the DWIM Perl for Windows on a Windows 7 machine.


Bit error rate calculation for LIN protocol

I am having this microcontroller -   I am using an 8MHz external clock. I want to calculate the Bit error rate of my LIN Communication. My LIN Communication Baud rate is 19.2kbps. My questions :  Can I use the LPUART Module in the Mirocontroller for the LIN Communication?  How to find the Bit error rate for the LIN Protocol communication for my baud rate of 19.2kbps and external clock of 8MHz.   I found this below from the reference manual. But not sure, how to calculate the Bit error rate from this.   How to calculate the SBR Register value, OSR and the LPUART ASYNCH Module clock?  Please help


A children's book series about a farm that grows massive food

There was a series of illustrated children's books that I was introduced to as a child in the late 1980's early 1990's.  The main character was a farmer - I can't remember the name, but I think it was Mc or Mac something. He bought his farm from a sleazy character who was trying to cheat him. The farmland was originally some kind of swampy land, but this industrious character (and his family) discovered that the land would grow plants to a massive size - radishes the size of basketballs, etc.  There were some pretty fantastic stories and adventure that the character would get into, such as one winter the weather got so cold that the wind (not the air) outside froze. They went out and cut it up and stored it in the icebox and would thaw out some of the cold breeze later in the hot summer.  The sleazy character made a constant appearance, trying to swindle this family out of the farm.  My Google-Fu seems to fail me at every turn. Do you know what this series is?


The task is: Does the function  $$ f_n(x)= \frac{2nx}{(1+n^2x^2)}  $$  convergence uniformly in the interval [0,1]? And in (1, +infinity)?


Shell command to sum integers, one per line?

I am looking for a command that will accept (as input) multiple lines of text, each line containing a single integer, and output the sum of these integers.  As a bit of background, I have a log file which includes timing measurements. Through grepping for the relevant lines and a bit of sed reformatting I can list all of the timings in that file.  I would like to work out the total. I can pipe this intermediate output to any command in order to do the final sum.  I have always used expr in the past, but unless it runs in RPN mode I do not think it is going to cope with this (and even then it would be tricky).  How can I get the summation of integers?


TV series about children ending up in father's computer game

So, I only saw a single episode of this during my childhood - 10 or more years ago I had guess -  where there is a group of children whose father programmed a game and they ended up in the game and can't get out. Inside the game they have a base inside a tree house and I believe they were able to communicate through the computer screen with people inside the RL house.  Yeah, I know this might sound quite vague, but it was the very first encounter I had with VR and kept me fascinated for ages and might be one of the reasons I got 'into' VR, so would love finding it back.


Create fill-in-the-blank version of a document with ability to toggle blanks on and off

I am preparing some lecture notes/slides and would like to efficiently create two versions of the output: a complete version for myself, and a version for my students with certain text replaced with blanks or an empty box so that they can fill it in during lectures.  the \underline{\phantom{text}} command does the trick, but it would be time consuming to create a separate version of the document and insert this in all the relevant places.  How can one use macros to give us the ability to easily toggle between the teacher version (with full text) and student version (with blanks)?  I was going to post this as a question but then figured it out so thought I'd share it.


What is the difference in the two notation?

I have read in Zeemansky's physics   $dQ=dU+pdV$ for first law of thermodynamics  But when I came across another book of thermal physics,it says  $δQ= dU +pdV$. So what us the difference ?


I'l try to make this short and sweet. New Dell XPS, did what I always do is re-partition for Ubuntu. It screws-up Win 10 so a re-install. Created two partitions for / and /home. 250Gb root and 20Gb /home.   I had a hell of a time getting this thing to boot. Initially it was Windows only and after the highly touted command prompt registry fix it worked but, no grub and no windows. I had a hell of time getting windows back but still cannot find a fix for grub. I think most all the issues are related to secure boot but, I can't put my finger on the issue. I have reinstalled both OS's more than I would like to admit.  Only two partitions for Ubuntu: / & /home. 16GB RAM so I thought there is little need for a swap drive. Both Ubuntu partitions are defined as logical.  Any help would be greatly appreciated. Keep in mind I know Linux and can navigate and install but, not an expert by any stretch.


Forfeit accepted answer points when attributable to someone else's helpful comment

I recently posted an  on unix.stackexchange.com that included someone else's pointful comment. To me the comment was to the point  but was also obvious, and I did not think twice about including it in what ended up being the only posted answer. Along with that I fixed some stylistic programming issues apparent in OP's question. My answer was accepted. The day after this, after reading comments from various upstanding members of the site, I offered the author of the comment to erase my answer so he/she could write his/her own, based on his/her comment. I had no response perhaps because this was deemed both trivial and unimportant. That in a way is also what I think.  Nevertheless I have the nagging feeling that at least the appearance of using a valuable comment in a answer reflects badly on my moral standing in the Community. So I bring this to Meta in the form of the question below. I read somewhere that erasing an accepted answer is not recommended. That policy actually makes sense to me, to not destroy communal value. But I still would like to forfeit whatever bonus points I received for it (frankly I don't care at all for those). How can I do this without erasing my answer wholesale ? Or is it nevertheless my call to erase my answer anyway in this particular case, leaving the initial helpful comment below OP (i.e. not below my answer) ?


What are the differences between "When did she move in?" & "When has she moved in?"

I am a bit confused!  I am not sure whether the native English speakers choose to use "When did she move in?" or "When has she moved in?".  If we use simple past tense, we imply that the specific time in the past is important. For example, "She moved in 2 months ago"  If we use present perfect tense, we imply that the specific time in the past is not important or we don't need a specific time. For example, "She has moved in recently".  So, my question is  when you the native speakers say "When has she moved in?" meaning that you don't care about specific time or you don't need an answer with a specific time?  when you the native speakers say "When did she move in?" meaning that you care about specific time or you need an answer with a specific time?


Maybe I'm doing something wrong, but shouldn't the commands (run separately) notify-send -t 1 "test" notify-send -t 1000 "test" notify-send -t 10000 "test"  have different timeouts? The first being nearly instantaneous, the second taking 1 sec and the third 10 seconds? In all cases it seems to take about six seconds for me. Is there a way around this behaviour? As the developers label this as a "feature" instead of a bug, I would like some alternatives.


I always wonder how this dynamic site content index very fast?

I am new to this field.Actually I am learning PHP/MYSQL.Five min before I asked a question in StackOverflow.And when I googling this suddenly my question appears.How does StackOverflow index very fast in google.I have PHP site which is indexing by google.But not all pages.Seriously How to do that.


Pronunciation of street/road/avenue/etc. names

About three decades ago I read a book on English usage that was already quite old at the time—I think it was a 1940s book—which pointed out a pronunciational habit that I hadn't noticed before. The word "street" in any location name would have the stress on the other word—BOND Street, OXFORD Street, DEAN Street—while with any other kind of generic topographical descriptor it would be the other way round: Hyde PARK, Leicester SQUARE, Angel LANE, Dollis HILL, Edgware ROAD, Portland PLACE, Crouch END.   The book limited itself to UK referents, but it seemed to me the same was true elsewhere. In the US people would say, FOURTH Street, TENTH Street, etc, but Madison AVENUE, Times SQUARE, Central PARK, Dealey PLAZA. And I think all other English-speaking countries followed the same rule. It was even true of fictional names with a figurative purpose: GRUB Street, EASY Street, but Fat CITY, Lonesome ROAD, Tin Pan ALLEY...  But I wondered whether it was still true today, or completely true. Because I do notice one strange pronunciational development, which I think of as the "leftward-drifting stress". This is more noticeable in the US than elsewhere. I've seen pre-war American films where people can be clearly heard talking of cigarETTES and magaZINES, in contrast to modern renderings, CIGarettes and MAGazines. More recently, we've had olive OIL and soy SAUCE becoming OLIVE oil and SOY sauce. One of the clear-up crew after the Twin Towers attack spoke of "powdered CEment" (and he wasn't even from the south, where you might expect it). And only last week I heard a news report mentioning PAKistan and BANGladesh. There seems to be this trend of shifting stresses leftwards of where they are supposed to be, and I wondered if this might start infecting the pronunciation of the kind of place names I listed above. Is anyone tempted to say, "I visited TIMES Square"?


For which rings can elements be written as a finite product of irreducible elements?

For which rings $A$ can elements be written as a finite product of irreducible elements?    I feel like this is true for almost all rings I have ever encountered, but when do I know that I can write any nonzero nonunit element of $A$ as a finite product of irreducible elements? (I am not assuming the product is unique here.)  In particular, if $A$ is an affine $k$-algebra can I always do this? ($k$ algebraically closed field)  Thanks!


Adding a glossary entry for an unreferenced term

I am using the glossary package.  I want to include terms in the glossary that are not referred to in the text.  That sounds weird, but it's not --- the terms are actually included in a figure, and I don't intend to write about them in the body of the text, but rather refer my reader to the glossary.  How can I force the inclusion of a term in the glossary without using the \gls command or otherwise referencing the term in the text. I took a look at the manual but it was not clear to me how to accomplish this even in light of that info.  thanks


Change DNS to Coudflare 1.1.1.1 on Ubuntu 16.0.4 Server Hosted On AWS

I'd like to take advantage of the recent Cloudflare 1.1.1.1 DNS service on my Ubuntu 16.04 based server. Any ideas how can I implement it permanently?   The reason is that   /etc/resolv.conf   changes automatically and as the file states we shouldn't edit it manually.   What the best way to do so, for both ipv4 and ipv6?


What is an extended partition? Why do I need to use it to install Ubuntu if I already have four partitions that are factory installed?


A difficulty in understanding the universal property of modules.

The property is given below ( from Dummit & Foote) but I have a difficulty in understanding why it is universal property and what is its importance or when usually we use it?and why the function must be bilinear to apply the universal property as mentioned in the example below? could anyone explain this for me please?     Here is an example for using it (but I do not understand why and how it is used? could anyone explain this for me please?):


Mouse wheel scroll causes zoom in/out in Google Chrome

When scrolling using the mouse wheel scroll in Google Chrome, there is about 25% chance it would zoom in/out as if I have pressed the Ctrl key.  Disabling my mouse gesture extension reduces the chance to only about 2%.  I have tried various extensions and noticed some mouse gesture extensions seem to make it a bit worse than the others. I am guessing the problem is with Chrome or its extensions.  I believe it is not my hardware or software.   It happens in Chrome on both my Windows 7 desktop computers at work and at home It never happens in Firefox on either computer (I use both browsers) I tried turning on "Show location of pointer when I press the CTRL key" so I know if the Ctrl is pressed accidentally - it never was. I don't have AutoHotKey or anything similar installed on Windows.   Is this a Google Chrome bug? Is there a workaround?  UPDATE: I installed AutoHotKey to nullify Ctrl+scroll.Ctrl+scroll now does nothing, but scrolling normally still often zooms.


View list of all available unique icons with their names and thumbnail

I want to see what icons are installed and available on my system and by which names I have to refer to them.   How can I get a nicely formatted list of all unique icons (don't show several resolutions separately) that contains the icon name, a preview thumbnail, the location and maybe if possible where it came from (e.g. which icon theme package)?  System: Ubuntu 15.10 Wily Werewolf 64 bit Desktop: Unity


Is it possible to use 'Find' across \included files?

I am hoping to write a long(ish) article and was going to use \include thus enabling me to work on each section separately. When it comes to indexing I wondered if there was any way to globally search for and find terms to be included in the index or would I need to go through each section in turn. I have tried to do it through the generated PDF - search the PDF and then CMD click the word, it locates it but there seems no way to move to the next occurrence.  Sorry if the question is too basic, I just wanted to make sure before I start.  After more research I suspect the answer is here: . I am only a beginner so I will need to figure out how I can adapt this to work for me. Here is a MWE, but I had to enter all the indexed words by hand I was hoping to be able to find a way to do a global Find (and then replace) to make the index.  \documentclass[11pt{article} \usepackage{makeidx} \makeindex \begin{document} \include{intro} \include{two} \include{three} \printindex \end{document}   The three files are,  intro:  \section{Intro} This chapter will include \index{worms}worms gardens and fleas.   two:   \section{Two} This bit has \index{worms} worms only   three:      \section{Three} Loads more \index{worms} worms here.


I want to know the difference between can I and could i

I am learning grammar and I feel some confusion between the usage of can I and could I. Is there some rule I should use?


"Wikipedia" dictionary does not work even when proxy is set

I'm in China, so wikipedia is blocked. However, before the English wikipedia is blocked, using wikipedia dictionary already gives "wikipedia server is currently unavailable". The wikipedia dictionary still shows "wikipedia server is currently unavailable" when I turn on a VPN, configure a proxy, and went to school where wikipedia can be opened in the browser (so unblocked by a VPN). Why is this the case? How can I fix this problem?


Unfortunate deleting binary command file

I deleted "chmod" by mistake using "sudo rm chmod". What is the way to recover the chmod command? Is it 'a no way to do it' operation? I'm using Mac OS X Yosemite.


We all know that there is a sentence "He is a very man". In this sentence I suppose that "very" refers to "man":noun. So in this case, very should be treated as an adjective, isn't it?


My calender screenshot :    How I can change to English day names or other things?


I am trying to create template using c++

I have a problem with linker. I am trying to create template Tree but since I'm having some problems with using templates (my first time) I decided to do a "test template program". I have been looking for anserws before posting and tried some solutions posted on the forum but none has worked for me. Here is the test program:  .h file  #pragma once template <class T> class Node { public:     Node();     Node(T value);     ~Node();     void manualTree(); private:     T data;     Node *left, *right, *parent; };   .cpp file  #include "stdafx.h" #include <iostream> #include "Node.h" using namespace std;  template<class T> Node<T>::Node(T val) {     data = val; }  template<class T> void Node<T>::manualTree() {     Node* root = new Node(1);     root->left = new Node(2);     root->right = new Node(3);     cout << "left : " << root->left->data << endl;     cout << "right : " << root->right->data << endl;     cout << "root : " << root->data << endl;  }  template class Node<int>;   main body  #include "stdafx.h" #include "arithmetics.h" #include <iostream> #include "Node.h" using namespace std;  int main() {     Node<int> n;     n.manualTree();     return 0; }   Here is what i get after trying to call manualTree() function: Severity    Code    Description Project File    Line    Column  Suppression State  Error   LNK1120 2 unresolved externals  zad6 - szablony C:\Users\Piotr\source\repos\zad6 - szablony\Debug\zad6 - szablony.exe   1   1    Error   LNK2019 unresolved external symbol "public: __thiscall Node<int>::~Node<int>(void)" (??1?$Node@H@@QAE@XZ) referenced in function _main  zad6 - szablony C:\Users\Piotr\source\repos\zad6 - szablony\zad6 - szablony\main.obj    1   1    Error   LNK2019 unresolved external symbol "public: __thiscall Node<int>::Node<int>(void)" (??0?$Node@H@@QAE@XZ) referenced in function _main   zad6 - szablony C:\Users\Piotr\source\repos\zad6 - szablony\zad6 - szablony\main.obj    1   1      EDIT:  I have moved everything to the .h file, like they said in the linked post and i still get the same warnings sometimes with a few more. Already tried putting into .cpp file these lines and still not working (with the same warnings):  template class Node<int>;   or  Node<int> n;   new .h file  #pragma once template <class T> class Node { public:     Node();     Node(T value) {         data = value;     }     ~Node();     void manualTree() {         Node* root = new Node(1);         root->left = new Node(2);         root->right = new Node(3);         cout << "left : " << root->left->data << endl;         cout << "right : " << root->right->data << endl;         cout << "root : " << root->data << endl;      } private:     T data;     Node *left, *right, *parent; };


Give permissions to a non-admin user for custom rules components

I have a view, format: table; and a few fields:   Bulk operations: Content Content: Title Content: Price Content: Stock 1 (Stock 1) Content: Stock 2 (Stock 2) Content: Stock 3 (Stock 3) Global: Math expression (Total Stock) Global: Math expression (Total Price)   At Configure field: Bulk operations: Content section SELECTED BULK OPERATIONS i selected Delete item and another 3 options (rules components). These are: new_value_for_stock_1, new_value_for_stock_2, new_value_for_stock_3, new_value_for_price.  Admin user can see all these options (rules components), but a non-admin user (eg. an editor role) can see only Delete item.  Is there a method (trick) to give permissions for a non-admin user (role)?  I enabled Actions permissions (VBO) and in Administration » People » Permissions are displayed only default actions (eg. EXECUTE Delete item). The custom rules components aren' displayed there.


Is there a way to add a timer to a Beamer presentation?

I have seen presentations in Power Point which contain a timer. Can this be done in Beamer using a simple command, or maybe a package? If not a timer, is it possible to at least get a clock on your slides?


First: This is not a question for an assignment!  I have an ellipse given by the equation \begin{equation}   \frac{x^2}{2^2} + \frac{y^2}{1^2} = 1 \end{equation} and the intersection point $(0,4)$ of two tangents to this ellipse.  How do I determine the two tangent points to the ellipse for the aforementioned tangents?


Ibid for citations with same title and page

I use the style verbose-ibid, and I need it to use ibid (without a page number) when the last entry is exactly the same as the previous one (that is, same work, same page).  Right now, for the minimum working example below, the footnotes I get are     Author. Book A, p. 1.   Ibid., p. 1.   However, I need     Author. Book A, p. 1.   Ibid.   How do I do this?  \documentclass[12pt]{book}  \usepackage[backend=biber, style=verbose-ibid]{biblatex} \usepackage{filecontents}  \begin{filecontents}{test.bib}  @book{a,   title = {Book},   author = {Author}, }  \end{filecontents}  \addbibresource{test.bib}  \begin{document}  Here is some reference.\footcite[1]{a} Here is some reference.\footcite[1]{a}  \printbibliography  \end{document}


Git hook to send email notification on repo changes

How do I configure the appropriate Git hook to send a summary email whenever a set of changes is pushed to the upstream repository?


So I already took Pre-Calc, and ended up with a B both semesters. I am an incoming senior in high school. My special-ed case manager won't let me take it because she doesn't want to see me panic (crazy, right?). But, for some reason, I really like math. Is there a way for me to self-teach myself Calculus I or Calc I and II before taking it at college? I already have Humongus book of Calculus Problems and PatrickJMT on YouTube (My favorite math youtube channel).


Let $A\subset B$ be integral domains, and let $b\in B$ be a unit. I am trying to show that $A[b]\cap A[b^{-1}]$ is integral over A.  Let $x\in A[b]\cap A[b^{-1}]$. It suffices to show that $A[x]$ is a finite $A$-module.   $x\in A[b]\cap A[b^{-1}] \implies x = a_0 + a_1b+\cdots+a_nb^n = c_0+c_1b^{-1}+\cdots+c_mb^{-m}$. In particular, $$0=x-x=(a_0 + a_1b+\cdots+a_nb^n) - (c_0+c_1b^{-1}+\cdots+c_mb^{-m})=b^{-m}(a_0b^m+\cdots+a_nb^{n+m}-c_0b^m-\cdots-c_m).$$ Since $b$ is a unit in the integral domain $B$, we get atleast that $b$ is algebraic over $A$. I don't know how to proceed.


Fixing geometry validity errors in QGIS 2?

I am working on ownership data at a US county level. I have one shapefile per county that contains thousands of tax parcels. I need to dissolve the polygons representing parcels owned by the same individual. When the shapefile is not clean, the "Dissolve" tool in QGIS doesn't seem to work, it freezes. I have to fix the geometry validity issues first using the "Check Geometry Validity" tool. However, I have sometimes hundreds of errors. It takes a lot of time to fix them manually. Is there any other strategies that could save me some time?  I am using QGIS 2.4.0.


Haven't found something that addresses my problem specifically.. Writing bash script to quickly get into a box, print what I want to see, and then leave the box if possible.   #!/bin/bash  ssh user@boxname ; cd /data/   This gets me into the box, but neither the echo, nor any directory change commands I input seem to run. I've also tried..  ssh user@boxname && cd /data/   or simply   ssh user@boxname echo "im in"   I have a little experience with bash scripting, but I'm not sure why commands aren't being executed after ssh'ing into the box. Any direction and/or explanation would be greatly appreciated.


What does it mean when a question is grayed out?

I cannot correlate with closure, negative votes, no answers, or any common thread between questions that are grayed out, and those that are not.  One can still open them, and answer or comment at will.    Why do some questions have a different appearance?


How to make a region available to a non-page tpl file?

I'm working with a custom theme (which I did not develop.) We're wanting to add a block to a specific node type, which has a template called node-session.tpl.php. This template prints out all kinds of internal html and php, but is framed by the page.tpl.php file. The node-session.tpl.php contains the code that's printed by the $content variable in page.tpl.php.  I have a new block (created by the AddThis module) that needs to be positioned on the page such that it's nested inside a div created in the node-session.tpl.php. Unfortunately placing the region inside that file doesn't work, and in fact just testing for the variable $add_this itself returns false. According to all the documentation I can find, region variables are available to page template files only. Is there a way I can make the variable available to the node-session.tpl.php file so that I can position the block correctly?


Can a monk make Martial Arts attacks while grappling and wielding a weapon?

I'm planning on playing a grapple-oriented monk in my group's next 5e campaign, and was wondering about Martial Arts unarmed attacks while grappling.  Can a monk grapple a single target, attack them with a one-handed weapon, and then make an unarmed strike off of that attack?  I'm pretty sure I can do so if my non-grappling hand isn't holding a weapon, but I think the rules suggest that I can't do this if my non-grappling hand is holding a weapon.


Regular expression for an email address including .edu TLD

I am writing a regular expression for checking valid email addresses.  "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\.com"  How do I alter this to allow .edu and others?


Irreducible over $\mathbb Q[x]$ but reducible over $\mathbb F_p$ for all $p$

To solve this question I have almost finished the proof but I need a little detail to be rigorous.   Let $K$ be the prime fields $\mathbb Q$ or $\mathbb F_p$. Prove that $$f(x)=x^4+1\in K[x]\space\text {is irreducible over }K\iff K=\mathbb Q.$$


Windows update doesn't progress beyond 0 KB 0%

I have Windows 7 64-bit and the  isn't working properly. What can I do?


How to calculate the attack rolls and ability checks for monsters?

Very new player here. Looking at the stat block of a goblin: for a shortbow attack it says +4 to hit and the goblin has a Dex modifier of +2.   Does this mean I add 6 to the d20 roll or just the 4 and ignore the Dex modifier?  Same with using Stealth. It says Skills: Stealth +6. So would I take 6 and add +2 of the Dex modifier or just add 6 to the d20 of the Stealth check roll?  Thank you!


Show that $(\mathbb{Z}\oplus\mathbb{Z})[x]$ is not isomorphic to $\mathbb{Z}[x]\oplus\mathbb{Z}[x] $ .

Problem says:     Show that $(\mathbb{Z}\oplus\mathbb{Z})[x]$ is not isomorphic to   $\mathbb{Z}[x]\oplus\mathbb{Z}[x]$.   But consider the map $\varphi:(\mathbb{Z}\oplus\mathbb{Z})[x]\rightarrow\mathbb{Z}[x]\oplus\mathbb{Z}[x]$   defined by $$(a_{m},b_{m})x^{m}+\cdots+(a_{1},b_{1})x+(a_{0},b_{0})\mapsto(a_{m}x^{m},b_{m}x^{m})+\cdots+(a_{1}x,b_{1}x)+(a_{0},b_{0})  .$$  It seems a well-defined isomorphism between those rings. So, I think that problem is wrong. Is it okay?


How to do "SUDO UPDATE and SUDO UPGRADE" without errors (NEWBIE)

Just check out the file attached to this link  to understand the situation


I tried to download Ubuntu 16.04 on my Asus Eee PC Seashell (Windows 7 Starter), trial version loaded no problem, but when trying to install Ubuntu, it gives me error message "no root filesystem defined, please correct from partitions menu." I now try to go back to use Windows, but computer doesn't seem to find it even in secure boot. I tried to press F2 or Esc or Del when booting computer, all it does it gets me to Ubuntu. I think donwloading Ubuntu is too much work with all those partitions, so I just want to go back to using Windows, but can't find the way how.


What happened to the Yin half of Kurama?

Did Naruto get both halves of Kurama after fighting Sasuke, or did the other half of Kurama die when Minato was killed?


Trying to recall a book about an alien parasite invasion of a colony world that I read in 1990 - 1991

There's a trade paperback book that I purchased at my college bookstore back in 1990-1991 that really caught my imagination, but I can't remember the title or author to go find it again.  The story revolved around the Hindu crew of a commercial starship discovering an ancient escape pod drifting while illegally traveling in an exclusion zone, in the solar system of a human colony world. The exclusion zone was a former battlefield from thousands of years before, between two other alien races, and is filled with debris and wrecks from the combat. Naturally, things don't go as planned. The parasitic organism, a survivor from the previous war, attacks the crew member spacewalking to investigate, and then starts attacking the rest of the crew. Several crew members escape in a shuttle, trying to get to a nearby world colony.   The parasite cobbles together a missile to attempt to destroy the shuttle, but upon realizing that there's a planet of potential hosts nearby, it also builds it's own escape ship out of parts of the abandoned ship, and follows the survivors. The survivors land at the planets main city and spaceport, but their story about the parasite isn't believed. The pursuing parasite eventually lands and infiltrates the starport, eventually takes over a nearby prison and uses the inmates as biological feedstock for converting them into what was essentially lanky, hivemind humanoid infantry with wrinkly, hound dog features (yes this sounds really weird, but bear with me). Eventually, the humans are fighting a losing battle against a quickly growing insurgency in the colony's main city, pulling back into the mountains and hinterlands to escape. It ends with human ships arriving and glassing the planet with nukes to try to contain the infection.  The alien parasites appearance changes throughout the story; as I recall it resembled a broomstick with centipede legs initially on the Hindu starship, but it eventually infected and converted humans by inserting a converter into their bodies, either through the mouth or anus. This created a weird, thin  human/hound dog like hybrid by rewriting the hosts DNA.( hound dog like, as in long ears and wrinkled snouts and faces with rolls of skin covering their eyes) There is actually a scene in the prison, towards the end where a hive leader is being created by physically joining several humans who become connected at the stomach and morph into a single entity. A lot of body horror elements are involved.  There was a sequel that explored the parasite race's past, but I can't remember it's title either. These books have stuck in my mind for decades... any help in recalling their titles and the author would be great. Thanks


Cannot find first round (May 2020) stimulus check. Is there hope?

I'm not sure if I misplaced it or I never received, but I never deposited my first covid-19 stimulus check that I was supposed to receive May 2020. I paid my federal taxes in 2020. Can it be replaced or is it lost for good? Thanks.


How can I run a CGI script properly in a ec2 instance running an Apache server

I am trying to follow this , but I am encountering some problems with how it is displayed.  I have the following CGI script located in a folder scripts in my html folder that Apache serves to me.     #!/usr/bin/perl  # hello.pl -- my first perl script!  print "Content-type: text/html\n\n";  print <<"EOF";    <TITLE>Hello, world!</TITLE>
Hello, world!
    EOF   When I run this script in the console (with ./hello.cgi), I get the following correct output:  Content-type: text/html     <TITLE>Hello, world!</TITLE>
Hello, world!
      I am trying to access this on my ec2 instance with a URL like this: http://<ec2-address>.compute-1.amazonaws.com/scripts/hello.cgi. However, this is what I see:    It is printing out the HTML correctly, but it is also printing everything else out as well.  What am I doing wrong here? Why am I getting a different output when I run the script on the server versus when I run it on the console in the server?


Is the weak derivative of any function of the form $f(\lfloor g(x) \rfloor)$ $0$ everywhere?

I recently found this thing called a . I think it is what I have been trying to express for quite some time, but it's definition makes it mildly hard for me to prove the following (which is probably quite trivial... or not):     Let $f$ and $g$ be continuous functions and $x'$ denote the weak derivative, then $\forall_{x \in R} f(\lfloor g(x) \rfloor)'=0$.   I am not real sure how to prove it if it is true. The form I gave is my definition of piecewise constant. Mostly, I am concerned on whether or not it is what has this property as I've been trying for quite some time to formally define such a 'derivative'. If it does, then my next thing to ask is whether or not there is an associated weak integral as that is more what I care about.