Completely confused with "==" and ".equals()" in Java

I learnt that in Java, == checks whether two variables refer to same objects, .equals() checks whether the value of the two variables are equal. Which I understand well, but this code confusing me again.  public class Application { public static void main(String[] args) {      String one = "Hello";     String two = "Hello";      if(one == two) {         System.out.println("one == two");     }     else {         System.out.println("one != two");     } } }   The output is one == two, but one and two are two different objects, even though they have the same value, how come are they refering to the same object?


Why is the derivative of a vector orthogonal to the vector itself?

$R(t) \cdot R'(t) = 0$, which is what every source I can find tells me. Even though I understand the proof I don't understand the underlying concept. If $R(t)\cdot R'(t) = 0$, then $R'(t)$ is orthogonal to $R(t)$, right?   But you use the same derivative to find the tangent of a curve. Then somehow if you differentiate the tangent itself, you get the normal to the curve.  I really can't wrap my head around this. Could someone help me understand?


JavaScript: Break out of for loop, if a condition is true

I'm try to break out of a double for loop, if a condition is true, my code doesnt work correctly. Anyone know how to do this?  for (var i = 0; i <eightPoints.length; i++)        {             for (var j = 0; j <eightPoints.length; j++)             {               ....               ....                 if (bool == true)                 {                    calculateAndDisplayRoute(0);                   //break;   ??                  }                }           //break;   ??         }


If a use same title to post on medium to rank my blog post with different content? Will it rank my main blog post?

One of the YouTubers said in his video if you have a blog post "let's suppose blog post title is "how to make money in Pakistan on youtube?" then he told that to get organic traffic, go on medium. Create a story with the same title as you set for your blog post and put 1 or 2 paragraphs from the blog post and then leave the URL of your blog post on the medium story. It will get your post indexed quickly and give you organic traffic???? I used this technique with slight changes, I created a medium story with a title (the title is changed than original post title), and then I wrote unique content (100 words) then posted over there. my medium post was ranked but my blog post isn't being shown on SERP even with its exact title. What should I do now?


How to return the first half of a string?

Assuming the string has at least one character in it. If the string length is odd, then you may assume it returns (𝑛−1)/2 characters where n represents how many characters are in the original string. For example: 'small' => 'sm'  I would also like to write another function that returns the 2nd half of a string.


How can I show that $\begin{cases} x = 2 \pmod 6 \\ x = 5 \pmod 8 \end{cases}$ does not have a solution?

I thought about using the Chinese Remainder Theorem here as $\gcd(6,8)=2$ and not $1$, but $$\begin{cases} x = 2 \pmod 6 \\ x = 6 \pmod 8 \end{cases}$$ has indeed a solution. But right now, I'm stuck with $$\begin{cases} x = 2 \pmod 6 \\ x = 5 \pmod 8 \end{cases}$$ Which obviously after some calculations does not seem to have an integer solution, but how can I show it more "elegantly", like by using some theorem?


London to Chennai, with two stops inside the Schengen area?

I was trying to book a flight from London to Chennai. The cheapest air ticket was the one that has two stops, first at Berlin and then at Frankfurt. I hold an Indian passport and a UK work visa. My Question is should I get a visa for such a travel to stay in the airport? Or it is not required because it is only in transit?  By the way, the airlines from London to Berlin is German Wings and the other part of the journey is with Lufthansa (Berlin -> Frankfurt -> Chennai). Are there any restrictions? I was not able to google this information easily.


Not divisible by $2,3$ or $5$ but divisible by $7$

The question is to determine the number of positive integers up to $2000$ that are not divisible by $2,3$ or $5$ but are divisible by $7$. The answer is supposed to be $76$ but not sure how it was derived  I know that if the question was how many integers are not divisible by $2,3,5$ or $7$ then the answer would be $458$ and I know how to derive this.


How to prove that the only integral solutions to the equation $$y^{2}=x^{3}-1$$ is $x=1, y=0$.  I rewrote the equation as $y^{2}+1=x^{3}$ and then we can factorize $y^{2}+1$ as $$y^{2}+1 = (y+i) \cdot (y-i)$$ in $\mathbb{Z}[i]$. Next i claim that the factor's $y+i$ and $y-i$ are co-prime. But i am not able to show this. Any help would be useful. Moreover, i would also like to see different proofs of this question.  Extending Consider the equation $$y^{a}=x^{b}-1$$ where $a,b \in \mathbb{Z}$ and $(a,b)=1$ and $a < b$. Then is there any result which states about the nature of the solution to this equation.


Does this analysis make sense and can anyone provide relevent references?

I have a GEE logistic regression model that I've built that predicts that probability of mortality given a rather extensive set of covariates.  I wanted to write here as a sanity check of sorts to make sure that what I'm doing seems sensible and to get some clarification on how to go about obtaining confidence intervals for this analysis.  Allow me to explain:  The purpose of the study is to examine the relationship between a continuous intervention variable (which is a percentage in the range of 0 to 100%) on mortality while controlling for a number of other covariates.  I build a model in GEE due to the data having some dependencies and repeated patient visits.  After building the model, I made predictions on the datasets, holding all the variables in my model constant with the exception of the intervention, which I initially set fixed at 0% (and later to 10%, 20%, . .  100%) for every patient in the dataset.  This gave me predictions of mortality for each individual.  Now, within each of four risk categories (a categorical variable that appears in the model), I obtained the mean predicted mortality rate, the mean predicted upper 95% confidence interval and the mean predicted lower 95% confidence interval.  So in the end, I have four risk categories, each with a mean predicted mortality and mean 95% upper and lower confidence bounds. This processed was repeated once for each 10% increment of my intervention variable.  My intention was to essentially look at the all the patient characteristics and form a counterfactual where the only thing I change is the intervention, and made predictions to see, hypothetically, what could we expect if, all else being constant, the intervention had actually been 10% (or 20%, 30%, etc.) instead of what was actually observed.  So my questions are: (1)  Does this sound like a sound/reasonable approach and if so (2) Is it appropriate to simply take the mean of the individual 95% upper and lower confidence intervals to find confidence intervals for each level of categorical risk factor and intervention percentage?  If not, how else can I go about this, without having to separately tabulate the confidence intervals for very specific linear combinations of an extensive list of predictors?  Essentially, I'm trying to avoid having to say something like, for those with high oxygen saturation levels, having never experienced cancer before, who were previously admitted for the same condition, and high cancer risk, the confidence interval is (x, y).  In other words, I'd like to be able to just say something about the the intervention in each of the groups, across all patients reflective of their other current clinical characteristics en masse.  UPDATED: I have read a bit about marginal means and this seems close to what I'm trying to do, but not quite.  Instead of using marginal means, I'm trying to obtain the mean predicted mortality across the entire population under study.  It seems simultaneous confidence intervals are quite easy to provide for marginal means, but I'm not sure how to go about obtaining confidence intervals for the methodology I've described, other than bootstrap methods.  Any additional advice would be greatly appreciated.


Why would somebody want to turn off v-sync?

From , I've found inability to turn off v-sync listed as a negative point.  I understand lowering graphics settings like texture quality, various effects and changing resolution, which very noticeably , but vertical synchronization doesn't seem to do any harm.  From what I know, it only removes image tearing, and as a side-effect may result in displayed framerate change from 60 to 59 (or max_fps-1) in some games due to faulty framerate counting algorithm, which some users may see as literally unplayable. From my experience, in game streams with low framerate, disabled v-sync shows as a lot of tearing frames and disgruntled viewers.  Are there any advantages to disabling v-sync? Does it cost anything performance-wise to worry about?


Prove that, if $a_k \geq 0$ for large $k$, and that $$\sum_{k=1}^\infty \frac{a_k}{k}$$ converges. Prove that $$\lim_{j \rightarrow \infty} \sum_{k=1}^\infty \frac{a_k}{j+k} = 0$$  I believe I cant write  $$\sum_{k=1}^\infty \frac{a_k}{j+k} \leq \sum_{k=1}^\infty \frac{a_k}{k}.$$  However, taking limit does not give me the answer.


Can not make hibernate on UEFI (Secure boot)

How can I make hibernate my desktop in UEFI with Secure boot on.  I used command "sudo pm-hibernate" to make hibernate my desktop but my machine did nothing (my desktop is booted up on UEFI with Secure boot on). But, if I boot my desktop on UEFI with Secure boot off, Hibernation is normal.  Sorry for my English, thanks,


Prove that the complex expression is real

Let $|z_1|=\dots=|z_n|=1$ on the complex plane.  Prove that:  $$ \left(1+\frac{z_2}{z_1}\right) \left(1+\frac{z_3}{z_2}\right) \dots \left(1+\frac{z_n}{z_{n-1}}\right) \left(1+\frac{z_1}{z_n}\right) \in\mathbb{R} $$  I have tried induction and writing every "subexpression" as $(1+e^{i(\theta_n-\theta_{n-1})})$.  Any ideas?


Why we need two uppercase in last name McKay? Why not Mckay?

Convention? Any historical reasons? This seems to be a little odd for me. I'm not a native English user. I thought only the first letter should be the upper case. What's so special about this last name?


What is it, intuitively, that makes a structure "topological"?

With most concepts in mathematics I've learned about, I have an intuitive feeling of what their meaning is, and why we have them.  Topology is not one of them.  I understand that the concept of a topology emerged from the study of continuous functions. Essentially as far as I understand it, the starting point historically was the epsilon delta definition of continuity on real functions, and the topology axioms are "what remained after stripping away everything not required for the definition of continuity".  So far so good. But then it turns out that various mathematical structures have topologies defined on them, while these have (seemingly to me at least), absolutely nothing to do with continuity, such as topologies defined on sets of first-order sentences, or on "sets of mathematical structures" (in mathematical logic), or on any kind of other set which as far as I see has no relation to $\mathbb R$.  Of course what these all have in common, is the topology axioms. But while I know what the axioms are and can apply them, I have no intuitive understanding of what it is that all these different structures have in common.  What, intuitively, does it mean for a structure to be "topological"? I intuitively know what the set of vector spaces have in common, or the set of measure spaces. What , intuitively, does the set of topological spaces have in common?


What is 'him' in this sentence: "She stands there, him looking into her eyes."?

Is it a subject? Also, what sort of sentence is this?


Does a Wizard's Familiar grant advantage on every roll?

We're a new group playing DnD 5e. Three of us have no prior experience (and I'm one of them, never played the earlier editions) whilst two of us have some to good experience with other editions.  I'm DMing Rise of Tiamat and I'm really struggling with giving the players any kind of challenge. We've got a Paladin with Sentinel and a Halberd, almost stopping everything in its tracks when they attack, a Wizard with Fireball (he might have found a spellbook), Minor Illusion and the Tiny Hut spell (which really messes up any kind of surprises I have in store for the night), a Druid which doesn't do much and a Rogue which died last session because of PVP (he got the option to sacrifice one player by an evil fountain spewing blood, he took it - and it didn't pay off in the end).  Just a bit of context.  My question is this: our Wizard is because of his familiar (a rat which he has on the inside of his robe) constantly throwing advantage on all of his D20 rolls. I said I won't allow this in the future sessions because the familiar needs and initiative, and also needs to somehow confuse or do whatever with the mobs to allow advantage.  He does, however, claim that the familiar gives him an advantage on all skill checks as well, in and out of combat. Is this according to the rules?


I am trying to submit a LaTeX file to the  which uses biblatex.  However, it fails whatever I do.    I first get the message   biblatex.sty is not found   I have tried including (all from TeXLive 2010) biblatex.sty but then I get   logreq.sty is missing then logreq.def is missing   then   ! Package biblatex Error: Outdated 'etoolbox' package.   I then tried adding etoolbox.sty and etoolbox.def and get  ! Package biblatex Error: Style 'alphabetic' not found   So I added alphabetic.bbx then standard.bbx then alphabetic.cbx and finally I get   ! Package biblatex Error: Autocite command 'inline' undefined   I also tried incorporating the bib into the main LaTeX file as in  but it doesn't help.  Has anyone successfully used biblatex with the  and if so, how?


Filesystem that gives an encrypted view of a directory—the inverse of EncFS

Currently I'm using EncFS to encrypt my directory "confidential" to ".encconfidential" and sync that encrypted directory using an online service (e.g. Dropbox, UbuntuOne etc). However my entire disk is already LUKS encrypted, so the double encryption takes a toll on performance.  I wonder is there an "inverted" EncFS option? An unencrypted directory gets mounted and in the mounted directory you only see encrypted files. So I could work with the unencrypted documents while the sync tool sees and read/writes the encrypted files only.  Clarification: My primary use case is sync not backup. I want to be able to securely keep machines in sync without the double encryption penalty when operating local (I have to wait when I hit save, compared to transmission time an encrypted operation is a minimal increment in time - and it is background time, not user time)


"In contrast with" or "In contrast to" (or something else)?

In my writing I often like to make a comparison between two things. However, I'm not sure how I should start my sentence and if it's even a good idea to start it this way.   Example:     React has a special way of dealing with dynamic data. In contrast with / to more traditional frameworks that require a full reload everytime data changes, React does .... [etc.]   Should I use with or to, and is this grammatically correct? Are there any other ways I can write a comparison in an interesting way?


Creating object of non pointer type in C++

If i have a class like as below.  class A { int data; };  A a; // Case1: calling explicit Default constructor A b(); // Case2: Calling implicit default constructor   What is the difference between Case1 and Case2?


Error when using endfloat with unicode characters

I have a problem with the endfloat package and unicode characters.  When I compile the following, everything works as expected:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx}  \begin{document}  \begin{figure} \caption{Ö} \end{figure}  \end{document}   However, when I also load the endfloat package (\usepackage{endfloat}), I get the following error message:  ! Package inputenc Error: Unicode char \u8:ÖÖ not set up for use with LaTeX.   This could be a bug, but my suspicion is that I'm making a mistake somewhere.  I'm hardly the first person to use special characters with the endfloat package.  However, the above example is so simple, I don't see where I could have made a mistake.  Any advice is appreciated.  Edit: The file is of course encoded using utf-8.


Recently I've had my 24th birthday, and a friend commented that it was a very boring number, going from 23 which is prime, 25 which is the first number that can be written as the sum of 2 different pairs of squared integers $3^2+4^2 =0^2+5^2 =25$, 24 seems like a very boring number  however, it seems to have a very special property  Theorem: product of 4 positive consecutive numbers is divisible by 24.  I managed to prove this via long and dry induction, not very interesting. I wonder if anyone can propose a different more elegant and witty proof, rather than dry algebra like me.


Why a new file with ~ added in extension is created whenever I create a file

I created a file in Ubuntu command prompt like this  $ gedit first_file.txt    After editing and saving the file when do ls on command prompt I can see an additional file created   first_file.txt~     My Question   What is this file and why it is created? Will it ok to tell Ubuntu not to created these files and how?


Running bat file using Windows scheduler

I wanted to run a .bat file in Windows task scheduler, so I opened it, added a new task, browsed to the bat file, and... nothing happened.   So I changed the timing to see if it'll run, and it didn't. Next I right-clicked on the task and chose "run", it didn't run. The file itself is only one line, basicly backups a folder to a another location. It runs fine when not in the scheduler.  When I asked on  they first said to come here and the other guy said to write:  cmd.exe /C completepathtobatchfile argstobatchfileifany   So I wrote:   cmd.exe /C k:\backup.bat    and it didn't work. What do I have to change to make it work?


About inversing the logistic transformation and get a closed form solution for logistic regression

It is well known that for a linear regression problem $y=X\beta+\epsilon$, we have a closed form solution $\hat{\beta}=(X^TX)^{-1}X^Ty$.   Then, it's natural to ask the similar question about logistic regression, which has also been discussed (e.g. ).    However, I don't understand it well that what the reason there to forbid us from just inverse the logistic transformation and use the closed form solution for linear regression again.   For example, for a logistic regression problem $<y, X>$, since we model it in such a way: $$ y = \dfrac{1}{1+e^{-X\beta}} $$ why can't we inverse that function to get $X\beta=\log\dfrac{y}{1-y}=y'$, and simply following the closed form to get $\hat{\beta}=(X^TX)^{-1}X^Ty'$?  I hope the reason is more than "$1-y$ will be zero for $y=1$" because I believe we can always figure out a way to work around these computation issues.   EDIT:  Thanks for @Chaconne's suggestion of this .


Where can I send feature requests? Both for Ubuntu as a whole and individual (supported) apps?


When I heat water in my electric kettle the noisy turbulence gets louder and louder as the water nears boiling. Shortly before the kettle turns itself off (presumably when it detects the temperature limit) the noise subsides.  Why?  This might be physics - or just  delay in the feedback system.


Especially questions containing screenshots from the android-app are somewhat difficult to read in the web browser, because the screenshot is taking the width of the complete body.   (see for instance , where the screenshots are ridiculously huge)  It would be nice to be able to tell the system to display both screenshots side-by-side or just to restrict the size to something sensible.


How to auto close LWC quick action from JavaScript?

I have created a Lightning web component quick action for account object in the Summer 2021 sandbox org. This is the screen action and working fine, but I am not able to close the action using JavaScript. I know we can use $A.get("e.force:closeQuickAction").fire(); in the Aura Components, but what is the Lightning web component equivalent for this? I tried to find the documentations for this but seems to be not available at this time.


Extract words from file using separate word list

I have a text file containing a list of strings, for example a.txt one two three  I also have another text file containing a list of strings, for example b.txt threetwo onetwothree zero twozero  What I wish to do is compare the two and find whether any of the fields inside b.txt contain fields from a.txt Example of output in this case would be, threetwo > two, three onetwothree > one, two, three twozero > two  If my explanation wasn't explanatory enough then I have this written in C# which will produce my expectations. List<string> allElements = new List<string> { "one", "two", "three" }; string str = "onetwothree"; var containingElements = allElements.Where(element => str.Contains(element)); foreach(string element in containingElements) {     Console.WriteLine(element); }  you can run the above code on dotnetfiddle.net I would prefer this to be achieved using awk, any help would be appreciated :).


C# DateTime: What "date" to use when I'm using just the "time"?

I'm using a DateTime in C# to display times. What date portion does everyone use when constructing a time?  E.g. the following is not valid because there is no zero-th month or zero-th day:  // 4:37:58 PM DateTime time = new DateTime(0, 0, 0, 16, 47, 58);   Do I use COM's zero date?  // 4:37:58 PM DateTime time = new DateTime(1899, 12, 30, 16, 47, 58);   Or perhaps SQL Server's?  //4:37:58 PM DateTime time = new DateTime(1900, 1, 1, 16, 47, 58);   I realize it's arbitrary, since I'll be ignoring the date portions in code, but it would still be nice to be able to use:  DateTime duration = time2 - time1;     Answer  I think I like MinValue   DateTime time = DateTime.MinValue.Date.Add(new TimeSpan(16, 47, 58));     Note: I can't use a TimeSpan, because that doesn't store times of the day. And the reason I know that is because there's no way to display its contents as a time.  Which is to say that TimeSpan records a span of time, not a time of day, e.g.:  TimeSpan t = new TimeSpan(16, 47, 58); t.ToString();   returns a span of time in the format hours:minutes:seconds, e.g.:  16:47:58   rather than a time:  4:47:58 PM    (United States) 04:47:58 nm   (South Africa) 4:47:58.MD    (Albania) 16:47:58      (Algeria) 04:47:58 م    (Bahrain) PM 4:47:58    (Singapore) 下午 04:47:58  (Taiwan) 04:47:58 PM   (Belize) 4:47:58 p.m.  (New Zealand) 4:47:58 μμ    (Greece) 16.47.58      (Italy) 오후 4:47:58   (Korea) 04:47:58 ب.ظ  (Iran) ਸ਼ਾਮ 04:47:58   (India) 04:47:58 p.m. (Argentina) etc   In other words, there is a difference between a timespan, and a time. And also realize that TimeSpan doesn't provide a mechanism to convert a span of time into a time of day - and there is a reason for that.


Can you photograph the milky way with a full moon out?

Is it possible to photograph the milky way (or just any stars or stellar objects) when a full moon is out?


Avoiding negative integers in proof of Fundamental Theorem of Arithmetic

There is an exercise on page 44 of Amann's book Analysis, Vol I which stuck me so much. I quoted it here:   Ex7:  Let $p\in\mathbb{N}$ with $p>1.$ Prove that $p$ is a prime number if and only if, for all $m,n\in\mathbb{N},$ $$p\mid mn\implies p\mid m \quad \text{or} \quad p\mid n.$$   Since this exercise occurs only after the Euclid's Division Algorithm (Page 34, Amann, Analysis Vol 1) and the Fundamental Theorem of Arithmetic (Page 36), I can not use the result of greatest common divisor of $m$ and $n,$ because that concerns  the definition of the negative numbers, which is not coming into being in that section. Therefore, I ask the following question:     Can Euclid's Division Algorithm  and/or Fundamental Theorem of Arithmetic implies Ex7? Or in another word, Can we prove Ex7 by only using Euclid's Division Algorithm and/or Fundamental Theorem of Arithmetic?


My iPad keeps ringing when I get a call on my iPhone.  I have disabled FaceTime and Messages, but it still doesn't work.


Application of abstract algebra for computer science/software engineering

What are some cool applications of abstract algebra for computer science/software engineering?  A friend of mine has been invited to my university (most of the students are soon to be software engineers/CS) to give a short seminar on abstract algebra and he wanted to know how he could motivate students to learn and get interested in the subject.


Unable to access Windows7 partition after updating Windows

I have dual boot Windows 7 and Ubuntu 16 with grub. They were working very well until I installed the last Windows update. The update had to restart at some point but as Ubuntu is listed first in the grub menu Windows didn't complete the update process. Right now I can neither access Windows partition nor access Windows OS. When I select windows in the grub I get only black screen and when trying to open the windows disk from Ubuntu I got the message in the attached screenshot.    I tried ntfsfix but never succeeded. please advise.


Proving $\sqrt{n}(x_n)$ converges when $x_n = \sin(x_{n-1}), x_1=1$

This is a problem that showed up on a qual exam that I have been stuck on for a while.  Let \begin{equation} x_n = \sin(x_{n-1}), x_1 = 1 \end{equation} Prove $\lim_{n \rightarrow \infty} \sqrt{n} x_n$ exists and compute its value. The problem gave the following hint: Show that \begin{equation} \frac{1}{x^2_{n+1}} - \frac{1}{x^2_{n}}    \end{equation} converges to a constant.  I have shown that $x_n$ converges to $0$, but I am unsure on how to begin bounding $\sqrt{n}x_n$ or how the hint is helpful in this problem. I have tried using the MVT to show $\sin(x_n) \rightarrow 0$ faster than $\sqrt{n} \rightarrow \infty$, but I didn't get far. Any help will be appreciated.


How to disable sticky corners in Windows 8?

I have 2 monitors and in Windows 7 I used to just mouse-flick maximized windows from one monitor to the other.  With Windows 8 however (charms disabled), my mouse hangs in the corners while doing this. This is because as described at the end of , an "invisible barrier" of 6 pixels has now been added:    Thus I'm unable to have a smooth experience for window movement across monitors as I did back in Windows 7. (Both my monitors are aligned in the settings to the top, so that isn't the problem).  How do I disable the mouse from stopping in the corners when going from one monitor to the other?  Edit: So it seems this is not possible without programming effort. I am currently writing a small tool to circumvent this nuisance. It's already working, I'm just touching up on the visuals :)  Edit2:


$ being interpreted as Latex in "Hot Network Questions" from Latex enabled sites

an image is better than a thousand words:    Original title:


Getting awk value and outputting to a file

I need to get a value from a log file which I am getting using awk at the moment. I can get the number printing on the console but when I try to put that value into a new file nothing happens. Here is what i have    sshpass -p $PASSWORD ssh $USERNAME@$REMOTE_IP_ADDR  tail -F $INPUT_FILE |  awk '{ print $16 }' > $OUTPUT_FILE  //when command is run without > $OUTPUT_FILE i get my value eg 4000   This isnt a buffering issue because there is nothing being outputted to the file. A file gets created but the value isnt written to the new file. Also my value is always being overwritten as it is reading a line from another script which continuously replaces the line I read.  So i have fixed the problem I was having. The solution was assigning the command to a variable and the writing that variable to a file. I tried this before but  the issue I had was i had an extra space between my = sign and the command. Here is the working code    value=`sshpass -p $PASSWORD ssh $USERNAME@$REMOTE_IP_ADDR tail -n 1 $INPUT_FILE | awk '{ print $16 }'`          echo $value          echo $value > $OUTPUT_FILE  //will not work because of the space between "value= `sshpass"  //  value= `sshpass -p $PASSWORD ssh $USERNAME@$REMOTE_IP_ADDR tail -n 1 $INPUT_FILE | awk '{ print $16 }'`


What happens to kinetic energy of an object when I stop its motion?

Assume an object is moving and it is stopped at a point. Now kinetic energy will transform into some other energy. What can be those energies and on which cases these will happen respectively?  Furthermore, when that kinetic energy of an object (going upward against gravity) transforms into potential energy, the net potential energy of the object will be more than $mgh$ (where height is $h$ with respect to base). Is this fact correct? How can this unusual energy amount make sense?


How does the Mobile feat interact with the Writhing Tide for a Swarmkeeper Ranger?

In the Swarmkeeper section for Rangers in  Tasha's Cauldron of Everything there is an ability called Writing Tide (TCoE, p.60), which allows the Ranger to fly.  Writhing Tide 7th-level Swarmkeeper feature You can condense part of your swarm into a focused mass that lifts you up. As a bonus action, you gain a flying speed of 10 feet and can hover. The effect lasts for 1 minute. You can use this feature a number of times equal to your proficiency bonus, and you regainall expended uses when you finish a long rest.  In the Player's Handbook the feat Mobile (PHB, p.168).  You are exceptionally speedy and agile. You gain the following benefits: • Your speed increases by 10 feet. • When you use the Dash action, difficult terrain doesn’t cost you extra movement on that turn. • When you make a melee attack against a creature, you don’t provoke opportunity attacks from that creature for the rest o f the turn, whether you hit or not.  Does this mean that if you take Mobile as a feat, the benefit would apply to this particular feature too - effectively having a fly movement of 20 feet instead?


What does the exif ICC profile date mean?

I am trying to determine when a photo was taken with a smart phone. It was sent to me, not taken from facebook. I've viewed the exif data but the only field that even references a date is the ICC profile date. What is this date? is this the date it was taken? if not, how can I view the date it was taken?


How to invoke chat on a question/answer where I know the user will need more help

I provided an answer to the following .  The user is asking me questions and needing additional help in troubleshooting.  I know if I provide enough comments eventually I will get a link telling me that I should invite a user to a chat session instead of creating a whole bunch of comments.  I know I will eventually get to that point on this question.  To save us both time, is there a way to open a chat session on a question/answer before that limit hit?


Getting an error while running quickly app:  Creating project directory sata Creating bzr repository and committing Launching your newly created project!  (sata:2701): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed  Congrats, your new project is setup! cd /home/blacksaint/sata/ to start hacking.   Actually after this the app should pop - up but it really doesn't do so!


How to Install OS on Micromax A92 Mobile Device. What I need?    I have A92 mobile device and I want to change the OS. But the tools required for it and the compatibility test for device is not known to me. Had any one tried it?    Or please guide me.


A question on the group algebra $k[G]$ of a finite abelian group

Let $G$ be a finite abelian group and $k$ a field in which the group order is invertible. Then the group algebra $k[G]$ is a semisimple ring by Maschke's theorem. As $k[G]$ is also abelian, the Artin-Wedderburn theorem implies, that $$ k[G]=K_1\oplus\ldots\oplus K_n $$ for fields $K_i$.  I have two questions and I have to admit that they are both a little awkward:   Is $K_i$ an algebraic field extension of $k$? I am sure that this is true but I can't find an argument. If (1) is true and $k$ is algebraically closed, I can deduce, that each irreducible representation of $G$ is one-dimensional. However, this is quite easy to prove directly and the structure of $k[G]$ (obtained by non-trivial theorems) seems to contain more information. Can I deduce something about the number of irreducible representations? What can I say for $k$ not algebraically closed?


This comes from Lang's algebra, chapter $5$ exercise $23$ $(b)$. Part $(a)$ asks to find a rational function to represent  $$Z(t) := (1-t)^{-1} \prod_p (1-t^{\deg p} )^{-1}$$ Where $p$ ranges through all monic irreducible polynomials of a finite field of cardinality $q$ (which I will denote $F_q$). I can solve this - you find $$Z(t) = \frac{1}{1-qt}$$ $\textbf{Main question:}$ Part $(b)$ asks the following: Let $\pi_q (m)$ denote the number of monic irreducibles with degree $\leq m$. Prove $$\pi_q (m) \sim \frac{q}{q-1} \cdot \frac{q^m}{m}$$ I assume that it is worthwhile to use the result of part $(a)$; use the notation $\psi (d)$ to denote the number of monic irreducibles of degree $d$ so that $\pi_q (m) = \sum_{d=1}^m \psi(d)$. If I take the natural log of both sides I see $$\log (1-qt) = \sum_{d=1}^\infty \psi(d) \log(1-t^d)$$ I did this because I get pretty close to having the sum of my $\psi (d)$ terms occur, but if I continue doing standard power series manipulations I essentially do the solution for part $(a)$ backwards and get nowhere.  Another attempt is to "brute force" it. I can look at $\sum_{d=1}^m \psi (d)$, and using the standard formula for $d \psi (d) = \sum_{d \ | \ n} \mu (d) q^{n/d}$, I can manipulate my sum to get it into the form $$\pi_q (m) = \sum_{d=1}^m \frac{\mu (d)}{d} \sum_{k=1}^{[m/d]} \frac{q^k}{k}$$ where $[\cdot]$ denotes floor function. I confess that I am not terribly familiar with asymptotic properties of the Mobius function, so that this form is not particularly enlightening to me, either. Is there any other way to see this relation more clearly? Any help is appreciated.


Can anyone help me to understand if the following sentence requires 'who' or 'whom'?

I am writing a story and would like to know which one is correct:  a) "...and it was impossible to know who was sheltering whom."  b) "...and it was impossible to know who was sheltering who."  I tried to apply the 'replace who by he/him' method, but I didn't figure out yet.  I appreciate your help.


While watching  I found this scene,     Is Stark creating new shield for Captain America ??. Why would Tony Stark do that, considering they had a bad fight ?


I'm trying to mirror an arch and then subdivide to get a smooth look but vertices that should be merged in the process do not behave as I would assume. I cannot subdivide and moreover, shading gets distorted.   Here's a youtube video:   How can I apply this mirror modifier so it works normal?  PS:blender 2.78a


Syncing Site WF (State Machine) to ASP.NET Web Form

I have developed a web form in ASP.NET with the code behind in vb.net in Visual Studio 2013. This will be deployed into SharePoint. I have also included a Site State Machine WF in the same solution. I am not able to get the WF to start on submit button click. Can someone please provide me with some advice on how to get this to work? Is including the Site State Machine WF in my solution the correct way to deploy a WF that isn't associated to a list into SharePoint?  I have deployed my ASP.NET web for and code behind into SharePoint via an application page.  Thank you for any help


The Mesh is Blending With The Background

I haven't used blender in a while and the last time I did this wasn't a problem but for some reason, it looks like the background is "blending?" with the mesh. This only happens in Eevee, cycles work just fine. The mesh is completely invisible in the viewport shading mode too. I tried resetting the settings and reinstalling blender but that doesn't work, it might be something wrong with my computer.  This is how it looks in rendered view, I moved the camera around a bit and the background color started "blending" with the mesh  This is how it looks in the Viewport Shading mode, the mesh would be completely invisble if i turned off the overlay.


I want to see if I'm doing this correctly let me know if I'm right and if I'm not can someone give me an explanation. Thank you. What does the code below print?  int n = -1;  // n increments after so now n stays at -1 now int k = 3 then n went from -1 to 0 // (increments after, adds 1) int k = n++ * -3;  // Now n increments before execution so from the result of n++ which was 0 you increment // before, add 1. So now n = 1 * 4 + 3 which is 7.  cout << ++n * 4 + k;   Answer is: 7  Am I doing this the correct way??


Choosing the appropriate statistical test

I am trying to examine the long-term association between smoking cannabis and a diagnosis of depression. I have survey data from 2 points in time for the same participant (repeated measures). The variable in my dataset are cnb_smoke (1: yes, 0: no), diag_depr (1: yes, 0: no), occasion (1: occasion 1, 2: occasion 2), and ppt_id (unique ID). I am also interested in including the following confounders: sex (1:female,0:male) and age (continuous) What statistical tests, other than multilevel models, can I use to test the long term association; i.e. what model would allow me to account for the repeated measures nature of the design?


Let $G$ be a group, where $(ab)^3=a^3b^3$ and $(ab)^5=a^5b^5$. Prove that $G $ is an abelian group.

Let G be a group, where $(ab)^3=(a^3)(b^3)$ and $(ab)^5=(a^5)(b^5)$. Prove that $G$ is abelian group.  Thank you in advance. Any help is appreciated.


"To view the full contents of this document, you need a later version of the PDF viewer"

Unfortunately document viewer only shows me this if I open my PDF document:    If I enter the Adobelink there is no linux version of acrobate reader. I need to open and write some stuff into this document.


Is it possible to add the field field_tags in mymodule_install() like the body field? I added a body field with node_add_body_field. I can see the field in field_config_instance table. Is there a posibility to add field_tags in hook_install() without doing it in the GUI?  Is it done by field_create_field?  if (!field_info_field('my_field')) {   field_info_cache_clear();    $field = array(     'field_name' => 'my_field',     'type' => 'custom_field_type',     'cardinality' => 1   );   field_create_field($field); }   But how to set the values for a default article or gui custom like tags field?


Typesetting exclamation+question+ellipsis (!.. ?.. ?!. !?.)

All of us know that we should use \dots instead of ... (three single dots).  But how can I typeset correctly the combination of an exclamation mark with an ellipsis (!..) or a question mark with an ellipsis (?..), or both marks with a dot (?!., !?.)?  I want to have dots on equal distances — same as in \dots.  Of course, I can guess the kerning, but this solution will be font-dependent :-(


Pronunciation of "the East" in the Carol "The First Noel"

I sing in a choir and most of us are Spanish speakers. We're singing The First Noel, and last night someone questioned whether we should say "the East" pronounced as "thuh East" or "thee East."   The lyrics read:      They looked up and saw a star   shining in the East beyond them far   And to the earth it gave great light   And so it continued both day and night.   I looked up the rule, and it's not clear to me, as I cannot identify whether the 'e' in East is considered a consonant or a vowel sound. Compare 'East' and 'earth'. In the latter, it is clear that the pronunciation should be "thee earth", but the sound of 'e' in 'East' is different, so what should it be?  Also, when I looked up the song sang by other choirs, they say "thee East."   Can you please help and provide the rule that should be followed in this specific case or is it a case of poetic license?


New to Linux attempting an exercise to overwrite /proc/sys/fs/file-max  sudo sh -c 300000 > file-max returns bash: file-max: Permission denied. Do I actually have to be root to do this? the user account I'm using has been added to the sudo user group.   I saw variations of this question posted mostly attempting to modify different folders and the above command was the recommendation to alleviate the issue, but is the /proc directory different?  Note: using most recent Kali Linux release.


Is there a way to fold/unfold certain sections in a pdf. Only when the user clicks on the section or plus sign the items show up.  Example: user clicks on the plus sign and the items appear as drop down list.


Can a Blinded caster with Blindsight use spells that require them to see the target?

The situation I have in mind is the following:  An epic battle ensues between a Young Green Dragon (caster variant) and a Purple Worm. The Purple Worm swallows the dragon; meanwhile, the dragon has blindsight and can cast Command.  Command is a spell that requires you to see the target. However, the dragon is Blinded (so it can't see) while swallowed. It has blindsight out to 30 ft, though, so it can perceive its surroundings without relying on sight.  Can the Young Green Dragon use the Command spell to have the Purple Worm retch it out?  The general question is: does the interaction of the Blinded condition with blindsight still prevent the caster from using spells that require them to see the target?    There is another question which asks if creatures with . The answer is , and we begin this question with the fact in mind that the caster is both Blinded and has blindsight.


Do I need a transit visa for 8 hour layover in Dubai

I am travelling by emirates from India to Dubai (DXB) and after 8 hour layover  I will be boarding an emirates flight to the USA from DXB airport.  Do I need a transit visa for the layover period in Dubai?


Describe in English a Turing machine that semidecides the following language - Is this solution correct?

The language being L, which is described as follows:  $L$ = { $<M>$ | $M$ accepts the binary encodings of at least 4 odd numbers } .  My solution:  M generates the binary encodings in $\Sigma_M*$ in ascending order and uses dovetailing to interleave the computation of M on those binary encodings. As soon as four computations accept, M halts and accepts.  Is this correct? What corrections would have to be made if not? I am not sure if I am providing enough details in my solution which may cause it to be incorrect.


Why does my browser display abnormally few special characters?

I want to insert some special characters in Google Docs. However,there are many that my browser doesn't seem to recognize. How can I get my browser to recognize them?


Is it ok for people to be so nagging about the [homework] tag?

I think that sometimes SO users are too insistent and rude about the  tag.  If you see question , the user  rudely demands for the new user to tag the question "correctly" and also "explains" what SO is not:     If you post homework here, please flag it as such (did it for you this time). We're not a homework/assignment solution service so people should get a chance to decide whether and how to help in such cases. – Thomas   The asker is even in the right track with his proposed solution and I think this type of feedback will just detract him/her from returning to stackoverflow.  Is this kind of behavior desirable in our site? Or am I just exaggerating with my point of view?


Check if important Windows Update is available

When deploying any application, it could be needed, that user has computer updated to latest OS version of Windows. Windows XP/Win7/Win8.  in this example, one important update is available on a Windows 8 system. .  in this example, 15 important updates are available on Windows 7 system. . How to get information if any important Windows update is available on this computer? I found a way how to get a specific KB patch:  But I don't have a list of each OS system and each KB and just want to know if any update is available. If no internet connection is available, don't care about it. I also found  but could not imagine how that should solve my situation. How to find out if more than zero important (not optional) updates are available?


Google is not returning my site until I search for my whole URL

I created a sitemap, added my website for indexing on Google's console, but still my website is not showing in Google search results until I search for the whole URL of my website. Anyone know why it is happening? E.g. If my website is example.com then searching example does not show my website, but if I search for example.com then it works fine.


A large amount of text below the sum or product sign

I want some advice about how to format it better if I have to write a long text below a $\sum$ or a $\prod$ sign. Basically I want to explain the restriction over which the sum or the product is being taken.   For example how can I improve the looks of these equations,  $N_i (\rho) = \sum _ {B \in \rho s.t n_{\delta_j}(B) = 0    \forall j \neq i} n_{\delta_i} (B)$  $\sum _{ \rho s.t N_i(\rho) = a_i and M_i(\rho) = b_i}    \prod _{B \in \rho} \langle \prod_{i=1}^{n} \delta_i ^{n_{\delta_i}(B)}    y_i ^{n_{y_i}(B)} \rangle_c$


Is it possible to upgrade from a Beta Release to a Final Release?

If I install a new beta release now (e.g. 15.10 beta-2), one week before the Final Release of this version, will I be able to update/upgrade it regularly to the Final Release version when it comes out or do I have to reinstall the system completely?  This question refers to the cd-image system of the releases: Are the Beta images basically the same as the Final Release, just with yet to be released improvements and updates, or will the Final Release image be an entirely different file so that the beta installations become obsolete and a full reinstallation is necessary to obtain the release version?


What is the term for a factorial type operation, but with summation instead of products?

(Pardon if this seems a bit beginner, this is my first post in math - trying to improve my knowledge while tackling Project Euler problems)  I'm aware of Sigma notation, but is there a function/name for e.g.  $$ 4 + 3 + 2 + 1 \longrightarrow 10 ,$$  similar to $$4! = 4 \cdot 3 \cdot 2 \cdot 1 ,$$ which uses multiplication?   Edit: I found what I was looking for, but is there a name for this type of summation?


In C#, what is the difference between public, private, protected, and having no access modifier?

All my college years I have been using public, and would like to know the difference between public, private, and protected?  Also what does static do as opposed to having nothing?


Apex Test Class is Failing - (System.QueryException: List has no rows for assignment to SObject)

I am brand new to coding and this is my first test class. I have spent hours trying to get it to pass.  Apex Trigger That I am Testing  trigger RenameTransaction on Financial_Transaction__c (before insert) {      for(Financial_Transaction__c a: Trigger.New) {         Financial_Month__c fm = [SELECT Name FROM Financial_Month__c WHERE ID = :a.Financial_Month__c];         Account vn = [SELECT Name FROM Account WHERE ID = :a.Vendor__c];         a.Name = fm.Name + ' * ' + vn.Name + ' * ($' + a.Amount__c + ')';     } }   Test Class That I Wrote  @isTest private class RenameTransactionTestClass {     Static testMethod void validateInsertTransaction() {         financial_transaction__c ft = new Financial_transaction__c(             Name='Test',              Amount__c=1.00,             Item__c='Stuff',             Currency_type__c = 'Debit',             Financial_month__c = 'a016g0000021jNuAAI',             Vendor__c = '0016g000003s4pCAAQ',             Billing_period__c = '1st Half');          Test.startTest();         insert ft;         Test.stopTest();          ft = [SELECT Id, Name FROM financial_transaction__c WHERE Id =:ft.Id];          System.assertNotEquals('Test', ft.Name);      } }   Error That I am Receiving     Class RenameTransactionTestClass   Method Name validateInsertTransaction   Pass/Fail   Fail      Error Message System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, RenameTransaction: execution of BeforeInsert caused by: System.QueryException: List has no rows for assignment to SObject Trigger.RenameTransaction: line 4, column 1: []   Stack Trace Class.RenameTransactionTestClass.validateInsertTransaction: line 14, column 1   Any help you can provide would be greatly appreciated. I am trying to teach myself how to code.


Does Android hide some amount of RAM from the User?

I bought a new tablet, but Android (2.3.1) shows that it has only 150MB free of 256MB, and it should have 512MB.  I checked the file /proc/meminfo, MemTotal information. It only shows 256MB. Is there a possibility that the Android "hid" 256MB of RAM from the user?


Progression where nth term repeats n times.

How to deal with sequences like  $$1,2,2,3,3,3,4,4,4,4,........$$ Now they don't come under any specific sequence (A.P., G.P. or H.P.). Can we deduce any simple formula or working method to deduce their $n^{th}$ term and the sum upto $n^{th}$ Any kind of hint would certainly work.


Running junit tests in parallel in a Maven build?

I'm using JUnit 4.4 and Maven and I have a large number of long-running integration tests.  When it comes to parallelizing test suites there are a few solutions that allow me to run each test method in a single test-class in parallel. But all of these require that I change the tests in one way or another.  I really think it would be a much cleaner solution to run X different test classes in X threads in parallel. I have hundreds of tests so I don't really care about threading individual test-classes.  Is there any way to do this?


Limit offset support for SQL Server 2008

I have a project based on SQL Server 2008. There is table with millions of rows, I need to fetch some rows between two dates (there is a column cdate), need to output a sheet file for the same, but it's not possible to fetch all rows at once(request timeout problem), so I find a way to break in multiple requests to write on sheet. But for this I need to have a way to select only some rows like limit and offset in mysql. Is there a way to do this???


The proper term for a person who uses words incorrectly

What is the proper term for a person who uses words incorrectly, hoping to impress  others?


$A^m\hookrightarrow A^n$ implies $m\leq n$ for a ring $A\neq 0$

I'm trying to prove that if $A\neq 0$ is a commutative ring and there is an injective $A$-module homomorphism $A^m\hookrightarrow A^n$ then $m\leq n$ must necessarily hold.    This is exercise 2.11 from Atiyah and MacDonald's Introduction to Commutative Algebra, but unfortunately all the solutions available online are either very sparse with regard to this question or seem to use (to my surprise) a generalized version of Cramer's rule. Is there perhaps some other "cleaner" approach to solving this problem?


Unable to Edit/Create Pages at help.ubuntu.com

I'm not sure if this is the best place for this, but I couldn't find a feasible way to contact anyone on the other site. I followed a lovely how-to yesterday at , but because it is so out-of-date I had to spend most of the day searching for additional information about efi partitions. I'm getting to the point where I feel I'm competent to provide instructions on a few topics, so since it says in the  "This website is free for all to edit, and contributing is easy", I created an account, logged in and discovered that any page I try to edit or create says "You are not allowed to edit this page". Is this a glitch, or is it because I'm a new user? If that's it, how do I gain that permission? I could not find anything in the WikiGuide or on Google about this.


Explanation of $(x \notin A \setminus B)$

I don't understand  $(x \notin A \setminus B)$  Why is it not $$x \notin A \land x\in B$$ instead of $$x \notin A \lor x\in B$$


I've been struggling to install Skype on my newly setup Ubuntu 18.04   I've tried several tutorials and executed below commands but none of them worked for me.  wget https://repo.skype.com/latest/skypeforlinux-64.deb   Above downloaded but when I tried to install it never start installation process. Than I step up to alternative method that is as below.  sudo dpkg -i skypeforlinux-64.deb   When I execute above command it give me error   zerocool@ZeroCool:~$ sudo dpkg -i skypeforlinux-64.deb dpkg: error processing archive skypeforlinux-64.deb (--install):  package architecture (amd64) does not match system (i386)  Errors were encountered while processing:  skypeforlinux-64.deb   Note : I'm using Ubuntu 18.04 on 32 bit system powered by Intel I3.  Please guide me I'm new on Ubuntu and want to learn it.


A Number theoretic inequality including floor functions.

Prove that [x] + $\frac{[2x]}{2} + ..... \frac{[nx]}{n}$ $ \le $ $[nx]$ $x \in R^+$ Where [.] is the greatest integer function. - USAMO 1981. Usually, we can find the solutions of USAMO problems pretty easily but all solutions of this i found were wrong. My attempt: I went on with induction and reached [kx +k] $\ge$ [kx] + $\frac{[kx+x]}{k+1} $ but turns out this wasn't true. So inequality must be very weak. I am absolutely baffled by this problem, any solution would be really appreciated. Thanks! I AM LOOKING FOR A NON CALCULUS solution


I have a question about the word when. I have read that it can be a conjunction or a relative adverb (either way, it joins two clauses together). Can I ask how do I differentiate between the two?  A few sample sentences are: 1) He graduated from school when he was 22 years old. 2) The risk of theft is higher when you do not install a car alarm system. 3) I remember the day when we first met.


I am currently trying to figure out how to use Unicode in a regex in Python.  The regex I want to get to work is the following:  r"([A-ZÜÖÄß]+\s)+"   This should include all occurences of multiple capitalized words, that may or may not have Umlauts in them. Funnily enouth it will do nearly what I wanted, but it still ignores Umlauts.   For example, in FUßBALL AND MORE only BALL AND MORE should be detected.  I already tried to simply use the Unicode representations (Ü becomes \u00DC etc.), as it was advised in another thread, but that does not work too. Instead I might try to use the "regex" library instead of "re", but I kindoff want to know what I am doing wrong right now.  If you are able to enlighten me, please feel free to do so.


Installed custom Android 5 ROM, but how to upgrade now or return to official one?

I bought Galaxy S5 from T-Mobile which had Android 4.4 (last year). Back in October I needed Android 5 to test a mobile application (I am a developer) and I installed official S5 Polish ROM which was the only one available in December last year.   Now, I don't need it any more as it does not work perfectly well (but had to stick to it till now).   How can I return my original ROM?


Can't join Minecraft PE version 8.1, says outdated server?

Trying to connect my from son's iPod 4 to my iPod 4s. Both are using iOS6, both playing Minecraft version 8.1. My iPhone joins to my iPad no problem but not to the iPhone 4. If I try to connect from the iPhone4 it says 'outdated server' if I try to connect from my iPhone 4S the wifi world from the iPhone4 doesn't even show up as an option to connect to.  Same version same wifi network, what am I missing?


If the title of the magazine is plural, eg "Reflections", "Homes and Gardens" - should I write:   "Reflections" explore the issue ... or: "Reflections" explores the issue...  Is a singular or plural form correct?


Is it appropriate to use "Hey yourself"?

I've heard this phrase in a couple of movies, it was being used like this:     -Hey, John!      -Well, hey yourself, Mike!   Sounds pretty simple, but my question is about how appropriate is it to say that in a conversation. It sounds a little "offensive" to me, and in the movies it was being used with a negative meaning (e.g. greeting a person who you don't really like to see/talk with).   So does it really have a "negative" meaning, or am I wrong?


sudo apt-get install mesa results in:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package mesa     lspci -k | grep VGA -A2 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]     Subsystem: XFX Pine Group Inc. Device 3221     Kernel driver in use: fglrx_pci


Possible Duplicate:          Can I confine my users to their /home/%u directory using simply open-ssh configuration? I did the following from what I found on the Internet Stopped the server To the sshd_config file appended the following  Match group sftpusers     ChrootDirectory /home/%u     X11Forwarding no     AllowTcpForwarding no   started the server  FYI I have the users added to sftpusers group  My users can still access entire file structure on my system  Ubuntu Server 12.04 LTS with open-ssh installed


Hire one (or more) "official" lawyer to roam the [legal] questions on the SE network

IANAL et al. is usually the start of answers to [legal] questions on any SE site (e.g. ). You usually end up with personal opinions which sound sensible and the accepted answer is often the one closest to the OP's hopes. But it's probably often not correct. I know the situation can be rather complicated and even differ by location, but it would be really helpful if the SE team were providing official lawyers (indicated maybe by using a § in the username, forbidden for everyone else, just like the mod ♦) to provide some orientation that one could actually rely on beyond much doubt...


If space expands, why does a liter of water stay a liter?

From observing the universe, we know that space expands. I see what that means on cosmic scales.  But what does it mean on smaller scales?  If I have a graduated beaker of 2 liter, and 1 liter of water in it, what should I expect to happen?  As nothing obvious happens, I assume that changes may be small enough to not be visible. But what would I see if the change would be large enough to see it?  Assuming the water does not evaporate, is the level of water in the beaker lowering because the beaker expands?    Would something different happen if the beaker would be very large? If I had a galaxy-sized beaker that does not collapse?*    *let's assume the water somehow does not become a black hole, and is accelerated to the bottom of the beaker


How to count the amount of times a specific String appears

I am currently stuck on this program where the objective is to take input of the size of the array and then to each row of the array with string input of colors.Each row can fit in as many colors. By using another method to check If the row consists of atleast 50% or more of the color blue it will return a "Pass" value or else a "Failure" value. Example input:  2 blue red green blue blue orange red  Example Output:  Failed Pass  My problem is in the check method at line 39 of my code I end up getting a NullPointerException with this line if(x[i].contains(blue))        Is there a efficient way to count how many times "blue" appears and adding it to a counter?  Here is the code: ```  public class BigBlue {     public static void main(String[] args) {         Scanner input = new Scanner(System.in);         int x = input.nextInt();         String[] list = new String[x];         String inputs = input.next();         for(int i = 0;i < list.length;i++) {             for(int j = i; j < i; j++) {             if(inputs == "blue") {                 list[i] = inputs;             }             else if(inputs == "orange") {                 list[i] = inputs;             }             else if(inputs =="red") {                 list[i] = inputs;             }             else if(inputs == "green") {                 list[i] = inputs;             }             else {                 System.out.println("Invalid input");             }             }         }         System.out.println(check(list));      }      public static String[] check(String[] x) {         String[] j = new String[x.length];          for(int i = 0; i < x.length;i++) {             int wordCount = 0;             int counter = 0;             if(x[i].contains("blue")) {                  counter++;             }             String trim = x[i].trim();             wordCount = trim.split("\\s+").length;             int k = wordCount / 2;             if(counter >= k) {                 j[i] = "Passed";             }             else {                 j[i] = "Failed";            }         }         return j;     }  }


How to validate that an object (whose locator we don't know since it is not present) is not present in a page

Let's say I want to verify that an upload button is not present in a page. I cannot use any locator here since I don't know the object locator value. So how do I assert in my test that it is never present?


travelling from philippines to US with lay over in japan

i read that there is no visa needed for a short layover in japan just want to make sure because what i read was posted few year ago. my parents will be having their layover in japan for 3 hours, going to Dallas Texas the same day. thanks


For the Fourier transform defined as $$\frac {1}{\sqrt{2\pi}} \int_{-\infty}^\infty f(x) e^{-i\alpha x}\,dx$$ I know there is simple formula for the Fourier transformation and inverse transformation of $$f(x)=e^{-x^2/a}$$ but I can't remember it or derive it on my own.  Does anyone have a formula for this?


Polynomial of degree 5 such that $P(x)-1$ is divisible by $(x-1)^3$ and $P(x)$ is divisible by $x^3$

$P(x)$ is a polynomial of degree 5 such that $P(x)-1$ is divisible by $(x-1)^3$ and $P(x)$ is divisible by $x^3$. Find $P(x)$.   No idea where to start, would $P(x)$ be of the form $x^3(Ax^2+Bx+C)$?


I want to figure out what went wrong with my application. It is here:  I'm running it on Raspberry 3 B+ and some errors occurs: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$2 (jar:file:/home/pi/testing/RaspberryPi-Locer-Controller/target/RaspberryPi-1.0-SNAPSHOT.jar!/lib/spring-core-4.1.6.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$2 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release  This ReflectUtils is the main problem I know that I can avoid it using this: --add-opens java.base/java.lang=ALL-UNNAMED  ,but where should I apply it.


Why is my reputation not getting counted?

Can any one help me out? I am receiving upvotes on my answers and questions but reputation is not getting added.  Please have a look at the below imags:        Is there any limitation that I am not aware of?


What is the win32 API function for private bytes?

What is the win32 API function for private bytes (the ones you can see in perfmon).  I'd like to avoid the .NET API


For this question -->   I have thought of making two right angled triangles but I'm not going anywhere with this I think... Can someone point me in the right way...


Luke's neat "trick" at the end of Last Jedi, and consequences?

How does Luke do this towards the end of the "Last Jedi"? (Some viewers are calling it a "parlor trick" online, and I think it's an apt expression.)      We see Luke coming to the last Resistance holdout in Crait, talking to Leia, putting the gold charms from the Falcon in her hand, and then going out to face the First Order alone. He survives a massive barrage of firepower, and then faces Kylo Ren face to face, deftly avoiding Kylo's strikes. While he takes on Kylo Ren and the First Order, the Resistance is able to escape.   But at the end of this, we see that:      It's a projection. The real Luke is still on Ahch-To, and he's projecting a "hologram" of himself across the universe.   And after it disappears, we see:      The real Luke coming out of meditation, sweaty and panting on Ahch-To (from the effort in projecting his hologram across the universe, I'm guessing), and falling off his levitation and meditation rock in pain.  He later wakes up, sees the two suns (similar to his first introduction scene over 30 years ago in "A New Hope") and then literally just disappears (like Yoda did at his death in "Return of the Jedi".)   How did he do this? And did he do it this way (as opposed to facing the First Order and Kylo Ren directly) so that he could inspire hope among a new generation of Resistance fighters and Jedi? Towards the very end of the movie, we see:      On Canto Bight, a bunch of kids are telling each other stories of how the amazing Jedi Master Luke Skywalker took on and survived the firepower of an entire army of the First Order (while allowing the Resistance to escape.) The story inspires the kids, and the film ends with one of the kids stepping outside the room, using the Force to move a broom into his hand, looking out into space and seeing a spaceship speed across the stars, eyes bright with hope.


nextInt in java i don't understand how this works

I'm new to java and was viewing a tutorial and saw nextInt, the guy said that it was supposed to give me a number between -5 and 5 but i have two problems :  (r.nextInt(5 - -5) + -5)  1)In what order does it operate  2)The explanation that i found says that it doesn't accept negatives then why is it supposed to allow me to give me -5?  Thanks a lot.


What is a simple way to solve this problem? I can solve the problem by counting all possibilities.     How many distinct values can be obtained for the expression $1/2/3/5/7/11/13/17$ if an unlimited number of parentheses may be placed in the expression?


... so that the cost of such a broadcast stays zero.   Is this sentence correct ? or should I omit the a?  Thank you!


Setting an attribute as variation in woo commerce via php

I have a front-end form I am creating to allow users to publish a variable product to my shop from the front end with predefined attributes and variations.  I have found this very helpful question:   Which shows me how to set the product type as variable and assign my predefined attributes in the attributes section of the product data.  However when I am on the backend of Wordpress/Woocommerce and editing the product I click on variations and none are set, I look at the attributes and my "resolution" attribute is set with my 3 items.  How do I make this to where it will actually set those attributes to variations of my form?  Do I need to use wp_insert_post?  Looking in phpmyadmin it just looks like product variations are assigned to a parent_id (product id) and post type is product_varition and so on.  $new_post = array( 'post_title' => esc_attr(strip_tags($_POST['postTitle'])), 'post_content' => esc_attr(strip_tags($_POST['postContent'])), 'post_status' => 'publish', 'post_type' => 'product', 'tags_input' => array($tags) );  $skuu = rand(); $post_id = wp_insert_post($new_post); update_post_meta($post_id, '_sku', $skuu );  //my array for setting the attributes $avail_attributes = array(     'high-resolution',     'medium-resolution',     'low-resolution' );  //Sets the attributes up to be used as variations but doesnt actually set them up as variations wp_set_object_terms ($post_id, 'variable', 'product_type'); wp_set_object_terms( $post_id, $avail_attributes, 'pa_resolution' );   $thedata = array( 'pa_resolution'=> array(                 'name'=>'pa_resolution',                 'value'=>'',                 'is_visible' => '1',                 'is_variation' => '1',                 'is_taxonomy' => '1'                 ) ); update_post_meta( $post_id,'_product_attributes',$thedata);  update_post_meta( $post_id, '_visibility', 'search' ); update_post_meta( $post_id, '_stock_status', 'instock');   So just to be clear (I tend to be confusing) the above does create my variable product from the front end, and when I look at the product in the backend it is a variable product, it has the resolution attribute set and has my 3 terms (high-res, medium-res, low-res) as attributes.  I just need to take this a step further where they are actually set as variations so people can place an order.


Find the value of $\sum_{k=1}^{\infty} \frac{k}{2^k}$

$$\sum_{k=1}^{\infty} \frac{k}{2^k}$$   I know that $\sum_{k=1}^{\infty} \frac{1}{2^k}=1$ so the answer is $\frac{k(k+1)}{2}*1$?  the answer is 2


Insufficient storage when attempting to download app

I got my new lg g3 and when i try to download something it says that there is insufficient space on the device. I looked up some solutions and google play services doesn't let me uninstall updates. are there other solutions? Btw i have about 8 gb of storage left


How can I install SSH server version 5.3

I need to pentest the vulnerability of the "SSH Server v5.3" The problem is that Ubuntu comes with the SSH Server version 7 and I don’t know how to remove the current one.  Probably: apt remove ssh-server —purge  But how can I apt install ssh-server 5.3?  Is there anyway searching in old apt repo for 5.3 version?  Thanks!


Can $\mathbb{R}$ be homeomorphic to some $X \times X$?

I got this question in my topology exam and I had no idea how to make it, topology can be so weird sometimes it's hard to imagine some spaces.  My heart told me that it is not possible, but I do not know how to proceed on this. The easiest way seems to be using some topological invariant, line connectedness.   Please note that the factors on the product are the same.


Difference between break and continue statement

Can anyone tell me the difference between break and continue statements?


Apache: After disabling SSLv3 for POODLE, can't connect with openssl or java without first specifying -tls1

Recently we updated our mod_ssl config to disable SSLv3 for the POODLE attack, and that seems to be working. However, old clients (java 1.6 apps of ours, openssl 0.9.8za on my mac) get a handshake error, unless we specify TLSv1 in the code/command line respectively. However, from the same clients, I can initiate an SSL connection fine from those same tools to i.e. facebook.com, which also has SSLv3 disabled.  Symptom:  #working example site with SSLv3 disabled: My-iMac:~ me$ openssl s_client -connect facebook.com:443 CONNECTED(00000003) depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3 ....  #My site with SSLv3 disabled: My-iMac:~ me$ openssl s_client -connect site.company.com:443 CONNECTED(00000003) 66904:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s23_lib.c:182:  #Same site, now with -tls1 on command line, works: My-iMac:~ me$ openssl s_client -connect site.company.com:443 -tls1 CONNECTED(00000003) depth=1 /C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3 ....   My question - what can I do to let this and other clients connect/negotiate properly, automatically (like facebook.com), without having to specify tls1? Is this some known limitation of the version of openssl in RHEL5/Centos5?  Server setup: Centos 5.x, latest openssl rpm (openssl-0.9.8e-31.el5_11), custom built apache 2.4.10  Relevant apache config:    SSLEngine on   SSLProtocol -all +TLSv1   SSLHonorCipherOrder On   SSLCipherSuite RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM:!SSLV2:!eNULL   SSLCertificateFile /opt/ca/cert.pem   SSLCertificateChainFile /opt/ca/cert.pem


For compliance purposes there is the need to fetch information regarding local (user and non-user) accounts creation date on UNIX machines.  Is there any way (even if it's not the most reliable or accurate method) for collecting that kind of information?  For instance, as an alternative, I went searching for home directory creation date (for user accounts), but I discovered that for POSIX-compliant systems timestamps for file creation are not available.


What causes an f/0 error on a Nikon D700?

Recently (and always at the worst possible time) my camera will either freeze and give me an f/0 error code or will shoot with a strange click that sounds like the shutter is getting stuck. The resulting image is always black.   My gut instinct suspects there is either a communication problem between the lens (Nikkor 24-70 ED) and the camera or the aperture diaphragm is in the process of failing.


I have an L2 visa but it expired Feb 2019, can I travel domestically?

I have applied for a green card and travel document which is in process.  Now I want to travel domestically in the US. Is it possible to travel with the expired visa? I attended my interview for the green card and I did not receive my travel document yet. So is it possible to travel domestically?  Can anyone advise me on this?


Transit Visa to go through Moscow, RU to get to Bishkek

I am confused on if I need a visa to get to Bishkek if I am travelling through Moscow to get there. Will I need a transit visa to go through Moscow, Russia to get to Bishkek? I read somewhere that I would need a transit visa to get to Kazakhstan or Belarus, but don't know if it applies to Kyrgyzstan.


Answer from a user with 9 on-site reputation but protect option is not available (in sufficiently old question)

For 15K users protect option is supposed to work :     the question must have at least one answer by a new user aka a user with < 10 rep on the site (which is the required rep limit to answer protected questions)    made me wonder if there is a off-by-one error in calculation somewhere. At the moment of writing  its author has only 9 rep on site (6 from one answer and 3 from one question) but protection link isn't displayed to 15K users.  I additionally checked that question is more than a day old:  this is enough for protect option to become available.


Finding elements of a direct sum ring so that ab, ac, bc are zero divisors.

Find elements $a,b$, and $c$ in the ring $\mathbb Z \oplus\mathbb Z \oplus\mathbb Z $ such that $ab$, $ac$, and $bc$ are zero divisors but $abc$ is not a zero divisor.  I am not sure how to approach this problem guidance is appreciated.


Im trying to use the package TikZ by inserting \usepackage{TikZ} into my preamble on TexStudio however it keeps coming up with the error that TikZ.sty is not found.  I have MiKTeX and have checked the console to see that it is allowing for missing packages although i am not sure what link should be in the gap for where the packages are downloaded?  Does anyone know why my TikZ package would not be working?  Thanks


How can I change margin locally, I mean only in a part i.e. some paragraphs of a page? I've not a list, as in , but only text. Infact I have to produce for some areas of the page a section with wider margins, while (if I'm nor wrong) geometry package,  with command \newgeometry, change them for a whole page. thanx


Folks, I have a lightning-tile component on my opportunity that displays records from a custom object.  It accepts a 'href' value but i cannot find a way to link it to the data it's displaying.  The documentation shows a static url but i would like it to be dynamic meaning i want to open the record when a user clicks it.  Here what i have:  <template>

             <lightning-card  title="Suite Deal Summary" icon-name="standard:proposition">                 <lightning-layout multiple-rows="true">                     <lightning-layout-item padding="around-large" size="12">                         <template for:each={suiteDeals} for:item="suite">                             <lightning-tile label={suite.Name} key={suite.Id} type="media" href="/suite_deal__c/how do i get an id here">                                 <lightning-icon slot="media" icon-name="standard:proposition"></lightning-icon>

{suite.Deal_Number__c}

{suite.Deal_Status__c}

                                                      </lightning-tile>                                                                                </template>                                                                                </lightning-layout-item>                                                     </lightning-layout>             </lightning-card>

 </template>   This is my JS file:  import { LightningElement, wire, track, api } from 'lwc';  import getSuiteDeals from '@salesforce/apex/SuiteCataloger.getSuiteDeals';  const FIELDS = [     'Opportunity.Id', ];  export default class Suite_Deal_Summary extends LightningElement {      @api objectApiName;     @api recordId;     @track currenObjectName;     @track currenRecordId;     @track suiteDeals;      connectedCallback() {         this.currenRecordId = this.recordId;         this.currenObjectName = this.objectApiName;           //console.log(this.currenRecordId);         //console.log(this.currenObjectName);         getSuiteDeals({ oppId: this.recordId} )         .then(results => {               console.log('returning' + results);              console.log(JSON.parse(JSON.stringify(results)));             this.suiteDeals = results;         })         .catch(error => { console.log('error'); });     }  }   My apex that just returns my records:  @AuraEnabled (cacheable=true) public static List<Suite_Deal__c> getSuiteDeals(Id oppId){     return [SELECT Id, Name, Suite_Deal_Number__c, Suite_Deal_Status__c                  FROM Suite_Deal__c WHERE Opportunity__c = :oppId ];               }   I've tried to just put 'suite.Id' or '../suite.Id' but it's not behaving.


Let $R=\mathbb{Z}$ I must prove that      In $\mathbb{Z}$ the primary ideals s are precisely the ideals $(p^k)$ where $p$ is a prime number and $n\ge 1$.   $$$$ The definition of primary ideal.     Definition. An ideal $I$ of the ring $R$ is called primary if for all $a,b\in R$ $$(ab\in I\quad\text{and}\quad a\notin I)\Rightarrow b^n\in I, \text{for some positive integer $n$}.$$   Therefore I must prove that      $$(n)\;\text{is primary in}\;\mathbb{Z}\iff n=p^k, k\ge1,p\ge2,\;\text{where}\;p\;\text{is a prime}.$$   Proof ($\Leftarrow$) We suppose that $n=p^k$ for same prime $p$ and $k\ge 1$. Let $a,b\in\mathbb{Z}$ such that $ab\in(p^k)$ and $a\notin (p^k)$. Then $p^k\nmid a$, but $p^k \mid ab$ I no longer know how to proceed.  $(\Rightarrow)$ Let $(n)$ a primary ideal and we suppose for absurd that $n$ is not a power of a prime, then? how could I proceed?  Now, let $ab\in (p^k)$ with $a\notin(p^k)$, then $p^k\mid ab.$ Can I conclude that $p^k\mid b$?   How can I set up the other implication? Thanks


In QGIS 2.18, new vector layers resulting from QGIS tools have a default name related to the corresponding tool. For example, when I perform the "Lines to polygons" operation (under QGIS Vector menu), the resulting layer is always named Polygons from lines in the Layers Panel -- even if I ask for the shapefile to be saved under a specific name. When I compute a buffer, the new layer is called Buffer, and so on.  If I recall correctly, this was not the case in QGIS 2.14 (and previous versions): the default name of a layer was the name of its shapefile.  I find the new behaviour annoying since it leads to confusion between my layers; every time I use a QGIS tool, I have to uncheck the "Open output file after running algorithm" option, then manually open the newly created layer in order to display its "real" name. I can also change its name in the layer properties, but this is still irritating.  Is there a way to go back to the traditional behaviour? E.g. display by default the shapefile name (when specified) in the Layers Panel instead of some generic name?


I’ve created a thumbdrive with 12 partitions with ASD EFI tests for Macs.  I tried renaming the partitions to shorter names with both Finder and Disk utility (so they show up in startup manager properly, the instead appear with this "EFI BOOT" name, see picture).  The problem is that the names of the partitions in Startup Manager is different to the one I put.  I also tried renaming them with this command (to no avail): /usr/sbin/diskutil rename ASDEFI124 42 (where 42 is the new name I want to set)  I also remember that in older versions of macOS, such as Yosemite or earlier, when you restored the image in disk utility, it gave you the option to set a name for the new partition and that seemed to work.  But I can see this is not offered in macOS 10.11 nor in macOS 10.14.  Any way to rename them to this shorter names?  I'd like shorter names here, like 40 41, 43...


How to show that if $x=(p,q)$ and $y=(p',q')$ then $x \sim y $ if $pq'=p'q$ is an equivalence relation?

Suppose you have:      $x=(p,q)$ and $y=(p',q')$ with $p, q \in \mathbb{Z}$ and $q \not = 0$ then $x \sim y$ if $pq'=p'q$ is an equivalence relation?   So I managed to show that its reflexivity and symmetry, but I am unable to prove that it's transitive.


HTML Javascript redirect after countdown

using the code form  how could I redirect the page after the countdown ends?  var timeleft = 10; var downloadTimer = setInterval(function(){   if(timeleft <= 0){     clearInterval(downloadTimer);     document.getElementById("countdown").innerHTML = "Finished";   } else {     document.getElementById("countdown").innerHTML = timeleft + " seconds remaining";   }   timeleft -= 1; }, 1000);


FME - Calculate distance of point along a line

I have created an FME workspace which inputs a pipeline as well as other linear features which cross it (waterways, roads, railways, fences, other pipelines, etc).  The output is a point file which contains the crossing type.  What I would like to do is calculate the distance along the pipe from the start of the pipeline for each intersection.  So, as you travel along the pipeline, the distance attribute will increase.   I'm thinking that I'll need to use some of the linear referencing tools like MeasureGenerator, MeasureExtractor, or something like that, but I'm not sure how to do so.  Does anyone have an idea of how to do this?


jQuery .find() not working with dynamically added elements

I have a function to manipulate class names - function detectInputs() {     $(".myform").find("input.input-text").filter(function() {         if( $(this).val().length === 0 ) {             $(this).closest( "p.form-row" ).removeClass("parent-filled");             $(this).closest( "p.form-row" ).addClass("parent-empty");         } else {             $(this).closest( "p.form-row" ).removeClass("parent-empty");             $(this).closest( "p.form-row" ).addClass("parent-filled");         };     }); }  But it only works on elements that are already present when the page loads. More p.form-row elements can be added dynamically. I know about .on() but not sure where it would integrate with this function.


Which features are most important for K-means clusters (scikit-learn)?

I generated clusters using  on some biological data, but while the clusters make sense, I would like to know which features were most important for the clustering.  Is there a way to rank or score the contribution of a feature on clustering, either through a sci-kit learn method or other method?


Can I enter into the UX field without any prior experience?

I am working professional with 10 years of experience in field of 3D (gaming, interactive applications, architectural visualizations) but don't have any experience in web or application design.  Considering this background, can I enter in to field of UX? It will be highly appreciated to reply me yes with reasons and no with reason.


Formula for $\prod_{n=0}^{\infty} (1 \pm x^n)$

I would like to find a formula for $$f(x) = \prod_{n=0}^{\infty} (1 + x^n)$$ $$g(x) = \prod_{n=0}^{\infty} (1 - x^n)$$ In particular, $f(1/4)$ appears as the normalization factor for the CORDIC, the coefficients of $f(x)$ gives, coefficient gives the number of partitions of n into distinct parts; number of partitions of n into odd parts.. I only know that that these functions can be expressed in terms of q-Pochhammer symbol. Are there closed forms for $f(x)$ and $g(x)$ in terms of common functions. In particular, can $f(1/4)$ be expressed in a closed form? Are there general any solutions for the finite products that could have some advantage compared to this definition?


Preventing condensation on lens when shooting in a cold place

I live in Florida and I'm trying to shoot some star trails, but condensation keeps fogging up my lens. 1) Does using anti-condensation coating work and 2) Will it harm the lens? I've read that you should warm the lens, which makes sense, but that seems difficult. I think there may be some sort of coating already on the lens, I'm not sure. (Shooting on the a6300 with the 16-50mm F3.5-5.6 kit lens)


Late 2008 Macbook can't find wifi. No ethernet just bluetooth / USB. Ubuntu 20.04 LTS

I have installed Ubuntu 20.04 on my late 2008  Aluminum Unibody-design with a BCM 4322. I do not have  Ethernet or WiFi since I don't have the right drivers exactly like .   I do have access to a USB and I have connected the computer with Bluetooth to my windows computer which has access to the Internet.  I don't understand how I would find the drivers that I need.  How I would transfer the right files / drivers, how I would install them, and make it all work?   Here is the Network controller info:  04:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)     Subsystem: Apple Inc. AirPort Extreme [106b:008d]     Kernel driver in use: b43-pci-bridge     Kernel modules: ssb   According to the list in  answer I need bcmwl-kernel-source driver.  I solved everything by connecting my phone with usb and give internet to my computer then downloading the right driver.


krig_Gaussian<-krige(formula=(B)~1, locations=Amb_m, newdata=gd_m, model=model_Gaussian.variog_m) [using ordinary kriging] Warning messages: 1: In proj4string(d$data) :   CRS object has comment, which is lost in output 2: In proj4string(newdata) :   CRS object has comment, which is lost in output 3: In proj4string(newdata) :   CRS object has comment, which is lost in output  This is my code. Can someone help me on this? #variogram Boron.var_m <- variogram(log(B)~1, Amb_m) plot(Boron.var_m)  #models model_Gaussian.variog_m<-vgm(psill=1.35, model="Gau", nugget=1, range=0.065)  fit.variog6_m<-fit.variogram(Boron.var_m, model_Gaussian.variog_m) plot(Boron.var_m, fit.variog6_m)  krig_Gaussian<-krige(formula=(B)~1, locations=Amb_m, newdata=gd_m, model=model_Gaussian.variog_m)  where Amb_m is spatialpointdataframe, gd_m is the grid for newdata, B is the observations on boron samples.


How can I reject all changes in a Linq to SQL's DataContext?

On Linq to SQL's DataContext I am able to call SubmitChanges() to submit all changes.  What I want is to somehow reject all changes in the datacontext and rollback all changes (preferable without going to the database).  Is this possible?


As my girlfriend who is a permanent resident of Germany invited me to come to her country for a short visit, I applied to the visa section in Kolkata. As I am a first time visitor to Germany I got all information and submitted the forms along with "Formal Obligation Letter" and as I am a self employed I did not need to submit employers certificate. To my utter surprise, my visa was refused stating that:      the information submitted regarding the justification for the purpose and condition of the intended stay was not reliable   and     your intention to leave the territory of the Member States before the expiry of the visa could not be ascertained   Now in this situation what should I do when already 5 days passed that my visa was refused? Should I reapply stating my willingness to return back to my home country before the visa expire or should I submit any evidence to justify the two reasons? Please suggest after how many days is it better to reapply? Can I get my visa approved if I can produce my justification with a proof?


Before two months my mobile phone was up to date in Android OS. I have updated my phone Nexus 5 to Android Lollipop.  And After on Month, My mobile phone display was damaged,And i sent it to the LG service committee, because it's on guarantee.  After the mobile service process completed, at once i have made an update process. But it was not installed the latest version of Android(Android 5). Up Till now i do check for update, I display nothing for my query. How to fix this problem?  Do you have any idea about what the service team has done to my phone?


Removing unwanted characters from folder names

I'm creating bunch of folders using a C# console application. An XML file is parsed for different nodes and based on the values the folders are created with the same name.  One of the XML node had the following value with some unknown special character in it (ASCII code 127)    There is a special character after Foldername. I tried using String.Trim() to trim the value but had no luck. I also tried to compare the character with the list of  System.IO.Path.GetInvalidFileNameChars()   and remove it. But still no luck. How can I try to eliminate these characters before I create a folder name. The folder name will be always alpha numeric in my case.


I found a theorem that the $S^2$ is connected however I cannot find a proof via Google. Is there any hint how to proof that the $S^2$ sphere is connected?


How to tell Ubuntu where to install a program and how to tell where an existing program was installed?

I'm totally new to Ubuntu/Linux, using Ubuntu Server at the moment. Just trying to  figure out something basic.   How can you tell where you are installing a program. For example I just installed Sphinx search engine by placing the tarball that I downloaded from their site to my:  /home/sphinx   directory. I created the sphinx directory to place that tarball in. Then I ran these commands:  tar xvzf sphinx-0.9.8.1.tar.gz cd sphinx-0.9.8.1/ ./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql   and then these:  make sudo make install   Now I have a lot of files sitting in the directory where I ran these commands. Is this my Spynx installation or did it install somewhere else?  In windows if you run an installer (.exe file) anywhere the program will still install in your C:\Program Files directory. Does something similar apply to linux where all programs are installed in a central place, or can you install programs anywhere on the system.  Questions   I would prefer to keep all my installed programs in one place so what is the right place for this in terms of best practice. In other words what is the Linux equivalent of C:\Program Files? And how does one always install at this location, is it just a matter of placing the tarball and running the install commands from this location? What about if I use sudo apt-get to install a package. How can I point to this location to tell apt-get to always install there?


PuTTY - no recent connections in Windows 10 version 1607

In previous installation of Windows, when I right clicked on PuTTY I got a list of the last ten connections that was very useful. But now after a fresh install of Windows 10 version 1607 it's not there any more - I get only Tasks as shown in the screen shot (those were not available in my previous installation). Is it Windows settings (and could it be updated somewhere - for example privacy or something like this) or maybe this is PuTTY/Windows bug?  EDIT I'm not interested in workaround to create separate link for each connection I have as suggested . I would rather want to have last x connections as it should work and worked in my previous Windows 10 installation


Why is $0\cdot x$ defined in fields even though $F\setminus\{0\}$ is the set for multiplication

I am somewhat confused about a definition thing about fields. It says that $\otimes$ is defined on $F \setminus \{0\}$, but in all tables I find, the zero row and column do have entries. From $\otimes$ beig defined for $F \setminus \{0\}$ I would expect the $0$ element to not occur in multiplication tables. Consider these tables:   Why is $0$ defined in the multiplication table or conversely if $0$ is defined for multiplication why does it say in the definition that $\otimes$ is defined on $F \setminus \{0\}$?


How can we prove $(a_1+a_2+\cdots+a_n)^r\le a_1^r+ a_2^r+\cdots+a_n^r$ where each $a_i>0$ and $0<r<1$.

I am reading  the book: Inequalities by Hardy, Littlewood and Polya. There are two inequalities at the page number 32:  (1) $(a_1+a_2+\cdots+a_n)^r\le a_1^r+ a_2^r+\cdots+a_n^r$  where each $a_i>0$ and $0<r<1$.  (2) $(a_1+a_2+\cdots+a_n)^r\ge a_1^r+ a_2^r+\cdots+a_n^r$  where each $a_i>0$ and $r>1$.  How can we prove these inequalities. ? Many thanks for your help.


Smooth Shading artifacts on low poly model

So when I'm extruding inwards, there comes this weird shadow.    But it's only when in smooth shading, if I put the object to flat shading it looks fine.    There isn't any modifications and I tried the offset edge slide, but it didn't work.  So, what is it and where does it come from, and is there a way around it with smooth shading on?


TRUSTY: ssh connexion [root@127.0.0.1 Permission denied]

I have this  that I am trying to execute on my machine Ubuntu 14.04, which indicates that I should Manage the ssh keys on servers to avoid entering password each time, which I didn't know how to, and the execution keeps asking me for a password (then I type the computer password) but it gives that the permission was denied,  As mentionned in the script, my machine will be both the server and client  Would you please help me about what to do, how should I configure the ssh connexion?  THANKS


I have two versions (A4 size) of a document: new.pdf and old.pdf.    I'd like to share with co-authors a pdf with pages side by side, so should be easy to compare the changes in the output.   which works well only if the files have the same number of pages.   is proposed and makes use of \pdflastximagepages to compute the number of pages of a previous inserted pdf file. So this number can be used for the loop.  Since my pdf files could have different numbers of pages, the solutions cited above don't work.   So, my idea is:  1.  compute the number of pages for both files.  \sbox0{\includegraphics{new.pdf}} \edef\PagesA{\number\pdflastximagepages}  \sbox1{\includegraphics{old.pdf}} \edef\PagesB{\number\pdflastximagepages}   2. define the numbers \Min=min(\PagesA,\PagesB) and \Max=max(\PagesA,\PagesB)  3. from 1 to \Min insert pages from both files using   \foreach\n in{1,...,\Min}{   \includepdfmerge[nup=2x1]{new.pdf,\n,old.pdf,\n} }   4. finally, test if \Min=\PagesA or \Min=\PagesB.  4.1 if \Min=\PagesA then use   \foreach\n in{\Min+1,...,\Max}{   \includepdfmerge[nup=2x1]{old.pdf,\n} % old is on the right hand side }   4.2 if \Min=\PagesB then use   \foreach\n in{\Min+1,...,\Max}{   \includepdfmerge[nup=2x1]{new.pdf,\n} % new is on the left hand side }   My question is: how to implement (4)?  M(W)E  \documentclass{report} \usepackage[landscape,margin=0pt,a3paper]{geometry} \usepackage{pdfpages,pgffor}   \begin{document} \pagestyle{empty} \sbox0{\includegraphics{new.pdf}} \edef\PagesA{\number\pdflastximagepages} \sbox1{\includegraphics{old.pdf}} \edef\PagesB{\number\pdflastximagepages} %\edef\Min{} %\edef\Max{}  \foreach\n in{1,...,\Min}{   \includepdfmerge[nup=2x1]{new.pdf,\n,old.pdf,\n} } \foreach\n in{\Min+1,...,\Max}{ %% test here to decide if new or old should be used   \includepdfmerge[nup=2x1]{??.pdf,\n} } \end{document}


"I ain't never seen" vs "I ain't seen" which one is correct?

As far as i know we do not need to add "never" because ain't is already have a negative meaning.


Can I define a 2-D ellipse via two points and their respective tangents?

I have encountered a rather complex issue that I could not solve on my own, and my research online has so far not yielded a suitable answer to my question, hence my decision to seek help in this place. I generally want to fit an ellipse to two points in a two-dimensional space whose tangents are known. Here is a more detailed explanation:  What I have: I have information on the position of two points only relative to each other (point A and point B) in a two-dimensional space, and the slope of the tangents through these points (m_A and m_B). This means the orientation of these points in the cartesian coordinate system is known, their exact coordinates relative to the origin however are not, as an origin is not (yet) defined.  What I seek: The general solution for a tilted, off-centered ellipse in 2-D space. Most formulas for tilted ellipses I found so far assume it to be centered, which does unfortunately not work for me, as I only know the relative coordinates of my points to each other and hence cannot solve it under the assumption that their exact position is known (this would require a given origin at a known ellipse center; I assume setting one of my points as the origin and taking the ellipse as off-centered would avoid this issue).  My questions:  1) Can I assume there is a unique (or finite number of) solution(s) for this problem?  2) If yes, (and if you have the time) can you help me find the general solution for this issue?  The image below might help to illustrate my problem.


Why is it "grandfather", but "great-uncle"?

I know that there are  of this word, but "great-uncle" is most common ("great-aunt" has a ).  Why is this, if "grandfather" and "grandmother" are common?