Finding an association between two methods of medical intervention and a continuous variable

I have here with me, two methods of intervention; a standard care method, and a specialised intervention. Different individuals receive different method, its all randomly allocated. I am trying to find the association of the specialised intervention and a 'well being score' which is a numerical value. What is the best way to find any associations? E.g. logistic regression model?


c# convert string YYYYMMDDTTTTTT to datetime

I am trying to convert a string date into a format for sql datetime.    The format is like: "20140428132222" I think this equates to YYYYMMDDTTTTTT


change height to fill the bottom of the screen

I have created three columns layout as taught , but the problem is that I want the column height to fill upto the bottom of the screen. Here is the code:  <!DOCTYPE html>   <meta name="viewport" content="width=device-width, initial-scale=1">
Three Unequal Columns

Column 1

Some text..

Column 2

Some text..

Column 3

Some text..

      In short I want to change the height of .column, so that the 3 columns extends upto the bottom of the screen.


how can I found/use/make a shader in Blender which allows me to use the textures from Substance Painter? I would prefer to be free.  Thanks


Cant get my compositing to layer my objects quite right

I got this render where i am attempting to get multiple renderlayers to play nice, im trying to get the water and the ships to appear in front of the stars, but for somereason the star-particles wants to be in front of the objects, i have unsuccessfully tried mask-layers and obj-index, but im quite new to this. if anyone has any tips on how to simply ad my 2 new layers to my compositing tree that be tight :)if images are too dark, or if my question isnt understadable ill be happy to explain more :)


Where can I pay professional researchers online to verify my results and answer my questions?

I am looking for professional help to verify some results I am working on and maintaining in a write-up. However, I can't get anyone for free since I was forced to leave my old university, Case Western Reserve, (due to disagreements) and I don't know if I can find an online program that assists undergraduates in their research (I should have graduated my senior year with a bachelor's degree but am technically a freshman. I have studied rigorously up to differential equations; It's complicated). Moreover, professors are busy and would most likely ignore my requests no matter how much money I offer. Therefore, is there a way to pay for professional research help? How can I receive feedback on what I am working on? Details: My field is mathematics. I think the work may be complicated enough that graduate students won't be able to rigorously answer everything. I need someone with a Ph.D. on the level of professors. (Technically, I am working on developing a finitely additive measure and sum that takes the average of functions defined on countably additive measure zero sets. I am looking to verify if my measure and average on a function gives in fact what I am looking for. For reference, the link to my pdf is ).


I have a number of client repositories in Subversion that are now being changed to git. The client does not care about the change history, so what I'd like to do is:   Import/ convert using Bitbucket Initialize a git repository in the current svn-controlled folder Start using git   Is this possible? Is it going to be a giant pain? The only real reason it matters is because I'd like to do this on the servers as well to avoid having to create a new project on each server and re-point the Apache/ Nginx/ etc configuration files.


Is a switches voltage and current rating a hard limit?

I have a need for a switch that can handle 28Vdc at about ~1A.  The switches I would like to use have a rating of 24Vdc at 5A.  I would think that the limit of switch is the power, so if we take a switch at 24V and 5A, then it can handle 120W. My reasoning is that a switch can run at higher or lower voltage currents, so long as its less than the 120W (in this case). A 24V 5A switch can be used for a 28V 1A application.  Is the reasoning behind that correct ? Am I absolutely limited to 24V 5A spec'd by the datasheet ?


Why won't my butter and milk mix when trying to make cream?

I wanted to make a heavy cream substitute.   Here's what I tried:   Melted butter and stored it in a cup.   The pot I melted it in was not washed.  Used the same pot to boil milk.   Afterward, the milk looked yellowish with bubbles on it.  Strained the milk and put it in the refrigerator until it's cool. Added the melted butter to the milk.   They wouldn't mix. They stayed separate like oil and water.     My questions:   Why wouldn't they mix? And how do I get them to mix? Why did the milk look that way? Was it because of the remaining butter in the pot? How can I make use out of this milk and butter?


The number of labelled graphs with all vertices of even degree

I have a graph exam tomorrow, and there is a problem that said number of graph with labeled vertices and all of them of even degree is $ 2^{n-1 \choose 2} $.  According to that topic, it means the number of cut spaces is $ 2^{n-1} $. Well, I don't understand what is cut space yet, and why its count is $ 2^{n-1} $ And don't  know why we should divide the total number of graphs by this!


In an Article  I saw this C++ expression:  object.template fun<arg>()   can anyone explain it?  EDIT: Thanks Mark, I see now that is is indeed a duplicate. But as it is just a side note in a long more comprehensive answer I will just condense the specific answer here in an example.  #include <iostream> using namespace std;  template <typename T> struct A {         T y;         void write()         {                 y.T::template print<int>(); // GOOD:  I have seen often                  y.template print<int>();    // GOOD:  shortcut, I did not know                 y.print<int>();             // ERROR: I have seen this work on old compiler         } }; struct B {         template <typename T>         void print() {cout << "print b" << endl;} }; int main () {         A<B> a;         a.write(); }


Chrome on Ubuntu no longer supports Netflix? Latest update removed Widevine component

Netflix was working fine until an upgrade updated Chrome to version 48.0.2564.82 (64-bit). It first told me to ensure Widevine was set to "always enabled" in chrome://plugins. After checking "always enabled" it now tells me to check for an update in chrome://components, however it is not in the list of components.  I've deleted the Chrome config (sudo rm -r ~/.config/google-chrome) and rebooted to no avail. Other users on Reddit reported the same thing here:   Dist: Ubuntu 15.10 (64-bit)


"Yes" and "yes" are not equating in Java

I'm making a very simple "guessing game" in Java. At the end of my game, I ask the user if he/she wants to play my game again as follows:       System.out.println("Would you like to play again? (Type 'yes' or 'no' into the field)");      Scanner scanner2 = new Scanner(System.in);      String again = scanner2.nextLine();       if (again=="yes") {         local = false;         loopAgain = true;      }       else if (again=="no") {         loopAgain = false;         local = false;      }       else {         System.out.println("Invalid input. Please type 'yes' or 'no' into the field.");         local = true; }   Theoretically, if I type "yes" into the console, the if statement should execute, setting the variable loopAgain to true which activates a while statement earlier in my code. The other variable local also references an earlier while statement.  However, when I do type "yes" (or "no" for that matter) into the console I receive the invalid input message. I know that the variable again is a string, as is the "yes" that I'm implying it should be equal to, so I'm quite confused as to why the first if statement is not executing as it should. This is likely something very simple, but this is my first time ever programming in Java, so I apologize if I missed something really obvious!!  Any help would be greatly appreciated.


I was going through .Suppose that there are n persons who are numbered 1, 2, ..., n. Let there be n hats also numbered 1, 2, ..., n. We have to find the number of ways in which no one gets the hat having same number as his/her number. Let us assume that the first person takes hat i. There are n − 1 ways for the first person to make such a choice. There are now two possibilities, depending on whether or not person i takes hat 1 in return:  A) Person i does not take the hat 1. This case is equivalent to solving the problem with n − 1 persons and n − 1 hats: each of the remaining n − 1 people has precisely 1 forbidden choice from among the remaining n − 1 hats (i's forbidden choice is hat 1).  B) Person i takes the hat 1. Now the problem reduces to n − 2 persons and n − 2 hats.  From this, the following relation is derived: !n = (n - 1) (!(n-1) + !(n-2))  I have a hard time understanding point B and the equation derived. I was trying to understand with an example of 4 people named A, B, C and D and the corresponding hats A, B, C and D. Everyone of them are supposed to wear any hat except their own matching hat i.e. A can wear B, C or D.  If suppose A wears B hat so we will be left with only 3 people and 3 hats. So I can understand "(n-1)!(n-1)" part but what i didn't understand is part B(marked above). Can anyone help?


Is it possible to sneak up on a Force user?

In Return of the Jedi, Luke and Darth Vader both sense each other's presence on the moon. In The Force Awakens, Kylo Ren   senses Han Solo on the Starkiller Base  Is it possible to sneak up on a powerful Force user? Or do you have to be   related to them  or significant to them in some way to be detected? Are there any examples of a Force user not sensing someone (in canon), or any successful attempt at disguising someone from a Force user? To clarify, I am talking about physical presence, not Force ability.   Han Solo doesn't have the Force, but Kylo sensed him anyways


JNI DETECTED ERROR IN APPLICATION: Null pointer in Mapbox android SDK

I was using the mapbox sdk 6.3.0. I can add a polygon to the map and I am enabling the user to drag it by changing the feature and then updating the Featurecollection as follows:  features.set(features.indexOf(oldFeature), newFeature); symbolsSource.setGeoJson(symbolsCollection);   Everything was working fine.  Then I tried to update the SDK from 6.3.0 to 7.3.0 Then all of a sudden while dragging I am getting the following crash(its intermittent but it is frequent)     2019-04-29 17:58:03.119 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542] JNI DETECTED ERROR IN APPLICATION: can't call java.lang.String com.mapbox.geojson.Feature.id() on null object   2019-04-29 17:58:03.119 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]     in call to CallObjectMethodV   2019-04-29 17:58:03.119 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542] "Thread-2368" prio=10 tid=65 Runnable   2019-04-29 17:58:03.119 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]   | group="main" sCount=0 dsCount=0 flags=0 obj=0x1b740000 self=0x763d1b6800   2019-04-29 17:58:03.119 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]   | sysTid=24204 nice=-10 cgrp=default sched=0/0 handle=0x76385da4f0   2019-04-29 17:58:03.120 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]   | state=R schedstat=( 1253639661 195250540 1454 ) utm=117 stm=8 core=7 HZ=100   2019-04-29 17:58:03.120 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]   | stack=0x76384df000-0x76384e1000 stackSize=1009KB   2019-04-29 17:58:03.120 24115-24204/com.app.fr.dev A/stresponder.de: java_vm_ext.cc:542]   | held mutexes= "mutator lock"(shared held)....   There is no log which points to any point in my code. I am hoping this might be a problem with Mapbox SDK, because when I revert back to 6.3.0 its working fine. I am not able to pinpoint the actual issue. Can someone tell me how to actually debug such a crash?   Please let me know if I should provide more info.   Thanks in advance.  Edit: This is not a duplicate of , because this is not happening to my code. It is happening inside the Mapbox sdk as you can see from the log. Also please note that the error thrown is JNI error.


Proving $a^n-b^n=(a-b)\sum_{k=1}^{n}a^{n-k} b^{k-1}$ with induction

How can I prove this using induction. I proved for n=1 but now I'm feeling confused while I'm trying to prove for n+1 because of how the summation develops  $$ a^n-b^n=(a-b)\sum_{k=1}^{n}a^{n-k} b^{k-1} $$  NOTE: I really need to use induction to prove this, that's why the answer of the other question doesn't fit my question...


Where is Tag and Comment information for a particular file stored?

Where is the information stored what Tags I've assigned and what Comments I've added to a particular file or folder in Finder? Is the information stored on the file-level, i.e. if I uploaded a file to any external storage, what this information be retained? Or is this information stored locally and depends on my MacOS installation?


Odd and Even Factors of a Perfect Square

If N is a perfect square, then we know that N has an odd number of distinct factors (because the square root gets counted twice).   However, can we prove that if N is a perfect square, then it will always have an odd number of odd factors and even number of even factors? If N is an odd perfect square, then each factor must be odd and therefore N has an odd number of odd factors and no even factors. However, I can't prove the same for even squares, since factors could be either odd or even, as long as one of the numbers in each pair is even..


I am a young teenager, younger than 16. (I do not want to give my age online)    My dad told me he wants a divorce, but I don't want my parents divorced. My dad says he can't stand my mom anymore.  My dad is older than 45 and my mom is older than 40.    If it happens, I would choose to stay with my mom. My dad can cook and drive, but my mom can't. There's a school bus in high school though.    What can I do to prevent this divorce?


How to choose a fixed position to labels in QGIS 2.14.2?

How can I manually position these numbers for a better position in a polygon layer?


Let $$I_n=\int_0^1 \frac{x^n}{\sqrt{1+x^2}} dx$$ for $n\in \mathbb{N}$ Find $$\lim_{n\to \infty} nI_n$$ My approach: Let me explain my observations briefly. Note that $I_{n-1}-I_n=\int_0^1 \frac{x^{n-1}(1-x)}{\sqrt{1+x^2}} dx \ge 0$ Hence $I_n$ is decreasing.Also $I_n\ge 0$.So, $I_n$ is convergent. Let $\lim_{n\to \infty} I_n =l$ Now $I_n+I_{n-2} =\frac{\sqrt{2}}{n-1} -\frac{2}{n-1} I_n$ (By parts +little bit calculation) Applying limit to the above equation we get, $l=0$. Also from the above equation we have, $(n-1)I_n+(n-1)I_{n-2}=\sqrt{2}-2I_n$. If $J_n := nI_n$, then $\frac{n-1}{n} J_n +\frac{n-1}{n-2} J_{n-2}=\sqrt{2}-2I_n$ Yes I am only now one step away from getting $\lim_{n\to \infty} J_n=\frac{1}{\sqrt{2}}$ But I am unable to prove that $J_n$ is convergent 🙁 Any idea??


What is the difference between defining the iteration variable within a "for" statement vs. before it?

I want to know what the difference is between defining an iteration variable before (outside) the for statement that uses it, as below...      int i;     for(i=1;...)   ...Against defining the variable within the for statement, as below:      for(int i=1;...)


How to create a Windows installation USB in Ubuntu?

I have the need to create a Live USB to install Windows but from Ubuntu, I've tried to emulate the tools that make the same function from windows but I just do not work.  I would be very helpful to know how. Thanks


I have to generate a key, RSA v2 in OpenSSH format. I am a bit confused. I am trying to generate it using Putty Key Generator. There I see an option SSH2-RSA, SSH1-RSA. So is SSH2-RSA the RSA2 key or it means something else?  Also is this key in the OpenSSH format? I see that there is a conversion tab with 2 options: export OpenSSh Key and export ssh.com key. So I am not sure if the keys I have generated are in OpenSSH format.


I try to create a common extent for rasters in QGIS 2.99. Here is my script:  import processing  processing.runalg("script:unifyextentandresolution",                   "/qgis_data/rasters/Image2.tif;                   /qgis_data/rasters/Image1.tif",                  -9999,"/qgis_data/rasters",True)   However, processing.runalg is being used for QGIS 2.99. I need it for QGIS 2.99


BibLaTex: How to shorten list of author groups in cites to "et al."?

Consider the following situation:   The same group of authors has published several documents Only the last author has changed over time     Minimum Working Example (MWE):  \documentclass{article} \usepackage{filecontents} \usepackage[% backend=biber,% style=authoryear,% natbib=true,% maxcitenames=1,% ]{biblatex}%  \begin{filecontents}{bib.bib}      @article{Stiess.1996a,         author = {Stiess, Roger and Mueller, Jacob and Else, Something},         date = {1996},     }      @article{Stiess.1996b,         author = {Stiess, Roger and Miller, Jan and Mueller, Jacob and Barding, Tom},         date = {1996},     }      @article{Stiess.1999,         author = {Stiess, Roger and Miller, Jan and Mueller, Jacob and Sutter, Jaqueline},         date = {1999-10},     }  \end{filecontents}  \addbibresource{bib.bib}  \begin{document}      \cite{Stiess.1996a}     \par\medskip     \cite{Stiess.1996b}     \par\medskip     \cite{Stiess.1999}     \printbibliography  \end{document}     Screenshot of the result:      Description of the issue:  While the bibliography list looks completely fine, the citings inside the text body are way too long: While the first situation works fine with automatic adding et al., I want the same thing to appear in the second and third citings as well (to compress the width of the citings).  How to do so?  Unfortunately maxcitenames=1 does not work due to same author names.


How can I add more storage to my Ubuntu partition without erasing data?

Answers to similar questions don't work for me. I left an unallocated 200 GB from my windows partition. I'm dual booting with Ubuntu. And when I try to give the 200 GB of unallocated space to the Ubuntu partition, I can't. The partition of 200 GB is named "free space" in Spanish, because I don't use it in English.  How can I add it? I'm using the partition tool from the USB installation of Ubuntu 19.10.


Why don't these two variables equal each other?

I'm trying to identify an object based on user input and have no idea why it's not working...  userInput is just a scanner, and allGames is an arraylist of a bunch of 'Game' classes with IDs like S01, S02 etc.    Game gameToChange = null; for (Game g : allGames){         System.out.println(g.getId()); } String gameInput = userInput.nextLine();     System.out.println(gameInput);     for (Game g : allGames){         if (gameInput == g.getId()){             System.out.println("Found it");             gameToChange =g;         }     }   The Game class:  public abstract class Game {      private String identifier;      public Game(String id){         identifier = id;     }      public String getId(){         return this.identifier;     } }   I have the printout for "found it" just so I can check when it's working...but no matter when I enter the correct string, one that matches one which is already printed out, it never equals it.


What is the armor in the RDJ Iron Man's outfit made of?

What kind of material is the Robert Downey Jr. Iron Man's armor supposed to be made from? I know he crafted the prototype from the things he had on hand, but once he was able to build the next one(s) in his own lab, what hi-tech material did he use for the movie armor?


Cluster analysis as a preliminary analysis

I want to produce four groups (high/high, high/low, low/high and low/low) using two continues variables and compare these groups in terms of a few dependent variables. I know that cluster analysis (k-means and hierarchical) is a type of 'end' analysis which is the main goal of the paper to reach such clusters and then discuss the nature of the clusters. However, I am willing to use this technique (k-means by using k=4) as a kind of preliminary analysis to produce the groups. I know that scatter plot and means splits are other alternatives but they have their own disadvantages that cluster analysis may resolve. What do you think?


Why isn't chat integrated within the mobile apps?

I'm simply curious as to why there isn't chat integrated within the mobile apps (mainly iOS).  It's fairly annoying to have the app redirect me to Google Chrome (iOS version) every single time I try to open chat on the iPhone (which is often), and I usually have around ~20 to 30 tabs open after I'm done with chatting.  Also, to be honest, there is no support for iOS in the mobile version of the chat.  Some proposals (if possible):   Add some form of chat integration into the app (for both Android and iOS)   It should be integrated by now, instead of a redirect link.  At least integrate the chat properly for iOS users (it's basically just the webpage, I have to zoom out every time for my message to be rendered properly, and the keyboard blocks out the text)


What is the best way to remove and prevent leaf stains on concrete pavers?

We have a brand new paver stone walkway/patio. To my dismay, I noticed that their were leaf and acorn stains from the oak tree in the front yard. I've learned my lesson and I'm going to try to keep the walkway swept more regularly.  Will these stains go away with enough rain & time? If not, what's the best remedy for removing these stains? What's the best mode of prevention?


How do I time slow cooking to be ready for lunch?

Slow cooker recipes often need to cook for 6 or more hours. As I mainly eat my main meals at lunchtime, that means getting up particularly early to prepare the dish.  Is it safe to delay the start of cooking dishes that use meats such as chicken/beef/etc?  If this is not safe, what process can I follow to have a safe meal ready at lunch without having to cook in the middle of the night?


I'm getting this error declare: -A: invalid option while declaring the following map  declare -A ApiResourcePath_LambdaFunc_Map=( \     [signup]="CreateUser" \     [verify-user]="VerifyUser" \     [login]="Login" \     [change-password]="ChangePassword" \     [forgot-password]="LostPassword" \     [reset-password]="ResetPassword" \     [refresh-token]="RefreshToken" \ )   I didn't find any syntax error here. Why I am getting this error ?


Is it possible to have the Corruption and the Crimson Biomes in the same world?

I was reading on the wiki how there is a chance that the Corruption will be replaced with the Crimson.  I am wondering if when you get a world where you have the Crimson is it possible to also have the Corruption if you bring over corruption seeds from another world and use them. Or would these seeds just get you more of the Crimson?


Min. number of vertices in graph as function of $\kappa(G)$ and $\operatorname{diam}(G)$

Question I found in "Introduction to Graph Theory" by Douglas B. West:     Let $G$ graph on $n$ vertices with connectivity $\kappa(G)=k \geq 1$. Prove that $$n \geq k(\operatorname{diam}(G)-1)+2$$ where $\operatorname{diam}(G)$ is the the maximal (edge) distance between a pair of vertices in $G$   Seems easy and I've seen the answer, too, which goes the same as thought: by taking the vertices the end vertices of the path of length $\operatorname{diam}(G)$, and applying Menger's Theorem. I'm having a hard time understanding one part - it seems like all the paths need to be of the same length for the $n \geq k(\operatorname{diam}(G)-1)+2$ to apply. Am I missing some part here?


can't echo in terminal "bash: /etc/odbcinst.ini: Permission denied"

I have a large setup program that saves hours and hours when I spin up a new machine, but I cannot get one thing to work right now. I want to fill a TD driver required config file, and since it is a special protected file I'm getting a hassle. My python looks like:  #configure webapi driver ODBC_PATH       = os.path.join(HOMEPATH, '/etc/odbcinst.ini') ODBC_SETTINGS   = """\ [FreeTDS] Description = TD Driver (MSSQL) Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so FileUsage = 1"""  call_sp('sudo echo "{}" > {}'.format(ODBC_SETTINGS, ODBC_PATH))   where call_sp is just my way of calling a subprocess but allowing args, like Popen does. I was clueless, because it's failing silently (I don't know till I try to run server) and in the shell I don't get prompted for my pw:  cchilders:~/scripts/setup_scripts/dimensional [master]$ sudo echo "[FreeTDS] Description = TD Driver (MSSQL) Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so FileUsage = 1" > /etc/odbcinst.ini  bash: /etc/odbcinst.ini: Permission denied   cchilders:~/scripts/setup_scripts [master]$ sudo echo "somethin" > /etc/odbcinst.ini  bash: /etc/odbcinst.ini: Permission denied   but sudoing into nano works and I can do it manually:  cchilders:~/scripts/setup_scripts [master]$ sudo nano /etc/odbcinst.ini  [sudo] password for cchilders:    Why can't I fill this ini file with text from terminal, and if it isn't possible, how can I automatically fill in python script? Ty


Gmail is asking for a phone number verification to sign up. I don't have a phone or anyone else's number to give. What do I do?

None of my friends would let me, even if I asked them. And I sure can't ask my parents. Gmail won't create the account without a phone number, and I don't have access to a payphone, much less the number to one. It's driving me insane. Yahoo won't work either.


How can I get the source code of a Python function?

Suppose I have a Python function as defined below:  def foo(arg1,arg2):     #do something with args     a = arg1 + arg2     return a   I can get the name of the function using foo.func_name. How can I programmatically get its source code, as I typed above?


Justification for low/high or tertiary splits in ANOVA

I have two groups of participants and they all took the same measurements.    When I perform a median split on one of the measurements to test my hypothesis about an interaction, the dependent variable fails Levene's test for equality of variances.  When I perform a teritary split, it passes Levene's test - both when I am comparing only high and low thirds and when I compare all three thirds too.     There are main effects and interaction effects in all of the ANOVAs that I have run, but only the 2x2 ANOVA fails Levene's test for significance, neither of the 3x2 ANOVAs fail.    How is this possible?


How to remove Birthdays from Google Calendar

How to delete Birthdays from Google Calendar? There is no link in Calendars settings, which allows to unsubscribe from Birthdays calendar in Google Calendar.


Are there good reasons to avoid using color in research papers?

I do scientific research, and I noticed for a lot of plots, the different curves are represented with different styles, but they are all black.  For instance, one curve may be a solid line, one may be a dashed line, one may be a dotted line with triangular markers, etc.  However, this makes it hard for me to differentiate between the curves.  Color is much more effective for helping people distinguish between data (and I’m taking a data visualization class that has research to prove it).  So... can I do this in my research article?  I imagine most people are keeping their plots black and white because of printing restrictions on color, but at the same time they include colors in all kinds of other figures in their document.  Also, how many people actually read printed articles anymore?  For scientific work, I look all of it up online.  Are there good reasons for me to stick with this backwards black-and-white scheme?


I am trying to learn Blender. While trying to render a subdivided plane with an image texture applied to it, the subdivision edges are not removed in the rendered result.  Kindly, advise, why these edges appear in the render.


Prove that if $k\ge 1\,$ and $\,a^k\equiv 1\pmod{\! n}$ then $\gcd(a,n)=1$

Let $p$ be a prime such that $a^p-1 \equiv 0 \pmod{p}$. Prove that $\gcd(a,p) = 1$.   We know from Fermat's Little Theorem that $a^{p-1}-1 \equiv 0 \pmod{p}$ if and only if $\gcd(a,p) = 1$, but how do we use this to solve the question?


java.lang.NoClassDefFoundError: org/apache/derby/jdbc/ClientDriver, have included derbyclient.jar in build path

I have encountered this error in eclipse, attempting to connect to my database.  I have looked at these suggestions:      However they all seem to suggest including derbyclient.jar into build path for your project, which I have.   java.lang.NoClassDefFoundError: org/apache/derby/jdbc/ClientDriver     at datasource.DBConnection.getDBConnection(DBConnection.java:38)  my database connection:  private static final String DB_CONNECTION = "jdbc:derby://localhost:1527/database;create=true";  private static Connection getDBConnection(){    try {          DriverManager.registerDriver(new org.apache.derby.jdbc.ClientDriver());          Connection dbConnection = DriverManager.getConnection(                         DB_CONNECTION, DB_USER,DB_PASSWORD);         return dbConnection;      } catch (SQLException e) {          System.out.println(e.getMessage());      }     System.out.println("Connection problem");     return null;  }


Searching a keyword in multiple pdf files

I want to search for a specific keyword in multiple pdf file using pdftotext command. Normally we can search inside a single pdf file using the following command:  pdftotext file.pdf - | grep keyword   But what we wil have to do if we want to search in multiple pdf files?


Powers of infinite cardinals in the generic extension

Let $\kappa, \lambda,\theta$ be infinite cardinals of $M$ where $M$ is a transitive model of ZFC. Let $\mathcal{P}=Fn(\kappa\times \omega,2)$ (finite functions from $\kappa\times \omega$ to 2) and G is a (M,P)-generic set. I want to show $(\lambda^\theta)^{M[G]}=(max(\kappa,\lambda)^\theta)^M$. One direction is easy $(\lambda^\theta)^M \leq (\lambda^\theta)^{M[G]}$ and $(\kappa^\theta)^M\leq (\kappa^\theta)^{M[G]}\leq ((2^\omega)^\theta)^{M[G]}=(2^\theta)^{M[G]}\leq (\lambda^\theta)^{M[G]}$ where $(\kappa \leq 2^\omega)^{M[G]}$ is by the forcing construction. But now I am not quite sure how to get the other direction. Any thoughts?


Is it ethical to submit a paper with the name of a co-author who cannot be contacted?

The paper in question is based on research my collaborator X and I did together some months ago. Our respective contributions to the research were around 2/3 for X and 1/3 for me. In terms of the actual text of the paper, X wrote about 1/3 and I wrote about 2/3.   During the writing of the actual paper, X decided to leave academia. I can no longer contact X: emails to the old address go undelivered and there is no forwarding address for physical mail. Attempts to find X through web searches and contact X through mutual acquaintances have been unsuccessful. X has thus not seen a complete draft of the paper, only the sections that were actually written by X.  In these circumstances, is it ethical for me to submit a paper with X's name on it, without a complete version having been checked by X and without X's approval?  If I do submit it, should it contain a note of the fact that X was unable to check the completed paper? I am considering the hypothetical possibility that I could have inadvertently introduced an error while writing the complete paper (and such an error might survive through peer-review and into publication); responsibility for such an error should be mine alone.   There is no possibility of separating out my contribution into a separate paper. Either the work has to be published as a whole or not at all.  I am in a field where alphabetical listing of authors is standard, so there is no question of the order of authors.


How to migrate /var back into the main partition

I have two harddisks, mounted on / and /var  I need to migrate the /var partition back into the / partition.  What are the steps required to do this?


Ubuntu 12.04 login returns me to login manager, how to diagnose?

This started with me adding a graphics card to my system.  When I booted up, ubuntu complained that the graphics config had changed, and gave me a terminal session.  I copied /etc/X11/xorg.conf.failsafe to xorg.conf, and that gave me the standard graphical login manager.    Nw, when I try to log in the screen goes blank for a second, then returns me to the login manager.  It tells me when I give it a deliberately bad password, so I know I'm authenticating.  When I go across to a virtual terminal, I find that nothing in my homedir has been modified, except for ~/.dmrc if I've tried a different login mode. rAs a result, my usual resort of consulting ~/.xsession-errors is unavailable.  Other accounts like "Guest Session" are able to log in without problems, just mine fails.  I have tried moving my ~/.xsession and ~/.xsessionrc to ~/xsession{,.rc}.bak, no effect.  I've looked at /var/log/{syslog,auth.log,kern.log,Xorg.0.log}, and nothing interesting appears there when I try to log in...  I've tried all the suggestions in the following earlier questions:          What else can I try to diagnose this?    I think for now, I am going to work from a different account, but that is going to be a bit of a hassle.


Is the Lie bracket of two vector fields well defined?

I want to understand what exactly means to ask the question if the Lie bracket $[X,Y]$ of two vector fields $X,Y\in \mathcal{XM}$, where $\mathcal{M}$ is a differentiable manifold, is well defined.    What does it mean conceptually that the Lie bracket is well defined?  How could I prove that indeed it is well defined? Can I do it use it a specific basis, say, $e_x = \partial/\partial x$ and $e_y = \partial / \partial y$?


what does "Google to pay Apple $12B to remain Safari's default search." mean?

I could not understand this part of the sentence : "Google to pay". I googled it by typing "Subject + to + verb" but could not find anything. Thanks in advance for your answers.


permutation group and cycle index question regarding peterson graph

A symmetry of graph $X$ is a permutation of the vertices that also happens to be a permutation of the induced edges. In particular, the distances between vertices are preserved by a symmetry. Show that the set of symmetries of $X$ is a permutation group of $\operatorname{V}(X)$. Compute the cycle index of the group for the Petersen graph.   Alright I am super confused. I have no idea how to even start. Can someone point me in the right direction. How do I show that something is a permutation group? How do I compute the cycle index of a graph?


When using the package lettrine.sty, I have noticed an annoying interference between drop caps and floats.  \documentclass[10pt,a4paper]{article} \begin{document} \usepackage{lettrine} \usepackage{wrapfig} \title{My title} \maketitle \begin{wrapfigure}{r}{0.5\textwidth}     \vspace{-20pt}     \begin{center}     \includegraphics[width=0.4\textwidth]{image.jpg}         \end{center}         \vspace{-20pt}         \caption{\textit{My caption}         \vspace{-10pt} \end{wrapfigure} \section{My text} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. %\lettrine[lines=3,slope=0pt,nindent=1pt]{L}{orem} ipsum dolor sit... \end{document}   This LaTex seems to compile fine, however as soon as I add a drop cap to the first word, the LaTex starts behaving weirdly and I get the body overlapping with the image. Here's how it looks:


Is it safe to consume expired Perilla seed oil?

My parents bought a few perilla seed oil that I had no awareness of and found that it is expired already by around 1 year 1 month. I tried to smell it, it still smells good without any rancid odour. Is it still safe to consume? I have heard that it is extremely easy for perilla seed oil to oxidise. If it is not safe to eat, then is it usable in somewhere else? As light oil? Or anything? I just want to avoid throwing it out while it could be used in some other ways.


Prove by induction $\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{n}\ge\frac{2}{3}n\sqrt{n}$ for all positive integers

Assumption: $\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}\ge\frac{2}{3}k\sqrt{k}$   Prove true for $n=k+1$ $$\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}+\sqrt{k+1}\ge\frac{2}{3}(k+1)\sqrt{k+1}$$  I'm upto :$$\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}+\sqrt{k+1}\ge\frac{2}{3}k\sqrt{k}+\sqrt{k+1}$$after which I'm stuck.


What dried food can I take across the American border from Canada?

We will be driving from Banff to Glacier National Park while on our camping trip and I was told to be careful with taking food across the border. We don't eat meat so that's one less issue and I already know that many fresh fruits/veggies can get complicated so I'm only thinking of taking dry stuff across (mostly grains but possibly also dried veggies).  My plan at first was to stock up at BulkBarn in Calgary since they have tons of stuff and you can just take what you need but I'm afraid that since the packaging is generic and unsealed that it might cause more problems. What are the criteria to be able to take dried food across the border?


Is there any way, to not use the padding or to skip the padded bytes when writing to a file?

I'm working with an ARM processor Cortex-m4, STM32L476RG Board.  I have read about the padding might be the reason to a bigger size of the struct, than what actually inside the struct.  But, I would really like to get the exact size of 68 bytes to the struct instead of 72.  Anyone have an idea on how to get the right sizee?  Consider the following struct:  struct data {   double Latitude;            // 00-07   double Longtitude;          // 08-15   float HorizontalAcc;        // 16-19   float Altitude;             // 20-23   float AltitudeAcc;          // 24-27   float SpeedInMS;            // 28-31   float SpeedAcc;             // 32-35   float Heading;              // 36-39   float HeadingAcc;           // 40-43   int Data;                   // 44-47   unsigned long PacketNumber; // 48-51   int64_t y;                  // 52-59   int64_t x;                  // 60-67 }; // size 8 + 8 + 7*4 + 4 + 4 + 8 + 8 = 68   The thing is that I need to write these data bytewise into a binary file, and the padding ( after PacketNumber ) ruining it.. Is there anyway, to not use the padding or maybe to skip the padded bytes when writing to a file?


I wrote a driver for a remote filesystem (mounts a Google Drive, similar to the way SSHFS mounts a remote server).  It's super useful as an alternative to dropbox or ubuntuone.  It is now getting stable enough to leave my PPA server and be considered for mainstream use.  I would like to have it be considered as a standard apt-get installable package, rather than one that requires manually adding my PPA.  What are the steps required?


How to only append to clipboard (but not overwrite current data)?

I have a rather large file, I need to copy the entire contents somewhere, but when I scroll down the page all the data I have selected becomes unselected. I could just copy and paste block by block, but I would find it much easier as there is a lot of data, to just be able to append the contents to the end of the current clipboard data. Is that possible?  That is so that I can have a keyboard shortcut which will enable me to copy this to the clipboard:  I am some nice new text.   When this is what is already there:  I am the old text.   And have it look like this when pasted:  I am the old text. I am some nice new text.   So there are 3 things that I would really like from this (I would have 3 separate keyboard shortcuts to do this):   Append the data to the end of the clipboard and have it put in a RETURN before it (as shown in the example above). Append the data to the end of the clipboard but have it so that there is not RETURN before it so that it would continue on on the same line initially. Have all this but so that the data is put at the beginning of the clipboard before all the data which is currently there.   I am running Ubuntu GNOME 16.04 with GNOME 3.20.


I'd like to calculate $\int_{-1}^1(1-x^2)^n\ dx$, but I have no idea how. After searching through this website, I found out that we can transform the integral into Beta function, by using substitution. However, I'm having trouble finding the right substitution. I tried using $x = 1 - 2t$. Then the integral becomes $$-\frac{4^n}{2}\int_{3}^{-1}t^n(1-t)^n\ dt.$$ What's inside the integral is similar to Beta function. But the boundaries are not. It should have been $$\int_0^1t^n(1-t)^n\ dt.$$ Any idea what substitution should I choose?


I installed IntelliJ IDEA 13.1 and Oracle JDK 1.8 on Ubuntu 14.04 x64 but when I launch IntelliJ IDEA the font is not ideal.  How I can change the font?


How do you use `switch` in C# to conditionally branch based on only a type parameter?

My context is that I'm building a simple factory method for creating instances of derived types of a given base type.  The factory method only takes a type parameter, i.e. doesn't have any arguments.  This is obviously possible with an if-else if construct:  public Vehicle Create<T>() {     if (typeof(T) == typeof(Car))         return new Car(); // just an example; could be more complex logic.     else if (typeof(T) == typeof(Truck))         return new Truck(); // just an example; could be more complex logic.     else         throw new ArgumentException(             $"The type {typeof(T).Name} is not known by this method."); }   It's well-known by now how to use pattern matching in C# (as of C# 7.0) to branch based on the type of a variable but this doesn't work for a type parameter:  switch (T) { ... } // error: "'T' is a type, which is not valid in the given context"   or...  switch (typeof(T)) {     case Car c: ...      // err: "An expression of type 'Type' cannot be handled by a pattern of type 'Car'" }   So I'd like to know if it's possible to use switch to achieve the same result?    Research: I'm surprised this hasn't been asked before, but I can't find it.  I found  which has a name and a few answers that come pretty close but it's dealing with (numeric) value types and methods that have an argument of type T -- the generic type parameter.  Similarly,  also uses an argument.


I am reading "The Essential Cosmic Perspective" by Jeffrey O. Bennett, Megan O. Donahue, Nicholas Schneider, Mark Voit. In Chapter 14, it is stated that an evidence of the presence of dark matter in our galaxy is that the rotational curve does not match that obtained from calculation. In the calculation, the following formula is used $$M_r=\frac{rv^2}{G}$$ where $M_r$ is the mass enclosed inside a radius $r$ from the galactic center.  My understanding is that the above equation is a result of the shell theorem. But we know that shell theorem applies to spherically symmetric mass distribution only, and most galaxies are disks. So why can we still do this?


Why did the quality of terminators increase from movies 1 to 3?

I have seen only the first three movies, so I don't know whether the other movies/TV series deal with this question or not. My main point is that in the movies, the terminator that travels back furthest in time is of the worst quality, and the quality increases with the time travel (meaning they travelled from a later time). What is a good explanation for this?  Note: I am not interested in the obvious not-in-universe explanation that they wanted something better and bigger for each new movie.


Let $p$ be a prime number. Let $R$ be the subset of all rational numbers $m / n$ such that $n \neq 0$ and $n$ is not divisible by $p$. Show that $R$ is a ring. My Proof-trying. $R1$. Associativity for under addition is clear. $R2$. $\dfrac {m} {n}+0=0+\dfrac {m} {n}$, so there exist the identitiy element for under addition. $R3$. $\dfrac {m} {n} + \dfrac {-m} {n}=\dfrac {-m} {n} +  \dfrac {m} {n}$, so there exist inverse element. $R4$. $\dfrac {m} {n} + \dfrac {m'} {n'}=\dfrac {m'} {n'}+\dfrac {m} {n}$, so commutativity. So $R$ is an additive abelian group. $R5$. $\dfrac {m} {n} ( \dfrac {r} {s} + \dfrac {t} {v})=\dfrac {mr} {ns} + \dfrac {mt} {nv}$ and $( \dfrac {r} {s} + \dfrac {t} {v})\dfrac {m} {n}=\dfrac {rm} {sn}+\dfrac {r} {s}+\dfrac {tm} {vn}$ $R6.$ $R$ is associativity for under multiplication, clear. $R7.$ $1 \dfrac {m} {n}=\dfrac {m} {n} 1 = \dfrac {m} {n}$, so there exist identity element for under multiplication. Can you check my answer? If false, can you write true answer?


Generated $\sigma$-algebras with cylinder set doesn't contain the space of continuous functions

Consider $\mathbb R^{[0,1]}$ the space of all functions from $[0,1]$  to $\mathbb R$  and the cylindrical sigma algebra $\mathcal B$  on it. The question is: how to prove that $C[0,1]\notin \mathcal B$.


Are there olives in the Star Wars galaxy?

In Season 3, Episode 10, "Heroes on Both Sides" of Star Wars: The Clone Wars, Padme says:  "...to extend an olive branch...".  How are there olives in Star Wars? I know that you can slip up when saying things like this; "hold my beer" instead of an in-universe drink, "on the other hand" instead of paw, etc. But have olives ever been shown in Star Wars, and if so are/were they associated with peace, or is this just a slip-up using a real-world expression?


Is there a GUI to edit the PATH variable?

There's a GUI in Windows to edit the path variable. I was wondering if there's something equivalent in Ubuntu to do the same.


The feeling of always wanting newer possessions?

I am looking for a word that describes the emotion or feeling of an intrinsic want of a new and better possession. Covetous or envious seem a bit too focused on the other other person's possession of the desired object whereas I am looking for something that is defined by the internal thoughts we have when seeing an advertisement for the latest iPhone or life-changing new service.    but I am wondering if there is a word with less emphasis on the second entity? Otherwise, would I covet new things from Amazon or Apple? Can I be envious of corporations?  For example, I just bought a new car and now, looking at my slightly out of date television, I feel the need to upgrade my T.V. with a newer, shiny one from Amazon. Would I be coveting that T.V. which Amazon sells?     I saw the ad for the latest iPhone, the iPhone 3000, and feel that my current phone is inadequate. I am a(n) ______ person, since I always desire something better than what I currently possess. If I was a caveman with a sharpened stick, I'd want your sharper, pointier stick.   I feel like there is probably some niche German word for exactly this, but I'm unsure it exists in English. Thanks!


Author data not coming up in Google search

I was trying to add author information for search. I followed  link and did everything in option 2. Added ?rel=author and added my blog in my Google+ account. But even after re submitting for index from Google webmasters author info doesnt come up. I have tested this through the Rich snippet testing tool in Webmasters account and everything seems fine and I do see a dummy result showing full info. And it also says rel=author markup has successfully established   So what am I missing out here ?  EDIT: Ok after long time it did come up in search results last week, but now its not coming up ? Is it related to traffic to site(which is not too bad) ?


Single word request - describe a research is important

For example, we can say "important research ", "foundational research", "meaningful", "influential", "impactive", or "imperative". But those words are either far too common or too weak. What is a better choice?   I remember something like "se***m***ntic".


If $p$ is an odd prime, prove that $1^2\cdot3^2\cdot5^2\cdots(p-2)^2 \equiv (-1)^{(p+1)/2} \pmod p$  Then $$1^2\cdot3^2\cdot5^2\cdots(p-2)^2={1/16} (p-2)^2(3p-1)^2\tag{1}$$   Now since $p$ is odd then $(p+1)/2$ is even and $(-1)^{(p+1)/2}=1$.  Now I tried substract $1$ from $(1)$ to find out if the result is a multiple of $p$. But I can't get the answer any suggestions.


Is there a way that Fury was not himself since the beginning of the MCU?

As we know from the post credit scene of Spider-Man: Far From Home      Fury is not Fury but Talos the Skrull from Captain Marvel impersonated Fury.   Is there any clue in all the MCU that could tell us that Fury was impersonated since the beginning? And by "beginning", I mean for every movie which took place after the event of Captain Marvel.  I think for example of the scene in Captain America: Winter Soldier, when Fury uses a second eye to unlock the S.H.I.E.L.D files.      Could it be Talos impersonated another important eye?


How to have different materials assigned to same mesh gradate into each other (without using a mapping node)

I would like to be able to assign grass and dirt to certain parts of the mesh and have them gradate into each other instead of having a hard edge, just like in this video:     The plugin shown in the video itself is not available to be downloaded. I was wondering if there was another way I could achieve the same effect.  (edit)  I'm including an image to describe exactly what I'm trying to achieve. In the video, the blender user has a plugin which allows him to assign the textures to the faces, and the textures gradate automatically. I heard that this was possible without the use of the plugin, but I wasn't sure how to achieve it.


How can I get the Ubuntu shell on Windows 10 to recognize a connected android device?

I'm trying to connect adb to my Android device in the Windows 10 Ubuntu shell, but it doesn't seem to be working:    adb does work normally on Windows, so it's not a problem with the phone or the connection.  Do I have to do something like mount the port in the Ubuntu shell?  How?  (The goal is to pass logcat to grep, which would obviously work better in Ubuntu.)


I am curious about the following diagram:     The image implies a circle of infinite radius is a line. Intuitively, I understand this, but I was wondering whether this problem could be stated and proven formally? Under what definition of 'circle' and 'line' does this hold?  Thanks!


I have an array which has a few columns, and each of the columns contains again an array. The problem is that the three arrays are vertically aligned with respect to the center. How to align them on the top?  Here is a simple example  \documentclass[12pt]{amsart} \begin{document} \[\begin{array}{llll} \begin{array}{|l|l|l|} \hline a& b& c\\ \hline 1&1&0\\1&2&3\\ 4 & 5& 6\\ \hline\end{array}& \begin{array}{|l|l|l|} \hline a& b& c\\ \hline 1&3&4\\1&2&3\\  4&5&6\\ 7&9&8\\ \hline\end{array}& \begin{array}{|l|l|l|} \hline a& b& c\\ \hline 1&2&5\\1&2&3\\ \hline\end{array}\end{array}\] \end{document}   which gives    but I would like to have something like this:    Thanks for your help.


What does "cpu MHz" field mean in the /proc/cpuinfo of a hyper-threading cpu?

The CPU is a i7-3770@3.40GHz. It has 4 cores and each core has 2 threads. Here is the dmidecode output:  # dmidecode -t 4 # dmidecode 2.9 SMBIOS 2.7 present.  Handle 0x0042, DMI type 4, 42 bytes Processor Information     Socket Designation: SOCKET 0     Type: Central Processor     Family: <OUT OF SPEC>     Manufacturer: Intel(R) Corporation     ID: A9 06 03 00 FF FB EB BF     Version: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz     Voltage: 1.1 V     External Clock: 100 MHz     Max Speed: 3800 MHz     Current Speed: 3400 MHz     Status: Populated, Enabled     Upgrade: <OUT OF SPEC>     L1 Cache Handle: 0x003F     L2 Cache Handle: 0x003E     L3 Cache Handle: 0x0040     Serial Number: Not Specified     Asset Tag: Fill By OEM     Part Number: Fill By OEM     Core Count: 4     Core Enabled: 4     Thread Count: 8     Characteristics:         64-bit capable   It will be 8 logic core in a system, like what shows in /proc/cpuinfo. But can any one tell why the cpu MHz of a core is 1600MHz? I guess there is 2 threads in a core, so a hw thread freq may be about the half of the core's? How this number is calculated?  processor   : 7 vendor_id   : GenuineIntel cpu family  : 6 model       : 58 model name  : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz stepping    : 9 cpu MHz     : 1600.000 cache size  : 8192 KB physical id : 0 siblings    : 8 core id     : 3 cpu cores   : 4 apicid      : 7 initial apicid  : 7 fpu     : yes fpu_exception   : yes cpuid level : 13 wp      : yes flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips    : 7013.49 clflush size    : 64 cache_alignment : 64 address sizes   : 36 bits physical, 48 bits virtual power management:   Also, here is the output of lshw and lscpu command. There are also 1600MHz mentioned.   lshw info:  #lshw -class processor   *-cpu                           description: CPU        product: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz        vendor: Intel Corp.        physical id: 42        bus info: cpu@0        version: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz        slot: SOCKET 0        size: 1600MHz        capacity: 3800MHz        width: 64 bits        clock: 100MHz        capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid cpufreq   lscpu info:  #lscpu Architecture:          x86_64 CPU op-mode(s):        32-bit, 64-bit CPU(s):                8 Thread(s) per core:    2 Core(s) per socket:    4 CPU socket(s):         1 NUMA node(s):          1 Vendor ID:             GenuineIntel CPU family:            6 Model:                 58 Stepping:              9 CPU MHz:               1600.000 Virtualization:        VT-x L1d cache:             32K L1i cache:             32K L2 cache:              256K L3 cache:              8192K


CSS ::after styling affecting vertical alignment

I have three lines of text describing a user, which are centrally aligned.    Now I seek to add an icon to the username, which I have done using ::after styling in CSS (see below).   However, this then is considered when centering the first line. What I'd ideally like is for the username to be aligned centrally with the rest of the text and to then place the icon to the right of that without affecting the alignment at all.   How can I do this?   HTML

 David Wood

 Teacher

 d.wood@school.ac.uk
   (part of my) CSS  .user-name p::after {   content: '';   background: url('homeimages/dropdown-black.png') left center no-repeat;   vertical-align: middle;   background-size: 10px auto;   padding-left: 20px;   padding-top:-20px;   white-space:pre; }


Reference Request: Generalized Linear Models

I am looking for an introductory to intermediate level book on Generalized Linear Models. Ideally, in addition to the theory behind the models, I would want it to include applications and examples in R or another programming language - I hear SAS is also a popular choice. I intend to study it on my own and so it would help if it provided the answers to its own exercises.   You can assume I have taken the traditional year-long courses in calculus and probability theory. I am also familiar with the basics of regression analysis.


How to decode play Blu Ray .mkv video format file?

System OS version & player media:Ubuntu 20.04 TLS amd64 of VLC&Kodi ;Windows 10x64 of PotPlayer e.g:  Installed VLC and its Blu-ray support on Ubuntu. I have used both Ubuntu and Windows and cannot parse the video. How can I do codec play for mkv video?


How common are arXiv delays? (putting a paper on hold status?). I have recently (yesterday) submitted my first paper on arXiv, it was supposed to show up a while ago, however the status of the paper was changed to on hold. How common is this? Also is it because I'm submitting my first paper on arXiv? Also how many days does it generally takes for the paper's announcement after on hold?


How do I use a particular font for a small section of text in my document?

The standard font packages make global changes to the fonts in my document. What if I want to use a particular font for just a portion of my text?   How do I find the right name of the font? How do I select the font? How do I restrict the scope of the font change?     There are separate answers for different flavors of TeX (quick links):


Is there a way to restrict a user's access to scp only (ie no ssh access)?

I don't need the user to have ssh access. They should only be able to copy files using scp. Is this possible?


Significance of Regression Intercept (R lm model)

Question:  Having performanced a linear regression in R with the lm function, I'm not sure how to interpret the results for the Intercept (as shown below).   It seems the probability of the intercept's relevance is low (i.e. Pr(>|t|) is 0.845, and higher that 0.05). Does this mean I should drop the intercept from the model by forcing it through zero? Alternatively, does it mean that I should still keep the intercept but recognise that it's not significant?  Output:  Call: lm(formula = DI ~ II)  Residuals:  Min       1Q   Median       3Q      Max  -0.23960 -0.03306 -0.01116  008724  0.20568   Coefficients:             Estimate    Std. Error   t value   Pr(>|t|) (Intercept) -0.07952    0.39953      -0.199   0.845 II           0.86381    0.04593      18.809   8.23e-11 *** --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1   Residual standard error: 0.1346 on 13 degrees of freedom Multiple R-squared: 0.9646, Adjusted R-squared: 0.9618  F-statistic: 353.8 on 1 and 13 DF,  p-value: 8.23e-11    Additional Background Information My overall aim is to find a relationship between two datasets of mass that I have. So, if I have a value for DI, I am able to find out the corresponding value of II.


Show only polygon of interest in Atlas, QGIS

I'm using Atlas Generation in QGIS to produce a sequence of maps based on the features of a polygons shapefile. Atlas works very well for this purpose but, even though it does iterate on the features (polygons) of the shapefile, more than one polygon may be visible. Is there a way to have only the polygon of interest active when using the atlas.


Excluding Specific Feature classes from ModelBuilder iteration?

I am creating a model the will iterate through the feature classes in the dataset.   It will select attributes from each feature class, the only issue is, two of the feature classes will cause a break in the process due to being void of the attribute.   Is there a way to exclude the two said feature classes from the iteration?


Let $f:D\rightarrow\mathbb{R}$ be continuous. Define $|f|:D\rightarrow\mathbb{R}$ by $|f|(x)=|f(x)|$. Prove that $|f|$ is continuous.

Let $f:D\rightarrow\mathbb{R}$ be continuous (i.e. it is continuous at each point in D). Define $|f|:D\rightarrow\mathbb{R}$ by $|f|(x)=|f(x)|$. Prove that $|f|$ is continuous. Intuitively this makes sense and you can write the proof as follows: Let $\phi:f(x)\forall x<0$ and $\theta:f(x)\forall x\geq0$. Since $f$ is continuous, we know that $\phi$ and $\theta$ are continuous. Now if $\phi$ is continuous, then so is $-\phi$, meaning $-f(x)$ is continuous for all $x<0$. It then follows that $f(x)$ is continuous for all $x\geq 0$. Thus, $|f|$ is continuous. But I want to know if it is possible to prove continuity of this function using either of the definitions of continuity: Deinitions:  Let $f:D\rightarrow\mathbb{R}$. $f$ is s-continuous at $x\in D$ provided that for any sequence $\{x_n\}$ with $\lim_{n\rightarrow\infty}x_n=x$ then $\lim_{n\rightarrow\infty}f(x_n)=f(x)$.  Let $f:D\rightarrow\mathbb{R}$. $f$ is $\epsilon\delta$-continuous at a point $x\in D$ provided that for any $\epsilon>0$, there exists a $\delta>0$ such that $|y-x|<\epsilon$ implies $|f(y)-f(x)|<\epsilon$.


Why would a photon striking an electron "make both recoil"?

Why would a photon striking an electron "make both recoil" as I read in an answer to another question. If the photon is massless, how can it make an electron change momentum?


Extra space in citation brackets when in footnote

I'm facing a rather weird problem (at least for me). I'm trying to get the reference in my PhD thesis right, and what I would like is the following:   citations are displayed as footnotes, and they also appear at the end in a general bibliography; the footnote apex is the corresponding number of the reference; the reference in the footnote is a shorter version of the one in the general bibliography: name, journal, volume, date (essentially it just lacks the title entry).   I was able to get it right by means of the answer given in , reported here:  \documentclass{report}  \usepackage{filecontents} \begin{filecontents}{biblio.bib} % biblio.bib @Article{paper1,   author =       {John Smith},   title =        {A title},   journal =      {A Journal},   year =         {2010} } @Article{paper2,   author =       {John Doe},   title =        {A paper},   journal =      {Another journal},   year =         {2009} } @Article{paper3,   author =       {Yuppie Networking},   title =        {My paper},   journal =      {The best journal},   year =         {2000} } \end{filecontents} \usepackage[english]{babel} \usepackage{csquotes} \usepackage[style=numeric-comp]{biblatex} \usepackage[colorlinks=false]{hyperref} \usepackage{manyfoot}  \ExecuteBibliographyOptions{citetracker=true,sorting=none}  % Citation footnotes: use \footnoteA \DeclareNewFootnote{A}  % Vanilla footnotes: use \footnoteB \DeclareNewFootnote{B}  % Number of each bibliography entry in brackets \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}  \makeatletter  \newtoggle{cbx@togcite}  % Citation number superscript in brackets \renewcommand\@makefntext[1]{%   \iftoggle{cbx@togcite}     {\@textsuperscript{\normalfont[\@thefnmark]}\enspace #1}     {\@textsuperscript{\normalfont\@thefnmark}\enspace #1}%   \global\togglefalse{cbx@togcite}}  %--------------------------------------------------------------- % Mostly verbatim from Joseph Wright % http://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/  \DeclareCiteCommand{\sfcite}[\cbx@superscript]%   {\usebibmacro{cite:init}%    \let\multicitedelim=\supercitedelim    \iffieldundef{prenote}      {}      {\BibliographyWarning{Ignoring prenote argument}}%    \iffieldundef{postnote}      {}      {\BibliographyWarning{Ignoring postnote argument}}}   {\usebibmacro{citeindex}%    \usebibmacro{sfcite}%    \usebibmacro{cite:comp}}   {}   {\usebibmacro{cite:dump}}  \newbibmacro*{sfcite}{%   \ifciteseen   {}   {\xappto\cbx@citehook{%    \global\toggletrue{cbx@togcite}%    \noexpand\footnotetextA[\thefield{labelnumber}]{%      \fullcite{\thefield{entrykey}}\addperiod}}}}  \newrobustcmd{\cbx@superscript}[1]{%   \mkbibsuperscript{\mkbibbrackets{#1}}%   \cbx@citehook%   \global\let\cbx@citehook=\empty}  \let\cbx@citehook=\empty  %---------------------------------------------------------------  \makeatother  \addbibresource{biblio.bib}  \begin{document} \chapter{Title} \null\vfill\noindent Vanilla footnote.\footnoteB{Vanilla footnote text.} First citation.\sfcite{paper1} Second citation.\sfcite{paper2} Vanilla footnote.\footnoteB{Vanilla footnote text.} First ``multi'' citation.\sfcite{paper1,paper3}  \printbibliography \end{document}   which gives  and bibliography   I slightly modified it in order to remove the title from the footnote, by adding:  %avoid displaying the title in the footnote reference. \AtEveryCitekey{% \ifentrytype{article}{     \clearfield{title}% }{} }   and what I get is indeed what I want, but in the apex of the footnote there is now an extra space before the reference number:    that apparently I am not able to get rid of. Maybe it's just something stupid I'm not seeing, could anyone give me any suggestion?  Thanks,  Fabrizio


How to find files that contain one criterion but exclude a different criterion

I have a tree of source code and I am looking to find all files that contain a certain word and must not contain a second word. This, because I need to update older files to include some newer code.  I know I can use find, but I feel like if I try to chain grep statements it won't work because the second grep statement is going to be searching the results of the first and then I got lost.  I tried:  find . -type f -name "*.c" -exec grep -Hl "ABC" {} \; | grep -L "123"   And this totally did not work. Any help would be appreciated.


What do you call a person who is polite but deceiving?

I remember a quote from a while ago that went somewhere along the line x is saying ´fuck you´ to a person but making them feel flattered   It's a quality that makes somebody polite, manipulative and tactful.


Will installing Ubuntu erase all the data from the existing Windows, despite using VirtualBox?

I have Windows 10 and now I want to install Ubuntu using VirtualBox. While installing Ubuntu, I'm getting a warning saying that to install I need to erase the disk, which will automatically will delete all the files and documents in all operating systems. So, how can I install Ubuntu while keeping all my files & documents safe?


Is there a convenience constructor in C++?

Is it possible for an overloaded constructor to somehow call another constructor within the class, similar to the code below?  class A { public:     A(std::string str) : m_str(str) {}     A(int i) { *this = std::move(A(std::to_string(i))); }      std::string m_str; };   The code above works, yet I am afraid that calling this in the constructor might lead to undefined behavior.  If it does could you please explain why and also suggest a better alternative?


We're asked the number of elements in a power set and I for {} is the number of elements 1 or 0?


Construct an Injection between the set of rationals $\mathbb{Q}$ and the set of all integers $ \mathbb{Z}$

Construct an Injection between the set of rationals $\mathbb{Q}$ and the set of all integers $\mathbb{Z}$ .  Answer:  Define $ f: \mathbb{Q} \to \mathbb{N} \ $ by $ \ f\left(\frac{p}{q}\right)=|p-q|+1 \ $ , where $ \gcd(p,q)=1$  Clearly $f$ is an injection.  Next, define $ g: \mathbb{N} \to \mathbb{Z}$ by $  g(n)=n  $  Then $ g $ is also an injection.


Used and available df values don't add up to the correct size

I just did a df to check the disk usage on a new 16.04 installation and noticed the following result.  The used and available on /dev/sda2 don't add up to the partition size.  Even if I do 836120968-14720428-778903724, the result doesn't seem to match others.  Can anyone help me interpret why the available is much less than total - used?  FYI, I partitioned a 1TB disk fully into 4 partitions sda1-4.  I also disabled the swap since I have enough memory and don't want the swapfile on the SSD.  Filesystem     1K-blocks     Used Available Use% Mounted on udev            32800684        0  32800684   0% /dev tmpfs            6565404     9840   6555564   1% /run /dev/sda2      836120968 14720428 778903724   2% / tmpfs           32827012     8240  32818772   1% /dev/shm tmpfs               5120        4      5116   1% /run/lock tmpfs           32827012        0  32827012   0% /sys/fs/cgroup /dev/sda1         523248     4756    518492   1% /boot/efi /dev/sda3       29282528    24912  29257616   1% /fat32 /dev/sda4       97305376       32  97305344   1% /ntfs tmpfs            6565404       40   6565364   1% /run/user/1001


Traveling with 2 passports due to 3 month validity but visa on a different passport

I have a bit of a convoluted question.  My child has a Canadian and US Passport but travels with her Canadian passport since  it has a valid Chinese visa in it (we currently reside in China). We are traveling to Spain this month but her Canadian passport has less than 3 months validity in it (Spain requires at least a 3 month validity in order to enter the country). She has a US passport with a longer validity period.   Would it be possible to EXIT China using her valid (but almost) expired Canadian passport with a valid China visa in it but then ENTER Spain with her American passport? Then EXIT Spain with the American Passport and RE-ENTER China with her Canadian passport and valid China visa?  In Essence: Enter and Exit China with her almost expired Canadian Passport with Chinese visa Enter and Exit Spain on her US passport with extended validity


Generate a log of all the installs on a system (whether apt-get/yum/pip/npm/...)

Is there a command (or specific syntax for history command) that generates (to screen or file) a log of all the installs on a system (whether they were through apt-get/yum/pip/npm/...).  If possible, can it be sorted by the user who installed them so that it can be determined if they were installed Global or Local.  Thanks


Prove by contradiction that every integer greater than 11 is a sum of two composite numbers

I have thought a lot but am failing to arrive at anything encouraging.   First try: If this is to be proved by contradiction, then I start with the assumption that let $n$ be a number which is a sum of two numbers, of which at least one is prime. This gives $n = p + c$, where $p$ is the prime number and $c$ is the composite number. Also, any composite number can be written as a product of primes. So I can say, $n = p + p_1^{e_1}.p_2^{e_2}...p_k^{e_k}$. From this, I get $n - p = p_1^{e_1}.p_2^{e_2}...p_k^{e_k}$, but I have no clue what to do next.  Second try: For an instant let me forget about contradiction. Since $n > 11$, I can say that $n \geq 12$. This means that either $p \geq 6$ or $c \geq 6$. Again I'm not sure what to do next.  Finally, consider that the number 20 can be expressed in three different ways: $17+3$ (both prime), $16+4$ (both composite), and $18+2$ (one prime and one composite). This makes me wonder what we are trying to prove.  The textbook contains a hint, "Can all three of $n-4$, $n-6$, $n-8$ be prime?", but I'm sure what's so special about $4, 6, 8$ here.


I tried to simplify this as much as possible just to understand what's happening but it's still not working. It doesn't show any errors, but nothing gets added to database.  The bootstrap file:  class Connection {     public static function make($config){         return new PDO(             $config['connection'].';dbname='.$config['name'],             $config['username'], $config['password'], $config['options']         );       } }  class QueryBuilder {     protected $pdo;      public function __construct($pdo){         $this->pdo = $pdo;     }      public function insert($table, $paramater, $value){              $statement = $this->pdo->prepare("insert into $table ($paramater) values($value)");         $statement->execute();     } }  return new QueryBuilder(Connection::make($config['database']));   Other file after post request:  $query = require 'bootstrap.php';  $query->test('todos', 'description', 'lorem ipsum');     My $config array is this   return [   'database' => [     'name' => 'mytodo',      'username' => 'root',      'password' => '',      'connection' => 'mysql:host=ip',      'options' => [ ]    ] ];


What command do I need to unzip/extract a .tar.gz file?

I received a huge .tar.gz file from a client that contains about 800 mb of image files (when uncompressed.) Our hosting company's ftp is seriously slow, so extracting all the files locally and sending them up via ftp isn't practical. I was able to ftp the .tar.gz file to our hosting site, but when I ssh into my directory and try using unzip, it gives me this error:  [esthers@clients locations]$ unzip community_images.tar.gz Archive:  community_images.tar.gz   End-of-central-directory signature not found.  Either this file is not a zipfile, or it constitutes one disk of a multi-part archive.  In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. note:  community_images.tar.gz may be a plain executable, not an archive unzip:  cannot find zipfile directory in one of community_images.tar.gz or community_images.tar.gz.zip, and cannot find community_images.tar.gz.ZIP, period.   What command do I need to use to extract all the files in a .tar.gz file?


My ceiling fan does not work. I have a ceiling fan light and the fan does not turn. It just hums but the light works.  What can be the problem?


Two-step Ubuntu installitaion: first - together with win 10 and later - Ubunty only?

I just wanted to shift to Ubuntu, while now I stick to Win10. Installation gives me an option to run it in parallel with Windows Boot Manager (or what's the name of that one?..).  My question: can I shift to Ubuntu in 2 steps? First - along with Windows, carefuly transfer all my data via cloud storage, ensure all password and sensitive info gets on Ubuntu and works well and then wipe Windows completely?   Will I be able to erase windows from Ubuntu? Would be be error prone or there is a reliable way to achive needed effect? May I mess both systems up?


Adding blank pages when generating multiple copies of a document

I'm generating multiple copies (right now, 2, but a general solution would be nice) of a letter with minor variations using datatool. I just realised that if I'm printing it double-sided. and if the number of pages is odd, then the last page of the first letter is back to back with the first page of the second letter. Is there a good way to add an extra blank page as necessary. Do I need to add an MWE for this?


Is there a way to execute SQL statement based on SQL Server version?

I would like to create computed index on a table if SQL Server is 2008 or newer and a simple index if SQL Server is 2005 or older:  -- check for sql server version if (select cast(left(cast(serverproperty('productversion') as varchar), 4) as decimal(5, 3))) >= 10          CREATE unique nonclustered index ix1_table             ON table (column1, column2)             WHERE column1 is not null and column2 is not null         ELSE             CREATE nonclustered index ix1_table                 ON table (column1, column2)   The problem is that the whole statement is evaluated and on SQL Server 2005 this throws an error:     Incorrect syntax near the keyword 'WHERE'.   Is it possible to somehow create different index based on SQL Server version?


Reference Request: Abelianization of free product is the direct sum of abelianizations

I am interested in the result above, and would like to study a textbook that delves into it deeper.  However the standard algebraic topology textbooks (e.g. Hatcher/Munkres) and standard algebra books like Hungerford do not contain this result.  Is there any suitable book that I can consult? Thanks!


Last seen time for Whatsapp contact not showing anymore

Is there any reason - other than being blocked - that I wouldn't be able to see a WhatsApp contact's "last seen" time any more?


I need to find these settings in blender 2.8. When you add new object (Blender 2.79) you have this object settings, down left. But in version 2.8 I can't find it.  I need to change sphere segments in blender 2.8.  Thanks for your help.


blender image showing transparent on cube

As I place an image texture onto a cube, the cube renders transparent, you know those black & white checkerboards.


"I'm well" vs. "I'm good" vs. "I'm doing well", etc

The greeting How are you? is asking How are you doing in general?  —     How are you?   I'm well. [Misunderstood the question.]   because well as an adjective which means:     in good health especially after having suffered illness or injury   This would be an answer to How are you doing physically, how is your health?  —     How are you?   I'm good.  [Misunderstood the question.]   because good as an adjective means:     having moral excellence or admirableness   This would be an answer to      How would you describe your character, superman?    I'm good.   —     How are you?   I'm doing good. [Grammatically incorrect.]   because good is an adjective, not an adverb.  —     How are you?   I'm doing well. [Correct.]   because well is an adverb describing how you are doing.     How are you?   I'm doing fine. [Correct.]   because fine is an adjective which means:     being satisfactory or in satisfactory condition     Why do so many people say one of the first three responses?


Word/phrase to describe a person who always searches to benefit from other people?

What is a formal word/phrase that describes a person who always searches to benefit from other people?  It is hard to recall the word in my own language to translate. So I decided to give it a try and ask here.  I prefer adjective


Let $A$ and $B$ be real symmetric matrices. Suppose that for all integers $k\ge1$ we have  $$ {\rm tr}((A+B)^k)={\rm tr}(A^k) + {\rm tr}(B^k). $$  Prove that then, $AB=0$ (the converse is clearly true as $A$ and $B$ are symmetric). Note: this question is NOT a duplicate of a resembling question asked on this forum. We do NOT suppose that   $$ {\rm tr}((xA+yB)^k)=x^k{\rm tr}(A^k) +y^k{\rm tr}(B^k). $$ for all $x,y$ real, but ONLY for $x=y=1$.


Why did Dumbledore drink the potion in the attempt to get a Horcrux?

When Albus Dumbledore  finally reaches the island with Harry Potter and finds out that you can't get near the potion, he made a cup and drank it. Why couldn't he just have poured the potion on the "floor"? Why couldn't he have made a big cup to hold almost everything inside the basin?


How to make `man` work for shell builtin commands and keywords?

I use the man command all the time when I want to get information about a specific command. But this doesn't help me too much when that specific command is a shell builtin. For example:  man cd   returns:  No manual entry for cd   My question is: it is possible to make man also work for all shell builtin commands (like cd, alias, history, etc.),  and keywords (like if, while, [[, {, etc.)?


I don't want 3D printing to show up in 'my websites'. I am using the Android app. How can I remove that site?


Does an Enhancement bonus on clothing become an Armor bonus?

Given this discussion I had  about combining Magic Vestment and Coat of Many Stars:  Targeting what you're wearing would get you two different, non-stacking sources of Armor bonus. –  Zachiel   Things don't need to be armor to grant you Armor bonuses and "a magical effect that mimics armor" is, by definition, not an armor. [...] –  Zachiel   @Zachiel, Magic Vestment gives you an enhancement bonus, so this will stack with the armor bonus of the CoMS. –  rojomoke   @rojomoke No, Magic Vestement would give your dress an Enhancment bonus to their starting Armor bonus of +0, effectively giving you two items with a positive armor bonus. To have them add up you'd need to cast the Vestment spell on the effect giving you the Armor bonus, to increase it thanks to the Enhancement bonus. –  Zachiel  Does an Enhancement bonus turn into an Armor bonus if applied to an article that isn't armor?


If $(x_1, y_1), (x_2, y_2)$ and $(x_3, y_3)$ be three points on the parabola  $y^2 = 4ax$ and the normals at these points meet in a point then how will we  prove that $$   \frac{x_1 -x_2}{y_3} + \frac{x_2-x_3}{y_1} + \frac{x_3-x_1}{y_2} = 0? $$  I tried as follows.  Let the normals meet at $(h,k)$. Then, $$am^3 + (2a-h)m + k = 0.$$  After Solving the equation, $$ x_1 y_1(y_2-y_3) + x_2 y_2(y_3-y_1) + x_3 y_3 (y1 - y2) = 0 $$  Substituting $x_k = y_k^2/4a$ for $k \in \{1,2,3\}$  But I am not getting the result.


Let $G$ simple connected graph on $n$ vertices and assume that both $G$ and $G'$(complement) are planar.   $m$ and $m'$ be the number of edges in $G$ and $G$.   $m+m'$ $=$ $n(n-1)/2$  $m, m'$ $≤ 3n − 6$  $m+m' ≤6n−12$  $n(n−1)/2 =m+m' ≤6n−12$  $⇒$ $n^2 −13n+24≤0$ $⇒$ $n<11$.  Would this be a correct solution?  I have also noticed this only works for connected graphs so I was wondering how would I expand it to disconnected graphs?  Any help would be really appreciated.


Why do we use SSE (the sum of squared errors) in calculations. Why do not we use the sum of errors? Could you explain please?


Confused about the "execute" bit of a directory

I have read that if the "execute" bit is not set on a directory, then you can't set that directory as your process's working directory.  But I don't understand why is that, I mean when you set the working directory of your process, you are only changing a string in your process's memory. So what does setting the working directory of your process have to do with the "execute" bit of a directory?!


Does losing soul heart count as actual damage?

I heard that there's an achievement when you make a complete run with no damage taken.  So my question is if soul heart's damage is actual damage? Does losing soul heart prevent me from getting this achievement?


Who is Snoke and how did he come to power?

With the release of The Last Jedi and related material, do we find out the origins and Snoke's rise to power? How did another such powerful Sith lord hide from Palpatine and quickly after his demise, took his place? The Force Awakens introduces him to the cannon, but leaves his character a mystery to the viewer and now with the new movie, we don't really learn anything new about him () and      he's gone before we get a chance to learn more.   Is there any canon material released around the release of The Last Jedi that tells his story?


Will this hardware work well with Ubuntu?

I am preparing to make a significant investment into a new desktop computer. It will be used for work and play. I would like to see if any embers of the community have used any of the components and if anyone can let me know if these will work ok with Ubuntu.  The system is to support 3 screens as one giant desktop rather than 3 separate desktops. Windows should be able to be moved from screen to screen.  If anyone can suggest superior alternatives(and why they would be superior) that would also be apprecaited  Here then are the components I am buying   Intel Core I5-760 (2.80GHZ)/8MB L3 Cache LGA1156 Processor CI-EVGA P55 LE Motherboard 2 Seagate 1Terabyte SATA Hard Drives Liteon IHAS-224 24x SATA Lightscribe DVDRW CI-EVGA GTX465 1GB DDR5 256Bit Dual DVI HDMI Videocard Creative SB X-FI Xtreme Audio (sound card)   will a sound card enhance music/movie audio or is it a waste?  3 LG 20" (possibly larger) LED (1600/900) %MS/DVI Widescreen   Are LED better than LCD? How large a screen is 'to large' when it comes to work (I am a web programmer)  DLINK DWA-525 150MBPS PCI Wireless Network Adapter Need good advice on a quality webcam that will work without difficulty on Ubuntu Need good advice on a brand of PC speakers that gives exceptional sound quliaty   I should say, I am not overly familiar with the innards of a PC so I have no idea if I have been oversold. I am also limited on the parts I can get (for example the sound card is the only sound card that shop had in stock) though I can order parts if I know what to order.  I need to be able to   Have a multiscreen (3 screen) setup with the ability to move windows between all 3 screens Run compiz fusion Listen to music Watch Movies/DVD Write code


Indicating a name change after publication

My wife has publications under both her maiden name and her married name. How should she indicate that this is the case on her CV, if she wants to mention publications from both time periods?


How do I reset/regain a root password when I din't know it?

I have gotten a laptop with Ubuntu installed on it. I have got an account with a password that I indeed do remember, but when I try to install some things, I cannot install it without entering the root password ( and sometimes sudo or something). The weird thing is that I am able to install a few things like OpenArena and Musescore, but I can't install other games/software like PlayOnLinux. I don't even know what root password means but I've tried entering my user password and it didn't work. The word "root" or "sudo" also doesn't work. I have no clue what this password could be. I got the laptop from someone who I can't contact at the moment. Is there any way of resetting the password or making it visible for me so I can actually do anything on this currently useless laptop? Thanks!


Let $n$ be a number such that $n>3$ and $n$ and $n+2$ are prime numbers. Show that $m=n+1$ is divisible by $6$.

I started with the notion that if $n$ and $n+2$ are prime, then: \begin{equation} \begin{cases} n\mod{2}=1 \\ (n+2)\mod{2}=1 \end{cases} \end{equation} From this I deduced that $(n+1)\mod{2}=0$. So I have that $2|(n+1)$. How to show that $3|(n+1)$?


How can I export my blender file to unity so it saves all materials and textures?


How can I get past the giant spider in Candy Box 2?

I can't seem to find any way to get to the chest.


Use python code to extract all attributes shapefile

I am using ArcGIS 10.2.   How to use ArcPy code to extract every row in the attribute table and save each row to separate shapefiles?


What does string theory predict for the singularity inside a black hole?

The usual explanation for what's going on inside a black hole goes something like "General Relativity predicts a singularity with infinite curvature, but when matters gets so tightly compressed we should expect quantum effects to become important, so the singularity will probably be blurred". Authors then proceed to say that we need a quantum theory of gravity to answer such things, and quickly abandon the subject.  Well, while we don't have an experimentally confirmed quantum theory of gravity, we do have a speculative one, string theory. What does it say about singularities? Are they smeared out like the books say? Do they remain points (or rings for a rotating black hole) with infinite curvature and density? Do we not know?


Where are the rules for creatures attacking creatures immune to nonmagical weapon attacks?

For Druid Wild Shape:     PRIMAL STRIKE Starting at 6th level, your attacks in beast form count   as magical for the purpose of overcoming resistance and immunity to   nonmagical attacks and damage.   For the Monk:     KI-EMPOWERED STRIKES Starting at 6th leveI, your unarmed strikes count   as magical for the purpose of overcoming resistance and immunity to   nonmagical attacks and damage.   The text seems to indicate the ability to bypass magical immunity requires a feature.  Alternatively, I have read that natural attacks and unarmed attacks aren't "weapons," and therefore you should just be able to pummel the Werewolf with your hands if your sword fails:     Melee Attacks (PHB p.195 (or in errata), emphasis mine). The rule on unarmed strikes should read as   follows: “Instead of using a weapon to make a melee weapon attack, you   can use an unarmed strike: a punch, kick, head-butt, or similar   forceful blow (none of which count as weapons).    However the errata for Monster Manual I guess clears that loophole:     Global Damage Resistances/Immunities. Throughout the book, instances   of “nonmagical weapons” in Damage Resistances/Immunities entries have   been replaced with “nonmagical attacks.”   We temporarily ad hoc'd an answer in our game to say the Stirges summoned by the druid were magical creatures(Fey) and hence had magical attacks against the Werewolves, even though they were 1HD(d4).  Now I see the druid made the Fey part up, and they are beasts, but oh well.  What is the real rule here?


Why do you need 25 reputation on Meta Stack Exchange to use chat?

I get the point of having a minimum reputation to use the new chat feature. However, I was hoping my 2K reputation from Stack Overflow would be enough - but it looks like I need to acquire 20 rep here on Meta Stack Exchange.  So my question is - should this restriction be moved?


Is it possible to auto-update selectively? For example, if I want to allow an anti-virus app to update, but no others. Can this be done? Android 4.0.4


Greatest Common Divisor question (involving Bezout's theorem)

Assume $a$ and $b$ are positive integers. Consider the following set of positive integers $$X =\{xa + yb > 0\,|\,x,y ∈ \mathbb{Z}\}$$ (where $x$ or $y$ can be negative or $0$). $X$ is non-empty since it contains both $a$ and $b$. Therefore it contains a smallest element $d$. Prove that $d = \gcd(a, b)$   I have to solve the question above, but I'm not sure how to do it. I think it has to do with Bézout’s theorem, but I have have no idea how to apply it in this particular question. Any help?


What is the default order of records for a SELECT statement in MySQL?

Suppose you have the following table and data:  create table t (     k int,     v int,     index k(k)     ) engine=memory;  insert into t (k, v) values (10, 1),        (10, 2),        (10, 3);   When issuing select * from t where k = 10 with no order by clause, how does MySQL sort the records by default?


Is there a canon explanation for how Proton Torpedoes were able to turn 90 degrees at the end of Star Wars: ANH

Based on this question:    Proton Torpedoes launched from Luke's X-Wing were able to change direction 'on a dime' 90 degrees to get into Death Star's thermal exhaust shaft.  It seems intuitively obvious that the cause of that was technological (since Luke had nowhere near Force training at the time to be able to cause the turn).  Is there any sort of official Canon explanation for how the torpedoes turned?   E.g., was it some capability of torpedoes' propulsion? Forcefields from an X-Wing? Some interplay between a torpedo and Death Star's technology as TangoOversway's answer to that question alluded to being a possibility? Some other mechanism?  Please note that "programmed to turn in advance by X-Wing's targeting computer" is not an answer, as I'm looking specifically for what the mechanism for ability to execute the turn, NOT why the turn happened when it happened.


Should I be able to retract a reopen vote?

Earlier today I voted to reopen a question, but on further consideration decided that it should remain closed.  Since we can now retract close votes, I tried to retract the reopen vote by clicking on the "reopen" link, but instead I just got the "vote to reopen?" dialogue.  (I didn't try clicking "ok"; I assume that had I done so I would have been told I've already voted.)  Is this expected behavior -- we can retract close votes but not reopen votes?


Can AirPods be used “seamlessly” between Mac and iOS devices?

Apple AirPods are supposed to work for iOS devices, Apple Watches and Macs. Apple states that the OS requirements are:     Requires iCloud account and macOS Sierra, iOS 10, or watchOS 3 ().   I am a prospective buyer of AirPods. My question is what the experience is like, when using the same pair of AirPods to switch between an iOS device and  a Mac.   How is pairing/switching done? Can the experience be called “seamless”? Are there any caveats that should be known from a user-perspective?     Note: This is not a buying recommendation question, the goal is to produce an objective description of the pairing/switching process between iOS/macOS devices.


Missing fonts in PDF created and saved in Illustrator -- not outlines, the actual fonts

I have a PDF that is editable in Illustrator. I have to open the PDF in Illustrator and edit individual parts of the document but I am missing the font that is used in the PDF. When I open the PDF in Illustrator, the PDF opens but the font is automatically replaced with a substitute font.  How do I get the original fonts?  Can they be extracted as the original fonts, even though I do not have them in my system?  I need the fonts that were used when the document was created.  Not outlines, the actual fonts.


Is it beneficial/feasible to use kenward-roger/satterthwaite degrees of freedom in generalized estimating equations?

Is it beneficial/possible regarding inferences to use kenward-roger standard errors in generalized estimating equations? I know kenward-roger is used with mixed-effects model when we have n<<p and can't estimate the degrees of freedom correctly as a competitor to REML. Does kenward-roger apply to generalized estimating equations or only gls and lme?


How to prove that if $A$ and $B$ are $n\times n$ matrices then $\operatorname{rank}(A) + \operatorname{rank}(B) \le \operatorname{rank}(AB) + n$

Prove that if $A$ and $B$ are $n\times n$ matrices then $\operatorname{rank}(A) + \operatorname{rank}(B) \le \operatorname{rank}(AB) + n$


Is there a QuickLook preview for plain-text files with unknown extensions?

A similar question was asked  but the answer refers to something called , which only claims to preview files with no extension.  I need something that will show previews of files with extensions that are unknown to the Finder.  They are all plain-text files.  And, it needs to run on Lion (10.7).  To clarify: I'm not looking for a default QL for any unknown extension, but rather for one that will preview certain specific extensions (e.g., .sps, .fort) as plain text.


I'm confused with the terminology that is seen in the : "Specified 3-A Output Current". Does this mean that it will always drive 3A output current or does this mean that it is capable of driving a 3A load where I don't necessarily use 3A (my application only requires about 100mA max)?


Is there a word that describes a parent whose child has died?   Along the lines of "orphan", "widow", and "widower", is there a single word for a parent who has lost a child (of any age)?


How to fix the "an error occurred while processing your photo" message when applying for a US visa?

I'm trying to apply for a B1/B2 US visa through the  but unfortunately can't get past the "Confirm photo" stage as I see the following error:    I've tried to re-upload the photo several times in both Chrome, Android Chrome and IE 11 to no avail. Is there something I can do so that I can complete my application?


How can Bash rename a series of packages to remove their version numbers? I've been toying around with both expr and %%, to no avail.  Examples:  Xft2-2.1.13.pkg becomes Xft2.pkg  jasper-1.900.1.pkg becomes jasper.pkg  xorg-libXrandr-1.2.3.pkg becomes xorg-libXrandr.pkg


Auction servlet- This is a java servlet that waits for 2-3 minutes after the first user made the request.so i need to keep track of time in my servlet. so when the time finishes using some logic it would send response to some users...    Example:  lets say my 10 users are sending a request to my auction servlet, and I want to check that, 2-3 minutes have been passed since that first user made request   and when the time finishes,  using some logic i want to send a response to my some users after 2-3 minutes.    I have tried to use TimerTask in HTTpServelt but got an error of access denied.


Prove that if A is a square matrix with linearly indep columns, then $A^+$ = $A^{-1}$

I have figured out a possible solution and I only need someone to tell me if I'm correct. The solution is the following:  If a matrix has linearly independent columns, then  $A^+$ = $(A^TA)^{-1}A^T$  Therefore, by operating: = $A^{-1}(A^T)^{-1}A^T$ = $A^{-1}$ since $(A^T)^{-1}A^T = I$ So $A^+ = A^{-1}$  Am I right with this proof?   Thank you


I just installed dual-boot (Windows 10 + Ubuntu 18.04). On Windows I have download speed like ~60 Mbit/s on Ubuntu it looks like this:  Download: 0.71 Mbit/s  I tried both: Home WiFi and also mobile hotspot (works the same in both cases)  None of solutions that I found worked for me.  Some info:  Bus 001 Device 009: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter   @Update 1: lspci -knn:   @Update 2: lsusb and lspci results:   SOLUTION: Looks like I fixed this. This helped me:  Thanks @GabrielaGarcia for help. It's still not as fast as on windows but speed is good enough (Download: 25.77 Mbit/s).


How do I get the list of all DuckDuckGo Bangs with categories and history?

Is there a way to get the overall list of all , together with the categories and history of each bang being introduced or modified?  For example, I've noticed a few months ago that one of my sites, , appears on the bang list.  However, today I've noticed that DuckDuckGo must have recently introduced the categories, as a two-level hierarchy, and I could only find my site on the first level "Tech", not on the second level "Programming" where I think it should belong as well, but I couldn't find out any more info (like whether it belongs to any second-level category at all, maybe even a more relevant one that I may have overlooked; I finally found it's at Sysadmin, but this involved a few too many manual attempts at listing each category individually).  Is there a way to see all DuckDuckGo bang sites, together with their categories?    I'm also curious when each site was added, possibly who added it, and, possibly an unrelated question, what's the procedure to modify it, if necessary?  For example, whoever added my site, appears to have restricted the search on it to symbol references (e.g., identifier search), whereas it is my expectations that most people would instead be interested in a full-text search.  (Also, any chance of getting any sort of search statistics?)  The question  is similar to this one, but while that question only asks for a list of bangs, this question is asking for a list of bangs with history and categories.


Static inner class vs non-static outer class

Why inside Main.class to instantiate a Foo class(its inner class) I have to specify it with static keyword but if I make this class as outer it is possible without 'static'?  public class Main {      public static void main(String[] args) {         Foo foo = new Foo();     }  //    class Foo { // to make it work I have to add 'static' //    } }   But if Foo.class is not Inner class of Main.class it works.  public class Main {      public static void main(String[] args) {         Foo foo = new Foo();     }  }  class Foo { }


How to prove that $\lim(\underset{k\rightarrow\infty}{\lim}(\cos(|n!\pi x|)^{2k}))=\chi_\mathbb{Q}$

Possible Duplicate:          Please help me prove, that $$\underset{n\rightarrow\infty}{\lim}\left(\underset{k\rightarrow\infty}{\lim}(\cos(|n!\pi x|)^{2k})\right)=\begin{cases} 1 & \iff x\in\mathbb{Q}\\ 0 & \iff x\notin\mathbb{Q} \end{cases}$$  Seems very complicated, but it's on calc I. I've tried use series expansions of cos, but it don't lead to answer. Thanks in advance!  Edit  Please don't use too much advanced techniques.