2016 Macbook keyboard key barely working

I have a new Macbook 2016 and the space bar has been acting up. If I smash it down hard enough I can get the space character to appear but that's not very practical.  I read the Macbook marketing page () to confirm that they did change the design (since the keys feel noticeably different from years past). It seems to have had to opposite consequence from their intention in that the edge of my spacebar (right where my right thumb sits) doesn't really work but the middle is fine.   I tried to blow into the keyboard and I also turned the laptop upside down and pressed the keys to maybe get rid of any crumbs.  Are there any solutions to this? Should I risk taking the space bar off and checking out their new 'butterfly' design to see if I can fix it?


Hello i have ubuntu desktop 18.04.5 with latest updates.. But dont know why the prompt i should read doesnt appear :  I only have the line The software on this computer is up-to date.And thats it... I also would like to pass from "normal" Ubuntu Desktop 18.04 to Ubuntu Studio 20.04.1 if possible ( as i have bought a usb audio interface and want to make some tests with djinng and music). Thanks in advance


I always get confused between be and being can anyone solve my problem

I don't want you to be here again. I don't want you being here again.   'Being' is always a problem for me. I can use all gerunds but not this one. Please help.


How does a publicly traded company have access to the funds of its current share price? Or does it have access at all?

To be more specific, let’s say a privately-held company XYZ decides to raise funds by going public. They go for an IPO, and a portion of the equity now becomes public. Let’s say the initial Share price is $10. Thanks to the IPO, the company XYZ has access to much more capital to fund its business operations. And the company works tirelessly to 1) make the company an attractive investment to new investors, and 2) to make shareholders happy by paying attractive dividends. I understand this.   Now, 20 years after the IPO if the company trades for $200 per share, does the company XYZ have access to the increased share price through any means? If so, how?


How to snap the center of a face to another face?

I have a sword handle and I want it centered below a completely differently object that has a face on the bottom with a vertex in the middle. I could also snap a central vertex to the other one but I don't know how. How can i do this?


Restore Microsoft Store application in Windows 10

I had remove the Microsoft Store application. Yes, totally remove the app. Do not ask how and what for. :)  Is there a convenient way to set it up again or restore it? Anything except "system restore"...  Upd. I used  to remove everything. And it works so good that nothing can be found again. :) or :(.  [Get-AppxPackage Microsoft.WindowsStore] returns nothing.  Search for [Microsoft.WindowsStore] returns only:   C:\Documents and Settings\All Users\Microsoft\Windows\AppRepository\Packages\Microsoft.WindowsStore_2015.7.1.0_neutral_split.scale-200_8wekyb3d8bbwe [Folder is empty] C:\Documents and Settings\All Users\Microsoft\Windows\RetailDemo\OfflineContent\Microsoft\Content\en-gb\AppData\Microsoft.WindowsStore_8wekyb3d8bbwe [Folder contains only 3 jpg] C:\Documents and Settings\All Users\Microsoft\Windows\RetailDemo\OfflineContent\Microsoft\Content\Neutral\AppData\Microsoft.WindowsStore_8wekyb3d8bbwe [Folder contains only 3 jpg] C:\Documents and Settings\All Users\Microsoft\Windows\AppRepository\Microsoft.WindowsStore_2015.7.1.0_neutral_split.scale-200_8wekyb3d8bbwe.xml C:\Documents and Settings\All Users\Microsoft\Windows\AppRepository\Microsoft.WindowsStore_2015.701.14.0_neutral_~_8wekyb3d8bbwe.xml


Suppose $f:[0,1] \Rightarrow \mathbb{R}$ is continuous and $\int_0^x f(x)dx = \int_x^1 f(x)dx$. Prove that $f(x) = 0$ for all $x$.  So, I can intuitively see that this is true. My proof mostly makes sense, I think, but I'm not sure if it covers the case where there are negative and positive values in each segment, resulting in a mean value of 0, but still having nonzero values. Can someone tell me how to cover that, or how this does?  Suppose $f(x) \neq 0$ for all x $\in$ [0,1]. By the mean value theorem, there exist some c and d for which $f(c)(x) = f(d)(1-x) = \int_0^x f(x)dx$. Since x $\neq$ (1-x) for all x $\in$ [0,1], it follows that $f(c) = f(d) = 0$. Therefore, $f(x) = 0$ for all $x \in [0,1]$.


Why is that anime anthologies have directors who don't direct anime?

In the case of Robot Carnival, Neo Tokyo, Memories and The Animatrix, anime directors plan on making an anthology film, but they hire one who never directs anime. Why is that?


The passive construction with 'It' is ONLY possible with 'permit' - I don't understand this

The exact phrase from the book of Swan (the context is choosing the words permit or allow) -      The passive structure with it is only possible with permit   Having said that...     It is not allowed to smoke in the kitchen - incorrect     It is not permitted to smoke in the kitchen - correct   I feel absolutely fine for the incorrect sentence.   Your inputs please. Make me understand this.


What does "x = ?" mean in condition of an SQL query?

I need help to figure out what this sentence mean:  SELECT id, username, password FROM users WHERE email = ?LIMIT 1   I know what LIMIT 1 means but what the '= ?' is for ?


Can contractions always be used to replace their original words?

I was thinking about how "I am" can stand as a sentence but wondered why "I'm" doesn't sound right. I kind of came to the conclusion that noun-verb contractions (ex. I'm, they're, it's, she'll) can't end a sentence and always need something following them.  Here's an example:  I don't know what it is. <- sounds fine  I don't know what it's. <- what?  I don't know what it is for. <- fine  I don't know what it's for. <- also fine  So, is there a formal English rule that restricts how contractions can be used?


Create custom list in sharepoint 2007 using JQuery

I need to create a custom list in Sharepoint 2007 using JQuery (only!). I'm using Sharepoint 2007. Is there any way to do it?


Why does the clock work slowly at higher speed?

I know nothing about relativity but I cannot accept that there is a phenomenon called . However I have no problem with it because of mathematics behind it. I have no problem if time is dilated, because I don't know what time is. But I wonder when they say a clock will work slowly with respect to the other same clock if its speed is higher.   Which kind of clocks they mean? Analog clock, digital clock, etc. As far as I know some mechanical clocks work by a torsion spring inside them. So, how does the material of the spring know that it must unroll slowly at higher speed? Does higher speed change chemical structure or physical properties of the material of the spring?


How to close a connection if the requested host isn't a virtual host in apache

On my web server I have a bunch of websites defined using VirtualHosts. Currently if I request a website from my webserver that is not defined as a virtual host, I will get back the first virtual host in the list.  I would like to make it so that any requests that ask for a website not defined in a virtual host will just close the connection, both for HTTP and HTTPS. I imagine this will involve creating default and default-ssl virtual hosts but I am unsure what exactly to put in them.


Proving $(11^n -6)$ is divisible by $5$.

I approached this inductively.  For n=1, $11^1-6=5$, which is divisible by 5.  For n+1, 11^(n+1) -6, there must be some trick with the factorization that I am missing. My first thought was to factor 11 out, but that ultimately lead  nowhere.   Thank you all for your time and assistance.


Why can't my device see an ad-hoc WiFi network?

I am trying to connect my Galaxy Tab to the Internet through an ad-hoc network made via my PC. The PC ad-hoc settings are fine because I can use it from my iPhone and other devices.


a polynomial $p(x)$ is divisor of $0$ $\iff$ there is $c\in R\backslash \{0\}$ s.t. $cp(x)=0$.

Let $R$ a ring. I want to show that $p(x)\in R[x]$ is divisor of $0$ $\iff$ there is $c\in R\backslash \{0\}$ s.t. $cp(x)=0$.   The converse is obvious, but I have problems to show the implication. So let $q(x)\neq 0$ s.t. $$p(x)q(x)=0.$$ How can I show that $q(x)=c$ for a certain $c$ ? I tried as follow : Let $p(x)=\sum_{i=0}^n a_ix^i$ and $q(x)=\sum_{i=0}^n b_ix^i$ then $$p(x)q(x)=0\implies \sum_{i,j=0}^n a_ib_jx^{i+j}=0\implies \sum_{t=0}x^t\sum_{i+j=t}a_ib_j=0\implies \sum_{i+j=t}a_ib_j=0$$ for all $t=0,...,n$. How can I get $b_1=...=b_n=0$ ?


Toast message with Chinese characters, is it a virus?

I recently received some updates today from the Play Store. Every so often a pop notification, one of those bubble ones at the bottom of the screen with Chinese characters.  The most recent update I've noticed is the ES File Explorer. I wouldn't mind, but my device is rooted and so I am at risk. I have a screenshot of the notification.  My device is the Samsung Galaxy Tab A 9.7 and I have stock ROM installed.    What my question(s) are: Do I have a virus (it's not being picked up by Avast) and if I do, how do I remove it?


Does startup disk creator work with windows iso's

So ive created a usb disk for Ubuntu many times but i now want to install windows on my gaming rig. I went through the same process  (creating ubuntu boot disk) and its fine but when i do it with the windows iso it failed on me, im trying again now but any help woukd be great


Why is absolute value  function   not a polynomial?   I need  a clear  answer to this question please,?  Why couldn't we consider absolute value function as a polynomial?


Last evening my sorceress did the following: She's standing behind the barbarian in a hallway, and the enemies are lined up in the hallway in front of the barbarian. She moves into the barbarian's square (to avoid hitting him with her lightning bolt), fires her lightning bolt down the hallway, then she retreats to her original square. Is this allowed?  Note that:   She doesn't end her turn in an occupied square. She would have suffered and attack of opportunity (however, her lightning bolt killed the enemies so she didn't)


I have just started reading about quantum mechanics and i stumbled upon this silly question - Quantum mechanical model of an atom  says that path of an electron around the nucleus is uncertain. Then how can we be sure that it's not circular?


May/can we go? May/Can you do this for me?

Which ones are correct:  May/can we go to the game?  and  May/can you do this for me?  can/may you come?


Pass csv of ints to Stored proc and use for IN()

I want to pass a csv of int  1,2,3,4,5,6,7   to a stored procedure so that I can use the passed-in values in an IN() so that   IN(1,2,3,4,5,6,7)   Is that even possible?


why this simple example in this article throws error?

i have created all the classes in this link just to see how the Test mock working.     but i ended up in error when creating a test class and try to save it.  The entire classes that has been created,  Success:  @isTest global class WebServiceMockImpl implements WebServiceMock {    global void doInvoke(            Object stub,            Object request,            Map<String, Object> response,            String endpoint,            String soapAction,            String requestName,            String responseNS,            String responseName,            String responseType) {        docSampleComDocsample.EchoStringResponse_element respElement =             new docSampleComDocsample.EchoStringResponse_element();        respElement.EchoStringResult = 'Mock response';        response.put('response_x', respElement);     } }   Success:  public class WebSvcCallout {     public static String callEchoString(String input) {         docSampleComDocsample.DocSamplePort sample = new docSampleComDocsample.DocSamplePort();         sample.endpoint_x = 'http://api.salesforce.com/foo/bar';          // This invokes the EchoString method in the generated class         String echo = sample.EchoString(input);          return echo;     }    }   Error:    @isTest private class WebSvcCalloutTest {     @isTest static void testEchoString() {                       // This causes a fake response to be generated         Test.setMock(WebServiceMock.class, new WebServiceMockImpl());          // Call the method that invokes a callout         String output = WebSvcCallout.callEchoString('Hello World!');          // Verify that a fake result is returned         System.assertEquals('Mock response', output);      } }   Error Description:  Save error: Method does not exist or incorrect signature: Test.setMock(Type, WebServiceMockImpl)  What could be the issue here? i not even changed a single bit of code and did exactly what it has been given in the above article. But i do not know why i am getting this error.


Travelling from US to India via Brussels with Jet Airways , do I need a transit visa?   I-94 Expired Visa Expired Valid H1-B pettion till 2017


I can obtain the coordinate of a mesh vertex with python via  wco = mesh.vertices[mesh_vert_idx].co   Further, it is possible to convert this coordinate system to the camera system with  cco = bpy_extras.object_utils.world_to_camera_view(bpy.context.scene, bpy.data.objects['Camera'], wco)   But I am interested in the 2D position of the vertex in the image captured by the camera 'Camera'. In other words, is there a python method the projects the 3D point of the model to the 2D point in the image?


Raise automatic moderator flag after several spam posts from same account or IP address

I was rather irritated when reading , by EL&U moderator:     I'd suggest that when you see something like this, flag one of the posts with a custom flag to bring it to our attention   Sorry but I don't think that's correct. Spam should be flagged as spam, period.  I do understand the problem though, so my suggestion for a win-win solution is raise automatic moderator flag after X posts have been auto deleted as spam from same account or IP address.  Above example is from a specific site, but the idea holds true for all sites.  This won't stop spam of course, just make the spammers' life bit harder by having their accounts deleted faster.


If two Gaussian random variables are uncorrelated, they are statistically independent

I read in a textbook that when two gaussian variables are uncorrelated, then they are statistically independent? How can I prove that?


What does an icon on the tag mean, for example the "rg" before the sql-server tag as pictured below?


When I execute the command df -h /tmp it says disk utilization is 100%, but when it try du -sh /tmp it says disk utilization is 2%.  I want to know why these commands shows different output, how these two commands work and what is the solution to this problem.  Context: /tmp is installed on it own file system. I am using Ubuntu 12.04 server edition on my VPS account. Due to this problem utilization of /tmp 100% according to df some programs complain about free space in /tmp.


Selected Sound Output Device Not Persisting Between Reboots in gnome-control-center

Each time I reboot Ubuntu 19.10, I have to open gnome-control-center and set the sound output device back to my Laptop's Built-in speakers. Otherwise, it will typically default to DisplayPort devices that don't even have speakers.    Which file are these settings saved to? I'm thinking that maybe that file is corrupted and that if I delete that file maybe Ubuntu 19.10 will start remembering my sound output preferences. I'm also open to other suggestions.


Do all ultimates charge at the same speed?

Lately I have been playing a lot as Tracer and noticed my ultimate charges faster than other characters. Do all ultimates charge at the same speed, what exactly effects it?


Not sure if it's set in the future but:   Women live in a large city.  Men live outside but can visit during the day.  Marriages are temporary and controlled by the wives.  One character is a young woman who "sees".    This series has several books. I recall later in the series the society is struggling and another female character is put into suspended animation and awakened to give guidance when needed.


What's an effective way to proactively spot runaway processes?

Sometimes my Mac ends up with a runaway process; a process that's hogging all the CPU. Often it's Firefox, but I've had a few others recently. Normally I don't spot this for a while until I notice my fan is running like crazy. This can kill battery life. Is there any way to effectively be proactively be notified about these processes?    Bonus points if the solution doesn't involve paid-for software. Extra bonus points if I can use an inbuilt facility of OS X.  Note: I'm not looking for how to locate and kill runaway processes; I already know how to to do that with top once I suspect there may be one. I would like to be pro-actively notified that a process has been chewing more than X% cpu for Ys time.


Java's calculation of double values produces unexpected results

I have a simple calculation on double values in a java program.  double blockNetMoney=1239891.632; double blockQty=1120000; double allocQty=150000; BigDecimal allocNetMoney = new BigDecimal(String.valueOf((allocQty/blockQty)*blockNetMoney)); System.out.println("AllocNetMoney:"+allocNetMoney );   I'm getting a value 166056.91499999998 for Alloc Net money. But correct value is 166056.915 and i get that value when i use a calculator or excel.  Can you please suggest what changes i need to make to get the value 166056.915


Does bond energy depend on temperature? Also why is it defined at 298 Kelvin if some substances cant be in gas phase in that temperature?


In General relativity, what is the meaning of flow of $x$ momentum in $x$ direction or pressure in $x$ direction?

I found  interesting paper on Arxiv devoted to explaining Einstein's field equations in simple English. The author, JC Baez, does this by considering a group of small spherical balls in gravitational field, at rest with respect to each other. He then proposes a law by which the balls would shrink in volume in presence of gravity. The idea is that when the balls shrink while still maintaining contact with each other, they must move. Also, one has to consider all the infinitely many possible ways the mutually stationary balls could initially be moving to completely understand the motion of particles in a complicated gravitational field.  Here is the law that the author describes on the rate of change of volume of such balls in gravitational field: Given a small ball of freely falling test particles initially at rest  with respect to each other, the rate at which it begins to shrink is  proportional to its volume times: the energy density at the center  of the ball, plus the pressure in the x direction at that point, plus  the pressure in the y direction, plus the pressure in the z direction.  Alternatively,   My question: what is pressure in x (or t) direction? What is the physical meaning of this pressure? What is flow of x ( or t) momentum in x ( or t) direction? I understand x and t momentum as the component of the momentum of a body in x and t direction respectively. But what is the flow of these things in these directions? What exactly we mean by flow? What is going on?  if you do not understand my question, kindly ask to clarify or read the  paper in question.


How to effectively work with multiple files in Vim

I've started using Vim to develop Perl scripts and am starting to find it very powerful.   One thing I like is to be able to open multiple files at once with:  vi main.pl maintenance.pl   and then hop between them with:  :n :prev   and see which file are open with:  :args   And to add a file, I can say:   :n test.pl   which I expect would then be added to my list of files, but instead it wipes out my current file list and when I type :args I only have test.pl open.  So how can I add and remove files in my args list?


Can I use javascript to get a request header in http get request?

I want to get a cookie from http request header not set http request header using javascript. I've found many answer about getting http response header. But none of it mentioned about a request header. Anyway can I get it?


Where do the bipolar jets of black holes come from?

How are they formed? And why are they so bright?


Correct ssh config file settings to tunnel to a 3rd machine

I'm trying to tunnel to a server via a bridge server. So far, I've been able to get it working from the command shell properly using the following command:  ssh -A -t bridge_userid@bridgemachine.com ssh -A remote_userid@remoteserver.com   But I've been trying to wrap this into my ~/.ssh/config file and I have troubles. I've tried:  Host axp   User          remote_userid   HostName      remoteserver.com   IdentityFile  ~/.ssh/id_rsa.eric   ProxyCommand ssh -A -t bridge_userid@bridge_userid.com ssh -A remote_userid@%h   But when I do, I get the following error message from remoteserver.com and I'm not sure what is causing it:     ksh: SSH-2.0-OpenSSH_6.8^M:  not found   I know that when I log into remoteserver.com , my shell is /usr/bin/ksh.  I've tried to add path arguments to the ssh commands in the config file, but it made no difference.  Any ideas what it can be?


I just come across a very interesting question, which, due to , scarcely will get any attention at all, not to mention any upvotes. So - I wish to spend some of my reputation points to distinguish an excellent question, just for sake of great justice.  Why can't we award a bounty for a question?   A trick just came to my mind - to award a bounty and to persuade an author to answer. But I don't like such a dirty game. Can't we make it square?


Show the reason given for a close vote before the question gets closed

If a question gets votes to close but no answer or comment stating the reason for the vote, the OP has no way of knowing if editing would solve the problem.  Show to the asker the reasons (but not who voted) given for a vote to close so they can attempt to correct the problem without having to resort to begging for a reopen or reposting an edited version and risk being called a duplicate.


How do I add more swap easily so that I can hibernate my laptop?

I installed Natty on my laptop with default options. I guess it created a swap partition equal to the size of my RAM. Every time I try to hibernate I get the "not enough swap" message, which is annoying. I want to hibernate! Why can't you just use some of my 20GB free HD space to hibernate? I only have 1GB RAM on this old geezer.  I've seen the swap faq @  but it's painfully dense. It shows me how to create a swap file and turn that on, but doesn't explain the following:   Will the system hibernate to that swap file, or will it still be confused because the swap partition is there and too small? Do I need to get rid of the swap partition? I don't desperately need the space, but I would like to reclaim it because this computer has a pretty small HD. Why is this all so difficult?   Thanks!


Let $G$ be a group and $c\in G$. Define $*$ on $G$ by: $x*y=xdy$ for all $x,y\in G$, where $d$ is the inverse of $c$. Prove $(G,*)$ is a group.

Let $G$ be a group and $c$ be a fixed element of $G$. Define a new operation $*$ on G by:   $$x*y=xdy$$   for all $x$ and $y$ in $G$, where $d$ is the inverse of $c$. Prove that $G$ is a group under the operation $*$.    If you want to check, this problem is in the book “A Course In Group Theory”, by John F. Humphreys (problem $3$, page $28$)   I know what are the axioms that $(G,*)$ must obey in order to be a group and I did show that all the axioms where obeyed except the inverse axiom.  My problem is that, whenever I try to verify what would the inverse be for some element $x$, I get an equation where the $x$ is cancelled in both sides.  Can please someone guide me?  Thank you!  (P.S.: This is NOT a homework assignment, I’m studying Group Theory by this book and got problems solving this question)


Best option for transferring Euros into Indian NRE account?

I have a bank account in EU in euros and want to remit some funds to my Indian NRE account. What is the most efficient way to remit the funds to my NRE account:   Which methods give the best currency rates? Which methods are the quickest? What the fees involved with different methods?   Searching around the internet gave me some commonly used services like money2india, hdfcremit, yes remit. Are there other services that will give me a better exchange rate? What services would be recommended?


Do electrons emit radiation due to gravity

Do electrons accelerating in the presence of a gravitational field radiate due to this acceleration?


Double does not work properly when executed

I need good precision on the data, so I am using double to lable my definitions  (e.g. double x=M_PI). But whatever I do, double will not work, and only give me 5 points after decimal.   My IDE is geany, and I am currently using Raspberry Pi to program.  #include <iostream> using namespace std;  int main(int argc, char **argv) {     std::cout<<"Hello,World\n";     double dxe=1.3558153152153215321755;     cout<<dxe<<endl;     return 0; }   I need dxe to show most of its decimal place, but I am only getting 1.35582 on my terminal.


Counting The Number of Non-invertible matrices

I am asked to count the total number of matrices in $GL_2(F_p)$, where $F$ is a field and $p$ is a prime number, denoting the number of its elements, by first computing the total number of matrices over $F_p$, and then subtracting the total number of non-invertible matrices, which is the total number of matrices whose one row is a multiple of the other.  Clearly there are $p^4$ total matrices over $F_p$. Now, let us consider non-invertible. There are two general cases, either the first row is [0 0] or it is not. If it is, then for the second row [a b], there are $p$ possibilities for $a$ and $p$ possibilities for $b$. Hence, a total of $p^2$ possibilities under this case.  Now, if the first row [x y] is not zero, then either $x \neq 0$, $y \neq 0$, or $x$ and $x$ are not equal to zero. Note, our second row is of the form [kx ky], so that it is a multiple of the first. If $x \neq 0$, then there are $(p-1)$ possibilities for $x$, $p$ for $y$, and $p$ for $k$. Hence, a total of $(p-1) \cdot p \cdot p = p^3 - p^2$. We get the same number of the $y \neq 0$ case. Finally, if $x \neq 0$ and $y \neq 0$, then $(p-1)$ choices for $x$ and $y$, and $p$ choices for $k$, totaling to $(p-1)(p-1)p = p^3 - 2p^2 + p$.  However, this does sum to $p^3 + p^2 + p$, which is the answer. What did I do wrong? I have been working on this all day; combinatorics comes very difficult for me.


Bash function does not work recurrsively

Directory Structure:  one.pdf ./subdir/two.pdf ./anothersubdir/three.pdf  When I type:  find ./ -type f -name "*.pdf"       it retrieves all the pdfs, including subdirectories.   Bash Function  function getext {find ./ -type f -name "$1"}   With this function in bashrc, typing:   getext *.pdf   It only retrieves "one.pdf" but not the rest.  Question: what happens here with the function? What's missing from it compared to standard input to only get the first file and stop?  Thank you for your help.


Free GIS workshops, tutorials, and applied learning material

This Q&A lists free as in $0 workshops in GIS and related fields that have their material available to view or download online. The list is not limited to FOSS GIS, as GISers usually use a combination of open and closed source tools to accomplish their tasks. Some of these tools are easier than others and some are better documented. This list will be a great benefit to the community especially for new comers to the field. General GIS   from   from   from   from   Open-source GIS   from   from   from   from   from   ESRI Products   from   from   Transportation These links include either theoretical or applied transportation knowledge in transportation planning          Disaster Management    Databases   from   Geo Statistics    from


Why did my MacBook Pro just lose 30gb of space after I cleared out 37gb and hour ago?

I freed up some space on my 2017 MBP this afternoon. I had 7gb so I deleted 30gb to make some room. Came back to my MBP a few hours later and 30gb of space (and counting) was used up again. How does this happen and how do I stop it? I am watching gb drop at a steady pace and I don't know why. Help is much appreciated, as always.  Now my available storage has dropped to 1.82gb - what is happening???


Least squares Problem with Non Negativity Constraints

Let $\mathbf{x}=[x_1,\ldots,x_K]$. I have the following optimization problem:  \begin{array}{rl}  \min \limits_{\mathbf{x}} & \| \mathbf{Ax}-\mathbf{b} \|^2 \\ \mbox{s.t.} &  x_k\ge 0, \forall k \end{array}  Please I need your help to solve this problem.  Another thing: my main problem was  \begin{array}{rl}  \min \limits_{\mathbf{x}} & \| \mathbf{A'x}-\mathbf{b'} \|^2 \\ \mbox{s.t.} &  x_k\ge 0, \forall k &  \\ & \mathbf{x}^T \mathbf{1}=1  \end{array} Then I transformed it to the first problem by including the equality constraint in the objective function. Is it fine  to do so ?


I had a bug on my pc and I had to turn it off by power button. When I turn it on again the second screen did not turn on. I tried to restart it, but the problem remains. At startup and closing, screen shows the bios. Also when choose windows to load (I have them installed too) the second screen works perfectly. One week ago I had the same problem and I formated the linux. It worked, but I don't want every week to format them. Have you any idea to propose?  I have a Dell SE2717H and a Flatron L1718S screens with nvidia geforce 1050Ti, and B250M-DD3H motherboard. The dell is connected on gpu(HDMI) and the flatron on motherboard(VGA).  Finally I ran this: sudo ubuntu-drivers autoinstall And it my screen is now repaired. Thanks Everyone. (If you have the same problem see )


I'm writing a booklet and I'm facing a problem with the back page. Printing the resulting PDF of the LaTeX project as a booklet often result in a unwanted layout. I mean... to have the back cover in the last booklet page the total number of pages in the book should be divisble by 4. Up to now I'm solving this placing blank pages to match the correct number, I would like to avoid this in a more programmatic way or using some features of LaTeX itself. Up to now I'm using this document class:  \documentclass[dvipsnames,a5paper,twoside,openright,italian,12pt]{memoir}   I'm printing this on A4 paper and folding.  The backpage is defined through this command:  \newcommand{\myback}{%     \cleartoleftpage%     \thispagestyle{empty}%     \begin{center}%         \begin{vplace}[0.7]%             \def\svgwidth{60mm}%             \input{logo_red.pdf_tex}%             %\includegraphics[width = 60mm]{logo_red.png}%         \end{vplace}         \vfill%         {\color{red} \huge \textcopyright~\thedate}%     \end{center} }   and refers to another custom command:  \newcommand*\cleartoleftpage{%     \clearpage     \ifodd\value{page}\hbox{}\newpage\fi }   that works fine on books since it forces backpage to be on an even page.  How can I modify such condition to fit my current needs?  BTW I'm not using the booklet package (but as long as I can see there are not specific functions to create a back cover in the last page).


Recently, a colleague of mine has done his own book binding. He has used LibreOffice. I am wondering if LaTeX could be used and if it could provide more assistance than LibreOffice.  The problem that I see, if I understand the binding process correctly, is that with 8 folios per stack, the outermost folio in the first stack contains pages number 1, 32 on one side and 2, 31 on the other side, etc.  Now, I am wondering, if LaTeX (or any of available modules) can help with this task? Basically, can LaTeX help with ordering the pages on the folios so that printing them is easy as pie?  UPDATE  This question is not exactly the same as  question. The other question wants to staple all of the folios of the document together at once. I want to be able to build sections from 8 folios (32 pages) and bind them together by sewing.


Why is “cannot” spelled as one word whereas other similar constructions such as “do not,” “will not,” “shall not,” “may not” and “must not” are spelled as two words (unless they are contracted as “don’t” and so on)?  (I know that languages are not always logical, so I would not be too surprised if there is no known reason for this.  But I am asking this in the hope that there is some explanation.)


Why only 6 water molecules are formed in the aerobic degradation of glucose?

I am studying the aerobic degradation of glucose and it seems that for every glucose molecule we should obtain $\ce{10H2O}$ molecules. However, it is known that we only obtain 6.  $\ce{C6H12O6 + 6O2 -> 6CO2 + 6H2O}$  (I am not going to focus in all products and reactants, but just in the important ones for the formation of water molecules)   First, in the glycolysis, for each molecule of glucose we obtain two water molecules, $\ce{2NADH+}$ and 2 pyruvate molecules. By the oxidation of two pyruvate molecules we obtain $\ce{2NADH+}$ and 2 acetyl Co-A molecules. So we are going to pass twice through the Krebs cycle, obtaining $\ce{6NADH+}$ and $\ce{2FADH2}$, and requiring 4 water molecules.  So, when we arrive to the electron transport chain, we have a negative balance of 2 water molecules, and we have $\ce{10NADH+}$ and $\ce{2FADH2}$. We have been told that for every of these molecules 2 electrons go to the electron transport chain, that means that a total of 24 electrons go to the system. The problem comes here:  $\ce{4e- + 4H+ + O2 = 2H2O}$  So, bearing in mind that we have $24e^-$, 12 water molecules should be formed, so at the end, we have gained 10 water molecules, but we know that the number of water molecules formed should be 6. So, clearly there is something wrong in my explanation. I would be very pleased if you could tell me what is wrong.  Thanks in advance.


Framed float box, spanning two columns in paracol

I'm looking for a simple, framed, float box-environment that has (or can have by construction) a  star equivalent (like figure* or table*) so that it may span both columns in the paracol environment. An enumeration of what I'm looking for:   Simple environment that may contain text, which provides a framed box around that text and has a * equivalent (e.g. figure*) for the purpose of spanning two columns in a paracol environment.   Does such an environment exist?   I'm asking this as a means of accomplishing the ultimate goal that motivated two other questions I previously asked:


I'm trying to typeset an article.  In the preamble, I defined these two things:  \newcommand{\leftexp}[2]{{\vphantom{#2}}^{#1}{#2}}  \newcommand{\hr}{\leftexp{*}{\mathbb{R}}}   However, when I try to use $\hr$ in a section, as in:  \section{Constructing $\hr$}   I get an error:  Incomplete `\iffalse`; all text was ignored after line 1.   Any idea what could be causing this? Everything works just fine if I don't have the $\hr$ in the section (e.g. It typesets just fine if I have \section{Constructing $\mathbb{R}$}, say).


Is 'don't do this' a valid answer to a question looking for input on how to do something?

asked on UX has as the highest-upvoted answer, something that does not address the question at all: instead it just points out that this is generally a bad practice.  The asker already commented that its not applicable in his case as he can't easily dispense of a Reset action, since then I've seen the upvotes on this answer go from ~10 to 30+.  If the intent is to point out bad practices, that can also be done by actually answering the question and mentioning the drawbacks of its premise (instead of ignoring the actual question asked). Should such replies be encouraged as actually answering the question? Personally I feel this would be more suitable as a comment on the question instead.  Another issue is that the later upvoters probably ignored or never read the asker's comment, but that's another discussion on whether useful info can be left in comments or not :)    2 mins after posting, I saw  in the sidebar. This is almost a duplicate, but has the added proviso that the 'don't do it' answer did get replied to by the asker promptly that yes, he had considered this aspect but was going to do so anyway.


Symmetric difference involving three sets: $A\triangle B\triangle C$

I learned that the symmetric difference of sets $A, B$ is given by: $$A\triangle B=(A-B)\cup (B-A).$$  But I encountered the following expression: $A\triangle B\triangle C$, and I don’t understand what it means.    How do I apply the definition of symmetric difference when three sets are involved?  In fact I am stuck on a question   There are three set $A,B,C$.  How can I find the expression that the elements in two of these sets but are not in all three sets?  My answer is $A \cup B \cup C -[(A-B\cup C)\cup (B-A\cup C)\cup (C-A\cup B)+A\cap B\cap C]$  But the answer is $A\cup B \cup (C-A)\triangle B \triangle C$ seems more simple than mine, how to get that answer?


Every metrizable space with a countable dense subset has a countable basis

I'm working on this problem from Munkres:  Show that every metrizable space with a countable dense subset has a countable basis.   Here's my attempt at a proof.  Let $X$ be a metrizable space with metric $d$ and a countable dense subset $A$.   Claim: $\mathscr{B} = \{B_{(a,1/n)} = \{x : d(a,x) < \epsilon = 1/n\} \forall a\in A$} is a countable basis for $X$.   This set is countable since it is in bijection with $A\times \mathbb{N}$ which is countable as a countable product of countable sets.   Now I want to prove that $\mathscr{B}$ is indeed a basis.   $1)$ Let $y \in X$ then $y \in \overline A$ (by the definition of dense) which implies $\exists$ $B_{(y,1/n)}$ s.t. $\exists$ $y'\in A$ s.t. $y' \in B_{(y,1/n)}$. But then since $y$ is within $\epsilon = 1/n$ for some $n\in\mathbb{N}$ of $y'$, $\exists$ $B_{(y',1/n)}$ which is an element of $\mathscr{B}$. Therefore since $y$ was arbitrary we know that there is a basis element containing every element of $X$.   $2)$ Now I want to show that for an element $x$ of the intersection of two arbitrary basis elements that there is a third basis element which contains $x$ that is a subset of the intersection. This is where I get stuck, any help would be appreciated.


I have a DIV that I want to keep centered and docked to the bottom of the page.  I've pretty much achieved that except that it lists to the right.  I've setup a  to demonstrate the problem.  I suspect that I need to adjust margins but so far my attempts have been fruitless.  I tried adding:  margin: 0;   but nothing.  What am I missing?


How can I install Ubuntu on Lenovo G580 IdeaPad?

My laptop is a Lenovo G580 IdeaPad.  Specs:   Processor               Intel Core i7 3632QM CPU @ 2.20 GHz   Installed Memory (RAM)  8.00 GB (7.87 GB usable)   System type             64-bit Operating System, x64-based processor     The GPU is Nividia G610M. How can I install Ubuntu on this laptop?


Is it better in practice to make sure the algorithm only initiates the function if there is a need to do so or to just initiate the function in jquery? as an example lets use these pieces of code. imagine a web page has a considerable amount of divs like 1000 or something some of them are nested like a regular web page and how would the programme behave in a $(window).scroll(function(){}); as apposed to a $("element").click(function(){});. the function fires regardless of weather or not it needs to doesn't it? and might that have performance side effects?  $("div").css({"display":"none"});   or      $("div").each(function(){   if ( $(this).css("display") !== "none" ) {  $(this).css({"display":"none"});  }   });   or even   $("div").each(function(){   if ( $(this).is(":visible") ) {  $(this).css({"display":"none"});  }   });   Please give a detailed explanation on which is better in practice


How to find which tables and views a user has access to?

We have a SQL Server 2008 database and have restricted all tables and views away from a specific user ID.  Over the years we have granted back tables and views one at a time based on user need.    We had to do it this way because the vendor provides read/write access to the public role out of the box, so we had to create a role for this user, remove all access and grant back only what they needed.    Today we are going to create a replicated database containing only these tables and views so the user can run reporting on without degrading the production system.  The issue is I'm not sure what tables and views this user has access to, because many people have granted access one at a time over the years.  Is there a query to check this users access?  PS Im an apps developer so please feel free to explain this as elementary as needed.    EDIT - How the role and access was originally created    ------------------------------ -- CREATE ROLE db_finrep_deny ------------------------------  DECLARE @RoleName sysname set @RoleName = N'db_finrep_deny' IF  EXISTS (SELECT * FROM sys.database_principals WHERE name = @RoleName AND type = 'R') Begin     DECLARE @RoleMemberName sysname     DECLARE Member_Cursor CURSOR FOR     select [name]     from sys.database_principals      where principal_id in (          select member_principal_id          from sys.database_role_members          where role_principal_id in (             select principal_id             FROM sys.database_principals where [name] = @RoleName  AND type = 'R' ))      OPEN Member_Cursor;      FETCH NEXT FROM Member_Cursor     into @RoleMemberName      WHILE @@FETCH_STATUS = 0     BEGIN          exec sp_droprolemember @rolename=@RoleName, @membername= @RoleMemberName          FETCH NEXT FROM Member_Cursor         into @RoleMemberName     END;      CLOSE Member_Cursor;     DEALLOCATE Member_Cursor; End GO -- dropping the role itself IF  EXISTS (SELECT * FROM sys.database_principals WHERE name = N'db_finrep_deny' AND type = 'R') DROP ROLE [db_finrep_deny] GO   ------------------------------ -- Grant access (read/write/select/upd) to only select tables ------------------------------ CREATE ROLE [db_finrep_deny] AUTHORIZATION [dbo] GO exec sp_addrolemember 'db_finrep_deny', 'finrep' GO  -- run the dynamic sql generated by this statement select  'DENY SELECT, INSERT, UPDATE, DELETE ON '         + ss.name         + '.'         + st.name         + ' TO db_finrep_deny;' from sys.tables st inner join sys.schemas ss on st.schema_id=ss.schema_id where st.name not in ('TABLE1','TABLE2','TABLE3','TABLE4') order by ss.name, st.name;  grant select on dbo.vwFINMASTER to db_finrep_deny;     Aaron - this is what I get when I run your query, it shows only views, but no tables    (No column name)    name    permission_name dbo     dtproperties    REFERENCES dbo     vwFINMASTER     SELECT dbo     vwLEDGERVIEW    SELECT


Does it matter if I change from Blender render to Cycles and back?

I'm watching this tutorial series and can't figure out why the author always keeps it on cycles render instead of blender render.  What's the reason?  And what if I have blender render selected and make a change then switch to cycles and make a change then back to blender. While he always say has it on cycles? does that matter or?


For some reason when i do anything python3 related on my terminal it comes up with the error "Illegal Instruction". Why is this happening?

When I try to run for example a simple print("Hello World") My terminal comes up with the error Illegal Instruction And it's causing issues.


QPyNullVariant not recognized outside of QGIS

I'm getting an error about an operation involving a QPyNullVariant:  TypeError: unsupported operand type(s) for *: 'QPyNullVariant' and 'float'   I wanted to put a check into my code to skip these values. However, my IDE (Eclipse) [and more over the terminal Python interface] doesn't recognize this as part of the PyQt4.QtCore module whereas it seems fine within QGIS. I have updated all my packages and restarted my computer.  import PyQt4.QtCore as pyqt import sys print(sys.version)    #1 print(pyqt.__file__)  #2 pyqt.QPyNullVariant   #3   in all cases this produces the following out put for 1 and 2:  2.7.6 (default, Jun 22 2015, 17:58:13)  [GCC 4.8.2]  /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so   However in Eclipse (with PyDev) and in the terminal interpreter the call to PyQt module for a QPyNullVariant attribute fails:  AttributeError: 'module' object has no attribute 'QPyNullVariant'   whereas in the QGIS python interpreter you get:  <class 'PyQt4.QtCore.QPyNullVariant'>   Thoughts?


When writing an instruction about connecting to a computer using ssh, telnet, etc., I'm not sure what spacing to use in this familiar spoken phrase:   "Log in to host.com" "Log into host.com" "Login to host.com"   Maybe this is entirely subjective or the realm of industry jargon, but I couldn't think of anywhere else to ask.  Any insight?


Why does addition in Python not always come out exact?

For an assignment, I was asked to make a simple addition calculator in Python using a loop, so I made a program that usually works, but when I add some floats, the total is off just by a little. Here is my program:  number = 0 total = float(input('Enter positive numbers you want to add, or enter a\ \nnegative number to calculate the sum:\n\t')) while number >= 0:     total += number     number = float(input('+\t')) if number < 0:     print('=\t', format(total, ','), sep='')   An example of an incorrect output is when 0.1+0.2+0.3 is input, the output is 0.6000000000000001. Does anyone know what's causing this very small difference?


How does 18 megapixels compare to 12 megapixels?

I'm purchasing a digital camera & it says, "Effective pixels: Approx. 18.00 Megapixels".  What is this compared to 12.00 megapixels?


What are the differences between rings, groups, and fields?

Rings, groups, and fields all feel similar. What are the differences between them, both in definition and in how they are used?


Show a metrix space is connected iff for every non-empty proper subset the boundary is non-empty

Show a metric space X is connected iff \forall non-empty proper subset A \subset X the boundary (set of points in X whose neighborhoods contain points from both A and the complement) is non-empty.


Someone can help me?? $$ \lim_{(x,y) \to (0,0) } \frac{xy^3}{x^2+y^6}  $$


Does being added as an authorized user help credit score?

My wife and I both filed bankruptcy 15 months ago, and are slowly getting our credit back.  We both got a credit card from Capital One.  Does adding each other to the other's card as an authorized user improve our scores? (Obviously if both account are in good standing.)  Do the limits from the authorized accounts factor in to utilization and payment history?


Making your Windows 7 a WIFI hotspot for Android?

I use a broadband dongle on my Windows 7. I want to expose my laptop as a wifi hotspot so that i can use internet on my samsung galaxy ace.  I have tried Connectify but my chipset is not supported so it simply make the adhoc network. Tried Bzeek. My phone get connected, but no browsing.  Any solution that you guys have?  PS: I am in no mood to root my device.


Do I need to use gerund after the "it wasn't until..." structure?

I need help with the grammar relating to the "it wasn't until" phrase.      It wasn't until I heard him speak/speaking that I recognized his voice.    Which is correct, speak or speaking? Why?   I would also like some helpful examples of usage.


I can't believe I have to ask this...but, how do I change my account profile picture in Ubuntu 12.04 Desktop? One would think it would be under the "User Accounts" section.


In Diablo 3: Reaper of Souls, Do Dropped Items Vanish?

I have found the rooms packed with Goblins a few times. It seems to me I am not really getting as much booty as I should and I am beginning to think that, drops might vanish after being left unattended and far from my location.  Is this true? If so, what are the thresholds?


Color Management: Linear ACES to After Effects

I rendered an animation in blender with the sequencer under color management set to "Linear ACES". I saved them out as an EXR sequence. I was wondering what After Effects color profile I should use to interpret the footage for what Blender calls "Linear ACES" as there is no color profile of the same name in AE. I tried ACEScg and ACEScct to interpret the footage in AE but the colors didn't look right. What color profile is "Linear ACES" technically?


"Stay in touch in case you will" — possible?

Is the following sentence correct? I am not sure about the future tense after the "in case". Tried googling but could not find any phrase like that..     I would like to stay in touch in case you will be looking for someone like me next year.


When I flag a moderator's own content as rude/offensive, will they be able to handle the flag?

If I flag a moderator's own content as rude/offensive, is there a possibility that very same moderator will handle the flag (i.e. be able to dismiss it), or is it guaranteed another moderator will be handling it?  I'm hoping the answer will be "another moderator handles it", because the ability of a moderator to dismiss flags against themselves when they may be violating community standards would be concerning.  I understand that the idea of flagging a moderator's own content this way is probably pretty serious. Since this is naturally sensitive, I would rather not discuss details to prove I'm not mod-hating, so please take my word that I am treating this seriously.  Previously asked was , but this doesn't appear to reflect whether the moderator in question can do anything about that flag.


How can higher dimension spaces have smaller unit balls?

I have recently been shown the gamma function and a few of its uses, and one of those is calculating the measure of the unit ball in $\Bbb{R}^n$. The formula shows the measure going to zero (rather fast, actually) as n grows greater.  I have understood the proof, but it was achieved through some artifacts of integration, and it does not provide a geometric understanding of what is happening.  The result was justified by mentioning that the (hyper)cube that surrounds the sphere has a diagonal of $2^{n/2}$ and that since the measure is, intuitively, how many tiny cubes can I fit inside the sphere, if the volume of the cube is fixed and grows bigger relative to the sphere, then it is the sphere that is becoming smaller overall.  I cannot however visualize this: in fact, the cube has a side length of 2, which translates to a volume of 2^n, which is also growing...  Moreover, an $\infty$-dimensional space has a unit ball of measure $\infty$ (I proved this for $C(0, 1)$), which seems to contrast with the "limit" of the size of $D^n$, the ball of $\Bbb{R}^n$.  Can anyone give an intuitive ("geometric") reason for why the unit balls grow smaller as n increases?


Ubuntu 17.04. install driver for Thunderbolt 3 Dock Ethernet

I am trying to install the lenovo USB-C dock's integrated ethernet interface on my ubuntu 17.04.  According to  article on the x1 carbon (and its dock), the package r8152-dkms has to be installed. Also a  here is available but without answer.  So the question is: How can I get that docks ethernet adapter to work?  dmesg  engor@engorx1:~$ dmesg | grep r8152 [   22.388434] usbcore: registered new interface driver r8152 [   22.500194] r8152 4-1.1:1.0 (unnamed net_device) (uninitialized): Unknown version 0x6010 [   22.500195] r8152 4-1.1:1.0 (unnamed net_device) (uninitialized): Unknown Device   lsmod  engor@engorx1:~$ lsmod | grep r8152 r8152                  49152  0 mii                    16384  2 usbnet,r8152   ifconfig does not list it as an interface.  So what am I missing out?


the asymptotic series of $\frac{1}{\gamma^{\mu} p_{\mu}-m_0 -\Sigma(p)}$

Similar questions have been already asked, but I admit, by reading the answers I haven't got a satifying answer so far.  Let be $\bar{p}=\gamma^{\mu} p_{\mu}$ (Sorry I didn't find the slashed letter).  So if I calculate the two-point function in an interacting QFT for the Dirac-electron self energy I get according to Peskin-Schroeder (7.23) the following:   $\frac{i}{\bar{p}-m_0 } + \frac{i}{\bar{p}-m_0 }\left(\frac{\Sigma(p)}{\bar{p}-m_0}\right)+ \frac{i}{\bar{p}-m_0 }\left(\frac{\Sigma(p)}{\bar{p}-m_0}\right)^2   + \ldots $  I observe that although I might assume that $\Sigma(p) \sim \alpha $ and $\Sigma(p)$ might contain counter terms which cancel out the cut-off dependent part, that if $\gamma^{\mu} p_{\mu} \rightarrow m_0$ the term $\left(\frac{\Sigma(p)}{\bar{p}-m_0}\right)$ is not at all small, it can be easily larger 1. Therefore the given series should NOT converge, i.e. not be equal to $\frac{1}{\gamma^{\mu} p_{\mu}-m_0 -\Sigma(p)}$.   P&S even mention that there are multiple poles in the series, but it seems the $\Sigma(p)$ cancels all of them and leads to  a finite $\frac{1}{\gamma^{\mu} p_{\mu}-m_0 -\Sigma(p)}$.   But why ?  The summation is only allowed for $\bar{p}$ far away from $m_0$ ? Apparently not, as in the next section of the book $\bar{p}\sim m_0$ is assumed.   I would really appreciate if somebody could give me a sound explanation. Thank you very much.


What would happen if the wavelength of light gets doubled?

As I was researching about how wifi works, I saw that wireless information exchange happens by using electro magnetic waves.  Also, the shorter the electro magnetic waves are, the less they can pass a material (like a wall). So senders with 5 GHz are not able to send as good as senders with 2.4 GHz through a wall.  And light is also an electro magnetic wave, right? So what would happen if the wavelength of it got doubled? or tripled?  Would light then be able to "go through a wall"?


We have a stored procedure that we run regularly. It blows up the size of TempLog.ldf from nothing to 150 GB in the course of 3-4 hours. What's going on and why is it so big? TempDB.mdf is a constant 40GB. That's a fine size, and it never gets bigger. The Recovery model for TempDB is set to Simple. AutoShrink is off.  The procedure does not use any explicit transactions. It works through roughly 500 chunks of data. Some are very small, only a couple hundred rows. Some are very large, 1 - 5 Million rows. One chunk has 16 million rows.   For each chunk of data the procedure:   Reads its rows from a persistent table into a #temp table 1.  Copies those rows from #temp_table_1 into another #temp table 2, processing them as it goes.  Creates a non-clustered index on #temp_table_2. Does a number of updates on #temp_table_2.  Deletes rows from #temp table 2 where a specific column contains a null. Copies rows from #temp_table_2 into a "persistent" table.   Truncates the #temp tables.   As I said, the size of TempLog.mdf consistently stays at 40GB which is fine. I need to know why TempLog.ldf gets so large and what I can do to mitigate the problem. I tried adding a manual checkpoint for TempDB at after the #temp tables have been truncated. That doesn't appear to make a difference.  Questions:   What goes on in TempLog.ldf? Does creating an index on a #temp table take a lot of space in TempLog.ldf? Why isn't any of this space released from TempLog.ldf when the procedure ends? Can I inspect the contents to determine what's taking so much space? Any other ideas about what might be going on?


After installing Ubuntu the laptop starts Windows

I just bought a refurbished Thinkpad X220.   When I install Ubuntu I always select the option to erase the hard disk as I dont want any Windows on it. After installing I restart the laptop but Windows come back. I already tried to install it 5 times.  Any idea on how to solve this problem? Thank you very much!


advice on a solution attempt: interrater reliability of time-point data

In my data, two coders annotated subjectively (but independently), when certain time-point phenomena (a specific turn in a movement pattern) occurred.   The data for the first 14 seconds looks something like this:  rater1:  (1) 00:028 (2) 01:385 (3) 04:987 (4) 10:728   rater2:  (1) 00:022 (2) 05:100 (3) 10:602   Objective: Find an interrater-reliability index for this data. Note that the number of observations differ and, accordingly, rater1(3) is not close to rater2(3) but rather to rater2(2).  What I've done in R so far:   I put forth a tolerance offset (120ms), and calculated the number of matches: 2. Annotations (1) and (3) of rater1 have a match in rater2 (tolerating 120ms offset). This is the first value for a contingency table. From the overall number of annotations, I subtracted the number of matches to obtain the mismatching annotations for rater1 (2 mismatches) and rater2 (1 mismatch). The last field in the contingency table is the number of time units that both raters agree that the phenomenon is not present. If one time-point annotation of any rater accepts a matching annotation of the other rater within a time interval of 120ms in the future and 120ms in the past, then one time unit could be defined as an interval of 240ms. When I divide my data into these time intervals and subtract the time intervals already 'occupied', I get:   14seconds/240ms - (all matches and mismatches) = 58 - 5 = 53  Kappa.test(matrix(c(2,2,1,53),2,2))    Since Cohen's kappa is not very susceptible to the prevalence of the last cell of the contingency table, I'm happy with the results I get.   But I don't know whether there are much more sophisticated and flawless solutions out there.   Could you give me advice on this and direct me to literature that deals with these kinds of problems?  I'm not finding work comparable to this data and this problem.


Prove $X - \bigcup_{C \in \scr{C}}C = \bigcap_{C \in \scr{C}}(X - C).$   Proof. Assume $a \in X - \bigcup_{C \in \scr{C}}C$.  Then $a \in X$ and $a \not\in \bigcup_{C \in \scr{C}}C$.  Then $a \in X$ and $a \not\in \bigcap_{C \in \scr{C}}C$, since for all $C \in \scr{C}$ we have $a \not\in C$.  I don't think I am going the right path here. How do I continue?


This image from wikipedia, explains that there occurs a potential drop across a , and an electric field confined to the depletion region.  I already know the reason for the existence of this drop and the calculation of the difference but I have two questions regarding this drop.    1) If the  regions are externally connected using a perfectly conducting wire, why will not any current flow? Connecting the two regions should equalize their potentials (since wire is a resistance less) conductor, and therefore the gradient at the junction is destroyed resulting in a  which is obviously against conservation of energy as the semiconductor has non-zero resistivity. Where will extra potential drops will be created so that Kirchoff's voltage rule holds without any current and the built-in potential difference $V_o$ of the juction persists?    2) (probably naive) If an external Bias is applied, of say $|V|<|V_o|$, then the pn potential difference across the junction will just reduce by that amount ($|V|$). Assuming that the external voltage source is ideal without any resistance, what will be the potential drops which would sum to zero in this case? Will drop due to the resistance of semiconductor play a par in it? If yes, then there cannot be any ideal resistance-less semiconductor junction, can there?


Is there a way to administrate multiple computers at the same time?

Let's say you have 24 computers. They all have the same Linux or Unix distro on them, with the exact same configuration, but with different users. Is there a way to be able to do the exact same thing on all of them with one command? For example I'm running Lubuntu 14.04 and 14.10 comes out and I want to upgrade all of them while only running sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade once? Is there a software that would allow me to do that?


How to modify IEnumerable with LINQ to avoid foreach loop?

Can the following be done in LINQ as a one-liner, without using a for-loop? IEnumerable<MyObj> MyList = EF.GetList(etc); foreach (var row in MyList) {     row.uploadedAt = MyUtils.ConvertToLocalTime(row.uploadedAtUTC, clientTimezone); } //return MyList, which now has both dates in LocalTime and UTC


Unexpected results when mounting two drives on a single mount point

I was running out of /tmp space on one of my servers today so I attached a new 100GB disk to the system and did the following without unmounting /usr/tmpDSK from /tmp:  mkfs.ext4 /dev/xvde mount /dev/xvde /tmp   and now df -h outputs as:  Filesystem      Size  Used Avail Use% Mounted on /usr/tmpDSK      98G  4.5G   89G   5% /tmp /dev/xvde        98G  4.5G   89G   5% /tmp    The size of /usr/tmpDSK shows :  [root@server2 usr]# ll -h /usr/tmpDSK -rw------- 1 root root 2.3G Jan 27 17:32 /usr/tmpDSK    Different forums suggested using mhddfs to mount multiple drives on a single mount point, but I just did it directly and it seems to have worked -- or am I missing something?  I am hoping to better understand what actually happened.


I came across a question which was from a new user and I was not sure about the exact solution but had an image that could have been useful in that scenario.  And as I was not sure it could be the answer so it would have been a good option to attach the image in comment but could not find it in the help for comments.


I created this code and most of it is working with the exception of the toUpperCase which should make every first letter of a word uppercase. There is no error so I am not sure why the method is not currently working. Why may this be the case.  let str ="insert string here" String.prototype.toCase = function () {   let arrayWord = str.split("");   for (let i = 0; i<str.length; i++){     if (arrayWord[i]===" "){       arrayWord[i+1].toUpperCase();     }     else{     }   }   let result = arrayWord.join("");   return (result) };


I'm using Cygwin, and have installed all the developer packages as well as most if not all of the other packages. When I provide an alias for gcc, I get the error  -bash: alias: gcc: not found   What could I be doing wrong?  I am typing the following command into the terminal:  alias gcc "gcc -ansi -Wall -g -O0 -Wwrite-strings -Wshadow -pedantic-errors -fstack-protector-all"   FYI, this alias works on other systems.


Evaluate $\int_{0}^{1} \frac{\ln^k x}{x+1}$

Evaluate: $$\int_{0}^{1} \frac{\ln^k x}{x+1}$$   It looks like the only way to start this is to use that $$\frac{1}{x+1}= \sum_{n = 0}^{\infty} (-1)^n x^n $$ Then we have to evaluate $$\int_{0}^{1} {\ln^k x}\sum_{n = 0}^{\infty} (-1)^n x^n = \int_{0}^{1} \sum_{n = 0}^{\infty} (-1)^n x^n{\ln^k x}=\sum_{n = 0}^{\infty} \int_{0}^{1}(-1)^n x^n \ln^kx$$  For $k = 1$, it comes to be $\frac{\pi^2}{12}$ For $k = 3$, it comes to be $\frac{7\pi^4}{720}$ So, there is $\zeta(k+1)$ involved. EDIT: After trying for different values of  $k$ it seems like the integral evaluates to be $(1 - \frac{1}{2^k}) \zeta(k+1)$ Any help would be appreciated.


How to install the latest versions of NodeJS and NPM?

I noticed over at the  website that node is currently at v 0.12.0.  Can someone let me know how to install the latest version of node together with npm (terminal commands please)?


Relationship between slit size and wavelength in diffraction

Almost in every book on physics we can find a statement like "diffraction gets stronger when the size of the slit is comparable to the wavelength". Let's say we have a wall in a bathtub with a slit in it. When water waves reach the slit, the books usually come up with the Huygens' principle to explain that the points on the wavefront which are near the edges interfere in some fancy way so that the water waves spread out radially. However I do not see any connection between the size of a slit and the wavelength. I do understand that if we have a really tiny slit, there are very few points on the wavefront which produce radial waves, and if the slit gets bigger, there are more points that produce the same secondary waves which eventually interfere in an interesting way. But what it has to do with the wavelength? If we have a tiny slit and even more tiny wavelength, how does this change the game?  So for example, if we have a big wavelength, the diffraction would be:    But if the wavelength gets smaller while the slit remains the same, I'd expect the very same diffraction with the only difference that the resultant wave will have a shorter wavelength:


Find the general solution of $y'= a^{x + y}$ where y is the function

How should I approach this problem? Should I put ln logarithm on both sides and move factor of variable of lnx on right side in front of the ln, or do somehing else? I understand general solving and types of solving these differential equations of first order, but I have no idea what my next step should be.


What's with those who ask a question, but don't ever seem to come back to add requested info?

On stackoverflow, there seem to be quite a few programmers who ask a question, usually with one line like:  "How do I release memory after memory warning? My app crashes. Thanks and welcome for reply."   And a bunch of us will ask questions like   what platform? give us some more detail about the crash.   Weeks will go by and the original poster never adds any more details.  In the meantime, some respondents go ahead and answer the question thoroughly, covering possible platforms/scenarios, etc.  Of course no answer is ever selected by the OP.  Then the OP shows up again, and asks another question, sometimes its the same question asked differently, sometimes not.    What is going on here?  Do they have one chance every so often to get a query out on the Internet and they get through and they post and then they can't get back?  Or are they forgetful, since they are posting the same question to tens or hundreds of sites?    I'm just curious.  Seems like they shoot themselves in the foot when they have a captive audience waiting for more details of their problem, yet they never provide those details.


Is there any tools to copy text from video's or images?


Which sentence is correct and why (is VS are)

"The only thing holding me back is the available colours."  or  "The only thing holding me back are the available colours."  It seems to me like a glitch either way. I slightly favour the second one though.


duplicate content: How to use the same content on different news sites?

I'd like to post the same content on different domains, where those domains are regional news sites and thus have different audiences which in times are interested in the same news.   Is Google likely to punish this for duplicate content and if so what is the best way to handle this? Do I use a canoncial tag to flag one domain as the original? Is there a way to tell Google to prefer one domain over another based on a user's location, since I don't have a definitive original source?


i cant save smoke effect(fire) of my blender animation

i made a flame animation by using smoke effect with UVSphere. everything is okey when i am in blender. but i wanna use this animation in unity3D. But when i exported the animation .fbx, I can see only UVSphere not flames. You can see the image below what i meant. I wanna use this animation in Unity3D. Can anyone help me?


Convert "deepToString()" back to 2D Array

I would like to use this method to convert a 2D Array to string into a properties file. Then, import it from the properties by converting the properties string back to a 2D Array. But I have difficulties with converting the String back to a 2D array.  EDIT: I want to reverse the 2D array string output back to 2D array. But the  you gave me doesn't help me with the 2D array one. As the Arrays.replace() can't replace the 2D array's internal one.  Here's my code:  public static void getSettings(){ try { File file = new File("config.properties"); Properties p = new Properties(); FileInputStream fileInput = new FileInputStream(file); //Import moduleNames = p.getProperty("moduleNames").split(""); moduleData = ??? //I don't know how to convert String to String[][] } catch (Exception e){ e.printStackTrace(); } }   Here's the another function to set property:  public static void writeFile(String[][] mD, String[] mN){ try{ Properties p = new Properties; File file = new File("config.properties");  p.setProperty("moduleData", Arrays.deepToString("mD")); p.setProperty("moduleNames", Arrays.toString("mN")); //...further more code to flush the data out } catch (Exception e){ e.printStackTrace(); }  }   Can anyone tell me how to convert String (from deepToString) back to String[][]?  My project is in Open source. This:  is the set properties one.  And this:  is the load String to String[][] one.


Blender Shading not working with Principled BSDF

Why is my shader not working correctly? I keep getting the same problem over and over when trying to use a BSDF in shading (it worked a few months ago). Updated blender but nothing helped.   Shading with only Color works perfectly fine. When adding Principled BSDF nothing happens and after reloading nothing affects this Color. Cant get any Texture or anything to Work with shaders, even the default cube won't change its Color with the default shader and change When rendering with the bsdf activated the output is only a cube without texture


Why is the "WHERE" query not working with SQLITE in php

Edit:The problem's been solved.I used PDO's prepared statement to use where by using ? in place of the variable and then later binding it with the variable string.  I have used the below mentioned sql query to join two tables and display there data.Here it is   SELECT docinfo.fnamedoc,docinfo.lnamedoc,docinfo.department,  prescriptions.prescription FROM docinfo INNER JOIN prescriptions ON docinfo.unamedoc=prescriptions.unamed   When i use an additional WHERE alongside this statement than i am it works with an SQL DB software "DB browser for SQLite" when i run the sql code on it but it isnt working with php.Nothing gets displayed when i use where but the code in php works when i dont use where.  The code with WHERE is as follows:  SELECT docinfo.fnamedoc,docinfo.lnamedoc,docinfo.department,  prescriptions.prescription FROM docinfo INNER JOIN prescriptions ON docinfo.unamedoc=prescriptions.unamed WHERE prescriptions.unamep=$uname`   The picture of query running successfully in "DB browser for sqlite" and displaying one row is as follows


I've been following along with Imphenzias video on Low Poly modelling and when i get the part of picking colour in the UV editor the colours are hazy and cloudy. like steam on a mirror if that makes sense? i'm very very new to Blender so i haven't probably tried enough in terms of fixing it, but i have noticed that this effect isn't shown in tabs such as 'Texture paint' 'shading' and 'animation' so i think its only an issue within UV editor. here's the link to the video if you want to see exactly what i did:  the part that i'm talking about is around 2:10 and goes till 4:50. Cheers :D edit: added photos 1.   this is what the colour should look like


Is $\tan(\alpha/2)=(1-\cos\alpha)/\sin \alpha, \,?$

Is it true that $$\bbox[5px,border:2px solid #138D75]{\tan\left(\frac {\alpha}2\right)=\frac{1-\cos\alpha}{\sin \alpha}, \quad ?} \tag1$$ My solution: First, we note that the expression $\tan \left ( \frac{\alpha}{2} \right )$ makes sense when $\alpha \neq \pi + 2k\pi, k \in \mathbb{Z}$: henceforth, we will assume that this condition is met. By definition of tangent function, we have: $$\tan \left ( \frac{\alpha}{2} \right ) = \frac{ \sin \left ( \frac{\alpha}{2} \right )}{\cos \left ( \frac{\alpha}{2} \right )}$$ When $\alpha \neq 2k \pi, k \in \mathbb{Z}$, we can multiply numerator and denominator by $\sin \left ( \frac{\alpha}{2} \right )$, because this quantity is non-zero. We therefore get: $$\tan \left ( \frac{\alpha}{2} \right ) = \frac{ \sin^2 \left ( \frac{\alpha}{2} \right )}{\cos \left ( \frac{\alpha}{2} \right ) \cdot \sin \left ( \frac{\alpha}{2} \right )}. $$ For what we saw earlier: $$\sin^2 \left ( \frac{\alpha}{2} \right ) = \frac{1 - \cos \alpha}{2}$$and instead, applying the sine duplication formula: $$\cos \left ( \frac{\alpha}{2} \right ) \cdot \sin \left ( \frac{\alpha}{2} \right ) = \frac{1}{2} \sin \alpha$$ In conclusion we get the following formula: $$\tan \left ( \frac{\alpha}{2} \right ) = \frac{ 1 - \cos \alpha}{\sin \alpha}.$$ If in the expression of the tangent we had multiplied numerator and denominator by $\cos \left ( \frac{\alpha}{2} \right )$ then with steps similar to what we have done we get another formula:$$\bbox[5px,border:2px solid #118D45]{\tan \left ( \frac{\alpha}{2} \right ) = \frac{\sin \alpha}{1 + \cos \alpha}}. \tag 2 $$ We note that it always holds $\cos \left ( \frac{\alpha}{2} \right ) \neq 0$ since we have imposed $\alpha \neq \pi + 2k\pi, k \in \mathbb{Z}$ (and this entitles us to multiply numerator and denominator by this term).  Is there a faster and more immediate proof of the $(1)$ or $(2)$?


How to parse powershell style command line arguments in C#

I have a string. Something like this:  myapp.exe email --to myemail@mail.com --subject "EmailSubject" --body "Test message".   How to parse every param value?


I have a situation where I have to check the download link to make sure when someone clicks the link download is going to kick off and the product will be downloading, Is there anyway that we can do that using Selenium WebDriver?


Possible Duplicate:          I am a dedicated user of Stack Overflow, and now my team seems also interested in getting a similar website setup internally.  I am just wondering where I could find details about this, and terms and conditions also, as I am not that sort of business person to consider them always.


Exclude possibility of damage of Android device while chargin with another charger

Is it true, that if I have one Android tablet with mini-usb from Philips, one Android device with mini-usb from Sony, then if I connect Philips charger to Sony charger, then it is possibility for a device to blast or cause any damage?  I heard about a story, where woman connected charger of other manufacturer and during phone call device blasted. I don't know if it is a rumor, or this is truth? In the other hand, workmate says that solution is on a hardware level and devices detect voltage and solve this issue automatically.  Is it safe to charge with different manufacturer charger or not?


I have been working with T-SQL in MS SQL for some time now and somehow whenever I have to insert data into a table I tend to use syntax:  INSERT INTO myTable <something here>   I understand that keyword INTO is optional here and I do not have to use it but somehow it grew into habit in my case.  My question is:    Are there any implications of using INSERT syntax versus INSERT INTO? Which one complies fully with the standard? Are they both valid in other implementations of SQL standard?


A pyramid shaped toy is made by tightly placing cubic blocks of $1 \times 1 \times 1$ $cm^3$. The base of the toy is a square $4 \times 4$ $cm^2$. The width of each step is $0.5 cm$. How many blocks are required to make the toy? What I didn't understand here is the width of each step. What do we mean by that? We've been told the dimensions of each block.The width of block should be the width of each step. As steps must be blocks. Please help. I know it has been asked before. But I can't understand. Ithink I can't understand the structure of the toy.


Where did the "Magic Blood" of the Harry Potter Universe Originate From?

What is a wizard that makes them non-Muggle? Or, more directly, what ancestry does the witch/wizard gene follow? Is there a patriarchal wizard (or matriarchal witch) that Muggles have no part in? Elves perhaps? Stop reading here.  Purpose of the Question/History/Don't Read There seem to be solid consequences associated with being Muggle, or Muggle-related. A dominant theme in the novels is discrimination against the non-gifted race, but, when read into, the wizard bloodline doesn't appear all that well defined. JKR indicates that wizard-ness is genetic, or inherited:  "Muggle-borns will have a witch or wizard somewhere on their family tree, in some cases many, many generations back. The gene resurfaces in some unexpected places."  By the above, it stands that a family that produces a squib (non-magical born of magical parents) must be a half-blooded family in some way, since half-blooded only requires one non-magical ancestor. Of course, we are dealing in magic genetics. Any other form of genetics would make this inherited, seemingly recessive trait (or squibs couldn't exist), never appear at all. Unless they were XMen. If it is so important, what does the wizard-bloodline follow? Other Mythos In other literature a wizard can be nearly anything, but magical powers are typically inherited as well as learned. Merlin of the Arthurian Legend (also mentioned in HP) is Cambian, meaning he is born of demonic intervention; this explains his source of enchantment. Gandalf of Middle Earth is a Maiar, as are all Wizards of Middle Earth. Wizards in Harry Potter seem to follow a bloodline, and it has been mentioned (in the question Gabe linked) that genetics have a heavy play in it, meaning that squibs and parents of Muggle-born wizards should have identical genetics. This bloodline must come from somewhere. Magical Creatures In Harry Potter it is common for magical creatures to "mingle" with humans, these beings are typically somewhat magical. Elves have been described to have very strong magic, but are for some unreasonable reason subservient to humans. I may be mistaken, but believe it was hinted that elves and the wizarding lineage had intersected at one time. Maybe I'm imagining this. Genocidal Allusions Voldemort hates muggles, and half-bloods, and whatever else is non-wizard. The presence of this theme, suggests that this wizardly bloodline must be at least defined if the main antagonist is so obsessed with keeping that mysterious bloodline pure. Since Slytherin himself was said to be a supremacist (circa a really long time ago) it suggests that this bloodline should have existed long before he was around, especially if he founded a school with people he was not related to, but were also magical.


Why same paths are shown when running `which -a` command

When I run which -a psql the result shows three same paths.  /usr/local/bin/psql /usr/local/bin/psql /usr/local/bin/psql   I can run the command psql without a problem. I just want to know why this kind of behavior occurs. Have I misconfigured something?


Selection of logical connectives {¬,∨,∧,⇒,⇔} in set theory?

Nearly every treatment of set theory, whether Paul Halmos' Naive Set Theory, Herbert Enderton's Elements of Set Theory, Patrick Suppes' Axiomatic Set Theory, etc. introduce a common set of logical connectives, namely "not" ¬, "inclusive or" ∨, "and" ∧, "implies ⇒, and "if and only if" ⇔ (as well as the existential and universal quantifiers ∃ and ∀). However, this set {¬,∨,∧,⇒,⇔} of connectives chosen:   Is not , i.e. is actually redundant (For example, P⇒Q could be written ¬P∨Q, and since we already have introduced ¬ and ∨ as part of our set, we could eliminate ⇒.) Is not exhaustive either, since there are actually  to choose from. (Since {¬,∨,∧,⇒,⇔} is already redundant, why not throw in the other 11 connectives, some of which are VERY helpful like "nand" ⊼ , "nor" ⊽ and "exclusive or" ⊻?)   Since it is neither minimal nor exhaustive, the set {¬,∨,∧,⇒,⇔} seems like an arbitrary choice. Is there another explanation? And since the set is already redundant (so there's no use in aiming to make it minimal), would it be acceptable to include the others that are missing,  so we are at least making use of all 16 connectives (and have more at our disposal to work with)?


Bayesian estimation of Dirichlet distribution parameters

I want to estimate parameters of Dirichlet mixture models using Gibbs sampling and I have some questions about that:   Is a mixture of Dirichlet distributions equivalent to a Dirichlet process? What is their main differences if is not? Also, if I want to estimate a single Dirichlet distribution's parameters, which distribution for parameters should be selected as priors in Bayesian framework?   In all of the papers I found an estimation of a multinomial distribution using Dirichlet priors. I need estimation of a Dirichlet distribution using multinomial priors, perhaps.   Is the posterior function also in the form of DIRICHLET(α+N) similar to the case “estimation of multinomial distribution using Dirichlet priors”? as the multiplication of probability density function for iid samples are not considered in the definition of the likelihood function. I again cannot understand why.  e.g. as expressed in this paper:   or      so thanks for your attention  my data is Hyperion (a kind of hyperspectral remote sensing imagery) and i want to perform hyperspectral unmixing using mixture of Dirichlet sources and i will apply Gibbs sampling method for parameter estimation. my data is in dimension (614*512*224) which is commonly available AVIRIS sensor data for Cuprite Nevada district and is almost 200MB. also this data is available via (). unfortunately i don't know how can i sent my data.   i just ask you to help me in statistical modelling tasks for my PHD thesis. i will be so grateful if you help me to solve my confusions in modelling.  all the best solmaz


I am stuck in my present (AP-SOUTH) and deleted (US-EAST) S3 bucket.  I had mistakenly created a bucket in US-EAST (cdn.example.com.s3-website-us-east-1.amazonaws.com) and mapped my subdomain - cdn.example.com  I allowed read public access and added the following policy to US-EAST S3   Then i tested it by placing a test.txt file and   It was success. Also tried using  using Flexible SSL inside your CloudFlare. It was success too.  Afterwards When i realized my mistake, i deleted the US-EAST bucket and created AP-SOUTH S3 bucket (with same bucket name) (cdn.example.com.s3-website.ap-south-1.amazonaws.com) and pointed the same subdomain cdn.example.com to it and accordingly updated the DNS at cloudflare.  But now even after 42 hours, my subdomain cdn.example.com is still pointing to deleted bucket US-EAST.  Am i missing something here? Any pointers will be appreciated. Just in case, I am using S3FS-FUSE with magento.  Proper error is as below as requested:-  404 Not Found Code: NoSuchBucket Message: The specified bucket does not exist BucketName: cdn.example.com RequestId: 0E46EDA9081940FC HostId: WnxB9/4C8uQi8k81rEX/FZSFa6s8w6Xt6ohIV3tec6BCg8VHfyaps2MPrw8qfX6/Jpba+fmNCUA=


The "contradiction" in special relativity

Suppose that two inertial reference frames 'A' and 'B' are moving relative to each other with a constant velocity. According to special relativity, from the frame of 'A', time runs slowly for 'B'. But from the frame of 'B', time actually runs slowly for 'A'! What's happening here?Isn’t this an apparent contradiction? What am I missing? As far as I am concerned, there was a philosopher named Herbert Dingle who asked this same question in the lifetime of Einstein. I have been surfing the internet for a couple of days, but still hadn’t find any satisfying answer. No textbook seems to address this question! Note that it is different from the so called 'Twim paradox'. There is no acceleration involved here.


Is there implementation of tri-planar mapping in Cycles renderer?

Is it possible to have tri-planar mapping in cycles?  Like in corona renderer or fstorm?


What can I do with .chk files in FOUND.000 folders?

Just discovered I have gotten a FOUND.000 folder on my usb drive. I guess from running chkdsk once. It has three files in it:   FILE0000.CHK FILE0001.CHK FILE0002.CHK   What exactly can I do with these files? What are my options? Are they lost files? Are they garbage? Can I use them for anything at all? Or will I just have to delete them?


VirtualBox NS_ERROR_FAILURE (0x80004005) Mac

So, I restarted my Mac in the morning and I receive this error while trying to start my normal VBox but it did not start instead it gave in an error. This is the error image


How do I skip verification of a .dmg file?

I have downloaded a dmg file but when I click on it it keeps verifying.   I've also tried to go to /System/Library/CoreServices/Installer.app but I can't click on the .dmg because it is greyed out.  How can I open it?


Is this South Korean animation TV series regarded as anime due to its similar japanese animation style?

Its a South Korean animation TV series called ''Spheres'' and it is has strong similarities of Japanese animation techniques used in the series and art style that looks similar to anime        Should we regard this as anime like Japan's due its animation styles and techniques that Japanese use and despite being an animation of non Japanese origin?


I've setup a connectio to an FTP server in Nautilus / Nemo / Caja, the file manager. Now I can browse the contents via this file manager.  How can I browse these files via the command line? What is the path to this network connection? Is this possible, is this a system connection, or specific to the file manager, and do I have to setup a separate FTP connection to do that? If I open this connection in Caja, I see it in Nemo as well, so it seems like a system connection.


how to split strings in c++ and store them in different array?

I need to split a string by single spaces and store it into different arrays of strings. The delimiter is 1st a space then the commas.     like -   input: "add s1,s2,s3"  my output should be :     a[] = "add" b[] = "s1" c[] = "s2" d[] = "s3"


What does a high load with an empty top mean?

What does it mean when I have a non-trivial load and when I run top, there are no processes using non-trivial amounts of cpu time?  For example, I have a server with this top line:  top - 10:10:59 up 128 days, 23:44, 10 users,  load average: 4.00, 4.00, 4.00 Tasks: 254 total,   1 running, 252 sleeping,   0 stopped,   1 zombie Cpu(s):  0.1%us,  0.1%sy,  0.0%ni, 99.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st Mem:  65912492k total, 20628812k used, 45283680k free,   573908k buffers Swap: 33431544k total,    30376k used, 33401168k free, 12085808k cached    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND  2584 sgeadmin  20   0  416m 2536 1572 S  1.3  0.0   1265:45 sge_execd     4 root      20   0     0    0    0 S  1.0  0.0   4681:42 ksoftirqd/0   ...etc.


How do you efficiently generate a list of K non-repeating integers between 0 and an upper bound N

The question gives all necessary data: what is an efficient algorithm to generate a sequence of K non-repeating integers within a given interval [0,N-1]. The trivial algorithm (generating random numbers and, before adding them to the sequence, looking them up to see if they were already there) is very expensive if K is large and near enough to N.  The algorithm provided in  seems more complicated than necessary, and requires some implementation. I've just found another algorithm that seems to do the job fine, as long as you know all the relevant parameters, in a single pass.


propositional calculus problem, how to prove this right or wrong?

$A$$\rightarrow$$(B$ $\vee$ $C$ ) , $B$ $\rightarrow$ $C$ $\vDash$ $A$ $\rightarrow$ $D$  I think it's wrong but I have no idea how to prove.


Ability to add non-SMS non-Apple 2FA to an Apple ID?

I would like to add non-SMS, non-Apple multi-factor authentication to my Apple ID.  Specifically the "code generator"-type  based on  implemented by client apps such as:  Google Authenticator Microsoft Authenticator Yubico Authenticator Authy 1Password LastPass etc.  I do not see any such option. Is this type of authentication available for Apple ID? I am also interested in adding YubiKey or other similar non-SMS hardware or software multi-factor solutions.  Note: I am able to add Apple's proprietary  integrated within iOS and macOS as an alternative to SMS-based . This question is asking instead for a 3rd-party-compatible two-factor mechanism that does not involve using an Apple device signed in to iCloud.  Related:


How could students be allowed to take such a dangerous detention as the Forbidden Forest?

In The Philosopher's Stone (aka The Sorcerer's Stone), Harry and Draco are sent to Forbidden Forest with Rubeus Hagrid, the games keeper.  We know that the Forest is a pretty dangerous place — why would Dumbledore allow that dangerous of a detention assignment?   I know why it was needed for the plot development, but it sounds unlike Dumbledore.


How we can do this sum? $$ \sum_{n=1}^\infty \frac{1}{n^4}=\frac{\pi^4}{90} $$  I know that we could possibly use a Fourier series decomposition however I don't know what function to start with.  I know it is also equal to $\zeta(4)$ but a proof involving this is tough for me since they don't teach us these at school.  Thanks.  Thanks


Given $p: \mathbb{R} × \mathbb{R} \to [0,\infty)$ is defined as $$p(x,y) = \frac{|x-y|}{1+|x-y|},$$ I wish to show $p$ is a metric on $\mathbb{R}$ but I'm having difficulty proving the triangle inequality property for $p(x,y)$. So I want to show $p(x,y) \le p(x,z) + p(z,y)$. Do I make use of the standard bounded metric induced by the metric $p(x,y)=|x−y|$?


Is there any easy way on Windows to log %CPU time per process over time to a file for later analysis?  As far as I can see...   Task manager shows me the %CPU per process but only visually - no way to save to a file. Perfmon will let me save to a file, and will additionally create a time-based file (taking snapshots at specified time intervals) - which is almost what I want, except that as far as I can see it can't break down the %CPU by process. Process Explorer will let me break down by process, but it will only save the file as a snapshot of a single point in time   So, none of these are quite what I need: I need to get a file that contains something like 'top 10 processes by CPU, every 15 seconds, until I stop the monitoring' The reason I need this because I have a machine on which some process is causing occasional brief spikes in CPU usage several times a day and I need to find out which process is the culprit.    Can anything do that, or have I missed some feature of perfmon or process explorer?


Pros and cons of the conventional definition of the Gamma and Beta functions

NOTE: I see it suggested that this is a duplicate question. Certainly there is substantial overlap between the two questions. This one explicitly mentions the Beta function and explicitly invites arguments for doing it the other way. One of the more able regular posters here stated today in a comment that it ought to be done the other way; I would be curious to see that case made. end of NOTE  One sometimes sees it opined that instead of $$ \Gamma(\alpha) = \int_0^\infty x^{\alpha-1} e^{-x} \,dx $$ one should follow a convention that puts simply $\alpha$ where $\alpha-1$ appears. Similarly with both $\alpha$ and $\beta$ in $$ \operatorname{B}(\alpha,\beta) = \int_0^1 x^{\alpha-1} (1-x)^{\beta-1} \, dx. $$  What facts can be adduced on which to base arguments for one or the other convention?  (I will post a brief answer of my own, but possibly some very different answers can be readily written.)


How big is too big to fly on American Airlines?

I am travelling to New York in November with American Airlines and I'm freaking out over whether I will be able to fit in the seat. I am a UK size 22/24 bottom and 20 top.  Has anyone else flown with this airline and can let me know?


Reset Google Chrome browser on each startup

I have Ubuntu machines that will be used by students and I would like it that every time google chrome is closed and reopened it reset to default settings. Do any of you know where to set that up?


What is the procedure to solving $x^2$ $mod$ $23 = 7^2$? According to WolframAlpha, there is no integer solution but I am completely confused as to what steps was taken to determine that.  Before asking the question, I did try to solve this using brute force by plugging in some arbitrary numbers to see whether the square of that number mod $23$ gave me a remainder of $49$ but the procedure was quite tedious. Hence the reason I turned to WolframAlpha.   Going back to the question, I want to know how WoflramAlpha determined that there was no integer solution to solving for $x$.


How to download "cyrtimes" package for TexWorks in Windows 7?

Before I just wrote \usepackage{name} and the package with the according name downloaded successfully.   Now that I need to download cyrtimes package, it fails. I use TexWorks editor running on Windows 7.  Could you give me any hint please?


If I do watch cat /proc/sys/kernel/random/entropy_avail I see that my systems entropy slowly increases over time, until it reaches the 180-190 range at which point it drops down to around 120-130. The drops in entropy seem to occur about every twenty seconds. I observe this even when lsof says that no process has /dev/random or /dev/urandom open. What is draining away the entropy? Does the kernel need entropy as well, or maybe it is reprocessing the larger pool into a smaller, better quality pool?  This is on a bare-metal machine, with no SSL/SSH/WPA connections.


Proving that $y^2=x^3-6$ has no integer solutions

Suppose $(x,y)\in\mathbb{Z}^2$ were a solution to $y^2=x^3-6$  Prove that there exists a principal ideal $\mathfrak{a}$ of $\mathbb{Z}[\sqrt{-6}]$ such that $(y+\sqrt{-6})=\mathfrak{a}^3$.  I have no idea what to do for this part of the proof.


I have installed Win7 and Ubuntu both on this machine.  When I try to connect to my vncserver running on CentOS from my home computer behind a firewall, I get an error:     VNC conenction failed: vncserver too many security failures    ... even when loging with right credentials (I reset passwd on CentOS).  Is this caused by attempting to log in as root? I think it is also important to note I have to login to remote Centos through port 6050 - no other port works for me.  Do I have to do something with other ports?  I see that vncserver is listening on 5901, 5902 if another added - and I consider connection is established because from time to time (long time) the passwd prompt appears... right?  Even if prompt appeared and I put correct password I get an authentication failure.  How to disable this lockout for testing purposes?


Null pointer error in eclipse using selenium webdriver

I am getting Null pointer exception error in line    "wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(ElementPath)));" in below code.   Could you please help me on this.  private static FluentWait<WebDriver> wait; String  ElementPath = null; clickAnElementByLinkText(ElementPath); public static void clickAnElementByLinkText(String ElementPath) {        wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(ElementPath)));             driver.findElement(By.xpath(ElementPath)).click(); }


How to choose input method on Kubuntu 18.04?

I have a new fresh Kubuntu installation. I have used Linux Mint and Ubuntu before, those OS have GUI settings for input method, where I can choose ibus or fcitx and type Vietnamese (my language, we use  to type Vietnamese).  I did install ibus-teni, I can run ibus from Search tool, but couldn't type Vietnamese. So how do I setup the input method from default to ibus? Why does Kubuntu not have GUI settings for it like Ubuntu?


How can I produce a .svg file from a TikZ diagram?

I would like to produce separate .svg files for each of the TikZ diagrams in my LaTeX document. Each of the .svg files will then be used in a WordPress web page. I have tried a number of things, none of which have produced good results:   Convert .pdf files to .png using GIMP (after transporting the .pdf files to my linux system); the resulting image quality is poor, very blurry, but otherwise intact, and all fonts were rendered properly Convert .pdf files to .svg using Inkscape; this is a disaster, as the resulting .svg file has the graph labels mashed together, and some of the labels are pushed on top of axes or graph traces Convert .dvi files to .svg using dvisvgm; this is also a disaster, as the resulting .svg file contains an unrecognizable mess Convert .pdf files to .svg using pdf2svg; this was better, as the graphics were very sharp, but the fonts did not convert well (mathematical symbols were not in italics, square-root symbols were mangled)   Is there a way to get .svg files directly from LaTeX/TikZ without having to first produce .pdf files? I am guessing that this will work better than having to produce .pdf files first and then have to convert them.  I compile my LaTeX document using MikTeX via WinEdt (pdflatex) on a Windows XP system.   Update: In response to Speravir, here is one of the examples I've been working with:  \documentclass{article} \usepackage{tikz}  \begin{document} \begin{tikzpicture}[domain=-2:2,samples=100,scale=1.0,>=latex] \tikzset{bgrid/.style={help lines,color=blue!10,very thin}}  \draw[bgrid] (-1.5,-3.5) grid (7.5,3.5);  \draw[<->, color=black] (-1.5,0) -- (7.5,0) node[right] {$x$}; \draw[<->, color=black] (0,-3.5) -- (0,3.5) node[above] {$y$};  \foreach \x/\xtext in {-1,1,2,3,4,5,6,7} \draw (\x cm,1pt) -- (\x cm,-1pt) node[anchor=north] {$\xtext$};  \foreach \y/\ytext in {-3,-2,-1,1,2,3} \draw (1pt,\y cm) -- (-1pt,\y cm) node[anchor=east] {$\ytext$};  \draw[thick,color=black,domain=0:7.5] plot (\x,{sqrt(\x)}) node[anchor=south] {$y = \sqrt{x}$}; \draw[dashed,color=black,domain=0:7.5] plot (\x,{(-1)*(sqrt(\x))}) node[anchor=north] {$y = -\sqrt{x}$}; \draw[thick,color=black,domain=-1.5:5.5] plot (\x,{(\x)-2}) node[anchor=south] {$y = x - 2$};  \filldraw[black] (4,2) circle(2pt) node[anchor=south east] {$(4, 2)$}; \filldraw[red] (1,-1) circle(2pt); \draw[red] (1.5,-1) node[anchor=west] {$(1, -1)$};  \end{tikzpicture} \end{document}


So after working on my Macbook for a while. Menus will start blanking out.     Right click on Chrome in dock:    Top menu bar totally blank:    Right click on desktop:     Clicking the black Apple icon in the top left corner of menu bar:    Any idea what's causing it? I have to reboot or log out each time, which is no easy task given menus are blank.


I have to modify an URL like this:  $string = "/st:1/sc:RsrlYQhSQvs=/fp:1/g:3/start:2015-07-01/end:2015-07-30";   Namely, I want to delete st:1 with a regex. I used:  preg_replace("/\/st:(.*)\//",'',$string)   but I got  end:2015-07-30   while I would like to get:  /sc:RsrlYQhSQvs=/fp:1/g:3/start:2015-07-01/end:2015-07-30   Same if I would like to delete fp:1.