Installing Nvidia Graphics drivers on Ubuntu-GNOME 16.04

I am using Ubntu-GNOME 16.04 with GNOME 3.20 When I install Nvidia graphic drivers by sudo apt-get install nvidia-361 , I am facing the following problems. During the installation of Nvidia-361, it asks me to select Default Display Manager with the following options  lightdm gdm3  Consequences of selecting lightdm  : The login screen becomes like this :  I don't want this screen. I want the Default (nice) GNOME login screen. Furthermore.... When I enter my password and press enter, I get this screen for about 5 seconds :  Consequences of selecting gdm3  : Well I get nothing! After rebooting, Ubuntu loads ... then all of a sudden my display turns of. No Light. I have waited enough but alas :( no change. NOTE: I have tried both nvidia-361 in default repositories and nvidia-361 from ppa:graphics-drivers/ppa. No difference. I also tried installing nvidia-364 and nvidia-367 from graphics-drivers:ppa , alas :( no much difference. Using nvidia-364 or nvidia-367 : When I tried these drivers, I could get GUI back. But I got stuck on the login page : login loop


Why is $k$ taken as 1 in the derivation of $F=kma$?

In the derivation of F=ma, when we reach the point F=kma, we take k=1. Why can't we take 'k' as some other value?


Why the local variables can not be initialized with default values?

instance and static variables will be initialized with a default values if we don't initialize with our own values but it doesn't happen with local variables. Why they designed like so ?


What do you mean Gear box in Serdes serializer?

I read a statement from a document on Serializer. It mentions no gearbox Serializer.  Do you know what it meant?


Ubuntu 12.10 internal error: evolution-calendar-factory

My Ubuntu keep prompting this: Sorry, Ubuntu has experienced an internal error.  and the messages are:  ExecutablePath   /usr/lib/evolution/evolution-calendar-factory Package   evolution-data-server 3.6.0-0ubuntu2 ProblemType   Crash Title   evolution-calendar-factory crashed with SIGFPE in g_cclosure_marshal_VOID_OBJECTv()   I am running Ubuntu 12.10 on my i3-3220 3.8GB memory  Any suggestions? please. I don't know why that happens..


Dealing with cars harassing cyclists in the US

Tonight as my partner was out riding a car swerved over to the fog line as it passed and laid on the horn before speeding off. While most of the driver around here are extremely courteous something like this happens to one or the other of us several times a year. For the most part we're just thankful that the car only came close and annoyed by the powerless feeling in response to what seems like harassment. Usually the car is gone before we can get a plate or other good identifying information.  So, the question, is there anything worth doing in response to incidents like this? I'm wondering about things like:   Reporting to police Using a helmet camera or something like one in hopes of capturing the plate Letters to the editor of local papers


Show that function $f$ has a continuous extension to $[a,b]$ iff $f$ is uniformly continuous on $(a,b)$

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!


We know a human cannot run on water, but could a much stronger and faster animal?

, but could a much stronger and faster animal? This viral video shows a moose running across a body of water:   Some say the video is fake. Others think the water must be shallow. We probably won't resolve these issues here. My question is: could this actually happen (in deep water)? I imagine that in theory, a sufficiently strong animal could kick the water really hard and if it moved across the surface really fast, it could stay above the water. But could a real animal with a moose's strength and weight do it?


Better input method switch keystrokes under Windows?

I have 3 input languages installed and it is very annoying to change them with standard Windows keys because I am often overflow the language.  I would prefer to improve this. One improvement would be to make switch like in Ubuntu, where Ctrl-Right Shift switches "right" and stop at the end of language list and Ctrl-Left Shift switches "left" and stop at the beginning of a list.  But I don't see it is possible.  Also, probably better behavior would be like Alt-Tab behavior.  Is it possible to improve?  UPDATE  I know how to set change shortcuts in Windows, the problem is that options are very poor:    Most of these combinations are used in many popular programs like Google Chrome, so they are unusable.  And in switch choice:    there is no way to disable cycling and palette is very poor. Actually I can choose between Ctrl-Shift and Alt-Shift.  I emphasize: the entire setting of language switch is nearly unusable in Windows. Most of options are conflicting with other programs and overall functionality is extremely poor.  So the question persists: how to set my own combination, not limited to this strange choice by MS? Or how to do something what I described in question?


Three-columns text with figures of 2\columnwidth

Although in multicol environment (not the twocolumn option in document class) is problematic to place floats, there are some ways to put figures within a single column or occupying the entire width of the text. (That is not the problem)  But how manage figures that must be fitted in 2  columns  when there are 3 columns?  (ie, images fitted to about 0.65\textwidth after a \begin{multicols}{3}). There are some solution with or without multicol package?   This is a usual design in some books and journals and it is hard to believe that there are no document class, packages nor some clever trick to obtain this. For a single page I suppose that doing some ad hoc manual arrangements, with minipages for example, might be enough, but for a large document this approach would be a torture, so my question is about a general solution.


Why does visudo compare the contents of `VISUAL` to a fixed whitelist?

This is on Ubuntu 15.10  I'm trying to get a better understanding of visudo and how it works. The documentation explains that visudo will consult the VISUAL environment variable and compare it against a fixed list of editors. Where can I find this list and what does it consist of?  The man page mentions a list somewhere, but I can't tell if it's a compile-time configuration option or the contents of some file somewhere.  There is a hard-coded list of one or more editors that visudo will use set at compile-time that may  be overridden via the editor sudoers Default variable.  This list defaults to /usr/bin/editor.  Normally, visudo does not honor the VISUAL or EDITOR environment variables unless they contain an  editor in the aforementioned editors list.  However, if visudo is configured with the  --with-env-editor option or the env_editor Default variable is set in sudoers, visudo will use any  the editor defines by VISUAL or EDITOR.  Note that this can be a security hole since it allows the  user to execute any program they wish simply by setting VISUAL or EDITOR.   This is all fine, except that /usr/bin/vi seems not to be on this list although vi is.  $ sudo env VISUAL=/usr/bin/vi visudo   launches nano, the executable invoked by /usr/bin/editor through a series of symlinks.  $ sudo env VISUAL=vi visudo   launches vi and works fine.  This is confusing to me. The entire justification for having a fixed list of editors is to prevent an arbitrary command from being executed just by changing an environment variable. If visudo consults the PATH to determine where to find vi then I can effectively execute any command I want by changing the path and naming my executable vi.  So, why does visudo have a fixed list of editors that it will honor? Are there any security benefits to doing that? Assuming there is some advantage, why wouldn't the whitelist use absolute paths instead of names of commands?


Power of sets - $\{0,1\}^\mathbb{N} \simeq \mathbb{N}^\mathbb{N}$

I've got a problem with prove about cardinality of sets. How can I prove that $\lbrace 0,1 \rbrace^\mathbb{N} \simeq \mathbb{N}^\mathbb{N}$?


How do I check the active solution configuration Visual Studio built with at runtime?

I would like to enable/disable some code based on a custom solution configuration I added in Visual Studio.  How do I check this value at runtime?


How many elements of order 2 are there in $GF(p^r) \setminus \{0\}$?

I can see why there is only one element in $GF(p) \setminus \{0\}$ of order 2. But I'm not sure why I can claim that this would be the same element and only element for $GF(p^r)$.


Why can't player's nudge balls indefinitely in snooker?

Below is a position from a match between O'Sullivan and Hendry. Hendry has just nudged the cue ball into the pack of reds.    Obviously O'Sullivan could just do the same thing, hitting the cue ball into the pack very softly so it just barely touches one of the reds. Then both of them could just do that forever. Is there a rule that prevents this behavior?  Note that in straight pool there are specific rules to prevent this from happening, but in snooker, no such rule seems to exist.


Is it possible to download Google Chrome 32bits on Ubuntu 16.04?

I tried to download it on  but the only version are 64 bits. My question is the title, is it possible to download Chrome 32bits?  English isnt my first language sorry for mistakes, Thanks you!


Is there an easy way to programmatically extract IP address?

Is there an easy way to programmatically extract IP address, without tedious parsing of ifconfig?  I would not mind simple command output processing using sed to do it but not processing multiline files from /etc some place.  What I am trying to do is modify my .bashrc to display the IP address of the host in the greeting message.  I am using Ubuntu 12.04 but decided to post here instead of the Ubuntu forum because I consider this to be not distro-specific.


Finding the gradient of $r = \sqrt{x^2+y^2+z^2}$ .

In David J. Griffiths' Introduction to Electrodynamics - Example $1.3$, the author solves the problem of  Find the gradient of $r = \sqrt{x^2+y^2+z^2}$ . (As in the magnitude of the position vector).  He does $$ \nabla r = \frac{\delta r}{\delta x} \hat{x}+\frac{\delta r}{\delta y} \hat{y}+\frac{\delta r}{\delta z} \hat{z} \tag{1} $$ nothing wrong there, but then he does the following $$ \nabla r = \frac{1}{2}\frac{2x}{\sqrt{x^2+y^2+z^2}} \hat{x}+\frac{1}{2}\frac{2y}{\sqrt{x^2+y^2+z^2}} \hat{y}+\frac{1}{2}\frac{2z}{\sqrt{x^2+y^2+z^2}} \hat{z} \tag{2} $$ which I am confused as to how he got to, I can't seem to understand/find if he just manipulated any of the values: I don't understand why he makes $\delta x$ into $2{\sqrt{x^2+y^2+z^2}}$ for all dimension variables. Can someone elaborate? Thank you.


Does anyone use the VerbTeX Pro app on their ipad/tablet? I have an issue with bold where, even if I bold text within braces it just ends up automatically applying bold to the rest of the paragraph. Is there any trick to fix this issue, or is this just an entire app flaw?  Also, I don't have this issue when I use TeXShop on my computer or even on sites like this. So I'm thinking it's an app flaw, but i want to make sure if there's any work-around to it.


Does the Blender Game Engine support mobile platforms?

Can BGE games be built for mobile platforms? (Android/iOS)? If not, is support planned?


Show that every line $y=mx$ intersects the curve $y^2+\int _{ 0 }^{ x }{ f(t)dt=2!}$

If $f$ is a continuous function with $\displaystyle \int _{ 0 }^{ x}{  f(t)dt\rightarrow\infty }  $ as $|x|\rightarrow\infty$,then show that    every line      $y=mx$ intersects the curve $\displaystyle y^2+\int _{ 0 }^{ x }{  f(t)dt=2!}  $   I can't understand how to proceed with this problem.Any suggestion?


I need to get an hr element in between 2 buttons so that it is vertically centered in between them.  This is my codepen, I've been struggling to find a decent solution. Could anybody please take a quick look?  Right now they are below and above.    <button class="left">Test</button> <hr /> <button class="right">Test</button>


Can I force my laptop to use NVIDIA instead of Intel?

I have a Dell N5110 laptop with integrated Nvidia GeForce GT 525M and an Intel HD Graphics 3000 card; My problem is the default card is the Intel one, and it provides a very bad performance with Windows 8. So can I force to use the Nvidia one all the time including "Desktop Windows Manager" ?


Why an empty array in javascript entering for loop?

I have following code snippet:  console.log('**1**',parentNode.child.length); //1             for(var ch in parentNode.child)             {                 console.log('PTree root child',parentNode.child[ch]); //2             }   In //1 parentNode.child.length comes out to be 0 but still it goes inside the for loop and gives following output in line //2:  PTree root child (val) {         if (this.indexOf(val) === -1) {             this.push(val);         }          return this;     }   I am not sure why it is happening.


Is there a "simple" way of proving Stirlings formula?

Is there any way to derive Stirlings formula that only requires some undergraduate knowledge of calculus, real analysis and perhaps some identitets involving the gamma function, maybe Wallis product, and things along those lines? If not, and I know this is a rather vague question, what is the simplest but still sufficiently rigorous way of deriving it? I had a look at  but the comments seems quite messy. Wikipedia was not particularly helpful either since I have not learned about Laplace's method, Bernoulli numbers or the trapezoidal rule.


Someone wants to pay off my credit card bills. Am I being scammed?

The person in question is my sugar mother and she doesn't want any of my information, she's offering me her bank account # and she sent me a picture of her ID to prove that she's who she claims to be(and I've video chatted her before as well.) Any chance I'll get in trouble for this?


Negative $R^2$ at random regression forest

I am currently writing my master's thesis about random forests and just started to work with the R software.  When I am running my model the output looks like this:  Mean of squared residuals: 0.0002441535 % Var explained: -8.82   Can anyone explain me why I get a negative $R^2$? I always thought that a negative $R^2$ is not possible.


when i click button,new button appears and it doesn't work

When i click button, i want to add new note to my db.So when i click add_note button, a textbox  and save button appears. When i click save button nothing change. I check the web concole but there is no error . What should i do ?     jquery   $("#add_note").each(function() {     $(this).on("click", function() {         $("#not").html('<input type="text" id="note" />');         $("#buton").html('<button  class="btn btn-primary btn-sm " id="save">Save</button>');      }); });   $("#save").each(function() {     $(this).on("click", function() {         alert("dsfasdfasdfasd");     }); });      html   	      <button class="btn btn-primary btn-sm " id="add_note"> Add New Note</button>


I have the following code:  public string GetSetting(string setting) {    return db2.ExecuteScalar<string>("SELECT VALUE FROM Setting WHERE  SettingType = ?", setting); }  public enum NOA {     All = 0,     Five = 5,     Seven = 7,     Nine = 9,     Ten = 10 } public static partial class Extensions {     public static string Text(this NOA noa)     {         switch (noa)         {             case NOA.Ten: return "10";             case NOA.Five: return "5";             case NOA.Seven: return "7";             case NOA.Nine: return "9";         }         return "";     } }   What I would like to do is to get the value of noa and cast it to a NOA.   Here's what I have tried. But I get an error saying "String does not contain a definition for Value":  NOA noa = (NOA)App.DB.GetSetting("NumberOfAnswers").Value;   When I try this. I get an error saying "Cannot convert type string to Japanese.NOA:  NOA noa = (NOA)App.DB.GetSetting("NumberOfAnswers");   Can someone tell me how I can get the value and put it into noa?


Multivariable divergence theorem bicylinder questiin

Let $E$ be the intersection of the cylinders $x^{2}+y^{2} \leq 1, y^{2}+z^{2} \leq 1$. Compute flux $ \ \iint_{\partial E} F \cdot d S$ where $\vec F = \left(x y^{2}+\cos (y z)\right) \hat i - \left(x^{2} + \sin (z x)\right) \hat j + (z + \cos (x y)) \hat k \ $ and $ \ \partial E$ is oriented outward. What I tried:  Image2:  Please guide have I got it right.


My question is simple,thus I will not go in deep  can we use for() loop without condition like this  for(;;space+=1) { printf("  "); break; }


jQuery $(document).ready and UpdatePanels?

I'm using jQuery to wire up some mouseover effects on elements that are inside an UpdatePanel. The events are bound in $(document).ready . For example:  $(function() {         $('div._Foo').bind("mouseover", function(e) {         // Do something exciting     });     });   Of course, this works fine the first time the page is loaded, but when the UpdatePanel does a partial page update, it's not run and the mouseover effects don't work any more inside the UpdatePanel.   What's the recommended approach for wiring stuff up in jQuery not only on the first page load, but every time an UpdatePanel fires a partial page update? Should I be using the ASP.NET ajax lifecycle instead of $(document).ready?


How Do I Get a Material to Assign to All Faces?

So first of all this question likely suffers from the same problem as . I say likely, because I was never able to make the answers for that question work, so I can't be sure exactly what is going on. I AM fairly certain that I simply don't know some crucial part of applying materials, and that is causing this problem.   The problem is that if I try to apply a material to an object, the material is only applied to some faces. In the linked question, I tried to apply a material and a texture to a roof structure, so I decided to scale things down and practice on a cube. Same problem.   I created a simple green material, but it only applied to two out of six faces. Selecting the whole cube and clicking assign again has no effect. The rest of the cube is black.   Quite simply, I don't know why this is happening. Based on my understanding of materials, when you select a face and hit assign, the material is assigned to that face. Either this isn't happening, or it just isn't showing up. Why is this? What am I missing?   If possible, I would like an explanation of how the material works, not just a simple 'click this then that' answer.      NOTE: I apologize if this seems too much like a duplicate of the linked question. I'm asking again because the answers supplied never fixed the problem for me, and because I wanted to remove all other factors and work with a simple cube for reference.


Manufacturer states that RAM is DDR3L but Windows and Linux apps and commands states DDR3

Is DDR3L RAM and DDR3 RAM compatible?  I have a Notebook that I want to upgrade, Toshiba Satellite C55-B5212KL and () where they clearly state that the RAM is a DDR3L.  Now my question comes from the fact that I have dual OS (Windows 8.1 and Linux Mint 17.3) and the outcomes after using an app on Windows and running two commands in Linux are like this:  Outcome of memory under Windows 8.1    Outcome of SPD under Windows 8.1    Linux: sudo lshw    Linux: sudo dmidecode --type 17    On Linux the results are straightforward and they don’t show that my laptop has a DDR3L memory, they say it has a DDR3 @1333 MHz. On the other hand the app in Windos 8.1 also shows a RAM DDR3 but @666 MHz which is confusing for me since I don’t know so much about hardware.  So again, whom should I trust for upgrading my laptop and making the right purchase, my output from two different OS or the manufacturer specs?


Creating an equinumerous disjoint set without axiom of choice

Given a set $X$, can you always find a disjoint set $Y$ such that there is a bijection between them? This is easy with AC. you can well order X and replace each $x\in X$ with the least ordinal not already in $X$. I am unsure how to proceed without AC though.


ARIMA, p and q identification. Please help

I am very new to SARIMA and I am really facing a poblem which p,q,P,Q to use. Here is ACF and PACF of first-difference, two first plots (stationary) and ACF and PACF of first-seasonal difference (two last plots).    I think that P=1, Q=1 because ACF and PACF of first-seasonal difference drop off at lag 1 and are outside the confidence band. What about p and q ? Can I san that p=2 and q=2 because it drop of at lag 2? Or should I take under consideration the fact that only at lag 4 ACF and PACF are outside confidence band? Is p=4 and q=4 or 2 for both?  Or should I do AIC test for (2,1,2)(1,1,1)12, (4,1,2)(1,1,1)12, (2,1,4)(1,1,1)12, (4,1,4)(1,1,1)12 and check which one has the smallest? Or assuming that p=2 and q=2 does not make any sense because its within the confidence band?  SARIMA (4,1,4)(1,1,1)12 gives me  lots of non-significant coefficients. :   Or maybe should I try SARIMA(7,1,4)(1,1,1)12, SARIMA(8,1,4)(1,1,1)12 ? But it really does not seem reasonable.  Please tell me what to do now :( Thank you for any help!


How much time until an unused hard drive loses its data?

Do you guys know how much time needs to pass until the data stored on a hard drive starts to degrade?   To keep the data intact for long periods of time, I heard you need to periodically rewrite it on the hard drive, like every 5 years or so. Is it true?


Can your familiar (via Find Familiar) initiate telepathic communication with you?

The  spell says (emphasis mine):     While your familiar is within 100 feet of you, you can communicate with it telepathically.   So, clearly you can speak to it telepathically, say to issue commands to it. But can it:   Reply to your message? Initiate a conversation with you?     As it happens, I'm going to have a  familiar (via warlock, ), which can respond in it's own way:     Limited Telepathy. The pseudodragon can magically communicate simple ideas, emotions, and images telepathically with any creature within 100 feet of it that can understand a language.   So in my case, it's more about whether it can reply with words (either because it can speak to me telepathically due to find familiar, or because I've "initiated" a telepathic conversation with it, similar to the  cantrip, even though that's not actually telepathy), or whether it can only reply at all because of its own ability (via "Limited Telepathy", which obviously won't be with words, if it turns out that the telepathy via find familiar is one-way only).   I'm hoping to figure out which interpretation is correct by knowing the answer to my above questions about whether any familiar (via find familiar) can telepathically communicate with the caster at all.


Why does Update Manager give me a `Type not known' error with a PPA?

I got this message when I was using Update Manager:   E:Type 'ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu'  is not known on line 2 in source list /etc/apt/sources.list.d /otto-kesselgulasch-gimp-precise.list   How do I solve it?


Would a Sorcerer roll damage once or twice when Twinning a damaging (non-attack) spell?

There is a useful rule in the PHB concerning multiple creatures being damaged simultaneously (PHB, p. 196):     If a spell or other effect deals damage to more than one target at the same time, roll the damage once for all of them.   That's a handy rule that stops us from needing to roll damage dozens of times for a single fireball. But it got me thinking about the Sorcerer's twinned-spell metamagic (PHB, p. 102).     When you cast a spell that targets only one creature and doesn’t have a range of self, you can spend a number of sorcery points equal to the spell’s level to target a second creature in range with the same spell (1 sorcery point if the spell is a cantrip).   It has been clarified elsewhere that , but rather including an additional target in the effect of the original spell. And while it's been established that the attacks from a twinned spell with attack rolls don't happen simultaneously (), it seems less clear to me that this would be the case for spells with no attack roll.  So if a spell like Blight were twinned, would you only roll once for the damage and use that total for both targets (modified by their respective saving throws), or would you roll damage twice (once for each target) because the original version of the spell only targeted one creature?


$X^*$ with its weak*-topology is of the first category in itself

Let $X$ be an infinite-dimensional Fréchet space. Prove that $X^*$,with its weak*-topology is of the first category in itself.


How to get help on a specific option of a command

I guess the title says it all. I know I can get help on a specific command, for example wget, like this:  wget --help   But how can I get help on some specific option of that command? For example, I might want to find out about (and only about) wget's -A option. You won't believe it, but an hour of googleing didn't help me on this question :)  Thanks a lot in advance!


What exactly is meant by the wavelength of a photon?

I've been thinking about this for quite some time, and from looking online I haven't found a satisfying answer.  Lots of photons, such as visible-light photons have very small wavelength (which from my understanding of basic physics is the distance between two crests/troughs), but I also know that some EM waves have wavelengths a few metres or even kilometres long e.g radio waves.   What keeps me up at night is the question "How can a photon have a wavelength of a few kilometres and yet still be thought of as a particle?"  Does this mean that one individual photon is several kilometres long? If so, wouldn't it be subject to so many variations between the beginning of the wave and its end?  I realise that matter is also wave-like, where it's uncertainty in position is given by its De Broglie wavelength. Does this apply to the photon?  In other words, is the wavelength of a photon simply the uncertainty in its position?


What is the best way to create a fixed width file in C#. I have a bunch of fields with lengths to write out. Say 20,80.10,2 etc all left aligned. Is there an easy way to do this?


How to redirect logged in user to different page rather than what is configured in basic site setting?

I have the following requirement: When an anonymous user visits the site, they will get /login page which is configured in Configuration -> Basic site setting -> Front page. After logging in when they hit logo/home link they have to go to /dashboard/user page instead of /login page. How can this be achieved?


Client sends TCP ACK FIN right after successful TLS Handshake

I have a problem with one of my virtualhost.  My config: a reverse proxy with Centos 7 + apache 2.4 and a backend with Microsoft IIS 6.0.  When I do a curl from the proxy to the virtualhost (curl -k ) I get a proxy error:  <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">  <title>500 Proxy Error</title>
Proxy Error
 The proxy server could not handle the request GET&nbsp;/.
 Reason: Error during SSL Handshake with remote server

    When I look at the packets it is what I get:  1) Client sends [SYN] to server. 2) Server sends [SYN,ACK] to client. 3) Client sends [ACK] to server. 4) Client sends the message “Client Hello” to the server. 5) Server sends its public key with the message “Server Hello, Certificate, Server Hello Done” 6) Client sends its public key with the message “Client Key Exchange, Change Cipher Spec, Encrypted Handshake Message” 7) Server sends encrypted handshake message with the message “Change Cipher Spec, Encrypted Handshake Message” 8) Client sends [FIN,ACK] 9) Server sends RST   The cypher the server wants to use is tls_rsa_with_3des_ede_cbc_sha.  I do not have access to the backend server.  But when I do the same but from the proxy to the real IP of the backend (e.g. curl -k ), it works perfectly. It is just when passing by the proxy that it does not work.  Do you know what is going wrong?


Does using "did" to form the past tense make a difference?

The two sentences here both indicate that, at some point in the past, I performed some work:   I did work I worked   What is the difference between these two sentences? Does constructing one with did and the other with a simple past change the meaning?


What happens technically when a MicroSD (Secure Digital Storage Device) is not formattable, delectable, or reusable

My question detected as a similar question, and the similar answer is to throw your SD in the garbage! I want to update my question by asking, what happens technically when a microSD card happens to act like that? It is totally readable, but not changeable, either delectable or formattable. It turned to a stone slab with carved data on it. early question: I recently trying to format and reuse a microSD card, which turned to "Secure Digital Storage Device" by an android phone 7.1 version. The data on the card is available and totally accessible but every moment I want to delete a folder it is automatically recovered. Even when I used it on the desktop, I did not insert it into the phone. Every possible solution in links like below turned out to not work.  I used many ways to solve this issue, which provided with other websites, they all failed to work: Diskpart Format, Use the Registry. Please note that I don't want to use third-party software. please do not post solutions like that. I am curious how this card is so undeletable, I can use it for other purposes, and this discussion open for your explanation. but for now, I want a method to simply reuse my micro sd as an ordinary sd card.


Can i Set Two Different server MX Record for one Domain

Suddently, Today one of my client asked me to setup google mail services for his business, currently he is using zoho mail and approx 5-6 user email working on zoho, now he purchased google mail services for 1 user and want to host only 1 email account from his zoho mail to google mail and for rest 5 users account he wants to be continue on zoho it self..  is there any possibilities to host both mx records of zoho and gmail for single domain.   any suggestion , it will be thankful.


"police said" - why not "the police said"?

Example with a context (news article: ):     In their last crime, the alleged robbers had grabbed more than 8 million rubles ($146,000) in an attack on a cash courier in May, police said.   What's wrong with saying the police said? What's the nuance? Check that article. Almost every time they use the word police, there's no article in front of it.


i have question. I would like to ask my friend something, he is on holiday.  First sentence: Do you have any interesting activities there? - or should i use have you got?  Second: Have you ever got letter from this country?  Are theese sentences correct?


Get all tables having Value in SQL Server

I need to find a value wherever present in database. Consider I need to find value "Fish" from Database. Output I need is     Table Name | Column Name   --------------------------  Table 1    |  columnName    Table 12   |  columnName   and so on..


Where do I find the random generated password after the phpmyadmin installation?

I installed phpmyadmin in my Ubuntu 12 server, during the installation process with dbconfig-common I left the phpmyadmin password blank. The system said a random password will be generated. That's fantastic but.. where the hell do I find this password???  I searched the web high and low it seems I am the only one with this problem.


"'To'/'on' the contrary" in these sentences: is the difference very slight?

I was interested in the following sentences which appeared, respectively, in a news article titled “" and in a news article titled "", both in The New York Times.     1) “In the old days you had to provide parking,” Mr. Greco said. “Now it   is to the contrary, and what we are seeing is a slow evaporation of   the parking spaces.”      2) The spirit of Senator Simmons's article is not very humane or broad;   it is, on the contrary rather narrow and harsh.   Oxford Dictionary of English has entries for both "to the contrary" and "on the contrary":     on the contrary used to intensify a denial of what as just been implied or stated by suggesting that the opposite is the case.      to the contrary with the opposite meaning or implication.   Reading what the vocabulary says, it seems that both journalists use the phrases in a wrong way inverting "to" with "on" and "on" with "to", respectively; but the difference between the two fragments is very slight, so I'm not able to definitively understand if I'm right.  Furthermore, the usage of the two fragments could be become interchangeable nowadays; but I'm not sure on this circumstance.  Can someone clarify if the fragments "to the contrary" and "on the contrary" are being correctly used in both cases?


If     $$ \sum  x_n$$  is divergent where $x_n$'s  are non negative. For $p \geq 1$, is it true that $$ \sum \frac{x_n}{(x_1 + \cdots +x_n)^p} $$  is convergent?


QGIS Map Composer goes blank, outputs corrupt PDF

I am using 64bit 2.10.1-Pisa on Windows 10.  When I set up my composer to print, everything looks fine until I try to print or export. The composer goes completely blank and outputs a corrupted PDF using the Export to PDF function. The PDF file won't even open.  I had the same result exporting to PNG.  When I try to use the PDF document printer instead of exporting, QGIS stops responding indefinitely.


If $\sum_{n=1}^\infty \frac{1}{a_n}$ converges, must $\sum_{n=1}^\infty \frac{n}{a_1 + \dots + a_n}$ converge?

Suppose $\sum_{n=1}^\infty \frac{1}{a_n} = A$ is summable, with $a_n > 0,$ $n = 1,2,3,\cdots.$ How can we prove that $\sum_{n=1}^\infty \frac{n}{a_1 + \dots + a_n}$ is also summable?  This question came from a problem-solving seminar, but I'm quite stuck without a push in the right direction. I tried a few things, including Cauchy-Schwarz (which says $\sum_{n=1}^\infty \frac{n}{a_1 + \dots + a_n} < \sum_{n=1}^\infty \frac{A}{n}$) and also the idea of assuming the latter series diverges and attempting to deduce the divergence of the former series from that, using facts such as $\sum a_n = \infty \implies \sum \frac{a_n}{a_1 + \cdots + a_n} = \infty$. Nothing has worked so far.


How to stop a command block that is constantly killing me

I was playing minecraft with my brother and his friend. The friend placed command blocks that @kill players infinitely; is there a way to stop this happening? I have tried the commandblockoutput command but it doesn't work.


Cannot Use the Disk Utility to Create Two Partitions on External HDD with High Sierra

I just bought a new external hard disk and I want to create some partitions. I am using the Disk Utility app in an High Sierra OSX MacBookPro.  However, the "partition" option for my hard drive is greyed out, therefore I cannot go ahead with the partition operation.    Although, when issuing the command diskutil partitionDisk disk2 2 MBR fat32 "PART1" 80% fat32 "PART2" 20%, I am able to partition, I cannot directly operate through Disk Utility.  How can I do this using the Disk Utility application?


Downvotes and close of beginner question

I experienced it several times, that beginner questions are closed or downvoted. Now I read the FAQ and found the following.  A question is closed if it is        exact duplicate   off topic   not constructive   not a real question   too localized      What about if everyone who votes for a close has to submit a comment why it should be closed? The same with downvoting. Most people vote down without saying explicitely why. It would help the questioner to improve the question.  Neverthless, instead of simply providing an answer to a apparantly simple questions you get downvoted and closed. Why they cannot provide a solution even the question is simple?  Last time I made a Google research and didn't found the information I was looking for. So I started a question here. I got immediately two votes for a close. After trying further I found the solution. But this information will never be seen and found by others, because I deleted the question because of down votes.   In this case you can say that I didn't made enough research, but the question also included a continuation question which also will be never answered.   Why there is no place for beginner questions?   Another time I also asked a questions and searched for hours for an solution. But the solution was so simple that it is embarrassing to post the solution. But I never got a clear answer.


If two distinct primes divides the same number, will their product divide this too?

If two distinct primes p,q divides a number z, will their product $pq$ also divide z, that is $pq|z$? And how can I prove this. Thanks,


Unable to increase partition size with subsequent blocking partition

I can't make my main Macintosh HD partition bigger. It's limited by the partition in the middle, which seems to be frozen, I can't move it down to make space for my main partition. Also I can't seem to delete it. The format of disk0s4 is Mac OS Extended (Journaled).  Some background, I created a partition to experiment with bootcamp to use windows. Once done I deleted that new partition, it became a no-man's land that neither partition can claim.  As a seperate issue, boot camp assistant has been giving me this error:   Anyone has any ideas? Much appreciated!  The closest problem I've found is here, this is a FAT partition.


My question  was made community wiki. Why was this done?  I guess it was done because I made more than 10 edits? Almost all of the those edits were to fix typos. Is it possible to have my question returned to me?  I just discovered that several more of my posts have become community wiki such  as         How about sending an automated message to the inbox saying your answer/question has been made a community wiki due to editing it 10 times along with an explanation as to why this is done.


SQL Server Management Studio 2018 Will Not Start

I have SSMS 2018 installed on Win10 and it keeps on refusing to start. I click the icon, I hear a windows audible error but no error message shows. I had the same issue before so I uninstalled and reinstalled SSMS. The problem is resolved for maybe a day (or possibly a few restarts) but then reappears. I had enterprise and developer edition of SQL server installed so uninstalled enterprise as do not need it.  I stumbled across one nugget of information. If I do a net start mssqlserver from the cmd prompt I see "system error 5 has occurred Access is denied."  All the MSSQL services seem to log on as Local System - I had read that the wrong user here could cause the issue


How can I return a custom HTTP status code from a WCF REST method?

If something goes wrong in a WCF REST call, such as the requested resource is not found, how can I play with the HTTP response code (setting it to something like HTTP 404, for example) in my OperationContract method?


Windows 8 Upgrade Failed - No Error Info

When I tried to upgrade 7 (standard install, primary NTFS partition), the installed stopped at 29% and gave me a message that "Installation failed".  Not even proper punctuation!  I have no idea where to look for error files and there could be a multitude of issues affecting this, so where can I look for more info.  Is there a CLI switch for something akin to verbose mode that I can pass to the installer?


Why do we need to define the value of $p \implies q$ when $p$ is false?    Is there any problem if we don't define the value of $p \implies q$ when $p$ is false?    I didn't learn the value of $p \implies q$ when I was a high-school student. But I didn't have a problem at all.    Why do mathematicians define the value of $p \implies q$ when $p$ is false?  I cannot understand that.    I know if we define the value of $p \implies q$ correctly, we can prove for example $\emptyset \subset A$ for any set $A$. Maybe it is convenient. But do we need to define the value of $p \implies q$ when $p$ is false just for a convenience?


Python: Charmap Codec Unicode Encode Error

When i run the following code,  import urllib.request, urllib.parse, urllib.error from bs4 import BeautifulSoup url= "http://couponmaths.com" htmltext = urllib.request.urlopen(url).read() soup = BeautifulSoup(htmltext) print(soup.get_text()) print(soup.prettify())   I get the Error:  UnicodeEncodeError: 'charmap' codec can't encode character '\u201c' in position 16975: character maps to <undefined>   Can anyone please help me with this?


name

name

name

     What would be the simpliest way, in this layout, to sort items by "price" using JS only? Say, there is webshop with items and user wants to sort items by price ascending


Salesforce One, is it really a new product?

I've received yesterday tons of emails announcing        Salesforce.com just launched the Salesforce1 Customer Platform, a   new platform designed to help you build apps for the Internet of   Customers   But I don't see in the features anything new, is it?


Ignoring the axiom of regularity (and therefore the implication of "no set can contain itself"), would it be correct to state that the set that contains only itself is unique?  My argument is that if $x$ is said set, then $$ x = \{x\} = \{\{x\}\} = \{\{\{\cdot\cdot\cdot\}\}\} $$ Ad infinitum, which seems to be unique.


Are 'from' & 'with' interchangeable in the given sentence?

We use "Made from + material" (when the material changes its nature, i.e., the original substance can't be seen or left:     The lotion is made from aloe Vera.   But I have read : "In short, "made with X" means that X is one of the ingredients or materials that went into the object."    It means we can use : "Made with + ingredients" :     The lotion is made with aloe Vera.   Are 'from' and 'with' interchangeable in the given sentence?


How do I make a newly opened file the active window on GNOME 3?

When I double click a file in Nautilus (e.g. a LibreOffice document) it will open a new window in the background, but Nautilus remains the active window.  Is there a way to open a file and have the new window automatically become the active window?  I'm running Ubuntu 18.04.


What is the probability of a biased coin coming up heads given that a liar is claiming that the coin came up heads?

A biased coin is tossed.   Probability of Head - $\frac{1}{8}$  Probability of Tail - $\frac{7}{8}$  A liar watches the coin toss. Probability of his lying is $\frac{3}{4}$ and telling the truth is $\frac{1}{4}$. He says that that the outcome is Head. What is the probability that the coin has truly turned Head?  My Attempt:  I used the formula: $$P(A \mid B) = \frac{P(A\cap B)}{P(B)}$$  $\ \ \ \ \ \ $P(it is head GIVEN liar said it's head) = P(it's head AND liar said it's head) / P(liar said it's head)  or, P(it is head GIVEN liar said it's head) = $\frac{ \frac{1}{8} \frac{1}{4} }{ \frac{7}{8}\frac{3}{4} + \frac{1}{8}\frac{1}{4} }$ [using a probability tree will be helpful here]  or, P(it is head GIVEN liar said it's head) = $\frac{1}{22}$  The Question: Is the method I used wrong in any way? Some others I have talked to are saying the answer will be $\frac{1}{4}$. Their reasoning is this: since the liar lies 3 times out of 4 and he said it is head, then the probability of it being head is 1/4. So who is right? What will be the answer?


Some strange error appeared after I upgraded my Ubuntu from (10.11, 11.04 i dont know) to 11.10.  I am getting an undefined reference to 'sqrt' while using math.h and linking with -lm  I'm compiling with gcc -Wall -Werror -g -Iinclude/ -lm lib/matrix.c src/analyse.c -o bin/analyse.o both source-files use and include math.h.  This code compiled without problems for and I didn't change much since the upgrade but now it won't work.  Do you have any suggestions what I can do, to find the error?  I'm sorry, if this question was asked before; there are so many posts on math linker errors and I didn't find a matching one


Can you guys help me with my problem here. I"m confused between these two sentences:     My hand breaks   and      My hand is broken   As far as I'm concerned, for the first sentence "breaks" is a verb. Conversely, for the second sentence "broken" is an adjective. But is the first sentence grammatically correct? If it is, do both sentences indicate the same meaning?


Access all label from one import in component(LWC)

I am trying to access label in a component(Lightning web component).  import greeting from '@salesforce/label/c.xxxx; import greeting from '@salesforce/label/c.yyyy; ...   I want to access all labels in one import.  So is it possible? Reason is: one of my component have lot of messages which we need to import. we want to avoid multiple import line for label in my component.  I was following salesforce article but didn't get there:        Or if is there other way around, if we can remove multiple time import?


Orthogonal projections with $\sum P_i =I$, proving that $i\ne j \Rightarrow  P_{j}P_{i}=0$

I am reading Introduction to Quantum Computing by Kaye, Laflamme, and Mosca. As an exercise, they write  "Prove that if the operators $P_{i}$ satisfy $P_{i}^{*}=P_{i}$ and $P_{i}^{2}=P_{i}$ , then $P_{i}P_{j}=0$ for $i\ne j$.''   In the context of this problem, it has been assumed that $I=\sum_{i=1}^{n} P_{i}$, where I suppose that $n$ could be infinite. I have shown that this is true in the trivial case $n=2$, but the general case has been eluding me. How should I attack this?


Difference between "now" and "right now"

Is there any difference between the two following sentences?        We can't connect to Outlook right now.     We can't connect to Outlook now.


In interstellar, if light can't escape a black hole, how can a spaceship made by humans escape one?

How did their spaceship escape the black hole Gargantua?


How can I silence ALL output from a command in a batch file?

I figured that 2>NUL at the end of DOS commands was enough, but it seems some messages, some error, still get through. So how can I cut off all output whatsoever? Or should I just forget it and allow output through?


Short story with a human being "dead" for several seconds during faster-than-light space travel

It's a short story I read a long time ago, so I don't have the slightest idea who is the author. In it, scientists built a machine that can solve problems by feeding it, as far as I remember, specially coded data (or maybe not, but some cards were used). The machine was programmed to keep the humans from harm, and scientists wanted to solve the problem of traveling to distant places in space, which requires really high speed or some such thing, that makes it impossible for the machine to process this question (because it would harm humans). Scientists find some trick and the device is able to give an answer, but when an actual human is using the suggested technology, he appears in some kind of, I don't know, hell, though he was alive again after the end of the travel.


Will the latest LTS version of Kubuntu run on my late 2009 macbook?

So, i am trying to find a good linux distro that is similar to windows* (my main os) and it has to be lightweight. I will run the distro on my 2GB RAm, Core 2 Duo Late 2009 MacBook. Does someone please have a suggestion of a lightweight distro similar to windows. I will be thankful if i recieve an awnser. *with many google searches i think kubuntu is great, but i don't think it will run PS: sorry for bad english


Any way to delete in vim without overwriting your last yank?

I love vim, but one common gotcha is:   yank a line go to where you would like to paste it delete what's there paste your yank, only to discover that it pastes what you just deleted   Obviously the workflow is delete first, yank second.  But it would be reeeeeaaaaaalllly nice if I didn't have to.  Anyone have a trick for this? Does vim have a paste buffer that works well, or is there a .vimrc setting I can change?


How can I install the Ubuntu CD ISO image on to a 1 Gig Thumb drive so that it can boot to my target system?  Thanks


while loop with if statement not working

By way of an example I have a txt file that contains a list of dogs, one on each line of the file and then "**" on the last line.  I then have the following code to load this into an ArrayList to use in a JComboBox.  This way I can simply add another line in the text box to add another dog.  My example code is as follows  public class test{ static String temp;  public static void main(String[] args) { List<String> picklistDogs = new ArrayList<String>(); File picklistFile = new File (filePath); try {     BufferedReader loadPickList = new BufferedReader (new FileReader(picklistFile));     while(true) {         temp = loadPickList.readLine();         if (temp != "**") {             picklistDogs.add(temp);         } else {             break;         }     }     loadPickList.close(); } catch(FileNotFoundException e){     System.out.println("file not found"); } catch(IOException e){     System.out.println("file io error"); } } // END of main } // END of class test   My problem seams to be that the if statement never triggers the break to exit the while loop.  Any solutions would be appreciated.


One of the answers to  question states that "We shall discuss it in our today's meeting"  is grammatically correct. To me, that sentence is clearly wrong. While in today's meeting is fine and in our today meeting is OKish (though at the very least clumsy), there's something about the possessive there (our today's) that makes it wrong for me. I would read that sentence as in our today's (as opposed to your today's) meeting. Similar to in our car's trunk where the our clearly modifies car and not trunk or car trunk, the our in our today's seems to be modifying today's and not meeting. So, my questions are i) is it actually grammatically wrong to say in our today's or is it just a question of usage? and ii) if it is indeed wrong, how can we explain its wrongness?


If G is a group of order n=35, then it is cyclic

I've been asked to prove this.   In class we proved this when $n=15$, but our approached seemed unnecessarily complicated to me. We invoked Sylow's theorems, normalizers, etc. I've looked online and found other examples of this approach.    I wonder if it is actually unnecessary, or if there is something wrong with the following proof:   If $|G|=35=5\cdot7$ , then by Cauchy's theorem, there exist $x,y \in G$ such that $o(x)=5$, $o(y)=7$. The order of the product $xy$ is then $\text{lcm}(5,7)=35$. Since we've found an element of $G$ of order 35, we conclude that $G$ is cyclic.   Thanks.


Download file after fill in email address

When anonymous users wants to download e.g a PDF file, they must first fill in their email address. What is best way to set this up?


This is a very simple question, yet I did not find anybody that could give me a satisfactory answer. I would say “go by foot”, but it seems that “go on foot” is used more often.  Which one is right? Are both right?  Does it depend on the context?  Edit: Searching with Google yields 26,000,000 results for “on foot” and 8,000,000 for “by foot”, so it seems that at least both expressions are used.  However, whether they are both correct is another issue.


What does the following notation mean: $n< < m$ , where $n$ and $m$ are numbers?


java string cannot be converted to boolean error

I'm a beginner with java and I can't seem to figure out why string won't convert to boolean.   The error code comes up specifically on the "if" line and "else if" line.       String Name, SystemOfMeasure;     Double Height, IdealWeight;      // Retrieve user data     Name = txtName.getText();     SystemOfMeasure = txtSystemOfMeasure.getText();     Height = Double.parseDouble(txtHeight.getText());      if (SystemOfMeasure = "M") {         IdealWeight = Height * Height * 25;         lblDisplay.setText(Name + ("'s ideal weight is") + IdealWeight);     } else if (SystemOfMeasure = "I") {         IdealWeight = Height * Height * 25 / 703;         lblDisplay.setText(Name + ("'s ideal weight is") + IdealWeight);     } else {         lblDisplay.setText("Please enter M or I");     }


How do you split a long exact sequence into short exact sequences?

How does one split up a long exact sequence into short exact sequences?  Say you have some longs exact sequences of modules $$ 0\longrightarrow M_1\stackrel{\phi_1}{\longrightarrow}M_2\stackrel{\phi_2}{\longrightarrow}M_3\stackrel{\phi_3}{\longrightarrow}M_4\stackrel{\phi_4}{\longrightarrow}\cdots $$ I've read it's possible to split this into short exact sequences. What exactly does that mean? Would it be written as short exact sequences, one appended to another like $$ 0\longrightarrow N_1\longrightarrow M_1\longrightarrow N'_1\longrightarrow 0\longrightarrow N_2\longrightarrow M_2\longrightarrow N'_2\longrightarrow 0 \longrightarrow\cdots? $$ If so, how does this work? Merci.


I am running logistic regression on iris dataset.  I computed thetas and this is how I draw a decision boundary line.  x_values = ([min(X_train[:,0]), max(X_train[:,0])]) y_values = - (theta[0] + np.dot(theta[1], x_values)) / theta[2] plt.scatter(X_train[:, 0], X_train[:, 1], c=y_train, cmap=plt.cm.Set1, edgecolor='k') plt.plot(x_values, y_values )     I tried this, but the result is odd.   X= np.c_[ X_train, np.zeros(100) ]     theta = theta.reshape(3)  d=0  xx, yy = np.meshgrid(np.arange(np.min(X_reduced[:, 0]), np.max(X_reduced[:, 0])), np.arange(np.min(X_reduced[:, 1]), np.max(X_reduced[:, 1])))  z = (-theta[0] * xx - theta[1] * yy - d) * 1. / theta[2]  fig = plt.figure(1, figsize=(8, 6)) ax = Axes3D(fig, elev=-150, azim=110)  ax.scatter(X[:100, 0], X[:100, 1], X[:100, 2], c=y_train, cmap=plt.cm.Set1, edgecolor='k', s=40) ax.plot_surface(xx, yy, z, alpha = 0.5) plt.show()     I guess d in plane equation (ax+by+c*z = d) shouldn't be equal to 0. So I'm completely confused about this.


I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with USB sticks.  When I plug in a USB stick, the light goes on, but the computer detects nothing. Just to be clear, my mouse and keyboard are connected via USB and work fine.  Any idea how to solve this issue? None of the suggestions I found on the internet have any effect.


I have a app that every time you open it, the app reads a file saved into the internal storage and prints something. Then it updates the file.   String filename = "myfile"; String restore = ""; FileOutputStream outputStream; FileInputStream inputStream;  protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      restore = read();     System.out.println("Before if statement the restore value is: " + restore);     if(restore == "test3"){                 restore = "test4";                 System.out.println("I' m saving: " +restore);                 save(restore);             }             if(restore == "test2"){                 restore = "test3";                 System.out.println("I'm saving: " +restore);                 save(restore);             }            if(restore2 == "test1"){                 restore = "test2";                 System.out.println("I'm saving  " +restore);                 save(restore);             } }  public String read() {     try {         inputStream = openFileInput(filename);         StringBuilder builder = new StringBuilder();         String restore2 = null;         int ch;         while((ch = inputStream.read()) != -1){             builder.append((char)ch);         }        System.out.println(builder.toString());         if(builder.toString() != null) {             restore2 = builder.toString();             System.out.println("Restore 2 value is: " + restore2);         }         inputStream.close();         return restore2;      } catch (Exception e) {         e.printStackTrace();         return "test1";     }   }  private void save(String salvare) {     try {     outputStream = openFileOutput(filename, Context.MODE_PRIVATE);     outputStream.write(salvare.getBytes());         System.out.println("I saved: " + salvare);     outputStream.close(); } catch (Exception e) {     e.printStackTrace(); } }   When I open the application for the first time, everything goes well and I get:   Before if statement the restore value is test1 I'm saving test1 I saved test 1   When I reopen my app, The read() function works well because I get  Before if statement the restore value is test2   But I don't get I'm saving test2. This means that the second if statement seems to be useless. Looking at my log cat I don't get any type of error. What can be the problem?


Move semi- maximized windows across multiple (2 or more) monitors

I frequently use Ctrl+Super+Arrow -Keys to move windows around. However, with a multiple monitor set up, the shortcuts only move the windows on the current screen.  **Example of my situation:  I have 3 monitors and I have an instance of Chrome open in my center monitor.    When I hit Ctrl+Super+Arrow (left)the window splits to the left half of my center monitor. When I repeat, the window does not move.   What I'd like to see instead is that in [2.], the window moves to the right half of the left most monitor, and so on  How do I achieve this behaviour?


I have an old cruising bike with 21 gears. A few months ago I was pedalling back home when my chain broke, and I was only able to get the chain replaced this week. After having it replaced I noticed it was 'skipping' and the problem seems to be more severe in certain gears. Now, the teeth are a 'bit' worn out (particularly in the middle gear at the front), and the 'skipping' didn't happen with the old chain (makes sense as the old one probably stretched a lot). Any idea what could be causing this?


what is the Equation of State for a perfect solid?

I'm familiar with the ideal gas law:  $PV = nRT$,  Which is valid for ideal gases. One can move forward and write EOS for non-ideal gases, liquids and gases. But what is the equation of state for a perfect solid. If possible can you provide a refernce for further reading?


could any one tell me how to calculate surfaces area of a sphere using elementary mathematical knowledge? I am in Undergraduate second year doing calculus 2. I know its $4\pi r^2$ if the sphere is of radius $r$, I also want to know what is the area of unit square on a sphere.


Must I use "their" or "them" in the following instance

Which of the following is correct?  In the case of "their" being granted a bond the deal will go through.  or:  In the case of "them" being granted a bond the deal will go through.


Trying to get a post to show up at  but am getting 404 instead. An example of what the page should look like is: . When I do a search, it shows up as an excerpt in the results. Just can't get the template single-supporter.php to trigger for some reason. I have set up the post type (And corresponding taxonomy) exactly like every other post type and taxonomy.  I have flushed the cache and CDN.  I don't have a live server testing environment for this but the same exact code works on localhost. Because it is live with heavy traffic, I am reluctant to turn on debugging features that would show on front end.  Register post type code in functions.php    $labels = array(     'name' => _x('Supporters', 'post type general name'),     'singular_name' => _x('Supporter', 'post type singular name'),     'add_new' => _x('Add New', 'supporter'),     'add_new_item' => __('Add New Supporter'),     'edit_item' => __('Edit Supporter'),     'new_item' => __('New Supporter'),     'all_items' => __('All Supporters'),     'view_item' => __('View Supporter'),     'search_items' => __('Search Supporters'),     'not_found' =>  __('No supporters found'),     'not_found_in_trash' => __('No supporters found in Trash'),      'parent_item_colon' => '',     'menu_name' => 'Supporters'    );   $args = array(     'labels' => $labels,     'public' => true,     'publicly_queryable' => true,     'show_ui' => true,      'show_in_menu' => true,      'query_var' => true,     'rewrite' => true,     'capability_type' => 'post',     'has_archive' => true,      'hierarchical' => true,     'menu_position' => null,     'taxonomies' => array ('beer','category'),     'supports' => array('title','editor','author','thumbnail','excerpt','trackbacks','custom-fields','page-attributes','revisions','comments','post-formats')   );    register_post_type('supporter',$args);   Register taxonomy code in functions.php     // Add new taxonomy, make it hierarchical (like categories)   $labels = array(     'name' => _x( 'Supporters', 'taxonomy general name' ),     'singular_name' => _x( 'Supporter', 'taxonomy singular name' ),     'search_items' =>  __( 'Search Supporters' ),     'all_items' => __( 'All Supporters' ),     'parent_item' => __( 'Parent Supporter' ),     'parent_item_colon' => __( 'Parent Supporter:' ),     'edit_item' => __( 'Edit Supporter' ),      'update_item' => __( 'Update Supporter' ),     'add_new_item' => __( 'Add New Supporter' ),     'new_item_name' => __( 'New Supporter Name' )   );    register_taxonomy('supporter',array('beer','post'),     array(     'hierarchical' => true,     'labels' => $labels,     'show_ui' => true,     'query_var' => true,     'rewrite' => array( 'slug' => 'supporters-bp' )   ));


Prove that the following function is $C^{\infty}$

Prove that the following function: $$r:x \mapsto \begin{cases} e^{-{1\over (1-x^2)}},  & \text{if $|x|<1$} \\ 0, & \text{if $|x| \ge 1$} \end{cases}$$  is $C^{\infty}$  I found this problem on internet and i was interested to find a proof but i did't find any otheρ similar with this exercise.It would be very nice if we can have a proof for this.


Is there a good way in C++ to implement (or fake) a type for a generic vector of vectors?  Ignore the issue of when a vector of vectors is a good idea (unless there's something equivalent which is always better). Assume that it does accurately model the problem, and that a matrix does not accurately model the problem. Assume also that templated functions taking these things as parameters do need to manipulate the structure (e.g. calling push_back), so they can't just take a generic type supporting [][].  What I want to do is:  template<typename T> typedef vector< vector<T> > vecvec;  vecvec<int> intSequences; vecvec<string> stringSequences;   but of course that's not possible, since typedef can't be templated.  #define vecvec(T) vector< vector<T> >   is close, and would save duplicating the type across every templated function which operates on vecvecs, but would not be popular with most C++ programmers.


write to a single place in a board in python

I wanted to make a 4-in-a-row game board in python, where the player can choose the number of rows and columns.  I wrote this:  num_rows = 6 num_cols = 7 temp_board = [] board = [] for i in range (num_cols):   temp_board += " " print ("the temp_board is:\n", temp_board) for i in range(num_rows):   board.append(temp_board)  print("the board is:") for i in range(num_rows):   print (board[i])   The output was  the temp_board is:  [' ', ' ', ' ', ' ', ' ', ' ', ' '] the board is: [' ', ' ', ' ', ' ', ' ', ' ', ' '] [' ', ' ', ' ', ' ', ' ', ' ', ' '] [' ', ' ', ' ', ' ', ' ', ' ', ' '] [' ', ' ', ' ', ' ', ' ', ' ', ' '] [' ', ' ', ' ', ' ', ' ', ' ', ' '] [' ', ' ', ' ', ' ', ' ', ' ', ' ']   Until here it is fine, but when I wanted to change a single space in the board  board[0][0] = "R"   This was the output  ['R', ' ', ' ', ' ', ' ', ' ', ' '] ['R', ' ', ' ', ' ', ' ', ' ', ' '] ['R', ' ', ' ', ' ', ' ', ' ', ' '] ['R', ' ', ' ', ' ', ' ', ' ', ' '] ['R', ' ', ' ', ' ', ' ', ' ', ' '] ['R', ' ', ' ', ' ', ' ', ' ', ' ']   How can I change it, so the R will appear only in the first line in the first column?


How do I get this formula to increment by 1 per 25?

I need my formula to increase by "1" for every "25".  I wrote the following formula, but it does not work:  =SUM( IF(O11<25,0, IF(O11<50>21,1, IF(O11<75>51,2, IF(O11<100>76,3, IF(O11<125>101,4))))))


Can someone explain this?  Input:  58/100*100   Result:  57.99999999999999   Yet...  Input:  26/100*100   Result:  26.0   Also, how can I consistently get results like in the second case?


Is it redundant the use of "would" in the sentence below?  The reduction in blood pressure induced by long-term CR would seem to involve positive systemic and cellular adaptations.  Can I just write:  The reduction in blood pressure induced by long-term CR seems to involve positive systemic and cellular adaptations.  ?


Find all $n\in\mathbb N^+$ such that the sum of the digits of $5^n$ is equal to $2^n$.   I've solved this, but I think the proof is a bit weird and I wonder if there's a better one.    My proof:  We can see that $n\neq 1$, $n\neq 2$, $n=3$, $n\neq 4$ and $n\neq 5$.  Let $n>5$. Notice that $5^6$ has $5$ digits, while $\frac{2^6}{9}=7\frac{1}{9}$, so $5^6$ has to have at least $8$ digits in order for the sum of the digits to be able to at least reach $2^6$.  Everytime $1$ is added to the exponent of $5$, the amount of digits $5^n$ gets is at most $1$, while $\frac{2^{n+1}}{9}-\frac{2^n}{9}=\frac{2^n}{9}>3$, so the lowest amount of digits it has to have to reach $2^n$ becomes higher by at least $4$.  When $n=6$, the amount of digits $5^n$ has is already lower than the amount it has to have in order to reach $2^n$, and I've just proved that the amount it has to have in order to reach $2^n$ grows faster than the amount of digits $5^n$ has, therefore $5^n$ will never be able to reach $2^n$ when $n>5$.  Hence the only solution is $n=3$.


Clearing previous terminal output in python

Is there any way to clear the terminal's previous output? If so, how? Here is a code example to work off of.  print "Hello..." #Code that clears previous terminal output print "All cleared!"   I know that there is an iOS module for the mobile app pythonista that can do this, but I am wondering how to do it on Linux.


RAW files store 3 colors per pixel, or only one?

that camera makers consider the individual R/G/B sensors when they talk about megapixels. So the image below would be a 6x6 pixel camera, not 3x3 as you would imagine.    If that's true, a RAW file would contain only one color information per pixel (be it R, G or B) as a 10, 12 or 14 bit number.  My confusion comes as I read in some places stuff like:   RAW files store an avarage of the two green sensors per pixel. RAW files use 12 bits per pixel, but there are 3 colors so that's actually 36 bits per pixel.   Which would obviously be false, if Ken's claiming is correct.  So what's the truth?


Sugar daddy wants my online banking login info to make deposits — is it a scam?

Someone is offering to pay me in a sort of sugar daddy/sugar baby arrangement. They want to make online deposits to me, and they're asking me for my online banking username and password. Is that information alone enough for them to be able to take my money out of my account, or am I safe?


Unsupported architecture 'i386' when running `apt update` on Virtualbox bionic repo

Encountered this today where there were no issues before, console logs follow:  Hit:3 https://download.virtualbox.org/virtualbox/debian bionic InRelease      N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'https://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'   Is this a problem with the repository, or with my own config? The same operation had no issue as recently as 3 days ago.


Outlook 2007 - Cannot start Outlook - Cannot open the Outlook window

I went to open Outlook 2007 on my Windows 7 32bit machine and it came up with this error:  Cannot start Microsoft Office Outlook. Cannot open the Outlook window. The set of folders cannot be opened. The information store could not be opened.  I have deleted and created a new profile in Control Panel > Mail but it still doesn't want to work properly but it still comes up with this message.  Thanks in advance.


I think that StackExchange websites should be more merged. The way I see it is StackExchange is a company that provides Q&A sites, and each site speaks about different topics. I think everyone should have one StackExchange ID with global reputation (not create an account on each website and get some reputation if you are good on other sites). I think the sites should be less separated and be subtopics of the same site rather than have multiple different sites.  Feel free to agree or disagree in the comments.  Note that although there are a few questions similar to this, they haven't been active for three years.


Possibly rotated parabola from three points

I'm looking for a possibly rotated parabola in the plane, i.e., the solution to a quadric like $$ Ax^2 + 2Bxy + Cy^2 + Dx + Ey + F = 0 $$ where exactly one of the eigenvalues of  $$ \begin{bmatrix} A & B \\ B & C \end{bmatrix} $$ is zero, and where the solution set is nonempty.   I know the $xy$ coordinates of the vertex $V$ of the parabola (i.e., the point that lies on the axis of reflectional symmetry) and of two points $P$ and $Q$ of the parabola, one on each side of the vertex, so that going from $P$ to $V$ to $Q$ along the parabola involves no backtracking.   (The corresponding problem where $P$ and $Q$ might both be on the same side has multiple solutions for some configurations, but that's why I've included the "between-ness condition".)   I'd like to know either the coefficients $A, \ldots, F$, or the focus and directrix, or any other unambiguous description of the parabola that I can convert to one of these.   I keep feeling as if something from projective geometry involving perspectivities and projectivities and (2,2)-correspondences ought to make this simple, but I can't see it.


I want to create a GameOver screen with the option to "Play Again" using KEYDOWN event. The quit option works but my gameloop does not update. When I type gameLoop() the font doesn't turn blue.  My Code:          def gameLoop():       gameExit=False        gameOver=False        lead_x = 300       lead_y = 300        lead_x_change = 0       lead_y_change = 0        randAppleX = random.randrange(0, display_width-block_size)        randAppleY = random.randrange(0, display_height-block_size)        gameDisplay = pygame.display.set_mode((display_width,display_height))  while not gameExit:      while gameOver == True:         gameDisplay.fill(white)         message_to_screen("Game Over, Press C to Play Again or Q to Quit",red)         pygame.display.update()          for event in pygame.event.get():             if event.type == pygame.KEYDOWN:                 if event.key == pygame.K_q: #This works fine!                     gameExit = True                     gameOver = False                 if event.key == pygame.K_c:                     gameLoop() #This won't work      if lead_x > 789 or lead_x < 1 or lead_y > 589 or lead_y < 1:                     lead_y_change = 0                     lead_x_change = 0                     print "Game Over"                     gameOver = True       for event in pygame.event.get():             if event.type == pygame.QUIT:                 gameExit = True             if event.type == pygame.KEYDOWN:                 if event.key == pygame.K_LEFT:                     lead_x_change = -block_size                     lead_y_change = 0                 if event.key == pygame.K_RIGHT:                     lead_x_change = block_size                     lead_y_change = 0                 if event.key == pygame.K_UP:                     lead_y_change = -block_size                     lead_x_change = 0                 if event.key == pygame.K_DOWN:                     lead_y_change = block_size                     lead_x_change = 0                       lead_x += lead_x_change     lead_y += lead_y_change      gameDisplay.fill(white)     pygame.draw.rect(gameDisplay, red, [randAppleX,randAppleY,block_size,block_size])     pygame.draw.rect(gameDisplay, black, [lead_x,lead_y,block_size,block_size])     pygame.display.update()      clock.tick(FPS)  message_to_screen("You Lose Turd", red) pygame.display.update()  pygame.quit() quit()  gameLoop()


Everything is invisible in material and in render preview

I am semi-new to blender and just got the new version. For some reason, everything is invisible in material mode and render preview. And this is not just a "you messed up the texture" problem. Even in the default startup file, everything is invisible. I rendered a short animation to see if it was just a viewport glitch, but no. Even when rendered nothing shows except for a few pink objects that have no texture.


Prove if there is no strictly decreasing sequence of elements in linear order A, then A is well ordered

I managed to quite easily show the reverse direction $\Leftarrow$, but the following direction is giving me a lot of problems:     no strictly decreasing sequence of elements in linear order $A$ $\Rightarrow$ $A$ is well ordered   Any help would be appreciated!


I´m having trouble with the while statement. I´ve narrowed it down to my use of the "!=", because if I try it with "==", then the program works, except opposite to how I want it to. What do I use to make it so that if the user types in "v", then it won´t display the user´s input, since there´s no such thing as "!==" :)      Scanner scannerUi = new Scanner(System.in);     String userInput = scannerUi.nextLine();     while (userInput != "v") {         System.out.println(userInput);         userInput = scannerUi.nextLine();     }


How to compute the speed of a cosmic ray from its energy?

How can you compute the speed of a cosmic ray from its type and measured energy?  For example, if a cosmic ray were said to be a proton of 10 GeV, how would you compute the velocity of that cosmic ray?


Is there a GUI IDE for programming python just like java has netbeans?  I wanted one where we could drag & drop test boxes & labels just as we do in swing components using netbeans or eclipse.  Or is there an add-on present in either netbeans or eclipse itself?


Does echo -e make a difference when quotes are not used?

If yes, when? Can anyone explain this? echo -e \tr\t\e\\re\e #eete  echo \tr\t\e\\re\e #trte\ree


Simple Windows 10 view of any process preventing Sleep?

Think of this as phone support for a user with little experience. How can I tell them, without diagrams or esoteric command-line structures, how to find this info for themselves.  There are several questions on here where people have gone to intricate methods to discover what process is preventing their computer from sleeping. Many of these date back to old Windows versions & none seem to have a simple, comprehensive method. I'm used to macOS, where I can simply open Activity Monitor - which is the Mac equivalent of Task Manager - & add a column, "Preventing sleep" As you can see from this picture, I have a 24-hour surveillance camera running, so the app & as a consequence hidd [hardware interfaces process] jointly are keeping me awake - to be expected.  Is there a simple Windows built-in equivalent? I'm not interested in 3rd party tools unless it's one of those 'everybody should have' tools I simply haven't yet discovered, so this is not a product request, it's a "does this functionality exist in Windows?" request.


I learned that Bayes theorem was defined as follows :  $$p(\theta\mid y)=\frac{p(y\mid\theta)p(\theta)}{p(y)}$$  But then today I came across definition with likelihood:  $$p(\theta\mid y)=\frac{L(\theta\mid y)p(\theta)}{p(y)} = \frac{L(\theta\mid y) p(\theta)}{\int L(\theta\mid y) p(\theta) d\theta }$$  What is the link between the two?


In my current game my first son had very bad traits so I do not want to play with him once "I" die. My 2nd son has very good traits and he would be perfectly suitable to follow in my footsteps.  However I am not ruling long enough to change succession laws. I also believe that sending him to church was considered an exploit and has been removed. Since there is a strong plot on my assassination I decided to come out of hiding and imprison my son. I read that banishing would do the trick and I had very good standings with my vassals so I tried that but it did not work. Strangely after a couple of days he arrived at my court again so I executed him after taking another huge hit for imprisoning him again. Now I am waiting to die or be assassinated.  Was this really the only option I had? It seems much more realistic to send my son to a church or deny him any claims then messing up my whole reputation like this.


I'm just trying to get some practice with implementing some Machine Learning algorithms with a variety of data. I'm just getting started so I'm pretty new to the whole process and would appreciate any guidance in this task.   I've happened across a nice dataset of around 200 people who ranked the 9 main Star Wars titles from 1-9 in their order of preference. I was wondering if it would be sensible to try to cluster folk into groupings based on this data. I think I'm curious to see if there people whose preferences lead them to rank certain movies in the franchise closer together.   From my studies, I figure that a clustering algorithm might be the approach here. I've learned about K-means so far which seems to be appropriate for market segmentation problems which this seems vaguely analogous to. Do you think this is an appropriate approach for this problem? I'm also very open to learning about different approaches. Thank you for your time.


Is there a shortcut to find an object in the outliner?

I have a scene with a lot of objects which can clutter the outliner very quickly. Is there a shortcut to find the selected object? Basically, if I select an object, I would like to have a shortcut to move my outliner view to include that in the displayed portion of the outliner.


What is the smallest convex set includes all smooth unit curves?

I try to understand: is there a smallest in area convex set that every smooth curve with length 1 can be placed inside it by translation and rotation?  I only have a upper bound $S \leq \frac14+\frac{\pi}{16}$ because of convex hull of two circles radius $\frac14$ and simple lower bound $S\geq\frac1{4\pi}$.  Does this set exist and what is its length?


How to create object of a class in the other and also vice versa in java?

I have designed a GUI which has a jTextArea. I can append text to this very easily in this class. But I would also like to append text to this from methods of other classes.  For this I make the jTextArea public and create an object of that class in the other class. Now I can write to the jTextArea while executing methods in the other classes.  But it turns out that I need a method of the class I created an object in within my GUI class as well. As I do that, StackOverflowError happens. What should I do?


If you make changes to paper after initial conference submission, should you present updated version at conference?

I am a PhD student in computer science and have submitted a paper to a conference which details my proposed architecture. However in the month or so since this paper has been submitted my architecture has undergone changes (relatively major), how is this normally dealt with?  If the paper is accepted do I present the work as it was at the time of submission or do I openly state that changes have been made and present the updated version of the architecture?


I am booting multiple copies of Windows via Grub (UEFI bios). The way I've got it to work is to boot Grub, then boot Windows BCDEDIT menu, and select the correct Windows install I want from that menu. When that happens, most of the time it will reboot the computer, then I have to select Windows again from Grub menu, and then the correct version of Windows will boot (bypassing BCDEDIT Menu). Is there any way to avoid this rebooting behaviour? I've only had this issue WITH UEFI mode, with MBR this doesn't happen. I won't be going back to MBR however. Thanks!


If I change job whilst my ESTA is still valid do I need to reapply or change this info within my ESTA details?

I am going to be changing jobs soon and plan on visiting my girlfriend (in the US) later in the year.  Do I need to make any changes to my ESTA information or reapply since this information is used when making an ESTA application?


How to complete this hole with the grid around it?

Is it possible to fill this hole with a grid?    I tried with Grid Fill    With F fill (but no grid)


Understanding surface area of a revolution/length of curve

I don't quite understand why the formula to find the surface area of a revolution is what it is:  $$A = 2\pi \int_a^b x\ \sqrt{1 + \left(\frac{\text{d}y}{\text{d}x}\right)^2}\ \text{d} x.$$  I would've though that A could equal: $A = 2\pi \int_a^b y\ \text{d} x$.       .     /| ΔS / | Δy   /  |  /___|   Δx   I've looked at proofs but I don't really understand why  $\Delta s\to 0$ and not  $\Delta x\to 0$. I would've thought that as $\Delta x\to 0$ (or  $\Delta y\to 0$) you'd end up with a slice infinitelly small, and it wouldn't have a slope to it, then I would've though that you could add up the perimeter of these 'slopeless' slices, and get the surface area.  I'd would help if I could geometrically see what is going wrong with letting  $\Delta x\to 0$ (or  $\Delta y\to 0$).  More specifically, if I just go $2\pi y$, what am I not taking into account (graphically).  I know this is like the arc length (length of a curve) formula, I have the same grievance with that.  Thank you.


An application of Fermat's little theorem

Given that $p$ be a prime and $a$ and $b$ are integers not divisible by $p$, prove that  $$(a+b)^{p} \equiv( a^p + b ^p ) \pmod{p}$$  My approach : By Fermat's little theorem, $$a^p \equiv a \pmod{p}$$ and  $$b^p \equiv b \pmod{p}$$ Then  $$a^p + b^p \equiv (a + b) \pmod{p}$$ Either $p \mid (a+b)$ or $p \nmid (a+b) $. In the former,  $$(a+b)^p \equiv 0 \equiv (a+b) \pmod{p}$$ In the latter,  $$(a+b)^p \equiv (a+b) \pmod{p}$$ follows from F.L.T.   1. Is this approach correct ?   2. How to prove the result starting with the binomial theorem: $$(a+b)^p = a^p + \sum_{k=1}^{p-1} a^{k} b^{p-k} {p \choose k} + b^p \equiv (a+b) + \bigg\{ \sum_{k=1}^{p-1} a^{k} b^{p-k} {p \choose k} \bigg\} \pmod{p}$$ How do we show that the term within the curly braces is $0 \pmod{p}$?  Any help is much appreciated.


batch - pass full path name as one argument

I am writing a batch to call a .exe file which is made by C#. However, the C# program reads one of the parameters incorrectly.  Here's my code in the batch file:  start "" "example.exe" %cd% para1   However, when the %cd% (current directory of the batch file) path contains spaces, my C# exe will read the argument wrongly by shifting one argument.  Is there a way to set %cd% as one argument or other way to fix this problem?


I heard that the K Desktop Environment Plasma Desktop 5 is out. I want to try it out on my Ubuntu 14.04 computer (not Kubuntu).  I am aware that Project Neon no longer exists. Can anyone tell me a PPA that still works?  EDIT: This is actually a dupicate question of .


Be $(a_n)_{n\in N}$ a sequence in $ R $ and $a\in R$. Show that $\lim_{n\to \infty}a_n=a ~~~~~\Rightarrow ~~~~~\lim_{n\to \infty} \left(\frac1n \sum_{k=1}^n a_k\right) = a$


Automatic switching between external 5V and USB bus power supplies

I'm designing a USB device which can either be powered by USB or an external 5V power supply.  When an external 5V power supply is present, the device should be powered solely by this external supply. Otherwise, the device should be powered by the USB bus. In other words, the external supply should always be prioritized, regardless of voltage level compared to Vbus. This rules out solutions based on diode-ORing.  Furthermore, the device will potentially consume quite a bit of power (several amps), so a solution based on MOSFETs would be preferred. When drawing a lot of power, the external supply is required.  So far I've found only one IC which seems to do what I want, the . However it's rather expensive and supports up to three supplies, which is more than I need. Does anyone know of other simpler (cheaper?) ICs?  I've come up with  which appears to work in simulation, but I'm not sure it will work in practice. For instance, is it possible to get an inrush current from Vbus to Vext during the transition period? Does anyone know of a simpler circuit to safely switch between the two power supplies?


Calculate this limit without L'Hospital's rule or series expansion

Calculating the limit as $x$ approaches $0$ using L'Hospital's rule or series expansion is straightforward, but how to evaluate the limit without either of those techniques.  How to calculate the following limit as $x$ approaches $0$:  $\dfrac{\ln(x+1)+1-e^x}{x^2}$


Why does Blender allow faces whose vertices are not on a single plane?

I dissolved one corner of a cube:    And got this weird face:    It doesn't make sense to me cause it's not a "face" in a geometrical sense. Why do faces like this exist in Blender and is there any usage of them?


So I have a daemon in /etc/init.d/ called TEST and it runs just fine if I run the command service TEST start. However I want it to start on startup so I looked into  and when I run the command sudo update-rc.d TEST defaults it gives no output or errors so I assumed it worked correctly, however if I ever restart my pc it shows that the service TEST isn't running. I am running Ubuntu 17.04.    When I do the command sudo update-rc.d TEST enable I get the error:  update-rc.d: error: TEST Default-Start contains no runlevels, aborting.   Thank you for any help.


How can I find my lost dog in Minecraft?

As the title says, I have lost my wolf named Grim in my world. I really want to find it. Also, it was spawned with the invulnerable tag and I don't want to spawn another one.  Any help will do.


How can I compare two objects of same class?

I want to know how can I compare two objects (which is of the same class) like the string.Compare() method.   Is there any way to do this?


I just moved from Ubuntu to Mint. I installed TexMaker on the new system and now it won't produce a pdf for even a minimal document:  \documentclass{article} \begin{document} \end{document}   TexMaker does make the aux and log files and is not throwing any errors. Here is my log file   This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2013.12.5) 6 DEC 2013 15:17 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **Test.tex (./Test.tex LaTeX2e <2011/06/27> Babel <3.9f> and hyphenation patterns for 2 languages loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) No file Test.aux. \openout1 = `Test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. (./Test.aux) ) Here is how much of TeX's memory you used: 197 strings out of 495031 2091 string characters out of 6181531 46622 words of memory out of 5000000 3494 multiletter control sequences out of 15000+600000 3640 words of font info for 14 fonts, out of 8000000 for 9000 14 hyphenation exceptions out of 8191 23i,1n,17p,151b,36s stack positions out of 5000i,500n,10000p,200000b,80000s No pages of output. PDF statistics: 0 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)   Unlike any other time I've installed TexMaker on a linux distro, TexLive was downloaded automatically. This time I had to install it myself. I'm wondering if maybe there is some other package that I'm missing that is necessary for creating the pdf? Otherwise I'm at a bit of a loss.


How to center text vertically within a textbox in Photoshop

It's pretty annoying that you can't center text vertically in Ps automatically, like you can in Indd. It's even more annoying that the bounding box of text can't be 'collapsed' or 'fit to text', like in Indd.  I could convert the text to shape, but then I lose coloring. I could convert to smart object, but then its not vector anymore, for when I export to pdf.  Is there a work around anyone knows of that would make it easier to center text vertically?


When you mix cooked noodles or other "prevailing 1D pasta" like spaghetti with other ingredients like olives, pieces of meat (not minced) etc. you will probably experience the fact, that the mixture is not "homogenous" - larger pieces tend to fall out of the upcoming meal and usually they are gathered on the bottom or at the side of a pan.  After doing careful and regular experimental observations, my preliminary conclusions are, that this phenomenon is not present when the pieces are of equal or less diameter than the pasta and are "prevailing 1D" as well (could be done e.g. with ).   Could that be generalised and theoretically proven somehow? Could there be some statistical-mechanics formulation of this kind of stickness as a many particle system?


Component of angular momentum perpendicular to the rotation axis in rigid body rotation

I have difficulties in understanding, in the rotation of a rigid body, the properties of the component of the angular momentum vector $ \vec {L} $ which is perpendicular to the fixed axis of rotation $ z $. I will call this component $ \vec {L_n } $. Suppose that the angular velocity  $ \Omega $ is constant in direction but can vary in magnitude.    $ | \vec {L_ {n, i}} | = m_i r_i R_i \Omega cos \theta_i \implies | \vec {L_n} | = \Omega \sum m_i r_i R_i cos \theta_i$  Can I therefore say that $ | \vec {L_n} | \propto | \vec {\Omega} | $ (1)?  If so, suppose to apply a torque perpendicular to the $z$ axis and parallel to $ \vec {L_n} $, so that the magnitude of this vector increases. Follows from (1) that there should be an angular acceleration $ \vec {\alpha} $, although we are in the absence of a torque with an axial component.  This would go against the fact that $ I_z \vec {\alpha} = \vec { M_z}$ (Where $I_z $ is the moment of inertia with respect to the $z$ axis and $ M_z $ is the axial component of the exerted torque).


How to display points from Geoserver WFS on OpenLayers map

I'm try to display my points set from Geoserver in Openlayers map. I want to use WFS service, but at the moment I see one point, additionally in wrong place!  I want to display all at EPSG 4326. I transformed map to this coordinate system and my points on Geoserver (imported from PostGIS database) are at EPSG 4326. I use Geoserver 2.15.1.  My code:   var wfs = new ol.layer.Vector({     source: new ol.source.Vector({         loader: function (extent) {             $.ajax('http://localhost:8080/geoserver/pilgrimages/ows', {                 type: 'GET',                 data: {                     service: 'WFS',                     version: '1.1.0',                     request: 'GetFeature',                     typename: 'travels',                     srsname: 'EPSG:4326',                     outputFormat: 'application/json',                     bbox: extent.join(',') + ',EPSG:4326'                 }             }).done(function (response) {                 wfs                 .getSource()                 .addFeatures(new ol.format.GeoJSON()                   .readFeatures(response));             });         },         strategy: ol.loadingstrategy.bbox,         projection: 'EPSG:4326'     }) });  var map = new ol.Map({     target: 'map',     layers: [         new ol.layer.Tile({         source: new ol.source.OSM()         }),         wfs     ],     view: new ol.View({         center: ol.proj.transform([0,0], 'EPSG:4326', 'EPSG:3857'),         zoom: 6     }) });    Can you help me?


How to make a content in a table cell move to left, using "\begin{tabularx}{\textwidth}{>{\RaggedRight\arraybackslash}cXccccc}"

I want to move content (in a circle picture below) to the left as shown in example 1.    Is it because i am using:  \begin{tabularx}{\textwidth}{>{\RaggedRight\arraybackslash}cXccccc}   My full MWE:  \documentclass[12pt,oneside]{book}  \usepackage[showframe]{geometry} \usepackage{amsmath} \usepackage{makecell, multirow, tabularx} \renewcommand\theadfont{\small\bfseries} % for bold in table using \small \renewcommand\theadgape{} \usepackage[svgnames, table]{xcolor} \usepackage{hhline, boldline} \usepackage{seqsplit, caption} %for table spacing to second row \usepackage{booktabs, ragged2e} % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text \usepackage{siunitx} %for table spacing to second row \usepackage{threeparttable} %to add footnote below table \usepackage{tabulary}  \begin{document}  \begin{table}[h!] \centering     \begin{tabularx}{\textwidth}{l>{\raggedright\arraybackslash}Xccccc}     \toprule     & & \multicolumn{3}{c}{\textbf{Paired Differences}} \\      \cmidrule{3-5}      & & \small {\textbf{Mean (\%)}}      & \thead{\small {\textbf{Std. Deviation}}\\ \textbf{(\%)}}& \thead{\small {\textbf{Std. Error}} \\ \textbf{Mean (\%)}} \\ \midrule     \multicolumn{1}{l}{Pair 1} & \textit{Aaaaaa example dataset} (AA) - \textit{Aaaaaa example dataset} (BB)      & 44.76 & 14.92 & 4.72  \\         \bottomrule     \end{tabularx}     \caption{Example making content to left} \end{table}   \begin{table}[h!] \centering \begin{tabularx}{\textwidth}{>{\RaggedRight\arraybackslash}cXccccc}         \toprule     & & \multicolumn{2}{>{\centering\arraybackslash}p{8em}}{\textbf{95\% Confidence Interval of the Difference}}  &  \multirow{4.5}{*}{\textbf{t}}       & \multirow{4.5}{*}{\textbf {df}}        & \multirow{4.5}{*}{\makecell{\textbf{Sig.}\\ \textbf{(2-tailed)}}}  \\      \cmidrule{3-4}  %\cmidrule(lr){3-4}      & & \multicolumn{1}{c}{\textbf{Lower}} &  \multicolumn{1}{c}{\textbf{Upper}} & & &\\ \midrule     Pair 1 & \textit{Aaaaaa example dataset} (AA) - \textit{Aaaaaa Example Dataset} (B\textbf{}) & 34.09\% &  55.44\% & 9.49 & 9 & .000\\     \bottomrule     \end{tabularx}         \caption{Example 2} \end{table} % \end{center}    \end{document}


for some cloud syncing purposes I want to give TMS (Titanium Media Sync) superuser privilege over my rooted device even if it doesn't asks for it.  I use SuperSU.