I was trying to create a dual boot of Windows 8 and Ubuntu. I successfully installed Ubuntu on the hard disk but it wasn't able to boot so I went through boot-repair which said that I should put a certain file as EFI. I did that, restarted and only Acer logo appeared with nothing else. F2 didn't work, I couldn't get to BIOS any other way.  What I have tried:   Re-seat the RAM Trying to boot with other hard drives  Trying to boot from flash drive Trying to boot from CD (and all possible combinations with these three) Downloaded BIOS update from the Acer website (), but it only has a version to flash from within Windows (.exe file, but I can't boot to Windows or anything else at all) Shorted JCMOS1 jumper for 20 seconds after which the ACER logo disapeared and instead:   After I press the power key, a completely black screen appears for about 5 seconds. After that the backlight on the monitor turns on and the message "Press  to enter Setup." appears on the very bottom. Pressing F2 does nothing. If I hold Fn+Esc and then power up, system info appears (Insyde H2O EFI 3.7, Copyright... System BIOS version: v2.13, Processor type etc.) on top and the "Press F2 to enter Setup." on the bottom.    Pressing F2 removes the bottom message and scrolls one line up but nothing else. Pressing Alt+F10 removes the bottom message, scrolls about 4 lines but nothing else.   I opened the laptop completely, removed the CMOS battery for about an hour, shorted the JCMOS1 pin once again, put it back - nothing.   Any ideas are very welcome!  Thanks!

I was trying to create a dual boot of Windows 8 and Ubuntu. I successfully installed Ubuntu on the hard disk but it wasn't able to boot so I went through boot-repair which said that I should put a certain file as EFI. I did that, restarted and only Acer logo appeared with nothing else. F2 didn't work, I couldn't get to BIOS any other way.  What I have tried:   Reseat the RAM Plug-in, plug-out hard drive Trying to plug only a bootable flash drive Trying to boot from CD Downloaded BIOS update from the acer website, but it only has a version from within Windows (which I can't access). Shorted JCMOS1 jumper for 20 seconds after which the ACER logo dissapeared and insted:   A black screen appears after I press the power key for about 5 seconds and then only a message "Press  to enter Setup." appears If I hold Fn+Esc and then power up, system info appears (Insyde H2O EFI 3.7, Copyright... System BIOS version: v2.13, Processor type etc) and the "Press  to enter Setup." on the bottom On pressing F2 the message "Press  to enter Setup." dissapears but nothing happens    Any other ideas are very welcome!  Thanks!


I need to prove that every permutation $\sigma \in S_n, \sigma \neq id$ can be written as a distinct product of disjoint cycles and don't really know where to start. The statement is totally clear, but I cannot think of an elegant way to proof its correctness.

I have attempted a proof of this, but upon looking at my notes, I feel it might be incorrect: it is noticeably simpler than the one in my notes.  Proposition: any permutation in $S_n$ can be written as a product of disjoint cycles.  Proof (attempt): $s\in S_n$. Let $\langle s\rangle$ act on $X=\{1,\cdots,n\}$. Define $x\sim x'\iff x'\in\text{Orb}(x)$ for $x,x'\in X:$ this is clearly an equivalent relation, hence the orbits partition $X$. Each orbit corresponds a cycle in $s$, so we are done.  Does this hold, or have I missed something vital?


Has DEV 401 been discontinued? what about dev maintainance exam? are we supposed to take it or not?  I answered platform 1 transition exam and have passed that. What is the whole new change, i am bit confused as the maintenance exam last date is approaching.

I'm a little bit confused about the new Salesforce Platform Developer I certificate. Is it a replacement of the old developer certificate (DEV-401)? If so, does DEV-401 certified developers need to pass the new one to be recognized as Salesforce developers?  The same applies to the new Platform Developer II. Does it replace DEV-501?  Thanks!


How do i upgrade my Huawei Ascend Y530 phone to KitKat or Lollipop? Please, no surveys. Also, it is the MEO version (100 euros), not the Original (120 euros). It is rooted and currently running Android 4.3

This Community Wiki question is designed to be the "canonical question" for questions asking how to upgrade one's device to a new Android version.   I want to get a newer version of the OS for my Android device. How can I do that?  See also:


From the definition of a subgraph:     A graph whose vertices and edges are subsets of another graph.   Source:   However, I am not able to apply it on the actual graphs.   Suppose I have 2 graphs (please see the images), how to prove that the   is the subgraph of .

Let $T$ be a tree with $k$ edges, and let $G$ be a graph where every vertex has degree at least $k$. Prove that $T$ is a subgraph of $G$.   Can someone give me tips/help on how to solve this problem?


This article states .  E.g. you can subscribe as follows:  d.Barked += (s, e) => Console.WriteLine("Bark: {0}", e);   but you can't unsubscribe like this:  d.Barked -= (s, e) => Console.WriteLine("Bark: {0}", e);    Why? What's the difference between this and unsubscribing from a delegate, e.g.  EventHandler<string> handler = (s, e) => Console.WriteLine("Bark: {0}", e); d.Barked += handler;  // ...  d.Barked -= handler;

Is it possible to unsubscribe an anonymous method from an event?  If I subscribe to an event like this:  void MyMethod() {     Console.WriteLine("I did it!"); }  MyEvent += MyMethod;   I can un-subscribe like this:  MyEvent -= MyMethod;   But if I subscribe using an anonymous method:  MyEvent += delegate(){Console.WriteLine("I did it!");};   is it possible to unsubscribe this anonymous method?  If so, how?


In QGIS is it possible that when I create a shapefile and give it a file name e.g. Site, that I can assign symbology to that automatically?  I have a set symbol for Site and many other features but would love it if I could auto assign the symbology based on the file name.  I know this is possible in ArcMap but am trying to find out whether this can be done in QGIS.

I am creating a polygon feature layer with soil classes in QGIS.   I need to share this layer with some colleagues and I need the layer to maintain the color ramp I have created.   Is there any specific format where the color ramp is saved together with the layer?   Since I don´t know how to do that, I was thinking on saving the color ramp that I created as a style.   How can I export this style?


I wonder why $E|X|=\int_{0}^{\infty} P[|X|>t] dt$. X is a positive random variable with density $f_X$  What I have done so far $$\int_{0}^{\infty} P[|X|>t] dt = \int_{0}^{\infty} \int_{t}^{\infty} f_X (y) dy dt =  \int_{0}^{\infty} \int_{0}^{y} f_X (y) dt dy $$  From there, I am not sure how to proceed.  Thanks in advance!

Let $X$ be a non-negative random variable and $F_{X}$ the corresponding CDF. Show,   $$E(X) = \int_0^\infty (1-F_X (t)) \, dt$$   when $X$ has : a) a discrete distribution, b) a continuous distribution.   I assumed that for the case of a continuous distribution, since $F_X (t) = \mathbb{P}(X\leq t)$, then $1-F_X (t) = 1- \mathbb{P}(X\leq t) = \mathbb{P}(X>  t)$. Although how useful integrating that is, I really have no idea.


I need to append one trail record to both the files.   cat file1 >> file2   this appends everything in file1 to file2  My requirement is to append to file1 content to both file2 and file3.

I have an application which will produce a large amount of data which I do not wish to store onto the disk. The application mostly outputs data which I do not wish to use, but a set of useful information that must be split into separate files. For example, given the following output:  JUNK JUNK JUNK JUNK A 1 JUNK B 5 C 1 JUNK   I could run the application three times like so:  ./app | grep A > A.out ./app | grep B > B.out ./app | grep C > C.out   This would get me what I want, but it would take too long. I also don't want to dump all the outputs to a single file and parse through that.  Is there any way to combine the three operations shown above in such a way that I only need to run the application once and still get three separate output files?


I am working on a Java project that deals with projecting a grid to the user using the paint() method along with a JFrame and Canvas.  I have a class called Runner, which includes my main method.  Within Runner, I have the java paint() method.  I also have a public variable of type Player within the Runner class.  The problem arises when I try to call a public function of the Player instance variable. I get the following run-time error:    Can you not call other functions from inside the paint() method? The Java documentation didn't mention that that action would be bad, as far as I can tell with my limited Java understanding.  I will include some of my code below. I will do my best to only include pieces of the code that are relevant to the problem to make your job easier.  This statement is within my class Runner:  //Player public Player player;   Here is the code from the paint method:   public void paint(Graphics g) {     //(Code that draws grid from 2D array to screen)     // . . .      //Draw player     int playerX = 1 + (int)numRows/2;     int playerY = 1 + (int)numCols/2;      //CAUSE OF ERROR*******************     //Sets playerX and playerY     player.setPlayerX(playerX);     player.setPlayerY(playerY);     //*********************************     array[playerX][playerY] = 1; }   Here is the code from the class Player:  public class Player {  private int playerX; private int playerY; private int playerHealth;  //Constructor Player() {     playerHealth = 100; }  //Getters // . . .  //Setters public void setPlayerX(int x) {     playerX = x; }  public void setPlayerY(int y) {     playerY = y; } }   If more code is needed to diagnose the issue please let me know and I will happily provide it. Thank you so much for your time.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I know that "would have" is usually used in a hypothetic situation.  For example, "I would have done that had I been able to" is not a real situation but a hypothetic scenario.   However, other similar structures, such as "might have" and "could have" can also be used to mean "assumption" or "conjecture".  For example, "He might have stolen the money", means that someone might have been the thief.  So, I would like to know if "would have" can be used in the same way.  For example, can I say "I don't know who would have done that except John" or "Only John would have done that"  Any advice and opinions are welcome.  Thanks in advance!

I've recently noticed that a few people I know, all native American English speakers in their 50s-70s and originally from the Midwest, use "would have" and related forms when talking about factual events that happened relatively long ago.  Here's a made-up example of what I mean:  Upon seeing George Washington's house, one might say "This is where Washington would have lived." instead of "This is where Washington lived."  Another example: "I would've been born in that hospital." as equivalent to "I was born in that hospital."  This sentence, however, isn't an example: "I would have had lunch with her every day last week." It doesn't work because it's insufficiently far in the past.  As @Cascabel notes, it's better to have real examples than made-up ones. So, I hopped on the phone and asked one of the "would have" users a history question (he's a baseball historian) without mentioning my goal. Sure enough, here are a few non-made-up examples:   "He would've been there from 1941-1963, excluding a brief period he took off for the war." "My father would've taken me to see him for my tenth and eleventh birthdays." "It wouldn't have been uncommon for baseball players to have had second jobs back then - it certainly wasn't like today."   Is this a regionalism? A generationally-related usage? Or is it some other phenomenon I don't know the name of? I've only seen a handful of people do this, so, for all I know, they're the only ones.  Is there a name for this sort of usage? I'm not quite sure what to call it, which has made searching for it somewhat difficult, and it's very possible that I've missed an already existing answer.


In a C# code I need to create several log4net loggers with different names to differentiate the logs written. One logger can be called MyNamespace.MyClass.1, another one MyNamespace.MyClass.2, etc. The logs are then written in several files: MyNamespace.MyClass.1.log, MyNamespace.MyClass.2.log, etc.  The problem is that a have to manually add paragraphs in the configuration, each paragraph corresponding to only one logger name.  <appender name="logger1" type="log4net.Appender.RollingFileAppender">   <file value="Logs/MyNamespace.MyClass.1.log" />   <appendToFile value="true" />   <rollingStyle value="Size" />   <maximumFileSize value="2MB" />   <maxSizeRollBackups value="10" />   <staticLogFileName value="true" />   <threshold value="INFO" />   <layout type="log4net.Layout.PatternLayout">     <conversionPattern value="%date [%thread] %level %logger %ndc: %message (%file:%line)%newline" />   </layout> </appender>  <logger name="MyNamespace.MyClass.1">   <level value="INFO" />   <appender-ref ref="logger1" /> </logger>   Is there a solution to generalize for n logger without writing n times this code?

How to (programmatically, without xml config) configure multiple loggers with Log4Net? I need them to write to different files.


I have a shapefile with overlapping polygons, most overlaps are small. I want to remove all overlaps and get a new layer with similar but non overlapping polygons.  I don't care much which of a pair of polygon gets the overlapping section. I would rather not go over them one by one.  I've been using QGIS but am open to other tools.

Here is what I'd like to achieve in QGIS.   Is there a processing tool to remove the overlapping part of polygons?    It is also very important that they do not get merged during the process and that they keep their original attributes since I need to work with them afterwards.


How can I prove this equation?     $1 + \cos2C - \cos2A - \cos2B=4\sin A\sin B\sin C$   if we know that $A$, $B$, $C$ are a triangle's angles.  I have come to the point where on the left side I have  $-4 \cos A \cos B \cos C$.  On the other side I have   $4\sin A\sin B\sin C$.  Am I correct till now?

Given that $A$,$B$ and $C$ are angles of a triangle, show that $$1 + \cos 2C - \cos 2A - \cos 2B = 4\sin A\sin B\cos C$$


i have a text file ~/foo:  a b c a b c   i use sort foo -u, and that works correctly. I can use redirection operator ">" to save output into other file (f.e.: sort foo -u > bar), but when i want to save it into original file sort foo -u > foo i get empty file as a result. Why that has happend?

I have one input file and run some command but want the output to be saved with the same name as the input file has.  I tried below command but it makes the output file blank:  cat file1 | grep "YISHA" > file1


The concept seems simple enough. You can tell someone something without speaking out loud- You just implant the thoughts in their mind, so to speak. But can you only "talk" with telepathy, or does it also allow you to listen?  Example: There are two people. Only one of them has telepathy. This person tells the other something telepathically. Can the conversation continue telepathically? Can the telepath 'hear' the reaction as easily as the other person hears the original comment? Or do both people need telepathy for it to be an actual conversation?

According to the MM books, telepathy is described as:     A creature with this ability (supernatural) can communicate telepathically with any other creature within a certain range (specified in the creature's entry, usually 100 feet) that has a language. It is possible to address multiple creatures at once telepathically, although maintaining a telepathic conversation with more than one creature at a time is just as difficult as simultaneously speaking and listening to multiple people at the same time.   Source: MM, MM3   My questions:   If a creature with telepathy knows that someone is within 100ft, can the creature communicate with that person, even if there is no line of effect or sight?  My answer would be yes, because no book says that telepathy is blocked by walls, etc. Normally, a supernatural ability is a standard action to start. If the creature wanted to communicate for more than one round using telepathy, does the creature need to use up a standard action every round they are communicating or only in the first round?  My answer is only in the first round, since the description says that maintaining telepathy is hard as speaking and listening normally. If a person the creature is communicating with moves out of the 100ft range, and then moves back into the range. Does the telepathic link need to be established again?  My answer is yes, another standard action is needed to establish the telepathy between the two creatures.   I should add the telepathy is supernatural, and a character is looking at getting it from the Mindbender class (from Complete Arcane). And also get the Mindsight feat (Lords of Madness). I couldn't find anywhere to rule whether a supernatural ability should take a standard action every round it is on.


$$\int_{0}^{2\pi } \frac{\sin^{2} (x) }{5+4\cos(x)}\,\mathrm dx$$  I am having trouble parsing the square of sine in the numerator.  Could someone provide some hint?  Thanks.

Evaluate $$\int_0^{2\pi} \frac{\sin^2\theta}{5+4\cos(\theta)}\mathrm d\theta$$   This is the final question on my review for my final exam tomorrow, and I will be honest and say that I have no clue how to begin problem. Any hints in the direction of how to solve this would be helpful.  Following from @Adam Hughes,   $-\dfrac{\pi}{2}[f'(0)+Res_2]$When I took the derivative of $f(z)=\dfrac{(z^2-1)^2}{2z^2+5z+2}$ and evaluated for 0, I got $-\dfrac{5}{4}$ Now, $Res_2$


using a shell script i am ceating multiple screen in which i m running rsync cmnd with below syntax, n i m able to do so.  screen -dmS "$SESSION_NAME" "$COMMAND" "$ARGUMENTS"   but as soon as rsync completed , the screen which was generated with above syntax , automatically got terminated.  is there any way to avoid screen terminations ??

When running 'screen ls' the screen stops with the text [screen is terminating]. I would like screen to keep the session alive and reattach to it to see the output of ls.  Of course the real thing is that I don't run screen ls, but rather a screen fsck ..., so I would like to ensure that the screen is not terminating when this command is finished.  I would love to have an answer that is useful for an already existing running screen session, so some interactive keys like C-a ... or C-a : (Enter command line mode)


I am trying to resolve an issue following the steps of these instructions here . There is a step that wants me to execute this command:  sudo apt-get build-dep git   When I execute this command for some reason, I always get git version 1.9.1 I want version 2.10.1 Is there a way I can achieve this?

I read about a security flaw in Git, which was fixed in version 2.2.1. I currently have Git 2.1.0 on my system (Ubuntu 14.10), and tried to reinstall it with apt. However, apt told me that I currently have the latest version.  The Git website does not have prebuilt versions for Linux. They say that you can install it with package managers. Without building from source, how would I install the latest version of Git?


I entered USA in June for vacation and misplaced my passport. I need to go back to Nigeria ASAP though am permitted to stay in the USA for six months. Please what step do I need to take for me to replace the lost Visa in Nigeria. I planned to replace the lost passport before going back to my country.

I came here 2 months ago to visit my children in USA and last month I lost my passport with valid 5 years multiple entry visa. My visa was still valid for another 2 years which I have already lost. In the meantime I got my new passport from embassy of  Philippines and would like to ask a question:  Is it possible to replace my lost US visa in new passport in USA?


Let $X$ be a topological space. Let $U_i$ be an open cover, with the index $i$ running through some set $I$. For $i_0$, $i_1$, ..., $i_n \in I$, write $U_{i_0 i_1 \cdots i_n}$ for $U_{i_0} \cap \cdots \cap U_{i_p}$. $\def\cE{\mathcal{E}}$Let $F$ be a sheaf of abelian groups on $X$ and $F_{i_0,i_1,...i_n}:=F(U_{i_0 i_1 \cdots i_n})$, we will write the group operation additively.  Let $I$ to be a set of indices, and $i_0, i_1, i_2... \in I$. For each array $(i_0,i_1,...i_n)$ associate a set $F_{i_0,i_1,...i_n}$ and take  $$(f_{\large i_0,i_1,...i_n})_{i_0,i_1,...i_n\in I}\in \prod_{\large i_0,i_1,...i_n}F_{\large i_0,i_1,...i_n}.$$  Define $d((f_{\large i_0,i_1,...i_n})_{\large i_0,i_1,...i_n\in I})=(\sum_{i=0}^{n+1}(-1)^kf_{\large i_0,...\hat{i_k},...i_{n+1}}|U_{i_0 i_1 \cdots i_{n+1}})_{\large i_0,i_1,...i_{n+1}\in I} $  I wonder if the following statement is true:     Assume $d((f_{\large i_0,i_1,...i_n})_{\large i_0,i_1,...i_n\in I})=0$. If any two of the indices ${k_0,k_1,...k_n}$ are equal, then $f_{\large k_0,k_1,...k_n}=0$     See  for the description pf the cohomology w.r.t. an open cover and  for the original question(from Rick Miranda's book).  I have made no constructive approach to this problem so far. One idea is to prove it backwards, first prove that it's zero when all of the indices are equal, then it is zero. But there will be an evenness-oddness problem.    Update:  I referred to the wrong problem earlier. It should be problem N.

In Cech cohomology, the coboundary operator $$\delta:C^p(\underline U, \mathcal F)\to C^{p+1}(\underline U, \mathcal F) $$ is defined by the formula $$ (\delta \sigma)_{i_0,\dots, i_{p+1}} = \sum_{j=0}^{p+1}(-1)^j \sigma_{i_0,\dots, \hat {i_j},\dots i_{p+1}}{\Huge_|}_{U_{i_0}\cap\dots\cap U_{i_{p+1}}}. $$ In the book by Griffiths and Harris, the authors claim that $\delta\sigma=0$ implies the skew-symmetry condition $$ \sigma_{i_0,\dots,i_p} = -\sigma_{i_0,\dots, i_{q-1},i_{q+1},i_q,i_{q+2},\dots,i_p}. $$ How can I see this?  EDIT: Or is it possible that the skew symmetry is merely an assumption for all cochains?


Is it possible to connect ArcMap to Oracle without ArcGIS for Server?

I installed ArcGIS 10.2.2 ,oracle 11g R2 personal edition and it's client.I try to connect to the database using database connection in ArcMap but the error      Failed to connect to the specified server. Do you want to continue?   Cannot connect to database because the database client software failed   to load. Be sure the database client software is installed and   configure correctly.   raised when i want to connect . How to solve the problem ?


Just now I was writing a comment explaining some of the inner workings of jQuery to someone who was doing something like this in an answer:  $("li").each(function(){ $(this).click(function(){ var id = $(this).attr("id"); }); });   Sorry for hurting your eyes with that, but it is pretty much verbatim.  Clearly there is a lot going on there that would warrant some explanation to the poster because I think they misunderstood some aspects. So I set out posting a comment, it turned out to be 700 characters long (as in I was going to have to cut half, post, and then post a second one). I was trying to help, I even made sure to be cordial.  Unfortunately, as I clicked the post comment button, I was informed the post was deleted. There was really no where to go from there.  When a post is edited and I am looking at it, I see a "this answer has been edited" notification.   Please also include a "this answer has been deleted" notification.

At the moment SE shows us current voting results, a notification for new answers and comments, etc., instantly. However, it doesn't show us when a post is deleted.  Please notify us also when a post is deleted. Then I don't have to type a (long) comment, only to notice the post got deleted in the meantime.


I have four variables, three of them are I(1) and one of them is I(0). I'm using STATA as my software. Can I use Johansen's test to check for cointegration? I understood that all variables should be I(1)?  Have I missed something? Is there some other test that I should do?

Like the title says, I've got two time series, one is stationary to begin with and thus has no unit root, the other time serie is stationary after one-time differencing.   I want to create a model out of this and I know that when unit roots are present, I should test for cointegration. But I've read in  (1987) that cointegration tests are only to be done when you have two or more I(1) variables, is that correct?  So I cannot find in literature if I should now use a VAR model on differences or test for cointegration and perhaps do a Vector Error Correction model.  Can anyone help me? I would be very thankful!


Is there a real matrix $3 \times 3$ Matrix $B$ such that $B^2=A$ where $$A=\begin{bmatrix} 1 &  0& 0\\  0 & -1 & 0\\  0 & 0 & -1 \end{bmatrix}$$  I have written $A$ as  $$A=C-I$$  where   $$C= \begin{bmatrix} 2 &  0& 0\\  0 & 0 & 0\\  0 & 0 & 0 \end{bmatrix}$$  So $$B^2+I=C$$ and obviously  $$Det(B^2+I)=0$$  Any help here?

Prove that matrix   \begin{bmatrix}1&0&0\\0&-1&0\\0&0&-1\end{bmatrix}  can be square of matrix with all real entries.  I have found one such matrix to be   \begin{bmatrix}1&0&0\\0&1&-1\\0&2&-1\end{bmatrix} but is there an elegant way to do it without any trial and error?


Let $f_1 :~ ]a, b[ \to \mathbb{R}$ be continuous. Show that $f$ is uniformly continuous if and only if there is a continuous function $f_2: ~ [a, b] \to \mathbb{R}$ with $f_1(x) = f_2(x)$ for all $x \in ~]a, b[$. Having difficulties with proving the "$\Rightarrow$" implication.

Let $E \subset F \subset X$ and $f:E\rightarrow Y$. We say that the function $g:F\rightarrow Y$ is an extension of $f$ if $g(x) = f(x)$ for all $x \in E$.   Let $f: (a, b) \rightarrow \mathbb{R}$. Show that $f$ has a continuous extension to $[a, b]$ if and only if $f$ is uniformly continuous on $(a, b)$.   $(X,d)$ is a metric space.  Hint: To prove $\Leftarrow$ start by showing that $f$ maps Cauchy sequences to Cauchy sequences. Then how should you define $g(a)$ and $g(b)$?  The $\Rightarrow$ part of the proof was quite simple, but even with the hint, the other way seems a bit difficult. Doesn't the first part of the "hint" follow from the way we defined $f$? If so, how do I prove this? Help/Hints appreciated!


Some weeks ago I found out that some of my contacts in Gmail have two addresses, one with dot and one without a dot in their name. For example johndoe@gmail.com and john.doe@gmail.com.  First I thought my friends switched from dotted to non-dotted but now I realized, they never used the non-dotted address. The address just has been added automatically to all of my contacts with Gmail-addresses.  Does anyone know why? I don't like the idea of Google editing my contacts without asking me.  Clarification: I know that Gmail does not recognise dots in addresses. I know that the two addresses above are equal for Gmail. My question is about my contacts: Who edited them? I never added the addresses without dots but now they are there.

I was wondering why using foo.bar@gmail.com works but not foo.bar@outlook.com.  In Gmail, foo.bar@gmail.com and foobar@gmail.com (and any combination of periods in the username) is equivalent.  Is this a hidden feature in Gmail?


What is more correct? "A chef who's not an expert should never cook pufferfish, ______" 1.for he may be deadly poisoned if he does. or 2.for they will be surely poisoned if they do. I know that both "he" and "they" can be used when you don't know the gender of a person. But, if you have to choose between the two of these choices, which one will you choose? I think #2 is more appropriate but "be surely poisoned" sounds weird to me. Like, the grammar sounds so weird Which choice is more correct? Thanks in advance!

Is there a pronoun I can use as a gender-neutral pronoun when referring back to a singular noun phrase?  Each student should save his questions until the end. Each student should save her questions until the end.


Is radioactive decay able to be used for true randomness? And do we know if radioactive decay is truly random?  Edit. Here is a example true random number generator made using radioactive decay.  Would this be truly random if the first two questions are true?

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


After Loki fell from the crystal bridge in Asgard..    in the post-credits of Thor (2011), he was seen in the mirror, apparently possessing Dr. Selvig to gain information on the Tesseract..    The question is where did Loki end up falling?

In one of the concluding scenes of the movie Thor, it's shown that Loki deliberately let go of the Scepter, and falls deep into the vast intergalactic sea sort of thing. How does he survive and return in The Avengers?


That is a simple question and I can't start a simple desenveloment.  Just $k=5$ we have $4^5 = 1024 > 5^4 = 625$  for $k+1$: $4^{k+1} > (k+1)^4\Rightarrow 4^k > (k+1)^4/4$  And How can i proceed after that?  Best,

I know that it holds for $n=5$, so the first step is done.  For the second step, my IH is: $4^n > n^4$, and I must show that $4^{n+1} > (n+1)^4$. I did as follows:  $4^{n+1} = 4*4^n > 4n^4$, and if I show that $4n^4 > (n+1)^4$ holds for $n\geq 5$ I'm done, so I expand the right hand side and arrive to:  $$4n^4 > n^4 + 4n^3 + 6n^2 + 4n + 1$$  And this holds iff: $$3n^4 - 4n^3 - 6n^2 - 4n - 1 >0$$ And here I'm stuck, I don't really know how to show that the given inequality holds. Any hints?


I'm studing classical physics and i'm stuck with the simple pressure formula defined as:  $P=\frac{dF_{\perp }}{dS}$  Now, i know some calculus and the concept of infinitesimal in physics; however what i dont understand is :  according with the fact that $dF_{\perp }$ represent an infinitesimal change, it's an infinitesimal change from which quantity ?

This is pressure in Newtonian mechanics:   $$P=\frac {dF}{dA}.$$ What does this mean? (Doesn't it mean that force is a function of area?) What type of function is force?


I'm bought a laptop with the following configuration:  240 GB SSD for Windows 10 1 TB HDD  I have some important programs and documents on the HDD and I don´t want to loose them. I have reserved 50 GB of space to install Ubuntu 16.04 LTS on the seccondary HDD.  . I would like to install ubuntu in the 50 GB partition in HDD 1 and leave the SSD in its current state. How would I do it?  Edit:  I'm not just trying to install Ubuntu 16.04 LTS on a separate HDD, it must be on a partition of that HDD

Im not familiar with Ubuntu or Linux in general but have succesfully installed dual-boot windows7/Ubuntu on a single harddisk on my private PC. I used the "Install Ubuntu alongside them"-option.   On my work PC I have an existing windows 7 64-bit installation that boots from BIOS firmware on a SSD drive (C:), and have my working data (documents etc) on a partition on a separate disk (D:). I now want to install Ubuntu (v 14.04.3) on the remaining unformatted space on D:\ using with the option of choosing system using GRUB. There are of cause fine descriptions around (e.g.  and ). My question is how to setup the partitions in the "something else"- option during the Ubuntu installation.   In  tutorial they assume that all partitions on the D-drive can be deleted; however I only obviously want to keep the working data on the existing D-partition, and place Ubuntu on the residual space (or part of it) on the D:-drive.  A) How is this ensured ? B) how many partitions should I make (boot, root, home, swap ?)  C) and should boot be made primary, and the others logical ? D) Should I set Device for boot loader installation as/dev/sdb - will this not erase the existing D-partion ?


I'm using this stored procedure called . It's helping me wrap my head around the SQL Server system. However, there is one area that I can't yet figure out. On this one table sys.objects, you'll see it pulls from itself.  1> SELECT OBJECT_DEFINITION(OBJECT_ID('sys.objects')) 2> GO  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- CREATE VIEW sys.objects AS     SELECT name,        .. stuff.     FROM sys.objects$   Now I'm totally lost how is sys.objects selecting from sys.objects$ what is sys.objects$. Thinking there may be a table of the same name, I first tried to create a table and a view by the same name, but I can't do that. I get (f is the name I picked). You can't do this in any database I've ever used.  Msg 2714, Level 16, State 3, Server x230, Procedure f, Line 1 There is already an object named 'f' in the database.   Microsoft docs , it's not listed as a   The counterpart Catalog View, , and OBJECT_DEFINITION clearly shows that.  My guess is that the SQL here isn't the actually SQL the view is executing, but some kind of comment or description on it: meta-data of sort, and that it's bugged. But, I could be totally off.

Dumping some internal views, such as sys.system_objects as done in this question I see that some identifiers end with a dollar-sign $  CREATE VIEW sys.system_objects AS     -- cutout     FROM sys.sysschobjs$ o -- XXX: HERE     LEFT JOIN sys.syspalnames n     -- not relevant   And, this works too  SELECT * FROM sys.sysschobjs$;   Even if only by convention, what is the rule here regarding this? Should I be using this in my own code?  Searching I see a lot of stuff about Excel (which is unrelated), and Money literals (which is also unrelated).   which I thought was unrelated, but I believe this terminal $ will shed a lot more light on it. Feel free to check that question for an example of some confusion


I would think this is easily googleable question, but I found nothing. In the following code:  public class ParentClass {     public static interface InterfaceStatic {      }     public interface InterfaceNotStatic     {      } }   Can you describe the difference between InterfaceNotStatic and InterfaceStatic? I know what the same syntax means for nested classes, but since interfaces hold no value, the purpose of static here eludes me.

I have just found a static nested interface in our code-base.  class Foo {     public static interface Bar {         /* snip */     }     /* snip */ }   I have never seen this before. The original developer is out of reach. Therefore I have to ask SO:  What are the semantics behind a static interface? What would change, if I remove the static? Why would anyone do this?


I own a domain, suppose www.something.com. How can I make a web page with a link like www.abc.something.com ? I want to add something in front of the root domain name. Please help.

I am looking to create a system which on signup will create a subdomain on my website for the users account area.   e.g. johndoe.website.com  I think it would be something to do with the .htaccess file and possibly redirecting to another location on the website? I don't actually know. But any information to start me off would be greatly appreciated.  Creating a sign up area is not the problem - I have done this many a time. I am just unsure where to start with the subdomain.


I am using the Easy Thesis template to write my thesis. I find one of my reference entry contain huge gaps between the words. .   I am using natbib bibliography style. How I can reduce or condense the empty gap between words?

I'm writing the bibliography. LaTeX don't write it well. I don't know why. I have tried the two methods: \begin{the bibliography} and using BiBTeX. The result is the same.  The result is longer spaces between some words.     Using the first method(without BibTeX). The first entry at the image is:  \bibitem{Stack1} Stack Overflow. \tit{Simple Bluetooth data receiver Android}. \url{http://stackoverflow.com/questions/9164138/simple-bluetooth-data-receiver-android}.   \tit{} is like \textit{}  I have written a small example:  \documentclass[12pt,a4paper]{book}  \usepackage[utf8]{inputenc}  \usepackage[left=1.8in,right=1.8in,top=0.6in,bottom=0.6in]{geometry}   \usepackage[pdftex,bookmarksnumbered,hidelinks,breaklinks]{hyperref}   \begin{document}  \begin{thebibliography}{99}  \bibitem{Dani} Daniel García. \textit{Activando y desactivando el bluetooth en Android}. \url{http://danielggarcia.wordpress.com/2013/10/19/bluetooth-i-activando-y-desactivando-el-bluetooth-en-android/}. \end{thebibliography}  \end{document}   And the result is


I am writing a report about file formats in images & their properties. In the report I want to talk about how file formats have lossy compression rather than lossless compression & I wanted to create an image which could show how the quality of an image decreases over time when saving. I tried doing this by saving a JPEG image as & naming it something else so I had all of the images with the various qualities. However, the file only decreased its size the first time I saved it.   Is the file just not getting compressed again?  Is the same data being compressed so there is no change?  Do I need to make changes to the image so it gets compressed?  If so how would I do this to show quality degradation ?  Thank you to anyone who helps me with this, I am not very good with image editing & I am very grateful for all of your help,  Pi Net

For years, I've believed that recompressing JPEG files multiple times would gradually degrade its quality until they are an unrecognizable mess, the way making photocopies of photocopies does. This intuitively makes sense because JPEG is a lossy format. There are also other Q&As that claim this is so:       However, I've also read that recompressing JPEGs at the same quality level will not degrade the image quality. This runs counter to the gradual degradation that is described elsewhere.  What technically happens when a JPEG is recompressed? What is being lost and how? Will the image really transform into the snowy mess that used to appear on television? What about those videos showing images that fall apart after being recompressed multiple times?  (Please don't merely handwave and appeal to the general concept of lossiness.)  (This question, and the answers it has attracted so far, focus on the technical factors (specific settings and image manipulations) that cause or prevent image degradation when a JPEG file is recompressed multiple times.)


How to get $$\binom n0 + \binom n3 + \binom n6 + \cdots$$  MY ATTEMPT    $$(1+\omega)^n = \binom n0 + \binom n1 \omega^1 + \binom n2 \omega^2 + \cdots$$  $$(1+\omega^2)^n = \binom n0 + \binom n1 \omega^2 + \binom n2 \omega^4 + \cdots $$  $$(1 + 1)^n = 2^n = \binom n0 + \binom n1 + \binom n2 + \cdots$$  $$(1+\omega)^n + (1+\omega^2)^n + (1 + 1)^n = 3 \left(\binom n0 + \binom n3 + \binom n6 + \cdots\right)$$  But how to solve LHS? I got the required equation in RHS

How should one prove that $\binom n{0} + \binom n{3} + \binom n{6} +... +\binom n{3k} = \dfrac{2^n-2}{3}$ for $n$ odd and $\binom n{0} + \binom n{3} + \binom n{6} +... +\binom n{3k} = \dfrac{2^n+2}{3}$ for $n$ even, where $k=\lfloor \dfrac{n}{3}\rfloor $?


I have ubuntu 14.04 wtih GNOME shell I am unable to have duplicate display. In my display setting I just can extend or disable or enable one display but there is't any duplicate option in display setting. So how can I have duplicate screen in both my device?

Some years ago I switched from Windows to Ubuntu. Now Ubuntu 14.04 is installed on my Acer TravelMate 5742G with:   Intel Core i5-460M Nvidia GeForce Gt 420M and Nvidia binary driver version 331.38 15.6 HD (1366x768)   When I used Windows and had to present something in front of some people I mirrored the display of my laptop and the projector. This was really helpful because in most cases the display of the projector was behind me. Unfortunately, this is not possible with Ubuntu anymore. I tried it with various projectors and displays that worked with Windows before.  In cases the resoultion of both screens did not match Windows cutted my screen and added two black bar to the sides of my laptop display. Is it possible to add this very nice feature to Ubuntu? Maybe I should add that Ubuntu offers only one resolution for my laptop display.  Update 1:  Here is an image of my screen setting (in German, but the buttons are still the same):


I have some doubts about the usages of That and Who. Sometimes I read sentences such as. "You are someone I love" "You are someone WHO I love" Or "People were asked to describe the qualities they look for in a friend" "People were asked to describe the qualities THAT they look for in a friend"  Why in some of these sentences WHO or THAT are omitted and others are not. Could somebody help me with this? I'll appreciate it! Thanks a million.

In the sentence:     All the information you need is in these folders.   I would have expected to find:     All the information that/which you need is in these folders.   Why are those omitted?


I want to show the following statement: Let $f$ be a meromorphic function on $\mathbb{C}$ with one and only one pole at $z_0\neq 0$. This pole can have any order $k>0$, but has to be the only pole of $f$. Let $f(z)=\sum^\infty_{n=0}a_nz^n$ be the power series representation around $0$, hence its radius of convergence has to be $|z_0|$ since that is the first and only singularity of $f$. To show: $$\lim_{n\to\infty}\frac{a_n}{a_{n+1}}=z_0.$$ Now, the way I think this can be shown is as follows:  Show the statement for $z_0=1$ and $k=1$. Generalise to $k>0$. Generalise to $z_0\neq 0$.  Item 1 and 3 have been shown, the first by showing (via residue theorem) that $\lim_{n\to\infty}a_n=g(1)\neq 0$ where $g$ holomorphic such that $f(z)=\frac{g(z)}{z-1}$, the second by considering the function $h(z)=f(z_0z)$, which will have one and only one pole in $1$. The problem is item 2. I have tried plenty of things but can't manage to prove the statement. It really cries for induction.  First try: Consider the primitive $F(z)=\sum^\infty_{n=1}\frac{a_{n-1}}{n}z^n$, which will also have a radius of convergence of $1$ (since $z_0=1$). I now hope that $F$ could be extended to a primitive everywhere since then $F$ would have a pole of order $k-1$ and hence the quotient of coeffiecients would converge to $1$. Yet I can't manage to find a primitive everywhere with a singularity at $1$ which would coincide with $F$ on the unit disk. Second try: Multiply $f$ with $(z-1)$, then I obtain a new function with a pole of order $k-1$, but the coefficients are $a_n-a_{n-1}$ and the quotient is a quotient of differences. This I can't really modify to obtain the quotient of $a_n$. Third try: No induction, but instead computing the Cauchy product of the series $$\frac{1}{(1-z)^k}=\sum_{n=0}^\infty \binom{n+k-1}{k-1}z^n$$ and $g(z)=\sum_{n=1}^\infty b_nz^n$ where $g$ is holomorphic in $1$ and $g(1)\neq 0$, but this will only yield an incredibly jumbled representation of $a_n$ and I can't seem to use the fact that $g(1)\neq 0$.  Any ideas, what else I could try? Or whether one of these tries might actually yield a solution? Cheers for any help!

The question is #$14$ from Chapter $2$ in Stein and Shakarchi's text Complex Analysis:     Suppose that $f$ is holomorphic in an open set containing the closed unit disc, except for a pole at $z_0$ on the unit circle. Show that if $$\sum_{n=0}^\infty a_nz^n$$ denotes the power series expansion $f$ in the open unit disc, then $$\lim_{n\to\infty}\frac{a_n}{a_{n+1}}=z_0.$$   I've shown that we can take $z_0=1$ without a loss of generality, but I'm having trouble showing the proof otherwise. One of the problems I'm having is because we aren't told the definition of a pole except that it is a place where the function isn't holomorphic. Disregarding this fact, the other problem I'm running into is that I don't know the order of the pole.  Making some additional assumptions, including that the pole is simple so we can write $F(z)=(z-1)f(z)$ as a holomorphic function, we see that $$F(z)=-a_0+z(a_0-a_1)+z^2(a_1-a_2)+\cdots$$ This almost gets me to the end with these added assumptions, but I don't think it's quite enough (why do we know some of the $a_i$'s aren't $0$, for example).  On another note, if we know $\lim_{n\to\infty}\frac{a_n}{a_{n+1}}$ exists, then it is easy to see that $\lim_{n\to\infty}\frac{|a_n|}{|a_{n+1}|}=1=|z_0|$; I, however, do not see why the limit must exist.  Are there any hints that someone can provide? Even a solution would be nice, especially if one can avoid making any assumptions about what a pole is or is not.  EDIT: So there isn't any confusion, I know the definition of a pole and I'm inclined to believe that the problem, as stated, necessarily has a pole at $z_0$. The problem is that the exercise is in Chapter $2$, and poles are introduced in Chapter $3$.


Let $P(x)$ be a polynomial of degree $n$ with integer coefficients. Assume that there exist three distinct integers $a,b,c$ such that $$P(a)=b, P(b)=c, P(c)=a.$$  Since the integers $a,b,c$ are all different, there must be a least among them. Without loss of generality, we can write $a<b$ and $a<c$.  Note that, for any $x,y \in{\mathbb{R}}$:  $$P(x) -P(y)=a_n(x^n-y^n)+a_{n-1}(x^{n-1}-y^{n-1})+ \cdots + a_1(x-y).$$  Thus, using the identity  $$x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\cdots+xy^{n-2}+y^{n-1}),$$  it follows that  $$P(x) -P(y)=(x-y)Q(x,y),$$  where $Q(x,y)$ is a polynomial in $x,y$ of degree $(n-1)$. Evaluating $P(a)$ and $P(b)$ this way gives us the following equation:  $$P(a)-P(b)=(a-b) Q(a,b)=b-c $$  By our construction, the polynomial $Q$ must also have integer coefficients and so $Q(a,b)=m_1$, for some integer $m_1$. Arguing similarly as above, we get the following three equations:  $$(a-b)m_1=b-c$$ $$(b-c)m_2=c-a$$ $$(a-c)m_3=b-a$$  Clearly $m_i\neq0$ for any $i$. Dividing the first of these equations by the second:  $$\frac{a-b}{c-a}m_1=\frac{b-c}{(b-c)m_2}$$ $$\frac{a-b}{c-a}m_1=\frac{1}{m_2} \qquad (1)$$  A few algebraic manipulations of the last equation gives  $$\frac{1}{c-a}=\frac{m_3}{a-b},$$  which we can substitute into $(1)$ and get  $$m_1 m_3= \frac{1}{m_2}.$$  Since the $m_i$ are integers we must have $$m_i=\pm1.$$  We need only consider the two cases for $m_3$. If $m_3=-1$ this implies $c-a=b-a \implies c=b$. If $m_3= 1$ this implies $a-c=b-a$, which is not possible, since $a$ is less than both $c$ and $b$. Thus, since both possible values for $m_3$ lead to a contradiction, there is no polynomial $P(x)$ and distinct integers $a,b,c$ which satisfy the condition $P(a)=b, P(b)=c, P(c)=a.$ $\quad \square$

Let $a,b,c$ be $3$ distinct integers, and let $P$ be a polynomial with integer coefficients.Show that in this case the conditions $$P(a)=b,P(b)=c,P(c)=a$$ cannot be satisfied simultaneously.  Any hint would be appreciated.


How do I request a package in the official Canonical maintained Ubuntu repos be upgraded?

I'm looking to move our company from Fedora 13 to the upcoming 12.04.  We've built custom HDF5 1.8.7 RPMs that are newer than the 1.8.4 version in 12.04.  If we go to 12.04 I'd like it to have the latest HDF5 library so I don't need to package it ourselves.  How do I request an upgrade to the package?  I looked at  and  but I didn't see anything specific.  Would  be appropriate?


my house main panel is 200 amp, the shops panel is 60 amp. My new tub is closest to my shop but wasn't sure it would cause my shop to trip with the tub on its 50 amp gfci circuit? I was going to run from my house 200 amp but the teck AWG #6 is going to be very expensive to run that distance hence me researching if it's safe and able to be done through my shops 60 amp service. I've read it's safe and fine as most tubs that require 50 Amp fuse usually run at a 40 amp level. I'm just concerned it would trip the 60 Amp shop breaker, I don't run much in my shop other then lights and tunes and the odd power tool and my welder but figured I can just turn the tub off durang that. Any input would be great.  Cheers Danny

I am considering adding a hot tub to my backyard. Most of the ones I've seen require a 240v 50A breaker, presumably with #6 4-wire.   It would be most convenient to run the line for this from my subpanel in my detached garage. I had an electrician put in the subpanel just a year ago (so it is up to modern standards; previously it was knob-and-tube! house built in 1927) and he set it up as a 60A subpanel. This consists of a 60A breaker at the main panel in the house, run underground to the subpanel in the garage, which has room for eight GE Q-line miniature breakers. Due to the number of available spaces, I'm guessing the breaker panel could handle more than 60A, but it's just limited by the breaker at the main panel and by the amp rating of the wire going between the panels.  There isn't a lot of load in the garage usually, just a couple lights and outlets. I think we could have gotten away with using two 20A circuits, but he wired up two 20A circuits and two 15A circuits, using 4 of the breaker spaces. This adds up to 75A, but from what I understand this is okay since once it hits 60A it would trip the breaker at the main panel and shut off the entire garage. Occasionally we will run a 12A electric lawn mower or other similar electric lawn tools from the outlets. The lights are motion lights on the outside, and switched fluorescent shop lamps on the inside.  Okay, now for the the question: Would it be okay and up to code to run a 50A 2-pole breaker in two of the remaining 4 slots in the panel and hook the hot tub up to it?   I'm assuming that the hot tub isn't going to be drawing close to 50A under normal conditions otherwise it'd regularly trip the breaker. But even if someone is sitting in it with the jets on and say it draws 40A, it seems like I could still run the lawn mower at 12A and have a couple lights on and not trip the 60A breaker at the house. (Related: does anyone know how many amps a typical hot tub would draw at peak and during regular operation?) I assume this line of thinking is why the electrician was able to put 75A worth of breakers on that 60A panel.  But, if any of this screams "could cause a fire" or "not up to code", please let me know! Thanks in advance!


I have a regex for my email validation which is:  ^(?!.*\.{2})[a-zA-Z0-9_\.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+   I need to be able to prevent the user from entering the below email addresses :  .email@example.com  email.@example.com  email@example.com (Joe Smith)  email@-example.com  email@111.222.333.44444  How do I modify my existing regex so that it handles the above email addresses?

Over the years I have slowly developed a  that validates MOST email addresses correctly, assuming they don't use an IP address as the server part.  I use it in several PHP programs, and it works most of the time.  However, from time to time I get contacted by someone that is having trouble with a site that uses it, and I end up having to make some adjustment (most recently I realized that I wasn't allowing 4-character TLDs).  What is the best regular expression you have or have seen for validating emails?  I've seen several solutions that use functions that use several shorter expressions, but I'd rather have one long complex expression in a simple function instead of several short expression in a more complex function.


I cannot find the good old "notifications"-section in the new...lets say layout. Is it just scapped, does it have a new location or am I just missing something obvious?   To be clear : It is the StackExchange▼ drop down box I am referring to.

Since the new top bar has been rolled out - a number of different people, established and new users alike, have asked questions on where a specific link has disappeared to with the new top bar design. Where has the link to <X> gone?


I have some code that looks like this in an Array.hpp file  template <typename T>  class Array {    private:     T *_array;     int _arrSize;     public:     Array<T>();     Array<T>(unsigned int n); ... };   then on the Array.cpp file I have like this  #include "Array.hpp"  template <typename T> Array<T>::Array<T>(){};  template <typename T> Array<T>::Array<T>(unsigned int n) : _arrSize(n) {     T *a = new T[n];     for (unsigned int i = 0; i < n; i++) {         a[i] = 0;     }     this->_array = a; }; ...   then a main as simple as  int main() {     Array<int> g(2);     return 0; }   but when I try to compile this with clang++ -Wall -Wextra -Werror -std=c++98 *.c I get this error   Array.cpp:16:11: error: out-of-line constructor for 'Array' cannot have template arguments Array<T>::Array<T>(){};           ^    ~~~ Array.cpp:19:11: error: out-of-line constructor for 'Array' cannot have template arguments Array<T>::Array<T>(unsigned int n) : _arrSize(n) {           ^    ~~~    I'm not sure what I'm doing wrong

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


So I've been re-reading the HP novels as of late and the topic of blood purity intrigued me after I supplemented the novels with info on the matter. I first became interested in this after reading that Harry and Ginny's children are considered to be "half-blood." As far as I have gathered from the books and Rowling's statement on the matter, blood purity is usually traced back 2 generations to the grandparents. I would assume this is more or less the general wizarding consensus excluding various extremists like the Blacks, Malfoys, and Gaunts. I've read that no family's blood is completely pure by the time of the novel, even if they pretend it is and it's been revealed by several characters that fanatics will just ignore any muggle relations within their family. It seems an awful lot to me like the One Drop Rule... That even if you had a great-grandparent that was black, you in turn would technically be considered black as well. My question is, could a half-blood eventually "purify" their blood again by marrying a pure-blood and their descendants doing the same? For example, if Harry's daughter, Lily married Malfoy's son, Scorpius would their children then be pureblood by common belief? Or would Harry's being half-blood also mean his grand kids would be the same? What if their children in turn married another pureblood? Technically since Harry's mother was a muggle-born witch and his father was pureblood and Ginny was also pureblood, their children would have 3/4 blood purity. So one would think the line would resume "full" purity if Harry's child married a pureblood. *Note: I'm not talking about the perspective of Voldemort and his followers, who would argue Ginny's status as a blood traitor and would claim that any traceable muggle-born lineage would taint the blood.

I was checking on something in the Harry Potter wiki and saw Harry listed as "Half-Blood."  Both his parents were magical, but, as we know, his grandparents on his Mother's side were muggles.  This reminds me of the racially loaded terms like octoroon.  (In the south, you still hear those terms every once in a while.)  When there was still segregation, having only 1 great-grandparent of an ethnic group was enough to classify a person of that group.  So how far down the line did it go in the Harry Potter universe?  Just how many generations removed from a muggle-born would a person have to be before they're no longer classified as half-blood or something similar?


If I want to kill a process as careful and politely as possible, which signals should I use in a kill command, in which order?   I would like to give the programm any kind of time to clean up, if it likes to, so just sending a SIGTERM will be to harsh, I think?   I'll use SIGKILL ("-9") last, that's clear.    But which to start? SIGHUP? Which signals are just a waste of time?     The relevant signals for reference, from     man 7 signal    Signal     Value     Action   Comment    ──────────────────────────────────────────────────────────────────────    SIGHUP        1       Term    Hangup detected on controlling terminal                                  or death of controlling process    SIGINT        2       Term    Interrupt from keyboard    SIGQUIT       3       Core    Quit from keyboard    SIGKILL       9       Term    Kill signal    SIGPIPE      13       Term    Broken pipe: write to pipe with no                                  readers    SIGTERM      15       Term    Termination signal

I am always very hesitant to run kill -9, but I see other admins do it almost routinely.  I figure there is probably a sensible middle ground, so:   When and why should kill -9 be used? When and why not? What should be tried before doing it? What kind of debugging a "hung" process could cause further problems?


Which variant is the correct one:         email me on xxx@xxx.com   email me at xxx@xxx.com    email me to xxx@xxx.com      Or should another preposition go there?

My exam included this fill-in-the-blank question:     Please write __ this address.  (on/at/to)   I filled the blank with on.  Is that correct?


The  is at best quite lame.  I think it would be easier to ask better questions , like in a standard email client.  One draft isn't enough.

In GMAIL you can list all your boss-tell-off and wife-cuss-out emails by clicking Drafts    I'd like to see my started-but-never-finished responses, possibly between x Answers and y Votes in /<<user>>/Stats/?


I can't seem to complete Level 11 in Portal: First Slice. It seems to be glitched up. I can shoot portals, but cant go through them.   What's going on? Is there a fix or workaround for this?

I thought of trying out the demo of Portal before I bought the game and was amazed.  But then after chamber 10 something weird happened that wouldn't allow me to continue to chamber 11.  I wasn't sure whether this is a glitch or the demo was over.     The problem is that the exit from the elevator is very warped.  I can shoot portals into the weird warped wall but I can't walk through it.  What is going on?!


On user profile page: Hats appear correctly positioned ...    until the page is scrolled...     App Version: 1.4.1 Device: iPhone 6 OS Version: Version 9.1 (Build 13B143)

When visiting my profile on the mobile app, my hat scrolls with the page:    It doesn't stay linked to my icon at the top. I'm on an iPhone 6+ running iOS 9.2 and version 1.4.1 of the SE app.


I've noticed an IP address today on my network (192.168.15.1) which when visited actually goes to a page that has a router webconfig page (Not my router)  The puzzling thing is that i tried traceroute 192.168.15.1 which said that the distance between me and that host is 9 hops, whereas the distance between me and any other computer on my home network is 2 hops away (My computer --> Router --> Host)   Can someone please explain what's going on here ?  tracert output:  Tracing route to 192.168.15.1 over a maximum of 30 hops    1    <1 ms    <1 ms    <1 ms  192.168.1.1   2    47 ms    51 ms    49 ms  [163.121.171.123]   3     *        *        *     Request timed out.   4   128 ms     *        *     163.121.211.134.dnet.net [163.121.211.134 ]   5     *      134 ms   126 ms  10.37.242.18   6    94 ms    90 ms    95 ms  10.35.2.157   7   178 ms   254 ms   206 ms  10.32.8.107   8    85 ms    57 ms   318 ms  10.35.0.186   9   215 ms   241 ms   230 ms  192.168.15.1  Trace complete.


There is a joke in my family that my father's father is not his biological father. He only has sisters and his father is dead, so there's no possibility of a true test. But I'm his daughter and I did a DNA test, and here's what I got.  I got DNA results back and here's what it says about one of my aunts that tested too. Great aunt or cousin is the link they gave us.   12,2% (866,2 cM) DNA shared 19 Segments shared 106,2 cM Segment longest   Does that actually mean the joke is true and my aunt is my half aunt?

Given two tests that share some cM of autosomal DNA, how can I easily find the predicted relationships that such shared cM would suggest? For example, a 2,200 cM match suggests it could be either: grandparent, half-sibling, or grandchild.


If I paste in a quote and press Ctrl + Q it will apply quote formatting like so:     "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do   eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad   minim veniam, quis nostrud exercitation ullamco laboris nisi ut   aliquip ex ea commodo consequat.   But the markdown looks like this:  > "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do > eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad > minim veniam, quis nostrud exercitation ullamco laboris nisi ut > aliquip ex ea commodo consequat.   The editor has added in linebreaks where the line would have to cut, when in reality all it needs is this:  > "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.   And it auto wraps:     "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.   Why is this an issue? If I remove part of the quote, or add something, like this:     "Lorem ipsum dolor sit amet, consectetur adipiscing elit, ... dolore magna aliqua. Ut enim ad   minim veniam, quis nostrud exercitation ullamco laboris nisi ut   aliquip ex ea commodo consequat.   the formatting looks odd, because I've removed one of the quote markers:  > "Lorem ipsum dolor sit amet, consectetur adipiscing elit, ... dolore magna aliqua. Ut enim ad > minim veniam, quis nostrud exercitation ullamco laboris nisi ut > aliquip ex ea commodo consequat.   It also breaks triple click highlighting because of the line breaks, and the only reason is it looks quoteified when you are reading the markdown (not needed nearly as much on this site).  Please can this be changed?    Yes,  is the same question. Let's call this a "please can this be looked at again question".

When you use the markdown editor's blockquote feature (the quote button / Ctrl+Q), it inserts hard line-wraps in the markdown source automatically for you. That is, it transforms text like this:  Hindus regard it as an earthly manifestation of the goddess Tulsi, a consort of the god Vishnu.   The offering of its leaves is mandatory in ritualistic worship of Vishnu and his forms like Krishna and Vithoba.   Into text like this:  > Hindus regard it as an earthly manifestation of the goddess Tulsi, a > consort of the god Vishnu.  >  > The offering of its leaves is mandatory in ritualistic worship of > Vishnu and his forms like Krishna and Vithoba.   The editor should instead transform it into this:  > Hindus regard it as an earthly manifestation of the goddess Tulsi, a consort of the god Vishnu.  >  > The offering of its leaves is mandatory in ritualistic worship of Vishnu and his forms like Krishna and Vithoba.   That is, without adding any newlines.   Why on earth does it insert hard line-wraps!? Both these forms look the same when rendered, but the current way makes it more difficult for us to go back and edit the blockquoted text later if need be.   This is particularly objectionable functionality for sites that use MathJax - while the hard line-wraps don't impact the rendered output, the additional > that are inserted do (they manifest as greater-than signs if they get inserted within MathJax $$...$$). See this post on Meta.Math.SE for more details: .    I found  that this behavior is apparently :      The "reflow the text when you click blockquote" is a deliberate feature, intended to improve the readability on quoted text.   Seriously? Are there any browsers that don't soft-linewrap textareas anymore? How is hard-wrapping at 70(?) characters better than soft-wrapping at $textareawidth? If readability is the concern here, then why not hard-wrap all non-code upon post submission?


I have tried finding solutions to this problem personally but haven't yet gotten a solution. I am to find a way to generate S colors that are as distinguishable as possible. Where S  Is a parameter.

I wrote the two methods below to automatically select N distinct colors. It works by defining a piecewise linear function on the RGB cube. The benefit of this is you can also get a progressive scale if that's what you want, but when N gets large the colors can start to look similar. I can also imagine evenly subdividing the RGB cube into a lattice and then drawing points. Does anyone know any other methods? I'm ruling out defining a list and then just cycling through it. I should also say I don't generally care if they clash or don't look nice, they just have to be visually distinct.  public static List<Color> pick(int num) {     List<Color> colors = new ArrayList<Color>();     if (num < 2)         return colors;     float dx = 1.0f / (float) (num - 1);     for (int i = 0; i < num; i++) {         colors.add(get(i * dx));     }     return colors; }  public static Color get(float x) {     float r = 0.0f;     float g = 0.0f;     float b = 1.0f;     if (x >= 0.0f && x < 0.2f) {         x = x / 0.2f;         r = 0.0f;         g = x;         b = 1.0f;     } else if (x >= 0.2f && x < 0.4f) {         x = (x - 0.2f) / 0.2f;         r = 0.0f;         g = 1.0f;         b = 1.0f - x;     } else if (x >= 0.4f && x < 0.6f) {         x = (x - 0.4f) / 0.2f;         r = x;         g = 1.0f;         b = 0.0f;     } else if (x >= 0.6f && x < 0.8f) {         x = (x - 0.6f) / 0.2f;         r = 1.0f;         g = 1.0f - x;         b = 0.0f;     } else if (x >= 0.8f && x <= 1.0f) {         x = (x - 0.8f) / 0.2f;         r = 1.0f;         g = 0.0f;         b = x;     }     return new Color(r, g, b); }


We have a org wide email addressed which has been "Verified" into our sandbox. I understant org wide email addressed is unsupported metadata, so this was achieved as pre deployment step. Into our repo, we have a workflow that send email alert to that org wide email address. " Workflow ... noreply@mycompany.com.au OrgWideEmailAddress The problem we are facing is that we are still getting the following error even if this org wide email address is verified: You must specify a verified Org Wide Email Address for this sender type. Is that a bug in the metadata api or expected behaviour ? Ideally we would like to not have to do that as a post deployment step. PS: We are running DX under api version 44.0 This question was asked  but no answer was left

We have a org wide email addressed which has been "Verified" into our sandbox. I understant org wide email addressed is unsupported metadata, so this was achieved as pre deployment step.   Into our repo, we have a workflow that send email alert to that org wide email address. "  Workflow   ... <senderAddress>noreply@mycompany.com.au</senderAddress> <senderType>OrgWideEmailAddress</senderType>    The problem we are facing is that we are still getting the following error even if this org wide email address is verified:      You must specify a verified Org Wide Email Address for this sender   type.   Is that a bug in the metadata api or expected behaviour ? Ideally we would like to not have to do that as a post deployment step.   PS: We are running DX under api version 43.0


I have a complete Drupal website on localhost. I forgot the password and username for my account. I found the username in the database, but the password is hashed.  I can't send emails from localhost, so recovering the password using the email is not possible.  How can I recover the password?

I have a native mobile application communicate with my drupal 7 site via services module.  I'd like to give users the ability to reset their password from the app.  Is there a way to initiate this process programmatically, so a an email is generated with a one time use token that expires in 24 hours?  Thanks


What is the best way to compare two non-homogeinous populations (Levene's) with covariates (e.g. age). I know ancova assumes homogeneity. Is there a way around this? Many thanks

I have data from 3 groups of algae biomass ($A$, $B$, $C$) which contain unequal sample sizes ($n_A=15$, $n_B=13$, $n_C=12$) and I would like compare if these groups are from the same population.  One-way ANOVA would definitely be the way to go, however upon conducting normality tests on my data, heteroskedascity seems to the main issue. My raw data, without any transformation, produced a  ratio of variances ($F_{\max} = 19.1$) which is very much higher than the critical value ($F_{\rm crit} = 4.16$) and therefore I cannot perform one-way ANOVA.   I also tried transformation to normalise my data. Even after trials of various transformations (log, square root, square), the lowest $F_{\max}$ produced after transformation with a $\log_{10}$ transformation was $7.16$, which was still higher compared to $F_{\rm crit}$.  Can anyone here advise me on where to go from here? I can't think of other methods of transformation to normalise by data. Are there any alternatives to a one-way ANOVA?  P.S.: my raw data are below:   A: 0.178 0.195 0.225 0.294 0.315 0.341 0.36  0.363 0.371 0.398 0.407 0.409 0.432     0.494 0.719 B: 0.11  0.111 0.204 0.416 0.417 0.441 0.492 0.965 1.113 1.19  1.233 1.505 1.897 C: 0.106 0.114 0.143 0.435 0.448 0.51  0.576 0.588 0.608 0.64  0.658 0.788 0.958


public class test {      public static void main(String[] args) {         // TODO Auto-generated method stub          StringBuffer a = new StringBuffer("A");         StringBuffer b = new StringBuffer("B");          operator(a, b);         System.out.println(a + "," + b);      }      public static void operator(StringBuffer a, StringBuffer b) {         a.append(b);         b = a;     }   Why is b still print out B? I did b = a in the operator, shouldn't it print out AB as well?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Deja-dup dose not backup .dbus Ubuntu 20.04. If I use timeshift -/home/username and Deja-dup can I restore with fresh install off Ubuntu 20.04, restore with timeshift with snapshot on USB stick, and restore /home/username with Deja-dup. Will this .dbus error when backing up with Deja-dup be a problem. There was some other answer about .dbus and backup but I did not understand it. I know about clonzilla, but I don't want to use that I like timeshift!

What are /home/user/.cache/dconf and /home/user/.dbus? Why does their backup fail?  I tried following  (see code below) but while it allowed me to backup the above files, now I am told it couldn't backup /home/[user]/.dbus/session-bus.    $ man chown $ sudo chown user .cache/dconf   [sudo] password for user:  $ sudo chown user .dbus $ man chgrp $ sudo chgrp user .cache/dconf $ sudo chgrp user .dbus   How do I fix it so it will not take my time closing an error message after each backup? Should I exclude these folders ? Why are they not needed? Why would someone want to back them up?


There seems to be an extra space showing up after the "follow" button - in between "follow" and "flag" (or "delete") on answers. This is happening both on sites where I have delete vote privileges and sites where I do not.  For instance, from Interpersonal.SE (where I can vote to delete answers):    ...and with a delete vote, where it is still showing up:    And also on Puzzling.SE, where I cannot vote to delete answers:    This doesn't appear to be happening on questions, only answers.

In the 'menu' under the post, some extra space has been added (I presume accidentally) between the 'flag' link and the other options:    It looks like the separators are always shown, even though their corresponding options might be hidden. Here's how a full menu looks, and it's still evenly spaced:


I am using wrapDateLine properties for OpenLayers.Layer.WMS for handling dateline issues. The problem with wrapDateLine is that I am getting the same polygon repetitively around the wrapped map as a user selects a desired polygon around dateline. Is there any way to select the polygon around dateline in a single wrapped map and avoiding repetitions? My OpenLayers.Layer.WMS constructor is as:  var I = new OpenLayers.Layer.MapServer("region", "http://localhost/cgi-bin/mapserv?map=/home/public_html/test1.map",{poly='Bermuda', layers: 'myregion', format:'image/png'},      {wrapDateLine: true}     );   e.g. Bermuda in my example is in dateline and if I use wrapDateLine:true, I get complete polygon of Bermuda but it is repeated (wrapped). I want complete polygon of Bermuda but no repetition. Is there any other way for it?  I see that there are options like OpenLayers.Bounds() and layer.adjustBounds(). I am not sure if it works in my problem.

Using OpenLayers, I added a WFS layer (on GeoServer) with a filter that returns all features (black) that intersect my polygon (yellow) placed over some Latin American countries within certain dates.    However, the feature that crosses horizontally across the map does NOT actually intersect my polygon. This feature is somewhere in the pacific ocean between Hawaii and Fiji and NOT in Latin America. The problem is that instead of crossing the International Date Line it is being rendered on the map by wrapping around the whole world.  The problamatic feature is defined:     POLYGON((-179.700417   14.202717,-178.687422 13.992875,179.024138 8.24716,-179.98241 8.035567,-179.700417 14.202717))   I have many of problematic date line features like this but have narrowed it down to this one for this example. I can't just ignore it in my application because I have many of them.  I've tried using "wrapDateLine: true" in base layer and WFS layer with same results.  Not sure if this would be a GeoServer problem or an OpenLayers problem.  Does anyone know a solution to my international date line problem?


Throughout the books we are told that      there is no safer place than Gringotts... Except hogwarts.   But is it really safe?  I mean, the trio managed to get to the Lestrange vault by using just the Imperius curse.  Look at how easy it was. Clearly any wizard who knows how to cast Imperius might force a goblin to open any vault.  Has this been clarified or explained by J.K.R or mentioned in any of the books?

"Wizards have banks?" "Just the one. Gringotts. Run by goblins." Harry dropped the bit of sausage he was holding. "Goblins?" "Yeah -- so yeh'd be mad ter try an' rob it, I'll tell yeh that. Never mess with goblins, Harry. Gringotts is the safest place in the world fer anything yeh want ter keep safe -- 'cept maybe Hogwarts. As a matter o' fact, I gotta visit Gringotts anyway. Fer Dumbledore. Hogwarts business." Hagrid drew himself up proudly. "He usually gets me ter do important stuff fer him. Fetchin' you gettin' things from Gringotts -- knows he can trust me, see. "Got everythin'? Come on, then." Harry Potter and the Philosopher's Stone Pg 48 (emphasis mine)  And then...  “I need to break into a Gringotts vault.” Harry had not meant to say it so badly... “Harry—” said Hermione, but she was cut off by Griphook. “Break into a Gringotts vault?” repeated the goblin, wincing a little as he shifted his position upon the bed. “It is impossible.” “No, it isn’t,” Ron contradicted him. “It’s been done.” “Yeah,” said Harry. “The same day I first met you, Griphook. My birthday, seven years ago.” Harry Potter and the Deathly Hallows Pg 410 (emphasis mine)  And then......  “Never mind that stuff ... Is it true? Did you break into Gringotts? Did you escape on a dragon? It’s everywhere, everyone’s talking about it, Terry Boot got beaten up by Carrow for yelling about it in the Great Hall at dinner!” “Yeah, it’s true,” said Harry. Harry Potter and the Deathly Hallows Pg 480 (emphasis mine)  If Harry, Ron, and Hermione were able to completely tamper the security of a super massively big bank holding billions of galleons, and other precious things, how could it be considered secure? There could be many many such people, such attackers!


I'm creating a canvas element to place some Babylon content. I want that canvas to be full width and full height responsive. For that I used this JS: $( window ).resize( function () {   $('#canvas').css({      "height": window.innerHeight,      "width": window.innerWidth   }); });  That works fine resizing the content, but the content is streatching itself when I resize the window. How can I avoid that stretching?

I have a canvas element defined statically in the html with a width and height. If I attempt to use JavaScript to resize it dynamically (setting a new width and height - either on the attributes of the canvas or via the style properties) I get the following error in Firefox:     uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object"  nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)"  location: "JS frame :: file:///home/russh/Desktop/test.html :: onclick :: line 1"  data: no]   Is it possible to resize this element or do I have to destroy it and create a new element on the fly?


The following text appears in my inbox:     10 comments on Should we avoid using <select>?           @rybo111: I absolutely see your point - but also Spudley's. As you can see your question as a...      When I load the  I cannot see the comment that is being truncated?

Neither I nor anyone else can see the top comment, which is apparently placed against .


Right now I am experiencing some very, very weird behaviour on a Ubuntu 14.04.2 LTS server I am managing.  Connecting to the server over ssh either from cygwin(mintty) or a terminal on a Linux machine, I can't type the letter e.  I have done the following debugging:   The letter e can be typed in vim on the remote server The letter e can be typed in the terminal on the local machines $TERM is set to xterm $LANG, $LANGUAGE and $LC_ALL are set to de_DE.utf8 locale charmap returns UTF-8   Right now, I am completely out of ideas what could be causing this.   I'd be very happy about some advice on how to fix this.

After a few days of operation on my new ec2 build, the following happens:   I log into SSH, everything is fine, I do my coding I return the next day, and log into SSH I cannot type a lower cased e anymore--I get the error ding when I type it I try to ssh from a different computer, same problem I reboot the server, same problem I open nano or vi and e works fine, just not in bash or sh I terminate the server, create a new one, install from scratch, a few days later it happens again   This is baffling! Where do I even start to troubleshoot?  My Local Machine Setup(s):   windows XP or 7 putty (latest) or cygwin/openssh   The EC2 setup   Amazon Linux (default options) node.js iptables forwarding port 80 to node on port 8003 emacs, npm, and openssl-devel no other mods       Output of stty -a while I can't type an e  sh-4.1$ stty -a speed 38400 baud; rows 30; columns 95; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke   In case it helps someone else with a similar issue, I created a script (called sub) to convert upper-cased E to lower-cased, then echo the command back. Then I run it in backticks to get an e on the command line::  #!/bin/sh echo ${@//E/e}  > `sub Emacs /Etc/profilE`   UPDATES   This breaks for all users In bash only (csh works fine) In emacs edit mode only   I've created  and hone in the solution.


IM doing shared hosting via godaddy.  I have just done a check and found that there are some "explicit" aka spammy porn sites hosted on the same IP address as my website, can this affect my rankings?  Private Hosting is very expensive but will it be beneficial for me to make the move?  Ideally I would like to keep things as it is but this explicit sites residing on the same host as my well maintained reputable site is worrying me...

Can other websites on your shared host affect the rank of your website in the Google index? (same IP address as yours, potentially malicious/low-trust content) Can other websites on your IP class affect the rank of your website in the Google index? (different actual IP, malicious/low-trust content)   Clarification: Domain class, is what you get when you run a whois query on an IP address.  Example:  NetRange:       69.163.128.0 - 69.163.255.255 CIDR:           69.163.128.0/17   PS: Prefer answers with experience or links to trustworthy material, over speculations, assumptions and gut feelings.


I actually want to restrict access to distraction ( tv app, FaceTime, App Store) and I was able to do that without any problem in Catalina.. but with Big Sur it's another story I have already tried using screen time but I don't think parental control is the solution to my problem.  As I want to use the Mac for accademic use, I wanted to prevent myself to be distract by them but still use safari without any problem. I actually activate screen time, but it 's not effective (  in screen time, we aren't able to to activate "Downtime limitations" and "limits apps"but still use Safari) So I'm looking for  alternatives solutions – :)

How do I put FaceTime in a folder and assign a password to the folder? The aim is not to have access to the apps without password. I actually want to restrict access to minimize distraction ( tv app, FaceTime, App Store) and I was able to do that without any problem in Catalina, but with Big Sur it's another story. I have already tried using screen time but I don't think parental control is the solution to my problem as I want to use the Mac for academic use.  I wanted to prevent myself from being distract by them, but still use safari without any problem. I actually did try activating screen time, but it's not effective (as I explained in screen time, we aren't able to to activate "Downtime limitations" and "limits apps" but still use Safari) so I'm looking for solutions.


I have a test tree that goes like this :  user@host :~/test/ $ tree . └── 1st     ├── 1st.json     └── 2nd         ├── 2nd.json         └── 3rd             └── 4th                 ├── 4th.json                 └── 5th                     └── 5th.json  5 directories, 4 files    And I get this behavior from find :  user@host :~/test/ $ find . -name *.json ./1st/2nd/3rd/4th/4th.json ./1st/2nd/3rd/4th/5th/5th.json ./1st/2nd/2nd.json ./1st/1st.json    user@host :~/test/1st $ find . -name *.json ./1st.json    user@host :~/test/1st/2nd $ find . -name *.json ./2nd.json    user@host :~/test/1st/2nd/3rd $ find . -name *.json ./4th/4th.json ./4th/5th/5th.json    user@host :~/test/1st/2nd/3rd/4th $ find . -name *.json ./4th.json    user@host :~/test/1st/2nd/3rd/4th/5th $ find . -name *.json ./5th.json    The command seems to be recursive only if find doesn't find filenames that match the pattern in the current directory.  Removing . in the command gives the same output each time.  Is it normal behavior. And in both cases, is there a way to modify this and how ?  PS : Also =>  user@host :~/test/1st $ find -mindepth 0 -name *.json ./1st.json user@host :~/test/1st $ find -mindepth 1 -name *.json ./1st.json user@host :~/test/1st $ find -mindepth 2 -name *.json user@host :~/test/1st $ find -mindepth 3 -name *.json user@host :~/test/1st $ find -mindepth 4 -name *.json user@host :~/test/1st $ find -mindepth 5 -name *.json

Using find with grep, one can locate files that match a pattern:  # find | grep error ./solr-modifiedSolr4/SolrPhpClient/phpdocs/errors.html ./error_log ./includes/classes/error_log   However, using find alone the first file is not found:  # find . -name error* ./error_log ./includes/classes/error_log   Why doesn't find locate the errors.html file when not used with grep? How is find used to show this file as well?


We all know the dice's outcomes may be unpleasant, expecially in the case of story events, when players may feel that they had no control on something except rolling the dice higher.   Should the master force things a bit in these situations, or should the dice, even the ones he rolls behind the screen, have an undebatable verdict?

When I started my first D&D campaign as a DM, I accidentally rolled and confirmed a crit on a PC from a goblin. It was an instant kill as our campaign had no cleric. That time I decided to fudge the dice. Now, there's a similar problem, but this time the PCs are at 3rd level and they are dealing with a very important NPC. If they fail this one diplomacy check, the entire game world will fall apart, as the king would then send his entire army against the PC's homeland and will destroy it, plunging my entire game world into chaos, at which time drow that I wanted to save for a later adventure will have to come out, which will instigate a wizard's guild to release their secret ultra-deadly virus, and everything in my game world, including the PCs, will die. So should I fudge the dice roll? When is it good to fudge it?


I'm trying to prove that $\limsup \sin(n) = 1$. This fact sounds obvious to me, but I don't know how to use the given hint that any numbers of the form $n + 2m\pi$, $m,n \in \mathbb{Z}$, are dense in the real numbers. (I also can't figure out how to prove this, aside from taking $a < b$, defining the positive difference $b - a$, and using density of the irrationals.) Any hints or help would be appreciated.

We know that the sine function takes it values between $[-1,1]$. So is the set $$A = \{ \sin{n} \ : \ n \in \mathbb{N}\}$$ dense in $[-1,1]$. Generally, for showing the set is dense, one proceeds, by finding out what is $\overline{A}$ of this given set. And if $\overline{A} = [-1,1]$, we are through with the proof, but i having trouble here!  Similarly can one do this with cosine function also, that is proving $B= \{ \cos{n} \ : \ n \in \mathbb{N}\}$ being dense in $[-1,1]$


I am currently trying to automate some identification process of characteristic noise sounds. For acoustic feature, I calculate MFCC. I have downloaded a free MATLAB toolbox from  website. As a classifier, I am trying Neural Network patternnet with Softmax transfer function from Neural Network Toolbox in MATLAB. I have built a training file which consists of ~ 200 sounds samples and ~ 200 additional sounds of "anything else" to give NN a sort of counter balance. I extract 13 MFCC coefficients, 13 delta coefficients calculated from MFCC, and 13 delta2 coefficients calculated from delta1. Also, I feed 5 consecutive frames in sequence at once to NN. So all together, I have like 13*3*5 = 195 inputs. I have also 10 outputs, 5 per frame, and 2 per each class.  When I analyse NN's performance and its gradient progress, I am not quite sure if NN is trained correctly. It looks OK at first as the gradient gets low but it doesn't reach its threshold $10^{-6}$. NN simply stops due to validation. When I test the model on another test file, NN seems to pick also other sounds. It's like its training is not done correctly. I did try different configurations such as 195, 390, 780 neurons in one, two, and three layer but it doesn't seem improve the performance.  Perhaps someone could give an advice on how to improve the classification.  Thanks    Below I have provided some screenshots from NN performances.  NN Gradient. 195 inputs, 195 neurons in a hidden layer, 10 outputs    NN Performance. 195 inputs, 195 neurons in a hidden layer, 10 outputs    NN Gradient. 195 inputs, 3 hidden layers, 780 neurons in each hidden layer, 10 outputs    NN Performance. 195 inputs, 3 hidden layers, 780 neurons in each hidden layer, 10 outputs

I'm training a neural network but the training loss doesn't decrease. How can I fix this?  I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set.    This question is intentionally general so that other questions about how to train a neural network can be closed as a duplicate of this one, with the attitude that "if you give a man a fish you feed him for a day, but if you teach a man to fish, you can feed him for the rest of his life." See this Meta thread for a discussion:   If your neural network does not generalize well, see:


I often see questions marked as duplicates because they "overlap" another question. Usually, the correct answer is a part of an accepted answer on another question.  Why wouldn't we want to allow the more specific question, to help people who might be looking for the same thing? Isn't that better than forcing them to hunt through long answers for the detail they need?  Here's the situation:   Question A asks about something complicated (like, "Who is Voldemort?"), and gets an answer that answers the question comprehensively, with lots of detail on related topics. Question B asks a more specific question about one aspect of the complicated topic (like, "Where was Voldemort born?"). Then, Question B gets closed a duplicate of Question A.   There's no doubt that the accepted answer for Question A includes the correct answer for Question B. But it's hidden inside a long answer, most of which is entirely unrelated to Question B.  Why wouldn't we want to encourage these more specific questions? Wouldn't it improve the overall quality of the site to have answers to all the "forms" a question might take?  Is there a cost to having overlapping questions that I'm not seeing?

I'm wondering why there is so much work to close duplicate questions.  We can see that the Stackexchange concept allows users from all around the world to find answers very efficiently.  Wouldn't it be better to have the maximum number of answers even for the same question as each one is slightly different. The more there are answers the more a user can find his one.  Are we limited in disk space or something ?  Imagine a question badly asked one day then the same well asked later that is easier to find from google, which one is supposed to be closed as duplicate ?


Every time I try to add a torus with a major radius of 1317ft (401.42M), the major radius defaults to a value of around 984ft (300M). I also tried doing this by adding a torus with a major radius of 131.7ft (40.14M), or 1/10th scale and then increasing the scale in “Item” to 10 in the X-Y-Z fields, but then the ability to scale tops out at around 5 in the X and Y fields and only will allow a scale value of 10 in the Z field. I suspect the Z direction allows this value because the minimum radius I’m trying for is only 20ft (6.09M). I’ve also tried starting from scratch by changing units to meters, no joy, then starting again using feet, and lastly starting over again using inches. Still can’t add a torus without the major radius topping out at around 300M. I also reset the clipping distances. That didn’t help either. Suggestions?

I am modelling in Metric mode. I added a torus in Edit mode and it will not allow me set set the Major radius to anything larger than 1 meter. If I type in a value greater than 1m, it just changes back to 1m and clicking the arrows on the size control will not increase it past 1m.  This is probably stupid, but is there some setting that I might have activated to prevent larger sizes? I've double checked that snapping is off, so I'm stumped.  What could I be doing wrong?  Additional info: I have the scale of the metric units set to 0.01 and this seems to be the cause, but why?  Steps to Reproduce:   Create new project Delete default cube Set scene to Metric units with scale of 0.01 Add a torus   At this point the Major radius of the torus cannot be made larger than 1 meter.  More information:  If I change to metric units but do not set the scale, then the major radius of the torus is capped at 100m.  If I do not change to metric unit but instead stay with Blender units, then the major radius is capped a 100bu.  This seems to be an arbitrary limit.  Is there any reason for this limit?


Why are speech bubbles either blue or green for outgoing messages and not for incoming messages?   For example, in whatsapp, the outgoing messages are green. In iMessage, they are blue. I don't think I've ever seen a messaging app where the outgoing message bubbles are grey and the incoming ones are coloured. Is there a reason for this?

You would think that the messages you receive are the primary focus of a messaging app, since you spend most of your time reading them. However, many big messaging clients like iMessage and Facebook Messenger highlight your own messages in bright colors, and color the other messages more neutrally. Because of this, the user's eyes are automatically drawn to their own messages.  Is there a reason for this? I know iMessage uses the colors to indicate whether a message was sent using SMS or data, however it doesn't seem to make much sense in other scenarios. What am I missing?


I have two pages: edit.php and list-questions.php. I am wanting to load content from list-questions to edit, this works.  I also want to be able to trigger on('click') from list-questions within edit.  Within Edit.php I have:

   And within list-questions.php I have:  <?php $catID = $_GET['id'];  $getItems = $con->prepare("SELECT itemID,itemName,itemType FROM items WHERE catID=?"); $getItems->bind_param("i", $catID); $getItems->execute(); $getItems->store_result(); if($getItems->num_rows > 0) { ?>

Questions

 <?php   $getItems->bind_result($itemID,$itemName,$itemType);   while($getItems->fetch()) { ?>

<?php echo $itemName; ?>
	            <a class="trg-delete confirm" data-id="<?php echo $itemID; ?>">
 <?php }; ?>
 <?php } else { ?>

Questions

No Questions Found

 <?php };   When questions are found it outputs something similar to (simplified):

Questions

Question?

   How would I go about listening for a click from .trg-delete in edit.php ?

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Have table like :  declare @tbl TABLE (id int,sub_id int,[money] money) insert into @tbl (id,sub_id,money) SELECT 289,33602502,800.00 UNION ALL SELECT 300,33602502,805.00 UNION ALL SELECT 735,33603527,7175.77 UNION ALL SELECT 741,33603527,7172.77 UNION ALL SELECT 2049,33606066,4817.77 UNION ALL SELECT 2060,33606066,4791.77 UNION ALL SELECT 2598,33607099,4084.77 UNION ALL SELECT 2605,33607099,4053.77   Want delete rows where sub_id are same and money field is min.  For example response must looks like :  id   sub_id      money 289 33602502    800.00 741 33603527    7172.77 2060 33606066   4791.77 2605 33607099   4053.77   How to do it ?

What is the best way to remove duplicate rows from a fairly large SQL Server table (i.e. 300,000+ rows)?  The rows, of course, will not be perfect duplicates because of the existence of the RowID identity field.  MyTable  RowID int not null identity(1,1) primary key, Col1 varchar(20) not null, Col2 varchar(2048) not null, Col3 tinyint not null


In a completely hypothetical situation wherein a known employee of Stack Overflow takes public actions that are objectively detrimental to both the company and community, and for which actions shows no remorse and makes no attempt at amends, apology, or  restitution:   Is this the appropriate forum to express the completely hypothetical opinion that the employee in question should resign their position for the benefit of the community?    I realize that this question may come across as trolling or gaslighting given the current... climate of Meta, but I'm not terribly familiar with the rules of Meta and I'm genuinely curious as to whether such a post would be in violation of any standing policies.  Please note that I'm not calling for anyone's resignation here (nor am I advocating such); I'm simply wondering how such a question would be received and whether it would be closed.

Is there a formal grievance policy for reporting incidents where you believe an employee of Stack Exchange has been malicious towards a user of the network?  I'm looking for some official, ideally transparent way to express concerns regarding an employee that I've witnessed behaving in a way I believe is intending to cause personal and professional harm and distress towards at least one user of the network. I'm looking for transparency, as a way of receiving some personal protection against similar actions being taken against me.  Normally I would expect the process to involve contacting team@stackoverflow.com, but in this case I believe there needs to be an escalation, or at least circumvention, because the employee I'm concerned about is in a position of influence and power over our normal community management team.  What can I do? And if there's no such process, how can I protect myself from also being targeted as a whistle blower?    I have received a private contact from another party within the company regarding my concerns, for the record. I do not plan on disclosing details further than that, but I felt that the level of user attention this received means I have an obligation to report back to the community the steps being taken to remedy my concerns.