I have a method that I want to send several parameters or one or none  public void CalcBreakpoint(int tolerance, [I want to send several parameters or one or none]) { //my code }   for example something I want to call it as CalcBreakpoint(200, "string value1", "string value 2", "String Value 3")  and in other occasions I would call it as  CalcBreakpoint(500, object1, object2)  I would like to avoid overloading because 90% of the code is the same.   How to pass several values as parameters in a method? such as   public void CalcBreakpoint(int tolerance, [ONE_PARAMETER])


I'm a new user here and regularly check Super User. I find many questions related to Microsoft Excel so I was thinking maybe we can have a separate SE site for Microsoft Office products.


Probability of their's constituting a triangle?

We have a line segments with length $l$ then you choose two random points and cut it from these points so that we  have three piece of line segments.  What is the probability that these piece constitute a triangle ?    We need to use triangle inequality but I could not manage it. Thanks.


Proof that TREE(n) where n >= 3 is finite?

Reading online, it generally seems accepted that TREE(n) where n >= 3 is a finite number, but large enough to be incomputable and only has extremely loose lower bounds today. TREE(n) is the function defined by Harvey Friedman, based on Joseph Kruskal's tree theorem. A simplified definition:  "TREE(n) = the maximum length of a set of rooted trees Tm with n possible vertex labels, where Tm has m or fewer vertices, and subsequent trees do not homeomorphically embed a preceding tree."  We can trivially show that TREE(1) = 1 and TREE(2) = 3.  My question is, how can it be known that for values of n greater than 2, the series of possible trees is finite? If we can't compute the solution, how do we know that it ends? If there is an existing write up online describing proof that these numbers are finite, please link me to it, I'm finding limited reading material on the TREE function. Thanks.


Windows 8 installer folder grows exponentially

I have Windows 8 x64 on my laptop. It is a while since its /windows/installer folder are growing! Right now it reaches to 160GB! I checked its content and it filled with .msp files with same size and same description but with different name! Would you please guide me through this problem?  Best regards.


How to answer “who is singing over there?_____ is Ivan’s sister. A: She.   B: It.  C. That


How to create a dropdownlist from an enum in ASP.NET MVC?

I'm trying to use the Html.DropDownList extension method but can't figure out how to use it with an enumeration.  My classes :   namespace Support_A_Tree.Models {     public enum Countries     {         Belgium,         Netherlands,         France,         United_Kingdom,         Other     }       [MetadataType(typeof(SupporterMetaData))]     public partial class Person     {         public string Name { get; set; }         public Countries Country { get; set; }          public List<SelectListItem> allCountries()         {             List<SelectListItem> choices = new List<SelectListItem>();             foreach (String c in Enum.GetValues(typeof(Countries)))             {                 choices.Add(new SelectListItem() { Text = c , Value = bool.TrueString });             }             return choices;         }       }      public class SupporterMetaData     {         public string Name { get; set; }          [Required]         public Countries Country { get; set; }     } }   In my VIEW I tried to get all countries, but it seems like i'm doing it wrong.  @using (Html.BeginForm()) {

@ViewBag.Message

 You want to ...

Plant trees
         @Html.CheckBoxSimple("support", new { @value = "Plant trees" })
Support us financial
         @Html.CheckBoxSimple("support", new { @value = "Support financial" })
      <input type="submit" value="Continue "> }


Mac logs Network and remotely (what do the logs look like)

How do I find out if someone has been on my computer remotely or through a network?  I am on a network with quite a few different people at my house.


I've recently beat the Ender Dragon. I've heard there is a way to respawn her. How do I do that?


I am deploying some classes to UAT which have a code coverage over 80 % but deployment fails with the message "Your code coverage is 50%. You need at least 75% coverage to complete this deployment. DeactivateUsers" I cannot understand why it happening as I checked it a dozen of times that code coverage is well above required limit. What should be my next step to counter this problem  Note I am deploying only 3 classes not all the classes via Change Set and with test class in it and running only that test class during deployment.


Faithful representation of the Heisenberg group

I have been trying to solve a problem concerning the Heisenberg Lie group $H$. Show that there does not exist a faithful representation $\rho:H\to\text{GL}(2,\mathbb{R})$.  Any ideas about how to solve it would be very appreciated.


Accidently Deleted Partition How to Recover Windows?

I accidently delelted the partition lists (I did not write anything to the drive, just a simple delete using gparted.  I initially had partitions like so (if I remember correctly)    500 MB EFS 128 MB Windows Reserved Partition 178 GB Windows File System 270 GB empty space.. some other stuff??   I ran gpart, and it can find most of these partitions, but not the windows 128 MB reserved one. I tried to recreate the log using testdisk  But I cannot reboot into windows 10, I tried solutions listed  and none of them worked...  Is there a way to fix this through ubuntu live boot?


Php does not recognized formdata send via Ajax js

I send a Formdata with an Ajax request and try to read it in my php file. But in the php file, when i try to read what is in the $_POST with my key i see nothing. I don't understand why.  I did some research on the forum and tried to see why my code isn't working as i wanted to.   EDIT :   I saw the differents links but i was wondering i there is any ways to do it without JQuery.  My ajax call   function pageSend_DataRun () {     var formElement2 = document.forms.namedItem("data_to_send_general");     ajaxCallUrl ( "send.php",new FormData(formElement2), pageconfig_acq_generalDataCallback ); }   function ajaxCallUrl ( url, params, callback /*, ... */ ) {   var xhr = new XMLHttpRequest();  xhr.callback = callback;  xhr.arguments = Array.prototype.slice.call( arguments, 3);  xhr.onload = ajaxSuccess;  xhr.onerror = ajaxError;  xhr.open( "POST", url, true );  xhr.setRequestHeader("Content-Type", "multipart/form-data");  xhr.send( params ); }   EDIT2 :   I found the solution there : [  I deleted the line to "setRequestheader" in my ajax configuration and it started working.       function ajaxCallUrl ( url, params, callback /*, ... */ )     {       var xhr = new XMLHttpRequest();      xhr.callback = callback;      xhr.arguments = Array.prototype.slice.call( arguments, 3);      xhr.onload = ajaxSuccess;      xhr.onerror = ajaxError;      xhr.open( "POST", url, true );       xhr.send( params );     }


Prove that $2^{n}+1$ is not a cube of an integer for all $n\in\mathbb{N}$

Prove that $2^n+1$ is not a cube for any $n\in\mathbb{N}$. I managed to prove this statement but I would like to know if there any other approaches different from mine. If existed $k\in\mathbb{N}$ such that $2^n+1=k^3$ then $k=2l+1$ for some $l\in\mathbb{N}$. Then $(2l+1)^3=2^n+1 \iff 4l^3+6l^2+3l=2^{n-1}$. As I am looking for an integer solution, from the Rational Root Theorem $l$ would need to be of the form $2^j$ for $j=1,...,n-1$. But then $$4(2^j)^3+6(2^j)^2+3\times2^j=2^{n-1} \iff 2^{2j+2}+3(2^{j+1}+1)=2^{n-1-j}$$ the LHS is odd which implies that $j=n-1$. Absurd. Thank you in advance.


How to count the number of the bits in the long long type variables?

I want to count the bits in the long long type variable. For example, 1100011001 -> 5  In the integer type, I can use   a = (a & 0x5555) + ((a & 0xAAAA) >> 1);  a = (a & 0x3333) + ((a & 0xCCCC) >> 2);  a = (a & 0x0F0F) + ((a & 0xF0F0) >> 4);  a = (a & 0x00FF) + ((a & 0xFF00) >> 8);    but in case of "long long", how to do that?


$x^2= -1 (mod 43)$. I want know How to solve this problem and also what will be the general approach for solving any of such quadratic congruences.


Understanding Countability in Sample Spaces

In [Casella, Berger] Statistical Inference there is a short discussion on countability of sample spaces and its implications:  This distinction between countable and uncountable sample spaces is important only in that it dictates the way in which probabilities can be assigned. For the most part, this causes no problems, although the mathematical treatment of the situations is different. On a philosophical level, it might be argued that there can only be countable sample spaces, since measurements cannot be made with infinite accuracy. (A sample space consisting of, say, all ten-digit numbers is a countable sample space). While in practice this is true, probabilistic and statistical methods associated with uncountable sample spaces are, in general, less cumbersome than those for countable sample spaces, and provide a close approximation to the true (countable) situation.  I'm having a bit of trouble wrapping my head around the nuances of the distinction, and concretely picturing the implications discussed. A couple of questions: how is the way that probabilities are assigned different in an uncountable space? Can you provide an example of the way probabilities are assigned to some uncountable space and how it differs from assignment to the countable space that it is closely approximating? Further, can you provide an example of how the mathematical treatments are different? What makes the uncountable spaces less cumbersome to work with (I would imagine it would be the opposite)? Lastly, I'm not too sure what they mean by measurements of infinite accuracy in this context. While of course the finite set of ten-digit numbers is of finite accuracy and we can certainly work with it, why would a countably infinite be any more philosophically sound to work with? Wouldn't it also be of infinite accuracy (I'm thinking of e.g. the natural numbers, although again maybe I am misunderstanding what is meant by accuracy)? I imagine some of these could be answered as I read on, but at the very least I'd like to have something in my mind so I know what to pay attention to as I keep reading. I also haven't been able to find much other discussion online regarding the nuances of countability, so any insights or references that I missed would be greatly appreciated.


I'm new to Gimp and it seems the color picker does take a color brighter than it is supposed, i have to get the hexa color from another app using screenshot.  is there any settings that will make it work properly?


Is there a word in English language that means "every eight weeks"?

Does a word exist in the English language to mean "every EIGHT weeks", like biweekly for every two weeks, and triweekly for every three weeks, etc.?


Does the XP penalty for non-favored class apply to prestige classes?

In D&D 3.5, a character with multiple classes suffers an XP penalty if two of their classes are more than one level apart, but favored class is ignored for that purpose. (Player's Handbook, p.60).  Do prestige classes count for this purpose?  For example, a dwarf level 7 cleric takes a level in warpriest. Does he now suffer an XP penalty because his two classes, cleric and warpriest, are more than one level apart, and neither of them is his favored class? Or are prestige classes ignored for the purpose of the multiclassing XP penalty?


How to get Windows batch date stamp that is locale independent?

In a Windows batch file, is it possible to get the text of date in some location independent form to get the location independent date stamp as a string? To make the question clear... In the Czech Windows, the wanted code looks like this:  d:\>date /t čt 16. 05. 2019  d:\>echo %DATE:~-4%%DATE:~-8,2%%DATE:~-12,2% 20190516   However, in the English Windows the same code returns bad results for obvious reasons:  d:\>date /t Thu 05/16/2019  d:\>echo %DATE:~-4%%DATE:~-8,2%%DATE:~-12,2% 2019/1u   If the code is tuned for the English Windows, then it does not work in the Czech environment. How it should be implemented?


Kerning issue between the letters "f" and "i"

I noticed that after compiling a document using TeXWorks and PDFLaTeX (I made a clean install less than a month ago) there seems to be a strange kerning issue whenever "f" and "i" appear next to each other in textmode and I have no idea what is causing it. If I compile the text and try to highlight it in a pdf reader, it seems to treat "fi" as its own character and I cannot highlight just the "f" or the "i". In all other cases the kerning seems fine.  \documentclass[11pt]{amsart} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsxtra} \usepackage{amscd} \usepackage{verbatim} \usepackage{rotating} \usepackage{multirow} \usepackage{multicol} \usepackage{url} \usepackage[all]{xy}  \begin{document}  identities for modified lattice paths by establishing a bijection \end{document}


HTML checkboxes keep checked after refresh

I have a couple of check boxes in my markup.. For example:  <input type="checkbox" id="someCheckbox"/>   If I refresh the page with Ctrl+Shift+R everything is OK - the page renders unchecked check boxes, however if some of them were checked and I refresh with F5 they stay in their previous state.  Setting the checked attribute doesn't work since having the attribute is enough to make it checked, the value is more or less irrelevant..  How can I force them to be unchecked on page load, please?


If I cast Silent Image on a boat, does the illusion move with the boat?

If I cast Silent Image on a boat, does it move with the boat or do I have to use an action to make it move with the boat?  The situation is this, my party is floating down a large river and I want to be able to use the Silent Image spell on the canoe to make it look like a large tree floating down the river to anyone from the tree line.   My assumption is that because I've placed the illusion on the floor of the canoe, it will just stick with the boat and I do not need to use an action to move it because the illusion is not moving but rather the canoe is moving and the illusion is just place on the canoe.   Of course, the illusion isn't perfect because part of the tree looks like someone started carving the bottom of a boat out of it, and well the tree has oddly positioned branches that obscure much of the part of the tree (where the ores might be seen while the party paddles.), but it's a tree non the less, especially to the passive observer.


What is the Ideal Keyword Placement in a URL for Inner Location Pages?

I'm working on a website with 100s of locations. There is a location search page (Find Widget Dealer), a page for each state (Tennessee Widget Dealers) and finally a page for each individual location which has localized unique content and contact info (Nashville Widget Dealer). My question is is related to how I should structure my URL and the keywords within the URL. Keywords in my examples being the location and the product (i.e. widget).  Here is a quick overview of each of the 3 tiered pages, with the Nashville page being the most optimized:   Find Widget Dealer: Dealer Page only includes a location search bar and bullet list links to states Tennessee Widget Dealers: Page includes brief unique content for the the state and basic listing info for each location along with links to the local page) Nashville Widget Dealer: Page includes a good amount of unique content for this specific location (Most optimized page)   That said, here are the 3 URL structure options I am considering:   domain/widget-dealers/tennesee/nashville domain/dealers/tennesee-widget-dealers/nashville domain/dealers/tennesee/nashville-widget-dealer   Any help is appreciated! Thank you


Let $\mathbb{F}, \mathbb{F'}$ be fields, $\mathbb{F} \subset \mathbb{F'}$, and $\alpha \in \mathbb{F'}$. Assume $\mathbb{F(\alpha)}$ is finitely generated algebra over $\mathbb{F}$.   Is this true: $(\mathbb{F}(\alpha):\mathbb{F}) < \infty$ ?   First i thought it's a consequence of this theorem:   But we don't know if $\alpha$ is algebraic or not.


Why many abstract nouns get an indefinite article while it's taught that abstract nouns shouldn't get it?

I was told that abstract nouns don't get articles. (You can  for example). But I found many abstract nouns that get indefinite articles, such as: "", "", "", "", "a love", "a wish", "a difference", "a power" and more. What is the explanation for that?


I just installed Ubuntu 14.04.1 onto a drive with existing partitions. I want to make a link/shortcut to one of my games installed on one of the partitions (/media/emily/ Gaming).  After making a link of the .jar file (FTB.jar) and moving that link to desktop it works. But after restart it says the link is broken and asks me to trash it.  The drive currently says it's mounted.  Any suggestions as to why this is happening?  I'm very new to linux, so a detailed description of what might be happening and suggestions to fix it would be appreciated.   After restart:  $ lsblk NAME    MAJ:MIN  RM  SIZE    RO  TYPE  MOUNTPOINT sda     8:0      0   298.1G  0   disk ├─sda1  8:1      0   28G     0   part  / ├─sda2  8:2      0   1K      0   part ├─sda3  8:3      0   6.5G    0   part  [SWAP] ├─sda4  8:4      0   65.6G   0   part  /home ├─sda5  8:5      0   100G    0   part └─sda6  8:6      0   98G     0   part   sr0     11:0     1   1024M   0   rom  $ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> # / was on /dev/sda1 during installation UUID=2fee48ec-8d63-4125-9eca-5b2e1061602d /               ext4    errors=remount-ro 0       1 # /home was on /dev/sda4 during installation UUID=b3804a77-7d80-40a6-8f92-212bed16a151 /home           ext4    defaults        0       2 # swap was on /dev/sda3 during installation UUID=8fff87b8-2128-48ae-bfd4-bc959458f99d none            swap    sw              0       0   After making a link from the gaming partition:  $ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) none on /sys/fs/pstore type pstore (rw) /dev/sda4 on /home type ext4 (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) systemd on /sys/fs/cgroup/systemd type cgroup         (rw,noexec,nosuid,nodev,none,name=systemd) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=emily) /dev/sda5 on /media/emily/ Gaming type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)


How do I keep in development add-ons under source control and easily reload changes in Blender?

I've been developing Blender add-ons for a while now, and one thing that I've always struggled with is how to keep a single copy of the add-on so that I can make changes to the code and quickly test in Blender AND have it all under source control. I don't want my Git repository inside Blender's add-ons directory, as it can easily get deleted by Blender (via the remove add-on button), and it enforces a particular folder structure on the repository.  Currently, I mainly use an external text editor (Sublime text) to work on the add-on, and then zip it up and install when I want to test my changes. As you can imagine, this is slow and laborious, so I'd rather work in a way that allows me to simply reload the scripts and have everything work, but not have to copy changes from the Blender folder back to my source repo.  I'm sure this must be a solved problem, so could someone explain how I can set up my repository so that it's safe from accidental deletion, but can easily be reloaded in Blender.


Could someone help me check my answer on this probability question?

The probability of A having committed a crime is 35%. B is a friend of A and will lie to help A at a probability of 25%, if A is guilty, or say the truth is A is innocent. C hates A and will lie to hurt A if A is innocent, at a probability of 30%, or say the truth is A is guilty. What is the probability that the statements of B and C contradict each other?  Scenario of guilty + scenario of innocent = (.35*.25*1)+(.65*1*.3)=0.2825


Quad tree vs Grid based collision detection

I'm making a 4 player co-op r-type game, and I'm about to implement the collision detection code. I've read a lot of articles and stuff about how to handle collision detection, but I'm having a hard time figuring out what to go with. It seems the quad tree is the most common way to go, but in some resources they mention the grid based solution. For having used a grid for detections in a previous game, I'm comfortable with that, but is it actually better than a quad tree ? I'm not sure which offers best performance, and I've also ran a little benchmark, there is not much difference between both solutions.  Is one better than the other ? or more elegant ? I'm really not sure which one I should use.  Any advice is welcome. Thanks.


How can I automatically save screen shots by the press on the Prt Scr button?

I want a screen shot to be saved automatically to a location I specify, as soon as I press the Prt Scr button on my keyboard, or the Alt+Prt Scr combo. I also want the date and time to be used as file name for each new screen shot. And I want the files to be saved as PNG images.  Is there a Windows program that would allow me to do just this? I don't want any other fancy features like editing and making notes, etc. just a plain simple program that will either automatically save the screen shots to a pre-set location or prompt me where I want to save it. I don't want to go through MS Paint to save the shots.  I guess what I'm after is a little bit of Linux behavior of Print Screen, but only for Windows. And I additionally want the files to be named by the date and time they were taken.  Update:  Meanwhile, I have found one called Greenshot. But I don't know how to get the file name pattern right.  This is the default pattern.  ${capturetime:d"yyyy-MM-dd HH_mm_ss"}-${title}   Can someone explain this? Why do they have the title capturetime and the quotation marks? It produces file names like this.  2013-01-26 15_24_28-Greenshot.png   And this is what it says about the file patterns in the program description.  ${YYYY} year, 4 digits ${MM} month, 2 digits ${DD} day, 2 digits ${hh} hour, 2 digits ${mm} minute, 2 digits ${ss} second, 2 digits ${NUM} incremental number, 6 digits ${title} Window title ${user} Windows user ${domain} Windows domain ${hostname} PC name   How do I get files that include year, month and day, separated by a dash, followed by hour, minute and second? I want to include a time for uniqueness of the file name.


I have downloaded SQLite Studio .bin file. After I made it executable and start it, icon is pretty disappointing. Because of that, I got another .png icon from the web. Changing icon in properties of .bin file works, but only temporary, when app is started, there's still same ugly icon in Unity and ALT+TAB window. Even creating Application Entry in ./local/share/applications/sqlitestudio.desktop with icon path to /opt/sqlitestudio/icon.png doesn't work... I find it in Unity search, icon is good there, but again, after starting application, same old ico. What can I do?  It's Ubuntu 12.04 LTS.  Thanks


The most popular LaTeX logos and personalize a \guit logo

With this question I was wondering what are the most popular commands that enable me to write logos using LaTeX code (for example I know only \LaTeX, \TeX and \guit),    \documentclass[12pt,a4paper]{article} \usepackage[margin=1in]{geometry} \usepackage{guit} \begin{document} \LaTeX, \TeX, \guit[color] \end{document}   and if I use the command \guit from guit package, I can change each letter (g, u, i, t) with letters that I like, like my name, different colors of my choice keeping the same structure of the characters.   EDIT: Is it possible to build my personal logo using the guit or hologo package (see the answer by @Mensch) only from one command (for example \guit[color]{SeBAstiano})?


Does an ability resolve if the source of the ability leaves the battlefield?

Player A taps  targeting Player B; its "deals 1 damage to target player" ability is placed on the stack.  Player B gets priority and responds with , targeting Goblin Fireslinger.  Both players pass priority. Snap resolves, and Goblin Fireslinger is returned to its owner's hand.  Does Player B still take 1 damage from Goblin Fireslinger's activated ability?  I know that if the creature had been killed/sent to the graveyard, the ability would still resolve, but I was told recently that because a player's hand is a private zone it couldn't. If anyone could confirm or deny this for me, it would be most appreciated.


Retrieving a list of questions closed as duplicates

I couldn't find any way to get, through the API, a list of all questions that are duplicate of what other question.  For example, for the question with ID 10369, I want to obtain the question with ID 10372 (or the other way around, at least).  Is there a way to do so, other than scraping the page?


Are 'when' and 'by the time' interchangeable?

I'd like to know whether 'when' and 'by the time' are interchangeable or not.        When your plane takes off, I will be back at home.   By the time your plane takes off, I will be back at home.


If Hogwarts admits children from 11, who takes care of primary education?  I would imagine lots of anti-social, semi-literate people if parents are left to their devices in educating their children. But then the government does taxpayer-funded universal education with Hogwarts and depends on a society of educated people. So where are the primary schools?


What is the recommended way to embed PDF in HTML?   iFrame?  Object?  Embed?   What does Adobe say itself about it?  In my case, the PDF is generated on the fly, so it can't be uploaded to a third-party solution prior to flushing it.


Say you should be at work.  Would the correct answer be "yes" or "no"? The common answer would be "yes", but isn't that really saying, "yes, I should not be at work"?


how to classify weighted projective lines?

Let $\mathbb{WP}^1(1,a)$ be the weighted projective line where $(x_0:x_1)$ is identified with $(\lambda x_0:\lambda^a x_1)$. Some questions:  1) Is $\mathbb{WP}^1(1,a)$ smooth for all a?   2) When is $\mathbb{WP}^1(1,a)$  isomorphic to $\mathbb{WP}^1(1,b)$?  what about the projective plane? Is there an easy way to classify $\mathbb{WP}^2(1,a,b)$?


Do fluorescent lighting and shutter speed create a problem with color cast?

I took a bunch of photos at my son's martial arts club using a D90 with a 50mm F1.8.  The club is lit with overhead fluorescent lighting, and I was getting some weird results where some shots are "white", others have an "orange cast", and still others are partly white and partly orange in the same shot.  I suspect it has to do with the combination of the frequency of the light flicker and with the camera shutter speed. Here is a sequence of 3 shots that show the problem.  The shots were taken with 1/500s at F2 and ISO-800 and with Auto-WB.  First shot ("white/normal"):    Second shot ("orange cast" at top):   Third shot ("orange cast" at bottom):   These were taken in burst mode within a second of each other.  Can anybody tell me what is going on?  And, how I can avoid this?


In java what does 'for(int something : something else)' mean?

My teachers said this will be on the ap test and I have no idea what it means. Please help!


Maximum/minimum of two random variables is a random variable

Suppose $X,Y$ are random variables. I'm trying to understand why $\max\{X,Y\}$ and $\min\{X,Y\}$ are also random variables. The proof in the book that I'm using states that for each $t$,      $\{ \max\{X,Y\} \leq t \} = \{X \leq t \} \cap \{Y \leq t \}$,   and     $\{ \min\{X,Y\} \leq t \} = \{X \leq t \} \cup \{Y \leq t \}$.   I can't make the mental leap. Could someone explain this more explicitly?  Edit:   We use the following definition for a random variable: A random variable is a function on  $X: \Omega \rightarrow \mathbb{R}$ such that      $X^{-1}((-\infty,t]) := \{\omega \in \Omega : X(\omega) \leq t\} \in \mathcal{F}$   for all $t\in\mathbb{R}$, where $\mathcal{F}$ is the set of all events.  The obvious first step that I made was      $\{ \max\{X,Y\} \leq t \} = \{ \omega : \max\{X(\omega),Y(\omega)\} \leq t \}$.   I just don't see why the next equality follows.  Edit2: Fixed typo.


How could zombie Randall be walking around after dying of a broken neck?

In the season two finale of The Walking Dead, Shane kills Randall by snapping his neck. Hours later, Daryl and Glenn find Randall, who has since become a zombie, up and mobile.  Daryl even identifies the cause of death as a broken neck.  Since becoming a zombie doesn't heal any injuries or afflictions, it seems to me that Randall should have become a zombie who was paralyzed from the neck down.  His head would still be reanimated (like Herschel's head was in the season four mid season premiere), but the rest of his body would have remained dead.  How could Randall get up and walk around after having his neck broken?


Deleting custom post types , custom taxonomies and their data on unistalling

I want to delete my CPTs and taxonomies when someone uninstalls the plugin.  Since the plugin is already deactivated the only way that i can do this is by issuing directly SQL statements to the db using $wpdb.  Is this correct or there is another WordPress way of doing it?


I want to add text labels for each panel of an inserted picture (e.g. A B C).  Each individual figure currently exists as pdf and jpg, but I want to join them together into a single pdf with each panel labeled.  I have searched high and low to figure out how to make text sit atop the image and have gotten nowhere (other than to import the pdf and make a new document).  The end product should look like the image below (taken from web).  I have done this plenty of times in Word, etc., but I would like to further my transition to LaTeX.


How to change "way" of searching in Ubuntu 18.04?

So I recently upgraded to 18.04 from 16.04 and whilst my experience has been good one thing kinda bugs me when using the file browser (Nautilus).   When I'm in a directory and I wish to search in this directory Nautilus starts searching in my entire computer instead of just snapping to the first file/folder starting with the letter I typed.   So the behaviour I'm looking for is basically this. Imagine I have a directory with 3 folders in it called foo, bar and baz. Then when I click the letter 'B' I simply want nautilus to snap to bar, instead of bringing up this search bar as it does now.   Is this possible?


One of our SQL Server 2014 database transaction logs is growing very fast and I cannot find the root cause for this.  Database in Simple recovery mode. During full backup the log file grows to its limits (800GB) and backup fails.  I checked the transactions during the backup and did not find anything strange.  All transactions are our regular loading and no maintenance jobs (index rebuilds etc.)  I am aware of that backup keep the log from reuse but this mean 800GB changes during the backup period and this does not make any sense.  I had compared this DB to similar DB size, loading and backup duration. The second DB Log is not growing more than 400GB.  DB size is 7TB. Backup time is ~20H. The only time log is growing is during backup. Log_reuse shows correct Backup_Restore. No long running transactions.  The problem is the "speed" of log growth - compared to similar sites with same load and same backup duration, the log is 4 time less.


Man is sitting in his room and gets contradictory advice from two men from the future

Years ago I read short story about a man sitting in his room. Suddenly appears the same man but from the future and gives him an advice about the future. Original man seems to agree to follow that advice. Man from the future goes away. Then another version of that man from another future comes and gives a completely opposite advice and begs original man to follow it. Then this second version of this man from future also left. Original man stays alone not knowing which advice from future he must follow.


For $f$ entire and $\{f(kz) : k \in \mathbb{C}\}$ a normal family, prove that $f$ is a polynomial.

Suppose that $f : \mathbb{C} \to \mathbb{C}$ is entire. Let $\Omega = \{ z : \frac{1}{2} < |z| < 2\}$. Furthermore, suppose that $ \mathcal{F} = \{f(kz) : k \in \mathbb{C}\}$ is a normal family of analytic functions defined on $\Omega$; the family $\mathcal{F}$ is normal on $\Omega$ iff each sequence from $\mathcal{F}$ has a subsequence converging uniformly on compact subsets of $\Omega$. Prove that $f$ is a polynomial.  I'm studying for my qualifying exam in complex analysis, and this question appears on an old exam. Usually, when I want to show that some entire $f$ is a polynomial, I just try to show that there exists some $N$ so that $f^{(k)}(0) = 0$, all $k \ge N$, but I'm having trouble getting that strategy to work here. I've been looking at the sequence $f(\frac{z}{n})$ trying to make something work, but have not had any success.   I would prefer to receive a hint or two, and then I'll try to post my own solution. Thanks in advance!


Excel VBA: Outputting cell row and column titles if cell is colored

I'm fairly new to VBA and I've been struggling over this problem for a couple weeks.  Every time a name has passed a training, the corresponding name/training title cell is filled with the date, and the background is filled in yellow RGB(255,255,0). When IN training they are filled with a yellow background and no date. (There are also some that are red or grey for out of date, but I think I have already worked those out.)  The end goal is to have a separate output sheet within the same file. This sheet will only contain the necessary Training Titles at the top, and all of the names under it if they are the blank yellow cells (No date + yellow). Eventually I would like to be able to email this list to certain people, but I think there are enough resources to figure that out myself.  Currently, I have code to find the max/min of the column/rows, and code that deletes all cells containing dates. My plan was to have it scan the remaining cells for any that were yellow, then paste the training titles/names on a new sheet, but I cannot figure out how to that in VBA.   I'm sure there has to be an easier way to do this as it is several hundred columns wide and rows long.  Thanks for any input!  EDIT: This is the code I am currently using. This scans the range of name vs training and clears the cell data if it is any other color than yellow, or if it is yellow with a date.  I attached an image to help explain more clearly. The important cells are the ones that are yellow with no date. From those cells I need to paste the Training Title in Row 1, and the Name of the person in Column A on a new sheet in the way you can see in the picture.  Sub ClearCellMacro()  Dim myLastCell As Range Dim cell As Range  Application.ScreenUpdating = False  'Find last cell Set myLastCell = Range("C4").SpecialCells(xlLastCell)  'Make sure last cell is outside of first row and column (or else exit) If myLastCell.Row = 1 Or myLastCell.Column = 1 Then Exit Sub  'Loop through entire range removing cell contents if value is not numeric For Each cell In Range("C4:" & myLastCell.Address)     If Not IsNumeric(cell) Then cell.Clear Next cell  For Each cell In Range("C4:" & myLastCell.Address)     If cell.Interior.Color <> RGB(255, 255, 0) Then cell.Clear Next cell  Application.ScreenUpdating = True  MsgBox "Non-Yellow + Blank Cells Removed."  End Sub


Find the antiderivative for $f(x)=\frac{1}{1+\cos^2x}$

Evaluate $\int_0^x \frac{dt}{1+\cos^2t}$ $\forall x \in \mathbb{R}$  I got this question in an analysis exam, and I did what everybody does (), I made $u=\tan t$ and I got $\frac{1}{\sqrt2}\tan^{-1}\left(\frac{\tan x}{\sqrt2}\right)$ but I know this is wrong because $\tan x$ is not continuous in every $[0,x]$,  it's solved until $\pi$, but my limit is $x$ so I'm not sure what should I do.  Also, we have the integral of a positive amount, so my answer should be an increasing function...   is explained why this happens (which I already know), and the answers there don't solve the integral between $0$ and $x$. One answer gives a possible result (that have to be adapted, since there it is indefinite), but no deduction of it. The answer given here is much more complete and perfectly address my specific question.


Allow registered users to hide username when asking privacy-sensitive question

I think sometimes there is a need to post question as anonymous, reason being to avoid linking content of a question with the identity of the questioner. This may not be so evident or required on technical sites like stackoverflow.com but sometimes is a necessity on sites like  or maybe in future depression.stackexchange.com  On such sites user may not want to link his identity to some questions where he may detail about his being over-weight or skinny or maybe some other attribute which he may like to keep private and avoid making his concerns public, but still want to ask a question with valid data.  I am not suggesting that user asking question should not be registered or not responsible for content. I think all down-votes or up-votes should still be attributed to user, but this way most users would not suffer , and reputation could even be used for a bounty. The only change should be that while asking question a valid registered user can hide his identity (the whole user signature block/user card and the reputation should be replaced by "identity-hidden") and that question should not be listed in his public profile.  Anyway identity of questioner doesn't add much value to question. If we think such anonymous question may reduce social nature of Stack Exchange sites, and maybe majority of questions will become anonymous we can curb that by putting a daily or monthly limit per user or put a price of say 50 reputation per anonymous question.  PS: I don't think this is duplicate of        because motive for question and reason for feature request are different, and I propose a different solution too, because creating another account for asking such questions has many problems which having a single account doesn't have    I don't have to manage other account If I keep single account I still may want to keep my details to be linked to my non-anonymous questions I may want to use reputations I earned as bounty for anonymous questions    also allows anonymous questions and may be we can take some hint from there.


Answer flagged as "not an answer" still exists (was not removed)

Some number of days ago I came across  which I felt was a very poor attempt to answer the question.  So I flagged it as "not an answer", and a while later my flag was marked as "helpful". However, I just noticed today that the answer still seems to exist, as I had thought it would get deleted. I've only been actively flagging posts for the past few months, and thus far have a decent flag rating, however I am interested in learning more about how moderator decisions are made in situations like this. Why would an answer like this not be removed?  As always, please let me know if I can provide additional info or correct this question. Thank you.


Why will an accelerated electron emit a photon?

Why will an accelerated electron (or a charge) emit a photon?  For example normal matter even if it accelerate or not will emit a photon.


Can't login with Google using Internet Accounts

I configured my Google account on El Capitan (OS X 10.11.2) using Internet Accounts and it worked fine for a while. However, after a restart the system asked again for the password and 2-factor authentication code, which I provided, but then I get stuck in the following window after entering my password and code:    In the above window, if I hit Cancel and then try to select anything in the Google account I get the message "Unable to verify account name or password."  If I delete the account and add it again I'm asked for my password and 2-factor authentication code, but after providing them I get stuck in the following window - notice that the Done button turned grey after pressing it, and the dialog never closed after that:     I already tried starting my system in safe mode, with the same results. What's happening? Any help will be greatly appreciated!


Reduce precision of "Last seen" to hours rather than minutes

The "last seen" information is on every user profile, and I would argue that in some cases it compromises user privacy and voting anonymity (though others clearly disagree). I think this is particularly an issue on smaller sites in the SE network.  Why does the "last seen" time need to be so precise? I'm fine with "last seen 2 hours ago", but how is it useful to know someone was "last seen 2 minutes ago"? It is useful sometimes to know if a user has been on the site in the past day, or perhaps the past hour, but I cannot think of a reason why anyone needs to know another user has been on the site in the past 2 minutes.  Furthermore, the last seen time is inaccurately precise. The time is not updated instantaneously, meaning that when it says "last seen 2 minutes ago" someone may have been active more or less recently. Which means that the site is displaying incorrect information some, maybe most, of the time.  I therefore propose that "last seen x minutes ago" be replaced with "last seen <1 hour ago" or similar. I feel this would provide just as much useful information, while providing better anonymity of site use and voting, and also more accurately represent user activity.


Determine number of objects created in Java

Are objects created only when the new keyword is used? How many objects have been created once this code reaches the comments? I am saying 4 new objects because the constructor calls new Exception() each time a Car is initialized. How do I verify the number of objects created?  class Car {     Car() {         try {             throw new Exception();         } catch (Exception ex) {             System.out.println("Do Nothing");         }     } }  class Test {     public static void main(String[] args) {         Car carOne = new Car();         Car carTwo = new Car();         Car carThree = carTwo;         // how many objects have been created? 4?     } }


Rest to read more than 5000 items from document library

Below is my code to read items from a document library.  var url = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('DocumentList')/items?$select=customerID"; $.ajax({       url: url,       method: "GET",       headers: {           "Accept": "application/json; odata=verbose"       },       success: function(data) {           $.each(data.d.results, function(index, item) {             arrayCustomerID[index] = item.customerID;         });       },       error: function(data) {           console.log("error");       }   });     This work for the normal case but what should I do so that it works if I have more than 5000 items in the document library.


Let $T: X \to Y$ be a bounded linear map between normed spaces. The operator norm is defined by $$\sup_{\|x\| = 1} \|T(x)\|$$  Is this equivalent to   $$\sup_{x \in B(0, 1)} \|T(x)\|$$  where $B(0, 1)$ is the open unit ball?


How can I add a second hard drive to a previously configured UEFI/ACHI Windows 8 machine?

Recently purchased a new Windows 8 PC.  It came with one hard drive.  I want to a second hard drive to it.  This second hard drive is my data hard drive from my previous computer.  However, I have run into issues when the system accesses it.  The drive is found in the BIOS. But is not seen by Explorer or Disk Management.  I have added the drive to the next available SATA slot:  SATA 2.  The machine is a UEFI/ACHI based machine.  In my reading I have found people documenting the following:  1) adding multiple partitioned hard drives (like mine is) to UEFI based machines is not  possible 2) I have seen it suggested that you can only add blank hard drives to UEFI based machines.  However, in doing so, I did not have success.  I tried to add it as a hard drive with unallocated space and then as a hard drive with a single simple partition.  Both attempts failed.  My ultimate question:  What is the proper procedure for adding a second hard drive to a UEFI/ACHI machine?  I do not want to reinstall the OS and start from scratch as I have seen suggested elsewhere.  There has to be a way to accomplish this without all that hassle.  Thanks in advance for your help.


Looking for a noun, a person who changed their past view to a new one

I'm looking for a possibly derogatory noun that describes a person who changed their view from what they believed before. It could also be used to describe a person who expresses different views to different people when asked about the same issue. For instance: Ben always says that landing on the moon was real, but when talking to Melissa, he suddenly says that it was faked. He's such a ______. I've tried googling this word, but "fickle" is the only one I can find. "Double standards" does describe the view, but I vividly remember there being a noun to describe a person like this. I saw a  post related to this a while ago as well. It said something along the lines of "Changing your mind doesn't make you a ______, it means you've grown." I'm fairly certain the word ended in -ist as well, but those are all the details I can recall.


I tried to install Times New Roman font on my Ubuntu. I used this code formulation: sudo apt-get install msttcorefonts. Everything looked fine, until the screen showed a kind of agreement statement. I tried to enter the 'OK' there, but it didn't work. So, I thought the process of installing the font is done. Then, I restarted the computer. But, the font, I could find it in my Libreoffice. I wrote the same formulation again for installing it. But I got this notification:   dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.   Can somebody help me to fix this? Thanks


The films from the Marvel Cinematic Universe (MCU) are usually set roughly around the time they are released (barring flashbacks) or at least in a chronological order congruent to their release order. They often reference events from past MCU films or foreshadow future films (e.g. in post-credits scenes). However, with  there seem to be some discrepancies with this approach.   At first, it seemed a reasonable assumption. There even seems to be a reference to Rhodie's accident in , when his assistent presents Dr. Strange with some potential patients and mentions something similar to (quoting from memory)     an Air Force Colonel paralyzed from the spine in a special protective suit.   And then there's also the post-credits scene with Thor, which seems to be a foreshadowing of the upcoming . However, someone pointed out, that the reference to the paralyzed Colonel might as well refer to the guy we see in Justin Hammer's failed attempt at copying the Iron Man suit in . Besides that, we don't exactly know how much time actually passes in Doctor Strange, considering how he seems to go through significant rehab treatment and spends his fortune trying various healing methods before getting involved with sorcery (let alone the time he actually spends studying at Kamar-Taj). And then I noticed something really interesting in , where Sitwell is interrogated about HYDRA's plans and says:     Zola's algorithm is a program for choosing Insight's targets...You! A TV anchor in Cairo, the Under Secretary of Defense, a high school Valedictorian   in Iowa City, Bruce Banner, Stephen Strange, anyone who's a threat to HYDRA.   And I wondered if Dr. Strange actually already had his magic powers at the time of The Winter Soldier. Or why else would he be a threat to HYDRA, as much as we know he's just a really good neurosurgeon. Then there's also the tidbit that for a Phase 3 movie the film seems a quite traditional origin story, resulting from the possibility that Dr. Strange's inclusion in the MCU might have been decided much later than the other plans for the MCU, based on its overall success and the motivation to take higher risks with less mainstream-famous characters. This might either point to an earlier setting of the film. Or it might as well render the above statement in The Winter Soldier somewhat of a premature blabbing which is now being retconned.   So is there any secured information about the setting of Doctor Strange within the MCU's timeline or at least more conclusive hints from this or other MCU movies? If not or if we are to assume it's released roughly chronologically, then what explains the above statement from The Winter Soldier about Stephen Strange being a threat to HYDRA before his involvement with magic? Or was this really just a throwaway comic reference without much thought or significance put into it?


Restrict file server (CIFS) access by time of day

How can I (in order of preference, descending):   Disable file-server access to a specific share for a user or group based on the time of day. Disable file-server access entirely for a user or group based on the time of day Disable file-server access entirely (server-scope) based on the time of day. This is not at all related to Remote Desktop/RDP access.   For example, Bob is in the group WorkHours. The share "Documents" grants access to users in the group WorkHours. How do I deny access to all files in the share "Documents" from 7PM to midnight, every day, automatically?


How does VirtualBox's memory usage work?

I've been running several VM's with VirtualBox, and the memory usage reported from various perspectives, and I'm having trouble figuring how much memory my VMs actually use.  Here is an example:   I have a VM running Windows 7 (as the Guest OS) on my windows XP Host machine. The Host Machine Has 3 GB of RAM The Guest VM is setup to have a base memory of 1 GB If I run Task Manger on the Guest OS, I see memory usage of 430 MB If I run Task Manger on the host OS, I see 3 processes that seem to belong to VirtualBox:   VirtualBox.exe (1), using 60 MB of memory (This one seems to have the most CPU usage) VirtualBox.exe (2), using 20 MB of memory VBoxSvc.exe, using 11.5 MB of memory  While running the VM, the Host OS's memory usage is about 2 GB When I shut down the VM, the Host OS's it goes back to memory usage goes down to about 900 MB   So clearly, there are some huge differences here.  I really don't understand how the GuestOS can use 400+ MB, while the Host OS only shows about 75 MB allocated to the VM.  Are there other processes used by VirtualBox that aren't as obviously named?  Also, I'd like to know if I run a machine with 1 GB, is that going to take 1 GB away from my host OS, or only the amount of memory the Guest machine is currently using?  Update:  Someone expressed distrust over my memory usage numbers, and I'm not sure if that distrust was directed at me, or my Host OS's Task Manager's reporting (which is perhaps the culprit), but for any skeptics, here is a screenshot of those processes on the host machine:


Let $K$ be a field of characteristic zero and $K(x)$ the field of rational functions with coefficients in $K$. Let $K(u)$ denote the subfield of $K(x)$ generated by $u \in K(x)$ over $K$.  My questions are following:        Suppose that $u=x^{2}$. Prove that $K(x)/K(x^{2})$ is Galois and   find all elements of the Galois group Gal$(K(x)/K(x^{2}))$.      My attempt: Let $f(X)=X^2-u \in (K(u))[X]$. $f(X)$ is linear, and thus irreducible in $(K[X])[u]=(K[u])[X]$. Gauss’ Lemma tells us that the polynomial $f(X)$ is also irreducible over $(K(u))[X]$. Moreover, $f(X)=(X-x)(X+x)$ then $f(X)$ is separable over $k(u)$ and $\pm x$ are roots of $f(X)$. This means that, $K(x)$ is the splitting field for separable polynomial $f(X)$ over $K(u)$. Therefore $K(x)/K(x^{2})$ is Galois. In addition, $[K(x):K(x^{2})]=2$. Can we conclude that Gal$(K(x)/K(x^{2}))\simeq \Bbb Z/2\Bbb Z$? I am aware that Gal$(K(x)/K) \simeq PGL_2(K)$ but I couldn't figure out what are exactly elements of Gal$(K(x)/K(x^{2}))$?        Suppose that $u=x^{2}-x$. Prove that $K(x)/K(x^{2}-x)$ is Galois and   find all elements of the Galois group Gal$(K(x)/K(x^{2}-x))$.      My attempt: Similar to that in above discussion, I found that $K(x)$ is the splitting field for separable polynomial $g(X)=X^2-X-x^2+x$ over $K(x^{2}-x)$. Therefore $K(x)/K(x^{2}-x)$ is Galois and we can write Gal$(K(x)/K(x^{2}-x))\simeq \Bbb Z/2\Bbb Z$? The similar question arises, for $\sigma\in $ Gal$(K(x)/K(x^{2}-x))$, can we determine $\sigma$?        Prove that $K(x^{2}) \cap K(x^{2}-x)=K$.      It is clear to me that $K \subseteq K(x^{2}) \cap K(x^{2}-x)$. But I can't prove the reverse inclusion.  Any help would be much appreciated.


Humankind colonizes planets, main character is a "spartan" with augmented bones

I read a book series 12 or so years ago, and I need help getting the title. It's set in the future. Mankind has branched out to the stars and many planets were colonized. Humans started to evolve differently on these planets. Now, I remember the main character as being a "spartan", and he grew up and was trained on an arid planet. His entire people were massacred and he was the only survivor. An advanced alien race took him in and augmented his bones to be unbreakable. I think that these aliens looked like owls, but I am not sure.


In the Browser it's not possible to delete Shapefiles. In ArcMap you can delete Shapefiles easily within the Catalog.   How can I delete Shapefiles in QGIS without minimizing the QGIS-Window, navigating to the folder on my computer, select all the files that belong to a Shapefile (shp, dbf, shx, prj, etc.) and delete it?


Optimization when Cost Function Slow to Evaluate

Gradient descent and many other methods are useful for finding local minima in cost functions. They can be efficient when the cost function can be evaluated quickly at each point, whether numerically or analytically.    I have what appears to me to be an unusual situation. Each evaluation of my cost function is expensive. I am attempting to find a set of parameters that minimize a 3D surface against ground truth surfaces. Whenever I change a parameter, I need to run the algorithm against the entire sample cohort to measure its effect.  In order to calculate a gradient, I need to change all 15 parameters independently, meaning I have to regenerate all the surfaces and compare against the sample cohort way too many times per gradient, and definitely way too many times over the course of optimization.  I have developed a method to circumvent this problem and am currently evaluating it, but I am surprised that I have not found much in the literature regarding expensive cost function evaluations.  This makes me wonder if I am making the problem harder than it is and that there might be a better way already available.  So my questions are basically this: Does anyone know of methods for optimizing cost functions, convex or not, when evaluation is slow?  Or, am I doing something silly in the first place by rerunning the algorithm and comparing against the sample cohort so many times?


I was trying to discover what >> meant in java, I think it's some sort of operation but not sure, so I typed it into Google: Java ">>" and got the same results as for just Java.  Is there any way to search for special characters, like same way to 'break' like how \" is used to store " in a String instead of ending the String.


What is the correct way to make a custom .NET Exception serializable?

More specifically, when the exception contains custom objects which may or may not themselves be serializable.  Take this example:  public class MyException : Exception {     private readonly string resourceName;     private readonly IList<string> validationErrors;      public MyException(string resourceName, IList<string> validationErrors)     {         this.resourceName = resourceName;         this.validationErrors = validationErrors;     }      public string ResourceName     {         get { return this.resourceName; }     }      public IList<string> ValidationErrors     {         get { return this.validationErrors; }     } }   If this Exception is serialized and de-serialized, the two custom properties (ResourceName and ValidationErrors) will not be preserved. The properties will return null.  Is there a common code pattern for implementing serialization for custom exception?


What is the correct definition and usage of "for all I know"?

I saw some sentences using this phrase "for all I know" but wasn't quite sure what is its exact definition and also whether a modal verb such as "could, may or might" expressing uncertainty must be present in the sentence.  The following are some possible definitions:   According to the information I have; I think; probably. (usually implies uncertainty) Based on what I know (usually expressing displeasure)  As far as I know (used to show indifference)  I really don't know (used to show complete ignorance)    And these are statements containing the phrase:   For all I know, the mayor has resigned already. She may have gone to town for all I know. He wears a ring, but he may be single, for all I know. For all I know, there may be someone with you now. The man I met on the beach yesterday seemed friendly, but he could be a thief, for all I know. For all I know, the girl was buried alive in the Arabian sands. They've decided to hire Jack for all I know.   References:        What does the phrase "for all I know" mean exactly?


My code are as follows:   \documentclass{article}     \usepackage[utf8]{inputenc}     \usepackage{lipsum}     \usepackage{booktabs}     \input{insbox}     \makeatletter     \@InsertBoxMargin = 12pt     \makeatother     \usepackage{nccmath}     \usepackage[showframe, nomarginpar]{geometry}     \usepackage{etoolbox} \usepackage{graphicx}     \newcommand*{\wrapitem}{\apptocmd{\labelenumi}{\hskip\leftmargin}{}{}\item\apptocmd{\labelenumi}{\hskip-\leftmargin}{}{}}     %     \newcommand{\InsertListL}[3][]{%     \setlength{\leftskip}{\leftmargin}\mbox{}\vspace*{-\baselineskip}%     \InsertBoxL{#2}{#3}[#1]\par \hspace{\itemindent}     }%     \newcommand{\InsertListR}[3][]{%     \mbox{}\vspace*{-\baselineskip}\setlength{\leftskip}{\leftmargin}%     \InsertBoxR{#2}{\hskip-\leftmargin#3\hskip\leftmargin}[#1]     }%      \begin{document}      \begin{enumerate}%      \wrapitem%     \InsertListL[2]{2}{\includegraphics{./images/c01uf006.pdf}}%     \lipsum[1]       \item     \InsertListR[12]{-40}{\includegraphics{./images/c01uf007.pdf}}     \lipsum[2]      \wrapitem%     \InsertListL[2]{2}{\includegraphics{./images/c01uf006.pdf}}%     \lipsum[1]      \end{enumerate}      \end{document}   Please suggest the below:   How can I move the wrap images vertically (upper and down movement)? How can I control unnecessary vertical white spaces?   Also, please correct any errors in coding.


So there are several audio related things I do with my phone (which is not iOS) that I do while at my computer, and it'd be grand if I could play my podcasts or take my softphone calls on it. Is it possible with Bluetooth, or any other wireless method?


SF space film in which the alien gives birth while isolated on a planet with a human

Years ago I watched a film where an alien and human are having a dogfight (each in their own small spaceships).  They crashland on a planet together, and although they still want to kill each other, they realise they can't survive without each other's help.  (They don't share a language.)  In the end       the human helps the alien give birth by cutting her open.   The film starts with what you think is a sun rising over a distant planet, and the planet turns out to be a dead astronaut's helmet.


Subgroup generated by all elements with odd order

Let $G$ be a finite group, and let $H$ be the subgroup generated by the set of elements with odd order in $G$, we will denote this set as $S$.  Prove that $H$ is normal in $G$ and that $G/ H$ is a group of order $2^n$.  My attempt:  Since $H$ is generated by $S$, $H$ is normal in $G$ $\iff$ $gsg^{-1} \in H \space \forall s\in S$.  and that's where I'm stuck, I cant find the way the use the property of the elements with odd order.   regarding the second part, since $|G| = |G:H|\cdot|H|$ we have to show that $\frac {|G|}{|H|} = 2^n$.  Any guidance will be appreciated.  Thanks.


Include SSCCE.ORG contents in an instruction page somewhere

It's not a question, just a suggestion: moderators, can you put the contents of  into stackoverflow and introduce them as law such as how to ask questions?


Which OpenVG implementations exists?   What are pros and cons of each of them?  I'm looking for is a highly stable, fast rendering implementations that is still being actively maintained and developed.


While I was listening to my teacher present the basic idea's of Schrodinger's famous thought experiment, he said that because we can not SEE the cat, the cat exists in some sort of position in which it is both dead and alive.   I was wondering if "see" encompasses all the other senses? Surely if we can hear the cat meow, we can deduce that the cat is still alive. If we smell the cat, it must be alive. So shouldn't "see" be changed to "sense"?


Youtube Music Application Local History File Location

Yesterday I was listening to some music, but it didn't get saved to my account's history since it was blocked by an ad blocker. I was wondering if anyone knew if it was possible to access my recent history in another way.  My phone is rooted so I have access to the filesystem.  If anyone knows if/where/how my recent history might be stored, I'd appreciate it. If it makes any difference, I'm using the most recent version of Youtube Music (Vanced) on Android 11.


I'm really confused about the meaning of the word 'condescending'. Online dictionaries define it as bossy/disdainful, which fits with...    But I find other usages where being condescending is obviously considered a good thing, perhaps more like being humble, or equal, rather than superior...    (and  of "condescending and friendly" in Google Books)  What's going on? Does this word really have two almost opposite meanings?


How to set default startup disk from Mac Startup Manager?

When starting a Mac computer, the option key can be held down to invoke the Startup Manager. From here, choices are given for possible boot volumes. Is there a way to make the selected volume the new default boot volume?  I wish to boot volumes other than just Windows and OS X. This was possible from OS X System Preferences before El Capitan (OS X 10.11). System Integrity Protection (SIP) now prevents this. Since the Startup Manager ignores SIP and also detects more boot volumes than System Preferences, I now desire to use the Startup Manager to set the default startup volume.


Which SHA-1 attacks apply to TOTP tokens?

Update: it's actually hmac(secret, time). I'll leave the post as-is, in case someone is ever looking for the hash(secret+time) case (for which I provided some reasoning at least), but for TOTP tokens, this question is a duplicate of .  TOTP tokens are basically hash(secret+time). Since you don't know the secret, you can't use them as prefix to compute the random "near-collision block pair", so an attack like Shattered won't work here (even if the time matched this random block pair, which it also won't).  Am I correct in thinking that Shattered does not apply to TOTP?  Are there any other attacks that do?  Of course, the recommendation is always to move away from SHA-1, but the question is whether this is a direct vulnerability that a well-funded attacker could exploit or (as far as is public knowledge) just hardening advice.


Can you use Dispel Magic on the source of a spell (ie, the caster)?

If a caster is currently concentrating on a spell whose effects are not on the caster, can you cast Dispel Magic on the caster to end the spell?


Adding multiple plugins to custom menu in QGIS

I am new to Python and QGIS and attempting to create some plugins to replicate in-house tools used in other GIS programs. I have added a custom menu using Python and added the plugin to the menu using the following code within the initGui method:  self.menu = QMenu("&Menu Name", self.iface.mainWindow().menuBar()) actions = self.iface.mainWindow().menuBar().actions() lastAction = actions[-1] self.iface.mainWindow().menuBar().insertMenu(lastAction,self.menu) self.action = QAction(QIcon(":/plugins/Trial/icon.png"),"Trial plugin", self.iface.mainWindow()) self.action.triggered.connect(self.run) self.menu.addAction(self.action)   However, if I try and add another plugin to the same menu I end up with duplicated menu item names with only one plugin in the menu, rather than all the plugins under the same menu. Is there a way of adding multiple plugins to an existing custom menu item?


What is the sign of the work done on the system and by the system?

What is the sign of the  done on the system and by the system?  My chemistry book says when work is done on the system, it is positive. When work is done by the system, it is negative.  My physics book says the opposite. It says that when work is done on the system, it is negative. When work is done by the system, it is positive.  Why do they differ?


Request to vote in community moderator election keeps reappearing

Every couple days I have a "new" alert in my inbox, if I go looking at it I find some messages from February, click it away and then the recent messages appear (no new ones though). The screenshot below is taken on Area51, it also regularly happens on Arqade.  I just noticed that I did have a real new alert, that then got "read" because I looked at the old ones.


Error 1052 Field is Ambiguous using Inner Join Function

Error '1052' Field is ambiguous. I understand the error that is happening, and I've looked at several places for the fix and then applied the inner join function in attempt to fix it. It's still not working, and it gives me the same error.  EventNo is a primary key in the eventrequest table and a foreign key in the Eventplan table. I'm trying to list the event number, event date, and count of the event plans while only including event requests in the result if the event request has more than one related event plan with a work date in December 2013. This is my code.  SELECT EventNo, DateAuth, COUNT(PlanNo) FROM eventplan INNER JOIN eventrequest ON eventplan.eventNo = Eventrequest.EventNo WHERE COUNT(PlanNo) > 1 BETWEEN '2013-12-01' AND '2013-12-31';


Conditional compilation depending on the framework version in C#

Are there any preprocessor symbols which allow something like  #if CLR_AT_LEAST_3.5 // use ReaderWriterLockSlim #else // use ReaderWriterLock #endif   or some other way to do this?


while working with webservice quotes are not inserting may i know what i have to do. my code is     for(integer l=0;l<reqquotes;l++){          qu = new Quote();          qu.Name = qName;          //opp.CloseDate =system.today();           qList.add(qu);             insert oppList;          insert qList;     }


Unexpected result from multiplication of singles(floats) in c#

Single singleVal = 0.9f; int u = (int)(singleVal * 10.0f); # u = 8   I know this is probably a dumb error but I cant figure out why result of the above expression is 8. I thought it would be 9 for obvious reasons. Is their something special going on in c# that I am failing to notice?


I have upgraded to Windows 8 from Win 7. I want to create a recovery disk for Windows 8, just in case something goes wrong. I didn't find the option of creating it from the control panel.  How do I create a Recovery CD/DVD?


What is the purpose of the database 'owner'?

Today while troubleshooting a service broker problem, I discovered that the database owner was the Windows login of an employee who had left the company. His login had been removed and thus the query notifications were failing.   Supposedly the best practice for dealing with this is to make 'sa' the database owner. We changed it and that cleared out the queue.   My (very elementary) question: what is the database owner and what is its purpose?


package com.francesco.provadinuovo;  import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button;  public class MainActivity extends AppCompatActivity {      Button button;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);          setContentView(R.layout.activity_main);        button =(Button) findViewById(R.id.button);          button.setOnClickListener(new View.OnClickListener() {              @Override             public void onClick(View v) {                 System.out.println("Welcome!");              }         });     } }   the problem is: 02/18 14:32:30: Launching MainActivity $ adb push C:\Users\start\AndroidStudioProjects\Provadinuovo\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.francesco.provadinuovo $ adb shell pm install -r "/data/local/tmp/com.francesco.provadinuovo" Success  $ adb shell am start -n "com.francesco.provadinuovo/com.francesco.provadinuovo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Client not ready yet..Waiting for process to come online Connected to process 2354 on device emulator-5554 W/System: ClassLoader referenced unknown path: /data/app/com.francesco.provadinuovo-1/lib/x86 W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 1 E/EGL_emulation: tid 2445: eglSurfaceAttrib(1146): error 0x3009 (EGL_BAD_MATCH) W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0x971ec920, error=EGL_BAD_MATCH


What should one do if they have a question that the answer is already on google?

I have a question about python naming conventions. The answer is readily available on the Python documentation, but I think it would make for a great Stack Overflow question. Is it ok to still ask it?


I submitted an article 10 days ago. First at the dashboard, they put under review. After one week, the dashboard put Awaiting EIC Decision. Is that bad?


Show that $\frac{(2n)!!}{(2n+1)!!}$ converges.

Given a sequence $\{x_n\}, \ n\in\Bbb N$: $$ x_n = \frac{(2n)!!}{(2n+1)!!} $$ Show that $x_n$ converges.  I'm wondering why I'm getting a seemingly wrong result (assuming the problem statement asks to prove convergence): $$ \begin{align} x_n &= \frac{(2n)!!}{(2n+1)!!} \\  &= \frac{2\cdot 4\cdot 6\cdots (2n-2)\cdot(2n)}{3\cdot 5\cdot 7\cdots (2n-1)\cdot(2n+1) } \\ &= \frac{2\cdot 4\cdot 6\cdots (2n-2)\cdot(2n)}{3\cdot 5\cdot 7\cdots (2n-1)\cdot(2n+1)} \cdot \frac{2^n\cdot n!}{2^n\cdot n!} \\ &= \frac{4^n (n!)^2}{(2n+1)!} \\  &= \frac{4^n (n!)^2}{(2n+1)\cdot (2n)!} \\ &=\frac{4^n}{2n+1}\cdot \frac{(n!)^2}{(2n)!} \end{align} $$ By Binomial coefficients: $$ {2n\choose n} = \frac{(2n)!}{n!(2n-n)!} = \frac{(2n)!}{(n!)^2}  $$ Thus: $$ x_n = \frac{4^n}{2n+1}\cdot \frac{1}{{2n \choose n}} $$ Doesn't $\frac{4^n}{2n+1}$ grow faster than $\frac{1}{2n\choose n}$ is declining? Shouldn't $x_n$ diverge in that case?


How about website suggestion based on something such as tags?

Sometimes I don't know which Stack Exchange website is suitable for my question. For example, in the past, I had a question about anonymousness of VPN. I asked this question on Network Engineering. But guys told me that is an off-topic question. Finally I found it is suitable for Information Security and got a good answer there.  So I'm wondering if Stack Exchange could add a function to provide suggestion about suitable website based on some information. I guess the easiest one is tag. If I add "networking" and "anonymous" tags, it could suggest me to ask this question on Information Security.


Prove that $ E \cap (F + (E \cap G)) = (E \cap F) + (E \cap G)$

I have three vector subspaces of a vector space $H$ , I need to prove the following :   $$ E \cap (F + (E \cap G)) = (E \cap F) + (E \cap G)$$  I've already proved that $E + ( F \cap G) \subset  (E+F) \cap (E + G)$ , The first thing I thought of is to prove the double inclusion, i.e :   $$ E \cap (F + (E \cap G)) \subset (E \cap F) + (E \cap G)$$  and   $$ (E \cap F) + (E \cap G) \subset E \cap (F + (E \cap G)) $$  But I have no idea how to do that .


Let $G$ be a group and $a,b∈G$. Suppose order of $(ab)$ in $G$ is $n$. Show that $(ba)^n=e$ Prove that the order of $(ba)$ in $G$ is $n$.

I am confused since the definition of order says that $(ab)^n=e$, therefore does just showing that ab=ba solves both parts or is it two different solutions?  Assume $(ab)^n=e$, following the definition of order since n is a finite number.  $(ab)^n=\underbrace{(ab)(ab)(ab)\cdots(ab)}_{n~\text{copies}}$  $=a\underbrace{(ba)(ba)(ba)\cdots(ba)}_{n-1~\text{copies}}b$  $=a(ba)^{n-1} b$  From this, we get that $(ba)^{n-1}=a^{-1} b^{-1}=(ba)^{-1}$, therefore we have $(ba)^n=e$. Also proving that $ab=ba$.  Would this answer both of the questions above since then it show that both $ba^n=e$ and that the order of $ba$ would be $n$?


How they can estimate when the black holes collided in the recent LIGO discovery?  If LIGO can detect ripples in the gravitational waves, how they can figure out how old those waves are?   Surely higher amplitude and frequency means it's closer and more recent, but a really massive and older collision should be able to make the same pattern, so how they can tell them apart?


Why do I get (author?) when I use \citet with natbib?

I would like to show the author names using \citet but I get just the reference number. Here is a minimal code:  \documentclass{report} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{natbib}  \begin{document}   The author \citet{toschi09} has shown that ..  \bibliographystyle{plain} \bibliography{foo}  \end{document}   And here is foo.bib  @article{toschi09, author = {Toschi, F. and Bodenschatz, E.}, title = {Lagrangian Properties of Particles in Turbulence}, journal = {Annual Review of Fluid Mechanics}, volume = {41}, number = {1}, pages = {375-404}, year = {2009},  }   What I get is:     The author (author?) [1] has shown that ..   Any help will be more than welcome, thank you!


I need to prove that $\dfrac{a \sin(bx)}{1 - 2a \cos(bx) + a^2} = \sum_{n=1}^\infty a^n \sin(nbx)$ where $|a| < 1$.  It seems that this can be proved by using Euler's formula identities for $\cos(bx)$ and $\sin(bx)$ and substituting $z = e^{ibx}$. From that, I get $$ \dfrac{a \sin(bx)}{1 - 2a \cos(bx) + a^2} = \dfrac{a (z - 1/z)}{2i(1 - a(z + 1/z) + a^2)}$$ $$= \dfrac{a (z^2 -1)}{2i(z - a(z^2 +1) + za^2)}$$ $$= \dfrac{a (z^2 -1)}{-2ai(z^2 - z(1-a^2)/a + 1)}$$  I don't understand what I am supposed to do next.


How to use `\sqrt[n]{a}` inside `\begin{prop}[\cdots]`?

I'm writing a little text, but for some reason it won't compile when I do:  \begin{prop}[Existência de $\sqrt[n]{a}$, $a > 0$, $n \in \mathbb{Z}_{>0}$] Sejam $a >0$ e $n \in \mathbb{Z}_{>0}$. Existe $b \in \R_{>0}$ tal que $b^n = a$. \end{prop}   because of the \sqrt[n]{a}. I'm pretty positive that this is the problem, because when I take it off it all compiles normally. I don't know what it wants me to do to fix this. The warnings are:     Argument of \@sqrt has an extra } \begin{prop}[Existência de $\sqrt[n],      Paragraph ended before \@sqrt was complete \begin{prop}[Existência de $\sqrt[n]      Something's wrong--perhaps a missing \item. \end{prop}      Missing } inserted \end{prop}   They don't make any sense. How to fix?    In case it is needed, the piece of code before:  A ideia para verificarmos as desigualdades acima se resumiu a eliminar os termos positivos, e usar que: \[n > 1 \implies n^m > n \implies \frac{1}{n^m} < \frac{1}{n} \implies -\frac{1}{n^m} > -\frac{1}{n},\quad \forall\,m \in \mathbb{Z}_{z>0}.\]  Por fim, agrupando termos pares e ímpares temos: \[ \sum_{i=0}^n {n \choose i}b^{n-i} = b^n + \sum_{i=1}^{n}{n \choose i}b^{n-i} = b^n + \sum_{i=1}^{\lfloor n/2\rfloor} {n \choose 2i}b^{n-2i} + \sum_{i=1}^{\lfloor (n+1)/2 \rfloor} {n \choose 2i-1}b^{n-(2i-1)},  \]onde $\lfloor \cdot \rfloor$ é a \emph{função piso}.  \newpage  \begin{prop}[Existência de $\sqrt[n]{a}$, $a > 0$, $n \in \mathbb{Z}_{>0}$] Sejam $a >0$ e $n \in \mathbb{Z}_{>0}$. Existe $b \in \R_{>0}$ tal que $b^n = a$. \end{prop}   and my preamble:   \documentclass[a4paper, 12pt]{article} \usepackage{amsmath, amssymb, amsfonts, amsthm} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{multicol} \usepackage{gfsartemisia-euler} \usepackage{graphicx} \usepackage[T1]{fontenc} \usepackage{stackrel} \usepackage{cancel} \usepackage{caption} \usepackage{enumerate} \usepackage{mathrsfs} \usepackage[bottom=3cm,top=3cm,left=3cm,right=2cm]{geometry}  \headheight 20mm      % \oddsidemargin 2.0mm  % \evensidemargin 2.0mm % \topmargin -40mm      % \textheight 250mm     % \textwidth 160mm      %   \newcommand\pair[1]{\langle{#1}\rangle} \newcommand{\R}{\mathbb{R}} \newcommand{\V}{\mathcal{V}} \newcommand{\diag}{\mathrm{diag}} \renewcommand{\d}{\mathrm{d}} \DeclareMathOperator{\senh}{senh} \DeclareMathOperator{\sen}{sen} \DeclareMathOperator{\tg}{tg} \DeclareMathOperator{\cotg}{cotg}  \newtheorem{teo}{Teorema}[section] \newtheorem{cor}{Corolário}[section] \newtheorem{lem}{Lema}[section] \newtheorem{prop}{Proposição} \newtheorem{defn}{Definição}[section] \newtheorem{Ex}{Exemplo}[section] \newtheorem{obs}{Observação} \newtheorem{ex}{Exercício}  \newenvironment{dem}{\smallskip \noindent{\bf Demonstração}: } {\begin{flushright} $\qedsymbol$\end{flushright}\smallskip}


DBMS allows the admin to grant table access to a user using something like:  GRANT ALL ON mydb.mytbl1, mydb.mytbl2 TO 'someuser'@'somehost';   However, is it possible to grant all tables to a user and explicitly block access to some of them? For example (The BLOCK key word is a fake one and is only used for illustration.):  GRANT ALL ON mydb.* TO 'someuser'@'somehost'; BLOCK ALL ON mydb.mytbl3 TO 'someuser'@'somehost';   Another idea is to add a where clause to the GRANT statement. However, it seems that the GRANT statement syntax does not allow that ().  This kind of access control might be convenient if the admin trust the user in most cases (e.g. 1000 tables) and only want to block access to a small number of top sensitive tables.    Could you please tell me whether such kind of mechanism exists?


What I've done so far is stated that    $(A \cup A) \cap (A \cup B)$  by distribution $A\cap (A\cup B)$        by 1, definition of $\cup$ $A\cap A$              by 2, definition of $\cup$ $A$                   by 3, definition of $\cap$   I'm not sure if I need to state that $A\cup B = \{x\mid x\in A\lor x\in B\}$ somewhere in there.  I'd really appreciate some help on this one. Thank you!


"error: XDG_RUNTIME_DIR not set in the environment." when attempting to run nautilus as root

I am attempting to run nautilus as root but when I run "sudo nautilus" from the terminal, I get the following error:     error: XDG_RUNTIME_DIR not set in the environment.      (nautilus:9341): Gtk-WARNING **: cannot open display:   The issue does not occur when I attempt to run nautilus as non-root. I am using ubuntu 14.04. Does anyone know how I can fix this?


Ubuntu 13.10 issues with AMD driver & Audio

I am on Ubuntu 13.10, my graphics card is AMD Radeon HD4200. My sound card is a realtek HDMI. I've tried downloading and installing both drivers but nothing works.  Graphics card:  When I run the .run file (from )  I get an error. I check the fglrx-install log and it says this:   Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers.  /lib/modules/3.11.0-12-generic/build/include/linux/version.h cannot be found on this system. One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver. Optionally, run the installer with --force option to install without the tools. Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.   Audio:  Since my first install I've had no audio. I've tried everything outlined in this site:  to no avail. I've download the linux drivers from Realtek HDMI audio but have had no luck.


what is '-' in man throttle command example

Excuse me if this sounds pretty noobie. I was just checking the man page for throttle about how does the pipeline work hand in hand for throttle. So while checking the manual page example, I stuck over '-' in the below command. In there manual page in the EXAMPLE section, the first example was as follows:    To limit the bandwidth of a tar back-up to a remote server to 1 Mbit/s, type:     $ tar czf - . | throttle -m 1 | ssh host 'tar xzf - -C /bak'  Now in here, I wanted to understand the '-' just after czf and '-' after xzf. If this doubt is clear, I would be comfortable to understand the whole command. Thank you in Advance.


Ding!  Hello, new feature!  I just noticed a new "Frequently Asked" section on the main page.  I'm guessing it's a test of a new feature, like the recent .  Seems cool so far.  But what is it populated with?  Common dupes?  Topics the viewing user asks about a lot?  Topics the viewing user searches for a lot?  For what it's worth, I'm getting a link to the  tag underneath it.


Characterization of Symmetric $\alpha$ Stable Distributions.

Question Show that the only symmetric $\alpha$ stable distributions with $0<\alpha\leq 2$ are $\phi_{\alpha}(t)=\exp(-|t|^\alpha)$ and their scaled versions (where $\phi$ denotes the characteristic function).  For this question we say that $X$ has a symmetric $\alpha$ stable law  if $\phi_{X}(t/n^{1/\alpha})^n=\phi_{X}(t)$ for all $t$ and $n\geq 1$ and if $\phi_{X}$ is real. It is shown in Durrett that $\phi_{\alpha}$ is a characteristic function for $0<\alpha\leq 2$ and by the definition given above it is clearly a symmetric $\alpha$ stable law. Indeeed, $\phi_{\alpha}$ is real and moreover $$ \left(e^{-|ct/n^{1/\alpha}|^\alpha}\right)^n=e^{-|ct|^\alpha} $$ for any $c\in\mathbb{R}$ which implies that the scaled versions of $\phi_{\alpha}$ are symmetric $\alpha$ stable laws for $0<\alpha\leq 2$. My problem is how to deduce the reverse inclusion i.e. supposing that $\phi_{X}(t/n^{1/\alpha})^n=\phi_{X}(t)$ for all $t$ and $n\geq 1$ , $\phi_{X}$ is real and $0<\alpha\leq 2$, how to deduce that $\log\phi_{X}(t)=-|ct|^\alpha$ for some $c$?. Any help/hints are appreciated.


Prove that $(n^3 - 1)n^3(n^3 + 1)$ is divisible by $504$

How to prove that $(n^3 - 1)n^3(n^3 + 1)$ is divisible by $504$? Factoring $504$ yields $2^3 \cdot 3^2 \cdot 7$. Divisibility by $8$ can be easily seen, because if $n$ is even then $8 | n^3$, else $(n^3 - 1)$ and $(n^3 + 1)$ are both even and one of these is divisible by $4$ so $8|(n^3 - 1)(n^3 + 1)$. I'm stuck at proving divisibility by $9$ and $7$


C-Visit-Business visa issued post 24 April 2015

I applied for a 2 year Business visa in July 2015. From other answers I have read, it seems a Standard Visitor visa should have been issued given this category was removed post 24 April 2015.  But for some reason the visa that was issued was a C - Visit - Business category still, in July 2015, for a 2 year validity.    Any idea why this may have been? Was it because the visa has a validity of 2 years? Note that the maximum stay is still limited to 6 months per visit (180 days) Can I use this visa to travel to UK for a tourism / vacation trip with no business purpose in that trip at all?


Can MySQL handle millions of users for my social networking app? MySQL Vs Other Database technologies?

We are developing a social networking app.   Following are the features :  1) Video/Photo sharing  2) Ranking / Complex Algorithms  3) Suggesions  4) Other features similiar to Instagram/Facebook  Platforms :  1) Front End - XML + Java (Android)  2) Backend - PHP + MySQL + Apache + Linux (LAMP stack)  Questions :  1) If my app gets 1 Million downloads in a week. Can MySQL handle such huge data?  2) If it can handle, how may concurrent users can it handle at a time without performance issue? Maximum users that MySQL can handle?  3) Any other databases can handle better ?  4) After reaching how many users, I should migrate for other better databases like Mango DB, Cassandra etc..,  My question is only on database technology. Assume that we have provided required server hardware for handling huge data. Also assume that we have optimized Database design with the best quality of coding.


How do I stop the ticking noise coming from my furnace duct?

I've had some HVAC people here to look at the ticking noise coming from our furnace duct. One of them installed a brace on the piece in question. This seemed to make the ticking less frequent, although the ticking still occurred. Another removed it and loosened the ductwork braces from the ceiling saying the furnace ducts need to "breathe", but this seemed to make things worse.  Any recommendations on getting the noise to permanently stop when running on auto heat?  Please see the video  to see what I'm talking about.


Can Plane Shift be used to transport from mordenkainen's magnificent mansion to the same plane the mansion was created?

The text of Mordenkainen's Magnificent Mansion (mmm) states:  You conjure an extradimensional dwelling in range that lasts for the Duration.  Plane Shift states:  You and up to eight willing creatures who link hands in a circle are transported to a different plane of existence.  Can a party plane shift from the mansion to the same plane they where in when they created the mansion? i.e. they create the mansion in the material plane, go into the mansion and then plane shift to a new location in the material plane?


Python: How to set function parameters by name with string

I'm making a framework for building GUI apps with tkinter and in my code I have a Scene class that has a add(widget,params) function which creates a tkinter widget and adds it to the Scenes widget dictionary. But I can only add a widget that I have built an add() function for because different widgets have different named parameters. how would I make a function that takes a dictionary in the form {paramName,value} which would then pass it to the widget function for example scene.add(button, {'command':Click, "text":"click me"} )  my current code is import tkinter as tk  class scene():     def __init__(self, title, width, height):         self.widgets = {}         self.title = title         self.width = width         self.height = height      def add(self, name, type, widget, root, params):         if name in self.widgets.keys():             return         else:             if type == "button":                 width = params[0]                 height = params[1]                 text = params[2]                 self.widgets[name] = [widget(root,width=width, height=height,text=text),params[2:]]      def get(self,name):         if name in self.widgets.keys():             return self.widgets[name][0]


Where can i find a list of commands for bash 4.2

I am looking for a complete list of bash commands as well as what the command does. Everything i find is some long drawn out article.


What can cause page counter to reset without using setcounter?

I have a document in which the displayed page number goes from 8 on the 8th page to 0 on the next page. Unfortunately I cannot provide the code because the document is confidential and when I replace the code by \lipsums to de-confidentialise it the resetting ceases.  I tried debugging the problem with lots of \thepage commands to see where the page number changed inappropriately. It appears to do that after a section of highlighted text in the environment \hl{...} from package soul.  At first it appeared that this only happened when the environment spanned the soft page break. But later I found it happening even in a case where the \hl environment was near but did not span the soft page break.  Is anybody aware of known problems of interactions between soul's \hl environment and the page counter, and how to circumvent them? Or if not, of interactions with other packages that can cause unwanted page counter resets. I have searched the code and it definitely contains no explicit counter commands such as \setcounter or \newcounter in the code.  Thank you  Although I cannot provide the document code, I can provide the preamble that shows what packages I am using:  \documentclass[11pt,a4paper]{article} \usepackage[margin=0.75in]{geometry} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} %\usepackage{breqn} \usepackage{xypic} % for commutative diagrams \usepackage{color} \usepackage[hidelinks]{hyperref} \usepackage{soul} \usepackage{graphicx} \usepackage{epstopdf} %\usepackage[square,sort,comma,numbers]{natbib} \usepackage[authoryear]{natbib} \usepackage[usenames,dvipsnames]{xcolor} \newcommand{\hlc}[2]{ {\sethlcolor{#1} \hl{#2}} } \newcommand{\hilight}[1]{\colorbox{yellow}{#1}} \usepackage[mathscr]{euscript} \usepackage{booktabs} % For \toprule, \midrule and \bottomrule %\usepackage{siunitx} % Formats the units and values %\usepackage{pgfplotstable} % Generates table from .csv %\usepackage{relsize} % allows use of \mathlarger{} command \setlength{\parindent}{0pt} % this stops indentation 1st line of para \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} % this adds space after each para \newcommand{\Z}{\mathbb{Z}} % defines \Z as shorthand for command \mathbb{Z} \newcommand{\R}{\mathbb{R}} \newcommand{\N}{\mathbb{•}b{N}} \newcommand{\half}{\tfrac{1}{2}} \newcommand{\dbar}[1]{\Bar{\Bar{#1}}} \newcommand{\kk}{{}_k} \newcommand\dt {^{\delta t}} \newcommand{\avg}{\textrm{Avg}\dt} \newcommand{\prop}{\textrm{Prop}\dt} \newcommand{\ldt}{\lim_{\delta t\to 0}} \newcommand{\kinf}{_{k=0}^\infty} \newcommand{\cadlag}{c\`adl\`ag} \pagenumbering{arabic} \newcommand{\rplus}{\R_+} \newcommand{\highlight}[1]{%   \colorbox{red!50}{$\displaystyle#1$}} \usepackage{scalerel,stackengine} \stackMath \newcommand\reallywidehat[1]{% \savestack{\tmpbox}{\stretchto{%   \scaleto{%     \scalerel*[\widthof{\ensuremath{#1}}]{\kern-.6pt\bigwedge\kern-.6pt}%     {\rule[-\textheight/2]{1ex}{\textheight}}%WIDTH-LIMITED BIG WEDGE   }{\textheight}%  }{0.5ex}}% \stackon[1pt]{#1}{\tmpbox}% } \begin{document}


Splitting strings by both "\\" and "." with regex

I have the following string:    var str = 'd:\\projects\\my_project\\dist\\js\\example.js'   I want to split the string into an array as follows:  ['d:', 'projects', 'my_project', 'dist', 'js', 'example', 'js']   How can do this with str.split(regex)? What is the proper regex I need?  Already tried str.split('(\.|\\)') and str.split('\.|\\') (i.e. w/out parenthesis)  Both '\.' and '\\' work when individually passed, but not combined.  Please help me regex masters!


Derivation of the phrase "what the dickens"?

What is the derivation of "what the dickens"? It features in the Merry Wives of Windsor "I cannot tell what the dickens his name is."  So the meaning doesn't seem to have changed ie synonymous with "what on earth".


Getting regions with neighboring borders?

I am currently working with some shapefiles of congressional precincts of the US.   One of my objectives is to get a list of the "Neighboring" precincts for each of the precincts. For example, if precinct X shares a border with YZ then I know that X has neighbors Y and Z.   I saw that ArcMap is a very powerful tool for working with shapefiles and analyzing data.  What tool can I use to get this done?  This is how my map looks like:


no cycles if and only if has $n-m$ connected components

Let $G=(V,E)$ a graph. Prove that $G$ has no cycles if and only if $G$ has $n-m$ connected components where $n$ is the number of vertices of $G$ and $m$ is the number of edges of $G$.  The thing I did is that since $G$ has no cycles then $ \frac{m}{n} <1$.  Can someone give me some hints-ideas?  Thank's in advance!


The ATX specification includes a -12V (and an optional -5V) rail on the main power connector.  What are these negative voltage rail used for on the connected circuits?


Is there anyway to undo/ delete a git push and hide the content from commit message? I know how to do a git revert HEAD, but that still shows the pushed code before, any better way to fix this?


String in String in String (SQL and PHP)

I have a string containing $test = "Hello 'World' ""Hello you!"""; So I need a PHP string which has "a substring in a substring". Are there other delimiters to do so?


Event is not triggered after adding new elements

I have HTML list:  <ul>   contains initial items of:  <li>   I have added new items dynamically to that list. Old items are responding very well , but the new ones cannot be triggered for the same event.  I am using (.on) event as per JQuery documentation to trigger the current and future elements. But still not responding.  $(".favorite-btn").on("click",function(){     alert("Yes!");                });   Could you help ?


Example of a Function that is not Riemann Integrable but |f| is

What is an example of a function which is not Riemann integrable on [0,1] but for which |f| is Riemann integrable on [0,1]? What is the upper integral and the lower integral of this function f, which are not equal, thus not Riemann integrable?


Blender Object keeps moving back to 0,0,0

I am new to blender, and I have just created a island using ANT landscapes, and I have build two boats for this.    Two boats on island  They are in this place when I am in object mode, but when I render it they appear here:    I check the position of where they end up, and it is both where they were imported and 0,0,0. Although, all the other objects I have imported have not changed position. Does anyone know about how to fix this or have experienced this problem?


Do Pokémon trainers develop some kind of limited resistance to their Pokémon's abilities?

Obvious comedic aspects of the cartoon show especially aside, this may be a partial explanation. Think about it:  James can breathe Weezing's smog with no ill effects. Brock was able to hug a Sharpedo. And Ash has gotten trampled, tossed, smacked, singed, smothered, submerged, routed, run over, and electrocuted so often by his Pokemon he should be perpetually hospitalized! Yet these characters always seem to bounce back without serious injury.  Considering [a] it is partially cartoon logic, and [b] Pokémon trainers, much like animal handlers, likely will get somewhat more sturdy and hardy from simply regularly dealing with the animals they train....  Is it at all possible that just being around a Pokémon somehow helps their trainers develop a higher resistance to that Pokémon's special abilities?


mixed metaphor - a matter of personal opinion?

The following sentence from The Great Gatsby strikes me as a mixed metaphor.     The exhilarating ripple of her voice was a wild tonic in the rain.   The author is thus calling her (Daisy's) voice both an "exhilarating ripple" and "a wild tonic." To me, those ideas clash.  A colleague insists that this is a beautiful description of Daisy's voice and not, in fact, a mixed metaphor.   The definition of mixed metaphor, from Merriam-Webster online:     a metaphor that combines different images or ideas in a way that is foolish or illogical   And from Google dictionary:     a combination of two or more incompatible metaphors, which produces a ridiculous effect   Clearly, the sentence in The Great Gatsby combines different images or ideas, so is it simply a matter of personal opinion whether this combination is "foolish" or produces a "ridiculous effect"?


I've developed a side menu in a custom wordpress theme which displays a list of pages in the relevant section. This is all working well and the relevant section automatically opens. The only thing I would like to add is the ability to click a section to open it and close it.  The menu is set out in the following way and I am unable to edit the classes/ID's of the elements as it is wordpress.

     Main Link

     I basically need to say that if the .sidenav li a is clicked then toggle the .side_open class on .sidenav li ul. If anyone has any idea on how this could be done, please let me know!  Thanks - Scott


Is there a quicker way to turn on WiFi Hotspot?

is there a way to automate (or at least reduce the number of steps) to turn on or turn off the WiFi hotspot on my Galaxy 3.  I have to    unlock  press the menu button  press settings press More Settings Tethering and portable hotspot Slide portable hotspot on.


I'm a bit lost in gender neutrality. Please see the example below.  A: What, I got a child‽ B: Sooner or later *he or she* will show up.   From my own research, people put preferences this way: they > she > she or he > he. I think that they, she and he should not be used as it is only one child and we do not know anything about the gender. So she/he does seem to be the most suitable for this sentence. Or is it not?  PS: Would you rather write "he/she" or "he or she"? (I find she before he less natural than vice versa, although people on the internet say...)