It's probably beginner question but I'm going through documentation for longer time already and I can't find any solution. I thought I could use implode for each dimension and then put those strings back together with str_split to make new simple array. However I never know if the join pattern isn't also in values and so after doing str_split my original values could break.  Is there something like combine($array1, $array2) for arrays inside of multi-dimensional array?


When I start the VM, the following error appears:     VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and    will not be able to boot.      Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.   I checked my BIOS but could not find any VT-x/AMD-V option in there. Can anyone help?  My processor is Intel Core2Duo T7300 (using Lenovo ThinkPad T61, if it helps).   Host OS - Ubuntu 13.04 Gnome 64-bit. Guest OS - Ubuntu 13.04 Gnome 64-bit. VirtualBox version - 4.2.10

So I am trying to run Ubuntu in a virtualbox but on installing 12.10 from the .iso I was greeted by a warning telling me that audio wouldn't work then I pressed next and this popped up:  Failed to open a session for the virtual machine Tux 3 VT-x features locked or unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED) Details  Result Code:  E_FAIL (0x80004005) Component:  Console Interface:  IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}   And then it doesn't work.  I assigned 4GB of my 8GB to Ubuntu, 100 dynamically allocated GB of space, and 12MB of graphics memory. I'm running an Asus p8z77 V LX mobo with an Intel i5 3550 processor.   Downloaded 12.04.2 on my PC and tried again. Still getting the same message.


I believe I'm supposed to produce something of the from $f(x)-f(c) = (x-c)p(x)$ where $p(x) \in \mathbb{F}[x]$, however I'm not sure where to start.

This is from Pinter, A Book of Abstract Algebra, p.265.   Given $p(x) \in F[x]$ where $F$ is a field, I would like to show that $p(x)$ divided by $x-c$ has remainder $p(c)$.  This is easy if $c$ is a root of $p$, but I don't see how to prove it if $c$ is not a root.


Prove that if A and B are two compact subsets of R, then A + B is compact. Where A + B = {x + y; x ∈ A, , y ∈ B}.

Let $A,B$ two non-empty compact subsets of a normed space X. How can we prove that the set $S=A+B=\{a+b : a \in A, b \in B\}$ is compact?  Here's my reasoning:  Let $\Omega = \{\Omega_1, \Omega_2,…\}$ be an open cover of $S$. $\Omega$ induces two open cover $X,Y$ respectively of $A,B$, where   $X_i = \{a \in A : a+b \in \Omega_i~~for~some~b\}$   $Y_i = \{b \in B : a+b \in \Omega_i~~for~some~a\}$  in practice $\Omega_i = X_i + Y_i$.  Now my idea is build a finite subcover this way: consider a finite subcover $X_F = \{X_j : j \in J\}$ where $J$ is a finite set of indices. If $Y_F = \{Y_j : j \in J\}$ is a finite subcover of $B$, then we are done as $\{\Omega_j : j \in J\}$ is a subcover of $\Omega$. Otherwise we can keep adding indexes to set $J$ until $Y_F$ becomes a finite subcover of $B$.   This is not too formal but I don't want to make a simple question unreadable, I think the idea should be clear.   Does this works? Is there a better/easier way to get the same result?


My system is broken not able to work anything on that. Ubuntu online store shows empty  when I try to update I get an error related to Appstream  AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-security_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-security_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-backports_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-updates_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-updates_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_multiverse_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/packages.elementary.io_appcenter_dists_bionic_main_dep11_Components-amd64.yml.gz Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code  I tried every possible solution found on the internet to fix this error but not helpful. Please, somebody guide me to fix this. Thanks

I cannot install any package. It seems the command apt-get update must be run but it throws some errors:  $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease                      Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease              Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease            Fetched 102 kB in 23s (4337 B/s)                                                *** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] [...] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success   'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;   then appstreamcli refresh > /dev/null; fi' E: Sub-process returned an error code


I have read in several article that a Gaussian distribution is called normal if it has 0 mean and unit variance. I don't understand what does it mean and what is the intuition behind it. It would be great if someone can explain in almost layman term.

Two terms normal distribution and standard normal distribution are used in statistics. Does standard term contribute to the normal distribution anything? Please give a simple-however a substantive reasoning in the back of these terms.


I cannot figure out how to stop my setinterval code. I've seen the other posts on stackoverflow however nothing works.  $(document).ready(function() {   var content =  tinyMCE.getContent('content').value; }); var myinterval = setInterval(function() {   $.get("status.php?id=<?php echo $id; ?>",function(data){          val = content.value;     if (val != data) {       $.pnotify({         title: 'Regular Notice',         text: 'Check me out! I\'m a notice.'       });       clear();     }   }); }, 1000 * 2 * 1);   function clear(){     clearInterval(myinterval); }

I am using setInterval(fname, 10000); to call a function every 10 seconds in JavaScript. Is it possible to stop calling it on some event?   I want the user to be able to stop the repeated refresh of data.


I am not able to understand the scope of few variables and why python is throwing an error while trying to do few things inside a class that is defined a method  Let me start with a basic example which works and then move on to few examples which work and which doesn't. I have an idea about what is working and sometimes what is not. But I feel that I lack an understanding the scope in this case (class inside a method)  First an example which works  Case 1:  def foo_method(a, b, c):     return b, c, a  def bar_method(a=1, b=2, c=3):     class BarClass:          a_ = a + 1         b_ = b + 1         c_ = c + 1          b_, c_, a_ = foo_method(a, b, c)      return BarClass()   When I try to run the above code it works i.e  temp = bar_method() works with out any issue  Case 2:  def foo_method(a, b, c):     return b, c, a  def bar_method(a=1, b=2, c=3):     class BarClass:          a_ = a + 1         b_ = b + 1         c_ = c + 1          b, c, a = foo_method(a, b, c)      return BarClass()   Case 2 doesnt work i.e temp = bar_method() throws the error NameError: name 'a' is not defined  Case 3:  def foo_method(a, b, c):     return b, c, a  def bar_method(a=1, b=2, c=3):     class BarClass:          a = a + 1         b = b + 1         c = c + 1      return BarClass()   Case 3 doesnt work i.e temp = bar_method() throws the error NameError: name 'a' is not defined  Case 4  def foo_method(a, b, c):     return b, c, a  def bar_method(a=1, b=2, c=3):     class BarClass:          a_ = a + 1         b_ = b + 1         c_ = c + 1          a_ = a_ + 1          b_, c_, a_ = foo_method(a_, b_, c_)      return BarClass()   Case 4 works.  I got confused as to why certain operations are working and why others aren't. Can anyone shed some explanation on what I am not able to comprehend here. It seems like I can't make any modifications to the variables defined in the bar_method

The following code works as expected in both Python 2.5 and 3.0:  a, b, c = (1, 2, 3)  print(a, b, c)  def test():     print(a)     print(b)     print(c)    # (A)     #c+=1       # (B) test()   However, when I uncomment line (B), I get an UnboundLocalError: 'c' not assigned at line (A). The values of a and b are printed correctly. This has me completely baffled for two reasons:   Why is there a runtime error thrown at line (A) because of a later statement on line (B)? Why are variables a and b printed as expected, while c raises an error?   The only explanation I can come up with is that a local variable c is created by the assignment c+=1, which takes precedent over the "global" variable c even before the local variable is created. Of course, it doesn't make sense for a variable to "steal" scope before it exists.  Could someone please explain this behavior?


The Question:  Let $f:\Bbb C \rightarrow \Bbb C$ be a holomorphic function (i.e. an entire function) such that  $|f(z)|≤C|\negthinspace\cos(z)|$ for all $z \in \Bbb C$, where $C \in \Bbb R$ is a constant.  What can you say about $f$?    My Thoughts:  I know that if $|f(z)|≤C|z^n|$ then $f$ must be a polynomial of degree $≤n$ (as I have proven in a previous part of the question), but I don't see how it generalizes to $|\cos(z)|$.  Also, this seems somehow related to Liouville's Theorem.  Certainly, functions of the form $f(z)=C' \cos (z)$ would work, provided $|C'|≤C$, and I can't seem to come up with any other function.  Any hints?

Suppose $f$ and $g$ are entire functions, and $|f(z)| \leq |g(z)|$ for all $z \in \mathbb{C}$, Prove that $f(z)=cg(z)$.   My try :  I consider $h(z)=\frac{f(z)}{g(z)}$. If I prove that $h(z)$ is entire, using the fact that $|h(z)|\leq 1$, the result follows immediately from Liouville's theorem.  To prove that $h(z)$ is entire, I have to prove that $h(z)$ has removable singularities at possible zeros of $g(z)$.  Suppose $g(z_0)=0 \Rightarrow |g(z_0)|=0 \Rightarrow |f(z_0)|=0$, BUT what if $z_0$ be a root of of order $k$ of $g(z)$ (i.e. $f^{(n)}(z_0) = 0 $ for all $ 0 \leq n \leq k-1$) and be a zero of order $m$ of $f(z)$ and $k>m$ ?  And if that's not the case, how to rigorously show that $z_0$ is a removable singularity ?  Thank you all in advance.


My regression model uses 4 independent variables and 1 dependent variable.  When I plot the dependent variables against the independent variables, only one of them shows a correlation. However, the regression analysis splits out 4 coefficients.   I'm trying to figure out how a variable can have a coefficient and affect the dependent variable when there doesn't seem to be a correlation between the two.  How exactly does this work?  Any help would be appreciated. I've tried looking this up but I'm not sure what to search.  Thanks,  I'm analyzing the following variables:avg. session length, time on app, time on website, length of membership, yearly amount spent.  Time on App is seemingly not correlated    Regression shows the following coefficients:  Avg Session Length: 25.98  Time on App: 38  Time on Website: 0.19  Length of Membership: 61

I have eight independent variables and one dependent.  I have run a correlation matrix, and 5 of them have a low correlation with the DV.  I have then run a stepwise multiple regression to see whether any/all of the IVs can predict the DV.  The regression showed that only two IVs can predict the DV (can only account for about 20% of the variance though), and SPSS removed the rest from the model.  My supervisor reckons that I have not run the regression correctly, as due to the strength of the correlations, I should have found more predictors in the regression model. But the correlations were tiny, so my question is: if IVs and the DV hardly correlate, can IVs still be good predictors of the DV?


I am based in India.I will be travelling to France & Spain for holidays with my wife on 3rd Apr 2017. So i have applied for Schengen Visa  and expected to get it by 25th March i.e around 8-9 days prior to my travel dates. Main issue: We are returning back from Madrid to India on 15th April & my flight from Madrid is having layover in London for 1 hr 50 minutes. After that i have flight from London to Mumbai (British airways) In such cases while returning back to our country , do we still need UK TRANSIT VISA even for 2 hrs layover at London... Please guide me. PS: I do hold Valid US visa & my wife doesnt hold it. Thanks in advance

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I have a switch block and it is not behaving as I would expect it to.  As I've looked through similar questions on this forum, the answers don't directly address my issue, but seem to confirm my thinking.  Please tell me where I'm going wrong.  Also, I know I can accomplish this another, and probably better way, but that's not what I'm asking.  I want to know where my understanding of fall-through is faulty.    switch (ncPointType)         {             case "MSD":                 adjustDisabled = LastToken(initLine, adjustDisabled);//fall through intentional             case "MSI":             case "BI":                 latchingPoint = FirstToken(initLine, latchingPoint);                 break;   Now, per my understanding, if ncPointType == "MSD", adjustDisabled and latchingPoint should set.  If "MSI", latchingPoint should be set.  But the compiler flags the first "case" with the error "Control cannot fall through from one case label ('case "MSD":') to another.  Why is this code not valid?

Switch statement fallthrough is one of my personal major reasons for loving switch vs. if/else if constructs. An example is in order here:  static string NumberToWords(int number) {     string[] numbers = new string[]          { "", "one", "two", "three", "four", "five",            "six", "seven", "eight", "nine" };     string[] tens = new string[]          { "", "", "twenty", "thirty", "forty", "fifty",            "sixty", "seventy", "eighty", "ninety" };     string[] teens = new string[]         { "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen",           "sixteen", "seventeen", "eighteen", "nineteen" };      string ans = "";     switch (number.ToString().Length)     {         case 3:             ans += string.Format("{0} hundred and ", numbers[number / 100]);         case 2:             int t = (number / 10) % 10;             if (t == 1)             {                 ans += teens[number % 10];                 break;             }             else if (t > 1)                 ans += string.Format("{0}-", tens[t]);         case 1:             int o = number % 10;             ans += numbers[o];              break;         default:             throw new ArgumentException("number");     }     return ans; }   The smart people are cringing because the string[]s should be declared outside the function: well, they are, this is just an example.  The compiler fails with the following error:   Control cannot fall through from one case label ('case 3:') to another Control cannot fall through from one case label ('case 2:') to another   Why? And is there any way to get this sort of behaviour without having three ifs?


When departing from Schengen to other outside-Schengen countries does the company (Easyjet, Ryanair) and the police checking the documents before boarding have a legal obligation not to board people without a passport? Is there a specific law about this?  Thanks:)   EDIT: I discovered airline do not have responsability towards passengers (see point 13.2 here  ). What I find crazy is that the policeman that was checking the documents for this particular flight told me twice that I could take the flight and that the national ID was fine to flight to exit Schengen area. I asked him surprised if it was true and he confirmed it. It's crazy that you can't trust a policeman. I thought he knew more than me about it.

I was wondering, why there are passport checks at the check-in counter, Immigration and even at the gate?    For example, I was at Istanbul flying to either UK or US. There's a security check at the check-in counter asking a bunch of questions about my immigration status - even more than the Immigration officer at the border. Also, at the gate, there's also Security officer checking my immigration status and passport asking the same questions.    I thought that would be the responsibility of an Immigration officer rather than some third party company?   The thing I'm curious the most is they don't even know which countries this passport can go to with or without visa. They have to go back to the counter and check with the system which takes a long time. I was wondering why they hire these kind of companies to slow down the process?


if $$|z| = 1$$  prove that $$\frac{1 + z}{1 - z}$$ is purely imaginary  I have tried multiply by the conjugate like this  $$\frac{(x+1)+iy}{(1-x)-iy} * \frac{(x+1)-iy}{(x+1)-iy}$$  giving me $$\frac{x^2+2x+1 + y^2}{1-x^2-y^2 - 2iy}$$  But I have no idea how to prove that this is in the form of ix where x is a real number.  I know the question insinuates that $$z = -1$$ $$x^2 + y^2 = -1$$However if I substitute that into the equation I just get $$\frac{2x}{2iy}$$

Prove: if $|z|=1$ than $\frac{z+1}{z-1}$ is an imaginary number    I have tried to look at $$\frac{z+1}{z-1}=\frac{z+1}{z-1}\cdot \overline{\frac{z-1}{\overline{z-1}}}=\frac{z+1}{z-1}\cdot \frac{\overline{z}-1}{\overline{z}-1}$$  But did not get far


Let $X$ and $Y$ be two Banach Spaces and $Z$ be a dense subset of $X$ and of $Y$, i.e., $\overline{(Z)}^{\|.\|_X} = X$ and  $\overline{(Z)}^{\|.\|_Y} = Y$.   Then can we say that $Z$ is dense in $(X \cap Y, \|.\|_{X \cap Y})$, where $\|.\|_{X \cap Y}$ is any norm (to be specific either max norm or "$\|.\|_X + \|.\|_Y$" norm)?

My question is:  Let $ V $ be a vector space (over $ \mathbb K\in\{\mathbb{R}, \mathbb{C}\} $), $ X,Y\subseteq V $ two subspaces equipped with norms $ \|\cdot\|_X, \|\cdot\|_Y $ such that $ (X,\|\cdot\|_X) $ and $(Y,\|\cdot\|_Y)$ are Banach spaces and $ D\subseteq X\cap Y$. If $ D $ is dense in $ (X,\|\cdot\|_X) $ and $(Y,\|\cdot\|_Y)$, is $ D $ also dense in $ X\cap Y $ equipped with $ \|\cdot\|:=\|\cdot\|_X + \|\cdot\|_Y $?  At first sight, it seemed very clear to me that this should be true. But I even fail to answer the following (possibly) easier question:  Let $ X $ be a vector space over $ \mathbb K $ equipped with two norms $ \|\cdot\|_1, \|\cdot\|_2 $ such that $ (X,\|\cdot\|_1) $ and $(X,\|\cdot\|_1)$ are Banach spaces and $ D\subseteq X$. If $ D $ is dense in $ (X,\|\cdot\|_1) $ and $(X,\|\cdot\|_2)$, is $ D $ also dense in $ X $ equipped with $ \|\cdot\|:=\|\cdot\|_1 + \|\cdot\|_2 $?  The answer is yes, if $ \|\cdot\|_1, \|\cdot\|_2 $ are equivalent, so I tried to think about a counterexample using nonequivalent norms on a specific space and I also found a nice paper about nonisomorphic complete norms () but it didn't helped me so far to construct anything useful for my question.  Thanks for your help!


Property server1=abc,def,ghc server2=xyz,tes,iuy  #!/bin/sh  echo $server1 abc,def,ghc  echo $HOSTNAME server1   with those info above, I want to output the output "abc,def,ghc" in a test variable.   echo \$$HOSTNAME $server1  bash-4.1$ test=`echo \$$HOSTNAME` bash-4.1$ echo $test 8722HOSTNAME   How can I get this done in perl/bash?

I think an example is in order. Consider I have these two environment variables setup (by a Continuous Delivery tool): PACKAGE_VER=1.2.3 and USE_VERSION_FROM=PACKAGE_VER.  What I want now is a script that can't predict the name of the variable pointing out 1.2.3, only USE_VERSION_FROM. And so, I'm looking for a way to get my script to know the version to use (1.2.3) without knowing anything other than that USE_VERSION_FROM points out the name of the variable that holds the version number.  My naïve non-working first attempt:  #!/bin/bash VERSION_TO_USE="${${USE_VERSION_FROM}}"


the html and javascript is below:  <script>     function a(k)     {         var i=0;          if(k==0)         {             function b()             {                 alert(++i);             }             return b;         }         else         {             function c()             {                 alert(++i);             }             return c;         }     }      var d=a(0);      var e=a(1);  </script>      <button onclick="d()">clickme</button>     <button onclick="e()">clickme2</button>   the html and javascript is above.   I click the button "clickeme" first, the browser alert"1"; then I click the button "clickme2",the browser alert "1" too.   why?   after I click the button "clickme",the variable "i" have changed to 1;then,when I click the button "clickme2" the browser should alert "2".  why?  the local function of b() and c() has it's own copy of variable "i"?

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


KDE version: Plasma 5.6  How can I export the settings of KDE from one machine to another? I am referring to all the KDE application settings, shortcuts, konsole theme settings etc... I am using Kubuntu 16.04.

I'm reinstalling my Kubuntu 12.04 and I want to take my Kate, Kile, Okular, Dolphin & Konsole config files with me.  Where are this files located? I've looked around /home/, /home/.kde/ and /home/.config/ but found nothing.


How was the scene of Jared Leto looking at his reflection and the camera moving through the mirror recorded?  This is the scene:                                 I still can't figure how they did it.

It always makes me wonder how do they place the cameras and crew members while filming a scene which is opposite to a reflecting object, such as mirror.  Because, when filming the reflected objects we should see the camera and cameraman because of their reflection.  But this does not happen in the movies.  How do they film the scenes with an actor facing a mirror?  Why don't we see the cameras and crew?  What is the technique they use to film the scenes with reflecting objects?


When adjusting the volume in Windows 8.1, a box appears at the top left corner of the screen. This box sticks around for ~13 seconds before it fades away. If you attempt to dismiss it by click on it, it switches to the music app.  How do you disable or dismiss this annoying box? At the very least, can the time visible be adjusted? More times than not, it's in the way.

Here is a picture of what i am talking about.    I am at my wits end with that annoying thing, please somebody help me.


When I ran to Nvidia's website to download their 64bit Linux drivers, it downloaded a file named "NVIDIA-Linux-x86_64-319.49.run".  Since this wasn't a file extension I'd seen before, I assumed double clicking would do nothing (Incorrect; it actually tried opening it in a word processor which hilariously meets with a crashed word processor).  I installed new drivers through a terminal.  For future reference, however, assuming this is an archive, and clearly Nvidia expects everyone to be able to crack it open on command, how would I go about making the .run file actually be useful?  Was there a command to decompress it and install the drivers?  Was it a script and I just have no idea how to execute it?  (Very new to Linux; Ubuntu's my first attempt at running a distro since ...oh, RedHat 6.something.  Anyways, so much for context.)

I just ordered the Nvidia GTX card. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu, or should I install the driver from the Nvidia site?  So which driver is the best for me?


Making a symbol from a string is quite simple:  (intern "test") => test   I'm struggling to create keyword symbols for a plist. Looking for something like:  (XXXX "test") => :test   Note that (intern ":test") does not produce a keyword symbol but rather a symbol containing a colon (e.g. |:test|).  How can one correctly generate keyword symbols in Common Lisp? Thanks!

Is there a function in Common Lisp that takes a string as an argument and returns a keyword?  Example: (keyword "foo") -> :foo


I am trying to use strikethrough on . (Now updated with working strikethrough) I have tried the following:   ~~Double tildes~~ ~Single tildes~ [strike]Strike[/strike] [del]Del[/del] [s]S[/s]   None of these work. I know there is a way because I've seen it before on Stack Exchange.

I've been using <s> to put strikeout in posts -- is there a Markdown way of doing it?  It seems like -[Text here] would make sense, hehe :)


I'm running Ubuntu 14.04.4 LTS with two monitors and an Nvidia 970 Graphics Card.  Things worked fine.  Then I rebooted and now they don't work.  I can only see one monitor.  When I run nvidia-settings, it complains   You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.   My xorg.conf file has:  Section "Device"     Identifier     "Device0"     Driver         "nvidia"     VendorName     "NVIDIA Corporation" EndSection   Any ideas?

Since my previous questions were not answered I will try to ask again more precisely.  I previously had the Nvidia driver installed and working correctly.  Then the ubuntu software update did something which broke it.  In fact, it completely de-configured it so that the standard display driver is used when the computer reboots.  I would like to re-enable the existing Nvidia  driver without re-installing the Nvidia driver.  How do I do that?  This machine is no longer connected to the internet.  NOTE: I am not asking how to disable automatic updates in this question.  I asked that elsewhere (and it wasn't answered).  NOTE: I am not asking how to stop the Ubuntu software updater from breaking the Nvidia driver the next time it updates the system.  That would be nice to know, but I asked that already and did not receive the correct answer either.  NOTE: Please don't make this as duplicate simply because someone else asked a question about Ubuntu and the software updater.  Try to read the actual question and see how it's different and try to realize how annoying it is when users have to spend hours of their own time to correct the problems that other people causing by incorrectly designing software updaters.


I'm trying to change text by variable (language), but even when value of language variable is "albanian" , text of buttons are not changing!  P.S variable value is passed from another activity.  String language=""; @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.single_level_activity_layout);      btnBegginer=(Button)findViewById(R.id.btnBegginer);     btnMedium=(Button)findViewById(R.id.btnMedium);     btnHard=(Button)findViewById(R.id.btnHard);      Intent objIntent=getIntent();     language=objIntent.getStringExtra("language");      //Toast.makeText(getApplicationContext(),language,Toast.LENGTH_LONG).show();      if (language=="albanian")     {         btnBegginer.setText("FILLESTAR");         btnMedium.setText("MESATARE");         btnHard.setText("VESHTIRE");     }     else     {         btnBegginer.setText("BEGGINER");         btnMedium.setText("MEDIUM");         btnHard.setText("HARD");     }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


What prevents someone with some funding from creating and selling their own hardware? Let's ignore the legal side of things and assume the only limit is technology.  Could someone create something akin to a 1995-2000 time period processor without specialized equipment? What about slightly earlier, like the "computer pioneers" did?

How are integrated circuits (e.g. a microprocessor) fabricated from start to finish? For example, there must be some wiring with resistors, capacitors to store energy (bits) in a field, transistors, etc....  How is this done? What machinery and chemical processes are required for building an integrated circuit?


with the otherwise very useful bigfoot package, I'm regularly getting an undesired result: Sometimes, footnotes appear one page too early.   Here is an MWE (simplified/updated 2017-09-13):   \documentclass[oneside]{book} \usepackage{fontspec} \usepackage[paperwidth=120mm, paperheight=213mm, %     left=17mm,right=15mm,top=20mm,bottom=15mm,  ]{geometry}  \usepackage{lipsum} \usepackage{bigfoot}  \setlength{\parindent}{5.0mm} \setlength{\parskip}{0mm}  \begin{document}  \lipsum[1-2]  \lipsum*[1]\footnote{Hallo}  \end{document}     Removing \usepackage{bigfoot} gives the desired result (but I need bigfoot for other reasons, see the thread ):     This is a very fundamental case that I think should not go wrong. Can anyone help?

With big foot package sometimes footnote text is placed on other page then corresponding footnote mark. :  \documentclass[11pt, b5paper, final]{memoir}  \usepackage[english]{babel} \usepackage[pangram]{blindtext}  \usepackage{bigfoot} \DeclareNewFootnote{default} \DeclareNewFootnote{B}[roman]  \begin{document} \blindtext[10]\footnote{\blindtext[20]} \blindtext[5]\footnote{ \blindtext[10]\footnoteB{\blindtext[1]} \blindtext[30]} \blindtext[10]\footnote{\blindtext[40]} \end{document}   Preview:     However if I create similar document without bigfoot it works as expected.   \documentclass[11pt, b5paper, final]{memoir}  \usepackage[english]{babel} \usepackage[pangram]{blindtext}  \begin{document} \blindtext[10]\footnote{\blindtext[20]} \blindtext[5]\footnote{ \blindtext[10] \blindtext[30]} \blindtext[10]\footnote{\blindtext[40]} \end{document}   Preview:     Question how can I fix bigfoot that marks appear on same page as text? I can choose other package for footnotes, but i need insert second level footnotes into first level footnote (as in bigfoot MWE).


I submitted a paper in math/cs/economics to a top-level journal. The paper involves a new variant of a well-known problem. All reviewers agreed that the results are interesting and non-trivial, but they rejected the paper as not being general enough for their journal.  Encouraged by the positive feedback, I submitted an improved version of the paper to a medium-level conference. The improvements include simplifications of some of the proofs and additions of stronger results about the same problem. Now the reviewers rejected the paper claiming that the results are too weak and unsurprising!  What should I do in the next time I submit (to a different journal), in order to make the reviewers believe that the results are indeed surprising and non-trivial? I don't want to write the proofs in their more complicated version, as in the first revision, because this is unscientific. But writing it in a simple way seems that doing so creates a false impression that the results are too simple. What do you suggest?

In nearly any field there is a number of important results which look obvious to experts post factum but somehow are not that easy to come by in the first place (e.g. in mathematics some important definitions look exactly like this). Unfortunately, this apparent post factum simplicity makes conveying the importance of the idea to expert audience (and in particular to the journals' editors and referees) very difficult. To make things worse, sometimes the author is unable to illustrate the application of the idea by sufficiently striking examples.      The question is whether it is possible (and if yes, how) to mitigate this apparent post factum simplicity in the talks and research articles, i.e., what can be done to adequately convey the significance of "post-factum-obvious" results to the audience and, in particular, to get these results to the journals they truly deserve?   I am particularly interested in the advice applicable to mathematics/mathematical physics but the suggestions suitable for other fields are very welcome too, as the situation in question does not seem to be all that field-specific.


In SharePoint we have default functionality that we can drag and drop documents in document library.  I want to disable drag and drop functionality. How can I do that?  I do not want to change in drag and drop's js that is reside in layout folder. Because it will effect on entire farm.   I want to change for specific site collection and only for document library.

Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it.  We're using SharePoint online and I have amended the SharePoint out-of-the-box document library to include some extra fields that are required when the user adds a new document.  If the user creates or uploads a new document then they are prompted to enter the required information. However if they use the drag and drop functionality the entry of the necessary fields is bypassed.  During my search I came across  which asks how to enforce metadata entry (which would be another good option for me). It also mentions disabling the drag and drop functionality by editing dragdrop.js and removing content from various methods.  I've had a look at the site collection I'm working on (to which I have full control) and I can't seem to find dragdrop.js (or the layouts folder for that matter).   Is this something that's held at site collection level or is it held at a higher level? I don't have admin rights above my site collection, do I need them? Do I need to use Visual Studio to make the necessary changes? (Currently I'm doing things through the web and having a bit of a play with Napa I don't have Visual Studio installed)  When I get there is it obvious what methods need to be removed? How can I tell SharePoint to use the new version of dragdrop.js? Is it just a case of saving a copy of the existing one to a different name and then editing the existing file?      I suppose the best place for me to have asked this question would probably have been on the existing post, but I am unable to post a comment on there, sorry...


I was asked to wait for 900 seconds (!) when I tried to submit a second question from the Android app. Got bugged, went over to the mobile website and had no problems.    Please have the messages in readable terms ? (seconds /hours etc)  why the inconsistent rate limiting?

In using the Android app for the first time today, I quickly discovered several things that I would like to suggest for improvement.  Being a dedicated SOer and dutiful alpha tester, I tried to use the Android app to post these questions here to Meta.  Which leads me to this question. I composed my second question and hit "preview", to be greeted with:     A creation of question can only be performed once every 900 seconds   Aside from the grammer [sic], the 900 second timeout seems rather long -- 15 minutes.  Can this be reduced, perhaps based on rep?


I'm new to Blender - and to any 3D modelling software, really - so I started following tutorials on Youtube. In this particular case, the OP says to toggle the wireframe on the solid interface by pressing F4. Here's the link to the video, and go to minute 18:50:  If I press F4, a simple contextual menu opens up:  but this should be the result:  I checked the key shortcuts in settings, but F4 is nowhere to be found in relation to wireframe:  I'm running Blender 2.91.2 on a M1 Mac. Thanks in advance to whoever can solve this mystery to me.

How do I toggle in and out of wireframe mode with my keyboard? Is there a hotkey for this?  I'm a beginner (obviously). I thought I could find this in the "view" menu, but it either doesn't exist or I have horrendous eyesight. Thanks!


I want to know that how an electron is in continuous motion.

I'm having trouble understanding the simple "planetary" model of the atom that I'm being taught in my basic chemistry course.   In particular,    I can't see how a negatively charged electron can stay in "orbit" around a positively charged nucleus. Even if the electron actually orbits the nucleus, wouldn't that orbit eventually decay?  I can't reconcile the rapidly moving electrons required by the planetary model with the way atoms are described as forming bonds. If electrons are zooming around in orbits, how do they suddenly "stop" to form bonds.     I understand that certain aspects of quantum mechanics  to address these problems, and that there are  of atoms. My question here is whether the planetary model itself addresses these concerns in some way (that I'm missing) and whether I'm right to be uncomfortable with it.


I am new to time series analysis. I have hourly electricity demand data for five years (having multiple seasonalities at intra-daily, intra-weekly, and annual periodicities) and I want to guess the number of AR and MA terms using ACF and PACF. Please advice me how to remove seasonalities and guess the AR and MA terms.

I'm currently using R to predict a time series with these instructions:  X <- ts(datas, frequency=24) X.arima <- Arima(X, order=c(2,1,0), seasonal=c(1,1,1)) pred <- predict(X.arima, n.ahead=24) plot.ts(pred$pred)   As you can see I've data each hour, and I chose the seasonal period of 24 (one day).  I would like to improve my forecasting using an additional seasonal period in order to include the seasonal component of the week (seasonal length of 7*24=168 data)  Is there any method for this? How do you do it?  UPDATE: I've read  (your) blog page, maybe can I use the external regressors to simulate a second seasonal period?


Could a character with both the Magic Initiate and Ritual Caster feats understand magical writings enough to use spell scrolls?  The rules for  say     if the spell is on your class's list you can use an action to read it... otherwise the scroll is illegible.   So with those feats you have spells from a class's spell list, which means you are technically a spell caster, and whichever list you choose is technically your spell list.  If you have the  feat, you gain an arcane book, which implies that you can interpret and use spells by reading arcane texts (your ritual book) and spell scrolls are arcane texts, so you should be able to use spell scrolls, if wizards can read other wizards spell books there is evidence for a kind of universal magic language that casters use to read scrolls and books, this feat seems to give you access to that language.     If you come across a spell in written form, such as a magical spell scroll or a wizard's spellbook, you might be able to add it to your ritual book.   This implies that you can interpret spell scrolls, which seems to convey that they are not illegible to you (see below about magical language). And the description of scrolls implies that the only requirements for using a spell scroll are being able to read them and cast spells. These feats should allow you to do both.  Am I right?    The following is not supposed to be a second question. A big part of this question is whether or not there is a magical language. For example once you have a level in wizard you can now read spell books, if you have a level in druid you can read druid spell scrolls. So wizard a ritual caster can read the "wizard spell language" the language wizard scrolls are written in, gaining a level in wizard allows you to read and cast scrolls in that clases Individual "magical Language", as a ritual caster you can have wizard spells and can read wizard scrolls. So you must know the same language which should allow you to cast spells though scrolls. Because you are capable of reading and understanding said scrolls and are capable of casting spells. Casting a spell with a scroll is reading it and casting a spell. With both you should have the knowledge and power to do both.

Bob the Fighter takes the Magic Initiate feat and selects hex as his once-per-day spell given by the feat.  Bob later finds a Spell Scroll of hex.  Can Bob use that spell scroll, or not?


Question: Determine the order of $\left ( \mathbb{Z} \bigoplus \mathbb{Z}\right )/\left \langle \left ( 2,2 \right ) \right \rangle$.Is it cyclic?  The elements in the factor group are of the form $\left ( a,b \right )+\left \langle \left ( 2,2 \right ) \right \rangle$. The subgroup $\left \langle \left ( 2,2 \right ) \right \rangle$ would absorb any elements of the form $n\left ( 2,2 \right )$ by the property of cosets. Why wouldn't the element (1,2)H be in the factor group? At this point I would appreciate hints. My intuition tells me a bit of number theory would be in use here. Thanks in advance.

Evidently, $(\mathbb{Z} \oplus \mathbb{Z})/ \langle (2,2) \rangle$ has order $4$, but I think it's infinite.   The four cosets are listed as $(0,0) +  \langle (2,2) \rangle$, $(0,1) +  \langle (2,2) \rangle$, $(1,0)+  \langle (2,2) \rangle$ and $(1,1) +  \langle (2,2) \rangle$. However, $(2,0)$ doesn't appear to be in any of these cosets. Maybe the answer I'm being told is wrong.


So I have been banging my head against a brick wall literally all day. I have tried 3 different Latex editors (Texmaker, TeXstudio, and Texworks) all on top of MikTex. I have tried copying code from others as well as writing my own, with some extremely basic examples such as:   \documentclass{article}  \usepackage{lipsum}  \usepackage{biblatex} \addbibresource{sample.bib}  \begin{document} \lipsum[1] \cite{ref:123}  \printbibliography  \end{document}   Where my sample.bib looks like:  @book{ref:123, author = {456}, title = {855}, year = {2464}, }   and is saved in the same folder as the Tex file. Any suggestions on how to produce a bibliography would be greatly appreciated, I'm new to Latex!!  The latest:   When I BibTex the document I get this:

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


How many solutions $x\in\Bbb R$ does the equation $$(1/16)^x=\log_{1/16}x$$ have?   I've tried several methods to manipulate this equation, but to little avail.   Edit: I'm looking for a solution that does not require plotting the curve. I've heard about the , but if there's a way to reason this out that doesn't require "happening" to know this piece of information, I'd be delighted.  Thanks so much for your help.

Number of real solution of $$\log_{\frac{1}{16}}(x) = \left(\frac{1}{16}\right)^x$$   $\bf{My\; Try::}$ Using hit and trial Here $\displaystyle x= \frac{1}{4}$ and $\displaystyle x = \frac{1}{2}$ are the solution of above equation.  Now for the existance of other solution, Let $$f(x) = \log_{\frac{1}{16}}(x) - \left(\frac{1}{16}\right)^x$$  So $$f'(x)=\log_{\frac{1}{16}}(e)\cdot \frac{1}{x}-\left(\frac{1}{16}\right)^x\cdot \log_{e}\left(\frac{1}{16}\right)$$  And $$f''(x)=-\log_{\frac{1}{16}}(e)\cdot \frac{1}{x^2}-\left(\frac{1}{16}\right)^x\cdot \log^2_{e}\left(\frac{1}{16}\right)$$  Now for $\max$ or $\min,$ Put $$\displaystyle f'(x)=0\Rightarrow \log^2_{\frac{1}{16}}(e) = x\cdot \left(\frac{1}{16}\right)^x$$  Now how can i calculate after that, Help required, Thanks


The following code does not show any errors, however, when I tried to input user play, I get tons of errors.  public static void rockPaperScissors(Scanner input) {     // TODO Auto-generated method stub     String user = null, computer = null;     int computerRand;     Random num = new Random();     System.out.println("Lets play Rock, Paper, Scissors.\nPlease enter a move\n");     computerRand=num.nextInt(3)+1;      if (computerRand==1)         computer="R";     else if (computerRand==2)         computer="P";     else if (computerRand==3)         computer="S";      System.out.println("Enter user play");     user=input.nextLine();      if (user==computer){         System.out.println("Tie. Try over!");         }     else if (user==("R")){         if (computer==("S"))             System.out.println("Rock beats Scissors. You win!");     else if (computer==("P"))             System.out.println("Paper covers rock. CPU wins..");     }     else if (user==("P")){         if (computer==("S"))             System.out.println("Scissors cut paper. CPU wins..");     else if (computer==("R"))             System.out.println("Paper covers rock. You win!");     }     else if (user==("S")){         if (computer==("P"))             System.out.println("Scissors cuts paper. You win!");     else if (computer==("R"))             System.out.println("Rock beats scissors. CPU wins..");     }              System.out.println("Computer play is: "+computer);  }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Would not speed of the light emitted from the front of the fast moving object be the speed of light + the speed of the fast moving object?

Let's say I fire a bus through space at (almost) the speed of light in vacuum. If I'm inside the bus (sitting on the back seat) and I run up the aisle of the bus toward the front, does that mean I'm traveling faster than the speed of light? (Relative to Earth that I just took off from.)


I need some proof on this statement that not every boolean function is equal to a function constructed by only using ∨ and ∧. I need a boolean function that does not constructed using ∧ and ∨ which I am assuming that it is p⊕q but I need help on this.

Prove that not every boolean function is equal to a boolean function constructed by only using $\wedge$ and $\vee$.  Here is my solution, can I ask for a feed back on my solution please?   $p∧q$                          $0 0 0 1 $   $p∨q$  $0 1 1 1$  Not every boolean function is the same when using $ ∨ $ and $∧.$  Edited part!  $p\vee q$                  $0111$  $(p\vee q)\wedge p = p$  $0 = 0$  $0 = 0$  $1 = 1$  $1 = 1$  $(p\vee q)\vee p = p\vee q$  $0 = 0$  $1 = 1$  $1 = 1$  $1 = 1$  here is my edited answer , can I ask for more feed back , thanks


I've installed a game called Slingshot Portal (package name: portal-slingshot) using Ubuntu Software Center.  The game fails to start with the following error:  Failed to execute command "java -jar /opt/portal-slingshot/portal_slingshot_1.2.0.jar". Failed to execute child process "java" (No such file or directory)   Obviously, I don't have Java installed, and the package didn't have Java as a dependency. How do you report such cases?  I tried to run  ubuntu-bug portal-slingshot   But it exits with this message:  This is not an official Ubuntu package. Please remove any third party package and try again.   Please note that I'm not asking for instructions on how to install Java, I'm trying to report a broken third-party package that is available for download via the official Ubuntu Software Center and therefore should have proper dependencies.

When you want to report an error the best way to report a package in Ubuntu is                                   sudo ubuntu-bug package.    But what if the package is in a developers PPA and I want to report an error with enough information, what tools can I use to generate that necessary information?


I use Bash 4.3.48(1) and I have a .sh file containing about 20 variables right under the shebang. The file contains only variables.  This is the pattern:  x="1" y="2" ...   I need to export all these variables in a  way: For example, one export to all vars, instead say 20 export for 20 vars.  What's the most elegant way (shortest, most efficient by all means) to do that inside that file?  A for loop? An array? maybe something simpler than these (some kind of collection sugar syntax)?

I have a tmp.txt file containing variables to be exported, for example:  a=123 b="hello world" c="one more variable"   How can I export all these variables using the export command, so that they can later be used by child processes?


I'm trying to learn about Support Vector Machines with its "kernel methods" and "kernel trick", and my pure math background seems to be getting in the way, as I suspect that what they mean by kernel is not what I think of it as meaning.  I'm used to a kernel being related to a homomorphism and being the "stuff" that gets mapped to 0 in the Image, e.g. .  I'm seeing kernel used in Artificial Intelligence and Statistics contexts more like it is here: "".  Are the two senses of the word "kernel" linked at all, or is it just an unfortunate word-reuse with completely separate meanings?

In linear algebra, the kernel of a matrix is its null space.  In machine learning and statistics, there are a bunch of matrices are called "kernel". For example,    I am totally confused. The second "kernal" concept looks very much like a projection to me, rather than a "null space". Why they are given the same name? Is there any connection between the two concepts?  Thank you!


None of them are/is   I don't know if this is the place to ask, but:   In German you would say "none of them is" and it totally sounds wrong to me to say "none of them are". As German and English are both Germanic languages, I can't explain how they have a different concept of none, especially because in French and Italian it's singular as well.  Does anyone know how/why this turned out this way?  Edit: Before this gets put on hold ;-) I have read a lot of threads about none, my question is: how did it become this way? I haven't seen any other threads on that.

In my grammar book (English Grammar, HarperCollins Publishers), I read that none is occasionally treated as plural, but it is usually regarded as singular. Can you give me an example of sentence where none is used as plural pronoun?


I have some jsp file which need to rename. it has _h5 prefix. SO i need to remove that _h5 and make the file.  ex: Account_h5.jsp to Account.jsp

I have some files and each files have distinct name but all of them have the same "-statement" at the end like this:  flower-statement.mp3 leave-statement.mp3  ball-statement.mp3 goal-statement.mp3   So I want to remove this: -statement  Is that possible?


How do I write this letter (showed in picture)

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


When the update with the pets came out I received a free pet. Since then I have opened a fair few lunchboxes with none entailing a pet. Is the only way to get more pets to buy them?

Fallout Shelter has a new feature where your Dwellers can also have a Pet. Is there a way to get more pets without purchasing them? Can you find them in the wasteland?


Two random variables X, Y are independent and both uniform-distributed in[0, 1].     How to calculate the probability density function Z=X+Y ? I tried below,  $$f_X(x) = \begin{cases}  \frac1{1-0} \\ 0 \end{cases} = \begin{cases}  1, & 0 \le x \le 1 \\ 0, & otherwise \end{cases} $$  Similarly,  $$ f_Y(y) = \begin{cases}  1, & 0 \le y \le 1 \\ 0, & otherwise \end{cases} $$  As $f(x,y)= f_X(x)f_Y(y)$, and  $$ f(z) = \int_{-\infty}^{+\infty} f(x, y)\, dx = \int_0^1 f(x, z-x)\, dx = ? $$  but have no idea how to continue to finish above evaluation.

I am calculating the sum of two uniform random variables $X$ and $Y$, so that the sum is $X+Y = Z$. Since the two are independent, their densities are $f_X(x)=f_Y(x)=1$ if $0\leq x\leq1$ and $0$ otherwise. The density of the sum becomes $f_Z(z)=\int_{-\infty}^\infty f_X(z-y)f_Y(y)dy=\int_0^1f_X(z-y)dy$ by convolution. I am stuck at this stage. How do I proceed with my integral? I think a diagram make it easy but I dont know how to proceed.


It is easy to show that if $M$ is a Noetherian $R$-module then $R/\mbox{ann}(M)$ is a Noetherian ring. Is there a similar (or dual) result for Artinian modules?

Let $A$ be a ring. How can I prove that:     $A$ is an Artinian ring $\Leftrightarrow \exists$ a faithful $A$-module which is of finite length.   I know that if a ring has a faithful $A$-module which is Noetherian, then the ring is Noetherian. Can I use this to prove the result above? I need your help to solve this problem. Thank you.


Is it possible to draw in the plane an uncountable set of the digit 8 such that the lines of two different digits won't cut? I think it's wrong, I guess I need to find rational coordinates in every digit, but I don't know how to prove it.

Let $A$ be the set of non-intersecting "figure eights" (objects shaped like $8$) in the $\mathbb{R} \times \mathbb{R}$ plane, so that $|A|$ is maximal. What's $|A|$?  Examples of figure eights: $8$, $\infty$, and all angle variations.  It seems to me the answer is $\aleph$. Maybe you can view figure eights as objects defined by center and radius. Center being point of intersection of $8$, and radius defines the two "circles" above and below the eight.  Honestly I'm quite clueless.


my hard drive is located in /media/ronin_cunningham/408242E58242DED2 and I want to change the name 408242E58242DED2 to StorageDevice. How would I do this from the terminal?  Thanks.

I'm new at Ubuntu; I installed Ubuntu 12.10 and the partitions appear like 30 GB volume and like 78EF-2C5E in task bar. I tried to rename it but rename and remove buttons are deactivated so I tried by using disks but it gives me error:  (Error setting label: Command-line `mlabel -i "/dev/sdb8" ::"windows"' exited with non-zero exit status 1: Total number of sectors (18550784) not a multiple of sectors per track (63)! Add mtools_skip_check=1 to your .mtoolsrc file to skip this test  (udisks-error-quark, 0))   and this happen also to any attached usb to my laptop.


I’m doing the blender donut tutorial and I’m on part 7, level 1 at about the 15:00 mark. My issue is that I zoom in to the donut so I can see the details of it. I select the camera mode, then F12 to render, I go into compositing and it’s zoomed super far out, the donut looks like a tiny speck. How do I fix this so it’s the close up version I origami wanted to see?

Zoom Issues,Hello, I am a noob when it comes to blender, so I apologize up front for not being able to communicate the problem better.  I am following blender guru tutorial on how to model a donut with icing and I have the camera zoomed in for a close up of the donut but when I hit render it is in a zoomed out position, the donut is far away.  My clipping distance is .001 so I don't think it's a clipping issue.  It's as if no matter where I position or zoom camera to, the render is operating on it's own and positioning the camera and focal length farther from my object. I've tried with both EEvee and Cycles but still have the same results. I've also tried different focal lengths, 35mm 50mm and 175mm but still resulting in a zoomed out render instead of a close up shot.


The BBC News article  shows this ultra wide angle and likely "little planet"-type of self portrait. I can't understand how this effect is produced.  While example images given in in answers to a previous question  show only the ground at the bottom:   These show the photographer and another person - there were only two people on this magnetic meteor-hunting arctic expedition. There's no evidence of stitching or movement of the subjects during multiple exposures The formats are rectangular (though that could be imposed for publication)   Could these have been imaged with a single, extremely wide format lens and a single exposure?  If so, what kind of lenses, optics, or other equipment are used to do this? While it seems that stitching several images together might be the solution, would the subjects simply hold very still as a drone rotates? Or is there a pole supporting the camera that's been edited out (a bit like the Mars Rover "selfies")? I've cropped a bit of the photo - there seems to be something in one person's hand.         Most of the space rocks in collections were picked up in the Antarctic. KATHERINE JOY / UNIVERSITY OF MANCHESTER

How do you make mini-planet photos like this one?   By Guido Radig (Own work) [CC BY 3.0 (, via Wikimedia Commons  Here are some examples of what I mean on Flickr:  - though I would be open to a better source of examples.


I am a maths masters student, and I am getting very frustrated with how little I get out of academic talks. I would love some advice on how to change this. I feel like there are a few problems:  Not understanding the material at the pace that it is presented. This could include notation, definitions, something conceptual, missing an 'obvious' way of viewing the problem due that makes certain things obvious etc  Attention drifting for a brief period of time and missing a small remark- or something more important- that clarifies what we are doing in the proof and why.  Not writing down/committing to memory the right things. For instance, the form of some function or its general asymptotic behaviour.   I appreciate that for 1. and 3. the best solution is probably just gaining more experience in the research area that is being presented. That way, I will have a better feel for what parameters/quantities are important to keep track of as well. However I still feel like I generally do a worse job than most at following talks... I am currently participating in a reading group in my area of interest; the audience is a mixture of masters students like me, with very similar backgrounds, and PhD students. In every talk/presentation so far, I have gotten quite lost by about mid-way through, so find myself unable to come up with sensible questions to ask. And yet, most of the other masters students usually have insightful questions that demonstrate they understood the lecture; they are able to discuss the material, linking it to things presented in earlier talks as well. I just sit there feeling like a lemon. I was wondering if I have a short-term memory impairment... My brain seems to be like a sieve unless I have a good conceptual understanding of something. But there is too much to write down to keep track of the things that are new! Hopefully people could share their approaches to getting something out of academic talks in mathematics. For example:  How much do you write down? What do you write? (definitions, theorems, key elements of a proof?) In how much detail?  Any specific tips for maintaining attention during the talk, or trying to get back on track after missing something and feeling a little lost.  Do you make summary or revision tool after a talk? This would probably be especially good for the reading group; though it is difficult to do when I feel like I didn't understand the talk- what would I write down?   Note: I have heard of a method of writing 3 important things to remember, but I still find it confusing as to what those three things should be. IF someone could give a concrete example from a talk they themselves attended, that would be great.

I am a beginning graduate student in mathematics. My university holds regular seminars in different areas of mathematics, and I try to attend all of them. I like getting exposed to different areas of research I did not know of, and get updated about recent developments. Listening to different speakers on different areas of mathematical research has greatly helped me become more confident in approaching new areas with new thoughts.  Often the researchers pose open problems. I note those down and after returning home, I try to read up about them but usually I find there are lots and lots of background material to cover and certainly I would have to spend a lot of time reading things up to get to the point where the speaker leaves something as an open problem. Please note I am a beginning graduate student.  Even if open problems have not been directly posed, following the speaker's work may eventually lead me to solve related problems in the area. Unfortunately the time taken scares me and essentially those notes get lost.  I am not even sure if the system I am following is proper. How does one get the most out of seminars? Or, what message is a seminar really intended to convey? Just a demonstration of some work done by the speaker, to be validated (at least at face value) by the audience? Or expose the audience to areas they can work on? In the latter case, how does one keep track of all the information obtained from seminars? A disciplined approach would be solicited.


Every time I try to render an object, red dots appear all over it (you have to enlarge the image to see them). How do I stop this from happening?

I often use Cycles' built in Glass BSDF shader to achieve realistic refraction effects, but in many cases, it seems that Cycles' glass caustics creates an unfortunately large number of fireflies (pixels that are abnormally bright relative to their surroundings). In some models of mine, even when I render for 3000 or more samples/pixel, my final image is still covered in fireflies. While I can improve this in many cases by increasing the total amount of light available in the scene, this loses a lot of the potency of the refractive effects I'm looking for, especially in scenes with low light levels.  So my question is, how can I reduce the amount of fireflies while using Cycles' caustics without sacrificing the quality of the refractive effects?  Note: I am aware that Cycles' caustics will perform much better once Cycles has full support for bidirectional path-tracing, but it looks unlikely that that will become , unfortunately.


I have searched Google for URL Open Event for a long time, but Google just gives me inappropriate results...  Actually, I would like to know what happens when an application opens up an external URL.  For example, when someone sends you a link through Skype, you click the link and Skype will prompt you to IE/Chrome or other default browsers. I would like to know how to capture the event that opens up the browser. I do not want to set my application as default browser.  VB.net may have a limited function, if there is no way to achieve this, it is OK to give me a way of how to do it in C# or c++.  I absolutely have no idea on how to do this. Hope that someone can give me a hint :(    Add On: Maybe my question is not clear. What I need to do is not opening an URL. I would like to make an application to open up an URL through my application. For example, when I click the link on Skype. I want my application to grab the link that Skype was trying to open up instead of bring me up to a browser.

I'm trying to provide a link to my company's website from a Windows Form.  I want to be well behaved and launch using the user's preferred browser.  What is the best way to open a URL in the user's default browser from a Windows Forms application?


Is it possible to change the default highlight colors used by macOS's Preview? Only yellow here is usable, other colors are toooo deep/dark that I think they didn't highlight, but de-highlight what I think important...

In Preview on OS X 10.9 Mavericks, is it possible to change the color to something other than yellow, green, blue, pink, purple?  I know it is possible to highlight in other colors because I did it while using Preview for the first time after upgrading to Mavericks, but now that I've changed I can't seem to change back.


I would like to know how I can permanently remove GWX from my machine. I am running Windows 7 currently, I have removed the KB3035583 update, which did remove the system tray icon for a few days, but it has come back. According to the accepted answer in  question, removing the GWX directory may also be necessary, but I am not able to even though I am the admin, I get a message saying that I need permission from trustedinstaller, and cannot change permissions for some reason. I have also attempted this in Safe Mode with no luck.   Is it something simple that I'm missing?

It's been a time I didn't follow the list of which Windows 7/8/8.1 KBs I must skip since I don't want the unfinished Windows 10 at all. Moreover, I will still consider Windows 10 unfinished (-> unstable) until they release Windows Server 2016  The KBs list up today is scattered all over the Internet, and I am fearing to miss a single one of those.  As far as I know, some of the newer KBs are even old rebranded ones or re-re-re-pushed again and again. The goal is also to not use any external software or post-installation removal tools since I also intend to deploy a script that will block those KBs.  So the question is: can you tell me all the KBs you know that I must avoid?  Any details that can prevent "Telemetry", the "Windows Customer Experience Improvement Program" or prevent the resetting of Windows' settings about updates and privacy concerns is good too ! (Since they are even linked)   In case some cumulative updates (updates that regroup a pack of old ones) contains one of the listed KB, this is still relevant for the question here.  Remarks  There is of course other ways to disable the updates, which are still appreciated here but do consider that they represent a secondary objective of this post. Same applies for saying it's not the correct method to do it, and I do know the list will endlessly get longer.  The reason is that I still prefer doing it manually since I don't even want the files at all in my system. Furthermore, some of these updates had been re-pushed again and again for at least six times ! This is in fact due to the problems that those updates had caused and I don't want any risks to jeopardize my systems because Microsoft have plans for users with our without their consent by doing "Betas To Manufacture".  related:


I need libpng12 because of PacketTracer.  Is there a workaround without installing it? Is it safe to remove usrmerge?  dpkg: regarding libpng12-0_1.2.50-2+deb8u3_amd64.deb containing libpng12-0:amd64:  usrmerge conflicts with libpng12-0 (<< 1.2.54-4~)   libpng12-0:amd64 (version 1.2.50-2+deb8u3) is to be installed.  dpkg: error processing archive libpng12-0_1.2.50-2+deb8u3_amd64.deb (--install):  conflicting packages - not installing libpng12-0:amd64 Errors were encountered while processing:  libpng12-0_1.2.50-2+deb8u3_amd64.deb   Edit: Just wanna plug  so that installing it in the future won't be such a hassle anymore for newer users (hopefully) who aren't experienced in troubleshooting on Linux.

Blackmagic Design's Resolve video editor, V14.0.1, requires libpng12. Unfortunately, only libpng16 is provided with the new 17.10 release.   Is there a way to revert to libpng12 under 17.10? If so, how do I get libpng12 - synaptic doesn't list it when I search for it.


On Programmers.SE, I  () back in November. Since it was a suggested edit, I earned +2 reputation when my edit was approved.   The author of that post appears to have had their account deleted sometime yesterday. The post, however, was not deleted. .     Is that what's supposed to happen? , but does it make sense to lose rep if the owner of the post is deleted?   (Given that , I suspect that what really happened is that the post-owner directly approved my suggested edit; I imagine this is related. Perhaps the question actually ought to be "are you supposed to lose rep from suggested edits if the sole edit-approver's account is deleted?".)

Message appearing when a user was removed.     It seems I lost 1765 reputation points on Stack Overflow yesterday. The reason given in my history is "removed", with the description of "User was removed ()". I don't understand what that means. What caused this?


My Latex code is:  \documentclass{article} \begin{document} \author{Author} \title{Title} \maketitle Document's text. \end{document}   The output is:   How can I not show the document's date?

I'm using the \author and \title commands to produce a title with \maketitle. I also know that there is a \date command to specify the date of my work. However, if I omit \date, \maketitle will produce the current date. How do I achieve that no date is displayed at all?  \documentclass{article}  \author{Author, A.} \title{Alpha}  \begin{document}  \maketitle  Some text.  \end{document}


I'm just learning python regular expression and I don't understand why it matches the last '\n':  import re  s = 'abc\t'   # no # s = 'abc\n'   # yes  if re.match('^(\S+)$', s):     print 'yes' else:     print 'no'   As far as I know, '\S' should not match '\t' or '\n', but here '\n' is matched. Any Help?

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


I want get the attribute 'src' of a iframe from other html.  I can get the attribute of a iframe in the same html but not from other html,   look my code:  /////////iframe attribute from the same html//////////     var Mframe_src = $("#Mframe").attr('src');     alert(Mframe_src);  //////////iframe attribute from other html////////////  var frame_Ads = $("#Mframe").contents();  var Ads_src = frame_Ads.find("#ads");  alert(Ads_src.attr('src')); /// the alert present me undefined

I would like to manipulate the HTML inside an iframe using jQuery.  I thought I'd be able to do this by setting the context of the jQuery function to be the document of the iframe, something like:  $(function(){ //document ready     $('some selector', frames['nameOfMyIframe'].document).doStuff() });   However this doesn't seem to work. A bit of inspection shows me that the variables in frames['nameOfMyIframe'] are undefined unless I wait a while for the iframe to load. However, when the iframe loads the variables are not accessible (I get permission denied-type errors).  Does anyone know of a work-around to this?


I hold no strong opinions towards homosexuality one way or the other; I'll personally refrain, but don't apply my personal tastes to the rest of the world.  I remember seeing some articles a while back, and in some online debates, that there's been evidence in favour of a genetic component of homosexuality. I ignored it back then (before it became legalised), since it didn't affect me. However, after deep thinking, I started to seriously doubt those stories.  My gripe is this, based on my extremely limited understanding of Evolutionary Biology, organisms with genes which boost survivability, will tend to become more abundant. Genes that made organisms more fertile and reproduce more, will tend to become more abundant.  So, if say a particular gene, reduced effective fertility of organisms, that gene may be expected to be absent after a while. Fewer organisms with that gene would reproduce each successive new filial generation. There will be a diminishing marginal increase in the population of these gene bearers, before there eventually starts to become negative growth. I expect that population, may eventually find themselves in extinction, or on the brink of it.  In the few 100,000 years that Homo Sapiens have walked this planet, I guess there's been sufficient time for a population of genetically predisposed homosexuals to become extinct, or reach its brink. Certainly not the 5% - 10% estimated population we have today.  As such, I am unable to understand how homosexuality might be determined by genes in spite of natural selection.   My understanding of Evolutionary Biology may be severely lacking; especially as my teachers in the subject believed it was blatantly false, and were not really interested in making their students understand it. Some even going to the extent of making it seem as ridiculous as possible (I live in a country, where more than 90% of the population are genuinely religous (as in they truly believe in the existence of God) in one form or the other). I would appreciate answers to my question.  Of course, whether or not treatment of homosexuals should change, is another separate matter. It certainly does not follow from any conclusion of this inquiry; the answer to this question, is irrelevant as far as LGBT rights are concerned.

I would imagine that the answer to this question would be population control, especially since even if one sibling is homosexual this does not necessarily mean that the other siblings will be too.


Let $[0, 1]$ and $(0, 1]$ be given in the standard topology. Prove that the product spaces $[0, 1] \times (0, 1]$ and $(0, 1] \times (0, 1]$ are homeomorphic.

Show that $[0, 1)\times[0, 1)$ is homeomorphic to $[0, 1]\times[0, 1)$ but not to $[0, 1]\times[0, 1]$. When I sketch these spaces it this statement makes sense intuitively because $[0, 1]\times[0, 1]$ is closed and $[0, 1)\times[0, 1)$ and $[0, 1]\times[0, 1)$ are each "missing" part of their boundary which would make them closed. I also know, $[0, 1]\times[0, 1]$ is compact and compact spaces are not homeomorphic to non-compact spaces.   I am having trouble saying this explicitly, as is pretty obvious in the clumsiness of the wording above.


Let $X$ a compact metric space and $(f_n)_n$ a sequence of functions from $X$ to $Y$ uniformly equicontinuous that puntually converge to a function $f: X\rightarrow Y$, so that convergence is uniformly.  My question is: to prove that, shall I use the fact that every sequence in X has a subsequence that converge?is it useful for demostrate that?

I know that   If $\{f_n\}$ is an equicontinuous sequence,  defined on a compact metric space $K$, and for all $x$, $f_n(x)\rightarrow f(x)$, then $f_n\rightarrow f$ uniformly.  I'm having trouble proving this.  I see the same problem  but am having trouble following the proof, particularly with part (3).  Can someone guide me through a proof of this result?


I have an issue where I am unable to use JSON, which would appear to be because of the following error. There is another thread on this forum this touches on a similar issue, but it's not quite the same.  I am using CentOS 5.6 and have the following pear packages installed:  [crmpicco@eq-www-php53 ~]$ pear list PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' - /usr/lib64/php/modules/json.so: undefined symbol: ZVAL_DELREF in Unknown on line 0 Installed packages, channel pear.php.net: ========================================= Package          Version State Archive_Tar      1.3.7   stable Auth_SASL        1.0.2   stable Console_Getopt   1.3.1   stable Image_Barcode    1.1.2   stable Mail             1.1.14  stable Net_SMTP         1.2.10  stable Net_Socket       1.0.8   stable PEAR             1.9.4   stable Structures_Graph 1.0.4   stable XML_RPC          1.5.4   stable XML_Util         1.2.1   stable json             1.2.1   stable   and have the following PHP packages installed:  [crmpicco@eq-www-php53 ~]$ yum list installed | grep php php.x86_64                           5.3.10-1.w5                       installed php-cli.x86_64                       5.3.10-1.w5                       installed php-common.x86_64                    5.3.10-1.w5                       installed php-devel.x86_64                     5.3.10-1.w5                       installed php-gd.x86_64                        5.3.10-1.w5                       installed php-ldap.x86_64                      5.3.10-1.w5                       installed php-mcrypt.x86_64                    5.3.10-1.w5                       installed php-mysql.x86_64                     5.3.10-1.w5                       installed php-pdo.x86_64                       5.3.10-1.w5                       installed php-pear.noarch                      1:1.9.4-1.w5                      installed php-pear-Net-Socket.noarch           1.0.8-1.el5.centos                installed php-soap.x86_64                      5.3.10-1.w5                       installed php-xml.x86_64                       5.3.10-1.w5                       installed   The error:  [crmpicco@eq-www-php53 ~]$ php -v PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' - /usr/lib64/php/modules/json.so: undefined symbol: ZVAL_DELREF in Unknown on line 0 PHP 5.3.10 (cli) (built: Feb  2 2012 23:23:12) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies   My repolist reads as:  [crmpicco@eq-www-php53 ~]$ yum repolist Loaded plugins: changelog, fastestmirror Excluding Packages in global exclude list Finished repo id                                                           repo name                                                                                status base                                                              CentOS-5 - Base                                                                                3,548+43 epel                                                              Extra Packages for Enterprise Linux 5 - x86_64                                                           6,815+156 extras                                                            CentOS-5 - Extras                                                                                245+23 rpmforge                                                          Red Hat Enterprise 5 - RPMforge.net - dag                                                                11,016+67 updates                                                           CentOS-5 - Updates                                                                                233 webtatic                                                          Webtatic Repository 5 - x86_64                                                                             211+183 repolist: 22,068   I am getting HTTP 500 errors everywhere that I use JSON so my application is non functional right now.

I'm trying to loading JSON into the new-installed PHP5.3.1 on a CentOS server. Previously there was a PHP5.1 or near and due to the latest version of WordPress I had to upgrade the PHP.  I tried to install JSON via yum with:      yum install php-pecl-json   But I get a "php53-common is in conflict with php-common". With --skip-broken doesn't work, either.  I've tried it manually and got the JSON package via PEAR:   pear install pecl/json   After some errors regarding certain functions that are decrapted in this new version of PHP,  I still got the following error on php -v:   # php -v  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' - /usr/lib64/php/modules/json.so: undefined symbol: ZVAL_DELREF in Unknown on line 0  PHP 5.3.3 (cli) (built: Mar 30 2011 13:51:54)    Afterwards, I've installed JSON manually, entered the folder and did phpize prior to ./configure, make and make install. I also copied the json.so to /usr/lib64/php/modules. Nothing working so far.  The json.ini in /etc/php.d states:  extension = json.so   I did replace json.so from "extension = " with /usr/lib64/php/modules/json.so. And also entered "/usr/lib64/php/modules" as extension_dir into /etc/php.ini.  No luck. Can anyone help?  Thank you.  UPDATE:   # yum repolist  Loaded plugins: fastestmirror  Loading mirror speeds from cached hostfile   * base: centos.mirror.lstn.net   * epel: fedora-epel.mirror.lstn.net   * extras: centos-distro.cavecreek.net   * rpmforge: fr2.rpmfind.net   * updates: mirrors.serveraxis.net  base                                                     | 2.1 kB     00:00       epel                                                     | 3.7 kB     00:00       extras                                                   | 2.1 kB     00:00       rpmforge                                                 | 1.1 kB     00:00       updates                                                  | 1.9 kB     00:00       repo id      repo name                                           status  base         CentOS-5 - Base                                     enabled:  3,535  epel         Extra Packages for Enterprise Linux 5 - x86_64      enabled:  6,543  extras       CentOS-5 - Extras                                   enabled:    299  rpmforge     RHEL 5 - RPMforge.net - dag                         enabled: 10,691  updates      CentOS-5 - Updates                                  enabled:    765  repolist: 21,833   UPDATE 2: JSON is already packed within php-common, so when installing PHP from REMI repo, for example, version 5.3.6 you'll already have JSON installed.  It seems that after that, trying to install JSON via pecl install json or manually will output the error I've stated above.  Thank you.


I am trying to understand the sum of equal Gamma distributions  Let $X_1,...,X_n$ be iid where all $X_i$ each follow a Gamma distribution with $shape=\lambda,scale=\beta$  Is the following then true?  $Y=\sum_{i=1}^n X_i$ follows a Gamma distribution with $shape=n\cdot \lambda,scale=\beta$

If $X\sim \Gamma(a_1,b)$ and $Y \sim \Gamma(a_2,b)$, I need to prove $X+Y\sim\Gamma(a_1+a_2,b)$ if $X$ and $Y$ are independent. I am trying to apply formula for independence integral and just trying to multiply the gamma function but stuck ?


I see how many edits the users have in . How does SE define the edits in editor list? And how does SE sort the users who have the same number of edits?

I already commented on this issue in . Compare all time number edits in  and the number of . 16 people should have been awarded the badge, but only 5 are awarded. So it seems that reported number of edits possibly includes self-edits. Am I right? If it is so, is it feasible to include them? If it is not so, what kind of edits are included?


Is it possible to change my android phone running 2.2.2 to Ubuntu? If not, how can I get Ubuntu for android? Thanks

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


I am trying to interpret a string input from the user. I take in a phrase, split it into an array, and compare each value in the array to ")" as a boolean. The problem is it will read the string "( 3 + 5 )", and I know that the array that takes in the string is ["(","3","+","5",")"] and when I print out position 0 and 4 of the array, it returns "(" and ")". I know that these are type string of length 1, however, when I compare the exact same values to the "(" ")" in the code, it returns false.  Any idea what's wrong? Here's my code. The parts that I am having trouble with are the if statements.      public String buildExpression(String E){         String[] exprArr=E.split(" ");               int len=exprArr.length;         BTStacker S = new BTStacker();         String val;         for (int i=0; i<len; i++){             val=exprArr[i];             System.out.println(val);             if (val=="("){                 System.out.println("2");             }             else if(val != ")"){                 BSTree T=new BSTree();                 BSTNode v=new BSTNode(val,null);                 T.addRoot(v);                 S.push(T);             }             else{                 BSTree Ty = S.pop();                 BSTree T=S.pop();                 BSTree Tx=S.pop();                 T.attach(T.root(),Tx,Ty);                 S.push(T);             }          }     }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I want to investigate if there is an interaction between "Group" and "Type" in my data. Type consists of "verbs" and "circumstantial information". "QCorrect" is performance.    Why does the model split Type up into verbs and circum (it is not supposed to do that)? Furthermore, what is the intercept?   I1 = lmer(Qcorrect ~ Group * Type + (1|ID), data = Sdata1)  summary(I1)  #Fixed effects: #                Estimate Std. Error         df t value Pr(>|t|)     #(Intercept)     8.095e-01  4.488e-02  4.140e+01  18.038   <2e-16 *** #Group          -2.381e-02  6.347e-02  4.140e+01  -0.375    0.709     #TypeVerb        1.190e-02  6.149e-02  3.200e+02   0.194    0.847     #Group:TypeVerb -1.057e-17  8.696e-02  3.200e+02   0.000    1.000

In R I have a categorical variable that I performed logistic regression on and got the following result:  glm(formula = mortality ~ SMOKE, family = binomial, data = c.data)  Deviance Residuals:      Min       1Q   Median       3Q      Max   -0.2155  -0.2155  -0.2155  -0.1860   2.8515    Coefficients:             Estimate Std. Error z value Pr(>|z|)     (Intercept)  -4.0483     0.3189 -12.694   <2e-16 *** SMOKEN        0.2968     0.3559   0.834    0.404     --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  (Dispersion parameter for binomial family taken to be 1)      Null deviance: 492.45  on 2369  degrees of freedom Residual deviance: 491.72  on 2368  degrees of freedom AIC: 495.72  Number of Fisher Scoring iterations: 6   Is the value for the intercept the same as SMOKEY (has a history of smoking)?


I have a custom object Address. Here in Line 1 (text) there Spanish characters are enterred. How to achieve a translator by a custom setting or any other way for data in salesforce? Can someone please help me here?

I have a requirement to translate few predetermined spanish characters to english in field values of different custom objects. I have tried to create a generic code. can someone please let me know where it fails to give desired output?  Apex class snippet:  public static String translate(String str) {   M= new Map<String,String>{'á'=>'a', 'é'=>'e' ,'í'=>'i', 'ó'=>'o', 'ú'=>'u', 'ü'=>'u', 'ñ'=>'n'};    for (String key: M.keyset())//iterate over keyset   {     str.replace(key,M.get(key));//Get CORR Value   }    return str;//english }


Is it a good idea to give exit/close icon to top along with close button text after the content ends on a modal  If answer is not a good idea, please explain

I am working with a basic  which is a popular modal used on many sites. I noticed that the default template comes with both a close button on the bottom, as well as an x on the top, these two buttons essentially having the same purpose. Are the two redundant and the close button completely unnecessary and just taking up extra space? Or, is having multiple usage options more user friendly?   To make this even more fun, suppose I throw in a Save button:   Is it now clearer that if you don't press save and just press the x, your changes will be canceled, or is there now more of a need for a cancel button for users who are scared that a mistake will become permanent? Update: To clarify for those who feel this question is similar to  - That question is asking if a clickable background is sufficient to close a popup. I'm using buttons and it is just a matter of how many buttons to use. (I do also have a clickable overlay and ESC key enabled, but that is irrelevant to my question)


I want a domain name for my website with the name sampletext.com (as an example, with sample and text being 2 words). I have the option of taking the domain names sampletext.com and sample-text.com, but my objective is that whenever someone searches either sampletext or "sample(space)text", my website should show up in the search. To fulfill this objective, do you think it is better to have sample-text.com as my domain name?

Both in terms of SEO and user friendliness, is it better to put hyphens in a multi-words domain name or not ?  For example, is www.stackoverflow.com better than www.stack-overflow.com ?


I've been sitting here puzzled for a while now, I've read through many blogs and forms trying to understand this error and how to fix it, no luck sadly. I am getting this error every time I try and call Log::out(); Error  LNK2019 unresolved external symbol "public: static void __cdecl Engine::Log::out<char const *>(enum Engine::Log::LogLevel,char const *)" (??$out@PEBD@Log@Engine@@SAXW4LogLevel@01@PEBD@Z) referenced in function "public: __cdecl Game::Game(void)" (??0Game@@QEAA@XZ) GameEngine  C:\Users\Owner\Desktop\Projects\GameEngine\GameEngine\Game.obj  1    This is the Log.h file: namespace Engine {     class Log     {     public:         static HANDLE hConsole;          enum class LogLevel         {             Info, Debug, Warn, Error         };          template<typename T>         static void out(LogLevel level, T data);     }; }  and Log.cpp #include "Log.h"  namespace Engine {     HANDLE Log::hConsole = GetStdHandle(STD_OUTPUT_HANDLE);      template<typename T>     void Log::out(Log::LogLevel level, T data)     {         switch (level)         {         case Log::LogLevel::Info:             SetConsoleTextAttribute(Log::hConsole, 7);             break;         case Log::LogLevel::Debug:             SetConsoleTextAttribute(Log::hConsole, 10);             break;         case Log::LogLevel::Warn:             SetConsoleTextAttribute(Log::hConsole, 14);             break;         case Log::LogLevel::Error:             SetConsoleTextAttribute(Log::hConsole, 12);             break;         default:             SetConsoleTextAttribute(Log::hConsole, 7);             break;         }          std::cout << data << std::endl;          SetConsoleTextAttribute(Log::hConsole, 7);     } }  I'm calling it in the main function, like so: Engine::Log::out(Engine::Log::LogLevel::Debug, "Test"); Any help would be apricated, thank you.

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


Say you are travelling from Australia to Dubai with a layover in Singapore. If I have a transit visa for Singapore, I can go out and very well buy some stuff. The question is, can I check in these items at Singapore?

A common desire among some travelers with long layovers is to leave the airport for a while, and perhaps do some shopping, or even buy goods in the airport.  But this then often necessitates the ability to check additional luggage during the layover, for the remainder of the journey.  There might be other reasons to want to check luggage mid-journey as well.  Are there any general rules one can use to determine whether this is an option in a given airport when traveling with a given airline, and the associated costs (when it is possible)?


How can I see the history of file labels - who and when set them?  Right now SELinux reports that my /etc/resolv.conf with content # Generated by NetworkManager is mislabeled. It is now unlabeled_t and should be net_conf_t.  However, I am not sure if it is right or wrong. There might some race condition between some programs trying to set their labels on that file. Looking at history of changes to it may help me to understand what is going on.

Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time it has happened, but the last time was weeks ago; I deleted the files and nothing broke or complained. I haven't been able to think of what I was doing at the time reported by stat $filename. Is there any way I can find out where they came from?  Alternatively, is there a way to monitor the home directory (but not sub-directories) for the creation of files?


This is a design problem.  I have a common baseclass that defines a bunch of virtual functions, and a default behavior for each function (if the derived classes don't define it).  For example:  class Transport { public:     Transport(){}     Transport(const Definition & def);      //Access functions that have to be redefined     virtual void getFuelUsage(float& r) { r=0; }     virtual void getMaxSpeed(float& r){ r=0; }     virtual void getNumPeople(float& r){ r=0; }     virtual void getWeight(float& r); { r=0; }     //... Many more };   Then I have some derived classes:  class Car { public:     Car(){}     Car(const Definition & def);      //Access functions that have to be redefined     virtual void getFuelUsage(float& r) { .... } //Redefined     virtual void getMaxSpeed(float& r){ .... } //Redefined     virtual void getNumPeople(float& r){ .... } //Redefined     //... };  class Bike { public:     Bike(){}     Bike(const Definition & def);      //Access functions that have to be redefined        //I want default to be kept     virtual void getMaxSpeed(float& r){ .... } //Redefined     virtual void getNumPeople(float& r){ .... } //Redefined     //... };   But when I use it this way:  Transport a = Bike(definition); float speed; a.getMaxSpeed(speed);   I am getting always the base class implementation. Which I don't want!  But, obviously I want the user, to simply care about "Transport", not if the transport is a bike or a car to have diferent methods and object types. Because the base class already defined all the methods, and the derived ones only redefine some of them.  Is there a simple way of achieving this? Maybe with a redesign?  Thanks!

Someone mentioned it in the IRC as the slicing problem.


How can I compute points along a circle that lays on a plane given the following:   center $P$ = $(a, b, c)$ radius $r$ plane equation $2x - 8y + 5z = 18$   I need to find points along this circle from $[0,2\pi]$ in $\frac{\pi}{4}$ increments. In 2D I would do this like:  $$x = a + r * \cos{\theta}$$ $$y = b + r * \cos{\theta}$$  But I am not sure how I would do this in 3D to include Z.  I've found this and this but I'm not fully understanding how they are getting their perpendicular vectors; I know that the normal vector to the plane $n$ is $\langle 2, -8, 5 \rangle$.

So, my dilemma here is... I have an axis. This axis is given to me in the format of the slope of the axis in the x,y and z axes.  I need to come up with a parametric equation of a circle. This circle needs to have an axis of rotation at the given axis with a variable radius.  I've worked on this problem for days, and still haven't come up with a solution.  I'm using this circle to map the path of a satellite, programmed in C.  And help would be greatly appreciated.  Thanks!


Just to be clear, I have no idea if this is the right place for this or anything. I just want help. I'm also on the mobile site so some important things may not be visible.   I'm on Ubuntu 18.10, have enabled the date, installed Gnome Tweaks and the extension, Dash to Panel.

In Ubuntu 18.04, my current desktop looks like this:    How do I display date under time in GNOME panel as below?


What is the least value of this expression?  $$\tan^2 \theta + \cot^2 \theta + \sin^2 \theta + \cos^2 \theta + \sec^2 \theta+ \textrm{cosec}^2 \theta$$  Will putting $\theta=45^{\circ}$ give right answer?

Find the minimum value of      $\sin^{2} \theta +\cos^{2} \theta+\sec^{2} \theta+\csc^{2} \theta+\tan^{2} \theta+\cot^{2} \theta$   $a.)\ 1 \ \ \ \ \ \ \ \ \ \ \ \ b.)\ 3 \\ c.)\ 5 \ \ \ \ \ \ \ \ \ \ \ \ d.)\ 7 $  $\sin^{2} \theta +\cos^{2} \theta+\sec^{2} \theta+\csc^{2} \theta+\tan^{2} \theta+\cot^{2} \theta \\  =\sin^{2} \theta +\dfrac{1}{\sin^{2} \theta }+\cos^{2} \theta+\dfrac{1}{\cos^{2} \theta }+\tan^{2} \theta+\dfrac{1}{\tan^{2} \theta } \\ \color{blue}{\text{By using the AM-GM inequlity}} \\ \color{blue}{x+\dfrac{1}{x} \geq 2} \\  =2+2+2=6 $  Which is not in options.  But I am not sure if I can use that $ AM-GM$ inequality in this case.  I look for a short and simple way .  I have studied maths upnto $12$th grade .


How could I ensure there is spacing between the number zero and my 'forall' sign in the following:   $$\alpha'(t) \not= 0 \forall t \in I$$ ?   Initially I tried to do   $\alpha'(t) \not = 0$ $\forall t \in I$,    which worked perfectly well, but now I wish to write the expression between double dollar signs for formatting purposes.  The problem is that 0 is almost too close to my 'forall' sign now.  I would appreciate any input.

I know that \: in LaTeX produces a space when rendered.  Are there any alternatives, because my LaTeX renderer doesn't support \: (it renders it as text), and there is no help / FAQ that I can find.


So with the /effect command, it can give either you or a random entity in Minecraft. However, you can actually make custom items in the game with effects when you wear it, here:                                So I want to make armor with resistance 255 so it would make you immortal, and pls put the command that you need to have armor with a custom nametag so the effect you appear and that's by using the "tag" command, thank you.

When I was using the new attribute command, I saw an attribute called "armor." I don't know what it actually does, but I think it has to do with protection. I was wondering if I could make an armor that has infinite protection so I tried to make a command: give @s netherite_helmet{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:1.79769313486232E+308d,Operation:0,UUID:[I;439,684,724,99]},Slot:"head"}]}  I thought it would give me infinite protection, but it only gives me a helmet with the empty "protection" attribute. It works fine on older versions, but not on the 1.17 snapshots.