Cannot access any files on Samsung Tab 4 7"

I have a Samsung Galaxy tab 4, 7", rooted but running stock OS (Android 4.4.2. It was rooted using Odin 3.09 and TWRP recovery. I then enabled adb root with the adbd insecure app by Chainfire. It would appear that everything is good to go but when I run Droid Explorer with the tablet plugged in and USB debugging on, it appears to load correctly but then I do not have access to any files or folders. All I see on the left-hand side is a file labeled "/" but I cannot actually open it and it shows "0 objects" at the bottom. I would really appreciate some help here, thanks.


2x3 ANOVA interaction no longer significant after including a covariate?

My experiment had a 2x3 design with one covariate. If I analyse the results using an ANOVA, I get a strongly significant interaction between the two main factors (p<.001). If I add the covariate into the analysis and do an ANCOVA, the interaction between the two main factors is not significant (p=.252).  The covariate itself was not significant, nor did it have any significant interactions.  There are similar questions on this website, but I was hoping to understand what does such a result pattern say about the covariate? How should I interpret the results?  Adding the covariate was the novel feature of my study and therefore it is important to me to understand this interaction properly.  Is the covariate influencing the results?  EDIT:  I've been thinking about this all day and I guess the possible interpretation would be: When controlling for the covariate, the interaction of the main effects is no longer significant.  In which case I don't understand a couple of things:  a) Does that mean the covariate is responsible for the interaction?  b) Why is the interaction between FactorA*FactorB*Covariate not significant then?  c) Why isn't the covariate significantly interacting with anything at all, when its presence seems to be influencing the results?  EDIT 2:  Maybe I am doing something wrong, because it is not making much sense to me. Here are my results:    The last two pictures show when I run an ANOVA without the covariate (repeated measures, Factor 1 (2 levels). Factor 2 (3 levels).  The first three when I run an ANCOVA on the same factors, except I put in OptimismScore as a covariate.


XeLaTeX with fontspec not recognizing ANY fonts on a windows platform (with miktex)

Getting the message: font-not-found see fontspec documentation. I'm using cls file abbreviated at the bottom of this page whose origin is latextemplates.com/template/friggeri-resume-cv. I've tried all sorts of fonts from system fonts and tex fonts. Nothing seems to work! I would like to get fonts like in  to work, but I would be happy if I can just get one font to work!  \ProvidesClass{friggeri-cv}[2012/04/30 CV class] \NeedsTeXFormat{LaTeX2e}  \DeclareOption{print}{\def\@cv@print{}} \DeclareOption*{% \PassOptionsToClass{\CurrentOption}{article}% } \ProcessOptions\relax \LoadClass{article}   %%%%%%%%%% % Colors % %%%%%%%%%%  \RequirePackage{xcolor}  \definecolor{white}{RGB}{255,255,255} ...  %%%%%%%%% % Fonts % %%%%%%%%% \RequirePackage{fontspec} \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} \RequirePackage[T1]{fontenc}  \RequirePackage{libertine}  \newfontfamily\bodyfont[]{\rm} \newfontfamily\thinfont[]{\biolinum} \newfontfamily\headingfont[]{\sc}  \defaultfontfeatures{Mapping=tex-text} \setmainfont[Mapping=tex-text, Color=textcolor]{Tex Gyre Heros}  %\setmathfont{XITS Math}  %%%%%%%%%% % Header % %%%%%%%%%%  \RequirePackage{tikz}  \newcommand{\rolefont}{%   \fontsize{14pt}{24pt}\selectfont%   \thinfont%   \color{white}% }  \newcommand{\header}[3]{%   \begin{tikzpicture}[remember picture,overlay]     \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum    height=4cm] (box) at (current page.north){};     \node [anchor=center] (name) at (box) {%       \fontsize{40pt}{72pt}\color{header}%       {\thinfont #1}{\bodyfont  #2}     }; \node [anchor=north] at (name.south) {%   \fontsize{14pt}{24pt}\color{header}%   \thinfont #3%     };   \end{tikzpicture}   \vspace{2.5cm}   \vspace{-2\parskip} }  ...  %%%%%%%%%%%%%%%%  % Other tweaks %  %%%%%%%%%%%%%%%%  \RequirePackage[left=6.1cm,top=2cm,right=1.5cm,bottom=2.5cm,nohead,nofoot]{geometry} \RequirePackage{hyperref}


Prove that there is an one-to-one function from $\mathbb R × \mathbb R$ to $\mathbb R$

I am not sure how this would work, since any solution I think of results in a mess of over complicated rules.   Thank you in advance!


how can you update only newly added repo

if i add add-apt-repository -y ppa:ondrej/php how can i just updated to pull the info from the new repo? I don't want to do apt update and get an update from all of the repo's installed. I just want to pull in the fresh data from the newly added repo.  is that possible?


Error calling a method from the main method involving string

I keep getting this error in my program where I am calling the method getValWords and the error say the following "The method getValidWords(String) in the type anothertry is not applicable for the arguments (File)".   This is a sample of my code.       File file = new File (args[0]);     List<String> words = getValidWords(file);       Collections.sort(words);      System.out.println(words.toString());      }  public static String[] getValidWords(String s) {     s = s.replaceAll("[0-9]\\p{L}+", " "); // Removes any word starting with a number     s = s.replaceAll("\\s+", " "); // trims extra whitespace "    " into " "     return s.split(" "); }


The UV is not Unwrapping into perfect circles. Nothing but mere twists and turns and distort. Can you help me?  SOLVED: I figured out what I did wrong. I used cylinders instead of circle. No wonder why the UV are distorted.


I want to install and use the scribus application. I am using Xubuntu 18.04 as primary OS on a Dell 3162 notebook computer.


javascript get strings between bracket [ ]

in my paragraph I have to get the string between brackets [ ]  ie)  <p id="mytext">     this is my paragraph but I have [code1] and there is another bracket [code2]. </p>   on my JavaScript I have go through all strings and get result of array only as  "code1" and "code2"  thank you in advance!


let $f$ be a continuous function on $(0,2]$

Show that $f$ is uniformly continuous if $\displaystyle \lim_{x \to 0^{+}} f(x)$ exists.  I can show $f$ is uniformly continuous on $(0,2]$,but i am not sure that to use the condition $\displaystyle \lim_{x \to 0^{+}} f(x)$ exists.


I'm starting to use Google Authenticator for more and more things now, but I've just realized that if I lose my phone, or if I need to wipe and restore it to install new firmware, I will lose all of my codes.  Is there anyway to back them up please? Or some kind of fallback that means I can restore it to a new device?  Thanks


def useless(x):     print(x) useless(5) print(x)   Why doesn't the last line of my code print "5" (referring to the function parameter used in line three bound to x)?


Prove that, $\frac{a}{b}+\frac{b}{c}+\frac{c}{d}+\frac{d}{a}\ge 4$ where we do not use AM-GM inequality on the given statement to prove it.

Prove that, $\dfrac{a}{b}+\dfrac{b}{c}+\dfrac{c}{d}+\dfrac{d}{a}\ge 4$ where we do not use AM-GM inequality on the given statement to prove it. Typically, I am actually looking for a little advanced and elegant solution.    EDIT: $a,b,c,d>0$


What is a good book that serves well as an introduction to the study of differential equations?

I'm looking for a good book that serves well as an introduction to the study of differential equations. I don't want it to be about applications since I'm currently not particularly interested in anything but pure mathematics. I want topics like existence, uniqueness, Laplace transformation, solutions in terms of power series and moderately difficult non-linear equations to be covered rigorously. I want many assignments as well. A bonus would be if Fourier series and simple partial differential equations are covered but this is not mandatory. Preferably I would like the price to not exceed \$$100$. If there is a free pdf that would be wonderful.   Not a duplicate since I am more specific with what I want.


How can I create an alias for cd and ls?

I frequently run the ls command after running the cd command. How can I create an alias (like cs) for this operation?


Terminal Server Licensing (per device) in a dual boot environment: 1 or 2 licenses per PC?

in our company I have a few computers that are already Windows 7 clients to a Windows Server 2008 R2 but are now supposed to receive an additional Linux installation as a dual-boot option. The licensing mode on the terminal server is set to "per device" and they have each pulled a license in their windows installation as they're supposed to.  Now how will this be handled by the Terminal Server if I connect the first time via RDP from the Linux OS? We also have 2 Linux Thin Clients who pull a licence just as the Windows PCs do but they only run linux, so its works just fine. I don't want those dual-boot computers to use up 2 licenses.   How is the "per device" policy enforced? Does the server check the computer name for that i.e. would I be able to solve the problem by making sure both OSs use the same computer name?  Please note that I'm asking about the Terminal Server Client Access Licenses (TS CALs) which are handed out to RDP-Clients and "used up".  Thanks a lot for your assistance


Feedback when a comment gets removed by moderator

I have this habit, of making snide remarks on questions of poor quality.  In the vast majority of cases the question ends up being closed anyway, and I only add my comment after the question has started receiving the close votes, so its fate is more or less known. But still, there appears to be a problem.  For example, there is this question , to which I added a comment saying "you begin by finding a micromonitor and a microkeyboard".  The question already had one close vote and two downvotes at the time I added that comment, and @gnat had already added the standard comment saying "career and education advice is explicitly off-topic per help center. See meta.programmers.stackexchange.com/a/6488/40980".  I know comments of this type are not a good idea, and I should refrain from posting them.  Usually they point to some of the issues of the question, instead of being purely joking, as the above example is, but I agree, they are nothing but a habit that I should kick.  But please read on, I have something to ask which has to do with how this web site works.  So, it appears that some moderator has actually gone into the trouble of removing that comment of mine.  Which is fine, I am not complaining about it, as I said I know I should not have made that remark in the first place.  My issue is of an entirely different nature.  Here is the rub: I did not receive any notification about the fact that my comment was removed.  This is not a one-off kind of event, the other day I had done a similar thing, and it was the first time I begun to realize that there must be moderators on stackexchange who go around removing inappropriate comments.  And then it downed upon me that these snide remarks of mine may have been axed by moderators for years, and I would not know, because I have not been receiving any notifications, nor do I remember every single post on which I once left a snide remark to go see if it is still there.  So, I would have probably realized that these comments are not welcome on stackexchange a lot sooner if I had been receiving notifications about such instances of moderation events, and many of these comments would have never been posted in the first place if I had received notifications the first few times I wrote comments of this kind.  So, shouldn't there be some kind of notification sent when comments are removed for reasons of inappropriateness?  Amendment 1  If someone like me is finding out that comments are ephemeral after a couple of years of using the site, then clearly, some kind of information is missing somewhere.  Generally, you cannot force people to read walls of text of "terms of use" before using a site, so when you have an opportunity to send additional information by means of notifications about actions taken by the user, that's an opportunity worth pursuing.  In other words, notifications about things are good.  Amendment 2  So, this is worse than I thought.  If it is possible that a comment containing useful information may be deleted, then I believe that a notification should really be sent, and it should contain the original text of the comment, in case the OP has a use for it.


I have the following regex:  /^([\p{L}])*[\p{L},.'-]+$/u   it is a unicode version, which I use for international firstnames.  When I try this:  const value = "Hello" const criteria = value.match(/^([\p{L}])*[\p{L},.'-]+$/u); console.log(criteria);   It always returns null, no matter which value the variable has.  I tried it in Regex Debugger / Tester on a Browser and it worked there.


Unexpected long decimal after converting to float

I'm using python 3.7.xx. Entering a value into my function, converting it to a float, multiplying it by 100, then printing said variable results in a mysterious .0000000001 being attached to my expected value.    def get_change(amt):      hun_amt = float(amt) * 100      print(hun_amt)     print("How much money you got?")  amt = input()  get_change(amt)   If inputted .07 I receive 7.000000000000001 in the console.  Where is this coming from?


How is Schrodinger's model of atom consistent with reference to Maxwell's Theory of Electromagnetic Radiation?

When Rutherford proposed his model of atom, he mentioned that "Nucleus is surrounded by electrons that move around the nucleus with very high speed in circular paths called orbits. James Maxwell contradicted this with his theory of electromagnetic radiation which stated "Charged particles, when accelerated, should emit electromagnetic radiation". In Schrodinger's model of atom, the electrons move around the nucleus within a permissible zone.   The question is that even in the latter case, the electron is moving around the nucleus in undefined paths, which means that the electron is an accelerated, charged particle. How in this case electromagnetic radiation is not given out by it? It is just stating that electrons do not lose energy while moving around the nucleus. What is the actual reason for the electron not losing the energy in form of electromagnetic radiation?


Is there a proof that the set of real numbers can exactly represent distances?

Mathematicians define real numbers in an abstract way - as an 'ordered field' with 'the least upper bound property'.  In physics, we use real numbers to represent distances. For us to be able to do this, we need to establish the following:   With every distance a real number can be associated. With every real number, a distance can be associated.   In other words, a one to one correspondence.  Is there any proof of this?


"Treat all warnings as errors except..." in Visual Studio

In Visual Studio, I can select the "Treat warnings as errors" option to prevent my code from compiling if there are any warnings. Our team uses this option, but there are two warnings we would like to keep as warnings.   There is an option to suppress warnings, but we DO want them to show up as warnings, so that won't work.  It appears that the only way to get the behavior we want is to enter a list of every C# warning number into the "Specific warnings" text box, except for the two we want treated as warnings.  Besides the maintenance headache, the biggest disadvantage to this approach is that a few warnings do not have numbers, so they can't be referenced explicitly. For example, "Could not resolve this reference. Could not locate assembly 'Data....'"  Does anyone know of a better way to do this?    Clarifying for those who don't see immediately why this is useful. Think about how most warnings work. They tell you something is a little off in the code you just wrote. It takes about 10 seconds to fix them, and that keeps the code base cleaner.  The "Obsolete" warning is very different from this. Sometimes fixing it means just consuming a new method signature. But if an entire class is obsolete, and you have usage of it scattered through hundreds of thousands of lines of code, it could take weeks or more to fix. You don't want the build to be broken for that long, but you definitely DO want to see a warning about it. This isn't just a hypothetical case--this has happened to us.  Literal "#warning" warnings are also unique. I often want to check it in, but I don't want to break the build.


What is the physical interpretation in behind impedance of capacitor and inductor? we know that resistance oppose the current in the same direction of voltage. But how capacitor and impedance oppose the current in perpendicular direction of voltage? Also discuss why the impedance is a imaginary!


Avoid vertical space above bullet list in LaTeX table

I have a , but it has unwanted white space above the list, making it horizontally unaligned with other cells in the row.  Starting the list with  helps a bit, but the problem persists.  Is there a way to get rid of the space? Here is my minimal working example consisting of 4 code pattern combinations from : \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{enumitem} \begin{document} Hello world.  \begin{tabular}{l>{\raggedright}p{3in}} \toprule    Item title \#1    &    \begin{itemize}[noitemsep,topsep=0pt] % Code pattern 1    \item Two    \item bullets    \end{itemize} \tabularnewline[0.1in]    Item title \#2    &    \begin{itemize}[noitemsep,topsep=0pt] % Code pattern 1, 2nd row    \item Two more    \item bullets    \end{itemize} \tabularnewline[0.1in]    Item title \#3    &    \kern-\parskip\begin{itemize}[noitemsep,topsep=0pt] % Code pattern 2    \item Another two    \item bullets    \end{itemize}\kern-\parskip \tabularnewline[0.1in]    Item title \#4    &    \kern-\parskip\begin{itemize} % Code pattern 3    \item Another two more    \item bullets    \end{itemize}\kern-\parskip \tabularnewline[0.1in]    Item title \#5    &    \begin{itemize}[noitemsep,topsep=-8pt] % Code pattern 4    \item Another two more    \item bullets still    \end{itemize} \tabularnewline \bottomrule \end{tabular}  \end{document}  Here is the compiled result:


I would be traveling from New York to India through Dubai stop at Athens.Do I need an airport transit visa?

I am a citizen of India. I will be traveling from New York to India through Dubai and with a stop at Athens (2 hrs). I will stay in the airport (or in the airplane) during the  2 hour stop at the airport in Athens. I will not be going out of the airport. I have a valid US visa. Do I need an airport transit visa?


Looked for a post regarding this specific proof by induction, and can't seem to find one... please see below for the proposition and my attempt. It seems I'm getting stuck when it comes to manipulating the fractions during the inductive step, but I'm now concerned that my approach is somehow flawed.   Prove that for all $n \ge 1$, $1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots + \frac{1}{2n-1}-\frac{1}{2n}=\frac{1}{n+1}+\frac{1}{n+2}+\frac{1}{n+3}+\cdots + \frac {1}{2n}$.  $Proof.$ We will prove this via mathematical induction.  Base Case. For $n=1$ we see that $\frac{1}{2n-1}-\frac{1}{2n}=\frac{1}{2(1)-1}-\frac{1}{2(1)}=1-\frac{1}{2}=\frac{1}{2}=\frac{1}{2(1)}=\frac{1}{2n}$.  Inductive Step. Assume our proposition holds for $n=k\ge 1$. Now observe that  $$\begin{align*}1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots + \frac{1}{2k-1}-\frac{1}{2k}+\frac{1}{2(k+1)-1}-\frac{1}{2(k+1)}&=\\ \frac{1}{k+1}+\frac{1}{k+2}+\frac{1}{k+3}+\cdots + \frac {1}{2k} + \frac{1}{2(k+1)-1}-\frac{1}{2(k+1)}  \end{align*}$$ Stuck here ^^^  Wanting to get to here: $\frac{1}{k+1}+\frac{1}{k+2}+\frac{1}{k+3}+\cdots + \frac {1}{2(k+1)}.$


Bound on $(x-x_0)(x-x_1) \dots (x-x_n)$ for equidistant points

I have to estimate the error bound of a lagrange polynomial and to do that i have to show that $|(x-x_1)(x-x_2) \dots (x-x_n)| \leq \frac{1}{4}(n+1)!h^{n+1}$ for equidistant points where $x_{j+1}-x_j = h$ and where $x \in [x_0,x_n]$. Since all $|x-x_j|$ are decreasing in the interval $[x_0,x_j]$ and increasing in the interval $[x_j,x_n]$, $|x_0-x_j|$ must be the maximum of $|x-x_j|$ from $j = 0$ to $j= \frac{N}{2}$ and $|x_n-x_j|$ must be the maximum of all $|x-x_j|$ from $j=\frac{N+1}{2}$ to $j = n$. If I do that though i dont get the right bound so I'm wondering what i doing wrong. Any help would be appreciated.


Using apt-cache to search for packages that include a specific program?

Is it possible to use apt-cache (or more generally APT) to search for packages that include a specific program, like setcap or ifconfig? I know i can use dpkg -S <prog> to identify installed packages that include <prog>, but is it possible to retrieve such information from remote package repositories?


What is a loss function in decision theory?

My notes define a loss function as the 'cost' incurred when the true value of $\theta$ is estimated by $\hat\theta$. What kind of cost is it talking about? monetary cost? or is it something related to errors?


I installed Lubuntu(14.04.2 LTS) in my Lenovo Z510.  The multimedia hot keys in my laptop is independent. Means to use multimedia keys I don't have to press Fn key. The brightness hot keys are working perfectly but only the volume buttons(mute, volume up, volume down) not working.  I tried  gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-up gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-down gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-mute   but still nothing happens.


What does "InnoDB stores its tables and indexes in a tablespace" mean?

Was reading the mysql engine innoDB tutorial, I came across this sentence      "InnoDB stores its tables and indexes in a tablespace"   Can any body explain me this what does it means.   Thank you :)


Is an equality test possible when using paillier crypto?

Given two ciphertexts $c_1=Ek_1(p_1)$ and $c_2=Ek_2(p_2)$ encrpted by two different users with two different keys, i.e. $Ek_1$ and $Ek_2$ using a homomorphic crypto such as Paillier. Can a third party perform an equality test on $c_1$ and $c_2$ without knowing the keys?    As for my research efforts…  I read few papers on equality tests, and homomorphic encryption. However, in those papers almost all the scenarios are like when a client upload its encrypted data on the cloud and then search an encrypted keyword on it. In my case, I have a shared table of cipher texts and i have to find common attributes among the cipher texts encrypted by different clients stored in shared database. whereas normally comparison is made on cipher texts encrypted by a single client and done by the owner of the data.


Is it still the case that Purgeable part is not under our control (to be deleted)? There are several posts (e.g., ) on this, but no solution as it seems.


I know there have been several posts explaining argument passing in Java. I also know that the arguments are passed by value but the value is the reference to the object. Say I have the following 2 mthods.  public void append(List<String> list){     list.add("some string"); }  public void incr(int count){     count++; }   If I call the first method, the object list gets modified and the modified value exists after the method call too. But when I call incr(count), the modified value of count is lost once the method call returns.  Why is it that in some cases, the value gets modified but in the other it does not?


I've composed a few queries and then I found that there is not an option to remove some of those.  I  but no luck.    Is there a way to delete some of my own queries?


How do I remove a file I accidentally created named $file?

I was working on a shell script and I accidentally created a file with the variable as its name. Now I have $file in my ls output, and cannot remove it.  What can I do?


Most of the books which I looked at give approximately 10 km as the radius of a neutron star. Just yesterday I looked at a book by Dave Goldberg titled The Universe In the Rearview Mirror (2013) which says that they're "only about 5 km in radius" [p.225]. Is this true, [i.e., is there some recent evidence for this], or did he make a mistake here?


How did the Alien know that Ripley was going to blow the Nostromo?

How could the Alien know that Ellen Ripley is going to blow up the Nostromo? He deliberately hid himself in the emergency ship in order to survive the explosion. Did he follow her? Is he super intelligent and knew how human spaceships operate? Why didn’t he kill her after she sent off the emergency ship?


How to add startup applications in lubuntu?

Is there a 'Startup applications' app for lubuntu? Or how do I add apps to startup? I attempted a tutorial to add entries to ~/.config/autostart, but it did not work. Isn't there an easy way? Any ideas please?


How to pass integer arrays in Android from one activity to a fragment by value and not by reference?

How to pass integer arrays in Android from one activity to a fragment by value? Whenever I pass an array using Bundle or Intent to pass to another activity, it seems that it is passed by reference.   I am passing an array from a fragment to an activity where I pass it to 2 functions which sorts the array using 2 different algorithms. However, the 2nd sorting algorithm gets a sorted array because the 1st algorithm has already sorted it before. I need that both function calls have the same input array.  int[] inputArray = getIntent().getIntArrayExtra("input")     bubbleSort(inputArray);      mergeSort(inputArray);   Even if I make a copy of the array it doesn't work because probably the array was passed by reference.


Image Capture "Delete After Import" Disappeared

There used to be a checkbox when I import pictures from my camera that said "delete after import" or something like that. It's not there anymore. Any ideas?


Why $\sum_{k=0}^m x^k $ is equal to $\dfrac{x^{m+1}-1}{x-1} $?

Who can help me proving this (but you can no longer use $\sum$ in the proof):  $$\sum_{k=0}^m x^k=\dfrac{x^{m+1}-1}{x-1}$$


After changing input value, JS still shows old value

I am trying to change the value of an input field after the user clicks on a button. It changes the value to false, but it doesn't seem like it actually "refreshes" when calling the .val() again. Here's a JS Fiddle example:  As you can see, the alert shows that the value is true, and then it shows that it's false, but then it doesn't show that it's true any time after that anymore.   $("#filter_assessment_list").click(function(){   upcoming_assessments = $("#upcoming_assessments").val()   alert(upcoming_assessments)   if(upcoming_assessments){     $("#upcoming_assessments").val(false)   }   else{     $("#upcoming_assessments").val(true)   } }) <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <a class="btn btn-sm btn-primary text-white" id="filter_assessment_list" href="javascript:;">         Show only upcoming assessments </a>  <input type="hidden" name="upcoming_assessments" id="upcoming_assessments" value="true">


Probability of selecting q red balls from m red balls and n blue balls

Suppose there are $m$ red balls and $n$ blue balls in an urn. We randomly choose $p:m<p<n$ balls uniformly from the urn. What is the probability that exactly $q$ red balls are chosen?  Note:- Normally the answer would be $\frac{{m}\choose{q}}{{m+n}\choose{q}}$. However, since the number of balls that are chosen are provided, it is confusing me out. Any hints for the answer will also be appreciated.


How to permanently remove the search result which I deleted from the website? I previously added those url in google webmaster sitemaps.  Is there any way to hide those url permanently from google SERP?


Is a comma before a conjunction optional, or old? (not talking about lists)

I have been corrected several times recently for putting a comma before a conjunction in a sentence (splitting phrases, not items in a list). To each their own style guide, but my understanding was that (using 'and' as an example):   in the prehistoric era, the rule was to always put a comma before 'and', no matter the context in the modern era, there are  about 'and', commas and the final item in a list (which I am not concerned with here) in the modern era, you may put a comma before 'and' in a non-list to emphasise, indicate a pause, tweak meaning etc. So that:      We will fight them on the beaches and the landing grounds.   has a slightly different meaning to     We will fight them on the beaches, and the landing grounds.   ...but both are valid.  Is this comma in fact optional, or always to be discarded? Have I half-learned a (possibly out-moded) style rule without realizing it?


Processing password protected zip files using Mapreduce

I want to process password protected zipped files using Hadoop mapreduce. I was able to process unprotected zip files using ZipFileInputformat. But it doesn't support password protected zips. Is there any Java library that provide stream access to password protected zip files or extract zip files if I can make its byte content available ? Thanks in Advance.


Is it hard to do a script where I can create a lot of spheres? I have a csv file with x,y,z,r (radius) coordinates. I saw some topics but nothing worked to me.


Why is there no electricity available in the Walking Dead Series?

I've been wondering this for a while.  Why is there no electricity in the post apocalyptic world?


Let me opt-out of certain sites for Hot Network Questions to avoid TV spoilers posted by inconsiderate people

While I was using Stack Overflow at work, someone's just spoilt the twelve-hour old Game of Thrones season finale for me with an extremely ill-advised question title over on SFF.SE. Hot Network Questions popped it up right there alongside the answer I was reading about whether C++ strictly "includes" C from a language lawyer perspective. My efforts to entirely avoid Facebook, YouTube, Quora, Twitter and SFF.SE itself throughout today were ultimately, then, in vain. The question's title has since been edited (presumably by a higher-rep user — I didn't look at anything but the page title), but it's too late.  The least invasive change I can think of proposing right now is to allow us to remove certain sites from the Hot Network Questions rotation. So if we're in the middle of Game of Thrones season, I'd probably remove SFF.SE and Movies & TV from my HNQ display. I do find myself visiting lots of interesting questions on those sites through HNQ, but short of making spoilers punishable by death and hoping that word of this new law spreads, I can't think of anything else to suggest.


Smooth shading interpolation problem when creating new mesh

I'm trying to break up a mesh in different pieces.  The problem I'm having is related to material rendering. In my original model, I have smooth shading applied, as you can see in the following capture:    To break the model in different parts, I'm selecting a set of faces and using P to create a new mesh with those parts.    Once the new mesh is created, the smooth shading interpolation is calculated differently, and you can see the part as a patch:     This do not happen if instead of using smooth shading I use flat shading.   I think this is because the interpolation done by the shading works differently depending on the complete mesh.  Is there a way to use smooth shading and have all the parts rendering as they would be part of the same mesh?  Thanks in advance!


Show $\frac{(2n)!}{n!\cdot 2^n}$ is an integer for $n$ greater than or equal to $0$

Show $$\frac{(2n)!}{n!\cdot 2^n}$$ is an integer for $n$ greater than or equal to $0$.   Could anyone please help me with this proving? Thanks!


Call Public class method from onclick javascript

I have a public emailing apex class I need to call that from onclick javascript button of a detail page. Can someone let me know , if I can do that? Please give me an example. I am not getting it.  I have a global webservice method that receives List of an Sobject record.   Apex webservice method  webservice static void sendMails(List<Form_Requests_abv__c> newrequests)     {         Set<Id> formIds = new Set<Id>();         for (Form_Requests_abv__c  fr : newrequests)          {               formIds.add(fr.id);         }          List<String> sendtoemail = new List<String>();                  List<ABV_Form_Request_abv__c>  Useremails= ABV_Form_Request_abv__c.getAll().values();         if(!Useremails.isEmpty()){            for(ABV_Form_Request_abv__c Useremail : Useremails)            {                if(String.isnotBlank(Useremail.Email_abv__c)){ ...............   How can I pass value there?  My javascript code  var leadIds = {!GETRECORDIDS($ObjectType.Form_Requests_abv__c)};  sforce.apex.execute("MailerUtils","sendMails",{newrequests: leadIds}); window.location.reload();


I am working on a shell script that takes stdin or file as input and prints the averages and medians for rows or columns depending on the arguments.   When calculating the averages for the columns, the output needs to print out the following (tabbed):    My output currently looks like this (no spaces or tabs):  Averages:  92480654263  Medians:  6368974  Is there a way to echo out the averages and medians with tabs so each average and median set align left correctly? Here is a sample of how I am printing out the averages:  echo "Averages:"         while read i         do             sum=0             count=0             mean=0             #Cycle through the numbers in the rows             for num in $i             do                 #Perform calculations necessary to determine the average and median                 sum=$(($sum + $num))                 count=`expr $count + 1`                 mean=`expr $sum / $count`             done             echo -n "$mean"         done < $1


I have been using Ubuntu since last week.  I have a Dell Vastro laptop which has access to LOGIN with FINGERPRINT.  How could I access this using this Ubuntu.


Couples sent on near-light speed trip to see how they're affected

Earth sends a few (4?) couples on a short near-light speed round trip to see how they are affected, not telling them some important facts.  They evolve very rapidly, first dropping all social mores, then increasing in intelligence/power well beyond Earth people, arriving home angry(?). Was included in a collection with a short by John Varley (Persistence of Vision).


Unusual behavior in evaluating the expressions in C


Check two IEnumerable if their Count is equal

How to check two IEnumerables whether they have same count without running through them individually. Means I do not want to do this Count() == Count().  I would like to find a way to do that in one pass. Any ideas?


Why is every subgroup of order $p^{n-1}$ normal?

If $|G|=p^{n}$  Then  Why is it that every subgroup of order $p^{n-1}$ is normal?


Why do parallel memory chips in a DIP package have a disorganized pin arrangement?

I'm looking at datasheet for old RAM's and EEPROMS, and one in particular I'm using is part AT28C256. Why is it that the order of the address lines do not correspond with the actual pin number. An example of mis-alignment is that on a AT28C256, the first 10 pins are labeled A14, A12, A7, A6, A5, A4, A3, A2, A1, and A0. Why don't the engineers of the chip make it so they can be labelled as A0, A1, A2, A3, A4, A5, A6, A7, A8, and A9? and just saying to label the lines yourself isn't an answer because some chips use a special timing where if you write data to the first n bytes in a certain period of time, the write supposedly executes faster (at least thats what the AT28C256 datasheet claims).  Also, Why are the control signals (such as the OE and CE in AT28C256) assigned to the middle pins of the chip instead of the outer pins?   I ask this because I'm having a hard time routing everything without resorting to multiple extra long jumpers (or double-sided board which I'm not ready for yet).


Plot the characteristics for Burgers equation in Matlab

I'm trying to plot the characteristics for the following problem.  Consider the first order nonlinear hyperbolic PDE (the inviscid Burgers' equation) $$ \frac{\partial u}{\partial t} + u \frac{\partial u}{\partial x} = 0 , \tag{1.2a} $$ with the boundary and initial conditions defined by $$ u(0,t) = 0,\qquad u(x,0) = \begin{cases} \sin^2(\pi x) &\quad 0\leq x\leq1,\\ 0 &\quad 1\leq x\leq 2. \end{cases} \tag{1.2b} $$  So far I have managed to find all the gradients for the lines from each value of $x_0$. But I'm not sure how to plot it. It seems like a very simple question but one I'm finding really difficult. I also cannot use any inbuilt matlab functions except the very minimal ones such as plot. Here is my code so far.. dx=0.01;%spatial step dt=dx;%set time and space steps equal X=2;%end of space interval x=0:dx:X;%space vector formed Tf=1;%end of time interval n=floor(X/dx);%number of overall space steps n1=floor(1/dx);%number of space steps needed - 1st interval timesteps=floor(Tf/dt);%number of time steps  u1=sin(pi*x).*sin(pi*x); u11=u1(1:n1); u2=zeros(1,n1+1);  %initial conditions  u0=[u11,u2]; %form ic vector u0 u=u0; c=1./u0;%gives the gradients of each x0 point


Associate file extension to UWP Windows 10 app not in "Open With" list

I want to open a certain file extension with a Windows 10 UWP (Microsoft Store) app. I right-click on the file in File Explorer, select Open With, then Chose another app and I get the menu below, which does not include the app I want. At this point, I can click Look for another app on this PC, but the app I need is an UWP one, which is not in the Program Files or Program Files (x86) folders, so I cannot just navigate to the path of the executable file. How can I associate my extension to the UWP app? (Nota that this is not a duplicate of the same question for non-UWP programs)


I tried to install lubuntu onto a xubuntu installation via the command line, using a sudo, as per an instruction I found somewhere on these forums by googling.  All went well for a while and then ended with failure because apparently I wasn't 'root'.  It asked the question 'are you root?'   I wasn't there to answer at the time. It seems to have timed out and finished the install process with a fail.  How to get this to install?


PHP regular mail() function prevent spam

Here is the simple using of php mail() function codes :    <?php $from    = "From email goes here"; $to      = "To email goes here";  ini_set("display_errors", "On"); ini_set("sendmail_from", $from); ini_set("SMTP", "localhost"); ini_set("smtp_port", "25");  $subject = "Hello, This is subject";  $message = "
Hello World, This is Body
";  $headers  = 'MIME-Version: 1.0' . "\r\n"; //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'Content-Type: text/html; Charset=UTF-8' . "\r\n";  $headers .= 'From: Birthday Reminder <' . $from . '>' . "\r\n"; $headers .= 'To: Mary <' . $to . '>' . "\r\n"; $headers .= 'Reply-To: Birthday Reminder <' . $from . '>' . "\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion();  if(mail($to, $subject, $message,$headers)) {   echo("
Email Sent :D
"); }  else  {   echo("
Email Message delivery failed...
"); } ?>   Why emails were sent using these codes always go to the spam folder? Is the order of headers ok? Which extra headers should i use for prevent spam?     Edit : I know there are some threads in stack about that. But i am looking for an updated answers. So it's not duplicate.


Can I create a new script and chmod it in one command?

When writing answers on here, it's often necessary to create a new script and chmod +x it to make it executable. I won't go into whether this is a good thing or not, but explaining to people that they need to fire in three separate command (and teaching them to use nano!) is a bit of a waffle.  Is there anything easier?


How many solutions does $p\mid b^q-1$ have?

Let $\def\ge{\geqslant} \def\le{\leqslant} b\in\Bbb N^{\ge2}$ be a Natural number and $p$ be a prime such that $p\nmid b-1$. For how many primes $q$ does $$p\mid b^q-1$$ hold?  I.e. for such $b$ and $p$ let $Q(b,p)=\{q\in\Bbb P \;/\; p\mid b^q-1\}$.  Is $\#Q(b,p)$   Always finite? Always infinite? Always non-empty? It depends on $b$ and $p$?     What I have:  Let $q,r\in \Bbb P$ and $r > q$, then \begin{align} p\mid b^q-1\text{ and }p\mid b^r-1 &\quad\Rightarrow\quad p\mid b^q-b^r = b^r(b^{q-r}-1)\\ &\quad\Rightarrow\quad p\mid b^{q-r}-1 \end{align}  Then due to the Euclidean algorithm it follows that $p\mid b-1$ which was excluded.  Does this mean that there is always $\#Q(b,p) \le 1$ or do I have a thinko? My intuition says that even $\#Q(b,p) = 1$, i.e. for every prime $p$ we find a sequence of ones (interpreted as number in base $b$) that is divisible by $p$. But I have no idea how to show that. Something with finite fields or so...


Im planning a trip from vermont to New York,  its about a 4 and a half hour trip and my babygirl is 1 month old. Im just worried she will get overwhelmed at being in the carseat so long, of course I will stop whenever necessary,  I breastfeed and dont use bottles yet. Im also worried she will get sick, or her body will be in pain or cramp from the same position so long. Is this a safe trip and what other things should I do to ensure she will be okay??


How do you place down sugar canes on mc pe?

Please tell me how to do this because my sister will go CRAZY because she loves them.


Unless I am blind, the mobile web editor does not offer a preview of an answer, unlike the desktop web and Android application which do.  I would use the Android application (which I like) for the previews, but its MathJax is reportedly outdated and is not compatible with all SE sites due to site extensions, like \pu from mhchem at the Chemistry SE site.  Could the preview be implemented for the mobile web version as well? Perhaps similarly like in the application as the switching links, maybe among the link list at the page bottom.


Multiple Child domain under a single Forest

I'm new in win 2008 server so i have a question.  I have 2 Child domain under a single Forest.every thing is fine but when client in each domain want to  log in to windows in login on to list user can see 2 child domain names and the forest domain name. how can i show just its child domain name in the login list?


How do I change login account on Stack Overflow?

I have a GMail account (aa@gmail.com) and I always log in with this account on Stack Overflow.  Now,I was forbidden to use this aa@gmail.com account but I can use new account(bb@gmail.com) .  I treasure my reputations and badges on Stack Overflow.  Therefore, when I use Stack Overflow, I want to get my reputations of aa@gmail.com by logging in with bb@gmail.com.  Can I change login account on Stack Overflow?


What does this mean Calling the instance method of a null object "

My program is throwing a NullPointerException. I suspect Calling the instance method of a null object  is the reason for it throwing a null pointer exception.  Can anyone explain what does this actually mean?


Rigorous proof that $\frac{1}{3} = 0.333\ldots$

I'm a PreCalculus student trying to find a rigorous proof that $\displaystyle\frac{1}{3} = 0.333\ldots$, but I couldn't find it. I think (just think) that this proof would start by proving that  $\displaystyle\sum_{i=1}^{\infty}3\cdot10^{-i} = \frac{1}{3}$. My guesses (assuming that proving that $\displaystyle\sum_{i=1}^{\infty}\left(\frac{1}{10}\right)^i$ converges is trivial):  $\displaystyle\sum_{i=1}^{\infty}3\cdot10^{-i} = 3\cdot\sum_{i = 1}^{\infty}10^{-i} = 3\cdot\sum_{i=1}^{\infty}\left(\frac{1}{10}\right)^i = 3\cdot\left(\frac{1}{1 - \frac{1}{10}}-1\right) = 3\cdot\left(\frac{10}{9}-1\right) = \frac{1}{3}$.  Questions: is this completely rigorous? Which flaws could be found in this proof? How can I improve it?  PS. I'm not sure how to tag this. Feel free to edit, if necessary.


In integrals, we often make 'u' substitutions, which involve writing $u=f(x)$, and then also writing $du=f'(x)dx$. How valid is this? I've heard that you aren't allowed to do things like 'break' up derivatives like they do to solve first order differential equations. So can you do this with integrals, or is it also a mnemonic?


Let  $S:  V \to W$ and $T: V \to W$ be linear transformations. Given $a$ in $\mathbb{R}$, define functions $(S+T): V \to W$ and $(aT): V \to W$ by $(S+T)(v)=S(v) + T(v)$ and $(aT)(v)= aT(v)$ for all $v$ in $V$. Show that $S+T$ and $aT$ are linear transformations.


Is there a way to hide my profile from Google search?

If you Google my name, it comes up with a link to my ServerFault profile first, then StackOverflow profile, then LinkedIn, then website, etc.  I've heard it's common practice for employers to Google your name, so I'd like the results to show the most relevant information. My ServerFault account contains nothing, and there's no reason for an employer to see my Meta profile (which is further down, but still on page 1). Having those links show up in the results isn't relevant or helpful to someone searching for information about me.  What I'd like is to prevent Google (and other search engines) from spidering/showing my *Overflow site profiles except StackOverflow, or be able to control this somehow per *Overflow site.  Honestly, I don't know if this is even possible, as I'm not familiar with SEO and such. I know this kind of thing would never work perfectly, but as long as it works for the major search engines, that's all that matters.  I suppose a way around this is to simply remove my name from the profiles I don't want to show up... but that doesn't really solve the problem. For example, I could end up building a good rep here on Meta, to which I would want to attach my name for other users to see, but is an employer (or anyone else in the general public, for that matter) really going to care about what goes on here? Highly unlikely. I think employers would be more interested in things that relate to the tasks for which I would be hired. It isn't important information even though it may be ranked higher on Google.


C# Defining List type once before multiple use

I have searched thoroughly as best as i could for an answer to this question. I might not be formulating it correctly due to the lack of my experience with C#, but here goes.  Say i have a list type  List<List<int>> teams;   And wish to use this type in multiple classes, with different fieldnames, without defining its type over and over again. Something like this:  List<TeamType> teams; List<TeamType> winningTeams; List<TeamType> losingTeams;   How would i accomplish this?  I have been looking into interfaces, but im not sure if/how they can help tackle this.  Thanks in advance.


I've read   but I didn't get the answer I need. I want to run my PC using 3 monitors. This is my current situation:   I'm running a PC with Windows 8.1 NVIDIA GeForce 9600 GT with 2 DVI ports Motherboard ASUS P5Q3 Deluxe/WiFI-AP @n with no VGA/DVI ports (see more ). The PCIe slot is already used by the video card. 2 DVI monitors (currently in use connected to the video card) I do software development (Visual Studio, ReSharper, Chrome, etc) I don't play games    Since I'm planning to upgrade my PC in the future but don't want to spend more money since this PC will go away. What would be a good solution?   Can a use one of those splitter cables like ? (from 1 DVI to 2 DVIs) Should I buy a new decent video card? That I may use in the future when I upgrade my PC? Will my PC work if I buy a cheap video card to support the 3rd monitor?


What is meant by the temperature of the CMB?

This is what I commonly read:  The CMB came to existence when atoms where formed and photons weren't constantly absorbed anymore. In other words, the universe became "transparent". Because of the expansion of the universe that radiation experienced red-shift so that now its temperature is slightly below 3 Kelvin.  So far, so good. But what does it mean for the CMB to have a temperature? Temperature usually means the jiggling about of atoms, but the CMB is radiation. So what is meant when it is said that the temperature of the CMB is about 3 K today?


Like someone went to the hotel and doesn't want to waste any freebies so he takes it up with himself to home


Meaning of Values for PostTypeId in data explorer or in data-dump

I am looking for some explanation of the schema for the .  Specifically I'd like to know the values for PostTypeId field (1=Questions?, 2=Answers?, 3=?, etc).  I have tried to look for it, I am sure it must be posted somewhere pretty obvious, but I seem to have a blind spot that I need help with.


Regular expression to extract URL from an HTML link

I’m a newbie in Python. I’m learning regexes, but I need help here.  Here comes the HTML source:  http://www.ptop.se   I’m trying to code a tool that only prints out http://ptop.se. Can you help me please?


Invert assignment direction in Visual Studio

I have a bunch of assignment operations in Visual Studio, and I want to reverse them: i.e  i = j; would become  j = i;  i.e. replacing everything before the equals with what's after the equals, and vice versa  Is there any easy way to do this, say something in the regular expression engine?  Cheers, Ed


Timatic: Valid China visa in old passport (British) - Tajikistan to China by air?

I am a British citizen with a valid Chinese tourist visa is an expired passport, and I have a new passport. I've heard reports that it's fine to enter China like this, despite the fact that officially on the UK visa for China application website it says you can't (I once phoned and the woman said it was fine, despite what it says on the website). Can anyone comment? (British passport holders only!)   Secondly, my embarkation point is Tajikistan (Dushanbe airport) flying to Ürümqi in China, not from the UK. Will this be OK to fly according to Timatic? I will probably be flying with a Chinese airline.


Latex ignores natbib longnamesfirst option when using "econometrica" bibliography style

I am confounded as to why in this document latex is ignoring the natbib longnamesfirst option. I have used it in other documents without any problem. Any ideas are appreciated.  \documentclass[12pt]{article}  \usepackage[longnamesfirst,authoryear]{natbib}    \begin{document}  I want to cite \citet{BGG:1999} with the full list of authors names and then I want this citation \citet{BGG:1999} to appear with only the first author's names followed by et al. (1999).  \bibliographystyle{econometrica} \bibliography{test_bib}  \end{document}   Here is the example bib file:  %%test_bib @InCollection{BGG:1999, author={Bernanke, Ben S. and Gertler, Mark and Gilchrist, Simon}, editor={J. B. Taylor and M. Woodford}, title={The financial accelerator in a quantitative business cycle framework}, booktitle={Handbook of Macroeconomics}, publisher={Elsevier}, year=1999, month={}, volume={1}, number={}, series={Handbook of Macroeconomics}, edition={}, chapter={21}, pages={1341-1393} }   And here is the output I am getting:


Construction of uncountably many non-isomorphic linear (total) orderings of natural numbers

I would like to find a way to construct uncountably many non-isomorphic linear (total) orderings of natural numbers (as stated in the title).  I've already constructed two non-isomorphic total orderings. They are $$ 1 < 2 < 3 <\ldots\\ 1 > 2 > 3 >\ldots $$ where "$<$" and "$>$" are  strict total ordering relations.  Thanks in advance for your help.


How can I resize my ubuntu partition if ubuntu is the only system I can get into?

I am using gparted to resize my partition. I would like to free up all of my memory and allocate this to ubuntu, but I can't mess with ubuntu's partition while it is in use. I can, for some reason, no longer get into my windows 8 OS because of an EFI error. I just installed ubuntu 13.04 so would it be easier to just re-install and have ubuntu install over everything else, or is there a way with gparted?


This problem was in IMC 2010.  Assuming $x,y,z\in [-1,1]$, suppose that $$1+2xyz\geqslant x^2 + y^2 + z^2$$ Can we infer from this that $$1+2(xyz)^n\geqslant x^{2n} + y^{2n} + z^{2n}$$ for any positive integer $n$?


I'm trying to copy the pose of the right arm to the left arm, but when I try copy and pasting it does this, does anyone know what is going on? I'm new to rigging so if you have any other tips they would be much appreciated.


Java Selection Sort implementation not working output "[I@15db9742"

Hey I'm trying to test my selection sort algorithm but all the output I get in the console is just "[I@15db9742" Could someone please explain to me why I'm getting junk output? It is really baffling me, could it possible be a problem with the IDE or is it something in the code?   Thanks  import java.util.Arrays;   public class SelectionSorterTest {      // Factories      // Queries      /**      * Sorts a copy of the input array.      * @param input an array.      * @return a sorted copy of input.      */     public static int[] sort (int[] input) {         int[] sorted = Arrays.copyOf(input, input.length);         for(int i = 0; i < sorted.length - 1; i++)         {             int minIndex = i;             for(int j = i + 1; j < sorted.length - 1; j++)             {                 if(sorted[j] < sorted[minIndex])                 {                     minIndex = j;                 }             }             if(i != minIndex)             {                 swap(sorted, minIndex, i);             }         }         return sorted;     }       // Commands      // Private      // disabled constructor     private SelectionSorterTest () { }      private static void swap (int[] arr, int x, int y) {         int temp = arr[x];         arr[x] = arr[y];         arr[y] = temp;     }      public static void main(String[] args)     {         int[] Array = {9,7,6,4,3,2,21,1};         System.out.println(sort(Array));      }  }


For $x$ and $\lambda$ complex, if $|x| \gt \frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|}$ then $|x^2+\lambda| \gt |x| +1$

Define $f(z) = z \ ^ 2 + \lambda$ and $V = \left\{x \in \Bbb C : |x| \gt \frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|} \right\}$, for some $\lambda \in \Bbb C$.   Then, if $x \in V$ then $|f(x)| \gt |x| +1$.   I tried the following :   Let $x\in V$ then $|f(x)| = |x \  ^ 2 +\lambda | \ge |x |  \ ^ 2 - | \lambda| \gt (\frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|}) \  ^ 2 - |\lambda| = 1.5 + \sqrt{\frac{5}{4} + |\lambda|} $.  But this doesn't get me anywhere.


Does Airplane Mode allow GPS location to pass through?

This is what I saw when my plane was taxing to the runway at CDG:     Airplane mode was on and all other transmissions (except Location), including WiFi, mobile data, NFC and Bluetooth were off.  Location was not manually turned on by me, after I enabled Airplane Mode. It remained turned on.  What am I missing? Is GPS now so widely accepted on-board planes that Android changed its configuration to let this kind of signal/communication to pass through Airplane mode "block"?  I believe that  isn't a duplicate, because at that time (2016) Location was generally "included" in Airplane mode and was turned off by enabling it.


I have tried to map this simple object, but the uv mapping does not correspond to what i see in the textured object. It cuts the image a bit on top and a bit on the bottom of the faces. It does not fill the faces with the texture, even though i have mapped them correctly. Does anyone know what could be happening? Thanks in advance.


unable to route the http requests to the web application in Nginx

I have a reactjs application running at port 5000. I want to route the requests from nginx to the webapp.  I am getting the below log  2019/06/20 04:30:10 [error] 17709#17709: *67 connect() failed (111: Connection refused) while connecting to upstream, client: 72.163.217.106, server: 159.65.123.84, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: “example.com” 2019/06/20 04:30:10 [error] 17709#17709: *69 connect() failed (111: Connection refused) while connecting to upstream, client: 72.163.217.106, server: 159.65.123.84, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8000/favicon.ico", host: “example.com”, referrer: "http://example.com/“ 2019/06/20 04:30:10 [error] 17709#17709: *71 connect() failed (111: Connection refused) while connecting to upstream, client: 72.163.217.106, server: 159.65.123.84, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8000/favicon.ico", host: “example.com”, referrer: "http://example.com/“   Here are my nginx config file at /etc/nginx/sites-available/default  server {     listen 0.0.0.0:80;     server_name example.com; # or server_name subdomain.yourapp.com;      location / {         proxy_pass http://127.0.0.1:5000;         proxy_set_header X-Real-IP $remote_addr;         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header Host $http_host;         proxy_set_header X-NginX-Proxy true;          # Enables WS support         proxy_http_version 1.1;         proxy_set_header Upgrade $http_upgrade;         proxy_set_header Connection "upgrade";         proxy_redirect off;     } }   what could be the reason for this kind of behavior. How to fix this issue.


What is the blue wire for on my battery? (samsung galaxy note 10.1)

I have this battery out of a Samsung Galaxy Note 10.1    and this battery has 5 wires; 2 black, 2 red and 1 blue wire. I assume that the red wires are positive and the black wire negative charge.    I've searched all over the internet, but no solution. Could someone tell me what the blue wire is for? The battery is a SP3637B1A(1S2P) 7000 mAh from Samsung.


Two bibliographies with two different styles in the same document

When using biblatex, suppose I have set up two separate bibliographies, how can I assign them different styles, e.g. one numbered and the other author-year format or some such thing.  \documentclass{article}  \usepackage[defernumbers=true]{biblatex}  \DeclareBibliographyCategory{cited} \AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}  \usepackage{filecontents}  \begin{filecontents}{\jobname.bib} @misc{A01,   author = {Author, A.},   year = {2001},   title = {Alpha}, }  @misc{B02,   author = {Buthor, B.},   year = {2002},   title = {Bravo}, }  @misc{C03,   author = {Cuthor, C.},   year = {2003},   title = {Charlie}, } \end{filecontents}  \bibliography{\jobname}  \begin{document}  \nocite{*}  \cite{A01,B02}  \printbibliography[title={References},category=cited]  \printbibliography[title={Further Reading},notcategory=cited]  \end{document}


I installed nmon on Ubuntu 16.04 as below.  At the time of installation, I can see the file nmon_14g+debian-1build1_amd64.deb downloading, unpacking and installing. After the installation nmon is working fine.   But when I tried to see the downloaded file at the location  /var/cache/apt/archives/ it is not there. I tried to search on the entire system with root id, but I am not able see the file nmon_14g+debian-1build1_amd64.deb.  I tried updatedb and locate *.deb as root but I can't find it!  Can anyone help me figure out where this file has actually gone?  $ nmon The program 'nmon' is currently not installed.  You can install it by typing: sudo apt install nmon   $ sudo apt install nmon [sudo] password for thom:  Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   nmon 0 upgraded, 1 newly installed, 0 to remove and 333 not upgraded. Need to get 45.9 kB of archives. After this operation, 173 kB of additional disk space will be used. Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 nmon amd64 14g+debian-1build1 [45.9 kB] Fetched 45.9 kB in 6s (6,897 B/s)                                               Selecting previously unselected package nmon. (Reading database ... 180965 files and directories currently installed.) Preparing to unpack .../nmon_14g+debian-1build1_amd64.deb ... Unpacking nmon (14g+debian-1build1) ... Processing triggers for man-db (2.7.5-1) ... Setting up nmon (14g+debian-1build1) ...


Must film capacitors be derated according to the voltage applied?

I know electrolytic capacitors must be derated according to the applied voltage, with some losing a significant part of their nominal value at high voltages.  Is it a similar case with film capacitors? I am using these . Will be applying 400Vdc on these.  I did try looking it up, I could not find a clear answer.


android - Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

I'm trying to set the text of the navigation drawer activity from the fetched data on my database, but when i try to do so, it throws the following error      Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference   Am I missing something or did I do something wrong in my code?  public void fetchDb(){     String email = getIntent().getExtras().getString("EMAIL");      TextView txtName = findViewById(R.id.nameText);     TextView txtEmail = findViewById(R.id.emailText);     String name, ema;      DatabaseHelper dbh = new DatabaseHelper(this);      newDb = dbh.getReadableDatabase();     Cursor c = newDb.rawQuery("SELECT * FROM user WHERE user_email = \'" + email+"\'", null);     if (c.moveToFirst()){         do {             name = c.getString(1);             ema = c.getString(2);              txtName.setText(name);             txtEmail.setText(ema);          } while(c.moveToNext());     }     c.close();     newDb.close(); }


Solve $x^2 + 8 = 3^n$, where $x\in\mathbb N$.

First of all, $n$ is even (find that out by trying to see what kind of remainders you can possibly get when dividing everything by 4). So $n=2m$, $m\in N$.  $ x^2 + 8 = 3^{2m} \Rightarrow x^2 - 1 = 3^{2m} - 9 \Rightarrow (x+1)(x-1) = (3^m + 3)(3^m - 3) \Rightarrow x$ is odd.  That's all I've tried so far. I'd like to get some help. Thanks.


Determine destination location of apt-get install ?

For some applications its fairly easy enough to locate where the application was installed to using the "which" command.  However, some applications such as Tomcat are a little out of my league to locate.  I'm asking for particular methodology that can be applied to any apt-get install  to locate where the binary, library, and support files are installed to.  The cause of this question is that I installed Tomcat7 and I can's seem to locate it and I have a list of customizations to perform.


Can I easily delete apps I don't use from OS Yosemite without damaging other apps?

To free up disk space, I'm asking if it's possible and safe to remove some apps from my Mac OS X Yosemite download that I never use. If "yes", how do I do this safely and, hopefully, quickly.


Best memory card for my new Canon camera (700D)

I just bought my first camera (Canon 700D) which got delivered to a friend who I will be visiting next week. The camera came with no memory card, so I need to buy one. I have two questions:   I was not able to reliably google which memory cards are supported by this camera? I can see some fairly cheap ones online, but I am not sure if they will be supported Which card would you recommend? What is the minimum write speed to guarantee there will never be any problems with videos?   Thanks in advance.  Edit: This is clearly not a duplicate of the topic you suggested, question 1. is not answered there at all. Also the questions about the minimum write speed is not answered there.


What does one call the circular head of a side street in the shape of a polyp?

I am repeating my question posed in another thread because I can now offer greater clarity in the form of a picture cropped from a Google Earth shot of the actual street location. A second reason for repeating the exercise is that Google Earth revealed that the paved area I need to name actually has the shape of a polyp - or the circular head of a polyp. A third reason is that despite the highly appreciated suggestions, I don't yet have a workable name for the street area in the shape of a polyp head (when photographed from the air, or from a satellite). I would like to write the following sentence: "I walked across the [ ... descriptive and acceptable name for the polyp head ...] to my neighbour across street." Please help!    Looking forward very much to possible replies.


Sum of two independent binomial variables

How can I formally prove that the sum of two independent binomial variables X and Y with same parameter p is also a binomial ?


The music in question is not exactly owned by the other individual either, as it's simply an arrangement of a game's soundtrack as a midi or music sheet.  Am I allowed to use these in my videogame? Should those persons be given credit or should it go to the original composers of the track in the original video game?   Should I ask for permission for the authors of the rearrange? What if the file and site list no author? What if it lists an author but I have no means to reach and ask?


public WebElement locater(String locter)     {         String[] value = locter.split("##");         String loctValue = value[0];         String loctType = value[1];            try {             if(loctType.equalsIgnoreCase("XP"))             {                   loct = driver.findElement(By.xpath(loctValue));               }             else if(loctType.endsWith("id"))             {                 loct = driver.findElement(By.id(loctValue));              }             else if(loctType.equalsIgnoreCase("linkText"))             {                 loct = driver.findElement(By.linkText(loctValue));             }             else if(loctType.equalsIgnoreCase("partialLink"))             {                 loct = driver.findElement(By.partialLinkText(loctValue));             }             else if(loctType.equalsIgnoreCase("cssSelect"))             {                 loct = driver.findElement(By.cssSelector(loctValue));             }             else if(loctType.equalsIgnoreCase("name"))             {                 loct = driver.findElement(By.name(loctValue));             }             else if(loctType.equalsIgnoreCase("tagname"))             {                 loct = driver.findElement(By.tagName(loctValue));             }          } catch (Exception e) {             // TODO Auto-generated catch block             e.printStackTrace();             System.out.println(e.getMessage());         }         return loct;      }   Unable to resolve...any one can help me out


This is a follow op on my , in that one I got explained what happens to the damage of jumps when relocated by an enemy.  So what happens if you get relocated by an ally or more likely by your self. Lets take  again (I love that cannon holding yordle). Since she is able to do abilities during her jump I thought of three scenarios.  First scenario:          Tristana jumps, flashes in the air, lands      Second scenario:          Tristana jumps over a thresh lantern, clicks the lantern while in air (gets pulled), lands      Third scenario (and my favorite):          Tristana jumps, makes a kill or assists(jump resets), cast jump again(before landing), lands      For each scenario goes, Where does the damage land and where does Tris land? And for the third where does both the damages land?


Is it possible to create a method that uses generics?

... or at least pass in a specific class?  Here is what I have right now:  private static invoice_response GetResponse(String jsonResponse) {     invoice_response deserialized = (invoice_response) JSON.deserialize(jsonResponse, invoice_response.class);     return deserialized; }       Since I have to deserialized a bunch of things... I'd like to have the following with Generics or perhaps another way:  private static invoice_response GetResponse<T>(String jsonResponse) {     T deserialized = (T) JSON.deserialize(jsonResponse, T.class);     return deserialized; }      Is this possible using Apex?  P.S. @MarkPond provided a solid attempt at the solution to this problem, but, alas, Apex only supports built in generics, thus I can't properly "genericize" this method.


"The train will leave" vs. "is going to leave" vs. "leaves" vs. "is leaving"

From the grammatical point of view all are correct, just the meaning are different, please bring your clarification, thank you.        The Train will leave at 10:00 tomorrow morning.   The Train is going to leave at 10:00 tomorrow morning.   The Train leaves at 10:00 tomorrow morning.   The Train is leaving at 10:00 tomorrow morning.


How can I keep a long-running Drush script from gradually exhausting available RAM?

I've got a drush script that's used to clear out old, unpublished nodes that have come in from feedapi. The script is fairly simple: get all the nodes with status 0 of a certain type ("post") and age (older than 90 days), loop through them, delete each one.  The script runs through about 4,000 nodes at a time, then exhausts the memory available to its PHP process. I can watch the script's footprint grow from top and the 4,000 node limit is somewhat consistent. I've got over 100,000 nodes to work through, though, so I don't think it will be practical to just jack up the RAM available to the process long enough to get a run out of it.  Is there anything I can add at the bottom of each iteration to release the RAM it's consuming?


10 hour layover in Moscow Russia, do I need a transit visa?

On June 29th 2015, I will be traveling for the first time to Italy from USA. I will have a 10 hour layover in Moscow Russia. My question is, do I need a visa to visit the city?


Is there a difference between "git add . " and "git add -A"?

please see the scrnsht i new to this new it says using git add .a is for adding all files in CURRENT DIRECTORY and git add -A is for adding all files in CURRENT REPOSITORY. Is directory different from repository or ONE AND THE SAME?Thanks.


Are there other ways to time travel in the Potterverse?

There are a lot of questions about the time turners in Harry Potter.  There's a fan theory that Ron could have used one and become Dumbledore at some point in the past (but that's been debunked).  I also asked .  It seems that Rowling had them all destroyed to stop time travel issues (such as paradoxes or the idea that one could be used to just undo all the bad with Voldemort before it started).  The time turners are magic machines, so they had to be created at some point.  But are they the only way to time travel and why couldn't one use the same type of magic a time turner uses to move back in time more than just an hour?


Can I make `find` return non-0 when no matching files are found?

Even when /tmp has no file called something, searching for it with find will return 0:    $ find /tmp -name something    $ echo $?   0   How can I get a non-zero exit status when find does not find anything?


Proof that $ p $ | ${ p^n \choose k } $ for any prime $p$ and $ k < p^n$

I know how to prove the fact that $ p$ | ${ p \choose k } $ (when writing it as a fraction, $p$ cannot be divided by any of the $1\times2\times...\times k$ or $1\times2\times...\times(p-k)$ because $p$ is prime).  When I try to apply the same rationale for $ p$ | ${ p^n \choose k } $ I get stumped because $p^n$ is in fact divisible by one of the $k! = 1\times2\times...\times k$, where $0 < k < p^n$.  If we take the example of $2^3$ and $k = 7$, we can easily see that $k! = 1 \times 2 \times ... \times 6 \times 7$, and $2$ clearly divides $2^3$.  How else can I approach this?


I've been practicing front-end web design for almost 4 months now (and by that I mean design, HTML, CSS, and JavaScript). I've found that I excel in terms of writing code and markup, but my design skills aren't really up to par.  How would you suggest I get an eye for designing nice interfaces? Have any of you ever been in a position like mine (with no art/design experience) and managed to become a great designer?


What should I do if I find a better solution to a question I've already answered?

Three months ago, I posted an answer to . My answer was upvoted, and is currently marked as .  In the past week, I've found  which I believe to be a much simpler and more effective solution than what I'd previously posted.  How should I handle finding a better solution to a question I've already answered?  Should I edit my existing accepted answer, or should I post it as a separate answer?


Error trying to install sqlite3 Ubuntu 18.04.4 LTS

~$ sudo apt-get update && sudo apt-get upgrade           Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease           Hit:2 http://packages.microsoft.com/repos/vscode stable InRelease                         Hit:3 http://repo.mysql.com/apt/ubuntu bionic InRelease                                   Ign:4 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease                Hit:5 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release                  Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease                     Hit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease                      Hit:9 https://dl.yarnpkg.com/debian stable InRelease                                      Hit:10 https://deb.nodesource.com/node_12.x bionic InRelease                              Hit:11 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease                Reading package lists... Done                                  Reading package lists... Done           Building dependency tree                  Reading state information... Done           Calculating upgrade... Done           The following packages have been kept back:           mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools           0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.        ~$ sudo apt-get install sqlite3           Reading package lists... Done           Building dependency tree                  Reading state information... Done           E: Unable to locate package sqlite3


If you know a factor is significant, what is a reason why R might think it's not?

I'm running a logistic regression model where anecdotally I expected age to be a very large factor. If you see from the charts I made in Excel before running the model through R, this is how the support lines up by age:    Looks pretty significant.  Though when I run the model, as you can see below, age is the only thing that's not significant -- which was very surprising:  > attach(mydata)  >  > # Define variables  >  > Y <- cbind(support) > X <- cbind(sex, region, age, supportscore1, supportscore2, county) > > # Logit model coefficients  >  > logit <- glm(Y ~ X, family=binomial (link = "logit"), na.action = na.exclude)  >  > summary(logit)   Call: glm(formula = Y ~ X, family = binomial(link = "logit"), na.action = na.exclude)  Deviance Residuals:      Min       1Q   Median       3Q      Max   -2.1019  -0.7609   0.5231   0.7101   2.3965    Coefficients:                        Estimate Std. Error z value Pr(>|z|)     (Intercept)            4.013446   0.440962   9.102  < 2e-16 *** Xsex                  -0.229256   0.104859  -2.186 0.028792 *   Xregion               -1.103308   0.091497 -12.058  < 2e-16 *** Xage                   0.004569   0.003209   1.424 0.154512     Xsupportscore1        -0.019262   0.005732  -3.360 0.000778 *** Xsupportscore2         0.019810   0.005264   3.764 0.000168 *** Xcounty               -0.047581   0.011161  -4.263 2.02e-05 *** --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  (Dispersion parameter for binomial family taken to be 1)      Null deviance: 2871.5  on 2072  degrees of freedom Residual deviance: 2245.5  on 2066  degrees of freedom   (66 observations deleted due to missingness) AIC: 2259.5  Number of Fisher Scoring iterations: 4   My only guess on this is that the previous support scores (both 0-100 numerical values) I'm using may have already taken age into account, and the model doesn't want to count it twice. Though, to compare, region and county are just two different ways of cutting up the geography -- and those both seem significant.  Can somebody let me know what you would think if your model told you that age wasn't significant when in clearly is? Trying to figure out if there's a way of thinking about it that I'm missing or if something in my code is wrong.  Thanks!  -- EDIT  Pairs plot added to show correlation (despite some factors being categorical):  pairs(~sex + region +  age + supportscore1 + supportscore2 + county, data=mydata)


I have some wpf windows, some classes and one viewmodel. Somehow, the value of the input field doesn't bind when I tell it to and the value in the viewmodel stays NULL.  I actually went on to use the value, but realized it has a NULL value during debugging.  In the input window:  <dx:ThemedWindow     x:Class="DXEbayManager.NewProductsMenu"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"     Title="NewProductsMenu" Height="200" Width="450">      <StackPanel>         <Grid>             <Grid.ColumnDefinitions>                 <ColumnDefinition Width="1*" />                 <ColumnDefinition Width="3*" />             </Grid.ColumnDefinitions>              <Label Content="Product Name: " Grid.Column="0"/>             <TextBox x:Name="ProductNameBox" Text="{Binding ProductName}" Grid.Column="1"/>         </Grid>     </StackPanel> </dx:ThemedWindow>   In my ViewModel I have:  public class NewProductsMenuVM : ViewModelBase     {         public string ProductName { get; set; }         public static NewProductsMenuVM Instance { get; } = new NewProductsMenuVM();     }   And I would like to use the value here (where it is NULL):      public partial class NewProductsMenu : ThemedWindow     {                 public void saveToDB()         {             string ProductName = NewProductsMenuVM.Instance.ProductName;         }     }   I don't have the best debugging skills, but the value after the {get; set; } was also already NULL. Why did this happen and what way is there around it?


Is it possible to blacklist a built-in kernel module?

I'm asking this in relation to another question that was posted:    I posted an answer suggesting that built-in device drivers can't be blacklisted, as they are built-in to the kernel (and so by definition, are not loadable/un-loadable). The top answer to  on Ask Ubuntu seemed to back that up. However, Ignacio Vazquez-Abrams posted in the comments that he believes built-in modules can be blacklisted (although they can't be unloaded with modprobe).  Perhaps he's right and, seeing as this question doesn't seem to have been asked before, I think it would be good to clear this up. So, can built-in modules be blacklisted? If so, can anyone provide some insight into the details of how this works 'under the hood'? How is blacklisting different to using modprobe and why does one work and not the other?  Any links or references to back up either position would be appreciated too.


Files (used to) appear on smartphone but not on Windows Explorer

I had a couple files missing on my Windows Explorer, despite being able to play files on the device itself.  One tutorial told me to update my MTP driver, through Device Manager, I did, no changes.  I decided to solve this "discussed and known issue" by doing what everybody (here on Android SE) said solved it for them. So I entered into the Apps, and purged cache of two system applications, External Storage and Media Storage, then rebooted.  Allegedly after reboot, I had to leave my phone alone for about 10 minutes, for it to "rebuilt its cache", so I did. After it rebooted, I put it into my pocket, not giving it any extra data, after some 2 hours. I attached my Android to computer, the entire drive is empty, only customized-capability.xml was visible.  Smartphone also lost touch with the SD card, to the point where the music application forgot last played music (understandable) and doesn't detect music from various folders (atypical). I need to use external app called File Commander (which is somewhat comparable to Windows Explorer) to manually navigate to the SD card, after tapping music it will play, so no data is lost, but it is inaccessible to even my own device now.  Windows Explorer and File Commander tell me that there's only 3GB left (which makes sense in my scenario), but Windows won't display the files.  How do I solve this? How can I get phone and my computer to recognize the files?  Android 7.1.1 Sony Xperia Z5  P.S.: Yes, I did look thoroughly, there's no hidden files here.


what option is recommended for Installing Ubuntu 16.04 on dual-booting PC

I have only one computer with windows 8 installed and i would like to install Ubuntu 16.04 (without hurting my Windows 8 ). Installing Ubuntu there are three Options: Option 1: Try before you install . Option 2: Install Ubuntu inside Windows and Option 3 : Something Else. What is the best option any recommendation?? Thanks in advance


How to make the footer at the bottom of page?

There's are some pages in my website which content is little,   the content height + footer height < one screen height   See the picture below:    So my question is how can I make the footer at the bottom of the page when my content's height is not enough to cover the full page?  PS: I don't want the footer page fixed at the bottom.


Proof: Sum of dimension of orthogonal complement and vector subspace

Let $V$ be a finite dimensional real vector space with inner product $\langle \, , \rangle$ and let $W$ be a subspace of $V$. The orthogonal complement of $W$ is defined as   $$ W^\perp= \left\{ v \in V \,:\, \langle v,w \rangle = 0 \text{ for all } w \in W \right\}. $$   Prove the following: $\dim W + \dim W^\perp= \dim V$.   I'm not sure how to find the relationship between number of basis vectors in $W$ and $W^\perp$.


What are really the prefix rules for options: - and -- ? Why is the find command not compatible with the --name option?

Once, I've learned that options of Linux commands came in two manners:  those of one letter, prefixed by a - those of many letters, prefixed by a --  And this works in 95% of the cases. But not, for example, for the find command. This one fails: find . --name myfilename  And this one is working: find . -name myfilename  Either I'm wrong with my belief that options start by - or -- depending on their number of letters, Either find command should, I agree, retain for compatibility it's ability to run with the -name option, but it should also accept the --name option. What's the truth ?


I would like to join some videoconference, but I don't own a webcam and the conference software requires one.  So my question is, can I create a dummy one? I don't care what the cam will cast, I just need to appear to have one.


Curious limit of a sequence used to prove Etemadi's SLLN

I've been struggling with the proof of this proposition:     Let $\{x_{n}\}_{n=1}^{\infty}$ be a sequence of non-negative real numbers. If $$\lim_{n\to\infty} \frac{1}{\left\lceil{r^n}\right\rceil}\sum\limits_{i=1}^{\lceil{r^n}\rceil}x_{i} = c$$ for all $r >1$ with $r\in \mathbb{R}$,   then $$\lim_{n\to\infty} \frac{1}{n}\sum\limits_{i=1}^{n}x_{i} = c.$$   I 've been researching and looking for possible fancy properties of the ceiling function that could be suitable for this proof, but all my efforts have been in vain. If you could help me out I'd be very grateful.  Observation: $\lceil{x}\rceil$ is the smallest integer $m$ such that $x \leq m$, where $x\in\Bbb R$.  Further context(taken from comment): I think this lemma/proposition is used to prove Strong Law of Large Numbers of Etemadi (1981); it can be checked between pages 55-57 of Durret's Probability: Theory and Examples (above all in page 57) but I can't write the complete formal proof of this lemma used there.


How to migrate the whole system to a new machine?

I use ubuntu to deal with daily job. Now I buy a new laptop, and I want to migrate my whole system(programs, packages, data, settings, etc) to the new machine.  I know I can copy my home folder to new machine and I will get (almost) all data and settings. But is there a safe way to copy the whole system? Or it's a bad idea?


Function with same name but different signature in derived class

I have a function with the same name, but with different signature in a base and derived classes. When I am trying to use the base class's function in another class that inherits from the derived, I receive an error. See the following code:  class A {     public:     void foo(string s){}; };  class B : public A {     public:     int foo(int i){}; };  class C : public B {     public:     void bar()     {         string s;         foo(s);     } };   I receive the following error from the gcc compiler:  In member function `void C::bar()': no matching function for call to `C::foo(std::string&)' candidates are: int B::foo(int)   If I remove int foo(int i){}; from class B, or if I rename it from foo1, everything works fine.   What's the problem with this?


Can shell variable name include a hyphen or dash (-)?

I am not able to use - in variables in shell. Is there a way to be able to use it, because I have one script which depends on such named variables:  $export a-b=c -bash: export: `a-b=c': not a valid identifier  $export a_b=c   First throws the given error and second works fine.


Has there been a recent change in the "interesting" order?

I've noticed that a couple of questions, latest activity 1 and 2 hours ago, seem to be stuck near the top of my Interesting list. The tags I follow have a lot of activity so I'm unsure why these are not dropping down. Most of the others at the top have activity from just a few minutes ago.  The first time I noticed, they were stuck at positions 2 and 4. A few times since then I've noticed something stuck at 2. The questions had tags that I follow, but so did many others that didn't get stuck.


Shell Script not working whenever I run it

I have a simple script that terminates some processes and closes ports as below. I am running metasploitable.    However, whenever I run this, it gives the below error. (note that on this file everyone has permissions)


How to treat strings with spaces as a whole in bash?

I'd like to build an error handler which will make an empty file marked with the error_occur time.  The core idea is to use the result of date command as a parameter.  I did:  time_stamp=$(date) touch $time_stamp   But this turns out to create a series of empty file like 2014, Wed, 11:15:20.  How to convert time_stamp to a whole string here?


Is there a way to "record" the display of a camera instead of rendering it on screen?  For example, if I want to stream a camera's frame block to an external application.


How long can halloumi be stored in refrigerator?

I am planning to store a cooked meal of halloumi + couscous in the refrigerator. How long can it be stored safely?


Two factor authentication for Stack Exchange

Is there any possibility of setting up two factor authentication (2FA) for Stack Exchange OpenID authentication?  I could just use my (already 2FA-enabled) Google account for Stack Exchange, but I would prefer to continue use Stack Exchange OpenID.  After  (which, I appreciate, didn't affect Stack Exchange, as you use IIS and Schannel, not OpenSSL), there have been a lot of recommendations to change passwords and to enable 2FA where possible.  So, what are the chances of a text-messaging-based or Google-Authenticator-based 2FA for Stack Exchange?


Rationals of the form $\frac{p}{q}$ where $p,q$ are primes in $[a,b]$

Consider the closed interval $[0,1]$, there is $\frac{2}{3} \in [0,1]$ where $p=2$ and $q=3$. Similarly consider $[2,3]$, one can have $\frac{5}{2} \in [2,3]$ where $p=5$ and $q=2$. Does every interval of the form $[a,b]$, where $a,b \in \mathbb{R}$ contain a rational of this kind. If yes, how can we prove it?


How Generator expressions work internally in python?

I have tried this following code:  result = (x for x in range(3))   for y in result:     print(y)   I am getting the following Output:   0 1 2   But when I am using this code :  result = (print(x) for x in range(3))   for y in result:     print(y)   I am getting the following output:  0 None 1 None 2 None      Can anyone explain, Why this **None** is coming in output in second code?


Proof that $\sum_{n=1}^n a_n^2$ converges implies that $\sum_{n=1}^n \frac{a_n}{n}$ converges

Calculus 1..  couldn't figure that one.  Given $$\sum_{n=1}^n a_n^2$$ converges,   how do i prove that it implies the converges of $$\sum_{n=1}^n \frac{a_n}{n}$$ ?  Intuitively i thought about comparison test, but i am not given that $a_n$ is positive.  Thanks!


Delete duplicate files Based On File Size With WIndows Batch

I have a bunch of files in a directory (with sub directories) with similar names except the last digit is a different number. I would like to keep the version with the largest file size. However some files will not have any duplicates but I do need to keep that file.  files will look like  111~1.mp4    (1mb) 111~2.mp4    (5mb) 111~3.mp4    (2mb)  222~1.mp4    (3mb)  333~1.mp4    (2mb) 333~2.mp4    (4mb)  444~1.mp4    (1mb) 444~2.mp4    (5mb) 444~3.mp4    (3mb) 444~4.mp4    (7mb)   I would like to keep only the largest version size.  111~2.mp4    (5mb)  222~1.mp4    (3mb)  333~2.mp4    (4mb)  444~4.mp4    (7mb)   Im afraid I got stumped, Ive been searching but havent been able to get it going what I have done so far is able to get the size of the files  set "filename=*.*" for %%A in (%filename%) do echo.Size of "%%A" is %%~zA bytes   but now I have to compare the duplicates to each other and delete the smaller size version and only keep the larger size version and if their is no duplicate than keep that version.


Switching the Derivative From One Function to the Other Inside an Integral

Let $\Omega \subset \mathbb{R^n}$ be open and bounded by $\partial \Omega$ sufficiently smooth. Let $u \in C^k(\bar{\Omega})$ and $\phi \in C_0^\infty (\Omega)$ for a positive integer k. Show that: $$ \int_\Omega uD^{\alpha}\phi dx = (-1)^{|a|}\int_{\Omega}\phi D^\alpha udx $$ for any multi-index $\alpha$ with $|\alpha| <k$. To me, this problem looks like an application of one of the fundamental theorems of calculus (stoke's, divergence, etc.). However, I might be wrong. I tried to work out the LHS but couldn't get to the RHS.


How is this character Kylo Ren's grandfather?

I've only seen The Force Awakens but what I know is that Darth Vader is Luke's father, giving rise to the famous "I am your father" quote.      So is Darth Vader really Ren's grandfather or is he just calling him that?


The phrase "caught flat footed"...is that okay to use in professional lanuage?

We are redoing our company website and we are discussing interview tips.  The phrase "caught flat-footed" came up and it sounds a bit derogatory to me.  Is it okay to use in a professional situation? Or is it slang?


What is the difference between the following two sentences?     I came direct to my residence from the airport.      I came directly to my residence from the airport.


I want to hide the user's blog link that appears on blog entries e.g Anonymous's blog  How can I do this in node--blog.tpl.php?  I tried hide($content['author']); but that doesn't seem to work.


I'm wondering what is the best voting system for site that have ranking like top 10 / top 100.  Like/dislike     stars rating (from 1 to 5)    single thumb up    thumb up/thumb down    What you think?


Not getting exact value from float calculations in a java code

Basically I am changing layout ratios. I have to change current layout ratio to another ratio. There is a code snippet I am using in my application. import java.util.*; public class Big{   public static void main(String args[]){ float b=(new Scanner(System.in)).nextFloat(); float a=(b*((float)225/440));  //Another layout ratio height System.out.println(a);  //Back to previous layout height float c=(a*((float)440/225)); System.out.println(c);    }  }  Below are some input and their respected outputs: On input value- 50,60.0,65 and 69.9999, Code is returning same outputs-50,60.0,65 and 69.9999 respectively. But when I am trying to put 70 and 80, Code is returning approximate values as 69.99999 and 79.99999 respectively. The question is- Why am I getting these approximate value not exact values in case of 70 and 80. There can be some other cases. I am trying to get exact values in all the cases.


Does the LaTeX $\eqslantless$ symbol, or the comparable Unicode ⋜, have a well defined meaning for binary numerical relationships?

(Moved from mathoverflow as considered not researchy enough)  This came up via someone proposing a change from a $A \leq B \leq C$ in a computer graphics API specification to $A' \eqslantless B' \eqslantless C'$, where A/B/C are all scalar real expressions or variables, and the A'/B'/C' expressions were simple variants of their non-primed counterparts. I have been unable to get clarification from the person proposing this change.  At first this appeared a simple question; Unicode defines the symbol as "equal to or less-than", which would appear to be the same as "less-than or equal to". But on investigating a bit, I found very few uses or definitions of this symbol in online mathematical literature. Google Books (see link) turns up a variety of use cases in such diverse fields as automotive chassis, logic, public economics, quantum electronics, and theoretical computer science - but virtually every use appears to be accompanied by its own, inconsistent definition of the meaning. General web searches turn up almost nothing relevant. People have suggested this is an archaic synonym for $\leq$ that's fallen out of use, but I've found no evidence to support that. Still, it found its way into LaTeX AMSmath and Unicode somehow and presumably has some documented history somewhere.


Java - Split 2 strings and store it in a single String array

I have 2 String variables,  String expectedDocsTextReqA = "A1:A2:A3:A4"; String expectedDocsTextReqB = "B1:B2:B3:B4";   And I want to Split these 2 strings and store it in a single String array How to do that?  I'm trying to achieve something like this, But this will throw an exception. Is there any alternate way to do this?  String[] arr = expectedDocsTextReqA.split(":") + expectedDocsTextReqB.split(":");


Opening Esri fGDB Feature Class in MapInfo Professional 11.0.3

I would like to open ArcGIS file Geodatabase feature class and other such fGDB objects with MapInfo Professional. NB: converting to Shapefiles or personal mdb is not an acceptable solution. I need it to be seamless and easy for users, just like the ArcSDE and .mdb methods (pictured below).   Any ideas are welcome


Recently, I watched this  on YouTube on the solution of ode/pde with neural network and it motivated me to write a short code in Keras. Also, I believe the video is referencing this paper found . I selected an example ode $$ \frac{\partial^2 x(t)}{\partial t^2} + 14  \frac{\partial x(t)}{\partial t} + 49x(t) = 0 $$ with initial conditions $$ x(0) = 0, \ \frac{\partial x(t)}{\partial t}\rvert_{t=0} = -3 $$ According to the video, if I understand correctly, we let the neural network $\hat{x}(t)$, be the solution of our ode, so $x(t) \approx \hat{x}(t)$ Then, we minimize the ode which is our custom cost function per say. Since, we have initial conditions, I created a step function for individual data point loss: At, $t=0$: $$ loss_i = \left( \frac{\partial^2 \hat{x}(t_i)}{\partial t^2} + 14  \frac{\partial \hat{x}(t_i)}{\partial t} + 49\hat{x}(t_i) \right)^2 +  \left( \frac{\partial \hat{x}(t_i)}{\partial t} + 3 \right)^2 + \left( \hat{x}(t_i) \right)^2  $$ else $$ loss_i = \left( \frac{\partial^2 \hat{x}(t_i)}{\partial t^2} + 14  \frac{\partial \hat{x}(t_i)}{\partial t} + 49\hat{x}(t_i) \right)^2 $$ Then, minimize batch loss $$ \min  \frac{1}{b}  \sum_{i}^{b} loss_i $$ where $b$ is the batch size in training. Unfortunately, the network always learns zero. On good evidence, the first and second derivatives are very small - and the $x$ coefficient is very large i.e.: $49$, so the network learns that zero output is a good minimization.  Now there is a chance that I misinterpret the video because I think my code is correct. If someone can shed some light I will truly appreciate it. Is my cost function correct? Do I need some other transformation? Update: I managed to improve the training by removing the conditional cost function. What was happening was that the the conditions were very infrequent - so the network was not adjusting enough for the initial conditions. By changing the cost function to the following, now the network has to satisfy the initial condition on every step: $$ loss_i = \left( \frac{\partial^2 \hat{x}(t_i)}{\partial t^2} + 14  \frac{\partial \hat{x}(t_i)}{\partial t} + 49\hat{x}(t_i) \right)^2 +  \left( \frac{\partial \hat{x}(t=0)}{\partial t}\rvert_{t=0} + 3 \right)^2 + \left( \hat{x}(t=0)\rvert_{t=0} \right)^2  $$ The results are not perfect but better. I have not managed to get the loss almost zero. Deep networks have not worked at all, only shallow one with sigmoid and lots of epochs. Highlight: I am surprised this works at all since the cost function depends on derivatives of non-trainable parameters. This is interesting to me. I would love to hear some insight.  I would appreciate any input on improving the solution. I have seen a lot of fancy methods but this is the most straight forward. For example, in the referenced paper above - the author uses a trial solution. I do not understand how that works at all. Results:  Method A = method described above  Method B = method described in the accepted answer  Shallow = One layer, 1024 nodes, gaussian activation with $b=2$  Deep    = Three layer, 10 nodes each, sigmoid activation in all    The transform method B appears to work better. The other method A, may come in handy as a control method or when boundaries are very difficult to model with a trial function, or when not solving on a rectangular domain. I think both methods can be improved with better domain sampling instead of random shuffle, for example different sampling for the boundaries and different sampling for points inside the domain where the points are collocated.


I use LyX 2.2. I would like to produce REVTeX 4.1 documents. When running LyX with a document open, I find, via Documents > Settings > Document Class, an item that says "Unavailable: REVTeX (V 4.1)". I found a revtex4-1.layout file in Windows (C:) > Program Files (x86) > LyX 2.2 > Resources > layouts. Please tell me (in detailed steps I can follow) how to to activate use of REVteX 4.1 as a document class. (I do not consider myself 'all that sophisticated' regarding 'how things work'. So I would like to obtain a well-specified process I can follow.) With appreciation.