Dealing with suggested edits on question to be closed as duplicate

There is a question on one of the SE sites that had a pending suggested edit: trust me, the way the original question was, it was needed. Before I even thought to approve the edit, I went to close it as a duplicate (as it was), but the suggested edit was still there.  If the question is being closed anyways (as a duplicate or otherwise) do I reject or approve the suggested edit? What is the proper etiquette?


Find an expression for $$\frac1{1+1^2+1^4}+\frac2{1+2^2+2^4}+\cdots+\frac n{1+n^2+n^4}.$$  This was given in the chapter for APs. However, I do not see how this relates to them. I tried using telescopic sums, but I am not proficient in them and was thererfore unable to solve this question. I tried calculating the sum for a few consecutive values, and tried constructing a polynomial that covered them all, but it proved to be difficult. Any hints on how to solve this question? Please help.


Where is tlmgr in MacPorts-TeXLive installation?

I have just installed TeXLive-2014 through MacPorts. But it doesn't come with a tlmgr executable. I previously used TeXLive-2013 installed with MaxTeX.pkg which had tlmgr as part of its installation. I don't see why the MacPorts installation doesn't contain it.  I really need tlmgr to install, update and upgrade packages from CTAN with ease. If this is not possible, is there any substitute for tlmgr in the MacPorts installation of TeXLive?


Need help to use regex in match function of javascript

I am using a regex for getting some pattern data and it is working fine but I need to use some part of regex from a variable but I am unable to do that please help me if somebody know how to make it.  var subStr = document_root.documentElement.outerHTML.match(/http(.*?Frover.fff.com.*?)\;/g); alert(subStr[0]);   I get first result in alert but need to do it like this.  var link=rover.fff.com; var regexpattern="/http(.*?F"+link+".*?)\;/g" var rex=new RegExp(regexpattern); var subStr = document_root.documentElement.outerHTML.match(regexpattern); alert(subStr[0]);   I don't get anything. Please help me. Comment if you confuse in anything.


I have got a list called words_list that has around 28352 elements (words). Now I want to split this list into 29 different lists each having 1000 elements i.e, the first list would contain first 1000 words and the next list would contain next 1000 words from the words_list and so on. I implemented this in the following manner,  split=[] start=0 end=1000 for i in range(0,29):     temp=words_list[start:end]     split.append(temp)     start=start+1000     end=end+1000    The code is serving the purpose. I just want to know, is there any way to reduce the steps?


What is the purpose of a master-slave flip-flop?

Why is having a 2 stage flip-flop desirable? Are there advantages of having a master-slave compared to a one stage JK flip flop?


How should modal popups and tool tips be handled in responsive websites?

I am reviewing some website wireframes from a client and have decided to make the new site responsive. I've had pretty good luck so far with responsive theming and design from a few past projects and they look and act really nice across widths / devices.   However this particular wireframe has quite a few modals and hover windows with lots of information in them.   My questions are:   Will this be like trying to fit a square peg in a round hole?  Do we need to perhaps go the m.domain.com route where we query the device and design two separate websites?  Should I advise the client to do away with so many modals and hover windows if we go the Responsive route?   I know these are subjective questions so not really sure if this is appropriate within this type of forum.


Server optimization for long running script

I have a system running on a remote VPS whose main feature is a long running script (it could run for about 10 hours, depending on the user input). The following are some of its features:  Database insertion and selection (MySQL) HTTP Post (cURL)  The following are some of the VPS/system features:  Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz, 11 cores Real memory of 1024 MB total OpenVZ Network Interface CentOS Linux 6.4 Apache version 2.2.15 PHP Version 5.3.3 MySQL version 5.1.69  Basically, the long running script should execute a lot of HTTP Post and Database selects and deletes (for a queue) per second. Each HTTP Post will send 50 kb out from my server to another uknown server, and each local Database operation will involve few bytes. What do I need? I need a server that perform per SECOND, AT LEAST:  10 HTTP Post involving 50 kb (total: about 500 kbps) 10 selects and 10 deletes in the Database (total: about 20 simple and light operation per second [for a queue])  Now, my server is performing 20% of what I need, but I feel that I can get much more from it (since the script itself is already optimized). So I want some tips and good pratices about server configurations in order to optimize its performance, cause I am very noob on it. For example:  OS, Apache, PHP and MySQL configuration (cache, enable or disable certain features, CPU and memory limit, etc); Disabling fool processes runing on CentOS by default; Configuring properly the server network interface; Increasing Server CPU cores or Memory or even changing the whole server features; Updating MySQL to 5.6 version  I (and, of course, another noobs) would apreciate a lot if anyone could help. Edit: Just got it! (can't answer my onw question... check my comment bellow) :D


How do i change the folders colors? i am using this icon theme   and there are several folders. like black, gray, purple, orange(which is the default), yellow, green, red, blue, brown and lightblue  How can i use any of them? for example have a blue folder called "family" in images and another right beside that have a purple folder called "others".  Basically why have he created all those folders with different colors?


I just bought some SPD shoes and pedals last night and I was trying them out (on one foot) while balancing in my living room. I ended up falling over because I couldn't get unclipped. What suggestions do you have for breaking out of the clips? Do you simply twist your foot strongly to the outside or will that damage the cleats?


Why are my particle settings grayed out?

The particle number on my settings appear in gray, I don't think i'm able to change the number even thought i need it, how can i make it white again?


How to add an integer variable to a number in a .txt file in Python?

I have a python script that calculates a variety of numbers for me in a loop. For example, in every loop it calculates: Time: Number of events: Number of errors:  I have created a .txt file to keep track of lifelong statistics. I want the script to add to the text file every time it completes a loop. For example, let's say when I first start the script, the text file looks like: Time: 60 Number of events: 10 Number of errors: 5  Now I run the script and in one loop it calculates 30 time, 3 events, and 1 error. I want it to update the text file so that it reads: Time: 90 Number of events: 13 Number of errors: 6  Is this possible?


Why is the folder size (in properties) different from the total file/folder sizes in the folder?

Here's my problem  I'm trying to do a cleanup of my hard drive, and I'm constantly seeing this scenario:  (1) Aggregate folder size: I check the folder size viewing properties right clicking the folder  (2) Individual folder/file sizes: I check the individual file/folder sizes belonging to that folder viewing properties on the individual file/folder sizes, and then adding them up (with hidden and system files shown).   These two figures are always different, sometimes by a large margin.   For instance, my C drive now, by method (1), shows a consumed space of 42.4 GB.   However, by method (2), by inspecting the respective files/folders, the total consumed space adds up only to 33.1 GB. This is a 28% discrepancy (over the smaller file size) and I have no idea where the rest of the space is going.   My hard drive is constantly in danger of being full (it's bootcamp on a mac with 50 GB of partitioned space), and there's not much I've got installed in terms of software, nor do I have large media files like movies, downloads, temp files, application temp files, torrents, etc.   Most of it's just consumed by the files in C:/Windows, but last I checked, I don't know enough to know which files to delete, and I've heard that you really can't do anything about the space boggling winsxs and system32.   Can you guys recommend a starting point to free up disk space?  Thanks!!  Baggio.


I would like to know if there is a difference in the values taken from measurements of a given characteristic sampled at primary forest (Point=1) and secondary forest (Point=0)  I'm using two vectors, one with the data itself (DATA$Measurements), and the other one with the category of sampling point (DATA$Point).  How should I perform the wilcox.test fucntion?  I'm doing this way:  wilcox.test(DATA$Measurements~DATA$Point) But I notice that are other forms of performing this test:  wilcox.test(DATA$Measurements,DATA$Point) wilcox.test(DATA$Measurements,DATA$Point,paired=TRUE) Which one is more suited for testing my question of interest (Is there a difference between points for this given characteristic), and what is the difference between these options??


What math should all game programmers know?

Simple enough question: What math should all game programmers have a firm grasp of in order to be successful?  I'm not specifically talking about rendering math or anything in the niche areas of game programming, more specifically just things that even game programmers should know about, and if they don't they'll probably find it useful.  Note: as there is no one correct answer, this question (and its answers) is a community wiki.  Also, if you would like fancy latex math equations, feel free to use .


I want to model a torus with grid, i.e torus code in topology quantum computation, just like followin, but I do not know how to draw grid. Maybe using texture might be helpful, but are there any other ways?


I have removed Windows 7 and installed Ubuntu 14.04.  I have successfully installed LAMP but the problem is that I cannot save a file with a PHP extension in local-server using the Bluefish editor .  The error message is "Permission denied"  Can anyone help.


Can I split aws sam template files into multiple files?

Can I split the template.yml into multiple files? Its pretty cumbersome to navigate if theres lots of resources in there


Prove that there exist integers $k, l \in \mathbb{N}$ such that $\mathrm{ord}(x^ky^l) = \mathrm{lcm}(\mathrm{ord}(x), \mathrm{ord}(y))$

Let $x, y \in G$, where $G$ is a group, $\operatorname{ord}(x), \operatorname{ord}(y) \in \mathbb{N} < \infty$, and $xy=yx$ (seems like it's very important). I want to prove that there exist integers $k, l \in \mathbb{N}$ such that $\operatorname{ord}(x^ky^l) = \operatorname{lcm}(\operatorname{ord}(x), \operatorname{ord}(y))$. I know these two facts:  If $\operatorname{gcd}(\operatorname{ord}(x), \operatorname{ord}(y)) = 1 \Rightarrow \operatorname{ord}(xy) = \operatorname{ord}(x)\operatorname{ord}(y)$. For $g \in G$ and $n \in \mathbb{N}$, $\operatorname{ord}(g^n) = \frac{\operatorname{ord}(g)}{\operatorname{gcd}(\operatorname{ord}(g), n)}$.  Looks like these two facts can help me, but I have no idea how. And why is $xy=yx$ so important? I tried to consider infinite non-abelian groups (For example $2\times2$ matrices), but I couldn't find any counterexamples. Maybe you can help me.


Why is 'The Chinese have invented the printer' wrong?

In the textbook by by Raymond Murphy, Intermediate English Grammar, 2nd edition, on page 26:        "The Chinese invented printing."      Raymond Murphy says that we can't use the present perfect here. I question  why?   According  to Murphy:     "We can't use the present perfect if there's  no connection  with present."   But I guess there is a connection/result in the above example because we have printing now.   So why can't we say:        "The Chinese have invented printing."      Why is version #2 wrong?


Wiping a stolen iPhone that wasn't connected to iCloud

Recently, my iPhone 5 was stolen, and while I have a new iPhone 6, I received a message from a number of someone claiming to be in possession of the device, with a new number.   All images, contacts, Outlook mail, you name it, are still on the device.  While I realize it's my fault for not having it connected to iCloud to wipe manually, is there anything I can do to have this sensitive information wiped from the device?


Is there a difference between one or two lines depicting the norm?

I know that the  |  stands for the norm, however I see it sometimes with two lines, sometimes with one. Is there a difference? Do I need to take care when writing a formula?  So basically, is there a difference between     $|a|$ and $\|a\|$ ?   Is it the same when it comes to vectors instead of just numbers?


Verify internal NTP server is sending the correct time?

I have two NTP stratum 3 servers running and wanted to create a simple check that I could tell if either of the servers time drifted and alert that it's not synced properly with the public stratum 2 servers.  My first thought was to pull time from multiple stratum 2 servers and compare that time with what my ntp servers are sending. Then alert if the drift is over X delta.  Is there a more standard way or better method for verifying that an NTP server is sending the correct time?


Suppose $A$ and $B$ are $n\times n$ matrices which satisfy   $$ A=\big(B-\frac{1}{110}E\big)'\big(B+\frac{1}{110}E\big). $$   Prove that for each $n$-dimensional column vector $\xi$, the equation $A'(A^2+A)X=A'\xi$ has a nonzero solution.    It suffices to prove that the column space of $A'$ is contained in the column space of $A'(A^2+A)$, and the column rank of $A'(A^2+A)$ must not be full rank, since $A'(A^2+A)X=0$ should admit a nonzero solution. But I don't know how to prove it rigorously.


There is a famous arithmetic question : Two trains $150$ miles apart are traveling toward each other along the same track. The first train goes $60$ miles per hour; the second train rushes along at 90 miles per hour. A fly is hovering just above the nose of the first train. It buzzes from the first train to the second train, turns around immediately, flies back to the first train, and turns around again. It goes on flying back and forth between the two trains until they collide. If the fly's speed is $120$ miles per hour, how far will it travel? It is easy to determine the distance travelled by the bee.  But how to determine how many times it touches first/second train? or Which train it touches last?


Manually setting "in-reply-to" mail header with gmail

I'm using the gmail web interface, and I've happened to read an online mailing list archive. I want to reply to a specific message of a user, and I already know its message-id.   To make my reply be in the correct thread, I found I need to to set the in-reply-to header to the message-id of that mail I want to reply to.   Is that possible with gmail? Is it possible with any email program that has a modern GUI?


How to boot Ubuntu 20.04 in Windows 8.1 without CD or pen-drive?

I downloaded Ubuntu 20.04 ISO file and used UNetbootin to boot Ubuntu in my hardrive. But when I restart my laptop and boot into UNetbootin it gives me an error that a windows file is missing, but when I boot into Windows 8.1 and it is fine. Please help. In short, I used UNetbootin to boot Ubuntu into my hardrive but gives me an error. It will be really helpful if you can help me.


If as I flip a coin, the times I get heads approach the times I get tails then why isn't there a bigger chance to get tails in two coin flips if I first got heads?


$\lim_{x\to \infty}f(x)$ exists. $\lim_{x\to \infty}f'(x)$ does not exist.

Let $f : \mathbb{R} \to \mathbb{R}$ be differentiable function.     If $\lim_{x\to \infty}f(x) = 0$ , then $\lim_{x \to \infty} f^{'}(x) $ exists?   I think the answer is No.  Because I think there may exists function $f$ alternanting its sign as $x \to \infty$.  Could you give me a such function or Prove above statement?


How to distinguish "two previous" from"previous two"?

a. His two previous books  b. His previous two books   .............   His 2 latest previous books His 2 previous latest books His previous latest 2 books His latest previous 2 books His previous 2 latest books His latest 2 previous books  I am wondering what is the difference could be between these in meaning?  Which one do you use? which one you don't use?  I think just especially native speakers or learned ones in English can provide the most proper answer.  Thanks


Do I need to remove "Ubuntu" from the boot menu after removing dual boot?

I've recently decided to remove the dual boot on my laptop. Everything's working fine at the moment, my computer boots into windows 10 on startup (as intended), but Ubuntu is still listed in the boot menu. I've tried to remove it but nothing I've tried has worked.  Do I need to remove it? I don't intend to dual boot on this laptop again, so I'm not sure if just leaving it there would cause any problems.   Also, there's a BIOS update available, will having this ubuntu listing interfere with that?  My computer is using uefi.


Let $a, b, c, d$ be rational numbers, where $\sqrt{b}$ and $\sqrt{d}$ exist and are irrational. If $a + \sqrt{b} = c + \sqrt{d}$, prove that $a=c$ and $b=d$.


How can I view Ubuntu Files once in Windows 8?

I've seen answers on this questions like ext2 explorer, but when I try to find the Ubuntu partition of my hdd, it doesn't show up in Windows Explorer. I can't boot into Ubuntu because every time I do it freezes shortly after I log in, and I can't do anything. I just need to recover a few text files from it and then I can reinstall. Please help!


How do I remove all but the file name (with no extension) from a full file path?

I am presently writing a Bash function to convert all the man pages listed by equery files <PACKAGE> | grep /usr/share/man/man (if you are unfamiliar equery is a tool used on Gentoo-based systems that is from the app-portage/gentoolkit package) into HTML files and one bit of information I need in order to do this is how I can remove everything but the man page's name, without its file extension, from its full path. I realize this phrasing may be confusing so I will explain what I mean by this with an example. Running equery files sys-apps/portage | grep /usr/share/man/man gives the output:  /usr/share/man/man1 /usr/share/man/man1/dispatch-conf.1.bz2 /usr/share/man/man1/ebuild.1.bz2 /usr/share/man/man1/egencache.1.bz2 /usr/share/man/man1/emaint.1.bz2 /usr/share/man/man1/emerge.1.bz2 /usr/share/man/man1/emirrordist.1.bz2 /usr/share/man/man1/env-update.1.bz2 /usr/share/man/man1/etc-update.1.bz2 /usr/share/man/man1/fixpackages.1.bz2 /usr/share/man/man1/quickpkg.1.bz2 /usr/share/man/man1/repoman.1.bz2 /usr/share/man/man5 /usr/share/man/man5/color.map.5.bz2 /usr/share/man/man5/ebuild.5.bz2 /usr/share/man/man5/make.conf.5.bz2 /usr/share/man/man5/portage.5.bz2 /usr/share/man/man5/xpak.5.bz2   out of this output say I take the final line /usr/share/man/man5/xpak.5.bz2 (which in the wording I used previously is this man page's full path), for the purpose of my example. Then what I would want to extract from it, within a Bash script, is xpak.5 (which is its file name, without its extension). How would I do this? I am presently using this Bash function:  function manhtmlp {   for i in `equery files "$1" | grep /usr/share/man/man`   do     bzcat $i | mandoc -Thtml > $HOME/GitHub/fusion809.github.io/man/${i}.html     sudo chmod 777 -R $HOME/GitHub/fusion809.github.io/man/${i}.html   done }   on the fifth and sixth lines I use the notation ${i} to indicate where I would like to be able to prune the man page's full path for its file name (without its extension). The user-supplied input (denoted by $1 in this function) denotes the name of a package, including its category (e.g., it would equal sys-apps/portage for the Portage package manager).   EDIT: Why this question is distinct from .   This previous question's answers while similar to what I would like do not tell one how to strip file extensions away from file names, only the rest of their path. So in the example of /usr/share/man/man5/xpak.5.bz2 the answer to the aforementioned question would provide one a way to get xpak.5.bz2 out of this full file path, but not xpak.5.


I'd like to understand  and its contents as to what it implies in a bit simpler terms. I am familiar with mathematics unto Calculus 1,2,3 and some linear algebra and group theory. I am familiar with that for each symmetry there is a conservation law.    Now is there a one-one correspondence between these two always? What about laws like conservation of charge?  And conservation of energy?  And conservation of mass?  Considering our view of nature was changed as Special Relativity was introduced and thus, what earlier the theorem would have asserted as mass and energy to be originating from different symmetries then how did we reconcile these two as just one symmetry?


How to prove the one-sided Chebyshev's inequality which states that if X has mean 0 and variance $\sigma^2$, then for any $a > 0$   $P(X \geq a) \leq \frac{\sigma^2}{\sigma^2+a^2}$  Solution.  I know the Chebyshev's inequality which States that  $P(|X-\mu| \geq a) \leq \frac{Var(X)}{a^2}$  If I first argue that for any $b > 0$  $P(X \geq a) \leq P{[(X+b)^2 \geq (a+b)^2]}$  $P(X\geq a) \leq \frac{E(X+b)^2}{(a+b)^2}$  $P(X \geq a) \leq \frac{[E(X^2)+2E(X)b+b^2]}{(a+b)^2}$  $P(X \geq a) \leq \frac{\sigma^2+ b^2}{(a+b)^2}$  I got the correct answer.


"ls" (or other) command to get the *complete* date time on AIX 7.1

I’m looking for a command on AIX 7.1 that can give me filenames, size, and complete date/time (in a uniform format).   ls -l and similar commands have the drawback that they give date (month and day) and time (hour and minute), if the file is not older than 6 months, and date and year otherwise.  (I want year, month, day, hour, minutes and seconds for all files.) The AIX version of ls does not support --full-time, reporting  ls: Not a recognized flag: - ls: Not a recognized flag: - Usage: ls [-1ACFHLNRSabcdefgiklmnopqrstuxEUX] [File...]    What command that exists on AIX will give me the full date/time, in a consistent format, and the file size?


Bounties for answers that were particularly useful

If I ask a question on StackOverflow, and find multiple answers to be especially pertinent and useful to my own work, is it appropriate to award a bounty to them?   Others may also find the information useful, but it would be hard to find given the context of the question.  Link:   This is a question that I did not create with the intent to apply a bounty to, and I feel it has received sufficient attention.  I simply want to reward those who shared knowledge that I desperately needed right away.


How does granting a landed title to a Council member make them lose their position?

I wanted to reduce my demense count by giving up some of my titles to my Councillors, for example my Spymaster who is Mayor. I granted them one of my duchies and now he's kicked off the Council, leading to a decrease in his opinion towards me, plus a landed title:  How does this mechanic work?


openVPN disconnect via command line in linux

Is there a way to disconnect an openvpn connection that was established by free-radius with a shell command line?  I have all information about the openvpn connection:   Username Client IP AccountSeassionID ...


Statement of Purpose and Personal Statement examples

I am applying to some schools in the UC system for graduate school, and I have to write a Statement of Purpose and a Personal Statement. I was wondering if there are some good examples online, so I can have a better idea of what is expected.


Can I completely disable Cortana on Windows 10?

Windows 10 has Cortana, which I don't like. I disabled it as soon as I could. However, looking in Task Manager, the process for Cortana is still running, and can't be effectively terminated: ending the task simply results in the process respawning a few seconds later. Using the command  taskkill /IM Cortana.exe /F   has the same result: the process respawns.  Is there any way to disable Cortana so that the process doesn't keep running in the background, and doesn't respawn if terminated?


Show us how many posts are in our filtered Review Queues?

I was thinking about some of the things said in  and how so many questions seem surmountable. You've already given us a way to break down that queue into smaller chunks by , but we have no idea if the section we're trying to "clean up" is 3 posts or 30,000.  Could you add a number somewhere to the Review screen showing us how many posts there are to review in our filtered Review Queue?  (Ideally, a date range filter option would be nice too, to allow us to further break down the queue into manageable sizes for a single person to clear on their own)  Edit: Based on the success and some of the comments on  when the Close Vote Queue was temporarily reduced in size and a post created to list the top Tags and Count of posts, I think this would help increase participation of reviewers in the Close Vote Queue a lot.


Why does Chrome on 1 computer say my certificate is invalid/insecure?

I have a wildcard domain certificate from StartSSL for a site ().  When I check it in any browser on my home PC, it's all good. (Green lock in Chrome.) When I check it in Chrome on my work PC, it's not good:    The page loads like no problem. There are no other requests, so nothing over HTTP. It uses safe protocols etc. I checked the connection on  and  and they agree it's perfectly safe.  On the same computer, other browsers are fine with it. On other computers, Chrome is fine with it too. I tried restarting, flushing caches, incognito mode, etc. Nothing changes.  It's no real problem for me, because I know it's safe, but it's still annoying.  Any ideas?  PS. Chrome did something like this a while ago with Windows XP: suddenly websites were 'unsafe' because Windows protocols were unsafe. Both PC's are Windows 7 and the same version of Chrome, so that's probably not it...  More info:    For some reason the 2 computers have different certificate chains. The domain certificate and root certificate are the same, but the intermediary is different. On my home PC it uses sha2, on my work PC it uses sha1. The intermediary is included in the server cert (which has sha2), so that's weird. All the SSL checkers only detect the sha2 intermediary cert. What's going on!?


Prove that $\sum_{i = n - b}^{a - m} {a - i \choose m}{b + i \choose n} = {a + b + 1 \choose m + n + 1}$

Restrictions on the variables for this identity are as follows: $a \geq m \geq 0$ and $n \geq b \geq 0$.  I have not gotten far with this, but these are my very rudimentary thoughts: We need to define a special element, somehow, and then carve up the $m + n$ remaining elements to be chosen out of the remaining pool of $a + b$ elements by writing $a + b = a - i + b + i$. From the $a - i$ pile, we choose $m$ things. From the $b + i$ pile, we choose $n$ things. My problem is, what is going on with this special element? How is it being defined so as to split things in this precise way?  A hint would be great for the moment.


I never know how to order food correctly but succinctly the first time. :(  Basically: I can't eat hot stuff (i.e. most pepper, similar spices, ...).  On the one hand, I don't want to say "Please don't make it spicy", because I really don't mind spice (heck, a lot of them are great!) -- I just don't want it to be hot spice.  On the other hand "Please don't make it hot" would seem to imply I'd like my food cold!  Possibilities I've considered:   "Please don't add hot spice" just sounds weird "Please don't add pepper" is the best I've thought of so far, but I'm pretty sure I've come across foods without pepper (or apparently so) which nevertheless tasted pretty hot. And not just that, but it would also exclude bell peppers, etc. which I don't mind much.   Any ideas for how to communicate this clearly? The fewer words the better, haha.


So I'm studying implicit differentiation and running into a bit of a dilemma.  On the unit circle, the slope of a tangent line at a point is just the tangent of the angle to that point. So the way I'm interpreting this is that the rate of change between points on the unit circle is related to the tangent of those angles, or sin/cos.  But through implicit differentiation, you get a rate of change of -x/y on the unit circle, which is -cos/sin.  I have to be misunderstanding something because these are obviously two very different values.


In my package.json, I have a regex to process only the files that contain '.integration.'  The command is the following:  "test:integration": "jest .*\\.integration\\..*"   How can I select files that DON'T contain  '.integration.' ?


I am working on converting an HTML template into a WP one, so now I am working on its customization capabilities. I've went through an official WP documentation, as well as suggesed articles on Envato. So now I can easily create checkboxes, inputs and other standard controllers (together with sections and settings) via the Customizer.   However, what I need now is to code the ablity to add multiple social links to my page, and this is where I got stuck, because their number can be any, and I need some kind of a button that would create a new controller each time. Any advice would be appreciated!


Is it correct to say   "MIGHT I have a look around? OR "MAY" I have a look around?  Which is correct and why ?  Thanks


Issue when sudo something after a hostname change

I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo gedit my terminal prompts ~: unable to resolve host <my_new host_name_i_gksudo>.  When i sudo cat /etc/hosts it gives me:  sudo: unable to resolve host <not_of_your_business!> 127.0.0.1   localhost 127.0.1.1   leviathan  # The following lines are desirable for IPv6 capable hosts ::1     ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters   How could i get rid of this problem? Thanks in advance.


How to calculate the exact probability that the second player wins?

Consider a game that uses a generator which produces independent random integers between 1 and 100 inclusive. The game starts with a sum S = 0. The first player adds random numbers from the generator to S until S > 100 and records her last random number 'x'. The second player, continues adding random numbers from the generator to S until S > 200 and records her last random number 'y'. The player with the highest number wins, i.e. if y > x the second player wins. Is this game fair? Write a program to simulate 100,000 games. What is the probability estimate, based on your simulations, that the second player wins? Give your answer rounded to 3 places behind the decimal. For extra credit, calculate the exact probability (without sampling).     import random  CONST_TIMES = 100000 CONST_SMALL = 100 CONST_LARGE = 200  def playGame():     s = 0     while s <= CONST_SMALL:          x = random.randint(1, CONST_SMALL)         s = s + x;     while s <= CONST_LARGE:         y = random.randint(1, CONST_SMALL)         s = s + y     if x < y:         return 's'     elif x == y:         return 'm'     else:         return 'f'  fst = sec = 0 for i in range(CONST_TIMES):     winner = playGame()     if winner == 'f':         fst = fst + 1     elif winner == 's':         sec = sec + 1 secWinPro = round(float(sec) / CONST_TIMES, 3)  print secWinPro   The simulation probability is about 0.524. I want to know how to calculate the exact probability.


Should I say "in the home" or "at home"?

Is it possible to say in the home, or we should always use at home?   I am not sure whether I can use in the home.


How do I see the edit history of my question?

Say someone edited my question and I rolled back this edit. Then later, if I wish to use this edit after all, how do I go about doing it? How can I view the Revision history?


Story about tricking the earth empire into saving hopeless aliens

I'm hoping to identify an SF story (read it at least 20 years ago, I think), where Earth has set up a base on a distant world, and when the locals see how advanced they are, they quietly give up on themselves, and stop having children.  The governor (or similar) from earth has conversations with the earth military commander, talking about how they really wish they could get earth to leave the natives to themselves, but it won't happen. The military commander thinks the system is broken, but the governor suggests the there are ways to "make the system work for you".  Some time later the governor privately suggests to the commander that maybe teaching the locals about ships and piloting might encourage them to take new interest in life, and the commander requests permission for this from the military.   At some meeting, the governor somehow gets the locals (the locals may be slightly telepathic?) to express interest in some very fragile art form he has one of, which prompts someone to request shipment of many of them as gifts for the natives.  Because they're so fragile, this gets a lot of huge transports ships to the planet, and since meanwhile the natives have learned how to fly, they steal them and emigrate en masse, vanishing into the void.  The military guy accuses the governor of setting this all up (to the reader this is clearly true), but there's no proof, and the story closes with the governor reminding the commander of what he had said about making the system work for you.  What is the name of this story?


Getting rid of reflective artifacts when using Cycles

I cannot find a way to fix this issue. I tried higher sampling but the artifact still appears. If you look at the image, I added a light behind the lens. But there are fireflies/artifacts in the surrounding faces. How can I resolve this issue? Is this something to do with my mesh?  My settings are: Cycles render 75% Render 1000 Sampling Zero Compression 8 Bit


Seeking a novel containing the word "ever" in the title; Teens fall asleep and awake in a medieval fantasy world

I read a book 12 years ago.  I believe it had Ever on its name.   It was about these high schoolers that went to sleep and woke up in a world of magic or medieval. I do know that when they went to sleep that would travel back and forth. I know it's not much but if you can help thank you.


Prove $\frac{k[x,y]}{I}$ and $k[x]$ are not isomorphic where $I=$.

This question is related to my previous question  Here my question is, how can i show $\frac{k[x,y]}{I}$ and $k[x]$ are not isomorphic. I showed there exist a ring hom. which is surjective but not injective. However this is not enough to prove the being non isomorphic.


What's the fundamental difference between Diffie-Hellman and RSA?

What is the difference in the purpose of DH and RSA?  Aren't they both public-key encryption?


I am a bit confused with the The Flash/Supergirl crossover. I always thought Supergirl was Earth-1, but The Flash rescued her and implied that she was Earth-2. If she is Earth-2 and The Flash has rescued her by accidentally crossing over to Earth-2, what is that thing on his chest? The tachyon accelerator Dr. Well was talking about in the Flash Back episode of The Flash? I thought the purpose of that device was making him faster? How did he change his frequency enough to change Earths?


$$(a+1)(a+2b)≤\frac{-1}{2}$$ I was solving a problem about quadratic equations and I needed to find the value of $a$ and $b$.  I used the discriminant to get an inequality and I simplified it to get the above inequality.  How to solve this?


Is it possible to install a new HP Envy-4520 printer on a computer running Snow Leopard

I am trying help someone setup a new printer (HP Envy-4520) on an older Mac (Snow Leopard 10.6.8) Obviously the best solution would be to replace the computer, unfortunately, this isn't an option. I am not onsite with the Mac at this time.   I found instructions through Google, but they are obsolete*. The printer does work when printing from a mobile device. I have tried setting the printer up using the generic driver options, but they didn't work. (The printer received data, but gave an error message referring to the output tray extender). I can put together a Windows box from spare parts and share the printer from that, if that would work. I am experienced with Windows and Linux, but my Mac experience is limited.   Any suggestions or is this a lost cause?  *Instructions mentioned above: , points to , which points to , which just says "We’re sorry—We don’t support this operating system."


Let S be a set of pairwise disjoint 8-like symbols on the plane. (The 8s may be inside each other as well) Prove that S is at most countable.  Now I know you can "map" a set of disjoint intervals in R to a countable set (e.g. Q :rational numbers) and solve similar problems like this, but the fact that the 8s can go inside each other is hindering my progress with my conventional approach...


How do I make the enter key submit a form in an Asp.net page?

I have an asp.net page containing several Text Boxes and 2 buttons; Search and Reset.  When the user presses the enter key, the search should execute without the user having to click the Search button.  I am using VS 2010 C#.  This is my code below:  <fieldset  >         <legend class="ui-widget-header ui-corner-all">Case Search Criteria</legend>

                           <wuc:CustomLabel ID="lblCaseNumber" runat="Server" AssociatedControlID="txtSearchByCaseNumber" Text="Starting/Exact Case Number:" />             <asp:TextBox ID="txtSearchByCaseNumber" runat="server" />                 <acTkt:FilteredTextBoxExtender ID="ftbCaseNumber" runat="server" FilterType="Custom" FilterMode="ValidChars" ValidChars="1234567890" TargetControlID="txtSearchByCaseNumber" />

                           <wuc:CustomLabel ID="lblCaseNumber2" runat="Server" AssociatedControlID="txtSearchByEndingCaseNumber" Text="Ending Case Number :" />             <asp:TextBox ID="txtSearchByEndingCaseNumber" runat="server" />                 <acTkt:FilteredTextBoxExtender ID="ftbEndingCaseNumber" runat="server" FilterType="Custom" FilterMode="ValidChars" ValidChars="1234567890" TargetControlID="txtSearchByEndingCaseNumber" />

                            <wuc:CustomLabel ID="lblSSN" runat="Server" AssociatedControlID="txtSearchBySSN" Text="Employee SSN:" />             <asp:TextBox ID="txtSearchBySSN" runat="server" />                                                             <wuc:DynamicValidators ID="dvalSSN" runat ="server"  EntityName="SSN"                                   ControlAssociatedID="txtSearchBySSN"                                         MaskType="SSN" IsApplyMask="true" IsRequired="false" />

                            <wuc:CustomLabel ID="lblSearchByFirstName" runat="Server" AssociatedControlID="txtSearchByFirstName" Text="Employee First Name:" />             <asp:TextBox ID="txtSearchByFirstName" runat="server"  MaxLength="100" />

                           <wuc:custombutton id="btnSearch" runat="Server" text="Search" disableonsubmit="true" data-button="true"   />                  <wuc:custombutton id="btnReset" runat="Server" text="Reset"  causesvalidation="false" data-button="true" />
    Thanks.


Hide the "please vote" banner when user votes

The "Welcome back, If you found this question useful, don't forget to vote both the question and the answers up" banner has had its share of complaints. (, , ) While it clearly has value, its negative impact could be reduced by automatically hiding it when the user does what it asks them to.  That is -- make it go away when the user votes.    Advantages I can think of:   Since the user is voting, they clearly already understand point of the message. The click targets for voting are bigger and thus easier to click than the very narrow "close this message" link on the banner.   The vote buttons are already familiar to any regular user.   Disadvantages that I can think of:   Somebody needs to write some javascript.


How not to switch past the edge of panes in tmux

By default, tmux passes over edge of a pane. For example, suppose there are two panes, pane 1 and pane 2. Suppose you're at pane 1 and you do Ctrl+b →, you're at the pane 2. If you again do Ctrl+b →, you'll be again at pane 1. How can I disable that feature so, when I'm navigating from the last pane, I don't go anywhere?


How can I find the value of the sum $\sum_{k=1}^{\infty}\frac{k^n}{k!}$? for example for $n=6$, we have $$\sum_{k=1}^{\infty}\frac{k^6}{k!}=203e.$$


Can fungi transfer from a vintage camera to different camera/lens if put together?

I’ve bought a vintage film camera, and it has slight fungi inside the lens, but almost unnoticeable. I’m not sure if I can put it into the dry cabinet where my DSLR and lenses are. Can they transfer to other cameras and lenses in the same dry cabinet?  Thanks!


I use svjour3 documentclass to write my paper, I can not put all author names in one line, how can I correct it? My code is below.  \documentclass{svjour3}     \smartqed  \journalname{Earth Science Informatics} \usepackage{multicol} \usepackage{hyperref} \usepackage{pifont} \usepackage{epsf} \usepackage{graphicx} \usepackage{float}   \usepackage[top=2.5cm,right=3cm,bottom=2.5cm,left=2.5cm]{geometry}   \begin{document} \title{ Earthquake Magnitude ...} \author{{Mahshid Fahandezhsadi, Kamal Aghazade, Hamed Fahandezh Sadi}} \maketitle  .... \end{document}


Altium: Plane assignment for split planes

How can I assign multiple nets to a single plane layer? I've assigned the ground plane to net GND in the layer stack manager. But how can I assign nets 1.5V, 3.3V and 5V to the power plane?


How can I beat the final boss in Faster Than Light?

How can I beat the final boss in faster than light? I can beat the first form, but the second form just obliterates me regardless what I try.   I have tried using nothing but missiles, a combination of every single weapon I can find, and stealth. I have not tried using drones because of the amount of scrap and luck of the draw it takes to get them up and running on the stock ship. I have also been playing on easy.


I loved the edit function in Shutter on Ubuntu 16.04/17.04/17.10 but now in 18.04 it says libgoo-canvas-perl needs to be installed - which is not available in 18.04.  Is there a PPA or how can I fix this?


Book with a fire hydrant with a tongue impaling a bird on the cover

A book I read in the late nineties to early 2000s.  A boy and a girl travel to another dimension (?) with a creature that resembled a miniature star.  The villain was a humanoid guy that may have been a demon, I remember him being described as very tall.  He often rode a horse.  Most distinctively, the cover featured a cityscape with a fire hydrant on a street corner with a tongue reaching out of its spout and snaking up into the sky and impaling a bird in flight overhead.  I believe the protagonists were also on the cover.


I want to bind service with multiple activities so I've written an Application class to managed this goal:  public class BluetoothController extends Application {     private static BluetoothController mInstance;     private ClientBluetoothService mService;     protected boolean mBound = false;      public static synchronized BluetoothController getInstance() {         return mInstance;     }      @Override     public void onCreate() {         super.onCreate();     }      public void startService(){         //start your service         Intent intent = new Intent(this, ClientBluetoothService.class);         bindService(intent, mConnection, Context.BIND_AUTO_CREATE);     }     public void stopService(){         //stop service         if (mBound) {             unbindService(mConnection);             mBound = false;         }     }      public ClientBluetoothService getService(){         return  mService;     }      public boolean isBound() {         return mBound;     }      private ServiceConnection mConnection = new ServiceConnection() {          @Override         public void onServiceConnected(ComponentName className, IBinder service) {              ClientBluetoothService.LocalBinder binder = (ClientBluetoothService.LocalBinder) service;             mService = binder.getSerivce();             mBound = true;         }          @Override         public void onServiceDisconnected(ComponentName arg0) {             mBound = false;         }     }; }   And to access this class in Activity I'm using for example:  BluetoothController.getInstance().startService();   But I have an error: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.gmail.krakow.michalt.myecg.BluetoothController.startService()' on a null object reference. How can it be solved?


Example of Logical Schema vs Physical Schema?

I've read through multiple Q&As attempting to intuitively understand the difference between logical schemas and physical schemas. Unfortunately, I've only been able to take away the following vague definitions.  Logical refers to a high-level definition of data including tables, data types, etc. Physical refers to the 'implementation', i.e. how data is actually stored.  Is this correct? And if so, is there a concrete example or two that can drive home these definitions? edit: I know that this question has probably been asked many times over, but I'm specifically asking for an illuminating example.


Given $n \sim r \iff n \equiv r \pmod d$, prove $\sim$ is an equivalence relation.

It is given that n belongs to Z and d belongs to N. How do I prove that n=r mod d defines equivalence relation?  I know I have to prove it is reflexive, symmetric and transitive. But how do I do that?


Functional equation: $f: \mathbb{R} \rightarrow \mathbb{R}$, $f((x + 1) f(y)) = y (f(x) + 1)$

Determine all $f: \mathbb{R} \rightarrow \mathbb{R}$ such that, for all $x, y \in \mathbb{R}$, $$f((x + 1) f(y)) = y (f(x) + 1).$$    Source: Vuong Lam Huy, on a Facebook group.


Android 4.1.1 system is consuming 4GB of my memory?

I bought an Android 4.1.1 tablet, the ad said "comes with 8 GB". But when I go to the system configuration I get:  INTERNAL  1,18 GB total Apps 0,90 GB Available 161 MB  NAND FLASH Total 4,55 GB Free 4,17 GB  I ask the vendor where is the 8 GB, and they said: "the tablet comes with physical 8GB, but the Android System makes a partition for different purposes (Recovery, Loader, Apps, etc.) letting available for the user only 4 GB. The others partitions are not visible for the user. This is the same for all Android devices".  They are telling me the truth? or just are a bunch of liars and sold me an 4GB tablet ?  Android 4.1.1  Core 3.0.8+ Compilation P758.6.01.01.20 Brand: NOBLEX - Model: T7014AR  (official specification: RAM 1GB - Internal 8GB)   Thanks a lot.    EDIT:  u0_a78@android:/ $ df Filesystem             Size   Used   Free   Blksize /dev                  443.2M  36.0K  443.2M   4096 /mnt/asec             443.2M  0.0 K  443.2M   4096 /mnt/obb              443.2M  0.0 K  443.2M   4096 /system               607.4M  440.2M  167.2M  1024 /data                 1.2 G   1.0 G  153.8M   4096 /cache                629.9M  16.5M  613.4M   4096 /mnt/external_sd      941.7M  16.0K  941.7M   16384 /mnt/sdcard           4.5 G   382.1M  4.2 G   8192 /mnt/secure/asec: Permission denied /mnt/asec/com.robotinvader.fooding-1  36.5M  34.8M  1.7 M   4096 /mnt/asec/com.vkcode.SpaceTube-1  14.2M  12.6M  1.6 M   4096 1|u0_a78@android:/ $


Recover data in a SQL Server table without backups

We are having a database without backup to restore. (we didn’t keep backups as client not having enough space in his SQL Server 2012). Unfortunately some data has been lost and we need to recover those. Please provide a way of doing this.


Ways to input special characters (Polish alphabet)

I am thinking of writing a pretty long document in TeXmaker with underlying MiKTeX (I am not sure if I use the terms right yet, started yesterday) and I would like to use Polish letters, like ę or ł. I found a way to do that using \usepackage[polish]{babel}, but using this I always have to type the letters in with some prefix (e.g. "o turns to ó). Is there a package or use of some macros to be able to write the ó in TeX and get the same output?  , it is said that some more fancy alphabets are handled by fonts different than Computer Modern. As I am not that used to CM, I could use one of these if any of you knows them.  Solved. Here's the current format:  \documentclass{book}  \usepackage[T1]{fontenc} \usepackage[polish]{babel} \usepackage[utf8]{inputenc}   Check comments for explanation.


Can a Transformer heal naturally / repair itself?

Throughout the movies each Transformer gets banged up quite regularly, and generally a few scenes later they seem to be fine again.  Assuming  isn't around, I'm wondering does a Transformer's body repair itself subconsciously or does each Transformer sit down and manually repair itself or initiate some repair protocol?  Is this issue ever addressed in any canon? I don't think it's covered in the movies, and I can't remember the cartoons.


I know this is a very frequently asked question, but it's driving me mad.  I want to use regex to match a substring in my string.   line = '##ParameterValue[part I care about]=garbagegarbage'   And I would like to extract the part I care about. My code looks like this:  import re line = '##ParameterValue[part I care about]=garbagegarbage' m = re.match('\[(.*)\]', line) print m.group(1)   But this gives me an AttributeError: 'NoneType' object has no attribute 'group'   I tested my regex on  and it works. I don't understand why this fails for me.


Since electron clouds of different atoms repel each other, does that mean that touch is the feeling of electromagnetic repulsion?

Also when we rest our hand on an object does that mean we are effectively levitating because of the repulsion of the electron clouds?


How to add url with multiple slashes in force.com sites?

e.g I am able to add mydomain.force.com/detail but not able to add mydomain.force.com/detail/something/anything


My computer start up with "program problem detected"

When I start up the computer, enter the password, a window show up says:"system program problem detected." I can see the desktop image and the cursor and I can move it, but no respond including trying to type ctrl+alt+t to invoke the terminal.   So I need to press the power button and force the computer to shut down. Restart it again, the same message show up again but the computer is well functional. I want to figure out how to fix the problem. I don't want to start computer twice every time. Thanks a lot.  I've search the web, the "solution" is to delete the message under /var/crash/ and to turn off the report by /etc/default/apport, which doesn't fix my problem at all, still need to start twice.  Here is the message abstracted from /var/crash/, it says some kernel problem and the system is not stable. I do not fully understand it.  ProblemType: KernelOops Annotation: Your system might become unstable now and might need to be restarted. Date: Fri Oct  9 21:25:22 2015 Failure: oops OopsText:  BUG: unable to handle kernel paging request at fffffffffffffff8  IP: [<ffffffff81207176>] eventpoll_release_file+0x46/0xa0  PGD 1c11067 PUD 1c13067 PMD 0   Oops: 0000 [#1] SMP   Modules linked in: ctr ccm bnep rfcomm bluetooth binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev arc4 snd_hda_intel intel_rapl x86_pkg_temp_thermal snd_hda_codec intel_powerclamp coretemp snd_hwdep kvm snd_pcm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd snd_page_alloc thinkpad_acpi nvram snd_seq_midi snd_seq_midi_event snd_rawmidi joydev serio_raw rtl8192ce snd_seq nouveau rtl_pci rtlwifi mxm_wmi rtl8192c_common ttm snd_seq_device snd_timer i915 rtsx_pci_ms drm_kms_helper mac80211 lpc_ich snd memstick cfg80211 mei_me drm mei i2c_algo_bit wmi shpchp soundcore mac_hid video parport_pc ppdev lp parport hid_generic usbhid hid rtsx_pci_sdmmc psmouse ahci libahci r8169 mii rtsx_pci  CPU: 1 PID: 1441 Comm: pulseaudio Not tainted 3.13.0-66-generic #107-Ubuntu  Hardware name: LENOVO 20178  /20178  , BIOS H2ET68WW(1.68) 05/17/2013  task: ffff88008ed84800 ti: ffff88008ee08000 task.ti: ffff88008ee08000  RIP: 0010:[<ffffffff81207176>]  [<ffffffff81207176>] eventpoll_release_file+0x46/0xa0  RSP: 0018:ffff88008ee09e78  EFLAGS: 00010282  RAX: 0000000000000000 RBX: ffffffffffffffb7 RCX: 000000000000000f  RDX: 0000000001000000 RSI: 0000000000000000 RDI: ffffffff81c72e80  RBP: ffff88008ee09ea0 R08: 0000000000000000 R09: 0000000000040000  R10: ffff88008efceaa1 R11: 0000000000000206 R12: ffffffffffffffa8  R13: ffff88008efceaa1 R14: ffff880092393cc0 R15: ffff88008ee5a9b0  FS:  00007f5bfc697740(0000) GS:ffff88013f240000(0000) knlGS:0000000000000000  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033  CR2: fffffffffffffff8 CR3: 000000008ee04000 CR4: 00000000001407e0  Stack:   ffff88008ee5a900 0000000000000010 ffff88008efceaa1 ffff880092393cc0   ffff88008ee05300 ffff88008ee09ee8 ffffffff811c00aa 0000000000000000   ffff88008ed84800 0000000000000000 ffffffff81ebb680 ffff88008ed84e20  Call Trace:   [<ffffffff811c00aa>] __fput+0x24a/0x260   [<ffffffff811c010e>] ____fput+0xe/0x10   [<ffffffff81088557>] task_work_run+0xa7/0xe0   [<ffffffff81013ed7>] do_notify_resume+0x97/0xb0   [<ffffffff81734f5a>] int_signal+0x12/0x17  Code: 00 41 56 41 55 41 54 53 e8 68 37 52 00 49 8b 07 48 8b 08 49 39 c7 4c 8d 60 a8 48 8d 59 a8 75 0b eb 3e 0f 1f 00 49 89 dc 48 89 d3 <4d> 8b 74 24 50 4d 8d 6e 08 4c 89 ef e8 39 37 52 00 4c 89 e6 4c   RIP  [<ffffffff81207176>] eventpoll_release_file+0x46/0xa0   RSP <ffff88008ee09e78>  CR2: fffffffffffffff8  ---[ end trace 5b41d5dd63eaa023 ]--- Package: linux-image-3.13.0-66-generic 3.13.0-66.107 SourcePackage: linux Tags: kernel-oops Uname: Linux 3.13.0-66-generic x86_64   If you need more information, ask me and I'll post it.


I have data in my table as following:   Author ID  Book Name  A1    Book1  A1    Book2  A2    Book4  A2    Book5    I want to represent the data as   A1  Book1,Book2  A2  Book3,Book5    How I can do that without using a temporary table?


In logic, the law of excluded middle (or the principle of excluded middle) states that for any proposition, either that proposition is true or its negation is true.  This principle should not be confused with the semantical principle of bivalence, which states that every proposition is either true or false.   If I say that  -p is true whenever p is false  do I use the the law of excluded middle or the principle of bivalence? (It is not clear in my mind.)


Auto-Run disabled? should i be concerned with this error?

i am just getting into rigging in blender, and in the graph editor with the properties panel open i get a error message saying "ERROR: Phyton auto-execution disabled." Another thing that i noticed is a message on the top menu bar saying "Auto-run disabled."   I am in the graph editor because i want to create a driver for a simple but convent 2d ball rig, and i was wondering will be a problem for me later down the road. Also, what the heck should i do about the message. I don't like "ERROR"  sign being thrown at me.   Thank you, Chris


Why is "ipconfig" not recognized as an internal or external command?

Using Windows 7, on just one of my machines, typing in "ipconfig" no longer does anything.  Is there a reason for this?  My speculation is that it has something to do with java SDK installation / changing the system variables.  The command and response:  C:\Users\Paul>ipconfig      'ipconfig' is not recognized as an internal or external command,   operable program or batch file.   My PATH:  C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; C:\Program Files (x86)\MiKTeX 2.8\miktex\bin; C:\Program Files (x86)\Windows Live\Shared; C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files\Java\jdk1.6.0_22\bin; c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\; c:\Program Files\Microsoft SQL Server\100\Tools\Binn\; c:\Program Files\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x86)\QuickTime\QTSystem\; C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; C:\Program Files (x86)\MATLAB\R2007b\bin; C:\Program Files (x86)\MATLAB\R2007b\bin\win32; C:\Program Files (x86)\Common Files\Autodesk Shared\; C:\Program Files (x86)\Autodesk\Backburner\; C:\Program Files\Common Files\Autodesk Shared\


How do I install themes in Lubuntu distro??   Please guide me on how to install   Any help would be appreciated.


Reading package lists... Done Building dependency tree        Reading state information... Done The following package was automatically installed and is no longer required:   libsdl-ttf2.0-0 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 271 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up youtube-dl (2018.03.14-1) ... /var/lib/dpkg/info/youtube-dl.postinst: 6: /var/lib/dpkg/info/youtube-dl.postinst: py3compile: not found dpkg: error processing package youtube-dl (--configure):  installed youtube-dl package post-installation script subprocess returned error exit status 127 Setting up virtualbox (5.2.18-dfsg-2~ubuntu18.04.5) ... /var/lib/dpkg/info/virtualbox.postinst: 25: /var/lib/dpkg/info/virtualbox.postinst: py3compile: not found dpkg: error processing package virtualbox (--configure):  installed virtualbox package post-installation script subprocess returned error exit status 127 dpkg: dependency problems prevent configuration of virtualbox-qt:  virtualbox-qt depends on virtualbox (= 5.2.18-dfsg-2~ubuntu18.04.5); however:   Package virtualbox is not configured yet.   Package virtualbox-6.0 which provides virtualbox is not installed.  dpkg: error processing package virtualbox-qt (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  youtube-dl  virtualbox  virtualbox-qt E: Sub-process /usr/bin/dpkg returned an error code (1)


LISP: Omit first value in list by reference

I just want to omit first value of list using a function but below code is returning same list I dont want to return from a fucntion Code:     #! /usr/bin/clisp      (defun omit(lstold)     (setf lstold (cdr lstold)) ) (setq x (list 3 1 2)) (omit x) (write x)  --> gives output 3 1 2 ... why?


What's wrong with my code for the toString() method?

please note that I'm a complete beginner to programming and have found learning Java quite hard. I have a school task that requires me to write a code for a toString() method and I've blindly followed what my teacher has been writing/teaching in class but for some reason my code doesn't seem to work when I run the test file? I've included my code below. I do get an error that says the following- "Null pointer access: The variable coef can only be null at this location" but when I change all my coef[] variables, then my code becomes moot because it just equates to null. Any pointers greatly appreciated! EDIT 1: Thank you for your responses - I thought I needed to intialise coef[] as a variable inside my toString() method (big oops!!). Also thank you for providing the link to the NullPointer question - it had some really thorough explanations and now I understand that I dereferenced the coeff[] variable. QUERY a: I've removed my first line but now it seems that my code fails on this line return coef[1]+ "x + " + coef[0]; QUERY b: curious to know why it's a bad sign if the class is plural?     public class Polynomials {  public Double coefficient; public Integer exponent; private int[] coef;  public String toString() { String[] coef = null; if (exponent <= -1) return "0"; else if (exponent == 0) return "" + coef[0]; else if (exponent == 1) return coef[1]+ "x + " + coef[0]; String s = coef[exponent] + "x^" + exponent; return s; }


$X,Y$ are locally path connected and path connected, with universal covers $\tilde{X}, \tilde{Y}$. If $X \simeq Y$ then $\tilde{X} \simeq \tilde{Y}$

Suppose $X,Y$ are locally path connected and path connected, with universal covers $\tilde{X}, \tilde{Y}$. I'd like to prove that if $X \simeq Y$ then $\tilde{X} \simeq \tilde{Y}$.    I've had the following thoughts:  Let $f : X \to Y$ and $g: Y \to X$ be such that $gf \simeq \mathrm{id}_X$ and $fg \simeq \mathrm{id}_Y$, and let $p : \tilde{X} \to X$, $q : \tilde{Y} \to Y$ be the covering projections. Since $Y$  is locally path connected, so is $\tilde{Y}$. There is a Lemma that says:     Suppose $\pi : B \to A$ is a covering projection, and $F: C \to A$ is a continuous map where $C$ is simply connected and locally path connected. Suppose given base points $a_0, b_0, c_0$ of $A,B,C$ with $\pi(b_0) = a_0 = F(c_0)$. Then there is a unique continuous $\tilde{F} : C \to B$ with $\pi \tilde{F} = F$ and $\tilde{F}(c_0) = b_0$.   I'm going to use this Lemma with $C = \tilde{Y}$ and $F = fq$. So pick points $x_0 \in X$, $\tilde{x_0} \in \tilde{X}$, $\tilde{y_0} \in Y$ such that $p(\tilde{x_0}) = x_0 = fq(\tilde{y_0})$. Then $fq$ has a unique lifting to a map $\tilde{f}: \tilde{Y} \to \tilde{X}$ such that $p \tilde{f} = fq$ and $\tilde{f}(\tilde{y_0}) = \tilde{x_0}$. Similarly, $gp$ has a unique lifting to a map $\tilde{g} : \tilde{X} \to \tilde{Y}$ such that $\tilde{g} = gp$ and $\tilde{g}(\tilde{x_0}) = \tilde{y_0}$.   I'd like it to be the case that $\tilde{f}$ and $\tilde{g}$ are homotopy equivalences. I don't know if this is true and, if it is, I don't know how to show it.   I can see that $p \tilde{f} \tilde{g} \simeq p$ and $q \tilde{g} \tilde{f} \simeq q$ which is quite close to what I want, but I don't know how to proceed.  I'm also concerned that I haven't use the "path connected" criterion anywhere. Hints would be great!   Thanks


Is there a program to record CPU load and later converting it into an image?

I want to add a system usage diagram to our CI build server for our management so they can see that we need to buy a larger build server when the time has come 😆 Should just save a png or svg image that occurred during last build. Is there any simple program to do this? I don't want to add a whole prometheus/grafana pipeline setup to the build process.


Performing atomic write operations in a file in bash

After going through the bash ,  question and  one it's still not clear to me how can I perform atomic write (append) operations to a file in bash. I have a script that is run in multiple instances and at some point must write data to a file:  echo "$RESULT" >> `pwd`/$TEMP_DIR/$OUT_FILE   How is it possible to make all write operations from all concurrently running scripts to that file atomic (so that data from one instance doesn't overlap data from another)?


I need to select from a table that has two fields , a start date and an end date , selecting the row that the current date is. Look at the image ...how do i select the row that encompasses the date range 91/201 - 9/15/2018 ? Somehow this was flagged as a duplicate. I am NOT attempting to find overlap. I am attempting to find the row that represents a given date. Say , one table has a field that has the value 9/5/2018 ....how do I select the row that has a start date of 9/1/2018 and end date of 9/15/2018


Does trample damage hurt players even if the creature dies?

I'm playing myself with two Avacyn Restored decks from a 6-booster sealed prerelease tournament, and wonder whether a 6/4 creature with trample blocked by a 4/1 creature would still allow damage through.


Number of vertices is one more than the number of edges

Let $T$ be a finite tree with $V(T)$ vertices and $E(T)$ edges. Then $V(T)-E(T)=1$.  I am really confused with this. I am not sure how to go about proving it. I can (and should?) use Euler's theorem that states that $V(T)-E(T)+F(T)=2$. Would appreciate some help on this one.


Is there a super close substitute for graham crackers?

I'm from Canada (where there are multitudes of graham crackers!), but I'm currently living in Australia. They do not have anything like graham crackers here, and I could really use them for a couple recipes I'm developing.   Does anyone have a close substitute for graham crackers? I'm looking at making my own, but that seems like a tedious task just to crumble them up again.


War caster feat and green flame blade, is it legit?

The War Caster feat allows a single-target spell ("must target only that creature") to be cast instead of a melee strike for an opportunity attack.  Green-Flame Blade appears to have a single target, and then some damage "leaps" onto a creature 5 feet away. The other creature is never referred to as the target, or even "a target".  I'm pretty sure this is solid from the RAW perspective. Is this legit from a RAI perspective?


how linked files in vss repository can be migrated to svn repository


I'm designing this web app., but I can't reveal its name or main function, so let's see how this can be explained...  In this app., there's a level of user that has the ability to add or remove team members (employees). For this user to do that, I thought I'd make it easy and have the user just press the "+" button and fill in a little form, but to make it even more seamless, let's make that a dialog box.  Question: Is it normal for a user to write stuff in a dialog box, or are those typically only for information displays such as alerts, etc.?  Below, you can enter the link to the dialog section on material design and a screenshot of how this dialog/form is going to look (I need to add the lines below every line like any other form, but I just stopped after this question pop right into my mind).


Let $a,b,n \in Z$ with $n > 0$ and $a \equiv b \mod n$. Also, let $c_0,c_1,\ldots,c_k \in Z$. Show that :  $c_0 + c_1a + \ldots + c_ka^k \equiv c_0 + c_1b + \ldots + c_kb^k \pmod n$.  For the proof I tried :  $a = b + ny$ for some $y \in Z$.  If I multiply from both side $c_1 + \ldots + c_k$ I obtain :  $c_1a + c_2a + \ldots + c_ka = (c_1b + c_2b + \ldots + c_k) (b + ny)$.  However I can't prove that is true when I multiply by both side $a^1 + a^2 + \ldots + a^k$.


Is it true that: $$T\text{ isometric}\iff T^*\text{ left inverse}$$ Obviously: $$\text{"}\Rightarrow\text{": }\langle x,\tilde{x}\rangle=\langle Tx,T\tilde{x}\rangle=\langle x,T^*T\tilde{x}\rangle$$ $$\text{"}\Leftarrow\text{": }\langle Tx,T\tilde{x}\rangle=\langle x,T^*T\tilde{x}\rangle=\langle x,\tilde{x}\rangle$$ My problem is that I'm not sure about if the adjoint is left inverse then the operator necessarily is bounded so that domain issues might come into play...


Why was Doc Brown surprised at how Marty was dressed upon arriving in 1885?

I mean, he chose the clothes, albeit 30 years prior from his perspective, it doesn't seem that forgettable.


is equal on object property inside array

I have object  var emailData = new {}; emailData.Id; emailData.EmailAddress;   later in code I'm populating array with emailData objects   var emailDataArr = new Array();  emailDataArr.push(..someobject...);   how can I check does any object on property EmailAddress inside emailDataArr array is equal to some string?


I had a job interview for a data science position. During the interview, I was asked what do I do to make sure the model is not overfitting. My first answer was to use cross-validation to assess the performance of the model. However, the interviewer said that even cross-validation cannot identify completely overfitting. Then I mentioned regularization, but the interviewer said that this could help to reduce overfitting (which I agree), but not to detect it. Are there other techniques that can be used to make sure a model is not overfitting?


I have a Xerox Versalinkc600 network printer and Xerox Debian package printer driver installer, which I have downloaded. How do I (step by step) install the printer driver?


Is it ok to use Er. if a person is engineering degree holder

Its usual that we see doctors use Dr. Title, but I have also seen engineers use title - Er. Is this practise allowed, approved?  I have seen few name boards like that in India.


Should we categorize / group site tags with similar intent, and how?

I desperately want to avoid asking "do we need tag tags".  Many of the SE sites have tag pages inundated with titles; most notably  and to a lesser extent ,  and .  I am of the opinion that having titles for tags on these sites is 100% necessary and relevant and allows proper categorization of related questions.  Unfortunately, as evidenced by the tag pages of these sites, having titles obfuscates more general tags of other relevance, such as utility tags (using Movies & TV as an example: , , , , etc.), title tags (again, M&TV: , , etc.), and possibly site-specific categorized tags (M&TV; category would be "genre": , , etc.).  Even tag aliases could be categorized as such, if they aren't already.  Every SE Meta already does this to some extent with the "required" tags.    While the expected practice is for the tag pages of these sites to sort themselves based on usage (in Movies & TV, a lot of the common utilities have bubbled to the top as expected over the lesser titles, but then-again, it's still in Beta), there are other sites (notably, Arqade) where applicable tags are drowned in titles and therefore will never be found in order to be used enough to sort in the expected fashion.  Yes, I do understand it is up to each community's participants to manage their tags, but even general clean-up is somewhat daunting and might not prove to be effective.  Why do I think we need this?  Without foreknowledge or expertise, or knowing what to type out during a question, it is very tough to locate a tag you might want to use in these sites.  Tag categorization could help a user properly tag a question by suggesting categories of tags to choose from, then relevant tags.  Is tag categorization needed, and if so, how should categorization be applied; via a new built-in SE utility, an adopted practice, or other enhancement?


why database.emptyRecycleBin() not removing the actual record from bin?

database.emptyRecycleBin([select id from test__c where IsDeleted = true ALL ROWS]);   when i run the above and try to query the bin record, still record exist. What is wrong ? Please guide me !


Proof involving Cyclic group, generator and GCD

Theorem: $$\left\langle a^k \right\rangle = \left\langle a^{\gcd(n,k)}\right\rangle$$ Let G be a group and $$ a \in G$$ such that $$|a|=n$$ Then:  $$\left\langle a^k \right\rangle = \left\langle a^{\gcd(n,k)}\right\rangle$$  The proof begins by letting d = gcd(n,k) such that d is a divisor of k so there exists an integer r such that k = dr.  So, $$a^k=(a^d)^r$$.  $$\left\langle a^k \right\rangle \subseteq \left\langle a^{\gcd(n,k)}\right\rangle$$  I've spent a very long time on understanding this proof but found it to be obscure. I suspect there are some gaps in my understanding. If someone could show me the light I'll be really glad. I do not understand why the exponent r on a 'vanishes'.  Secondly, how does $$a^k\in \left\langle a^d\right\rangle$$ follows?  Thirdly, where does closure plays a role?


Python Sort dictionary according to both keys and values

I have a dictionary in Python (string, integer) I want to print this dict. sorted  according to increasing "value" (not key) But if two keys have same value, then I want to print those particular keys in alphabetical way.


Current capacity of laser drilled micro vias

Does anyone have a source, formula, or calculator for the current carrying capacity of laser drilled micro vias?  I haven't found anything great yet.  I'm sure it depends on plating too.  Is there a difference between copper filled, conductive filled and open or non-conductive filled?  For example I'll probably use a 5mil laser with a 2-3mil dielectric and conductive fill them and plate flat.  Oh and I did ask my vendor but haven't heard back...  edit: I don't think this is a duplicate of how much current a via can carry because a laser drilled via structure is different than a drilled via.  In fact I've read in multiple places that they carry more current than a traditional via so I was looking to see if anyone had an answer.


BibTeX doesn't produce any .bbl files on Mac OS

I am trying to use BibTeX on my Mac to produce some simple citation references.   I copied some example code from online tutorials into a .tex file and a .bib file. The first LaTeX run on TeXShop gives me a PDF without any references. An .aux file is generated and valid. But I am failing at the next step. Normally BibTeX should run on the recently produced .aux file and generate an .bbl file which LaTeX uses in his second compile run, right? It doesn't. There is no .bbl file produced and I am getting no messages about it. It appears that the step "BibTeX runs on the .aux file to generate an .bbl file" never starts.  I am using TeXShop on Mac OS. Any ideas? How do I even start the BibTeX thing on Mac OS? When I'm working on Windows in TeXnicCenter it does this step by itself.


How to show the one point compactification of a space is unique up to homeomorphism?

Suppose $X$ is a space with a one point compactification $f: X\to Y$, where $x_0$ is the point that gets added to $X$, and suppose we have another one point compactification $f': X\to Y'$ where $x_1$ is the point that gets added to $X$.  I think we can define a homeomorphism $g: Y\to Y'$ in the following way: $g(x_0)=x_1, g(x)=f'f^{-1}(x)$ for all other $x$.  Intuitively I'm thinking this should be a homeomorphism (if it's not correct me), but I'm not seeing how to prove it.  I think it's fairly clear that it should be bijective, but how to show continuity (of both it and its inverse) isn't coming to me.  If anyone could give a hint that would be swell.


Sign of Work and potential energy in electrostatics

Conceptual question:  Suppose we have a configuration of point charges. If the potential of the energy of the system is negative, this means work is positive.   I'm kind of rusty with my mechanics, does the fact that the work is positive mean that to arrange the configuration you have to do work against the electric field? I.e. supply energy via some external force?  In terms of electrostatics, is there a general way of interpreting the sign of potential energy and work?


You are already a developer/but no developer options

I have a Huawei nova 3i and I remember unlocking developer options when I first got the phone a few months back. Problem is now I have noticed that the developer options are gone so I went to build number and went to press it 7 times but after the first press it says (you are already a developer) but the option is still not there. I have looked online for at least an hour but can find nothing. Any help would be appreciated thanks


If he had known I was single, he would have asked me out.    Is this correct? In this case he had no idea I was single but he would have asked me out if he knew that. If not, how should I say that?


Find $ \lim _{n\to \infty} \frac{n^1+\dots+n^n}{1^n+\dots+n^n}$

What is the limit of:  $$\lim_{n\to \infty} \frac{n^1+\dots+n^n}{1^n+\dots+n^n} = ?$$  I did some computation with big numbers, I guess it is in the interval $\left(\frac{1}{2},1\right)$.


Is it correct  that $$\lim_{n->\infty}n!^{1/n}=\infty?$$ how to prove it using basic properties of sequence?


Is there an analogue of a geodesic for the evolution of the electromagnetic field?

For a charged particle moving in free space, we can say from the homogeneity of space-time, that it moves along a geodesic.  Is there an analogous principle for the evolution of the electromagnetic field in space-time?


how to use my wired connection internet for accessing internet on mobile phones.i am unable to create hotspot. command "sudo-ap hotspot" start says not found


Why is Schema.describeSObjects(types) Slower Than Schema.getGlobalDescribe()?

I was about to reconfigure some of my code to use the newer Schema.describeSObjects(types) method that I had heard was faster than using a globalDescribe.   I made some code to quickly check this and I was dismayed to find that the newer technique is not only not faster, it's about twice as slow as using a global describe. Here's the code I used :  New DescribeSObjects() method  //each block was run separately for timing purposes String obj = 'Account'; String[] types = new String[]{obj}; System.debug('START DESCRIBE SOBJECTS');  for (Integer i = 0; i < 50; i++) {   List<Schema.DescribeSobjectResult> results = Schema.describeSObjects(types);  } System.debug('FINISH DESCRIBE SOBJECTS');   Old getGlobalDescribe() method  String obj1 = 'Account'; System.debug('START DESCRIBE GLOBAL');  for (Integer i = 0; i < 50; i++) {    Map<String,Schema.SObjectType> gd = Schema.getGlobalDescribe();    Schema.SObjectType sobjType = gd.get(obj1);    Schema.DescribeSObjectResult describeResult = sobjType.getDescribe();  } System.debug('FINISH DESCRIBE GLOBAL');   Over 5 runs of each, the getGlobalDescribe() method took an average of 337ms for 50 describes and the describeSObjects() method took and average of 658ms. This is basically twice as long.  Does anyone have any insight as to why this would be? Any improvements that will significantly improve the accuracy of the resulting data?  As this data stands, I'm sticking with the old method.  One final note: the old technique uses 3 times a much heap (67kb vs 27kb)


Alien abductee joins a galactic patrol where he is instructed by a bird-like alien

I remember a book in which the main protagonist is a human male and after witnessing alien activities he was forcibly whisked away. After being taken away he joins a type of galactic patrol type organization where one of his instructors/head instructor is described like an alien Big Bird.   Of the various scenes in the book, I remember the scene where the human man discovered the bird instructor literally "feeding the toilet". I also remember scenes with heavy drug use and scenes to make a sailor blush at least heavily implied if not described to some extent.  I read this book in middle school, so these scenes stick out the most in my memories. I have already checked and it is not a Steve Perry book. If I remember correctly, the one I read was paperback with a human male on the cover with a spaceship or space station behind him over a planet.  Could someone identify this book?


"Have you seen her?" or "Did you see her?"

I already knew that we use the present perfect for an action in the past with a result now. Consider the following questions:   "I'm looking for Paula. Have you seen her?" "I'm looking for Paula. Did you see her?"   Is there any difference between these two questions for this specific action (verb)? What is the result of "seeing" action which can't be represented by simple past?


Growing up there was a friend of my family who would often use son of a gun as a slang term. For example,     And that son of a gun has a 300hp motor in it.   Like any father, my Dad wanted to raise me right, so he banned me from using the phrase. He implied that the phrase was synonymous with son of a bitch. However in more recent years I've often wondered: What is the origin of son of a gun, and does it really have anything to do with illicit relationships?


Prove that every non-zero element of a finite commutative ring with unity is either a zero-divisor or a unit.

Let R be a finite commutative ring with unity. Prove that every non-zero element of R is either a zero-divisor or a unit. What happens if we drop the "finite" condition on R ?


Do you need a license for weapon models?

When creating your own model for a weapon, say the M4 carbine, and using the model in your game. Do you need a license to use it commercially? I know that racing games like GT5 has a license for each and every car, but the same apply for weapons?


I'm having a look at analysis right now, and I just thought up this question after reading about the comparison test.  Does there exist a "critical" infinite sum of real numbers (which is divergent) such that if $S_n$ is any infinite sum for which the terms in $S_n$ are all less than the terms in this critical sum for $n > N_0$ for some finite $N_0$, then $S_n$ converges?   I know my terminology is somewhat incorrect.


Is there a way to use the Apple iPad as an external monitor for Ubuntu? I see that there are applications for that purpose for Macintosh computers.


Easiest way to upgrade php to latest version?

I'm seeing info on how to upgrade from a specific version to another, and that is what I want to do (currently 3.3.6), but is there a simple command to do this?  I'm a complete ubuntu/linux noob so I have no idea what I'm talking about, I just want to upgrade php because my current version maybe limiting the amount of input elements that I can post to the following page.


Why does this \ifincomplete latex code not work

I have an exam class document, and I want it to output three fields on a page with an incomplete question as follows:  page 1 of 2    question 4 continues    please go to next page ...   and on the last page I want:  page 2 of 2   End of Exam   with the code below, I get:  page 1 of 2   please go to next page ...   and  page 2 of 2   End of Exam   How do I chage it to print the middle field? I have browsed for help without success, Help will be appreciated. The code is below  \footrule \lfoot{\footnotesize Page \thepage\ of \numpages} \cfoot{\newcommand{\continues}{\ifincomplete {\footnotesize Question \IncompleteQuestion\ continues \hfill Please go to next page\ldots} {}}} \rfoot{\iflastpage{End of Exam.}{\footnotesize Please go to next page\ldots}}


What reinterpret_cast convention is this? is it better than static_cast?

I'm looking through some c++ wrapper code that provides a c api, and I'm finding lots of reinterpret_cast where a static_cast would suffice, e.g.:  struct cpp_object{ void foo(){ /* do something */ } };  /* begin: c api */ typedef void c_object;  void foo(c_object *o) {     // why this:     reinterpret_cast<cpp_object *>(o)->foo();     // instead of just:     static_cast<cpp_object *>(o)->foo(); } /* end: c api */   Generally I use reinterpret_cast in rare situations, mostly related to forced bit coersion of buffer contents to a type of know layout and size, known to lie inside buffer contents.  So I ask whether that practice makes sense or sticking to static_cast would be a better one.


How can i install .deb files from terminal , i tried different ways in askubuntu

i am trying to install teamviewer and i am getting the following error and the entire process is as follows   kittu@kittu-355V4C-356V4C-3445VC-3545VC:~$ sudo dpkg -i teamviewer_linux_x64.debdpkg: error processing archive teamviewer_linux_x64.deb (--install):  cannot access archive: No such file or directory Errors were encountered while processing:  teamviewer_linux_x64.deb   the file is in home/downloads/teamviewer_linux_x64.deb


I'm using Ubuntu 18.04.3 and I'm not very educated about it. Can you describe to me what is the easiest way to hide or change my IP adress while I'm using my browser ( Chromium ).


How to find free disk space and analyze disk usage?

In CentOS and Ubuntu, how do I find out how much free disk space I have left and other disk stats like disk usage?


Bash script to add or subtract two numbers from user input

I am very new to Linux and am taking a course in it. Very excited to learn more. I am working on a script that asks user for two numbers, then asks whether user wants to add or subtract. I failed the assignment, but am still trying to figure out where I went wrong. I'm sure it's something obvious and stupid, but I can't see it.  This is one place I am sure I am messing up. I declared two variables at top, but I suspect that's not where they should be.  Here is the rest of it. When I debug, I can tell it does the math, but I cannot get it to print the answer to the console.  sum=$(expr "$number1" + "$number2") difference=$(expr "$number1" - "$number2") echo "Please enter your first number     read number1 echo "Please enter your second number."   read number2 echo "Enter S if you want to Subtract, A if you want to Add."   read request case " $request" in "A") echo "$sum";; "S") echo "$difference";; *) "Sorry, that is an invalid request.";; esac


Meaning of a hyphen as a special parameter?

From ,     - (A hyphen.) Expands to the current option flags as specified upon invocation, by the set builtin command, or those set by the shell   itself (such as the -i option).   I am not sure what it says. Can you give some examples for the meaning of a hyphen parameter?


if 2 commands with same filename exists in PATH variable, which will get executed?

I have read that the shell searches the command in all the directories available in the PATH variable. My first question is what if 2 directories have the files for a command, which one will be executed ?   Second question is, does the shell searches in the directories shown in PATH variable recursively or not ? Thanks.


Trigonometry pre calculus level question

Here is a trigonometry problem.     Given   $$\frac{\cos(\alpha-3\theta)}{\cos^3(\theta)}=\frac{\sin(\alpha-3\theta)}{\sin^3(\theta)} = m$$   Show that    $$m^2+m\cos(\theta) = 2.$$   I tried to convert $\sin^3(x)$ into $\sin(3x)$ and similarly to cosine term, but couldn't get the answer. Please tell how to proceed further and any other way to solve it.


What's the best way to add geotags to photos if I have a GPX file with my location track?  I don't have lightroom and I'm on a Mac.


I understand that first person is written from my perspective, so I would be using the words "I, me, my, mine" a lot.  I also understand that third person is written from no particular perspective, but is instead an overview. I would be using words similar to "he did this, she did that, he said to her", etc.  What is second person? I seem to have never heard of it despite taking English at school.


Does Hogwarts teach non magical classes?

I always wondered if children who graduate from Hogwarts have an education that is actually worth while in the real world.  Do the children learn math and English?  I can see History of Magic as practical. I know of Arithmancy, but that's the study of the magical properties of numbers, not math.   Since Hogsmead is one of the very last all-magical towns, it's a fair assumption that a majority of the students at Hogwarts will be living in non-magical towns or cities. If practical classes (like math or English) aren't taught, then how do these students function in the non-magical cities?


For some collection of sets $A$, let $\sigma(A)$ denote the $\sigma$-algebra generated by $A$.  Let $C$ be some collection of subsets of a set $Y$, and let $f$ be a function from some set $X$ to $Y$. I want to prove:  $$f^{-1}(\sigma(C))=\sigma(f^{-1}(C))$$  I could prove that  $$\sigma(f^{-1}(C)) \subset f^{-1}(\sigma(C))$$  since complements and unions are 'preserved' by function inverse. But how do I go the other way?   EDIT: One way to go the other way would be to argue that any set in $\sigma(C)$ must be built by repeatedly applying the complement, union and intersection operations to elements of $C$ and all these operations are preserved when taking the inverse. The problem I am facing with the approach is formalizing the word "repeatedly".  [not-homework]


Why did the movie depart from the book when Harry broke the Elder Wand?

Looking for an out-of-universe answer. The Elder Wand is such a significant artifact, in that it is an extremely powerful object as well as being one of the Deathly Hallows, and so central to the story line. So, why was its destruction written in to the movie when it didn't happen in the book? Was it Rowling's idea to alter its fate for the movie or did the idea come from someone else, and why?


I just got approved for a MasterCard. It was only for 300. Can I increase that amount by adding my own extra money to it


When I am extracting the subtitles from video files within a folder with ffmpeg, sometimes the path is cut and sometimes not and I don't know why. I'll be grateful if I can get some answers. Here is an example :  Here is my code : #!/bin/bash   DIR="/volume1/homes/Bruno/test"  # Get all the MKV files in this dir and its subdirs  find "$DIR" -type f -name '*.mkv' | while read filename ; do  # Delete the ".mkv" newfile="$(echo ${filename} |sed -e 's/.mkv//')" ;  ffmpeg -i "$newfile.mkv" "$newfile.ass"   done


Recover the two-sided properties from a right-sided identity axiom and a left-sided inverse axiom

At the end of this page:   It proves the left sided axioms using the right sided axioms. It then asks you at then end to prove the two-sided axioms using a right-sided identity axiom and a left-sided inverse axiom.  If we know only:  $e • a = a$  And  $a • a^{-1} = e$  How do we prove:  $a • e = a$  And  $a^{-1} • a = e$


I've been asking question about this, but it seems that my Minecraft on Mac can't accept to copy/paste/select from Minecraft to Minecraft itself or from Minecraft to my Mac; however, I can copy from my Mac to Minecraft using Cmd + v.   For more precision, I am using the latest version of Minecraft, the 1.9.2, my Mac computer version is theMacBook Air (13-inch, Early 2015), and my Mac system version is the OS X El Capitan.


i want to know what is the use of "using" keyword in c#, i am new to it.. when we need to use "using" keyword.. i googled it, could not be satisfied with answers. still i want to know some more from you Geeks..  Thanks


How to prevent screen from waking up on activity in VNC session from remote Android device

I am connecting to my iMacs running OS X Mavericks remotely. For security purposes I have fast user switched to a dummy account before leaving work, so that my remote connection doesn't allow anyone near my machine when I connect to get unauthorized access.  This works fine, but when I test the process from another machne in my office, I notice that when I first connect, the screen comes on (powers up) and it prompts for the dummy user's password. After a few seconds it times out and goes back to sleep, and if that were it I could deal with it, but this is not the end of it. Whenever there is activity in the VNC session, the screen comes back on again! I am not constantly typing, so the reult is that the screen keeps going on and off over and over and over.  Aside from the concern of wear and tear (the whole display essentially being turned on and off over and over) there is also somewhat of a security concern as well. This constant cycling can attract unwanted attention. For instance, at night when the office is dark, one office suddenly becoming light and then going dark over and over can attract the attention of security.  During the day, if the display is in a common area, the screen going on and off can interrupt meetings as people try to figure out why the machine is behaving strangely or are just distracted by it.  It may be undesirable to have an indication that the machine is in use, and this continual waking is very indiscreet.  Is there some way to disable this? I have tried several VNC clients to no avail. I don't recall for sure, but I don't think OS X Mountain Lion had this problem.  This  is similar, but the asker is apparently okay with solutions that involve dimming the screen.  This is not acceptable in this situation, because while the computer in question usually is idle, it is conceivable that another user on a different account might be trying to use the machine when I VNC in.  Therefore, any attempts to dim the screen would potentially be fighting against a different user on the machine.  Additionally, in my situation I need to VNC into my Mac from an Android device, so solutions specific to Mac OS X clients (which seem to cover most of the remaining answers) are not applicable here.  I have tried both clients which require the generic VNC password, and those that automatically log me in separately from the logged in user, but the screen wakes up in all situations I have tried.  Having to install a special VNC server on my Mac when there is already one that comes with OS X is also undesirable, as it is really more trouble than is saved by eliminating the problem.  Edit: ok, edited to explain how my question is different from and not answered by the question it is marked as a "duplicate" of. Now what?


List of generally believed conjectures which cannot all be true

There are some conjectures which most leading experts believe in albeit no one can prove it yet. For example: $\mathcal{P} \neq \mathcal{NP}$, the Riemann hypothesis or the Collatz conjecture.  My question is whether there is a set of such conjectures which cannot all be true, eg. is a statement such as "Either $\mathcal{P} = \mathcal{NP}$ or the Riemann hypothesis is wrong" true?


Why does the word 'much' seem awkward in this sentence?

*I need to practice the piano 'a lot' before the concert.*   Using 'a lot' vs 'much' sounds better, but how do I explain this since 'a lot' and 'much' can be used for uncountable items. Is it incorrect to use 'much' or is it just more common to use 'a lot'?


Sum of an infinite series of fractions involving multiple terms in the denominator

This is the series in question:  $$S = \frac{1}{1+1^2+1^4}+\frac{2}{1+2^2+2^4}+\frac{3}{1+3^2+3^4} \ldots$$  The general term seems to be:  $$T_n=\frac{n}{1+n^2+n^4}$$  In the original question, which is from Resonance DLPD Algebra, the value of $14S$ is asked.  I haven't been able to make any progress on this question even after trying for a long time. I don't know how to handle series where the denominator contains sum of numbers in general. Can you please provide a hint?


Leader of the Jedi Council, Yoda was. For centuries, a Jedi.   To Dagobah he went. For twenty years, lived there did he. Bored, he might be.   Do what, did he?


I am little confused with the applicability of reinterpret_cast vs static_cast. From what I have read the general rules are to use static cast when the types can be interpreted at compile time hence the word static. This is the cast the C++ compiler uses internally for implicit casts also.  reinterpret_casts are applicable in two scenarios:   convert integer types to pointer types and vice versa  convert one pointer type to another. The general idea I get is this is unportable and should be avoided.     Where I am a little confused is one usage which I need, I am calling C++ from C and the C code needs to hold on to the C++ object so basically it holds a void*. What cast should be used to convert between the void * and the Class type?  I have seen usage of both static_cast and reinterpret_cast? Though from what I have been reading it appears static is better as the cast can happen at compile time? Though it says to use reinterpret_cast to convert from one pointer type to another?


Ubuntu server 16.04 - standard system utilities

During the installation of Ubuntu server 16.04 I opted out from installing "standard system utilities" by mistake. Is there any way to install them with apt-get install command easily ?


How can you compare the number of real numbers in the interval [0,1] and [0,10]?

There are infinite number of real numbers between 0 and 1,i.e in the interval [0,1]. So definitely there should be more numbers in the interval [0,10] because it includes the numbers in the first case and also the numbers in the interval (1,10]. But we can map(one to one) every number in [0,1] to every number in [0,10]. This means that there are equal numbers in [0,1] and [0,10]. What does this really mean though??


Can the likelihood ratio test be used to test mediation?

Say I have the classic mediation scenario, with predictor X, potential mediator M, and outcome Y. My thought to test whether mediation is present would be to do the following:  Set up one structural equation model with only the direct effect of X on M (i.e., setting the mediating coefficients from X to M and M to Y equal to 0). Then set up another model freeing those coefficients (i.e., a standard mediation structural equation model). Then perform a likelihood ratio test between the two models (which are clearly nested) to arrive at a p-value for the presence of mediation.  Does this method make sense? If so, is it mathematically equivalent to any of the other commonly used methods to test for mediation? What would be the advantages or disadvantages of using this method if it is valid?