how do i save my selfmade favorit color ramp gradient in node editor?

i have created some cool favorite color gradients in the node editor.  i want to save all of these so i can use them again later , also for use in other projects , but where is the save button ?  on the picture you can see the gradient color , but there is no save button near around it . how do i do this ?  to be more specific , in one project i want to be able to choose from hundreds of cool gradients that i have created in blender and have saved these , for later use.  so when i work on a project and i don't like a gradient that i have used , i can go to a list where i have saved my selfmade gradients , and just pick out 1 of them , and than check out a next one , until i find one that i like. just about the same idea how you would do with choosing a right jpg for your texture, you have a folder somewhere , where you saved all your favourite jpgs , where you can choose from and check out which one fits best to your object. image now you can only choose from one JPG texture,  or in the worst case you need to hustle around a lot to try to import a second jpg etc etc .  that is how i feel now with the gradient question . there should be a save and load button somewhere to enjoy working with gradients on your object , just like you would enjoy cool JPG textures on your object. it seems no problem to choose from thousands of cool jpgs. just by one click , and keep going searching until you find your best one that fits here on your object.  if i can't save my cool self made gradients , i have no other choice then wait for an update for this , hopefully soon , maybe did i miss here something , but i have seen no option to load and save cool selfmade gradients. anyone ?  this question has been marked as a double, but it is different in my opinion.  Can I make a custom node from a group and have that available in other projects? that was the other question that has been compared to my question. it is different , because i am not asking for a node combination to save it and use it elsewhere.  my question is how to save a specific part inside the node it self. how to save a favorite selfmade gradient collor ramp. and have these gradients saved in a folder with maybe 50 other different color combinations. that is not the same like how to make a custom node from a group.  because i don't want to make a new node for every color change that i wil make. so there is the difference. so far i only see answer where i can change my gradient when i create new nodes , but this is not gonna be a good solution .  imagine you have to create a new node for every jpg texture that you will import ? i mean in a situation when you scroll through your list ofjpgs and want to test all of them to pick out the best texture. it is easy and quick , with just a click , and the same workaround should be for changing a rollorramp, and go through your list of gradients , where you can choose your favourites to see if it fits your object in your project.  that is not the same thing as creating custom nodes to use in other projects question .  blender has been around for a long time now , it should be there. it is so standard for an app working with gradients.   i am afraid blender is still in the stoneage regards to some specific simple basic functions that should be already updated long time ago .  lets just hope, it will happen someday.  but if i missed something , and someone can point me to an answer i would be happy to hear it .    i am not looking for a complete node combination export , like the other question. and than re-use ,  for each tiny color change that i make,   i need to create a list in a folder next to my jpg texture folders, where i can keep all my favorite gradient colorramp patches and choose them as easy as i choose a new jpg texture.  i guess the answer is No , but it should be yes . anyone agree ?


How to show that a limit diverges to $−∞$

How would you show that $\lim_{n→∞}\ln(1/n)=−∞$ using the definition of what it means to diverge to $−∞$. If I plug in different $n$ I see that it goes to $−∞$, but I don't understand how to show this. Could someone please demonstrate?


160 ohm circuit with only 100 ohm resistors

Can anyone please show, or describe how to get 160 ohm resistance out of a circuit with only 100 ohm resistors, maxium of 5 resistors?  I know it is probably a combination of a series and parallel circuit but can't quite figure it out. Bit of a brain teaser I guess.  Thanks for any help.


In which cases would you say, "I am seeing" instead of "I see"?


Uncountable followed by countable nouns - "is" or "are"?

I have a question about the following sentence:     The only artwork in evidence is/are some Greek vases and terracotta objects.   Is it "artwork" that selects the verb-form (therefore "is"), or "Greek vases and terracotta objects" ("are")?  I know the problem could be solved by saying "artworks", but in the context it's talking about a lack of artwork in the surroundings in general, i.e. wall frescoes, mosaics, carvings etc, so the uncountable "artwork" is more appropriate.


How do I make Ubuntu not require a password to supend?

I use Lubuntu 17.10. I have my desktop set to suspend after 5 minutes of inactivity, but every time I come back, I'm greeted with this error message:  Password required to suspend   Can someone tell me how to solve this?


Product Name: Probook 4540s Operating System: Microsoft Windows 8 (64-bit)  Hi,  HP Probook 4540, Hard disk 500 GB, RAM 4 GB, Video Card integrated simple. DVD ROM/Writer is corrupted.  My brother purchased this laptop like 3 years ago, so the product is not in warranty. He used to sign-in through Hp protect tools fingerprint. Now these tools automatically set password for BIOS users. But he didn't set the BIOS administrator password back then. I tried to set BIOS Admin password thru BCU, it set the password but the option BIOS administrator was still not showing up.  He used laptop for 3 years, now its hard disk is problematic, system was hanging at boot where hp logo shows. I replaced the hard disk with a new one, it booted fine, but when I try to boot it from USB having an operating system, it says no bootable image found. I pressed f9 and to select the USB boot from boot options, there is no other option available then UEFI. UEFI is not working either. I can not get into BIOS as no password for BIOS Administrator was set before using HP protect tools. I can get into BIOS through simple users created by HP Protect tools, but it is not showing the boot options in BIOS.  I also tried this recently "power-button+Window logo key+b"  Hold them for like 3-5 seconds left it, and a message appeared after automatic resetart saying that a system bios recover has occurred. Then I tried to get into BIOS but the simple users are still there.  Please help me solve this issue. Contacting HP support is not possible as the product is no longer in warranty.


Jquery on click not responding to clicks from an appended html element

I have this page  for my wap website. I have several buttons that append a form group to a div with id space. This is the code     The buttons do append the form group as expected but when i try to click the buttons of the appended html element, the on click event handler does not react. This is the code specifically  $('#log').on('click', function(e) {       alert('this connected');        e.preventDefault();        window.loading_screen.finish();       });   How can i have the button click respond to my clicks?.


How to hide auxilliary files under Linux?

pdflatex generates a lot of files that are of no use to me but are important to pdflatex (.aux, .fls, .log, .nav, .toc etc). How can I hide these files, e.g by putting them in some other, global directory? I don't want to see them when using LaTeX normally.  latexmk has the -auxdir option, but it only works with MiKTeX.


Create a wrapper function for malloc and free in C

I am trying to create wrapper functions for free and malloc in C to help notify me of memory leaks. Does anyone know how to declare these functions so when I call malloc() and free() it will call my custom functions and not the standards lib functions?


How to tell which interface the socket received the message from?

If a socket is bound to IN6ADDR_ANY or INADDR_ANY and you use a call such as recvfrom() to receive messages on the socket. Is there a way to find out which interface the message came from?   In the case of IPv6 link-scope messages, I was hoping that the from argument of recvfrom() would have the scope_id field initialized to the interface Id.  Unfortunately it is set to 0 in my test program.  Anybody know of a way to find out this information?


I am writing some equations in latex with   \begin{dmath} equation \end{dmath}   By default the equations are centered. I want to align the equations to start from the left of the page. How can I do it?


Corners of 3D cube extend beyond where they meet / tikz / draw

i figured out how to draw the 3d effect cubes, but now im facing the issue of the border lines extending beyond the points where they meet. i know that by doing "draw=none" i can turn these off, but i prefer the borders. is there an obvious fix for this? (also, I have seen rounded corners, but I'm not wanting to go this route either)  Here's the code:  \documentclass[border=.5cm]{standalone}  \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{positioning}  \begin{document}  \pagecolor{black}  \begin{tikzpicture}[on grid, font=\sffamily, line width=.2mm]  \draw[draw=white, fill=blue!65, yslant=-0.5] (5,5) rectangle (6,6);  \draw[draw=white, fill=blue!95, yslant=0.5] (6,-1) rectangle (7,-0);  \draw[draw=white, fill=blue!45, yslant=0.5, xslant=-1] (6,0) rectangle (7,1);  \end{tikzpicture}  \end{document}     Also, here's a screen grab of the problem (it happens on other corners too):


I frequently use git stash and git stash pop to save and restore changes in my working tree. Yesterday I had some changes in my working tree that I had stashed and popped, and then I made more changes to my working tree. I'd like to go back and review yesterday's stashed changes, but git stash pop appears to remove all references to the associated commit.  I know that if I use git stash then .git/refs/stash contains the reference of the commit used to create the stash. And .git/logs/refs/stash contains the whole stash. But those references are gone after git stash pop. I know that the commit is still in my repository somewhere, but I don't know what it was.  Is there an easy way to recover yesterday's stash commit reference?  Note that this isn't critical for me today because I have daily backups and can go back to yesterday's working tree to get my changes. I'm asking because there must be an easier way!


Degree sequence of a graph has repeated entries

I am trying to brush up my graph theory skills. I have not done any in over 4 years and i am rusty...If someone could help me out with this simple proof i would appreciate it.  Prove that for any graph $G$ of order at least 2, the degree sequence has at least one pair of repeated entries.  So the degree sequence if a list of the degrees of each vertex (usually written in descending order).  I know that the sum of the degrees of the vertices of a graph is equal to $2|E|$ and that the number of vertices of odd degree is even.  If someone could help me out and point me in the right direction I would appreciate it.


Is there any way to use C#-like constructor syntax in C++ when you have multiple constructors for the same class, for example:  class complex { public:     double re, im;      complex(double r, double i)     {         re = r;         im = i;     }      complex():this(0.0d,0.0d)      {      } };   this particular example didn't seem to work, but is there any ?


Still can't have long file paths after enabling them

Ran into the 260 character file path limit today, did some googling and found  article describing how to remove the limit. Followed the steps for group policy (I have Windows 10 Pro) and then restarted.  Edit: looked in the registry path mentioned in the article. The value is already set to 1  However, the problem still occurs, and I can't create the files because the "filepaths(s) would be too long".  I'm running Windows 10 Pro Build 14393.953.


I'm trying to understand how pointers work and I'm stuck at this line  for (p = s + strlen(s) - 1; s < p; s++, p--)   I don't understand p what it's equated to. can anyone help me?  here's the full code.  void Reverse(char *s){     char c, *p;      for (p = s + strlen(s) - 1; s < p; s++, p--){         c = *s;         *s = *p;         *p = c;     } }   int main(){     char ch[] = "!dlroW olleH";     Reverse(ch);     printf("%s", ch);      return 0;  }


Will utilizing a TIP120 transistor to control the power from 2 9volt batteries in series powering a 12volt fan generate heat?

I want to utilize the below circuit to power a 12volt fan with the components listed. I'm concerned though because when I tried to do this with a resistor, the resistor got -very- hot. I understand why but if I utilize the transistor will it cause it to heat up? Does utilizing the transistor result in a more efficient use of power with less heat loss?   Thank you  Circuit diagram and tutorial from here:


I have a math, that is too long for only one line. Now I want it to break like this:  f(x) =      x + ...   Or what is the mathematic right way to break such a long formula into several line?  Thanks for your help!!  P.S.: Its not an equation like   f(x) = x + ...       = ....


Any idea about clarity only not whole effect

only this kind of high clarity any one give idea of it or something similiar to it


Should permalinks be in English on a non-English website for better SEO?

On a Polish website where the title and content of the "Services" page is all in Polish, should I use an English permalink (www.example.com/services) instead of a Polish permalink (www.example.com/usługi) for better SEO?


A South African English teacher (Austrian descent) said we have to use "go back home", not "come back home"? Is he right?

There is a South African English teacher (Austrian descent) said we have to use "go back home", not "come back home"?   Is he right?  I think South African English is different & maybe they have heir own styles.


$0 < \frac{a}{b}, \frac{c}{d} < 1$, when do we have $\frac{a+c}{b+d} = \frac{a}{b} + \frac{c}{d}$?

Given natural numbers $a,b,c,d$, let $a,b$ be coprime with $b>a$ and let $c,d$ be coprime with $d>c$. Define a function $f:\mathbb{Q}^2 \to \mathbb{Q}$ as $$f\left(\frac xy, \frac zw\right)= \frac{x+z}{y+w}$$ Where $x,y$ are coprime integers, as are $y,w$. I have two questions:   Is $f$ in literature? I would like some references for further study. Is it ever the case that  $$f\left(\frac ab , \frac cd\right) = \frac ab + \frac cd$$ ? I have tried lots of numerical examples but can’t find any such $a,b,c,d$.


Can someone help me finish this: evaluate $S_n = \frac{x}{1-x^2}+\frac{x^2}{1-x^4}+ ... + \frac{x^{2^{n-1}}}{1-x^{2^{n}}}$

I am asked to find the closed form solution for the below.  $$S_n = \frac{x}{1-x^2}+\frac{x^2}{1-x^4}+ ... + \frac{x^{2^{n-1}}}{1-x^{2^{n}}}$$  Just writing out the $S_1, S_2, S_3$, I have managed to find a pattern, which is:  $$S_n = \frac{S_{n-1}}{1-x^{2^n}} + \frac{x^{2^n}}{1-x^{2^{n+1}}}$$  I am not sure how to proceed onwards to solve this recurrence relation. Is there a clever trick I can do to solve it?


Overstayed in the US by 4 months and was later refused a B2 visa. How do I increase the chances of succeeding on my next try?

I'm Italian and I wanted to return to the U.S. to meet some friends. The problem is that in 2011 I overstayed my visa by 4 months (so 90 days of regular visa waiver plus 4 months more for health problems). I read that this put me into a 3-year ban.  Now it's 2015 and in March I went to apply for a B2 visa (ESTA was denied), but they refused to give me a visa because I didn't have enough ties in my home country. I took all the proofs so I believe that the denial was actually for the overstay.  I want to reschedule another appointment this month, but I wanted to know if anyone has re-entered the U.S. after an overstay, or if anyone got a B2 visa after an overstay.


Continuous iff composition with every linear functional is continuous

Let $X$ and $Y$ be normed spaces, $T:X \rightarrow Y$ a linear operator. Show that $T$ is continuous if $y' \circ T$ is continuous for every $y' \in Y'$. My idea is the following: Suppose $T$ is not continuous, then there exists a sequence $x_n$ with $\|x_n\|=1$ such that $\|Tx_n\|>n$. If I could assure there is a subsequence $x_{n_k}$ such that $Tx_{n_k}$ are linearly independent I think I could construct an element $z'$ of $Y'$ such that $|(z' \circ T)x_{n_k}|>n_k$.  The first thing is, can I assure the existence of that subsequence? And if I can, how do I conclude applying H-B?  I'd like a solution with this same approach, but if there is a simpler proof i'd like to see it too.


Question:  Show that if $ $ $ k |n \implies F_k |F_n$  $ $  Comments:  I ran into this problem the other day and have not figured it out yet. I think it has something to do with the order of the period of the Fibonacci sequence modulo $m$, for some $ m \in \Bbb{N}$


So, I'll admit, I love point-and-click adventure games. The problem is, I'm terrible at them! I've been staring at this screen in Botanicula for close to half an hour, and I still have no idea what I'm supposed to do with these bouncy little cherry looking guys, and this cone.    What do I do in this area? (Or, have I been wasting my time staring at nothing?)


Is it possible to remove stolen status from stolen items?

I'm a bit of a magpie in Elder Scrolls games and have a habit of wandering off with almost everything which isn't nailed down.  Partly, this is to generate income, but I'm also filling out my extensive collections of books, alchemy ingredients, and… well, .  There are two problems with this habit, however, and both of them relate to that nasty "Stolen" tag:   Your average merchant won't buy stolen goods.  , but I thus far haven't unlocked many fences and my Speechcraft has a long way to go before I can start investing in anyone.  As a result, I have a cupboard in Whiterun filled with many thousands of gold worth of items acquired via the "bucket discount". Even when stored in containers you own, stolen goods are listed in red.  In a large collection, the item list ends up looking like either a zebra crossing or a murder scene.  Not exactly a game-ending problem, but it's still aesthetically displeasing.   Is there anyway to cleanse an item of its "Stolen" status?


Can high power USB destroy older devices?

My brand new pair of bluetooth headphones stopped working after charging them with a 2.1 Amps USB outlet. I can't turn it ON anymore. I do see the LED battery Green then I charge it though. I noticed on the datasheet that the Amps for the headphones are 500mA and I've been charging them with my 2.1A usb plug. Could that have friend the circuitry? I'm not sure how battery works, for from Ohms law, IR=V if V is constant 5V, and R I'm guessing is too, then A could not vary.


GridView sorting: SortDirection always Ascending

I have a gridview and I need to sort its elements when the user clicks on the header. Its datasource is a List object.  The aspx is defined this way :  <asp:GridView ID="grdHeader" AllowSorting="true" AllowPaging="false"      AutoGenerateColumns="false" Width="780" runat="server"  OnSorting="grdHeader_OnSorting" EnableViewState="true">     <Columns>         <asp:BoundField DataField="Entitycode" HeaderText="Entity" SortExpression="Entitycode" />         <asp:BoundField DataField="Statusname" HeaderText="Status" SortExpression="Statusname" />         <asp:BoundField DataField="Username" HeaderText="User" SortExpression="Username" />     </Columns> </asp:GridView>   The code behind is defined this way : First load :  protected void btnSearch_Click(object sender, EventArgs e) {     List<V_ReportPeriodStatusEntity> items = GetPeriodStatusesForScreenSelection();     this.grdHeader.DataSource = items;     this.grdHeader.DataBind(); }   when the user clicks on headers :  protected void grdHeader_OnSorting(object sender, GridViewSortEventArgs e) {     List<V_ReportPeriodStatusEntity> items = GetPeriodStatusesForScreenSelection();     items.Sort(new Helpers.GenericComparer<V_ReportPeriodStatusEntity>(e.SortExpression, e.SortDirection));     grdHeader.DataSource = items;     grdHeader.DataBind(); }   My problem is that e.SortDirection is always set to Ascending. I have webpage with a similar code and it works well, e.SortDirection alternates between Ascending and Descending.  What did I do wrong ?


CSS or Xpath for href element with number

I need to  click on one of many links which are similar the only difference is the number. Can somebody help me with that? (using Java)       I tried these didnt work:  driver.findElement(By.xpath("//a[@href='/edit-files.php?i=26']")).click(); driver.findElement(By.cssSelector("a[href*='/edit-files.php?i=26']")).click();


Why are the Planck charge and Planck mass values so much larger than observed particles?

The Planck charge and mass values seem rather unusual.  Is this an indicator that there is a lack of understanding in current theory, or is there a logical explanation for the magnitude of these two numbers?  I read in a paper by Forsythe, that Planck mass might be the geometric mean between the mass of the smallest possible particle and the mass of the universe.  Could this be correct?


Missing profile images on top users page

I just went to check out the  and was greeted by a nearly empty (of profile pics) page (nearly becasue a few do show up - and it's always the same few)    I just tried this on Chrome, Firefox and Microsoft Edge.  Why is this happening?


Writing linebreak and tab to output file

In LaTex Beamer (MikTex on Win7), I use my own following macro to write to a text file:  \usepackage{newfile} \newoutputstream{comment} \openoutputfile{\myFile.txt}{comment} \addtostream{comment}{FirstLine} \newcommand{\MyNote}[1] {     \addtostream{comment}{#1} }   In my frames, I use \MyNote{my new entry} to add lines  and lateron  \closeoutputstream{comment}   This is convenient, because I can continue the file and close it at the very end of my beamer document.  But I want a tab and a line break to appear in the output file.   The following attempts do not work (they don't cause a linebreak, but the commands appear in the output file):  \MyNote{My line \linebreak My other line} \MyNote{My line \n My other line}   How can it be achieved? Just literally typing a linebreak (enter) whn I sue \MyNote would of course be even nicer.  Edit:  This works  \MyNote{My line ^^J My other line}   But how can I make this work:  \MyNote{My line  My other line}   A big leap:  Basically,  helped me a lot.  The solution is here:  \usepackage{newfile} \newoutputstream{comment} \openoutputfile{\jobname.txt}{comment} \def\MyNote{\begingroup\obeylines\mycommandaux} \begingroup\obeylines \gdef\mycommandaux#1{%   \obeylines%   \def^^M{^^J}%     \addtostream{comment}{#1}   \endgroup% } \endgroup   Line breaks work (as long as \MyNote is called outside a frame), but tabs still don't.


calling methods details like line number, method name and class name in android

I need to display the calling methods details like line number, method name and class name. How to get all those information in android,whenever a method is called in an application the calling method info has to be dispalyed,can anyone help me in solving this...


When are Woodcutters more efficient than refining catnip?

In , you can obtain wood by assigning Woodcutters or refining it from catnip. Is there a simple rule or formula to determine which one is more efficient?  I've heard anecdotes that refining catnip is more efficient up until a certain point in the tech tree, but I haven't been able to find any more details.


Can $f t_1 t_2 \cdots t_n ~u$ be a valid syntax for a term?

If $f$ is a function of arity $n$ and $t_i$ are terms and $u$ is any string of symbols over some specified language $\mathcal{L}$, then can $$ f t_1 t_2 \cdots t_n ~u $$ be a valid syntax of a term My understanding says that it can’t be a valid syntax because even if $u$ is some variable or constant then also it won’t be operated by $f$ because of arity. And if $u$ involves some other function $g$ then it might be against unique readability to not include the functions at left most of the string.


Proving the bijection of a continuous function $f$ such that $|f(x)-f(y)| \geq \log(1+|x-y|) \forall x,y$ in $\mathbb{R}.$

In this question for proving the bijection, I can easily check that this is an injection. But how can one show that this function takes all the real values? by taking $y=0$ I can show that $|f(x)-f(0)| $ can be made as large as required by using the fact that it is larger than the log term. But how can I show that f assumes the negative values as well as the positive ones? Any help is highly appreciated.


Had a question about transit visa for UK

I’m traveling from India to USA in which i got a 15 hour layover at London airport. My flight will land at London at 6 p.m. and other flight will take off at 9 a.m. next day. So an overnight stay. So will I be needing a transit visa? I don't want to get out of the airport.


I want to crate an environment aligning with text margin for Matlab codes like this:   In this image I used to a box, with \begin{verbatim} .... \end{verbatim}, however it is not aligning with text margin. Some tools are provided, however, I cant assemble them.  \documentclass{article} \usepackage{tikz} \RequirePackage[framemethod=TikZ]{mdframed}      % Matlab box \newmdenv[skipabove=7pt, skipbelow=7pt, backgroundcolor=black!5, linecolor=ocre, innerleftmargin=5pt, innerrightmargin=5pt, innertopmargin=5pt, leftmargin=0cm, rightmargin=0cm, roundcorner=5pt, innerbottommargin=5pt]{mBox}  \newenvironment{matlabcode}{\begin{mBox}??????\end{mBox}} % including verbatim (if it is possible) \begin{document}      \begin{matlabcode}   a = w*f;   k = sin(x); \end{matlabcode}  \end{document}


GitHub - What's this "Pro" tag on my profile?

I logged into GitHub today and found something new I hadn't seen before:    What is this, and why did it begin to appear?


I have a class template S1 with two integer arguments:  template <int A, int B> struct S1 { };   I have another class template S2 with one integer argument. In S2 there is a type template My_S1 that specializes S1. It works fine when S1 is instantiated through a specialization of S2 in main:  template<int A> struct S2 {   template<int B>   using My_S1 = S1<A, B>; };  int main(int argc, char *argv[]) {   using S1_a = S2<0>::My_S1<0>; }     But if I try to do this in a third class template as below, I get an error when compiling. Full code:  template<int A, int B> struct S1 { } ;  template<int A> struct S2 {   template<int B>   using My_S1 = S1<A, B>; };  template<int A, int B> struct S3 {   using My_S1 = typename S2<A>::My_S1<B>; // I get an error on this line };  int main(int argc, char * argv[]) {   using S1_a = S1<0, 0>;         // works fine, of course   using S1_b = S2<0>::My_S1<0>;  // works fine   using S1_c = S3<2,1>::My_S1;   // ?   return 0; }   The error I get is the following:  error: expected ‘;’ before ‘<’ token using My_S1 = typename S2<A>::My_S1<B>;                                    ^ error: expected unqualified-id before ‘<’ token


In The Lord of the Rings, we know of the five Istari sent to Middle-earth to help resist Sauron. There was Saruman, the White; Gandalf, the Grey; Radagast, the Brown; and Alatar and Pallando, the Blue. As per , we know that the Blue wizards seemed to have traveled together to the East, and that their mission seemed to have been unsuccessful. The question is--why were they both blue? Saruman is white; Gandalf is grey; Radagast is brown. Why were the remaining two the same color? I'd be curious about answers both in-universe and out.


Help with basic Ordinal arithmetic: what is $(\omega+2)\cdot \omega$

I am having trouble with some simple ordinal arithmetic.  I am trying to figure out what $(\omega+2)\cdot \omega$ is.  If you represent $\omega + 2$ as: $\omega+2 = 0_0 < 1_0 < 2_0 < ... < \omega + 1 < \omega + 2$  Then when I try to solve it out by writing out the representations, I get:  $ \begin{align}   &0_0 < 1_0 < 2_0 < ... < (\omega+1)_0 < (\omega+2)_0 \\ < &0_1 < 1_1 < 2_1 < ... < (\omega+1)_1 < (\omega+2)_1 \\  &... \end{align} $  Which if I just rename the terms becomes:  $ \begin{align}   &0_0 < 1_0 < 2_0 < ...  \\ < &0_1 < 1_1 < 2_1 < ...  \\   &... \end{align} $  Or simply: $\omega + \omega + \omega + ... = \omega^2$  Is this right? or am I thinking about this the wrong way


Firewall and virus software for Ubuntu 14.10

I've only used a window operating systems in my life. I just began using Ubuntu 14.10 about a week ago after my old Windows OS was corrupted.  Using Ubuntu 14.10, how does change the firewall settings?  I'm unable to locate the the old Firestarter firewall program I've read about.  Also, virus scanning software, is this necessary with Ubuntu?  I've read of a virus software called ClamAV and ClamTK, but i think i am reading from an outdated book.  Any help would be great.


How to combine Mac terminal find -name patterns?

I use Xcode. I want to use bash to batch modify the UI fonts.  Here is the code to ".xib" and ".storyboard":  xibd(){      cd "$(dirname "$1")/.." && pwd      find . -type f -name "*.xib"  -exec  sed -i '' s/'\<fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"\/\>'/'\<fontDescription key=\"fontDescription\" name=\"PingFangSC-Regular\" family=\"PingFang SC\" pointSize=\"12\"\/\>'/ {} +       find . -type f -name "*.storyboard"  -exec  sed -i '' s/'\<fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"\/\>'/'\<fontDescription key=\"fontDescription\" name=\"PingFangSC-Regular\" family=\"PingFang SC\" pointSize=\"12\"\/\>'/ {} +  }   I want to combine -name ".storyboard" and -name ".xib", how to achieve it?  I tried   find . -type f -name '*.storyboard'  -o  -name  "*.xib"  -exec  sed -i '' s/'\<fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"\/\>'/'\<fontDescription key=\"fontDescription\" name=\"PingFangSC-Regular\" family=\"PingFang SC\" pointSize=\"12\"\/\>'/ {} +   find . -type f -name "*.xib|storyboard"  -exec  sed -i '' s/'\<fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"\/\>'/'\<fontDescription key=\"fontDescription\" name=\"PingFangSC-Regular\" family=\"PingFang SC\" pointSize=\"12\"\/\>'/ {} +   it does not work.  I have read the related of man find.  Still working on it.


I went to an interview and there was a question that I couldn't solve, I am not $100$% sure about the exact wording, but I think was something like this:  Given $n$ different random numbers $\{a_1, a_2,...,a_n\}$, we want to find the maximum of these numbers. First let $m=a_1$. Then, we compare $m$ to $a_2$, if $m>a_2$, reassign $m$ to be $a_2$, but if $m<a_2$, then $m$ value doesn't change. With the same method, compare $m$ to the rest of the numbers. After we're done comparing all the numbers, $m$ would be the maximum value. What is the average number of assignments of $m$ to find the maximum of the list?"  P.S - I think that setting $m=a_1$ also counts as one assignment.


How many Sith Star Destroyers were left at the end of Rise of Skywalker?

I was just wondering if all of the Sith Star Destroyers from The Rise of Skywalker were destroyed in the Rebel fleet's attack or if there are some that survived, possibly beneath the surface of the planet.  Canon sources preferred, please.


I can't copy and paste into the terminal in Unity 16.04 on a Chromebook

I have a Chromebook and have installed Unity 16.04 on the device. I cannot seem to copy and paste into the terminal as it is a laptop and does not have a mouse button which, when I looked, seemed to be required for copying and pasting.


Python - Way to restart a for loop, similar to "continue" for while loops?

Basically, I need a way to return control to the beginning of a for loop and actually restart the entire iteration process after taking an action if a certain condition is met.  What I'm trying to do is this:      for index, item in enumerate(list2):     if item == '||' and list2[index-1] == '||':         del list2[index]         *<some action that resarts the whole process>*   That way, if ['berry','||','||','||','pancake] is inside the list, I'll wind up with:  ['berry','||','pancake'] instead.  Thanks!


What is the correct way to validate password in PHP 5.4?

I just recently found out that password_verify($string, $hash) only works for 5.5 and above.  I am therefore looking for the correct way to do it in 5.4?


How to get list of touched files between 2 points of time?

I need to get a full list of files modified, and if possible files accessed too, by a complex script, as well as all files accessed at the same time of the script running by any other process.  So i want to START logging all IO file access before the application start, and then STOP logging when it ends. (or inspect full log between 2 time stamps ?)  How can i do that ?


Installing ubuntu-13.10-server-amd64 on VirtualBox-4.3.2-90405-Win

I'm trying to install Ubuntu Server 13.10 AMD64 x86 (The guest) on my TOSHIBA Satellite L655D-S5109 (The host).  My/the processor is AMD Turion IIP540 Dual-Core Processor 2.40GHz (64bit OS/x86) And I'm using VirtualBox 4.3.2 r90405  The problem i found is the common "this kernel requires an x86-64 cpu but only detected an i686 cpu".  Reaing on other posts in here and Stackoverflow and some other places i found out that i need the x86 virtualization ()  Checking the Oracle VM VirtualBox on the VM System tab, i found that I DO have the VT-x/AMD-V ON or activated or the checkbox checked... but i still can't install Ubuntu Server, the message still appears... what else is there to do?  Should i giveup and install a 32bit? Should the virtualization be enables on my computer (Host) BIOS or what else is there to check/verify?


Does adverb placement change the meaning in the following phrase?

Is there a difference in meaning between "to positively resolve situations" and "to resolve situations positively." Sorry, I thought there was a difference in that the question asks if in the first phrase if the adverb modifies the infinitive and in the second modifies the infinitive phrase was there a different in meaning such as the first phrase indicating all situations were settled and in the second that the situations were favorably settled.


GIS Consulting - How to Get a Foot in the Door?

I currently work for a very large company as a GIS developer, and while I am happy in my position for the most part, I can't help but wonder what life as a GIS consultant (i.e. working for myself) would be like...  I know there are many excellent GIS consultants on this site, and I am wondering on how they got their start.  Are there any good sites where companies and/or organizations post GIS related requests?  Can they offer any strategies on how they market themselves to companies/organizations?  Any other tips to test the waters per say?  I'd also be interested in hearing about life as a GIS consultant.  Any experiences or thoughts welcome.


What is the real answer to the Birthday question?

"How large must a class be to make the probability of finding two people with the same birthday at least 50%?"  I have 360 friends on facebook, and, as expected, the distribution of their birthdays is not uniform at all.  I have one day with that has 9 friends with the same birthday. (9 months after big holidays and valentines day seem to be big ones, lol..)  So, given that some days are more likely for a birthday, I'm assuming the number of 23 is an upperbound.  Has there been a better estimate to this problem?


So i have a scene where i have 2 objects with a simple Principled BSDF shaders and it's lit with an HDRI. I tried to look at it in the render view, but for some reason it is entirely gray. Here's how the viewport looks:  And here is how a render of the scene looks:  However, i have no problems in eevee, as you can see here:  Eevee render:  I have no idea what could be causing this. I also have some other objects in another collection, but the collection is disabled for render, so it probably isn't the problem.


Clustering for mixed data including string attributes

Suppose to have a dataset containing feature vectors representing some people. Each feature vector contains mixed type of attributes (e.g. sex, age, height, hair color, favourite film, ...).  For example, these could be some instances:      ["Male", 28, 1.72, "brown", "star wars rebels", ...],     ["Female", 33, 1.65, "blonde", "seven pounds", ...],     ["Female", 19, 1.60, "blonde", "star trek", ...],     ["Male", 37, 1.84, "black", "star wars return of the jedi", ...],     ...   I want to cluster these people to find groups of similar people. There are several type of attributes. In particular, the sex is a binary attribute, the age is a discrete value, the height is a continuous value, the hair color is a categorical (aka nominal) attribute (i.e. has a finite set of values), but the last attribute is a string with infinite values. I found nothing in letterature about string values.  I'm not looking for a particular algorithm, because I'm interested to experiment with several algorithms and not only one. A large part of the clustering algorithms work only with numeric attributes. In this case, categorical attributes can be a problem, but there are some methods to represent them in a numeric form (e.g. 1-of-n, aka one-hot encoding). The real issue is that I can't understand how to handle the string attributes, obviously I can't use the 1-of-n technique. I tried to search, but I didn't find anything.  Maybe an approach could be to use a certain hash function to "convert" the strings into numbers? I think this solution could lead to a wrong clustering (depending also from the hash function)


My rep on SU is 124927. When I go to the top bar site drop-down (the Stack Exchange™ MultiCollider SuperDropdown™) it shows my Meta SU rep to be 100005 (a significant difference).    This question, , says it can be different because of caching, and that in any case rep should be synchronised hourly:  The reputation on meta sites is not updated instantly (except for this site, Meta Stack Exchange, which is not a typical per-site meta), after you get more reputation in the main site, but it is updated once per hour, according to the What is "meta"? How does it work? page  So we can rule out caching as I haven't had any rep changes in the last hour or so. So, where has my 24922 rep gone? Note, that if I look at my rep on Meta SU in the top bar it is correct (see the image), it is only the site drop-down that is wrong. The same problem is affecting other site metas as well. I've had no rep changes on SO or Software Recommendations in the last 7 days and these reps don't match up either.


I've been reading about random variables and I don't get as to what is the importance of a random variable in statistics? I mean why is it a useful concept?


Why were the fathers of quantum mechanics so sure radioactive decay was indeterministic?

The classic example of an indeterministic system is a radioactive isotope, e.g. the one that kills Schrödinger's cat.  I get there are arguments against hidden variables in quantum mechanics, but how could they be so sure, back in the twenties, that the strong nuclear forces involved in radioactivity were not governed by hidden variables rather than true randomness?  Einstein was very unhappy about the indeterminism of quantum mechanics regarding even well understood effects like Young's slit experiments, but it seems kind of ideological and brash on behalf of Heisenberg & Co to extend the indeterminism over to phenomena they hadn't even begun to understand, like alpha decay.  Is there a reason for this early self-assuredness in postulating indeterminsm?


how to get array values of keys stored in an object with "for in" loop in javascript

In Javascript, I'd like to have an object with three properties, "zone1", "zone2", "zone3", each of which store an array of place names.  I would like to search for a match by iterating through the arrays to find a place name. The following questions almost gets me there, but don't work for me because I am not using jQuery, and I want the value, not the key:       My code looks like this:  var zoneArray = {}; zoneArray["zone1"] = ["placeA", "placeB"]; zoneArray["zone2"] = ["placeC", "placeD"];  function getZone(place, zoneArray) {     var zone;     for (var key in zoneArray) {         for(i = 0; i<key.length; i++) {             if(key[i] == place) {                 zone = key;                 return zone;             }         }     }  } getZone("placeC", climateZoneArray);   Apparently however, "key[i]" is referring to letters of the zone names, like, "z" "o" "n" "e"  Could anybody please help me understand or best handle this situation in Javascript?


How do I use tar to exclude all files of a certain directory?

A client uploads files to a development server. When it's time to upload the project to a production server, those files are no longer needed, and we'd like to exclude them from the tar file we'll eventually push to production. However, we still want to keep the directory in tact, it's only the files that are not needed  Using Ubuntu 16 and tar 1.28, we've tried:  tar -vczf archive.tar.gz . --exclude=wp-content/uploads/wpallimport/files/* tar: Cowardly refusing to create an empty archive   We've also tried enclosing exclude= parameter in single and double quotations, no luck.   tar -vczf archive.tar.gz . --exclude='wp-content/uploads/wpallimport/files/*' tar: Cowardly refusing to create an empty archive   The  shows --exclude without equals sign  tar -vczf file.tar.gz --exclude 'directory/*' . and gives the same error.  How is this done?


What is command substitution in a shell?

I'm using Ubuntu 16.04 with Bash and I tried to read in , in  and in , but I failed to understand the meaning of "command substitution" in shell-scripting in general, and in Bash in particular, as in:  $(command)   or   `command`   What is the meaning of this term?  Edit: When I first published this question I already knew the pure concept of substitution and also the Linux concept of  (replacing a variable with its value by execution), yet I still missed the purpose of this shell feature from the documentation for whatever reason or group of reasons.    My answer after question locked  Command substitution is an operation with dedicated syntax to both execute a command and to have this command's output hold (stored) by a variable for later use.  An example with date:  thedate="$(date)"   We can then print the result using the command printf:  printf 'The date is %s\n' "$thedate"    The command substitution syntax is $(). The command itself is date. Combining both we get $(date), its value is the result of the substitution (that we could get after ). We save that value in a variable, $thedate, for later use. We display the output value held by the variable with printf, per the command above.   Note: \n in printf is a line-break.


Situation of step siblings and not half siblings; Am I correct?

From a fiction story  At the age of 40, Mr. Scottsdale, an Agricultural Manager, divorced his wife of 39 years old. She got the custody of their daughter. At fault, he surrendered to her their matrimonial house, one quarter of all agricultural real estate parcels and four thousand dollars of alimonies a month. He lived with enough resources. He remarried and had a son who married at 28 years old. They had a son, Patrick, who now is 25 years old and whose grandparents died.  His ex-wife, Mrs. Scottsdale-Rigby, then 39 years old never remarried is now 85 years old. But their daughter married at 25 years old; the couple had two daughters Priscilla now 19 and Nadine 21. The spouses and daughters lived ever since in Grandma’s inherited house.  Priscilla, Nadine, and Patrick are step siblings.


Showthat $\mathrm p \leftrightarrow \mathrm q$ and $(\mathrm p\wedge \mathrm q) \vee (\neg \mathrm p \wedge \neg \mathrm q)$ are logically equivalent

Given there are 3 logical variables p, q . Show that $(\mathrm p \wedge \mathrm q) \vee (\neg\mathrm p \wedge \neg\mathrm q)$ and $\mathrm p \leftrightarrow \mathrm q$ are logically equivalent without using the truth table.  And here is my steps: $(\mathrm p \wedge \mathrm q) \vee (\neg\mathrm  p \wedge  \neg\mathrm  q)$  I get this. What should I do in order to get rid of it?? ps: i am studing from Discrete mathematics and its application 7th edition rosen Thanks.


Tikzpicture: Line break in node label to right

How can I introduce a line break into the labels of the end nodes in the following MWE? The Tikzpicture will include the line breaks if I remove the label=right: part and just leave label=' but that centers the labelabove' the node, rather than to the right.   How can I get the label to include the line breaks and also stay to the right of the end node?  \documentclass{article}  \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \pagestyle{empty}   % Set the overall layout of the tree \tikzstyle{level 1}=[level distance=3.5cm, sibling distance=3.5cm] \tikzstyle{level 2}=[level distance=3.5cm, sibling distance=2cm]  % Define styles for bags and leafs \tikzstyle{bag} = [text width=4em, text centered] \tikzstyle{end} = [circle, minimum width=3pt,fill, inner sep=0pt]  % The sloped option gives rotated edge labels. Personally % I find sloped labels a bit difficult to read. Remove the sloped options % to get horizontal labels.  \begin{tikzpicture}[grow=right, sloped] \hspace{-60pt} \node(A)[bag] {$S(3)$ $(Bet~3)$}         child {                 node[bag] {$S(4)$ $Bet~4$}                                 child {node[end, label=right: {Some text \\ Some text \\ Some text }] {}                                 edge from parent node[below] {$Quit$} node[above]  {}                         }                         child {                                 node[end, label=right: {Some text \\ Some text \\ Some text }] {}                                 edge from parent node[above] {$Bid$} node[below]  {}                         }                         edge from parent node[below] {$LLL$} node[above]  {}         }         child {                 node[bag] {$S(4)$ $Bet~4$}                        child {                                 node[end, label=right: {Some text \\ Some text \\ Some text }] {}                                 edge from parent node[below] {$Quit$} node[above]  {}                         }                         child {                                 node[end, label=right:{Some text \\ Some text \\ Some text }] {}                                 edge from parent node[above] {$Bid$} node[below]  {}                         }                 edge from parent node[above] {$WWW$} node[below]  {}         }; \begin{scope}[]    \end{scope} \end{tikzpicture}  \vspace{60pt}    \end{document}


How to: Make a "restore point" in Ubuntu, in case I break something?

How can i make a snapshot, a "restore point" in Ubuntu for when im about to try something I think is clever but turns out to be a "oh crap, not again" ?


Does there exist a polynomial $p(x) \in \mathbb C[x]$ such that $p(x) \notin \mathbb R[x]$ and $p(x)p(-x)=p(x^2)$?

Does there exist a polynomial $p(x) \in \mathbb C[x]$ such that $p(x) \notin \mathbb R[x]$ and $p(x)p(-x)=p(x^2)$ ?  I have noticed that if $a_n$ is the leading coefficient of $p(x)$ then $a_n=(-1)^n $, so the leading coefficient cannot be imaginary; also $p(0)^2=p(0)$ so the constant term also is real. Please help. Thanks in advance.


Generating c identically correlated standard normals

I want to generate $c$ correlated standard normals where the correlation matrix M is something like \begin{matrix}         1 & \rho & \rho \\         \rho & 1 & \rho \\         \rho & \rho & 1 \\ ....         \end{matrix}  so ones along the diagonal but otherwise all variables have the same correlation $\rho$ where $\rho \geq 0$. What's the pattern in generating this using linear combinations of the independent standard normal variables?


Is there a real world application for the Poincaré Conjecture?

As the title asks, is there currently a way in which the conjecture, or proof, can be implemented in a real world way?


I was playing Uno, and the card was a yellow 4.  As I didn't have a yellow nor a 4 in my hand.  I played the draw 4 card.  Now should I have been challenged, I would have won the challenge.  But my friend behind me in the rotation, jumped in with another draw 4, making it a +8.  Now that he has played a +4, I am no longer challegeable, but would you be able to challenge him?  I don't think you would be able to, since it wasn't his turn so technically he didn't have to play anything, plus it was a jump in.  So can you challenge a jump in draw 4 card played?


Show that $f(x)=a_0+a_1x+a_2x^2+\cdots+a_nx^n\in R[x]$ is nilpotent iff $a_0,a_1,a_2,\ldots,a_n$ are nilpotent

Let $R$ be a commutative ring. Show that $f(x)=a_0+a_1x+a_2x^2+\cdots+a_nx^n\in R[x]$ is nilpotent if and only if $a_0,a_1,a_2,\ldots,a_n$ are nilpotent.   Now since $f(x)$ is nilpotent then $f^n=0$ for some $n$. Now $f^2=c_0+c_1 x+\cdots+c_n x^n$ where $c_i=\sum _{k=0}^i  a_k a_{i-k}$.  But how to write it for $f^n$? How to take it from here?  If $n_i$ be the least positive integer such that $a_i^{n_i}=0$ then  what will the positive integer such that $a_i^n=0$ for all $i$??


does anybody know how to write integral signs in LaTex that are slanted to the left, and not the right. See here if you do not know what I mean:    (From )  This is how it is written in Bulgaria and Russia and many other places so I am curious.  Thank you.  My problem is that the integral sign now is  $$ \int ... $$   and is leaning to the right, not the left like shown in the picture I attached.  I want to know how to write it so that it is slanted to the left.  Thank you


Let $R = K[x], K$ a field. Define for $a \space \epsilon \space K$ the ideal $ I_a := (x-a)$ in $K[x]$ and see $I_a$ as an $R$ module. Using that for $ a \space \epsilon \space K$ and  $ b \space \epsilon \space K$, $I_a$ and $I_b$ are isomorphic, prove that the quotient modules $R/I_a$ and $R/I_b$ are not isomorphic as $R$ -modules.  How should I prove this? I have tried doing it with the first isomorphism theorem for modules, constructing a function $ \theta $  with $ ker(\theta) = I_a$ but I don't seem to get anywhere. Does anyone know a proper solution to this question? Thanks.


I just learned the hard way that negative lookbehinds are not supported in firefox. Just deployed to production and all seemed fine. Once our firefox users started hitting it, they got nothing.  Is there a pollyfill or some alternative to this regex?  "Item 1, Item2^, Item2a, Item3".split(/(?<!\^),/)   I am trying to split a string into arrays on a commas but not on ^,  "Item 1, Item2^, Item2a, Item3"  Should end up as   [ "Item 1", "Item2^, Item2a", "Item3" ]


How would I replicate this long shadow image?

I've recently got into that "hipster" trend of long shadowing.  I have seen this example quite a lot, and have tried replicating it myself.  No efforts have been successful though.  And even the close ones seemed like to much work for that effect.    Main issue i'm having are the middle green triangles, and their shadows down.  If you notice they fold over the background circle, which is another issue of mine.  How can I replicate this technique as accurately as the image?


$$\sum_{k=1}^{\infty} \frac{1}{5k+2}$$   Can I say that $$\sum_{k=1}^{\infty} \frac{1}{5k+2}=\sum_{k=1}\frac{1}{5k}+\sum_{k=1}^{\infty} \frac{1}{2}=\frac{1}{5}\sum_{k=1}^{\infty}\frac{1}{k}+\frac{1}{2}$$  and we know that $\\sum_{k=1}^{\infty} \frac{1}{k}$ diverges so the expression diverges too?  Or should I use the integral test $$\int_{1}^{\infty} \frac{1}{5k+2}=\frac{ln|5k+2|}{5}$$ from 1 to $\infty$=  $\infty$


How to make an horizontally large table fit into the output?

I am trying to fit an horizontally large table in the PDF output... Acting on the size inches of each column does not help so far. Any suggestion? Here is the code:  \documentclass{article} \usepackage[left=2.54cm, right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry} \usepackage{graphicx} \usepackage[affil-it]{authblk} %\usepackage[greek,english]{babel} \usepackage{natbib} \usepackage{float} \usepackage[resetlabels]{multibib} \usepackage{amsmath} \usepackage{placeins} \usepackage{xcolor} \usepackage{color} \usepackage{colortbl} \usepackage{multirow} \usepackage{tabularx} \usepackage{amsfonts} \usepackage{longtable} \usepackage{subfig} \usepackage{soul} \usepackage{amssymb} \usepackage{longtable} \usepackage{setspace} \graphicspath{{Figures/}} \usepackage[labelsep=endash]{caption}   \makeatletter \def\SOUL@hlpreamble{%    \setul{}{3.5ex}% increased by 1ex    \let\SOUL@stcolor\SOUL@hlcolor    \dimen@\SOUL@ulthickness    \dimen@i=-.75ex % increased by -0.25ex    \advance\dimen@i-.5\dimen@    \edef\SOUL@uldepth{\the\dimen@i}%    \let\SOUL@ulcolor\SOUL@stcolor    \SOUL@ulpreamble } \makeatother \usepackage{etoolbox}  \usepackage[colorlinks]{hyperref}  \makeatletter \newcommand{\sectionbiblio}{%    \patchcmd{\std@thebibliography}{\chapter*}{\section*}{}{} }   % define \c %citetpos just like \citet \DeclareRobustCommand\citetpos {\begingroup    \let\NAT@nmfmt\NAT@posfmt% ...except with a different name format    \NAT@swafalse\let\NAT@ctype\z@\NAT@partrue    \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}  \makeatother  \makeatletter % make numeric styles use name format \patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@nmfmt{\NAT@nm}}{}{}  \let\NAT@orig@nmfmt\NAT@nmfmt \def\NAT@posfmt#1{\NAT@orig@nmfmt{#1's}}  \makeatother \newcommand{\Y}[1]{{\color{green}#1}} \newcommand{\N}[1]{{\color{red}#1}} \renewcommand{\baselinestretch}{1.9}   \newcommand{\highlight}[1]{{\ttfamily\hyphenchar\font=45\relax\hl{#1}}}  \begin{document}  \begin{table}[H]    \centering    \caption{DDQRL}\label{tab:2}    \begin{tabular}{p{1.5in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in} p{0.3in}}     ~ & \textbf{} & \textbf{D1} & \textbf{D2} & \textbf{D3} & \textbf{D4} & \textbf{D5}& \textbf{D6}& \textbf{D7}& \textbf{D8}& \textbf{D9}& \textbf{D10}& \textbf{Average}\\     Annualized mean (\%) & 16.46 & 16.03 & 14.16 & 15.79 & 16.4 & 16.10 & 15.9 & 15.74 & 15.80 & 15.4 & 15.81\\      Annualized median & 16.47\% & 17.43\% & 8.72\% & 7.18\% & 11.38\% \\      Annualized st. deviation & 12.93\% & 12.70\% & 10.46\% & 10.82\% & 16.44\% \\      Downside volatility & 0.92 & 0.87 & 0.83 & 1.08 & 0.95 \\      Skewness & -1.46 & -1.46 & -1.41 & -0.62 & -0.94 \\      Kurtosis & 5.53 & 5.27 & 7.76 & 4.07 & 8.01 \\      Volatility Skewness & 0.92 & 0.87 & 0.83 & 1.08 & 0.95 \\      Sharpe Ratio & 1.3 & 1.42 & 0.83 & 0.66 & 0.64 \\      Sortino Ratio & 0.24 & 0.26 & 0.162 & 0.157 & 0.133 \\      \end{tabular} \end{table}  \end{document}  Please, consider the first row of the table, as I did not fill in the rest yet.


Shell-independent way to cp dotfiles from a folder to another

I have two existing directories :   foo: directory with dotfiles in it foo2: empty directory   I would like to have a solution to copy all dotfiles in foo to foo2. I would like a solution that is not shell-dependent (bash, zsh, etc.). I would prefer not having to install rsync to do it (tar is ok).  Weeks ago, I asked , but I feel both questions should be separated as they answer different needs. All answers were shell-dependent or using rsync.


Why doesn't Ubuntu 18.04 have latest OpenMPI packages?

I'm running WSL 18.04 I am trying to use EPOCH particle in cell code but get: Error:  OpenMPI 2.1.1 detected. This contains a serious bug and should not be used.  So i'm trying to update my OpenMPI. Doing sudo apt-get install --only-upgrade libopenmpi-dev      Says I have the latest version despite the website having version 4.0 as the latest version. How do I go about installing the 4.0 version from a downlaoded tar.gz folder? What directory should I install under? /usr/local? What is the proper protocol for installing in ubuntu? Thanks


Format number with thousands seperator and 2 decimal places

I'm currently populating a div with jquery but need to format the output with a thousands separator and to two decimal places whilst also keeping the output as a number.  FYI I'm currently populating the div using:  var prev_count = 120; var new_count = 20.50;      var count_till = prev_count < new_count ? new_count : new_count - 1;     jQuery({ Counter: prev_count }).animate({ Counter: count_till }, {         duration: 600,         easing: 'swing',         step: function () {             jQuery("#count_div").text(Math.ceil(this.Counter));         }     });   Starting variable is 120 and this is meant to count down to 20.50 however it ends on 20, not 20.50, is this possible if so how would i go about it?  Here is my


I am trying to make a simple one command but it keeps saying "data tag parsing failed".  What is wrong with my command?  /summon falling_block ~ ~1 ~ { Block:wool,Time:1,Passengers: { [id:falling_block,Time:1,Block:command_block,Data:1,TileEntityData: { auto:1,Command:/scoreboard objectives add tp trigger } ,Passengers: { [ id:falling_block,Time:1,Block;command_block,Data:1,TileEntityData: { auto:1,Command:/scoreboard objectives setdisplay sidebar tp } ,Passengers: { [ id:falling_block,Time:1,Block:command_block,Data:1,TileEntityData: { Command:/scoreboard players set @a tp 0 } ] } ] } ] } }     I tried using notepad++, and I already re-wrote it 5 times.


Is it common to claim co-authorship by helping writing a paper without doing any research

In my research group, there is a researcher who usually approaches other PhD students who are about to write papers in order to offer his help. Normally, he does not actually do any research related to the paper. Instead, he reads our papers, makes comments about the writing style and sometime re-writes some sections in order to make them more readable. At the end, he will claim the co-authorship of the paper. I can see it is very helpful for new PhD students who don't have much experience in writing papers or articles. However, it is sometime uncomfortable for me to see someone who doesn't do actual research but still manages to get an authorship.  So, I want to ask if it is a common practice for someone to help writing a paper without doing any actual research relating to it, and claim the co-authorship. If it is not, how should I react if someone wants to do the same to me?


Could you avoid to die due to the death note if you have no heart in your body?

Death note states that if there's no other way a person would die due to a heart attack, but what if when you should die via the death note you have no heart? And no, that's not a silly question, there's a machine used for heart tranplant surgery called extracorporeal circulation system that acts as a sort of heart for the person in which the surgery is being performed on while it's done. So, technically speaking if your name where to be written you could not die due to a heart attack, unless that by heart we would also consider that machine, although this is a bit far fetched. Then if you get another heart or put yours back you have avoided the death note effect, and at this point it has failed to its own rules. From this point I'm not sure what would happen.  I don't think something like that was covered either in the anime or the manga, although I think it would have been an interesting concept to explore, as they could have experimented with that if they wished, but maybe the author explained how things would be like in a case like this one in an interview.  Is there any official explanation or any thing I missed that would give an answer to my question?  Thanks.


I have Ubuntu 14.04 and I want to install Windows 8 along side it. But I can't boot from any live CD or pendrive. My laptop goes into network boot and says- insert proper boot device and press any key.  My laptop is Asus x54c.


My fridge door was left cracked open over night

My fridge door was left open over  night with the fridge light on.  Is my dairy products safe to eat?


Cool simple solution to: $-A^2$ is not the identity matrix

this is not a question per se, just a simple cool solution to a potentially difficult question, that I want to share. I liked it.  The question is:  Let $A$ be a $3\times3$ matrix with real values. Show that $A^2 \neq -I_3$  There are probably many solutions for this problem, but i really thought this one was simple.  Solution is posted down below.


I want to indent the next line by an exactly specified position

I am typesetting an entire math lecture script, where readability often requires me to indent just a line or two for a certain amount, which is ALWAYS different. I would like to have some way of controlling the indent of the next line by an & like in tables, or any other control character. I do not want to use tables though, I want it to look like normal text. It obviously has to work inside and outside of math environments, since they appear in text quite often for this project.  It should look something like this:  This is the first line.      One more line.               And another.   With the control charcters being in front of "is" and "line".  Is there an easy-to-use solution? I don't care if it is complicated to configure once, as long as the use is simple every time.


I can't open Software & Update, ImportError: no modules named aptsources and import apt_pkg

I just updated from Python 3.8.5 to python 3.9.0  (I use Ubuntu 20.04). I don't know if this update could be a problem, but when I try to open "Software & Update" from the icon, it doesn't work. There is also an other error "A problem occurred when checking for the updates" in the top bar of the desktop (panel). I tried to Install via terminal the software updates using the following commands: sudo apt update and after sudo apt upgrade. But when I try to use software-properties-gtk there is the following output: Traceback (most recent call last):   File "/usr/bin/software-properties-gtk", line 32, in <module>     import aptsources   File "/usr/lib/python3/dist-packages/aptsources/__init__.py", line 3, in <module>     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg'  Can someone help me?


I've made a simple animation in blender 2.81a and am now trying to render it.    My system specs: CPU i7-6500U; GPU Nvidia Geforce GTX 950M; RAM 16gb DDR4 So far, I've done two test renders (both in cycles):   8 samples, 8 light bounces, denoising on, 60fps (240 frames). Total render time was about 3 hours. Looking at single frames, they were flawless, but if you play the animation, you see that the denoiser is producing some kind of jitter (like in ). 256 samples, 4 light bounces, denoising on. I set the framerate to 24fps and used time remapping to maintain animation speed (96 frames). The jitter has become far less, but is still there. However, the time remapping made the animation look kind of not-fluent. So I figured that I probably need 512 samples to reduce the jitter and render at 60fps. However, this will probably take about 16 hours to render. Are there any other ways to   change the framerate without changing the animation speed? (except for manually repositioning keyframes) decrease general render time/reduce the jitter (aka denoising for animations) Thanks in advance!     Edit: I heard that Blender 2.83 and 2.90 (which is not yet oficially released) have improved the denoising system, e.g. AI-accellerated denoise, adaptive sampling and optix viewport denoising. Do any of these also apply to video or is there now any option for better denoising for animations?


When $k$ times composition of a function is a _contraction_

Let  $(X,d)$  be  a  complete  metric  space  and  $$f \ :\ X\rightarrow X$$  be  a   map   such  that  ,  for  some  positive  integer  $k$ ,  $$f\circ f\circ .....\circ f(\ k\ \ fold\ \ composition\ \ with\ \ itself\ )$$  is  a  contraction.  Then  $f$  has  a  unique  fixed  point .  How  should  I  approach  this  problem  $?$   Sorry  for  the   lack  of  efforts  here  .  Please  give  me  some  hints  as  to  how  to  begin  the  thinking  $?$


I am a apprentice openSUSE user. When I turn on my laptop one of my HDD partitions are not mounted by default, so I have to open the GUI and manually click to mount it.  Is there a way to automatically mount this, from what I have read I can do it with cron job but any other solutions are accepted.  linux-clwa:/ # cat /etc/fstab  UUID=63d5d975-9cfe-4bfc-b71c-71079f582545 swap swap defaults 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 / btrfs defaults 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /opt btrfs subvol=@/opt 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /srv btrfs subvol=@/srv 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /tmp btrfs subvol=@/tmp 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /usr/local btrfs subvol=@/usr/local 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/crash btrfs subvol=@/var/crash 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/libvirt/images btrfs subvol=@/var/lib/libvirt/images 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/mailman btrfs subvol=@/var/lib/mailman 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/mariadb btrfs subvol=@/var/lib/mariadb 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/mysql btrfs subvol=@/var/lib/mysql 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/named btrfs subvol=@/var/lib/named 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/log btrfs subvol=@/var/log 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/opt btrfs subvol=@/var/opt 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/spool btrfs subvol=@/var/spool 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /var/tmp btrfs subvol=@/var/tmp 0 0 UUID=515127ed-50f2-4827-b410-f7e5e599d1b1 /.snapshots btrfs subvol=@/.snapshots 0 0 UUID=F1D3-F389       /boot/efi            vfat       umask=0002,utf8=true  0 0 UUID=984161fa-2fbe-4519-a0f5-fb6c2a0856d6 /home                xfs        defaults              1 2


One-box links in chat that have valid meta description and title tags

I was thinking about this a short while ago, to expand what links onebox in SE chat.  Essentially, anything that has a valid <meta name="description" /> tag should be able to be one-boxed. The <title> could be used for the title of the box, and the meta description tag for the body. This could also (perhaps) be extended to the <meta property="title"> as well (defined by RDFa 1.1), though I suspect this is less common.  Optionally, chat could also support the  (<og:meta>) tags as well. Though these should only be used if the regular HTML <meta> tags cannot be used.


Some image hosting sites like Imgur and min.us support image uploading via drag-and-drop in Chrome and Firefox. It would be nice if you could upload an image and add it to your post by dropping it on the edit page.


What are the powers shown by the Rings of Power?

We all know that  who puts on the One ring became invisible and that .  But the other rings:   The Nine The Seven The Three   What are the powers, if there are any, of each ring? Is there a respective user who, like Sauron, has a different or extra power for one specific ring?


I use Oracle 11 and want to find out the size of my tables (like in megabytes). What should I do? Should I check the file size on server? Or is there any query to run?


Looking for either word “ And ” or “ In ” with preceding and ending spaces, I can using following FINDSTR command:  findstr /r /c:” And ” /c:” In “ textfile  Is there a way to do similar search with only on /c parameter? I was hoping this parameter would work: /c:” (And|In) “


Evaluate the probability of my experiment being deteministic AKA what tis the chance of something which has never happened happening?

Short version  Imagine I run the exact same experiment $n$ independent times and get $n$ times the same result. Can you put a lower bound on the probability of getting the same result the $n+1$ time I run the experiment?    Long version  I'd like to check that a computer program is deterministic and I don't want to read the code to go looking for potential bugs (race conditions ...). I'd like to estimate the probability of the code being error free. If I run it $n$ times and get $2$ different answer or more, I know something went from at some point.  However, if I get $n$ times the same answer, what is the probability of the code being error free?   I'm sure someone somewhere did some math on it, I just don't know how to find it.


Can a Window (of WPF) know whether it is opened by ShowDialog()?

Can a Window(System.Windows) know whether it is opened by Show() or ShowDialog()?  If DialogResult is set on a window which is opened by Show() method, it throws an InvalidOperationException().  Is there any way to know how the window is opened and to avoid it? Should I use try-catch?  public partial class Window1 : Window {     public Window1() {         InitializeComponent();     }      private void CancelButton_OnClick([NotNull] object sender, [NotNull] RoutedEventArgs e) {         DialogResult = false; // throws an InvalidOperationException.     } }


Control a property with no socket (color ramp swatch, etc) from a Group Node input?

Sometimes I create Material Groups to be used as appendable reusable assets. Unfortunately sometimes parameters I want to control using a Group Node's slider are not available for routing to a Group Node's input socket. Some examples of these are the Color Ramp and the Mapping Node.  So here's what I want to do:    Can this be done? If so, how?  Thanks!


By definition, the work done by a force is $W = F\cdot d$, so how can static  do work?   Can this force move the body a distance of $75~\text{m}$?


Changing lowercase to uppercase on specific characters - SQL Server

I am stuck trying to capitalise the first character of the first name and surname. I have formatted the names a lot already but i am stuck as the how to change the first letter of the surname when the length for names is always different.  CREATE TABLE:  CREATE TABLE Table1 ( Name varchar(30) )  INSERT INTO Table1 (Name) VALUES ('Domain/fred.smith'), ('Fred Smith@hotmail.com'), ('DIRECTOR/David lee'), ('DIRECTOR/andrew opal');   CURRENT QUERY:  SELECT  REPLACE([Name], '.', ' '), UPPER(LEFT([Name],1))+LOWER(SUBSTRING([Name],2,LEN([Name]))) FROM ( SELECT CASE WHEN Name LIKE '%@%' THEN SUBSTRING(Name ,0,CHARINDEX('@',[Name]))  WHEN Name LIKE '%DIRECTOR%' THEN RIGHT([Name],(Len([Name])-9))  ELSE RIGHT([Name],(Len([Name])-7)) END AS [Name] FROM Table1 ) S   CURRENT RESULT:  |             |             | |-------------|-------------| |  fred smith |  Fred.smith | |  Fred Smith |  Fred smith | |   David lee |   David lee | | andrew opal | Andrew opal |   But i am looking for:  |             | |-------------| |  Fred Smith | |  Fred Smith | |   David See | | Andrew Opal |   Can anyone help me further? Thanks  SQL Fiddle -


My change function works great for select controls that are built into the page initially, but when I dynamically add a select control, the change function won't fire.  <select name="SUBJ" class="SUBJ" id="SUBJ_-9">    <option value="1">First item</option>    <option value="2">Second item</option> </select>  $j('.SUBJ').change(function () {      alert("foo");  }   I'm wondering after I dynamically add the control:   $j("tbody > tr:last").prev().before(strAppend);   do I need to call any function to associate the event watcher/handler with the control?  Any other ideas? Tks!


Does quantum mechanics conserve information after a measurement?

I understand that QM without observers is unitary and conserves information. My problem starts when there is a measurement. It is my understanding that the measurement problem has not been adequately resolved. But does any of the different interpretations of QM (which exist mostly to address the measurement problem) have satisfactorily answered it? Some people claim that there is no such thing as "the measurement problem", but I have not heard any comments from them about information conservation.  Other interpretations, such as decoherence, do not seem to address the measurement problem itself, or that is what some experts in the field say. The only interpretation that seems to address this problem is the Born "interpretation", but I put it in quotes because it is not just an interpretation, it is a theory itself because it adds additional hidden variables that evolve deterministically before the "collapse", and these might in principle be measurable, something that standard QM does not allow if it is the ultimate description of reality.  Thus, the question is: what is the state of the art answer to how information is conserved in QM?


Mirror modifier is not working, no mirrored object?

I'm learning how to use the mirror modifier and I am having some trouble.  When I apply the modifier to my object I don't see a mirrored version of it.  What am I doing wrong?


Switching the default session ubuntu 13.10

When my ubuntu 13.10 boots the screen goes black and has no response. I used to run on gnome fallback and would like to switch back to it but I can't get to the login screen due to the automatic login. My only access to terminal is the root shell prompt and I've tried to turn off the autologin in GDM from there but it restricts me to read-only. Any help is much appreciated.


Find the sum of two elements in a matrix


please I am new in this Forum and in this, I want to download the Ubuntu OS and change the Windows starter I already have in the Dell laptop. Is it that possible? How can I do it? Any help? Please  Really appreciate.


So,  (which would be cool, ), I found a handy little JS file called . It had some pretty interesting stuff in it, such as Eggs.Asteroids and Eggs.Cthulu. My favorite was:  ["The <center> cannot hold it is too late.", "You can't parse [X]HTML with regex.", "Regex is not a tool that can be used to correctly parse HTML.", "The use of regex will not allow you to consume HTML.", "Russian hackers pwn your webapp", "ALL IS LOST ALL IS LOST", "ZALGO IS TONY THE PONY HE COMES", "so many times but it is not getting to me.", "HTML is not a regular language", "not equipped to break down HTML into its meaningful parts", "go no NO NOOOO NO stop the angles are not real", "we cannot be saved", "You will never make me crack.", "a breach between this world and the dread realm of corrupt entities", "Even Jon Skeet cannot parse HTML using regular expressions.", "the unholy child weeps the blood of virgins", "it is too late it is too late", "an eternity of dread torture and security holes", "your psyche withering in the onslaught of horror", "will destroy your mind like so much watery putty", "his unholy radiance destroying all enlightenmnent", "HTML tags leaking from your eyes like liquid pain", "I can see it can you see it", "the One whose Name cannot be expressed in the Basic Multilingual Plane", "summons tainted souls into the realm of the living", "the pony he comes he comes he comes", "regex will consume all living tissue", "the ichor permeates all MY FACE MY FACE"];  What on earth is this? Is this a remnant of StackEgg? And, most importantly, why on earth is it here, in a chat.SE page, and what is it doing?


Setting style of \item as per AwesomeCV template

I'm a beginner in LaTeX, and I was trying to edit a template to make my Resume. I'm using  template, as present in .    In this, I need to make a bulleted list of a few entries in 2 columns. It appears like:    exactly the way I want. But it doesn't match the style of rest of the resume. I have used    \begin{multicols}{2}     \begin{itemize}         \item item 1         \item item 2         \item item 3         \item item 4         \item item 5         \item item 6     \end{itemize} \end{multicols}   to achieve the above. How do I ensure the template font size/style applies to the above entries?


Quick folder access on Ubuntu - go to the folder without making a search

So there's something that's bugging me on Ubuntu, never figured out how to fix it. On Windows 10, if I have multiple files in a folder and I type the first letters, it just automatically selects the folder starting with the same few letters. On Ubuntu, it lists matching items, like this:  As you can see, it does a search of "goo" instead of highlighting the google-chrome folder without searching. Is there any way to fix this? Thank you!


I want to make my user's input (in Python) case insensitive. Like if user type admin, Admin ADMIN or even he or she types like aDMIN. This should be insensitive so i can get exact input


\rowcolors causes missing vertical lines

When using \rowcolors to alternate row coloring, some vertical lines are missing in the restulting table.   \documentclass{scrreprt} \usepackage[table]{xcolor}  \begin{document} \begin{table} \rowcolors{2}{gray!25}{white} \begin{tabular}{l|ccc|cc|ccc|}            & A & B & C & D & E & F & G & H \\\hline    Verfahren  & p & a & p & a & a & a & a & a \\ Verfahren  & p & a & p & a & a & a & a & a \\ Verfahren  & p & a & p & a & a & a & a & a \\ Verfahren  & p & a & p & a & a & a & a & a \\ \end{tabular} \end{table}  \end{document}     If I manually insert  \rowcolor{gray!25} for every other row, the lines are correct for the "white" rows (since they are not explicitly set to to white as in the \rowcolors case)  Am I missing something?


What should I consider when choosing continuous lighting vs. strobes for studio photography?

If one were to want to get started with studio photography (I'm thinking things like portraits, headshots, perhaps pets, etc) what would be the considerations in choosing whether to go with continuous lighting vs. strobes for the lighting equipment?


(Solution-Verification) Use Schröder-Bernstein Theorem to construct a bijection between $(0,1)$ and $(0,1]$

Use Schröder-Bernstein Theorem to show construct a bijection between $(0,1)$ and $(0,1]$  Let $f : (0,1) \rightarrow (0,1] $ be defined as $x \mapsto x$  and $g : (0,1] \to (0,1)$ be defined as $x \mapsto \frac{x}{2}$  The theorem states if we have two injective functions $f,g$ between sets then there exists a bijective function $h$ between them.  Define   $A^*  \subset (0,1)$ to be $\{x \in (0,1) : x = \frac{p}{q} \,\&\, p = 1 \, \& \, q = 2^k, 1 \le k \} $ and   $ A'  \subset (0,1) $ to be equal to $(0,1) \backslash A^*$  and  $B^*  \subset (0,1]$ to be $\{x \in (0,1] : x = \frac{p}{q} \,\&\,  p = 1 \, \& \, q = 2^j, 0 \le j \}$  $ B'  \subset (0,1] $ to be equal to  $(0,1] \backslash B^*$   Define $h : A \to B $ to be defined by $ h(x) \displaystyle \Bigg \{ \begin{array} x f(x) = x \,\, \text{if} \, x \in A' \\ g^{-1}(x) = 2x \, \text{if} \, x \in A^*\end{array}  \\  $  So $A^* \cup A' = (0,1) \,\&\, B' \cup B^* = (0,1] \,\&\, A' \cap A^* = \emptyset \,\&\, B' \cap B^* = \emptyset $  and  $A^* \mapsto B^* \, \& \, A' \mapsto B'$


Why doesn't my unwrapped model appear in the UV Editor?

I'm trying to unwrap a cube (I know, super complicated). I've got the seams marked, the UV editor open in a 2nd window, and all the geo highlighted. When I tell the cube to unwrap nothing happens. That's pretty much the long and short of the problem. Now I've been working off this one file for a couple weeks now, saving it off the original file and continuously cloning geometry. It's entirely possible I did something, pressed a button, something.   Any thoughts.


How are PCA, LDA, CCA, and PLS related? They all seem "spectral" and linear algebraic and very well understood (say 50+ years of theory built around them). They are used for very different things (PCA for dimensionality reduction, LDA for classification, PLS for regression) but still they feel very closely related.


How to log in into a user account that a password with a batch file? Or any other settings?

I think I've seen this before but I've never given it much consideration.   I usually do not have a password for my own user account, and it's the default one. I set up an automatic boot on BIOS setup and it does that every morning, and automatically logs on into my user account and different batch files then run due to some scheduler settings.   However, I now have to use a password on my user account. But I want my computer to log in into my user account each time it boots even though there's a password. How can that be done with a batch file or any other means? Also, can it just log in automatically just on initial boot and not when I lock it manually?


beamer column footnote produces format lose.

Using the following code  \documentclass[demo]{beamer}  \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01,     author = {Author, A. and Buthor, B. and Cuthor, C.},     year = {2001},     title = {First Article Title Apha AAAAAAAAAAAAA AAA AA AA AA A AAA A A A AAAA} } @misc{A02,     author = {Author, A. and Buthor, B. and Cuthor, C.},     year = {2002},     title = {Second Article Title  Beta BBB B B B BBBB BBBBBB BBBBB BBBBB B B B BBBBB BBB BB} } \end{filecontents}   \usepackage     [   style=numeric-comp,                             autocite=superscript, % apply options here.                             sortcites,                             backend=bibtex                         ]{biblatex} \usepackage{scalefnt,lmodern}  \addbibresource{\jobname.bib} \usetheme{Warsaw}   \begin{document}  \section{Introduction}   \begin{frame} \frametitle{Slide with references at the bottom} \begin{columns} \begin{column}{5cm}         \begin{figure}         \includegraphics[width=\textwidth, height=.5\textwidth]{mypicture}          \end{figure}         \end{column} \begin{column}{5cm} \begin{itemize} \item<1-> in A happens that aa aaaaa aa\footnotemark[1] \item<1-> and aslo that A aaa a aaa a a aaaa aaa aaaaa aaa\footnotemark [1] \item<1-> 5\textsuperscript{th} cause of bb bbbbb\footnotemark[2] \item<1-> 1\textsuperscript{th} cause of bbb bbb bb\footnotemark[2]  \end{itemize} \end{column} \end{columns} \footnotetext[1]{\fullcite{A01}} \footnotetext[2]{\fullcite{A02}} \end{frame}  \begin{frame} \frametitle{Slide with references at the bottom} \begin{columns} \begin{column}{5cm}         \begin{figure}         \includegraphics[width=\textwidth, height=.5\textwidth]{mypicture}          \end{figure}         \end{column} \begin{column}{5cm} \begin{minipage}[T]{\textwidth} \begin{itemize} \item<1-> in A happens that aa aaaaa aa\footnotemark[1] \item<1-> and aslo that A aaa a aaa a a aaaa aaa aaaaa aaa\footnotemark [1] \item<1-> 5\textsuperscript{th} cause of bb bbbbb\footnotemark[2] \item<1-> 1\textsuperscript{th} cause of bbb bbb bb\footnotemark[2]  \end{itemize} \footnotetext[1]{\fullcite{A01}} \footnotetext[2]{\fullcite{A02}} \end{minipage} \end{column} \end{columns}  \end{frame}  \end{document}   When placing the footnotes to the right column to let the left column free the references end up out of the slide as can be seen in the picture. Why is this happening isn't it supposed to be taken care by using minipage? Or is the problem that the footnote environment takes the margins from somewhere else? Is there any way to visualize which margins are the environments for a particular slide?


"Dear All" difference between post and edit

I was just out and about looking for posts to help me secure the timelord hat and I found   If you notice at the first of the question it says Dear All.     If however, you click edit and look at the text the Dear All has vanished.    This feels like a remove salutation bug, or the reverse of that, edit being right, and the post being wrong.  EDIT: @gunr2171 has since edited the post and the Dear All goes away.


It is an exercise on the lecture that i am unable to prove.  Given that $gcd(a,b)=1$, prove that $gcd(a+b,a^2-ab+b^2)=1$ or $3$, also when will it equal $1$?


Regex not working and I don't know how to fix it

I have this piece of HTML:  LG ha tolto i veli al nuovo&nbsp;LG Chocolate, nome in codice BL40, un cellulare dalla forma insolita e dai contenuti tecnologici molto avanzati.&nbsp;A prima vista colpisce subito l'imponente schermo LCD da&nbsp;4 pollici&nbsp;e risoluzione di 800x345 pixel, che corrispondono a un formato di&nbsp;21:9. Questo rapporto d'aspetto permette di vedere a tutto schermo i film in questo formato, ma non solo: a beneficiarne è infatti anche la navigazione sui siti Internet. Grazie poi alla funzionalità&nbsp;Dual Screen UI&nbsp;è possibile visualizzare contemporaneamente sullo schermo due tipi di contenuti differenti.   I'm using regular expression to strip the span. I must strip the span with the exact match, because I'm processing about 12.000 document.  I'm using:  $string = preg_replace( '/(.*?)<\/span>/s', '
$1
',$string);   It doesn't work, I try also with Rubular. Why?


R choose which element of factor variable to throw out to produce only positive coefficients

How to manually choose which element of factor variable to throw out? Or how to automatically throw out the element with the least coefficient so that in the final model we have all the coefficients of factor variables > 0.   y <- c(1, 2, 2, 3, 1, 4) x <- c("red", "blue", "red", "blue", "red", "blue") dataset <- data.frame(y, x)  model <- lm(y ~ x, data=dataset) summary(model)   Coefficients:             Estimate Std. Error t value Pr(>|t|)    (Intercept)   3.0000     0.4714   6.364  0.00313 ** xred         -1.6667     0.6667  -2.500  0.06677 .    -- here this xred coefficient is negative   If instead xblue was chosen the coefficient would be positive. How to do it?  Throwing out the intercept from the model is not a solution because in case of multiple categorical variables problem will be solved for only one variable.   Edit. This jugglery might be good for aesthetics and storytelling. Suppose "colors" are different types of promotion and we are to interpret the model parameters to marketing stuff. Marketing people will feel much better seeing only positive coefficients for their variable. Explaining negative coefficients for stimulant variables is unnecessary challenge.


Suppose $\phi$ is a real function on $\mathbb{R}$ such that $$\phi \Bigl(\int_0^1f(x)\,dx\Bigr)\leq \int_0^1 \phi(f)\,dx$$ for every real bounded measurable function $f$. Prove that $\phi$ is then convex.    This one is in Rudin's Real and Complex Analysis, page 74, and, to be quite honest, I am unsure what my first step to solve this problem should even be. To help think of a general methodology, I attempted this similar question, from page 71 of the same book:      Assume $\phi$ is a continuous real valued function on $(a,b)$ such that $$\phi\Bigl(\frac{x+y}{2}\Bigr)\leq\frac{\phi(x)+\phi(y)}{2}$$ for all $x, y\in (a,b).$ Prove that $\phi$ is then convex (the conclusion does not follow if continuity is omitted from the hypothesis).   I take it that the latter question is just a special case of the former (assuming $\phi$ is bounded on $(a,b)$), so I attempted to solve the latter problem first. My attempt was to note that \begin{align*} \phi\big(\lambda x + (1-\lambda)y\big) &\leq \phi\Bigl(\frac{2\lambda x + 2(1-\lambda)y}{2}\Bigr) \\ &\leq \frac{1}{2}\Bigl(\phi\bigl(2\lambda x\bigr)+\phi \bigl(2(1-\lambda)y\bigr)\Bigr) \\ & \leq \phi\bigl(\lambda x\bigr)+\phi\bigl((1-\lambda)y\bigr) \end{align*} with the latter inequality justified simply by applying the hypothesis again twice to the previous expression.   From here, however, I am stuck; I cannot justify "popping out" the $\lambda$ and the $(1-\lambda)$ in the last inequality via some bound afforded by the hypothesis and/or the continuity of $\phi$.


I recently tried installing an app that was around 1.8GB to my Nexus 7 (8GB). it's a device with unfortunately small internal storage, so I had about 2GB free before attempting the install. I come back later, the download has failed due to not enough storage space. no big surprise there. but now, my device only has 350MB free! strangely enough, the graph in storage settings appears as if it had that full 2GB or so free, but lists only 350MB.  how can I get my free storage space back from the failed download? my device is rooted, no root file browser or terminal, but I do have the Android SDK and tools.  another thing to note: my device is constantly complaining about its free space in the form of a notification. also, every app download from Google Play (even a tiny 2MB app) fails due to not enough storage space. for some reason, that always happens when my device goes under 500MB free. I don't understand it, but, it's 'normal'.


generic type checking for numeric values

I want to be able to check weather type argument provided is from a numeric format. (double, int, float, etc) I can "manually" check that in the where statement by: class RangeDictionary<TNumericKey, TValue> where TNumericKey is int ||  TNumericKey is double /*etc*/ : Dictionary<TNumericKey, TValue>  But I want something more like: class RangeDictionary<TNumericKey, TValue> where TNumericKey is INumeric : Dictionary<TNumericKey, TValue>  Is that possible?


Was Mace Windu technically committing treason or not?

In Star Wars Episode III: Revenge of the Sith, Chancellor Palpatine accuses Mace Windu and other Jedi Masters of treason for trying to arrest him. Were they actually committing treason though?  First of all, Palpatine had certainly broken the law. He assisted the Trade Federation and therefore had committed treason himself. He also took action to murder Obi-Wan Kenobi and Qui-Gon Jinn, which is surely illegal.   I don't know if Mace Windu was legally allowed to arrest Palpatine, but even if not he was trying to arrest a criminal, perhaps this could go down as a citizen's arrest.  So the question is: My lord, is that legal (to arrest Palpatine, or was it treason)?


Round decimal numbers and compare up to 3 decimal places in java

I am having problem with comparing two double numbers up to 3 decimal places. When I try to round 3.1756, I always get 3.176 the last number changes due to 6 last number. Please, help me to get exact number (3.175) from whole decimal numbers.


I'm using QGIS 2.14.7 and I want to change the  QGIS splash screen into something more suitable for my project. I noticed that in older versions there was a .png that could be changed, but the path (images/splash/splash.xcf.bz) doesn't exist in version 2.14.7 anymore. Does any of you know how to change it now?


Which of these integers can be written as the sum of two squares of integers?

I know that an integer is the sum of two squares if and only if it is the norm of some Gaussian integer. However, the numbers below are so large I don't even know where to begin, let alone know whether or not it can even be a sum of two squares.  5^7 * 7^9 * 11^12 * 13^11 2^10 * 11^12 * 13^15 * 23^11 3^11 * 7^10 * 13^12 * 17^13 3^8 * 7^12 * 13^5 * 19^4


How to select and assign vertices to a vertex group via python? I have a script that generates random hair on sphere, and I want to make it work for a custom head mannequin, so I have to assign vertices to a vertex group for scalp hair, and then apply my script on it, so it adds hair only to the scalp part?


Is there an accepted convention on using parenthesis around multiple paragraphs?

Years ago, I remember reading a novel (I think it was The Three Musketeers, maybe?) that had a few paragraphs inside parenthesis, and it followed the convention for a multiple paragraph quotation:  (Paragraph 1. (Paragraph 2. (Paragraph 3.)  So I'm curious, is this actually a convention? Google search seems to be failing me here.  I'm asking entirely out of curiosity, by the way.  I don't currently have any intention of using a multiple paragraph parenthetical in my own writing.


Diagonalizable transformation restricted to an invariant subspace is diagonalizable

Suppose $V$ is a vector space over $\mathbb{C}$, and $A$ is a linear transformation on $V$ which is diagonalizable. I.e. there is a basis of $V$ consisting of eigenvectors of $A$. If $W\subseteq V$ is an invariant subspace of $A$ (so $A(W)\subseteq W$), show that $A|_W$ is also diagonalizable.   I tried supposing $A$ has distinct eigenvalues $\lambda_1,\ldots,\lambda_m$, with $V_i=\{v\in V: Av=\lambda_i v\}$. Then we can write $V=V_1\oplus\cdots\oplus V_m,$ but I'm not sure whether it is true that  $$W=(W\cap V_1)\oplus\cdots\oplus (W\cap V_m),.$$  If it is true, then we're done, but it may be wrong.


Tapping push notifications from the Android app just takes me to my feed

When I receive push notifications from the StackExchange app, my expectation that tapping them should take me to the post on which the notification happened is always violated. It seems wrong to me that tapping a push notification should just do the same thing as opening the app the normal way.  I would like to request that tapping a push notification from the Android app should bring the user to the post that generated the notification.  If the user has multiple inbox messages, at least open the inbox.


I was messing with UV unwrapping, and this is what happened:    I reset the UV map, but to no result. For reference, I have older render of the same glass (the version which was unfortunately overwritten):    How to make it smooth again?  It looks like there are two faces in the same place oriented other ways.  That's how face orientation view looks like: How to rotate these faces?


prove that this double transpose $T''$ it's not injective.

Prove that if $T''$ is injective then $T$ it's injective, but the converse it's not true.   I proved the first part " $T''$ injective implies $T$ injective".  It's easy to prove that $T''$ is injective if and only if the image of $T'$ is dense on $X'$. So If I prove that the $cl({Ran(T')})$ it's a proper subset of $X'$ then I'm done. But even this it's difficult.


How to prove that the set of all not-empty and finite subsets of $\mathbb{N}$ is countable?

The set of all subsets of $\mathbb N$ is $ \mathcal{P}{(\mathbb N)} $ right?  So how can I prove that $ \mathcal{P}{(\mathbb N)} $ is countable?


Is there a google voice or other VoIP app for Ubuntu phone?

I don't see a google voice app available for Ubuntu phone, are there any known plans for this?   Are there any other known VoIP apps available for Ubuntu Phone or any plans for one?  I came across  and , and while they deal with VoIP and Ubuntu Phone, they are unrelated to my question.


Accessing Android smartphone (Galaxy S3) via an unstable USB connection

I'm attempting to connect to an Android smartphone (Samsung Galaxy S3) whose screen is broken (i.e. completely black) in order to save all files on it. The whole phone is (almost) completely beyond repair as the USB slot does not allow for a stable connection at all. Even though I already attempted to fixate the USB cable with duct tape (I'm not kidding), this is what I always end up with (according to dmesg):  [  750.075987] usb 1-1.6: new high-speed USB device number 14 using ehci-pci [  750.186084] usb 1-1.6: New USB device found, idVendor=04e8, idProduct=6860 [  750.186091] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [  750.186095] usb 1-1.6: Product: SAMSUNG_Android [  750.186098] usb 1-1.6: Manufacturer: SAMSUNG [  750.186101] usb 1-1.6: SerialNumber: 9baf4266 [  780.783212] usb 1-1.6: USB disconnect, device number 14 [  793.596612] usb 1-1.6: new high-speed USB device number 15 using ehci-pci [...] [  852.507428] usb 1-1.6: USB disconnect, device number 15 [  866.039114] usb 1-1.6: new high-speed USB device number 16 using ehci-pci [...] [  944.407661] usb 1-1.6: USB disconnect, device number 16 [...]  I.e. the connection is reset roughly every minute due to USB connection problems. I'm on Debian 9 and use libmtp. The command "mtp-detect" always fails with the following output:  libmtp version: 1.1.13 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 14 Attempting to connect device(s) PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device inep: usb_get_endpoint_status(): No such device outep: usb_get_endpoint_status(): No such device libusb_open() failed!: No such device LIBMTP PANIC: Could not init USB on second attempt Unable to open raw device 0 OK.  My question is: Is there any way to use libmtp (or any other free software) to (bash) copy files from my Android device to my laptop via an unstable connection? Thank you very much for any suggestions.


I was thinking about the infinite expression:  $$\sqrt{6+\sqrt{6+\sqrt{6+...}}}$$  It seems to me a bit informal or underspecified. You could state it better by defining an infinite series:  $$a_n = \sqrt{6+a_{n-1}}$$  And then ask about $\lim_{n\rightarrow\infty}{a_n}$. But then you have to wonder what $a_0$ is. Although anyway it's not too hard to figure out that if $a_0 \geq -6$, then the limit is 3. I fully understand this is the typical treatment and has been covered before. But where does this $a_0 \geq -6$ come from? Is there a way to evaluate it without making any assumptions like this?  It also dawned on me that maybe you could also define this sequence going "outside-in" instead of "inside-out". For instance:  $$b_n = b_{n-1}^2-6$$  But this seems a bit more unruly. It diverges for values other than $3$ and $-2$.  So I guess my question is: is that original expression just underdefined, and requires a small "leap" to formalize? Or is there a better way to treat that kind of thing strictly? Are there examples of similar expressions where the "informality" is troublesome - like maybe there's more than one way to formalize it that leads to different answers?


Screen turns blank except the wallpaper then comes back

Facing an issue from yesterday. Whenever I open any application it turns blank except wallpaper. When it comes back appears with the application I started. Even when when I minimize any application the screen turns blank and comes back after a while. I can not shut down the pc too. When I click on it it turns blank. An Error sending message appears sometime. On detail I have seen it has something to do with 'COMPIZ'.