Mouse settings reset from static electricity

I drag my feet on my floor, I hear static buildup/zapping sound in my earbuds and I get the device disconnected/connected system sounds from windows and all my mouse setting reset to factory defaults (scroll speed, pointer speed, etc)  If I open the mouse's control panel, everything returns to normal immediately.  I've tried all the combinations of moving the mouse to each of the USB ports, as well as plugging in my headphones into the back instead of the front panel.    Any other ideas on how can I keep from shocking my mobo through my ears each time I shift position?


My approach: the prime factorization of $2019$ is $3 \times 673$. Let $m$ and $n$ be the number of Sylow-$3$ and $673$ subgroups of $G$ (some group of order $2019$). Then from the Sylow theorems, we have the following relations:  $m | 673,$ $m \equiv 1 \pmod 3,$ $n| 3,$ $n \equiv 1 \pmod {673}.$ From here, $n = 1$ and $m = 1$ or $m = 672$. For the case $m = 1$, the Sylow $3$ and $673$ subgroups are unique, and let us call them $H$ and $K$ respectively. Since they are unique, $H \unlhd G$ and $K \unlhd G$, and it is not hard to see that in this case, $G \cong H \times K \cong \mathbb{Z}_3 \times \mathbb{Z}_{673}$.  But I am not sure what to do with the other case: $m = 672$. Here are a few observations I have made.  None of the $672$ subgroups of order $3$ is normal, but the subgroup of order $673$ is. From here, we can also infer that $G$ is not abelian. Finally, the $673$ subgroups mentioned above are pairwise disjoint.  Can we describe $G$ in this case?


How to redirect the stream inline? It is possible not to keep repeating the code?

I can do this as:  if [[ "$is_to_rename" == true ]] then     printf "path %s\n" "a" >> $logger else     printf "path %s\n" "a" fi   But would be nice to reduce the duplicated code printf "path %s\n" "a", so tried the following small code:  #!/bin/bash is_to_rename=true printf "path %s\\n" "a" if [[ "$is_to_rename" == true ]]; then >> $logger; fi   But throws the error:  ./fixer.sh ./fixer.sh: line 66: syntax error near unexpected token `then' ./fixer.sh: line 66: `        printf "path %s\n" "a" if [[ "$is_to_rename" == true ]]; then >> $logger; fi'     It is possible not to keep repeating the code printf "path %s\n" "a"? [And do it in one line? (just for fun)]


I’m a Nepali citizen currently living in Japan. Can I get a tourist visa from Japan to Korea? If it’s possible, how to do it?


New Ubuntu user here... I have Ubuntu on my 250GB SSD and I have another 500GB on my laptop that Ubuntu can't find. I'm not sure where or how to start finding it.


Can I recover data after diskpart 'clean' and 'convert gpt' commands

I accidentally deleted all my data while windows installation setup by running diskpart 'clean' command. :( Then I executed 'convert gpt' command and all my data was gone. I did not copy anything to my HDD after and is there any chance to recover my data again?   By googling I found by following  using TestDisk has some silver line to recover my data. But since I executed 'convert gpt' will it be possible?


I saw this insect near a beach in Corsica France:


What year is the Harry Potter Ford Anglia?  I Googled using "Harry Potter Ford Anglia" and "Harry Potter Ford Anglia Year" and while I was able to get the model number (Ford Anglia 105E), I wasn't able to find a consensus on what year the Harry Potter Anglia was made. I did learn that the particular model of Ford Anglias in Harry Potter were produced between 1959 and 1967 and have distinctive tailfins and a inwardly curving frame on the rear window.   ★ I usually ask for only canon sources, but I have never seen a reference to the Anglia's year in any of the Harry Potter books or J.K. Rowling interviews, or on Pottermore. Of course if you can find the answer in canon, that's great! Per usual, I am not looking for an answer from the HP Wikia or the Wikipedia.


I followed the official step-by-step "Visual Studio Code and Unity" guide, but it seems I messed up something, because Intellisense doesn't see any Unity related stuff.  Like the MonoBehaviour class and its members (like .transform), or the Unity callbacks, like Start or Update.


How to determine whether a given Linux is 32 bit or 64 bit?

When I type uname -a, it gives the following output.  Linux mars 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT 2008 i686 i686 i386 GNU/Linux   How can I know from this that the given OS is 32 or 64 bit?  This is useful when writing configure scripts, for example: what architecture am I building for?


I can't load game with my google account!

Yesterday my game was reset and when I tried to load again it does not let me load with google. When It says sign in with google and you click there the Pokéball keeps spinning over and over and never ends!!  I saw a related question on Arqade, but the answer didn't help me: on my mobile When I go to settings then account and google there is no sign in and security option.


'explicit' keyword in g++ has no effect for simple constructor (not copy/assignment constructor)?

Can anyone explain why the following code compiles?  I expect it to get an error where the double constant 3.3 can not be converted to int, since I declare the constructor to be explicit.  class A { public:     int n;     explicit A(int _n); };  A::A(int _n) {     n = _n; }  int main() {     A a(3.3); // <== I expect this line to get an error.     return 0; }


How to generate world files for raster X?

Given a list of georeferenced rasters, about a hundred, what is the simplest method to generate  for each?  In this case the source rasters are either geotiff with embedded georeferencing or .BIL with accompanying .PRJ, but the ideal solution shouldn't care what the format is. I'm hoping to avoid duplicating data.  I have at my disposal Arcgis 10 (Arcinfo & Spatial Analyst), GDAL Utilities (gdal v1.8.0), and Quantum GIS 1.8.


I've been told that will becomes would in reported speech, e.g.:     She said she would help me.   (I.e. in the past she said the phrase "I will help you")  What about shall and should, then? By the reasoning above shall should become should (no pun intended). Is this so? Also, what does should become in reported speech? Is it grammatically correct to say something like the following:     Mark said Anna should not do this.    (I.e. in the past Mark said the phrase "Anna should not do this")  Should this "should" really become "shall"? If so, it seems to contradict the reasoning above... I'm at a loss here.


Who is earning money when users buy access to a research article?

I'm a software engineer, but I used to have to read a lot of papers about neurology. I am slightly disappointed by the high price for access to the full text of research papers. I can understand a pharmaceutical company could pay that amount of money, but I don't think private people can afford to pay $30 for reading a paper.  Does the money from article sales go to the researchers, the journals or somewhere else?


After modifying an object I deleted the camera, and after that I add a new camera to the scene but in the end I couldn't see anything with my new camera view with Numpad 0 and rendering, it just shows blank.  Can anyone help me? Thank you.


novel identification: alien scientists must save their civilization from future destruction

I'm looking for the title of a SF novel that follows an alien civilization through technological eras as it tries to find a way to prevent the destruction of its sun. I believe the novel was published in the 1970s or 1980s. It was written in English and released as a mass market paperback.  The novel opens in the medieval technology era. The first protagonist is an astronomer whose observations of the sky cause him to realize their home solar system is in cosmological peril. (Sorry, I can't remember the specific cause of the impending doom.) The astronomer must now convince everyone of the gravity of the situation, a task made difficult by the religious institutions and political conflicts of the world.  Once the alien civilization realizes the seriousness of the problem, the novel shifts to a race against time, through technological eras, as its scientists work to find a way to save themselves from destruction.  A unique aspect of the alien civilization is that it is very biology-focused. Where humanity would have fabricated something out of metal, this civilization's technology harnesses biological engineering (selective breeding, genetic engineering, etc) to accomplish the same task.  I hope this is enough information to jog someone's memory!


TV Series from the mid-nineties where kids go into a computer

I remember this show from the mid-nineties (I could be hallucinating, it could be late eighties.)  Basically a there was kid was able to go into a computer if he did something a certain way. There were other kids who were able to go in.  It was live action (for most of it).  When they went into the computer they got armor and other things.  If you need any more info from what I remember please ask me.


when ${\rm gcd} (a,b)=1$, what is ${\rm gcd} (a+b , a^2+b^2)$?

I want to prove above statement  "what is ${\rm gcd} (a+b , a^2+b^2)$ when ${\rm gcd}(a,b) = 1$"  I've seen some proofs of it, but i couldn't find useful one.  here is one of the proof of it.    I want prove it using method like 2nd answer. (user 9413)  but i can't understand why "if $d | 2ab$ then $d = 1$ or $2$ or $d | a$ or $d|b$"  (isn't Euclid's lemma which only holds when $d$ is prime ?)  please show me proof step by step


Automatically fix a minor merge conflict

When I start a merge in my vagrant botstrap I get a merge conflict:  ==> git merge --no-ff testing/other ==> gc-gw0: Auto-merging manifests/fastd.pp ==> gc-gw0: CONFLICT (content): Merge conflict in manifests/fastd.pp ==> gc-gw0: Automatic merge failed; fix conflicts and then commit the result.   This will stop the bootstrap from functioning although the conflict is really tiny.  How can I automatically take the version of the "other" branch for that file in my script?


This morning when I opened by computer, I saw a notification for an event that I never created.    I have not linked my email address on macbook and I'm not even from US. So why is there an event with some random website in my calendar? I checked which apps have access to calendar, and it came up empty. So is it just some harmless ad pushed by Apple or something malicious?


Can not install ATI Radeon Mobility 5470 lates driver

I installed Kubuntu 14.04 (64bit) on a laptop with ATI Radeon Mobility 5470 graphic card. Trying to install latest proprietary driver () installer says your card is not supported by this driver:   ATI says this driver . However supported operating systems are:   Red Hat Enterprise Linux Suite 6.4 and 6.5 SUSE® Linux Enterprise 11 SP3 openSUSE 13.1 Ubuntu 12.04.3, 12.04.4 and 13.10   So the last line this means that catalyst 14.4 is not supposed to work with Ubuntu 14.04? If so, what should I do now? (fglrx or xorg-xserver-ati is not an option)


I just bought a new Schwinn Cutter, but my brakes are constantly squeaking when I apply them. It has nothing to do with weather as I haven't taken it out in the rain. The rims on the bike do have some colored trim, but I'm not sure if that's the reason. Any ideas on reducing the break squeaking as it's embarrassing?  Follow up: these are not disk brakes.


Can an RSA public key be generated without ever knowing the factors?

Context:   Assume I wanted to use RSA as the basis for a hash function or DRBG. Also assume that my construct would be insecure if someone were to have the private key. Is there any way generate the a usable public key to be used such that it is provably just as hard for me to generate the private key as it would be for anyone to do so?  I'm willing to take for granted:   the existence of a suitable source of nothing-up-my-sleeve numbers the availability of significant computational resources.     The best idea I've come up with would depend on the ability to prove a lower bound the the size of the smallest factor in a number (e.g.: an $N$-bit number where all factors are at least of size $N*0.49$-bits) with significantly less work than it takes to actually factor it. (That and the ability to find such numbers.)


My name is Tom and my friend's name is Anna.  Anna has a plan to go to Croatia in summer(she bought her flight tickets)  if I talk about her plans , is ''will'' or ''going to '' correct to use in the sentence?(when talking about someone else's plans)  A) Anna will fly to Croatia in summer.  B)Anna is going to fly to Croatia in summer.  if I talk about my planned actions 'going to' is used ,  EX;  I am going to fly to Croatia in summer (not I will.......)  which one (will or going to) is supposed to be used for the context above?


What is the equivalent of "cuckold" for women?

Well, the question is in the title.  I want to know what do you call a woman who has an unfaithful husband but chooses to ignore it.  I searched a word for it but could not succeed. I just do not understand that are there only unfaithful women? What about men?


Use the new Siri voices on macOS to render audio files from text

macOS now has a few newer voices that can be chosen in VoiceOver Utility > Speech. I quite like the Siri Male (United States) voice, but neither the command say nor using Automator will let me select this or any other Siri voices to use, only the older voices are supported. So far I can only use the voice with the hotkey to read out loud selected text. Is there a way to use those new voices to render text to audio files?


I have started a server in 1.5 and was wondering how to op myself. The /op <player> command does not work and in 1.4.7. I used to open up the ops.txt file but I cannot find it in 1.5. Can anyone help as this would be useful to teleport my friend to me.


Do we have binary dividers circuit in CISC computers?

Just like we have binary multipler circuit in cisc computer so do we have binary divider circuit in cisc computer? Or it is just like we use subtractor multiple time instead of having a real divider circuit? (Just like risc don't have multiplier circuit so it use adders circuit instead of multiplier circuit).


Measuring the overlap between two probability distribution

I have many probability distributions, I need to compute the amount of overlap between two probability distributions. I don't know the type of distribution since it really depends on the data itself.  My question is what appropriate approach that should I use for this case?


I am trying to add some JSON format as listing to a slide but I am getting the error:     Paragraph ended before \lst@next was complete.   How can I add a listing in the latex beamer?  code  \documentclass[xcolor=dvipsnames]{beamer}  \usepackage[utf8]{inputenc} \usepackage{listings} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usetheme{Antibes} \usecolortheme[named=Maroon]{structure}  \setbeamercovered{transparent}   \title{Test} \author{Alex XYZ} \institute{University XYZ} \date{20.01.16}    \begin{document} \beamertemplatenavigationsymbolsempty  \begin{frame} \titlepage \end{frame}  \begin{frame}{Service Provider - Request and Response}  \begin{lstlisting} {   "mac": "10:B5:S3:06:C6:E9",   "route":0,   "latitude":53.834588,    "longitude":10.704048,     "time":"12.09.2015 13:45:00",   "speed":3,   "direction":"",   "flag": "true" }   \end{lstlisting}  \end{frame}  \end{document}


Does EU family member need DATV (Transit Visa) in Heathrow, London?

I am an Indonesian passport holder living in France, married with a French citizen and have a Residence Card. Do I need DATV (Transit visa) in Heathrow, London for my 6 hours transit for my flight to Qatar? I will not have immigration clearing, just airside transit basically. Thank you for any answer and help.


Please help I get the following message below after trying to install synaptic....  perkins@perkins-HP-2000-Notebook-PC:~$ sudo apt-get install synaptic Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  synaptic : Depends: libapt-pkg4.12 (>= 0.9.11) but 0.8.16~exp12ubuntu10.16 is to be installed             Depends: libpango-1.0-0 (>= 1.14.0) but it is not installable             Recommends: rarian-compat but it is not going to be installed E: Unable to correct problems, you have held broken packages.


What is the proper way to insulate a cantilevered bay?

I have two areas of my house which are cantilevered. One is a bay area which extends about 2'. The other is the bottom of a fireplace box (gas fireplace). I have placed two layers of R-13 (I think) insulation in this area, but inside the house it's like a heat sink where all of the heat is sucked out ... very cold to the touch in the winter time. Obviously there must be a better way to insulate this area.  My question is, what is the best way to insulate a cantilevered area so as to allow the inside area of the house to not be so cold in the winter time?


In functional programming what is "currying"?

Writing as an unreconstructed imperative & OO programmer...  Have messed about with Erlang and also Haskell lately. I like Erlang, not sure yet about Haskell. Functional seems more like math than programming, hope that makes sense. Functional programming seems very powerful.  Reading docs on the interwibble wrt functional programming I come across the word 'currying' constantly. I seem to be finding only docs that are somewhat over my head - much terminology that is not defined.  What is currying?  I have looked for similar already posted questions but did not find anything, so feel free to point me to established thread.


"Stack Overflow" showing up on hamburger menu for all sites to link to /questions

Why does it say "Stack Overflow" instead of the site name?


The answer to tactical downvoting problem?

As we know, the tactical downvoting (I'm talking especially about SO, as I don't know about other sites) is more and more becoming a serious problem, as I see, the community can't stop this behavior without some sacrificing.  As a suggestion, I think it makes sense to prevent an answerer from downvoting any answer on the same question, this -sure- has a harm, but IMO, it's less harmful than the tactical downvoting issue, and to make the things a bit more easier, we can prevent an answerer from downvoting a question without posting a comment to that answer before.  And vice versa, if a user downvoted an answer, he shouldn't be able to post another one unless he posted a comment first, to prevent working-around that system, so a user can't downvote other answers before posting his own to avoid posting comments.  EDIT, more clarification: I don't say wrong answers shouldn't be downvoted, BUT if you want to downvote an answer and post your own, you'll have to post a comment, so we make sure you're not just downvoting right answers tactically.


Book with a concept about accepting a bribe

What I remember about this book is: I probably read it in the late '70s or anytime in the '80s. It's set in the future, I seem to remember there being multiple planets. The political situation is that things seem to have settled down: no great political agitation, everything just going along. There is a universal basic income, so lots of people just live off that, sit around watching TV etc. all day. A group of friends decide to start a new political party to shake things up and have some fun etc. It succeeds rather better than they had thought it would. One very specific issue is that they made a rule, right in the beginning, that they would accept bribes and make them part of the general fund. They go on to make a lot of money for their new party doing this.


Consider this Fibonacci equation: $$f_{n+1}^2 - f_nf_{n+2}$$  The problem asked to write a program with given n, output the the result of this equation. I could use the formula  $$f_n = \frac{(1+\sqrt{5})^n - ( 1 - \sqrt{5} )^n}{2^n\sqrt{5}}$$  However, from mathworld, I found this formula Cassini's identity  $$f_{n-1}f_{n+1} - f_{n}^2 = (-1)^n$$  So, I decided to play around with the equation above, and I have:  $$ \text{Let } x = n + 1 $$ $$ \text{then the equation above becomes } f_x^2 - f_{x-1}f_{x+1} $$ $$ \Rightarrow -( f_{x-1}f_{x+1}  - f_x^2 ) = -1(-1)^x = (-1)^{x+1} = (-1)^{n+1+1} = (-1)^{n+2}$$  So this equation either is 1 or -1. Am I in the right track?     Thanks, Chan


What is the story behind XPath and support for namespaces? Did XPath as a specification precede namespaces?  If I have a document where elements have been given a default namespace:   <foo xmlns="uri" />   It appears as though some of the XPath processor libraries won't recognize //foo because of the namespace whereas others will. The option my team has thought about is to add a namespace prefix using regular expressions to the XPath (you can add a namespace prefix via XmlNameTable) but this seems brittle since XPath is such a flexible language when it comes to node tests.  Is there a standard that applies to this?  My approach is a bit hackish but it seems to work fine; I remove the xmlns declaration with a search/replace and then apply XPath.  string readyForXpath = Regex.Replace(xmldocument, "xmlns=\".+\"", String.Empty );   Is that a fair approach or has anyone solved this differently?


As we know Arduino has non-official Snap which can access serial ports only if  (but not indicated in snap find output):  $ snap find arduino Name                  Version  Developer  Notes  Summary arduino-mhall119      1.8.5   mhall119   -      Arduino IDE   Arduino packages from repositories :     Package arduino  trusty (14.04LTS) (electronics): AVR development board IDE and built-in libraries [universe] 1:1.0.5+dfsg2-2: all xenial (16.04LTS) (electronics): AVR development board IDE and built-in libraries [universe] 2:1.0.5+dfsg2-4: all artful (electronics): AVR development board IDE and built-in libraries [universe] 2:1.0.5+dfsg2-4.1: all bionic (electronics): AVR development board IDE and built-in libraries [universe] 2:1.0.5+dfsg2-4.1: all    According to  site the latest version of Arduino IDE is 1.8.9.  One can download IDE from official site, extract and install it with install.sh. Then when newer version will be released repeat this action. But it looks difficult and not user-friendly.  How can I get latest Arduino IDE installed in user-friendly way?


Referring to this question   I'm curious about what is a amplitude of a light wave. Especially for light from a thermic source.


It has an old SiS based graphics chip with 64mb memory, there were never 3D drivers for them. Ubuntu 10.10 doesn't even boot on it and my laptop, a Lenovo N200 with intel 9something graphics 128mb so I'm really worried. Broadband prices don;t come cheap in South Africa so the download has to be worth it. I can wait for the shipment but I've since orderd 10.10 and it hasn't come, so I don't know if I'm barred from using that service since I've been sent a disc every release.


How Does Kylo Ren not stop Chewbacca's blaster?

How does Kylo Ren stop the blaster shot in the beginning when being shot at by Poe, only to be unaware of the coming blaster shot from Chewbacca, which seems much more predictable.   I am sure he knew Chewbacca, Rey and Finn where there as Chewbacca turns with the opening of the doors when Rey and Finn come in.  EDIT in regards to Richards Answer: I just want to expand a little more on question. What I don't understand is that Kylo Ren uses the force, so it is just not a matter him not hearing. When Poe shoots him from behind, he makes no sound, but yet he turns and stops the blaster and Poe. That has to be due to the power he commands in the Force.  And this is from Obi-Wan Kenobi:     "Well, the Force is what gives a Jedi his power. It's an energy field   created by all living things. It surrounds us and penetrates us; it   binds the galaxy together."―Obi-Wan Kenobi —   So it seems to me that it would be very hard for him even in a weakened state to not even notice that he was being shot at by virtue of the force being a part of Sith and Jedi's alike. Even if he was too weak to actually stop the blaster, the Force should have been able to warn him.


Torsion elements of a group aren't necessarily a subgroup

In a question from an exam in an undergraduate group theory course, we were asked to prove or disprove that the set of all Torsion elements of a group is necessarily a subgroup.  I knew that the set of Torsion elements is closed under the inverse operation, but was later told that it is not closed under multiplication, therefore disproving the claim. However, I couldn't find any examples of a group $G$ and two elements $a,b$ such that both $a$ and $b$ have a finite order, but $ab$ doesn't. I know that for this to happen $G$ must be an infinite and non-Abelian group, but still couldn't find a valid example.   What are some examples of groups/elements fulfilling the aforementioned property?


prove or disprove: For a prime number p, there is a positive integer n such that $p+1 $= $n^2$ if and only if $ p = 3.$

Prove or disprove: For a prime number p, there is a positive integer n such that $p+1 $= $n^2$ if and only if $ p = 3.$  first im trying to proof if p is prime number there is positive integer n such that $p+1=n^2$ implies $p=3$  suppose there is positive n integer such that $p+1=n^2$ and prove that $p=3$. $p=n^2-1=(n+1)(n-1)$ since $p$ is prime $n-1=1$,$ n = 2 $ $p+1=4$ $p=3$ hence it is proved that $p=3$  now if $p=3$ implies there is positive integer n such that $p+1=n^2 $  $p=3$ and p is prime  $p+1=n^2$, $4=n^2$, $n2$ or $n=-2$ hence it is proved that there is positive integer $n$ such that $p+1=n^2 $  is my proof correct? and also for prime number can i write $n+1=1$ instead $n-1=1$?


I'm trying trying to prove that an $n$-cycle in some symmetric group has order $n$, but I don't know where to start. Would appreciate some hints.


What is the difference between a Spear and a Trident?

The PHB states that a trident deals d6 piercing damage (d8 with two hands) and spear deals d6 piercing damage (d8 with two hands).  Trident can be thrown 20'-60' and spear can be thrown 20'-60'.  Trident weighs 4lb and spear weighs 3lb (more can be carried).  Spear costs 1gp and trident costs five times more (more can be bought).  So speaking logically one would not choose a trident over 5 spears. In my campaign never have I seen a man with a trident.


I am learning Java basic concept recently, when I tried some code samples about String.intern there was a weird thing happened. Code below:  Snippet 1(normal):  String str1 = new String("0") + new String("0"); str1.intern(); String str2 = "00"; assertTrue(str1 == str2); // pass assertTrue(str1.equals(str2)); // pass   Snippet 2(weird):  String str1 = new String("1") + new String("1"); str1.intern(); String str2 = "11"; assertTrue(str1 == str2); // fail; what happened??? assertTrue(str1.equals(str2)); // pass   Snippet 3(normal):  String str1 = new String("2") + new String("2"); str1.intern(); String str2 = "22"; assertTrue(str1 == str2); // pass assertTrue(str1.equals(str2)); // pass   So, I don't understand what happened about new String("1"), it's really really confused, I need your help, Thanks a lot!


Typesetting low-resolution text only - LaTeX

Having read  I have not managed to find any solution to my problem, so decided to make a new post. At first, consider the following code: \documentclass[11pt,a4paper]{article} \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage{amsmath,tikz} \title{\foreignlanguage{english}{On the explanation of my Problem}} \author{Μάρκος Βασίλης} \begin{document} \maketitle \section{\foreignlanguage{english}{Latin text}} \foreignlanguage{english}{Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text  Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text  Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text Latin text, 1} \section{Ελληνικό κείμενο} Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο  Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο Ελληνικό κείμενο  \section{\foreignlanguage{english}{Math}} \[\ln x\leq x-1,\ x>0\] \section{\foreignlanguage{english}{Tikz}} \begin{tikzpicture} \draw[thick] (0,0) circle (1cm); \draw[thick, draw=red] (0,0) circle (1.2cm); \end{tikzpicture} \end{document}  Now, when typeset, it gives the following result:  If we zoom a little bit on each paragraph we will see that, despite english, math and tikz content are diaplayed in the usual high resolution of LaTeX, greek text is as follows:  Also note that 2018, in the date section of the title appears in low-resolution but, when in latin, it is allright. So, how could I also have a greek text of equally high resolution? Note that I could typeset normally in the same resolution with my previous installation of MikTeX and, despite installing the same version (2.9), I got this problem, now (typeset with pdfLaTeX). So, any help would be pretty much appreciated! Thanks in beforehand!


I'm using sed to find and replace patterns within SAS files I have rather than changing them individually. The problem is I am trying to replace macro variables and when I use the ampersand it is not processing correctly.  Here's my code: sed -ie 's/user=&uid./user=&sysuserid./g' *_table_*.sas   whenever I run this command it seems to append and do all kinds of funky stuff with the original text.  Question: How do I replace text that contains ampersands with sed command?


I made a fire+smoke simulation as shown:  then when I render, it shows only the block of domain but I want to see fire in rendered view please help me how to fix it the screenshot of rendered view is:


Why does vertex Z have a degree of 5 in here?

There are only 4 edges to vertex Z, so why does it have a degree of 5?


I am getting no response to a question in Health.SE and someone suggested to post it in Biology.SE. What is the best way to proceed? Post both places? Shut down one, open the other?


Should the 24-hour timeout apply to bounties awarded for "exemplary answer"?

I was impressed by the effort that Ankur put into his answer to my question "", so I created a bounty so that I could award extra reputation as a way of thanking him for his help.  As the reason for my bounty, I specified, "One or more of the answers is exemplary and worthy of an additional bounty":    When I went to award the bounty, however, I noticed that I still have to wait 24 hours:    Is this really necessary, seeing as how I started the bounty specifically to award it to an existing answer?


if we happen to follow the bigbang singularity hypothesis, when he explosion occured shouldn't it expand in all directions. Seemingly our universe shouldn't have any boundaries. I searched for the question and found the post: it talks about balloon analogy. can anyone explain that in leyman language. Thanks. Just to sum it up Q1 Why cant our universe be spherical? Q2 What is balloon analogy?


Confusion about what exactly is meant by "Field"

Does the "field" in physics same as the "field" in mathematics? Which one those is more abstract in Nature?


rank of $A = (a_{ij}) \in \mathbb{R}^{n \times n}$ where $a_{ij} := i +j \quad \forall 1 \leq i, j \leq n$.

Let $n \in \mathbb{N}$ and $A = (a_{ij}) \in \mathbb{R}^{n \times n}$ where $a_{ij} := i +j \quad \forall 1 \leq i, j \leq n$. Find the rank of matrix $A$ and prove its value of every $n \in \mathbb{N}$.   $\begin{align} \operatorname{rank}( \begin{pmatrix}2   \end{pmatrix})&=1\\ \operatorname{rank}( \begin{pmatrix} 2 & 3 \\ 3 & 4 \\ \end{pmatrix})&=2\\ \operatorname{rank}( \begin{pmatrix} 2 & 3 & 4\\ 3 & 4 & 5\\ 4 & 5 & 6\\ \end{pmatrix})&=2\\ \operatorname{rank}( \begin{pmatrix} 2 & 3 & 4 & 5\\ 3 & 4 & 5 & 6\\ 4 & 5 & 6 & 7\\ 5 & 6 & 7 & 8\\ \end{pmatrix})&=2 \\ \operatorname{rank}( \begin{pmatrix} 2 & 3 & 4 & 5 & 6\\ 3 & 4 & 5 & 6 & 7\\ 4 & 5 & 6 & 7 & 8\\ 5 & 6 & 7 & 8 & 9\\ 6 & 7 & 8 & 9 & 10\\ \end{pmatrix})&=2 \\ \end{align}$  I have no idea how to start that task.  Thank you in advance for your help.


Maxwell in multiple dimensions: What happens to curl?

I read  a while ago, and while thinking about $\nabla$, I realized something. Since the cross product can be written as a determinant, in higher dimensions we require extra vector inputs. IIRC it's called the "wedge product" in higher dimensions.  Alright, how does this work when we generalize Maxwell to higher dimensions? Curl can be written (abuse of notation, yes) as a cross product with $\nabla$. But, to generalise it to higher dimensions, we need multiple inputs. We need something like $\nabla_4(\mathbf{B_1},\mathbf{B_2})$  in four dimensions, and so on. So we have two ways to get out of this: We can either use a different way to write curl in multiple dimensions (The  has stuff on this which I don't understand), or there are more than one $E$ and $B$ fields in higher dimensions.  So which is it? How are Maxwell's laws generalised to higher dimensions?  Just a note: I never understood the linked answer after the first sentence (didn't know enough), so if there's something obvious there that answers this question, I missed it. I know nothing of higher-dimensional analysis, so if complex notation is going to be unavoidable for the multiple dimensions, I'd be fine if you showed me what happens in four dimensions.


What does it mean that the product of two vectors produces real number?

I am going over inner product space.  I know that linear space has an inner product as long as it satisfies $4$ conditions.  And, the book says that for $x,y$ in $V$, there is a real number corresponding $(x,y)$     What does that mean?   For $\mathbb R^2$, where $x=(x_1,x_2)$, $y=(y_1,y_2)$, what is inner product of $(x,y)$, would it be $x_1y_1+x_2y_2$?


Switching from one area of graduate study to another?

Is it possible to switch from one area of graduate study to another in US universities? For example, suppose someone has enrolled in a computer science phd program. Can he switch over to math(or physics) phd program in the same school later?(or say from applied mathematics to pure mathematics?)  What are the steps for doing for doing that?


How do I put a footnote in the bibliography?

I want to have my footnotes look just like citations in the text, and to have their content contained in the bibliography, so the code in the body would look like:  ...blah blah\footnote{Incidentally, this question was first posed by Smith.}.   while the bibliography (which remains at the end of the article) would look like this:   J. Doe, Rev. Mod. Phys. 19 (1758) Incidentally, this question was first posed by Smith. J. Doe, Nature 27 (1086)   I realize this has to be a duplicate, but every similar question I could find was about putting a bibliography element in the footnotes, not a footnote in the bibliography.


LINQ orderby string with integer where 1,11,12,13 are not next to eachother?

I have the following list in a table  Name Server1 Server2 Server3 Server4 Server5 Server6 Server7 Server8 Server9 Server10 Server11 Server12   only problem is my linq satement orderby Name ascending puts them like the below  Server1 Server10 Server11 Server12 Server2 Server3 Server4 Server5 Server6 Server7 Server8 Server9   is there anyway to stop this?  Thanks


MKT Cloud Landing Page grab current user's email

I have browsed through SFDC documentation and am not seeing anything based around this functionality. Could anyone point me in the correct direction?  @LukasLunow actually, I'm looking for the user logged into marketing cloud, the page will be sort of an admin console


Hiding H1 from user but making it visible to search engines?

I have h1 tag in a page. I do not want to display it to user but want to make sure that its content will be used for SEO. What is recommended way of achieving it these days. I can think of:   in css: position absolute; left: -99999em; display: none; visibility: hidden; (even though it still exists in flow of document) remove h1 with javascript when page loads   As far as I know 1,2,3 will be easily detected by Google and penalised accordingly, is that right? Would 4 be the only option not resulting in being penalised? What other options are available and safe to use?  BTW I'm not trying to trick user or search engines in any way, it just happens that h1 is in a way and need to get rid of it.


Evaluating $\lim_{n\to \infty}\frac1{2n}\log\left({2n \choose n}\right)$

$$\lim_{n\to \infty}\frac1{2n}\log\left({2n \choose n}\right)$$  Now, $\log(n!) = \Theta (n\log(n))$ so I think we could write,   $$\lim_{n\to\infty}\frac{1}{2n}\left(\log\left(2n!\right) - \log\left(n!^2\right)\right) = \frac{1}{2n}\left(\log\left(2n!\right) - 2\log\left(n!\right)\right) $$  $$\lim_{n\to\infty}\frac{1}{2n}\left(2n\log\left(2n\right) - 2n\log\left(n\right)\right) $$  $$\log\left(2n\right) - \log\left(n\right) = \log(2)$$  Is this legitimate? I feel this might be wrong since, the $\Theta$ notation conceals a constant factor.


I'd like to know if it's possible to increase the thickness of a brace.  The code  \documentclass[oneside]{article}  \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}  \newcommand{\ve}{\textbf} \newcommand{\veu}{\ve u} \newcommand{\vev}{\ve v}  \begin{document}     \begin{equation}         \begin{cases}             q_1(\veu) \land q_1(\vev) &= \begin{vmatrix}                 u_2 & v_2\\                 u_3 & v_3             \end{vmatrix} = u_2v_3 - u_3v_2 = 0\\[1.5em]             q_2(\veu) \land q_2(\vev) &= \begin{vmatrix}                 u_1 & v_1\\                 u_3 & v_3             \end{vmatrix} = u_1v_3 - u_3v_1 = 0\\[1.5em]             q_3(\veu) \land q_3(\vev) &= \begin{vmatrix}                 u_1 & v_1\\                 u_3 & v_3             \end{vmatrix} = u_1v_3 - u_3v_1 = 0         \end{cases}     \end{equation} \end{document}   The result    I think the brace is a bit too thin, and I tried to replace cases with a manual \left\{ but that didn't work.


I've searched all of over SO but I haven't quite found exactly what I'm looking for because it's overly complicated.  I want to know why I'm getting this error (posted below).  My code seems logically correct but for reason I'm getting the null pointer exception.  Here's my HashTable.java file:  import java.util.*;  public class HashTable {     public static void lastFourDigitsStudent(Student s) {         LinkedList<Student>[] llStudent = new LinkedList[1000];          String a = s.getId().substring(4,8);         int lastFourDigits = Integer.parseInt(a);         int hashFunction = lastFourDigits % 1000;          llStudent[hashFunction].add(s);     } }   Here's the error I'm getting:  Type safety: The expression of type LinkedList[]  needs unchecked conversion to conform to LinkedList<Student>[]


Find angle of line along a circle's perimeter?

If I know coordinates of point $A$, coordinates of circle center $B$ and $r$ is the radius of the circle, is it possible to calculate the angle of the lines that are passing through point A that are also tangent to the circle?    $A$ is the green point, $B$ is the center of the red circle and I am trying to find out the angle of the blue lines.


Multiclass, minimum requirements obtained per object

According to the player's manual, a character with intelligence = 10 who wants to make a multiclass wizard needs to have a minimum of intelligence = 13. If in the course of an adventure you find an object that increases your intelligence to 19 while it is equipped, does it meet the requirements or are the requirements supposed to be without magic or alterations, minimum characteristic base? In chapter 6 of the player's manual that possibility is not mentioned or I have not found it.


How to show $\lceil ( \sqrt3 +1)^{2n}\rceil$ where $n \in \mathbb{ N}$ is divisible by $2^{n+1}$

Show that $ \left\lceil( \sqrt3 +1)^{2n}\right\rceil$ where $n \in  \mathbb{N}$ is divisible by $2^{n+1}$.     I wrote the binomial expansion of $ ( \sqrt3 +1)^{2n}$ and  $( \sqrt3 -1)^{2n}$ and then added them to confirm that the next integer is even. Afterwards I applied $AM \ge GM$ on the two terms to get $ ( \sqrt3 +1)^{2n} + ( \sqrt3 -1)^{2n} \ge (2^{n+1})$.  Now I'm unable to figure out the next step. Any help would be appreciated. :)


Apache mod_rewrite : RewriteRule to pass requests tomcat application

I am having difficulty defining a correct RewriteRule to forward requests to an application running in tomcat.  I have apache with mod_rewrite enabled as well as tomcat setup with an application mounted with mod_jk.  Without a virtual host, I can browse to the following url without issue. (context being the application running in tomcat)  http://www.domain.com/context   How do I configure the RewriteRule to pass requests from domain.com to the application running in tomcat.  http://www.domain.com --> http://www.domain.com/context   Here is what my current virtual host file looks like  <VirtualHost *:80>         ServerName www.domain.com          <Directory />                 Options FollowSymLinks                 AllowOverride None                 RewriteEngine On                 RewriteRule \/$ /context [L]         </Directory>          <Directory /var/www/html/context/>                 Options Indexes FollowSymLinks MultiViews                 AllowOverride None                 Order allow,deny                                                          allow from all                                                    </Directory>  </VirtualHost>   This will pass the request from domain.com to a directory named context in /var/www/html.  How do I override the default apache setup to pass the request to the application running in tomcat?  Thanks in advance for your help.


Overloading cin befriended to a class template

How should I declare and use overloaded istream and ostream? This is my code:  in .hh file:      template <typename TypWart> class matrix{     private:     bool poprawny;     int rozmiar;     TypWart *tab;     TypWart *wyniki;     TypWart *wyrazy;     wektor *z; public:     void alokuj();     void gauss();     TypWart rozwiaz();     void wypisz();     void zamien(int k, int l);     void sprawdz();     zespolona& operator[](int x){         return tab[x];     }     wektor pomnoz(wektor W, wektor A);     wektor odejm(wektor W, wektor A);     wektor przypisz();     //matrix skopiuj(matrix M);     wektor przypisz2();     //  wektor pierwiastek(wektor W);     wektor operator*(wektor W);     template <typename Typ>     friend istream& operator>>(istream& strm, matrix<Typ>& M);     template <typename Typ>     friend ostream& operator<<(ostream& strm, matrix<Typ>& M);      friend ostream& operator<<(ostream& strm, wektor W);  };   in .ccp file:  template <typename Typ>  istream& operator>>(istream& strm, matrix<Typ>& M){   int x,y;     //strm >> x >> y;     for(x=0; x<M.rozmiar; x++){       for(y=0; y<M.rozmiar; y++){             if(!(strm >> M.tab[y+(x*M.rozmiar)])) return strm;         }     }     for(x=0; x<M.rozmiar; x++) if(!(strm >> M.wyniki[x])) return strm;     return strm; }  template <typename Typ>  ostream& operator<<(ostream& strm, matrix<Typ>& M){   int x,y;     //strm << x << " " << y << endl;     for(x=0; x<M.rozmiar; x++){       for(y=0; y<M.rozmiar; y++){             strm << M.tab[y+(x*M.rozmiar)];             strm << " ";       }       strm << endl;     }     return strm; }   And the error I'm getting:   main.o: In function `main': main.cpp:(.text+0x24): undefined reference to `std::basic_istream<char, std::char_traits<char> >& operator>><zespolona>(std::basic_istream<char, std::char_traits<char> >&, matrix<zespolona>&)' collect2: ld returned 1 exit status make: *** [a.out] Error 1   I tried adding <> to the declaration in .hh file but it didn't work. How do I fix this?


When can a homomorphism be determined entirely by its generators

I read a text which says that:  Just because a homomorphism $ϕ :G  →  H$  is determined by the image of its generators does not mean that any such image will work.   e.g.: Suppose we try to define homomorphism $ϕ :Z_3  →  Z_4$  by $ϕ(1)=1$  , then we get $ϕ(0)=ϕ(1+1+1)=3$  which isn't possible as $ϕ(0)=0$.  Does there exist some case in which a homomorphism is entirely determined by its generators?


I occasionally see the participle "proven" in mathematical texts, instead of "proved". Of course I realize that this a deliberate archaism, but I wanted to know if this is still used in books or articles in the USA, and whether  a young American  would find the  form proven odd in 2012.    (I'm asking because I have a not completely finished project for an article that would end with: we have thus proven that the zeros of the zeta function are on the line...)


I'm using fouriernc font package, I saw that it has two different phi's. ϕ which is just $\phi$, but how do I get φ?


why would you ever put the resistor on the positive side

If a resistor is suppose to resist over current to the load through a cable in a series DC circuit then why would you ever place a resistor on the positive cable side instead of the negative cable side. I mean that's where all the electric current with it's electric energy (negatively charged electrons) is coming out of to power the load with electric energy to DO WORK, and in this case too much of it before reaching the load and destroying the load. If the electrons with their electric energy charge were coming out of the positive side I would understand, but they don't...or do they.  -the question is in the title.  Edit: I don't want to know if or how the electrons KNOW what to do at the resistor. I want to know why would you put a resistor on the cable that's on the positive red side of the battery that doesn't supply any electrical energy/voltage/force to the load it just accepts electrons back into the battery.


Make the dock show only the apps running in the current space

I'd like to have multiple spaces for different purposes, for example, one for work, and one for entertainment. However, I found out that in mac, even if you have different spaces in which different kinds of apps are running, the apps in the dock are just lumped together from all those spaces and look messy. It only seems sensible to me that boundaries are drawn between different spaces or else it's easy to be distracted by irrelevant things.  Also, I cannot use the default app switcher as it also cannot show the apps running in the current space only, plus the app order is constantly changing, and holding the shortcut key is simply tiring.  So, is there anything I can do to show only the apps running in the current space in the dock? Or maybe not necessarily the dock, but any kind of app switcher interface where I can switch between apps running in the current space. Thanks!


Ssh can't resolve host name, but the host command can?

I'm having some weird issue that I cannot understand (I'm trying to ssh to alexus and according to ssh it tells me it cannot resolve, yet when i use host to resolve it resolves w/out any issues:  mbp:~ alexus$ ssh -v alexus OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/alexus/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 53: Applying options for * ssh: Could not resolve hostname alexus: nodename nor servname provided, or not known mbp:~ alexus$ host alexus alexus.XXXXXXXXX.org is an alias for XXX.XXXXXXXXX.org. XXX.XXXXXXXXX.org has address 10.XX.XXX.XXX mbp:~ alexus$   How do I troubleshoot this issue?


How do we know if quantum black holes were made in the LHC?

CERN claims that there's a possibility of formation of tiny 'quantum' black holes inside the LHC. So, if that ever happens (or have already happened), will the observers ever know about it? Can in any way a quantum black hole be visible within the LHC?


doing a large scale project but my View is Locked

i  need the edges of the plane to stop dissappearing when i rotate/scale can anyone help, the plane is very large kms


Function for the sequence $0,0,1,0,0,1,...$

I know the function $1+(-1)^n\over2$ generates the binary sequence, so I was curious about what would generate the "ternary sequence."


ArcGIS network analyst load locations is very slow

I have been using a location allocation model for several months now, with no issue. The load location feature is extremely slow, minutes for 1 point.   There is a spatial index and i have deleted and updated them several times. I have tried older versions and used older (faster) networks. All to no success.  I have seen this question and answer:    Is there anything else to be done?


What is the "rootless" feature in El Capitan, really?

I have just learned about the "Rootless" feature in El Capitan, and I am hearing things like "There is no root user", "Nothing can modify /System" and "The world will end because we can't get root".  What is the "Rootless" feature of El Capitan at a technical level? What does it actually mean for the user experience and the developer experience? Will sudo -s still work, and, if so, how will the experience of using a shell as root change?


There is a significant 3-way interaction in a data-set I'm working with.  The interaction involves both categorical and quantitative variables.  I have been pointed towards simple slopes and this  but I find the explanations lacking. I only have a basic background in statistics, and Googling for other examples has not been very helpful.   Any insight as to how to begin to understand this interaction will be very welcome, especially using R rather than SPSS. Thank you very much in advance, from a lower-year college student who has suddenly found himself over his head!


Successfully activated Administrator user on Windows 10 Home, but still asks me permission from administrator

Now I'm completely fazed.  I don't understand why Windows 10 is complaining about administrator permissions.  A while ago I was annoyed about how this fonts folder could not be deleted, asking permissions. So naturally I found about how Windows 10 (Home ed) was hindering me from making any changes to my computer, and I activated the hidden administrator user. That was yesterday.  And shazam, the fonts folder won't let itself be deleted. With this very administrator account I remember myself being able to hold success in seeking its bane, and now it's lingering to my computer like some virus.  Win 10 Home, ver. 1511.


Is it possible to maintain the last image of the baked fluid simulation as a still?

I made a fluid simulation for fog (frame 1 to 10), and I want the fog to remain as it is at frame 10. I'm animating something else in the file until frame 260, but I want the fog to remain as it as in frame 10 without baking it all the way to 260. The fog still shows in the rest of the frames in the viewport shading, however in the renderings (Cycles) it only shows up until frame 10, then it disappears. How can I "freeze" the fog at frame 10 until the end (260) without baking it all the way? Thanks!


Why doesn't this magnetic perpetual motion machine work?

I know that this machine does not work, via thermodynamics. I am asking for an analysis in terms of mechanics and magnetism.  Anyway, so here is the machine:   (source: )    The magnet (the red ball) pull the ball up the ramp, and then it drops the ball through the hole, which then rolls down, and go ups the ramp again. Thermodynamics shows that this can not work.  From a mechanics and magnetism perspective, what happens when you do this, and why can't it happen?  I have a source saying that it would work if it were frictionless and we didn't try to extract energy from it (), so in a certain sense, it is very close to possible (they didn't provide a full analysis though.)  Another Image:


What is the running temperature of a 100w bulb if it's resistance while on is 50 ohms and the mains voltage is 240 V RMS.


Small \sum character using beamerposter and lmodern

I'm using the beamerposter package but I have a problem with one equation:  \begin{equation}     P_\tau = pm_0 + \sum_{x=1}^{X} mr_{\tau,Lx} \cdot pm_{Lx} \end{equation}   which appears like that:    The problem is obviously the size of the \sum.  The package include:  \usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}   Please tell me if you need more information.  Edit: This problem appears when using \RequirePackage{lmodern} but without it, my fonts are ugly.


Combinatorial proof of a Stirling number identity.

Consider the identity $$\sum_{k=0}^n (-1)^kk!{n \brace k} = (-1)^n$$ where ${n\brace k}$ is a Stirling number of the second kind. This is slightly reminiscent of the binomial identity $$\sum_{k=0}^n(-1)^k\binom{n}{k} = 0$$ which essentially states that the number of even subsets of a set is equal to the number of odd subsets.   Now there is an easy proof of the binomial identity using symmetric differences to biject between even and odd subsets. I am wondering if there is an analogous combinatorial interpretation for the Stirling numbers. The term $k!{n\brace k}$ counts the number of set partitions of an $n$ element set into $k$ ordered parts. Perhaps there is something relating odd ordered partitions with even ordered partitions?  As an added note, there is a similar identity $$\sum_{k=1}^n(-1)^k(k-1)!{n\brace k}=0$$ A combinatorial interpretation of this one would also be appreciated.


What word describes someone who never acts thoughtful but blames others for not being thoughtful

I have a friend who always expects you to be fully understanding, considerate and thoughtful, but when you expect her to behave in the same way, she says you are too picky, a drama queen, and not being thoughtful by asking her to be thoughtful because she is either busy or stressed.  Is there a word that describes this type of behavior or person?


Uninstalling Ubuntu 16.04 and recovering Windows bootloader

I have Windows 10 and Ubuntu 16.04 (I did a UEFI install ) How can i uninstall ubuntu, delete GRUB and recover the stock windows boot loader ?


Fetched 6.135 kB in 19s (321 kB/s)                                                  Reading package lists... Done     E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/dep11/Components-amd64.yml.xz  Hash Sum mismatch     E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/dep11/icons-64x64.tar.gz       E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/dep11/Components-amd64.yml.xz       E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/dep11/icons-64x64.tar.gz       E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-updates/multiverse/dep11/Components-amd64.yml.xz       E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/Components-amd64.yml.xz  Hash Sum mismatch     E: Failed to fetch http://ar.archive.ubuntu.com/ubuntu/dists/xenial-backports/universe/dep11/Components-amd64.yml.xz       E: Some index files failed to download. They have been ignored, or old ones used instead.


When adding another Google login, user should get routed to Google Multi-Login screen

I went ahead and added my work account to my personal account's   chrome session and then revisited the google auth link from my main SO   account, and this time it gave me the 2 options, and I successfully   added it. However, I don't think it should work this way! You should   get that screen that either allows you to select an existing logged-in   account, or add a new one.      @RudyOnRails Yeah, I agree. Looks like there's a parameter we can pass   along for that, though I'm not sure off the top of my head how much   work it'd be for us to start doing that for the "add login" path.   Could you do me a favor and write up a quick feature-request for this   so we can track it easier? Thanks! – Adam Lear♦ 20 hours ago


Biblatex citation problem - disambiguate by year only

I am trying to switch to biber from bibtex8 and I really need the apalike settings.   I am calling   \usepackage[ uniquename=false, maxcitenames=2,  mincitenames=1, maxitems=2, minitems=1, natbib=true, url=false, doi=false, isbn=false, eprint=false, backref=true, backend=biber, style=authoryear-comp, ]{biblatex}   and I get correct citations in the text like: Bateman and Langford (1997)  but then I get  Bateman, Langford, et al. (2000) Bateman, Day, et al. (2006) Bateman, Mace, et al. (2011)  and these are wrong. I am getting extremely frustrated since the maximum number of authors set is 2 and that should reduce to 1 + et al. I think what is happening is that it is saying Bateman has many papers (which he does) and it must separate them based on authors. What is should read is this:  Bateman et al. (2000) Bateman et al. (2006) Bateman et al. (2011)  and if there are muliples it should read Bateman et al. (2000) Bateman et al. (2000a)  while in a block I would expect (Bateman et al. 2000, 2000a)  Is there an apalike set of settings which will produce the exact (and quite correct) output that I got from bibtex+apalike using biblatex and biber?


Is there any world-wide ranking of conferences/journals?

I know it's rather difficult to establish a ranking of publications, especially because the ones in charge of establishing values for venues might be biased by their field, and several other aspects. However, I know some well-accepted (at least locally) ranking, that consider all fields under research, e.g.  - in portuguese - that includes both confs and journals, and  - this latter has served as baseline for some class A conferences in Computer Science (my research field), in some countries other than Australia.   Hence, I wonder about the existence of another "global ranking", that has been applied overseas, thus including at least the most prominent events and journals in every field. For journals, it's a little bit easier to measure its importance, by looking at their Impact Factor values, but for conferences it's a little bit tough. To the best of my knowledge, I don't know a largely-applied means of measuring the impact of a conf.  I'd like to hear from you. Thanks in advance.


Save current terminal scrollback to file

I have been looking for an answer to this and not finding anything which makes me think it's not possible but ... Is it possible to save the current Gnome Terminal scrollback buffer to a file? I know that I can do something like command > output.txt to redirect all output to a file, or command | tee output.txt to split the output to the terminal as well as to a file. What I am trying to do is capture this after the fact. I'd like to save the current terminal tab's scrollback contents to a file.


For a neutral Carbon Atom, the electron (ground) configuration is $1s^2$$2s^2$$2p^2$.  I am told that the term symbols $^{3}S_{1}$ and $^{3}D_{1,2,3}$ are forbidden by Pauli Exclusion Principle.  May I ask why is this the case?


When I search for the following in meta:  intitle:1 should   I get results with the word should in the question title, but I also get results that don't have should in the title.  intitle:1 "should" or intitle:1 +should  I get no results. Anyone know how you get only results with a certain word in the title?  Related:


Calculate Difference In Time Over Several Days

I've seen many questions and examples showing how to calculate the difference in two times by converting the times to epoch, and then converting the difference in seconds... However, what is the best way to calculate the difference in time that may span over several days in a $DAY days, $HOUR, hour(s), $MIN minute(s), and $SEC second(s)?  For my purpose, I'm using the date format, date +"%m/%d/%y %T" (08/17/18 09:03:31).  Let's say my first date is 08/15/18 16:22:05, and the second is 08/17/18 09:03:31. How can I calculate the difference by echoing "The difference is 1 day(s), 16, hours, 41 minutes, and 26 seconds."  But also, with the same script, how can it recognize if the time difference is less than a day to not report "The difference is 0 day..."?  EDIT: I have a mostly working script below, however, there's a lot going on in order to preserve proper formatting. Everything seems to work aside from the appropriate spaces and commas depending on if a value equals zero...  The idea is that it should format it with "and" in the appropriate spot when removing values that equal "0"...  So, all values:     02:05:23:44     2 days, 5 hours, 23 minutes, and 44 seconds  No hours:     02:00:23:44     2 days, 23 minutes, and 44 seconds  No seconds:     02:05:23:00     2 days, 5 hours, and 23 seconds  I had it so close awhile ago, but with certain readings, it'd break. Any help on formatting how I'd like? The script is also a long-mess... Any help cleaning it up would be nice. I'd like to see how to make it more efficient.  #!/bin/bash TIME1="08/17/2018 11:36:40" TIME2="08/17/2018 12:37:41" SEC1=`date +%s -d "${TIME1}"` SEC2=`date +%s -d "${TIME2}"` DIFF=`expr ${SEC2} - ${SEC1}`  CONVERTTIME() {   ((d=${1}/86400))   ((h=(${1}%86400)/3600))   ((m=(${1}%3600)/60))   ((s=${1}%60))    #DAYS   if [ $d -eq 1 ]; then     DAYLABEL=day   else     DAYLABEL=days   fi   DAYCOMMA=", "   if [[ $d -gt 0 || $h && $m && $s -eq 0 ]]; then     DAYCOMMA=""   fi   DAYTEXT="$d $DAYLABEL$DAYCOMMA"   if [ $d -eq 0 ]; then     DAYTEXT=   else     if [ $h -eq 0 ]; then       DAYTEXT="$d $DAYLABEL$DAYCOMMA"     fi   fi   #HOURS   if [ $h -eq 1 ]; then     HOURLABEL=hour   else     HOURLABEL=hours   fi   HOURCOMMA=", "   if [[ $h -gt 0 || $m && $s -eq 0 ]]; then     HOURCOMMA=""   fi   HOURTEXT="$h $HOURLABEL$HOURCOMMA"   if [ $h -eq 0 ]; then     HOURTEXT=""   else     if [ $m -eq 0 ]; then       HOURTEXT="$h $HOURLABEL$HOURCOMMA"     fi   fi   #MINUTES   if [ $m -eq 1 ]; then     MINLABEL=minute   else     MINLABEL=minutes   fi   MINCOMMA=", "   if [[ $m -gt 0 || $s -eq 0 ]]; then     MINCOMMA=""   fi     MINTEXT="$m $MINLABEL$MINCOMMA"   if [ $m -eq 0 ]; then     MINTEXT=""   else     if [ $s -eq 0 ]; then       MINTEXT="$d $MINLABEL$MINCOMMA"     fi   fi   #SECONDS   if [ $s -eq 1 ]; then     SECLABEL=second   else     SECLABEL=seconds   fi   SECTEXT="$s $SECLABEL"   if [ $s -eq 0 ]; then     SECTEXT=""   fi    ANDHOUR=   ANDMIN=   ANDSEC=   if [[ $d && $h && $m && $s -gt 0 || $d && $h && $s -gt 0 || $d && $m && $s -gt 0 || $h && $m && $s -gt 0 || $d && $s -gt 0 || $h && $s -gt 0 || $m && $s -gt 0 ]]; then     ANDSEC="and "   else     #days hours AND minutes     #days AND minutes     #hours AND minutes     if [[ $d && $h && $m -gt 0 || $d && $m -gt 0 || $h && $m -gt 0 ]]; then       ANDMIN="and "       else       #days AND hours       if [[ $d && $h -gt 0 ]]; then         ANDHOUR="and "       fi     fi     fi   echo -e "$DAYTEXT$ANDHOUR$HOURTEXT$ANDMIN$MINTEXT$ANDSEC$SECTEXT" } echo echo "TIME DIFFERENCE: $(CONVERTTIME $DIFF)" echo


generalized inequalities defined by proper cones

The generalized inequality defined by a proper cone $K$ is that $x \ge_{K} y$ if $x-y \in K$ for $x,y \in K$. Does this means that for any $x \in K$, we have $x \ge_{K} 0$ since $x - 0 = x \in K$ ?  EDIT: My definitions of cones and proper cones follow the ones in "" by S. Boyd, in which 0 is contained in cones. On page 53 of the book, there is a statement about generalized inequalities:  $x \le_{K} y$ if and only if $\lambda^T x \le \lambda^T y$ for all $\lambda \ge_{K^*} 0$  where $K^*$ is the dual cone of the proper cone $K$, so $K^*$ is also a proper cone.  The reason I ask this question is that if for any $\lambda \in K^*$, we have $\lambda \ge_{K^*} 0$, why not just using $\lambda \in K^*$ instead of $\lambda \ge_{K^*} 0$ in the above statement?


change screen resolution with AppleScript

How can I change change screen resolution using AppleScript? If AppleScript can't do it, what about Terminal?  I tried with examples at , but they don't work anymore. I'm on MacBookPro Retina.  This is how the script definitively should start:      tell application "System Preferences"         activate         reveal anchor "displaysDisplayTab" of pane id "com.apple.preference.displays"     end tell     tell application "System Events"         tell application process "System Preferences"           -- insert magic         end tell     end tell   Now I just need to click on "Scaled" and select different display resolutions, but I don't know how these buttons are "called".


Symbolic power of a prime ideal is primary

Let $A$ be a commutative ring, $S$ a multiplicatively closed subset of $A$. For any ideal $\mathfrak a$, let $S(\mathfrak a)$ denote the inverse image of $S^{−1}\mathfrak a$ under the localization map $\varphi: A → S^{−1}A$. We denote $\mathfrak p^{(n)}:= S_{\mathfrak p}(\mathfrak p^n)$ where $S_{\mathfrak p}:= A \setminus\mathfrak p$.      Prove that $\mathfrak p^{(n)} $ is a $\mathfrak p$-primary ideal, and if $\mathfrak p^n$ has a primary decomposition, then $\mathfrak p^{(n)}$ is a $\mathfrak p$-primary component. (Atiyah and Macdonald, Introduction to Commutative Algebra, Chapter 4, Exercise 13 i) and ii).)   My approach: to prove that $\mathfrak p^{(n)}: = \varphi^{-1}(S_{\mathfrak p}^{-1}\mathfrak p^n)$ is primary. Let $xy \in \mathfrak p^{(n)}, x \notin \mathfrak p^{(n)} $. I need to show that there exists an $m\in \mathbb{N}$ such that $y^m \in \mathfrak p^{(n)}$. From $xy \in \mathfrak p^{(n)}, x \notin \mathfrak p^{(n)}$ it follows $\varphi(x)\varphi(y) \in S_{\mathfrak p}^{-1}\mathfrak p^n, \varphi(x) \notin S_{\mathfrak p}^{-1}\mathfrak p^n$. At this step I do not know how to show that $\exists m\in \mathbb{N}$ s.t. $\varphi(y)^m \in S_{\mathfrak p}^{-1}\mathfrak p^n$.  Please give me some hints. Many thanks


How do I associate a shortcut key combination to a macro in Word 2007?

I've created a macro that inserts a reference to a table When I did the macro, I configured the access to this macro through a button. But, now I want to change it to use the keyboard instead of icons. Does anyone know how to change from icon to a keyboard access?


Was there a Parselmouth before Salazar Slytherin?

Was Salazar Slytherin the first Parselmouth, or did somebody else use it before him?  I’ve read the books, but I can’t find any examples.


If a die is rolled 10 times. What is the probability that the sum of the results is less than or equal to 20?  I was trying to solve this using something like $P(X_1 + X_2 + ....+X_{10} \le 20)$ but was not able to proceed. And, if I try to work out individual cases, it will take a lot of time.


Be $n\in\mathbb{N}_0$ .  This is a simple formula but not obviously :  $$\sum\limits_{k=0}^{\lfloor{n/2}\rfloor}(-1)^k\binom{n-k}{k}=\frac{2}{3}\left(\cos\frac{\pi(n-1)}{3}+\cos\frac{\pi n}{3}\right)$$    Can be found a short proof for that ?


(a / b) % c = ((a % c) * (b^{-1} % c)) % c   How to calculate b^{-1}? I know it is not 1/b. Is there more than one way to calculate this?


Why string or object type don't support nullable reference type?

Look into following code block:                  //Declaring nullable variables. //Valid for int, char, long... Nullable<int> _intVar; Nullable<char> _charVar;  //trying to declare nullable string/object variables //gives compile time error.  Nullable<string> _stringVar; Nullable<object> _objVar;   While compiling code compiler gives following error message:       The type 'string'/'object' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable'   I read it several times but still unable to understand. Can anyone clarify this? Why object or string dont support nullable reference type?


I need a step-by-step guide to navigating directories in Terminal

I am a Linux/Ubuntu Noob and I have Saucy Salamander. Lately I installed the Android tablet emulator for Ubuntu using VirtualBox from the software center. I followed all the steps listed  but when I got down to the section where it says  "AndroVMplayer  The AndroVMplayer is a software used to display the VM content and manage its events. It won’t work if the VM is not running ! Open a command line interpreter, get to the AndroVMplayer directory, and type : AndroVMplayer [width] [height] [density]"  I have no clue how to navigate directories. Every place I go, it seems they expect people to just know this. I would like a step-by-step guide explaining each step to navigating to that particular directory. Somebody please help?


i have a CIDR range in this regex ^5\.188\.62\.([1-9]?\d|[12]\d\d)$  I am able to confirm matching values using  Now i am testing some code and i am using the following as a sample to test matches  var='^5\.188\.62\.111';[[ $var =~ '^5\.188\.62\.([1-9]?\d|[12]\d\d)$' ]] && echo yes || echo no  In final, i am not able to get it working. Any tip to solve? Thanks


Keyboard shortcut to show/hide keyboard visualizer?

Is there a keyboard shortcut to show/hide the keyboard visualizer?  I usually access it using the input-method icon in the top-right corner then select "show keyboard visualizer" but I don't know how to do it without the mouse


Expected value of X given Y is less than some constant

Here is the problem I'm trying to work out: Let $v_b,v_s$ be jointly normally distributed random variables with pdf $f(v_b,v_s)$. I want to work out $E[v_b|v_s\leq\pi]$ for some constant $\pi$. Here is what I tried: $$E[v_b|v_s\leq\pi]=\frac{1}{F_{v_s}(\pi)}\int_{-\infty}^{\infty}v_bf_{v_b|v_s\leq\pi}dv_b=\frac{1}{F_{v_s}(\pi)}\int_{-\infty}^{\infty}v_b\frac{f_{v_b}}{F_{v_s}(\pi)}dv_b=\frac{1}{F_{v_s}(\pi)^2}E[v_b]$$ However, I'm not sure I should be integrating from $-\infty$ to $\infty$. Is this correct?


If $f: \mathbb{R}^2 \to \mathbb{R}$ is polynomial in each argument, $f$ is polynomial

Given $f: \mathbb{R}^2 \to \mathbb{R}$ such that for all real $y$, $t \mapsto f(t,y)$ is a polynomial function and for all real $x$, $t \mapsto f(x,t)$ is a polynomial function, is it necessarily true that $(x,y) \mapsto f(x,y)$ is a polynomial function?


Is there a way to view tags with no definitions?

I'm fairly active on UX StackExchange and have noticed a lot of tags on the site with no definition.  I'd like to volunteer to clean up some of this, but I can't find a decent way to query tags with no definitions on ux.stackexchange.com  Is this a view available to users?  I've tried  and  on stackexchange meta but haven't found an answer.  thanks?


Why can you not find the probability of a specific value for the normal distribution?

I am learning about the normal distribution and was watching . At 6:28, the question imposed is what is the probability of an ice-cream weighing exactly 120 grams (using the normal distribution). She states that the answer to this is zero, as the probability of any exact value is zero in a normal distribution. She then states that there are infinitely many weights from 199.9 to 120.1, and that the probability of any specific weight is 1 over infinity, which is zero.  I am a bit confused about this. Why is the probability one over infinity for a specific value, like at 120? She then states that an ice cream could weight 120 grams or 120.000001 grams; how is that related to the probability of a specific point being zero?


Does a maximal ideal of $\mathbb{Z}[X,Y]$ contain a prime number?

Let $\mathfrak{m}$ be a maximal ideal of $\mathbb{Z}[X,Y]$. Then does $\mathfrak{m}$ contain a prime number?  I think that for a prime ideal $\mathfrak{p} = (f_1, \dots, f_m)$ and a prime number $p$ which divides no coefficients of $f_i$. But I can't show it.


Number of orbits for the action of Galois group G.

Let G be the Galois group of a field with nine elements over its subfield with three elements. Then find the number of orbits for the action of G on the field with 9 elements.


Alternatives to point discussion type questions to

I am somewhat new to Stack Exchange, but one thing I have noticed is that the policy of not allowing discussion type questions is a very good idea. It helps keep Stack Exchange sites focused and to the point.  At the same time however, many times I have questions come up that require discussion. Something like "Which programming language should I learn first" is not appropriate for Stack Overflow, but could get a reasonably helpful answer on other forums like DreamInCode.net, Programming Forums, or maybe even Reddit. It seems like it would be more efficient to create a list of forums that we can redirect users with these sorts of questions to.   For example, instead of simply closing the example question above about a first programming language, could it be closed with something like "Stack Overflow is not a site for discussion based questions, but you can try asking about it on <'better-alternative-website'>"?  As far as the idea suggested in , the idea would be similar, but instead of creating an alternative on Stack Exchange itself, questions closed as not constructive could include a "suggested place to ask" link, which would be specific to each Stack Exchange site (Raspberry Pi Stack Exchange redirects to the Raspberry Pi forums, Arduino to Arduino forums, etc.)


Java: Cant assign values to an instance variable in a condition statement inside a loop

I have a set of 'instance' 'variables' and i want to assign it values inside a 'loop'. The 'loop splits' a 'string' into an 'array', does a type check and assigns its values to individual instance variables 'declared' in the class. This is how the code looks like:  /******* PROCESSING THE XFILES PARAMTER TO GET THE STRINGS ***********/         if(xfileCount>0){             // Setting variable             String[] xFileSplit;             String xfName="";             String xfValue="";             int counti=0;             // We start processing             for(String fileData:xfileArray){                 // WE FURTHER BREAK X FILES                 xFileSplit=fileData.split(":");                 // Now lets get values                 xfName=xFileSplit[0];                 xfValue=xFileSplit[1];                 counti++;                 System.out.println(counti);                 // NOW LETS CHECK TO ASSIGN                 if(xfName=="indexDir"){                     // Assign values                     indexPath=xfValue;                 }                 else if(xfName=="docDir"){                     // Assign values                     docPath=xfValue;                 }                 else if(xfName=="nio"){                     // Assign values                     nio=Integer.parseInt(xfValue);                 }              } // End of loop         } // End of count check   The problem is that in looping the string array to assign values to individual instance variables, i keep getting null for the string type and 0 for the integer type and this is because the values wasn't assigned to the public variables in the loop. Please i need a help with this, if any any body has ran into this kind of issue.


Why I can't scan the Whatsapp QR?   I reinstalled WhatsApp  I already have the WhatsApp Web Option  I put it to scan but it just doesn't scan it. I Installed a QR Scanner app and it works perfectly. I uninstalled the QR Scanner app to see if that was the issue and still doesn't work.   My phone is a Samsung Galaxy Ace.


Install Ubuntu on a laptop with a pre-installed Windows 8

I ordered an xps 15 l521x laptop.  It's embedded with a 500 go hardrive + a 32 go ssd m-sata. Windows 8 is pre-installed.  I'd like to install Ubuntu on to this laptop while retaining the pre-installed Windows. I suppose that the SSD is already used by Windows.  I'd need to partition the SSD to install the Ubuntu on it too (only the '/' dir, '/home' and '/tmp' would go to the classical HDD)  Do you see any difficulties on doing it?


I need to find the remainder when $2222^{5555} + 5555^{2222}$ is divided by $7$. I'm thinking that Fermat's Little Theorem might help. Any suggestions?


At unique critical point, does local max imply global max?

Let $f:(a,b)\to\mathbb{R}$ be a continuous function with continuous derivative. Suppose $f$ has a unique critical point $x_0\in (a,b)$. If $f$ has a local maximum at $x_0$, then $f$ must have a global maximum at $x_0$. Intuitively, if $f$ had a global maximum somewhere else, the graph would have to turn around, leading to a second critical point.  I would like to know if a similar results holds in two dimensions.     Does there exist a connected open subset $U\subset\mathbb{R}^2$ and a function $f:U\to\mathbb{R}$ with continuous first partial derivatives, such that $f$ has a unique critical point $u_0\in U$, which is a local maximum but not a global maximum?


"Disciple" hat is missing in the earned hat list

I've earned the "Disciple" hat today (17/12/2020), but, when I check the hats I got so far, the "Disciple" is not shown in the earned hat list - even if the user has the "Disciple" on.  - where I earned the "Disciple" hat.  - just found at random that has the same "Disciple" but, it's not shown in their earned hat list. Is this a bug?


I have device with one PCB with 6 parallel LEDs (30mA and 3.8V forward voltage each). This very small PCB is connected via 2 vires to main PCB where 555 timer is generating PWM signal based on voltage input (potentiometer). Everything is supplied with 5V DC. And now's question:  It's better to add resistor for each LED or lower voltage to 3.8V on main PCB (with voltage divider maybe)?  Also, on LEDs PBC I have space only for 0603 resistors, which power is lower than LEDs power.  Thanks for help :)


Returning a const reference to an object instead of a copy

Whilst refactoring some code I came across some getter methods that returns a std::string.  Something like this for example:  class foo { private:     std::string name_; public:     std::string name()     {         return name_;     } };   Surely the getter would be better returning a const std::string&?  The current method is returning a copy which isn't as efficient.  Would returning a const reference instead cause any problems?


Why is PostgreSQL 9.5 not using my newest index for ORDER BY, even though it uses similar indices just fine?

(Follow up from this post: )    PostgreSQL 9.5.  I can't divulge full details, but table has 22 columns and 5 indexes:   primary key ('pk'), text (btree) another text (btree) a timestamp with time zone (btree) a tsvector (gin) my latest one, a bigint (btree)   (From the previous post you know that I was trying to avoid creating this additional column, and just use an expression index--adding two integer columns together--without success.  The bigint column here probably could have been just 'integer' but I made a mistake creating it; it took about an hour to add the column, populate it, and reindex, so I'm hoping this isn't relevant but mentioning it just in case it is.)  All are btree except the tsvector.  The following queries all take only 12ms and use just an Index Scan:   SELECT pk FROM table ORDER BY pk DESC LIMIT 10 SELECT pk FROM table ORDER BY text_column DESC LIMIT 10 SELECT pk FROM table ORDER BY timestamp_column DESC LIMIT 10   But if I try to use my new bigint index for ORDER BY:  SELECT pk FROM table ORDER BY bigint_column DESC LIMIT 10  ...it takes 2.7s and uses Limit -> Sort -> Seq Scan.  My "cheating" method is the closest I seem to be able to get to making use of the index:  SELECT pk FROM table WHERE bigint_column > 1000000 ORDER BY bigint_column DESC LIMIT 10   This takes 12ms and uses Limit -> Sort -> Bitmap Heap Scan (bigint_column > 1000000) -> Bitmap Index Scan (bigint_column > 1000000).  This is after a VACUUM ANALYZE after adding the index.  I thought it strange that my expression index was not being used in the other question.  Now it's just a plain old column (I haven't even added what would be the necessary triggers to actually go this route.)  Why isn't my newest index being used, when the other three work "just fine"?  (As pointed out in the comments at  , an Index-Only Scan would be even better.  I fail to see why all of these queries wouldn't use at least an Index Scan, let alone an Index-Only Scan, instead of a full Seq Scan.)  The index definition has DESC NULLS LAST (although it's a non-nullable column.)


How do I set Thunar as my default file manager in 15.04?

I would like to set Thunar as my default file manager in 15.04. Now, I realize that this question is very similar to , but I have tried , why I even tried rebooting after I completed his suggestion but still Nautilus is used as my default File Manager. I even tried the , Midnight Commander and Manual solutions recommended on the Community Help Wiki. Not one changed Thunar to my default file manager.   I was curious as to whether exo could change my default file manager at all, say to dolphin (as I also saw  and ) but that also failed. Something tells me that this issue affects not just me but other users too, specifically 15.04 users, as Ubuntuuser reported in the comments that he could not set dolphin as his default file manager via exo either.   If you would like to know how I am checking whether these file managers are set to default, well I open folders on my desktop by double-clicking them to see whether they're opened in these alternative file managers or not and as a second test I also try to save files in Chrome to see whether the file manager window that pops up is the one I want.   If relevant I am running Unity as my Desktop Environment.


Looking for good references on Neural Networks (math for learning algorithms)

I'm looking for a book that in detail covers the mathematical basis for different learning algorithms in order to better guide my intuition on what is difficult. My background is a Math Ph.D., but I'm fairly new to the NN area having mostly done some small-scale networks for simple problems as well as done some courses on Coursera/Udacity.  I'd like to understand in detail why it's difficult to do learning for certain types of NNs and what the mathematical basis of that is in order to better guide my intuition when designing networks. I know about Bishop's Neural Network for Pattern Recognition as well as Hassoun's Fundamentals of Artificial Neural Networks. However, these are fairly old, so they seems to not mention things like RNNs as there's been a whole lot of development in the field since.  Does anyone have any recommendations? If no books cover this, I wouldn't mind digging into papers covering the most important advances in the area. I'm trying to work myself up to the level of a grad student in the area. I started going to a seminar series organized by one of the top departments, which is almost next door, but there's a whole lot of fundamentals to figure out before I can better follow what's being discussed.


What's is the origin of Orbital Angular Momentum of electrons in atoms?

Consider the Hydrogen 1s electron. We know that, in the quantum picture, the electron isn't orbiting or rotating at all, rather we simply state that the electron is spread over the entire space with the probability of finding it being maximum a radial distance $R$ (=Bohr radius) away from the nucleus. This helps explain why the electron does not radiate EM radiation while in the atom.  But, with this understanding, I do not understand the source of the orbital angular momentum. Is it intrinsic like the spin?


Let's consider an air-glass interface. When light passes from the air to the glass its frequency stays the same, but the velocity and wavelength change. Now the problem starts. If the colour stays the same then, as I was taught in school, the frequency as well as wavelength should stay the same, because they both equally determine the colour of light. But just one of them is constant! So what determines the colour of light: frequency or wavelength? Or maybe there is a mistake in my way of thinking, namely the spectrum changes when the light changes the medium? Or maybe something else?


What is the meaning of "linear" in linear Vector space?

$$a\cdot x_1+b\cdot x_2+c\cdot x_3+...+qx_n=\text{constant}$$ is called a linear equation because it represents the equation of a line in an $n$ dimensional space. So "linear" comes from the word "line". Basically there should not be any higher power of $x$ failing which the graph of the function will not be a straight line.  similarly  $$a(x)y+b(x)y'+c(x)y''+d(x)y'''+...+q(x)=0$$ is also called linear differential equation because all the derivatives have power=1 which is similar to the above definition of a linear equation.  A function f is called linear if: $$f(x+y)=f(x)+f(y)$$ and $$f(c\cdot x)=c\cdot f(x).$$ Here c is a constant. In this definition of linearity of function $f$ what does the word linear means? How does it relate to a straight line?  Finally what does the term linear means in case of linear vector spaces? Where is the reference to a straight line?  So, whether linear is just a word used in different contexts? Does it have different meaning in different situation? Or linearity refers to some relation to a straight line?


Two-body problem: equal mass keplerian orbit?

Sorry to post a question on this again but I am still struggling putting two equal mass objects in a keplerian orbit. To summarise:  1) I have placed two bodies of masses 0.5 at +- 10 units on the x-axis so that the initial velocities will be in the +- y axis  2) Would like to set the bodies on a eccentric orbit of e=0.9 and integrate it numerically. However I need to initialise the velocities of each object and I cannot seem to calculate it.  3) I assume G=1.0  I have looked in a few books and the velocity of individual masses in the keplerian two body problem is not really discuss so I think I am missing something here. Can someone please guide me through the calculation to obtain the velocity of each object?


When I try to redirect the output of cut it always seems to be empty. If don't redirect it, the output shows in terminal as expected. This is true for OS X 10.10 and Linux 4.1.6.  This works:  root@karla:~# nc 10.0.2.56 30003 [...] lots of lines [...]   This works:  root@karla:~# nc 10.0.2.56 30003 | cat [...] lots of lines [...]   This works:  root@karla:~# nc 10.0.2.56 30003 | cut -d, -f 15,16 [...] lots of lines [...]   This doesn't  root@karla:~# nc 10.0.2.56 30003 | cut -d, -f 15,16 | cat [nothing]   This again DOES  root@karla:~# cat messung1 | cut -d, -f15,16 | cat [...] lots of lines [...]   This is not limited to cat after cut. grep, tee and standard redirection using > don't work either.  What's wrong there?


High resolution laptop not displaying control boxes properly in QGIS (Windows 10)

I have recently installed QGIS 2.18.2 to my new Asus Zenbook Windows 10 64 bit. My issue is that (see image) some of the plugins...the initial one - go to coordinates (essential) is not displaying correctly as my screen is very high DPI. I have found the settings to change icon/text size which has helped.   I would prefer not to have to reduce the resolution of my entire laptop - however don't mind so much if its only for QGIS.  I found this link online which seemed helpful - except the .exe that Windows points to didn't change anything when I created manifest file.    I haven't tried hooking it up to a separate monitor yet as I am awaiting a cable arriving in the post. However I really need it to work on the standalone laptop for work in the field.


Ways to respawn Ender Dragon after it has been killed

I run a Spigot server and I was wondering if there's any way to respawn the Ender Dragon using a command block that checks if it's there, and if not summons it, or a plugin that can do this.


Find the remainder when $2^{1990}$ is divided by $1990$. I didn't get answer by Euler's generalization.


How can I install a two disk game with Wine?

I would like to install Medieval II : Total War under wine. Everything goes well until I am prompted to install the second dvd-rom to finish the install.   No matter what path I supply to the installer it says setup can't find a file on the specified path or disk. I've tried the options shown for D and Z drives, /dev/sr0, /media/myname etc.  I've also had similar problems with Medal of Honour.  Can anyone help?


Is there a site to play Go online against a computer?

There are many go servers but all of them seem to be for player-player games. I want to play online against a computer. I found some but it is not an actual go. I was not able to find a real go brain online. Are there any at all?   PS: In the end, I registered to KGS and later at WBaduk (but liked KGS much more) and I ended up playing against human players only. I found it much more fun than playing against a computer and since I tried it for the first time (online) I never went back to playing against the computer.


With MS SQL Query Browser I can run multiple queries at the same time and each result set will display in it's own window.  Does PostgreSQL/pgAdmin have this functionality? Plugin perhaps?


Is 'acronymise/ze' a word? Is it used only colloquially, if at all?

I just sent a text to a friend, who didn't understand an acronym I used for a game:      "Ah, I said it in a previous text so thought it was ok to abbreviate   it."   Though, since it was an acronym I had created, could I have used the word 'acronymise/ze' to be more specific?   I'm pretty sure it isn't a (formally used) word, but I wondered, as you often refer to acronyms specifically as acronyms, rather than abbreviations. Can you be more specific with a verb, too?  It sounds too odd to me, so I'm guessing generally no. But I wondered—so perhaps I'm wrong. Or half wrong.


Manga where a women who is a prosecutor tries to save a criminal from committing suicide and goes back in time to high school there she could save him

Recently I was looking for this manga that I forgot the name of. I remember  that it was a woman who worked for the government and she ends up at her old high school and sees a man about to commit suicide she tries to help him but ends up falling off the roof with him and somehow gets sent back in time she’ll then have to repeat high school but in the process she will  try to save the man from  the life of crime.


How do I customize the context menu in Nautilus?

From time to time I come up with ideas of actions I'd like to have available in the context menu of Nautilus. How do I add them there? Is there something like a Thunar UCA plugin for Nautilus?


Equation - Keep number on same line as equation

I have these equations and their numbers are on the same line.  \begin{equation}     i_t = \sigma(W_{xi} * X_t + W_ {hi} * H_{t-1} + W_{ci} \circ C_{t-1} + b_i) \end{equation} \begin{equation}     f_t = \sigma(W_{xf} * X_t + W_ {hf} * H_{t-1} + W_{cf} \circ C_{t-1} + b_f) \end{equation} \begin{equation}     C_t = f_t \circ C_{t-1} + i_t \circ \textnormal{tanh}(W_{xc} * X_t + W_{hc} * H_{t-1} + b_c) \end{equation} \begin{equation}     o_t = \sigma(W_{xo} * X_t + W_ {ho} * H_{t-1} + W_{co} \circ C_{t} + b_o) \end{equation}     But doing this formatting causes the number to not be on the same line. How can I force the number to be on the same line ?  \begin{align}   i_t &= \sigma(W_{\!\textit{xi}} * X_t + W_{\textit{hi}} * H_{t-1} + W_{\!\textit{ci}} \circ C_{t-1} + b_i)\\   f_t &= \sigma(W_{\!\textit{xf}} * X_t + W_{\textit{hf}} * H_{t-1} + W_{\!\textit{cf}} \circ C_{t-1} + b_f)\\   C_t &= f_t \circ C_{t-1} + i_t \circ \text{tanh}(W_{\!\textit{xc}} * X_t + W_{\!\textit{hc}} * H_{t-1} + b_c)\\   o_t &= \sigma(W_{\!\textit{xo}} * X_t + W_{\!\textit{ho}} * H_{t-1} + W_{\!\textit{co}} \circ C_{t} + b_o) \end{align}


Installing packages and drivers from a flash drive on Ubuntu 18.04

I have a server with Ubuntu 18.04 installed and it does not have access to the internet. How would I install external drivers and programs if I cannot use  sudo apt get  etc..?


Lack of GPS accuracy resulting in null pointer

ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATON have both been included in the manifest. Also included in the Activity are:  import android.location.Location; import android.location.LocationManager;   I have a listener for the nav drawer with the following class  private class DrawerItemClickListener implements ListView.OnItemClickListener {     @Override     public void onItemClick(AdapterView<?> parent, View view, int position, long id) {      LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);     Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);         if (location != null)         {             final double longitude = location.getLongitude();             final double latitude = location.getLatitude();         }      selectItem(position);     } }   From this, the location = null, and thus would fail on location.getLongitude();. I can of course avoid this with if (location != null), but I want the lat and long found.   Why is the location always null?


Difference between Euclidean space and vector space?

I often hear them used interchangeably ... they are very complicated to make any use of.  Wikipedia words:  Euclidean space:     One way to think of the Euclidean plane is as a set of points satisfying certain relationships, expressible in terms of distance and angle.   Vector space:     A vector space is a mathematical structure formed by a collection of elements called vectors, which may be added together and multiplied ("scaled") by numbers, called scalars in this context.   They are not related at all. A vector space is a structure composed of vectors and has no magnitude or dimension, whereas Euclidean space can be of any dimension and is based on coordinates.  I hear 3-D programming uses vectors, so Euclidean geometry should be useless, no?  Basically, aren't they unrelated?


If $a,b,c$ are distinct positive numbers , show that $\frac{a^8 + b^8 + c^8}{a^3 b^3 c^3} > \frac{1}{a} + \frac{1}{b} + \frac{1}{c}$

If $a,b,c$ are distinct positive numbers , show that $$\frac{a^8 + b^8 + c^8}{a^3 b^3 c^3} > \frac{1}{a} + \frac{1}{b} + \frac{1}{c}.$$ I am thinking of Tchebycheff's inequality for this question, but not able to proceed. How do I solve this?


Is the set of all finite sequences of letters of Latin alphabet countable/uncountable? How to prove either?

Today in Coding/Cryptography class, we were talking about basic definitions, and the professor mentioned that for a set $A=\left \{ \left. a, b, \dots, z \right \} \right.$ (the alphabet) we can define a set $A^{*}=\left \{ \left. a, ksdjf, blocks, coffee, maskdj, \dots, asdlkajsdksjfs \right \} \right.$ (words) as a set that consists of all finite sequences of the elements/letters from our $A$/alphabet. My question is, is this set $A^{*}$ countably or uncountably infinite? Does it matter how many letters there are in your alphabet? If it was, say, $A=\left \{ \left. a \right \} \right.$, then the words in $A^{*}$ would be of form $a, aa, aaa, \dots$ which, I think, would allow a bijection $\mathbb{N} \to A^{*}$ where an integer would signify the number of a's in a word. Can something analogous be done with an alphabet that consists of 26 letters (Latin alphabet), or can countability/uncountability be proved otherwise? And as mentioned before, I am wondering if the number of elements in the alphabet matters, or if all it does is change the formula for a bijection.   P.S. Now that I think of it, maybe we could biject from $\underset{n}{\underbrace{\mathbb{N}\times\mathbb{N}\times\mathbb{N}\times\dots\times\mathbb{N}}}$ to some set of words $A^{*}$ whose alphabet $A$ has $n$ elements? Thanks!


How to have back the command prompt after calling an application

In terminal I just type firefox and then Firefox starts, but I can not return to  command mode anymore.  How can I come back to command mode? I have already tried :q or exit, but neither work.


Why can a protected field be access from a class that is not a subtype?

I have wired problem. I have this class:  public class Player { ...      protected int x; }   and in another test-class (which not extends Player):      Player p = new Player("gfdg");     p.x = 10;     System.out.println(p.x);   ^ it's actually work!  why java treat the protected as public?


I read instruction how to use \pic in PGF 3.0.0 manual, but description how to give names to \pic are not clear to me and given example generate error:     "No shape named EmmaEmma-left is known."  Example in manual (pp. 255):  \documentclass[tikz,border=3mm]{standalone} \tikzset{ seagull/.pic={ % Code for a "seagull". Do you see it?... \coordinate (-left wing) at (-3mm,0); \coordinate (-head) at (0,0); \coordinate (-right wing) at (3mm,0); \draw (-left wing) to [bend left] (0,0) (-head) to [bend left] (-right wing); } }         \begin{document}     \begin{tikzpicture}%\small\sffamily \pic (Emma) {seagull}; \pic (Alexandra) at (0,1) {seagull}; \draw (Emma-left wing) -- (Alexandra-right wing);     \end{tikzpicture}         \end{document}   It's obvious that something is missing in above example. Please enlighten me, what I missed.


The brown bears found on / in/ at   Kodiak Island are the largest in the world.   Here's the prepositions that I will always get mixed up.   on It is more likely to emphasize that  bear was found on the Island not a land. So, the author might talk about how bear can be found 'on a island' or something about island  at  Using 'at' in this context is not suitable because island is big enough to have to use 'in', rather than 'at'. Like in the country, In NY not like at the ticket box.   in It is more likely to emphasize the location, Kodiak, So it is more likely that the author talk about Kodiak itself, rather than how bear can be found on a island.   This is all I can think of, but I'm not sure I'm right. So, could you help me fully understand it?


What is the value of $ 1+ \frac{1}{3} + \frac{1\cdot3}{3\cdot6} + \frac{1\cdot3\cdot5}{3\cdot6\cdot9} +\dots $

The infinite sum   $$ 1+ \frac{1}{3} + \frac{1\cdot3}{3\cdot6} + \frac{1\cdot3\cdot5}{3\cdot6\cdot9} + \frac{1\cdot3\cdot5\cdot7}{3\cdot6\cdot9\cdot12} +\dots $$ is   a.) $2^{1/2}$  b.) $3^{1/2}$  c.) $ \left(\frac{3}{2}\right)^{1/2} $  d.) $ \left(\frac{1}{3}\right)^{1/2} $    My Approach: I initially tried to write the general term of the following expansion but couldn't do so due to the fact that number of components in product change with each term.   I tried using the partial fractions but couldn't proceed with it much further.   In the final attempt I tried grouping the terms successively in pairs of two, and then trying to add them , that too however proved futile.   I am looking for a method to solve the above question, as well as a more general line of approach for the following type of questions.