Is it important to have an anti-virus application running on your phone or does the carrier protect it?

I use my phone like I do the computer.  Shopping online with a credit card etc.  Surfing unknown sites... Does my phone require an anti-virus application to protect the internal drive of my phone? Can it be damaged by a virus like on a computer?  OS: Android 4.1.1 Phone: Samsung Galaxy S3


Tab name completion for comments please!

I find I'm doing the Unix / name completion thing where I type a few letters of the username and hit tab when I'm entering comments.  Please consider adding a bit of JavaScript code that:   When focus is on a comment input box When tab is pressed If the preceeding 'word' is 'like' a username in the comment list or post then complete the name (else, tab to the next tab-able element as per normal)


How can I distribute a standalone Python application in Linux?  I think I can take for granted the presence of a recent Python interpreter in any modern distribution. The problem is dealing with those libraries that do not belong to the standard library, i.e. wxPython, scipy, python cryptographic toolkit, reportlab, and so on.  Is there a working Linux counterpart to, say, py2exe (which, by the way, I have never tried)? Is there a free, opensource one?


How do I reuse the last output from the command line?

I'd like to know how to reuse the last output from the console, ie:  pv-3:method Xavier$ python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" /Library/Python/2.6/site-packages pv-3:method Xavier$ cd **LASTOUTPUT**


Why isn't python 3 the default python binary?

I type python in a terminal window. I get Python 2.7 and not Python 3.5. According to the docs, Python 3.5 should come preloaded.


Generate a file of a specific size using Java's File

I have a Java test which uses File as follows to access a file:  File localFile = new File("/path/to/my/file/file.txt");   Because Im referencing a file in a particular location I must have that file in my project or the test will fail. Is there any I can generate a File of a specific size as part of my test?   thread uses RandomAccessFile but I don't think that's what I'm looking for.


One of my friend got job and I want to tell this news to my other friends. How should I say it? He is selected for a job. He was selected for a job. He has been selected for a job.


How to compute this limit: $\lim_{x\to\infty}x\left(\frac 1e-\left(\frac x{x+1}\right)^x\right)$?

I tried to compute a limit: $$\lim_{x\to\infty}x\left(\frac 1e-\left(\frac x{x+1}\right)^x\right)$$ What I've done is that: $$\begin{align} &\lim_{x\to\infty}x\left(\frac 1e-\left(\frac x{x+1}\right)^x\right)\\ =&\lim_{x\to\infty}x\left(\frac 1e-\left(\frac x{x+1}\right)^{x+1}\left(\frac{x+1}{x}\right)\right)\\ =&\lim_{x\to\infty}\left(1-\frac 1{x+1}\right)^{x+1}x\left(1-\frac{x+1}{x}\right)\\ =&-\frac1e \end{align}$$ But Wolfram|Alpha seems not to agree with me, in which it gave $$-\frac1{2e}$$ So what actually does the error come from in my approach? And how should I compute the limit? Thanks in advance.


Prove that $\det Df\equiv 0$ if $g\circ f \equiv 0$

Let $f:R^n\to R^n$ be a smooth function and $g:R^n\to R$ $$g(x_1,\dots,g_n)=x_1^5+\dots+x_n^5$$ Assume that $g\circ f\equiv 0$. Prove that $\det Df\equiv 0$.  The only idea I have is to apply the chain rule $d(g\circ f)_p=dg_{f(p)}\cdot df_p$, where each term is the corresp. matrix of partial derivatives. Then since $g\circ f=0$, $d(g\circ f)_p=0$ for any $p$. But this doesn't imply that either of the two matrices on the RHS is zero. Is it still true that the determinant of one of them is zero? Why do we need the explicit form of $g$?


Travelling from Busan to Hanoi with EU passport. Do I need to show flight ticket out of Vietnam?  Departing Busan, arriving in Hanoi.  I have an EU passport (Swedish). Do I need to show a flight ticket out of Vietnam at either of the airports? My plan is to fly to Hanoi and then take a bus out of the country. I do not need a visa as I have visa free entry for 14 days. But the question is if I need to show anything but the one way ticket to Hanoi.  Vesa


Earlier today, I purchased 2 put options on GME. The opening price was around $295. The price dropped $30 in 45 minutes to below $265. Why am I not making any money? I looked at all of the put option contract prices and all of them say a loss of 10% today. Please explain.


Properties of the multiplication table of $\mathbb{Z}_m$

For which $m$ do all occurrence of 1 lie on the diagonal of the multiplication table of $\mathbb{Z}_m$?  I was think i have got a prove and find all the $m$ is $1,2,3,4,6,8,12$ and $24$. but after a while, there is a bug in my prove.   suppose $m>10$ and $<10$ part is too simple first $m$ cannot be odd, or $(2,m)=1$ and there is x such that $2x\equiv1\mod{m}$, so $x\ne2$ for $m>10$ and this will against the 1 lie on diagonal.  if $(3,m)=1$, then $3^2\equiv1\pmod{m}$, then $m\mid8$ impossible too. so $3\mid m$.  if $(5,m)=1$, using the same strategy, $m|24$, with $m>10$ verify $\mathbb{Z}_{12}$ and $\mathbb{Z}_{24}$ is a solution. so we just consider $5\mid m$.  I also verified $7\mid m$, so $m=210\cdot Q$, $Q\in\mathbb{N}$.  then, if $x\in\mathbb{N}$ and $x<\sqrt{m}$, that is $x^2<m$, so $x^2\not\equiv1\pmod{m}$....  so how to continue...


What is the origin of "man on the spot"?

What is the origin of "man on the spot" ?   defines on the spot and uses as an example man on the spot.     on the spot -  at the place in question; there; "they were on the spot when it happened"; "it had to be decided by the man on the   spot" (Emphasis added)   Some evidence suggests that the origin of the phrase refers to decisions made by officials of the past British empire and actions taken by them.


How to Blacklist Google analytics in Firefox's NoScript?

I get the yellow warning bottom bar of NoScript all the time I see that Google Analytics is blocked.  I do not like this behaviour because it disturbs. I would like to have Blacklist but I do not find it in settings, similarly as you have Whitelist.     How can you blacklist Google Analytics in Firefox's NoScript?


Find out which app is making notification sounds?

I've got a samsung galaxy tab 8, and a few days ago it started making a notification sound but with no notification banner.. I don't know what app is doing it and I didn't install anything around the time in started..  Is there a way to trace this back to the source app somehow?  Thanks


I want to write this simple equation in latex        2/|w|   In which |w| is the norm of w,,  I tried with         \frac{2}{\|w\|}   And get error "Missing $ inserted"  then I use this     \frac{2}{$\|w\|$}   And still get same error..  Does someone know how to solve this problem??


Magic card has clear deformity, options?

I recently pulled a  from a Kaladesh booster box, and placed it into a deck I was working on. When playtesting the deck with some friends, I noticed a card with a clear visual marker on the card on the top of my deck. When I pulled it my next turn, it was my Padeem I had recently obtained.   Its a very, very clear marker, a white oval on the backside of the card. If it was on the front, I would just live with it, but I don't want to bring these cards to a LGS event and get accused of marking my cards, or having one of my friends always know whats in my hand. The frontside of the card is completely clean.   Do I have any options here? Can I get a refund or sell this type of card to someone who collects misprints? Am I just going to have to fill in the circle, and hope its not noticeable?


Run two commands in two "virtual consoles" in the same detached screen

I am running ubuntu 16.04 server.  I'm basically making a script to do the following when the system boots:   Open a new screen in detached mode Run a command in this screen Open a new "window / virtual console" in the same screen (ctrl - a - n) Run another command in this "window"   When I connect to the screen after logging into this machine, i need to be able to ctrl-c a command running within the screen without the screen destroying itself.  Here is what I've tried so far:  screen -md -S name command   This works ok, except if the command finishes the screen destroys itself  screen -md -S name bash -c "command"   this just doesn't work and I don't know why  screen -md -S name bash --rcfile <(echo 'command')   Not quite sure (again) why this doesn't work.  screen -md -S name bash --rcfile scriptThatRunsCommand   This does exactly what I want for the first part, but I still do not know how to run another process in a new window of the screen  Basically all I need is to be able to run something else in a new "window" of this screen  I'd assume that there is a command built into screen that can do this, but I have not been able to find any documentation or online advice. I would also assume that whatever screen command would be used for this would have to also run bash --rcfile so I would be able to ctrl-c back to the prompt in the screen "window."  Whatever command does this can run from within the screen on the first "window" before my command runs or can run from outside the screen. Either is acceptable.


How to install updates via command line?

When I log into my web server via SSH I see the information:  88 packages can be updated. 80 updates are security updates   I tried apt-get update then apt-get upgrade but each time I log in I still see the message about updates. How do I install them?


I found a stronghold, searched for more than an hour, but I CANNOT FIND THE END PORTAL!

In minecraft I use eyes of ender to locate a stronghold, but when I got there, there where only useless rooms and caves where cutting through it making it difficult to navigate, and me and someone else both searched for more than an hour but could not find the end portal. I threw eyes of ender inside the stronghold to try to find the portal room but that did not work. I am running out of eyes of ender, inventory space, and weapons. I managed to get more stone pickaxes by finding the library and wrecking the walls and using cobblestone I already have. I am playing in a server where ANY cheating is untolerated, so spectator or getting the world seed is not a choice. I did find some weird rooms that you have to wreck blocks to get in. I am running out of options.  How should I proceed?


I am just learning probability in my Discrete Structures class and am very lost. This is the example given in the book and I have no idea how to solve this problem.   Problem: Suppose one in 1000 people have a certain disease. Suppose medical testing is not perfect (as is the case in real life) and consequently, only 99% of the people with the disease are tested positive. Suppose 2% of the people who don’t have the disease also test positive. What is the probability of actually having the disease, given someone tests positive?  Things I do know:   People with disease = 1/1000 Tested positive with disease = 99/100 People tested positive who don't have disease = 2/100   I'm not sure where to got from here with the information that I know. What are the next steps?


The Zero Electricity Air Cooler : How does it work?

I have seen from a  and a  where they said that, temperature can be reduced by reducing the area where the air passes. But what theory can explain it more precisely? I guess this could be an example of Bernoulli's principle, but I failed to related the temperature with it. Will the process work always ? I mean is there any drawback?


Eigenvalue decomposition of $A = I - xx^T$

Let $A = I - xx^T$, where $x \in \mathbb{R}^n$ and $I$ is the identity matrix of $\mathbb{R}^n$  We know that $A$ is a real symmetric matrix, therefore there exists an eigenvalue decomposition of $A$ such that  $$A = Q^T\Lambda Q$$   Is it possible to find $Q$, $\Lambda$?  $I - xx^T = Q^TQ - xQ^TQx^T = Q^TQ - (Q^Tx)^T(x^TQ)^T...$


How can I ensure a manage.py does not run multiple times at once?

I have a system where a cron job is used to drive a manage.py command every minute.  The trouble is, the job can sometimes take longer than a minute, and it's not safe for two instances of the command to run at once.  Is there a good way to make the command detect if another instance of itself is already running and exit early? Is there a better way to achieve the same end?


I'm trying to convert  to EPSG:3857, but when I run:  gdalwarp -of GTiff -s_srs epsg:4326 -t_srs epsg:3857 -co "tfw=yes" original.tif converted.tif   I just get a black TIF do you know what I am doing wrong?  Command output  > gdalwarp -of GTiff -s_srs epsg:4326 -t_srs epsg:3857 -co "tfw=yes" original.tif converted.tif Creating output file that is 4088P x 4105L. Processing input file original.tif. Using band 2 of source image as alpha. 0...10...20...30...40...50...60...70...80...90...100 - done.


Background color of Stack Overflow questions

Why is the background of some questions light orange and some white?


Solving System of equations and L-U decomposition of matrices

I just read about the L-U decomposition method to decompose matrices to upper and lower triangular ones. And I saw some examples of solving systems of equations using this method. My question: with what conditions can we safely use this method to solve the system of equations? For example should the coefficient matrix be necessarily a square matrix? In other words when can one write the matrix $A$ as $LU$ ?


If $X=\{x_n\}, Y = \{y_n\}$ be bounded sequences of real numbers. Then, if $x_n \leq y_n~\forall~n$, then $\lim \inf (x_n) \leq \lim \inf(y_n)$

If $X=\{x_n\}, Y = \{y_n\}$ be bounded sequences of real numbers. Then, if $x_n \leq y_n~\forall~n$, then show that $\lim \inf (x_n) \leq \lim \inf(y_n)$ and $\lim \sup (x_n) \leq \lim \sup (y_n)$  Attempt: $\lim \inf (x_n)$ represents the least limit point in $X$ and $\lim \inf(y_n)$ represents the least limit point of $Y$.  Given that,  $~\forall~m, x_m \leq y_m, $  I am still not able to see any compulsion why the least limit point of $x_n$ should be less than the least limit point of $y_n$.  That is, for each index $m, x_m \leq y_m$. But, that doesn't place any restriction on the least limit point of $x_n$ becoming greater than the least limit point of $y_n$?  Where could I be going wrong?   Thank you for your help.


Can SQL columns update automatically based on criteria in other tables?

I have an excel workbook that I would like to implement in SQL.  The workbook has three sheets:   Sheet 1 is Options Sheet 2 is Data Sheet 3 is Results   In Excel, the results sheet performs an index match with three criteria and returns values (matches) from the data sheet. Two of the three criteria are on the options sheet, the other on the results sheet.  1) Can SQL columns update based on criteria in other tables and can it do it automatically as the values in the other tables change?  2) Can SQL match data across multiple columns so that results look like the data below.  Hopefully the Dummy Data below helps explain things.    Thanks  Karen


$A_n$ is generated by 3-cycles given $n\geq 3$. Is this proof correct?

The elements of $A_n$ is either of the form $(a,b,c,...)...$ or of the form $(a,b)(c,d)...$  In both cases, the element is a product of an even number of transpositions, not pairwise disjoint in the first case. I thought I would just show that any product of two transpositions is a product of two 3-cycles.  Consider the first case and let $\sigma = (v_1,v_2)(v_2,v_4)$ be one of the several products of two transpositions. Since $\sigma = (v_1,v_2,v_4) = (v_1,v_4,v_2)(v_1,v_4,v_2)$ showing that the product of two $\textit{not}$ disjoint transpositions is a product of two 3-cycles. Since the elements from the first case are all odd cycles, they can be expressed as a product of an even number of transpositions $\textit{not}$ pairwise disjoint. Thus the argument presented above could be done with all pairs of transpositions for the entire cycle.  Consider the second case and let $\sigma = (v_1,v_2)(v_3,v_4)$ again be one of the several products of two transpositions, this time disjoint. Clearly $\sigma = (v_1,v_3,v_2)(v_1,v_3,v_4)$, so I have shown that the product of two disjoint transpositions is a product of two 3-cycles. The elements from the second case are products of an even number of disjoint transpositions, so this second argument could be done for all those pairs.  This should cover all possible cases of elements in $A_n$ and thus it's generated by 3-cycles.  EDIT#1: Changed the argument to account for products of transpositions which are not disjoint.


Get pixel value of ImageWMS that has geotiff format

I have layer (ImageWMS that has GeoTIFF format) and also OSM or another for my baselayer. According to  I should get pixel[0] and pixel[1] and pixel[2] to calculate height . But I have an image layer and when clicked on image layer I received pixel values of base layer not image layer. So I added filter to my codes for showing just image layer's pixel value but console show me (NON). How can I find the pixel value of image layer or better way for calculate height from image layer (raster layer .tiff)? Here is my code : const UnTiled = new ol.layer.Image({         opacity:0.9,         title:'UnTiled',         source: new ol.source.ImageWMS({             ratio: 1,             url: 'http://localhost:8080/geoserver/world/wms',             params: {                      'VERSION': '1.1.1',                     "STYLES": '',                   "LAYERS": 'world:world',                   "exceptions": 'application/vnd.ogc.se_inimage',             }                    })                    });map.addLayer(UnTiled);  map.on('singleclick', function(evt) { map.forEachLayerAtPixel(     evt.pixel,     function (layer, pixel) {       var height =         -10000 + (pixel[0] * 256 * 256 + pixel[1] * 256 + pixel[2]) * 0.1;         console.log(height)     },     {       layerFilter: function (layer) {         return layer === UnTiled;       },     }   ); })


Which commands to convert a Ubuntu BIOS install to EFI/UEFI without boot-repair on single boot hardware?

Accidental BIOS mode install  I have Intel 64-bit hardware with UEFI setup utility. Ubuntu 14.04.1 LTS was  installed as the only operating system on the only drive attached. Accidentally Ubuntu was installed in BIOS/CSM/legacy mode.  Convert to UEFI  While later on learning about UEFI, the goal is to change this existing Ubuntu installation to (quicker) boot via EFI/UEFI. I do still want to have some kind of - 2 seconds displayed - boot menu that allows me to enter the UEFI setup utility. Therefore I think I do need use Grub (can't use an EFI boot stub) and . I have already re-partitioned the drive using a Live CD and inserted a 200 MiB EFI partition in the beginning of the drive and marked that fat16 formatted partition as type id 0xEF.  Before:  # fdisk -l /dev/sda ...    Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   108478463    54238208   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris   After:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *      411648   108478463    54033408   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda3            2048      411647      204800   ef  EFI (FAT-12/16/32) /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris  Partition table entries are not in disk order   No boot-repair please  The Ubuntu community wiki suggests to use boot-repair to . I don't want to use a GUI, or install any extra packages, and I don't want any data being accidentally sent to pastebin.com and because I do want to know what will be changed exactly, I don't want to use .  Under the hood  Trying to figure out what boot-repair actually does, I found this snippet:     Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi, if gpt partitioned.   source:   UEFI mode install comparison  A clean Ubuntu 14.04.1 installation in UEFI mode creates a 512 MiB Fat32 formatted EFI partition. That partition contains one directory /EFI/ubuntu, containing 4 files: grub.cfg, grubx64.efi, MokManager.efi and shimx64.efi. The grub.cfg contains:  search.fs_uuid 7d843e47-3917-4114-8725-55dfa1fbe002 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg   Search.fs_uuid points to the UUID of the Linux installation partition, in this comparison UEFI installation Linux is installed partition /dev/sda2 (versus sda1 in BIOS mode installation).   No potential Asrock firmware issues found  Having CSM still disabled in firmware and using the clean UEFI mode Ubuntu installation. Resizing the 512 MiB EFI partition to 200 MiB using a Live CD and gparted results in that its formatting changes from FAT32 to FAT16. The Asrock firmware P1.50 (incorrectly called BIOS by AMI in boot message "BIOS date") is still able to boot into UEFI mode Ubuntu: UEFI+FAT16 = ok. (msdos) using the same Live CD terminal command gdisk and its commands r g p w also results in a UEFI bootable Ubuntu on an MBR partitioned drive: UEFI+MBR = ok.   Question  Does this mean that the only commands I do need to execute - from the legacy Ubuntu install and in this order - are:  # apt-get install grub-efi # apt-get remove grub-pc   ? Or is more needed to be done?


Which packages is installed by default in Ubuntu?

How to determine whether a given package is shipped by default in Ubuntu installation or it's installed later by the user?!  The  says:     To figure out if a package (Tor here) is installed by user, run this   in terminal:  apt-cache show tor | grep Priority       if the priority was optional,   The package was installed by user, If was standard (important on   Debian ) it's a default installed package.   While a simple test for example ubuntu-desktop  $ apt-cache show ubuntu-desktop | grep Priority   gives:  Priority: optional   Then I could say this is not a proper way.  So how to determine whether the package is shipped by default or not?


Presheaf which is not a sheaf -- holomorphic functions which admit a holomorphic square root

I'm thinking about a problem in Ravi Vakil's algebraic geometry notes  (Exercise 3.2B) and I'm having trouble with the second part of the exercise as my understanding of complex analysis is quite rudimentary.   If to every open set $U\subset \mathbb{C}$ we associate the ring of holomorphic functions which admit a holomorphic square root, this defines a presheaf on $\mathbb{C}$ (I can see this).   Apparently however this is not a sheaf -- supposedly it fails to satisfy the gluing property.   To prove this, we need to take an open cover $\{U_i\}$ of some open $U\subseteq \mathbb{C}$, a holomorphic function $f_i:U_i\to \mathbb{C}$ for each $i$ which has a holomorphic square root (i.e. there exists a holomorphic function $g_i$ for each $i$ such that $f_i(z)=g_i(z)^2$ for all $z\in U_i$), which all agree nicely on the intersections of the various open sets, but such that it is impossible to find a holomorphic function $f:U\to \mathbb{C}$ with a holomorphic function which restricts to $f_i$ on each $U_i$.   Any help would be great -- my problem is in showing that such a function cannot exist.


Proving the AM-GM inequality for 3 variables

I was able to prove the AGM inequality for four variables, however when asked to prove it for 3 I don't understand how to correctly do it.  $\sqrt[3]{xyz} ≤ \frac{x+y+z}{3}$   But I'm supposed to solve it using the AGM inequality for four variables, with $w = \sqrt[3]{xyz}$  Step by step would be really helpful.


well there's some maniac who is downvoting my post, don't he/she owe an explanation to me


Shell: is it possible to delay a command without using `sleep`?

Are there any substitutes, alternatives or bash tricks for delaying commands without using sleep? For example, performing the below command without actually using sleep:  $ sleep 10 && echo "This is a test"


beginner coding question about end of this code

What does the last part of this code do exactly? Also why is self.name equal to name? here is the code below: class Shark:     def __init__(self, name):         self.name = name      def swim(self):         print(self.name + " is swimming.")      def be_awesome(self):         print(self.name + " is being awesome.")  def main():     sammy = Shark("Sammy")     sammy.be_awesome()     stevie = Shark("Stevie")     stevie.swim()  if __name__ == "__main__":   main()


How to calculate $\frac{1}{2i\pi}\int_c|1+z+z^2|^2dz$?

Let c denotes the unit circle centered at the origin in C then $\frac{1}{2i\pi}\int_c|1+z+z^2|^2dz$ where the integral is taken anti clockwise along C equals  0  1  2  3 I tried this by considering the properties of the complex numbers $|z|^2=z\bar{z}$, by considering $z=Re^{i\theta}$ and by substituting $z=x+iy$ but i didn't get how to solve this


ssh to remote machine using shell script

I want to ssh to remote machine within shell script but remote machine require password. How should i provide password in my script?  I tried below but its not working. Please suggest  #!/bin/bash SSH <hostname> <password>


I'm facing this problem with my laptop. Ubuntu is installed alongside Windows 10 and when I press "Enter" at startup it's not showing the Ubuntu Grub menu! I'm new to this OS and noob!  Can anyone help me? Also, I tried to add a new entry with EasyBcd, and not working! Please help! Edit: Well i found a solution for this problem! So • first open your BIOS and Go to System Configuration > BOOT Options > Os Boot Manager • Then select ubuntu by pressing arrow keys • Then press F5 or F6 (Just look for bottom of your pc screen and look for "Change Value" ) • Now save & exit 🙂


Solving the complex equation $(1+z)^5=z^5$

I must to find $z\in\mathbb{C}$ such that: $\boxed{(1+z)^5=z^5}$ Is the following equivalence correct? $(1+z)^5=z^5\Leftrightarrow 1+z=z$ If this is not correct, how can solve this problem?


What point of application of force ensures more acceleration in a rod?

Suppose there is one rod and a force F is applied in two cases: Case 1: exactly at the middle on center of mass Case 2: at one end of rod   In which case would the center of mass of rod be accelerated more? Or would acceleration of its center of mass be the same in each case? I have worked towards this and found case 2 would impart a greater acceleration. I just want to check my answer and see if I am making a mistake here.(The question just came into my head and I don't have any source to check the answer from) $$My$$ $$solution:$$ In case 1 the rod would undergo a translational motion and C.O.M. would get an acceleration of $F/M$. In case 2 the rod would rotate about its other end and a torque would act which would be equal to $Fl$. Equating this to $I\alpha$ we get $\alpha$ = $3F/Ml$ and since C.O.M. is at $l/2$(rod is of uniform density) acceleration would be equal to $3F/2M$. Is my solution and thinking correct?


For an oscillating string that is clamped at both ends (I am thinking of a guitar string specifically) there will be a standing wave with specific nodes and anti-nodes at defined $x$ positions.   I understand and can work through the maths to obtain the fact that the frequency is quantised and is inversely dependent on $L$, the length of the string, and $n$, some integer.  If I pluck a guitar string, this oscillates at the fundamental frequency, $n=1$. If I change to a different fret, I am changing $L$ and this is changing the frequency. Is it possible to get to higher modes ($n=2$, $n=3$ etc)? I don't understand how by plucking a string you could get to 1st or 2nd overtones. Are you just stuck in the $n=1$ mode? Or would the string needed to be oscillated (plucked) faster and faster to reach these modes?


Book wherein humans were most dangerous/aggressive of numerous species

I recall there were two warring alien empires, one of which was led by a race that could telepathically inflict pain on others, but when they tried to do it to humans, it would backfire. something about human's animal instincts being much closer to the surface than the other species.  Humans made the most aggressive and dangerous fighters, so both empires tried to reruit humanity, since the other races involved in the war were fairly monolithic and sided all with one empire or the other. Humanity was all splintered though.  The empire led by the telepathic race claimed that everyone in it was equal but in reality the telepathic race was in charge.


Is the boundary of a connected set connected?

SOLVED - check out the comments or directly this .  I was wondering if the boundary of an unbounded component $C$ of the complement of a bounded connected open set $U$ must be connected (in $\mathbb R^n, n\geq 2$).  As the complement of $C$ (i.e., the sum of $U$ and the bounded components of its complement) is connected, the answer is positive if the following claim is true:     A connected open set $A$ in $\mathbb R^n$ $(n\geq 1)$ has disconnected complement if and only if it has disconnected boundary.   There is a proof , but one crucial step seems false (see below). I'm looking for a correct proof (or a counterexample, but I hope it is true).    I had two doubts about the proof mentioned - one of them is the above probably false step and the other is already solved:   Why can we join $x$ and $y$ through the complement of $A$? We would need something like connectedness of interior of this complement, wouldn't we? UPDATE: YES, see below. Why this homotopy cannot exist? UPDATE2: solved, see below.    Update: The statement about joining $x$ and $y$ seems false: even if $A$ and its complement are connected and the boundary is connected with $x,y \in \partial A \cap \partial\mathrm{int} (\mathbb R^n \setminus A)$, it is not true, that we can join $x,y$ by a curve in $X\setminus A$. It is enough to consider a  in the plane with closed balls attached to its different path-components, and take $x$ and $y$ at the boundaries of these balls.  Note that we can improve this example so that any point in the boundary of $A$ is in the boundary of interior of its complement - so the assumption about regular openness of $A$ proposed in the  doesn't help.  Update2:  The argument for non-existence of the homotopy trivialising the loop can be derived from the tricky function proposed by Dejan Govc in  to the original question (in the part entitled "Added"). The loop composed with this function is a nontrivial loop in $S^1$, so the original loop also is nontrivial, a contradiction.


Should I use static_cast or reinterpret_cast when casting a void* to whatever

Both static_cast and reinterpret_cast seem to work fine for casting void* to another pointer type. Is there a good reason to favor one over the other?


If we attach two voltage source of same value than what happens? I mean what's the difference between using a single voltage source and two same valued voltage sources in parallel? As they both supply same voltage in the circuit.


A ring is commutative if the solution of $ab=ca$ is always unique

Gallian 12.8: Show that a ring is commutative if $ab=ca \implies b=c$ when $a\neq 0$.   It's an odd statement. I tried to approach the problem by proving it directly or by contradiction, but I honestly got nowhere. Looking forward to some hint.


Hey guys i am wondering if it is possible to edit grub at ubuntu 13.04 to show option to boot from live iso image on the hard drive ?, also to show option to boot to ubuntu at same time sure.


Microsoft Office alternative for Windows?

Is there something similar to Office for Windows but free? I am student living on a budget, Office is not an option at the moment.


How to generate executable of java project in eclipse

I am trying to make an executable file of my Java Application but I don't know how to do that.  I know how to generate an executable jar file, but I want to make an executable application.  I'm using eclipse indigo to make the java application and to generate the jar file.  How to make the executable?


The cookie consent dialog (coming from cookielaw.org) keeps popping up

Recently, every time I hit a new page in stackexchange, whether it be the list of questions in a given forum, or a specific question, I am getting a pop-up like this:   Your privacy By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Accept all cookies Customize settings  I am able to click "accept" and it will go away, but it comes back as soon as I reload the page or view a new topic.  UMatrix shows it's a script from cdn.cookielaw.org and that it's trying to set a 3rd-party cookie. My guess is that since I'm blocking 3rd-party cookies and scripts, it just keeps trying. Given how bad we know 3rd-party cookies are, and how they are used to violate privacy, track people across sites, etc., why on Earth would Stack Exchange do this?


Is a 3:2 ratio the best fit when submitting content to a site?

I want to allow my site's users to submit content for consideration/review. Does a cover photo of a 3:2 ratio fit in well with all screens? Is it what can be considered consistent? What is your best advice/recommendation?


What is the Gravitational force between 2 bodies, when their centres of mass coincide?

According to Newton's Universal Law of Gravitation,   $F=G{\frac{Mm}{r^{2}}}$, where   $M$ and $m$ are the masses of the two bodies,   $F$ is the force of attraction between them,   $r$ is the distance between the centers of the 2 masses, and  $G$ is the Universal Gravitation Constant.    However, if the distance between the centers of the 2 bodies is $0$, i.e., their centres of mass coincide with each other, we would have $r = 0$.  Putting this in the formula would give,  $F = G\frac{Mm}{0^2}=G\frac{Mm}{0} = \infty$  Maybe, an example of this can be, when a terrestrial body is taken to the center of the Earth.     How can this be true? And if yes, how can this be practically explained? Isn't gravity supposed to Become $0$ at the earth's core?


A connected graph with n vertices has at least n-1 edges

Prove that a connected graph with n vertices has at least $ n-1 $ edges.   Prove by M.I: we know that deg(v) $\ge1$ for all vertices v, since the graph is connected. Then either deg(v)$\ge 2$ for all v, or there exists one vertex with degree 1. How do I actually show this desired result. Any help is appreciated.   Step 1: Let n=1, then there are 1-1=0 edges. True  Step 2: Show that a connected graph with n+1 vertices, it has n+1-1 edges. I need help on this part. Do I need to use the summation of degree (v)= 2 times the number of edges?


Can anyone teach me how to convert a light activated switch into  dark activated switch vice versa.


Probability of asymmetric random walk returning to the origin

Consider the random walk $S_n$ given by $ S_{n+1} =  \left\{   \begin{array}{l}     S_n+2 & \text{with probability $p$}\\     S_n - 1 & \text{with probability $1-p$}   \end{array} \right. \ $  Assume that $S_0 = n >0 $. What is the probability of eventually reaching the the point $0$?  Seems that the probability for this must be less than one; since it is not symmetric, it is not guaranteed to reach the origin if $p>0.5$. It also seems like the positive starting value not being at the origin matters too, but I'm not sure how to compute the probability of eventually reaching the origin.


What rules are there for when you have three sets of quotation marks?  “I saw that Julia was really annoyed when Mike answered, “‘Blade Runner,’”” John said.  (‘Blade Runner’ in singles. Mike answered in doubles. John said in doubles.)  “I saw that Julia was really annoyed when Mike answered, ‘“Blade Runner,”’” John said.  (Mike answered in singles. “Blade Runner” in doubles. John said in doubles.)  Rewriting might help a little.  “When Mike answered, “‘Blade Runner,’” Julia looked really angry,” John said.  (Mike answered in doubles. ‘Blade Runner’ in singles. John said in doubles.)  Basically, I’m wondering whether you alternate, or start small and get bigger until you can’t get any bigger.   The conventions may vary according to British or American usage, so please state which one you are refering to.


My skin changes back to default when I join mini-games in servers

To upload my skins, I go to the Skindex, click upload and change from minecraft.net. I've never had any trouble doing this until 3 days ago...  My skin changes perfectly fine when I join some servers, but when I join a mini-game, like in  or other servers with mini games, my skin changes back to default. It remains that way when I exit the mini-game too! On some servers, my skin won't change at all. It stays default. Why is this? I've tried downloading the skin and then uploading it to minecraft.net. But that doesn't help... I've tried different skins too. They all go back to steve. I can't wear any skins...


Glossaries: vertical aligment of acronyms' long names

How can I vertically align entries in my acronyms' list? I use the Glossaries package to generate it. Here is MWE:  % !TeX program = xelatex % !TeX encoding = utf-8 % !TeX spellcheck = ru_RU  \documentclass[12pt, a4paper]{article}  \usepackage{polyglossia} \setdefaultlanguage{russian} \setmainfont[Ligatures=TeX]{Times New Roman}  \usepackage[xindy={glsnumbers=false}, nonumberlist, nopostdot, nogroupskip]{glossaries} %\setglossarystyle{super} % uncomment for style "super" \makeglossaries  \begin{document}  \newacronym{bam}{ДАП}{Двунаправленная Ассоциативная Память} \newacronym{ai}{ИИ}{Искусственный Интеллект} \newacronym{am}{АП}{Ассоциативная Память} \newacronym{ann}{ИНС}{Искусственная Нейронная Сеть} \newacronym{an}{ИН}{Искусственный Нейрон} \newacronym{it}{ИТ}{Информационные Технологии} \glsaddall  \printglossaries  \end{document}   With the default style I have the following:  As you can see, the long names are not vertically aligned. What I want can be achieved with the    \setglossarystyle{super}   But it this case, short names lose the BOLDness, some small horizontal indent appears and the spacing between lines becomes smaller:  where RED is some extra indent, which I don't need. Thank you for your answers!


Can a black hole form due to Lorentz contraction?

Possible Duplicate:          Imagine, a rod of length L is moving with velocity approaching the speed of light with respect to a human observer on Earth. Due to Lorentz contraction, the rod will observed to be very short. And since all laws of physic hold true in every frame of references, the gravitation law which state the force acting is inversely proportional to square of distance between them, will be acting between various part of the rod. Now, as velocity approach c , L will approach 0. This should cause an enormous gravitational force enough to form a black hole. Isn't this suggesting a black hole can be formed when the object velocity comes near the speed of light?   According to the rod's frame of reference, it will see itself as stationary and a man who observe it is moving, so according to the rod, the human must be a black hole. Isn't this a paradox?


There are certain quest series (like Nabbed from Nuka-World) that have the "Limited Time" Tag. When do they expire?


mysql how to select all and exclude one column from table

i have a table name users and i want to download to csv file by a query, but i dont want to select a password column in table users.  i am new to sql that to fresher, please any one help me.  below is my query  function get_all_partnerships_to_download() {          $this->db->select('*');         $this->db->from("$this->_users_table");         $this->db->join("$this->_user_profile_table",  "$this->_user_profile_table.user_id = $this->_users_table.id");         $this->db->where("$this->_user_profile_table.participate_as_id", 3);         $this->db->group_by("$this->_users_table.id");         $this->db->distinct();          return $this->db->get($this->_table);      }


Pose Mode: How to reset transformed armature to its rest position?

I got a problem with pose mode.  Like the heading says, I haven't found yet a possibility to reset the already transformed armature so that it exactly does look like the rest position (though it is still in pose position).   Is there any kind of shortcuts or tricks to do that?


ALT Codes work in Word... but inproper anywhere else

I have a strange problem: I am using Windows XP and ALT Codes (e.g. ALT+0151 for emdash) work in Microsoft Word, but not anywhere else (e.g. Editor). In all applications but word any ALT Code only results in the last pressed digit (e.g. ALT+0151 results in ☺ which is the same as ALT+1) no matter how fast or slow I type.  I think this is a very odd problem --- does anyone have an idea about why this might be? I realize that this might be a tricky question without more specifications, but this is all I know. ☺  Thank you for any ideas you might have!


Partial correlation vs conditional correlation?

I have been taught about the partial correlation coefficient.   I later read that there is alao such a thing as a conditional correlation coefficient, and that these are not the same.  What is the difference between the two?


Deleted the SSD part of my SSHD (Hybrid HDD) accidentally

I accidentally deleted my SSHD's SSD partition. It's connected as RAID. I don't know why, but one day it was shown like AHCI (still RAID in BIOS settings). I thought it was my 16GB flash drive and I deleted it in Ubuntu.  My main OS is Windows 10 and I don't know if my SSHD is working properly (SSD caching). Is there a way to understand if it is caching in SSD like I did that mistake before?


I have got a stored procedure which has five parameters. I want to include them in where clause as follows   If parameter is not null then include it in query as an IN clause   That is, parameter value can be like 'Test' or 'Test,Best' etc. I'm converting this comma seperated values into table using function in SQL.  I tried to use COALESCE(@test,test_column) = test_column but i'm unable to include IN clause here (What if @test = 'Test,Best').  So, i want to do something like mentioned below  DECLARE @param varchar(max) = 'Test,Best';  Select * from table where CASE when @param is not null then table.column in (@param)   Any suggestions please.


How to set a different working directory when executing a script?

I want to execute a python script from a certain directory and want to change the working directory for the execution without cd-ing in the shell or script. Is there a way to do this with the regular Python 3 interpreter? Say I'm in the directory cwd and there is a script baz.py in a sub(sub)directory that I want to execute. cwd/foo/bar/baz.py  Is it possible to tell the interpreter to use any directory among cwd, foo, bar (or anywhere else in the filesystem) as the working directory where the script is executed? IDEs can do this in run configurations, what's the simplest way to achieve it without actually cd-ing into the other directory? EDIT: I know how to change the directory from within the script, but I'm looking for a way to tell the interpreter where to execute it without modifying the script itself.


Google Pagerank (PR) History and Next Upcoming Updates

As you may know Google updates PageRank roughly 4 times a year, out of interest and not for ranking purposes I often check when the next incoming update is. I do this by searching various sites and finding out the history, Well since I'm a regular on Pro Webmasters I thought I'd ask the question and provide the answer for myself and others webmasters alike.   So the question is simple, what is the last updates and when we can expect another Google Page Rank (PR) Update.   UPDATE: Still no Google Pagerank update yet - very late.


If there is no cycle through $e$ and $g$, then all paths go through the same vertex

Suppose there is no cycle that goes through edges $e$ and $g$.  The question is to prove that for every path that begins at one of the vertices incident to $e$ and and ends at a vertex incident to $g$, that there exists some vertex $u$ that is always on that path.   My work:  Pick the edge closest to beginning vertex such that $e$ and this edge, call it edge $f_{j-1}$ (connection $v_{j-1}$ and $v_j$) do not form a cycle on the graph $G$.  Then using this cycle and a path joining a vertex on the cycle to one of the vertices $v_{j+1}, \ldots, v_n$, construct some contradiction by creating a cycle with edge $f_j$.   Any thoughts?


Problem Statement     If $F(z)$ is analytic in a domain $D$, is $\overline{F(\overline{z})}$ also analytic in $D$?   My Try  Suppose that $F(z)$ is analytic in a domain $D$.  It follows that $F$ is differentiable at each $z \in D$.  I know that the partial derivative $$\frac{\partial F(z)}{\partial \overline{z}} = 0,$$ since $F$ is differentiable at each point $z \in D$. What I am having trouble with is how to get an expression for $F(\overline{z})$.  Question     Of course, I cannot conclude at once that $\overline{z} \in D$ also holds.  Or can I?  Is this even the correct approach to the problem?  If not, how do I solve this conundrum?  Hints will be most welcome!


I want to get an array length,  I try to use by function, But in the function, I get array length is worry, the operation result is 2, Who can help me do this.  #include <stdio.h> #define GET_ARRAY_LEN(array,len){len = (sizeof(array) / sizeof(array[0]));}  void print_arry(int *nums){         int i;         int len;          GET_ARRAY_LEN(nums, len);         printf("%d\n",len);          for (i=0; i<len; i++)                 printf ("%d ", nums[i]); }  int main() {         int nums[]={ 2,7,3,11,15 };         int target = 9;          print_arry(nums);         return 0; }   But this is right, I don't where it is wrong.  #include <stdio.h>  #define GET_ARRAY_LEN(array,len){len = (sizeof(array) / sizeof(array[0]));}   int main() {         int nums[]={ 2,7,3,11,15 };         int target = 9;         int len;          GET_ARRAY_LEN(nums, len);         printf("%d\n",len);          return 0; }


Self-Adjoint Operators Basis of Eigenfunctions

I encountered the following statement in the context of the Hecke algebra on the space of cusp forms, left without proof:  Let there be a family of commutative self-adjoint operators on a finite dimensional vector space $V$. Then there exists a basis of $V$ consisting of functions which are eigenfunctions for all the operators.  I would appreciate a proof of this, as elementary as possible, or a reference. I only know basic functional analysis and no spectral theory so I don't know where to start.


Question about computing $5^{64} \pmod{193}$

How to compute $5^{64} \pmod{193}$?  My idea was:  $5^{64} = (5^4)^{16} \equiv 625^{16} \equiv 46^{16}\pmod{193}$.  Now I don't understand why it's $46^{16} \equiv (-7)^8 \equiv 49^4 \equiv 85^2 \equiv 84 \pmod{193}$.  How to get it here and how can the power be reduced?


Am I allowed to buy a cheap flight one way for 15$ just so that i can get through security in order to use duty free. Is that legal? And am I allowed to leave the airport without boarding my flight. If so, is there a way for me to cancel so that the flight wont wait for me?


Both an area light and an emissive polygon can be used to create lights. What is the difference between the two?


Sorting strings by a substring in Python

I have a list of strings in python that looks like this:   Name number number 4-digit number   How can I sort it by the last number?


I am traveling from Delhi to London to Chicago to Pittsburgh via British Airways. I have a terminal change at Chicago airport and have a 2-hour window to do so. Will my immigration take place in Chicago or in Pittsburgh? Moreover, if I miss my flight, will the carrier British Airways provide me another flight to Pittsburgh or will it be my responsibility.


Android 4.2 - how execute shell command on system boot?

How do I do that? I have root access and the it's a custom build of AOSP project.


Python: 'float' object is not subscriptable

I'm trying to map some non numerical values in a pandas dataset that contains information from passengers that were on the Titanic. Right now I'm trying to map the ports where passengers embarked from. There are 3 ports and I'm trying to map them by adding a column for each port. 0 if they embarked from that port 1 if not.  I tried doing something similar with sex. I added another column with a 0 if the sex was male and 1 if the sex was female. That worked, but when I try doing this with the ports I get a "'float' object is not subscriptable" error.  import pandas as pd #opening the data train_path = #path to data set passengers = pd.read_csv(train_path)  #creating a copy passengers_copy = passengers  #mapping sex passengers_copy['SexBin'] = [0 if x[0] == 'm' else 1 for x in passengers_copy['Sex']]  #trying to map the first port passengers_copy['EmbarkedS'] = [0 if x[0] == 'S' else 1 for x in passengers_copy['Embarked']]


Combinatorics-number of permutations of $m$ A's and at most $n$ B's

Prove that the number of permutations of $m$ A's and at most $n$ B's equals $\dbinom{m+n+1}{m+1}$.  I'm not sure how to even start this problem.


Sum up the series: $\sum_{k=1}^{\infty}ka^k(1-a) = \frac{a}{1-a}$

How can I show that     $\sum_{k=1}^{\infty}ka^k(1-a) = \frac{a}{1-a}$   I tried to integrate the series, but that did not help me.


PuTTY shortcut using target: How to specify port?

I'd like to create a shortcut for connecting to my web server + logging in on Putty. The following has always worked for me but I recently have gotten a new web host that connects with a port other than the default 22, thus my normal target line doesn't work anymore:  "C:\Program Files\PuTTY\putty.exe" <user>@<host> -pw <password>   How do I to specify the port?


what is the difference between a blackhole and a point particle

Theoretically, What is the difference between a black hole and a point particle of certain nonzero mass. Of-course the former exists while its not clear whether the later exists or not, but both have infinite density.


Which is the best way to check for the existence of an attribute?

Which is a better way to check for the existence of an attribute?   provided this answer:  if hasattr(a, 'property'):     a.property   I see that it can also be done this way:  if 'property' in a.__dict__:     a.property   Is one approach typically used more than others?


Enable "Install via USB" without creating MI Account

I am trying to create some apps on my xiaomi smartphone (MIUI 8), but when I try to run an app, the error INSTALLATION_CANCELED_BY_USER appears. I found that the problem is that I must enable the "Install via USB" option from developer settings. When I try to do so, I get a screen that says I have to login/signup with an MI account in order to enable this option, which is something I am not willing to do. So, I have 3 questions:   Why did they make it neccessary to provide an account for enabling an option like this? Is there any way I can bypass the MI login screen and enable the option?  The reason I don't want to connect my phone to an MI account is that I am concerned about personal data being uploaded. Is it a logical concern?


In Cantor's Diagonalization Argument, why are you allowed to assume you have a bijection from naturals to rationals but not from naturals to reals?

Firstly I'm not saying that I don't believe in Cantor's diagonalization arguments, I know that there is a deficiency in my knowledge so I'm asking this question to patch those gaps in my understanding.   From my understanding of Cantor's Diagonalization argument, if you apply diagonalization to a mapping from one set of numbers to another, you will always obtain a number that is not in the mapping. So this works to prove that the reals aren't countable because if you have a mapping from the naturals to the reals then you can use diagonalization to obtain a number that's not in the mapping, and this number is a real obviously, so the mapping isn't a surjection. We're not allowed to assume that the mapping from the naturals to the reals is a bijection to begin with.   But when people explain why the diagonalization process doesn't produce a rational from a mapping from naturals to rationals we are allowed to assume that the mapping is a bijection to begin with? In the questions asked here:    The answers says:      To be precise, the procedure does not let you guarantee that the   number you obtain has a periodic decimal expansion (that is, that it   is a rational number), and so you are unable to show that the   "diagonal number" is a rational that was not in the original list. In   fact, if your original list is given explicitly by some bijection,   then one is able to show just as explicitly that the number you obtain   is not a rational.   Why are we allowed to assume that the original list is a bijection? Is there some way to prove that the mapping from the naturals to the rationals is a bijection that is not susceptible to diagonalization? If we can assume that the mapping from naturals to rationals is an undiagonalizable bijection why can't we do the same for the mapping from naturals to reals?


I am programming a Python script, which takes a mesh from a external tool and adds it to the blender scene.  I transmit a texture and the mesh, and it actually works. But I have trouble with the UV coordinates.  The external tool handles the uv-coordinates per halfedge. This results in multiple uv coordinates for a vertex but all referencing the same texture. This is used for hard seams in the texture.  Now I need to reproduce this using Blender. How do I achieve this?  Using the bmesh module I can iterate over the loops of the mesh, but I don't know how to utilize this for my purpose.  Is there a halfedge support in Blender? Or can I set multiple UV-coords per vertex for one texture on a mesh?  Thank you for your help!  Greetings, Dragonseel


How to turn a pdf into a text searchable pdf?

I have a number of scanned documents in pdf and I want to be able to search them. How can I do that?  Essentially I have to OCR the pdf and then blend the extracted text back into a new pdf. I have unsuccesfully tried a number of different solutions (including the ones found in ).    (which gives me this issue: )  (of which the software center says it is a poor package and I should not install it) OCRfeeder (in the software center) exports to odt nicely, but does not react when exporting to pdf.   exports an all black (but searchable) image as reported . I don't think Pdfxchange viewer can handle doing ocr on the fly on files over 500 pages.   Is there a software package I am unaware of? Or a script that does this?


Computing $\lim_{n \to \infty}\frac{| \sum_{k=1}^n (-1)^k \sqrt{k}|}{\sqrt{n}}$

We are asked to compute $\lim \limits_{n \to \infty} \displaystyle\frac{| \sum_{k=1}^n (-1)^k \sqrt{k}|}{\sqrt{n}}$  This appears to converge to $0.5$ by numerical evidence . I tried squeeze theorem but to no avail.


Let $f$ be differentiable on $\Bbb{R}$ and let $\lim_\limits{x\to \infty}f(x)=\lim_\limits{x\to -\infty}f(x)=0$. Prove there exists $a\in \Bbb{R}$ such that $f'(a)=0$.  Attempt: If $f$ is constant we are done. Otherwise, $f$ is not constant. Suppose there is no such $a$. Then, in particular, $f$ has no extremum $\implies$ $f$ has no point where is goes from increasing to decreasing or from decreasing to increasing. $f$ is continuous since it is differentiable. Hence, since $\lim_\limits{x\to \infty}f(x)=\lim_\limits{x\to -\infty}f(x)=0$, $f$ must be constant. A contradiction. Therefore either $f$ is constant and $f'(x)=0$ everywhere, or $f$ has an extremum at $x=a$ and $f'(a)=0$.   I feel like my attempt is not formal enough, any correction?  I would appreciate your help.


I use  addon to create characters and I don't get materials when I import in Unreal Engine 4.13. I am beginner user in Blender and Unreal Engine and I searched the solution how can I export to Unreal Engine that all material will imported in Unreal Engine.  I found that I must use UV things and reproduce colors and after save as png file. But, there is no way to export materials in fbx without change something?  There is no compatible versions? For example blender 2.70 and unreal engine 4.11 or something like that?


How to handle null value number DataWarehouse

I have a question.  I'm developing a Data Warehouse, I retrieve the data from my reconciled level, this in order to keep updated my Data Warehouse, but i am not sure how to handle some numeric fields that have a null value.  I was thinking to replace it with some special numeric value like -1 for example, that never appear in my column list. But during the analysis process this value replaced by -1 they must not be considered.  Now my question is, is better leave the null numeric field to null, or replace it with some numeric value?


i installed ubuntu 20.04 on my pc and now i can't connect to wi-fi i tried a lot of things to change it but still


How to center elements in a fixed position element

I want to make a plus sign for adding notes for a notes-app.  I made a circle that is position fixed, so that it is always visible.  I want to then make two lines that make a plus-sign, and center these lines.  This is the code:   #note-add {   position: fixed;   background: rgb(189, 28, 175);   width: 75px;   height: 75px;   bottom: 0;   right: 50%;   border-radius: 50%;   margin-bottom: 30px; }  .lines {   position: relative;   background: red;   width: 30px;   height: 5px;   margin: 5px 0px; }  #line2 {   transform: rotate(90deg); }

    Please tell me how to do center the plus sign to the fixed-positioned circle.  Thank You!


Null exception pointer in Java not working when trying to add objects into list

I have the following function in a class named cache_level which extends the linked list class.:  @SuppressWarnings("unchecked") public boolean addObject(Object O) {     System.out.println(O);     if(O != null)        {                boolean x = getObject(O);         int I = 21;         if(x == true && size() == cacheSize) //if object is found and size of list is full         {              remove(O);             addFirst(I);             cacheHit++; //increment to show we found the object         }         else if(x == true && size() != cacheSize)//found but not full         {             addFirst(I);             cacheHit++;         }            else if(x != true && size() == cacheSize) //item not found but list full         {             removeLast();             addFirst(I);         }         else  //item not found and list not full         {             addFirst(I);         }             return x;     }     else      {         System.out.println("NULL OBJECT WAS FOUND");         return false;     } }      and I have a function in main which uses a scanner to read a text file.:  File file = new File(filename); Scanner fileScan = new Scanner(file); String line = ""; String token = "&";  while ((fileScan.hasNextLine()))  {                line = fileScan.nextLine();      Scanner lineScan = new Scanner(line);     //System.out.println(token);     while (lineScan.hasNext())      {         token = lineScan.next();         //System.out.println(token);         List.cacheAdd(token); //goes to cache class and initiallizes         //System.out.println(token);     }      lineScan.close(); } //System.out.println("CACHE WAS CREATED");       fileScan.close();   and for some reason that is giving me a NullPointerException and so far everyone I have talked to has no idea why that is happening. I have a class named Cache, which initializes cache_level. Reading the text file seems to be okay as I can print out the contents being stored into token but whenever I try to add it into the list, it gives me an error.


I have a list of class instances -   x = [<iteminstance1>,...]   among other attributes the class has score attribute. How can I sort the items in  ascending order based on this parameter?  EDIT: The list in python has something called sort. Could I use this here? How do I direct this function to use my score attribute?


how to use fetch data using post method in ajax and jquery

I am able load the data using RESTclient(POST Method only) in FireFox. but while development i am not able to load the data in jquery or ajax using post method.  URL is,   can anyone help me. ?  Thanks in Advance. :)


Third-Person Possessive Pronouns in Dual Possessives

I understand the rules for dual possessives, but I was writing and I realized that I have no idea how the following sentence should be written.  She and Kevin's house is big.  or  Her and Kevin's house is big.  Normally for a dual possessive, if there is joint possession (two people owning one thing), only the last noun takes the possessive form, but the first sentence sounds and reads awkwardly. Is it actually correct?  The pronoun seems to be the source of the confusion, as I would have no trouble choosing between the following:  Kim and Kevin's house is big. Kim's and Kevin's house is big.  The first would be correct because the house belongs to both Kim and Kevin, so only the last noun, "Kevin", takes the possessive form. Does the same rule apply when one of the nouns is a pronoun, or is there a different rule in such cases? Can someone help me out, please?  Note: I realize that there are similar discussions already:     However, these questions only discuss the proper formation of the first-person pronoun in such cases (i.e., "I" vs. "my"). I'm interested in the rules for correctly forming the third-person pronoun.


I can't seem to open an .xls format file from Salesforce printable view in Mac Numbers

Is there a way to view the "printable view" (.xls) in Mac Numbers (version 2.3+) rather than Excel? I am using OS X (Maverick), Numbers (V3.0) and both Safari and Firefox.  When I save a Salesforce report using the "printable view" button, it saves it as an .xls file but when I open it in Numbers I get what looks like the XML code behind it, for example the first cell in the first three rows contains:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head>


Image uploads from the editor strip preceding line breaks

Recently, using the image uploader in the post editor has starting stripping preceding line breaks; placing the image directly after any previous text instead of at the current cursor position. This means that the inserted image is placed inline as part of the previous line of text rather than in a new paragraph as it did previously...  Before inserting the image (note the cursor position):        After inserting the image:        This also happens after the Markdown for a horizontal rule, which destroys the rule and gives us a bunch of hyphens followed by an image instead:        Seems the behaviour is a bit inconsistent... Sometimes I get the behaviour shown above and sometimes it leaves a single newline, I'm not sure when or why but single line breaks are ignored in Markdown so the rendered result is the same regardless.  Obviously it's useful to be able to have inline images, but I'm pretty certain most images aren't intended to (and shouldn't) be.


How can I switch between versions of an installed package with apt-get?

On 12.04, I have the latest version of Ocaml (4.01) installed with all the dependencies. I'm trying to install Coq, which depends on an older version (3.12) of the ocaml-base-nox runtime (via a virtual dependency). Running apt-cache policy ocaml-base-nox gives the following output:  ocaml-base-nox:   Installed: 4.01.0-1ppa4~precise   Candidate: 4.01.0-1ppa4~precise   Version table:  *** 4.01.0-1ppa4~precise 0         500 http://ppa.launchpad.net/avsm/ppa/ubuntu/ precise/main amd64 Packages         100 /var/lib/dpkg/status      3.12.1-2ubuntu2 0         500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages   Ok, shouldn't be a problem, right? I just need to switch my version to 3.12 to install/use coq, then I can switch back to 4.01 when I need the newer version. It's not clear to me how to do this. After a little googling I tried the following:  $ sudo apt-get install ocaml-base-nox=3.12.1-2ubuntu2 Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   camlp4 camlp4-extra ocaml ocaml-base ocaml-compiler-libs ocaml-interp ocaml-native-compilers   ocaml-nox The following packages will be DOWNGRADED:   ocaml-base-nox 0 upgraded, 0 newly installed, 1 downgraded, 8 to remove and 0 not upgraded. Need to get 596 kB of archives. After this operation, 205 MB disk space will be freed. Do you want to continue [Y/n]?   It seems like it's going to remove my entire Ocaml stack, which I'll probably have to reinstall from scratch to use again. Furthermore, most of what I use Ocaml for (the mirage unikernal project) requires 4.0 or higher.  So, what, if any, is the correct way to switch between package versions? Is there a way I can force apt-get to install something without uninstalling anything?


What journals do not allow open access to published material?

An increasing number of funding organizations require publications on the research that they fund to be open access, i.e. available to the public without having to subscribe to a journal or pay a fee. Does anybody know where I can find a list of journals/publishers that do not allow material that they publish to be published this way?


How would I import/export Blender's preferences?

I constantly stay up to date with each new release of Blender, but this means my preferences are wiped clean each time. How do I export/import these preferences to avoid loosing my carefully crafted set up each time?


Using the alpha bibliography style, citations are sorted by the citation key. I'd like to use the same style of authors-year citation keys (e.g., [CP92]) but have the bibliography sorted by the first author's lastname instead of alphabetically by the citation key itself. This would keep the same papers by the same first author together.  For example, alpha would produce the following sorted order:        [Cha81] D. Chaum. Untraceable...   [CL04] J. Camenisch and A. Lysyanskaya. Signature...   [CP92] D. Chaum and T. Pedersen. Wallet...      Whereas, abbr would produce the following sorted order:        [1] J. Camenisch and A. Lysyanskaya. Signature...   [2] D. Chaum. Untraceable...   [3] D. Chaum and T. Pedersen. Wallet...      I am looking for the same sorting as abbr but maintaining the citation key style of alpha.  Is there a way to achieve this hybrid style?


What is $\operatorname{Aut}(\mathbb{Z}_2\oplus \mathbb{Z}_2)$?

I am pretty sure that this has been asked before, but I can't find it. My question is what  $$ \operatorname{Aut}(\mathbb{Z}_2\oplus \mathbb{Z}_2) $$ is. (Here $\mathbb{Z}_2\oplus \mathbb{Z}_2$ is the (external) direct product).  My thinking is that this would be isomorphic to $\mathbb{Z}_3$ since $\mathbb{Z}_2\oplus \mathbb{Z}_2$ has three elements of order $2$, so there are three choices for where to send an element of order $2$.


What is the correct way to implement IDisposable in C#?

I am trying to implement a iDisposable class in c# but the examples in msdn and stackoverflow do not works for me.  And im running a console application in visual studio 2012 framework 4.0  am I missing some using or what?  public class Foo : IDisposable {     public void Dispose()     {         Dispose(true);         GC.SuppressFinalize(this);     } }   I am following this examples (hyperlinks dont works for me, dont know why):


In this sentence, the noun savings is in plural form:     I have one savings account.   It is like a gerund or maybe it is a gerund, I am not clear about it. But when I searched the Internet, I found somewhere claiming that a gerund is always singular, but somewhere else claiming that some gerunds do have plural forms.  I am confused. As far as I understand it, saying that a gerund is a verbal noun means that it is a verb as well as a noun at the same time, but that it is also not a noun.  The Internet suggests that gerunds iwth plural forms like drawings, meanings , and so one do not seem to be gerunds at all but they do seem to be nouns.  I want to know:   Do gerunds have plural forms?  If so, could you please give me some examples? Are the nouns drawing, meaning, etc. actually really gerunds, or are  they actually really nouns? What is the difference between a gerund and a noun?


I'm new to security stuff and I have some questions about the keys of transposition cryptography.  If I'm given the encoding key to a transposition cipher, how do I get the decoding key for it? I tried googling but couldn't find any steps on the calculation for it. For example, on several crypto-related websites there are these nifty tools where, when I enter 4 3 1 6 2 5 I would get 3 5 2 1 6 4… but why and how?


How do I show that a function which is neither even nor odd can be written as the sum of an even and odd function?

I've seen quite a few proofs already that demonstrate that any function $f$ can be written as the sum of an even and odd function. I'm trying to prove this result by dividing into cases where $f$ is even, $f$ is odd, and $f$ is neither even nor odd. But I'm having trouble with the case where $f$ is neither even nor odd.  This is the construction of the proof so far:  By definition a function $f$ is even if $f(x)=f(-x)$ and odd if $f(x)=-f(-x).$ From a previous result, the sum of two even functions is even, the sum of two odd functions is odd, and the sum of an even and odd function is neither even nor odd.  $f$ is even: $f(x)=\dfrac{f(x)+f(x)}{2}=\dfrac{f(x)+f(-x)}{2}+0=\dfrac{f(x)+f(-x)}{2}+\dfrac{f(x)-f(-x)}{2}$  $f$ is odd: $f(x) = \dfrac{-f(x)-f(x)}{-2}=0 +\ \dfrac{-f(x)+f(-x)}{-2}=\dfrac{f(x)+f(-x)}{2}+\dfrac{f(x)-f(-x)}{2} $  How would I go about showing that a function $f$ which is neither even nor odd can be written as the sum of an even function $\biggl(E(x):=\dfrac{f(x)+f(-x)}{2}\biggr)$ and an odd function $\biggl(O(x):=\dfrac{f(x)-f(-x)}{2}\biggr)$?


My husband continuously uses bring versus take incorrectly. For example:     I will bring him to church on Sunday.     The correct form is to say:     I will take him to church on Sunday.     I cannot find this grammar rule in Strunk and White.  Could someone please state the rule?


Can't Access Windows 10 Update Orchestrator Service

I'm on build 1803 of Windows 10 Home. I need to disable Update Orchestrator Service aka. UsoSvc because I am running several scientific analysis programs (Biochemistry) that are required for work but may be broken with future Windows updates. I need complete control over when and how I update in order to ensure each patch is compatible.    I find that even using an elevated administrator account (activated through the command line) and running command line through the "Run As: Admin" with sc config UsoSvc start= disabled. I am denied access to the service through system error 5. Accessing through the Services manager shows a grayed out box where start-up properties are. See this screenshot:     The computer is not on a domain, it's my home system. Is there any way to either a) access the UsoSvc and change access the start-up property to disabled and eliminate the scheduled tasks, or b) access my computer with the LocalSystem account? Upon boot there is no option to click "other users..." at the start up screen to type in the computer name\localsystem.  I am looking for a way that does not include permanent deletion of the service. I have already disabled start-up of wuauserv and the trustedinstaller. Can anyone help?


Project from view multiple times from different angles

I'm having a problem finding out a way to project from top view and the side view so I texture better. It just replaces the current projection with the top view    So is it possible to project from view twice on the same image?


Man is bitten by a snake and survives an epidemic apocalypse. Dies later of appendicitis

The main character is bitten by a snake and afterwards recovers but finds that almost all humanity died of an epidemic. Finally he finds some people to leave with and becomes a sort of legend but dies of appendicitis.


I'm designing the UI for a financial application. I'd usually do high-fidelity mockups using Photoshop and send them to the developers. What I have noticed is that the text in the actual product looks different from my mockups, but they are in fact the same font. The left image is the hi-fi mockup, using Arial. The right image is the actual product, also in Arial. I tried all the different anti-aliasing options, but none gets me close to the image on the right.  Most websites/web apps I see don't have this problem. I wonder how they do it?


Non-religious equivalent expression for "Pray for [Country X]" after a disaster

When a big disaster occurs in a country, you can often see messages saying:     Pray for [Country X]   Are people really writing this to incite people to ask their God for anything? For instance Japanese people (in majority non-religious) have started using this expression a lot.  Among similar but non-religious, politically-correct expressions, what would be the expression that most closely express the same feelings as "Pray for [Country X]"?


Why are there exactly four nucleobases in DNA?

Does someone know why DNA is composed of four nucleobases? In particular, is there an explanation for the number? Why four and not two, or eight?


Show that if X is a normed linear space, then any finite-dimensional subspace M of X must be closed.

It suffices to show that any proper subspace M of X is closed, since if M is not proper the result is trivial.  I am unsure how to approach this proof. Contradiction seems a little messy, as supposing M is not closed implies M is i.) open or ii.) neither closed nor open. Any help would be much appreciated.


What Versions Of Ubuntu/Debian or Ubuntu/Debian Based Disros Can Run On A iMac G3?


Error while connecting: An existing connection was forcibly closed by the remote host

What do I do when i get this message? I can't join any servers at all!


A neutron star is created by the gravitational collapse of a massive star. The atoms are pushed into each other, the electrons into the protons etc. and it is held there under the existing gravitational field. What happens if you were able to remove a small amount of neutron star material and get it away from the gravitational field. Would the material stay as neutron star material or would it change to something else not that it's not subject to being crushed by gravity?


Anti-Chamber timer has an hour and five minutes remaining

When the timer runs out is it a "Game Over" sequence?  I am wondering if I am going to lose all my progress when the timer runs out.


I'm trying to check if certain coordinates are the same, it fails and I am clueless as to why

Working on a plugin in Java. everything works. I come to this one if statement and it just fails. I've tried changing the values from int to string and vice versa, it simply won't budge. I logged the coordinates. I try to compare them as strings. Code:  String locationx = plugin.getConfig().getString("locationx"); String eventlocationx = Integer.toString(event.getClickedBlock().getX());  String locationy = plugin.getConfig().getString("locationy"); String eventlocationy = Integer.toString(event.getClickedBlock().getY());  String locationz = plugin.getConfig().getString("locationz"); String eventlocationz = Integer.toString(event.getClickedBlock().getZ());  if (locationx == eventlocationx && locationy == eventlocationy && locationz == eventlocationz) {     System.out.println("SUCCESS: Passed coordinate check on the right click.");     return true; } else {     System.out.println(locationx);     System.out.println(eventlocationx);      System.out.println(locationy);     System.out.println(eventlocationy);      System.out.println(locationz);     System.out.println(eventlocationz);      System.out.println("ERROR: Failed on the right click coordinate check.");     return false; }    config:  locationx: '-226'  locationy: '64'  locationz: '266'   console log:  -226 [11:31:47 INFO]: -226 [11:31:47 INFO]: 64 [11:31:47 INFO]: 64 [11:31:47 INFO]: 266 [11:31:47 INFO]: 266 [11:31:47 INFO]: ERROR: Failed on the right click coordinate check.   I hope anyone can help me out.


How to copy animation attributes to multiple objects?

Very basic question here, I am afraid.  I have hundreds of shattered pieces of a mesh and I am trying to animate their visibility over the scene.  How can I animate the visibility and render visibility parameter for one piece, then copy/transfer to all the others?


A while back I checked out  while doing some research on mutual funds. I found their educational content to be a great overview of what to look for and started exploring. While The Motley Fool has a lot of great content, I'm not entirely comfortable with their incessant up-selling.   They always so eager to tell me about some "insiders" stock of the day that they are sure is just about to explode tomorrow if only I will give them some of my valuable personal information. Is this a scam? Are they just using their legacy educational content to bait people into their premium services? Are their premium services even any good? The Motley Fool once had a fair amount of Internet street cred.  Are The Motley Fool's stock picks and services worth giving any mind share to or are they just another Jim Cramer loudly shouting ticker symbols to sell advertisements?


Doubt: Can I use Nikkor 50mm f1.8G with Nikon D5500?

I am new to photography and I am getting a good deal to buy Nikkor 50mm f1.8G lens.   My question is whether I can use Nikkor 50mm f1.8G lens with my crop frame camera Nikon D5500 or not?   My initial guess was that I can definitely use it but on this , I see a heading 'Fast, f/1.8 compact FX-format prime (fixed focal length) lens'   As the heading says 'FX-format', does it mean that I can use this lens only with full frame camera?  Please let me know this as I am confused. I appreciate your time and feedback :)  Thanks,


Can a character replace their Magic Initiate spells using the Spellcasting feature?

The feat Magic Initiate lets you learn a 1st level spell:     You learn that spell and can cast it at its lowest level. Once you cast it, you must finish a long rest before you can cast it again using this feat.   Depending on the class you choose,  for the purpose of other features.  The Spellcasting class feature is one such feature that mentions [class] spells for classes like Rangers, Bards, and Sorcerers (among others):     Additionally, when you gain a level in this class, you can choose one of the [class] spells you know and replace it with another spell from the [class] spell list, which also must be of a level for which you have spell slots.   Could you replace the spell from Magic Initiate with another spell from that class's class spell list upon gaining a level in that class?  If you replaced the spell with a higher level one "for which you have spell slots", could you then still cast it once using the feat (i.e. without using a spell slot) between long rests?    I'd prefer answers from a RAW perspective, as I'm aware of  indicating a sort of RAI perspective:     Magic Initiate doesn't provide a way to replace its spells


Favorite Tag Buttons partly sticking off page

I appear to have found a bug, when adding Favorite tags, I find that the buttons are half off the page (this is of the  site):    Although on other sites it looks more like this:    I am running Ubuntu GNOME 15.04 with Firefox 41.0.1+build2-0ubuntu0.15.04.2.


Show reports in VisualForce Page through Apex

I want to generate reports in Visual Force through apex for a particular user. Does any one have a sample code or having any guiding tutorial to get start with this


A law firm has decided to launch multiple websites with the idea of using keywords in the URL (i.e. personalinjurylawyers.com, businesslaw.com, etc. ) as well as one for their firm name. Even though the content for each site will be different depending on practice area, they will come from the same host/IP and will have some duplicate content (contact info, firm name, etc.) as well as layout. Will this be penalized by Google in terms of search rankings?


How can I search for a specific string (function name or a variable name) in my files which are in various directories under cPanel file manager?  I have been using a library directory and functions on that directory are used in various apps and pages. Now, I am in a situation to change something in the library file, for which I need to know the impact on files which use this library file functions.  How to search / find / grep through the files hosted?


Prove that $2^{10}+5^{12}$ is composite   I need to solve this using only high school mathematics. Any ideas?


I am facing problem after installing Data loader. when i try to open, it shows:     This application Require JRE(1.8.0) 32 bit   I have done all possible solution.check below detail, where am i going wrong?  I am using :     windows 7(64 bit)    path:-E:\Program Files\Java\jre8\bin;C:\Program   Files\MySQL\MySQL Server 5.6\bin    classpath:-E:\Program Files\Java\jre8\lib    JAVA_HOME:- E:\Program Files\Java\jre8   Considerations for Installing Data Loader-I got from salesforce site  (Salesforce no longer bundles Java with the Data Loader for Windows installer. Download and install Java on your Windows computer. We recommend that you set the JAVA_HOME environment variable to the directory where the Java Runtime Environment (JRE) is installed.


I'm trying to solve the following problem:  Let $f:K\rightarrow \mathbb{R} $, $f$ convex and $K \subseteq \mathbb{R}^n$ convex. Then $f$ is continuous on $K$.   I have proved the only case $n=1$, but for an arbitrary $n$??


I have a passport from Afghanistan with a Canadian visa in it. Do I need a transit visa in Paris or Amsterdam?


Differences among words describing someone who is expert in many things

I wonder how the following words for describing someone who knows many different things compare, and when to use which word.  Some  are adjectives, others are nouns:   renaissance polymath versatile aficionado ... (possibly others if you don't hesitate to mention)   Some background:   I encountered "aficionado" and "versatile" from a personal description      "It's getting harder and harder for me to believe that you're just a   hobbyist. Aficionado would be a better term. And a damn versatile one   at that!"  When I told some American I hoped to be polymath, he said they would use "Renaissance" instead.


Is there any use for the secondary weapons?

I'm in chapter 2 and so far, the main weapons seem more effective in most situations, and even if it were useful in some specific situations, changing weapon is quite slow, so I'd like to know if I missed something. There seem to be no point of using the secondary weapons slots, except to carry & sell them. The only one I can find some use, is the torch, but I prefer the cat potion...  So, is there any use for secondary weapons, except for selling ?


I’ve been working as a designer for a while. I work on print and digital assets. I work in-house especially involving materials for events, such as posters, flyers and social media post graphics. My problem is when designing a concept from scratch I am slow.  I get caught in the layout phase and go round and round until I come up with something I think works. This can take days sometimes.  At the beginning of the project I look for inspiration, make sketches and then start work laying out. Then I get into a cycle of beginning to layout and struggling with getting the layout/colors right.  I often abort the idea go back to the drawing board and sketch out something else, only to repeat this several times before I land on something good. Or alternatively I end up spending a whole heap of time on one idea and not getting a finished layout I like. I get frustrated with myself and I know it takes longer than needed.  Any thoughts on how I can learn another way to work through this?    ETA  The kind of work is mainly for events, posters, flyers and social media graphics to advertise events. Typical age range for events is 18-25 year old. Events are either educational or entertainment. My role is to design from scratch. I get under a day to get creative draft done, which is 2-3 concepts to send to approved. They expect finished designs and that’s how the other few designers in my team work.


Close votes are counting as flags (again)

Questions that have been deleted, which I voted to close in addition to flagging, are showing my close votes as if they were flags on MSO.  For instance         and         Answers which I've flagged as spam don't show this...  The same was   when things were broken but without the close reason.    This is now broken again, save on Stack Overflow not MSO:


MathOperator in beamer with LuaLaTeX and cyrillic text

I define Sans Serif fonts for text for my beamer presentation in Russian:  \usepackage{luatextra} \usepackage{polyglossia}   \setmainlanguage[babelshorthands=true]{russian} \setotherlanguage{english} \defaultfontfeatures{Renderer=Basic, Ligatures=TeX} \newfontfamily\cyrillicfonttt{CMU Typewriter Text} \newfontfamily\cyrillicfont{CMU Sans Serif} \setmainfont{CMU Sans Serif} \setsansfont{CMU Sans Serif} \setmonofont{CMU Typewriter Text}   I would like to use Sans Serif fonts everywhere except equations.  To do it, I write  \mode<presentation> { \usefonttheme{professionalfonts} ... }   But there is the problem with option DeclareMathOperator. For instance, I write  \DeclareMathOperator{\Tr}{\mathrm{Tr}\,}   and obtain Sain Serif typesetting of this operator instead of desired Serif format. How to deal with this problem?


Javascript how to return True if a variable called 'payroll_no' (20 long string) contains only numerics and false if it has any characters

if  (!Character.isDigit(payroll_no))  {     document.getElementById('field_117219').value ='We do not have your payroll number please email it to us')  }  else   {      Name = document.getElementById('field_115676').value;      document.getElementById('field_117219').value ="Appraisal Details for "+Name;       iframe_115667.location.replace('/sorce/apps/enh/asp/Appraisals.aspxgridname=Appraisals&Payroll_no='+Payroll_no);   }


Strange log on Apache - how do I get rid of this?

I have a Linode VM with Ubuntu, Apache2.  Right now, I have a large number of following lines in my /var/log/apache2/access.log file  www.example.com:80 223.96.144.128 - - [15/May/2015:11:30:13 +1000] "\x16\x03\x01" 400 0 "-" "-   Getting about 10 to 15 of these lines per second!  The thing is, I've removed "www.example.com" from Linode's DNS manager and I've disabled this domain on my apache configuration.  Why am I still getting it? and How could I remove it?


How can I completely, forcibly disable any kind of auto-restart in Windows 10?

I know there have been many topics about this, and believe me, I've already read dozens of them, as well as following numerous guides like , but no matter what I do, my Windows 10 still keeps restarting whenever it wants to install it's updates. I just step off the computer for a few minutes to get a coffee or a bathroom break, and then I come back, only to see another update going on, all my unsaved work gone. No prompts, no warnings. Sometimes it even begins restarting while I'm still working on my computer, and then I'm forced to wait, sometimes for half an hour, until it finishes the update.. I am an advanced user, and I already disabled everything in settings, services, registry, user policy, even disable update services via Task Manager, but they keep restarting themselves to do their bloody work. I even wrote a .bat script to keep disable all running update services, but the bloody 10 somehow still gets around it.  I am frustrated beyond belief. I must have already spent like 10 hours investigating this, going through guides, forums, etc., but they all suggest all too familiar steps, which I already did, and checked numerous of times.  What else can I do? Is there a way to hard-disable restart altogether, so that Windows itself is blocked from that function unless I run it manually? I am tired of fighting, and I want this auto-restart feature gone, forever.  P.S. Before you ask, my computer is clean of viruses, malware, 3rd party apps or anything else that could be related. No hardware problems, no BSOD's or anything.  P.P.S. Some people suggested that my question is a duplicate of  . However, it is not, because I have reviewed all the answers to that question, tried all the suggestions, but they were ineffective to solve the problem - Windows still restarts to install it's updates.


Use Opportunity fields to send dynamic email content in Marketing cloud

I need to send dynamic email to all my booking contacts using AMP Script. Using FOR loop makes repetitive content. I am pulling contacts from Salesforce reports directly without using Salesforce Data Extension.  1) Any way to display content respective to each record (Dynamically)  2) Can we directly get Opportunity columns present in  SF reports to Normal Data Extension? Like we can do for Contact,Account & Leads  3) Any way to uniquely identify each opportunity records?  AMP Script:  %%[ Var@fname,@AccountName,@PictureDay,@AccountPhone,@BookingOwner,@BookingOwnerEmail,@bookingdetail,@Accountid Set @Accountid = AccountId Set @fname=FirstName Set @AccountName=AccountName Set @AccountPhone=Account:Phone Set @bookingdetail = RetrieveSalesforceObjects("Opportunity","Picture_Day__c,OwnerName__c,OwnerEmail__c","Picture_Day__c","=","2016-06-25","CloseDate","!=","2015-10-03") For @i=1 TO RowCount(@bookingdetail) DO Set @limitRow = Row(@bookingdetail, @i) Set @PictureDay = Field(@limitRow,'Picture_Day__c') Set @Bookingowner = Field(@limitRow,'OwnerName__c') Set @BookingOwnerEmail = Field (@limitRow,'OwnerEmail__c') ]%%  Dear %%=v(@fname)=%%,  We are looking forward to taking photographs at %%=v(@AccountName)=%% on %%=v(@PictureDay)=%%.The phone number we have on file for you is %%=v(@AccountPhone)=%%.  Your Account Manager is %%=v(@Bookingowner)=%% and you can reach them at %%=v(@BookingOwnerEmail)=%%. %%[NEXT @i]%%   Thanks,  Mitesh


Starting a linux process in the background

I'm trying to create a script which starts some programs  startup.sh  knetworkmanager emesene keepassx   The problem is that when I run the script, it only starts knetworkmanager. This is because it'll start it, then wait until it's finished. How can I start a program without waiting for it? I don't think I can just add "&" after each command, because all processes will still be killed when the script is finished.


How to draw ROC curve with three response variable?

I have a toy example reproduced below in which the response variable has three possible classes. I am trying to create an ROC but not sure how to deal with it when there are three classes. Any help will be appreciated.  Thanks   library(ipred) control = rpart.control(maxdepth = 20, minsplit = 20, cp = 0.01, maxsurrogate=2, surrogatestyle = 0, xval=25) n <- 500; p <- 10 f <- function(x,a,b,d) return( a*(x-b)^2+d ) x1 <- runif(n/2,0,4) y1 <- f(x1,-1,2,1.7)+runif(n/2,-1,1) x2 <- runif(n/2,2,6) y2 <- f(x2,1,4,-1.7)+runif(n/2,-1,1) y <- c(rep(-1,floor(n/3)),rep(0,ceiling(n/3)), rep(1,ceiling(n/3))) dat <- data.frame(y=factor(y),x1=c(x1,x2),x2=c(y1,y2), matrix(rnorm(n*(p-2)),ncol=(p-2))) names(dat)<-c("y",paste("x",1:p,sep="")) dat  plot(dat$x1,dat$x2,pch=c(1:2)[y], col=c(1,8)[y],       xlab=names(dat)[2],ylab=names(dat)[3]) indtrain<-sample(1:n,300,replace=FALSE) train<-dat[indtrain,]; dim(train)  test<-dat[setdiff(1:n,indtrain),]; dim(test)  test  mod <- bagging(y~.,  data=train, control=control, coob=TRUE, nbagg=25, keepX = TRUE) mod pred<-predict(mod, newdata=test[,-1],type="prob", aggregation= "average"); pred   For two class case, I use to do the following but it is no longer valid for three classes.    yhat <- pred[,2] y = test[, -1] plot.roc(y, yhat)


New Force.com IDE not auto-deploying? (NOT A DUPLICATE QUESTION)

I am having the same issue as here , except the solution chosen isn't working.    I have Build Automatically checked and I've also already selected "Work Online" for the entire project.  These two actions are the only solutions made available under the above link. Nevertheless, every time I save the project, nothing saves to the production environment unless I manually go into each component and select "save to server" under the Force.com IDE menu item for that component.  I'm using Kepler 2 as well and the latest Force.com IDE Plugin.  I'm able to get the Sandbox Project I have to auto-deploy, just not in production.  I can also roll out new changes to the classes/vf pages via the changesets successfully (i.e., my test classes are working)  Please help, this is so annoying.


Find the weak sequential closure of a set in $L^2(-\pi,\pi)$

$A=\{f_{m,n}(t)|0\le m<n\}$ where $f_{m,n}(t)=e^{imt}+me^{int}$. I should find the weak sequential closure of $A\subset L^2(-\pi,\pi)$. I know what I'm supposed to do. Take a sequence in $A$ and find its weak limit. I also know what is weak convergence and I know that $(L^2)^{*}=L^2$, but I don't know what to do with this:  $\displaystyle\lim\limits_{k\to\infty}\int\limits_{-\pi}^{\pi}(e^{im_kt}+m_ke^{in_kt})f(t)dt=\int\limits_{-\pi}^{\pi}?f(t)dt$ for every $f\in L^2(-\pi,\pi)$.  Thank you very much for any help.


I use foursquare because it contains a lot of POIs. Which database do you use when you need a point of interest in North America?


I am out of hints here. Its trivial to show $1$ is a solution. How to show it's the only solution?  Can someone please give me some hints?  Please do not use congruence, limits or derivatives because they are out of scope of the chapter which has this question.


Here is the code, changes Section format in document body.  1 Intro 2 Market Study 3 Stakeholder Opinions   to:  1. Intro 2. Market Study 3. Stakeholder Opinions   From .  Code for this is.  % Put period after section numbers. \makeatletter % we use \prefix@<level> only if it is defined \renewcommand{\@seccntformat}[1]{%   \ifcsname prefix@#1\endcsname     \csname prefix@#1\endcsname   \else     \csname the#1\endcsname\quad   \fi} % define \prefix@section \newcommand\prefix@section{\thesection. }% \makeatother    How to perform action, for TOC to match?   But, what do I write, to redefine style in \tableofcontents command? Using the article class.


One question please.  I am translating a web form into english. In this specific case what is correct?  Passenger quota or Passengers quota ?  Vehicle quota or Vehicles quota ?  Thanks!


Do I need a Munich transit visa if I have an expired US visa?

Does an Indian citizen with valid passport and with expired US visa travel from USA to India via Munich without any transit visa?


How does Proliferate interact with Exalted and other temporary +1/+1 buffs?

I understood Proliferate to be an ability that allows you to, given any number of permanents and players of your choosing, add another counter of each existing counter type that is already on there. Like adding another poison counter to a player that already has one, or buffing a creature with a +1/+1 counter even more, or giving an opponent's creature with at least one -1/-1 counter another one. There are some edge cases I'm unsure of:  What if an attacker is exalted (+1/+1 until end of turn) and they ? Do they get an additional +1/+1? Does it affect combat in the current turn? If they get an additional +1/+1, does it wear off at the end of the turn like the exalted buff? Similar situation with : could you proliferate the +1/+1 buff it gives other creatures?


Taking from the PGF manual,  \begin{tikzpicture}   \draw [help lines] (0,0) grid (3,3);   \coordinate (a) at (rnd,rnd);   \coordinate (b) at (3-rnd,3-rnd);   \draw (a) -- (b);   \node (c) at (1,2) {x};   \draw let \p1 = ($ (a)!(c)!(b) - (c) $),             \n1 = {veclen(\x1,\y1)}         in circle [at=(c), radius=\n1]; \end{tikzpicture}   I'd like to increase the size of x. The problem is that I have multiple circles in the same diagram. Some of them require a larger sized font, while others are okay at default. How do I do this?


I'm using 13.04 Raring amd64 and I need to mount a .vhd file on my ubuntu. I've googled about it and found that virtualbox-fuse package is the answer.  But the package was deleted from apt repository. Is there any way to install the package w/ 13.04? or is there any alternative to virtualbox-fuse?


I installed the popular software 'Synthesia' from its official website. It is a program for piano transcriptions. It has always been safe.  I decided to uninstall it and as soon as I uninstalled it, a virus came up. I mean, I tried to uninstall it from the Panel Control > Programs [list] > Uninstall a Program.  The uninstall.exe stopped and a warning from Avast came up saying that the .exe has been stopped and the virus [Trojan] moved to the chest [Avast virus chest].  I checked it out and it is quite strange because the name is   au_.exe found in the Temp Folder -- C:/Users/MyUserName/AppData/Local/Temp/~nsu.tmp  As Avast has reported the virus is a FileRepMalware  I decided to scan the computer but nothing has been labelled as infected.  Anyway, the software is still there, not uninstalled. How can I remove it if the uninstaller is infected?  p.s - as far as I know, au_.exe is a virus. au.exe is not a virus, at all. Anyway I got the first one so it is a virus and not a false positive of course!


latex csvreader table wrap cells with long strings

I am using csvreader to import a csv file and display it as a table. The first column contains strings that are very long and so the column takes up most of the page, meaning the table continues off the page. Is there a way to force a cell value to continue on the next line? I don't mind if it is hyphenated  or not, but it would be great if I could specify a max length for the first column and the strings wrap if they are too long. Example code below:      \documentclass{report}      \usepackage{csvsimple}      \begin{filecontents}{test.csv}     LongString,ColA,ColB,ColC     ABCDEFGHIJKLMABCDEFGHIJKLMABCDEFGHIJKLMABCDEFGHIJKLM,12345,23456,34567     NOPQRSTUVWXYZNOPQRSTUVWXYZNOPQRSTUVWXYZNOPQRSTUVWXYZ,45678,56789,67890     \end{filecontents}      \begin{document}      \begin{table}     \csvreader[         tabular=|c|c|c|c|,         column count=4,         table head=\hline,         table foot=\hline,         no head,         late after first line=\\\hline,         respect all     ]{test.csv}{}{\csvlinetotablerow}     \end{table}      \end{document}


Are a Wizard's “spells known” what they have in their spellbook or what they can prepare?

I'm unclear on what a wizard's “spells known” means. Namely, are they the spells they can prepare, or the spells in their spellbook?  This is probably really obvious, but I'm just not figuring it out. Thanks!