Getting "Webpage timed out" while trying to open links using Google search results

I have an old Dell laptop and had Windows 10 running on it. I wanted to give it an extended life so I installed Ubuntu 18.04.3. My laptop is updated with the most current Ubuntu OS, BUT after the new update, Firefox will load Google webpage results but NOT the actual webpage itself. That is, I can go to Google and say I search "cat videos" or "used car dealers" and Google gives me results. But if I click a link from that, that webpage more times than not will state "webpage timed out"  I have tried both sudo apt update but that one says   connection timed out could not connect to......   for everything it attempts to load. sudo apt upgrade states   Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.    I know it's not anything to do with my internet connection since we have two smartphones, an Alexa TV cube, a PS4, that's it I think. Every other connection works just fine. I do not have any custom DNS resolver setup on my router. I have Spectrum internet also.   I have not tried plugging it into the router to see if it works that way, I would like to try to resolve this issue wirelessly if possible.    My internet does state connected and I did plugin the terminal command and this is what I got.   0.c:00.0 Network Controller [0280]: Broadcom Inc and subsidiaries BCM4312 802.11 b/g LP-PHY [14e4:4315] (rev 01)  Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]  kernel driver in use: wl   kernel modules : ssb,wl


This is the scenario: Package 1 has   Public class Machine which has a protected variable protected int speed=3; I have another package , Package 2 ,which has Public class Car which is a child of Machine class and we also have a Public class Apple which has the main method. My question is : why speed is accesible from within Car class method/constructor but not from the instance of Car class created from main method present in Appple class. I am new in java please help ...


looking for my grandfather Jacob Oppenheim - WW1 german soldier - grave

Jacob Oppenheim born 29/06/1880 in Nentershausen - Hessen - germany. Belonged to Reserve Infantry Regiment No. 83 Took part in the first battle of Ieper (or Yipers) Falled in 06/11/1914. I'm looking for his grave.


I am analyzing an experimental data set. The data consists of a paired vector of treatment type and a binomial outcome:    Can I use an ANOVA (one-way or factorial?) for this or do I have to use another test? Can anyone recommend a suitable test?


square every element of a measurable set

Given a measurable set $A$, if we square every element $B=\{a^2: a\in A\}$, is $B$ still measurable? I have no idea about this question, can someone help me?


How come the Earth is not crumbling into the core due to fact that the core is in the middle of it?

I always wondered why isn't the Earth shrinking or melting because of the core.


How do you model this Spherical Hollow Object?

Seen this model on a question post. Which brought me to the question of how do you create this model, in the quickest most effective way with what blender tools can offer.


Minecraft command unfindable unbalanced brackets

I know that there been about three others persons that asked something like this, but the command is not so long:      /summon Skeleton ~ ~1 ~ {ActiveEffect:[{minecraft:speed,Amplifier:10,Duration:3600},{minecraft:health_boost,Amplifier:7,Duration:3600},{minecraft:jump_boost,Amplifier:7,Duration:3600},{minecraft:resistance,Amplifier:7,Duration:3600},{minecraft:strength,Amplifier:7,Duration:3600},{minecraft:glowing,Duration:3600}],HandItems:[{id:iron_sword},{id:shield}],ArmorItems:[{leather_helmet}],CustomName:Warrior,Visible:5,Equipment:[{id:397,Count:1},{CustomName:Warrior’s Head}], DropChances:[1.0f]}    Without the tag, it make:     {[{},{},{},{},{},{}],[{},{}],[{}],,[{},{}],[]}   I checked and re-checked, but I just can't find where is the error. Here is what the command block says:


Strong pattern on residual plot (simple linear regression in R)

I am a novice in R, and fitting a linear model with lm(). Here is a summary of my linear model.    Here are some assumption checking plots      The normal histogram and qqplot looks okay to me, but there are strong patterns appearing in the residual plot. Anybody have a clue  why that might be happening? I logged my dependent variable because it  was highly skewed and most of my independent variables are  categorical. I have got only a few continuous variables. Thanks for  reading my post!


Counting the number of integer solutions to a simple equation

In the following equation with unknown integers $x_i$,  $1 \leq i \leq N$, the sum of all those integers are $R$. A constraint is added to each integer such that $Min_i \leq x_i \leq Max_i$. The question asks for the total number of integer solution to this equation.  $x_1+x_2+\dots+x_n=R$  (It's relatively easy to deal with lower bound, but how to find the total number of integer solution that any of the upper bound is violated so as to exclude them?)  Please advice. Thanks.


How to "watch" the return value of a (C#) method in VS 2015 while debugging?

The referred duplicate is a) not VS 2015 specific, b) there is an explicit comment there for the accepted answer:      unfortunately, it doesn't appear to be in VS2015 (devenv v14)   so I am looking for how to do this in VS 2015?  --- Original question was: ----  While debugging in VS 2015 many times I would like to know the actual value what a method returns. (like return <expression>;)   In scenarios often I can not figure out better, than (stop), modify the source code and write   var result = <expression>; return result; // and place a breakpoint here, and "watch" the result variable.   Scenarios like:   The <expression> is complex like LINQ with many embedded functions, and potentially evaluating it may have side effects, or simply the iterator can not be iterated multiple times ...or... The debugger hangs when trying to evaluate <expression> interactively in watch window At caller side the context is not as simple like x = y.MyMethod(), so I can simply see the return value there (instead evaluating of MyMethod return value)   I just wondering is there a built in way what I am missing, and placing a breakpoint (see below) and somehow know the actual (already evaluated) real return value?      //...     return <expression>; } // place a beakpoint here and see what is the actual eveluated return value // Maybe I am wrong, but I think it must be an point in time when the actual // return value is already evaluated runtime so it is not an extreme idea to  //allow to "watch" it for the developer.


Stretching my budget for a new 70D body.  Seems to be exactly what I'm looking for.  Am I wasting my money only purchasing an EF lens to go with it?  The EF-S is well out of my price range.


The question says it all, but let me recall the definitions. A magma $(X,\cdot)$ is a set with a binary operation $\cdot:X\times X\to X$ (without any further assumptions like associativity). A morphism between magmas is a map $f:X\to Y$ with $f(a\cdot b)=f(a)\cdot f(b)$ for all $a,b\in X$. A morphism $f$ is epi [mono] if one can cancel it from the right [left] ($g\circ f =h\circ f$  $\Rightarrow g=h$ [respectively $f\circ g=f\circ h$ $\Rightarrow g=h$]).  Using free magmas with one generator shows that monomorphisms are injective. The question is whether epimorphisms are always surjective (in many other categories this fails, e.g. in MONOID).


How can I tell if my website is vulnerable to CVE-2014-3566 (POODLE)?

Google  a vulnerability in the SSLv3 protocol that     ... allows the plaintext of secure connections to be calculated by a network attacker.   This vulnerability has been given the designation  and the marketing name POODLE.  If I have a website at `, how can I tell if this vulnerability affects me?


Self-complementary graphs having constant vertex degree

A self-complementary graph $G$ on $n$ vertices is one which is isomorphic to its complementary graph $\bar{G}.$ Some such graphs, for example the cyclic graph on $5$ vertices, have the same degree for each vertex. I'm interested in examples of these. It's fairly easy to show in this situation one needs $n=4k+1.$   If such $n$ are also prime, I have a construction of an example based on a primitive root for $n.$ I'm wondering about composite $n=4k+1.$ Are there any of these for which a constant degree self-complementary graph exists? The first composite case is $n=9,$ next is $n=21,$ etc. Of interest would be an edample in one of these composite cases, or an impossibility proof, even for a few low values of $n.$  I tried it for $n=9$ and couldn't find one. Added note: I would like to assume $G$ is connected. (thisn comes from an example in a comment)


Down/up vote tooltips should speak differently on meta

As more experienced users know, . However, the tooltips still say the same as on other StackExchange sites:    The tooltips are:   Question up vote: This question shows research effort; it is useful and clear. Question down vote: This question does not show any research effort; it is unclear or not useful. Answer up vote: This answer is useful. Answer down vote: This answer is not useful.   I think the tooltips should be fixed on meta to speak their actual meaning.  Although I understand why the votes have different meaning on Meta, it is quite a bad practice to change the expected behaviour of already established elements. In this situation maximum should be done to correct for this bad practice; either by  some notifications to the new user, pop-ups, ... Fixing wrong tooltips is the absolute minimum that should surely be done in this regard.


Does a zero vector by itself constitute a subspace? It appears to satisfy all 3 conditions.   Contains zero Hold under addition Holds under scalar multiplication   Can any other single vector do that?


Wrapping figure inside item in enumerate package

I have got several cases in my article with a brief description of each. I would like to add a drawing wrapped with text.   To highlight my cases I use enumerate package.  Unfortunately it doesn't work.   Here is my code      \begin{enumerate}     \item Case 1 \\     A brief discription of case one.     \begin{wrapfigure}{r}{0.5\textwidth}             \includegraphics[width=0.48\textwidth]{Case_1.png}         \caption{Fig1:Case_1}     \end{wrapfigure}     \end{enumerate}   Is there any way to fix it?


In a topological space, why the intersection only has to be finite?

I was wondering if there is a reason why in the definition of a topologic space, the reunion of any collection of open sets is also an open set but the intersection has to be finite to be a set.  Is there because of the definition of an open set itself ? I have always seen it as a definition, but now I want to know why.  Thanks for your help.


I am attempting to write a script that automates the installation of ports/packages on new FreeBSD installs.  To do this, the user who executes the script must be root.  The system is "supposed" to be virgin meaning bash and sudo may or may not be installed; so I am trying to account for it.  To do this, I am checking if the user ID equals 0.  The problem is, between bash and sh, the environment variables are different:   bash -> $EUID (all caps) sh -> $euid (all lower)   Is there a different way other than the environment variable to check for root user or should I just adjust the checking of the user based on environment?


Why are exceptions detrimental to performance?

See  where everyone talks about how "obviously" performance will suffer, or exceptions should be avoided when performance is an issue, etc.  But I haven't seen a good explanation as to Why throwing exceptions are bad for performance, everyone in that question seem to take it for granted.  The reason I ask this, is that I'm attempting to optimize an application and have noticed that several hundred exceptions are thrown and swallowed on certain actions, such as clicking a button to load a new page.


Why is Steam trying to load up games with optional parameters?

I am trying to join my friend's Garry's Mod server and Steam is telling me that Garry's Mod is trying to launch with optional parameters. I don't know why, and he is telling me that he does not know.   The code it is trying to run is:    +connect p2p:(a long string of numbers is here).   What does this mean exactly? Should I be concerned? As of now, I have not connected yet.   Update: I tried to join a friend's Borderlands 2 game and it gave me a similar thing.  It tried to run:  +connect_lobby (a long string of numbers)   Is Steam just displaying something it normally doesn't?  Update: It has stopped loading them up with optional parameters, or at least showing me that it has been.


Definition of p-value in carets confusion matrix method

In the  in the caret package, the p-value is described as:     a one-sided test to see if the accuracy is better than the "no information   rate," which is taken to be the largest class percentage in the data.   But what precisely is "a one sided test" here? I am assuming some p-value test between the accuracy and NIR. Specifically, what does "better than the NIR" mean?  Moreover, am I correct to assume that "the largest class percentage in the data" could be computed as number of tuples with most common class label / total number of tuples?


How do I disable utilities manager in windows ? I can not use computer to type anything    I am using Chrome but this doesn't work on explorer either


Call a column that are locted in two tables

I am trying to get CustomerID and I keep getting an error. Here is my code:  SELECT CustomerID, FirstName, LastName,Line1,Line2, City, State, ZipCode FROM Customers INNER JOIN Addresses     ON Customers.CustomerID = Addresses.CustomerID;   My error is:Ambiguous column name 'CustomerID'. How can that be when I used a JOIN statement. any thoughts?


How to make this floating table fixed in corrent way?

I have 3 tables: 1,2,3 and text that I need to have near table 3 (before & after). LaTeX's  allocated table 1 and 2 on page 4 and table 3 on page 5, but I need this table (3) to be allocated with the text on page 3. And when I use     \usepackage{float} \begin{table}[H] ...`    it is stuck on page 3, but now the table 3 shows up earlier than table 1 and 2, which is kind of not what I want. I don't know if I explained this corrently, hope you know what I mean.


How do I compute/estimate the variance of sequential data?

Say I have a (infinite) sequences like 1, 3, 2, 2, 1, 3 ...    I want to estimate their mean and variance of the sequence at time $t$.    But I won't have enough storage to keep all the data seen previously.    I know I can compute the mean by only keeping the sum of the sequence by far, then divide through by time $t$.  But how can I compute/estimate the variance (using a constant amount of storage)? Is there any trick/model for this?


Change style of chapters using KOMA-Script

I would like to change the chapter style so that chapters start at the top of the page. With  \renewcommand\chapter{\@startsection{chapter}{0}{\z@}% {-2em}% {6pt}% {\LARGE\bfseries}}   this works fine for numbered chapters. How can I do this for unnumbered chapters such as TOC, LOF etc?


How to delete textures from the UV image editor list

In my UV image editor I have a few textures, that I don't use anymore. I tried to delete these from the list there, by clicking on the minus button, the delete key. ( - )  but nothing got deleted.  I saved the project and reopened , but that didn't help anything, the files are still there, I can click a hundred times on the delete button, it won't delete.  The list is located right between to the image menu and the plus button in the UV image editor.    Is there a way to get these textures out of my list ? Not all of them but just one or a few.


I would like to know what kind of speed implications using FileVault2 would have on my MBPr (late 2013). As there are much faster SSD's in these machines I want to know whether there is a noticeable speed difference compared older generations.


Say we have an expression of the form: $$ \left<0\right|:\phi(x)^2: : \phi(y)^2:\left|0\right>, $$ where $\phi$ is some scalar field. I have heard the claim several times, that in evaluating this expression using Wick contractions, one only has to contract terms between groups of normal ordered terms. In this example this would mean we only have to contract $\phi(x)$ with $\phi(y)$ but not $\phi(x)$ with $\phi(x)$. I have no clue how to derive this. Has anyone got an idea?  EDIT: And say we consider anticommuting operators, would we have: $$ \left<:\Psi^{\dagger}(x)\Psi(x)::\Psi^{\dagger}(0)\Psi(0):\right> = (-1)^3\left<\Psi^{\dagger}(x)\Psi(0)\right>\left<\Psi^{\dagger}(x)\Psi(0)\right>, $$ or with a plus sign?


How can we play split screen in the XBOX 360 version of Minecraft?

My little brother and I want to play Minecraft together on the Xbox 360, and we heard there was a split screen option. We've looked inside the options menu but weren't able to find it. Does the game really have a split screen option, and if so, how do we enable it?


Given $3$-dimensional subspaces $V, W \subset \Bbb R^5$, there is a nonzero vector in $V \cap W$

Prove that if $V$ and $W$ are three-dimensional subspaces of $\Bbb R^{5}$, then $V$ and $W$ must have a non-zero vector in common.  So far I got $V = \{v_{1}, v_{2}, v_{3}\}$ and $W = \{ w_{1}, w_{2}, w_{3}\}$ because they are 3-dimensional subspaces. Then $V \cup W = \{v_{1}, v_{2}, v_{3}, w_{1}, w_{2}, w_{3}\}$  My prof said that now I need to prove that they are linearly independent so this is a contradiction and the statement is wrong because we are in $\Bbb R^{5}$ and we have 6 elements on it.  I don't know how to express them as a linearly independent proof, so I hope anyone can give me a good explanation on it.


Does there exist an infinite non-abelian group, such that all its nontrivial proper subgroups are isomorphic to $C_\infty$?  It is rater obvious, that if such group exists then it is generated by any non-commuting pair of its elements. However I failed to prove anything else about it.  This question was inspired by Ol’shanski theorem, that states, that for all primes $p > 10^{75}$, there exist continuum-many infinite non-abelian groups, such that all their nontrivial proper subgroups are isomorphic to $C_p$ (Such groups are called Tarski Monster $p$-groups).


Battlefield 3 Premium Edition doesnt say I'm premium on Battlelog?

I bought Battlefield 3 Premium Edition about a year ago, and it hasn't said that I'm premium on Battlelog. It doesn't say I have all the content like the ACB-90 knife. When I try to get to use the strategy guides it tells me to buy premium first. I don't get all the content on the premium list but I do have the in game items like expansion packs and weapons. I have this on Xbox 360.


Error retrieve information from mysql database with php

I could not retrieve information from mysql database. I got an error saying     Array\n(\n [0] => 42000\n [1] => 1064\n [2] => on the client side   However, when I replace the variable $city with regular string like "san francisco" it works fine. I even tested that whether $city is a string and it is a string   $sth just failed to execute even though the query was successful    <?php      if (isset($_GET)) {          $servername = "localhost";         $username = "XXXXX";         $password = "XXXXX";         $dbname = "CALIFORNIA";         $city = $_GET['userinput'] . "";           // Create connection         $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);         $conn->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);         $sql = "SELECT State FROM  CITY WHERE City_name = $city";   // When I replace the $city with string like "San Francisco", it works but not with variable $city          if (($sth = $conn->prepare($sql))) {             if ($sth->execute()) {            // $sth failed even though the query was successful                  $result = $sth->fetchAll();                 $json = json_encode($result);                 echo $json;             }             else                 echo print_r($sth->errorInfo()); // Error print out on client side          }         else             echo  $conn->errorCode();          }


Connect/disconnect from VPN from the command line

I have two VPNs setup on my Ubuntu machine, one using vpnc and one using PPTP. These were both setup using the GNOME network manager interface and work great. However on occasion I need to access this machine remotely - is there a way to connect or disconnect to these VPNs from the command line?


EditText.getText().toString() comparison to other string fails

The Toast keeps saying access denied, even if i fill in the right pin.  I need to lock users into an kiosk-mode app, and only with the right pin they will have access to the settings and the exit option.              public void onClick(View v) {              AlertDialog.Builder alert = new AlertDialog.Builder(FullscreenActivity.this);             alert.setTitle("PIN:");             //alert.setMessage("Message");              final EditText pinEntry = new EditText(FullscreenActivity.this);             alert.setView(pinEntry);             alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() {                 public void onClick(DialogInterface dialog, int whichButton) {                     String pin = pinEntry.getText().toString().trim();                     String secret = "0000";                     if (pin == secret){                         Toast.makeText(getApplicationContext(),"Access Approved", Toast.LENGTH_SHORT).show();                     }                     else {                         Toast.makeText(getApplicationContext(),"Access Denied", Toast.LENGTH_SHORT).show();                     }                     Toast.makeText(getApplicationContext(),pin, Toast.LENGTH_SHORT).show();                 }             });              alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {                 public void onClick(DialogInterface dialog, int whichButton) {                 }             });             alert.show();         }     });


What's the nicest proof that two isolates masses orbit their center of mass?

Although it seems intuitive, I haven't found proof of this fact in my textbooks from a purely mathematical standpoint. I was wondering if anybody knows of a particularly elegant proof of this fact, and if so would they be kind enough to share a link?


How many solutions has the equation $\sin x= \frac{x}{100}$ ?   Usually when I was asked to solve this type of problem, I would solve it graphically but this one seems to be trickier. It doesn't seem wise to put $f(x)=\sin x$ and $g(x)=\frac{x}{100}$ in the same graph and then counting all the intersection points.  What would be some algebraic methods to solve this?


Problem with inserting the symbols \times and \omega when using arabi package

Is it impossible to insert the mathematical symbol \times when using the arabi package?  After compiling  A\times B   it becomes AB and the sign \times disappears   See the example below.  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[farsi,english,arabic]{babel}  \begin{document} \selectlanguage{farsi}  سلام    $A\times B$ \end{document}


Solving for an angle in an $80^\circ$-$80^\circ$-$20^\circ$ triangle ($60^\circ$-$70^\circ$ variant)

I cant solve this question for the life of me and this is some simple as heck geometry 101 problem. Now this would not be as bad but considering I'm in calculus 3 this seriously leaves a dent in my ego. This meme of a question is making me think its one of those millennial questions by someone at Clay that showed up on my class board to find Will Hunting or something.  Also can you be sure to include the steps. Thanks and much appreciated.


Why can Imperial Speeder Bikes jam Imperial Comlinks?

In Return of the Jedi, Luke and Leia steal an Imperial Speeder Bike to chase and stop some Imperial Scout Troopers. Almost immediately, Luke thinks to jam their comlinks and tells Leia to do so.  Why does the Imperial Speeder Bike have a one-flip switch capable of jamming their own comlinks?     LUKE   (pointing to the controls)   Quick! Jam their comlink. Center switch!


Did I get ripped off by purchasing a "deluxe bundle" with my camera?

Let me start by saying I'm a newbie to photography and appreciate all help! I purchased a camera "package" on Amazon.  This 33rd Street Deluxe Bundle Includes : Canon EOS Rebel T5i DSLR Camera with Canon EF-S 18-55mm f/3.5-5.6 IS STM Lens.   2.2x HD AF Telephoto Lens 0.43x HD AF Wide Angle Lens   There were other standard items included but I'm concerned about these two add-on lenses. I can't figure out how to attach them. My book says EF lenses and these are AF lenses. Did I purchase lenses that won't work on my camera? I really need to know quick so I can return the package if they can't be used. Again, any and all help is greatly appreciated!


Calculating a field based on two other fields, if they exist

I'm using ModelBuilder to iterate through ~800 shapefiles to add and calculate a new field (I'll call it Field_A). Field_A needs to be populated by either Field_B or Field_C, whichever exists. Half of my shapefiles contain Field_B and the other half contain Field_C, but none of the shapefiles contain both.  I tried using the expression: Field_A = !Field_B! or !Field_C! ....but it won't work unless both of those fields are in the attribute table.  How can I get the calculator to recognize whichever field is existing and disregard the other field if it doesn't exist?  (I'm working in ArcMap 10.1)


$A$ and $B$ are positive integers such that $\gcd(A,B)=9, \text{lcm}(A,B)=180, A<B.$ How many such $A$'s are there?

$A$ and $B$ are positive integers such that $$\gcd(A,B)=9, \text{lcm}(A,B)=180, A<B.$$ How many such $A$'s are there?  So from $\text{lcm}(A,B)=\frac{AB}{\gcd(A,B)} \Rightarrow 180 = \frac{AB}{9} \Rightarrow 1620=AB.$ Prime factoring $1620= 2^2\cdot3^4 \cdot5 = 4\cdot81\cdot5$, from here it seems that $81$ is the largest prime factor and the two other possbile prime factors are $4$ and $5$. Just following my intuition this got me to the right answer which was $2$, however I cannot find any justification for this. Is my reasoning correct or could the be a setting where this would fail? If so what would be the alternatives?


How to force restart an iPhone with broken home button

Earlier today I was on my iPhone and it randomly froze so I turned it off. When I went to unlock it it wouldn't move. I couldn't unlock it or tap anything. So now I can only stay on the lock screen. I read on the Apple website that I should "force restart" it by pressing my home button and power button at the same time. The problem is my home button is stuck and doesn't work. What should I do?


What is "2" in command, while redirecting both System.out , System.err Java messages to file

I just figured that, we can redirect both System.out and System.err messages to  a file, am not able to understand this command which does redirecting while running this below file using : java StandarProgram> output.log 2>error.log  What is 2? and if am not using 2, error messages are displayed on console and not redirected to file? am not able to get this at all.  public class StandardProgram{      public static void main(String[] args){         System.out.println("Hello");        System.err.println("World");      } }


I recently upgraded tkz-euclide to the newest version and I noticed a different behaviour of \tkzMarkAngle with respect to the past. Now a single mark is added to angles even when the command mark=| is not specified. Is it possible to tell tkz-euclide in the preamble to use the option mark=none as default with \tkzMarkAngle?  For example in a document like this  % !Mode:: "TeX:UTF-8" % %--------------------------------------------------- \documentclass[a4paper,12pt]{book}  \usepackage{fontspec}  \usepackage{amsmath,empheq} \usepackage{mathtools} \usepackage{amscd} \usepackage{amsxtra} \usepackage{amsthm} \usepackage{unicode-math}  \usepackage{tikz} \tikzset{x=1cm,y=1cm,z=1cm} \usepackage{tkz-euclide}  \begin{document}  \begin{figure}[htbp] \centering \begin{tikzpicture}[scale=1.5] \tkzDefPoint(0,0){A} \tkzDefPoint(2,0){B} \tkzDefPoint(0,3){C} \tkzDrawPolygon(A,B,C) \tkzMarkAngle[size=0.5cm,color=red,thick,mark=|](B,A,C) \tkzMarkAngle[size=0.5cm,color=blue,thick](C,B,A) \end{tikzpicture} \caption{} \label{} \end{figure}  \end{document}    The angle in red should have the mark but the angle in blue should not.


What books should I refer to while preparing for mathematical Olympiads, specifically IMO?

I am from India and will be preparing for RMO (Regional Mathematics Olympiad) and INMO (Indian National Mathematics Olympiad). I need the best books for being able to qualify these and appear for IMO.


How to extract text inside first pair of colons

I have a log file that saves this kind of lines every time a file cannot be extracted from a tar.  tar: foto/201802131354184186718718.xml: No se puede efectuar open: File exists tar: foto/201802131365468046840684.xml: No se puede efectuar open: File exists   I need to get the text inside the first pair of colons ":"  Example  foto/201802131354184186718718.xml foto/201802131365468046840684.xml   I've tried using grep but i get this:  $ grep -oP '\:\K[^\:]+' 20180213.tmp   foto/201802131354184186718718.xml  No se puede efectuar open  File exists  foto/201802131365468046840684.xml  No se puede efectuar open  File exists


After "security update" to 4.15.0-24-generic #26-Ubuntu screen shows log content not login

Ubuntu Bionic 18.04 SoftwareUpdater this morning installed updates including a new kernel version 4.15.0-24-generic #26-Ubuntu. Now when the system boots the screen displays the content of some log instead of the login prompt.  The log file is displayed after the normal red dots phase, except that there is a long pause after the 4th dot becomes red and the fifth dot never becomes red. Suddenly this log is displayed. Almost everything in it is [ OK ].  The last 3 lines of this log read  [ OK ] Started irqbalance daemon [ OK ] System Logging Service. [ OK ] Started GNOME DisplayManager. Dispatcher Service....upport.hanges.pp link was shut down.    Further up is one non-OK line that might be related, but later in the line there is [ OK ]. Maybe the "Plymouth BootScreen" it refers to is what I am seeing.  [   .] A start job is running for Hold until boot process finishes up (28s / no limit)[ OK ] Started Show Plymouth BootScreen.   I tried booting the previous kernel but the same thing happens.  I am unable to scroll up to see the beginning of this log.  How can I get my system to boot properly and show the login screen?  I can ssh into the system so if I know what to change to fix this, I should be able to do it.  This is the latest in a depressingly long list of Ubuntu software updates that have ****ed up my system. It's no wonder users are reluctant to install updates.  I found , opened 6/30, which matches this problem.  EDIT:  is a different problem with similar symptoms.  has matching symptom and cause.


How can reincarnated souls be summoned using Edo Tensei?

Quoting ,     Reincarnation is the philosophical or religious concept that an aspect of a living being starts a new life in a different physical body or form after each biological death. It is also called rebirth or transmigration, and is a part of the Saṃsāra doctrine of cyclic existence.   Then, since Ashura has reincarnated into Naruto, and Indra into Sasuke, how can Uchiha Madara and Senju Hashirama (their previous reincarnation) be summoned using Edo Tensei?


@AuraEnabled public static List<StaffReport__c> getUserReports(String UserId, Date startDate, Date endDate) {             return [Select Date__c from StaffReport__c where User__c =: UserId AND Date__c >=: startDate AND Date__c <=: endDate ORDER BY Date__c ]; }  Here i am passing startDate date and endDate in Date format, But it is appending timestamp in Query like 2019-06-01 00:00:00  I need to remove timestamp from Date and use it in Query  I am Using below methods to remove  Datetime.newInstance(sd.year(), sd.month(), sd.day()).format('yyy-MM-dd') this will result 2019-06-01 but cant assign it to Date type  but at the End Date__c is Date type need to convert it from Datetime to Date, Again appending 00:00:00 Any solution for this? Thanks in Advance.


Prove or disprove $\int^{\infty}_{0}(\prod^{n}_{r=1}\cos\frac{x}{r})\frac{\sin(4x)}{x}dx=\frac{\pi}{2}$

$$\int^{\infty}_{0}(\prod^{n}_{r=1}\cos\frac{x}{r})\frac{\sin(4x)}{x}dx=\frac{\pi}{2}$$ I highly suspect that the relation is true. How would I go about proving this? I thought it would be induction related but I cannot get anywhere with it as it quickly leads (through parts) to integrating $\frac{\sin x}{x}$


Shuffle an array so every value will have a different index

I have written a method to shuffle a String array So the task is to implement WhiteElephant concept for a given string array of list of names.Should generate assignments to match the original elements. I have written method to pick a random number and used a map to store the values so that each value will have a different index. But this prints out only 5 values. and i am confused now.   public static String[] generateAssignments(final String[] participants) {      Random r = new Random();     int size = participants.length;     HashMap val = new HashMap();     int change = 0;     String[] assignments = new String[6];     System.out.println("Using arrays");       for(int i=0; i<size;i++){         for(int j =0; j<size; j++){             change = r.nextInt(size);             if(val.containsValue(change) || change==i){                 continue;             }             else val.put(i, change);             assignments[i] = participants[change];             System.out.println(assignments[i]);             break;         }         }      return assignments; }   I appreciate your inputs. Thanks, Lucky


Access view based on table in another database without account in that other database

I created view in database1 based on tables in database2. I gave SELECT permission to a user who has access only to database1. The user can't get this view to work because he doesn't have an account in database2. How can I solve this issue? I don't want to create an account in database2.


I need to transfer files from several servers to a single remote host using Rsync over SSH. However, I need to be sure that before the file is deleted on the source using the --remove-from-source argument, that the file transferred is actually there.  From what I've been reading, there are no post transfer checksums and rsync trusts the kernel response but those articles were dated back from 2005-2009. I was wondering if this has changed in recent updates to rsync? If not, what method(s) are there to check this and then delete the source file once verified?  Edit: I don't get how this is a duplicate. My question does not pertain to local drives on the same system...


I am Saket Patel, an Indian national, studying in France. I have French long stay visa and residence permit (social security). I need to travel to UK for a meeting/conference and I do not know if I need a separate visa for that purpose.  Kindly help me out and let me know if I can travel there with these documents or do I need to apply for visa separately?


I use Jabref to manage my citations. Each entry has it own bibkey. There are some instance where I would like to cite 2 or more articles but I want them consolidated in one reference since there all talk about the same thing. For instance in my text; "... previous work involving MEAM[10]...." and in the references [10] should look like this:  [10] M. I. Baskes, Phys. Rev. Lett. 59, 2666 (1987); M. I. Baskes, J. S. Nelson, and A. F. Wright, Phys. Rev. B 40, 6085 (1989); M. I. Baskes, Phys. Rev. B 46, 2727 (1992); M. I. Baskes, Mater. Chem. Phys. 50, 152 (1997).  I do not want this: "... previous work involving MEAM[10-13]..."  where in the reference each article is cited as :  [10] M. I. Baskes, Phys. Rev. Lett. 59, 2666 (1987).  [11] M. I. Baskes, J. S. Nelson, and A. F. Wright, Phys. Rev. B 40, 6085 (1989).  [12] M. I. Baskes, Phys. Rev. B 46, 2727 (1992). [13] M. I. Baskes, Mater. Chem. Phys. 50, 152 (1997).


Examples of number theory showing up in physics

Are there any interesting examples of number theory showing up unexpectedly in physics?  This probably sounds like rather strange question, or rather like one of the trivial to ask but often unhelpful questions like "give some examples of topic A occurring in relation to topic B", so let me try to motivate it.  In quantum computing one well known question is to quantify the number of mutually unbiased (orthonormal) bases (MUBs) in a $d$-dimensional Hilbert space. A set of bases is said to be mutually unbiased if $|\langle a_i | b_j \rangle|^2 = d^{-1}$ for every pair of vectors from chosen from different bases within the set. As each basis is orthonormal we also have $\langle a_i | a_j \rangle =\delta_{ij}$ for vectors within the same basis. We know the answer when $d$ is prime (it's $d+1$) or when $d$ is an exact power of a prime (still $d+1$), but have been unable to determine the number for other composite $d$ (even the case of $d=6$ is open). Further, there is a reasonable amount of evidence that for $d=6$ there are significantly less than $7$ MUBs. If correct, this strikes me as very weird. It feels (to me at least) like number theoretic properties like primality have no business showing up in physics like this. Are there other examples of this kind of thing showing up in physics in a fundamental way?


$$ [(\vec{a}+\vec{b})\times(\vec{b}+\vec{c})]\cdot(\vec{c}+\vec{a})=2\vec{c}\cdot(\vec{b}\times\vec{a})$$  I'm supposed to prove that this is true for all vectors $a,b,c$, but I keep getting $4(\vec{a}\times \vec{b})\cdot \vec{c}=0$, which is obviously not true.   Seems to me like there is a mistake in the problem, that it should be $\vec{a}\times\vec{b}$ instead of $\vec{b}\times\vec{a}$. Or I'm doing it wrong?  I'm using facts that $\vec{a}\times\vec{a}=0$ and $[\vec{a},\vec{b},\vec{c}]=[\vec{c},\vec{b},\vec{a}]=-[\vec{b},\vec{a},\vec{c}]$.


How to get client's IP address using JavaScript?

I need to somehow retrieve the client's IP address using JavaScript; no server side code, not even SSI.  However, I'm not against using a free 3rd party script/service.


Allowing Guest Site User to run reports (for Sp14 charts-in-VF feature)

I was so excited about the Spring '14  as a way to present data visualizations on a public site, and now it looks like that's not possible.  I created a page that looks basically like the release notes sample:  <apex:page >     <analytics:reportChart reportId="00OW0000000Spru"></analytics:reportChart> </apex:page>   I tested it inside the authenticated environment, where it works fine, then added it to a Site. There, I get the error: To view the report chart, you need both the Run Reports permission and access to the report's folder. But, Run Reports is not a permission I can grant to the Site Guest User.  Anybody have any ideas for a workaround? Or is it not going to be possible to show report charts on a public site?


Cant install bcwml-kernel-source in kernel 5.8.0

The drivers for my Broadcom WiFi card are playing monkey tricks again. Apparently when I try to re-install the drivers, I get an error due to bcwml-kernel-source being missing, but when I try to install it, I get this: ➜ sudo apt install bcmwl-kernel-source Reading package lists... Done Building dependency tree        Reading state information... Done bcmwl-kernel-source is already the newest version (6.30.223.271+bdcom-0ubuntu5). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n]  Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) ... Removing old bcmwl-6.30.223.271+bdcom DKMS files...   ------------------------------ Deleting module version: 6.30.223.271+bdcom completely from the DKMS tree. ------------------------------ Done. Loading new bcmwl-6.30.223.271+bdcom DKMS files... Building for 5.8.0-34-generic 5.8.0-36-generic Building for architecture x86_64 Building initial module for 5.8.0-34-generic ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash' Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information. dpkg: error processing package bcmwl-kernel-source (--configure):  installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10 Errors were encountered while processing:  bcmwl-kernel-source E: Sub-process /usr/bin/dpkg returned an error code (1)  Why am I getting this error? How can I fix this problem? UPDATE: I tried to do like it says in  but it also did not work. ➜ sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb  dpkg: warning: downgrading bcmwl-kernel-source from 6.30.223.271+bdcom-0ubuntu5 to 6.30.223.271+bdcom-0ubuntu4 (Reading database ... 300024 files and directories currently installed.) Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb ... Removing all DKMS Modules Done. Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu4) over (6.30.223.271+bdcom-0ubuntu5) ... Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu4) ... Loading new bcmwl-6.30.223.271+bdcom DKMS files... Building for 5.8.0-34-generic 5.8.0-36-generic Building for architecture x86_64 Building initial module for 5.8.0-34-generic ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash' Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information. dpkg: error processing package bcmwl-kernel-source (--install):  installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10 Errors were encountered while processing:  bcmwl-kernel-source


I have some doubts about how to select a voltage regulator.  I am planning to use a Texas Instruments TPS7A05 LDO regulator to regulate my 5V (250 mA) to 3.3V (200mA) to power my STM32 microcontroller. I am using a battery as source.  My input to LDO regulator:   input voltage :5v input current : 250 mA   Expected output:   output voltage : 3.3v output current : 200 mA ( to power my STM32 microcontroller)  My doubts:   Dropout voltage :   I understood that dropout voltage is the difference between input and output voltage . The difference between my input voltage and my expected output voltage is 5V-3.3V =1.75V, but in the datasheet it is given like   So I am getting my voltage drop of 1750 mV. It is more than 230 mV so to get 200 mA of output current my voltage drop should be 230 mV or what then why they have given the maximum input voltage as 5V and maximum current as 200 mA. So based on my doubt I cannot use this regulator or ehat or my understanding is wrong and we can use it.  Ground Current : I understood that ground current is the difference between input current and output current. So the difference between my input current and my expected output current is 250 mA - 200 mA = 50 mA but in the data sheet it is given like:    It is given like as 6 micro amperes, but based on my input and output current difference is 50 mA it is lot more than the given.So can I use this regulator based on my input and output or not or can I use a resistor connected in series so that I am able to get the ground current as given in the data sheet.  If my understanding is wrong please correct me.  Can I use this regulator for my application or not?  Please find the attached link of Texas instruments


Can someone sort me out regarding the calculation of AUC?

I am having some trouble with two different implementations of a classification problem giving different results. Me and my college who did the other implementation has narrowed the problem down to the way we calculate the area under the receiver operating characteristic curve (AUC). One solution is derived from a formula appearing at least at one location:    $$AUC_1 = \frac{1}{mn}\sum_{i=1}^{m}\sum_{j=1}^{n}\mathbf{1}_{p_i<p_j}$$  I have ported the implementation into R and compared it with the result $AUC_2$ from the R-package pROC:  auc1 <- function(p) {   values <- p[,1]   positives <- values[ p[,2]==1 ]   negatives <- values[ p[,2]==0 ]   count <- 0   for ( p in positives ) {     for ( n in negatives ) {       if ( p>n ) {         count <- count + 1       }     }   }   return(count/(length(positives) * length(negatives))) }  auc2 <- function(p) {   library(pROC)   c <- roc(p[,2], p[,1], print.auc=TRUE, ci=F, of="auc")   return (auc(c)) }  predicted <- c(0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1) real      <- c(0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1) p <- cbind(predicted, real)  auc1(p) auc2(p)   Can someone shed some light on why I get:  $$AUC_1 = 0.9090909 \mbox{ and } AUC_2 = 0.9545\mbox{?}$$


How to draw radius buffer around the points and perform intersection with other locations list in GeoPandas Python?


Prove: $f: \mathbb{R} \rightarrow \mathbb{R}$ st for every $x \in \mathbb{R}$ there exists $n$ st $f^{(n)}(x) = 0$, f is a polynomial.

If $f: \mathbb{R} \rightarrow \mathbb{R}$ is a smooth function such that for every $x \in \mathbb{R}$ there exists $n$ such that $f^{(n)}(x) = 0$, then f is a polynomial.   I'm kind of lost on this one. I know that I have to use Baire's category theorem somewhere here, but I'm not sure exactly how.


Rays on the null space of the quadratic form given by wedge product on $\wedge^2(\mathbb{R}^4)$ are oriented 2-planes

Let $U$ be a real 4-dimensional vector space. On the second exterior power, $\wedge^2(U)$ consider the quadratic form given by the wedge product $\wedge^2(U) \times \wedge^2(U) \rightarrow \wedge^4(U)$ composed with the isomorphism $\wedge^4(U)\cong \mathbb{R}$ given by fixing a basis (one non-zero vector) of $\wedge^4(U)$. In the book `The Geometry of Four-Manifolds', on page 8, it is stated that the rays in the null cone of this quadratic form have the geometric interpretation of being oriented 2-planes in $U$. I don't understand this statement.


By 18 January 2016, Member States shall notify to the Commission the list of professions for which a prior check of qualifications is necessary under Article 7(4).  Sometimes I get confused when it comes to "by" and a date.. Does this mean that "the Member States shall notify to the Commission the list before 18 January 2016", or "starting from 18 January 2016", like, "after 18 January 2016"? Thanks in advance..


no compatible gpus found for path tracing

No compatible gpus found for path tracing    Intel core i7-2600 cpu 3.4 memory ram: 22gb display: AMD radeon hd 5700 series 2gb Directx version:12


What's the difference between the following two sentences?

Reproductions of fine art should only be sold to the public if they are of high quality. Reproductions of fine art should be sold to the public only if they are of high quality.   How do they differ in meaning exactly?   Thank you.


How to restore and overwrite an existing database on Azure SQL MI

We are trying to restore a backup file in Azure SQL MI using SSMS. the issue is we are trying to overwrite an existing database and we notice this feature is not present in SSMS for Azure SQL MI but available for SQL Server. Is it possible to overwrite the database using SQL scripts.


I have residual plots like the following:  Should I be concerned about the large hump for the higher quantiles on the normal Q-Q plot? Would some sort of a transformation on the response variable help? I am unsure where to go to now. My model is significant.


How to calculate the resistance (conductance) between two contacts embedded into a 3D object?

Pouillet's law, $R = \rho \frac{\ell}{A}$, is useful when dealing with a "column" (cylinder) of a conducting material, with cross section $A$ and height $\ell$. Using this equation has an underlying assumption: the contribution to the conductance from the surrounding environment of the cylinder is zero.  But how do I calculate the resistance (or conductance) between two given points (electrodes) that are embedded into a general shape object (for example submerged in water), assuming the surrounding environment is infinite in all directions?


Is it possible to exclude a directory from the find command?

I am using find -type f command to recursively find all files from a certain starting directory. However, I would like to have some directories prevented from entering and extracting names of files inside. So basically I am looking for something like:  find . -type f ! -name "avoid_this_directory_please"   Is there a functioning alternative to this?


Stuck in a while loop trying to get the user to input certain words?

I'm making a simple rock, paper, scissors program. For some reason this while loop keeps looping even if the user enters one of the correct terms. Can someone explain why this is happening?  public static String userChoice(){     String userChoice = "";     while(userChoice != "rock" && userChoice != "paper" && userChoice != "scissors"){         userChoice = JOptionPane.showInputDialog("Rock, Paper, or Scissors?");          JOptionPane.showMessageDialog(null, "Invalid input!");     }      return userChoice; }


How to save multiple monitor layout forever with xrandr?

I have two monitors, and set up a new layout by typing following code in terminal: xrandr --output HDMI-2 --left-of eDP-1 --auto However the layout will go back once wake up from hibernate or reboot. And I have installed a GUI controller named arandr. But it cannot solve my problem either, so what is the best solution?


I'm new to Blender and am having a lot of trouble wit the camera position. I placed it using "Align Active Camera To View", but when I look at the camera view (Numpad 0), I can't see anything except the grid. The same thing happens when I try to render the view. It is grey, not black, and I'm using the default lamp. The shapes shown in the images are cylinders, if that changes anything.  If I spin the camera, I get a very strange view, when I can kind of see the cylinders on the right, but they are cut off. I cannot see anything that should be in the way. In the last picture, the camera is basically at 90 degrees to what I think it should be (4) (see pics).  Any suggestions? Thanks!


How do I search for [tag1] and [tag2-*]?

When trying to search for [tag1] [tag2-*] (logically [tag1] and [tag2-*] since default is AND) the search query gets turned into [tag2-a] or [tag2-b] or [tag2-c] ... or [tag2-z] and  [tag1] which is not what I intended to search for.   This is equivalent to [tag2-a] or [tag2-b] or [tag2-c] ... or ([tag2-z] and  [tag1]).  So, how do I search for ([tag1] and [tag2-a]) or ([tag1] and [tag2-b]) or ..... or ([tag1] and [tag2-z])?  Example : I wanted to search for all  which have any of the status tags. So I tried this,  However, I ended up with all posts (, ) which have any of the status tags and only  (which happened to be the last status tag in the query) with


How to sort only one key/value pair in Python dictionary out of a list of others?

I have a Python dictionary in a single file as follows: {'weight': ['2', '23', '12', '65', '34', '55', '23', '23', '68', '101'],  'Age': ['35', '23', '14', '39'],  'Count': ['23', '335', '112', '33', '543']}  I would like to sort just one key/value e.g. Age to be 'Age': ['14', '23', '35', '39']. The other keys/values to remain unchanged. How to retrieve a single key and sort its values? Tks


I need to roll back the recent Ubuntu upgrade that I did, my PC has become unusable.  The mouse pad freezes, left and right click buttons chooses to work when they want to.   I did the update after getting a notification on May 1, 2020 and everything doesn't seem right anymore.   How do I roll back this updates??


Update and Select in the same query in MySQL

I would like to update and count in a single query.  My table structure is:  |----|-------|------------| | id | views | update     | |----|-------|------------| |  1 |     1 | 2019-05-30 | |----|-------|------------|   The desired output is:  |----|-------|------------| | id | views | update     | |----|-------|------------| |  1 |     2 | 2019-05-31 | |----|-------|------------|   My try is the following:  UPDATE table  SET views = (     SELECT COUNT(views)      FROM table      WHERE id='1'  ) + 1, update='2019-05-31' WHERE id='1';   I'm tried to update the view count by adding +1 to the actual count and update the update field with the new date.  But it doesn't work.  What I'm doing wrong ?  Thanks.


zsh glob pattern to match all files except one, does not work, despite EXTENDED_GLOB being set

I have a directory containing several files:  $ ls tdir xx  yy zz   I'm looking for a zsh glob pattern, which expands to all (non-dot)-files except xx. This is what I tried:  $ set -o EXTENDED_GLOB $ echo tdir/*~xx tdir/xx tdir/yy tdir/zz   As we can see, this does not work; *~xx is not expanded in the way I expected. How do I write this correctly?


What happens if I leave Australia without paying a fine (for setting off fireworks)?

I don't know if anyone can be helpful, but, I ve just received this 670$ fine from the NT.  I stayed for 3 days in Darwin and cracked one small firecracker, and got caught by the cops. (I know its very silly) Not saying that I wondn't mind paying the fine, but 670$ is a bit excessive isn't it? I'm leaving the country in 7 days and I literally have no money on me. What do you think would happen at the airport if I don't pay that fine?  Because I was just on holidays (WHV) I didn't have a permanent address though they sent it to my home in Europe.


How to use select (query)alias on WHERE clause?

i'm having a problem on my query, this is the working query and      SELECT res_ID,res_fName,res_mName,res_lName,rs.suffix,rms.marital_Name,rg.gender_Name,rr.religion_Name,ro.occupation_Name,ros.occuStat_Name,res_Date_Record,rc.country_citizenship,res_Bday,TIMESTAMPDIFF(YEAR,res_Bday,CURDATE()) AS age, (case    when (TIMESTAMPDIFF(Month,res_Bday,CURDATE())<=1) then 'Maternal and Newborn'  when (TIMESTAMPDIFF(Month,res_Bday,CURDATE())<=1 and TIMESTAMPDIFF(Month,res_Bday,CURDATE())<=12) then 'Babies' when (TIMESTAMPDIFF(Month,res_Bday,CURDATE())<=13 and TIMESTAMPDIFF(Month,res_Bday,CURDATE())<=24) then 'Toddlers' when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=2 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=4) then 'Preschoolers'  when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=5 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=8) then 'School Age Children'  when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=9 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=12) then 'Tweens ' when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=13 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=19) then 'Teenager' when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=20 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=35) then 'Young Adult' when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=36 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=55) then 'Middle-Aged Adults' when (TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=56 and TIMESTAMPDIFF(Year,res_Bday,CURDATE())<=100) then 'Senior'    end) Age_Stage FROM resident_detail rd  LEFT JOIN ref_suffixname rs ON rd.suffix_ID = rs.suffix_ID  LEFT JOIN ref_gender rg ON rd.gender_ID = rg.gender_ID LEFT JOIN ref_marital_status rms ON rms.marital_ID = rd.marital_ID LEFT JOIN ref_religion rr ON rr.religion_ID = rd.religion_ID  LEFT JOIN ref_occupation ro ON ro.occupation_ID = rd.occupation_ID  LEFT JOIN ref_occupation_status ros ON ros.occuStat_ID = rd.occuStat_ID LEFT JOIN ref_country rc ON rc.country_ID = rd.country_ID   this is the Result:   i want is use the alias "Age_Stage" column on WHERE statement, on the image above Age_Stage has their specific value, i just want is to filter those Age_Stage by value that i want.  but when i add on the query  WHERE Age_Stage = "Young Adult" on the of query the error is result is     Unknown column 'Age_Stage' in 'where clause'


Has anyone implemented Typeahead in visualforce? If so, were you able to apply any styles to it based on the styleClass attribute? I've been trying to get it to style something like a "mailing city" field in VF page but it doesn't seem to be working. Any thoughts?  <apex:page > <style>  .defaultTextBox { padding: 0; height: 30px; position: relative; left: 0; outline: none; border: 1px solid #cdcdcd; border-color: rgba(0,0,0,.15); background-color: white; font-size: 16px;     }   </style>      <c:Typeahead object="Account" placeholder="type something here..." primaryField="Name"                  searchScope="Name" minSearchLength="3" styleclass="defaultTextBox" />       </apex:page>   I'm trying to use the Visualforce typeahead component. Here's the screenshot of where I'm struggling, . I don't need such a big text box. How do I reduce the size, remove the bordering etc...that's where I'm struggling with.


I have written this code and I wonder if there is a better way to do absolutely any of it. Also, if there is any way to optimise it or if there is a problem please also tell me preferably with fixed code as I am still sort of a beginner. It is one of my first school projects and I would like to show my teacher that I really now Python. What it is supposed to do is take an input which is a YouTube and give a response based on the input. I've heard of dictionary lookups but I don't really understand what they are so if anyone thinks that they maybe relevant and could show me how to impliment it that would be great! I am also thinking of using a switch statement (which might be the same as a dictionary lookup) that I know from my experience with JavaScript. The code is below:  import random  def test():     youtuber = input('Enter your favourite youtuber:  ')     youtuber = youtuber.lower()     favouriteYoutuber = ['Dr. Phil', 'Mr. Beast', 'T-Series', 'PewDiePie', '5 Minute Crafts', 'The Ellen Show']      if youtuber == 'dr. phil':         print('You are an awesome lad!')     elif youtuber == 'james charles':         print('Errmm. Ok...')     elif youtuber == 'bloamz':         print('Ok then.')     elif youtuber == 'ali a':         print('I mean. Thats old but ok...')     elif youtuber == 'jacksepticeye':         print('Thats kinda cool')     elif youtuber == 'will smith':         print('Thats different. I rate that')     elif youtuber == 'jack black':         print('you have good taste')     elif youtuber == 'jack white':         print('I like him as well')     elif youtuber == 'dr. mike':         print('so you like learning then')     elif youtuber == 'morgz':         print('I mean just leave now')     else:         print('I dont know that one. Ill check them out')      print('my favourite youtuber is ' + random.choice(favouriteYoutuber))  def try_again():     again = True     while again:         test()         while True:             try:                 print("")                 print("Would you like to try again?")                 maybe = input("Y/N ")                 maybe = maybe.lower()             except ValueError:                 print("That is not a valid option")                 print("")                 continue             if maybe in ('y','n'):                 if maybe == "n":                     print("")                     again = False                 elif maybe == "y":                     print("")                 break      else:         print("Thank you for using this app!") try_again()


I came across this sentence in an elementary grammar book:     Another class of animals is fish. Scientists believe there are more than 24,000 kinds of fish. Fish live in the water and come in many shapes and sizes. They have scales, fins, and gills. Most are cold-blooded.   Shouldn’t this be written "Another class of animals are fish" ?  Using “is” doesn’t sound right to me.


Word for a story that keeps the reader's attention

The word for a story or article that is keeping the reader's attention.  Example sentence:     I would like to rewrite this story to make it more ...


Why is Ukraine often called "the Ukraine"?

Possible Duplicate:          Hearing the Ukraine used to make me unsure whether Ukraine was really a country.  Now though I have realized Ukraine to be a country on the same level as Austria, for instance, I still don't understand why it is often the Ukraine in English, but never the Austria or the Poland. Where did that odd phrase come from, and why is it in use?


Decreasing the time delay for diacritic marks menu appearance

On my iMac, when one pushes certain character keys after about 1 second a menu appears with the selected character with diacritic marks (accents) - i.e. when one presses S, one is presented with a menu showing ß ś š. You can then choose to insert one of these characters using the numerical keys (i.e. pressing S ... short wait ... press 1 results in a ß).    (I'm not sure if this is the default macOS behaviour, or a setting for my Mac. The keyboard in System Preferences implies that holding a key should repeat that key because it has "Key Repeat" and "Delay Until Repeat" settings.)  Is it possible to decrease this wait time? I've been typing in German a lot recently, and ending up with a4 in my text when I intend to write ä.


How to write bash script that deletes the oldest file in a directory if there are greater than N files in the directory?

Wondering how would one go about writing a script that:  Counts the number of files in a directory.  If that number is greater than a specified number N, delete the oldest file in the directory.  For bonus feelings of good will: Only included .zip files in the count/delete.


Is it a or an "identity verification concept"?

In this suggested edit on  Security SE      is a identity verification concept that claims [...]   to     is an identity verification concept that claims [...]   Is this right?  I thought as it is refering to "concept" and not to "identity", it wouldn't be "an". Have I been wrong?


How to close terminal after opening something from it

I am a linux newbie so this maybe a very stupid question, I will try to ask my question by giving an example. When I execute command in terminal  chromium-browser  chromium opens up but I cannot close the terminal without closing the browser. when I quit the terminal browser closes automatically So I wanted  know how to close that terminal without closing the browser.


Cannot implicitly convert type 'System.Linq.IQueryable' to 'System.Linq.IQueryable'

public IQueryable<DepartmentBreakdownReport> GetDepartmentBreakdownByReviewID(int ClientID, int? ReviewID) {     var x = (from d in camOnlineDb.Details              join h in camOnlineDb.Headers              on new { d.ClientID, d.ClaimID }              equals new { h.ClientID, h.ClaimID }              where h.ClientID == d.ClientID               join sd in camOnlineDb.SuppDepts              on new { a = d.ClientID, b = d.CategoryID ?? 0 }              equals new { a = sd.ClientID, b = sd.CategoryID }               join r in camOnlineDb.Reviews              on new { h.ClientID, h.ReviewID }              equals new { r.ClientID, r.ReviewID }               join rp in camOnlineDb.ReviewPeriods              on new { a = r.ClientID, b = r.ReviewPeriodID ?? 0 }              equals new { a = rp.ClientID, b = rp.ReviewPeriodID }               select new {                  d.ClientID,                  h.ReviewID,                  sd.DepartmentID,                  sd.DepartmentName,                  d.Amount              });      x.GroupBy(r => new { r.DepartmentID, r.ReviewID, r.ClientID })     .Select(g => new {         ClientID = g.Key.ClientID,         ReviewID = g.Key.ReviewID,         Dept = g.Max(d => d.DepartmentName),         Amount = g.Sum(d => d.Amount)     })     .OrderBy(r => r.Dept)     .Where(r => r.ReviewID == 37);     //.Dump();      return x;   I know it has something to do with returning x. I tried returning is asQueryable but this didn't work. How do I get my statement to return x?


Conceptually understand z-score obtained from standard normal table

I am trying to conceptually understand the following … For a two-sided test … alpha = 5%, gives z-score = 1.96 (i.e. you have 95% probability between tails) But for a one-sided tested … alpha = 5%, i.e., you have 97.5% probability between tails, why z-score be 1.65? I mean you have higher probability, so I don’t understand why z-score would be lower than that of a two-sided test. Any help to understand this will be appreciated.


Automatically fit the graphics in the remaining space of a Beamer slide

I want to put a figure in some part of the presentation (beginning, middle or end of the slide). I want the figure to be adjusted to the height of the available space while keeping the aspect ratio intact. How can I do that?  Suppose I have  image to be put in the slides. I have the following minimal example:  \documentclass{beamer}  \usepackage{graphicx} \usepackage[pangram]{blindtext}  \usetheme{Pittsburgh}  \begin{document}  \begin{frame} \frametitle{Something} \blindenumerate[2] \centering  \includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{2000px-If-then-else-control-flow-graph.svg.png} \end{frame}  \begin{frame} \frametitle{Something} \blindenumerate[2] \centering \includegraphics[width=\textwidth,height=.5\textheight,keepaspectratio]{2000px-If-then-else-control-flow-graph.svg.png} \blinddescription[2] \end{frame}  \begin{frame} \frametitle{Something} \blindenumerate[6] \centering \includegraphics[width=\textwidth,height=.5\textheight,keepaspectratio]{2000px-If-then-else-control-flow-graph.svg.png} \blinddescription[2] \end{frame}  \end{document}       I want this figure to be adjusted within the available space automatically without changing the height manually (i.e. .5\textheight). Is it possible?


Does 0/0 = a new branch of numbers? Have I made a mistake in the equation?

So I thought...   If $\frac00 = x$... then  $0 = x\cdot0$... then  $0x = 0$... then its technically possible to divide by $0$ again  $\frac{0x}0 = \frac00$ ... since $\frac00 = x$ and $\frac{0x}0 = \frac00$.. then $x = \frac{0x}0$ ...   $0x = 0 ... x = \frac00 ...$  $\frac00 = \frac00=...$ $\frac00$ can only equal itself, meaning the value of it is an exact value, but it cannot equal anything else because the value it has is not from any branch-type of numbers that we know. It isnt imaginary nor anything else. Does this mean we need a new type of number that will make the mechanics of $0$ in maths work?  T.S SVK 1998 (17)


While this could be considered opinionated to a certain degree, by setting the requirement as ease of use, is there a base that is better for performing simple math functions (+-×÷) than base ten.  I recently attended a lecture about whether cover stories affect the learning of students. One of the controls was not having foreign exchange students. Questions regarding this control started, and eventually it was implied that foreign number systems (Chinese) might be better than ours. I attributed this to them using a different base.


I understand that in a lot of big-lab fields it is common for the principal investigator to append their name to a paper even if they did not write the paper, design the experiment, or collect data since they spend energy securing funding, and managing the whole lab. What about for small labs?  What are the requirements for a supervisor to be included as an author on a paper, as opposed to just appearing in the acknowledgements? If you are working on your own projects independently of your supervisor, but using funding provided by your supervisor (how does this change when the funding provides resources versus just your salary), are you suppose to add them as authors or just acknowledge the source of funding?


I have a mesh spiral edge and the edges are small & big. Can i have all the edges in same size. Reason to have same size is i have to checker select and delete the rest to make the stitches. With the edge selected i have different size edges. Is there an way to merge all edge and subdivide to have equal size edges. How can i achieve if so.


I need some help with the following problem:     Show that for any pair $(a,b)$ of positive integers, $\dfrac{a+2b}{a+b} < \sqrt{2} < \dfrac{a}{b}$.   I tried squaring both sides of the inequality, but I was not able to solve it.


How enumerate all classes with custom class attribute?

Question based on .  Let's say we have some C# classes with HelpAttribute in standalone desktop application. Is it possible to enumerate all classes with such attribute? Does it make sense to recognize classes this way? Custom attribute would be used to list possible menu options, selecting item will bring to screen instance of such class. Number of classes/items will grow slowly, but this way we can avoid enumerating them all elsewhere, I think.


I've been playing Minecraft for 5 days now and the whole time I've been playing, I came across two errors. One is that the Java TM binary thing isn't responding.  The other is when I'm playing for a bit, the whole games completely closes and it takes me to the game output spot in the Minecraft launcher. This is what it says:  # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff88f41d683, pid=7860, tid=8872 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops) # Problematic frame: # C  [ig7icd64.dll+0x6d683] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\christopher\AppData\Roaming\.minecraft\hs_err_pid7860.log # # If you would like to submit a bug report, please visit: #   http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed


My 10 years old web site is about niche content(cinema) news gallery. (its a news site; but %90 of pageviews are from galleries)  and i'm getting photographs from news agencies and public relation offices.  i have imagesitemap on my webmastertools page; and has no error.  but, %2-3% of images are indexed by google.   think that, i making news about OSCAR Awards Ceremony. i write 3 paragraph article about it; and add gallery, which i get photos from agency.  my photos cant be unique or first.. of course someone used before me.. but its uniqe or first with turkish content. why am i not in search result in google.com.tr?  and what do you suggest the gallery-intensive web sites as like mine? (adding watermark, or some text detail is not working)


What do the "Energy Impact" numbers displayed in the new OSX 10.9 mean and how are they calculated?

I love the new energy tab in OSX 10.9 mostly because I love data about my machine.  I'm curious how the energy impact is calculated, and what the number represents.    It seems clear from using the OS for a week that apps that are running more CUP/memory intense processes (for me: Mathematica and MATLAB) use more energy, or apps that can't take a nap (like listening to pandora in google chrome).    What isn't displayed are some of the bigger energy hogs on a portable: Display settings, WiFi, Bluetooth.  I'm wondering if some of this is wrapped into current apps (i.e., if i'm using safari or chrome full screen, will the display power be lumped into this app?) Do display preferences for the app change the energy being used (i.e., working in a text editor with a white-on black scheme instead of black-on white would theoretically use less energy to display).    If these are percents, they do not sum to 100, which is a little annoying.


ConcurrentModificationException -> How can I change my code to stop it from throwing this error?

for (FPlayer p : fPlayer.getFaction().getOnline()) {             p.setFaction(null);            }   Basically, the getOnline method returns an array list of the current FPlayers that are online. When the FPlayer is removed from their faction, the faction is set to null (p.setFaction(null)).  I cannot think about how to change my code to stop it from throwing the ConcurrentModificationException. I have used an iterator but still, it.next().setFaction(null) still throws the same exception.  EDIT: USING A LIST ITERATOR:      ListIterator<FPlayer> it = fPlayer.getFaction().getOnline().listIterator();     while (it.hasNext()) {         it.next().setFaction(null);     }      Caused by: java.util.ConcurrentModificationException   At the line      it.next().setFaction(null)   EDIT #2: Set faction method:  public void setFaction(Faction faction) {     if (hasFaction()) {         this.faction.getOnline().remove(this);     }      this.faction = faction;     if (faction != null) {         this.faction.getOnline().add(this);     } }


Before I start, YES, I have done my own research - I know how annoying a repeat question is. Yet each answer is so specific to others...  When I tried the beta 2.8 64 bit, it says "Blender requires a driver with at least OpenGL 3.3 support. The program will now close."    The question: I know that it is true that 2.8 requires OpenGL 3.3. But does my PC not have it, doesn't support it, or do I have it and blender won't detect it? I'm not sure what info to include or what to look for, so here's my PC's specs:  Windows 10 (64 bit) Core -        Intel Core i5-2400 CPU @ 3.10GHz RAM -         8GB (7.89GB usable) System type - 64-bit Operating System, x64-based processor  Thanks!  EDIT: Graphics properties:


Asynchronous Automatic Refresh for my App part, is doing a full reload (synchronous page reload)

I have an announcement web App part, And I defined to have an asynchronous automatic refresh for my App Part each 60 seconds (as shown in the picture).   But I have noted that on Firefox, chrome and Safari the browser will do a full reload and not an Asynchronous reload. While only on IE the reload will be Asynchronous. I am facing a big issue as I am displaying some data inside pop-up dialogs, and when the browser is doing a full reload each 60 seconds the pop-up will be closed automacally..and of course i need the automaic reload to keep the data up-to-date.


Gathering sp_BlitzFirst data into a centralized database

I have setup a Central Management Server and registered all of my SQL servers (prods and devs). I want to save the results of sp_BlitzFirst from running it against all of my servers to a centralized database 'DBAtools' on my test box for later analysis. What is the most efficient method for achieving this task?  Thank you so much in advance.


Notification to Admin or Author upon new post

I am using a custom function with 'publish_post' hook for a notification to the author when the post has been published but the issue I am facing right now is that the notification is being sent out twice and as well when the post is updated. Here is how my function looks.  function authorNotification($post_id) {    $post = get_post($post_id);    $author = get_userdata($post->post_author);     $message = "       Hi ".$author->display_name.",       New post, ".$post->post_title." has just been published at ".get_permalink( $post_id ).".    ";    wp_mail($author->user_email, "New Post Published", $message); } add_action('publish_post', 'authorNotification');   am I missing something here?


Please don't allow a single mod the ability to close a question

Recently I asked , and it was closed as off-topic (wrongfully, in my opinion). The  I raised didn't get much activity.  All I'm saying, I like Stack Exchange because it takes 5 to tango. I don't want to reopen the question, I just to ask you please, don't let one person close a question, whoever that person may be, for whatever reason.   Even Linus Torvalds, the beloved dictator made bad decisions. Democracy is beautiful, that's all I have to say.


What is the solution for authorizing linux users?

Entire company uses Linux distributions for users and and servers solutions. Company employees, when authenticate themselves to pc and are connected do company internal network, should get authorization for various internal applications accesable over web interface, file servers and other utility services. Users can fork from home, offshore and so on, connected over vpn or work inside company physically. What are solutions for authorizing user for various application access and their rights ?


Show that if $a+bi$ is irreducible over $\mathbb{Z} [i]$ then $a^2 + b^2$ is prime over $\mathbb{Z} $ . (a,b are non-zero integers)  I know that $\mathbb{Z} [i]$ is a Euclidean domain and so  $a+bi$ is prime in it. Can I say that as the norm of  $a+bi$ is $a^2 + b^2$ that $a^2 + b^2$ must be prime over $\mathbb{Z} $? This doesn't seem correct to me but it's the best try I have been able to come up with.


My object is sliding in video after rendering

So I have been trying to learn how to do motion tracking and I have a good solve error of 0.5507. I thought that after I rendered my object in my video wouldn't experience any irrational moving or sliding but I was wrong. I don't know what I'm doing wrong...      Is it these spikes in my graph that is causing it to slide around? I've read that deleting these spikes will get rid of the sliding, but literally all of my tracks do this so deleting the spike would mean deleting all my tracks.    anyone know how to fix this?  Also here are the files so you can take a look at it all yourself.


When an obstacle is put in the path of a liquid jet, some standing waves are created upstream of the obstacle (see the pic. this great picture is taken by a Persian student, Seyyed Ali Madani. his one of my friends and he let me to use this)   or we can say a similar form like this for them ( the wavelength of standing waves are much larger than the from below )  This way, if the contact point is illuminated by a laser beam, around the waves, we'll have rings of light.  I tried to justify this with internal reflections inside the water jet, but you know, it's very hard to draw it. can anybody help me with that? What's the reason of these light rings   I don't want the reason of standing waves, I want the reason of light rings


Is it possible to delete multiple elements from a list at the same time? If I want to delete elements at index 0 and 2, and try something like del somelist[0], followed by del somelist[2], the second statement will actually delete somelist[3].  I suppose I could always delete the higher numbered elements first but I'm hoping there is a better way.


Why do we use ctrl + c / ctrl + x / ctrl + z in terminal?

Why do we have to use all this shortcut to quit the programs in terminal ?  For example :   ctrl+c in order to quit top ctrl+z in order to quit man ctrl+x in order to quit nano   ctrl+c isn't suppose to kill the program ?


This question comes from the 2007 IMO shortlist:     Find all integers $a,b,c$ such that $ab-c$, $bc-a$ and $ca-b$ are powers of two (of the form $2^k$ where $k \geq0$).   What are some methods of finding solutions?


Is it "is buried" or "was buried" in the following sentence?

Below is an example sentence from Collins English Dictionary. I wonder if there is a mistake in this sentence and if we should replace "is buried" with "was buried," as the first part of the sentence is past tense.  He died a pauper and is buried in an unmarked grave.


Hi i have a setup like this:  Windows: SSD Drive - there is everything that the Windows uses (partition, boot manager etc) HDD Drive 500 gb - 400gb partition that Windows is using.  HDD Drive 100gb of 500gb - I have linux here, /root , /home /boot /swap partition.  Can I safely hibernate windows and boot to windows or other way around - hibernate linux and boot to windows? I am not that advanced in this matter and after reading some answers here I still can't tell for myself. Can you help me out?


Unmet dependency while installing cnijfilter-mp550series package

I've been using my Canon MP550 printer for some Ubuntu versions now, and installation always worked:  $ sudo add-apt-repository ppa:michael-gruz/canon-trunk   $ sudo apt-get update   $ sudo apt-get install cnijfilter-mp550series   However, with a fresh 14.04 install I get this unmet dependency problem:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may  to resolve the situation:  The following packages have unmet dependencies:   cnijfilter-mp550series: i386: Depends: libtiff4: i386 (> 3. 9. 5-3~) but   it is not installable E: Unable to correct problems, you have held   broken packages.


After a win10 upgrade gone wrong, my boot sequence is broken and now I can't write on my BTRFS partition.  Here's the content of my ssd  Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc4476e04  Device     Boot     Start       End   Sectors   Size Id Type /dev/sda1            2048    206847    204800   100M  7 HPFS/NTFS/exFAT /dev/sda2  *       206848 566209347 566002500 269.9G  7 HPFS/NTFS/exFAT /dev/sda3       566210560 567169023    958464   468M 27 Hidden NTFS WinRE /dev/sda4       567171072 976773167 409602096 195.3G  5 Extended /dev/sda5       567173120 976773119 409600000 195.3G 83 Linux   sda5 is my BTRFS partition, it contains  @  @apt-snapshot-release-upgrade-wily-2015-11-20_20:54:08  @home  boot   DF is telling there is no space left on device  df Filesystem     1K-blocks      Used Available Use% Mounted on /dev/sda5      204800000 149884472         0 100% / udev            12307620         0  12307620   0% /dev  df -i Filesystem      Inodes IUsed   IFree IUse% Mounted on /dev/sda5            0     0       0     - / udev           3076905   777 3076128    1% /dev   However, 204800000 1K-blocks minus 149884472 used equal 54915528 KB free, Gparted and Palimpsest are also reporting more than 50GB free.  As , I tried to rebalance the FS  sudo btrfs fi show Label: none  uuid: b6a97e55-1a85-4175-9fd8-3f3a623d527b Total devices 1 FS bytes used 142.48GiB devid    1 size 195.31GiB used 195.31GiB path /dev/sda5  sudo btrfs fi df /media/ubuntu/b6a97e55-1a85-4175-9fd8-3f3a623d527b/ Data, single: total=193.56GiB, used=141.15GiB System, single: total=4.00MiB, used=48.00KiB Metadata, single: total=1.75GiB, used=1.29GiB GlobalReserve, single: total=512.00MiB, used=39.28MiB  sudo btrfs fi balance start -dusage=5 /media/ubuntu /b6a97e55-1a85-4175-9fd8-3f3a623d527b/ ERROR: error during balancing '/media/ubuntu/b6a97e55-1a85-4175-9fd8-3f3a623d527b/': No space left on device There may be more info in syslog - try dmesg | tail  dmesg | tail [ 3059.160230] BTRFS info (device sda5): disk space caching is enabled [ 3059.203601] BTRFS info (device sda5): detected SSD devices, enabling SSD mode [ 3059.204291] BTRFS info (device sda5): checking UUID tree [ 3059.206664] BTRFS warning (device sda5): btrfs_uuid_scan_kthread failed -28 [ 3201.876349] BTRFS info (device sda5): 4 enospc errors during balance   Ubuntu on this partition was totally fine before the windows upgrade.  What can I try to repair the BTRFS partition?  Thanks  Edit : Finally found the solution   Turns out the metadata was full and I had to add an empty device in order to rebalance the FS. No idea why this happened.


Is there a math basis for what I observe in simulations?

I am stuck in my research with the following problem which occurs when proving a theorem.          If $x,y\in \mathbb{R}^+$ and $x>y$, is it true that     $(x-y)^{((x-y)/(2x-y))}\times (x+y)^{(x/(2x-y))}>x$?      I plugged in a range of values for $x$ and $y$ and always found this holds. However I am not sure how one can prove a statement of this nature? Can someone help me with this?


Matrix representation of $\operatorname{Aut}(\mathbb{Z}_2\times\mathbb{Z}_2)\cong\mathbb{S}_3$

We can show that $\operatorname{Aut}(\mathbb{Z}_{2}\times\mathbb{Z}_2)\cong\mathbb{S}_3$ in two ways:   (a). One way is to show that any automorphism is determined by an invertible 2-by-2 matrix with entries in $\mathbb{Z}_2$, that there are six such matrices, and that they form a group isomorphic to $S_3$.      I don't quite understand how to show that any automorphism is determined by such 2-by-2 matrix, e.g. what matrix are we looking for and how do they determine the automorphism. Can someone please enlighten me with, maybe, some concrete examples? Thanks!  Edit: This is not a duplicate as I'm not looking for a proof but rather seeking examples of this particular way of looking at the problem.


How to save settings on bootable USB drive?

I have a bootable USB drive w/Ubuntu 10.04.  I use it to learn Ubuntu and to diagnose, repair, or recover other people's computers and files.  The problem comes when I constantly have to keep re-downloading the tools I need.  Is there a way to keep the tools I downloaded and keep Ubuntu they way I customized it (i.e. wallpaper, graphic options, icons on desktop, etc.) without installing it on the PC?  I want to be able to keep everything on my USB drive.


I need help for modifying the margins for only one slide in the beamer class   In other words, I need a local version of   \setbeamersize{text margin left=<size>,text margin right=<size>}    in here  \documentclass{beamer} \usetheme{Rochester} \usepackage{lipsum}  \setbeamersize{text margin left=5pt,text margin right=5pt}  \begin{document}  \begin{frame} \lipsum[2] \end{frame}  \end{document}


Distribution of ratio between two independent uniform random variables

Supppse $X$ and $Y$ are standard uniformly distributed in $[0, 1]$, and they are independent, what is the PDF of $Z = Y / X$?   The answer from some probability theory textbook is  $$ f_Z(z) =  \begin{cases} 1/2, & \text{if } 0 \le z \le 1 \\ 1/(2z^2), & \text{if } z > 1 \\  0, & \text{otherwise}. \end{cases} $$  I am wondering, by symmetry, shouldn't $f_Z(1/2) = f_Z(2)$? This is not the case according to the PDF above.


I was thinking about the following problem : Find out which of the following option(s) is/are correct? The differential equation $xu_{x}+yu_{y}=2u$ satisfying the initial condition $y=xg(x),u=f(x)$, with  (a)$f(x)=2x,g(x)=1$ has no solution, (b)$f(x)=2x^2,g(x)=1$ has infinite number of solutions, (c)$f(x)=x^3,g(x)=x$ has a unique solution, (d)$f(x)=x^4,g(x)=x$ has a unique solution.  My Attempt: Using lagrange's method, we see that $\frac{dx}{x}=\frac{dy}{y}=\frac{du}{2u} $ gives $y/x=c_1,$ and $y=\sqrt uc_2$ ,where $c_1,c_2$ being constants. Now we have to apply to the given initial conditions  and  check the given options.Here ,I observe that $y=xg(x)=x.1=x$,[as $g(x)=1$] and $u=f(x)=2x^2$But,this relation does not satisfy $xu_{x}+yu_{y}=2u$ and so the choice"(a)$f(x)=2x,g(x)=1$ has no solution," is right. Now I am stuck here and could not progress further.Am i going in the right direction? Please help.Thanks in advance for your time.


I heard people saying something like this:     We have to "rescrew" [e.g.] a tissue box holster to the wall.   I'm not sure, is the syllable "re" common? It seems this is not too commonly used.  What are possible synonyms / more common terms?


Custom Taxonomy: show one or the other term

I have registered a taxonomy called location - I have then created a taxonomy file called taxonomy-location.php which is fine and returns all the terms within that taxonomy.   Say I have a 2 terms one called London and the other called Birmingham - I am able to do this:  $property = array( 'post_type' => 'properties'); $loop = new WP_Query(array(     'post_type' => $property,     'tax_query' => array(         'relation' => 'AND',         array(             'taxonomy' => 'location',             'field'    => 'slug',             'terms'    => 'london'         ),     ), ));   but when I head to the Birmingham term it only returns results for London - which is expected because I set the term to London for all of them.  My question is how do I make it only return only that taxonomy term?  Extra Info: I am registering my Custom Post Type and Taxonomies inside a Plugin


This question is motivated from an exercise from Rudin. The exercise says that prove that set of all algebraic numbers is countable.   Proof: We know that a number $z$ is called algebraic if it is the root of a polynomial $a_0z^n+a_1z^{n-1}+\cdots +a_n=0$, where $a_i$'s $\in \Bbb{Z}$. Since there are only finitely many equations of the form $n+|a_0|+|a_1|+\cdots+|a_n|=N$ for a positive integer $N$ this implies there are only finitely many such polynomials. Now since each of these polynomials have finitely many roots therefore there are countably many algebraic numbers.   Now the next exercise in the process asks us to prove that there is a real number which is not algebraic which is very trivial. So this proves that there exists transcendental numbers. Also this shows that there are uncountably many of them. So that means there are fairly many of them.   But where are they? Now if there were uncountably many of them then it should be fairly easy to find them but it is not . Because we can get all sorts of wonky numbers being the root of polynomials.    mentions all the transcendental numbers and the numbers which might be transcendental. These do not seem to be many. So what about the rest of the transcendental numbers. Where are they? And why is it so difficult to find them and prove that they are transcendental?   A side question: Is there some nice property that the class of all these transcendental numbers might satisfy . By a nice property I mean that if I take all transcendental numbers and form a group then what about the isomorphisms on this group. Similarly what about if I take all transcendental numbers and form a topological space?  Note: Now if this is a question that has already been asked then please do notify me in the comments I will delete this question


Example of $2$ non-isomorphic groups that have the same quotients

I'm looking for an example of $2$ non isomorphic groups $G_1,G_2$  that are finitely generated and presented that have the same finite quotients (up to isomorphism) .  Thanks


Can I re-ask a foreign question, if the answers aren't sufficient enough for me?

User A asks a question, user B answers it and A marks B's answer as accepted. I however realize that B's answer is not entirely wrong but is totally not solving the issue for me.  How and where can I state my problem, how can I ask for further information, how can I make the stack-community re-think this question from a different angle?   I could comment on B's answer, but this would make just him think about it. This will also not un-mark his/her answer as accepted. I could edit the question of A and state "Edited by Blauhirn: The given solution may be working, but lacks the following problem: ...". Is this how edits are supposed to be used? It seems to me I should be commenting on A's question instead, but this will again not bump the entire question. I could re-ask the question myself and include "The question was already answered here, but it is not working for me." But since I'd basically be asking the same question again, it would get marked as duplicate.    Commenting is never satisfying anyway, for the commented post's author could be inactive.    edit: I flagged this very question as duplicate because I just found a similar one


Doing some very basic decimal maths in Ruby (x = 1/b * c).   a = BigDecimal.new("1");  b = BigDecimal.new("0.8903");  c = BigDecimal.new("0.8903");  x = a / b * c;  puts x   Output: 0.9999999998379   To rule out problems I've simplified the test case to just one decimal (x = 1/b * b)  a = BigDecimal.new("1");  b = BigDecimal.new("0.8903");  x = a / b * b;  puts x   Output: 0.9999999998379   However rearranging the original formula to x = c / b gives the correct answer.  a = BigDecimal.new("1");  b = BigDecimal.new("0.8903");  c = BigDecimal.new("0.8903");  x = c / b;  puts x   Output: 1.0   Any ideas what's causing this or whether this is a BigDecimal bug?  Thanks for the comment telling me what's wrong with floating point maths, that's why I'm using BigDecimal not floats, unless BigDecimal also has the same issue?


Why is my footer not staying at the bottom of the page?

I am working on my first ever website and it seems that I've run into a problem. I've created a footer, however it does not stay at the bottom.The footer messes up everything else in the page and distorts my items. What should I add in order make my footer stick to the bottom with causing any trouble to the rest of my page?. Here is my code.   * { margin: auto; padding: auto; box-sizing: border-box; font-family: Century Gothic; }  header { height: 15%; background-size: cover; background-position: center; background-color: #ebebeb; border-bottom: 5px solid #A9A9A9; position: relative; }  html, body { font-size: .80em; margin: 0%; padding: 0%; color: #696969; height: 100%; width: 100%; }  .footer { background: #bfbfbf; color: #d3d3d3; height: 300px; position: relative; }  s .footer .footer-content { border: 1px solid red; height: 400px; }  .footer .footer-bottom { background: #343a40; color: #686868; height: 50px; width: 100%; text-align: center; position: absolute; bottom: 0px; left: 0px; padding-top: 20px; }  .footer-section-socials h1 { margin-left: 6%; margin-top: -1%; font-weight: 50; font-size: 150%; color: black; }  .logo-footer h1 { padding: 1.5%; margin-left: 3%; font-family: Leckerli One; color: black; font-size: 3.1875rem; }  .footer-about { margin-left: 2%; margin-right: 0%; }

             &copy; #.com | Designed by #

     Help in advance!


Find a basis of the $k$ vector space $k(x)$

Suppose $x$ is a transcendental over field $k$ and $k(x)$ is the field of fractions of $k[x]$. Can we explicitly express a basis of the $k$ vector space $k(x)$？


understanding CPU,RAM,and Hard Disk Drive

I'm currently reading about how the computer works, specifically how the CPU, RAM, hard disk drive work together simultaneously.  According to what I have read, the CPU uses what is called a control unit to get the data from RAM. And then processes the data.  But before the CPU can get data from RAM, the data must be loaded from the Hard Drive to RAM since access to RAM is faster than access to the Hard Drive.  My question is: Can the CPU get data directly from the Hard drive?  How does the Hard disk drive transfer data or load the data to RAM? Just as the CPU to RAM using control unit?  I have read a little about I/O disk. Has I/O disk something to do with this?


How can I make a plane's edges taper inwards?

How can I deform one edge or multiple edges of a plane or cube so they are tapered in and rounded equally?


How can $\Lambda^0$ and $\Sigma^0$ both have $uds$ quark content?

Title says it all: How can  and  both have $uds$ quark content? Doesn't this make them the same baryon?


How can I check if a user has a certain role?  I found  but it is for Drupal 6.


Chosing a reference frame in which the Earth is at rest and doesn't rotate

We may choose a non-rotating earth as our reference frame and ask ourselves: how about the planetary and stellar motions. A star at a distance of 10 million light years would turn around the earth in 24h with a velocity of 10^18 m/s.   A friend once told me that actually articles have been published delving into this problem, e.g. to prove that fictitious forces emerge from the choice of such a bizar reference frame that ensure that the earth is still (somewhat) flattened at it's poles.  Questions:  1) Does anybody know of such a publication?  2) I know that even such speeds of 10^18 m/s are not in contradiction with relativity because a limiting velocity only exists for exchange of information, which apparantly does not occur. Still: could anybody explain why such bizar velocities are allowed?


Is it safe to eat the skin of a baked or boiled potato, or are there any health or sanitary reasons not to eat it?  Contrarily, are there any reasons to eat it, e.g. does the skin contain vitamins or minerals which you would cut off by peeling?  EDIT: There is a related question  that asks specifically for red potatoes. This question covers yellow potatoes as well.


I'm still working on my Lego project and I want to add Eyes and Mouth to the character. But somehow only the Eyes are being rendered.  I've already watched a lot of tutorials where they showed me a few different ways to get to this.     I hope you can help me with this Problem because I can't move forward wihtout it.  Thanks a lot. Greetings  W.Zayde


Variation of Pythagorean triplets: $x^2+y^2 = z^3$

I need to prove that the equation $x^2 + y^2  = z^3$ has infinitely many solutions for positive $x, y$ and $z$. I got to as far as $4^3 = 8^2$ but that seems to be of no help.  Can some one help me with it?


read file record by record and do transformation to the subsequent record based on above record and write into another file

Data file is fixed length file, and I want to read the file record by record and do transformations to the subsequent records based on the prior records (and write the results into another file).  Example:  CTD1234abcdTRN0001 AA 5678defg BB 8910erty CTD5678qwerTRN5678 AA 9876bvcn BB 8765zxcv   Now I want TRN0001 from the CTD record to be written to the subsequent AA and BB records, similarly for the following CTD records. My output should look like:  CTD1234abcdTRN0001 AA 5678defgTRN0001 BB 8910ertyTRN0001 CTD5678qwerTRN5678 AA 9876bvcnTRN5678 BB 8765zxcvTRN5678   Example 2:  AAABBBB11115678xxxx BBBCCCC22221234YYYY MTD0001abcdTRN12345 abcdedfg AA 0002bcde BB 0003defg CCCDDDD33331234zzzz MTD0003qwerTRN56789 defghigk AA 9876bvcn BB 8765zxcv XXXBBBB11115678aaaa YYYCCCC22221234bbbb    should become  AAABBBB11115678xxxx BBBCCCC22221234YYYY MTD0001abcdTRN12345 abcdedfg AA 0002bcdeTRN12345 BB 0003defgTRN12345 CCCDDDD33331234zzzz MTD0003qwerTRN56789 defghigk AA 9876bvcnTRN56789 BB 8765zxcvTRN56789 XXXBBBB11115678aaaa YYYCCCC22221234bbbb    Can you please help me on this, how can you achieve this using UNIX shell scripting?


Respond to the statement with so am i or so do i

What would be the correct way to respond the statement "I usually start at 8.00 a.m. in the morning"  should i answer with so am I or so do i?