Are we really moving at the speed of light in the time dimension?

I have seen a vector explanation of time dilation that our net velocity in space-time is the speed of light. Most of that velocity for slow spatial speeds is in the time dimension.  As you go faster in a spatial dimension, your speed in the time dimension reduces, because the net vector magnitude remains constant but the angle changes.  Are we really for practical purposes traveling forward at the speed of light in time?


Emails going to spam - Gmail / Hotmail / Outlook?

Right, sorry if I come across a frustrated but I'm actually raged that I haven't got this sorted yet.  We moved to a dedicated server 2 months ago, from a shared server (which had no issues with emails), the moment we moved over, everything was configured but every single damn email went to junk - Ok, so I set up SPF records, DKIM etc and that seemed to fix the hotmail/outlook issue... GMAIL - horrid.  I've correctly configured reverse DNS, DMARC, DKIM, SPF records and emails are still going to gmail junk - I've tried contacting Gmail (approx 15 times now) using their bulk delivery contact form thing and had no response.  I'm literally at an end now, I'm confident everything is set up correctly as I've used several email testing services, checked blacklists and nothing - but no one can seem to figure out including myself why this is happening.  One thing that has changed is when we moved over to the dedicated server is the default hostname was provided by the host, I changed the hostname to our domain name and proceeded to point the DNS to the updated hostname, all looks well but the reverse dns still points to the default one, and theres literally no other setting i can change  Thanks for reading, hope you can help :)


Using "had" + past participle of verb in "simple past" style

I had paid my bill. I paid my bill.   I just want to make sure that the first sentence is correct. I understand that the second sentence is called simple past. If I use had as in the first sentence, is it still called past perfect tense? Or that is wrong English since there is no other action mentioned (e.g.: I had paid my bill before going home).  And with regards to the second sentence, is it correct to use simple past form like that even if no specific time was mentioned?  Thanks!


Removable singularities and an entire function

Function $f(z)$ is an entire function such that $$|f(z)| \le |z^{n}|$$ for $z \in \mathbb{C}$ and some $n \in \mathbb{N}$.  Show that the singularities of the function $$\frac {f(z)}{z^{n}}$$ are removable. What can be implied about the function $f(z)$ if moreover $f(1) = i$? Draw a far-reaching conclusion.  My attempt: If the singularities of $\frac {f(z)}{z^{n}}$ are removable, it is entire (not sure, need help with the justification) and bounded, so constant from Liouville's theorem, the constant value of the funcion is $i$, hence $f(z)=iz^{n}$.   But what about the $n$ here, is it arbitrary? Could somebody help me prove the removability of the singularities and suggest if my attempt is going the right way?


Is Java viable for serious game development?

I have scoured the internet, but there are not very many resources for Java game development, not nearly as many as C++. In fact, most engines are written in C++. I tried to play a game made with jMonkeyEngine, but the game was terribly slow, to the point where my computer froze. I had no other Java applications running, and nothing too resource intensive. In contrast, my computer can play most modern 3D games with ease. If I continue to learn and improve Java now, and it turns out that later I am required to learn C++, making the switch might be difficult.  Is Java an acceptable language for serious game development? By serious, I mean high quality graphics, without much lag on modern computers. I also want to consider making games for consoles.


Short story about 4 coloured beetle-like aliens in a terrarium

Story starts with a guy buying a terrarium with 4 groups of beetle-like insects brought and installed in his own house by an alien race. A different color each. Each tribe were supposed to start a kind of colony on its share of the terrarium and sooner or later they were supposed to fight small strategic wars between them. They also changed its shape as they developed stronger.  The owner, against recommendations, is not patient enough to wait and starts to force such fights. Things go terrible wrong and one of the groups, I think it was the weakest yellow colored ones, get out of the container and he kills them. And everything goes downhill after that, as the beetles hate him and he actually has to fight them when they get free.  The yellow ones actually fully developed far from the house to be exactly like the aliens. It's just that the aliens didn't considered them as their offspring because they were way very underdeveloped if kept inside the terrarium.


This question is two fold.  Firstly, if a phoenix is immortal, then how was it ever born in the first place? Does a phoenix lay eggs like other birds?   Secondly, there is not much information available about Fawkes' origins and early life, except that he was a wild Phoenix until he met Dumbledore.   Where and how did Dumbledore meet Fawkes? Why is it that he was able to form such a strong bond with Fawkes? I do not recollect anything about any other witch or wizard having a phoenix as a pet.


How can I change the language in Pokémon GO?

My game is currently in French, probably because my phone is in French.   I would like to change the language of Pokémon GO because I always played Pokémon in English and, as a result, I don't know the names of the Pokémon in French.  Is it possible for me to change the language of Pokemon GO to English? How can I achieve this?


looping through 2d list python won't change values properly

I am trying to loop through my list of lists, and change the values. I want this to print [['1','2'],['3','4']]. but it prints [['3','4'],['3','4']]. Can anyone please explain why this is happening? When I put a print statement, count increase for each iterations.   edit: it works if I manually create a list like [[0,0],[0,0]]. So what is the [[0]*2]*2 doing differently? They both look like 2d lists.  class Sudoku:     def __init__(self):         self.board=[[0]*2]*2  s=Sudoku() count=1 for i in range(2):    for j in range(2):        s.board[i][j]=count        count+=1 print(s.board)


Performance problems with 13.04 and virtualbox

I just installed Ubuntu 13.04 (daily, full updated) and installed Windows 8 in virtualbox.  When Windows 8 is running a have huge performance issues on Ubuntu. Last week I had the same setup with Ubuntu 12.04 (full updated) and I had no problem with the overall performance.   Where is the problem and how can I fix it?  PC:     ubuntu 13.04 x64   4 GiB RAM   4x3,1 Ghz Intel Sandybridge   On-board Graphics     VBOX:     Windows 8 x86   1 GiB RAM   1 CPU   Graphics memory 128MB   Guest-extension is installed   3D-Acceleration active


I have to Read footer of a file and store it into a arraylist in java

I have a GMF file. Its last 9 lines are to be considered as footer. The fast line of footer Starts with "Footer" and last line Ends with "End of file".  So far I have written this   while ((sCurrentLine = br.readLine()) != null ) {                     if(headcount<11)                     {                         HeaderArray.add(sCurrentLine);                         headcount++;                         System.out.println("Header["+headcount+"]");                         System.out.println("sCurrentLine"+sCurrentLine);                     }                     else if( headcount>10 &&(sCurrentLine.startsWith("Rerate"))) {                                   RecordsArray.add(sCurrentLine);                                 headcount++;                                 System.out.println("Records");                                 System.out.println("Record"+sCurrentLine);                      }                     else if(sCurrentLine.startsWith("Footer"))                     {                                while(footerFlag!="End_of_file:")                             {                                  FooterArray.add(sCurrentLine);                                 footerFlag=br.readLine();                                 sCurrentLine=footerFlag;                                 System.out.println("Footer");                                 System.out.println("Footer"+sCurrentLine);                               }                     }              }   But this code only goes into an infinite loop. I need all 9 lines of footers in FooterArray. Please help.


If $\gcd(a,b) =1$. Why does $\gcd(a+b,ab)=1$ ?  I know that if $\gcd(a,b)=1$ then there exists $u$ and $v$ where $au+bv=1$. But I can't seem to relate it to $a+b$ and $ab$.


So I have been messing around with this trying to make a simple calculator while also using methods. For some reason when checking if the string "func" is equal to "*" it skips and instead returns "Unknown" it also happens when imputing the other functions  package test; import java.util.Scanner;  public class test {      public static float num1;     public static String func;     public static float num2;     public static float awnser;  public static void main(String[] args) {      Scanner input = new Scanner(System.in);          System.out.println("Simple Calculator");             num1 = input.nextFloat();                 func = input.next();                 System.out.println(func); //Confirms func=="*"                     num2 = input.nextFloat();                         times();} public static void times() {      if(func=="*"){awnser=num1*num2;}      else if(func=="/"){awnser=num1/num2;System.out.println("The awnser is: "+awnser);}      else if(func=="+"){awnser=num1+num2;System.out.println("The awnser is: "+awnser);}      else if(func=="-"){awnser=num1-num2;System.out.println("The awnser is: "+awnser);}         else {System.out.println("Unknown");}}}   OUTPUT:   Simple Calculator 5 * * 5 Unknown


How do I parameterize a query containing an IN clause with a variable number of arguments, like this one?  SELECT * FROM Tags  WHERE Name IN ('ruby','rails','scruffy','rubyonrails') ORDER BY Count DESC   In this query, the number of arguments could be anywhere from 1 to 5.  I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some elegant way specific to , I am open to that.


How can I have Windows and Ubuntu on my computer?

I have Linux Mint on my computer and wondering how I can get Windows on here as well. I saw one saying to use Grub except I have no idea how to use it. Any ideas/suggestions?


Wlan0 interface disappeared after upgrade to Xubuntu 16.04

Since the upgrade from to Xubuntu 16.04 from Xubuntu 15.10 on a Lenovo Thinkpad Twist (S230u) with Broadcom wireless card the wlan0 device has disappeared. It is as though the physical device was inexistent. How can it be re-activated ?  During the last step of the upgrade process I clicked NO regarding the question whether I wanted to deactivate UEFI Secure Boot. (I don't know whether this is a useful information).  The system is currently up to date.   sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade   --> finish with 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  ifconfig   --> only lists eth0 and lo.  lspci   --> contains a line     "03:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n". But there is no mention of "wireless" or the like.  iwconfig   --> mentions eth0, wwan0, lo, each with no wireless extensions. Nothing else.   nmcli -f all device show    --> Same situation. GENERAL.DEVICE entries only for eth0, lo and cdc-wdm3 (which should be the mobile broadband device).  update-manager   --> mentions under Additional drivers : Broadcom Corporation BCM43228 802.11a/b/g/n - Using Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source (proprietary).  I tried the solution suggested by David Foerster. But the re-installation process finishes with an error. The situation remains as it is:  lspci -nn -d 14e4: sudo apt-get purge bcmwl-kernel-source sudo apt-get update sudo apt-get update-pciids sudo apt-get install bcmwl-kernel-source   The result is:  Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   bcmwl-kernel-source 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1 515 kB of archives. After this operation, 8 013 kB of additional disk space will be used. Selecting previously unselected package bcmwl-kernel-source. (Reading database ... 259730 files and directories currently installed.) Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-     0ubuntu8_amd64.deb ... Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ... Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ... Loading new bcmwl-6.30.223.248+bdcom DKMS files... First Installation: checking all kernels... Building only for 4.4.0-21-generic Building for architecture x86_64 Building initial module for 4.4.0-21-generic Done.  wl: Running module version sanity check.  - Original module    - No original module exists within this kernel  - Installation    - Installing to /lib/modules/4.4.0-21-generic/updates/dkms/  depmod....  DKMS: install completed. modprobe: ERROR: could not insert 'wl': Required key not available update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.122ubuntu8) ... update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic   Disabling validation via mokutil as described below didn't help either.


How to build a JSON string from a JSON object

I am trying to take a JSON object and build a JSON string but I'm not sure how to do it.  This is what I have so far that is giving me the correct output.  var execs = ''; $.each(window.ob.executives, function(idx, obj) {     execs = idx + ':' + obj.name; });   What I need is a string like this:  { 1: 'test1', 2: 'test2', 3: 'test3', 4: 'test4' }   Can someone show me how to build this string?  Also, you'll probably notice that I am using a window variable which I understand isn't good. If someone can tell me how to get the contents of this variable, which is in another function, that would be greatly appreciated.  EDIT: stringify won't give me what I need guys. Here is what I get with that:  [{"test1":"1","test2":"2"},{"test3":"3","test4":"4"}]


How to monitor the pid of each command in shell script?

In my situation, I have one shell script running rsync and tar in the background. Rsync is used to transfer files, and tar is doing compression after rsync is finished. My problem is how to monitor the pid of rsync, and tells tar command to start when the pid of rsync doesn't exists anymore.  The shell script may looks like this:  rsync data.log B/ & tar data.tar.gz B/data.log &


Can I spell queller a reduced-cost spell?

My opponent casts Starfield of Nyx with Herald of the Pantheon in play. Herald reduces the cost of Starfield by 1 to 4.  I cast Spell Queller.  Can I quell the Starfield as it's CMC has been reduced to 4 or is it still 5?


I have two tensors that i must calculate double dot product. matrix A is rank 2  and matrix B is rank 4. I want to multiply them with Matlab and I know in Matlab it becomes: A : B = trace (A*B) but it has one error and it says: Inner matrix dimensions must agree So how can I solve this problem? anybody help me? Thanks


New user to ubuntu and wanted to check upgrading via dedi seedbox

I am using Ubuntu 16.04.1 LTS on my seedbox dedi setup which has full root access, as I ssh into my system I now see a message with over 100 package updates can be updated none of them are security.  As I have moved from windows when the system needed to update it just done it, do I have to enter this command I read about to upgrade every time I want to? plus is sudo command only used for root systems?  sudo apt-get update && sudo apt-get upgrade


I am reading in a file, that contains data in this format on each line. 30304 Homer Simpson I need to be able to pass this to the following constructor, the integer being the regNo, the name the rest of the string, and every student would have their own map of marks.  Student::Student (string const& name, int regNo):Person(name) {     regNo = regNo;     map<string, float> marks;  }    I then have to add each student to a collection of students, which would be best, and how do I do this?  So far all I've got is getting the file name and checking it exists.  int main() {     //Get file names     string studentsFile, resultsFile, line;     cout << "Enter the Students file: ";     getline(cin, studentsFile);     cout << "Enter the results file: ";     getline(cin, resultsFile);      //Check for students file     ifstream students_stream(studentsFile);     if (!students_stream) {         cout << "Unable to open " << studentsFile << "\n";         return 1;     } }   I tried using getline with 3 arguments and " " as the delimiter but that would also split the name part of the string, so I'm not sure how to do this another way.


I'm trying to remember the name of a short story I read about 25 years ago or so. I'd also like to know of any collections it appeared in.   The details I recall involve a family who are embarking on a hyperspace journey. To undertake this journey you have to be put to sleep. One of the children pretends to be asleep, and when the jump is complete the child has gone insane. From the child's point of view the jump lasted for an eternity while in reality it was only a few seconds.


Find in a text all words that appear 10 or more times

I am given a txt file (war and peace..), and i need to create a text file sorted alphabetically of all the words that appear 10 or more times (without the quantity).  The twist in this question, is that every punctuation is considered as a beginning of a new word, meaning you're is considered two words, you re.  I flipped all punctuation into new lines, and all spaces to new lines. And i used trim -c so now i have all words and their count, don't know how to show only those that appear 10 or more times.  Any help regarding a way to find all words that appear 10 or more times would be really appreciated!


Is there any benefit to riders on the front of a paceline?

You can save a lot on air resistance by drafting a rider closely, i.e. riding close to their rear wheel.  What about the rider in front? Is there a benefit, a loss, or is there no difference?  Edit - is there any way or position ensuring front cannot feel any energy loss while you enjoy resting behind or speedup ?


Travel within Schengen with Titre de Sejour, but expired passport

I am a non-EU national, with a valid Titre de Sejour in France (which is a long-term residency visa).   My passport has expired and it takes time to update it. Can I travel (for one week) within the Schengen area with Titre de Sejour only, or perhaps together with an expired passport?  In this , it's stated that both a valid passport and a visa/residency-card is needed.


How to get only one vertically centered equation number in align environment with two equations

What I have are two equations with align and I want one single equation number to refer to this system of equations. To illustrate, I have  \begin{align}   dr_t &= \kappa ( \theta - r_t ) dt + \sigma_r r^{\xi} dW_t \\   dA_t &= \mu A_t dt + \sigma_A^{\alpha} dZ_t, \end{align}    and I want neither  \begin{align}   dr_t &= \kappa ( \theta - r_t ) dt + \sigma_r r^{\xi} dW_t \nonumber \\   dA_t &= \mu A_t dt + \sigma_A^{\alpha} dZ_t, \end{align}    nor   \begin{align}   dr_t &= \kappa ( \theta - r_t ) dt + \sigma_r r^{\xi} dW_t \\   dA_t &= \mu A_t dt + \sigma_A^{\alpha} dZ_t, \nonumber \end{align}     but having a single number in the middle. I know this can be achieved by nesting an array inside of an equation but then some symbols (sums, etc.) look differently and I thought there had to be a better way of doing this.


I am stuck with this one, have tried apt-get install -f, dpkg --configure -a and they both tell me about the same.   I have no held packages (dpkg -l|grep -i '^h' is empty). Where do I start to look?  # apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  compiz-plugins : Depends: compiz-core (= 1:0.9.13.1+17.10.20170901-0ubuntu1) but 1:0.9.12.2+16.04.20160823-0ubuntu1 is installed                   Depends: compiz-plugins-default (= 1:0.9.13.1+17.10.20170901-0ubuntu1) but 1:0.9.12.2+16.04.20160823-0ubuntu1 is installed  libcompizconfig0 : Depends: compiz-core (= 1:0.9.13.1+17.10.20170901-0ubuntu1) but 1:0.9.12.2+16.04.20160823-0ubuntu1 is installed  libgail-3-0 : Depends: libgtk-3-0 (= 3.22.25-0ubuntu0.1) but 3.18.9-1ubuntu3.3 is installed  libmetacity1 : Depends: metacity-common (= 1:3.26.0-1) but 1:3.18.7-0ubuntu0.3 is installed                 Depends: libgtk-3-0 (>= 3.20.0) but 3.18.9-1ubuntu3.3 is installed  metacity : Depends: metacity-common (= 1:3.26.0-1) but 1:3.18.7-0ubuntu0.3 is installed             Depends: libgtk-3-0 (>= 3.21.5) but 3.18.9-1ubuntu3.3 is installed  unity : Depends: libunity-core-6.0-9 (= 7.4.0+16.04.20160906-0ubuntu1) but 7.5.0+17.10.20171010-0ubuntu1 is installed E: Unmet dependencies. Try using -f.   EDIT: As one answer comments, there are some mixed versions. This is because I tried to do a dist-upgrade to get rid of the error earlier. Apparently it has changed the error, but I believed it to be the same error, and didn't find the dist-upgrade relevant. My bad. I'll look into remove those pkgs then.  EDIT2: I don't think this is an exact duplicate of the two mentioned, at least not on at level I can comprehend.  QUESTION ANSWERED: I think the answers froms user535733 and karel are the ones that helped me. I'm sorry I do no seem to be able to accept the answer officially - could that be because the question is marked as a duplicate? I will try to accept again later.  Anyway: I pegged my installation at 16.04 (apt-get install -t xenial) and went around disabling the 17.10 packages. But then I got lost, gave up and made a clean 17.10 installation. Thanks for your time :-)


How does drift velocity vary with temperature? Does it increase or decrease?


Prove that the product of the roots of $x^{\log_{2016}x}*\sqrt{2016}=x^{2016}$ is a Natural Number.  This is my solution:  by putting $log_{2016}$ on both sides we get: $\log^2{_{2016}}x-2016\log_{2016}x=-\log_{2016}\sqrt{2016}$  then by putting $\log_{2016}x$ in front of bracket on left side, then removing $\log_{2016}$ from both sides and squaring the equation, and $t=\log_{2016}x$ $t^2-4032t+2016^2-2016=0$  solving for $t_{1/2}$ we get: $x_1 = 2016^{12\left(168+\sqrt{14}\right)}$ $x_2 = 2016^{12\left(168-\sqrt{14}\right)}$ $x_1 * x_2 = 2016^{4032}$  Is my solution correct? (I think I might have a mistake because I haven't solved this type of problem before, and overall I just started practicing). And if correct is there a better/easier way to solve it?


On the votes tab in the profile show successful closed votes as "successful" not "deleted"

Background Within the voting tab of my profile any questions that I have voted to close which have then actually been closed are shown as deleted.  The related   has been marked  I shall argue that it should be changed; Proposal I propose that any close vote that ultimately leads to a closure be marked "successful" rather than "deleted" as whatever the internal processes the end user will see it that way Reasoning From a users perspective their vote has not been deleted; it is still shown under the closed question as "closed by Voter1, Voter2 ...." as such the vote is "successful" not "deleted", from a users point of view a deleted vote would be one that aged away or was invalidated in some other way.


I like to display php array in javascript, but in specific  element with id. below is my code which shows what I want to do.  <?php function ogolne_informacje(){      global $mypod;?>         <?php echo 'Pokój: '?><?php echo $mypod->display('room')."
";?>         <?php echo 'Email: '?><a href="mailto:<?php echo $mypod->display('user_email') ?>"><?php echo $mypod->display('user_email')."
";?>         <?php echo 'Telefon: '?><?php echo $mypod->display('phone')."
"; }?>    <?php $i =0; while ( $mypod->fetch() ) :{     ob_start();      ogolne_informacje();     $output[$i] = ob_get_clean();     $i++; } endwhile;?>

    How can I do that? Thanks!


Anyone have an extra apartment there?   This quote is from an English native speaker. Why "anyone have"?  This could be an elliptical question, but I'd expect native speakers to ask a question using an affirmative sentence as in:     Anyone knows what happened?   Here is the full quote:     Friends. Hi! Sitting here on a Friday night brainstorming honeymoon   options with David. Who has ideas?!? Where is a great place to visit   at the end of March? We have ideas all over the place. One option we   are thinking about Paris ... anyone have an extra apartment there?   If it is an elliptical question, what do you think is more common in everyday spoken English? Elliptical or questions in affirmative forms?  Edit:  Thanks to everyone for answering. I was looking for  when I came across this quote which serves as a real world example:     In Reply to: (Correcting omission) posted by R. Berg on February 25,   2003      : : : Anyone know the origin of the idiom or phrase "Throw the book at   em." I realize it means prosecute someone to the fullest extent of the   law, a law enforcement term, but does anyone really know where it came   from and when it first began being used?


How to deal with a pugnacious user who regularly answers incorrectly?

I have been regularly coming across a new user recently; let's call "him" Bob?  Bob is absolutely convinced of his correctness on every topic. So convinced that he answers questions using completely invalid syntax because he knows how to solve a similar problem.  Commenting on the answer and pointing out the flaws sometimes results in a constructive response but more regularly not. Any downvotes (I haven't) normally results in a semi-unconstructive comment about '"experts"' or a small lecture on how people shouldn't downvote answers where someone was trying to help and that people should learn some manners.  So far, this has degenerated once, with a different user, and the community expressed themselves by downvoting more than usual.  I obviously don't know the particulars of the banning algorithm but it seems unlikely that Bob will be answer banned. He currently has 73 answers, 6 with a positive score and 6 with a negative. Five have been accepted, one an answer with positive score, which means only 10 of Bob's answers have been considered "helpful". People seem to be more wary of downvoting answers than questions, so Bob has escaped the worst. A significant minority of answers I would normally downvote as they're just wrong, but I can't and won't do that.  I am becoming extremely wary of commenting that Bob's answers are incorrect as I can't be bothered to have an argument over it. When combined with the volume of incorrect answers this is detrimental to the site. If wrong answers keep getting posted that people are unwilling to downvote or comment that they are incorrect then they stay around. I can't flag the answers as  they're just technical inaccuracies.  Is there anything that an ordinary user can/should do in this situation? Bob is obviously acting in good faith and I don't think that he should be punished for doing so.  I am deliberately not posting Bob's identity as I'd rather Bob wasn't picked on.


Is using “they” in things like “John and Bob, they looked blah blah” an error, or is it ok?

Is the following sentence right the way it uses they after naming the two dogs?      Nap and Winkle, they looked at the hay and they didn't know what to do.


HTML symbol get converted to random characters in databse

I want to save HTML symbols in my database but they do get converted to random characters. I already have set every default character type to utf8_general_ci. When I do copy-paste the string in PHPmyAdmin into the table it is rendered as question marks.  what is happening copy "√∛∜(∑" into database colum gives output on website "???(?" send "√∛∜(∑∫π∠≤≥<>=≠≈≉≡≢⁰¹²³⁴⁵⁶⁷⁸⁹·⁺⁻⁼⁽⁾ⁿ" to databse is being saved as, and also being displayed on the website as:  "Ã¢ÂˆÂšÃ¢ÂˆÂ›Ã¢ÂˆÂœ(Ã¢ÂˆÂ‘Ã¢ÂˆÂ«ÃÂ€Ã¢ÂˆÂ Ã¢Â‰Â¤Ã¢Â‰Â¥<>=Ã¢Â‰Â Ã¢Â‰ÂˆÃ¢Â‰Â‰Ã¢Â‰Â¡Ã¢Â‰Â¢Ã¢ÂÂ°Ã‚Â¹Ã‚Â²Ã‚Â³Ã¢ÂÂ´Ã¢ÂÂµÃ¢ÂÂ¶Ã¢ÂÂ·Ã¢ÂÂ¸Ã¢ÂÂ¹Ã‚Â·Ã¢ÂÂºÃ¢ÂÂ»Ã¢ÂÂ¼Ã¢ÂÂ½Ã¢ÂÂ¾Ã¢ÂÂ¿"  Some additional information about the databse:  DEFAULT_CHARACTER_SET_NAME : utf8 DEFAULT_COLLATION_NAME : utf8_general_ci           Some additional information about the column:  Type : varchar(4096) Collation : utf8_general_ci  UPDATE:  By adding the following line to the submit file the symbols are put correctly into the database  $con -> set_charset('utf8mb4');


Can I add my family onto my existing US visa?

I have Valid US Visa and I Want to travel with my Family. How can I issue visa for my family to go with me using my own visa?


Link stylesheets up directories using .htaccess

How do I move up a directory using the <link> in HTML for my stylesheets to work while using htaccess? My directories are as: index.php .htaccess css/     styles.css php/    login.php  In my htaccess, it contains: RewriteRule ^login/?$ php/login.php [L,QSA,NC]  Now, the stylesheets work when I copy the css folder to inside my php. They work with href="css/styles.css". I don't want that. I want to move up and out of the php directory to the css folder in my root directory. But the stylesheets won't show when the href="../css/styles.css". How do I move up a directory to use my stylesheet in the root css folder with htaccess? EDIT: I have tried using the <base href="/" />, but that prevents the stylesheets from loading on both /login/ and /login.php. login.php: <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script src="../js/system.js"></script> <link href="../css/styles.css" rel="stylesheet" />  .htaccess: ErrorDocument 404 http://localhost/Sites/OrderFresh/html/error404.html RewriteEngine On RewriteRule ^login/?$ php/userconnect.php [L,QSA,NC] <Files .htaccess> order allow,deny deny from all </Files>


See all my questions across all Stack Exchange sites?

Is there a way for me to see all my questions across all Stack Exchange sites?  If not, how about just to see which sites I have subscribed to?


I'd like to see the SE term "unupvote" be changed to an actual word.  This may seem like petty pedantry, .  Let's at least make things make sense.  Some suggestions:   undo un-upvote upvote undo


Removing an object from array of arraylist

I have a array of ArrayList as defined below.  List<ArrayList<String>> reverseRange = new ArrayList<ArrayList<String>>();   and I set it to:  [[a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i], [a, b, c, d, e, f, g, h, i]]   by:  for (int i = 0; i < naive.size(); i++) { reverseRange.add(A); }   where A = [b, c, d, e, f, g, h, i]  I want to delete an object from specific list. Like:  reverseRange.get(0).remove("a");   but when I do that, it removes "a" from all lists and the result becomes:  [[b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i], [b, c, d, e, f, g, h, i]]   What I am doing wrong?


In the following code, I want the two columns to start on the same line. It seems like there is a linebreak on the right side. Any ideas how to fix it? I guess this is an easy piece for the CSS-gurus here.  And how to make the right column be 100% in height of the parent div. I tried setting it to 100%, but then the border exceeds the border line of the div.  The code:

Information

Headline

test

test

   Screenshot:


Most concise way to initialize a C# hashtable

Does C# allow hashtables to be populated in one-line expressions? I am thinking of something equivalent to the below Python:  mydict = {"a": 23, "b": 45, "c": 67, "d": 89}   In other words, is there an alternative to setting each key-value pair in a separate expression?


When I click preview, when asking a question, the app crashes.  I've tried on multiple sites but crashes on all.  Version 0.1.25


DGS-1005A switch question - which site to go?

I've got a question on getting 1 Gbit/s on my D-Link DGS-1005A. I managed to test getting 1 Gbit/s (>700 Mbit/s) connections on my PC, but now it's stuck at 100 Mbit/s. Fiddling with my Ethernet controller doesn't give me a 1000 Mbit/s full duplex mode, previously set to auto-negotiation. So where do I go for this? I've already checked  for the list, but I don't see something for home users ( is business teams).


How to restart networking? eth0 RJ45 does not connect after sleep mode in Xubuntu 12.04

After I sleep down my notebook (Xubuntu 12.04) and wake up, my network setting goes often corrupted and does not work. Only solution seems to be restart.  Connecting and disconnecting in network manager or sudo ifconfig eth0 down and later up does not help.  Sometimes the RJ45 connector is blinking, sometimes not even that. Occasionally other network cards (Wifi) gets jammed similarly, but I do not use them so often and I do not know if this is the same problem.   I'm running a virtualbox Windows 7 bridged to both network interfaces, do not know if there is some glue to that problem.    Is there a way how to completely init the network module in case this happen?   Edit: Using the responses bellow I have discovered, that nothing from sudo service networking restart or /etc/init.d/networking restart helped to bring the network card alive, once it gets "dead". Sometimes, the card is not even blinking like it would be disabled. Sometimes card is blinking, but no response, no IP address is assigned. Only solution is to switch notebook off and on again. Could it be a hardware problem? I have little comparison with dual-booted Windows, but it happens so rarely, that I had no opportunity to observe it on different OS.


How can I automatically determine fonts used in an image or PDF?

How is it possible to determine the fonts used by text in PDF and TIFF files?


If there is a length which no object can breach in terms of the smallest of size, how can that length hold true? Our earth is undoubtedly considered the Planck length to some monolithic planet out there (relatively speaking of course), yet a number was derived stating the smallest possible space occupied? I'm not saying this theory is wrong, I would just like it explained to me.


How do I programmatically get the field type of a specific field?

I'm able to get a list of the field types with the following code.  $defs = \Drupal::service('plugin.manager.field.field_type')->getDefinitions();   I want to get the field type of a specific field. How do I get it?  For example, I'd like to check if the field type of field_image is _image. Is there code similar to the following one?  $fieldType = \Drupal::service('plugin.manager.field.field_type')->getDefinition('field_image');


How to remove ubuntu after Wubi installation

i installed ubuntu through Wubi. Now I want  to remove ubuntu.  please help by step by step instructions.  Thanks


Domain Used in the past will affect Current SEO Project

I am doing SEO of an domain, the domain is 16 years old and used by same person for multiple businesses in the past. Currently it is using for a business from last 5 years. The company is in the field of Training and certification for IT professionals. The businesses attached with the domain in the past will affect the current SEO project?


Ubuntu 13.10 32-bit, Crossover error, installation

I just tried to install Crossover (Codeweavers) via the Ubuntu Software Center in Ubuntu 13.10 32-bit, but it didn't finish the installation. It just got stuck at about 90% (progress bar). After waiting approximately one hour, nothing happened. The installation was stuck, so I decided to restart the computer.   The issue now is: Every time I try to reinstall Crossover via Software-Center, Ubuntu gives me a message box with the following error message:   Package dependencies can not be resolved  This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time. The following packages have unmet dependencies crossover-trial: Depends: crossover-trial-bin (= 12.5.0-0ubuntu1 but 12.5.0-0ubuntu1 is not going to be installed)   Any ideas about how to fix it?


Proving the two given vectors are orthogonal

I am given the vectors $\mathbf{w}, \mathbf{v}, \mathbf{u}$ in $\mathbb{R}^n$ such that $\mathbf{u} \neq 0$ and $\mathbf{w} = \mathbf{v} - \frac{\mathbf{u}\,\bullet\,\mathbf{v}}{\|\mathbf{u}\|^2}\bullet\mathbf{u}$. I am asked to show that the vector $\mathbf{w}$ is orthogonal to $\mathbf{u}$.     So far, I have written out the definition of orthogonal: two vectors are orthogonal if and only if their dot product is zero.   So what we need to prove is $\mathbf{w}\bullet\mathbf{u} = 0$ where $\mathbf{w}\bullet\mathbf{u}$ is defined as $\mathbf{w}^T\bullet\mathbf{u}$.   However, I have been stuck on this problem for about an hour and haven't made any significant progress from here. How do we go about proving that the vectors are orthogonal?


JSON De-serialization Issue Illegal Value for primitive

I'm running a REST API which is returning the below:  "id" : "fdgsdgsdsdgsdg",    "pageevents" : [ {        "name" : "test",        "number" : "0123442",        "homepage" : "www.test.com"     } ],     "goals" : [ {        "name" : "test",        "number" : "0123442",        "homepage" : "www.test.com"     } ] } ]   Im using the below code to de-serialize it, so i can display it as a pageblocktable on a visualforce page however im getting the error :      System.JSONException: Illegal value for primitive   public List<maMoments> getMomentsActivity() {     Id contactId;     if (contactId == null) {         contactId = '0030O00001sqXJr';     }      String contactIdString = String.valueOf(contactId);     String jsonResponse = this.AutomationDetailsMoments(contactIdString);     system.debug(jsonResponse);     List<maMoments> mAutomation = (List<maMoments>) JSON.deserialize(jsonResponse, List<maMoments>.class);     system.debug(mAutomation);     for(maMoments emailStructure : mAutomation){      }      return mAutomation; }  public string AutomationDetailsMoments(String contactId) {     contactId = '0030O00001sqXJr';     Http h = new Http();     HttpRequest req = new HttpRequest();     req.setEndpoint('https://virtserver.swaggerhub.com/mickjdavies/Example/1.0.0/interestingmoments');     req.setMethod('POST');     req.setBody(contactId);      // Send the request, and return a response     HttpResponse res = h.send(req);     system.debug(res.getBody());     return res.getBody(); }  private class maMoments {     public String contactId;     public String id;     public List<String> goals;     public String name;     public String homepage;     public String phone; }


How to prove that a complex number is not a root of unity?

$\frac35+i\frac45$ is not a root of unity though its absolute value is $1$.   Suppose I don't have a calculator to calculate out its argument then how do I prove it?  Is there any approach from abstract algebra or can it be done simply using complex numbers?  Any help will be truly appreciated.


How does PCA improve the accuracy of a predictive model?

I've seen in a  someone who used  before decision tree or other techniques.  I thought it was just for compressing data but he aimed to improve his score.  How can PCA improve score in this case ? Is it because there is less overfitting ?


Near-universally applicable alternative to "sanity check"

The phrase "sanity check" is  as it implies that there is something wrong with people who have mental illnesses and the word "sanity" has been used to discriminate against such people.  Therefore, it should should be avoided.  What is a better alternative in the context of software?  Example usage:     _: if this is not what it should be, we have memory corruption (a fatal   error) and should terminate the program.


`test` and `[` - different binaries, any difference?

I noticed while answering another question that test and [ are different binaries, but the [ manpage pulls up test's. Besides the requirement for an ending ], is there any difference?  If not, why are they separate binaries instead of being symlinked? (They are also bash builtins, and bash doesn't show a difference either.)


Why did Draco want to be friends with Harry?

Or think Harry would want to be friends with him? 'My name is Draco Malfoy. I am a racist, I despise gingers and mudbloods, I hate Gryffindor house, and my parents work for the man who killed your parents. Do you want to be my friend?'  I mean WHY Harry??


Do they require Schengen transit visa at Istanbul airport to give me my boarding pass?

I want to travel from Istanbul to Canada using Turkish Airlines. I have an Iranian passport and student visa for Canada. From what I've heard, I don't need a transit visa for my layovers but it seems Turkish Airlines might check for one. Will they?


Can I alt-tab out of Minecraft without the game auto-pausing?

Is there a way to alt-tab out of Minecraft (i.e. make Minecraft lose focus) without the game auto-pausing and without having to bring a menu (e.g. inventory) up first?


Android-Kotlin : BitmapFactory gives nullpointer exception

this is my code    private fun initDesign(imageList: List<ImageList>) {         //Initialize with empty data          for (i in 0 until imageList.size) {              val imageDataBytes = imageList.get(i).image             val iD = Integer.parseInt(imageList.get(i).imageIndex)             val  imageAsBytes : ByteArray  = Base64.decode(imageDataBytes,0)             bitmaps !!.add(BitmapFactory.decodeByteArray(imageAsBytes, 0, imageAsBytes.size))             imageID!!.add(iD)         } }   what was the wrong with this code


A Hyperlink to Table of Contents on Every Page

While I write a draft, I would like to:  Have a hyperlink, say on the very right lower corner of every page's margin, with some symbol (e.g. a visible large red asterisk). Have this hyperlink to bring me back to the table of contents when I click it.  I assume this type of customization is probably more common in the beamer class. In presentations, presenter goes back and forth, say between the current slide and appendix. How would I do this in Article class? I am a newbie, so please help! Thank you in advance...!


Type of visa to apply to attend a conference in the UK

I am from Nepal and confused about the type of visa to apply to visit London, UK for a conference of three days. I have the letter of sponsorship.


Footer is gone when `tcblisting` contains `\pause`

I'm trying to prettyprint a beamer slide with \pause in it using the tcblisting environment. It shows the listing first and then the compiled result. The problem is that the page footer is gone for the first frame (displayed before the \pause).  The MWE is the following:  \documentclass{beamer} \usetheme{CambridgeUS} \usepackage[listings]{tcolorbox} \begin{document} \begin{frame}[fragile] \frametitle{Pause in a listing} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black} \begin{itemize}   \item The first item   \pause \item The second item \end{itemize} \end{tcblisting} \end{frame} \end{document   Is there a way of getting the footer back? Or may be I'm doing something wrong here? The working \pause is a desirable outcome.  Here are the first and the second PDF pages that come from this example:


How can I remove the workspace switcher indicator in GNOME shell on Ubuntu 18.04?

I want to remove this annoying workspace switch indicator:    I usually use the multiple workspaces to switch quickly and work more efficiently, but this icon doesn't even fade after a few good annoying seconds.


downloaded "thunderbird" and "firefox for developers", problem in installation

I just downloaded the latest version of Mozilla Firefox For Developers and Thunderbird Mail, from the mozilla's official site...  Both are .tar.bz2 files, I just clicked on it, but they are not executing.  Tried a lot of the other resources, tried the methods mentioned in the best questions on askubuntu.com too, but couldn't installed it.  How can you I install them, if anyone can tell me the correct way please.  Thanks in advance.


Why is this method not executing the other methods in this section of code?

I have run the code multiple times in multiple scenarios and have gotten the same result. What it is supposed to do is move right, and when it hits the point it is supposed to turn, it turns. Instead, it gives me the error dialog box I instructed it to give when it hits something unidentified. It seems to be skipping the part of the code that tells it to execute a separate method. I have three other methods like this that do the same thing in different directions.  To detail how the situation works. I start the game and it loads  the level with the player in it. I use some form of input that executes the code below. The character moves right, but then refuses to move even though the level says it should.  EDIT: I have amended the code to use .equals() instead of ==. I found that the problem actually arose with me forgetting how java does it's x and y axis. I thank those who fixed my flaw in coding though, it was really helpful.  public static void moveRight(){     move = true;     while(move == true){         Point character = load.getCharacter();         Point space = character;         space.x += 20;         String name = load.getSpace(space);         System.out.println(name);         if(name.equals("empty")){             load.setCharacter(space);         }else if(name.equals("fTurnUp")){             load.setCharacter(space);             move = false;             moveUp();         }else if(name.equals("fTurnDown")){             load.setCharacter(space);             move = false;             moveDown();         }else if(name.equals("fTurnLeft")){             load.setCharacter(space);             move = false;             moveLeft();         }else if(name.equals("fTurnRight")){             load.setCharacter(space);             move = false;             moveRight();         }else if(name.equals("turn")){             load.setCharacter(space);             move = false;         }else if(name.equals("finish")){             load.setCharacter(space);             move = false;             Component frame = null;             JOptionPane.showMessageDialog(frame,                     "Congratulations! You have completed the level.",                     "Level Completed",                     JOptionPane.PLAIN_MESSAGE);         }else if(name.equals("wall")){             move = false;             Component frame = null;             JOptionPane.showMessageDialog(frame,                     "The level was not designed correctly. Click 'Ok' to return to main menu",                     "Invalid Level",                     JOptionPane.ERROR_MESSAGE);         }     } }


Prove that any Hermitian Matrix is a real linear combination of Pauli operators

This is an important result in Quantum Computing because it means that the Hamiltonian of a Quantum System can be encoded as a sequence of real numbers and their corresponding Pauli Operator. How do we prove this result? (Note I am assuming that the Hermitian is of size $2^n \times 2^n$, and so by Pauli Operator I mean n-fold tensor products of the 2x2 Pauli Matrices)


Why is $\gcd(X^n - 1, nX^{n-1}) = 1$ in a field $K$ of characteristic $0$ or characteristic $p \nmid n$.  Most book on abstract algebra don't prove explicitly this, but I wonder what technique I should use to prove this to be formal. Perhaps induction?


Why is space a vacuum ? Why is space free from air molecules ?   I heard that even space has a small but finite number of molecules. If so, won't there be a drag in space?


Does one translate a word or phrase into another language or to another language? For example:   Translate the following phrase to Spanish. Translate the following phrase into Spanish.


I have a problem when i hit final preview I see leaks outside of the map idk,maybe i set something wrong   here is the file: I am a noob so don't judge hard ....


"All, but her, " vs. "All, but she, had"

All, but her, had made an attempt.   All, but she, had made an attempt.      If all is the subject of the sentence, should I use a subject or object in the parenthesis statement? Why?  Is this correct way to punctuate my statement?  According to the website, , the correct answer is All, but she,         I have searched for an answer in these two questions, but they did not help me.


Weibull distribution parameters $k$ and $c$ for wind speed data

Hi can the same be shown to obtain shape and scale parameter for modified maximum likelihood method


SIM card for weekend stay in Italy, mostly for internet access

I will travel to Italy in one month (to Venice) and I would like to buy a SIM card so that I can access internet during my weekend stay. What options are available and which ones do you recommend? I have an iPhone 5S and my home operator is Vodafone.


How can I invoke method from passing string?

I have two methods.  void test1(Object o1, AnotherObject o2) {     call("test1(o1, o2)"); }  void test2(MyObject 01, MyAnotherObject o2, MyNextObject 03) {     call("test2(o1, o2, o3)"); }   I want to invoke these methods with same parameters from another method. For example,  void call(String functionStr) {     // invoke method via functionStr     // if for test1, invoke -> test1(o1, o2);     // if for test2, invoke -> test2(o1, o2, o3); }  void main() {     call("test1(o1, o2)");     call("test2(o1, o2, o3)"); }   Please help me how I can call these functions from passed string?  Thanks in advance.


What are the helper functions available in javascript to copy all properties from an object to another?

What are the helper functions available in javascript to copy all properties from one object to another?   I believe we can copy all properties from one object to another by using simply a "for" loop.   But are there any other methods available which we can just chain to an object and achieve the goal?


The gauge of a wire vs electrical resistance

For my experiment, I set up a series circuit. I had to use 3 different gauges of copper wires and test them against electrical resistances. My results were:  $$ \begin{array}{rccc} \text{12-gauge wire:} & 0.04 \, \mathrm{A} & 0.004 \, \mathrm{V} & 0.025\, \Omega \\  \text{8-gauge wire:} & 0.04 \, \mathrm{A} & 0.003 \, \mathrm{V} & 0.075\, \Omega \\  \text{4-gauge wire:} & 0.04 \, \mathrm{A} & 0.001 \, \mathrm{V} & 0.1\phantom{00}\, \Omega \\ \end{array} $$  I have to fill out this table:   But I'm not sure how to fill out the average and standard deviation part, nor if i filled out the independent and dependent variable part out right.


After I updated my my ubuntu 16.04 yesterday I have not been able to turn on my bluetooth. So I went ahead and searched the net and tried to turn it on (the icon was also missing from the menu bar).  I have tried this   sudo apt-get install blueman bluez:i386 bluetooth   I have also tried this   sudo /etc/init.d/bluetooth start   and this too   gksudo gedit /etc/rc.local    and I have pasted this rfkill unblock bluetooth before exit 0.  Somehow I managed to get the bluetooth icon but I am still not able to turn on my bluetooth.  Here is the output of lspci  00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI  (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U       Integrated Graphics (rev 09) 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller   (rev 09) 00:04.0 Signal processing controller: Intel Corporation Broadwell-U  Camarillo Device (rev 09) 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP   MEI Controller #1 (rev 03) 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) 00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3) 00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3) 00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3) 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03) 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) 00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03) 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.  RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07) 0d:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff) 13:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)   Please help me.  EDIT :  output of lspci -nnk | grep -A2 Network  Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a] Kernel driver in use: wl


I have a number of time series which are derived of same underlying data. However, the data in each comes from a different source, so they may be slightly lagged or differently enriched but essentially representing the same underlying data.  Is it possible to find out if there is one of these series that is odd and severely delayed or out of line?  As an example, imagine you subscribing to market data for the same stock from 5 different providers and trying to find out which is running slow in a dynamic way. However, stock prices are very deterministic so that makes the problem slightly simplified. In my case I am working on data that doesn't have a single source to check.


After upgrade Ubuntu starts into black screen

I have Ubuntu 14.04 and a XFX Radeon HD 7970.  My system was running fine but after the last upgrade (26 September 2014), I'm not able to restart. The system is loading (I can see part of a Teamviewer window which is a program opening at the start of the system).   The rest of the screen is black and I have a cross cursor. I have access to the command line with Ctrl+Alt+F1.  Any suggestion?


What do you call it when a baby raises his/her lower lip when he/she is about to cry?

Is there a word for this action? The action could lead to a full on crying or not.


Incorrect Typesetting while referencing to a table

I would like to make reference of a table that I have introduced before. However, after I try to typeset the first time, I have double question marks like this table ??.     I know that I need to typeset twice to get a correct reference. But the thing is that sometimes I get double question marks for the first typesetting but often times I get a blank, like this: table in the first typesetting.  No matter what I get in the first time, I will always get a blank after the second typesetting. My pdf looks like this: table and figure 1 show that...  What also confuses me is that I reference a figure right after my reference to the table but everything works fine as it is shown above. I have searched similar questions but I do not have similar preamble as the other guy did. Also I put my label before the caption for my table, which should not be a trouble here. So could any body helps me with this issue?  My code:  \begin{figure}[H] \centering \includegraphics[height=4in]{/Users/Desktop/Differentpandn.png} \caption[]{Distributions of different sample sizes and proportions}  \label{fig:different n and p} \end{figure}  \begin{table}[H] \centering \begin{tabular}{c c c c c} \multicolumn{5}{c}{\textbf{The Normal Distribution of Different p and n}}\\ \hline %The table is omitted for convenience \end{tabular}    \label{tab:Table of different proportions and sizes} \caption{Center, Shape and Center of different distributions} \end{table}  From the table \ref{tab:Table of different proportions and sizes}  and figure \ref{fig:different n and p}    My preamble:  \usepackage[margin = 1 in, includefoot]{geometry} \usepackage{graphicx} \usepackage{float} \usepackage[hidelinks]{hyperref} \usepackage[shortlabels]{enumitem} \usepackage{amsmath}


HP pavilion x360 "11 Realtek RTL8723BE weak wifi signal

I installed Ubuntu 17.10.1 on my HP Pavilion x360 convertible, and my wi-fi connection was very weak.  I tried to install this driver from GitHub called rock.new_btcoex, but it didn't work.  What else can I try?


Can't reply the old fashioned way in comments bug/feature where unambiguous

This is by design.    "It's not a bug, it's a feature."  What it is is a lack of interactive feedback.  Now that there's this , the comments text box no longer hovers the user's name as an option for auto-fill and tab-completion.  This is jarring for the users who were already accustomed to using @ every time, not just in ambiguous cases.  For example, replying to a user Bob who doesn't believe how it is would be as follows:     @BTab Yes, that's right. This is essentially what happens in the general case.   What happens now is as follows:     @BTab The cursor is no longer in the comment field. Expecting to be writing text and hitting backspace at any point will change go one page back in the browser. Nothing will be entered and only terrible things can happen.   A solution  Give us a placebo. Give us the same exact functionality with the @ in both the ambiguous and the obvious cases, auto-fill with tab-completion of names, the full shebang. Filter it out however you want once the comment is posted, but let us do the whole song and dance so that things don't break when they don't have to.


Interesting effect. From where to start?

Greetings, I've recently came across this poster and would like to learn how the background effect was achieved, can you please suggest tips in order to start moving on.


We have a client who is FINALLY convinced to convert their site / web-based application to responsive.  Our biggest issue right now is how to handle their extensive data tables.  The biggest offender is the results page (they provide results data for sporting events around the world).  Columns include: Country, name, class, event, category, score / result, region, discipline (maybe more).    Our first idea was to just switch to content blocks on mobile and move the labels in front of or on top of their pertaining data.  Is there a better way?  Go easy on me. I'm just a designer trying to solve a UX issue! :D . I don't speak code.  Thanks!


Upgrading Linux Kernel 3.11 to 3.13 for Ubuntu 14.04

When I upgraded to Ubuntu 14.04, apparently my kernel was supposed to upgrade from 3.11 to 3.13. Unfortunately, the kernel upgrade did not complete. As a result, I have several files for 3.13, but am still running 3.11. I've decided the best thing for me to do is to complete the kernel upgrade.  Specifically, when I look at the linux packages I have installed, I see:  me@Bedrock1:~/Downloads/cudaDownloads$ dpkg -l | grep "linux-" | cut -d " " -f 3 gcc-4.8-powerpc-linux-gnu-base linux-firmware linux-headers-3.13.0-29 linux-headers-3.13.0-29-generic linux-headers-3.13.0-30 linux-headers-3.13.0-30-generic linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-headers-3.13.0-34 linux-headers-3.13.0-34-generic linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic linux-headers-generic linux-image-3.11.0-23-generic linux-image-3.8.0-33-generic linux-image-extra-3.11.0-23-generic linux-image-extra-3.8.0-33-generic linux-libc-dev:amd64 linux-sound-base linux-source linux-source-3.13.0 syslinux-common syslinux-legacy  and, when I look in my boot directory, I see:  me@Bedrock1:~$ ls /boot abi-3.11.0-23-generic         memtest86+.bin abi-3.8.0-33-generic          memtest86+.elf config-3.11.0-23-generic      memtest86+_multiboot.bin config-3.8.0-33-generic       System.map-3.11.0-23-generic grub                          System.map-3.8.0-33-generic initrd.img-3.11.0-23-generic  vmlinuz-3.11.0-23-generic initrd.img-3.8.0-33-generic   vmlinuz-3.8.0-33-generic    It looks as though I can use apt-get/synaptic to install linux-image-3.13 and linux-image-extra-3.13, but I can't find downloads for any of the files in my /boot directory. Is there something obvious I'm missing here?  Should I expect installation of the correct packages to update GRUB files as necessary, or will I need to read up on that before I start booting into the 3.13 kernel?  Are there any other files I should be checking for?  Is there an obvious reason why my kernel didn't manage to update completely to 3.13? If so, do I need to compensate for it?


Detect when player attacks another player

I would like to detect when a player attacks/hits/hurts another player or entity. I have tried to use the AttackTime tag, but it doesn't work. Here is what I have tried (on a 20HZ clock):  First command block:   scoreboard players set @a Attack 0 {AttackTime:0s}   Second command block:  scoreboard players set @a Attack 1 {AttackTime:1s}   Third command block:  tellraw @a[score_Attack_min=1] "Nice shot!"


Calculate posterior distribution (gamma-prior, poisson-likelihood)

I want to calculate the posterior distribution given a gamma-prior and a poisson likelihood. The task is from a textbook and I just have the solutions (without a walkthrough). Please find all given information in the following:  Given information:  $m$ countries each with a population of $n_i$; $y_i$ is the number of people having a disease; $y_i$ is a poisson random variable with mean $\frac{n_i*\lambda}{100}$  The prior distribution for $\lambda$: $\lambda \sim Gamma(a_0,b_0)$  Task:  Show that the posterior distribution is also a gamma distribution with $a_m = a_0 + \sum_{i = 1}^{m}y_i$ and $b_m = b_0 + \sum_{i = 1}^{m} \frac{n_i}{100}$  My solution:  $Posterior \propto Likelihood \times Prior$  $p(\theta|y) \propto \prod_{i=1}^{m}(\theta^{y_i}e^{-\theta})\times \theta^{a_0-1}e^{-b_0\theta}$  $p(\theta|y) \propto \theta^{\sum_{i = 1}^{m}y_i}e^{-m\theta}\times \theta^{a_0-1}e^{-b_0\theta}$  $p(\theta|y) \propto \theta^{\sum_{i = 1}^{m}y_i+a_0-1}e^{-\theta(m+b_0)}$  $a_m = a_0 + \sum_{i = 1}^{m}y_i$  $b_m = b_0 + m \neq b_0 + \sum_{i = 1}^{m} \frac{n_i}{100}$  I think I am doing a mistake, because I don't know how to incorporate the information that the mean of $y_i$ is given as $\frac{n_i*\lambda}{100}$. Or do I just have to transform $b_m$ somehow? Can someone may give me a hint?   Thank you already in advance!  Edit 1: Considering first advices  $Likelihood: p(y | \theta) \propto \prod_{i=1}^{m}(\frac{n_i\lambda}{100})^{y_i}e^{-\frac{n_i\lambda}{100}}$  $\propto \prod_{i = 1}^{m} ((\frac{n_i}{100})^{y_i})\lambda^{\sum_{i=1}^{m}y_i}e^{-\lambda\sum_{i=1}^{m}\frac{n_i}{100}}$  $\propto \lambda^{\sum_{i=1}^{m}y_i}e^{-\lambda\sum_{i=1}^{m}\frac{n_i}{100}}$  Is the transformation of $\prod_{i=1}^{m}$ I did from the first to the second step correct?


At runtime, find all classes in a Java application that extend a base class

I want to do something like this:  List<Animal> animals = new ArrayList<Animal>();  for( Class c: list_of_all_classes_available_to_my_app() )    if (c is Animal)       animals.add( new c() );   So, I want to look at all of the classes in my application's universe, and when I find one that descends from Animal, I want to create a new object of that type and add it to the list.  This allows me to add functionality without having to update a list of things.  I can avoid the following:  List<Animal> animals = new ArrayList<Animal>(); animals.add( new Dog() ); animals.add( new Cat() ); animals.add( new Donkey() ); ...   With the above approach, I can simply create a new class that extends Animal and it'll get picked up automatically.  UPDATE: 10/16/2008 9:00 a.m. Pacific Standard Time:  This question has generated a lot of great responses -- thank you.  From the responses and my research, I've found that what I really want to do is just not possible under Java.  There are approaches, such as ddimitrov's ServiceLoader mechanism that can work -- but they are very heavy for what I want, and I believe I simply move the problem from Java code to an external configuration file. Update 5/10/19 (11 years later!) There are now several libraries that can help with this according to @IvanNik's   looks good. Also  from @Luke Hutchison's  looks interesting. There are several more possibilities in the answers as well.  Another way to state what I want: a static function in my Animal class finds and instantiates all classes that inherit from Animal -- without any further configuration/coding.  If I have to configure, I might as well just instantiate them in the Animal class anyway.  I understand that because a Java program is just a loose federation of .class files that that's just the way it is.  Interestingly, it seems this is  in C#.


Show that $ 2^{\mathbb{N}}$ is uncountable

I want to show that $\mid 2^{\mathbb{N}} \mid \neq \mid \mathbb{N} \mid$. I wanted to proceed by the Absurd assuming that there is a bijection $\phi : \mathbb{N} \longrightarrow 2^{\mathbb{N}} $ but I can't find the absurdity. The indication tells us to consider the set $\{ n \in \mathbb{N} \mid n \notin \phi(n) \}$ but I don't see how it is useful.


Why are infinite cardinals limit ordinals?

My book states this as obvious, but it isn't so trivial to me. thanks


My code is:  a = {"a1","a2","a3"} b = a b[1] = "b1" print(a[1])   I can't understand why the result is "b1" instead of "a1".  The same is:   a = {"a1","a2","a3"} b = a c = b b[1] = "b1" c[2] = "c2" print(a[1]) print(a[2]) print(a[3])   The result will be:  "b1"  "c2" "a3".  Can I copy variables in another way?


Dell XPS 13 Ubuntu Guest to Administrator

So, I got Dell XPS 13 Developer Edition, 2018. The laptop started fine, and then it entered the guest account.  There is no way that I can create an administrator user account. I followed the steps provided by Ubuntu.com asking to go to Settings->User Accounts->'Unlock' and then add a new user, but I can neither unlock it nor can I add a new user.  After it booted for the first time, it asked to connect to wifi internet service. And that was not successful initially. But without asking any further questions toward setting up my account, it directly went to the guest account. No administrator account was created.  N.B: Any help is appreciated. And any suggestions to refine the question are most welcome.


Task Manager only showing 3 GB memory used from 8GB

I have 8GB Ram installed but in Task Manager it is showing that I am using 93% of my memory, even though I am using no more than 3.5GB. Where is the rest?


Using Physical EFI Disk Image as a Virtual Hard Drive

I imaged an HP Envy laptop that has an M.2 Solid State drive. When I view the image file in FTK I can see 5 partitions including the Windows partition.   I would like a virtual instance of this physical machine and have tried two different ways, one with VMWare and the other with Virtual Box.  For VMWare, I mounted the image file as a physical drive, then created a Virtual Machine and selected to use the physical drive as the VMs hard drive. When it booted it said no operating system detected.  I then took the raw image and used VBoxManager convertfromraw command to turn it into a .vmdk file. Again when I boot it up in VirtualBox no operating system can be found again.  I believe it has to do with EFI, but I am not sure.


What is the difference between function and method ? Can any one say with suitable example say what are the differences? Where we say some routines are called function and where it is called method?


How to Improve Mathematical Thinking and General Problem Solving Skills?

I'm a sophomore in university and seriously feel that I'm bad at solving mathematical and algorithmic problems (be it discrete math, calculus or just puzzles). I noticed that I'm only good at solving questions that are similar to the ones that have been taught to us.  Here's how I generally approach it:   What is the problem? What do I need to do here? Does it look like I've encountered this before?  Can I think of a smaller problem to solve instead?   If the answer is no to all the above then I sort of blank out. I stare at it and force my brain to run through a wide variety of stuff, almost like a brute force attempt of solving it. Obviously that leads me to nowhere everytime. I simply can't think "outside the box."   What can I do to improve my situation?


Is there a destructor in java to counter the constructor?

As Java programming has constructor that runs code when a new object is instantiated, I was curious if there was something to counter that. Creating new object occupies memory, so is there a mechanism in Java to erase or overwrite the unused memory?  If there a destructor in Java, then how does it differ from other memory management systems in programming languages such as C?


Book series about multiple worlds split from the Earth

I'm desperately looking for the title of a fantasy series I read in the mid-90s. Hoping someone can find a clue from the details I can remember here:   Series had at least 5 or 6 volumes (at least, maybe more) Read in the mid-90s so could have been written in the 80's (or earlier?) I believe the series was complete when I read it. Story involves multiple worlds each centered on an "element" (a world with floating islands in the air, a world of lush nature, a lava world, a world made of a single giant ocean that nullifies all magic...) Story involves several protagonists from different worlds, all quasi-human in nature. Story starts with veteran assassin with a youngster fleeing in a castle, and I believe they are quickly involved with a sort of wizard who is actually a dragon in disguise. Wizard partially reveals existence of other worlds an world travel intervenes during 1st or second book. Another key character I remember is a kind of antagonist from a people who can only practice magic through tattoos on their bodies. The only body parts not tattooed are face and palm of hands.   Later in the books it is implied that these different "elemental" worlds were actually the Earth that was divided following a cataclysmic clash between science and magic in the past.


How do I uninstall Pandoc in Ubuntu 19.10 (and install most recent version)

I have an old version of Pandoc installed, but I'd like to install the latest version of Pandoc.   To begin I've run the following to get rid of the old version:  sudo apt-get autoremove --purge pandoc  But when I check that everything is uninstalled by running: pandoc --version Then pandoc 2.2.3.2 pops up.  I can't seem to get rid of this old version of pandoc so that I can install a new one.  Could you advise me on how I can get rid of the old version and install the new one please.


Will the change of mean/variance of data impact the svm classifier?

I have seen in many areas people scale their data before passing to a classifier or learning algorithm . I noticed that by doing that classifier would be really fast. For instance in python X=preprocessing.scale(X) is used before doing svm.SVC().fit(X,y) . Does this have any effect on classifier?  Edit : X=preprocessing.scale(X) is supposed to     Standardize a dataset along any axis Center to the mean and component   wise scale to unit variance.   Does scaling to unit variance have any effect?


Traveling to the US on a visa that is soon to expire

I am traveling to the US with my daughter in May 2018. Her US visa expires in October 2018. We are back in our home country in a month. Does she have to have at least 6 months left on her visa at the time of entry in the USA.


Unable to install Ubuntu 18.04 from 17.10

I'm trying to upgrade Ubuntu but there is no new release available.  Output of lsb_release -a:  No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 17.10 Release:    17.10 Codename:   artful   Output of sudo do-release-upgrade:  Checking for a new Ubuntu release No new release found.   Also, when I do Alt+F2 and update-manager -c it says "Failed to download repository information".  New output of cat /etc/apt/sources.list (see comments):  deb http://old-releases.ubuntu.com/ubuntu/ artful main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ artful-security universe main multiverse restricted deb http://old-releases.ubuntu.com/ubuntu/ artful-updates universe main multiverse restricted     The answer for  didn't solve my problem, I'm still having the same output for sudo do-release-upgrade.  Thanks for any help.


Is there a tetrahedral number that is also a perfect cube? How would I prove or disprove?

Is it possible to sum the first $n$ triangular numbers to equal a perfect cube? To state it another way, other than the obvious trivial case of n=1, are there any natural number solutions to the equation below? $$\sum_{i=1}^n T_i = \sum_{i=1}^n \frac{i(i+1)}{2} = \frac{n(n+1)(n+2)}{6} = m^3, n \neq m \in \mathbb{N}$$ If no such solution exists, how would I go about proving that it can't be done?


I can not understand, when the left operand of ?? becomes null in below code?

I know that single ? is used to make a variable nullable, but what does double ?? mean in below code?  txtId.Text = Convert.ToDecimal(conn.LeavesRequests.Max(lr => (decimal?)lr.Id) + 1 ?? 1).ToString();


I really like the random tests when reviewing, but I find them too easy to spot now, and they don't really cover all possibilities where somebody could create a bad approval.  Feature Proposal  I propose that a new feature that allows users with a very high reputation to create new tests that can then be approved by consensus of high rep users.  This can be either integrated into the review screen, or added as a separate section to the top nav bar that appears after the required reputation is reached.    When submitting an audit you include the following:   Audit Type: Suggested Edits, First Posts, etc... Post Title, Post [For Edits] Changed Title  [For Edits] Changed Post Response for Rejection Response for incorrect Approval   Like a close vote, an audit is approved by multiple high rep users.  Possible New Test Ideas   A test where somebody takes a correct answer and makes it incorrect through a minor change.  There was an answer I was reviewing that was very complicated where the incrementor was moved, and I wasn't sure how that effected the answer. A more subtle change of meaning of a sentence:  There are some very radical audit tests where the text is defaced, but what if somebody rewrites a sentence to change the very meaning?  For example, "How do I assign a function to a variable?" versus "How do variables get assigned by a function?" look very similar, but mean something different.  This might be an especially high risk when somebody is correcting posts by people who speak English as a second language. Bad formatting (I've run across this more than once):  Somebody reformats some code, but actually makes it worse because they didn't see a closing parenthesis or tag.


Profile page: layout breaks with incredibly long location name

I've just found, that if you enter a really long Location name in your profile settings (and, of course, save it), then go to the Profile page, the location name won't break or display as ..., and takes up the full available (and not available) place.  This makes the username, title and the description unreadable.   I've also discovered, that this doesn't apply to 'website link', it creates ellipsis (...) if very long.  Here is a screenshot of the issue:    The screenshot was taken on Stack Overflow, but the issue applies to all SE sites, including this one (Meta SE).


Can I search question by user reputation?

Is there some way to search questions of users with low reputation or with high reputation?


In the following examples, we have used the prepositions "in" before "suburbs" and "on" before " outskirts". Is there any explation for this usage?   I live in the suburbs of London. I live on the outskirts of London.


I have a problem in which I am trying to prove over GF(2) that a binary symmetric matrix (A) with a diagonal of ones has a rank always equal to the rank of its augmented matrix with a ones vector (C) $$   C=\left[\begin{array} \\     1 \\     \vdots \\     1   \end{array}\right] $$  To clarify, such matrix is constructed like so: $$   A=\left[\begin{array}{rrrr} 1 & a_{1,1} & a_{1,2} & \dots & a_{1,n} \\ a_{1,1} & 1 & a_{2,1} & \ddots & \vdots \\ a_{1,2} & a_{2,1} & \ddots & a_{n-1,n-1} & a_{n-1,n} \\ \vdots & \ddots & a_{n-1,n-1} & 1 & a_{n,n} \\ a_{1,n} & \dots & a_{n-1,n} & a_{n,n} & 1   \end{array}\right] $$  For example, a 3 by 3 matrix like this has a rank of 2: $$   A=\left[\begin{array}{rrr}     1 & 1 & 0 \\     1 & 1 & 0 \\     0 & 0 & 1   \end{array}\right] $$ When we augment it with a ones vector, we get this matrix which also has a rank of 2: $$   A|C=\left[\begin{array}{rrr|r}     1 & 1 & 0 & 1 \\     1 & 1 & 0 & 1 \\     0 & 0 & 1 & 1   \end{array}\right] $$ Cleary rank(A) = rank(A|C) over GF(2).  Why is this always true for such type of matrices?  If you have a proof, an idea, or a suggestion on how to proceed, please let me know. Any help is appreciated.


What is the point of the transistor to drive the relay coil

In the circuit the relay is controlled from a manual switch on a 12v bus. I can't understand why you would want to add the extra components of the transistor and diodes to the circuit? ie why are D4, R1, T1, D1 needed? Thinking about cost and component count here.


Finding the sum of the series $\frac{1}{1!}+\frac{1+2}{2!}+\frac{1+2+3}{3!}+ \ldots$

Deteremine the sum of the series $$\frac{1}{1!}+\frac{1+2}{2!}+\frac{1+2+3}{3!}+ \ldots$$  So I first write down the $n^{th}$ term $a_n=\frac{\frac{n(n+1)}{2}}{n!}=\frac{n+1}{2(n-1)!}$.  So from there I can write the series as $$1+\frac{3}{2}+\frac{4}{2\times 2!}+\ldots +\frac{n+1}{2(n-1)!}+\ldots $$  I am quite sure I can do some sort of term by term integration or differentiation of some standard power series and crack this. Any leads?


Why is $\sqrt{x^2 } = |x|$ ?   Squaring always produces a positive result, and you obviously square the equation before taking the root of it. So where exactly is the problem?


How do you watch HTTP requests an iPhone app is making?

Just the same way you can open the web inspector or activity window in Safari on your laptop and see all the HTTP requests any website has made, how do you do that on the iphone for an iPhone app, if the iPhone app is using HTML5 (or even if it's a native app)?


Free firewall and network monitor Application like the LittleSnitch?

I am searching for a good free firewall and network monitor as the littlesnitch but I can't pay for this app. I want a firewall that will protect me but more of that to monitor any connection in or out of my mac so that to check if any malicious connections are establishing from or to my mac.  Thank you.


Images should be automatically rescaled and the full size linked or put into a lightbox

The current image handling is minimal, there is no rescaling a all and the full image is simply scaled to the width of the post.   This works well until you have images that are wider than the 640px available for posts. There are two important categories of images that pretty much always break this limit: Pictures taken with a digital camera and screenshots. Sites that would benefit from an improvement here would be especially Photo.SE, Arqade, DIY and other image-heavy sites.  The current result of this for inexperienced users is that they put the full-sized image in the post. This means a waste of bandwith for everyone looking at it, and also makes the full-sized image not accessible to non-technical users.  An experienced user will rescale the image before uploading. This takes more time and also makes the full-sized version of the image unavailable for everyone.  A very experienced SE user can work around the whole thing and use the automatically created thumbnails from imgur to create a preview image linked to the full-sized one. This is only known to very few users, it is not discoverable and quite a lot of work.  I'll use a project from a developer that is rather well-known around here as an example how the image handling could be done better: .  When uploading an image   it should be rescaled automatically to the width of the post the image should be linked automatically to a lightbox (or to a new tab) that will show the image in the maximum possible size on the screen.   There should be no need for a user to do any manual work, this should just work automatically.


Blender Crashing when changing from blender render to cycles

I am having an issue with Blender whenever I change from blender render to cycles blender crashes or just shuts down.  if I go to the game engine no issue.  I am running a PC  Windows 10 i5 CPU GeForce GTX 1080 Ti  I am at a loss


I have imported an object from a JS file to another JS file, using import/export keywords. This forced me to give the linked script in the HTML the propertie : <script type="module" src="modules/test.js"></script> //exported object <script type ="module" src="Wallet.js"></script> //imported object  Now , I have noticed that when I do this , many functions from the imported file stop working and the HTML events that rely on JavaScript are never read. Suddendly I have errors , like " Function is X is not defined at HTML.element.onmouseover" I know this was working before and stopped when I introduced the import/export and module type. What is the reason for that?


Javascript output instance of a object with loop

I have several instances of an object:  function objectname=(prop1,prop2){     this.prob1=prob1     this.prob2=prob2 }  var object1=objectname(     "11",     "12"); var object2=objectname(     "21",     "22");   Now i want to output it. This works:  document.write(object1.prob1); //output 11   Now i want a loop over all different instances like  for (var key in objectname){     document.write(objectname.key.prob1)}  //Does not work   The problem is that an easy example also does not work:  document.write(objectname.object1.prob1); //Does not work   Why?


Proving that if $\sum\|f_n-e_n\|^2< 1$, $\{f_n\}$ is a complete sequence

Let $\{e_n\}$ be a complete orthonormal sequence in an Hilbert space $H$ and let $\{f_n\}$ be an arbitrary sequence of elements in $H$ s.t $$\sum_{n=1}^\infty\|f_n-e_n\|^2<1$$Show that $\{f_n\}$is a complete sequence   First I thought simplifying the last inequality:$$1>\sum_{n=1}^\infty\|f_n-e_n\|^2=\sum_{n,k=1}^\infty|(e_n-f_n,e_k)|^2=\sum_{n,k=1}^\infty|\delta_{n,k}-(f_n,e_k)|^2$$but I was stuck there.  Incorrect Solution: Another option I thought about was using parsevall's generalized identity on $f_n$ means: $$0=(f_n,f)=\sum(f_n,e_n)\overline{(f,e_n)}$$ and since the inner product is non-negative, if $(f,e_n)=0$ then $f\equiv 0$ and we are done and otherwise $(f_n,e_n)=0$ which means that $\forall n\in\mathbb N,f_n=0$ and then by definition of inner product $\{0\}$ is indeed a complete sequence.  What's incorrect in the 'incorrect solution' and how can I use the fact about the inequality?


Why didn't Harry's parents make each other their secret keeper?

In the Harry Potter series Harry's parents go into hiding by using a Fidelus Charm which needs a secret keeper. So they chose Peter Pettigrew as their secret keeper and were betrayed. Why didn't they make each other their secret keeper? James could have made Lily secret keeper (of his and Harry's secret) and Lily could have made James (of her and Harry's secret) their secret keeper. So there wouldn't have been any chance of third person betraying them.


General relativity && quantum mechanics "incompatibillity"

Now this may be utterly weird layman-physics-question, but anyways...  I have read recently following:  "The fundamental universe laws are everywhere the same. It's just that the manifestation (!) of (these) laws is different (!) on a specific "scale"."  Which brings me to the question:  Could it be that GR and QM are one and the same thing on a "different scale"?  If yes (LOL), that would "explain" why it is not possible to "merge" GR and QM.  Was question like this ever considered?


How to create this kind of logo in references? I have done with other two logos in which picture of book and document is made , but got stuck here


A student takes a quiz (exam), a professor [verb]s a quiz, exam, etc

I cannot seem to find an appropriate verb to use for a professor when he holds an exam, quiz, etc. so that students take it and get evaluated. Can we say a professor takes an exam? I suppose this is for the student side, right? Then, what is the verb for a professor?


actionscript3 function parameter modifier. Is it possible?

I tried to search about that, but didn't find anything. I used links to modify data via parameters in C++. In C#, for example, I can use like that:  bool foo(ref string r) {     r+= " is text"; }  bool bar() {     string s = "text";     foo(ref s); // and now s == "text is text" }   Is it possible to do it in actionscript3?


Why does $A\sin{k(x+c)}=a\sin{kx}+b\cos{kx}$ imply that $A=\sqrt{a^2+b^2}$ and $\tan{c}=-b/a$?

I don't understand this. These identities are given in the online notes for MIT's 18.01 calculus class. It's related to taking the sum of two trig functions and transforming them into a single trig function. I can use the formulas to do this, but I am having trouble finding anything on the internet to use a proof for my understanding.  Thanks for any responses!  EDITED (added after the first answer):  Sorry, the identity goes like this:  $A\sin{k(x-c)}=a\sin{kx}+b\cos{kx}$ ,  with the relationships  $a=A\cos{kc}$ , $b=-A\sin{kc}$ , $A=\sqrt{a^2+b^2}$ , and $\tan{kc}=-b/a$


download.01.org certificate verification failed - CRLfile missing?

So I had intel-Linux-graphics-installer on my computer  but lately when I   sudo apt-get update   I get the following error  Err https://download.01.org trusty/main amd64 Packages                          server certificate verification failed.  CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none   Tried reinstalling intel-linux-graphics-installer but nothing happend. And various solutions found here on askubuntu.com on certificates problems but didnt end up anywhere.  Any ideas on how to get that CRLfile? Also is this problem on my side or on the servers side?


Difference between Canon 18-55mm IS II and IS STM?

I am a newbie into the photography world and would like to buy a DSLR. I am currently shooting with my phone and usually take photos with auto mode. While choosing for a camera I have narrowed my search Canon 700D. However, i am still trying to decide onto the lens to buy.  In India, there are 2 options available. 18-55 + 55-250 IS II and 18-55 IS STM lens. Both cost almost the same.  Can anyone guide me as to which option I should go for? Can 18-55 STM suffice my needs of general photography? If so, I can go for STM, or else I would rather like to go with IS II since I get 2 lenses. May be once I grow from novice to expert, I can surely look for other options as well like 18-135 or so.


can we get Tab key action on click on a tag using javascript or jquery

When we click on a tag tab key should press or can we get any key action using javascript or tab key.       <input type="text" />
Tab Key 9 click


When to include a class in another class, or just inherit from it?

I have a class called Drawable which defines the basic attributes a object needs to be rendered using openGL. So i have a drawable class, and then a Model class.  class Drawable { public:     // add functions to load data private:     std::vector<GLfloat> _vertices;     std::vector<GLuint> _indices;     std::vector<GLTexture> _textures;      glm::mat4 _model, _view, _projection;     GLint _modelLoc, _viewLoc, _projLoc; };   When should I inherit a class, and when should I just create a object of the class in my new class?  class Model : public Drawable {  };   or  class Model { public:     // stuff here private:     Drawable _drawable; };


If pressure exerts force per unit area, does internal pressure contribute to weight of a pressure vessel

I am trying to determine the weight of an equipment with fluid of some density $\rho$ and volume $v$. I believe the weight is straight forward and should be $\rho v g$, where $g$ is the acceleration due to gravity. In case of pressure vessels (cylinder), their is also internal pressure, but in the free body diagram they cancel out. How about if the pressure vessel was unsymmetrical?


Is the complement of an open ball in a Banach space connected?

Let $B$ be a real Banach Space whose dimension is at least $2$, and let $S$ be a subset of $B$ that is an open ball. Is the complement of $S$ (with respect to $B$) always connected?  Idea One could then perhaps make use of the facts that every $2$-dimensional Banach space is homeomorphic to the Euclidean plane and that - for the Euclidean plane - my question has an obvious "YES" answer (since every open ball is the interior of a circle).


I installed Waterfox but it is not available as an application, just a folder. How do I get it to work like a normal app? Thanks in advance.


Formal-sounding yet incorrect construction

I discovered several years ago that there is a word for the grammar mistakes some people make when they try (perhaps subconsciously) to sound more formal  or grand in their speech but simply end up with something that sounds grand to them, yet clearly wrong to grammar aficionados. I subsequently forgot this word and have been unable to find it again. Can anyone help me? (Hint: It's not malapropism)


Suppose I have a program called mktemp which creates a random tmp directory in /tmp and also produces a string output of the directory address  Input[0]: mktemp Output[0]: /tmp/tmp.MkrKAscwwk   How can I redirect the output of mktemp so that I can change my directory to that I just created? Meaning I Don't have to do cd /tmp/tmp.MkrKAscwwk.


UAE Tourist Visa validity and how many days I'm allowed to stay?

I'm an Indian and my brother has been working in Sharjah around ten years. It is the first time I'm travelling abroad. He arranged me a tourist visa of 60 days validity and I can stay there up to 39 days (as stated by the visa agent). I should leave on the 40th day.   But in India my travel ticket agent said that I can stay there up to 29 days and I should leave on the 30th day.  I have added my visa image below.   Could someone please clear up the confusion for me?


If $f:\mathbb{C}\to\mathbb{R}$ is continuous and $f\ll1$ then $\int_{|z|=1}f\ll4$

Show that if $f:\mathbb{C}\to\mathbb{R}$ is continuous and $f\ll1$ ($a\ll b$ means $|a|\leq |b|$), then $\int_{|z|=1}f\ll4$.  Hint: Show first $\int f\ll\int_0^{2\pi} |\sin t|dt$.  I'm not sure how to prove the hint. In addition, what does the notation of $|z|=1$ below the $\int$ sign means?


$\Bbb Z \bmod n$ Rings and How to find $x^{-1}$ inverse

I tried the question using Euclidean algorithm.


Do I owe any back taxes due to an IRS audit?

I just got a call from someone claiming to be the IRS who threatened the police. The number they used was 434-200-8555


I am designing a poster, which has some geometrical shapes (TikZ paths) surrounded by some text. I would like the text to flow neatly around these shapes. I bet there's some clever TikZ magic that could do this.  EDIT: This is the sort of effect I want, sorry to not be clear:    \documentclass[a4paper]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) to (2,-2) to (2,-4) to (4,-4) to [out=up, in=down] (6.5,0); \node [text width=6cm, anchor=north west] at (0,0) { \hspace{5pt}  This is the sort of effect I want to \\ \hspace{23pt} achieve, with text automatically \\ \hspace{36pt} constrained by some \\ \hspace{46pt} geometrical form. Here \\ \hspace{55pt} it's just a curve, \\ \hspace{57pt} but this could \\ \hspace{57pt} also be the \\ \hspace{57pt} text label \\ \hspace{57pt} of a node.}; \end{tikzpicture} \end{document}


My current thought is to take $x_{n+1}-x_n$ and to prove the difference is smaller than $\sqrt a$. But it won't help me to prove $x_n$ converges to $\sqrt a$.


Does $\sum\frac{\sin n}{n}$ converge?  I have tried the comparison test, root test and ratio test but still can't prove it is convergent or divergent.


what is the main function for the propertiesmethods in constructor

Below  are some code  var Foo=function(){    this.doSomething1=function(){        //do something     }  }; Foo.prototype.doSomething2=function(){       //do something };   if I change it to  var Foo=function(){   }; Foo.prototype.doSomething1=function(){    //do something }; Foo.prototype.doSomething2=function(){    //do something };   the second block of code almost can do any thing same as the first one. but it has very clear inherit relationship on prototype chain.  What is the advantage for the first code block?  Your comment welcome


Finding A Bijection Between Two Finite Intervals

I've received a problem in my course that has confused me a bit and I'm not sure what my instructor means or what I am allowed to assume. The problem reads like this:  "*Find a bijection between the following sets: any two finite intervals of the type $[a,b]$ and $[\alpha,\beta]$ with $a<b$ and $\alpha<\beta$".  If I understand correctly, there can't be a bijection between two finite sets unless they have the same amount of elements (or the same cardinality, but we haven't defined that yet) and if I were to assume this it would be trivially simple because then I could just say that there are $n$ elements in both and map $a$ to $\alpha$ and $b$ to $\beta$ and so forth and I'd be done.  This seems almost too simple and I feel as though I've missed something that would make the exercise more difficult. Have I solved it or is there more to it? How do I see it and how do I go about creating the bijection?


how can i automatically record every terminal session?

I like to use tools like history, script, and asciinema to record and review xterm (i.e. bash/sh) sessions for typical, general administration reasons, and also, sometimes for comprehensive study/revision; as a learning tool.   I thought of setting the default $SHELL as a direct path to said tools and/or commands, like:   /bin/script transcript.log;  /bin/asciinema rec -w0.5 term_log.json;  But these tools typically rely on having a default $SHELL set (i.e. /bin/bash, /bin/sh, /bin/zsh, etc.). Also, I feel like re-defining system variables (i.e. $SHELL, $TERM, etc.) or trying to get it working with config (*.conf) and dot (~/.bashrc / ~/.bash_profile) files is gona be riddled with all kinds of holes and potential problems. However, every time I decide or realize that I want a transcript of a session, it's after the fact, or I'll be halfway through the interesting part already, or some such scenario.   What's the correct, or best practice to set something like this up to simply log everything (preferably stdin, stdout (and stderr when applicable), etc.) automatically?


Why did "Curb" change from being shot on video to being shot on film?

Why did they do that? I know Curb Your Enthusiasm was a slow motion frame rate video until like 2009 or 2010. Why the change?


I am trying to connect to my phone with android.  Seems to have to do with  (MTP).    $ mtp-detect libmtp version: 1.1.13  Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).    Found 1 device(s):    Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 12 Attempting to connect device(s) ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt Unable to open raw device 0 OK.   The computer correctly identifies my phone as a Samsung Galaxy yet fails to connect.  Could it be that my Android phone has the problem?


For which $n$ the polynomial $x^n + y^n$ will be irreducible over $\mathbb Z$?   I think when n is multiple of 2. Can you please correct me if I am wrong and explain why.


What is the difference between AR and VAR?

What is the exact difference between an autoregressive (AR) and vector autoregressive model (VAR)?  I always thought that VAR would just be for more than two variables, until I learned that AR can also have more than two variables. I.e. I had a misunderstanding(?) that AR models are not always bivariate.  Before I write too much potentially false assumptions about the difference between AR and VAR, it would rather be interested to see if anyone can make provide a quick and good summary.


How do I set a monitor resolution that is not available in the Display Settings dialog?

I just installed ubuntu 13.04 x64 My resolution is 800x600 and there is no other option. I tried to install the nvidia driver 313 but still nothing. I tried doing this   still no luck, thank you


Consider a horizontal surface with or without friction. Ideally, will a wheel rolling without slipping roll forever in both cases?

Suppose a wheel is rolling smoothly on a horizontal plane i.e., it is rolling without slipping.  Now let's take the two cases of the horizontal plane:   It has friction It is frictionless   In the first case, as of my knowledge friction doesn't come into play when there is no slipping. So, will the wheel roll forever? If it comes to rest is the answer friction? If not what brings it to rest?  In the second case, there is no friction. So, here also will the wheel roll forever? And if it comes to rest what brings it to rest?