How to define function that will called with or without parameters?

I need to develop a function in C that will be called with the same definition with or without parameters like this:  char *fnc(???)  {     char *str;     ....     return str; } char *c1 = fnc(); char *c2 = fnc(param);   How to do it?


Minimal non-cyclic groups other than the Klein four groups

everyone. I am afraid that my question is too trivial. But here it is. The Klein four group is the first counterexample to the the statement: "If all proper subgroups of a group are cyclic, then the group is cyclic." I am looking for other examples, if any. Are there?  Thanks in advance.


I need to compare data from paired groups, but my distributions are non-normal, and my sample size is small. Are there any tests I could apply?  I've been looking into non-parametric alternatives like WMW, but I don't know if it applies to paired groups. On a time crunch, and would appreciate any advice.


Word for a task which is flawed or doomed to failure but which you have to do anyway?

I'm looking for a word which describes a task which I think is poorly designed and will lead to either mediocre results or failure, but which I have to do anyway, especially in a work setting.   The word "Dilbertian" comes to mind, however this word is obviously made up and is only meaningful to someone who is familiar with the Dilbert comic strip, so I'm looking for something which captures both the futility and compulsory nature of the task in a way which is meaningful to a broader audience.


ubuntu 14.04 Dash default file options change?

Before upgrading to 14.04 when I clicked on a file in the dash, it opened the file.   This still happens on my 12.04 machine.  In 14.04 when I click on a file in dash search results, it offers me 3 options: 'Email', 'Open' and 'Show in Folder'.  How can I get back the previous behaviour - i.e. to immediately open the files on the first click?


Proving a statistic is ancillary [link to an old question]

It seemed pointless to write in the comments due to the question being old. There is one question given   with an accepted answer that I can't understand. It is implied there that from two random variables having the same distribution it follows that they are equal. Which is not true in general, . What am I missing?


What happens to a Devil when its alignment is forcibly changed?

According to PHB 122, in the section entitled Alignment in the Multiverse, for most creatures, "alignment is a moral choice." Myth says good-aligned gods created the races that are free to choose to be evil (they have free will), while evil-aligned gods created the races that are very inclined towards evil, since they were born to serve the evil god in the first place.  However, there are some types of creatures -- like devils -- which embody an alignment in its essence:     Alignment in the Multiverse, PHB 122      A devil does not choose to be lawful evil, and it doesn't tend toward lawful evil, but rather it is lawful evil in its essence. If it somehow ceased to be lawful evil, it would cease to be a devil.   My first thought was to not take this reading literally. The text could have meant that a neutral evil devil "isn't really a devil," but really, it's still a devil. It's a bit like imagining a guitarist who loses both hands. The loss of some part of a person's essence makes them not the same person anymore.  However, keeping my attention on it, I'm finding this text more and more difficult to interpret. If a devil "is lawful evil in its essence" then what does it mean when "it would cease to be a devil"? What happens to a devil when its alignment is forcibly changed?  There are , and a devil can be subject to some of them.


Why is 134.605*100 not equal 13460.5 in VBA Access?

I guess it has something to do with the precision but I don't understand it. I have this piece of code that should perform rounding to 2 places (value is the input):  Dim a As Double Dim b As Double Dim c As Double Dim result As Double  a = CDbl(value) * 100 b = a + 0.5 //because Int in the next line performs floor operation, 0.5 is added to ensure proper rounding, example for 123.5: Int(123.5) = 123 but we need Int(123.5 + 0.5) = 124 c = Int(b) result = c / 100   The thing is, it doesn't work properly for a value 134.605. While debugging I found out that a value is calculated incorrectly. In fact I have checked this:  ?13460.5 = (134.605*100) False ?(134.605*100) - 13460.5 -1,02318153949454E-12   And I'm stuck. I can either rewrite the rounding function differently, but I don't have an idea for it without *100 multiplication. Or I could find out how to make *100 operation work correctly for all the values. Could anyone try to explain me why it happens and suggest a solution?


Example:

A

B

   Result : A B  I want to do : B A


appstreamcli hanging with 100% CPU usage during update

appstreamcli is overheating my laptop by constantly using 100% of a core. My only solution is to kill it. Here's a screenshot of :    I can kill appstreamcli with either sudo kill pid or sudo killall appstreamcli. But once I do sudo apt update, the appstreamcli process returns again and hangs the update. If I then kill it, I get the following output:  Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;  then appstreamcli refresh > /dev/null;  fi' E: Sub-process returned an error code   What is this process and why is it using so much CPU?


Is $E^2=(mc^2)^2+(pc)^2$ correct, or is $E=mc^2$ the correct one?

I have been having trouble distinguishing these two equations and figuring out which one is correct.  I have watched a video that says that $E^2=(mc^2)^2+(pc)^2$ is correct, but I do not know why.  It says that $E=mc^2$ is the equation for objects that are not moving and that$ E^2=(mc^2)^2+(pc)^2$is for objects that are moving.  Here is the link to the video:


How does the Oscar jury know whether a director has done a good job?

Some Academy Award categories are pretty easy to figure out, such as Best Actor/Actress and Costume Design. However, one that has always puzzled me is Best Director. While we know that a director is generally considered the author of a film, their exact role is not always clear, involving and affecting elements that are already awarded in separate categories (including writing, acting, cinematography, and sound design).   While the director's contribution might be clear to anybody working on the movie in question, it becomes a completely different matter when outside observers, like the Oscar jury, need to evaluate it. It seems impossible for them to decide, based purely on the finished work, how much was actually down to the director.  Given that much or all of a director's role cannot be clearly separated from those of other crew members and unambiguously observed in the finished work, how does the Oscar jury decide which movies should receive an Oscar for direction?  In other words, how does the jury know that the result is not simply down to the writing, the acting, the cinematography, or anything else that the director cannot necessarily be credited with? Is there some unique task performed only by the director that the jury can also observe? Is it more of an overall assessment of a movie's quality that can also be clearly separated from the more general Best Picture award? Do they consult other sources than just the finished work?  Note that this is not a question about what a director actually does but rather how the Oscar jury, as outside observers, can disentangle the director's role from those of other crew members with overlapping responsibilities.


Error processing archive while trying to upgrade

The following error occurred while running the command sudo apt upgrade:  dpkg: error processing archive /var/cache/apt/archives/wireless-regdb_2018.05.09-0ubuntu1~16.04.1_all.deb (--unpack):  trying to overwrite '/lib/crda/pubkeys/sforshee.key.pub.pem', which is also in package crda 3.18-0ubuntu1 Errors were encountered while processing:  /var/cache/apt/archives/wireless-regdb_2018.05.09-0ubuntu1~16.04.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


What is a one word substitute for something which is "easily understood"? I can think of clear but I guess there are other better words.  Edit 1.  Will the answer be different for easily understandable? (As opposed to  easily understood)  Edit 2. Here's an example to more narrowly indicate the sort of usage desired:     The manual should be precise and easily understandable.


In Linux, does using route to blackhole an IP result in better performance than dropping in iptables?

During a DDOS attack, if we are finding IPs we want to block will we see better performance using a null route as opposed to iptables?  Null routing we would do something like:  ip route add blackhole <ip or range>   In iptables:  /sbin/iptables -A INPUT -s <ip or range> -j DR   Is there no difference? I would suspect route would work better, but am not certain.


Example of a function ($\mathbb{R}$ to $\mathbb{R}$) which is continuous only at two point .

Example of a function ($\mathbb{R}$ to $\mathbb{R}$)  which is continuous only at two point and differentiable only at one of these points.


I used to record iOS devices through QuickTime, however now it's only recording audio (not sure is this linked to OS X 10.11 or iOS 9).  How can I fix this (without third party sofrware)?


I have been running Deepin for a while. I have enough space left to run Ubuntu and I would like to check it out. How can I accomplish that?


All links point to the old site after migration

I migrated a Drupal 7 site from 1 server to another. Let's call the old site URL  and the new site url . I have copied over the code base and the database. The site displays correctly on , however all the links point to . The only way to access the links are to type the URL in the browser (e.g. ).  I have read lot of forums and done the following:   Set the $base_url in settings.php Cleared cache in Config > Development > Performance Cleared the cache table in DB Ran update.php Disabled clean urls   Nothing has worked. Someone suggested changing an entry in system table. Don't know which entry they were talking about.  Can anyone suggest the correct steps and perhaps an explanation of why I keep getting the redirects? I have also referred to .


Apply color to object with animation nodes

I am stuck with a basic question: I cannot apply colors via animation nodes. I already tried several ways, and checked multiple tutorials but to no avail. How can I get colors from animations? (i.e. make the cube blue in my example)


How to get the 0 at the end of a double?

This is what I have:  if (balance * 100 % 10 == 0) {     balance = balance + 0.00; } if (balance > 0) {     return name + ", $" + balance; } else if (balance < 0) {     return name + ", -$" + -balance; } else { // balance = 0     return name + ", $0.00"; }   I want to return "$4.80" but I keep getting "$4.8". How do I get the 0 at the end of the decimal?


What causes these "striped" streaks from light sources?

About 10 days ago I took this photo with a Samsung G S3   and why do those lights appear as eh.. eh... stripes?? Just like there was a star filter but lacking the stripe which is perpendicular to the stripe..? And I found  but it's about a lens flare thing.. I thought my problem is about the aperture or something... But anyway, are that question and my question about the same problem?


$f(x) = \frac {ax+b}{cx+d}$ , bijection $f: \Bbb R \to\Bbb R$?

For which $a,b,c,d \in \Bbb R$ does $f(x) = \frac {ax+b}{cx+d}$ define a bijection $f: \Bbb R \to \Bbb R$?  I'm guessing I need a system of equations and I know that $cx + d \ne 0$.  Thanks!


Making a command block with a command block

I am trying to make a spaceship that can go up and down basically. When it goes up, I want the command block to have a command. That's where I ran into a problem; I couldn't find a way to move a command block while keeping the command it has in it. I know how to use command blocks to make blocks appear, but is there anyway to make a command block with a command in it with another command block?  I basically just want to make a command block with a command in it by using /setblock in another command block (if its possible)  side question: when they release the /clone command in the next update, will that work similar to this?


Warning message when user navigates away from a page

In my software, If user edits some content of a document and clicks close icon without saving the changes he made (i.e. without clicking the save icon first), the text of message that I display to the user is as follows:  “Leaving this page will discard unsaved changes.”  Should I use ‘the unsaved changes’ instead of simple ‘unsaved changes’? Does this sentence look correct?


Cannot install a version of GDAL via Anaconda that permits reading BigTIFFs

I have some BigTiff files that I need to read into Python using gdal to do some analyses. According to GDAL's documentation:     When built with internal libtiff or with libtiff >= 4.0, GDAL also supports reading and writing BigTIFF files (evolution of the TIFF format to support files larger than 4 GB).   My version of libtiff is 4.0.9, so there should be no problem. However, if I try  bt = gdal.Open('path_to_bigtiff.tif'),    bt is a NoneType. I tested to ensure that non-BigTIFF files are readable with gdal.Open(), which they are.  Furthermore, if I check the list of gdal's supported drivers' metadata like this:  md = gdal.GetDriverByName('GTiff').GetMetadata() if md['DMD_CREATIONOPTIONLIST'].find('BigTIFF') == -1:     return 'BigTIFF is not supported'   BigTIFFs are not supported. My version of gdal is 2.2.2.   Using Anaconda, I created a new environment with  conda create --name test1 gdal   but I get the same result--gdal 2.2.2 is installed along with libtiff 4.0.9 and BigTiff files still cannot be read.  Using Anaconda again, I created a new environment with   conda create --name test2 gdal=2.3.1 -c conda-forge   but when I run import gdal in the test2 environment, I get the error message      ImportError: DLL load failed: The specified module could not be found.   How can I install a version of gdal that will permit me to load BigTiffs? I would also like it to be compatible with rasterio and fiona if possible.  Here is the output from conda info for the environment containing 2.2.2: (geoenv) C:\Users\Jon>conda info       active environment : geoenv     active env location : C:\Users\Jon\Anaconda3\envs\geoenv             shell level : 2        user config file : C:\Users\Jon\.condarc  populated config files : C:\Users\Jon\.condarc           conda version : 4.5.9     conda-build version : 3.0.27          python version : 3.6.3.final.0        base environment : C:\Users\Jon\Anaconda3  (writable)            channel URLs : https://repo.anaconda.com/pkgs/main/win-64                           https://repo.anaconda.com/pkgs/main/noarch                           https://repo.anaconda.com/pkgs/free/win-64                           https://repo.anaconda.com/pkgs/free/noarch                           https://repo.anaconda.com/pkgs/r/win-64                           https://repo.anaconda.com/pkgs/r/noarch                           https://repo.anaconda.com/pkgs/pro/win-64                           https://repo.anaconda.com/pkgs/pro/noarch                           https://repo.anaconda.com/pkgs/msys2/win-64                           https://repo.anaconda.com/pkgs/msys2/noarch           package cache : C:\Users\Jon\Anaconda3\pkgs                           C:\Users\Jon\AppData\Local\conda\conda\pkgs        envs directories : C:\Users\Jon\Anaconda3\envs                           C:\Users\Jon\AppData\Local\conda\conda\envs                           C:\Users\Jon\.conda\envs                platform : win-64              user-agent : conda/4.5.9 requests/2.18.4 CPython/3.6.3 Windows/10 Windows/10.0.15063           administrator : False              netrc file : None            offline mode : False


I can not understand this shift operator (c# reference):  class MainClass1 {  static void Main()     {         int i = 1;         long lg = 1;         Console.WriteLine("0x{0:x}", i << 1);         Console.WriteLine("0x{0:x}", i << 33);         Console.WriteLine("0x{0:x}", lg << 33);     } }  /* Output: 0x2 0x2 0x200000000 */  class MainClass2 {      static void Main()      {          int a = 1000;          a <<= 4;          Console.WriteLine(a);      } }  /* Output: 16000 */


Function that returns table with name passed as a parameter

Trying to create a function that returns a table. I want to pass the table's name as parameter. This is what I tried: create or alter function cust (@T NVARCHAR(250) )  returns table  return (select * from @T)  But getting an error. What can be done?


Proof by Induction - $(\sum_{i=1}^{n}i)^2 = \sum_{i=1}^{n}i^3$

Hello Mathematics Community, currently I am trying to prove:  $(\sum_{i=1}^{n+1}i)^2 = \sum_{i=1}^{n}i^3$  by Induction.  My Progress:  Assumption: $(\sum_{i=1}^{n+1}i)^2 = \sum_{i=1}^{n}i^3$  Induction Hypothesis: $=(\sum_{i=1}^{n+1}i)^2 = \sum_{i=1}^{n+1}i^3$  Induction Step:  $(\sum_{i=1}^{n}i)^2 = \sum_{i=1}^{n}i^3$  $=(\sum_{i=1}^{n+1}i)^2 = \sum_{i=1}^{n+1}i^3$  $=(\sum_{i=1}^{n} i + \sum_{i=n+1}^{n+1} i)^2$  But how can I use my Assumption here ?  It is important that I want to prove this with the summation symbol and not with the closed-form equations.  sincerely, M.Hisoka


$\sum_{n=i}^{j}\frac{1}{n}$ Isn't Integer Without Bertrand's Postulate

$i,j\in \mathbb{N}$ and $i<j $. Prove that $$\sum_{n=i}^{j}\frac{1}{n}$$ isn't integer using without using the .


PPA does not have a release date: apt update failed for some reason

Trying to  a ppa which I shouldn't have :  thufir@dur:~$  thufir@dur:~$ ll /etc/apt/sources.list.d/ total 28 drwxr-xr-x 2 root root 4096 Oct 26 05:57 ./ drwxr-xr-x 6 root root 4096 Oct 26 05:52 ../ -rw-r--r-- 1 root root  166 Oct 26 05:57 maarten-fonville-ubuntu-android-studio-artful.list -rw-r--r-- 1 root root  156 Oct 26 05:57 paolorotolo-ubuntu-android-studio-artful.list -rw-r--r-- 1 root root  156 Oct 26 05:57 paolorotolo-ubuntu-android-studio-artful.list.save -rw-r--r-- 1 root root  136 Oct 26 05:57 webupd8team-ubuntu-java-artful.list -rw-r--r-- 1 root root  136 Oct 26 05:57 webupd8team-ubuntu-java-artful.list.save thufir@dur:~$  thufir@dur:~$ cat /etc/apt/sources.list.d/paolorotolo-ubuntu-android-studio-artful.list deb http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful main # deb-src http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful main thufir@dur:~$  thufir@dur:~$ sudo ppa-purge ppa:paolorotolo/android-studio Updating packages lists E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release' does not have a Release file. Warning:  apt-get update failed for some reason thufir@dur:~$  thufir@dur:~$ sudo apt update Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [70.3 kB] Hit:2 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu artful InRelease Hit:3 http://ca.archive.ubuntu.com/ubuntu artful InRelease                      Get:4 http://ca.archive.ubuntu.com/ubuntu artful-updates InRelease [76.7 kB]                Ign:5 http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful InRelease           Hit:6 http://ppa.launchpad.net/webupd8team/java/ubuntu artful InRelease   Hit:7 http://ca.archive.ubuntu.com/ubuntu artful-backports InRelease                        Err:8 http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release               404  Not Found Reading package lists... Done E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. thufir@dur:~$    Because it's out of  (apparently).  How do I safely remove this ppa?  By which I mean using ppa-purge as that seems the best tool.  (In the  of installing android studio.)


This problem is from The Art and Craft of problem solving book:  Consider the following two player game. Each player takes turns placing a penny on the surface of a rectangular table. No penny can touch a penny which is already on the table. The table starts out with no pennies. The last player who makes a legal move wins. Does the first player have a winning strategy?  Now its not hard to see that the first player will always win if you place the coin in the center. But I have been thinking about what would happen If I also allow Quarter, Loonie and Twoonies. Does the first player have a strategy to always win? Could someone provide an explanation?


Force WP_Query to work in a local timezone

I have a template that displays an actual event if we have a today one, or a next future one. The template uses this WP_Query, that compares events date with the actual date:  $args = array(     'post_type' => 'events', // Tell WordPress which post type we want     'orderby' => 'meta_value', // We want to organize the events by date         'meta_key' => 'event_start_date', // Grab the "start date" field created via a third party plugin (stored in YYYY-MM-DD format)     'order' => 'ASC', // ASC is the other option         'posts_per_page' => '1', // Let's show only one / the first event.        'meta_query' => array( // WordPress has all the results, now, return only the events after today's date         array(             'key' => 'event_start_date', // Check the start date field             'value' => date_i18n("Y-m-d"), // Set today's date (note the similar format)             'compare' => '>=', // Return the ones greater than or equal to today's date             'type' => 'DATE' // Let WordPress know we're working with date         )     ) );  $featured = new WP_Query( $args );   This works, but I found a problem. Accordingly to , WordPress sets the PHP timezone to UTC for internal calculations. In my database events date are saved in a "Y-m-d" date format (without time). So, this means that at 2017-08-31 00:01 date/time (24h format) in my local timezone (UTC+2) the WP will compare a saved event date, say 2017-08-31, with 2017-08-30 of his internal UTC timezone (2 hours difference!) and still will display an old event instead of new one in these 2 hours after 2017-08-31 00:00 in my local time. How to solve this?  UPDATE  Changed the code as was recommended by @Milo. The problem is solved!  UPDATE - About duplicate  Guys, I suppose that for you my question is a duplicate of an existing question that already has a very clear answer, clear for you, but not also for me, as this answer doesn't have any example code. I seen that answer, if you have not noticed, and I put a link to it in my question before you, but this doesn't helped me much. I needed an exact solution for my situation, and @milo provided it for me, so I thank you him!


Linear Algebra For Physicists (Book Recommendations)

I am aware that there are plenty of questions regarding book recommendations, however, I have not found one that fully matches what I intend to ask. I have provided a list of links to some similar questions under my question.    I am 2nd year Undergrad doing physics. So far we have completed three "Mathematics for Scientisits" courses and they are all heavily based on matrices, vectors, orthogonality and linear algebra in general. However, the motivation behind the methods is not explained at all! All sorts of terminology is thrown around and I hit a brick wall when I try to connect it all together.  I can, for the most part, do the maths behind them but I am failing to fully grasp the pure and applied concepts of:   Orthogonality Eigenvalues and Eigenfunctions Inner product, vector space (Essentially, the range of topics in Linear Algebra)   Mainly, I am curious as to why they are used so much in quantum mechanics. We have not been introduced to Hilbert Space yet (nor Dirac notation, which worries me); I think those things will be studied next year but might as well learn them now.  Having said all that, I am looking for books, both for mathematicians and/or physicists, which explain the meanings, concepts and uses of all this abstract mathematics well. It would be an added bonus if they have good practice questions too. I am looking for books that have thorough, well written explanations.  After doing a bit of research I am most intrigued by:   Linear Algebra: Concepts and Methods by M. Anthony and M. Harvey Linear Algebra and Its Applications by David C. Lay   Any comments on those before I buy them?    List of links of related questions:


We are using Avaya CTI Adapter Managed Package . There are 4 classes in the package .  Is there a way I can see/access the code in the package ?  I want to see where the call details values are stored temporarily.


Prove that a nest of sets has an empty intersection

Let $f$ be a real convex function and $S$ an arbitrary closed bounded subset of the relative interior of the effective domain of $f$. Let $B$ be a closed Euclidean unit ball. The nest of sets $$(S + \varepsilon B) \cap (\mathbb{R}^n \backslash \text{int}(\text{dom} f)), \quad \varepsilon > 0$$ has an empty intersection. Why? Is it because $\text{cl}S=\bigcap \{S + \varepsilon B \big | \varepsilon > 0\}$ and $S \subset \text{int}(\text{dom} f))$?


App download progress in redesigned Mac App Store (macOS Mojave)

I am using macOS Mojave which features a major redesign of the Mac App Store app. When installing app(s) from the new Mac App Store, how do I check the status of download(s) in progress?  It is possible to check the progress of downloads in the Purchases tab in the previous design of the Mac App Store, but that appears to be no longer available in the redesign.  Has this been removed in the redesign?


KeePass2 auto-type google, and other password systems

I am going through the process of changing all my passwords using KeePass2, using 256bit encryption, with keyfile held on microSD. In test I cannot seem to get my autotype to work.  I created a shortcut in the keyboard manager   Name: KeePass Auto-Type  path: mono /usr/lib/keepass2/KeePass.exe --auto-type  according to   installed xdotool as needed.  I try to place auto-type password into browser   my KeePass2 entry has the title "Google" username  now when I hit the key to autotype it types a portion of the 64 characters an estimated 16 then attempts to sign in?  Chromium v28.0.1500.71 : Ubuntu 13.04


How can I control the main vertical and horizontal spaces of pages?

I printed my report, but I saw that it has the same big space around the content for every page. How can I change it?


Evaluate the sum $1-\frac{1}{2^2}+\frac{1}{3^2}-\frac{1}{4^2}+\frac{1}{5^2}+\ldots$  Been looking for a way to arrive at a solution. Would really appreciate some help here.


So I made an intro using animation and it saves it as a .blend and I want it so save as a video like .mp4 or something like that. I've tried changing the codec because I tried opening the intro with windows media instead of blend. I didn't try all the codec's but I tried some of them.


Does relative work done affect temperature of a body?

Imagine a bus travelling at a speed of 20m/s towards the positive x-axis with respect to ground frame. That bus is quite long(just for a safer Side) and two persons 'A'and 'B' located inside that bus and thus part of a single frame(not moving relative to each other). And there is a third person 'C'(take C as ground frame for instance) standing outside.'A' has a fundamental particlein its hand(which he is going to throw). At time 't=0', 'A' throws fundamental particle towards negative x-axis(opp. of bus's motion) with a velocity of 5m/s with respect to 'A' and 'B'. Now 'A' and 'B'both will say that the work done on the particle is positive(as from their perspective the velocity is increased) but 'C' will say that the work done by 'A'on that particle is negative as velocity has been decreased( initial velocity of ball=20m/s but final velocity is= 20-5= 15m/s towards the positive x-axis). So positive work done means providing(giving) energy to an object and negative work done means taking energy from the particle. "If giving or taking energy affects the temperature of an object", how will the temperature of that particular ball will change with time? (this is very important for me please don't close this question)


I have a shapefile and I want to change the order of the features. Is that possible? I want to sort the features in the shapefile because I'm embedding this shapefile in a mobile app. The app will display a list of features, and although I could do the sorting at load time, I'd prefer to have them sorted.


Simplest Example of a Poset that is not a Lattice

A partially ordered set $(X, \leq)$ is called a lattice if for every pair of elements $x,y \in X$ both the infimum and suprememum of the set $\{x,y\}$ exists. I'm trying to get an intuition for how a partially ordered set can fail to be a lattice. In $\mathbb{R}$, for example, once two elements are selected the completeness of the real numbers guarantees the existence of both the infimum and supremum. Now, if we restrict our attention to a nondegenerate interval $(a,b)$ it is clear that no two points in $(a,b)$ have either a suprememum or infimum in $(a,b)$.   Is this the right way to think of a poset that is not a lattice? Is there perhaps a more fundamental example that would yield further clarity?


Why does it feel warmer when it is snowing?

It doesn't snow a lot where I live, but whenever it does and I go outside, the air feels warmer than I would expect on an clear day with an equivalent temperature, even though thermometer on my car reads -1 C° which is colder than most clear days. Does this have anything to do with humidity?


Can i make a phone call at my Lenovo A5500-H tablet?

I have a Lenovo A5500-H tablet with a sim card slot and i want to know if i can make calls on it.  I hope you can help me fix this.


Why is $\langle x|x'\rangle=\delta(x-x')?$

Yes I have seen the explanation of why this is so in quantum mechanical textbooks. However, let's use the identity operator and do the following:  $$\langle x|x'\rangle =\langle x|I|x'\rangle =\int\langle x|x''\rangle\langle x''|x\rangle dx''=\int\delta(x-x'')*\delta(x''-x)dx'\tag{1}$$  (the integral is from $-\infty$ to $+\infty$. Now, let's look at what we have inside the integral. Clearly, the term inside  $$\delta(x-x'')*\delta(x''-x)\tag{2}$$  is nonzero only if $x''=x'=x$. We can restate this as follows:  $$\delta(x-x'')*\delta(x''-x)=0\text{, if  } x\neq x'\tag{3}$$  and  $$\delta(x'-x'')*\delta(x''-x)=\infty \text{ (for certain $x''$ in the region from $-\infty$ to $+\infty$)}\tag{4}$$  if $x=x'$; this means that  $$\delta(x-x'')*\delta(x''-x)=\delta(x'-x).\tag{5}$$  However, if we put $\delta(x'-x)$ instead of $\delta(x-x'')*\delta(x''-x)$ we get the following:  $$\int\delta(x-x'')*\delta(x''-x)dx''=\int\delta(x'-x)dx''=\delta(x'-x)\int dx''\tag{6}$$  (I remind that the integral is from $-\infty$ to $+\infty$). So I get that  $$\langle x|x'\rangle=\delta(x'-x)\int dx''\tag{7}$$  which is not just $\delta(x'-x)$. I would be grateful if someone could tell me where my assumptions are wrong and why.


What prevents galaxies from collapsing towards the galactic center?

Galaxies have supermassive black holes at their cores exerting huge gravitational field. What is the reason that galaxies don't contract towards the center? What prevents this from happening.


Ubuntu 18.04: switch back to /etc/network/interfaces

Starting sometime around Ubuntu 18.04, the Ubuntu devs stopped using the classic /etc/init.d/networking and /etc/network/interfaces method of configuring the network and switched to some thing called . This has made a lot of people very angry and been widely regarded as a bad move. Is it possible to remove netplan and use the correct /etc/network/interfaces method for configuring the network?


For linear regression, we can check the diagnostic plots (residuals plots, Normal QQ plots, etc) to check if the assumptions of linear regression are violated.  For logistic regression, I am having trouble finding resources that explain how to diagnose the logistic regression model fit. Digging up some course notes for GLM, it simply states that checking the residuals is not helpful for performing diagnosis for a logistic regression fit.  Looking around the internet, there also seems to be various "diagnosis" procedures, such as checking the model deviance and performing chi-squared tests, but other sources state that this is inappropriate, and that you should perform a Hosmer-Lemeshow goodness of fit test. Then I find other sources that state that this test may be highly dependent on the actual groupings and cut-off values (may not be reliable).  So how should one diagnose the logistic regression fit?


Why has Games Workshop Group not split their stock?

After a long period of relative malaise, the Games Workshop miniature wargaming company seems to have attained enormous heights of financial success starting around 2017. After spending a while growing in the £3,000 range, they have recently crossed the £9,000 threshold.  I don't follow financial news that much, so maybe it's just my limited perspective, but this is by far the highest stock price per share I have ever seen, for any company in any sector. Given the business they're in and the number of fans their products have, Games Workshop seems to me - as a layman - like it would attract a fair number of 'sympathy investors' (i.e., people who don't otherwise own a stock portfolio going "Well, they're my favourite company, I think I'll buy a share", with little intent to trade beyond that). But their absurdly high price per share puts them utterly out of the reach of any such casual investors. Is there a good reason to refrain from splitting at such a high stock price? Is the 'casual investor' effect I described above perhaps much smaller than I expect (small enough to be negligible)?


Buffer with fixed distance create oval, not circular buffer

Using QGIS 2.16.3, I wish to create a buffer zone around a single point in my multiple point file with a fixed radius of 5 km. Therefore, I made a selection and created a new layer only containing this point. Next, I used Vecor -> Geoprocessing Tools to create a buffer zone with a fixed radius. Interestingly, the result is an oval buffer zone instead of a circular one, thus the radius is clearly not fixed, but flexible. What do I have to alter to make the bufer zone circular?   I have attached pictures of my input in the buffer zone tool, as well as a picture of my result.


Nginx - open socket left in connection and worker_connections are not enough

I have app in node.js. But i have 100 users and get this error:  first: open socket left in connection  second: worker_connections are not enough   and broswer return 500 error.  Here is my domain.conf:  server {     server_name xxx.com;      root /var/www/web;     index index.html index.htm index.php;     error_log /var/log/nginx/error.log;       location / {          proxy_http_version 1.1;         proxy_set_header   Host $http_host;         proxy_set_header   X-Real-IP $remote_addr;         proxy_set_header   Upgrade $http_upgrade;         proxy_set_header   Connection "upgrade";         proxy_cache_bypass $http_upgrade;         proxy_pass         http://127.0.0.1:7777;      }        listen 443 ssl; # managed by Certbot     ssl_certificate /etc/letsencrypt/live/xxx.com/fullchain.pem; # managed by Certbot     ssl_certificate_key /etc/letsencrypt/live/xxx.com/privkey.pem; # managed by Certbot     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot  }     server {         listen 80;         server_name xxx.com;         return 301 https://$host$request_uri; # managed by Certbot      }


\documentclass[12pt,a4paper]{article} %------------------------------------------------------------ \usepackage{amsmath,amssymb,amsthm} \begin{document} \[ \begin{pmatrix} 1 &2 &0&\cdots& 0\\ 3& 4 &0&\cdots& 0\\ 0 & 0 &0&\cdots& 0\\ \vdots & \vdots & \vdots & \vdots\\ 0 & 0 &0&\cdots& 0\\ \end{pmatrix}\] and \[U_k= \begin{bmatrix} J_{k\times k} &0_{k\times (n-k)} \\ 0_{(n-k)\times k}& I_{(n-k)\times (n-k)}\\ \end{bmatrix}\] \end{document}    I want to subdivise the following two matrices    Like the following one


More than one optional argument for newcommand

The \newcommand macro allows to use an optional argument for the first parameter #1 with:  \newcommand{\mycommand}[3][defaultfor1]{blah blah blah}   Is it possible to have more than one option with \newcommand?


I admit, I watch porn now and then on my android phone. But I never, ever, download something or click any adds or links. But here's the weird thing, sometimes when I visit such a website, an automatic download starts. I thought I removed them but when I installed an antivirus it detected 5 threats, all from that site. And the weirdest is, when I installed an other antivirus, it detected 4 more threats! Are these the same threats or did the first antivirus fail on me? And do android devices get severe viruses?


Detect Language of String with com.cybozu.labs.langdetect package

I am searching for a small example code to detect the language of a string in JAVA. For that i downloaded and imported the following GitHub Project:   Unfortunately I am struggling reading the API and I don't know how to get my code to work. Help is very appreciated. Heres what i have so far. I get a NullPointerException because i dont know how to initialize the Detector properly. ny help is kindly appreciated.  import com.cybozu.labs.langdetect.*;  public class DetectLanguage {      public static void main(String[] args) throws LangDetectException {          String sample = "Comment vous appelez-vous?";   // french demo text         Detector d = new Detector(null);                // initialize detector         d.append(sample);         System.out.println(d.detect());     } }


I have a  Nvidia GeForce GT 740M gpu with 384 cores with driver version 430 installed in ubuntu 18.04 but while rendering , blender spawns only on thread so rendering on gpu is much slower than CPU with 8 threads. I've already tried this in blender 2.80.4 and 2.80.7 but the problem still persists. Also changing the number of threads manually has no effect. Any help is appreciated.Thanks


While space itself expands, why does it seem to expand more between the stars than between me and my desk?

this is my first post in this community and I am not entirely sure if it is appropriate. I am not an educated physicist, just an ethusiastic person trying to understand the universe. So I apologise if this is not the right place or form to ask this question, if so, I would appreciate directions. As far as I come to understand, it is clear that space itself expands, meaning that the distance between i.e. our Sun and other stars grows larger while this objects themselves do not move (that much) through spacetime. Now what I dont understand: If this is happening, why does the space between all things that exist not expand at the same rate, so that I, as an observer, would not be able to noice it at all? Let me try to picture it: The space between Sun and Alpha Centauri expands, fine. What is about the space between me and my desk? Between the molecules / atoms / smallest parts of matter that my body and my eyes are made of and so on? Why do Earth, Sun and Alpha Centauri not grow with the same rate as the space between them grows, so that in the end the effect would even itself out to the eyes of an observer? Or is there a force that keeps me and my desk at the same distance, woking against the force of expanding space? If so, what force is that? This is the best that I can do to explain my question, I hope it is understandable enough. I really hope someone can help me understanding this, because it really gives me a headache.


Can I retrieve my Minecraft singleplayer world from Realms when my subscriptions runs out?

My friend and I would like to buy a 1 month Realm subscription. We would like to upload one of my singleplayer worlds so we can improve it from what it is now. Once the subscription runs out, will I be able to redownload the world that includes everything we worked on? Or will it just be the old version of the world? If I can redownload the world, how is this done? I am running Minecraft Java Edition on a Windows 10 PC.


Counterexample: $G \times K \cong H \times K \implies G \cong H$

I am having a hard time finding a counterexample for the statement: $G \times K \cong H \times K \implies G \cong H$  I think this should be true for abelian, finite groups. But is this true in general? What would be a counterexample?  Any hints appreciated!  Thanks


How to merge two objects, overriding null values?

I'd like to merge two similar but not identical objects and override null values in one of them, if such exist. For example I'd have these two objects:  const obj1 = {     a: 1,     b: '',     c: [],     d: null }  const obj2 = {     a: 2,     b: null,     d: 1 }   And the effect of merge should be:  const objMerged = {     a: 2,     b: '',     c: [],     d: 1 }   In other words, the most important source of data in the merged object is obj2 but it lacks some properties from obj1, so they need to be copied and also some of the obj2 values are null so they should be taken from obj1 as well.  EDIT I tried:  _.extend({}, obj1, obj2)    and  Object.assign({}, obj1, obj2)


How do certain apps show new notifications when internet access is restricted to them?

I have disabled WhatsApp's access to Internet by disabling both WLAN-usage and mobile network usage.  I thought this should block WhatsApp from accessing the internet. But miraculously WhatsApp gives me a message with ominous content: "You might have new messages"  When I open WA it does not show any messages. When I then give it back it's access rights wonder what, there are messages I received the same day!  So to me it looks as if this app has found its way to sneak around my network restrictions.  So the following questions arise:   Is my assumption about the effectiveness of restricting the "data usage" for apps wrong? Does WhatsApp hack around the standard restrictions?


Book Search: Blue-Eyed Boys with Telepathic Powers

Call me crazy, but I've got an itch I can't scratch. I read a lot in school and one of the books I remember from Junior High (early 2000's) was a book about some children that were being experimented on in a lab. I think I recall they had powers and the boy's eyes glowed blue as he was able to read minds/move objects with his mind etc. I'm pretty sure he was trying to escape the lab and the doctors.


My email address is guerrero.daisy@gmail.com. I have been receiving emails from guerrerodaisy@gmail.com. I am concerned that this user is receiving my emails as I have been receiving her emails. How do I correct this situation?


How to fix ~/.profile and ~/.bashrc syntax errors

Ubuntu 18.04.4 (automatic upgrade from 18.04.3 just a few weeks ago) /bin/bash  After I log in from the Gnome shell, this message appears while the screen is just plain purple and before the desktop appears:  Error found when loading /home/hfinger/.profile:    /home/hfinger/.profile: line 1: #: command not found   /home/hfinger/.bashrc: line 1: syntax error near unexpected token '(' /home/hfinger/.bashrc: line 1: '# ~/.bashrc: executed by bash(1) for non-login shells.'    As a result the session will not be configured correctly.   You should fix the problem as soon as feasible.     Trouble is, what is the problem? I have searched AskUbuntu but no-one appears to have experienced this exact problem. I don't think it is the upgrade because it had been running for about a month before this problem appeared.    I have never touched these two files because I am quite happy to let the system create and configure them. Also, I try to keep Ubuntu as vanilla as possible to avoid having to restore settings after upgrading to a new release. For what it is worth, here are the first lines of each of these files:    .profile, line 1: # ~/.profile: executed by the command interpreter for login shells.   .bashrc, line 1: # ~/.bashrc: executed by bash(1) for non-login shells.     How do I need to fix these files? What additional information should I provide so that someone more knowledgeable than I can solve this dopey problem?


cross entropy equivalence to to maximising log likelihood

I was wondering how can we show that cross-entropy is equivalent to maximising log likelihood of a training assuming the data can be modeled by this distribution:


According to , there are 5 equilibrium, or  of the Earth-Moon system and only 2 of them are said to represent stable equilibrium points.     This made me think if there is an equation that describes this system, and from which Physics Laws was it derived?


Change the speed of Google Translate speech

Is there any way to regulate the speed of spoken words in Google Translator? I find it a bit slow and have looked to see if there is a setting, but I have found nothing.


how to install rsh in ubuntu ? rsh stands for restricted shell and not remote shell.   I am using ubuntu saucy.


How to ensure the child class can't access the parent's class method outside of the class?

I have a class with some simple methods, and I want to create a sub-class of this which builds on these methods and adds some more functionality. So, I inherit from this class, and build on the simple methods in the parent class in my child class. Now, how do I ensure that you can't call the (simple) methods in the parent class from an instance of the child class from outside the class? I want the parent class to be used for the simple methods and the child class to be used for the more complex methods.


I expect frying pans with raised ridges are for a few purposes such as adding "grill lines" to meats and keeping food out of grease somewhat as it collects.  Why or when should I use a frying pan with raised ridges?


Suppose i have the following class structure. If i execute the child class, it will print both.  Inside Public method Inside Private method  Could anyone explain the reason how the private method code is reachable to m1 ? class Base {     public void m1()     {         System.out.println("Inside Public method");         m2();     }       private void m2()     {         System.out.println("Inside Private method");     } }   public class Child extends Base {     public static void main(String[] args)     {         Child ob = new Child();         ob.m1();     } }


Is it possible to choose which OS will be loaded using a hardware switch?

I'm looking for a more elegant way of choosing which OS to boot than using the menu provided by grub, and I think it would be neat to have a switch on the case with two states (e.g. Ubuntu and Windows), that decide which OS will be loaded. I've been doing some thinking, and it seems to me like you should be able to solve it by hooking the switch to a PWM generator, and connect the generator to a fan speed input pin. Then from grub read the fan speed, and do a conditional test that determines which OS to load.  In pseudocode:  if (fan.speed > threshold) then   load Windows; else   load Ubuntu; end   My two questions are therefore:   How do you use a test with grub to determine which OS to start? How can you read the fan speed from grub during startup?   Other solutions and ideas are of course welcome as well :)


Is it possible to make fonts fuzzy, like in a bad scan?

Are there any LaTeX technologies that could allow to simulate a poorly-scanned document, such as fuzzy fonts? I imagine that rotating odd and even pages slightly should not be too difficult, but the fuzzy looking fonts baffle me.


Numbering of appendices in the backmatter of a book

I'm using the standard book class. If I write  \documentclass{book}  \begin{document}  \frontmatter \tableofcontents  \mainmatter \chapter{foo} \section{Donald}  \backmatter \chapter{bar} \section{Mickey}  \end{document}   I expect to have chapter bar numbered as appendix A and section Mickey as A.1. Instead chapter bar is not numbered and section Mickey is 1.2, following section Donald. If I insert the appendix command to obtain  \documentclass{book}  \begin{document}  \frontmatter \tableofcontents  \mainmatter \chapter{foo} \section{Donald}  \backmatter \appendix \chapter{bar} \section{Mickey}  \end{document}   then chapter bar is unnumbered and section Mickey is numbered as .1.  What am I doing wrong?


Ubuntu Core vs Minimal Ubuntu vs Ubuntu Server

Which Ubuntu between these three is the best to be used for an embedded system? What are the differences between these three?  Minimal Ubuntu - Not the minimal installation, the cloud release, with the KVM and LXD. Ubuntu server - Is there a minimal version for this?  Ubuntu core - lightweight similar to minimal with snap but what are the exact differences with minimal?


What is a good term for "common people" in an academic thesis?

In an academic thesis, what is a good word to use for "common people" that is not condescending?  I am using the term in opposition to "pundits" and "experts."  I need a formal term appropriate for an academic thesis.


Kernel Task is using 1000% of The CPU on macOS Catalina

My MacBook Pro running on macOS Catalina is really slow and the kernel task is using 1000% of the CPU !!  I tried all the solutions suggested in . I still have the same problem.There is only one solution that I was not able to do exactly like it was mentioned, it is the one suggested by Victor Petterson in .  It involves removing the « model identifier ».plist file. I was not able to find the file with my model identifier so I removed all the files in : ../ACPI_SMC_PlatformPlugin.kext/Contents/Resources  After removing the .plist files I have restarted my MacBook and re-enabled the SIP. Now the files are removed and the kernel task still using 70% of the CPU with a maximum speed of fans.  Does anyone have the same problem and was able to find a solution to the kernel task issue which is different from the ones mentioned above ?


A watermelon is divided into three parts to be served to guests. Is the melon singular or plural?

say that a watermelon is divided into three parts to be served to the guests. I should say "would you like some melons" or "would you like a melon"? I should say "the melon is sweet" or "the melons are sweet"? Which one is right?


How do I add a new object to the end of array?

How do I add a new object to an array and how do I return the update array with the new object added to the end? this is the data I have! newCandy = { candy:"Skittles" , inStock:200, 10, }; and this is the function function addNewcandy(inventory,newCandy)


Let $\phi$ be a Euler function. (i.e. $\phi(n)=$ the number of the set $\{m \in \mathbb{N} | (n,m)=1 \text{ and } 1\le m \le n \}$   When $(n,m)=1$, it is known $\phi(nm)=\phi(n)\phi(m)$.  I am wondering whether the converse is ture. I mean, if $\phi(nm)=\phi(n)\phi(m)$, then $m,n$ should be coprime? If not, is there any counterexample?  Thank you very much!


Let $G$ be a group of odd order, and let $H$ be a subgroup of $G$ of index $5$. Prove that $H$ is a normal subgroup of $G$. Hint: Show that there is no subgroup of order $15$ in $S_5$.  I did prove the hint, but don't see how it helps.


Why are code editing tools completely missing?

For a site that is so much about code and programming, why does it not have much, much better tools built in for managing blocks of code?  I spend a LOT of time on Stack Overflow  for several years now. I'm not a newbie. I deal mostly with answers which means I copy blocks of code from the question, then set out to write an answer. Also, I fix the formatting of hundreds of posts. With such a large portion of what Stack Overflow does having to do with blocks of code, I'm very surprised that the editing capabilities for dealing with blocks of code are so rudimentary.    Even having JUST the ability to do block indents or outdents of a selected block of code would make a HUGE difference. The only place in my entire programming experience where I have to manually paste in blocks of four spaces on multiple lines in a row just to add an if statement before a block of code is here on Stack Overflow. It also leads to great inefficiencies trying to fix people's poorly formatted questions just so they are legible to the community.  In addition, one of the common goofs for newbies on the site is that they paste in completely illegible code because it is not obvious how to format code for this site.  Yes, I know the most efficient way to do things is to to copy something out to my favorite editor, fix it and paste it back in, but seriously - why are we being forced to use those extra steps?  Is a block indent/block outdent really more than a few lines of code?  Obviously, the editor could go much further than that, but I'm wondering why even the most basic steps have been avoided?  FYI,  (and ) is a bigger discussion of the missing indent feature though it still doesn't explain why this is being ignored by the site owners which is really what I am trying to ask.


What is the purpose of the colon before a block in Python?  Example:  if n == 0:     print "The end"


How do I get Adobe Flash Player installed on Ubuntu Linux?

I have been having trouble with this. My computer in Ubuntu Linux and I know it's Ubuntu 13.0 something or higher. I've tried installing flash player and it gives me this error message "There isn’t a software package called “adobe-flashplugin” in your current software sources." I tried doing what I saw one person say online and download something called "pepperflashplugin-nonfree", and it is still giving me the same error message! Please help me!


Displaying both data in different fields in QGIS

I have a Shapefile that is automatically loaded in QGIS. While loading the data the coordinates x & y are automatically displayed. In my attribute table I have lat_1, long_1 and lat_2, long_2 in the same row. How can I display both at the same time? Is there any solution for that in QGIS? lat_1, long_1 is the main location. lat_2, long_2 is entry point location. That means in attribute table field names should be unique right. So it will display only x and y. But in my attribute table there are entry points (lat, long) they are also coordinates. So I want the both x & y (main and entry) displayed. Added screenshot is the attribute table format


Binary search of a number within a list in Python

I was researching about  binary search of a number within a list and came across   Somewhere else I it was mentioned about going for even and odd numbered list separately. But is that language specific? The information is little confusing.  For Binary search , I know high-level I need to carry out following steps,   sort the list in ascending order     Check for middle item within a list  if thats the number we are done if not , if the number is  greater  than the middle number, get rid of lower half   if searched  number is lower than middle number , get rid of uppeer half    keep repeating until number is found   The list can be ascending or descending order and can be of float of int numbers. what's pythonic way of carrying out above pseudocode? I am using python 2.7.x on windows.  **  EDIT ** The mentioned discussion does not cover even and odd list (at least I couldn't see any I would like to request more clarifications on that such as, - If I need to treat even odd list differently - Is there a way in python that will take care of that


I read something weird in my category theory book (Awodey p 47).  " Observe also that a terminal object is a nullary product, that is, a product of no objects:  Given no objects, there is an object $1$ with no maps, and given any other object $X$ and no maps, there is a unique arrow:  $$!:X\to 1$$  making nothing further commute."  Could anyone give a hint about what this means? I mean "given no objects, there is an object..?"  Thank you


ulimit PICKLE: "Operation not permitted" and "Command not found"

I'm trying to increase the maximum number of open files for the current user  > ulimit -n 1024   I attempt to increase and fail as follows  > ulimit -n 4096 bash: ulimit: open files: cannot modify limit: Operation not permitted   So I do the natural thing and try to run with temp permission, but fail  > sudo ulimit -n 4096 sudo: ulimit: command not found   Questions   How to increase ulimit? Why is this happening?   Using Fedora 14


What is the general definition of exponentiation?

The definition of exponentiation is commonly defined as: $$x^n:=\underbrace{x\cdot x\cdot x\cdot ...\cdot x}_\text{n times}$$ when $n \in \mathbb N $. Given that, what is the definition when $n \notin \mathbb N  $ ? for example when $n$ is a real number, what about complex numbers, irrational numbers, matrices? does the definition extends or is it a completely different one, if so, what is it for every case? I also would like to know who defined exponentiation for these cases and in which paper. I read for a non-reliable source that the actual definition of a number exponentiated itself is $x^x := \exp(x \ln(x))$ is this an extension of the real exponent definition, or am I missing something and this is different than an exponent? In  Gyu Eun Lee explains what exponentiation really means, I am not looking for that, I am looking for the strict definition.


I have a stripe down the center of my model and I'm not sure why. I used mirror mod to create the vehicle and have tried reseting 3D cursor and moving the mesh in and out.


Why does Ctrl+C randomly stop working in Microsoft Office?

I've lost count of the number of times I've pressed Ctrl+C to copy something in some Microsoft Office app, flipped to another window or app, pressed Ctrl+V to paste, and instead, it pastes whatever had previously been in the clipboard. Annoyed, I flip back to the previous window, press Ctrl+C again, flip, paste, still doesn't work. Sometimes I have to try this three or four times.  Why does Office do this? It's like it's responding to keyboard shortcuts sluggishly, forcing me to slow down for something I shouldn't have to slow down for, making it generally irritating to use.  I haven't noticed this behavior in any other program. I can't remember if it's happened prior to the 2013 version. I've definitely had it happen in PowerPoint and Word.  It isn't . It will stop, and then maybe start again. And then stop again. And start again. (Hence, "randomly".) I don't use Notepad++. I have Skype up, but if it were truly interfering with keyboard shortcuts, it wouldn't suddenly stop interfering. I might try the clipboard lock monitor when I get home, but I can't use it at work. Does it constantly monitor the lock in real time? If it doesn't, it won't be useful to diagnose this problem unless I'm extremely lucky.


I am trying to set up cronjobs to excecute some emailing to clients periodically but I am seeing no output fromm the test I wrote here  is the crontab line      * * * * * php /var/www/html/pms/notices/test.php   and here is the test.php code      <?php      include(__DIR__ . "/config.php");      $log_message = 'It works';         error_log($log_message . "On:" . date("l jS \of F, Y, h:i:s A P") . "\n", 3, ROOT_PATH .'Logs/activity.log');           <?   I expect  the activity.log file to have 'it works' written to it every minnute  but nothing is. Could I be doing anything wrong? If yes what is it? or where can I get good tutorial on how to set up cron jobs I have tried changing my line to     * * * * * /usr/bin/php -q /var/www/html/pms/notices/test.php   as suggested in another question but that  has not helped


I am using Ubuntu 14.10 default GUI, how can I see all the applications installed ? if I don't give a search keyword I can't see anything.


How do I clear the inside of my circles?

I have some overlapping circles to create a cloud shape. How do I erase the inner parts of the circles so I just have the outline like in the cloud in the top right?


Showing that partial derivatives of $f(x) = \frac{xy}{x^2+y^2}$ exist for $(x,y) \neq (0,0)$

I am aware there are many questions similar to this on MSE but I am having trouble following any of the solutions given.   I have the function given by   $f(x) = \dfrac{xy}{x^2+y^2}\;$ for $(x,y)\neq (0,0)$ and $f(0,0)=0$  I have calculated the partial derivatives and found:   $$\frac{\partial f}{\partial x} = \frac{y(-x^2+y^2)}{(x^2+y^2)^2}, \quad \frac{\partial f}{\partial y} = \frac{x(-y^2+x^2)}{(y^2+x^2)^2}$$  Now I need to show the partial derivatives exist for $(x,y) = (0,0)$.  I am also asked to show it is not continuous at $(x,y)=(0,0)$, based on other answers I've seen it seems like this follows from solving the first part but I fail to see how that follows through as well.   I could just copy the solutions with my function in place as I have seen a lot of answers using the definition of the derivative, but realistically I do want to understand what the thinking behind this is.   Any help would be appreciated.


If overfitting occurs, what should i focus more?

I'm a graduate student who are studying AI. I have constructed one model for voice classification but, overfitting occurred. I tried a lot to overcome this phenomenon. (i.e. weight standardization, gradient centralization and data augmentation) These methods worked, but they were limited. When the training error is steadily decreasing and the test error is saturated, should I fundamentally consider changing the model structure or should I use more regularizers? (I think model size is quite big(ReXNet, not resnet), data shape is 1 * 244 * 244, amount of data is about 100000) thank you!


Upper and lower dimmensions in schematics

What is the difference between upper and lower dimmensions in schematics?  So far I have assumed that those are simply maximum and minimum values specified by the tolerance. Is my assumption correct?  Edit 1:  There is also a statement bellow the datasheet that tolerances are +/- 0.15mm which is inaccurate in the case of 3.60/3.20 (or 2.90/2.50).  A relevant schematics here:


The red area, when surrounded by a KBD tag pushes out of the question area.


after install the latest stable version of Google Chrome on a fresh CentOS 7 I get this error when trying to run it as "root".  [root@ip-172-31-49-161 /]# google-chrome & [4] 11889 [root@ip-172-31-49-161 /]# [1:1:0912/031926:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif. [1:1:0912/031926:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)   Do you have any idea how to solve this problem?


Removing new line symbol from reading from file in Python

I've got a question how to add the words to list without that "\n" symbol. Having a file where are words e.g.: GCC GNU gcc project and compiler Only the most useful options are listed here  My code: list1=[]  f = open('3700.txt', "r") for line in range(17):     list1.append(f.readline())  My result: ['GCC\n', 'GNU\n', 'gcc\n', 'project\n', 'and\n', 'compiler\n', 'Only\n', 'the\n', 'most\n', 'useful\n', 'options\n', 'are\n', 'listed\n', 'here\n']


how to install ubuntu server over dual boot system?

I have a dual boot system with Ubuntu 14 and Ubuntu 16 :/ don't ask me why.  I want to install a Ubuntu server and delete completely the previous OS. how can I do this?


In key agreement (or key exchange) protocols, is used signature for authentication. Suppose that key exchange protocols execute on elliptic curve. The initiator of protocol must sends signature of his message with main message. What happen if the curve used in key agreement protocol also used in signature inside of protocol? For example in Diffie-Hellman key exchange over curve, Alice sends $aP$ and $sig_{k_a}(aP)$ to Bob that $P$ is the generator of curve $E$. The signature is the ECDSA (or EdDSA) on curve $E'$. Is $E=E'$? Is $E$ and $E'$ different? What kind of these situation are the best? what is the advantages?


How to validate a Phone Number With `-` and spaces

I want to validate the phone number Like 1-12 -123 using regex and I have tried like  /^[0-9 -]+$/   and  /^[0-9,\- ]+$/   Iam using it like  /^[0-9 -]+$/.test(value)   And it is accepting 0-9 numbers and - also but not accepting the spaces.I have tried in many ways but did'nt got any solution.Can anyone suggest me.Thanks in Advance


A multiplicatively closed subset $S$ of a ring $ A$ is said to be saturated if $xy\in S$ $\iff$ $x\in S$ and $y\in S$. Show that if $S$ is saturated if and only if  $A-S$ is a union of a primes.  First of all I assume they mean the union where there are no redundant ideals in the union. For example in $\mathbb Z$, $(2)\cup (3)\cup (6)=(2)\cup (3)$ and this statement cannot be both true and false. Lets work assuming nonredundant union is used. If $A-S$ is a union of primes it follows easily that $S$ is saturated. Let $S$ be saturated. Then certainly $A-S$ is a union of primes as it it is the union of each $(x)$ with $x\notin S$. We would like to know that we can write this as a union of prime ideals. Since we know we can write $A-S$ as a union of ideals, I think we can assume that we have written as a union of ideals in a non-redundant way. We do not know that these are prime. Suppose that one of the ideals $I$ in the union is not prime. Then there is $xy\in I$ such that neither $x$ or $y$ are in $I$. We cannot have $x$ and $y$ in $S$ since $xy\notin S$. Therefore $x$ must be in some other ideal $J$ in the union. This does not seem to give us enough to contradict the union being non-redundant. Is it possible to continue with this approach or how should I tackle this?


Let's $f:R\rightarrow R,~r\gt0.$ And we have that for every $x,y\in R\Rightarrow |f(x+y)-f(x)-f(y)|\le r.$ Prove that there are $h:R \rightarrow R$ additive and $g:R \rightarrow [-r,r]$ functions such that $$f(x)=g(x)+h(x).$$ I have no idea how I can approach this problem.


How do I select everything that is inside of my scene OBJECT wise? I have too many objects in my scene for me to select them all with Shift + RMB


appropriate place to ask if a certain UI widget/metaphor actually exists and if so what it is called

EDIT: I could rephrase the question: is there a simple list of StackExchange sites with a description of each site's focus, that one can consult in order to find the site most suitable for a question like the following:  I'd like to know where to ask a question like this:  In the world of paper lists, one often sees alphabetized lists presented in columns like this:  COLUMN1............COLUMN2..........COLUMN3  aardvark           aquafer          avalanche abstraction        arrest           axiom alimony            assiduous        azalea anemone            atavism            apricot            authentic        -----------------------------------------------   Finite page depth. The words "snake" up and down the page in the columns. If there are more words than can fit on a page, a new page is created.  Does such a snakey pager UI widget exist for HTML5?


How to run Ubuntu touch on Hp Slate 21 inch tablet running jelly bean

I have an hp slate 21 running android jelly bean that needs something like ubuntu on it to make it useful.  I accept I need to root it and risk bricking it but it's not much use as it stands so not much lost I have some but not a lot of computer knowledge so need detailed help


How did my professor change this logarithm into the next one?

Logarithms are a weak point for me and I'm curious how my professor went from the following logarithm to the next one. How are they equal? $$ 3^{\log_4 n} = n^{\log_4 3} $$  And does that mean I can change $2^{\log_2{n}}$ to $n^{\log_2{2}}$?


Good evening (or morning). Now I'm working on my own comics. There is the plot: A samurai-girl was stolen and was a slave in Ryeo for 6 years. Then she became empress of Yuan Empire. She hit in time portal and fought with five monsters to save emperor's life. But when she fought, she became samurai again. In the end, she learned that she is Korean king's daughter, who was sold to Japanese merchants in childhood. The question: this is a manga, manhua or manhwa? Thanks in advance!


Is there an explanation for why Yoda's grammar slips in Empire Strikes Back?

We all know about Yoda's iconic Yodaspeak. Like most people, I always assumed that this a cultural or personality trait of Yoda, but on a recent re-watching of The Empire Strikes Back I noticed that during the "Yoda's Hut" scene, in his brief moment of clairvoyance while communing with Ben, Yoda's grammar is proper. I find this both interesting and unsettling. Yes, throughout the series he Yoda-speaks some sentences and not others, but here there is a clear change of expression, change of behaviour, and change of grammar, as if we're getting a glimpse into his former self - and there's no Yoda-speak.  Here is the interesting bit from the "Yoda's Hut" scene, quoted from      CREATURE           Ah, your father.  Powerful Jedi            was he, powerful Jedi, mmm.      LUKE               (a little angry)           Oh, come on.  How could you know            my father?  You don't even know            who I am.               (fed up)           Oh, I don't know what I'm doing            here.  We're wasting our time.      [begin moment of clarity]      CREATURE (irritated)  I cannot teach him.  The boy has no patience.      BEN'S VOICE           He will learn patience.      YODA           Hmmm.  Much anger in him, like his father.      BEN'S VOICE           Was I any different when you            taught me?      YODA           Hah.  He is not ready.   The fact that, in his moment of temporary sanity, he uses proper grammar suggests that the broken sentences are a side-effect of his mind's deterioration from living on Dagobah, rather than a cultural trait. Based on this, you would expect him to talk normally in the prequels.  Have other people noticed this? Are there other explanations of this scene that do not break the character of Yoda?  ~Clarification~  I am, of course, aware that prequel Canon and many Legends sources establish that Yoda has always spoken Yodish. Fine. My question was more along the lines of "When Lucas sat down to write the prequels and only had ESB and RotJ as sources for Yoda's character, should this scene have been pivotal for the character? (Clearly Lucas chose "No.") The discovery of this scene seems to introduce a conflict between ESB and the prequels."


Unique sorting: Redirect output to the same file

Is there any short way to save the pipe output to the same file that it's processed. For example, this is what I am actually doing  $ cat filename | sort | uniq > result $ rm -f filename $ mv result filename   I was wondering if there was a way to do it in just one line (not appending those commands using &&)  This is not the way, but to get an idea  $ cat filename | sort | uniq > filename


"Your browser does not currently recognize any of the video formats available.." only in Google Search Results

Why am I getting this search description in Google search (on any browser):      "Your browser does not currently recognize any of the video formats   available. Click here to visit our frequently asked questions about   HTML5 ..."   It doesn't happen in other search engines like duckduckgo.com and the embed is just a simple iframe code for YouTube in a Wordpress site. Very annoying and is likely turning off users from clicking on links. Thanks for any help.


Are there any improvements in the Mavericks Terminal app?

Most OS X updates have included a few tweaks to the Terminal app. I know that Mavericks has upgraded a lot of command-line tools, but I haven't seen any reports of changes in Terminal.app itself. Has anyone noticed any?


Anonymously (in both ways) requesting for a comment from the user who has voted-down an answer

This could be a privilege to be given after some amount of reputation. Consider accordingly.  When a user receives a down-vote, without having laid a comment for the reason why, that user -right now- gets a recommendation message to leave down a comment for the reason why. Users may ignore that recommendation and they should be able to. It could be that the reason is obvious, or some other thing, so they should be able to.  However, sometimes the guy or the lady who had given the answer, may not understand for what his or her answer could have been voted down. It should be a natural request to ask for what one had done wrong after having disapproved. If one couldn't figure out the reason himself or herself, and not told about it either, then he or she may never know what he or she should do to improve himself/herself.  Back to the part where we ask for the reason: We should be able to do that in this environment as well, just like we can when we are face to face.  Here is what I am suggesting for things to happen:  ~ After 200 reputation points, users are to be given this privilege. ~ When someone's answer gets voted down, and that other someone who had cast that vote had not left a comment, then the one who gave the answer is to be given a button to use for asking for why. ~ With the use of that button, the one(s) who voted down the answer are to get informed about the request of the one who answered the question. ~ For each request that does not get fulfilled within 2 days, the corresponding vote is to get discarded.  After this process, an addition to that would be:  ~ The comment as the reason is to be marked as a reason by a light blue centre-dot behind the comment. ~ Such comments will be official the reason for the corresponding vote, and be referred as a document for further cases like:   In general, this would flourish the quality criticism which could really nicely happen in Stack Overflow, but unfortunately does not happen that so often. People would know where they had been wrong, therefore have the opportunity to improve themselves; and people would act more reasonable, literally, since they will be giving reasons for their actions.  Numbers are not strict, feel free to discuss. This could be extended to questions, if found useful.


Mirror and Subdivision Surface is causing a problem

I added Mirror modifier to my Archway and everything is fine untill I add Subdivision Surface.   Without Subdivision Surface modifier:  What Am I doing wrong? Here's Blender file:


What's the probability that a n-sided polygon made from n distinct random points on circle contain the centre?


How likely is it that metallic hydrogen is metastable at atmospheric pressure?

I just watched a  about the laboratory production of [solid] metallic hydrogen for the first time. I was surprised to find the researchers predicting that, once produced, it might remain solid at atmospheric pressure. The video says they will test this in a couple of weeks, so I guess we'll know then, but in the mean time I'm curious about how plausible this is.  As noted in the answer to  it seems this prediction was made in the 1970s, and it seems that people have speculated since then about possible applications if it is the case. (For example, it would be a revolutionary rocket fuel.) However, it isn't clear to me whether that early result has been backed up or made less plausible by more recent calculations. Does anyone know the current state of the art in terms of predictions about the stability of metallic hydrogen at low pressures?


I hava a table USER:  select t.* from user t; uid  uname 1    tom 2    jim 3    bob 4    lily   and table TOYS  select t.* from toys t; tid  uid  tdate 1    1    7/12/15 2    1    6/12/15 3    2    9/12/15 4    2    10/12/15 5    3    12/12/15   now I want   uid  tid   uname  tdate 1    2     tom    6/12/15 2    3     jim    9/12/15 3    5     bob    12/12/15 4          lily   what should I do?  (I use oracle database);


Unable to assign output of command to a variable

I have a update.sh file which has below command.  shyaml get-value  platform < ~/mcp_version/latest-versions.yaml   I am able to run the command through terminal, also the command runs from script.   Below is the content of script  echo "The platform is $now" echo "PATH is '$PATH'" platform = $(shyaml get-value  platform < ~/mcp_version/latest-versions.yaml) echo "The platform is $platform" shyaml get-value  platform < ~/mcp_version/latest-versions.yaml   But when I try to assign the output of the command to a variable then it gives error. as   ./update.sh: line 12: platform: command not found   Below is the output when I run my script.  bash-4.2$ ./update.sh  The platform is Fri Jul 12 11:57:25 IST 2019 PATH is '/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/bin/:/usr/bin/shyaml' ./update.sh: line 12: platform: command not found The platform is  19.06.00bash-4.2$


English UK. Grammar check - choice to vs choice of

Should I use     You are granted the choice to either be my friend or my enemy.   or     You are granted the choice of either being my friend or my enemy.   ?  It's for my poem and I want to double-check.


What is the ship shown just before the Enterprise in the ST: Enterprise opening credits?

In Star Trek: Enterprise, season 1 at least, the opening credits show a bunch of aircraft and spacecraft.  Just before the Enterprise shows up, there is another ship of similar configuration.     Is there any information on that ship and what it could do?  It is shown after the Phoenix, and since the progression seems to show craft from more primitive to more advanced once would presume that it is a precursor to the Enterprise itself.


If $K$ is closed and bounded, then it is compact.

Let $K \subseteq \mathbb{R}$. We want to show that if $K$ is closed and bounded, then it is a compact set.  B-W THM: Every bounded sequence contains a convergent subsequence.  Theorem: Subsequences of a convergent sequence converge to the same limit as the original sequence.  Theorem: $x$ is a limit point of a set $A \iff$ $x = \lim a_n$ for some $(a_n) \subset A$ s.t: $a_n \neq x, \, \forall n \in \mathbb{N}$  Proof: Let $(x_n) \subset K$ and $\lim x_n = x$, so that $x$ is a limit point of $K$. If $K$ is bounded, then by the Bolzano-Weierstrass Theorem, $(x_n)$ is bounded so that it contains a convergent subsequence $(x_{n_k}) \subset K$.  Since subsequences of a convergent sequence converge to the same limit, we have that $x_{n_k} \longrightarrow x$. But, $K$ is closed, so it contains all its limit points. Therefore, $x \in K$.  Hence, we have shown $K$ is compact since every sequence in $K$ has a subsequence that converges to a limit that is also in $K$. QED.  How did I do?


What is the Doctor not quite remembering?

In season 8 episode 1, when the Doctor encounters the episode's villain(s), he keeps saying that this is all very familiar to him, but he can't quite put a finger on it. Is this a case where the audience is supposed to know more than the Doctor (like when he can't keep Clara and Strax straight), or is he referring to something we (the audience) haven't seen yet? As in, are the serious Whovians yelling at the screen, "it's [insert name of classical Dr. Who villain here]!", or are they as puzzled as the Doctor is (and I am)?


Is there a way to force a C# class to implement certain static functions?

I am developing a set of classes that implement a common interface. A consumer of my library shall expect each of these classes to implement a certain set of static functions. Is there anyway that I can decorate these class so that the compiler will catch the case where one of the functions is not implemented.  I know it will eventually be caught when building the consuming code. And I also know how to get around this problem using a kind of factory class.  Just curious to know if there is any syntax/attributes out there for requiring static functions on a class.  Ed Removed the word 'interface' to avoid confusion.


I want to draw a Lewis structure as in the picture. I tried to do with chemfig but does not perform the separation of the points and a minus in the superscript.


Prove that the product of two continuous functions is continuous. $(\varepsilon, \delta)$

Prove that the product of two continuous functions is continuous.  Assume that $f$ and $g$ are continous at $a$. Then we get the two following statements. $(1)$ $\forall \varepsilon >0$ $\exists \delta_1>0$ s.t $|x-a| < \delta_1 \Rightarrow |f(x)-f(a)| < \frac{\varepsilon}{2}.$ $(2)$ $\forall \varepsilon >0$ $\exists \delta_2>0$ s.t $|x-a| < \delta_2 \Rightarrow |g(x)-g(a)| < \frac{\varepsilon}{2}.$ Now to show that the product of $f$ and $g$ is continuous we would have to show that $$|f(x)g(x)-f(a)g(a)| \leqslant \varepsilon.$$ We have that $$|f(x)g(x)-f(a)g(a)| = |f(x)g(x)-f(x)g(a)+f(x)g(a)-f(a)g(a)| \leqslant |f(x)||g(x)-g(a)|+|g(a)||f(x)-f(a)| < |f(x)|\frac{\varepsilon}{2}+|g(a)|\frac{\varepsilon}{2}$$ However I’m not sure how can I continue from here. How can I bound $f(x)$ and $g(a)$ to be less than $2$ in order to make this work?


Clipboard.GetText() always empty, I want to copy the text in my clipboard inside my app  var str = Clipboard.GetText();   but it's always empty! why is that? where it has data.


Assigned object to another object and preserve original data?

I co ordinates stored as an object and have duplicated the data so i have a copy before the co ordinates change. But the problem is, when I change the co ordinates both copies change to the new version and I lose the original.  So i create it like this:  myObj          = {}; myObj.position = {'x':12,'y':24}; myObj.startPos = myObj.position;   So if i change myObj.position, I don't want myObj.startPos to change. What is the simplest way to prevent this from occurring?


How to get Firebase Authentication Created Date

How to get these details:  I have tried to get this by following method FirebaseAuth firebaseAuth = FirebaseAuth.getInstance(); long joineDate = firebaseAuth.getCurrentUser().getMetadata().getCreationTimestamp(); String joined_on_date = String.valueOf(joineDate); joined_on.setText(joined_on_date);  But that looks like this:  So how to display it in date format No the question linked doesent answer my question when I get those date from firebase it shows some random numbers which I dont know in which form it is.


Are there single-word alternatives that indicate plagiarism of "ideas"?

As per Wikipedia, plagiarism is "wrongful appropriation" and "stealing and publication" of another author's "language, thoughts, ideas, or expressions" and the representation of them as one's own original work.  While there are words that depict plagiarism in the context of "literature" and/ or "art/ music" (e.g. piracy, appropriation, borrowing, counterfeiting, lifting, literary-theft, etc.), I was not able to think of single-word alternatives that indicate plagiarism of "ideas".   Do such alternatives exist, or should I simply refer to it as "idea plagiarism"?


What is the sum of binomial coefficients?

$$\binom n0 + \binom n4 + \binom n8 + \cdots$$ Any hints?


What is terminal velocity? I've heard the term especially when the Discovery Channel is covering something about sky diving. Also, it is commonly known that HALO (Hi-Altitude, Lo-Opening) infantry reaches terminal velocity before their chutes open.    Can the terminal velocity be different for one individual weighing 180 pounds versus an individual weighing 250 pounds?


Short story set in near future: huge freeways and swift justice for bad driving

This story goes back to the 70s at least and was a short story in an anthology. I read this around 1971.  The protagonist was involved in an auto accident on a high speed "hyperway" of the future. He was tried in what I remember as a mobile court and I believe executed for this immediately.  It was a very short story and not an incident from a longer book. From what I remember the plot was what is the ultimate consequence of bigger and faster freeways and how can they be controlled.


Can be bad for SEO to submit links in Google disavow tools?

I have a website & I found some spammy inbound links. I have collected these links & submitted them to the Google Disavow tool.  Day by day I now see Google Search Console reducing them. I am also seeing some of my keywords rank drop.  Is it possible that disavowing links had a bad effect on SEO for my site?


I ask a lot of question on SO, so this recommendation/idea comes from that experience. I'm not really sure how this would fit in with the current structure of SE.   Oftentimes after asking a question, maybe after an hour or so, I end up finding the answer I needed somewhere. And it comes time for me to answer the most difficult question of all: do I delete this question, or do I keep it in case someone answers and others may benefit from it. The problem is, if I don't delete it and no one answers, my acceptance rate goes down. So usually I'll just delete it.  However, sometimes I fear that someone is typing a really really long answer to my question since itäs only been an hour, and so I imagine the nightmare that person experiences when they find out their essay will be gone to waste. Overall, this never-to-be-seen-again answer could have benefitted many people had the question remained.  Since SE has gone "live-happy" lately, where answers and comments refresh live, I thought it might be interesting if the original asker of the question (or anyone else for that matter) could see how many people are currently responding to the question (just count, not necessary to display their names). This way, if I know someone is replying, I won't delete the question, and others can benefit from it.


Let $a,b,c>0$; $a^2+b^2+c^2=3$. Prove that: $$\sum\limits_{cyc} \sqrt{a^2+3b^2}\geq \sqrt{12(a+b+c)}$$ I have got stuck at this problem. Any soluion is welcome.


How do I remove the mouse battery indicator?

I just upgraded from 13.04 to 13.10 and it seems there has been a new notification/status bar thingy (sorry I'm new to Ubuntu) for my mouse battery. It is in the place where it normally tells me how much laptop battery time/charge I have left. If I click on it, I can see the laptop battery status.  I want to disable the info for the mouse and only display for my laptop battery. How do I do this?


how to get value from map by position in python3

totalArray = {"BWM": {"1Seris": ["118d", "120d"], "2Seris": ["m2", "220d"]},               "Audi": {"A4": ["a4 tsfi", "a4tdi"], "A6": ["a4 tsfi", "a4tdi"]}}  totalList = list(totalArray.values()) totalList2 = list(totalList[0].values()) print(totalList2[0][0])   I want to get value "118d" by use "totalList2[0][0]"  I tried. it was receive the ramdom value.   like something. It was change value 118d, m2, a4 tsfi when it start again  I want to get only "118d" by using the position number  How can i do that?  or   Have have ever know another method?  I want to use map at for loop


Complete noob here, please be kind. I am trying to install the Blend4Web addon and I believe I`m following all the correct steps as outlined here:  However, after installing and restarting Blender the Blend4Web addon does not show anywhere at all within Blender. My Workflow: Edit > Preferences > Addons > Install > Select the addon .zip file > Click the blue 'Install Add On' button.  A loading spinner shows signifying that the installation is being processed. I click on the small navbar that is located at the bottom left of the installation window and choose 'Save Preferences'. I close the program and open it again. No joy, my add on does not show anywhere at all in the program. What am I doing wrong?


Keeping mirrorless camera sensors clean; tips?

I have a Sony A7S II which I adore; but—like every other camera—it too has its disadvantages. For me, one of those disadvantages is the sensor which is exposed when you switch lenses. And a simple "clean sensor" function in the menu doesn't always help.  This really bugs me. What sensor maintenance routine could relieve me of my sorrow?  EDIT: I'm looking for insights in using a mirrorless camera; i.e., a sensor that is directly exposed to dust, etc. when a lens is not mounted, as opposed to a DSLR where the shutter is closed and the mirror also provides some form of extra protection. General ideas on cleaning a sensor are not part of my interest here.   I would like to inquire on user habits for coping with this specific issue of mirrorless cameras or any other camera where the FF sensor is fully exposed within +/- 1 cm every time you remove a lens.


Returning to India from the US with two laptops

I will be taking my MacBook Pro as a personal laptop with me. I will be bringing back an additional work laptop.    Would I have to pay duty on either one?


The words once, twice, thrice describe the number of repetitions in a series of such repetitions or possible repetitions. I have searched several authoritative dictionaries & thesauruses without finding other examples. Does anyone know further single words in this sequence?


If $b_n$ is a bounded sequence and $\lim a_n = 0$, show that $\lim(a_nb_n) = 0$

This is a real-analysis homework question so I of course have to be very precise and justify anything or any theorem I use.  If $b_n$ is a bounded sequence and $\lim(a_n) = 0$, show that $\lim(a_nb_n) = 0$  Intuitively, since $b_n$ is bounded, then sup($b_n$) is some finite number and therefore we can take an $N$ natural number as large as we need such that for all $n\gt N$ $b_na_n$ approaches $0$.  At first I thought to use the limit theorems, but since $a_n$ is not bounded, the general limit theorems do not reply. (I am referring to $\lim(X + Y) = \lim X + \lim Y$ for $X,Y$ sequences etc).  I was thinking then to use the definition of the limit somehow to show that since $b_n$ is bounded we can take as intuitively stated above $N$ large enough to show the statement is true.  I'm not sure how to proceed with this.  Thank you for your replies in advance!


Calculating 3D surface area base on slope in ArcGIS Desktop?

How can I calculate 3D surface area base on slope in GIS for each morphological units in watershed?


$a$ algebraic number, $\exists$ integer $n>0$ such that $na$ algebraic integer

If $a$ is an algebraic number, show that there exists a positive   integer $n$ such that $na$ is an algebraic integer.   I'm supposing that $a$ is algebraic over a field $F$, that is, there exists a polynomial $p(x)$ over $F$ such that $p(a) = 0$ . If we think about $F$ being $\mathbb{Q}$, then $a = p/q$. And if we think that $p(x) = x-a$, we have that $p(x) = x-p/q$ is our polynomial. But I don't know if it helps. I don't even know if we can suppose that $x-a$ is our polynomial


Rolling $n$ times with an $m$-sided dice. Closed, finite formula for the distribution of the sum?

My current idea is the following: practically we want to get the distribution of the sum of $n$-times of a discrete uniform distribution between $1,...,m$ .  It is practically the discrete convolution of these, which is a multiplication in the space of the Laplace/Fourier/$z$-transformations. Going in this direction I found complicated formulas whose de-transformation was already hopeless. (I could write them here on need.)  Was it a good direction? Maybe somebody knows the formula, or can show me a better way?


Do anyone know a good software that where I can easily find the metric from the stress-energy tensor?

I'm using SageMath but the obtainment of the metric from the stress-energy tensor is not trivial, i.e., it is not implemented in a predefined function.  Do anyone know a good software that where I can easily find the metric from a given stress-energy tensor with constant entries?


Is there going to be a Popular Profile badge?  Imagine the situation:   when the total unique visitors of some guy's personal profile is greater than 10.000 in a week or something like that he could earn a badge for that.


I have been with StackOverflow since almost more than a year (as a user). I have always been willing to contribute to StackOverflow by voting for the best contributions at the very least.  The problem is: I don't have the need to code extensively, so I really don't have any unique questions - all of them so far had been asked! And since I am much of a beginner to coding world, I really don't have answers to any questions as they are of a good stature!  I am able to find answers to my questions very easily on SO or Google. But if I don't ask question, and if I am not good enough to answer a question - how ever will I be able to vote (to Vote you require 15 Rep!). And yes, I have been helped by users extensively - I have over 50 bookmarks saved over my browsers for really good questions and answers! All I have is 1 Rep on SO, I just can't vote!  What else can you do to improve your rep when you are starting off at 1? Or at least, should voting be given a privilege to all the beginners?


MS Word 2013 Format change for a single page without effecting the rest of the document

How do I make a single page landscape 11" x 17" while the rest of the document stays 8.5" x 11" in portrait?


Will I be able to install Ubuntu Tablet on my Hipstreet Titan tablet?

I have a Hipstreet Titan Tablet (HS-7dtb4-16G), will I be able to install Ubuntu Tablet on my Hipstreet Titan tablet?


How can I make cakes in 20Ltr ONIDA Black Diamond conventional microwave oven?

I am using 20Ltr ONIDA Black Diamond conventional microwave oven. I couldn't bake cakes in this oven at 180 degree temperature. Please send me feedback -how to use this oven for baking cakes?


When I installed Ubuntu my windows 8.1 does not load?

I installed Ubuntu 14.04 on my laptop with win 8.1,but now when I start the power only Ubuntu is come in DOS and the win 8.1 does not load. how I fix it?


Finding the null space of symmetric matrix generated by outer product

Let $p, q \in \mathbb{R}^n$ such that $\|p\| = \|q\| = 1$ and define $$A = pq^T + qp^T$$ Find the null space of $A$.    I am not having very much luck. I have managed to show that $p + q$ and $p - q$ are eigenvectors, but I can't seem to connect those two. I know that since $A$ is generated by an outer product, it is of rank one. That implies that the rank of the null space is $n - 1$, but I can't seem to get any further. Can anyone help?


Login options don't appear on Ubuntu 18.04, instead I get logged in automatically

When I start Ubuntu 18.04, login options don't appear; it just logs in automatically.  I want to see a login screen and log in from there. How can I fix this?


Is there a way to make BigDecimal faster than I have here?

I'm working on some financial analysis software that will need to process large (ish) volumes of data. I'd like to use BigDecimal for the accuracy (some pricing info goes to four or five digits to the right of the decimal) but I was concerned about speed.  I wrote the following test app and it appears that BigDecimal can be 90 to 100 times slower than Doubles. I knew there would be a delta, but that's more than I was expecting. Here's a typical output after many trials.  BigDecimal took 17944 ms Double took 181 ms   Am I missing something?  Here is the code. I tried to make it representative of real world. I created a constant where I could (pi) but also did some inline math of numbers that would vary from data row to data row - such as pi * BigDecimal(i) + BigDecimal(1). My point being that avoiding constructors can't be the only answer.  Fortunately, it appears Double has enough precision anyway since numbers will be typically in the format 00000.00000. Any hidden gotchas I should know about, though? Do people use Double for financial analysis software?  import java.math.BigDecimal  object Stopwatch {     inline fun elapse(f: () -> Unit):Long {         val start = System.currentTimeMillis()         f()         return System.currentTimeMillis() - start     } }   fun tryBigDecimal() {     val arr: MutableList<BigDecimal> = arrayListOf()      for (i in 1..10000000) {         arr.add(BigDecimal(i))     }      val pi = BigDecimal(3.14159)      for (i in 0..arr.size - 1) {         arr[i] = arr[i] * pi / (pi * BigDecimal(i) + BigDecimal(1))     }      //arr.forEachIndexed { i, bigDecimal ->  println("$i, ${bigDecimal.toString()}")} }  fun tryDouble() {     val arr: MutableList<Double> = arrayListOf()      for (i in 1..10000000) {         arr.add(i.toDouble())     }      val pi = 3.14159      for (i in 0..arr.size - 1) {         arr[i] = arr[i] * pi / (pi * i + 1)     }      //arr.forEachIndexed { i, bigDecimal ->  println("$i, ${bigDecimal.toString()}")}  }  fun main(args: Array<String>) {     val bigdecimalTime = Stopwatch.elapse(::tryBigDecimal)     println("BigDecimal took $bigdecimalTime ms")      val doubleTime = Stopwatch.elapse(::tryDouble)     println("Double took $doubleTime ms") }


My Work:  If you take the cartesian product of any set with two arbitrary elements $a$ and $b$, and the resulting set is $\{\{x_1\},\{x_1,x_2\}\}$, then the only possible values for $a$ and $b$ are $x_1$ and $x_2$ by definition of the cartesian product.  This answer seems overly trivial and I think I'm doing something wrong. Please help!


Sample size for logistic regression. How to determine the number need for positive and negative cases?

I would like to apply logistic regression for my research. And before that, I want to calculate the minimum number of sample size, positive cases, and negative cases.    I came across the above website, stating the below calculation.  "Sample size calculation for logistic regression is a complex problem, but based on the work of Peduzzi et al. (1996) the following guideline for a minimum number of cases to include in your study can be suggested. Let p be the smallest of the proportions of negative or positive cases in the population and k the number of covariates (the number of independent variables), then the minimum number of cases to include is:  N = 10 k / p For example: you have 3 covariates to include in the model and the proportion of positive cases in the population is 0.20 (20%). The minimum number of cases required is  N = 10 x 3 / 0.20 = 150  If the resulting number is less than 100 you should increase it to 100 as suggested by Long (1997)."  So, since my positive cases in the population is 7.4%=0.074; and I have 10 independent variables. Therefore the sample size needed N = 10 * 10 / 0.074 = 1352.  But how can I determine how many positive and negative cases do I need? Or does it mean I would need 1352*50% for positive and negative cases respectively?   What if my available sample include only 500 positive and 7500 negative cases? Would it be inappropriate to run logistic regression?  Thank you !


Prove that $\mathbb{Q}$ belongs to the Borel $\sigma$-algebra of $\mathbb{R}$

Prove that the set of rational numbers $\mathbb{Q}$ belongs to the Borel $\sigma$-algebra of $\mathbb{R}$. I'm unsure about how to prove this. I'm also unsure about the difference between a σ-algebra and a Borel σ-algebra.