I don't like the idea that my personal information are gathered and by some company that make profit out of processing and selling it (or even when it has a possibility to do so). And yes, that's the reason I don't use Facebook and gmail (after reading their TOC).  I wonder if it's possible to use the Android smartphone without Google account at all in a long time?  So far I know that:   I don't use gmail/google+/chrome, so I don't bother about it. I cannot download application from Google Play without Google account, but I can download most of them as .apk and install manually.   Did I miss something? Or it's possible to live with Android without Google account?  p.s. Does Google still collect any data about me, even when I just use Android, without Google account and without gmail/google+/youtube?


I am trying to get the referral url of visitors coming to my site. I have tried using  <?php    $refer = $_SERVER["HTTP_REFERER"];     echo $refer;  ?>   But the result is always empty. Can someone please help me.


How do I pass parameters to a jar file at the time of execution?

How do I pass parameters to a JAR file at the time of execution?


Why in the modern world I would need my .com website to also have www subdomain?

Recently I registered a .com address for a business. In the modern world (year 2018) why would I need to add and maintain the www. subdomain of my domain?  I'm mostly interested in benefits of the subdomain. Thinking if I should bother doing the www.EXAMPLE.com -> EXAMPLE.com redirection.  UPD: I am not asking about SEO, not asking personal opinions, not asking tech details. The linked "duplicate" question is very different to my question.


I have the following sentence. Is my commma usage appropriate, or should it be placed within the quotation marks?     On cultural awareness day in first grade, when asked what nationality   I was, I proudly proclaimed “American”, to everyone’s surprise.


How i can export an apk file with android studio including sqlite data base

I alredy checked all th questions and nothing seems help , my problem is the database works fine with the emulator using the absolute path of the database :   String path = "/data/data/com.example.??/databases/database.db";  but when i export it as apk file the the device can't open or find the database with that path !   is that mean when i export it the real path will change ? or just i need to copy my database to specified folder in the device ,, ? can any one help me with this ,, thanks !


starting nginx on mac fails with 48: address already in use

I'm trying to start nginx on my Mac OS X using the command sudo nginx  It fails with the following error  nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [emerg] still could not bind()   I try to stop the Apache service by using sudo apachectl stop  This throws me the following error  launchctl: Error unloading: org.apache.httpd   According to  it most likely means that Apache is already not running  Then I tried to figure what is running on the Port 80 using sudo lsof -i:80  This outputs to this  Google    441 jaskaran   68u  IPv4 0xa3f4d891ed1a8373      0t0  TCP 192.168.1.45:50993->www.google:http (ESTABLISHED) Google    441 jaskaran  143u  IPv4 0xa3f4d891ed054b5b      0t0  TCP 192.168.1.45:51017->www.scorecardresearch.com:http (ESTABLISHED) Google    441 jaskaran  150u  IPv4 0xa3f4d891eb9a1b5b      0t0  TCP 192.168.1.45:51018->www.scorecardresearch.com:http (ESTABLISHED) Google    441 jaskaran  152u  IPv4 0xa3f4d891ed1a4373      0t0  TCP 192.168.1.45:51019->www.scorecardresearch.com:http (ESTABLISHED) Google    441 jaskaran  156u  IPv4 0xa3f4d891ed071b5b      0t0  TCP 192.168.1.45:51020->www.scorecardresearch.com:http (ESTABLISHED)   The output to this command keeps on changing with time.  How do I get nginx to work?


How was a newbie able to ask eight questions in six hours on a single site?

A new user managed to ask eight questions on History SE in the past six hours. I thought that there was a six question limit a day. That is per twenty four hour period. Or was it an instance where someone managed to ask two questions just before "midnight" (GMT), July 26, and the remaining six questions the morning of the following day, July 27, because that is how "day" is defined?


Is it possible for Ubuntu to work with MTK6572 Dual Core ARM Cortex A7 family CPU@1.2GHz  processor in a tablet? As far as my research has gotten me I've found that this cpu is x86 but I'm not entirely sure if that's the only thing I need to be looking for. I'm a newby to the whole tablet scene so if you have any advice as to what other tablet hardware aspects I should be planning ahead for other than the requirements posted by Ubuntu it would be greatly appreciated.  If you do find a good answer can you post the link where you found this info? It would expand my research capabilities and eliminate my need to ask these questions in the future as I came up pretty dry on the google haha.


Can the Big Rip really rip apart an atomic nucleus?

Some scenarios describing the fate of the matter vs  tug of war on the universe involve the acceleration of the universe increasing to the point that it ends up ripping apart even atoms. This is called the .  This makes no sense to me. It looks like all of these   (GR) models of the universe assume it has a uniform isotropic distribution of matter and energy. This works great at long scales, but it is also clearly wrong even at the length scale of the separation of galaxies.  The density of atomic nuclei remains the same even though the universe is expanding even as we speak. I don't think the "scale" in the  can be interpreted so literally. Or maybe said better, it's got to break down when the cosmological horizon distance gets to the scale where the isotropic assumption breaks down, right?  How can scientists be claiming that runaway expansion will rip apart atoms?


Double limit of $\cos^{2n}(m! \pi x)$ at rationals and irrationals

I stumbled upon this "relation" (is the name correct?):  $$ \lim_{m \to \infty} \lim_{n \to \infty} \cos^{2n}(m! \pi x) = \begin{cases} 1,&x\text{ is rational}\\ 0,&x\text{ is irrational}\end{cases} $$  How is it called and why is it so? I'm really not asking for a proof since I fear it would be too complicated for me to understand, but rather for an "intuition".


How we can prove that the logical result of a set is effectively enumerable?

How we can prove that the logical result of $\{(p_i \vee $~ $p_{i+1}$$) $$: i \in  \mathbb{N} \}$ is effectively enumerable ?   Update: as one user requests, I add my method. I use truth table for check the result but I'm sure there is a flaw and other method must be used.


For every positive integer $n$ find $\gcd(n!+1, n+1)$.   If $n+1=p$, for some prime $p$ the answer is clearly just $n+1$, due to . However, if $n+1$ is not prime, I am stuck proving that the answer is $1$.


While coding I always have to change the headers (<h1> <h2> <h3>) etc.. as I never like how they are styled, but where is the information for the header styles kept?  Obviously the headers are not styled in my CSS so I then thought that maybe it's something to do with the DOCTYPE or other code before <head> but removing all these didn't affect the header style at all!  So plain and simple; where is the header style defined?!


Formula for finding 'near perfect' matches

I have a list of +-8000 items which is the result after applying numerous techniques to remove duplicates (the list started at over 10000 items).  I now have the following issue -   Example 1. Jack Daniel 2. Jack Daniels 3. Jack Daniel's  Clearly all of the above relate to one item but they are still technically unique.  I tried pulling the first 4 letters and checking for matches however there were +-4000 and most of them were false positives i.e.    Jack Dxxx Jack Bxxx   Both would pull Jack but would not be a valid duplicate.  Any thoughts?


After I recently updated my computer software "Ubuntu" I went to my "System Settings" And click on "Software And Updates" There was something new I have never seen before.  Nvidia Corporation: G96 [GeForce 9500 GT] Below There are 5 Options.  1. "Using NVIDIA binary driver - version 340.76 from nvidia-340 (proprietary, tested)"  2. "Using NVIDIA legacy binary driver - version 304.125 from nvidia-304-updates (proprietary)"   3. "Using NVIDIA legacy binary driver - version 304.125 from nvidia-304 (proprietary)"  4. "Using X.Org X server - Nouveau disaplay driver from xsever-xorg-video-nouveau (open source)"  5. "Using NVIDIA binary driver - version 340.76  from nvidia-340-updates (proprietary)   I really don't know what these mean so if you do please tell me withc one to choose.   Theres one more also, below the options,   Unknown: Unknown This device is not working.  1. "Using Processor microcode firmware for AMD CPU's from amd64-microcode (proprietary)   2. Do not use this device  So I have no clue on what these are if you have any info or idea on witch one i should use, Please Tell me Thanks!  System Info  Processor AMD Phenom(tm) II X6 1090T Processor × 6  Graphics GeForce 9500 GT/PCIe/SSE2  OS type 64-bit  Disk 968.0 GB  Ubuntu 15.04


I used to work on the Mac terminal before and I used:   open file2open.pdf   and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I get this error message:   Couldn't get a file descriptor referring to the console


Find the density function of the product of two uniformly distributed

$X\sim R(0,1)$ and $Y\sim R(0,1)$ (X and Y are uniformly distributed on the interval $[0,1])$  I need to find the density function of W when $W=X\cdot Y$   Can anyone help me?


How to call a SOAP web service on Android

I am having a lot of trouble finding good information on how to call a standard SOAP/WSDL web service with Android. All I've been able to find are either very convoluted documents and references to "kSoap2" and then some bit about parsing it all manually with . OK, that's fine, but it's 2008, so I figured there should be some good library for calling standard web services.  The web service is just basically one created in . I would like to have IDE support for generating the plumbing classes. I just need the easiest/most-elegant way to contact a  based web service from an Android-based phone.


How to move a visible file to a hidden folder?

I've only been using Ubuntu for two weeks and have been able to find answers to any problem I had, however this one defies my searches.  I want to move a visible programme file (wallch) to a hidden directory ./config/autostart.  I have been able to enter this directory and the subject file is not there and I want to have this program start at bootup.  Can anyone assist?  Thanking you


Why does the beta distribution become U shaped when $\alpha$ and $\beta$ <1?

In the Beta distribution (used to model Bernoulli probabilities), the $\alpha$ and $\beta$ parameters can be interpreted as the number of heads$+1$ and the number of tails$+1$ seen. So, if they were both $2$, it would lean towards the coin being fair and have a maximum at $0.5$. If they are both $20$, the distribution would become even surer we're dealing with a fair coin and peak even more at $p=0.5$.  What I don't get is its behavior when $\alpha$ and $\beta$ both become $<1$.   In that case, it becomes U-shaped and the density peaks at $p=0$ and $p=1$. Meaning the coin is likely to be two-sided. I know there is an intuition for this since I think I had an idea about it a long time ago. However, I've been trying to recollect all day and can't piece it together. Does anyone have an intuition?


Is every infinite group isomorphic to some isometry (sub)group?

A while ago I managed to convince myself that every finite group is isomorphic to a subgroup of a finite dimensional Euclidean space. But my little simplex construction doesn't extend to infinite groups. Is it the case that every infinite group is isomorphic to an isometry subgroup of a finite dimensional space?  I don't mind if groups are only subgroups of an isometry group, and I don't mind if the space is non-Euclidean.  My naive thought is that non-Euclidean spaces are necessary to deal with groups like $GL({\mathbb R}^n)$ that explicitly include scale transformations.


How does a lurker gain reputation to receive privilege for commenting?

I have been reading Stack Exchange for years - mostly not logged in, and have never posted (this is my first). I'm simply not very talkative, and very good at googling.  Recently a few occasions have come up when I've wanted to comment on a question.  I wanted either to ask for, or provide, clarification which did not warrant a new answer.  How do I gain enough reputation to comment without:   asking questions which have already been answered or that I can figure out on my own, or posting my comment like as an answer (i.e. being  rude)?


I have an Ubuntu option on boot, but Ubuntu is not installed and I want to get rid of it

My laptop originally came with Windows 8, a while back I tried to install Ubuntu, but it didn't work so I just deleted everything. Today I did a factory reset on my laptop because I am going to sell it, but when I boot it boots to a black screen that says "GNU GRUB version 1.99-21ubuntu3.1" followed by a bunch of text. To access Windows 8 I have to hold down f11 on boot where I get the option for windows boot manager. I want to make Windows 8 the default, how to I get rid of this "ghost" ubuntu?


How to change screensaver user name and/or iterm2 top bar name on mac

I am new to macbook pro. A few weeks ago I bought used macbook pro. I tried to change user name and it looks somewhat well. But when I open my iterm2, something that I don't want is wroten(MBP085ui). My user name is bmy4415 and MBP085ui is not I want. And this also appears in my default screensaver. ScreenShots are below. How can I change MBP085ui to my custom name? And What is the official designation of that(for eaxmaple, It's username or It's unique name of device)  p.s I also changed my 'account name' and 'full name' from 'User & groups' tab.


How can I apply an effect when a player left-clicks/right-clicks with an item in hand?

Is there a way so that I make make it when I left click/right click with a certain item it applies an effect? I know that you can apply attributes to wearing armor and things but I want it so when you use the item it applies an effect on your player.  For example, let's say I want something so that when I right click with a certain item (let's say an iron ingot that was given to me) I'll then have a jump boost for 10 seconds. So kinda like a potion in a way.  Is this possible with command blocks/commands/any mods?


How to remove the background color from and animated GIF image?

How to remove or change the background color of an animated GIF image? I would like to remove the background color from the attached image.


Is it a good idea to invest in gold as a safety against nation or worldwide economic crises?

Is it a good idea for someone in the middle class to invest in physical gold as a safe guard against economic crisis?  If not, why not? If yes, still why? I'm also curious what percentage of savings should be kept in physical gold. What if you're from the lower middle class, or upper middle class, does that affect anything?


I bought a new PC last week (assembled myself, i.e. no prebuilt PC). I installed Linux Mint as the first OS, today I installed Windows 10 on a separate harddrive (which I used before in a Linux notebook). To the best of my knowledge no piece of hardware I use in this PC has seen a Windows OS before. I checked the "I don't have a key" option during installation, planning to activate Windows afterwards. However, it appears to be already activated (with a digital license and a retail version). Executing slmgr/dli in cmd gives me "3V66T", which sounds suspiciously like the default key for upgrades from earlier Windows versions. My questions: How is it possible for my Windows OS to be activated without providing any key? Am I missing or misunderstanding anything? Also: Is it any security risk if my Windows installation is activated by an unknown source?


How should I center my form in media query?

I already apply the media query to my website, but the problem is that I can't center the container form. If I use left in one of my media query the other does not center it and it cause to not be able to center it. I also include the cols in media query but it can't help it. I also try to configure the .container form but but tablet or don't be in center please help.. @media only screen and (min-width: 320px) and (max-width: 480px) { .container form{     left: inherit;     position: relative; } .form {     grid-template-columns: 1fr;   } }  /* ------------------------------------For Tablet------------------------>>>>>  */  @media only screen and (max-width: 780px) {     .container {         left: -150px;         position: relative;     }     .form {         grid-template-columns: 1fr;     } }


How would we define an inner product on the space $C[a,b]$ with sup-norm?

Sorry for the dumb question.  I'm having some trouble figuring out how to define an inner product on this space.  The space is $C[a, b]$ and the norm here is defined by $\|f\| = \sup_{a \leq x \leq b}|f(x)|$.    I know that $\|f\|^2 = \langle f, f \rangle$ but what about more generally $\langle f, g \rangle$?  I hope my question makes sense.


I couldn’t find any proof on the internet. I would appreciate an elementary proof , but any help would be appreciated!  Thank you.


Hyphen separated string from hashmap keyset

I have keyset in which keys are product name, I want to accumulate all the product name in single String variable in below format: Prod1-Prod2-Prod3 I have tried for(String prod: map.keySet()){ String prodName+=prod+"-"; }  but it displays nullProd1-Prod2-  How do I get rid of null and the last extra hyphen


This is what I get by doing $date:   Wed Feb  1 16:21:58 PST 2017   I want to use cut command and pipe to print only 'Wed'.  date | cut -f '1-3'   How come the command above does not do anything? How should I fix it?


Is there an R equivalent of NEAR in ESRI ArcGIS?

I have 54 points in one data set A I have 300+ data points in a dataset B.  I wish to find the distance for each point in dataset-set B, to points in dataset A.  Nearest Neighbor packages appear to only find neighbors within a given data-set, not a second data set.   --"Given two sets of locations computes the full Euclidean distance matrix among all pairings or a sparse version for points within a fixed threshhold distance."  , saying "Read two geocoded point sets from Comma Separated Value (CSV) files into R data objects. Assign to each member of first point set the geographically closest point from second set" but is so dated (2010), so something more recent must exist...  Same issue with   Other packages find distances between points and lines, points and polygons, etc.  viz:   The omission of P2P suggests I am missing something simple...


How to read Mongodb entries in plaintext?

I'm testing mongodb on a local machine for the first time, and I just want to see the actual plaintext contents of a database entry.  Started the mongo console:  $ mongo   Set dbs:  > use <my dbs name>   Searching entries:  > db.<collection name>.find({"_id": "486b4ca55b144b119f4551417c5798c8"})  { "_id" : "486b4ca55b144b119f4551417c5798c8", "date" : ISODate("2017-04-20T05:47:06.176Z"), "content" : ObjectId("58f84b5a0318762cb6e230a6"), "digest" : "d064a874c872d75f6ab67c04d8b79b26f65f9b4f", "short" : "5f9b4f", "size" : 2374694 }   This is as far as I've gotten. The entries are pastebin uploads. I'm able to locate entries with various search queries but it doesn't actually show me what was uploaded. Is this possible? Am I going about this the hard way?


I installed Ubuntu 14.04 alongside windows 8 for the first time yesterday, and I thought I would give it 75GB of space from my C: however, I didn't know I had to use 50GB for the installation and 16GB of swap space.  How do I give Ubuntu more space form my D: when installed already?   I'm am very new to this, so please be very specific.  Looking forward to your answers, thanks in advance


Is it true that  $$\int_a^b f(x) dx = \int_{f(a)}^{f(b)} f^{-1}(x) dx$$  Just making sure.   If not, how about:  $$\int_a^b f(x) dx = (f(b)-f(a))b - \int_{f(a)}^{f(b)}f^{-1}(x)dx$$   I'm having a hard time concentrating right now, and I'm trying to figure out how to get the area under a curve when the function is inverted.


What is the justification for locking votes?

Why am I not allowed to change my vote after some period of time? There are times when I go back to things I voted on, and decide they didn't deserve that specific vote. (I get wiser as I grow older)


Which is faster '1GB RAM with 64 bit' or '2GB RAM with 32 bit'

I planed to purchase new mobile. I confused with processor and RAM.    Quad-core 1.2 GHz Cortex-A53 (64 Bit) 1GB RAM Quad-core 1.6 GHz Cortex-A7 (32 Bit) 2GB RAM   Which one will be faster?


Help understanding proof of every topological group is regular

I found a proof that any topological group is regular , but I got lost in the last part. The whole argument goes like this:  Consider the map $f:G \times G \to G$ defined by $f(a,b)=ab^{-1}$. This map is always continuous in a topological group. Now take $x \in U$, where $U$ is an open set in $G$. Then $f^{-1}(U)$ contains $(x,e)$, so we have $(x,e)\in V \times W \subseteq f^{-1}(U)$ for some open subsets $V$ and $W$ such that $x\in V$ and $e\in W$. Hence, $x\in V$. Furthermore, $V\cap (X-U)W=\emptyset$, since any element in the intersection corresponds to $a\in V$, $b\in W$, such that $ab^{-1}\notin U$, which is a contradiction. Since $(X-U)W$ is an open set containing $X-U$, $X$ is regular.  The boldface argument is what I don't understand. How can I see that $V\cap (X-U)W=\emptyset$?


I recently came across a question asking the following:     If a motor is switched on, it quickly reaches a top speed. Why does it not just go faster and faster and faster?   I thought it might be related to the fact that the electrical power is constant, so I tried approaching with $P=\tau \cdot \omega$. However I still do not have any clue to reaching the conclusion.  Is it somehow related to the energy loss (due to friction)? Like the terminal speed of a parachute or something? But I was thinking that friction should be constant ($f=\mu \cdot N$) while air drag is related to the speed, so this may not be the answer.  Thank you.


A New Algebraic Proof of Heron's Formula?

I noticed that many proofs for Herons formula use the properties of angles, which is why I wanted to show a proof that doesn't involve any,  and seems to be simpler than the usual methods that are applied. A triangle with side lengths $a, b, c,$ where $c$ is the greatest side length and an altitude($h$) that intercepts $c$ such that $c$ is the  sum of two side lengths , $c = m + n$, using Pythagorean theorem and the area formula of a triangle,  we can prove Herons formula. First we find $a$ and $b$ in terms of $m$ and $n$ using Pythagorean theorem: $a^2 - m^2 = h^2$ $b^2 - n^2 = h^2$ $a^2 - m^2 = b^2 - n^2$ $a^2 - b^2 = m^2 - n^2$ Then using $c = m + n$, eliminate $m$: $a^2 - b^2 = (c-n)^2 - n^2$ $a^2 - b^2 = c^2 - 2cn$ $n = \frac{1}{2c}(c^2 + b^2 - a^2)$ We can Eliminate $n$ from $b^2 - n^2 = h^2$ to find $h$: $h = \sqrt{b^2 - (\frac{1}{2c}(c^2 + b^2 - a^2))^2}$ Plugging this into the area formula ($A = \frac{1}{2}ch$) gives: $A = \frac{1}{2}c\sqrt{ b^2 - (\frac{1}{2c}(c^2 + b^2 - a^2))^2} $ $A = \frac{1}{2}c\sqrt{ \frac{1}{4c^2}(2a^2b^2+2a^2c^2-a^4-b^4+2b^2c^2-c^4)} $ $A = \sqrt{\frac{1}{16}(c^2 - (a - b)^2)(( a + b)^2 - c^2)} $ $A = \sqrt{\frac{1}{16}(a + b - c)( a + b + c)( b + c - a)(a + c - b)} $ $A = \sqrt{s(s - a)(s- b)(s- c)}$ Q.E.D. Thoughts?


Most (all?) of the Stack Exchange sites have dedicated Twitter accounts that tweet questions, pleas for answers, upcoming events, and so forth (e.g. @stackscifi, @stackcooking, @stackparenting, @stacksuper_user, @serverfault).  Does one of these exist for Stack Overflow? @stackoverflow is someone else, and @stackstackoverflow and @stack_stackoverflow don't exist.  @stackexchange follows all (?) of the individual accounts, and doesn't appear to follow one for Stack Overflow. I've tried searching Twitter, but there's so much Stack Exchange content on Twitter that even if the account did exist, I'm not sure it would be visible in the noise.


Passing arguments with whitespace to a command from within a shell script?

See edit below, thanks  I have the following test script (important note: I cannot change this part):  while (($#)); do   echo $1   shift done   Running the command ./test aaa "bbbb cccc" ddd gives the following output:  aaa bbbb cccc ddd   which is what any sane person would expect.  I have another script:  mode="good" status="okay" name="bro" description="very good man dood" extra=""  # ----  PARAMS=""  // $1: key, $2: value function addParam {     if [ ! -z "$2" ]; then         PARAMS="$PARAMS --$1 \"$2\""     fi }  addParam "mode" "$mode" addParam "status" "$status" addParam "name" "$name" addParam "description" "$description" addParam "extra" "$extra"  echo ./test $PARAMS ./test $PARAMS   The output from echo is ./test --mode "good" --status "okay" --name "bro" --description "very good man dood", so I would expect the output of ./test $PARAMS to be  --mode good --status okay --name bro --description very good man dood   but instead, for some reason, I get the following output:  --mode "good" --status "okay" --name "bro" --description "very good man dood"   If I copy the output of echo ./test $PARAMS and paste it, I get the expected output from ./test. So I tried removing the last line which executes ./test and leave the echo line last, but apparently $(./script) still does not work and I'm beyond ideas.  What am I doing wrong?    Edit: @steeldriver's solution works but there's another constaint - I have to allow users to send their own arguments.  So having this script (thanks @steeldriver):  #!/bin/bash  mode="good" status="okay" name="bro" description="very good man dood" extra="" arguments="--config \"blablabla=yes\" --config2 \"bla2=no problem\""  # ----  declare -a PARAMS  # $1: key, $2: value function addParam {     if [ ! -z "$2" ]; then         PARAMS+=("--$1" "$2")     fi }  addParam "mode" "$mode" addParam "status" "$status" addParam "name" "$name" addParam "description" "$description" addParam "extra" "$extra"  # (1) PARAMS+=("$arguments")  # (2) PARAMS+=($arguments)  echo ./test "${PARAMS[@]}"  ./test "${PARAMS[@]}"   The desired output is:  --mode good --status okay --name bro --description very good man dood --config blablabla=yes --config2 bla2=no problem   However the output I get is:  With (1):  --mode good --status okay --name bro --description very good man dood --config "blablabla=yes" --config2 "bla2=no problem"   With (2):  --mode good --status okay --name bro --description very good man dood --config "blablabla=yes" --config2 "bla2=no problem"   Much appreciated!


Does a family of a distribution have a different definition for statistics than in other disciplines?  In general, a  is a set of curves, each of which is given by a function or parametrization in which one or more of the parameters is varied. Such families are used, for example, to .  For statistics, a family according to  is the result of varying the shape parameter. How then can we understand that the gamma distribution has a shape and scale parameter and only the generalized gamma distribution has, in addition, a location parameter? Does that make the family the result of varying the location parameter? According to @whuber the meaning of a family is implicitly A "parameterization" of a family is a continuous map from a subset of ℝ$^n$, with its usual topology, into the space of distributions, whose image is that family.  What, in simple language, is a family for statistical distributions?  A question about relations among of the statistical properties of distributions from the same family has already generated considerable controversy for a  so it seems worthwhile to explore the meaning.  That this is not necessarily a simple question is born out by its use in the phrase , which has nothing to do with a family of curves, but is related to changing the form of the PDF of a distribution by reparameterization not only of parameters, but also substitution of functions of independent random variables.


$ bash date /bin/date: /bin/date: cannot execute binary file  $ bash -c date Thu Apr 14 19:27:08 EDT 2016   What does the error message of bash date mean? What does bash expect date to be?


Can you get an Extended Validation SSL certificate that applies to unlimited subdomains?  Does it make technical sense?  I'm using Digicert and they said that it wasn't possible to offer such a product.


Android: Why is my if statement not executing inside the onClick method

When I print out the user value and the pass value into LogCat, the values are printed out as "A" and "a". If the user value is "A" and the pass value is "a",  I don't understand why the if statement doesn't execute. When I place the contents that are inside the if statement outside of the if statement, the startActivity() method operates correctly. This tells me that the if statement is the problem but I don't see how. I don't get it!          public void onClick(View v)          {             String user = username.getText().toString();             String pass = password.getText().toString();              System.out.println(user);             System.out.println(pass);              if (user == "A" && pass == "a")             {                 Intent intent = new Intent("com.example.android.STARTINGPOINT");                 startActivity(intent);             }           }


Windows 8 Setting an image on the login screen

In Windows 8.1 when you log in there's the prelogin screen that has an image you can change, but then there's also the login (password entry) screen that as far as I can see is just a solid color.  How could I replace that with an actual picture? (ie, if I wanted a company logo to be displayed in the large space underneath the password entry box.


Weird Stack Exchange logo on 404 pages on high-resolution screens

A picture with freehand circle says more than 6-8 hundred words:    This happens for me on Safari, Firefox and Chrome on macOS 10.13.1 (latest browser versions, caches have been cleaned) but not on Chrome 62 on Windows 10:      Other users (see comments) report mixed results on similar browsers, and it looks like only devices with a high pixel density (e.g. Mac Retina screens) are affected, because the CSS rule below is applied only for devices with min--moz-device-pixel-ratio: 1.5:  header h1 {     background: transparent url('img/se-logo@2x.png?v=5663d7dbb7ab') no-repeat left top;     background-size: 223px 52px; }


Is there a sequence of unbounded closed intervals such that its intersection is empty?

Is there a sequence of unbounded closed intervals $J_1\supseteq J_2 \supseteq J_3 \supseteq \cdots$ such that $\bigcap _{n=1} ^{\infty} J_n = \emptyset$. By an unbounded closed interval I mean an interval of the form $[a,\infty) = \{x \in \mathbb{R} \mid x \ge a\}$.  My answer to the question is yes taking the sequence $[1,\infty),[2,\infty),[3,  \infty), ...$ because suppose $b \in  \bigcap _{n=1} ^{\infty} J_n$. Then there exists an interval in the sequence such the $b\lt a_i$ whereby $b \notin [a_i, \infty) $ hence $b $ cannot be in $\bigcap _{n=1} ^{\infty} J_n$. Therefore the intersection is empty.  Is my answer correct and if so is my reasoning correct? If not can you please provide the correct justification for the correct answer. Thanks in advance!


I'm on a Semi-Annual Channel (Targeted) update channel. It's been a while after Microsoft released an update to fix issues in the initial Windows 10 1809 update. But a  where we can download the updates as standalone packages still has a hole instead of download link to the 1809.17763.1 version package:    Windows 10 Update Assistant  is useless as well, since it offers to download April 2018 Update, lol.  So, I can't update my 1803.17134.376 to 1809 even after more than a month since it's initially was released.  (Of course, "drastically improved" Windows Update doesn't suggest the 1809 update, too. Actually, it has been never working on this Win 10 copy, so I used to download all the updates manually via the first link in this post.)  Has anybody figured out a way of how to manually update from 1803 to 1809?  Without hardcore stuff, please, like making bootable media which potentially would have a great chance of destroying the currently installed Win 10 copy.  (I was completely confused by that "Microsoft recommends" wording near the 1809 update on that page and some top articles in Google saying that it was released and ready for production with that quick patch. So, this question is from this confusion.)


I have a new Samsung 840 250GB SSD on the way, and I want to make sure that everything is running optimally after install.  I've spent many frustrating hours on the internet trying to understand how I should align the partitions of the SSD when it arrives (and even how to partition everything; my other drive is a 1TB HDD with files already on it). I'd like to know a foolproof way of setting everything up.  Now, the only place I could find the erase block size of the 840 is here:    I simply can't understand why such information isn't made freely accessible by manufacturers! But, anyway, this would suggest the EBS is 1536kb, which seems odd to me.  It is to my understanding that you should now align by MiB (usually set at 1MiB). I assume that the figure above should actually be 1536k B=1.5MiB? This seems to suggest the partition alignment will be somewhat non-standard.  So my question is: How do I align my partitions given this information? Please bear in mind that I have never used linux before; I'm doing my best to get everything set up so that I can begin to learn but am finding this process incredibly opaque and time consuming. If possible, a step by step guide through GParted would be great; at the moment I'm considering an NTFS partition ~20GB for Windows (playing games), an EXT4 ~20GB for ubuntu (for doing everything else) and a shared documents+games partition for everything else in NTFS file format. I'm not going to have any swap partition and use swap files instead.


I am trying to find weak closure of $\{e^{imt}+me^{int}|0\le m<n\}$ in $L^2(-\pi,\pi)$.  I know how to find weak sequential closure and I know that $0$ is in weak closure (I can prove it using weak open sets). Now, how to find or even guess what is weak closure and then prove that really is weak closure?  I am aware that weak sequential closure and weak closure are not the same. Is the only way using weakly open sets (which are not so nice) or is there some trick to quickly deduce what is weak closure?  Also, I know that in a locally convex space weak closure and original closure of a convex set are the same. Here, we do not have a convex set.... Please help, I do not know how to begin this.


Why, if messageField is empty, then the code is still executed anyway?

This is a snippet of my MainActivity.java. @Override                 public void onClick(View v) {                     EditText textField = findViewById(R.id.messageField);                     if (!(textField.getText().toString() != "")){                          FirebaseDatabase.getInstance().getReference().push().setValue(                             new Message(FirebaseAuth.getInstance().getCurrentUser().getEmail(), textField.getText().toString()));                     textField.setText(""); }         }


Adding custom constant to system constants

I'm wonder if here is any way to add custom constant to system constants.  For example in my coding I often uses such code:  VB.NET Private Sub myform_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown     If e.KeyCode = Keys.F3 Or (e.Control And e.KeyCode = Keys.F) Then         search(mytextbox.Text.Trim)     End If End Sub  C# private void myform_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.F3 | (e.Control & e.KeyCode == Keys.F)) {     search(mytextbox.Text.Trim);     } }   Idea is to add new element to Enum Keys, say "Find" So I would be able to do this:  VB.NET     If e.KeyCode = Keys.Find Then     search(mytextbox.Text.Trim) End If  C# if (e.KeyCode == Keys.Find) {     search(mytextbox.Text.Trim); }   Of course I would first replace keystrokes Keys.F3 and e.Control+Keys.F to Keys.Find in some lower level "ProcessCmdKey" on Applicaton level like this:  Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean      If keyData = Keys.F3 Then         msg.WParam = CType(Keys.Find, IntPtr)         keyData = Keys.Find     End If      Return MyBase.ProcessCmdKey(msg, keyData) End Function   So, question is: Could Keys.Find be added to Keys constants and if do - how?


What does the `who` command result `root :0` mean?

The return value of command who will always include root :0 in X Window pts. I guess it actually means the GNOME login. Am I right?  Another question is where to get this knowledge, as I don't see it in the man who, neither in info who.  Example  [root@localhost root]# who root     :0           Sep 11 06:33  root     pts/0        Sep 11 06:36     (:0.0)


Apart from that electric and magnetic field variation thing, is there any other explanation? Can photons simply pass through vacuum?


Switch Stack Overflow account from Google login to Stack Exchange login

Right now I have an account on Stack Overflow that was created automatically when I logged in using my Google account.  The point is, what happens if I lose access to my Google account? It seemed unlikely when I registered, but now that Google accounts are tied to YouTube accounts, which can get closed for a number of reasons, I'm starting to worry.  I'd like to know if (and how) I can switch my Stack Overflow account from the Google-login to one that uses a dedicated password.  BTW I don't mind needing to remember one more password.


What is the standard/recommended font to use in papers?

I looked around but did not find that anyone has asked this before, but what are the fonts that are standard/recommended while writing academic reports/papers?


Best way to validate an argument that is being passed into a function is a number itself?

What is the most reliable way to check if a string is a number or not?   var checkForNumber = (arg) => {    if (typeof arg === 'number') {      return arg + ' is a number'    } else if (Number(arg)) {      return arg + ' is a number'    }   return 'Not a number';  };   checkForNumber('a')


Using Gimp to batch convert images to another format in Windows

As implied by the title, does anybody know how to use the gimp-console-[version].exe program to batch convert images between formats (with default settings) in Windows ?


What is the chronological order of the storyline in the Five Nights at Freddy's series?

I'm curious what the timeline is for the events so far for all the games of Five Nights at Freddy's.  From playing FNaF 3 I'm not sure if I'm wrong but it seems to take place shortly after the events after FNaF2, which happens after FNaF1, but some people have been telling me it's the other way around, in that FNaF 3 comes first, then 1 & 2.  How do 4 and the two un-numbered sequels factor into this?


Diagnosing cause of slow performance in MXD

Every now and then I'll have an MXD that suddenly begins to not only draw at agonisingly slow speeds, but also become sluggish in general. As a routine solution, I generally run MXD doctor, remove unnecessary layers, clear results, and remove layers one by one til I identify the problem.  However, I am wondering if there is a way to quickly return diagnostics that would identify problematic layers in the first instance. The in-built 'Analyze Map...' function has not generally been helpful in these cases. Is there a way to programmatically return the drawing time of each layer - or any other creative solutions to return helpful info?


Get all combinations from list with and without repeat

I have a list  a = ['a', 'b', 'c']   How I can get all combinations with repeat and without them from this list. Final output will be:  [('a', 'b', 'c'),  ('a', 'c', 'b'),  ('b', 'a', 'c'),  ('b', 'c', 'a'),  ('c', 'a', 'b'),  ('c', 'b', 'a')]


I admire the popup, but should it be appearing on locked posts?

I noticed a wonderful popup reminding the user to upvote answers, but I thought it might confuse some people that it appears on locked posts.


Minecraft Exception Access Violation Problematic Frame ig75icd64.dll

Minecraft keeps closing a whenever I try to play on multiplayer and its keeps saying that I have a file open. Here is the crash report:  Completely ignored arguments: [--nativeLauncherVersion, 301] [17:43:10]  [Client thread/INFO]: Setting user: Legend_2007 [17:43:10]  [Client thread/INFO]: (Session ID is <censored>) [17:43:13]  [Client thread/INFO]: LWJGL Version: 2.9.4 [17:43:14]  [Client thread/INFO]: Reloading ResourceManager: Default [17:43:16] [Sound Library Loader/INFO]: Starting up SoundSystem... [17:43:16] [Thread-5/INFO]: Initializing LWJGL OpenAL [17:43:16] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org) [17:43:17] [Thread-5/INFO]: OpenAL initialized. [17:43:17] [Sound Library Loader/INFO]: Sound engine started [17:43:25]  [Client thread/INFO]: Created: 1024x512 textures-atlas [17:43:35]  [Client thread/INFO]: Connecting to play.cubecraft.net, 25565 [17:43:38]  [Client thread/INFO]: [CHAT]                                        #  # A fatal error has been detected by the Java Runtime Environment:  #  #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd2ee92177, pid=3040, tid=5852  #  # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)  # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops)  # Problematic frame:  # C  [ig75icd64.dll+0x12177]  #  # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows  #  # An error report file with more information is saved as:  # (i got rid of this part because it showed private info)  #  # If you would like to submit a bug report, please visit:  #   http://bugreport.sun.com/bugreport/crash.jsp  # The crash happened outside the Java Virtual Machine in native code.  # See problematic frame for where to report the bug.  # AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


how to find the distribution density of the variable X + Y?

X and Y are independent and have the same exponential distribution wih density: $$\lambda e^{-\lambda x} 1_{(0,\infty)} (x) $$ The density of the X + Y distribution can be calculated by convolution of the functions: $$f*f(t)=\int_{-\infty}^{\infty} f(x) f(t-x) \, dx $$ but I still have no idea how to solve it, during the lecture we only gave an example for a uniform distribution on (0,1)


Revolving Beacon confusing calculus problem

This is not homework. I have the solutions, I just can't understand why mine are wrong.  The problem states: A revolving beacon $3600$ feet off a straight shore makes $2$ revolutions per minute. How fast does its beam sweep along the shore, (a) at the point on the shore nearest the beacon? (b) at the point on the shore $4800$ feet away from the beacon?  My solutions (second one is wrong): I didn't feel I needed calculus to solve (a). Basically the beacon is travelling 2 times the circumference of a circle of radius 3600 feet at (assumedly) constant speed in 1 minute, so $$C = 2 \pi r = 7200 \pi$$ and therefore $v = 14400 \frac{feet}{minute}$, which is going to be the instantaneous speed at any point on the circumference of that circle, and this agrees with the solution in the book.  For (b), I figured that since the point is $4800$ feet away from the beacon, I could just again take the constant speed of the beacon along the circumference of a circle of radius 4800 this time and have that be the instantaneous speed at any point along the circumference of that circle, and therefore at the point on the shore $4800$ feet away from the beacon.  Which gives me $$C = 2 \pi r = 9600 \pi$$ and $v = 19200 \frac{feet}{minute}$.  However, the book disagrees with that result, and states:  Measuring the distance, $x$, along the shore from the foot of the perpendicular from the beacon to the shore and taking $A$ as the angle between this perpendicular and the beam, we have $x = 3600 \tan{A} $. Hence, $\frac{dx}{dt}=\frac{14400 \pi}{\cos^2{A}}$, making the answer to (b) $25600 \pi \frac{feet}{minute}$.  I don't understand why my answer to (b) is wrong. If constant speed made sense as instantaneous speed at a point given a radius of $3600$, why doesn't it work for a radius of $4800$. I fail to see how the two questions are fundamentally different.


How do I get Korean (Hangul) characters to typeset in LaTeX ?

I've been unable to find a concise answer anywhere else on the web. Since its only a few words, albeit crucial ones, that are in Korean I don't want to have to muck around with HLaTex or deviate from pdfLaTeX that I'm using at the moment.


Does definable imply recursively enumerable?

Is there any subset of the natural numbers that is definable but not recursively enumerable?


How many groups exist with order $n$ (two isomorphic groups are treated as the same group)

I have tried to solve it for the case when $n=1,2,3,4$ which i found that there is only one group for $n=1$, one group for $n=2,$ one group for$ n=3 $ and two groups for $ n=4$, then my question come, if i were given a number $n$ which is larger, how do i know how many different groups are there?  (I treat two isomorphic groups as the same group in this question.)


I had written this in texniccenter, and when I did ctrl+F7 it gave me error as "undefined control sequence". I don't understand what I am doing wrong. Is there something wrong in my code? I also downloaded the package "bbm" and added it in the beginning but nothing is working. Can someone help me? Hope this is not too silly for this forum.  \documentclass{article} \usepackage{amsmath} \usepackage{bbm} \begin{document} \section{Problems} \label{sec:Problems} \begin{flushleft} This approach helps a lot since equality cases can be easily obtained. The left side's >equality case is $r = 1$. The right side's equality case occur when $y = rx$ passes through the interior of exactly $n$ squares. Such cases occur when $r$ is either an integer, reciprocal of an integer, $r \geq n$ or $0 < r \leq 1/n$.   $\blacksquare$ \end{flushleft}  2.Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that \[f(xy+f(x))=f(x)f(y)+x , \ \ \ \forall x,y \in  \mathbb{R}.\]  \end{document}   This is what I wrote down. My alignment is pretty ugly here, and I apologise for that, but ugliness is better than incorrect code. Also, this is my first time using an editor. Usually I write on \LaTeX\ enabled platforms, such as math SE, MO etc. Also the part from "This approach..." is the ending of another problem, I omitted everything but kept this part so it might be clear about the errors. Also, I want to give a black square when the solution ends, I tried to give it, and that also gives "Undefined control sequence:. Please help me, thanks a lot.


how to enter GRUB menu during/after start up

After intitial installation, Ubuntu 18.04 boots to blank screen...and I mean blank... no cursor, no splash screen, nothing.  The install process went flawlessly, but after initial reboot, it always boots to a blank screen.  I have tried this several times using several different USB sticks from several different download sources.  On this same computer, I have installed Manjaro, Fedora, Opensuse and LMDE without any problems.  Debian didn't boot to a blank screen, but the resolution was AFU/unusable.  Linux Mint(all DE) gives me the same problem...always boots to a blank screen and no possibility to enter GRUB menu.  My question is, how can I enter the GRUB menu?     I've seen about 75 trillion posts about this on the internet, so this is obviously a common problem, but every suggestion that I've read doesn't work for me.  I've tried -- escape, space, shift(both) repeatedly pressing and/or holding down, nothing has worked.  I'm not ranting here, and I understand/appreciate all of the effort/work that has gone into all Linux distros, butI have to ask myself...why in the hell isn't the GRUB menu defaulted to display upon start-up in case people have any problems??  Surely this would save a boatload of posts on many forums...I have been on many and read many similar problems, but never a DEFINITIVE solution.  Like I said, I appreciate all of the hard work that has ggone into these distros- but sometimes I think they're not helping themselves...maybe a sticky of some kind when you download Ubuntu, Mint, Debian, "if system boots to blank screen" do this; with specific terminal commands.  If it don't work, it don't work.  Thanks for your help


Define the content of a polynomial (over an arbitrary commutative ring $A$) to be the ideal generated by its coefficients, denoted $c(f)$. I want to show that   $$c(fg) = c(f)c(g).$$      (I was told this is true.)    What I was able to show was that $c(fg) \subseteq c(f)c(g)$ (this is obvious), and that their radicals are the same. My reasoning for the latter was as follows: let $f = a_0 + \dotsb + a_nx^n,$ $g = b_0 + \cdots + a_mx^m,$ and consider the matrix  $$ \begin{pmatrix}  a_0 b_0 & \cdots & a_0b_m\\ \vdots & \ddots & \vdots\\ a_nb_0 & \cdots & a_nb_m \end{pmatrix} .$$  Then $c(f)c(g)$ is generated by the entries of this matrix, while $c(fg)$ is generated by the sums along the diagonals. Let $\mathfrak p$ be a prime ideal of $A$ not containing $c(f)$ or $c(g)$, and let $i,\,j$ be minimal such that $a_i,\, b_j \notin \mathfrak p$.  Then all the terms in the generator of $c(fg)$ corresponding to the coefficient of $x^{i+j}$ are in $\mathfrak p$ except for $a_ib_j$, so that $c(fg) \not\subset\mathfrak p$. It follows that $c(fg) \subseteq \mathfrak p \Longleftrightarrow c(f)c(g) \subseteq\mathfrak p$, and hence $\sqrt{c(fg)} = \sqrt{c(f)c(g)}$.     Can I go all the way and show that in fact $c(fg) = c(f) c(g)$?


In the File Manager (Xubuntu 12.04), I can see some default folders which I don't need (like Videos, Music, ...). Is it safe to remove them or might programs not work properly afterwards (like on Mac OS X where I tried that once)?  I found this thread on Ubuntu Forums . Is this the way one should remove these folders?


Terminal returns not found for most commands Mac OSX

I'm really new to Mac OSX and UNIX based systems. I wanted to run a few Windows games on my Mac Mini so I started installing Wine and MacPorts. I think the installs are correct, but when I type sudo port install wine I see a not found error in my terminal. I tried other basic commands like say and clear and all of them return the same not found error. My research shows that my PATH might be incorrectly set, but it lacks steps I can implement. Specifically, I ran this command: echo $PATH and it returned:  /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin  I'm a complete newbie to mac and have no idea where .bash_profile or any of those files are. My skills let me install Xcode and the Command Line tools for Xcode and I sense I need to level up on path management. At this point I need help managing my dot files and changing my path to fix these specific errors on Mountain Lion. What are my next steps?


I was trying to edit source.list for apt-get install update and generated new source code from repogen.simplylinux.ch and I don't know what happened during editing but now when I type version then it says:    WARNING:root:could not open file '/etc/apt/sources.list'    version: command not found   and when I do apt-get install mtools then it says:    root@spider-laptop:~# apt-get install mtools Reading package lists... Done Building dependency tree        Reading state information... Done Package mtools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source   E: Package 'mtools' has no installation candidate


Does umount calls sync to complete any pending writes

We have BBB based custom board with kernel 3.12 running on it.  I have doubt regarding umount and & sync.  Lets say a script is umounting a partition, Does it require to run sync command before umount to complete pending writes. ?


Good introductory material for bootstrap?

I am considering the use of bootstrap method to estimate standard errors or confidence intervals for the method I am developing.  Two candidate books are  Efron and Tibshirani (1993)   and   Davison and Hinkley (1997)   Which one is better for the novice to implement the method?


Cannot join domain from new machine - the network path was not found

I have a standalone domain controller that was recently compromised. I've isolated it and cleaned it up, but I need to set about replacing it.   I've built a replacement, however when I try and join the domain, I'm getting 'The network path was not found'. It does prompt for credentials, so its like it can see the domain, but after about 30 seconds, it errors.     I've googled the hell out of this and I've tried various things with no success so far.  I believe DCDiag has shed some light on the cause of the issue, however I've not sure where to go from here...   Performing initial setup:  Trying to find home server...  Home Server = {machinename}  [{machinename}] Directory Binding Error 1722: The RPC server is unavailable. This may limit some of the tests that can be performed. * Identified AD Forest. Done gathering initial info.  Testing server: Default-First-Site-Name\{machinename}   Skipping all tests, because server {machinename} is not responding to directory service requests.   Any help or suggestions welcome!


Is there any way to make compiled ASP.NET website impossible to decompile?

Is there any way to compile ASP.NET Web Site and make it impossible to decompile (reverse engeenering)?  I wrote my own big project in Visual Studio, I want to compile it and sell to the buyer. But I don't want buyer to see/modify the source code in any way. I'm worried because even though I published (compiled) it with "allow this pre-compilled web site to be updatable" unchecked, I heard about something like Reflector and ways to get the source from binaries.  Is there any way to make it impossible? It's all about piracy prevention - I added fixed line of code that makes the website working only on ONE particular domain like XXXXXXX.XXX (typed in the code). But I'm worried that it can be decompiled and this line can be removed.  Thanks


Missing app-indicator icons in Ubuntu 18.04

After unlocking my computer, I noticed that all of my usual indicator icons went missing this afternoon. I'm missing icons for Slack, Keybase, Chrome, Nextcloud Client, Dropbox, Deluge, Flameshot, and Skype. Before I noticed this, I also noticed that my side-bar (with icons for my open apps and favorited ones) was visible on my lock-screen. I couldn't get a screenshot of that, though, as the Print Screen was (rightfully) still disabled on lock screen and is probably not related.    I saw , but his issue was that Unity was messing him up. This particular laptop has never had anything below 18.04 installed on it. It came with Windows 10 but I promptly replaced it with Ubuntu 18.04 as soon as I got it. As such, Unity has never been installed.


Better way to replace a set of signs with strings

I need to make a simple code, which get a string, and an array of String, and  replace the ? signs with each element of array.  Here is the test case in junit:  @Test     public void QueryFitterTest() {          ArrayList<String> args=new ArrayList<String>();           args.add("Bad code");         args.add("The code is buggy");          String res = QueryMaker.queryFitter("insert into  vulnerability (name,descirption) values(?,?)",args);         String correctQuery="insert into  vulnerability (name,descirption) values(Bad code,The code is buggy)";         assertEquals(correctQuery, res);      }   and here is the  code:  public static String queryFitter(String query, ArrayList<String> args){      String[] colapsedQuery = query.split("");     int parmNum=0;     for(int i=0;i<colapsedQuery.length;i++){         if(colapsedQuery[i]=="?"){             colapsedQuery[i]=args.get(parmNum);             parmNum++;         }      }      query=concatenator(colapsedQuery);     return query;  } public static String concatenator(String[] colapsedQuery){     String delimiter = "";     String result = String.join(delimiter, colapsedQuery);     System.out.println("query is: "+result);     return result; }   The code is working fine but  I don't like my approach, is there an easier way to do it?


Using perfect constructions after "since"

From OneRepublic's song "Feel again":  It's been a long time coming since I've seen your face  From Kelly Clarkson's song "Since U Been Gone":  Here's the thing we started out friends It was cool but it was all pretend Yeah yeah Since U Been Gone  (obviously it's informal for "since you've been gone") Can perfect constructions be used after "since" (not in the sense of "because")? Is it something artists put in their lyrics in order to seem more "artsy", but consciously understand that it's ungrammatical and doesn't make any grammatical sense?


Using a folder on an ntfs partition as /home

I use wubi to install Ubuntu 10.10 on my ntfs partition. So I want to change the home folder to a folder on the ntfs partition. I could keep the personal configuration, software and so on after reinstalling the Ubuntu.  So I use ntfs-config to manage the disk partition, it's mounted when system is startup. And the permission of all files and directories are 777.  Then I modified the /etc/passwd to set the home folder to the folder on the ntfs partition. I can successfully login the account, however it looks like the .bashrc and .profile are not loaded correctly. I can't use the input method(even can't configure ibus), no sound device. However everything works well after changing the home folder back to /home/.  Could anybody give me a hint to make it work? Thanks.


Am I pushing the limits of copyright law with this logo?

I've produced this logo for a client. It's for a website with funny stories about working in retail.  The logo is meant to parody the look of the following three retail companies in the UK:    Just to clarify, I've used fonts that look similar rather than the exact fonts that the companies use. However, I'm concerned that the logo might be too similar to these companies (particularly Tesco) and could cause a problem. I had heard that if you change a logo more than 7 times, it's no problem. But I have no idea if this is actually true. Hoping to get some clarity from people that know more than I do - that would be you! Thanks, Ro


How to compile and install a driver for TP-Link TL-WN823N WiFi adapter on Ubuntu 18.04.4 LTS

I am an experienced PC user, able to follow a clear recipe, but I have extremely insufficient software knowledge background, limited to a number of basic DOS and Power-Shell commands, as well as FireWall rules, but I am a newcomer to Linux. I would appreciate assistance in obtaining the suitable Linux driver for this USB Adapter, which performance is perfectly suitable, when used in Windows. From the information I was able to patiently collect, obtaining WiFi drivers for Linux is still an issue.  As requested,please find hereunder a copy of the terminal return to lsusb.    The adapter is fitted to a USB port, but apparently not not recognised.   I would like to tell that the answer to my problem had already been given by chili555, who is definitely a very experienced Linux specialist. Thank you very much for your sharply "on target" answers.


When having a question URL in clipboard, let me navigate to it when opening the app

I would like to open a Stack Exchange link from clipboard in the app.  For example, if while opening the app it detects a URL to a Stack Overflow question in the clipboard, then it can show a dismissible fadeble banner  that asks whether to show the question in the app (whether to follow the link).


Is this polynomial in a finite field irreducible?

Let $\mathbb{F}:= \{a_1, \ldots , a_n \}$ be a finite field. Consider the following polynomial $$f = \prod_{i = 1}^n (X-a_i) + 1 $$ Is this polynomial irreducible? If not, is it irreducible in $\mathbb{F}_p$, a finite field with $p$ Elements for a prime $p$?


What's the simplest way possible to get the state/status of a battery charging in c#? I'm not looking for % I'm just looking for a really simple way to get whether or not the battery is charging.


I purchased a horse in Skyrim, and he simply refuses to wait for me. At first I thought it was because I was near a city. But even in the wildest part of Tamriel, it still trots away whenever I stop riding him. I tried with another horse, same thing. They basically act like wild horses when I gave hardly and honestly (kinda) gained money for them. It's not due to any mods, I started a game without any and still the same thing.  So yeah... Any idea how to fix that bug?


I installed the Ubuntu 14.04 and a Windows 7 in the same HD. And everything was working, but I created another partition in Windows to store data. And now I can't boot.  error unknown filesystem grub rescue >   How I can restore the grub?


What is UNIX and what is the relation of it with Linux

When I hear linux I always hear UNIX, Solaris and GNU and frankly I don't understand any word of this only Linux, so could some one explain to me what is each one?


What does an unprocessed RAW file look like?

I know people use fancy software like Lightroom or Darktable to post-process their RAW files. But what if I don't? What does the file look like, just, y'know, RAW?


I was dual-booting Ubuntu 14.04.2 LTS with my main OS, Windows 8.1 and in the middle of the installation, the screen turned to black. The laptop was still on, but the screen was black. Is this supposed to happen? Will my PC bootloader get corrupt? The computer is an Acer Aspire E5-521-238Q.  What do I do to stop the black screen?


An English book tells me that the following sentence is correct:     This publication is made from paper from sustainable forests.   Shouldn't it be of paper instead?


If I want to invest as a 19 year old, how should I go about it?

I'm a 19 year old student and I have a part-time job as a programmer.  I make 20 euros an hour and I work about 10-15 hours a week, depending on school responsibilities.  I earn 800 euros a month, sometimes more.    My monthly expenses are  about 500 euros.  If I deduct another 150 a month for unexpected expenses such as a broken washer, I'm left with 150 euros to spend on whatever.  I'm aware that 150 euros a month for unexpected events is not a lot but I have  enough money saved up so that I won't run into any trouble if I have  multiple unexpected expenses. So I thought I would continue to slowly add more money to the unexpected expenses pile.  What would be the best way to use my left over money? Should I invest the money or should I just save it on my bank account?  If the answer is invest,  since I've never done this before, could you please recommend a book or an article that I could use to inform myself on how to invest?


Show that A has the same cardinality as $A\setminus\{x,y,z\}$

This is a homework problem for class credit and I would appreciate a hint.  Let $A$ be an infinite set and suppose $x, y$ and $z$ are points in $A$. Show that $A$ has the same cardinality as $A\setminus\{x,y,z\}$.  So far I am trying to solve this for the more general case, let $A$ be an infinite set and $B$ be a finite subset of $A$, show that $A$ has the same cardinality as $A\setminus B$.  If $B$ is finite and $A$ is infinite, then $A\setminus B$ is infinite because if $A\setminus B$ were finite then $A = A\setminus B \cup B$, the union of two finite sets and hence $A$ would be finite.  Using Cantor-Bernstein we know that if there is a one-to-one function from $A$ to $A\setminus B$ and a one-to-one function from $A\setminus B$ to $A$, then $A$ and $A\setminus B$ are equivalent.  It is easy to define a function $f:A\setminus B \to A$ that is one-to-one, $f(x) = x$.  Now I need to define a function $g:A \to A\setminus B$ that is one-to-one.  I have a feeling that this involves using the axiom of choice.  Is this the right strategy?  Have I made any errors?  And can anyone give me a hint on how to define a one to one function from $A$ to $A\setminus B$?


Why do solutions to $z^n=w$ form an arithmetic sequence and, when plotted, divide the argand diagram into equal portions?

Let $z^n=w$ where $w$ is a complex number. There will be $n$ solutions for this equation. Let the solutions  be $z_1,z_2,\ldots,z_{n-1},z_n$.  If  $arg(z_2)-arg(z_1)=d$, it is my observation that $arg(z_x)=arg(z_{x-1})+d$ where $x \in \mathbb{Z}$.  Further, plotting the solutions on an argand diagram divides the diagram into equally sized portions. For instance, if n=3, the plotted solutions will divide the diagram into 3 equal sections.  Is there some intuitive explanation as to why:  1) The solutions to $z^n=w$ form an arithmetic sequence?  2) When plotted, the solutions divide up the argand diagram into $n$ sections of equal size?


How can I sharpen my chef's knives at home?

I have a beautiful Calphalon chef's knife that has served me well for years. However, lately I've noticed that it is quite dull, and the blade slips sometimes when cutting tomatoes and onions. How can I sharpen it without spending a fortune?


Prove the following $A \setminus (B\setminus C) = (A\setminus B)\cap (A \cup C)$

I want to prove the following so I decide to rewrite the RHS  $$A \setminus (B\setminus C) = (A\setminus B)\cap (A \cup C)$$ $$ A\setminus(B\setminus C) = A\setminus (B \cap C^c) = A\cap (B\cap C^c)^c = A\cap(B^c\cup C) = (A\cap B^c)\cup(A\cap C) $$ there is way that $(A\cap B^c)\cup(A\cap C)\rightarrow (A\setminus B)\cup(A\cap C) = (A\setminus B)\cap (A \cup C)$?  thanks. EDIT  LHS: $$x\in A \vee x\in A\cap C \rightarrow x\in A \wedge x\in C$$ RHS: $$x\in A \wedge x\in A\cup C \rightarrow x\in A \vee x\in C$$  how it can help me?


How to install a software in Ubuntu with a .deb file?  administrator@administrator-VirtualBox:/tmp$ sudo apt-get -i SmartclassCTS.deb [sudo] password for administrator:  E: Command line option 'i' [from -i] is not understood in combination with the other options.


What's at the other end of the Forbidden Forest?

The Forbidden Forest is unquestionably massive. As the title implies, what's at the other end of the forest  ? Surely the forest must come to an end somewhere - so what exists beyond the forest  ?


Pass second argument as the default first argument in a newcommand

I'm trying to do something along these lines:  \newcommand{\pcite}[2][#2]{( #1 \cite{#2} )}   I.e. make it so that, if an explicit argument is used, then use it, otherwise re-use the second argument as the first  The intended use is:  As \pcite{Author.etal} has stated   should result in      As ( Author.etal [1] ) has stated   whereas  As \pcite[Author and Coauthor, 1999]{Author.etal} have stated   should result in     As ( Author and Coauthor, 1999 [1] ) have stated     PS. This is simply a minimal example, unrelated to the actual command I'm writing.


How do you fix a bad merge, and replay your good commits onto a fixed merge?

I accidentally committed an unwanted file (filename.orig while resolving a merge) to my repository several commits ago, without me noticing it until now. I want to completely delete the file from the repository history.   Is it possible to rewrite the change history such that filename.orig was never added to the repository in the first place?


How to separately change the opacity of a text on a button pygame?

I have the following code below that is a class for a button taken from another post. I was wondering if I can change the opacity of the background of the button without changing the opacity of the text on it. How can I achieve this? Code: import pygame  pygame.init() font = pygame.font.SysFont('Microsoft New Tai Lue', 23)   class Button(pygame.sprite.Sprite):     # 1) no need to have 4 parameters for position and size, use pygame.Rect instead     # 2) let the Button itself handle which color it is     # 3) give a callback function to the button so it can handle the click itself      def __init__(self, color, color_hover, rect, callback, text='', outline=None):         super().__init__()         self.text = text         # a temporary Rect to store the size of the button         tmp_rect = pygame.Rect(0, 0, *rect.size)           self.org = self._create_image(color, outline, text, tmp_rect)         self.hov = self._create_image(color_hover, outline, text, tmp_rect)           self.image = self.org          self.rect = rect         self.callback = callback        def _create_image(self, color, outline, text, rect):         img = pygame.Surface(rect.size)         #img.set_alpha(110)         if outline:             img.fill(outline)             img.fill(color, rect.inflate(-4, -4))         else:             img.fill(color)          # render the text once here instead of every frame         if text != '':             text_surf = font.render(text, 1, pygame.Color('white'))             text_rect = text_surf.get_rect(center=rect.center)             img.blit(text_surf, text_rect)         return img      def update(self, events):         # here we handle all the logic of the Button         pos = pygame.mouse.get_pos()         hit = self.rect.collidepoint(pos)         self.image = self.hov if hit else self.org         for event in events:             if event.type == pygame.MOUSEBUTTONDOWN and hit:                 self.callback(self)  Any help is appreciated.


A set $E$ such that $E$ is dense in $[0,1]\times [0,1]$, and the intersection of $E$ and any line parallel to the axes has at most one point

How can I construct a set $E$ such that $E$ is dense in $[0,1]\times [0,1]$, and the intersection of $E$ and any line parallel to the axes has at most one point?   I am finding this set in order to construct a counterexample to show that the Tonelli's Theorem is not true for Riemann integral because we can define a function $$f(x,y)=\begin{cases} 1, &(x,y)\in E,\\ 0, &(x,y)\notin E, \end{cases}$$ then $f\notin R([0,1]\times [0,1])$, but we have the following: $$ \int_0^1dy\int_0^1f(x,y) dx=0=\int_0^1dx\int_0^1f(x,y)dy.$$  Apparently, I also want the measure of $E$ to be $0$.


Why is SE consolidating my accounts against my will?

I am a longtime SO user, but recently I created a new account for Parenting SE.  (As in, new username associated with a different email address.)  I do this because I use SO and similar sites (Server Fault, etc.) in the professional sphere--I have a SO careers page and I anticipate prospective employers checking out my SO profile.  On Parenting SE, on the other hand, I ask question(s) in the domain of--obviously--parenting, which I do not consider part of the professional sphere.  And in fact whatever questions I might ask there, since they of necessity reveal information about my children and family life, I would like to keep private.    So I am dismayed to find out that as of yesterday, mods at SO (or AI?) has figured out that my two SE profiles are the same person, and merged them.  It gets worse: I also used an alternate account to ask a sensitive question about contracts, and this too has been merged into my main account.  Is this SE policy, or did some lone wolf moderator go out and do this?  In the former case, what considerations outweigh my desire for privacy?  Is there another way to achieve privacy within the SE system?


How to find out the terminal command of an application?

I want to use some applications shown on the Unity Launcher in a terminal, but I need to know the appropriate command to run them. How can I achieve that?


I have an electric bike moved by a battery. I am at a train station with two friends. A flat train car platform passes by at $1 m/s$. The friend #1 jumps on it while the friend #2 remains at the station. I turn on my bike, accelerate to $1 m/s$ and ride onto the platform to catch up with the friend #1. My total weight is $100 kg$. Thus the energy I have taken from the battery is:  $E_1 = \frac{mv^2}{2} = \frac{100\cdot1^2}{2}=50 j$  Meanwhile my motor is still running and I accelerate again to $1 m/s$ relative to the platform or $2 m/s$ relative to the station. The friend #1 on the platform observes me gaining $1 m/s$ relative to him that corresponds to taking the energy of another $50 j$ from the battery for the total of:  $E_2 = 50 + 50 = 100j$.   However, the friend #2 at the station sees me accelerating to $2 m/s$ relative to him that corresponds to the total energy of:  $E_3 = \frac{100\cdot2^2}{2}=200 j$  I also have a gauge showing the total energy taken from the battery. The reading on the gauge does not depend on the frame of reference. Obviously, the gauge will show $100$ joules, but how can this number be reconciled with the observation of the friend #2? Where does the extra energy he sees come from?


Don't understand what Sharepoint version I'm using

It seems that I'm using SharePoint Foundation 2013, because I can't run certain functions like I can't choose workflow platform 2013 in SharePoint Designer. However, when I run SharePoint SERVER 2013 setup, it lets me to choose if I want to repair or remove. So what the hell? Install says that SharePoint Server is installed while PowerShell and other tools speaks differently.


When, if ever, and how, would Google, Yahoo, Bing, etc will add the new gTLD to their search results?

New domain names like .photos .gallery .repair etc are being released every month. I tried running a generic search for some things, and I could not find any of those in the results.   Any idea if they will ever integrate them into the search results? Will they be ranked higher than the .com domains? For example, if someone had stackphotos.com and now they got stack.photos - will the second domain be ranked higher than the first?


i have windows 8.1 currently and i want to switch to Ubuntu especially or any Linux OS would be fine and my computer specs are as below:  Processor:Intel(R)Pentium(R)D CPU 2.66GHz 2.67GHz RAM: 1.25GB System Type: 32bit Operating System, X64 Based Processor   my PC is very old and as i am school student i dont need a PC better than this still i finish my schooling. Please suggest me a Linux OS,  I dont need Linux for gaming purpose but just for my programming place as such.  Thanks


MySQL: How to get the LAST 10 rows instead of the FIRST 10 rows

I am using the command   SELECT * FROM table LIMIT 0, 10   to retrieve the firs 10 rows of the table.  Is there a way to do the same thing but with the last 10 rows?  Thanks in advance.


Biblatex printing weird citations via \citep{} within APA

When using the APA style to automate my citations, it prints out with a ", 2" or a ", 1" at the end, as if it's supposed to be a page or paragraph number. After reviewing my bib file, I strongly suspect biblatex is printing out the issue number.  My MWE LaTeX file is:  \documentclass[11pt, twoside]{article}  %document formatting \usepackage[margin = 2.5cm]{geometry}  %mathematical packages \usepackage{amsfonts,mathtools,amssymb, amsthm}  %Referencing package \usepackage[     backend = biber,     style = apa,     natbib = true     ]{biblatex} \addbibresource{citations.bib}  \begin{document}  \section{Introduction} Leibniz and Cauchy rejected imaginary numbers \citep{IForImagNumb}.  Originally used to solve specific inputs for the cubic formula roughly five centuries ago \citep{IForImagNumb,BriefHistOfeigamma,HistOfMaths}.  \citet{ImagXtrmNumb} has developed ``imaginary extreme numbers".  \citet{PhysNatureOfImagNumb} has claimed to find physical existence of imaginary, complex, and hypercomplex numbers.   My MWE bib file is:  @book{HistOfMaths,     author = {Boyer, Carl B. and Merzbch, Uta C.},     year = {1991},     title = {A history of mathematics},     edition = {2nd},     city = {New York},     publisher = {Wiley} }  @article{BriefHistOfeigamma,     author = {Debnath, Lokenath},     year = {2015},     title = {A brief history of the most remarkable numbers e, i, and {$\gamma$} in mathematical sciences with applications},     journaltitle = {Journal of Mathematical Education in Science and Technology},     volume = {46},     issue = {6},     pages = {853-878},     doi = {10.1080/0020739X.2015.1015266} }  @article{IForImagNumb,     author = {Curcio, Liliana},     year = {2017},     title = {I for Imaginary Numbers},     journaltitle = {Lettera Mathematica},     volume = {5},     issue = {2},     pages = {125-129},     doi = {10.1007/s40329-017-0172-6} }  @article{PhysNatureOfImagNumb,     author = {Antonov, Alexander Alexandrovich},     year = {2016},     title = {Physical Reality and Nature of Imaginary, Complex and Hypercomplex Numbers},     journaltitle = {General Mathematics Notes},     volume = {35},     issue = {2},     pages = {40-63},     url = {http://www.geman.in/yahoo_site_admin/assets/docs/4_GMN-10932-V35N2.31895146.pdf} }  @article{ImagXtrmNumb,     author = {Liu, Liping},     year = {2013},     title = {Imaginary numbers for combining linear equation models via Dempster's rule},     journaltitle = {International Journal of Approximate Reasoning},     volume = {55},     issue = {1},     pages = {294-310},     doi = {10.1016/j.ijar.2013.09.004} }   For some weird reason, biblatex prints out the following:   "(Curcio, 2017, 2)" for \citep{IForImagNumb}, "(Boyer & Merzbch, 1991; Curcio, 2017, 2; Debnath, 2015, 6)" for \citep{IForImagNumb,BriefHistOfeigamma,HistOfMaths}, "Liu (2013, 1)" for \citet{ImagXtrmNumb}, and "Antonov (2016, 2)" for \citet{PhysNatureOfImagNumb}.   Any ideas on how to fix this?


Indicate that I already flagged in flagging dialog

As Jeff said in  , a realtime online indication whether I already flagged is too expensive.  How about doing the query after I click on flag, before showing me the flagging dialog? If I already flagged this item it will show me a dialog telling me that.  I assume most clicks on the flag link is followed by a submit, which will trigger the query anyway. Doing the query after click on flag, before showing the dialog, will not raise the amount of queries by much, but make many users happy.


Show that $\sigma^2$ is a Cycle iff the length of $\sigma$ is Odd

I got this question. I'm totally stumped and I don't know what to do.     Let $\sigma$ be a cycle of length $k > 2$. Show that $\sigma^2$ is a cycle iff $k$ is odd.


I haven't yet gotten a good answer to this: If you have two rays of light of the same wavelength and polarization (just to make it simple for now, but it easily generalizes to any range and all polarizations) meet at a point such that they're 180 degrees out of phase (due to path length difference, or whatever), we all know they interfere destructively, and a detector at exactly that point wouldn't read anything.  So my question is, since such an insanely huge number of photons are coming out of the sun constantly, why isn't any photon hitting a detector matched up with another photon that happens to be exactly out of phase with it? If you have an enormous number of randomly produced photons traveling random distances (with respect to their wavelength, anyway), that seems like it would happen, similar to the way that the sum of a huge number of randomly selected 1's and -1's would never stray far from 0. Mathematically, it would be:  $$\int_0 ^{2\pi} e^{i \phi} d\phi = 0$$  Of course, the same would happen for a given polarization, and any given wavelength.  I'm pretty sure I see the sun though, so I suspect something with my assumption that there are effectively an infinite number of photons hitting a given spot is flawed... are they locally in phase or something?


Land first into Croatia with dual entry schengen

I have a dual entry schengen visa. I want to go to Croatia first and then Italy (for which i have the schengen visa) and leave to home country after that. Is it possible to land into Croatia first using the dual entry schengen visa?  Apology for reposting but the answer was not clear from previous responses on post:


Is there a way to insert comments at the end of a line, within a block of TeX? For example, something like the following  $$\begin{align}  &(B \cap A) = (C \cap A) \\    'given  &(B \cap A) \cup (B  \cap \overline{A}) = (C \cap A) \cup (C  \cap \overline{A}) \\ 'substitution and distributive law \end{align}$$ &B = C    where ' would indicate a comment. It would be handy for justifying certain steps when writing proofs.


How to prove ${{a}^{a}}{{b}^{b}}\ge {{\left(\frac{a+b}{2}\right)}^{a+b}}$ ?thanks.


Why doesn't $ds^2 = 0$ imply two distinct points $p$ and $p'$ on a manifold are the same point?

Let's suppose I have a spacetime manifold $M$. Let $p$ be a point on my manifold. Now I move from $p$ to some other point $p'$. Presumably I should have moved some "distance" right? How can I speak of notions of space and time if I have no conception of distance?   But now consider light moving through spacetime. Suppose my light starts at $p = (0,0,0,0)$ and travels to $p' = (1,1,0,0)$. By the definition of the spacetime interval $ds^2 = dt^2 - dx^2 - dy^2 - dz^2$, this should mean $ds^2 = (1)^2 - (1)^2 - 0 - 0 = 0$. So $ds^2=0$.   Yet I have moved from point $p$ to $p'$. So I clearly have moved along some path along the curve, but the length of this path is zero. Shouldn't that mean $p$ and $p'$ are the same point?   Note: I think I may be suffering from an overly Euclidean mindset and my brain hasn't adapted yet enough to the non-Euclidean logic of semi-Riemannian manifolds.   My Question   Can someone resolve this contradiction?


how do you link components between them on a protoboard

I have the following protoboard (see picture below)    Each hole has a distance of 0.5mm   I want to link components between them. I found a few ways to do that:  1) Use tiny wires to connect the components  2) Solder the part of the board I'm using. However, issue is the dots between them are tiny (very actually) and my iron is kind of unfit for precision work.  Any insights would be great.  Cheers  Update:   Please find the size between holes of my protoboard and the the size of the tip of my iron (size in mm and cm)


How long should the wait be for with editor status after submission?

I submitted paper to a journal of Elsevier. Now it has been 1 month from submission with status: "with editor". Is this normal? And should I contact the journal to ask about the long time of that status?


Wrong favicon displayed on Google's mobile SERP

For some time now, Google has been displaying a website's favicon next to its title on the mobile SERP according to    But, for one website that I am managing, it is showing a completely different favicon. You can see it if you open the  on a mobile device, I am talking about the orange one:  I am referring to the top result.  As you can see on the , the favicon has been added correctly using the proper meta tag:   <link  rel="icon" type="image/x-icon" href="https://www.hoofgroove.ch/pub/media/favicon/default/favicon.ico" />   This is according to .  Also, all the browsers are displaying the correct favicon, which is not the orange one but the black&red one.  This meta tag has been used for weeks and also the  has always been the correct one as far as I can tell.  But for some reason, Google is showing the wrong favicon on its mobile SERP.  Any ideas why?


I believe, both variants are possible:   friendlier / more friendly; and   the friendliest / the most friendly.   I'd like to know what is used in every day speech more often and which is more formal.


Proving that if $|f''(x)| \le A$ then $|f'(x)| \le A/2$

Suppose that $f(x)$ is differentiable on $[0,1]$ and $f(0) = f(1) = 0$. It is also   known that $|f''(x)| \le A$ for every $x \in (0,1)$. Prove that   $|f'(x)| \le A/2$ for every $x \in [0,1]$.   I'll explain what I did so far. First using Rolle's theorem, there is some point $c \in [0,1]$ so $f'(c) = 0$.  EDIT: My first preliminary solution was wrong so I tried something else. EDIT2: Another revision :\  I define a Taylor series of a second order around the point $1$: $$ f(x) = f(1) + f'(1)(x-1) + \frac12 f''(d_1)(x-1)^2 $$ $$ f(0) = f(1) + f'(1)(-1) + \frac12 f''(d_1)(-1)^2 $$ $$ |f'(1)| = \frac12 |f''(d_1)| <= \frac12 A $$  Now I develop a Taylor series of a first order for $f'(x)$ around $1$: $$ f'(x) = f'(1) + f''(d_2)(x-1) $$ $$ |f'(x)| = |f'(1)| + x*|f''(d_2)|-|f''(d_2)| \leq \frac{A}{2} + A - A = \frac{A}{2} $$  It looks correct to me, what do you guys think?  Note: I cannot use integrals, because we have not covered them yet.


mongodb, does one *need* a replica set for a minimal production db?

I'm fairly new to mongodb, and am tackling some devops issues here.  We have a b2b saas product deployed on AWS where there is no network effect between customers, and some customers have much, much larger databases than others. They are currently being run off one central mongodb server and we're getting bad noisy-neighbour problems, we need to isolate the clients who have ridiculously large collections of contacts.  My question is: what is the minimum reasonable mongodb server for a setup where we give individual larger customers their own isolated vpc in aws? Does this need to be a 3 server replica set as indicated in the mongo docs or can one reasonably use one ec2 instance as a production mongo server for a small database?


Is a "Tale" less factual than a "Story"?

I am preparing a press release, and so far the headline of the press release is:     A SOVIET LABOR CAMP SURVIVOR’S TALE   A colleague called the word "tale" into question, since this is a book about a person's actual experiences in a Soviet labor camp.  She feels that "tale" would be more appropriate for something fictional, whereas "story" should be used in this case.  I'm not so sure "tale" is less appropriate for the situation, and on top of that, it sounds better.  Anyone have any good reasons for believing "story" is better than "tale"?


Is there a way to burn several ISOs to a USB external drive and be able to plug it in and boot to one of them?  Would creating several partitions and burning to each one work or something like that.


I am getting very frequent captchas when I use Stackexchange site that are not Stackoverflow. I haven't figured out a pattern but today I got a captcha when I tried to ask a question on tex.stackexchange even though I didn't post any other questions or answers beforehand. I also often get captchas when I try to use the search tool on stackexchange sites.  I am wondering if this is normal behaviour or if there is something  in my browser configuration (for example, Noscript, etc) that is making me trigger the CAPTCHA very often.


I used taxonomy term field with field collection and taxonomy term id not attached on node id. taxonomy term cannot get result. look video! used D8 but in D7 have the same problem. the same problem have field collection like module, Paragraphs.


debian interactive shell does not call .profile

I have just installed a brand new debian buster: $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:    Debian GNU/Linux 10 (buster) Release:    10 Codename:   buster  $ cat /etc/profile  [..] if [ "`id -u`" -eq 0 ]; then   PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else   PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" fi export PATH  [...]  $ whoami  zozo $ su  Password: # id -u  0 # printenv | grep -i ^path  PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games  If I run as root:  # grep -i path /etc/profile.d/* no output # grep -i path ~/.profile no output # grep -i path ~/.bashrc no output  Being on a Debian system there is no ~/.bash_profile nor ~/.bash_login vi ~/.profile  PATH="/usr/bin:/bin:/usr/sbin:/sbin"  but the problem remains: Ctrl+D to get back to normal user then $ su  password:   # printenv | grep -i ^path PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games  So I made some searches:  then if [ -z "$PS1" ];then echo NOT interactive shell ;else echo INteractive shell ;fi INteractive shell  it says:  When Bash is invoked as an interactive login shell, [...] it first reads and executes [...] /etc/profile [...]. After [...] it looks for [...] ~/.profile ...  So I am wondering why it does not load PATH from ~/.profile (~/.profile is not called/loaded). Of course, if I put it in ~/.bashrc, it works. So, at the end, by default, no path for essential commands like shutdown or reboot. Furthermore, I am realizing that tools like systemctl, which are by essence an administration commands are located in /usr/bin instead of /sbin or /usr/sbin  (and many other admin commands, like getfacl, setfacl... but that's another problem). I should have missed something here.


What is an appropriate word that describes someone who gets others to do things when they could easily do them themselves?

I'm trying to pin down a word or phrase that concisely describes a person who intentionally gets other people to do things for them that they could easily do themselves, as a form of either conscious or subconscious power-play. A mix somewhere between being lazy, manipulative, exploitative, discourteous, and so on. An example of how it would be used is, "Look at Stella being ... again, lying on the couch and getting her father to get pass her the remote while he was sitting even further away from it than her!"


Need help on counting problem that involves placing 3 sets of indistinguishable cupcakes on a 3x3 board.

This is the question I'm referring to from the title "Martha and Janet are making cupcakes for a party. They have a 3x3 board to arrange them on and they have 3 indistinguishable blue cupcakes, 3 indistinguishable red cupcakes, and 3 indistinguishable orange cupcakes. In how many ways can they arrange these cupcakes such that no two cupcakes of the same color are adjacent horizontally or vertically." I was able to get the answer by just writing it out by hand and counting up the total number of arrangements, but wanted to know if there was any shortcut that would get the answer way faster.


Everybody knows about this simple SQL query which used to select the top rows      SELECT TOP 2 CostPrice      FROM dbo.tblItemsQueue      WHERE ItemCode='P0022'      ORDER BY AddedDate ASC   It is clear when it has given a exact number with TOP (ex:- TOP 100). But according to my program I can't give an exact number with that. Instead of that, I have to enter a variable(eg :- N) with 'TOP' (ie :- SELECT TOP N CostPrice.....) and assign that variable by passing a value from C#   How can I do that in SQL Server? I used following method but it showed an error.      @Qty int      AS      SELECT TOP @Qty CostPrice      FROM dbo.tblItemsQueue      WHERE ItemCode='P0022'      ORDER BY AddedDate ASC


Android app crashes when changing activity

New to Android developing, using Android Studio. The first activity of my app is a simple main menu with a "Start" and a "Quit" button. When i press the "Start" button, the app should take me to the second activity named "EncounterScreen". Instead, the app crashes. . I am trying to display the current health of the player object, of class Player. Apparently the problem is with "TextView healthText=findViewById(R.id.healthText);". This is the error: "Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference" public class EncounterScreen extends AppCompatActivity implements View.OnClickListener {   Player player=new Player();   TextView healthText=findViewById(R.id.healthText);    @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_encounter_screen);     Player player=new Player();     TextView healthText=findViewById(R.id.healthText);     healthText.setText("Health "+player.getCurrentHP());      Button attackButton=findViewById(R.id.attackBtn);     Button drinkPotButton=findViewById(R.id.drinkPotBtn);     Button runButton=findViewById(R.id.runBtn);     attackButton.setOnClickListener(this);     drinkPotButton.setOnClickListener(this);     runButton.setOnClickListener(this);  }  @SuppressLint("SetTextI18n") @Override public void onClick(View view) {     switch (view.getId()){         case R.id.drinkPotBtn:             player.drinkPotion(player);             healthText.setText("Health "+player.getCurrentHP());         break;         }      }


Iterated self-composition of arbitrary function

Does there exist some notation that represents the iterative composition of a single-input, single-output function with itself? As in, say, $f_5(x)=f(f(f(f(f(x)))))$.  In other words, going by the above (incorrect, I'm pretty sure) notation:  $f(x)=x+1$, $f_n(m)=m+n$  I'm looking for the correct way to express the notion of "$f_n(x)$" for any $f$.


Calculations of Earth falling into the Sun if it suddenly stopped orbiting?

If the earth stopped orbiting the sun, it would be pulled by the Sun's gravity and fall into it. How much time it will take is tricky as force is inversely proportional to square of distance. So I have solved this problem using calculus. See my solution in this picture. My solution gives the right answer, but have I set up it the right way? And are my assumptions right?


What text editor will not overload my Xubuntu 13.10?

I don't do a lot of it, but I need to edit some html files and need a text editor to do it. I liked the looks of Kate but someone in the forum said Kate would be a big download for me because I'm Xubuntu. And since I've converted an old Dell with only a 40 GB HD, and I don't really need a feature-laden text editor, I'm not eager to overload it. Just a text editor that plays nice with Xubuntu 13.10 will do.  I've heard good things about Bluefish. Will that not overload my Xubuntu 13.10?


How to restrict users on changing their wallpapers?

I don't want my users to change the system wallpaper. How do I the lock the wallpaper down? Update  Users are changing wallpaper by right clicking the picture and choosing set as wallpaper. How to restrict this behaviour?  Is it possible to remove Backgrounds Tab from Appearance Preferences? If yes how?


Hi all,  This might be possibly the silliest question you have come across, but its bugging me out. Recently i have bought a 1Watt LED and when enquired with the vendor, he informed that the allowed max voltage is 3V.   So I was thinking that if I source three LED's in series from a 9V battery as shown in the above figure. Here the power source 9V is equal to the voltage dropped by LED's. So my question is   Do i really need to use a current limiting resistor for LED's in the above circuit? Is it safe to use this circuit without resistors?    Thanks in advance.   P.S: Apologies if it was too silly.


How to get source version of containerd 1.3.3 via apt?

Package containerd in version 1.3.3 seems to be the most recent one for  architecture amd64: $ apt show containerd       Package: containerd Version: 1.3.3-0ubuntu1~18.04.4 Priority: optional ...  Unfortunately the sources are not available. $ apt-get source containerd       Reading package lists... Done E: Unable to find a source package for containerd   $ cat /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ bionic main restricted deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted  It seems like the . Which is 1.4.4. But this version is not available for amd64. Is there a way of getting the sources for the recent containerd version 1.3.3 via apt ?


Visiting USA as a German with Iranian parents

I've been invited by a company to a release event of a new game next month in the USA which I'd like to go there. I was born in Germany, have the German citizenship and a German passport (just ordered) which should allow me to apply for the Visa Waiver Program, but I am afraid I'll be rejected as soon as I land in America and sent back to Germany because of   My name, which does not sound much German The fact that my parents were born in Iran   Are my concerns justified? What could happen when I arrive?


Cannot open adobe reader on Ubuntu 12.10 64bits

I downloaded AdbeRdr9.5.1-1_i386linux_enu.deb from the official website and installed it. Nothing wrong happened during the installation. But when I click Adobe Reader's icon, it has no response. Neither can I open a pdf file with Adobe Reader.  I checked that the package name is adobereader-enu:i386.


I've got a few questions I've answered, and I've been the only one to answer.   The answer has been up voted but the question author has still not accepted, even though the answer is valid.  Would it be possible in this scenario to have a 'Nudge Author' button available, that asks them to review the question and accept an answer.


I've got a plane with its Base Color set to a texture (let it be 100x100 pixels). When I scale this plane the texture gets scaled too, which is not what I want. How do I make Blender not to scale this texture no matter how big the plain is? I don't want it to be scaled beyond 100%.