My client has dual monitors which they use to display two different websites in a public space. They want to be able to hard reboot the system and have it automatically start two browser windows, one on each monitor, and go to the appropriate websites.  We can get the browsers to start easily enough using the startup folder, but have not been able to figure out how to get one browser window to go to one screen, and the other window to the other screen automatically. Is there a way of doing this in powershell, or some other scripting language?  We are running Windows with IE, but also have Firefox installed.

A customer has a 6-screen setup for each workstation and would like various pages of a web app to be opened automatically in each of the screens on startup or invoking a shortcut. (The target web browser is likely to be Chrome).  I wondered whether it would be possible to use Javascript window.open to do this but one possible snag is the customer may wish to have tabbed browsing with popup blocker turned on. (OK, these could be overridden but such config is currently out of our control...)  So the question is: Could a script (e.g. batch file) be written to open multiple instances of the browser at specified coordinates within the 6 screens (each pointing to different URLs)?  [This is basically the same question as  but for Windows instead of Ubuntu.]


I specifically want braces on right side of the set of equations in given format.

How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They are a set of steps in an algorithm which I want to consider as an item.)  The following puts the brace on the left. All I need to do is to flip it to the right.  \begin{align} \begin{cases} a&=bbb\\ c&=ddddddd\\ e&=ffffffffff \end{cases} \end{align}   Thanks for any help with this!


I would like to install the libdevicemapper and brtfs header files on my 16.04:  $ apt-cache search libdevmapper-dev libdevmapper-dev - Linux Kernel Device Mapper header files $ sudo apt-get install libdevmapper-dev Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libdevmapper-dev : Depends: libudev-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.   So I tried:  $ sudo apt-get install libudev-dev Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libudev-dev : Depends: libudev1 (= 229-4ubuntu4) but 229-4ubuntu13 is to be installed E: Unable to correct problems, you have held broken packages.   And then:  $ sudo apt-get install -f libudev1  Reading package lists... Done Building dependency tree        Reading state information... Done libudev1 is already the newest version (229-4ubuntu13). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   I can't find brtfs at all.

After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I'm writing a document (article class). I'm using the clever reference package to crossreference sections, and I have modified the references so the \cref{label} produces, for example if it's section 2, the symbol §2. I have also modified the (sub)section and part title formats via titlesec, all with the following code:  \crefname{section}{§}{§§} \Crefname{section}{§}{§§} \crefname{part}{§}{§§} \titleformat*{\section}{\Large §\scshape\centering} \titleformat*{\subsection}{\large §\scshape} \titleformat{\part}[display]    {\LARGE §\scshape\centering}    {\thepart}    {0em}    {}   The last thing I would like to do is to make it print the symbol § before the number of the section in each section. I have tried doing like above, just putting it in the second {} of the titleformat command for each of them, but that obviously writes it before the title of the section, leaving something like this:  3.1 §This is a section.   Plus Auctex returns an error when compiling with Latex (Error ocurred after las TeX file closed) although it produces the correct dvi file.  How could I correctly achieve that?  Thanks in advance.

I would like to ask how can I add the paragraph symbol § so that it will be displayed as below:          §4 First section          §5 Second section      By default it is generated as below when a \section command is used :          4 First section          5 Second section      Edit: Code below  \renewcommand{\thesection}{\S\arabic{section}}   is one solution but adds § also with \subsection command. Is there another solution?


A friend of mine recently posted a comment on Facebook saying that the phrase "on a train" is a pet peeve of his since it very rarely refers to somebody literally riding on top of a train.  This got me thinking about the prepositions used for other forms of transport and I noticed a pattern where "on" seems to be used for all forms of public transport even when it sounds like it should be technically incorrect (bus, plane) but only for private transport where it is technically correct ('on' for bike but 'in' for car).  Curious to see if there were any answer out there as to why this is I found a previous question that specifically related to trains . Most of the answers related to what the correct preposition is rather than why but one of the top rated answers suggested that on is used to distinguish between a stated of having boarded a train from being a component of a train. I'm not entirely sure I agree with this answer but it also doesn't really apply to other forms of public transport.  My best guess is that the use of 'on' is a remnant from a time when it would have been correct for most forms of mass transport (cart, boat) but I'd be interested to know if there is any other reason.

This is sort of a follow up to my question .  I was told a while ago that the reason why we use "on the bus" instead of "in the bus" is because back in the day buses were open, that is, they didn't have a roof.   Is this story correct or is there another reason why the correct expression is "on the bus", in spite of the fact that when one gets on the bus, he is actually inside the bus?


Working on this. Have to find a solution. Very new to DE: $$\begin{cases}  2yx'(y)-1=x^2(y) \\  x(y=1)=1 \\  \end{cases} $$ Writing this as: \begin{align} 2y \frac{dx}{dy}-1&=x^2y\\ \frac{1}{x^2}2y\,dx-1&=y\,dy\\ \frac{1}{x^2}\,dx &= 1+y\,dy\\ \int \frac{1}{x^2}\,dx &= \int 1+y\,dy\\ -\frac{1}{x}+C &= \frac{y^2}{2}+y+C \end{align} Is this correct? Feel like I'm just doing algebra, but don't really understand if it's correct. Would love feedback.

Really stuck with this, \begin{cases}  2tx'(t)-1=x^2t \\  x(t=1)=1 \\  \end{cases} I don't understand the variables. What does it mean that $x$ differentiated have $t$ as a function value, like this: $x'(t)$? Don't get it :(


Trying to write a python code to encrypt a string.  Encrypts the string and output is an encrypted string.  print "Enter the string " a=raw_input() e='' i=0 while i<len(a):   c=''   c+=a[i]   f=ord(c)   if i%3==0:     if f>21:       e+=chr(f-21)     else:       e+=chr(f+5)   elif i%3==1:     if ord(c)>24:       e+=chr(f-24)     else:         e+=chr(f+2)      else:     if ord(c)>21:       e+=chr(f-20)     else:       e+=chr(f+6)          i=i+1   del c  print e      But when on running this script, error comes.  e+=chr(f-24)            ^ IndentationError: unindent does not match any outer indentation level

When I compile the Python code below, I get      IndentationError: unindent does not match any outer indentation level     import sys  def Factorial(n): # Return factorial     result = 1     for i in range (1,n):         result = result * i     print "factorial is ",result     return result   Why?


Ubuntu 19.10 installed to the new notebook. Wifi is not working even wifi adapter icon not displayed, only can see the bluetooth. How can I fix this problem. The issue is more complicate since the notebook hasn't Ethernet port. Does anyone handled this issue? Here is output from console:  azamat@vivoBook:~$ sudo lspci -knn | grep Net -A3; 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]     Subsystem: AzureWave RTL8821CE 802.11ac PCIe Wireless Network Adapter [1a3b:3040] azamat@vivoBook:~$ rfkill list 0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no azamat@vivoBook:~$

We just bought a Lenovo  (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.  First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.  The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).  modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).  I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.  Further information  root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265 firmware:       iwlwifi-8265-34.ucode root@ThinkPad-E570:~# rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no root@ThinkPad-E570:~# dmesg | grep iwl root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3 05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]     Subsystem: Lenovo Device [17aa:c024]   Update  I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the  of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.


I have installed in several computers (windows 10) Ubuntu 16.04 using a boot USB. Until now I have used the default settings for the partitions during installation. That is, in the picture below I choose the first option (Install Ubuntu alongside Windows) and let Ubuntu do the job.     However I have a computer with 250 GB hard disk. 100 GB are used already so they remain 150 GB from which I want 30 GB for Ubuntu.  How can I do this? I guess through the last option in the picture (Something else) but still I cannot figure out the proper and safe way.

I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures).  I'd like to cover such situations:     If your disk contains other systems:


I'm formatting (a single partition on) my USB drive, for read-write use on multiple computers - at the very least Windows (XP and up), Mac OS (not sure which versions) and Linux (distributions which are no more than, say, 4 years old). In the olden days I would probably use FAT32, which I remember to be quite widely supported - but that has a 4GB file limit.  So, in this day and age, and for the OSes I mentioned (perhaps even others) - which filesystem should I choose? My current best guess is NTFS, since I know the Linux support is decent (or better) and for Windows it's native. Is there a better choice?  Notes:   Unlike , I can't accept the 4GB file limit. Also, the answer there suggests filesystems which typically require installing third-party drivers or have other issues. I'm not interested in performance/security/fault tolerance or other such features, just portability. I'm not asking which filesystem is "better", I just want to maximize the spectrum of systems I can use my USB drive with, without having to install drivers or update the OS.

What USB drive filesystem works out of the box on Windows, Linux, and OS X so that, when I give a 64GB USB drive to my dad, I don't have to tell him to first type in sudo apt-get install exfat-fuse exfat-utils ntfs-3g in the terminal, for example?


Can you help me, why my code not work?  Output :  03-17 16:54:25.488: D/wew(3821): msg :test  03-17 16:54:25.488: I/System.out(3821): #1: false  03-17 16:54:25.488: I/System.out(3821): #2: false  And this is my code :          charsRead = in.read(buffer);                         if (charsRead != 1) {                             String message = new String(buffer).substring(                                     0, charsRead).toString();                             Log.d("wew", "msg :" + message);                              String w1 = "test";                             String w2 = message;                              if(w1 == w2){                                 System.out.println("#1: true");                                 } else {                                 System.out.println("#1: false");                                 }                                  if(w1.equals(w2)){                                 System.out.println("#2: true");                                 } else {                                 System.out.println("#2: false");                                 }                          }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I vaguely recall this film from when I was young. It has stuck in my mind and is probably at least partly responsible for my interest in post-apocalyptic films and literature.  The plot centred around an 'event' a flash of light or sound or something that had seemingly wiped out (vanished) all the humans on Earth. The narrative follows a lone man until he eventually finds some other survivors and they journey for a while. They then find a way to trigger the event, or the event happens again, and the film ends with the man truly alone.  I don't know any more details, but would love to find it again. Thanks!

This was a TV show aired in the UK probably sometime between 1990 and 1993, if memory serves it was only a one-off. The plot starts with the protagonist waking up in bed and being disappointed. He eventually goes outside and everyone is dead, whatever they were doing at the time they died doing it (driving, working, etc.) The protagonist is in a state of panic running around town (I seem to remember it being set in the UK) and he discovers that he's is 'alive' because he'd attempted suicide and died at the exact moment this mysterious event happened. I think he encounters others that 'died' at the time of the event and that's when he realises. I think the protagonist was a bald, white man, probably mid-thirties. Sorry for any vagaries, I was VERY young when it was on. Until recently I assumed it was The Quiet Earth but I've checked and it definitely isn't. It was in colour and was contemporary at the time so it would have been made around 1990.


The following command works as expected:  # Add/create /tmp/hosts with the string content inside EOFs $ cat >> /tmp/hosts <<EOF 127.0.0.0 example.com 127.0.0.0 foo.example.com EOF   However, the following command yields an error even when the sudo'd account has a permission to write to /etc/hosts.  $ sudo cat >> /etc/hosts <<EOF 127.0.0.0 example.com 127.0.0.0 foo.example.com EOF  -bash: /etc/hosts: Permission denied   Why? And how can one achieve exactly what the above command intends to?

I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.  The trouble is, this contrived example doesn't work:  sudo ls -hal /root/ > /root/test.out   I just receive the response:  -bash: /root/test.out: Permission denied   How can I get this to work?


I seem to be dealing with a tenacious and stupid bird—tenacious for twice rebuilding its nest, and stupid because that location is inherently unstable for a nest, or so I think. From the movement of a suspected bird hovering on a nearby tree, I believe the bird in question is an .  As much as I like the idea of a bird finding refuge near my house, and as much as I liked to offer space all the way until the hatching season is long over for a nest over the outdoor (but unused) speakers in my backyard, I know from experience that some birds can be pests. Pigeons are territorial, are very dirty, and are impossible to shoo off once they establish their territory.    The first time I saw it I pushed the nest away and put the strands in the leaf container nearby. (An open bag of tree leaves only acts as an invitation to birds and more). The bird returned immediately and asserted its space by building another nest. I tried again, ever so gently, to point out that this is really not the right place 1- because the residents really do not want to be attacked every time they step out of their front door (the bird could consider their passage trespassing so close to the bird's sanctuary), and 2- the bar holding the lamp in place is much too thin to act as adequate support for a nest.  Hence the second time I both pulled the nest down and added a plastic bag on top of the lamp to make it harder to access that spot, and more slippery to build on top. As you see in the picture, the bird dropped the bag down and rebuilt.  How do I tell this bird to nest elsewhere?  I may have an even more serious problem from the wasp nest you see in the picture. I believe it is uninhabited, or at least no longer inhabited. (In a previous incident I've seen that they make their presence known, if they're inside.) But I'll handle these nature elements one at a time. They're too strong for me.

I just  that the wasp nest pictured is a .     This is the second such nest I have on two edges of the same outside wall on adjacent years. I'm either inattentive, or they are particularly fast: the nest is built before I notice. One idea that worked with the first one was to spray shaving foam over it. Luckily the foam stayed there long enough, and the entrance was no longer menacing. The second one, pictured, seems to have served its function and is now empty.  The wikipedia page linked above suggests they might reuse a previous nest, and so I'll pull this off soon to avoid a recurrence.  Apparently they find something particularly attractive at this location. The color of the bricks? That the spot is shielded from rain? Is there a way to dissuade them from building in this particular spot?  I have also had yet another wasp nest below a layer of leaves in a bag near this entrance. Is this the same species? Might the presence of leaves act as an incentive to build the "organ pipe" mud dauber?


How to prove $\displaystyle \int_0^{\infty} \frac{\sin x}{x} \, dx = \frac{\pi}{2}$?  How do I proceed?

A famous exercise which one encounters while doing Complex Analysis (Residue theory) is to prove that the given integral: $$\int\limits_0^\infty \frac{\sin x} x \,\mathrm  dx = \frac \pi 2$$ Well, can anyone prove this without using Residue theory?  I actually thought of using the series representation of $\sin x$: $$\int\limits_0^\infty \frac{\sin x} x \, dx = \lim\limits_{n \to \infty} \int\limits_0^n \frac{1}{t} \left( t - \frac{t^3}{3!} + \frac{t^5}{5!} + \cdots \right) \,\mathrm  dt$$ but I don't see how $\pi$ comes here, since we need the answer to be equal to $\dfrac{\pi}{2}$.


In quantum-information, we have been told that the Hadamard gate over $n$-qubits can be defined as: $$H^{\otimes n}|x\rangle = \frac{1}{\sqrt{2^n}}\sum_{y\ \in\{0,1\}^n}(-1)^{x_1y_1+···+x_ny_n}|y\rangle   \\= \mathbb C^2 \otimes ... \otimes \ \mathbb C^2 = \mathbb C^{2^n}, \text{ where  }|x\rangle = |x_1,x_2,...,x_n\rangle $$ However, I do not have any intuition about how this is constructed from the single qubit Hadamard: $$\frac{1}{\sqrt{2}}\begin{bmatrix}\begin{array}{rrrrrrrr} 1 & 1 \\ 1 & -1  \end{array}\end{bmatrix}.$$ I am trying to figure out, and it thought of an induction over $n$, but do not know how to do it. Could anyone provide any help of proof?

The Hadamard Operator on one qubit is:  \begin{align*} H = \tfrac{1}{\sqrt{2}}\left[\,\left(\color{darkgreen}{|0\rangle + |1\rangle}\right)\color{darkblue}{\langle 0|}+\left(\color{darkgreen}{|0\rangle - |1\rangle}\right)\color{darkblue}{\langle 1|}\,\right] \end{align*}  Show that: \begin{align*} H^{\otimes n} = \frac{1}{\sqrt{2^n}}\sum_{x,y}(-1)^{x \cdot y}\,\left|x\rangle \langle y\right| \end{align*}  I can evaluate things like $H \otimes H$ in practice, but I don't know how to get a general formula for $H^{\otimes n}$. Are there any tricks I could use?


There is a question on  that got deleted by the Community user. This question isn't terrible (we have worse one's there), and I'm not complaining about this question in particular.  I wanted to vote to undelete it. However, it says "A moderator has deleted this post and it cannot be undeleted". This "moderator" is Community!  I understand if a "real" live human moderator (no offense to all non-humans out here) deleted this question that we can't override it. But this is a Robot! It sees that it got a downvote, no answer and little activity for a while and just deletes it.  Can we have "Community user" have rights to delete, but have those "deletions" subject to normal-person override?

The question  is about a question that was deleted due to inactivity. There was discussion in the comments about community members casting undelete votes, and the post in question was finally undeleted (and remains so today).  Something appears to have changed though. I recently stumbled upon a different question that was also deleted by Community for inactivity, , and my initial reaction upon seeing it was to cast an undelete vote. But, since Community is a moderator, it said "A moderator has deleted this post and it cannot be undeleted".  So it seems like Community-deleted posts used to be undeletable, but no longer are. Was this an intentional change? It seems to me that since Community isn't a real moderator and inactivity is an imperfect hueristic for questions that should be deleted, then if someone cares enough to want to undelete one of these question that they ought to be able to try to get it undeleted. I've classified this as "bug", assuming this was the unintentional side-effect of another change, but I don't know, it might be considered "feature request".    Note: This quesiton was inspired by another question I just asked:


I have started the course in commutative algebra. I am facing problem in how to approach this type of questions. How to think of a mapping between these two rings. Help me in this case. here ideal is non-zero.

Let $R$ be a commutative Noetherian ring (with unity), and let $I$ be an ideal of $R$ such that $R/I \cong R$. Then is it true that $I=(0)$ ?  I know that a surjective ring endomorphism of a Noetherian ring is also injective, and since there is a natural surjection from $R$ onto $R/I$ we get a surjection from $R$ onto $R$, but the problem is I can not determine the map explicitly and I am not sure about the statement. Please help. Thanks in advance.


I have tried uninstalling with purge and reinstalling with apt-get but it seems like I have something that wont let me install tor. Here is the message it gives ROOTUSER :~# apt-get install tor Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.2.0-9 is to be installed libgirepository-1.0-1 : Breaks: libgjs0g (< 1.58.1-2~) but 1.52.4-1 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.  how do I locate  libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.2.0-9 is to be installed  libgirepository-1.0-1 : Breaks: libgjs0g (< 1.58.1-2~) but 1.52.4-1  and fix it so that installation goes smoothly? thanks!

I am not sure what caused this error, but here is what the whole error says, and also this is sitting as a notification, and preventing me from updating any software using Update Manager - Please provide some assistance or tell me how to figure out what to do to fix it.  Could not calculate the upgrade  An unresolvable problem occurred while calculating the upgrade.  Please report this bug against the 'update-manager' package and include the following error message: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'


I have an SSH key based authentication setup for some deployment script. But there is a chance that the authentication files are not setup properly at some point. I don't want my shell scripts to ask for passwords, I want them to fail immediately.  Using      ssh  -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no   -o PubkeyAuthentication=yes  test@host   or some thing along those lines does not work. I do not want to change configuration files since the script can be executed from any where.

is there a way to disable password authentication completely? The command line is the following:  ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no machine"    it STILL asks for a password.  Of course I would like to do this without touching the server, if possible.


I would like to show only the shorttitle of an xref in the the bibliography entry referrring to it. Currently it shows the full information:  MWE:  \documentclass{book} \usepackage{polyglossia} \setmainlanguage[spelling=new,babelshorthands=true]{german} \usepackage[autostyle]{csquotes} \usepackage[style=authortitle-dw, edsuper=true, namefont=smallcaps, useprefix=true, ibidemfont=smallcaps, idemfont=smallcaps, idembibformat=dash, shorthandibid=true, backref=false, backrefstyle=none, hyperref=true, isbn=false, backend=biber, citereset=chapter, bibencoding=utf8]{biblatex} \DeclareFieldFormat{pages}{#1} \DeclareFieldFormat{page}{#1} \DeclareNameAlias{sortname}{family-given} \DeclareNameAlias{default}{family-given} \DeclareNameAlias{byeditor}{family-given} \DeclareNameAlias{bytranslator}{family-given} \DefineBibliographyStrings{german}{     andothers = {et\,al\adddot},     editor    = {Hg\adddot} ,     editors   = {Hg\adddot} } \urlstyle{same} \renewbibmacro*{publisher+location+date}{%     \setunit{\addperiod\space}%     \printlist{location}%     \iflistundef{publisher}     {\setunit*{\space}}     {\setunit*{\addcolon\space}}%     \printlist{publisher}%     \setunit*{\addcomma\space}%     \usebibmacro{date}%     \newunit} \usepackage{filecontents} \begin{filecontents}{\jobname.bib}      @book{b2,         year = {2014},         title = {Redefreiheit: Öffentliche Debatten der Bevölkerung im Herbst 1989},         address = {Leipzig},         edition = {1. Aufl.},         publisher = {Leipziger Uni-Vlg},         isbn = {386583888X},         editor = {Ahbe, Thomas and Stiehler, Volker and Hofmann, Michael},         shorttitle = {Redefreiheit}     }      @incollection{bauer,         crossref   = {schwobel},         author     = {Bauer, Gisa},         title      = {Transformationen des Religiösen},         subtitle   = {Die historisch-materialistische Geschichtsschreibung in der DDR als Heilsgeschichte},         shorttitle = {Transformationen}     }        @collection{schwobel,         title      = {Geschichte und Gott: XV. Europäischer Kongress für Theologie},         address    = {Leipzig},         year = {2014},         number     = {39},         series     = {VWGTh},         editor     = {Schwöbel, Christoph},         shorttitle = {Geschichte},     }      @book{bulischop.2006,         author     = {Bulisch, Jens},         year       = {2006},  url = {http://www.kirche-mv.de/fileadmin/ELLM-Downloadtexte/Beste-60JahreMKZ.pdf},  urldate = {2015-07-28},         title      = {Evangelische Presse in der DDR},         address    = {Göttingen},         number     = {43},         publisher  = {Vandenhoeck und Ruprecht},         isbn       = {3525557442},         series     = {AKZG},         shorttitle = {Presse},     } \end{filecontents}  \addbibresource{\jobname.bib} \begin{document}     text \footcite{bulischop.2006} text.     text \footcite{bauer} haha.      \printbibliography \end{document}     Instead of the text circled in red I would like to have:  SCHWOBEL, Christoph (Hg.): Geschichte And additionally I would like to have the referenced entry also in the bibliography.

In my bibliography, I want  to print only the editor's name and the title of the parent work in the child entry if the parent has at least two children, while what I now get is the full parent entry within each single child entry. The parent entry should then be printed in full under the editor's name. So instead of  Test Author. “Testing the second Title”. In: My Proceedings. Ed. by Senor Editor and Senora Editora. Any Publisher, 2013, pp. 10–20.  Test Author. “Testing the Title”. In: My Proceedings. Ed. by Senor Editor and Senora Editora. Any Publisher, 2013, pp. 1–10.  Senor Editor and Senora Editora, eds. My Proceedings. Any Publisher, 2013.   what I would like to get is:  Test Author: “Testing the second Title”. In: Senor Editor and Senora Editora, eds., *My Proceedings*, pp. 10–20.  [Test Author. “Testing the Title”. In: Senor Editor and Senora Editora, eds., *My Proceedings*, pp. 1–10.  Senor Editor and Senora Editora, eds. *My Proceedings*. Any Publisher, 2013.   I am aware that a similar question has been answered , but I just can't figure out how I can manipulate the code suggested there so that it prints editor and title. I managed to replace the alphabetic label by the title of the collection (or proceedings or book) by using  \printfield{labeltitle}   instead of   \printfield{labelalpha}   but neither  \printfield{labelname}   nor   \printlist{labelname}   seems to work to get the editor's name. Any idea what's going wrong here? I add a MWE:  \documentclass[]{scrartcl}  \usepackage[backend=biber,style=authortitle-icomp]{biblatex} \usepackage{filecontents}  \begin{filecontents}{my.bib} @incollection{inproc1,     Author = {Test Author},     Crossref = {proc},     Pages = {1--10},     Title = {Testing the Title}}  @incollection{inproc2,     Author = {Test Author},     Crossref = {proc},     Pages = {10--20},     Title = {Testing the second Title}}  @collection{proc,     Editor = {Senor Editor and Senora Editora},     Publisher = {Any Publisher},     Title = {My Proceedings},     Year = {2013}}  @inproceedings{inproc3,     Author  = {Nother Author},     Publisher = {Nother Publisher},     Title   = {In Some Other Proceedings},     Maintitle = {Main Title of Other Proceedings},     Year     = {2001}, } \end{filecontents}   \DeclareBibliographyDriver{incollection}{%   \usebibmacro{bibindex}%   \usebibmacro{begentry}%   \usebibmacro{author/translator+others}%   \setunit{\labelnamepunct}\newblock   \usebibmacro{title}%   \newunit   \printlist{language}%   \newunit\newblock   \usebibmacro{byauthor}%   \newunit\newblock   \usebibmacro{in:}%   \iffieldundef{crossref}     {\usebibmacro{crossref:full}}     {\usebibmacro{crossref:label}}   \newunit\newblock   \usebibmacro{chapter+pages}%   \iffieldundef{crossref}     {\usebibmacro{crossref:extrainfo}}     {}   \setunit{\bibpagerefpunct}\newblock   \usebibmacro{pageref}%   \usebibmacro{finentry}}  \newbibmacro{crossref:full}{%     \usebibmacro{maintitle+booktitle}%   \newunit\newblock   \usebibmacro{event+venue+date}%   \newunit\newblock   \usebibmacro{byeditor+others}%   \newunit\newblock   \iffieldundef{maintitle}     {\printfield{volume}%      \printfield{part}}     {}%   \newunit   \printfield{volumes}%   \newunit\newblock   \usebibmacro{series+number}%   \newunit\newblock   \printfield{note}%   \newunit\newblock   \printlist{organization}%   \newunit   \usebibmacro{publisher+location+date}}  \newbibmacro{crossref:label}{%   \entrydata{\strfield{crossref}}      {\printtext{         {\printfield{labeltitle}\printfield{extratitle}}}}}  \addbibresource{my.bib}  \begin{document}  Test \cite{inproc1} and \cite{inproc2} and \cite{inproc3} \printbibliography \end{document}   And, one more little thing (too connected and minor a point for an extra question), how can I make the title of the collection appear in italics in the child entry?  Thanks for your help - as it is my first post on TeX Stack Exchange, please don't hesitate to correct me in case I didn't make myself clear, or violated any convention!


I am using moderncv the \cref{} command is not working and if I put the package it, it gives me an error. I tried with \ref it gave me no error but also it never produced any reference just "??" in the place. I want to correct this. Also, I want the label to have a distinct color different from the text. I could not do it in modernCv package.  Any help appreciated   \documentclass[11pt,a4paper,sans]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman  \moderncvstyle{casual} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking' \moderncvcolor{blue} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'  \usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template  \usepackage[scale=0.75]{geometry} % Reduce document margins %\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column %\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name  \usepackage{amsfonts, amsthm} \usepackage{amsmath} \usepackage{amssymb} %\usepackage{booktabs} \usepackage{color} \usepackage{colortbl} \usepackage{enumitem} \usepackage[utf8]{inputenc} \usepackage[english]{babel} %\usepackage{cleveref}  %\usepackage[capitalise,noabbrev]{cleveref}  %\usepackage[hang,flushmargin]{footmisc} %\usepackage[margin=25mm]{geometry} %\usepackage{mathtools}  \newcounter{section}  \setcounter{section}{1}  \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}[theorem]{Example} \newtheorem{corollary}{Corollary}[theorem]  \begin{document} \makecvtitle % Print the CV title  \section{ Research Experience} My research experience etc......... begin{align}  \label{eq:partitionfunction} Z(\mathbf{p}; \mathbf{q}; \h) &= \sum_{\lambda \in {\mathcal P}} s_\lambda(p_1, p_2, \ldots) \, s_\lambda(\tfrac{q_1}{\h}, \tfrac{q_2}{\h}, \ldots) \, \prod_{\Box \in \lambda} G(c(\Box) \h) \notag \\ \end{align}  In the above equation \ref{eq:partitionfunction}

I am using the following research statement template.  In my statement, I have to use the environment of the theorem, lemma, definition. It is giving me error when I am compiling my LaTeX file. I could not find the error. Any help appreciated.   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % "ModernCV" CV and Cover Letter % LaTeX Template % Version 1.1 (9/12/12) % % This template has been downloaded from: % http://www.LaTeXTemplates.com % % Original author: % Xavier Danaux (xdanaux@gmail.com) % % License: % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) % % Important note: % This template requires the moderncv.cls and .sty files to be in the same % directory as this .tex file. These files provide the resume style and themes % used for structuring the document. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %---------------------------------------------------------------------------------------- %   PACKAGES AND OTHER DOCUMENT CONFIGURATIONS %----------------------------------------------------------------------------------------  \documentclass[11pt,a4paper,sans]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman  \moderncvstyle{casual} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking' \moderncvcolor{blue} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'  \usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template  \usepackage[scale=0.75]{geometry} % Reduce document margins %\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column %\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name  \usepackage{amsfonts, amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{booktabs} \usepackage{color} \usepackage{colortbl} \usepackage{enumitem} \usepackage[utf8]{inputenc} \usepackage[english]{babel} %\usepackage[hang,flushmargin]{footmisc} %\usepackage[margin=25mm]{geometry} %\usepackage{mathtools}  \newtheorem{theorem}{Theorem}[section] \newtheorem{corollary}{Corollary}[theorem] \newtheorem{lemma}[theorem]{Lemma}   %\newtheorem{theorem}{Theorem} %\newtheorem{specialthm}{specialthm} %\renewcommand*{\thespecialthm}{\arabic{specialthm}}   %---------------------------------------------------------------------------------------- %   NAME AND CONTACT INFORMATION SECTION %----------------------------------------------------------------------------------------  \firstname{} % Your first name \familyname{} % Your last name  % All information in this block is optional, comment out any lines you don't need %\title{Research Statement} %\address{}{} %\mobile{()} %\phone{(000) 111 1112} %\fax{(000) 111 1113} %\email{} %\homepage{staff.org.edu/~jsmith}{staff.org.edu/$\sim$jsmith} % The first argument is the url for the clickable link, the second argument is the url displayed in the template - this allows special characters to be displayed such as the tilde in this example %\extrainfo{additional information} %\photo[70pt][0.4pt]{pictures/picture} % The first bracket is the picture height, the second is the thickness of the frame around the picture (0pt for no frame) %\quote{"A witty and playful quotation" - John Smith}  %----------------------------------------------------------------------------------------  \begin{document} \makecvtitle % Print the CV title %---------------------------------------------------------------------------------------- %   EDUCATION SECTION %----------------------------------------------------------------------------------------  \section{Previous Research Experience} \begin{theorem} Hello new \end{theorem}  \begin{lemma} \end{lemma}  {\hskip 2em}     %---------------------------------------------------------------------------------------- \section{Research Goals}      \end{document}


is upgrade ubunto 19.10 to 20.04 now not available on ubuntu 19.10? I'm keep getting error when I'm doing sudo apt-get update -y   404  Not Found [IP: 91.189.95.83 80] Reading package lists... Done  is it cause ubuntu 19.10 does not supported no more? How should I upgrade 19.10 to 20.04

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


I need to apply for a UK visitor visa for an 8-year old. I see there is only one type of online form available on the UK.gov website. Do I fill out the same form as I did for my own standard visitor visa for my child? I know the visa fees are all the same regardless of age.

We are sponsoring a family to visit us in UK as friends from Madagascar for two weeks. They have a 6 year old and a 16 month old.   Do the kids need their own visas, and are they the standard visitor visa or a special child visa?   Also, when I try and apply on the website I can only apply for one person so how do I apply for all the individuals in the family?   I have looked on the Immigration website and can't find the answers I need.


I am new to both Ubuntu and Linux operating sytem. I have no idea how to do common things, I want to know how to install flash player from adobe in Ubuntu 16.04 LTS because I added a game and it asks to install flash player. Thank you

Even though I have the latest Adobe Flash player 11.2 for Linux in Firefox -   - a particular online flash game still requests that I update to the latest flash player.  I've tried this online game on my laptop (Windows 8 with Flash Player 11.8) and it has no problems.  Is there a way to trick Ubuntu or this game into thinking Flash Player 11.8 is "installed"?


i have problem With HttpWebRequest.getResponse(). My try catch don't catch my response :/. Here is code: proxy and ports are good  HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www.google.com/");         req.Proxy = new WebProxy(Host, Port);         req.Method = "GET";         req.KeepAlive = false;         req.Timeout = 10000;         req.ContentType = "text/xml";        try         {             using (WebResponse response = req.GetResponse())             {                 using (Stream stream = response.GetResponseStream())                 {                  }             }          }         catch (WebException) { }         catch (Exception){ }   Still getting window with error:

The following bit of code catches the EOS Exception  using (var reader = new BinaryReader(httpRequestBodyStream)) {      try {         while (true) {             bodyByteList.Add(reader.ReadByte());         }     } catch (EndOfStreamException) { } }   So why do I still receive first-chance exceptions in my console?      A first chance exception of type 'System.IO.EndOfStreamException' occurred in mscorlib.dll   Is there a way to hide these first chance exception messages?


I am making my own vector class.  .h:  template<typename T> class MyVector { private:     T *elements;     int elementCount; public:     MyVector();     MyVector(int size);     void push_back(T value);     void pop_back();     int size();     T at(int index);     bool empty();     void clear();     void swap(MyVector v2); };   .cpp:  template<typename T> MyVector<T>::MyVector() {     elementCount = 0;     elements = new int[elementCount];     elements = (int *) realloc (elements, elementCount * sizeof(int)); }   main.cpp:  #include "MyVector.h"  int main() {     MyVector<char> myTestVector;        return 0; }   I am getting an error when trying to simply create a MyVector object, the error is :     MyVector::MyVector(), referenced from:         _main in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see   invocation)   I originally wrote the class to work with an already specified type, now I need it to work with any given type.   Why am I getting this error? Thanks in advance!

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


What is the best way to deal with this problem.   I have a VPN set up on my firewall that runs from a server on my side to a Customer Site.  It is configured as serverA on my side and 172.31.255.1 /24 on the customers side.  I now have a new customer who also needs a VPN set up. But their IP address clashes with the above range.  So they need to run from serverB on my side to 172.31.255.18 /32 on the customers side.  As you can see, the new one is right in the middle of the range used by the other one.  What is the best / recommended way of working around this problem?

This is a  about solving IPv4 subnet conflicts between a VPN client's local network and one across the VPN link from it.   After connecting to a remote location via OpenVPN, clients try to access a server on a network that exists on a subnet such as 192.0.2.0/24.  However, sometimes, the network on the client's LAN has the same subnet address: 192.0.2.0/24.  Clients are unable to connect to the remote server via typing in its IP because of this conflict.  They are unable to even access the public internet while connected to the VPN.  The problem is that this subnet 192.0.2.0/24 needs to be routed by the VPN, but it also needs to be routed as the client's LAN.  Does anyone know how to mitigate this issue?  I have access to the OpenVPN server.


A ring $R$ is said to have a bounded index (of nilpotency) if there is a positive integer $n$ such that $x^n=0$ for every nilpotent $x∈R$.     Can anyone give me an example of a ring $R$ which has a bounded index, but $R[x]$ has no bounded index? Same question for $M_n(R)$ instead of $R[x]$.

A ring $R$ is said to have a bounded index (of nilpotency) if there is a positive integer $m$ such that $x^m = 0$ for every nilpotent $x\in R$. I wonder whether this property transfers to the ring of matrices, that is,     If $R$ has bounded index, then $M_n(R)$ has bounded index?   If $R$ is a field, then the answer is positive and extends obviously to integral domains. Noetherian rings have also the bounded index property, and it would be nice to have an answer in this case. (When $R$ is noetherian and reduced the answer is also positive.)  Remark. This question was suggested by .


Is it possible to just replace the adjustable wood insert in threshold? ***I want to just replace the adjustable wood filler insert in the sill if at all possible. Threshold is 36 inches as normal on the french door that opens but as you can see the entire threshold is about 75 inches long. Screws are 10 inch apart. 3 inch in from the ends. To put a new one in I would prob have to cut 1/2 of the 75 inch metal threshold from the door that opens at 36 inch point and put in a new one. BUT I RATHER: Try to determine who makes it and then if I can remove ONLY the adjustable wood sill filler since it is frozen and the screws are stripped. I would buy a new threshold and my hopes are to take it apart and just replace the adjustable sill. Do not know who makes this. Wrote a few people with no luck. Pictures are at my website:  Thoughts? Thank you very much, Peter

I have some late 70's doors and one is missing a threshold insert (the adjustable wood kind), anybody know of where one could by just the "wood strip" that goes in and screws down (there is a metal piece that sticks up into the wood, though you can't see it)?    They have about 4 screws that go down into them?


When designing geodatabases I have followed industry standards and used text and numeric fields.  Some people have different ways of designing geodatabases and only use text fields.  What are the schools of thought on text vs. numeric fields?  Why would you use a text field when it is always a numeric value?

I am trying to figure out when to use (in the Data Type of SHAPEFILE PROPERTIES) - TEXT - SHORT-INTEG - LONG-INTEG - FLOAT AND DOUBLE.    I am using ArcView 9.3 and I know when it is all text or use the date or if it is all numbers what to use.  But, when it is "2N" or "7.5" or "7%" which and what do you use?


English is not my mother language so please forgive any mistakes. I'm not really sure how to approach this question. This is what I have until now: Consider $x \in B-(B-A)$. This means $x \in B$ and $x\notin(B-A)$. Therefore, $x \in B$ and $(x \notin B$ or $x \in A)$. Since $x \in B$, $x \in B$ and $x \in A$. So $x \in A \cap B$. However, if I remember correctly, I am supposed to prove the equalty both ways, like this: 1) $B-(B-A) \subset A \cap B$ 2) $A \cap B \subset B-(B-A)$  What I just wrote was Part 1 (although I don't know if it's correct). My issue is, I don't really know how to prove Part 2.

Please proof that $A\cap B=A\setminus(A\setminus B)$ this really gave me sleepless night. I tried using the set intersection properties but I still got confused.


I'm a newbie user. I installed Ubuntu 16.04 lts on this afternoon.  I'd like to know if it's possible to install, on ubuntu 16.04lts, some software I had specifically suited for windows. --> Does any app exist that can make this job?  My PC: - HP media center PC m7000 (year 2007) - operating system: dual boot "windows vista" & "ubuntu 16.04lts"  Issue: I noticed that "Ubuntu software" doesn't work anymore, so, if the app existed I couldn't download it from the Ubuntu software. How could I possibly cope with it?  best regards! Papillon

Can .exe and .msi files (Windows software) be installed in Ubuntu?


I know the question of whether adding your natural attacks after you finish a Flurry of Blows (As secondary nat attacks at −5) has been asked many times () and it has been generally agreed that it doesn't work. But now want to know if you are allowed to perform the process backwards. Natural attacks first, then the extra hits from FoB.  Example:  Level 3 Catfolk (With 2 claws, no Monk weapons) Unchained Monk with Feral Combat Training (Claws).   Flurry of blows without any natural weapons is 2 attacks at full BAB because they normally get 1 attack as full round action. This character can also get 2 claws as a full round action, would he be able to use flurry of blows to add a third hit in this scenario?  The claws would be primary Natural attacks, followed by the "extra" hits from flurry. The text says Flurry gives me some sort of max number of attacks, but that number is never mentioned. Is it my normal full attack +1? With natural weapons, full attacks can have varying number of hits.

Need help about some interaction between monk/natural attacks and Feral Combat Training during full round attack , not FoB!  Monk unarmed strike A monk’s unarmed strike is treated both as a manufactured weapon and a natural weapon for the purpose of spells and effects that enhance or improve either manufactured weapons or natural weapons.  My standard full attack routine is claw/claw/claw First question is, can I choose to trade one claw attack for one unarmed strike during this routine, by virtue of the "monk's unarmed strike are treated as natural weapon [etc] "?  claw (str)/unarmed(str)/claw(str)  Or do I have to follow the standard interaction between "manufactured weapons" and natural weapons?  Unarmed (str) , Claw -5 (str/2), Claw -5 (str/2), Claw -5 (str/2).  Considering that a monk's unarmed strike could be an elbow hit that doesn't require the hand.  Feral Combat Training Benefit: Choose one of your natural weapons. While using the selected natural weapon, you can apply the effects of feats that have Improved Unarmed Strike as a prerequisite. Special: If you are a monk, you can use the selected natural weapon with your flurry of blows class feature.  From FAQ...  Normally a monk who has natural attacks (such as a lizardfolk monk with claw attacks) cannot use those natural attacks as part of a flurry of blows (Core Rulebook 57). Feral Combat Training allows you to use the selected natural attack as if it were a monk weapon. Yes. The feat says you can apply "effects that augment an unarmed strike," and the monk's increased unarmed damage counts as such. There is no such thing as an off-hand attack for a monk striking unarmed. A monk may thus apply his full Strength bonus on damage rolls for all his unarmed strikes.  Does this mean that my claw, being considered a monk weapon, still scales for 1x str on my attack routine?  Unarmed (str), Claw -5 (str), Claw -5(str), Claw -5(str)  Considering that Feral combat Training allows me to inherit all the pros of the monk unarmed strike this allow to bypass even the secondary attack limitation during an "manufactured+natural" full round attack?  Unarmed (str) , Claw (str), Claw (str), Claw (str)  Or that I just ignore "secondary natural attack limitation " for " Monk's inherited" natural attack? ( es. Claw primary, Tail Secondary slotted with FCT )  Normal : Claw/ Claw / Tail -5 With FCT: Claw / Claw / Tail  And what happens if I choose to go the two weapon fighting route? How does ignoring the "offhand limitation" work? The last question: start from the point that FoB ( the monk's two weapon fighting original routine) allows the user to use the same weapon or natural attack one or more times with FCT (I could with Feral Combat Training's FOB go 3x Bite with the same Bite with poison), but with Two-Weapon Fighting I can't use the same weapon. I'd appreciate a point to point answer.


We are all used to the mechanical definitions of velocity, as the variation in time of the distance, the acceleration as the variation in time of the velocity, and even more other quantities like the jerk, the pop and so on (which are derivatives of further order of the acceleration with respect to time).  Now my question is this: could there exist a quantity, let's call it $b$, such that ?  $$\mathbf{\dot b} = \mathbf{r}$$  I mean something, the derivative of which, with respect to time, gives us the distance.  If it's a meaningless question, please just don't down vote. Explain me why end eventually I'll delete it...

I know that taking the derivative of position with respect to time defines what we call velocity, but I've never heard of physicist going in the opposite direction with position. Is there any application for the integral of position with respect to time?  Maybe with respect to something else?


I need to write a script that will use document.write to produce some output, but I need to know what element it is contained, example:  <p>     paragraph 1     <script src="test.js" type="text/javascript"></script> </p>   I need to get a reference to the p tag...  thanks!

How can I reference the script element that loaded the javascript that is currently running?  Here's the situation. I have a "master" script being loaded high in the page, first thing under the HEAD tag.  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <script type="text/javascript" src="scripts.js"></script>   There is a script in "scripts.js" which needs to be able to do on-demand loading of other scripts. The normal method doesn't quite work for me because I need to add new scripts without referencing the HEAD tag, because the HEAD element hasn't finished rendering:  document.getElementsByTagName('head')[0].appendChild(v);   What I want to do is reference the script element that loaded the current script so that I can then append my new dynamically loaded script tags into the DOM after it.  <script type="text/javascript" src="scripts.js"></script> loaded by scripts.js--><script type="text/javascript" src="new_script1.js"></script> loaded by scripts.js --><script type="text/javascript" src="new_script2.js"></script>


As $2=\sqrt{4}$ And $4=-(-4)$ $4=-1*(-4)$ $\therefore \sqrt{4}=\sqrt{-1\times(-4)}$ $\therefore\sqrt{4}=2i^2 $ $\therefore 2=-2$. Which is absurd.  I know I have done the mistake in writing (my teacher said) :  $\sqrt{4}$=$\sqrt{-1\times(-4)}$  But I want to know how could this be a mistake? Many people say that $\sqrt{ab}$ is not equal to $\sqrt{a}$$\sqrt{b}$ , if $a,b$ <$0$. But instead of saying that "$\sqrt{ab}$ is not equal to $\sqrt{a}$$\sqrt{b}$ , if $a,b$ <$0$". Can't this be thaught of a contradiction of accepting that root of negative number exist?

I know there must be something unmathematical in the following but I don't know where it is: \begin{align} \sqrt{-1} &= i \\\\\ \frac1{\sqrt{-1}} &= \frac1i \\\\  \frac{\sqrt1}{\sqrt{-1}} &= \frac1i \\\\  \sqrt{\frac1{-1}} &= \frac1i \\\\  \sqrt{\frac{-1}1} &= \frac1i \\\\  \sqrt{-1} &= \frac1i \\\\  i &= \frac1i \\\\  i^2 &= 1 \\\\  -1 &= 1 \quad !!? \end{align}


Every now and then I go out of town with family for a weekend or what-not.  On these trips my brother and I always bring our laptops & such and we are always wanting to play 1v1 against each other or 2v2 with bots on LAN.  There is no internet connection aside from our dinky little mobile hotspot which we pay for data usage.  It's not an option.  How can he and I play Starcraft 2 on an Ad-hoc network we set up?

I searched around the web, even in the official SCII com forums, but I could not get an exact answer on this question:  "Is LAN with SCII definitely not possible or is there a way to get the PCs inside the LAN connected even through the Battle.NET without connecting the computers via Internet?"  I heard about work-arounds, where you still use battle net but after connecting to the certain players you let the connection run over the local network.


I'm new to Blender and am following Blender Guru's donut tutorial. Unlike his donut (which had the sprinkles and a sphere) I decided to add a star because I thought it would look better. However the star didn't stay flat with the icing. What can I do to make it look right?

I can't get correct orientation with attached to the hair object. The arrows should look in different directions (like on picture 2), but I have them like hair (picture 1) In Particle Properties > Rotation > Orientation Axis set the Normal or Normal-tangent, should solve this problem, but did not.


This is from Huffman & Kunze.  "The field C of complex numbers may be regarded as a vector space over the field ℝ of real numbers. More generally, let F be the field of real numbers and let V be the set of n-tuples $\ α=(x_1,..,x_n)$ where $\ x_1,..,x_n$ are complex numbers. Define addition of vectors and scalar multiplication by:   a) let $\ α=(x_1,...,x_n)$ and $\ β=(y_1,...,y_n)$ then $\ α+β=(x_1+y_n,...,x_1+y_n)$  b) let $\ α=(x_1,...,x_n)$ then $\ cα=(cx_1,...,cx_n)$  In this way we obtain a vector space over the field ℝ which is quite different from $\ ℂ^n$ and $\ ℝ^n$"  1) How can the field of complex numbers be considered a vector space? I am asking because I don't think that the field of complex numbers can have n-tuples s.t. n>1, right? Since I believe that in order for an object to be interpreted as a vector, it must have at least an ordered pair of numbers.  2) When it was stated that the constructed vector space is quite different, shouldn't it be "entirely different" because the vector space has n-tuples s.t. n>1.  I am really confused.

What are the basic differences between $\mathbb C$ and $\mathbb R^2$?  The points in these two sets are written as ordered pairs, I mean the structure looks similar to me. So what is the reason to denote these two sets differently?


I usually search for packages using apt-cache (e.g. apt-cache search 'flash player') or by using the search functionality on . Now suppose I wish to search the package list of an old Ubuntu release such as Ubuntu 12.04 LTS Precise Pangolin. How can I do it? apt-cache search ... only searches the packages available for the version of Ubuntu I am using.  only searches a few of the latest releases. I suppose I could download the package list from , but what do I do with the package list to be able to search it? I prefer using something similar to apt-cache search ..., but I do not want to mess up my existing packages just because I want to search an old package list.

I can get a list of all available packages and their details using the following command:   apt-cache search .   Which outputs a list of packages which looks like this:  i   0ad                - Real-time strategy game of ancient warfare i   0ad-data           - Real-time strategy game of ancient warfare (data files)                             i   0ad-data-common    - Real-time strategy game of ancient warfare (common data files)                         p   0ad-dbg            - Real-time strategy game of ancient warfare (debug)                                     p   0xffff             - Open Free Fiasco Firmware Flasher                                                      p   2ping              - Ping utility to determine directional packet loss                                      p   2vcard             - perl script to convert an addressbook to VCARD file format                             p   3270-common        - Common files for IBM 3270 emulators and pr3287                                         p   389-admin          - 389 Directory Administration Server  ...     How can I get such a list of packages for a version of Ubuntu which I don't have installed?   So, specifically, where can I download the database of all available packages for a specific version of Ubuntu, and how do I get the details (Possibly including version, size, long description...) from it, in plaintext or in a format which is easy to parse with a script?


i have downloaded the java 8 32 bit "jdk-8u171-linux-i586.tar.gz" and i have extract the folder "jdk1.8.0_171". Here my question is how to install jdk1.8.0_171  Please help me on this?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle?  Before release Java 7, I followed  to install Java 6.  But it doesn't work for Java 7. There is no package sun-java7-xxx. How can you install Java 7?


When I type man regex into a shell, this loads  REGEX(3)                                                     Linux Programmer's Manual                                                     REGEX(3)  NAME        regcomp, regexec, regerror, regfree - POSIX regex functions  SYNOPSIS ........   when I type man 7 regex I get a different man page  REGEX(7)                                                     Linux Programmer's Manual                                                     REGEX(7)  NAME        regex - POSIX.2 regular expressions  DESCRIPTION ........   What is happening here?

So, for example, when I type man ls I see LS(1). But if I type man apachectl I see APACHECTL(8) and if I type man cd I end up with cd(n).  I'm wondering what the significance of the numbers in the parentheses are, if they have any.


Let d be any positive integer not equal to 2,5 or 13. Show that one can find distinct a, b in the set 2,5,13,d such that ab-1 is not a perfect square.   I tried it for a long time but couldn't figure out a solution.....help me

Let $d$ be any positive integer not equal to $2, 5,$ or $ 13$. Then can we always find distinct $a, b \in \{2, 5, 13, d\}$ such that $ab − 1$ is not a perfect square ?


How to access non-public members for NCrontab ?  string time_A = "20,25,30 20 * * 1-5"; var schedule = NCrontab.CrontabSchedule.Parse(time_A);   I can see Non-Public members of 'schedule' from the debug,  but I want to get value of _day and _hours.   _days {*}   NCrontab.CrontabField _daysOfWeek {1-5}   NCrontab.CrontabField _hours  {20}    NCrontab.CrontabField _minutes    {20,25,30}  NCrontab.CrontabField _months {*} NCrontab.CrontabField     _seconds    null    NCrontab.CrontabField   From , seems like it does not work for the following line.  PropertyInfo highlightedItemProperty = schedule.GetType().GetProperties(BindingFlags.NonPublic  | BindingFlags.Instance).Single(pi => pi.Name == "_days");   Please advise.  Updated !!!  I can fix it now.  string time_A = "20,25,30 18-22 * * 1-5"; var schedule = CrontabSchedule.Parse(time_A); var bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance; var field = schedule.GetType().GetField("_hours", bindingFlags); var getfield = field.GetValue(schedule);

Given this class  class Foo {     // Want to find _bar with reflection     [SomeAttribute]     private string _bar;      public string BigBar     {         get { return this._bar; }     } }   I want to find the private item _bar that I will mark with a attribute.  Is that possible?    I have done this with properties where I have looked for an attribute, but never a private member field.  What are the binding flags that I need to set to get the private fields?


I have a memory from years ago of someone saying that you can define zero to the power zero to be (either 1 or zero, I don't remember) by defining it as the number of mappings from the empty set to the empty set.  I'd like to remember what he said and understand this approach.  I'm a high school maths teacher, who hasn't thought much about set theory since graduating with a maths degree 15 years ago, so I understand what the empty set is, but not much further.  Could anyone fill in the blanks for me on this explanation?  Many thanks in anticipation.

Could someone provide me with a good explanation of why $0^0=1$?  My train of thought:  $x>0$  $0^x=0^{x-0}=0^x/0^0$, so  $0^0=0^x/0^x=\,?$  Possible answers:   $0^0\cdot0^x=1\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined   PS. I've read the  on mathforum.org, but it isn't clear to me.


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

Today I've suddenly received spam calendar invitation for $19.99 Ray Ban sunglasses (never subscribed, checked, searched or visited any related site, so clearly spam) and it has other visible email accounts within the invitation. I'm wondering if I should be worried whether my accounts been compromised or a simple email from anywhere just plops this in my calendar without review. Questions to be answered:  What should I check/setup in order to make sure my iCloud account is safe? How can I delete this invitation without sending a notification to the sender, so as to prevent them from knowing my email address is live? How can I prevent these notifications in the future?  Here's an image:


The following . Go there and read the article. They basically say that it's possible to bypass my cryptsetup password on my ubuntu version by holding down the Enter key for 70 seconds.    If this would be true, it would cause me some concern. I believed that linux OS has a good deal of security.      This vulnerability allows one to obtain a root initramfs shell on affected systems   Has anyone ever heard of this?  And, if yes - I know that it's from november 2016.  These researchers are offering a "fix". What do you think?

I've been reading . Apparently I would gain root access if I hold down enter (somewhere) for 70 seconds. I tried it on a password prompt but it gave me like 3 attempts and stopped. I tried it on a tty but it didn't work also. Am I not vulnerable or am I doing it wrong?


I'm looking for a command that would (possibly indirectly) break a chosen (arbitrary type) block, as if hit by player with a hand long enough - dropping the item, dropping contents if it's a container, etc. I'd like a method to break any block a player in survival can break with a hand through punching it long enough.  I'm okay with a side-effect of breaking other types of block not normally breakable, e.g. water source or bedrock - doesn't matter either way. Also, no particular preference on the breaking tool - if the block produces special drops when mined with a specific tool, like leaves - chance of sapling/apple or a leaves block - I don't mind either way.   I've searched for the solution and it seems people treat 'break' and 'destroy' synonymously, every result so far is about overwriting the block with minecraft:air - through /setblock, /fill, and other similar means. But that just replaces the block with the block of air, not producing the 'side effects' e.g. item drop, silverfish spawning, chest contents spilling.   One option I came up with would be something along the lines of /summon fireball [coords] {ExplosionPower:1,direction:[0.0,0.0,0.0]} but it seems 'ExplosionPower' regulates simultaneously explosion force and radius. Too weak won't break most blocks, too strong will cause a lot of collateral damage which I'd like to avoid; and while I could just spawn a cage of obsidian around the affected block (I can afford 1 block of space around the broken block to be used, destroyed or modified however needed), but I'd like obsidian to be on the list of breakable blocks too... It also very frequently destroys the drop which would otherwise survive normal breaking - this isn't a disqualifying problem, but it's still somewhat undesirable.   Also, spawning a piston and powering it up would break some blocks, but only some.  Java Edition, 1.13.2, PC.

I want to break blocks far away (e.g. A piece of glass 50 blocks away) with commands, but I don't know if there's any way.  Is it possible to break a block (literally break a block, which means with sound & with particles) with a command? Or should I use the /particle /sound and /fill command to "break" the block? (/particle will create the glass-breaking particle, /sound will play the glass-breaking sound, and the /fill command will fill the glass with air.)


I am teaching English online and we have this activity in which we ask a student to formulate questions from a sentence. The sentence is      There was an error in the client's invoice.   So the question is expected to be     Where was there an error?    The answer should be      There was an error in the client's invoice.   What would be a simple yet clear explanation why where is the appropriate question and not what?   Note: this is my first time asking here so I'd appreciate refinements in the way I'm asking.

In my mother tongue I can use the word where not only to describe something connected to a location, but also to substitute in which.   My question is: Is it correct to use where in a sentence like this?       Describe a situation where you had to show leadership.   Or it would be better to use in which instead?


I have a shell script:  #!/bin/bash for name in /home/imp/imp/msgs/$1.PK1; do     mv "$name" "${name%.PK1}.BRD" 2>/dev/null >/dev/null done for name in /home/imp/imp/msgs/$1.PK2; do     mv "$name" "${name%.PK2}.MIX" 2>/dev/null >/dev/null done   It works, but only on pre-existing files. What happens, is that more *.PK1 and *.PK2 are created after the initial scan. I'd like this script to "loop" and rename the files that are created afterwards. Is this possible?  UPDATE:  This is what I have now:  #!/bin/bash  while [ ! -z "$(ls *.PK1 *.PK2 2>/dev/null)" ]; do  for name in /home/imp/imp/msgs/$1.PK1; do     mv "$name" "${name%.PK1}.BRD" 2>/dev/null >/dev/null done for name in /home/imp/imp/msgs/$1.PK2; do     mv "$name" "${name%.PK2}.MIX" 2>/dev/null >/dev/null done sleep 1; done   Is that correct?  Thanks.

I have seen .      You should consider using inotifywait, as an example:  inotifywait -m /path -e create -e moved_to |     while read path action file; do         echo "The file '$file' appeared in directory '$path' via '$action'"         # do something with the file     done    My question is that, the above script watches a directory for creation of files of any type, but how do I modify the inotifywait command to report only when a file of certain type/extension is created (or moved into the directory) - e.g. it should report when any .xml file is created.  WHAT I TRIED:  I have run the inotifywait --help command, and have read the command line options. It has --exclude <pattern> and --excludei <pattern> commands to EXCLUDE files of certain types (by using regEx), but I need a way to INCLUDE just the files of a certain type/extension.


I can't see deleted files in the recycle bin. It looks empty but the desktop icon is 'full'.  If I have the recycle bin open when deleting a file I can see it appearing in the bin for two seconds, but after that the file disappears. Are they any solutions to fix it? Thanks!  I already scanned the computer. No viruses ... everything is OK.

The icon shows that it's full. I just deleted stuff, so I know that it's full. But when I open it, it doesn't show the deleted items. The only option I have is to restore them or empty them.  Help me out. It's VERY VERY important for me to fix this problem since I use this workstation for my studio purposes.  P.S. It's a Windows 7 Ultimate (x86) machine.


Why is empty set subset of every other set? I have read a lot of articles on this topic but I didn't got answer. Most of them goes like this that for set A to be subset of B there must be no element in A which is not in B, since A is empty set it has no element at all so, A Is subset of B. But I can use this reasoing to prove it wrong also. As for A to be subset of B , A must have element which are also in B since A is empty set there are no element so intuitvely A cannot be subset of B. I am confused.

Recently I learned that for any set A, we have $\varnothing\subset A$.  I found some explanation of why it holds.     $\varnothing\subset A$ means "for every object $x$, if $x$ belongs to the empty set, then $x$ also belongs to the set A". This is a vacuous truth, because the antecedent ($x$ belongs to the empty set) could never be true, so the conclusion always holds ($x$ also belongs to the set A). So $\varnothing\subset A$ holds.   What confused me was that, the following expression was also a vacuous truth.     For every object  $x$, if $x$ belongs to the empty set, then $x$ doesn't belong to the set A.   According to the definition of the vacuous truth, the conclusion ($x$ doesn't belong to the set A) holds, so $\varnothing\not\subset A$ would be true, too.  Which one is correct? Or is it just a convention to let $\varnothing\subset A$?


I have created vm instance in gcloud. And setup firewall rule to allow connection from port 5000.I added network tag to my vm instance.  But if i test the connection by teneting to port 5000 I get      telnet: Unable to connect to remote host: Connection refused   Content of netstat -lnp

This is a  about Connection Refused    We see a lot of questions to the effect      When I try to connect to a system I get a message      Connection refused      Why is this ?


I have 2 PCs at different locations: 1 at work & 1 at home.  The 1st PC is at home and it is a server and the 2nd PC is my work(client) PC.  At home I have setup VPN incoming connection on windows 7 and at work I am able to connect to my home VPN server via windows VPN Connections.  Problem I am facing is: When on my work PC I check my IP address via ipaddress.com, it doesn't show me IP of VPN server. How can I make it show that?

right now when I connect to my VPN, my internet is served from my home router, but any requests for xxx.xxx.xxx.xxx i.e. my works ip range are served via the vpn connection I believe.  How can I force all traffic to the vpn?


On Stack Exchange sites, I keep seeing answerers use "OP" to refer to the person who asked a question. I can't seem to find any enlightenment online as to what it means.

What are the common phrases, words, abbreviations that are used on Stack Overflow, Server Fault, Super User, Meta Stack Overflow, and the other Stack Exchange sites? This is meant to be a very quick overview, not an in-depth tutorial. When considering whether a term ought to be included, please use this test:  New user comes in and posts on day 1. What terminology or jargon are they likely to run into (comments, support, system messages, etc.) that cannot be understood from the context without prior experience with the site (that is, clear only if known). For example: "This is a dupe. Flag a diamond mod to close or migrate to SU." Huh? Can these instruction be made clear from the glossary? Is it clear for those for whom English is a second language?  Please:  Edit the existing answer Insert relevant links to more detailed information on the term/phrase/abbreviation Add only factual information Keep it very, very brief, terse, and to the point Delete your own comments once they become irrelevant (integrated into the glossary) Use the Edit Summary box to note reasons for your edit, not comments  Please avoid:  Opinion Using abbreviations, terms, and phrases inside a description Unverified information Uncommon terms, abbreviations, phrases Long descriptions Unnecessary detail - link to the relevant FAQ instead Citations or examples of usage Inside jokes that are not common on all of the trilogy () Common Internet jargon (that is, , , , etc.) unless usage here differs significantly  Recurring discussion: While the experiment to keep meta-discussion in the comments is going well (that is, deleting them once consensus is reached) it is clear that some discussions will be recurring, and we'll have to keep a record around so people new to the glossary can understand the consensus already reached. Add a new answer if you believe a new issue is likely to come up repeatedly. For instance, discussion about what terms to include, whether the glossary should be broken up to make linking easier, or formatting issues might be best discussed in new answer/comment posts.


I am trying to capture remote host traffic via jumphost from a Windows machine and display in Wireshark.  When PUTTY GUI is used and configured as below   Created and saved SSH session (bastion-host) for the jumphost   Connection --> Data --> Auto-login username configured Connection --> SSH --> Auth --> jumphost private Key file for authentication configured  Created and saved another SSH session (target-host), where traffic capture will happen   Connection --> Data --> Auto-login username configured Connection --> Proxy --> Proxy hostname configured as proxy and port 22 Connection --> Proxy --> Telnet command or local proxy command as plink "bastion-host" -agent -nc %host:%port Connection --> SSH --> Remote command as "sudo tcpdump -i ens5 -w - not port 22" Connection --> SSH --> Auth --> target-host private Key file for authentication configured  Load and open saved session (target-host)   Result is   I can see traffic being captured and displayed on windows PUTTY terminal. And "tcpdump" is actually executed on target-host.   At this stage, I don't know how to redirect this to Wireshark.  Next and this is what I am trying to achieve, execute above setup via command line. Below is the complete command   plink.exe -proxycmd "putty.exe -ssh <username>@<jumphost-address> -i <private-key-file> -agent -nc <target-host>:22" -ssh <target-username>@<target-host> -i <target-private-key> "sudo tcpdump -ni ens5 -s 0 -w - not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -   Wireshark pops up but no traffic captured as I can't see "tcpdump" command getting executed on .  To confirm plink works, I tested similar command on a directly accessible host and everything works. Wireshark pops up with live traffic capture.  plink.exe -ssh -pw <password> <username>@<my-host> "/usr/sbin/tcpdump -ni ens192 -s 0 -w - not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -   So, I reckon something is wrong with the way I am using plink command.  Appreciate if someone can help me to rectify it.  Thanks  OS: Windows 7 Enterprise, 64 bit   PUTTY: Release 0.70

I (Host A - Windows based using plink) am trying to connect to a remote linux server (Host C), through a gateway linux server (Host B), and run this tcpdump on Host C to be piped all the way back to Host A (through Host B I assume), and opened, in real time, with Wireshark on Host A:  Below is what I saw as the command when not using a gateway ("direct remote fetch").  So, how would I make this work going through my gateway host B scenario above?  Host A$ plink.exe -ssh -pw abc123 root@Host C "tcpdump -s0 -U -n -w - -i eth0 not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -


For example in  shows changes I did not make, attributed to my suggested edit. I did not change contents of database examples (Qty columns). Similarly, I did not add "(with how many times it occured)". Same thing happened while editing  (revision 2). See .  That is a bit problematic, as it now attributes those changes to me.  Did I do something wrong, is that a bug in stack exchange, or should it work that way?

I just made some minor edits to the text of .  I didn't edit the tags at all.  When I completed my edits, my edit showed as:    Now, I think those tags were present before I started my edit, and so were probably slipped in by the OP in their edit grace window.  I have no problem with that tagging, but I don't like seeing edits attributed to me that I didn't make.  So, what the heck?


Definition of "condensed nearest neighbour", at training time it chooses the c "best" training examples (where c is a hyper-parameter), and at test time uses the usual KNN prediction but based only on these c training examples.   So far, I looked-up many references and websites and researched on how to determine if a method is between parametric or non-parametric. I came up with below definitions,     A parametric algorithm has a fixed number of parameters. In contrast, a non-parametric algorithm uses a flexible number of parameters, and the number of parameters often grows as it learns from more data.   From .  Moreover, I found,     A parametric model, we have a finite number of parameters, and in nonparametric models, the number of parameters is (potentially) infinite.    From .  My question is, why do we count it as a Parametric model?

I looked-up many references and websites and researched on how to determine if a method is between parametric or non-parametric. I came up with below definitions,     A parametric algorithm has a fixed number of parameters. In contrast, a non-parametric algorithm uses a flexible number of parameters, and the number of parameters often grows as it learns from more data.   From .  Moreover, I found,     A parametric model, we have a finite number of parameters, and in nonparametric models, the number of parameters is (potentially) infinite.    From .  And many other methods of determination, though the problem is none of them can helo ones to determine if a certain hypothetical method is parametric or not. (For instance, why k-means' number of parameters are constant but KNN is variable or basically what do we call a parameter and what we do not?)


Before I store data into SQL Server FileTable, I need to know or verify that the FileTable exists in the database, then only I can add the records to FileTable.   If FileTable is not enabled or added to Database then I want to store the data in the BLOB. Anybody can help me with a stored proc which can tell me weather the Filetable exists in the database?

I would like this to be the ultimate discussion on how to check if a table exists in SQL Server 2000/2005 using SQL Statements.  When you Google for the answer, you get so many different answers. Is there an official/backward and forward compatible way of doing it?  Here are two possible ways of doing it. Which one among the two is the standard/best way of doing it?  First way:  IF EXISTS (SELECT 1             FROM INFORMATION_SCHEMA.TABLES             WHERE TABLE_TYPE='BASE TABLE'             AND TABLE_NAME='mytablename')     SELECT 1 AS res ELSE SELECT 0 AS res;   Second way:  IF OBJECT_ID (N'mytablename', N'U') IS NOT NULL     SELECT 1 AS res ELSE SELECT 0 AS res;   MySQL provides the simple   SHOW TABLES LIKE '%tablename%';    statement. I am looking for something similar.


Prove using the epsilon-delta definition?   $\lim \limits_{x \to 2}\frac{1}{x} = \frac{1}{2}$  $|f(x)-L|<\epsilon$  $|\frac{1}{x}-\frac{1}{2}|<\epsilon$  $-\epsilon<\frac{1}{x}-\frac{1}{2}<\epsilon$  $-\epsilon+\frac{1}{2}<\frac{1}{x}<\epsilon + \frac{1}{2}$  Any tips on how do I continue from here?

I'm starting  and finally decided to learn how to write epsilon-delta proofs.  I have been working on chapter 5, number 3(ii). The problem, in essence, asks to prove that     $$\lim\limits_{x \to 1} \frac{1}{x} = 1.$$    Here's how I started my proof,     $$\left| f(x)-l \right|=\left| \frac{1}{x} - 1 \right| =\left| \frac{1}{x} \right| \left| x - 1\right| < \epsilon \implies \left| x-1 \right| < \epsilon |x|$$   I haven't made any further progress past this point. Is it possible to salvage this proof? Should I try an alternate approach?


The problem being:    an answer to a problem that works on my "machine" may not on yours, and what works on yours may not work on Person C's; etc...   I'm wondering therefore whether it would be more relativistic - ergo accurate - to simply use upvotes, and dispense of the notion of an "accepted" answer?    For those interested in context,  that prompted my question.  (apologies if this question has already been discussed and/or concluded, I did search for existing threads but found none).

What does it mean to accept an answer? How do I accept an answer, and what are the rules? Can I accept my own self-answer? What are the reputation benefits? Which answer should I accept? Should I upvote the accepted answer? What should I do if none of the answers are suitable?      For more information, see "" in the .


I have a 2-class problem involving many features. Does a linear support vector machine (SVM) classifier only take into account the values of these features and nothing more? Does it see the relationships between the variables? For example, does it work like this: if feature number 80 is "0", then feature 2: needs to be over 0.2 for class 1 and if feature number 80 is "1" then feature 2: needs to be over 0.8 to be in class 1? Does it do it with many variables at once, and do the values of other variables influence how the SVM is influenced by other variables?

I understand the basics of what a Support Vector Machines' aim is in terms of classifying an input set into several different classes, but what I don't understand is some of the nitty-gritty details. For starters, I'm a bit confused by the use of Slack Variables. What is their purpose?  I'm doing a classification problem where I've captured pressure readings from sensors I've placed on the insole of a shoe. A subject will sit, stand, and walk for a couple of minutes while pressure data is recorded. I want to train a classifier to be able to determine whether a person is sitting, standing or walking and be able to do that for any future test data. What classifier type do I need to try? What is the best way for me to train a classifier from the data I've captured? I have 1000 entries for sitting, standing and walking (3x1000=3000 total), and they all have the following feature vector form. (pressurefromsensor1, pressurefromsensor2, pressurefromsensor3, pressurefromsensor4)


I want to shrink my /home to about 15G, and then extend my / to fill up that remaining space.  How can I do this?  In GParted, I can't seem to shrink /home because there is no free space after it I assume  The same goes for extending /

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?


How can I use the desktop trash can to remove icons in Xenial Ubuntu Linux?

In Ubuntu 14.04 Unity places Computer, Home and Trash icons on the desktop. I've tried using Unity-Tweak to remove them but they're still there. How can I remove them?


Unlike the browser version, when I tap on "edited X minutes ago" in the Android app, nothing happens (instead of sending me to the edit history page).  How do I see edit history in the Android app?

Basically this suggestion for the Android app:   Many times I'll see that a post has been edited on the Android app. I'll want to see exactly what was edited, and the Android app doesn't show this. Can the revision history be added to the Android app?


As a very confused newbie, what's up with the IF statement and [ ], [[ ]], ( ), (( )) why is if [ $jengnr -eq 1 ]; then  correct, but here it's double: if [[ -f "$jdir$object.eng.dat" ]]; then  and then I read that a nested if inside an if should be (( )) (not my code) #!/bin/bash # Nested if statements if [ $1 -gt 100 ] then echo Hey that\'s a large number. if (( $1 % 2 == 0 )) then echo And is also an even number. fi fi  but I used [[ ]] in an if statement that was inside an if [[ ]] statement, and that worked to? Can somebody please explain what, who and why there are 4 different if? .. and when to use them correctly?

I am a little bit confused on what do these operators do differently when used in bash (brackets, double brackets, parenthesis and double parenthesis).  [[ , [ , ( , ((   I have seen people use them on if statements like this :  if [[condition]]  if [condition]  if ((condition))  if (condition)


When I type sudo apt update I get this response:   Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,242 B] Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                    Hit:3 http://dl.google.com/linux/chrome/deb stable Release                      Err:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F Hit:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease     Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease                         Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:9 http://archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F W: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F W: Some index files failed to download. They have been ignored, or old ones used instead.   I've try to use sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 76F1A20FF987672F to fix it, but noting is fixed:  gpg:keyserver receive failed: No data   How can I fix this? I uninstalled wine last week; have I not fully uninstalled it?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


If $p$ is a prime then what is the value of the series    $$\cos\frac{2\pi}{p}+\cos\frac{4\pi}{p}+\cos\frac{6\pi}{p}+\dots +\cos\frac{(p - 1)\pi}{p}$$ In general what is the value of the following series   $$\cos\frac{k\pi}{p}+\cos\frac{2k\pi}{p}+\cos\frac{3k\pi}{p}+\dots +\cos\frac{2\frac{(p - 1)}{2}k\pi}{p}$$

How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? For example here is the sum of $\cos$ series:  $$\sum_{k=0}^{n-1}\cos (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \cos \biggl( \frac{ 2 a + (n-1)\cdot d}{2}\biggr)$$  There is a slight difference in case of $\sin$, which is: $$\sum_{k=0}^{n-1}\sin (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \sin\biggl( \frac{2  a + (n-1)\cdot d}{2}\biggr)$$   How do we prove the above two identities?


This was one of the problems in a math contest in India. This is how I tried it: Subtracting the second equation from the first one gives $a^2-b^2=bc-ca$ or $(a-b)(a+b)=c(b-a)$. $a-b=-(b-a)$. Therefore a+b has to be -c. Thus all integers satisfying the condition $a+b=-c$ are such that $a^2=bc+1$ and $b^2=ca+1$. Also if $a-b=b-a,$ it means $a=b.$ Then both $b-a$ and $a-b$ are $0.$ Hence $c$ can thus be any integer. Hence, there are two groups of integers satisfying the required condition $-a=b$ with any $c$ and $a+b=-c.$ Please let me know whether my solution is correct or not.

Find all integers  $a$,$b$ and $c$ that satisfy the following equations  $a^2=bc+1\tag{i}$  $b^2=ac+1\tag{ii}$    I tried solving came out with following results:  $(i)-(ii)$ gives $a+b+c=0$ which implies, $a^3+b^3+c^3=3abc$  Multiplying equation $(i)$ with $a$ and multiplying equation $(ii)$ with $b$ and then subtracting $(i)-(ii)$ we get  $a^2+b^2+ab=1$ which can be written as  $(a+b)^2-ab=1$ , which can be further written as $c^2-ab=1$.


I love TeX Gyre Pagella, and use it and the corresponding math font like so:  \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math}   However, $U$ and $\mathcal U$ are typeset too similarly for my taste:   Since the problem just affects a single calligraphic letter, does anybody have a suggestion for what I might replace $\mathcal U$ with (from the same font or a different one)?  Edit regarding the : It does in part answer my question. In particular, it answers how I would go about making the replacement I ask for. I am, however, also asking for a suggested replacement, which I think makes my question slightly different. egreg's comment is a nice such suggestion.

Is there a general way to change the font of a particular symbol without switching packages?  For example, suppose I'm using Computer Modern for my entire document, but I want the "subset" operator to look as it does in mathabx.  How can I redefine it to appear in this way?


It's well documented that spherical electromagnetic waves doesn't actually exists. However, most textbooks just brings this concept without any formal demonstration. So, for a spherical wave equation solution $$\psi(r,t) = \frac{A}{r}e^{i(kr\mp\omega t)}$$ How would someone be able to make a proof that doesn't satisfy a EMW (or any transversal wave). I know that the hairy ball theorem can be used, but i don´t know how viable it would be to consolidate this qualitative approach.

I see this sort of statement in many materials, for example :     The smallest radiating unit is a dipole, an electromagnetic point source.   and :     The simplest infinitesimal radiating element, called a Hertzian dipole…   However, none of them includes a clear explanation. Why a dipole, which is consist of 2 charges? Isn't a single non-uniformly moving charge enough?