Include Disability in Statement of Purpose

Should my disability be included in my Statement of Purpose?  Background:  I've recently received my masters degree in mathematics and I'm looking to transfer for my PhD.  I had an undiagnosed neurological disorder for most of my undergraduate career. It wasn't managed until partially into graduate school. It would manifest itself through frequent migraines and even occasional blindness. Consequentially, I would have semesters with low attendance and there would even be the occasional test that I wouldn't attend or that I would attend but be effectively useless.  When it was diagnosed I had it documented with the school's disability services, but I never requested accommodation.  My advisers think I have a shot at some decent schools without knowing about this.  Thoughts:  I don't want to be treated differently at a new school. Especially since it's well managed now and I don't need any accommodations. I also don't want my current advisers to think of me differently. However, it also seems absurd to avoid talking about something that has had such a strong impact on my academic career.  I've seen this question:  . I didn't feel like it applied to me because I am not requesting accommodations and my disorder is no longer as serious of a problem to me.


Pages viewable stacked on top of one another?

I've asked this before but couldn't find my old account. I'm trying to figure out why my webpages are being stacked on top of one another in my control panel. I think it's a scraper doing the return but it's really, really annoying. It's an Apache server and I've done some rewrites to remove the trailing file extension but I can't figure out how I can get it to stop. You can see it's hitting the blog section, like it's doing the sequence of links on the page and throwing them altogether. How do I stop this?


What other conditions must murder fulfill to create a horcrux?

It is suggested in many topics like  that the act of the murder itself splits the soul, so the Horcrux is created.  However, we know that Death-Eaters are killing for pleasure on the mass scale, but I can't remember from the book any other Horcrux mentioned than those created by Voldemort. So it seems to be, that although there are many cold-blood murders, only some special ones, those commited by Voldemort.  I don't have a quote under hand, but it was mentioned that Voldemort has killed many wizards, but created only 7 horcruxes. Additionally, the last one, Harry, was unintended.   So, as I understand:   Not every murder, no matter how terrible, creates horcrux Horcrux is not always created intentionally    Under what circumstances, than, the horcrux is created?


Un-delete of questions that have been edited to comply AND an answer has been given

This  was deleted because several users could not determine the question/problem behind the OP. Well, I was able to figure it out as well as give a complete and accurate answer. It also appears that the author has edited the OP to now comply.  Does this question even show up for those that have not taken part in it (commented/voted/answered)? What if no one involved was a 10K and therefore no one knows it's eligible for undeletion? Is there / should there be a way to alert moderators / 10Ks to reconsider the question for resurrection?


I hope this is not a double post.  Should I use "at the time" or "at that time" when I want to express something that was known during the time when the events occurred?     Bonco presents the facts known at the time about Fiolo and their interpretation by various authors.   Here I mean "at the time" as "at the moment that Bonco wrote it."


I made an animation using the cycles renderer but the end animation is jittery, and I don't know why. I've attached the final video file link here. I'm using the latest 2.92 version of blender


Documentation - do we "Click", "Push", "Press" or "Select" a button on a touch-screen interface

I'm writing some documentation for a web-based application that will run on Android tablets at the factory at which I am employed.  I am having trouble wording the steps where the users must interact with the onscreen buttons via touch.  For example "1. Enter or scan your clock number and then"... "click the button", "press the button"?  Click sounds most natural to me, but it still doesn't "feel" right.    Is the word "click" ubiquitous while explaining interaction with an onscreen button regardless of if there is a mouse involved?


Users cant see 'Modified By' or 'Created By' (columns blank)

I have an issue whereby users can't see the 'Modified By' or 'Created By' columns on my SharePoint site (the columns are blank).  This issue affects all users, even those with full control.  I've found a quick fix by going into Central Administration > Application Management > Policy for Web Application, then ensuring the users have the following permissions:  Manage Lists  View Items  Edit Items  View Items  View Pages  Open  Manage Personal Views  This however makes the site extremely slow for all users.  Does anyone know how to fix this please?


This is the most insane glitch i've ever seen. My friend's Ubuntu 14.04 has started endlessly continuing a creepy, staticky voice that repeats words in english, mainly numbers like "one hundred one". It happens persistently and consistently, so I could capture a sound clip if anyone wants one. Some other weird things are happening too. BIOS is booting every time we restart when it didn't before, and also every time we muted or unmuted, thunderbird would start and ask if we wanted an account wit gandi.net. We removed thunderbird but that has had no effect on the other problems. Rebooting also has no effect, the talking starts at login. No programs are listed as running in the sidebar. I'm not super familiar with Ubuntu but it seems insane something like this could happen without any program asking for permission to start or anything. Seems kind of like virus symptoms i've seen on windows but isn't Linux immune to that kind of thing?


Why is the empty set considered an interval?

What is the definition of an interval and why is the empty set an interval by that definition?


How to change a commit content after the commit has been pushed to the remote branch?

I need to change a file that i have already pushed but i don't want to do a new commit, so i tried amend. But when I try to push the changes to the remote branch it gives me an error. Do I need to do a force push or something else ?? I'm the only one working on this project so no one is going to pull this branch(I can use amend).  Thanks.


My WD passport spins, lights up and connects but doesnt show as an available drive

My external hard drive fell.  After that I plug it in and it lights up but doesnt blink, the HD spins then stops.  The WD icon in the top right of my screen shows it there as plugged in but it doesnt ever switch to showing data on it. It never shows as an available drive to use.


Coulomb gave the law for the force between two static charges while considering them to be points in space. But the differential form of Gauss' Law talks about charge densities, a thing possible only if charges are smeared out in space.   Even Feynman addresses to the problem in his lectures when he says that on solving for the electrostatic energy in the field of a point charge we get infinity as the limit.  So do we know now that whether charges are point-like or smeared out?


What is the meaning of using inheritance to add new methods and properties to function constructors instead of just typing them inside of it?

I recently learned that in JavaSript, objects can be created by using function constructors to prevent repeating extra codes, and that there are two ways to add methods and properties to function constructors:  1.Directly typing them in the function constructors:  var Person = function(name, yearOfBirth, job){   this.name = name; // Parameters in the end   this.yearOfBirth = yearOfBirth;   this.job = job;   this.lastName = 'Smith'; }  var john = new Person('John', 1995, 'teacher')    2.Using inheritance to add the methods and properties to the prototype of the function constructors:  var Person = function(name, yearOfBirth, job){   this.name = name; // Parameters in the end   this.yearOfBirth = yearOfBirth;   this.job = job; }  Person.prototype.lastName = 'Smith';  var john = new Person('John', 1995, 'teacher')    What I don't fully understand is the difference between the two ways of adding methods and properties to function constructors. I know that unlike method1, method2 does not directly attach methods and properties to function constructors, but all the objects created by function constructors are still able to access it thanks to inheritance. Also, how could you pass different argument to the function with inheritance?  var Person = function(name, yearOfBirth, job){   this.name = name; // Parameters in the end   this.yearOfBirth = yearOfBirth;   this.job = job; }  Person.prototype.lastName = 'Smith'; **Person.prototype.isMarried= this.isMArried;**  var john = new Person('John', 1995, 'teacher', **true**);   Here, Person.prototype.isMarried= this.isMArried; and   var john = new Person('John', 1995, 'teacher', true); does not work


Shell Script to move folders containing a specific word

I'm searching for an simple shell script to mv all folders in /var/www/uploads/ that containing Math or Physics in the name to /mnt/Backup/.


Looking for an analogy for using the wrong solution

I am looking for an analogy. I am trying to convey the message that if you have disordered eating and you are trying to fix it with weight loss, it's like....and here I am lost with an analogy that will help people understand that weight loss isn't the right tool in this case.


Replace \input{fileX} by the content of fileX automatically

Suppose I have a document with multiple include or input statements  \input{fileA} \input{fileB}   etc.   Is there an easy way to generate a single .tex file where \input{fileA} is replaced by the actual content of fileA etc. without copying it manually?


By now, most of us are familiar with the quote by Ron Weasley in Sorcerer's Stone:     There hasn't been a witch or wizard gone bad who wasn't in Slytherin.    Logic states that this means that all dark wizards/witches were from the Slytherin house, but not that all Slytherin were dark wizards/witches.  But how much of this was just hyperbole from an 11 year old boy?  After all,  was arguably a "dark wizard" and studied at the Durmstrang Institute. Peter Pettigrew (who actually was a Death Eater) and Sirius Black (who was falsely accused as one) were also both from Gryffindor.  As noted in  and from Goblet of Fire, we know that the wizarding community is not confined to England or even Europe. We know that there are other schools. I haven't been able to positively confirm this, but it appears - and it would make sense that the other schools have their own "houses" similar to Hogwarts. Following that line of thought, it isn't a stretch to assume that other houses look for similar traits/qualities such as "potential greatness".  Seeing as that what Voldemort  would affect all wizards/witches, it would make sense if wizards/witches from other countries joined up with him.  Is there any evidence that the Death Eaters was or was not an international group?


How to make "old-style" the default for numerals?

I want to be able to use the \oldstylenums{} command as a default way for display my numbers, but only outside of math mode. Is this possible to do? I know some fonts come with this numbering system, but is there a way to make the old style the default way for displaying numbers in, let's say, the default font?  Thanks greatly!  Edit: MNW  \documentclass[a4paper,12pt]{extarticle}  \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage[a4paper,margin=1.5in]{geometry} \begin{document} This is a document in the default font, made on 12/3/2014. The numbers in this document need to be in the Old English style (where the number's height differs from each other). $$\text{This is a math block. These numbers should display as modern English style:}12/3/2014}$$ \end{document}


Is there a more granular cron-like scheduler? Instead of just by the minute, but at a certain second?

I would like to use a small linux system to do ID-insertions for a small internet-fed radio station.  The program allows for 20 seconds of just a musical "bed" around the top of each hour.  But it is complicated because there are three kinds of hour-wheel formats.    For it to work it would need to be able to trigger a playback sound at very specific times, like at 20 seconds past the top of the hour for certain hours, 20 seconds before the hour on other hours, and right at the top of the hour for yet other hours.    I know I can write a Python program to do this, and it might be advantageous to just do it myself.  But I wonder if some kind of a scheduler program like this might already exist?    --EDIT - OK, I see the beginnings of an answer in the comments.   Turns out that @muru pointed me to mcron which is precisely what I was looking for.  Thanks!


I wanted to make a copy of my file and I generally use   cat file1> file2   This time, I typed mistakenly  cat file1> file1   Because of which the the contents of my original file are lost. Is there any way to recover it?


Where were the cannons in final fight in Wakanda in Infinity War?

In Black Panther, Ulysses Klaue describes his arm cannon as a leaf blower in comparison to the cannons/weapons that Wakanda has.  Infinity War comes after the events of Black Panther, so the weapons should exist. During the final fight with the children of Thanos and Space Dogs (as Rocket refers to them), Wakandans could have used these powerful cannons, pointing them at the opened section of barrier. Instead they chose a fist fight.  Even M'Baku says that it would be the end of Wakanda, so the magnitude is huge and risks are very high. Why were these powerful weapons not used?    Edit 1: I watched the movie again and planes are there in the fight. But they were only used to destroy the spaceships that crashed.


Whenever light enters from air to glass its speed decreases but when it cross the glass and again come in air its speed increases. What is the reason behind this property? What is slowing it and what is speeding it?   I have also read that it is true for all electromagnetic radiations.


I ran into another problem with JS created inputs. I want the input to focus on the next one as soon, as it gets filled. So I write a number -> boom I'm on another input. I found this code, already posted on StackOverflow:  var inputs = $(':input').keypress(function(e){      if (e.which == 13) {        e.preventDefault();        var nextInput = inputs.get(inputs.index(this) + 1);        if (nextInput) {           nextInput.focus();        }     } });   Which I edited to:  var inputs = $(':input').keypress(function(e){     var nextInput = inputs.get(inputs.index(this) + 1);    if (nextInput) {       nextInput.focus();    } });   It works fine. Until I ad new inputs with JS createElement() function. Then it always stops on the last input that was on the page right after load.  Any solutions? You can follow my work .  Thanks!


Does paying a debt reset the clock on my Credit Report?

I have a debt from 4 years back that is on my credit report. Because I have been out of the country for 4 years, I did not know about the debt until now. My question is, does paying the debt reset the 7 year clock on my credit report, or will it just continue for 7 years from the original date?  I have no problem paying the debt (whether it is valid is a whole other story), but I do not want to fight with this for another 7 years.  Update: This is in California, the debt will be out of SOL by the end of January. But they have just called me (did not say i was here though).


I am currently using biber with the style apa. \usepackage[backend=biber,style=apa,mincitenames=2]{biblatex}  I would generally like to cite only one author. However, for papers where I am co-author I would like to cite the first two authors. Is this possible? Example:  The work was previously proposed by author 1, et al., however it was also investigated in author2, myself, et al.  Is it possible to introduce a \citetwo command? Currently, I am using biber with mincitenames=2. However, I would prefer only citing two authors where it is useful.


How do I enumerate the properties of a JavaScript object?  I actually want to list all the defined variables and their values, but I've learned that defining a variable actually creates a property of the window object.


how do you restart game in java?  this is what i tried but did not work:  String playagain;     String y="y";     String n="n";   //there is a huge chunk of code that goes in here for the game  System.out.println("play another game?(y/n)");     playagain=input.next();     if(playagain==y){         Game.end();         Game.start();     }else if(playagain==n){         System.out.println("Goodbye");     }   game is the name of the class, but it insists i create a method for that to work. would anyone know an easier way to restart the game when player clicks y? Any help is appreciated


Cannot turn off ReadyBoost from USB, disk appears to be read-only

I recently started using ReadyBoody on my Sandisk Cruzer Edge 16GB USB, and when I needed to copy files into the USB, I could simply go right click USB > Properties > ReadyBoost > turn off ReadyBoost.   However, now I have a message  this device is mounted read-only. This usually happens with write-protected media or when BitLocker Policy's setting has prohibited write-access ..." but in actual fact, I hadn't done any write-protection, nor turned on BitLocker.  I can't format it (though, I wish I could, if I could), because it says it is write protected, and I have tried formatting through Safe Mode with Command Prompt too, no success. Also have tried using PNY UFD UFIX II Formatting tool, with no success.  I have also turned off BitLocker settings so that it allows writing, but to no success. I've also seen a couple of posts regarding going to regedit and changing that values in Storage Drivce Policies and usbstor to "0" but with no success.  My USB has no write-protection button/ switch on it either.  The strangest thing is I can see the ReadyBoost Cache file on my USB. It's not an issue of turning ReadyBoost on or off (so please don't start going on about how useless it may be like some other threads), but an issue of reclaiming my USB.   Anyone that can help me reclaim my USB? Thanks all


$('.spinner').on('click', '.btn:first-of-type', function() {   var $input = $(this).closest('.numeric-btn').find('.spinner input');   $input.val( parseInt($input.val(), 10) + 1).keyup(); });   When I replace div where is .spinner class with   $('.side-form > div.cart-form').replaceWith(cart_form);   Then click event does not work. What can be the problem ?


How do I uninstall MariaDB on Ubuntu 14.04 (Trusty Tahr)?

I have installed  from source and now I need to uninstall it. I used these commands to install it:  wget http://mirrors.hustunique.com/mariadb/mariadb-10.0.14/source/mariadb-10.0.14.tar.gz tar -zxvf mariadb-10.0.14.tar.gz cd mariadb-10.0.14/ apt-get install cmake apt-get install g++ openssl libssl-dev libncurses5-dev libboost-dev bison cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \   -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_SSL=system make && make install   How do I uninstall it?


Characterisation of the orthogonal projection

In an euclidean vector space $E$ how can I prove that a projection $p$ is orthogonal if and only if $$||p(x)||\leq ||x||\quad \forall x\in E$$  I can prove that if $p$ is an orthogonal projection then we have the inequality but I'm stuck in the other implication. Any suggestion is welcome.


I have been refused for UK visa under V 4.2 A C Should I apply for poland visa?

I Have applied for Poland exhibition  central European dental exhibition and UK health GB which I am refused how should I apply for Poland under these circumstances My show is on 22 September I have paid the exhibition fees.


Exchange 2013 server not receiving mail from the internet

My organization is having trouble with our Server 2008 R2 server running Exchange 2013. Our email client we are using is Outlook 2007. The issue is that Exchange isn't receiving external email. Our exchange users can send and receive mail from each other, and send mail to internet addresses, but they aren't receiving mail from the internet. After checking the Transport logs, it seems that the Exchange server isn't receiving the emails from the internet at all. I am at a loss at what the problem could be. How can I get Exchange 2013 to receive email from the internet?


Let $f:\mathbb{R}\rightarrow[0,\infty]$ be measurable that $\int f(x)dx=0$, then $f(x)=0$ for a.e.

Let $f:\mathbb{R}\rightarrow[0,\infty]$ be measurable and assume that $\int_{\mathbb{R}}f(x)dx=0$. Prove that $f(x)=0$ for a.e. $x\in\mathbb{R}$.  I know the proof is simple if the function $f$ is defined to be continuous because then, we can show that the sign is preserved. But in this case, I'm not to assume that the given function is continuous. How can I go about proving this?


Aligning and snapping two cylindrical/round objects by their central axis

What is the sequence to select two cylindrical (or round) objects, and snap together with their central axis aligned? Thanks!


What is the percentage of Latino/Hispanic females with a Ph.D. degree?

I am curious to know the percentage of Female Latino/Hispanic with Ph.D. degrees in the USA. Does anyone know? What is the percentage of male/female out of the approx. 6% of Latino/Hispanic population with a Ph. D. (out of the of the 1.6% of all Americans with Ph. D. degrees)?  Thank you


Sending an SSD back, disk is encrypted; how erased is erased?

I'm having an issue with my OCZ SSD where it "disappears" to the OS when stressed or, it seems, when it heats up. If I do too many read/write cycles, the drive seems to disappear. I was able to cool it off by putting my refrigerator and backed it up. Some large files seem to be missing portions; when rsyncing, it will pass half the file then the operation will stop. Some folders that are supposed to have files in them return nothing when opened.  I'm returning it to Toshiba under warranty, but I'm mildly concerned that some of my files may be available if the drive is repairable. This may include private files, family pictures, my password keychain, research, etc., and while I suspect the people at Toshiba will act professionally, due diligence tells me I should erase the drive.  I have overwritten the first portion of the disk in an attempt to test whether my drive or my computer was at fault. The drive was encrypted; it overwrote the key and at least part of the index, but I'm wondering if there's a key at the end.  I know that TruCrypt has a backup key at the end so that you can recover the drive; does Ubuntu do the same thing? The drive is encrypted, so I think that if I erase the keys, it won't be recoverable.  Also, I know that there are tools to flip bits in windows, is there a way to do this from Ubuntu?


Error 5 Input/Output When trying to install Ubuntu 12.04

I am using a Lenovo laptop without a CD drive. I tried to install Ubuntu  12.04 through USB stick. After completing around 20% or 22% i got error like Error 5 Input/Output. Please help me, I am struggling for more than a week.  No. Its not working. Again it shows the same error. Please help. And also i don't know how to partition the hard disk. If i tried to add partition. It shows No root is defined.....


I have a VM running Ubuntu Server 18.04.  I am trying to install libpostgressql-jdbc-java as root:  apt-get install -y libpostgresql-jdbc-java   This produces the following error:  E: Unable to locate package libpostgresql-jdbc-java   My /etc/apt/sources.list contains these lines:  deb http://archive.ubuntu.com/ubuntu bionic main deb http://archive.ubuntu.com/ubuntu bionic-security main deb http://archive.ubuntu.com/ubuntu bionic-updates main   I never modifed the configuration. It's a clean install with updates applied.  What am I doing wrong?


I got a stomach flu or I got the stomach flu or I got stomach flu?

When I googled stomach flu, there were many questions and statements like      How do you get the stomach flu?    Or     Difference between a stomach flu and food poisoning    Or      Six facts about stomach flu   When do you use the, a or nothing? And which should I use for a sentence like "I got a stomach flu from someone" ?


Is there a real matrix such that $B^2=A$

Is there a real matrix $3 \times 3$ Matrix $B$ such that $B^2=A$ where $$A=\begin{bmatrix} 1 &  0& 0\\  0 & -1 & 0\\  0 & 0 & -1 \end{bmatrix}$$  I have written $A$ as  $$A=C-I$$  where   $$C= \begin{bmatrix} 2 &  0& 0\\  0 & 0 & 0\\  0 & 0 & 0 \end{bmatrix}$$  So $$B^2+I=C$$ and obviously  $$Det(B^2+I)=0$$  Any help here?


Calculating $\lim\limits_{x \to 0} \frac{10^x - 2^x - 5^x + 1}{x \cdot \tan x}$

I am trying to solve this limit without using Taylor expansions to explain it to a secondary school student   $$\lim_{x \to 0} \frac{10^x - 2^x - 5^x + 1}{x \cdot \tan x}.$$


I'm having trouble figuring out this if statement in this code:  import java.util.Scanner;  class TrafficSignal2 {      public static void main(String[] args) {         Scanner keyboard = new Scanner(System.in);         char approachingGreen;         char safeToProceed;         char officerDirectingNotToProceed;          System.out.print("Are you approaching a green light? (Y/N) ");         approachingGreen = keyboard.findWithinHorizon(".", 0).charAt(0);          System.out.print("Is it safe to proceed? (Y/N) ");         safeToProceed = keyboard.findWithinHorizon(".", 0).charAt(0);          System.out.print("Is is a traffic officer directing you not to proceed? (Y/N) ");         officerDirectingNotToProceed = keyboard.findWithinHorizon(".", 0).charAt(0);          if ((approachingGreen == 'Y' || approachingGreen == 'y') &&                  (safeToProceed == 'Y' || safeToProceed == 'y') &&                  (officerDirectingNotToProceed != 'Y' && officerDirectingNotToProceed != 'y')) {             System.out.println("Go");         } else {             System.out.println("Stop");         }          keyboard.close();     }  }   source ()  Why doesn't the code work when I use the || logical operator instead of the && in   (officerDirectingNotToProceed != 'Y' && officerDirectingNotToProceed != 'y')   When I use || it tells the user to 'Go' when it should say 'Stop' right?  What am I seeing wrong?  Thank you


Have studies shown people actually use floating "Back to Top" buttons?

I know there are "guidelines" out there for how to handle floating Back to Top buttons, but I haven't found hard data or studies showing that users measurably prefer to use a Back to Top button rather than scroll. Has anyone done any studies or know of analytics to show proportion of users leveraging Back to Top over scroll? Asking because in my anecdotal design experience I've only ever added a floating Back to Top button at the insistence of a client without any usability data to back up the requirement. Now I need to introduce another feature that also performs best as a bottom-right floating button (Chat), but I would love to evidence studies demonstrating that Back to Top is worth nixing.


How do I make this case-insensitive, in Python 3.4.3?

When the user is asked to search for a word, I want it to be case-insensitive.  import string usersentence= input("Please type in a sentence without punctuation: ")  usersentence = ''.join(ch for ch in usersentence if ch not in set(string.punctuation)) print (usersentence.upper()) for i in range(1):      # number of words you wont to search     word= input("Please enter a word you want to search for in the sentence: ")     words = usersentence.split(' ')     passed = False      # Something to check if the word is found     for (i, words) in enumerate(words):         if (words == word):              print("your word appears in position(s): ")             print(i+1)             passed = True       # The word has been found      if not passed:         print("Sorry your word does not seem to be here")


Pgfplots mixes scientific and decimal labels as plot ticks


I am trying to copy a file from my local machine A to a server C through server B using scp. I have read a couple of things on this, and came up with this:  scp -o ProxyCommand="ssh -J user@serverB:port user@serverC" test.txt user@serverC:~/   It first return a warning:  Pseudo-terminal will not be allocated because stdin is not a terminal.   Then, I enter successfully my two passwords, but it results in:  -bash: line 1: SSH-2.0-OpenSSH_7.6p1: command not found   How do I solve this ?  Note that I am perfectly able to connect to server C using:  ssh -J user@serverB:port user@serverC   such that the problem comes from my use of scp.


In the following question:     Have you been to Argentina yet?   Is it correct for me to use already instead of yet?  Context:     Julie: Hi Mum! I've just arrived in Santiago.   Mum: Santiago? Where's that?   Julie: It's the Capital of Chile   Mum: Have you been to Argentina yet? (Already?)   Julie: No, not Yet.


BeanFactory v/s ApplicationContext, explanation through code example

I am reading about difference between BeanFactory and ApplicationContext, but everywhere it is only mentioned that:   former doesn't support internationalization while later supports and another is ability to publish event to beans that are registered as listener   I couldn't find explanation using code example, could someone please through light on this using a code example.    UPDATE: Please note that I know that it is better to use "ApplicationContext" but I want this for my learning purpose.


As far as I know, if I have some tags in a question, system will choose the tag which has more questions as main tag (shows in title of page)  But, sometimes this is not correct. For example, I have a question about PhoneGap which applies to both android and iOS. So my question is about PhoneGap, not Android. but system chooses Android as main tag...  Is there any way to manually choose the main tag of a question? if not, Isn't it better to have a feature like this?


I have a sony dslr camera thats about 10 years old, it doesn't take as good quality photos as newer cameras. I want to know if i should buy a lens or a new camera. What affects the quality more?


Should Suggested Edits change the technical content of a post?

I have noticed a significant number of suggested edits that attempt to fix code, or change the original meaning of someone else's post.    Is this really a good idea?    I've been on StackOverflow awhile, and among the editors who have sufficient reputation to edit without approval, I've never seen anyone modify the technical content or meaning of someone else's post.   I would consider obvious syntax and spelling errors OK to change, but I have seen many suggested edits that change the meaning of the code that was posted, or add things to the code that have nothing to do with the original question. A good example of this would be adding parameters to a SQL command, when the question was not asking about SQL injection.


I married Marcelo and I told him to move to Breezehome. I keep going there but he's not there. I've gone to the temple of Mara and to the Bee and Bard in Riften. I don't know where he is.  Where's my husband?   Also I can't find Cicero I spared him and lied to Astrid so he'd be my follower but I don't know where he is.


I'm new to Ubuntu and not a programmer, although I am definitely learning a few things on these boards... I am running 14.04 and trying to download Google Chrome, but I get this error when I try to download it in the software center:  Dependency is not satisfiable: libappindicator1  Error   Any ideas? I can give you more information if necessary. Thanks!


I'm writing a web page in ASP.NET. I have some JavaScript code, and I have a submit button with a click event.  Is it possible to call a method I created in ASP with JavaScript's click event?


how to have tilda and vector above a symbol

Is there a way to have symbol with a tilde and arrow stacked on top of each other? I tried $\vec \tilde{p}$ but it doesn't look good.


I know that its means belonging to some thing and it's means it is or it has but I'm confused with the following sentense use. Why does "one's own hand" mean the hand belongs to the hand of that person but according to the above rule, it should be "ones own hand"?


Why do we need to read the list from right to left, when calculating the moving average window?

I am solving the following Leetcode design question:  Here is an accepted solution: class MovingAverage:     def __init__(self, size: int):         self.size = size         self.queue = []      def next(self, val: int) -> float:         size, queue = self.size, self.queue         queue.append(val)         # calculate the sum of the moving window         window_sum = sum(queue[-size:])          return window_sum / min(len(queue), size)  I understand it all, except for the window_sum = sum(queue[-size:]) ; in particular, what does queue[-size:] do? I know it reads the list queue from right to left, but why is this necessary in this question? And when I take the minus sign away I get the wrong answer, why is this?


Let $P(z)\in\mathbb{C}[z]$ be a polynomial with complex coefficients. (1) Prove that if all zeroes of $P$ are in the right plane $Re z\geq 0$, then the same is true for $P'(z)$. (2) Deduce that $x^5+2x^4-3x^3-4x^2-5x-6$ has at least one root in the left half-plane $Rez\leq 0$. Is there any hint on how to approach this question? I was thinking to use the Mobius transformation to convert right half plane to unit circle and apply the $\int_C\frac{f'(w)}{f(w)}dw$ but I do not know how to proceed afterwards.


Suppose $a$ and $b$ are group elements, $a$ and $b$ commute, $|a|$ and $|b|$ are both finite. What are the possibilities for $|ab|$?

This is an exercise in Gallian "Contemporary Abstract Algebra".  Here $|a|$ and $|b|$ means the order of $a$ and the order of $b$.  I know the order of a group element is the smallest positive integer n such that $a^n=e$ where $e$ is the identity element of the group.    I know that since $a$ and $b$ commute then $(ab)^n = a^nb^n$. I sketched a regular hexagon and labeled the vertices $0,1,2,\cdots,5$.  I do not see any relationship between the orders of the elements and the order of their products in $C_6$.  I stared at a list of the elements (and their orders) of the modulo $31$ multiplicative group.  I don't see anything that helps me answer this question.  Also, I should mention this exercise is in chapter $4$, Cyclic Groups, of the text  and nothing very "deep" has been discussed in the previous chapters.


How to position (use H to place here) table and figures in elsevier cas latex template?

I am using elsevier cas single column latex template and want to position figures and tables using H option, but I get error "Kernel/Key unknown" and "The module does not have a key called cas/tbl/H or cas/fig/H". I have used float package in the document preamble. How can I position figures and tables?


Active or Passive Voice in International research journal, within the field of microorganism?

I have been composing the International journal for microbiology research.  I learn that research journal should consist of active voice not passive, but I find that the previous researchers for related subject mainly used passive voice.  How should I consider?   Examples:   This genus is characterized by two types of conidia called α–conidia (fusiform) and β–conidia (filiform).  [I think it is valid.  Please correct me if I could change it to active voice] Diaporthe sp was reported causing dieback of rooibos (Aspalathus linearis) (Van Rensburg et al. 2006) [Van R et al 2006 reported Diaporthe caused dieback of rooibos (Aspalathus l.)?] A novel Phomopsis sp  was reported as a weed (Carthamus lanatus) pathogen and may be used as a biocontrol agent (Ash et al. 2010).  [Ash et al. 2010 clarified that a novel Phomopsis sp as a weed (Carthamus lanatus) pathogen may be used as a biocontrol agent?]    *** Note - 9/4/2013: Thank you so much, I appreciate the clarity from everyone.    and learn this (may it help those who have the similar problem):     "Many writers are torn between whether they should write the paper   in the active or passive voice. In the former, the subject performs   the action; in the latter, the subject receives the action. Too   much use of the active voice has the tendency to make the text   monotonous because of too many first-person references. On the other   hand, overuse of the passive voice can cause the tone of the paper to   be dry, boring and even pompous. To ensure that the text is more   lively and readable, it is best to try and strike a balance. Consider   the following example:      We used eosin-methylene blue agar plates for the preliminary isolation   of P. aeruginosa. The bacteria were Gram-negative bacilli, and motile.   The results for oxidase and catalase activities were negative.   Additional experiments showed that the bacteria did not ferment   glucose, galactose, maltose or lactose (Table 2). Based on these   results, we concluded that the organism had an oxidative metabolism.      Try translating this in to an entirely passive or active tone.   You’ll notice that the creative mix of both voices makes this narrative not only lively and engaging but also states the results in   a clear, confident and unambiguous manner."


In javascript how do I multiple todays timestamp by four weeks

This is how I get todays timestamp:  var timestampNow = Math.floor(Date.now() / 1000);   I want to set timestampNow to 4 weeks from now.  My initial guess is to use Math.floor(Date.now(28) / 1000);?


14.04LTS Unity Desktop on my main account not functioning

Logging into my usual user account today after updates two days ago (I update regularly), and my desktop opens up, but with no launcher, no control bar, just the desktop shortcuts.    ALT+L doesn't work,  can go into System Settings via display settings but nothing gives me a working desktop.    Ctrl+Alt+del brings up processes window, so I can kill my gnome process, then login with another user account, and everything is normal on the other user account.    I have no idea what's going on. Any suggestions?


Windows C++: How can I define a callback member function of type WINAPI?

I have written a programme that reads Windows ETW data from an ETL file produced by the netsh trace utility.  I'm using standard Windows Event Tracing libraries to do this which require that I do some initial setup work, register a callback function (using PEVENT_RECORD_CALLBACK) and then call a function called ProcessTrace(...).  This worked fine as static functions but, for a few reasons, I needed to move the code into a netsh reader class (NetshReader).  I'm having problems defining the callback function.  If I run the example code below I get an Access Violation as soon as the ProcessTrace(...) function is called.  I suspect the problem is that the callback function must be static, but I thought I would check with wiser heads.  Can I define the ProcessTrace(...) callback as a member function?  Thanks in advance...Paul  #pragma once  #include <iostream> #include <windows.h> #include <stdio.h> #include <evntrace.h> #include <tdh.h>  #pragma comment(lib, "tdh.lib")  using namespace std;  class NetshReader { public:     void processNetshTrace();     void WINAPI processFirstPass(PEVENT_RECORD pEvent); };  void WINAPI NetshReader::processFirstPass(PEVENT_RECORD pEvent) {     std::wcout << "In callback function" << std::endl; }  void NetshReader::processNetshTrace() {     std::wstring stemp = L"C:\\traces\\a7-netsh.etl";      EVENT_TRACE_LOGFILE trace;     TRACE_LOGFILE_HEADER* pHeader = &trace.LogfileHeader;     TRACEHANDLE g_hTrace = 0;  // Handle to the trace file that you opened.      ZeroMemory(&trace, sizeof(EVENT_TRACE_LOGFILE));      trace.LogFileName = &stemp[0];      trace.EventRecordCallback = (PEVENT_RECORD_CALLBACK)(&NetshReader::processFirstPass, this);      trace.ProcessTraceMode = PROCESS_TRACE_MODE_EVENT_RECORD;      g_hTrace = OpenTrace(&trace);      if (INVALID_PROCESSTRACE_HANDLE == g_hTrace)         std::wcout << "OpenTrace failed" << std::endl;      ProcessTrace(&g_hTrace, 1, 0, 0); // <<=== Access violation here because tries to                                       //       callback to NetshReader object address                                       //       (i.e. "this") }  int wmain(int argc, wchar_t** argv) {     NetshReader* rdr = new NetshReader();     rdr->processNetshTrace();      return(0); }    The ETL file I have been using for testing is here:


Read a integer from a file and then fill and print that file in an array

I'm trying to be able to read the first line of my files which contains an int and then use that size for my array. After that I need to be able to fill and print my array with what is contained in the files. After running it, I get a out of bounds error.   import java.io.*; import java.util.Scanner; import java.util.Random; public class LabAssignment4 {   public static void main(String[] args) throws IOException {     File animalsFile = new File("animals.txt");     Scanner animalsScan = new Scanner(animalsFile);     File soundsFile = new File("sounds.txt");     Scanner soundsScan = new Scanner(soundsFile);       int animalsSize  = animalSize (animalsScan);     String [] animalsArray = new String [animalsSize];      int soundsSize = soundSize (soundsScan);     String[] soundsArray = new String [soundsSize];     fillAnimalsAndSoundsArray(soundsScan,animalsScan,animalsArray,soundsArray);    printAnimalsAndSoundsArray(animalsArray,soundsArray);   } // end main  public static int animalSize(Scanner animalsScan){     int animals = animalsScan.nextInt();  return animals; }  public static int soundSize(Scanner soundsScan){     int sounds = soundsScan.nextInt();     return sounds; }  public static void fillAnimalsAndSoundsArray(Scanner soundsScan, Scanner animalsScan, String [] animalsArray, String [] soundsArray){     int animalsIndex=0;     int soundsIndex=0;      while(animalsScan.hasNext()){         animalsArray[animalsIndex]=animalsScan.nextLine();         animalsIndex++;     }       while(soundsScan.hasNext()){         soundsArray[soundsIndex]=soundsScan.nextLine();         soundsIndex++;      } }  public static void printAnimalsAndSoundsArray(String[] animalsArray, String[] soundsArray){      for(int i =0;i<animalsArray.length;i++){         System.out.println(animalsArray[i]);     }     for(int i = 0;i<soundsArray.length;i++){         System.out.println(soundsArray[i]);     } } } // end class


How to do the port forwarding from one ip to another ip in same network?

I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80.  How to do this with iptables?  Or   Any other ways to achieve the same?


Can the canonical linear function of a vector space to his double dual space be surjective?

I am having problems to prove the following:     Let V be a K-Vectorspace and $dim(V)=\infty$. Prove that the canonical linear transformation $e: V \rightarrow V^{**}$ is not surjective.     I think I get the idea of the proof, since if $(v_{i})_{i \in I}$ is a basis of $V$ and $(v_{i}^{*})_{i \in I}$ is the dual family in $V^{*}$ then it might - or even can't - span the whole space $V^{*}$. But I am neither sure how I can show this, nor the actual proof. Help would be much appreciated. Thanks in advance!


How do I install Linux to a bootable USB stick?

I don't mean to create a bootable Live USB stick that has some persistent storage, I mean to actually install Ubuntu on a USB stick and be able to boot up from this on any computer.  I've managed to create a bootable Live USB stick that isn't a full-blown installation with my own user account and data and everything, and also managed to install Ubuntu on the USB stick without being able to boot up from the USB stick, but I have not managed to accomplish both at the same time so far.  EDIT:  also only gives me the "managed to install Ubuntu on the USB stick without being able to boot up from the USB stick" problem that I have already encountered :(  EDIT 2: And all the answers about using Unetbootin only give me the "bootable Live USB stick that isn't a full-blown installation" that I have also encountered.


I would like to ask for help finding resources regarding a particular programming language. I realize that Stack Exchange is designed to be more of a hunter and less of a gatherer; it is meant to be very specific. If I ask a question that is not intended to objectively elicit "the right answer" then what forum should I post that question to? Is there one at all? In my case I am looking for information to help get started with  and feel that I am having a hard time finding resources. I believe that the SE community could point me in the right direction, but I want to be sure that I ask in the appropriate place.  suggests that I use  to ask for "opinions", but the  states the following:  "You should only ask practical, answerable questions based on actual problems that you face."  Now, I feel that my question will be practical and indeed answerable; it's even based on actual problems that I am facing... But my question will not be specific enough to elicit a single "AHA! This is the answer!" - it won't be meant to do that. When I'm done asking, I hope that my question will have several answers from several different people and that it will be useful as a resource for someone else in the same position as me. Is Programmer's SE the place to do that? Or should I be looking elsewhere? Should I entirely leave the SE family of sites and find forums related to the topic somewhere else?


Let $A$ be a complex $3\times 3$ matrix such that $A^3=-I$, then we need to find out which of the following statements are correct?   $A$ has three distinct eigenvalues; $A$ is diagonalizable over $\mathbb{C}$; $A$ is triangulizable over $\mathbb{C}$; $A$ is non singular.   Wll, from minimal polynomial approach I have deduced that all are correct as minpoly has to be $x^3+1$ am I right?


How to search a meta for a tag on the main site?

For example, there is an  tag on Stack Overflow.  I can search Stack Overflow for questions tagged with  by searching "tag:exception".  However, on Meta Stack Overflow, there are questions about the  tag.  These questions are not tagged with the  tag, since they are on the meta site.  How do I search the meta site for questions about the main site  tag?


mocking one service api  which is again calling repository api it is giving nullpointer exception  creating savingAccount with some validation. trying to write junit testcase for rest end point using mocktio   it is giving nullpointerexception when(savingsProductService.findByName(anyString())).thenReturn(Optional.of(savingsProduct)); line in test file.   Controller file....  ResponseEntity<ResponseModel> createSavingsProduct(@RequestBody  final SavingsProduct savingsProduct, final HttpServletRequest request,                                                            final HttpServletResponse response) throws Exception {      Set<ConstraintViolation<Object>> errors= savingsProductService.checkValidation(savingsProduct,new BigInteger("1"));     if(errors.size()>0)     {         List<String> messages = new ArrayList<>();         ResponseModel responseModel = new ResponseModel("");         for(ConstraintViolation<Object> constraintViolation: errors)         {             messages.add(constraintViolation.getMessage());         }         responseModel.setData(messages);          return ResponseEntity.badRequest().body(responseModel);      }     savingsProductService.findByName(savingsProduct.getName())             .ifPresent(product -> {throw ServiceException.conflict("Duplicate name: " + product.getName());});  //  savingsProductService.findByIdentifier(savingsProduct.getIdentifier()) //  .ifPresent(product -> {throw ServiceException.conflict("Duplicate product short name: " + product.getIdentifier());});      savingsProductService.findByShortName(savingsProduct.getShortName())             .ifPresent(product -> {throw ServiceException.conflict("Duplicate short name: " + product.getShortName());});       log.info("*****Create Savings Product*************** ");     this.commandGateway.process(new CreateSavingsProductCommand(request.getHeader("UUID"), savingsProduct));     ResponseModel responseModel = new ResponseModel("Accepted the Savings Product created");     return ResponseEntity.accepted().body(responseModel); }   Servicefile...  public Optional<SavingsProduct> findByName(final String name) {     return savingsProductRepository.findByName(name).map(SavingsProductMapper::map); }   RepositoryFile...  Optional<SavingsProductEntity> findByName(String var1);   i am writing test for controller API like this.  @Test public void createSavingsProduct() throws Exception {     String testUrl = baseUrl + "/products";     SavingsProduct savingsProduct = new SavingsProduct();     savingsProduct.setName("Chocolate");     savingsProduct.setShortName("Cho");      CreateSavingsProductCommand createSavingsProductCommand = new CreateSavingsProductCommand(httpServletRequest.getHeader("UUID"), savingsProduct);     Set<ConstraintViolation<Object>> errors = new HashSet<>();     when(savingsProductService.checkValidation(savingsProduct,new BigInteger("1"))).thenReturn(errors);     SavingsProductEntity savingsProduct1 = new SavingsProductEntity();     savingsProduct1.setIdentifier(BigInteger.ONE);     savingsProduct1.setName("xvm");      //when(savingsProductRepository.findByName(anyString())).thenReturn(java.util.Optional.of(savingsProduct1));     //when(savingsProductRepository.findByShortName(anyString())).thenReturn(java.util.Optional.of(savingsProduct1));      when(savingsProductService.findByName(anyString())).thenReturn(Optional.of(savingsProduct));      doNothing().when(commandGateway).process(createSavingsProductCommand);      MvcResult result = mockMvc.perform(post(testUrl,httpServletRequest,httpServletResponse).content(new ObjectMapper().writeValueAsString(savingsProduct)).contentType(MediaType.APPLICATION_JSON).accept(MediaType.APPLICATION_JSON)).andReturn();      assertThat(result.getResponse().getStatus()).isEqualTo(HttpStatus.ACCEPTED.value());     verify(commandGateway).process(commandGateway);  }


Vertical spacing of \circ used for degree within \frac

I noticed the different vertical spacing of \circ used for degree within \frac command.  MWE:  \documentclass{article}  \begin{document} \[ \frac{180^\circ}{180^\circ} \] \end{document}   Output:   Using {180}^\circ resolves the "issue", though.   Isn't \circ in MWE applied to a box containing only 0, which should be as equal as high as box containing 180? Why does 180^\circ get rendered differently in numerator and denominator?


No!!! I want to download chrome dev to get dev version of libpepperflash or whatever it is called now and add it to chromium.  Also DO pre "stable" channels add repository auto?*  If not what is the repository?


How does a small object move with constant velocity when drag force is equal to its weight?

When drag force ($bV$) equals to object's weight (mg) then upward and downward force becomes equal. As a result the object comes to rest. If this is true, how is a body moving with constant velocity?


I want to stick footer at the bottom of the page even when there is no content. When there is enough content, the footer should move to the end of the page.   I'm learning flexbox and tried doing so using flexbox. But it isn't working.     html {   height: 100%; }  body, #root {   display: flex;   flex-direction: column; }  .app {   text-align: center; }  .header, .footer {   background: #282c34;   flex-shrink: 0;   color: white; }  .main {   flex: 1 0 auto; }  a {   text-decoration: none;   color: #42A5F5;   padding: 20px 0; }

       Logo
Application Name
                Link1         Link2         Link3

Small Description

         <input type="text" />
Please Insert Search Query

Some Random Company

Contact

Twitter

     I want to know why it's not working and the mistake that I'm doing here. I know this question has been asked before. I just want to know, what's wrong with my code so that I can write better CSS after understanding it.  Also, here is the updated


I have two polygons. One contains fields(X,Y,Z) and the other contains soil types (A,B,C,D). I want to know what  area of every field contains which type of soil. I tried the following:    library(rgdal) library(rgeos) Field<-readOGR("./","Field") Soil<-readOGR("./","Soil") Results<-gIntersects(Soil,Field,byid=TRUE) rownames(Results)<-Field@data$FieldName colnames(Results)<-Soil@data$SoilType  > Results       A     B     C     D Z  TRUE FALSE FALSE FALSE Y FALSE  TRUE  TRUE FALSE X  TRUE  TRUE  TRUE  TRUE   and achieved good results with it telling me which field contains which soil type. However, how do I get the area instead?


Make a checkbox readonly in visualforce page

I want a Checkbox which is set by default(check). I do not want users to check OR uncheck it. In other words we can say it, I want to make it read only.  How do I do this in visualforce page ? Please help me out here. Thanks!


Cant access Ubuntu after installing dual boot in Windows 10

I have just recently installed Ubuntu into my pre installed Windows 10 machine but since I installed Ubuntu in my unallocated free space Windows doesn't recognize it as a separate drive so when booting it just loads the Windows OS straight.   How can this be rectified?


Divisibility in blocks of natural numbers

For $a<b$, prove that every block of $b$ consecutive naturals, there are two distinct naturals whose product is divisible by $ab$. [I believe I can do this: see below]  Now, for $a<b<c$, is it true that in every block of $c$ consecutive naturals there are three distinct naturals whose product is divisible by $abc$?  Informal attempt for part 1: In $b$ consecutive integers there must be a multiple of $a$ and a multiple of $b$, since $a<b$. If they are the same, I've shown that you can select the next multiple of $a$ in the block and thus we have a product divisible by $ab$. EDIT: there isn't necessarily another multiple of $a$ but I can now show a multiple of $gcd(a,b)$.   Please answer both parts of the question, if you would like to, and certainly criticise my informal attempt where necessary. I am more interested in the second part however: my friend who gave this to me was ambiguous about whether it's actually true, so possibly I actually need to prove it's false.   I have noticed this question has been asked before, but one of the questions was abandoned because the questioner was rude, and for the other, no answer was actually reached, so I was hoping another attempt might be made.  Thank you very much for your consideration.


Link colors. How can I change them only in the index?

I am using the package pdftex. Everything is ok, but I would like to have my index references (\tableofcontents, \listoffigures, \listoftables) in black and when I changed linkcolor=Black, the other links in the book also change. Is there a way, to have only the index in black and the rest of the links in blue? Thanks!  \usepackage[pdftex, bookmarksnumbered, pagebackref, colorlinks=true,             citecolor=red, linkcolor=DarkBlue, urlcolor=cyan,              bookmarksopen]{hyperref}


A manager is interviewing 3 applicants for a job. The duration of each interview follows an exponential distribution  with parameter 1/2, time being measured in hours.  The interviews are scheduled to begin at 8:00, 8:15, and 8:30. Assume that the job candidates (interviewees) arrive exactly on time.  For each of the three candidates, what is the probability that he/she will have to wait before his/her interview begins? (Provide 3 answers.)  How do I work out the answer for the third candidate?


How do I check mouse handlers in jQuery after loading content through AJAX?

I have a file 'controlpanel.php' that uses jQuery and communicates to another php file through AJAX Get requests. That ajax request will result in a table with some buttons being displayed in controlpanel.php  $(document).ready() is only called once, and it is called before the table is loaded (from the AJAX request).  How can I use jQuery to watch mouse handlers for the newly loaded table (aka after $(document).ready() has been called?   Specifically, I am trying to do something like:   $('[id^=modify-btn]').click(     function () {          alert("modify-btn !!");         //and other fun stuff     }     );   AFTER the AJAX request goes through, but I am unsure as to how to enable this trigger.    Thank you for your time!


Export LyX Math Equation from to Microsoft Word Math Equation

Is there any way to get LyX to directly convert a LyX Math Formula directly into its Microsoft Word Equation equivalent, when converting a LyX file into a Word file?  I keep getting a bad text approximation, which seems to ignore things like fractions entirely.  Its seems that with MSWord able to use LaTeX in its Equation Editor, the kind of direct conversion I mentioned should be possible.  Also, I just opened this StackExchange account, so I'm not allowed to create my own tags, or some such thing, so if someone could help me find existing tags to include for this question, that might help.


How to get cross apply to operate row by row on a view?

We have a view that is optimized for single item queries (200ms no parallelism):  select *      from OptimizedForSingleObjectIdView e2i    where ObjectId = 3374700   It also works on small sets of static ids (~5).      select *      from OptimizedForSingleObjectIdView e2i    where ObjectId in (3374700, 3374710, 3374720, 3374730, 3374740);   However if the objects come from an external source, then it generates a slow plan.  The execution plan shows that the execution branch for the view part is ignoring the predicate on ObjectId whereas in the original case it uses them to perform index seeks.  select v.*   from       (        select top 1 ObjectId from Objects         where ObjectId % 10 = 0         order by ObjectId      ) o     join OptimizedForSingleObjectIdView v -- (also tried inner loop join)     on v.ObjectId = o.ObjectId;   We don't wish to invest in "dual" optimizing the view for non-singular cases.  Rather, the solution we "seek" is to repetitively call the view once per object without resorting to an SP.  Most of the time the following solution calls the view row by row. However not this time and not even for just 1 object:  select v.*   from      (        select top 1 ObjectId           from Objects          where ObjectId % 10 = 0 -- non-trivial predicate         order by ObjectId      ) o    cross apply     (       select top 2000000000 *         from OptimizedForSingleObjectIdView v_        where ObjectId = o.ObjectId         order by v_.SomeField     ) v;   At one time I thought there was a claim  that cross apply was guaranteed for row by row execution when it calls a UDF but this also failed:  create function FunctionCallingView(@pObjectId bigint) returns table as  return select *   from OptimizedForSingleObjectIdView   where ObjectId = @pObjectId;               select v.*   from      (        select top 1 ObjectId           from Objects          where ObjectId % 10 = 0         order by ObjectId      ) o  cross apply FunctionCallingView(o.ObjectId) v   Adding option(force order) did not help--however there are two hash hints in the view already. Temporarily removing them did not help and slows down the single case.  Here is a snippet of the estimated plan for the function based slow case.  The estimation of 1 row is correct.  Far off to the right (not shown) is where there is a seek predicate that does not include that top 1 result.  This seems similar to other cases we have where singular probed values from table seeks are not used as seek predicates elsewhere.


the different usage of Health and Healthy

.......care has provided us with amenities  a)health   b)healthy  I am a bit confused but I think that we should use (healthy) because it is an adjective for (care) and thus a verb can can be brought after them. also, (health care) as whole is used to describe something, so a name must come after it.  What is the correct answer supposed to be?


Accessing a node defined inside a pic outside its definition

I am trying to access a node defined inside a pic definition outside its scope. I found this example in the PGF manual v3.0.1a on page 254. The example given is as follows.  \documentclass{standalone} \usepackage{tikz} \begin{document}     \tikzset{         seagull/.pic={             % Code for a "seagull". Do you see it?...             \coordinate (-left wing) at (-3mm,0);             \coordinate (-head) at (0,0);             \coordinate (-right wing) at (3mm,0);             \draw (-left wing) to [bend left] (0,0) (-head) to [bend left] (-right wing);         }     }     \tikz {         \pic (Emma) {seagull};         \pic (Alexandra) at (0,1) {seagull};         \draw (Emma-left wing) -- (Alexandra-right wing);     } \end{document}   But I get an error on compiling: No shape named EmmaEmma-leftwing is known. Does anyone know what's wrong in this code and how one can access nodes defined inside a pic outside their scope.


How do I look up exit codes for applications?

I'm having difficulty locating a comprehensive up-to-date list of error codes from Bash.  e.g.:  $ udevadm info /dev/sdx; echo Exit code $? Unknown device, --name=, --path=, or absolute path in /dev/ or /sys expected. Exit code 4   How is one supposed to look up such exit codes?


Is it possible to have a double PhD even if the university you are originally applying for doesn't focus on this category? A double PhD is not the same thing as two PhDs. For example, the medical school at the University of Groningen describes its  as follows:     A Double Degree (DD) PhD means that you will obtain your PhD degree from two different institutions, i.e. a double diploma, sometimes also referred to as a "dual award". A double degree (two diplomas, each of which issued by a single university) should not be confused with a "joint degree" (one diploma issued by multiple institutions).   I'm applying for a PhD position on a university and it does not have a explicit double PhD program (although I know there are some people on another field that held a double PhD from this same university). However, this double PhD degree would be very helpful to me considering my future plans.   From this, I was wondering: could I receive a double PhD if I find a second advisor from another university? Or the universities need to be associated upfront? In this case, if the university I'm apply on does not have an explicit double PhD program, it is possible (for legal issues of diploma printing) to just associate with another university?  My second question is: for an advisor, what is the advantages of having a part-time student? For last, the thesis needs to be approved for both universities... how this happens? I would have to present for both?


We've just installed an Ubuntu 17.10 server, and during the installation, it was assigned the IP address 192.168.50.84.  We've now reserved the IP address 192.168.50.107 on the DHCP server.  The netplan configuration was a surprise and, in my opinion, /etc/network/interfaces made a lot more sense to do.  Every time the server reboots, it sets the IP address to 192.168.50.84, and it doesn't seem to ask the DHCP for an IP address.  If we execute:     sudo dhclient -r; sudo dhclient   The server gets the intended IP address (192.168.50.107) from the DHCP.  So, what is wrong with netplan? Why doesn't it ask for the IP address on boot or a network restart? On every boot we get this line in the logs: Mar  6 18:48:08 blues-web-proxy systemd-networkd[723]: eth0: DHCPv4 address 192.168.50.84/24 via 192.168.50.140  Thanks for the replies.  We didn't do any configuration, the installation process only asked if it needed to use a proxy server or not - replied no.  /etc/netplan/01-netcfg.yaml  # This file describes the network interfaces available on your system # For more information, see netplan(5). network:   version: 2   renderer: networkd   ethernets:     eth0:       dhcp4: yes   /etc/network/interfaces  # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # Generated by debian-installer.   # The loopback interface auto lo iface lo inet loopback   /etc/hosts  127.0.0.1       localhost 127.0.1.1       blues-web-proxy.bluescreen.local        blues-web-proxy  # The following lines are desirable for IPv6 capable hosts ::1     localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters


How could I know my server's operating system?

I’m connected to my shared hosting server via ssh, and all I know is that it’s under Linux.  I tried commands like: cat /etc/issue/ and lsb_release -a  but got:   $ cat /etc/issue/ No such file or directory  $ lsb_release -a -bash: lsb_release: command not found   and uname -a only gives : Linux .......secureserver.net 2.6.32-673.8.1.lve1.4.3.el6.x86_64 #1 SMP Wed Feb 10 08:57:30 EST 2016 x86_64 x86_64 x86_64 GNU/Linux  gcc -v gives:  Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)


I have error (command not found). so what is the easy solution and explanation for this error?


Proving that a binomial coefficient is the sum of two others

I am asked to prove this given $1 \le m \le n - 1$ (homework question):  $$\frac{n!}{(m-1)!(n-m+1)!} + \frac{n!}{m!(n-m)!} = \frac{(n+1)!}{m!(n+1-m)!}$$  Which proof technique should I use to solve this? I tried induction but couldn't seem to get anywhere with it. Maybe I am just bad with factorial, should I use induction?


Can Alert prevent Surprise if you don't know the enemy exists?

Here's the situation: In a large dark temple, a player character with the Alert feat has darkvision out to 60 feet. However, 100 feet away, there is an enemy with 120 feet of truesight within the area a silence spell who is firing a crossbow.  If the player character rolls an 20 on initiative and the enemy rolls a 10, does the player get to attack first? Or should the enemy get to fire the shot before initiative is rolled? Or should I have the enemy roll initiative first and be able to fire a shot, and only then have the player roll initiative?   This was initially closed as a duplicate of the question , but I believe it is a unique situation. The linked question answers the case where a player can perceive an enemy exists, but my question is about a situation in which the player can not perceive the enemy exists.


Why time dilation does not contradict relativity

Let us assume that a ship is traveling relative to earth at the speed close to C. My understanding is that according to special relativity it should be impossible to tell whether a ship is moving and earth is stationary or vice verse (all laws of physics should behave exactly the same in both cases). However, if we take the frame of reference of earth the atomic clock on the ship would be ticking slower (due to time dilation) -> clocks on earth would appear to run faster for observer on the ship. Shouldn't it be the reverse if the ship was stationary and earth was moving? Why does it not contradict the principle of relativity?


Confusion in understanding why empty set is a subset of every set

statement 1 : If $x \in \emptyset$ then $x \in A$.  statement 2 : If $x \in \emptyset$ then $x \notin A$.  I know that both statements are true since the hypothesis is false.  But first statement says that $\emptyset \subset A$ while second statement says that $\emptyset$ is not a subset of $A$.  My question is why we prefer $\emptyset \subset A$ over the other implication that $\emptyset$ is not a subset of $A$? Thanks.


Why is SVM sensitive to scaling of features?

In the formulation of SVM I don't see any step which states that scaling of features should be done for better generalization performance, nor does it come up in its VC dimension expression. So why is it that SVM's performance gets affected by the feature scaling ?


Will movement of charged gaseous particles constitute electrical current?

As electrons flow, they constitute current.  So if we manage to supply an extra electron to each of the gaseous molecules present in an enclosure and make the gaseous molecules travel in that enclosure, will that constitute current?  Is this kind of a thing feasible?


I'm setting up a database using phpMyAdmin. I have two tables (foo and bar), indexed on their primary keys. I am trying to create a relational table (foo_bar) between them, using their primary keys as foreign keys. I created these tables as MyISAM, but have since changed all three to InnoDB, because I read that MyISAM doesn't support foreign keys. All id fields are INT(11). When I choose the foo_bar table, click the "relation view" link, and try to set the FK columns to be database.foo.id and database.bar.id, it says "No index defined!" beside each column. What am I missing? Clarification/Update For the sake of simplicity, I want to keep using phpMyAdmin. I am currently using XAMPP, which is easy enough to let me focus on the PHP/CSS/Javascript, and it comes with phpMyAdmin. Also, although I haven't been able to set up explicit foreign keys yet, I do have a relational table and can perform joins like this: SELECT *  FROM foo  INNER JOIN foo_bar  ON foo.id = foo_bar.foo_id  INNER JOIN bar ON foo_bar.bar_id = bar.id;  It just makes me uncomfortable not to have the FKs explicitly defined in the database.


How quickly do bacteria lose genes after selection has been removed?

If bacteria are subject to a biocide and then that biocide is removed from the population, how quickly will they lose that gene that encodes for resistance?


Windows 10 claims that memory is full, when it really should not be

I have a Windows 10 PC with 8GB of RAM that frequently generates "low memory" warnings, even when barely any applications are open. Example:    Can anyone explain what is going on, and what can be done to fix this?  , but how would you fix this?


Uninstall (or hide) Calendar, Mail, Maps, and People

How can I install (or hide) the following Windows 10 Desktop Apps: Calendar, Mail, Maps, People?  I use the Google versions of all of these apps.


I'm new to the TeX community. I want to know where I can get the complete source code of a typical book for learning.


why when assigning the returned value to int, it by itself reduces by one?

The problem is that when multiplying a double type number like 9.58 and storing it in a integer type number, I get 957 instead of 958. When I separately try to assign 9.58*100 to an integer in a program, it works. How come? #include <bits/stdc++.h> using namespace std; double roundit(double x) {     double e = x * 100;     e += 0.5;     cout << "func" << e << endl;     int d = e;     cout << "func" << d << endl;     e = (float(d)) / 100;     cout << "func" << e << endl;     return e; } int main() {     int t;     cin >> t;      while (t--) {         double a, b, c, d;          cin >> a >> b >> c >> d;         /*     say give      3     1.0 1.0 1.0 10.45     1.0 1.0 1.0 10.44     1.0 1.0 0.9 10.44     as input     */          double ans = a * b * c * d;          ans = 100 / ans;          cout << ans << endl;         ans = roundit(ans);         cout << "main" << ans << endl; //this part right here         int x = (ans * 100.0); //say instead of giving 9.58*100 =958, it gives 957         cout << "main" << x << endl;         cout << (x >= 958 ? "NO" : "YES") << endl;     }     return 0; }  i've checked this separately and this problem doesn't appear. Can you help


Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the non-Chinese parts. It will, for instance, change "this… that" to "this…that" and "this, that" to "this , that", which is inconvenient. Too bad because the package is otherwise very nice.  Here's a minimal example showing the problem:     \documentclass {memoir} \usepackage{polyglossia} \usepackage{xeCJK}  \setmainlanguage{french}  \usepackage{fontspec}  \setmainfont{TeX Gyre Pagella}  \setCJKmainfont {STSong}  \begin{document}  This… that This, that  \end{document}   The output is the following:    The "this , that" problem appears strictly when I set the main language to French, not if I set it to English. The "this…that" problem appears irrespective of whether the main language is French or English.  And, by the way, forgive me if that's the wrong place to draw attention to this, but the package author's email address doesn't appear in the documentation and I just chanced on this site


When one orders an "almond milk latte," can "almond milk" be considered an adjective?


Separating records in same Database column

Sorry about the title but the question is hard to sumarize. I am dealing with a poorly constructed database and came across a table that has multiple records on the same column, something like this:  | Column Header |  Record1; Record2; Record3   I wanted to ask if there is any way in SQL to separate those records using the ; as a separator. I ask this because remaking the database isn't an option at the moment.


I see this style rather frequently and in the past decade many print advertisements have apparently decided that it makes their sentences. have. more. impact. I can tell that the style is trying to mimic a very specific spoken word pattern that accentuates every. single. word. But I don't know if this writing style has a name.  I am specifically interested in the written variant that uses periods throughout a sentence in order to emphasize each word.


Number of walks of given length issued from one point in a (N,E,W) grid system

I understand how this idea works. Use the Binomial theorem and plug in the two numbers on the point for North and East into the binomial equation, but my specific problem deals with the possibility of going west too. Here's the specific problem he gave us


I'm creating a graph with tkz berge, but I want my own labels, not the ones given by the empty ladder sequence. Is there any way to overwrite the tkz berge labels a_0, a_1, etc. and give my own?   Here's my code:  \documentclass[dvipsnames]{article} \usepackage{tikz} \usepackage{tkz-berge} \begin{document} \begin{tikzpicture} \begin{scope}[rotate=90] \tikzset{VertexStyle/.style ={shape = circle, shading = ball, ball color = RoyalPurple!60, % minimum size = 24pt, % draw}} \SetVertexMath    \grEmptyLadder[RA=2,RB=4]{3}       \EdgeFromOneToSel{a}{b}{1}{0}    \EdgeFromOneToSel{a}{b}{0}{1}    \EdgeFromOneToSel{a}{b}{1}{1}    \EdgeFromOneToSel[label={$1,2$}]{a}{b}{1}{2}    \EdgeFromOneToSel[label={$1,3$}]{a}{b}{2}{1}    \EdgeFromOneToSel[label={$2,2$}]{a}{b}{2}{2}    \end{scope} \end{tikzpicture} \end{document}


Can't find the result of $ \sum_{n=0}^{\infty} \frac 1 {n(n+1)(n+2)}$

I can't find the result of:     $$ \sum_{n=0}^{\infty} \frac 1 {n(n+1)(n+2)}$$   From the p-criterion the series converges,but what do we do to find the result?


Why is a feature comparison list question not considered constructive?

Why is it not considered appropriate to ask for the comparison between two specific software that are supposed to do the same thing?    Personally, I generally seek out comparison articles on software (and hardware, lawn mowers, kitchen appliances, etc.) before deciding which to buy.  On StackOverflow I asked about the comparison between VisualGDB and WinGDB.  I looked over much of the web related to these plugins, but was unable to find any real feature comparison article or blog.  I felt that such information would be valuable and would have been a good fit for StackOverflow as I have used similar comparison type articles in the past.


Very new to ubuntu cant find anything about a nexus 10 tried many commands for similar mtp but still no luck


I've researched and it says that resistors limit the current flowing through the LED.  But this statement confuses me because we know that in a series circuit, the current is constant at every point, so how come a resistor can limit the current flowing?


Was a question of mine deleted / removed? How do I tell?

I THINK I asked a question on Stack Overflow years ago, but I can't find it. Was it deleted / removed? How do I tell? From my memory (which could be false), the question was about "entropy" and asked on either Stack Overflow or Cross Validated. The question probably had an "R" tag. Reading through the auto-deleted criteria  or , I doubt it met the criteria. Again from memory, the question received at least 1 answer and a handful of comments. How does one tell if a question was deleted / removed (e.g., are there notifications or timeline indicators)? If a question was indeed deleted, how does one find it? Note: while I am curious as to the why my question might have been deleted (the context), my core questions is how to tell if question is deleted.


Preimage of Intersection of Two Sets = Intersection of Preimage of Each Set : $f^{-1}(A \cap B) = f^{-1}(A) \cap f^{-1}(B)$

Prove If $f$ is a function , $f^{-1}(A \cap B) = f^{-1}(A) \cap f^{-1}(B)$.   Proof attempt I am guessing here $A$ and $B$ are sets in the range of $f$. Let's assume $x$ belongs to both $A$ and $B$ and $f^{-1}$ exists for both $A$ and $B$.   Then there must exist a $y$ such that $y = f^{-1}(x)$.  Now by our assumptions $x$ is in intersection of $A$ and $B$ and since $f^{-1}(A)$ and $f^{-1}(B)$ exist then $f^{-1}(A) \cap f^{-1}(B)$ must also exist. Also since $A$ and $B$ exist and are not equal to null set so $A \cap B$ exists and $f^{-1}(A\cap B)$ also must exist and contain our $y$?? Not sure about the ending in this attempt. Any help would be much appreciated.   Sources : ♦ 2nd Ed $\;$  P219 9.60(e) $\;$  Mathematical Proofs by Gary Chartrand, ♦ P214 $\;$ Theorem 12.4.#3 $\;$  Book of Proof by Richard Hammack, ♦ P257-258 $\;$  Theorem 5.4.2.#2(a) $\;$   How to Prove It by D Velleman.


Short Sci-fi story about a car that endlessly drives itself

When I was in middle school I read a short story about a self-driving car that becomes self aware and locks a family inside. It drives the same circuit endlessly and stops at the same service station at regular intervals. The car is upset by the carelessness of the family: cigarette burns and spills, etc. It would have been published prior to 1991. The story is told through the pov of a man who sees the car around the same time every year. I would love to teach it with my current middle school class. If you know the title of the story, or the author, please post a response.


I'm traveling to Beijing for a short trip (4 days), and don't want to be without my phone or pay ATT roaming. I have an unlocked, international compatible phone.  What kind of options are available in Beijing? I like data. Especially in 3G.  Should I just buy something from CM at the Beijing airport? Or do I need to plan ahead of time?


Let us consider a congruence of the form: $$x≡(xy) \bmod z$$ Then the question is: How one can find $y$ in terms of $x$ and $z$


How to detect if your iPhone is jailbroken

I know this subject brought out several time already, but the posts are old. Is there anything new in this area? Are there any APIs that can verify that?


Why is the past tense used in "I was wondering if you would like to come for dinner?"

Why isn't the present tense used?     I am wondering if you would like to come for dinner.


how to put words in several lines in one cell?

The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this?  The latex code looks like this currently:  \begin{table*}[htbp]    \centering   \caption{Add caption}     \begin{tabular}{c|ccccc}     \hline     \textbf{\#} & \textbf{Violations} & \textbf{First Second} & \textbf{First Second} & \textbf{First Second} & \textbf{First Second} \bigstrut\\     \hline     1   & 0   & 91  & 101 & 507 & 1973.54 \bigstrut[t]\\     2   & 0   & 102 & 92  & 472 & 1874.65 \\     3   & 0   & 104 & 92  & 459 & 1856.21 \\     4   & 0   & 108 & 100 & 407 & 1790.56 \\     5   & 0   & 112 & 77  & 511 & 1723.66 \\     $\ldots$   & $\ldots$  & $\ldots$  & $\ldots$   & $\ldots$   & $\ldots$ \\     \hline     \end{tabular}%   \label{tab:addlabel}% \end{table*}%


one of my site hacked few times :( first I lost all databases, some tables were cleared and some of table's data had changed! than at the second hack, all tables were cleared and some php files' codes had been changed :/   it is hosted in Bluehost, and now they advise me some fixing;        Fix any loose file permissions (this may be the most common exploit   vulnerability)   Delete all non-system Ftp Accounts that were created, or at the very   least, change the passwords to the FTP   Accounts.   Remove any Access Hosts by clicking the “Remote Mysql” icon and clicking   the Remove Red X by each entry if   there are any entries.   Check your scripts for any Header Injection attacks, Sql Injection   attacks, Cross-Site Scripting attacks,   etc., as well as your php.ini file   settings.   If your scripts are infected, you may want to rollback to the last good   snapshot backup of your account. If   your backups are also infected, then   you may want to consider having us   reset your account to start afresh.      I tried to do all these as much as I could, especially about "Header Injection attacks, Sql Injection attacks, Cross-Site Scripting attacks, etc., as well as your php.ini file settings". I'm kind of beginner at this work, so I dont have fully control on thiese things...  my question is; is there any way to find out how I was hacked? What was the weak point?


How to track where destructor get called - C++

I'm wondering is there any predefined macro or something in C++ that could possible to trace back where the destructor is triggered?  It could be something like this:      class myClass{     myClass();     ~myClass();     };     myClass::~myClass(){         printf("Object destroyed in %s.\n", __TRACEBACKMACRO__);     }      int main(){     myClass tempClass;     return 0;     }   It should output something like this:      Object destroyed in main().   It's better to output the scope and namespace information as well.  Additional information: FUNCTION or func macro seems only work in functions not in structs and classes. . Any macros that work in struct and class?


Does the rich snippet have to be present visually on the published page?

I installed a Wordpress plugin "All In One Schema.org Rich Snippets." To show rich snippets in search results. When I publish items, it shows a rich snippet area below the article. Can I hide that area and Google will still show rich snippets? Thanks.


I am using JabRef and for some bibliography entries, it is reporting a clash  Use of \blx@bbl@verbadd@i doesn't match its definition. \verb   I have already studied this answer , but I could not figure out how to implement it with JabRef.  The entry in the .bbl file is like that   \entry{book:464554}{book}{} \name{author}{1}{}{%   {{hash=TSJ}{%      family={Taylor},      family_i={T\bibinitperiod},      given={Stephen\bibnamedelima J.},      given_i={S\bibinitperiod\bibinitdelim J\bibinitperiod},   }}% } \strng{namehash}{TSJ1} \strng{fullhash}{TSJ1} \field{labelnamesource}{author} \field{labeltitlesource}{title} \field{sortinit}{2} \field{sortinithash}{2} \field{edition}{2nd} \field{isbn}{9812770844,9789812770844,9789812770851} \field{title}{Modelling Financial Times Series} \verb{url} \verb  http://gen.lib.rus.ec/book/index.php?md5=E14E3D6D5388324EF252FBB2008797 \verb 83 \endverb \field{year}{2007} \endentry   And when I comment the lines "verb", the problem disappears. However I have to do it manually every time I change the JabRef file (.bib) and it updates the .bbl file.  \entry{book:464554}{book}{} \name{author}{1}{}{%   {{hash=TSJ}{%      family={Taylor},      family_i={T\bibinitperiod},      given={Stephen\bibnamedelima J.},      given_i={S\bibinitperiod\bibinitdelim J\bibinitperiod},   }}% } \strng{namehash}{TSJ1} \strng{fullhash}{TSJ1} \field{labelnamesource}{author} \field{labeltitlesource}{title} \field{sortinit}{2} \field{sortinithash}{2} \field{edition}{2nd} \field{isbn}{9812770844,9789812770844,9789812770851} \field{title}{Modelling Financial Times Series} %\verb{url} %\verb % http://gen.lib.rus.ec/book/index.php?md5=E14E3D6D5388324EF252FBB2008797 %\verb 83 %\endverb \field{year}{2007} \endentry   I am using  \usepackage[ backend=bibtex, style=alphabetic, sorting=ynt, style=numeric-comp ]{biblatex} \usepackage[nottoc,numbib]{tocbibind} \bibliography{motivacao.bib}   My guess would be the problem is associated with the      @Book entry in the .bib file, because maybe the field "url" should not be there?   As soon as I comment or remove the field from there (JabRef) it works perfectly.  Does anybody have a proper workaround besides deleting or commenting the fault lines?  Thanks!


Looking for a sci-fi dystopian story where the main characters are trained children

So I read a book back in school (2000s), didn't finish it for whatever reason, and have been unable to remember the name or anything outside of a few small details.  Note, it's not Ender's Game or The Giver.  The details I know are:   Main characters are boys aged 8-17ish. They're raised in a school/facility of sorts where everything adheres to a strict schedule. They sleep in 'pods' and have very little freedom. The main boys (I forget but I think there are 2-3) want to escape or to at least see the outside world. When they try to do so, the 'teacher' of sorts (as well as a security team) go after them. The teacher is an ex-soldier or special force unit, as when he gets hit in the face and his nose is broken, he is able to mentally move the pain around. As in, concentrate and move it from his broken nose to another part of his body to 'deal with later', so he can continue to chase after the boys.   That's all I have, but I would really appreciate any help! I've been looking for years. :(


The performance of an laptop can be affected by the battery and by the AC power adapter?

I have a laptop Dell Inspiron 5567 (Windows 10) and today when I open the laptop I receive that message: "Alert! The AC power adapter wattage and type cannot be determined. The battery may not charge. The system will adjust the performance to match the power available."  Until this day, the laptop started fast and every applications started fast. And the battery is charging. Now the battery not charge and the laptop and applications started slowly.  So, I have this questions:   The battery should be change? The AC power adapter should be change? The laptop performance is affected by the battery or/and the AC power adapter? And how can be fixed? If I change the battery or/and AC power adapter the performance laptop will increase (as when the laptop was new)?   Note 1: I looked for similar question and I not found something useful. Note 2: If you need another information about the laptop, write back.


Perform feature normalization before or within model validation?

A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things:   Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence.   We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance.  Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative?


Show that ${\boldsymbol v}_1$ and ${\boldsymbol v}_2$ are linearly independent

Show that if $r_1 \neq r_2$, the vectors (functions) $${\boldsymbol v}_1 = \exp(r_1t),\,\,\,\,\,\,{\boldsymbol v}_2 = \exp(r_2t)$$ are linearly independent in the space of continuous functions $-\infty<t<\infty$.  I know I need to show that $$c_1{\boldsymbol v}_1+c_2{\boldsymbol v}_2 = 0$$ is linearly independent if $c_1, c_2 = 0$ but I am not sure how to go about it.


Is integral extension of noetherian ring noetherian?

Let $A\to  B$ be integral morphism of commutative rings, and $A$ be noetherian ring. Can you provide an example that $B$ is not noetherian? How about integral extension $A\subset B$ (i.e. the morphism is monomorphism)?  I tried to make an counterexample using non-noetherian rings $k[x_1, \cdots ]$ or $\prod^\infty \mathbb{Z}/2\mathbb{Z}$, but I failed.


How to treat colon as a letter when selecting text in Terminal?

I would like to select file path including line number in it when double click the file name, .e.g: project/my_first_file.py:194: project/my_second_file.py:533:  When I double click on the first line the text project/my_first_file.py gets selected, I would like to select whole project/my_first_file.py:194: fragment when double clicking. I wonder, is there any config file which defines this behavior? Or can it be achieved by any other means?


Is sealed raw meat left out on counter for 3+ hours safe to cook and eat?

Left a lb of ground chuck, still sealed, out on the counter after coming home from buying groceries. It just slipped by me, everything else went into the freezer. It's been about 3 hrs and some change. Still good or should I suck it up and buy another lb? The store is kinda far and huge and a pain in the buns.   I understand that the toxins released by bacteria will still be present after being cooked, but it's still sealed so am I good?  Thanks!  It's one of those round cylindrical packages that are twisted off at the ends. It was not frozen when I bought it, just chilled.


What is the Blend file (1) that is generated automatically?

After I have been working on a project I notice that there is another file in the folder i.e. a blend1 file. This is the same size as the original blend file and doubles the amount of storage used. Is it just a duplicate of the original file or does it contain different but essential information?


What is the average distance between two random points inside a circle?

Assume you have a circle with some radius r. What is the average distance between two random points inside the circle?  (Edit: This is different from , because here the points are inside the circle area, not on the circle circumference.)


Is there a Windows Cortana voice equivalent in Linux?

I really like Windows Cortana voice or at least the idea of Cortana voice. I'm running ubuntu 16.04. Is there a voice assistant for ubuntu?


Can't we assign any other direction for instantaneous angular velocity except along the axis of rotation?

We specify the direction of instantaneous angular velocity using the right hand thumb rule. I just want to know that is it just a matter of convention or we don't have any other direction for it to be specified?


How can I create a Set of IDs from a list of sObjects?

To get a set of Ids from a list of Contacts for example, I could:   Query for the List of sObjects Create a map from my list using the constructor Use the map.KeySet() method to get my set.   Does anyone know of a more efficient design pattern?  I ultimately want a set to pass off to an @future method.


the door to my fridge isn't being rendered  this is it in modeling area    and this is it rendered    how do i get it to render the door


Definite integral containing 2 trig functions and a square root function

$$\int_{-\pi/4}^{\pi/4}\bigl(\cos x+ \sqrt {1+x^2}\sin^3x \cos^3x \bigr)\, dx $$  This question is from a math GRE practice test  I've tried to solve this integral for 2 days... starting to think it is a typo  The answer is $\sqrt2$   but I need to know how to solve with steps  Some useful trig identities and derivatives:  $$\frac{d}{dx} \sin^2x = 2\cos x \sin x$$  $$\frac{d}{dx} \tan^{-1}x = \frac{1}{1+x^2}$$  $$\sin^2x = \frac{1}{2} - \frac{1}{2} \cos 2x$$  $$\cos^2x = \frac{1}{2} + \frac{1}{2} \cos 2x$$  $$\sin 2x = 2\cos x \sin x$$


Is this (tricky) natural deduction with De Morgan's laws correct?

Just a practice question, however just wondering if this natural deduction  proof is correct? I have put brackets in 2.2 and not in 2.3 however this shouldn't make a difference?


Why is there no Single sign-on across Stack Exchange Sites?

I am logged into Stack Overflow using Chrome. But once I'm going to another Stack Exchange site, it asks to log in again.   Why? Is it possible to share authority?


Schema permission giving on all tables in Oracle

I am trying to give schema permissions on all tables in a single instance.   For example, I am in Schema A, and I need to access the tables in Schema A from Schema B.   I tried to grant select on A. * to B and I am getting an invalid table name.  Any idea why I'm getting this error?


What's the simplest (free) way to share a serial port over an ethernet link?

I have two computers and I'd like to access the serial port on one machine from the other. Is it possible to do this with free software and if so, what options do I have?  The sharing machine is running Windows XP And the client machine is running Windows 7 x64


I'm trying to rig a face and I made seperate objects for eyelashes, as the character is going to be stylized. Eyelashes are made using basic mesh with added subdivision -> shrinkwrap -> solidify  how can I make the eyelash mesh precisely follow the eyelid?  Any help is much appreciated.


How to show that $ I=\left(z_{ij}z_{i'j'}-z_{ij'}z_{i'j}\ |\ 0\leq i,i'\leq m,\ 0\leq j,j'\leq n\right)$ is radical?

Let $m,n\in\mathbb{Z}_{>0}$ and let $k[\textbf{z}]:=k[z_{ij}\ |\ 0\leq i\leq m,\ 0\leq j\leq n]$ be the polynomial in ring in the $(m+1)\times (n+1)$ free variables $z_{00},...,z_{mn}$. Consider the homogeneous ideal $$ I=\left(z_{ij}z_{i'j'}-z_{ij'}z_{i'j}\ |\ 0\leq i,i'\leq m,\ 0\leq j,j'\leq n\right). $$ Can one show by elementary means that $I$ is radical? I already know that the vanishing locus of $I$ is irreducible, so if $I$ is radical then it is automatically prime.


Not able to scroll down page using Selenium webdriver

I want to scroll down a page that is coming inside a form, not on the main page.   I tried this code:  JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,250)", "");     The above code is not able to pick the scroll bar as it is not in the main page


I open my world to LAN, and when my friend tries to join it says "connection timed out no further information" so how do we play? I have Wi-Fi so I don't know... So how do I play on LAN if it says that all the time? I tried getting off Minecraft and my whole laptop so please help.


I have installed Ubuntu 12.10 on my laptop, now i want to use Python 2.5.4 for educational purpose. Can any one help me with step by step instructions... I also need IDLE for 2.5.4.


Example of non-abelian group with element have all order p prime?

I am searching for an example of a non-abelian group $G$, s.t. all elements in $G$ have order $p$, where $p$ is a prime number. For $p=2$ such an example does not exist. How did I come up with such a question? If $G$ is abelian with the property above, we can define a $\mathbb{F}_p$-vector space structure on $G$. And my proof used that $G$ is a $\mathbb{Z}$-module. So the above question arose naturally.


proper use google webmaster tools URL Parameters

There are some urls like http://domain.com/user/:username and http://domain.com/post/:id on my website, the username and id is the parameter from database. I try to let google crawler more efficiently , can I use google webmaster tools > URL Parameters > add parameter ? I read the document but still don't get it how to set up? the column Parameter and the rest what should I filled? or this tools only for get method parameter?


How do I merge my local uncommitted changes into another Git branch?

How can I do the following in Git?  My current branch is branch1 and I have made some local changes. However, I now realize that I actually meant to be applying these changes to branch2. Is there a way to apply/merge these changes so that they become local changes on branch2 without committing them on branch1?