a generalization of normal distribution to the complex case: complex integral over the real line

How to prove $\int_{\mathbb{R}} e^{-\frac{(x+it)^2}{2}}dx=\sqrt{2\pi}$ for any $t\in \mathbb{R}$? I only obtained the case that $t=0$, $\int_{\mathbb{R}} e^{-\frac{x^2}{2}}dx=\sqrt{2\pi}$.   Thanks.


I compile my latex with pdflatex in texniccenter. The produced pdf looks good. But when I select a word and copy it over to a texteditor, some of the characters are wrong. for instance all german ö,ü,ä but also a word like anriffsvektor becomes angri_svektor, so both "f" become a "_". Are there any settings, I can setup with pdflatex for that?  Here is a mwe:  \documentclass[a4paper,fontsize=11pt,oneside,parskip=half,headings=normal]{scrreprt}  \usepackage[utf8]{inputenc}    \usepackage[T1]{fontenc}         \begin{document} angriffsvektor \end{document}   And here is an  file


I use memoir class and, in some situations, I use the \sidefootnote command. It works but not the right justification. I've tried with \newcommand*{\sidefootform}{\rightskip=\z@ \@plus 2em} but I've got an error message (command already in use). I've tried with \renewcommand*{\sidefootform}{\rightskip=\z@ \@plus 2em} but error message. I've tried with:  \usepackage{ragged2e} \newcommand*{\sidefootform}{\RaggedRight}   but no effect at all. Any suggestion? Thanks PM


Unwrap UV map proportionally to object size

Is there any way to automatically unwrap UV map proportionally to object or "world" size?  For example:  I've made two cubes, one is two times bigger than other (scale is applied). Then I unwrapped texture with Smart UV project which will try to span all faces on whole texture space(0 to 1) so bricks on left cube will be bigger than bricks on right cube.   But what I want to achieve is this:     In broader context:  When I import model from Archicad (in form of OBJ) all objects have UV's in some scale (so all bricks have the same size on every imported object). And when I want to create custom object in scene I have to manually scale UV's to adjust bricks size for every new object (instead of scaling to one constant parameter).


Lock time not involved in MySQL slow query selection?

I wish to analyze some read-write contentions problems on a very huge table where writes are very fast, less than 1ms in most case. The point is that the contention makes those write queries sometimes wait for the lock for a long time, i.e. hundreds of milliseconds. But the query itself remains very fast so it's not selected as a "slow query", which threshold is actually 10ms.  The only way to gather the information I need is to put à 0ms threshold so I can capture all queries, but it's not sustainable for more than 10mn on our production environment, where it would produce about 200MB of logs per minute.  In fact I can't understand why MySQL don't include the lock time, added to the execution time, for the slow query log selection process. At least, I wish there were an option for that.  Am I missing something ?


60s (?) short story: aliens who created the humans have decided they're too dangerous and need to be merged back into the original alien race

About 20 years ago, I read a sci-fi short story that was at least 40-50 years old itself, where an alien race has contacted Earth to let the human race know that the alien race is the creator of all life on Earth and the early ancestors of humans.  This race is returning because their experiment concerning creating a new planet is over and they have decided that humans have become too dangerous and need to be reassimilated back into the original alien race.  The story ends with the race telling humans that all of them will once again become the same "color" and for those who find they are the "wrong" color, not to worry as they will be made into the "right" color of the alien race.  The aliens reveal the color as a bit of a bombshell in the last line.    I do remember looking at a picture of the author and he kind of looked like Buddy Holly.


So I got this question in my exams.  Find the HCF of $0.5$ and $2.5$.  My friends are saying that answer would be $0.5$.  I wrote $1$ because I couldn't see any factor bigger than it common to both. Moreover, I have one more point that domain of $\gcd$ is positive integers.   So there can be two things, whether, the question is wrong, and even if we extend $\gcd(a,b)$ to rational numbers, answer would be $1$, because $1$ is bigger than $0.5$.  So please clear my doubts.


In an answer to this question, For what values of $r$ does $y=e^{rx}$ satisfy $y'' + 5y' - 6y = 0$?, URL (version: 2013-11-13):   $y' = [e^{rx}] (r)$  $y''= r^2e^{rx}$  It says:  If you plug them in, you obtain : $$r^2+5r-6=0$$ Solving this equation you get $r=1$ or $r=-6$. That means that the general solution of the suggested ODE is : $$y(x)=ae^t + be^{-6t}, (a,b) \in \Bbb R^2$$  What do 'general solution' and ODE mean? Where does the last equation come from and what is its significance?


I have the following model : Y = B1X + B2X + e. I want to test if B1 = B2, and also if B1 = B2 = 0. Any suggestions to which test that would be appropiate? Thanks in advance.


Query to convert millions of rows horizontally

i have the following table:    RECID OBJECTIF   1001  1001   1001  1002   1001  1003   2001  2001   2001  2002     and i need a result like this:    RECID MyFIELD   1001  1001-1002-1003   2001  2001-2002     just if you can give me a hint on what to use, no need to write the code    please take into consideration that i have millions of records in my table  thanks


Mac renames itself automatically - host name is incorrect in terminal

I've got a handleful of macs (all with unique names) and on occasion it prompt a notice about saying another computer on the network as this name and adds a (2) or (3) to my mac.    How can I set the host name from the command line?


I would like to have a way of getting the design sheets(aka blueprints) like you can in CAD software.  Is there a plugin or addon or some form of python script that can export a PDF(vector screenshot) of the GUI(primarily the 3D view)?


Do we ever see Wolverine donating his organs or blood?  Thanks to his healing factor, he can grow them back in no time, so do we ever see any examples of him donating his organs or blood to science or someone in need?


Combinatorial identity $i{n \choose i } =n {n-1 \choose i - 1}$

In the first course of probability by sheldon ross on page 155 at the bottom. It is the proof for the expectation of Binomial distribution. It uses the identity:  $$i{n \choose i } =n {n-1 \choose i - 1}$$  Since learning combinatorics, I have been trying to think of this intuitively. So is there an intuitive proof for this identity, rather than just using brute force?


NPE when attempting to invoke virtual method

I get     java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.addView(android.view.View)' on a null object reference   Here is my code:   protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     b1=(Button)findViewById(R.id.btn);     f1=(FrameLayout)findViewById(R.id.frame_layout);     f1.addView(new myview(getApplicationContext()));     animation=  AnimationUtils.loadAnimation(getApplicationContext(),R.anim.translation);     b1.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {             f1.startAnimation(animation);         }     });   The error is shown in line f1.addView(new myview(getApplicationContext()));. I have created an animation program in which i want to call other class into the framelayout that is mention in the code so when i run this then runtime error is showing which is shown below.  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2706)     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2767)     at android.app.ActivityThread.-wrap12(ActivityThread.java)     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1514)     at android.os.Handler.dispatchMessage(Handler.java:102)     at android.os.Looper.loop(Looper.java:163)     at android.app.ActivityThread.main(ActivityThread.java:6221)     at java.lang.reflect.Method.invoke(Native Method)     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.addView(android.view.View)' on a null object reference     at com.cenet.animationclass.MainActivity.onCreate(MainActivity.java:25)     at android.app.Activity.performCreate(Activity.java:6875)     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)     at  android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659


I  can't install npm.Whenever i try to type   sudo apt-get install npm   this comes  `E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' what should i do


How can I get my LaTeX set up on Emacs/AUCTeX to use the -file-line-error option when calling pdfTeX

I have been puzzling over this for the past few hours and can't quite figure it out.  I am using AUCTeX 11.87 and MiKTeX 2.9 on Emacs 24.2 (obtained from Vincent Goulet with AUCTeX pre-packaged):  I am having trouble getting AUCTeX to compile my LaTeX file on windows 7 and throws me into a blank screen with a cryptic message of 'Error after last TeX file closed".  Even though same file compiles on my set-up on Ubuntu 12.1.  From my searching this site and Google I seem to have tracked the problem to the need to use the -file-line-error flag when pdfTeX gets called.  I read through the code for AUCTeX but it gets very convoluted and I can't figure out where I would need to insert -file-line-error in any of the customizable options.  Any suggestions on how to proceed would be welcome.  I would prefer not to manually change any configuration files as I came across an admonishment not to do so in the pdfTeX manual.


any webcam stopped working (camera is working on windows)

Suddenly any webcam (integrated on USB) stopped working. For example my integrated camera (but any other USB connected camera produce the same) it works on my windows 10 partition, but it doesn't work anymore in Ubuntu 16.04. Here some commands that can be useful: Is listed in lsusb Bus 002 Device 002: ID 2109:0813 VIA Labs, Inc.  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 064e:930b Suyin Corp.  Bus 001 Device 005: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse Bus 001 Device 004: ID 0c45:7603 Microdia  Bus 001 Device 002: ID 2109:2813 VIA Labs, Inc.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  uname -a produces: Linux name 4.4.0-189-generic #219-Ubuntu SMP Tue Aug 11 12:26:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux  dmesg | grep uvcvideo is: [   20.044256] uvcvideo: Found UVC 1.00 device HP Truevision HD (064e:930b) [   20.044265] Modules linked in: uvcvideo(OE+) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core hp_wmi(+) v4l2_common sparse_keymap videodev(OE) media intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp arc4 rtl8188ee kvm_intel kvm snd_hda_codec_hdmi rtl_pci irqbypass rtlwifi mac80211 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_realtek cfg80211 snd_hda_codec_generic snd_hda_intel aesni_intel snd_hda_codec aes_x86_64 lrw gf128mul glue_helper snd_hda_core ablk_helper snd_hwdep cryptd joydev input_leds serio_raw snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device intel_pch_thermal snd_timer lpc_ich shpchp hp_wireless mei_me mei snd soundcore processor_thermal_device int340x_thermal_zone intel_soc_dts_iosf int3400_thermal acpi_thermal_rel [   20.044334]  [<ffffffffc08bbb30>] uvc_probe+0x490/0x2aa0 [uvcvideo] [   20.044361]  [<ffffffffc08d2024>] uvc_init+0x24/0x1000 [uvcvideo] [   20.044412] usbcore: registered new interface driver uvcvideo  No program can detect the webcam, I tried with cheese "no device found" and also skype or chrome. In case you were wondering, I have no key to disable the webcam in my laptop (HP 15-ac194nl) and secure boot is disabled in BIOS (there no other options in BIOS reguarding the webcam). I already tried different reboots. Actually I don't know exactly when the problem appeared. Any hints?


How to get selected/highlighted text from  using Javascript?

I have a <textarea> which I want to use as a editing panel similar to the ones found in most bulletin boards and forums (even like the one in here). There has to be a 'bold text' button which should bold the currently selected/highlighted text in the <textarea>.  How do I do so using javascript.  For example if the following belongs in the <body>-  <textarea id="txtArea">Some text here.</textarea> <input type="button" id="btnCmd" onclick="boldthis('txtArea');" value="Bold">   How do I complete the javascript code function boldthis(elementid){} so I can do at least collect the selected text in <textarea id="txtArea">?  You may or may not use the example I used to describe your explaination, as long as I understand the logic. Thanks for reading.


Can prematurely powering down a computer cause bad sectors in a hard drive?

Q1: Can forcibly powering off a PC without using the built-in shutdown/reboot functions, cause a HDD to accumulate bad sectors? Whether it be the result of BSODs, lockups, crashes, etc.   Q2: If so, are these bad sectors repairable? I know an OS typically relocate bad sectors to other areas of the drive, but once a drive accumulates too many it just dies.   I have read up and saw things about 'soft' and 'hard' bad sectors. One caused by software and the other being actual physical damage. The reason I am asking this is because I have had several HDDs die on me in the past year, far before their estimated lifespan, and one thing they all had in common was that I had forcibly powered off my PC a lot.


PDE and Analysis Reference Request From Small College Grad

I am in my final semester graduating from a liberal arts college (physics/math major) and intend to study high-energy theory in graduate school. Coming from a smaller college I have not had the opportunity to take courses in partial differential equations, integral equations, or numerical/computational methods.  What resources, in the aforementioned fields, might one recommend to a student looking to get sufficiently up to speed for graduate level coursework and research (n.b. I do solid math background, in general, including linear algebra and complex analysis, which might come in handy for such topis/learning)?


In Star Trek the Undiscovered Country, Scotty says: "raving lunatics they'll call us, willing to say anything to exonerate the captain" - all in regards to claiming that a Klingon Bird of Prey can fire while cloaked. Of course, we learn later that there is a new Bird of Prey that actually can fire while cloaked, but that this is something new. Anyway, from this statement by a well-respected engineer in the Star Trek universe, I understand there was some technical reason why a ship in cloak cannot fire weapons.  Was it ever explained why ships can't fire when cloaked?


Use Excel to calculate similarity between two strings

Is there any way to calculate the % difference between two strings in Excel? For example, oftentimes a customer sends us a list of items that they want us to match with items in our system based on description and item SKU #. However, matching by SKU does not always return an accurate result, especially if it is short and not unique. If there was a more efficient way of doing this than manually searching & matching, it would greatly increase the efficiency of my job.  Optimally, the function would return a number... higher the number, better the possibility of a match. To be clear, both comparison cells are defined, and both exist in the same row. This would not be a  (already have that add-in).  Possible?


What program is used to make a triangular mesh illustration?

What program did this designer used to make this image? and the dot link effect? and if there is any tutorial?


Galois group of $\prod_{i=1}^{p-1} (X^2-i)$

Let $p$ be an odd prime. How do I compute the Galois group of $F/Z_p$ where $F$ is the splitting field of $\prod_{i=1}^{p-1} (X^2-i)$ over $Z_p$?  Since exactly $\frac{p-1}{2}$ integers from $1\leq i\leq p-1$ are the roots of $X^2-i$ in $Z_p$, let's write $F=Z_p(\sqrt{i_1},...,\sqrt{i_k})$ where $k=\frac{p-1}{2}$ and $\sqrt{i_j} \notin Z_p$.  This leads me to guess that the Galois group is $(Z_2)^k$, but is it really true? How do I prove this?


Ubuntu Server 18.04.1 guest on Ubuntu Server 18.04.1 host, KVM

I am attempting to install a Ubuntu Server 18.04.1 guest on a Ubuntu Server 18.04.1 host using KVM. I have ubuntu-18.04.1-live-server-amd64.iso downloaded to the host.  When I run the following:  sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" \  --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6 \  --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2 \  --network bridge:br0 --graphics none \  --location /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso \  --extra-args console=ttyS0   I get the following error:  Starting install...  Retrieving file .treeinfo... | 0 B 00:00:00  Retrieving file content... | 0 B 00:00:00  Retrieving file info... | 77 B 00:00:00  ERROR Couldn't find hvm kernel for Ubuntu tree.  Domain installation does not appear to have been successful.  If it was, you can restart your domain by running:  virsh --connect qemu:///system start marmoset-eugo-1  otherwise, please restart your installation.   So then I try to use the CDROM option instead:  sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" \  --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6 \  --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2 \  --network bridge:br0 --graphics none \  --cdrom /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso   At this point, it appears that the installation has started, but I do not seem to be able to interact with the installation. I am getting the following output and the terminal waits indefinitely:  WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media    Starting install...  Allocating 'marmoset-eugo-1.img' | 128 GB 00:00:00  Connected to domain marmoset-eugo-1  Escape character is ^]   Has anyone had any experience doing this type of install before? I'm trying to do everything from the CLI and the only video tutorials I can find do this through the graphical KVM virtual manager.  Thanks,


Block Sliding Down a Plane (Perpendicular Velocity)

I'm having trouble understand the concepts for this problem. Here's the problem:     A block is placed on a plane inclined at angle $\theta$. The coefficient of friction between the block and the plane is $\mu = \tan \theta$. The block is given a kick so that it initially moves with speed $V $horizontally along the plane (that is, in the direction perpendicular to the direction pointing straight down the plane). What is the speed of the block after a very long time?   We can see that $F_x = mg\sin \theta - mg\cos (\theta )\mu = 0$, if we gave the block an initial velocity along the plane, it should be subjected to a friction force opposite its velocity, where $f = mg \cos \theta \tan \theta = mg\sin \theta$   This however, is the answer my book gave:     The normal force from the plane is $N = mg \cos \mu$. Therefore, the friction force on   the block is $N = (\tan \mu)N = mg \sin \mu$. This force acts in the direction opposite to   the motion. The block also feels the gravitational force of $mg \sin \theta$ pointing down the   plane.   Because the magnitudes of the friction force and the gravitational force along the   plane are equal, the acceleration along the direction of motion equals the negative   of the acceleration in the direction down the plane. Therefore, in a small increment   of time, the speed that the block loses along its direction of motion exactly equals   the speed that it gains in the direction down the plane. Letting v be the speed of   the block, and letting vy be the component of the velocity in the direction down the   plane, we therefore have $$v + vy = C$$   where $C$ is a constant. $C$ is given by its initial value, which is $V + 0 = V$ . The final value of $C$ is $V_f + V_f = 2V_f$ (where $V_f$ is the final speed of the block), because the   block is essentially moving straight down the plane after a very long time. Therefore,   $2V_f = V \rightarrow V_f = \frac{V}{2}$   I don't really understand what this is trying to say. The bolded part is what's giving me problems. I think it just may be poorly written, I think I need a clearer explanation.


How does the Ranger's Extra Attack feature work with Two-Weapon Fighting?

I think I know the answer to this one but I'm double checking.  At the 5th level the Ranger gets Extra Attack, which lets them attack a second time during the Attack action. If they are fighting with 2 weapons, the second weapon normally uses their bonus action.  Does this mean when using the Extra Attack and using two weapons, a ranger can attack twice during the Attack action, and still make 1 extra attack as a bonus action, for a total of 3 attacks?


$X$ is a Geometric random variable find the expectation of $1/X$

Let $X$ be a geometric random variable with parameter $p$, find the expectation of $E[1/X]$.  I need help simplifying the series.


Given: $f: X → Y, x\in X$, and $f$ is continuous at $x$, $f$ is continuous on $X$.  Prove that $f$ is continuous on $X$ if and only if for each open subset $V$ of $Y$, $f^{-1}(V)$ is an open subset of $X$.


Late 80s - mid 90s Disney TV movie with mechs

I'm trying to identify a Disney TV movie from the late-80s to mid-90s.  The plot points that I can remember are:   3 teenagers on a spacecraft, all in recently in trouble at their (military?) academy so being sent somewhere the ship malfunctions no adults around, period they meet some alien woman who agrees to help them because she "thought they were much older warriors" rather than kids the kids somehow have mechs (they look exactly like the Battlech Timber Wolf/Mad Cat mech) harvesting ice on a planet for water, they encounter some gigantic worm creature that can sense heat


Please consider displaying reputation decreases in the Achievements trophy icon

UPDATE Overhauling my post here and voting to reopen, since the dupe has a , Recently,  started sending us notifications of negative reputation changes.  I thought it was , but Brian reported that:  There are no plans to keep showing negative scores.  Why?  The "bug" doesn't appear to affect anything else.  Why fix the bug that's actually causing something good?  Oded (who no longer works for SE) :  We want to let you know about good things as soon as they happen - that's what our real-time notifications are for. Negative reputation changes are... well... negative. So we are not in a hurry to let you know about them.  Your mistake.  Posts that get downvotes should, in theory, need more attention than those lucky enough to receive upvotes (which has been said by at least four others).  So please, SE, can we reconsider that  tag (or just don't bother fixing that lucky mistake)?  ORIGINAL Can we make it so a downvote, or other reputation decrease will highlight the Achievements trophy icon, or alert you in some other way?  A downvote might mean there is a problem with your post such as being off-topic, ethically wrong, or inappropriate, and thus would warrant a bit more attention than the extra 10 reputation an upvote gives you.  Could this also extend to a notification when you lose rep, say, because of a removed post where you had posted a well-accepted answer?


How do I find the .jar file for minecraft? [1.12]

I cannot find this file. A lot of people say that there is a .bin folder, but there is none on my pc.  Please help!


Sci fi movie where Earth's most influential figures are revealed to be alien androids

1960s or 1970s, I don't remember much about the film except at the end, the big reveal was that all the great minds in history were alien androids (Einstein, etc).  The last scene takes place in a massive cavern where all these androids are lying down in a nearly infinite line.


Proving that any permutation in $S_n$ can be written as a product of disjoint cycles

I have attempted a proof of this, but upon looking at my notes, I feel it might be incorrect: it is noticeably simpler than the one in my notes.  Proposition: any permutation in $S_n$ can be written as a product of disjoint cycles.  Proof (attempt): $s\in S_n$. Let $\langle s\rangle$ act on $X=\{1,\cdots,n\}$. Define $x\sim x'\iff x'\in\text{Orb}(x)$ for $x,x'\in X:$ this is clearly an equivalent relation, hence the orbits partition $X$. Each orbit corresponds a cycle in $s$, so we are done.  Does this hold, or have I missed something vital?


Correlation between a nominal (IV) and a continuous (DV) variable

I have a nominal variable (different topics of conversation, coded as topic0=0 etc) and a number of scale variables (DV) such as the length of a conversation.   How can I derive correlations between the nominal and scale variables?


JS - How to deal with space in file names?

Adding a space to a filename breaks the code. This works:        This doesn't, the function returns undefined:        I tried playing with JSON.stringify, no luck. What am I missing? EDIT: Not a duplicate, the question is about spaces. pointing to the possible duplication actually provides an answer, but one can't know that without asking first.


Where can I store program data? (OS, Java)

I know that every OS has a specific directory, where a program can store data. For example in macOS there is a directory called /Applications.  Where can I store program data from a java program (multi-user) on Windows, Linux and macOS? Is there a System.property?


How can I run a sh script targeting X11-settings on login?

The gui-based controls for mouse acceleration do not suffice to tame my mouse, so I am correcting this by running:  xinput set-prop 10 "Device Accel Constant Deceleration" 2.9   This script has the desired effect (every time) when run manually from the terminal. However I have yet to find a way to run it on each login. Attempts to have it execute through rc.local or using the script launching options in the system settings have both remained fruitless.  Do you have any suggestions of what else I could try? Should I modify X11 config files directly? Several posts related to this topic advised against doing so.


How might the weight of a falling object affect the damage it causes?

Fall damage is 1d6 per 10 feet. What adjustments if any should I make for objects falling on a player character? (e.g. a bear)  Assuming the objects are meaningful threats but not instant character death, should the weight of an object change the calculation, e.g. more then 1d6 per 10 feet.  Or is this more in the spirit of improvising damage chart? i.e. the setback (cat to face) dangerous (orc fell on me), and deadly (the large bear).  If this is house-rule territory does any one have any experience or advice beyond  relevant to 5e.


A book in which every species on earth was rendered intelligent

The 'blurb' on the back of the book was that something had boosted the intelligence of every creature on earth, to the point that at least some animals were on par with humans. I'm not sure if humans were similarly enhanced or just animals. I'm not sure whether it was done by aliens, or a side effect of something humans did, or what.   This book was on the shelves in the mid/late 1980's, so it's nothing more recent than that.


how to install photoshop in ubuntu 16.04 and where do I type commands?

I am trying to install photoshop on ubuntu 16.04. I read the solution, but where do I type commands like sudo apt-get install wine ?


Throttle network bandwidth per application in Mac OS X - 2016 version

I would like to ask this question again since it's passed a long time since the original post and many things have changed since then.   In my case I am using amazon cloud drive app on my macbook pro and when it's running pretty much I can't do anything else with the internet. Preferably I would like to be able to control the upload speed and download speed separately.


Versioning CSS files with a query string like Stackoverflow does?

If you look at Stackoverflow.com's source you'll see the reference to their css file is:  <link href="/Content/all.min.css?v=2383" rel="stylesheet" type="text/css" />   How is this done so they can pass a version via query string and have the correct CSS file served up?


Is it beneficial to layer lures on overlapping pokestops?

I have two pokestops accessible from my desk at work, close enough together that when both of them have lures the zones of influence overlap.  Is it beneficial to put down lures on both of these stops at the same time? Will the overlapping area have an even greater chance of spawning pokemon, or will it just be wasting resources on a larger area with the same chances of spawning?


I am getting the following error while installing MySQL-server:  E: Package 'mysql-server-core-5.5' has no installation candidate.   I tried many steps like adding repositories and installing it again, but no use. Can anyone give the solution?


finite group of square-free order $n$ has subgroup of order $d$ where $d\mid n$?

Let $G$ be a finite group (possibly not commutative) and $d$ be an arbitrary number which divides $|G|$. If $G$ is square-free, i.e. $\forall n\colon n^2$ doesn't divide $   |G|$, can we say that $G$ has a subgroup of order $d$?  My first attempt was to use the Sylow's theorem. I denoted $d= p_1 p_2 \cdots p_n$ and took the Sylow $p_i$-subgroup $H_i$. However, I couldn't say that $H_1 H_2\cdots H_n$ is even a subgroup, since they are in general not normal subgroups.  I also tried to say that $G$ is nilpotent (so $G$ is the direct sum of $H_i$). I guess that's not true...


How do I uninstall Ubuntu from my laptop?

How to remove ubuntu 14.04 dual boot with windows 7 ?


Norm of Hilbert's operator $H f(x)= \int_0^{\infty} \frac{f(y)}{x+y}\, dy$

Hilbert's operator $$H f(x)= \int_0^{\infty} \frac{f(y)}{x+y}\, dy \quad\text{ for all } f \in {L}^2(0,+\infty) \text{ and } x \in(0,+\infty),$$ is regular integral operator on $L^2(0,+\infty)$ with norm $\pi.$   Using Cauchy-Schwarz inequality on space $L^2(0,+\infty)^2$ and Fubini's theorem for every $f,g \in L^2(0,+\infty)$ it's valid estimate for associated norm of sesquilinear form:  $$\begin{align*} |\langle Hf,g \rangle | &= \left|\int_0^{\infty} \int_0^{\infty} \frac{f(x)\overline{g(x)}}{x+y} \, dx \, dy\right| \\ &=\left|\int_0^{\infty}\int_0^{\infty} f(y) \sqrt[4]{\frac{y}{x(x+y)^2}}\,\,\overline{g(x)} \sqrt[4]{\frac{x}{y(x+y)^2}}\, dx \, dy\right|\\ & \leqslant \sqrt{\int_0^{\infty}\int_0^{\infty}\frac{|f(y)|^2}{x+y}\sqrt{\frac{y}{x}}dx\, dy}\sqrt{\int_0^{\infty}\int_0^{\infty}\frac{|g(x)|^2}{x+y}\sqrt{\frac{x}{y}}dy\, dx} \\ &=\pi \sqrt{\int_0^{\infty} |f(y)|^2 \,dy}\sqrt{\int_0^\infty|g(x)|^2 \, dx}=\pi \| f \| \| g\|. \end{align*}$$  We find that $\| H \| \leqslant \pi$, but how to prove that $\| H \| = \pi$?  We used that $$\int_0^{\infty} \frac{1}{x+y} \sqrt{\frac{y}{x}} \, dx = 2 \int_0^{\infty} \frac{1}{1+\left(\sqrt{\frac{x}{y}}\right)^2} \frac{d\sqrt{x}}{\sqrt{y}} = \pi \quad \text{ for every } y \in (0,+\infty).$$


Never Received German or Swiss speeding tickets

A little background information.  In June 2017 I was "blitzed" two times in Germany and one time in Switzerland while visiting friends and family.  Sure enough, I received three emails and three letters in the mail from Enterprise Germany.  I have waited months without receiving any citations from the local authorities from where I was speeding.  Worried, I emailed  the Enterprise Ordungswidrigkeiten department in the email addressing my concern with the Ordungswidrigkeiten numbers hat I have received from them.  I have never heard back from them.  I also called the Enterprise support number here in the states with all the information and my concerns and yet said they would reach out to their European headquarters.  So now being 2019 and I have never heard back with multiple attempts trying to get this resolved unsuccessfully. I am planning on going back and renting a car this summer.  I don't know what else to do or what consequences I will face when I enter Germany.  By the way, I am a dual national (German/American) if there are any additional consequences when I enter the country with my German passport.


Why does exported map from print composer differ from map canvas? QGIS 1.8.0

I have a small project consisting of a Google maps satellite open layer with two new shapefiles overlaid on it. I have then used print composer to add a grid and some labels. I have also selected lock layers for map items and draw map canvas items in the map tab. However, when I come to import the exported map in to another document, the layers have shifted and the map has zoomed in to an offset position. This occurs in both pdf and image formats. How do I ensure the map I produce in print composer does not alter when saved for export?  I hope someone can help as I have noticed another user asked . Thanks in advance


My code...  public class Login extends AppCompatActivity { DBHelper mydb; RequestQueue requestQueue; String em,li; String activationurl="xxx";  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_login);      Button submit=(Button)findViewById(R.id.button);     submit.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {             EditText email=(EditText)findViewById(R.id.editText12) ;             EditText license=(EditText)findViewById(R.id.editText13);             em=email.getText().toString();             li=license.getText().toString();              new Asyncimg().execute();            }     }); } class Asyncimg extends AsyncTask<Object, Object, JSONObject> {         protected JSONObject doInBackground(Object... arg0) {          JSONObject jsonObj = new JSONObject();         try {             jsonObj.put("email",em);             jsonObj.put("licensekey",li);             Log.d("object",jsonObj.toString());         } catch (JSONException e) {             e.printStackTrace();         }         return jsonObj;     }        protected void onPostExecute(JSONObject result) {          Log.d("return",result.toString());         JsonArrayRequest request = new JsonArrayRequest(Request.Method.POST,                 activationurl, result,                 new Response.Listener<JSONArray>() {                      @Override                     public void onResponse(JSONArray response) {                          try {                             JSONObject store = response.getJSONObject(0);                             Log.d("responce",response.toString());                             mydb.insertdoc(store.getInt("doctor_id"),store.getString("doctor_name"),store.getString("doctor_dob"),store.getString("doctor_gender"),store.getString("doctor_contact_no"),store.getString("doctor_email"),store.getString("doctor_license_key"));                           } catch (JSONException e) {                             e.printStackTrace();                         }                       }                 },                 new Response.ErrorListener() {                     @Override                     public void onErrorResponse(VolleyError error) {                         }                 }) {              @Override             public String getBodyContentType() {                 return "application/json";             }         };         request.setRetryPolicy(new DefaultRetryPolicy(50000,                 DefaultRetryPolicy.DEFAULT_MAX_RETRIES,                 DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));          requestQueue.add(request);     }     } }   Error...   java.lang.NullPointerException: Attempt to invoke virtual method 'com.android.volley.Request com.android.volley.RequestQueue.add(com.android.volley.Request)' on a null object reference   How can i solve this issue... Another activity with volleey working perfectly... How can i resolve this issue... I need to send this jason to server... How can i do it... I ve tried adding appController in manifest but no successs


Installed ISO on external hdd, how to recover data

I wanted to install an ISO of Linux on a regular CD, sadly it was installed on my external backup HDD which i had on my computer. Now i have an ISO image ~2gb on it. As i said it is my backup HDD, so the data on it is really important. How can i remove the ISO and get my data back?  I already installed testdisk and making an analysis with it if i can somehow restore it. Sadly I am not an expert in recoveries, i luckily never had to do one.  Searching the internet I mainly found how to recover ISOs on usb flash drives. Since I am pretty new to Ubuntu, I would massively appreciate a step by step guide, if possible.  Filesystem      Size  Used Avail Use% Mounted on udev            4,1G     0  4,1G   0% /dev tmpfs           823M  2,2M  821M   1% /run /dev/sda2       248G   29G  207G  13% / tmpfs           4,2G   68M  4,1G   2% /dev/shm tmpfs           5,3M  4,1k  5,3M   1% /run/lock tmpfs           4,2G     0  4,2G   0% /sys/fs/cgroup /dev/loop0       91M   91M     0 100% /snap/core/4571 /dev/loop2      210M  210M     0 100% /snap/gimp/40 /dev/loop1       34M   34M     0 100% /snap/gtk-common-themes/3 /dev/loop3       91M   91M     0 100% /snap/core/4650 /dev/loop4       37M   37M     0 100% /snap/gtk-common-themes/319 /dev/loop5      129M  129M     0 100% /snap/winds/63 /dev/loop6      166M  166M     0 100% /snap/gitkraken/62 /dev/loop7      166M  166M     0 100% /snap/gitkraken/58 /dev/loop8      190M  190M     0 100% /snap/vlc/190 /dev/loop9      496M  496M     0 100% /snap/intellij-idea-community/48 /dev/loop10     4,0M  4,0M     0 100% /snap/gnome-system-monitor/41 /dev/loop11      97M   97M     0 100% /snap/zenkit/1 /dev/loop12     223M  223M     0 100% /snap/gimp/39 /dev/loop15     107M  107M     0 100% /snap/bitwarden/4 /dev/loop16     147M  147M     0 100% /snap/gnome-3-26-1604/64 /dev/loop14     131M  131M     0 100% /snap/ghost-desktop/46 /dev/loop13      65M   65M     0 100% /snap/pencilsheep/5 /dev/loop17     4,0M  4,0M     0 100% /snap/gnome-system-monitor/45 /dev/loop18     218M  218M     0 100% /snap/gimp/38 /dev/loop19     208M  208M     0 100% /snap/vlc/365 /dev/loop21     496M  496M     0 100% /snap/intellij-idea-community/51 /dev/loop20      94M   94M     0 100% /snap/ktube-media-downloader/2 /dev/loop22      11M   11M     0 100% /snap/dosbox-x/11 /dev/loop23      91M   91M     0 100% /snap/simplescreenrecorder/1 /dev/loop24     543M  543M     0 100% /snap/supertuxkart/8 /dev/loop25     154M  154M     0 100% /snap/skype/30 /dev/loop26     543M  543M     0 100% /snap/supertuxkart/6 /dev/loop27     4,0M  4,0M     0 100% /snap/gnome-system-monitor/39 /dev/loop28      11M   11M     0 100% /snap/currate/5 /dev/loop31     144M  144M     0 100% /snap/skype/33 /dev/loop29     166M  166M     0 100% /snap/gitkraken/54 /dev/loop30     130M  130M     0 100% /snap/winds/64 /dev/loop32     166M  166M     0 100% /snap/inkscape/4019 /dev/loop33     266M  266M     0 100% /snap/electronic-wechat/7 /dev/loop34      96M   96M     0 100% /snap/vectr/2 /dev/sda1       536M  4,9M  531M   1% /boot/efi tmpfs           823M   17k  823M   1% /run/user/121 tmpfs           823M   99k  823M   1% /run/user/1000 /dev/loop35     496M  496M     0 100% /snap/intellij-idea-community/58 /dev/sdb1       2,1G  2,1G     0 100% /media/rhu/Ubuntu-MATE 18.04 LTS amd64


Hi all i would like to know what would be the best way to have a password generated with at lest one number and one special character and at lest one upper case letter.   private static string PassGEN()     {         int i;         int seed = rand.Next(1,2);         var  CaptialChars = "QWERTYUIOPASDFGHJKLZXCVBNM";         var  smallChars = "qwertyuiopasdfghjklzxcvbnm";         var  numbers = "9462537810";         var  specialCharacters = @"!$%*-/=?\_";          var sma = CaptialChars[rand.Next(1, CaptialChars.Length)];         var sm = smallChars[rand.Next(1, smallChars.Length)];         var smb = numbers[rand.Next(1, numbers.Length)];         var smc = specialCharacters[rand.Next(1, specialCharacters.Length)];          //int seeded = sma + sm + smb + smc;            var all = CaptialChars + smallChars + numbers + specialCharacters;          /*         int CapLenght = 2;         int smallLenght = 2;         int num = 2;         int special = 2;         int  passwordLength = CapLenght + smallLenght + num + special;         */          int passwordLength = 8;         var chars = new char[passwordLength];         var rd = new Random(seed);          for (i = 0; i < passwordLength; i++)          {             chars[i] = all[rd.Next(0, all.Length)];         }          return new string(chars);     }


Could two benders of different nations have a child could it inherit both abilities?

Is it possible for two benders to have a child who could wield both abilities of its parents?


What is the conceptual distinction between coordinating conjunctions and subordinating conjunctions?

While it is easy enough to identify coordinating and subordinating conjunctions by memorizing lists of them, the actual distinction seems arbitrary.  Coordinating conjunctions are said to join (among other sentence elements) two independent clauses, while subordinating conjunctions are said to join a subordinate clause to an independent clause.  The problem is that it appears to be the very presence of a subordinating conjunction which makes an otherwise-independent clause subordinate.  For example, in the sentence...     Stock prices would have plummeted, unless the company issued a public   apology.   ...the second clause is only subordinate by virtue of including the word "unless."  "The company issued a public apology" expresses a complete thought, but "unless the company issued a public apology" does not.  So the presence of the word "unless" explains why the second clause is subordinate, which explains why "unless" is a subordinating conjunction.  However, in the sentence...     Stock prices would have plummeted, but the company issued a public   apology.   ...the same analysis is not applied.  Rather, the word "but" is considered to stand between the two clauses, belonging to neither.  This grants independent status to the second clause, "the company issued a public apology," whereas if the word "but" were to be included, it would be a subordinate clause, and therefore "but" would be a subordinating conjunction.  A sort of explanatory circularity is apparent, and it's not at all clear to me why "unless" and "but" should be treated differently in these examples.  What is so special about the FANBOYS conjunctions that they are said to stand outside of independent clauses, while the rest are said to be part of otherwise-independent clauses, making them subordinate?


Calculating determinant of symmetric $n\times n$ matrix by induction

In a calculation I need the determinant of $\mathbf{I}_n+(a_ia_j)_{1\leq i,j\leq n}$ for given real numbers $a_1,\ldots,a_n$. I conjecture that the determinant equals $1+\sum_{k=1}^na_k^2$, which seems reasonable after making calculations for $n$ up to $5$. However, I did not manage to proof this formula. I tried proving the formula with induction, but any way I tried working out the induction step using linearity of the first row/column did not work. I'm just looking for some help towards a proof, so an inductive proof is not necessary.  Any help is much appreciated.


How do I update bash on RHEL5 servers with expired contracts?

I have two servers with expired contracts that are both vulnerable to shellshock.  I am in the process of migrating both to new servers with RHEL6 or greater depending when I get this done.  That being said, running yum fails due to no contract which for such a high level bug, is really shameful of Red Hat.    Nevertheless, how do I get the rpm so I can manually upgrade on both servers?  They are: Linux intranet 2.6.18-238.12.1.el5PAE #1 SMP Sat May 7 20:37:06 EDT 2011 i686 i686 i386 GNU/Linux  Thank you very much!


mentioning MOOC's I took in my scholarship application

I'm preparing my application for a master degree scholarship, would it help to put the MOOC's I took in the application, I earned five MOOC certificates and expecting another two in the near future.


Were there other marital relationships besides Anakin and Padme in the Jedi order?

There is a vague idea that Obi-wan and Queen of Mandalore had a thing, but this isn't properly addressed in the Clone Wars series AFAIK.  But are there other instances of Jedi who go against the order for love/relationships?


Can a druid rest in his animal form so he can then just keep shifting into animal form? Say turn into a cat, nap for an hour turn into a cat rest for an hour and so on to stay in disguise for a spy mission?


Travelling within US without my passport

I am an international student from San Francisco who is travelling to Belgium to attend a conference. I have an interview scheduled with the Belgian consulate tomorrow in Los Angeles. On my return flight, I won't have any government-issued identification, as I will have to submit my passport for visa processing, and I don't have a government issued driving license.   What form of alternate identification can I produce for airport security so that they can let me through?


Split file by number of lines including header in each one

I need to split a .txt file into smaller ones containing 100 lines each, including the header. I don't know if this is relevant, but the original file is delimited like this:  COLUMN1 | COLUMN2 | COLUMN3 1 | 2 | 3 4 | 5 | 6 7 | 8 | 9   I need every file generated from this split to have the header line. Also, they need to be generated in/moved to another directory and follow a name pattern, like file_01.txt, file_02.txt, etc


I read a lot of articles regarding on site SEO. I focused mostly on Yoast SEO recommendations (since i'm using Wordpress) and Google guidelines.   Structured headings Optimized site speed Breadcrumbs Updated sitemap No-follow all external links No index pages with content that is not unique   What else should i do, to make my site more SEO optimized? Any recommended reading is welcome :)  After making those changes, how soon should i notice some positive changes in page rankings?


given a C++ program with:  int a;   I'd like to obtain the symbol name ("a") of address &a at runtime. I can do it via objdump but can I also do it at runtime? If there exists a way, how do I demangle its name?  Context: I need to profile an application (nope perf does not work in my case) so I am wrapping function calls, e.g. pthread_mutex_lock() using global defines and then track the address of the mutex variable and the RIP of the pthread_mutex_lock() call. I can do the postprocessing by calling into objdump (address to mangled_name mapping) I just thought there exists an API to do it at runtime.


Expect: How to split a number with no delimiter?

I have numbers with different digits each into variables, and I would like to write a script which split them into three variables each one using expect tcl. The first variable should contains three digits, the second always 8 digits, and the third one the remaining digits. How could I achieve that?   Ps: The available answers on the platform show how to achieve this with bash.  Numbers:   345653987652   87645625398784  3984737645  4657636359487564


ObjectMapper can see subclass fields from superclass

I realized ObjectMapper's writeValueAsString method takes an Object type as a parameter. But it is able to produce correct JSON from underlying class object(which is a subclass of Object class). Normally, Java compiler wouldn't be able to access fields of a subclass from a superclass. How does ObjectMapper do it?


In SVM, the Gaussian kernel is defined as: $$K(x,y)=\exp\left({-\frac{\|x-y\|_2^2}{2\sigma^2}}\right)=\phi(x)^T\phi(y)$$ where $x, y\in \mathbb{R^n}$. I do not know the explicit equation of $\phi$. I want to know it.  I also want to know whether $$\sum_ic_i\phi(x_i)=\phi \left(\sum_ic_ix_i \right)$$ where $c_i\in \mathbb R$. Now, I think it is not equal, because using a kernel handles the situation where the linear classier does not work. I know $\phi$ projects x to a infinite space. So if it still remains linear, no matter how many dimensions it is, svm still can not make a good classification.


Delete query does not appear to open space on the SQL Server

Our SQL Server (version 2012) is housed on a cloud server, for which we pay whenever we need additional space. We determined that we could delete some of the data to prevent the need for continually buying more storage.    The delete queries did not appear to open space - the size of the drive and available space doesn't change.    It is my understanding that even though available space has not changed, available space is created by the delete query. So new records imported can populate places where data was deleted. Is this correct?  I understand the Shrink Database is not a good choice.  Should I run -  sp_clean_db_file_free_space based on the following advice?


How did Strucker transport the Chitauri whale corpse/skeleton from NYC to Sokovia?

In the beginning of Avengers Age of Ultron movie, Avengers attack Strucker's base and there Stark discovers the corpse/skeleton of the big Chitauri whale that attacked NYC in the first Avengers movie. That the skeleton is indeed likely of the Chitauri whale is further reaffirmed when it comes alive in Stark's vision as part of the Chitauri fleet attacking earth.   Was Strucker trying to create those Chitauri whales himself? It doesn't sound logical because that wouldn't work without the alien technology, troops and tactics etc that Chitauri employed.   Did Strucker import it from US? If so, how? There were only 2-3 of them and each was big enough to not go unnoticed.


Proving that $\lim\limits_{n \to \infty}\frac{5^n}{n!} = 0$

How does one prove this limit?  $$\lim\limits_{n \to \infty}\dfrac{5^n}{n!} = 0$$ L-Hospital would work, but only in an "intuitive" sense. (Or  at least, I don't see how L-Hospital would work.) I was considering $\delta$-$\epsilon$ as well, but finding a way to make, given $\epsilon > 0$, a $K(\epsilon) > 0$ such that $\forall n > K(\epsilon)$ $$\left|\dfrac{5^n}{n!}\right| < \epsilon$$ seemed to be rather difficult.  What would you suggest? Assume no further background than an introductory real analysis background (no farther than series of functions).


I have downloaded web2py which is sitting inside: ~/web2py/web2py.py  How can I create a launcher for this?


1) In my previous role as a cook at Company A ....  or  2) At my previous role as a cook in Company A ....  Which is more appropriate to write?


In the final episode of TNG () Captain Beverly Picard,and Admiral Riker both travel at Warp 13, but in Voyager the warp limit is warp 10.  In  Tom Paris breaks warp 10 and there are all sorts of unforeseen side affects that are not observed in All Good Things.  I understand that transwarp uses a different kind of technology, but it does not seem that they are using transwarp in TNG: All Good Things.  Is there any in-universe explanation for this or was it just overlooked by the writers?


My 32bits Windows 7 using only 2.39Gb over 6Gb installed

I've just bought a 6Gb RAM PC and reinstalled Windows 7 32 bits on it. I remarked :      6 Gb installed, 2.39 Gb usable.   How to use all the installed memory ?


I am trying for teaching purpose to explain how basically linear regression might work and how it could be extended. Since I am not the TeXpert I fear that my idea might be tricky and more difficult than it probably can be. I have seen many nice plots with tikz and pgfplots.  I searched around and found finally the following image.    This image looks quite appropriate, cause I can explain how the regression might look like. But the problem is that I cannot manipulate, e.g. draw grid, change the naming of x_0 resp \epsilon, change the red line to a dotted one, add other points than P and Q, etc. If the function itself is x^2 or some mixture, I don't mind for explanation. My main objective is to illustrate the basic ideas. And if I would have a sample, then I could extend it little bit further to mean, variance, etc.  Is anybody willing to give me a helping hand? I don't mind if somebody could point me to existing samples. Would be fine as well.


What is the setting in bash for globbing, to control whether * matches dot files

I was surprised recently when I did something like mv ./* ../somedirectory and found that files like .gitignore were not moved.  I do most of my work in zsh on OS X, and this surprise bit me in bash on CentOS.  I tried bash on OS X and found the same behavior: * does not match dot files.  This seems very undesirable to me, but apparently it's the bash default.  (It may be the zsh default too for all I remember, but I may have changed it years ago in my .zshrc and forgotten it ever worked differently.)  How can I configure bash to behave as I expected: for * to match all files, and not ignore dot files.  In case this is at all unclear, here's how to reproduce it    cd /tmp mkdir {t,d}est touch test/{.,}{1,2,3,4,5,6,7} ls -hal test mv test/* dest ls -hal test     # notice dot files are still there ls -hal dest     # notice only some files were mv'ed


How to interpret this PCA biplot to determine which attributes to pick?

I'm running PCA on my dataset which can be found . There are 6497 instances and 12 attributes with 13th column is the class (ranging from 3 - 9) for wine quality.  I've read what PCA is supposed to do. It combines attributes and shows variance in the data. Finally leading to be able to select few dimensions from a high dimension data that have the most variance.   I'm having trouble finding which attributes to pick after running PCA. How can I find out which attributes can I use and still not lose meaning of my data.   I've created the following biplot from the ggbiplot package    How can I interpret from this biplot which attributes to pick?  I've also created a screeplot for variance.     Looking at the variance screeplot I would say that 3 components would represent the data well. Is this a reasonable assessment to make?  Question   How can I decide which attributes to pick after running PCA While doing PCA should I leave out the class variable or keep it?   Code to generate the plots  wine <- read.csv("wine_nocolor.csv") wine1 <- wine[2:13] wine1.pca <- prcomp(wine1, scale. = TRUE) library(devtools) install_github("ggbiplot", "vqv") ggbiplot(wine1.pca, obs.scale = 1, var.scale = 10, groups = wine$q, ellipse = TRUE, circle = TRUE, title="Biplot for Wine Quality (PC1, PC2)", var.axes=TRUE, varname.size=8)


How can I partition a graph with 2n odd vertices into n open trails?

Imagine I have a graph G = (V,E), where exactly 2*n vertices have odd degree. (Obviously, there cannot be odd number of vertices with odd degree in a graph). How can I prove that set of edges E of the graph G can be partitioned into n open trails? (ie all the edges can be divided into n chains).  Probably, this can be proved using properties of euler graphs. For example, we can add n edges to the graph, so that all the vertices get even degree. And then we can build the euler circuit. Then we remove added edges and get n open trials. This proof seems good, but it doesn't work in some cases, for example, when we have a complete graph, where all the vertices have odd degrees and we cannot add any more edges.  I'll be really grateful for any clues how to prove this statement or how to improve my own proof!


Sci-fi book: female character and her brother repeat their mantra (periodic table, Fibonacci sequence) to avoid their consciousness being sucked

I read this story when I was younger (middle school), I don't remember much of it as it was a very long time ago.  From what I remember the main character is female and she has a younger brother. They are with another traveler whom I believe was related to them.  At one point in the book their consciousness were being attacked or sucked into a void and in order to protect themselves they each had their own type mantra they repeated. The girl repeated the periodic table and I believe the traveler repeated either the Fibonacci sequence or listed off prime numbers. Her brother on the other hand had been captured in the exchange.


If you start casting a new concentration spell while concentrating on Haste, does the wave of lethargy interrupt the casting of the new spell?

Say a spellcaster has previously cast haste on themselves and is currently concentrating on it. However, they see a situation unfolding that desperately requires them to concentrate on another spell (e.g. hypnotic pattern).  They move and take their action to start casting the new spell. However, concentration on a spell begins , which would immediately end , causing "a wave of lethargy" that makes the spellcaster unable to move or take actions until after their next turn.  The spellcaster has already finished moving, and has already chosen an action to take (casting a new concentration spell), and has actually started taking that action.  Does haste's lethargy effect interrupt the casting of the new spell, or does the new spell go off and then the caster becomes lethargic immediately afterwards?


This question is similar to ()  but not exactly what I am looking for.  Here is a selection sort I wrote below, it's in Java.  public void sort() {      int smallIndex;      for(int i = 0; i < arr.length; i++) {          smallIndex = i;          for (int j = i + 1; j < arr.length; j++) {             if (arr[j] < arr[smallIndex]) {                  smallIndex = j;             }         }          if(i < smallIndex)             swap(i, smallIndex);     } }   Here is my swap method.   public void swap(int a, int b) {      int temp = arr[a];     arr[a] = arr[b];     arr[b] = temp; }   I am filling an array with 50,000 random elements between 0 and 999.  The method sorts it fine.  Each execution is about 1400 milliseconds (1300 - 1500).    Here is a selection sort from a book I was looking at.  public void sortBook() {      for(int i = 0; i < arr.length; i++) {          int minPos = minimumPosition(i);         swap(minPos, i);     } }   Here is the minimumPosition method.  public int minimumPosition(int from) {      int minPos = from;      for(int i = from + 1; i < arr.length; i++) {          if(arr[i] < arr[minPos]) {              minPos = i;         }     }      return minPos; }   The swap method is the one I am using from above.  I am consistently getting around 700 millisecond execution time for this with 50,000 elements with a range of 0 - 999.    My question is why does sort() take almost twice as long to execute as sortBook().  I have stepped through them both on smaller arrays and they seem to take the same amount of steps to do the same thing, sort() only swaps sometimes, the sortBook() swaps every time.  To my novice eye, they look to be doing almost the exact same thing.   I don't understand why sort() takes roughly double the time sortBook() does.  Anybody have any insights as to why this is the case?


How to overwrite contents of a dir without deleting anything?

In the curr directory, I have folder certs. certs   - a    - b    - c  /another/location may or may not contain certs(a,b,c) folder already. Problem: mv certs /another/location gives error - directory already present if certs are already present. One workaround is:    rm -r /another/location/certs     mv certs /another/location   My Question: But I don't want to use rm and delete already present things, I just want to overwrite certs folder if already present otherwise just certs should be moved normally. PS: I don't want to use rsync as it has to be installed explicitly and may not be present in all machines.


How to create read-only user for schemas which can be created in the future?

SO and Internet contains a lot of answers to question how to create read only user (for example see  article), BUT all of them promote the following way:   Create user Grant USAGE privilege to all existing schemas Grant SELECT privilege to all existing tables in all existing schemas Grant default SELECT privilegie to all tables (which can be created in the future) for all existing schemas   But what to do if some schemas can be created in the future too?   I mean I want to grant read only permissions to these schemas (and tables in these schemans) created in the future without any additional configuration. Is it possible?


What details should a good cover letter contain to back up a UK Visit Visa application?

I'm married have a job with stable income.I have 2 kids. I have applied for UK visit visa about 7 years ago and was refused. I can't remember what exactly was the reason for refusal.  I want to travel for tourism to spend 9 days and my budget is around 1300GBP for the trip. I would be spending part of my annual leave in the UK. I have the following people in UK: Mother, Dad, Sister(she's married), Brother (married), Uncle and Aunt.  I'm travelling alone since my wife is pregnant. I haven't travelled since I was in school then.  I will be on my yearly 21 days annual leave during which I will be spending 9days in UK. I can't think of anything more about my circumstance.  So what should a cover letter look like?  secondly I have just 1 account where my salary is paid in monthly and my savings.I will be submitting the 6 months bank statement for the account.  Additional question:  In the income & expenditure where one is asked to indicate if I have income and savings,should I click Yes or No. And if Yes should state the ending balance as at the time of my application.


Is a polynomial equation of degree $\ge 5$ not solvable by any way?

By  an arbitrary polynomial equation of degree $\ge 5$ is not solvable  using , unlike the polynomial equation of second degree which is solvable by radicals (because of the  of order 5, the symmetry group is not ).  Is this the only way an arbitrary polynomial equation can be (exactly) solved?  Does Galois Theory provide universal concept of general solvability?  Are there other methods except using radicals (for exact, not approximate or numerical solution)?  PS. A related


What is the difference between 'a' and 'the'?

How can you know when to use a and when to use the? I do not know how to do and my teacher only says that one is here and one isn't. What does this mean? I want to know how to use "a" and "the" when talking about an object. Thank you.


I want to show that $$\log N<\sum_{n=1}^{N}\frac{1}{n}<1+\log N.$$ But I don't know how to show this.


Not a normal subgroup by left and right coset

If $G = \begin{pmatrix} a & b \\ 0 & 1 \end{pmatrix} a,b\in (\mathbb{R}) : a \neq 0$)   and assume G is a group under matrix multpication  Assume that K = ($\begin{pmatrix} s & 0 \\ 0 & 1 \end{pmatrix}: s\in\mathbb{R}, s \neq 0$) is a subgroup of G. Prove that K is not a normal subgroup of G.  I want to prove this by showing the left cosets and the right cosets are not the same.  So if we take $g=\begin{pmatrix} a & b \\ 0 & 1 \end{pmatrix}$  then $gK=\begin{pmatrix} as& b \\ 0 & 1 \end{pmatrix}$  And if we take, $g'=\begin{pmatrix} a' & b' \\ 0 & 1 \end{pmatrix}$ then $Kg'=\begin{pmatrix} sa' & sb' \\ 0 & 1 \end{pmatrix}$  How do i show that $gK \neq Kg'$, Is it sufficient to say that $Kg'$ has two columns that depend on s where as $gk$ only has one column that depend on S. So they are not equal


Sentences ending with both a colon and a question mark

How should sentences that end with both a colon and a question mark be formed? Two examples are below, both questions, but one in which the colon presents a piece of information and the other in which it begins a list.     Is this the one you meant?:          Do you have any of these symptoms?:     •  Headache     •  Nausea     •  Dizziness    Obviously a question-mark—colon combination is no good, and at best, looks odd. Putting the question mark after the item(s) is no good either. Do they have to be rewritten in a more pointed way such as below or is there another option?     Is the one in the following picture the one you meant?                   Do you have any of the symptoms below?        •  Headache     •  Nausea     •  Dizziness


Me either OR Me neither? MW Collegiate Dictionary says Me Either is correct in this example

Me either OR Me neither? MW Collegiate Dictionary says Me Either is correct.  Shouldn't it be "Me neither" in this example?   "I didn't like the movie."  "Me either."  Perhaps "either" is truly correct because the sentence equates to "I didn't either." "I didn't neither" would be incorrect because it's a double negative. Your thoughts? Should it be "Me either" or "Me neither" in that example?


Is it possible to type a question paper using MiKTeX version 2.9?  How to install the exam package once I have already installed basic packages like article, thesis.


How can I choose a different Ubuntu One default local folder?

I would like to tell Ubuntu One to sync with '~/Public/Ubuntu One' rather than '~/Ubuntu One'. Since I'm using it on Arch Linux, I don't have any right-click option for that.  I tried to edit ~/.config/ubuntuone/syncdaemon.conf and add the line root_dir = ~/new/folder (as suggested ), but the file is automatically reverted to its previous state. Also, the command u1sdtool hangs and does apparently nothing - I have to use Ctrl + C to close it. Is there another way to setup the default Ubuntu One default local folder?


Concerning the passage of light through a glass medium and it's apparent re-acceleration, is the absorption explanation supported by evidence?

When someone questions how light can re-accelerate after slowing down in a glass medium, the common answer is that it never really slows down, it is absorbed by the atoms and then released.  Have there been any confirmations that this is the reason why light appears to slow down, or is this speculation, the best guess we have?  I'm thinking the apparent speed reduction could be estimated by knowing the density of the glass and calculating in the absorption/emission time?


Rotating hatch labels based on orientation changes in Data Driven Pages Strip maps?

I've created a strip map for a linear feature and have it loaded as a data driven page.  I want to show stationing for the line.  The stationing displays properly on the first data driven page but on each subsequent page the stationing labels get messed up as the map orientation changes. I want the stationing labels perpendicular to the linear feature as shown in the first image.  The tick marks seem to rotate and stay perpendicular to the line but the labels won't.  How can I fix this?


Finding residual and error term of a regression model

I am a bit confused on the difference between the residual term and the error term and how you go about finding each of these.  Suppose we have $$\hat{y_i}=\hat{\beta_0}+\hat{\beta_1}x_1+\hat{\beta_2}x_2+\hat{\beta_3}x_3+\hat{\beta_4}x_4+\hat{u_i}$$  Would the residual $\hat{u_i}$ just be: $$\hat{u_i}=\hat{y_i}-\hat{\beta_0}-\hat{\beta_1}x_1-\hat{\beta_2}x_2-\hat{\beta_3}x_3-\hat{\beta_4}x_4$$ ?  How would you then go about finding the error term $u_i$?


my teacher told us to write a program that should give the length of a string after taking out the consecutive spaces, and only use one space. for example, if i write "hello(space)(space)(space)world" it should return "hello world" and the length should be 11. The problem is that i keep getting segmentation fault and i don't know why? can someone explain it to me? thanks by the way!  int limpaEspacos (char t[]){  int i, j, w=0; char c; for(i=0;t[i];i++){      t[w]=t[i];     w++;      for(j=i;t[j];j++,i++){          if (t[j]!=' ') {break;}        }     }    t[w]='\0';    return w; }   int main () { int a;  a= limpaEspacos ("b   ruh");  printf("%d\n", a );  return 0;  }


Serialize Unknown Types with DataContractJsonSerializer

i have this method to serialize my objects :      private static byte[] GetBytes(object obj) {         byte[] result;         using (MemoryStream ms = new MemoryStream()) {             DataContractJsonSerializer ser = new DataContractJsonSerializer(obj.GetType());              ser.WriteObject(ms, obj);             result = ms.ToArray();             ms.Close();         }         return result;     }   it is normal, when i want to use this, my object parameter must a class that decorate with [System.Runtime.Serialization.DataContract] and its member must decorate with [System.Runtime.Serialization.DataMember] but how about when i want to use unknown type like :  var myVar = GetBytes(new { Name = "MyName", LastName = "LastName" });   how can i decorate unknown types with attribute


I'd like to make footnotes in LaTeX that look a bit more traditional; that is, rather than breaking the line in the footer between two footnotes, I'd like LaTeX to simply add an indent where the last footnote left off and begin the new footnote there.  This would solve the problem I'm having with spacing; I need to cite various sections of the same work, and it is extremely important that I cite them as they are used.  However, this becomes very cumbersome, and can fill up to half a page with footnotes reading nothing but "Ibid. \S 7.2," for example.  I'm a bit new at all this, so please bear with me.


I'm not getting privileges, edited /etc/sudoers

I want to run any program without asking root password. Because I'm the only person who use the system. So I googled and edited /etc/sudoers.  What I did:  # chmod 640 /etc/sudoers # vim /etc/sudoers   Added a line like below:  # User privilege specification root    ALL=(ALL:ALL) ALL sgg ALL=(ALL:ALL) ALL   saved and closed the file. Rebooted system. But no change/improvement. Am I want to change any other lines? or Is there any way?  EDIT:  1.I changed permissions /etc/sudoers to 0440. ls -l /etc/sudoers result is   -r--r----- 1 root root 772 May  4 19:43 /etc/sudoers   2.I run # visudo. File content is  Defaults        env_reset Defaults        mail_badpass Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"  # Host alias specification  # User alias specification  # Cmnd alias specification  # User privilege specification root    ALL=(ALL:ALL) ALL sgg ALL=NOPASSWD:ALL  # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL  # Allow members of group sudo to execute any command %sudo   ALL=(ALL:ALL) ALL   But still it asking for password when I run sudo ls.  System Info: Ubuntu 14.04 x86_64 3.13.0-24-generic


A property of almost surely positive random variable

Let $X$ be an almost surely positive random variable.  I must demostrate that:  $\sum_1^\infty P(x \geq n) \leq E[X] \leq \sum_0^\infty P(X> n)$  Could someone help me?


When is it actually helpful to use a interface?

I am a beginner programmer, learning Java and had a question, (I have seen many answers to this, and they seem to describe something different to what I want).  As far as I understand it, an interface is a thing, and you can have a class implement the thing, what that means is the class has to define the methods mentioned in the thing. So why not just define the methods anyway?


Network card is not working, after installing Ubuntu on my Dell All-In-One 19

My original OS was Windows Vista home.  I'm relatively new to Linux, so this is pretty difficult on my end. After looking up other forum topics, I ended up typing lspci|grep Net and the result was:  04:00.0 Network cotroller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01) 06:00.0Etheret controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)   I'm not sure where to go from here though.


How to change the spacing between figures/tables and text?

I was wondering if there is any way to lessen the spaces between figures and text. In my paper I have a lot of figures (graphics) and it is inconvenient for me to have default (large) spaces between text and graphics. Is there any command I could use to change the default settings?


What fallacy is "sports use it so it must be a good system"?

So basically the argument goes, "auto-promotion/relegation is an inherently flawed system because of x reasons." and the response is "well traditional sports have  used it for decades thus it's obviously the optimal system"  My initial assumption would be appeal to authority but i'm not too sure. Can anybody help clarify?   It suggests that it's generalization from induction but i believe it's slightly different. sports systems aren't infallible truths like the sun rising. 0


SQL Server instance on my server is using almost full memory available in my Physical Server. Say if i am having 8GB of RAM than SQL Server is using 7.8 GB of RAM from system. I also have read articles and also read many similar questions regarding same on this forum and i understand that memory is reserved and it is using memory.  But i have 2 same servers and 2 SQL Servers, why this is happening on a single SQL Instance not on other. Also when i run DBCC MemoryStatus than it is showing up...  VM Reserved 8282008 VM Committed 537936   so from this we know that SQL reserved whole 8GB memory, but why this VM Committed keeps increasing. What i understand is VM Committed is:      VM Committed: This value shows the overall amount of VAS that SQL Server has committed. VAS that is committed has been associated with physical memory.   So this is the memory SQL Server has committed (from this i understand that physical memory actually SQL Server is using at instance).  So like to know the reason behind this ever increasing VM Committed memory on my server and not on another. Thanks in Advance.


How to align text and picture on top of table?

I have a simple latex picture I want to align with the text. Here is a sample of code.  \begin{tabular}{ p{10em} p{20em} }   \includegraphics{images/jouer.png}  &  Prevailed sincerity behaviour to so do principle mr. As departure at no propriety zealously my. On dear rent if girl view. First on  smart there he sense. Earnestly enjoyment her you resources. Brother chamber ten old against. Mr be cottage so related minuter is.  Delicate say and blessing ladyship exertion few margaret. Delight herself welcome against smiling its for. Suspected discovery by he  affection household of principle perfectly he. \\  \end{tabular}


I have noticed recently in books a disparity with regards to punctuation marks around quotes.  In one example I saw a punctuation mark (in this case a full stop) was placed inside the closing quotation mark. However, I am more accustomed to seeing the punctuation mark outside the closing quotation mark.   For example: Mark said 'I go there all the time'. or 'I go there all the time.'  Which is correct? Or would both be considered to be fine?


I'm trying to wrap my head around short selling. Online the explanations i found talk about borrowing a stock from your broker, selling it at a high price then waiting for the stock to drop in price and buying it back for that low price, so you can return the stock to its original owners and pocket the difference, this i get. my question is, how can you sell something that you borrowed, how can you sell something that is not yours. like for example if i borrowed my friends car, i can't sell it because i wouldn't have the pink slip, so how can i sell stocks that i don't own? Thanks in advance.


Difference between var a = {arr:[], method:function method(){console.log(this.arr)}} and var a = {arr:[], method:function(){console.log(this.arr)}}

1. var a = {              arr:[],               method:function method(){                      console.log(this.arr)} //this is undefined              } 2. var a = arr:[],               method:function(){                      console.log(this.arr)} //this gives a              }   Can somebody explain me why this context gets lost in the first example?


Will I lose previous purchases when I change country in iTunes

I lived in country A for a few years, and made a number of purchases on the iTunes store for that country. I have now moved to country B, and want to start using the iTunes store from country B. If I change the country in my account settings, will I lose all my previous purchases, or will I still be able to re-download my purchases from country A from iCloud?


Why do moving water droplets form on the surface of a very hot pan?

The above video is my recording of the phenomenon.  Why does this occur at high temperatures, when at lower temperatures the water vaporises upon contact with the hot surface of the pan? Note that there was no oil or other substance on the surface of the pan.


$|Z_1| = | \frac{v(1+\alpha)+ \sqrt{v^2(1+\alpha)^2-4\alpha}}{2}|$  I know that using triangle inequality method $|Z_1|$ is:  $|Z_1|= |\frac{v(1+\alpha)}{2}| + |\frac{\sqrt{v^2(1+\alpha)^2-4\alpha}}{2}|$  Case I: $-1 \leq \alpha \leq 0$ and  $0 < v <1$   Prove that $|Z_1| \leq 1$  Triangle inequality |x+y|=|x|+|y|  I've been stuck on this problem now for a couple of days and I'm having a difficult time proving this case. I was wondering if anybody can assistance me on this problem. I want to thank you ahead of time for your cooperation.


How to obtain the gradient in polar coordinates

I'm not sure on how to find the gradient in polar coordinates. The thing that troubles me the most is how to find the unit vectors $\hat{r}$ and $\hat{\theta}$. My approach for the rest is expressing the partial derivatives in respect of $r$ and $\theta$ using the chain rule.   How can I get around solving this problem?


I am attempting to create a truncated icosahedron (soccer ball) as specified in a . The tutorial shows this mesh being part of the Solids that are in Add-ons. Mesh>Solids>Archimedian>Truncated Icosahedron (see screenshot at 1:06 in tutorial). When I enable my add-ons, I do not see the same ones that he does. He's using v2.68 and I'm using v2.74. Have I done something wrong, or has it changed between versions?


Probability for roots of quadratic equation to be real, with coefficients being dice rolls.

I really need help with this question.     The coefficients $a,b,c$ of the quadratic equation $ax^2+bx+c=0$ are determined by throwing $3$ dice and reading off the value shown on the uppermost face of each die, so that the first die gives $a$, the second $b$ and and third $c$. Find the probabilities that the roots the equations are real, complex and equal.   I was thinking about using the fundamental formula but i'm not sure how to go about doing it. Help would be greatly appreciated.


Shows a cached image when I try to render

I'm trying to render and all I get is the same cached image, whether I choose Cycles or Blender Render. I can hide and move objects, but the cached image is all I get when I press the render button. If I remove the images in the output folder, I just get a blank render screen and no rendering happens at all. What do you think is going on here?


In Lyx, align text inside a float caption

I'm trying to align a legend inside a table caption, so that the colons are vertically aligned. I can do it with the align ambient outside of the caption, but if I use the same code inside the caption the pdf won't compile (I use LuaTeX to compile). I'm using the package caption.  EDIT: i want something like this:    for which i've written this code:  \begin{align} \begin{split} a : {} & the~first~letter~of~the~alphabet \\ b : {} & the~second~one \\ and : {} & so~on \end{split} \end{align}   There might be a more elegant way... but i don't know it.  Anyway, I can't do it inside the caption, that's why i'm stuck.


Is there an intuitionist (i.e., constructive) proof of the infinitude of primes?

This question relates to a discussion on . Euclid's proof of the infinitude of primes is an indirect proof (a.k.a. proof by contradiction, reductio ad absurdum, modus tollens). My understanding is that Intuitionists reject such proofs because they rely on the Law of the Excluded Middle, which they don't accept. Does there exist a direct and constructive proof of the infinitude of primes?


Is it possible to download streamming videos off Chromium?

I like to download online streaming videos off Chromium. Firefox can do this, but Chromium can't. Any help?


"Simple" .htaccess rewrite for sites in subfolders not working

I have a catch-all Apache virtual host in /var/www/.  In it, I have a index.php that handles all the code for pages, and subfolders holding the resources for each site (images, css, etc).  I want a rewrite that uses the images for the appropriate domain in their subfolder if they exists, and hands off to index.php if they don't.  I also don't want to be able to access these subfolders directly.  Example   -> /var/www/sites/example.com/images/fb.png  -> /var/www/index.php (to show 404)  -> /var/www/index.php  It seems simple, but I can't figure out how to block the /sites/.  .htaccess  This works with the exception that it allows http://example.com/sites/example.com/images/fb.png to be accessed directly.  RewriteCond %{REQUEST_URI} !^/sites/ RewriteRule ^(.*)$ sites/%{HTTP_HOST}/$1 [NC]  RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . index.php   Trace  [rewrite:trace3] [/initial] [perdir /var/www/] add path info postfix: /var/www/images -> /var/www/images/fb.png [rewrite:trace3] [/initial] [perdir /var/www/] strip per-dir prefix: /var/www/images/fb.png -> images/fb.png [rewrite:trace3] [/initial] [perdir /var/www/] applying pattern '^(.*)$' to uri 'images/fb.png' [rewrite:trace2] [/initial] [perdir /var/www/] rewrite 'images/fb.png' -> 'sites/example.com/images/fb.png' [rewrite:trace3] [/initial] [perdir /var/www/] add per-dir prefix: sites/example.com/images/fb.png -> /var/www/sites/example.com/images/fb.png [rewrite:trace3] [/initial] [perdir /var/www/] add path info postfix: /var/www/sites/example.com/images/fb.png -> /var/www/sites/example.com/images/fb.png/fb.png [rewrite:trace3] [/initial] [perdir /var/www/] strip per-dir prefix: /var/www/sites/example.com/images/fb.png/fb.png -> sites/example.com/images/fb.png/fb.png [rewrite:trace3] [/initial] [perdir /var/www/] applying pattern '.' to uri 'sites/example.com/images/fb.png/fb.png' [rewrite:trace2] [/initial] [perdir /var/www/] strip document_root prefix: /var/www/sites/example.com/images/fb.png -> /sites/example.com/images/fb.png [rewrite:trace1] [/initial] [perdir /var/www/] internal redirect with /sites/example.com/images/fb.png [INTERNAL REDIRECT] [rewrite:trace3] [/initial/redir#1] [perdir /var/www/] strip per-dir prefix: /var/www/sites/example.com/images/fb.png -> sites/example.com/images/fb.png [rewrite:trace3] [/initial/redir#1] [perdir /var/www/] applying pattern '^(.*)$' to uri 'sites/example.com/images/fb.png' [rewrite:trace3] [/initial/redir#1] [perdir /var/www/] strip per-dir prefix: /var/www/sites/example.com/images/fb.png -> sites/example.com/images/fb.png [rewrite:trace3] [/initial/redir#1] [perdir /var/www/] applying pattern '.' to uri 'sites/example.com/images/fb.png' [rewrite:trace1] [/initial/redir#1] [perdir /var/www/] pass through /var/www/sites/example.com/images/fb.png   I don't get the mod-rewrite and it's looping structure... I would love to get some help with this.  Mod-rewrite always seems to give me trouble.


Here is the premise:  I have a desktop that I need to be able to start up and stop applications on, but cannot get remote access to. What I had in mind is setting up a service on the machine that will start/stop a list of applications as told. This windows service will periodically pole a web service for new commands and execute them accordingly.  These are my questions.   1) Is this the easiest solution? What else would you recommend?  2) How hard is it to run an exe from a windows service? How about stopping one?  This isn't for a project or anything, just something I am interested in implementing (mostly for fun). Any answers or even thoughts are appreciated. General discussion is also welcome (feel free to leave comments).


How much detail is enough to start a campaign?

As a new DM and new to the whole pen and paper genre, I am wondering how much detailed should my world be at the beginning of a campaign.  For example, if a player wants to create a cleric, I should probably have already picked what gods exist in my world for them to choose from.  Also, considering that the PCs are supposed to have lived in the world, shouldn't they also know of any kingdoms etc. that exist in the world? Wouldn't that though defeat the whole concept of organically creating the world along the campaign as PCs adventure through it? And wouldn't it be too tiresome to detail and keep notes from the very start of all the laws and history a world has in order not to lose coherence in case a PC asks a question that could connect to the whole universe?


Isomorphism $f:\mathbb{Z}/17\mathbb{Z}\times \mathbb{Z}/561\mathbb{Z} \to \mathbb{Z}/51\mathbb{Z}\times \mathbb{Z}/187\mathbb{Z}$

I would like to find an group isomorphism $f:\mathbb{Z}/17\mathbb{Z}\times \mathbb{Z}/561\mathbb{Z}  \to \mathbb{Z}/51\mathbb{Z}\times \mathbb{Z}/187\mathbb{Z} $. By the fundamental theorem of a finite abelian group and the Chinese remainder theorem, we know that those groups are isomorphic, but I want to show it by constructing an isomorphism. However, I don't know what the first step is. The only thing I know is that $f(0,0)=(0,0)$ since an isomorphism maps an identity element to an identity element. Then I saw  and tried to mimic the way, like $f(x,y)=(x\mod{51},y\mod{187})$, but it is obviously not a surjection. Now I am stuck here. Any help?


Do plant viruses attack animals? examples?

Do plant viruses attack animals, if yes please give an example of the virus. I feel both plant and animal viruses are different, and they cannot attack each other hosts.


Why is the Mann–Whitney U test significant when the medians are equal?

I've received a results from a Mann-Whitney rank test that I don't understand.  The median of the 2 populations is identical (6.9). The uppper and lower quantiles of each population are:   6.64 & 7.2 6.60 & 7.1   The p-value resulting from the test comparing these populations is 0.007. How can these populations be significantly different? Is it due to the spread about the median? A boxplot comparing the 2 shows that the second one has far more outliers than the first. Thanks for any suggestions.


Printing out Stack Overflow/Exchange Q&As including comments?

I would like to make a suggestion for a Stack Overflow/Exchange complete Q&A printer-outer.   It would print out the full question, its answers, and  its comments, which the normal web-browser print does not do.


float - float giving wrong value when result should be very close to zero or zero in c++

I am trying to float operations but i am living this problem.  float a = -3.000002;  float b = -2.999998;  a + b = -6  b - a =  3.33786e-06 giving this value against 0,000004


Can't change Windows 10 default file type association

After installing  on Windows 10, I can not change the default application for files with the .txt extension anymore.  Right-clicking on Context Menu > Open With… > Choose Default Program, I can select Sublime in the dialog and check "Always use this application." The file is opened once with the chosen application, but the default remains as the Windows Editor.  In the Windows Settings, I am also able to select Sublime in the dialog for .txt files, but the file type remains assigned to the Editor.  Things that did not help:   Restarting Checking the registry key in \HKEY_CLASSES_ROOT\Applications\sublime_text\shell\open\command\ Uninstalling Sublime Text    worked, but is unwieldy.   What exactly could have broken the standard file type association dialog? Is it repairable?


Minimum value of $\frac{4}{4-x^2}+\frac{9}{9-y^2}$


How to implement parameterized SQL if the variable is inside an IN clause in the T-SQL statement

I have something as mentioned below  declare @param1 varchar(20), var1 varchar(20), var2 varchar(20),          @sql nvarchar(max), @var3 varchar(20)  set @var1 = 'value1' set @var2 = 'value2' set @var3 = 'value3'  set @sql = '....... where name in (' + @var2 +') and size in (@param1)  and class in ('+ @var3 + ')'  execute sp_executesql @sql, N'@param1 varchar(20), @var2 varchar(20),  @var3 varchar(20)', @param1 = @var1, @var2 = @var2, @var3 = @var3;   The query is not getting executed. Am I doing something wrong? If yes, then what is the correct way to do this?


'Adjust Last Operation' panel closes when trying to change values

When you add a new mesh, the overlay appears in the bottom left of the screen allowing you to change certain properties. Recently, however, when I try to click on any setting, the box disappears. I've tried clicking, dragging and any combination of both, but the overlay doesn't respond and vanishes as soon as you release the mouse button.    Obviously you only get one chance to change these properties - so I'm stuck without it.  Could an add-on be causing the problem?


What will happen if I add 1 million lines in /etc/hosts/

I am trying to write a website blocker and the simplest thing I found is putting lines at the end of /etc/hosts. If I want ot have 1 million websites blocked that redirect to localhost would that slow something about internet browsing or something about normal OS operations.


Send special characters via form and insert in mysqli

I ofc allready searched but can't find anything that works, even htmlentities is't working:  index.php:  <head> <meta charset="utf-8"> </head>  <form action="upload.php" method="post" enctype="multipart/form-data" accept-charset="UTF-8"> titel: <input style="width: 300px; margin-left: 104px;" type="text" name="titel"> <input type="submit" value="UPLOAD"> </form>   and upload.php:  <head> <meta charset="utf-8"> </head>   <?php if(isset($_POST['titel'])) {     $con = mysqli_connect("localhost","trhdrth","fhrth","trhdrth");      $titel = mysqli_real_escape_string($con, $_POST['titel']);      mysqli_query($con, "INSERT INTO artikel (titel)     VALUES ('" . $titel . "')"); } ?>   When titel is blablabla then everything i working but when it's смешные then it' not working  How to do it right?


When I try to break blocks in Minecraft, they reappear

For some reason, I can't break any blocks in Minecraft.  They break, but then they reappear and don't drop anything.  Iv'e tried restarting and updating, but nothing seems to work.  What do I try next?


Are there any subsets $A, B$ of $\mathbb R$ such that $\sup(B)>\sup(A)$ but none of the elements of $B$ are upperbounds of $A$?

If not, then how would you prove it? I've thought of multiple examples that do not support this but cannot think of how to go about proving it.


Credit cards: How is a cash advance different from a purchase? Why are the fees so high?

I have a couple of questions about the notion of "cash advance" on credit cards.    How does the credit company decide if some transaction is a "cash advance"? Does the merchant tell the credit company it's "cash" or does it depend on the type of the merchant (e.g. anything I buy from certain merchant is considered "cash")? For example, if I buy a foreign currency from some merchant, would it be "cash" (even though I can't use that currency to buy stuff until I go to a country where it is valid)? What if it's a collector's item (but also a circulating currency in some country)? i.e., who decides that and by which rules? Why do credit companies charge high fees on "cash advances"? i.e., why do they care how I used the balance – if I directly exchanged it for an item or took cash and then bought an item? I understand it may be the loss of the transaction fees in the second case but the fees they charge and the interest they charge are much higher than any transaction fees. Is it just the case of charging extraordinary fees to discourage certain behavior?


How to convince airport security that I am not dangerous when having metallic parts in my body?

I had an operation some time ago and now I have small screws in my shoulder which will not be removed anymore. When I decided to fly for vacation, I supposed that these will may bring me into trouble at the airport when going through the metal detector.  So I asked my doctor and at the hospital if there is any kind of "passport" or something similar which confirms the screws in my shoulder so that I do not get into many problems. Unfortunately, they told me such things do only exist if you get a new knee or something, not if you just have a few screws in your body.  When I flew from Vienna to Amsterdam and back, my fears were confirmed: The security staff inspected me very precise, and I had to explain them my story. Thank god I have some scars left so they believed me!  However this is not a permanent solution for the future. Is there any international "passport" which my doctor and hospital do not know about? If not, what else are my possibilities?  I am not that afraid when travelling within the EU, however I fear that this situation might get quite dangerous when I'm in other countries...


If "X is a dependency of Y" then "Y is a ??? of X"

"X is a dependency of Y" means that Y depends on X (i.e. we have to import Y in X's  source code).  Is there a word that fits in "Y is a ??? of X", meaning X uses Y?


How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

So I made some custom posts and taxonomies..  http://example.com/?product_category=mytaxonomyterm&lang=it  Till here, all fine: I get a 'mytaxonomyterm' taxonomy archive. Btw, lang is because I'm using polylang plugin.  If I try to add &posts_per_page=15 to url, it doesn't work: it won't change number of post.   Even worse, if I add paged=1, It will reload into  http://example.com/?product_category=mytaxonomyterm&lang=it (so stripping the page param).  Even worse, if I add paged=1, it will throw an error telling me that there's an error in post-template.php on line 279, 'Trying to get property of non-object'.  So what? What am I doing wrong?


What are the differences between "does exhibit" and "exhibits"?

In a paper I am reading, the author wrote as "The problem does exhibit the property, ..." However, I learned that exhibit is a verb, so I think that "The problem exhibits the property, ..." is correct. What is different between them?  In a similar way, I saw "do exist" instead of just "exist" many time.


Answers converted to comments should retain upvotes

When the moderators convert some answers to comments based on flag requests from other users, I think it should also convert no. of upvotes to the corresponding comment votes.  Eg:- If an answer with 5 upvotes and 2 downvotes is converted to a comment, then the comment should get 3 upvotes automatically during conversion.  Since the comments do not have any downvote concept, the answers which get cummulative negative votes can be ignored when they are converted to comments.


My Blender rendered pictures are pixelated

When I render my animation the output pictures are pixelated, can anyone help me fix this problem?


In case of the solution of Schrödinger equation in particle in a box we find that the probability of finding the particle at the middle of the box is always zero (for $n$ even) and the probability distribution has a node there.  Say initially the wave function is a superposition of all even-$n$ states. So we have a finite probability to find the particle on each side of the box but not at the middle therefore if I measure the particles position now and find it at the right side then after long time if I take another measurement and find the particle on the left side, I can't say that it has passed to the left side in the meantime because at the middle the particle can never be found.  So, my question is   How can I find the particle on both sides but not at the middle, as if it is found to be present at both sides at two instances, it must pass through the centre? If this is not the case then what is the description of a particle in quantum mechanics? I mean which properties should a physical quantity have to be called a particle?


Question: Given three IID random variables $X,Y,Z$ uniformly distributed on $[0,1].$ Calculate $\mathbb{P}(X+Y>Z).$   My attempt:  Let $f_{XYZ}$ be the joint density function of $X,Y,Z.$ by IID, $f_{XYZ} = f_X\cdot f_Y \cdot f_Z = 1$ where $f_X,f_Y,f_Z$ are probability density function of $X,Y,Z$ respectively. It follows that  $$\begin{align*} \mathbb{P}(X+Y>Z) & = \mathbb{E}[ 1_{\{X+Y>Z \}} ] \\ & = \int_{-\infty}^\infty \int_{-\infty}^\infty \int_{-\infty}^\infty 1_{\{X+Y>Z \}}(x,y,z) f_{XYZ}(x,y,z) dzdxdy \\ & = \int_0^1 \int_0^1 \int_0^{x+y} dzdxdy \\ & = \int_0^1 \int_0^1 (x+y) dxdy \\ & = \int_0^1 0.5 + y dy \\ & = 0.5 + 0.5 \\ & = 1 \end{align*}.$$ However, suggested answer is $\frac{5}{6}.$ I am not sure where is my mistake.


The only reason why I install Banshee on my new ubuntu distros is because i cannot seem to be able to add my favorite radio station to Rhythmbox.  I would like to add this radio station to Rhythmbox http://live-icy.gss.dr.dk:80/A/A05H.mp3  I press add radio and enter the radio URL in this box:    Now when i try to start the radio nothing happens  Any help appreciated   edit 1  Ubuntu 13.10  Rhythmbox 2.99.1


how to quickly create many arrowheads on a path using illustrator?

My question is simple. How to quickly create many arrowheads on a path using Adobe Illustrator? like this


How to format Razor code containing VB code

I want to format a block of code from a .vbhtml file. That is VB.NET code embedded in a Razor code file. So the parser/formatter needs to understand Razor syntax and VB.NET syntax. Could such a language format be implemented on SO, or what would be the best substitute?  As an example, the first block of code in this answer needs to be formatted as Razor VB.NET code:   Ideally the code would look like this: