People can transfer physical and/or mental abilities to another person through magic

I read a fantasy novel years back. I honestly don't remember much of the plot (it was SEVERAL years back) but I remember the magic system that was used.  It was possible for an individual to grant portions of their physical and/or mental powers to another person.  For example, a person could grant his/her sight to someone else and spend the rest of their life blind (or with exceedingly poor vision) while the recipient would see twice as well as anyone else. In the book there were whole cities devoted to enhancing the nations army, or a specific person, etc.  Anyone have a thought what this book or series is?


How can I adjust Cycles material displacement amount?

The experimental feature set in Blender 2.75 includes an option to allow the displacement socket of the material output node actually displace the mesh instead of acting as bump-mapping.    However I can not figure out how to control the actual displacement amount.  Simply adding a math multiply node does absolutely nothing.    So how can I change the actual displacement amount?


Ask about the Website or Books about physics from A-Z

I am a middle school student and I want to learn more about physics from A - Z but I don't know any book or website that is useful. Can you share me some suggestions?


The most efficient method to obtain the total entries into a mysql table

I have a table that has a very high usage (insert/update/select) - one of the operations is to obtain a count of the number of rows. So far I've been using the classic select count(pk) from table but I'm thinking to read it from information_schema instead of doing the count.  select table_rows from tables where table_name = 'my_table'  Is this reliable enough ?  If there is a different method please let me know.  thanks!


I know many examples of block devices (HDDs, SSDs, files, ...), but I haven't heard a simple definition of it. Especially since files are apparently included in the definition I feel a bit confused...


Why is Ghost absent from this fight? Where is he?

After seeing episode 9 of season 6 I really was wondering where Ghost, the direwolf was.  It would seem logical that he would be around I think but I believe I haven't seen him     Since Jon resurrected


How can I copy files  with extension .ORF from a director and all it's sub-directors to a different director. i.e: I have home/Pictures and it's sub-directories and I want to copy only the files  with .ORF extension to home/TempPictures  I want to specify that I have had a look already here and on a lot of other sites and I haven't find the answer I look for...  Thanks!


Found this technique to verify if the email address is in correct form of not.  function check_email($email) {           if( (preg_match('/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/', $email)) ||              (preg_match('/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/',$email)) ) {               return true;         } else {              return false;         }            }   I Am a newbie in php. What this big regex commands mean?


I have a website http://www.domain_1.com/ hosted in a shared webserver.  I have used SSL for another website https://www.domain_2.com/ on the same server.  Due to some technical limitations (single IP), if you try https://www.domain_1.com, browser will show the same domain_2 website. But this is not a concern for me.  Question: will this scnario impact SEO of domain_1 (non-HTTPS) site?


Shell parameter expansion on command line does not work in bash script

Consider the following  on a bash command line, which is : $ a='hello world    example'  $ echo ${a//+( )/_} hello_world_example  However, that very same parameter expansion no longer works in a bash script. # !/usr/bin/env bash a='hello world    example' echo "${a//+( )/_}"  It results in the unaltered string: hello world    example  I did already learn from a simpler parameter expansion that the double quotes " " after the echo command are required, although I do not know why. However, what more needs to be done for this particular parameter expansion to work in a bash script? And why?


I installed Ubuntu 16.04 and when I tried to sign in to my gmail account I realised that when I press Shift+2 it outputs " instead of @. Every other Shift+0–9 combo works just fine. Any suggestions?


Article before "two" with intervening adjective?

Consider the following sentence:     (1) The project will include Alice, Bob, and an expected two new hires.   This sounds correct to me; it means we are expecting to hire two new people and will put them on the project together with Alice and Bob.  But logically, it seems bizarre to have a singular article "an" together with a number "two"; in most cases a noun quantified by a number word doesn't also get an article:     (2) The project will include Alice, Bob, and two people from marketing.   But removing the "an" from sentence (1) sounds definitely wrong to me:     (3*) The project will include Alice, Bob, and expected two new hires.   Although it could be fixed by inverting the word order:     (4) The project will include Alice, Bob, and two expected new hires.   What is the rule that makes (1) grammatical?


Is that correct If I take e^RMSLE will the resulting value give me RMSE or I am missing sometihing . I want to interpret RMSE from RMSLE


Python loop in beautiful soup regex list

When i run the code below, i get three lists, one below the other vertically.  I want them to be horizontal, separated by a comma (similar to the last print list statement, where the data is separated by a comma).  I tried rearranging the for loop statements, and I get all sorts of combinations, but nothing like I wanted that I described above. Please help!  import bs4 as bs import urllib.request import re  sauce = urllib.request.urlopen('http://www5.statcan.gc.ca/cimt-cicm/topNCountryCommodities-marchandises?lang=eng&chapterId=27&sectionId=0&refMonth=2&refYr=2017&freq=6&countryId=999&usaState=0&provId=1&arrayId=9900000&commodityId=271111&commodityName=Natural+gas%2C+liquefied&topNDefault=10&tradeType=3').read() soup = bs.BeautifulSoup(sauce,'lxml')  regexQ = re.compile('.*Date1 Qty.*') regexC = re.compile('.*Footnote.*') regexV = re.compile('.*Date1 Val.*')  for countryPart in soup.findAll("a",{"href":regexC}):         Country = countryPart.text.strip()         print(Country) for DatePart in soup.findAll("td",{"headers":regexQ}):         Quantity = DatePart.text.strip()         print(Quantity) for ValPart in soup.findAll("td",{"headers": regexV}):         Value = ValPart.text.strip()         print(Value)  list = [Country,Quantity,Value] print(list)


How not to get first names (neither full nor abbreviations) in in-text citations?

I need to conform my citations with the format my lecturer wants. I was told to never have the first names in an in-text citation. In case there are several authors with the same last name, they should be distinguished by a letter behind the year. The citation style is author year; I'm using biblatex like this atm:  \usepackage[     backend=biber,     style=authoryear,     natbib=true   ]{biblatex}


Why connect plug wires in a certain way when polarity changes in AC anyway?

In AC systems the two wires of a circuit alternate polarity many times per second. So positive and negative switch, half of the time a wire is positive the other it is negative.   So why is it important to connect plug sockets to the correct coloured wire? What is the difference between the live and neutral wires?


Photoshop image fading and background effect

I believe it's easy to do, but I am missing some details. Somehow, my results are not what I'd wanted them to look like.   How to draw illustrational lines? (Think of the lines from , for example.) … and how to crossfade the created image with another image?   This is what I'm trying to achieve:    Other example of lines I'd like to draw (and later fade over some image):


What is the difference between '$ . foo' and '$ ./foo'?

t  is a simple script What is different between two case below :  $ .  t   and  $ ./t


I wrote some code to update the Initial Response field on a case when an outbound email is sent. I can't seem to get enough coverage to deploy the trigger handler. Here's my code Trigger trigger EmailMessageTrigger on EmailMessage (after insert){ System.debug('Trigger Settings' + TriggerSettings__c.getInstance('EmailMessage')); if (TriggerSettings__c.getInstance('EmailMessage') == null ||      TriggerSettings__c.getInstance('EmailMessage').Disable_Triggers__c == null ||      TriggerSettings__c.getInstance('EmailMessage').Disable_Triggers__c == false) {     EmailMessageTriggerHandler.handleOutboundCaseEmails(); } }  EmailMessageTriggerHandler public class EmailMessageTriggerHandler {  public static Boolean isPortal = ([Select ContactId from User where Id =:UserInfo.getUserId()].ContactId==null?false:true); public static void handleOutboundCaseEmails(){          Map<Id,Case> mapUpdates = new Map<Id,Case>();     List<ID> CaseID = New List<ID>();      List<Case> caseToUpdate = new List<Case>();     for(EmailMessage em :(List<EmailMessage>)Trigger.new){         System.debug(em);         if(em.Incoming == false){             if(em.ParentId != null){                 if(em.ParentId.getSObjectType() == Case.SObjectType){                     CaseID.add(em.ParentId);                     if(!isPortal){                         mapUpdates.put(em.ParentId, new Case(Id=em.ParentId,Waiting_on_Customer__c=true));                     }                     System.debug('Case ID: ' + CaseID);                     List<Case> caseList = [Select Id, Initial_Response__c FROM Case Where Id = :CaseID];                     System.debug('Case List: '+ caseList);                     if(!caseList.isEmpty()){                             for(Case c : caseList){                             ID cas = c.Id;                              System.debug(cas);                             AggregateResult[] initialResponseDate = [Select Min (CreatedDate) initialResponseDate from EmailMessage where ParentId = :cas And Incoming = false];                             System.debug(initialResponseDate);                                 c.Initial_Response__c = date.valueOf(initialResponseDate[0].get('initialResponseDate'));                             System.debug(c.Initial_Response__c);                             caseToUpdate.add(c);                         }                         System.debug(caseToUpdate);                         update caseToUpdate;                     }                 }             }         }     }         update mapUpdates.values();   }  } My trigger is getting 50% coverage where the two lines above handleOutboundCaseEmails() is not getting any coverage and the triggerhandler coverage is at 38% where code below if(em.Incoming == false) is not getting any coverage. How can I achieve at least 75% coverage so that I can deploy my code? Test Class     @isTest static void Outbound() {     TriggerSettings__c triggerSet = new TriggerSettings__c();     triggerSet.Name = 'EmailMessage';     triggerSet.Disable_Triggers__c = false;     insert triggerSet;     EmailMessage message = new EmailMessage();     message.ToAddress = 'lbejjani@fuze.com';     message.Subject = 'Test';     message.TextBody = 'Testing';     message.Incoming = false;          message.ParentId = sc.Id;     //message.ParentId = '5006s000000hGHZAA2';     insert message; }


I'm trying to get the number of digits of a number in javascript, but I'm running into some edge cases with the equations I've found online.  Here's what I'm using, from .  getNumDigits(val){   return val === 0 ? 1 : Math.floor(Math.log(Math.abs(val)) / Math.LN10 + 1); }   But the problem with this is, if you put in a number like 1000, you somehow get a javascript rounding error where the value comes out like 3.999997  I've noticed that, as long as your number isn't between -1 and 1, you can just add 1 to the val in the Math.abs(val) and it will appropriately set the number of digits, but it just seems messy.  I've tried just converting the val into a string, and getting the length, but that doesn't work in the case of, say, a decimal, where you're using something like 0.2 - as it will say the length is 3.  What's a good equation / function to use?


Why does p-value have to be defined as 'at least as extreme' as the test statistic rather than just the probability that T= t?

Say I am using a t statistic, the (two-tailed-t test) p-value as i understand is given as pr(t$\geq$|t| |null is true), why cant it be that pr(t=t|null) or at least some small relative frequency in an infinitesimal distance around t, such as f(t)dt ?


While I can find lots of information about PoE, I'm finding little about "gotchas" or "warnings".  That being said, what would happen if I configured a switch to give PoE then plugged that into a device that doesn't support PoE?  Would it damage the endpoint device?


How to change orientation of built-in display in Ubuntu 18.04?

I have a somewhat unusual setup for my computer at my desk:  I use an HP Spectre x360, which I connect to an external monitor, which allows me to have two screens to use. Due to space limitations I actually have my laptop's screen flipped upside down next to my external monitor. On Windows, my laptop's screen maintains the orientation it was in before being connected to the external monitor so it shows as being the right orientation.   On Ubuntu, however, the screen automatically flips to its default orientation when plugged into the monitor, which, to my view, shows the laptop's screen as being upside down.  When in display settings, I can change my external monitor's orientation, as shown here    However, when I go to my laptop's built-in display, this option disappears.     How can I change the orientation of my laptop's built-in display while connected to an external monitor?


Mac OS upgrade probably caused screen problems

I have a Mac Mini 2018. I have a main monitor which is connected using the HDMI output, and a second monitor which uses a Thunderbolt port with a Thunderbolt-to-HDMI adapter. After working just fine for a couple of years, the second monitor started going dark, randomly, two or three times a day. Unplugging and re-plugging it solves the problem. This does not appear to be a hardware problem. It happens with different sets of monitors and cables. I have sets of monitors and cables both at home and at work, and it happens in both places. When the screen goes dark the mouse is still visible and I can move the white-outlined pointer around the dark screen. This may have started happening after I did a recent Catalina upgrade, but I'm not sure. I'm currently running Catalina 10.15.7. What could this be?


Python : OK style to combine regex and group into single line?

Many python tutorials show a two line example of using re.   match=re.search('aa?yushi','ayushi') match.group()   Is it recommended style to combine the two?  re.search('aa?yushi','ayushi').group()   I tried but it failed.  re.match('\d','a1b2c3d').group() Traceback (most recent call last):   File "<stdin>", line 1, in <module>   What's the trick?


18.04.1: Lenovo P1 Gen 2 No Wifi adapter found

I want to install Ubuntu 18.04.1 LTS on my  alongside windows 10.  I've done this many times before with previous computers, distros, etc. but this computer is new (and different in that it has no ethernet port, and I'm having trouble with the Wifi).  Looking at the similar problems previously asked, here are the outputs to some commands (sorry that I am copying them by hand, I can not connect to the internet on my Lenovo):     rfkill list all           0: tpacpi_bluetooth_sw: Bluetooth     Soft black: no     Hard block: no      To me, it seems like it isn't even identifying that the computer has Wifi capabilities? Anyway, the relevant controllers:  > lspci >> 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10) >> 52:00.0 Network controller: Intel Corporation Device 2723 (rev 1a) >> 53:00.0 SD Host controller: Genesys Logic, Inc Device 9755   And hopefully everything else that is needed:  > sudo lshw -C network >> *-network UNCLAIMED >>> description: Network controller >>> product: Intel Corporation >>> vendor: Intel Corporation >>> physical id: 0 >>> bus info: pci@0000:52:00.0 >>> version: 1a >>> width: 64 bits >>> clock: 33MHz >>> capabilities: pm msi pciexpress msix cap_list >>> configuration: latency=0 >>> resources: memory:d8c00000-d8c03fff  >> Then there is more on the *-network Ethernet interface and the fd auto negotiation   and   >lsusb >> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 3.0 root hub >> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 001 Device 003: ID 06cd:00bd Synaptics, Inc. >> Bus 001 Device 002: ID 04f2:b67c Chicony Electronics Co., Ltd >> Bus 001 Device 004: ID 8087:0029 Intel Corp. >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Other notes:  The wifi works perfectly well on the windows side of the computer.  I've tried to install Mint, and the same exact problem - that the Wifi adapter can not be found, arises.   A big source of difficulty for me at this point is that I am new to computers without ethernet ports, and so if I can not establish a wired connection to download 3rd-party software, how is one to fix this problem?  Thanks in advance, this community is a lifesaver!


How to expand parameter pack for dependent types?

What is the syntax for expanding a parameter pack where the types I want are dependent on the types directly in the pack? For example: template <typename T> struct foo {    typedef T value_type; };  template <typename ... T> struct aggregate_of_foo {    typedef std::tuple<foo<T>::value_type...> tuple; // MSVC compiler error here };


I have problem when post data in php that contain special character:     String: ? < > ' - \" `´& % ‰ € ® 2011   that always display     String: ? < > ' - " `Â´& % â€° â‚¬ Â® 2011   i changed form attribute be:  <form  id="frmBlog"method="post" enctype="multipart/form-data">   and also i change html with meta attribute:  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   but the result still same. anyone can help to fix this problem. thank you  my simple code:  <?php if(isset($_POST['submit'])){     echo $_POST['content'];     exit; }  $content = "String: ? < > ' - \" ´& % ‰ € ® 2011"; ?>  <html lang="en">   <head>     <title>Test</title>      <meta charset="UTF-8" />     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   </head>   <body>     <form method="post">         <textarea name="content" rows="20"><?=         $content         ?></textarea>          <input type="submit" name="submit" value="submit" />     </form>   </body> </html>   output:  String: ? < > ' - " Â´& % â€° â‚¬ Â® 2011


pgfplots: the margins "eat" some parts of my graph

Question I use pgfplots with the ultra thick option ans without explicitly giving the domain for the y-axis. It seems that in this case, some part of my graph is "eaten" by the margin: see the picture below to understand what I mean. Is there a way to avoid this? Code \documentclass{article} \usepackage{pgfplots} \begin{document}  \begin{tikzpicture}  \pgfplotsset{every axis/.append style={                     axis x line=middle,    % put the x axis in the middle                     axis y line=middle,    % put the y axis in the middle                     axis line style={->},  % arrows on the axis                     xlabel={$x$},          % default put x on x-axis                     ylabel={$y$},          % default put y on y-axis                     grid = major                     }}  \begin{axis}[xmin=-5,xmax=5] \addplot[orange,smooth, ultra thick] {sin(deg(x))} ;                  \end{axis} \end{tikzpicture}  \end{document}


I was reading on integration techniques and a came across an example that is shown quite a lot around the web.   $$ \int_0^\infty \frac {\sin(x)}{x}\,dx $$   I do know the answer must be $\frac {\pi}{2}$.   There are many ways to solve this but I am interested in differentiation under the integral sign. I am sorry but I am having trouble grasping the concept.  Could someone please go over this integral with me in a more elementary way (kind of step-by step)?   Thank you so much for your help and time!


As I'm an absolute noob at Linux, I don't quite understand the deep relationship between lvm, vg and pv even though I know the structure. I wonder if I store some documents at /dev/vg/dirx, is it possible to access those files somewhere from /dev/lvm/dirx or /dev/pv/dirx?


Proof that for any integer $n$, if $n$ is even and not divisible by $10$ then the final digit of $n^4$ is $6$

I'm almost certain this is an inductive proof. I've expressed it as for all $n\in2x$ and $\notin10y$ , $n^4\equiv 6\mod10 \forall x,y\in\Bbb Z^+$. The base case is straightforward, as $2^4=16\equiv6\mod10$. Just struggling on proving for when $n=k+2$. Binomial expansion gives $k^4+8k^3+24k^2+32k+16$, which implies $k^4+8k^3+24k^2+32k\equiv0\mod10$, which using the assumption $k^4\equiv6\mod10$ gives $8k^3+24k^2+32k\equiv4\mod10$. Any help in going forward or which direction to take would be excellent.


Got ransomware and Shadow explorer doesn't work

I got infected by the CTB Locker and probably I have removed the virus itself. But the files all got polluted. I tried to use shadow explorer but it shows all blank in CDEF any drives and got no dates listed. I have turned on all system restoration now but still showing nothing.


Is there any way to create multiple insert statements in a ms-access query?

I am using MS Access 2003. I want to run a lot of insert SQL statements in what is called 'Query' in MS Access. Is there any easy(or indeed any way) to do it?


Need help to show the convexity of a function

The problem:   Assume $f:R^n→R$ is a convex function. Show that the function $g(t)=f(x_0+td), t∈R$ is convex for arbitrary $d, x_0∈R^n$. Explain the statement graphically when $n-2$.  My attempt at the solution:   To show that $g(x)$ is convex I have to use the convexity inequality.   $g(αt_1+(1-α)t_2)≤αg(t_2)+(1-α)g(t_2)$  Using the formula for $g(t)$ that was given we get   $f(α(x_0+t_1d)+(1-α)(x_0+t_2d))≤αf(x_0+t_1d)+(1-α)f(x_0+t_2d)$  After changing the left hand side I get something like this   $f(αt_1d+x_0+t_2d-αt_2d)≤αf(x_0+t_1d)+(1-α)f(x_0+t_2d)$  I'm stuck here. How can I make this look like a convexity formula for $f$?


jQuery events are not getting loaded in document.ready()

I have written some click events on document.ready(). Some of them are working as expected. But few of them are not loading unless i put them inside setTimeout().  It is not working  $('.clsName').click(function(){ //code here   });   But, this one will work  setTimeout(function(){     $('.clsName').click(function(){ //code here}); }.2000);


Do I need a transit visa in Kuala Lumpur?

I am a Sri Lankan passport holder and I'm planning to visit Bangkok from Trichy, India with Air Asia or Malindo Air. Do I need a transit visa at Kuala Lumpur International Airport on arrival?


Is it possible to take incremental backup in MongoDB? if yes then how please guide me?


How can I Remove .DS_Store files from a Git repository?

How can I remove those annoying Mac OS X .DS_Store files from a Git repository?


I fly a lot, but never accept a mobile boarding pass as I need a decent signal to display it. My iPad allows me to save screenshots to the gallery. I find it incredibly usefull, but can't find it on my Nexus 4!!


Why is permeability of free space (in calculation of magnetic field) a non zero number?

I've been reading in Khan academy about the formula for calculating magnetic field lines (Ampere's law). Some materials have the ability to concentrate magnetic fields, which is described by those materials having higher permeability. The permeability of vacuum is $4\pi *10^-7$ , which means it can concentrate magnetic field lines. But how can nothing—no matter, energy, or force—influence or manipulate the waves passing through it (practically  through nothingness). I mean why is the permeability not 0? (This just comes out of the rigid intuition that vacuum does nothing to anything because it is nothing—ignoring the particle-antiparticle pairs or similar very distant stuff.)  As can be seen from the fuzziness of the question, I'm learning physics (not an expert) and any theoretical answer is okay but answers involving complex math like calculus or differentials are unwelcome but if it needs to be used let me be informed.


Showing that $x^n -2$ is irreducible in $\mathbb{Q}[X]$

I'm trying to show that the polynomial $X^n -2$ ($n \in \mathbb{N}$) is irreducible in $\mathbb{Q}[X]$ but am a bit stuck. Methods I know to show irreducibility:   Gauss' lemma - which says that if I can show it is irreducible in $\mathbb{Z}[X]$ then it will be irreducible in $\mathbb{Q}[X]$. This would allow me to check reduction modulo a prime.    However this doesn't work in this case, because if I reduce mod 2, then the polynomial is just $X^n$ which is reducible.  I'm also aware of Eisensteins criterion where I can check that if a prime divides all the coefficients but its square doesn't divide the constant coefficient, then it is irreducible.  None of these methods are working for this polynomial so help would be much appreciated! Also are there any general methods to look out for when trying to show polynomials are irreducible?  Thanks


mv : not found when executed from script that modifies PATH variable

I have this in my script. But is returning an error. If I execute the command in the console works fine  ./script.sh[16]: mv: not found [No such file or directory]   I want move some files what starts in T353 from one folder to another. REMOTE_PATH is /tmp/ and PATH is my working directory  cd $REMOTE_PATH mv T353* $PATH #this is the line 16   If I make mv /tmp/T353* . works fine.


I have one of those "I swear I didn't touch the server" situations. I honestly didn't touch any of the php scripts. The problem I am having is that php data is not being saved across different pages or page refreshes. I know a new session is being created correctly because I can set a session variable (e.g. $_SESSION['foo'] = "foo" and print it back out on the same page just fine. But when I try to use that same variable on another page it is not set! Is there any php functions or information I can use on my hosts server to see what is going on?  Here is an example script that does not work on my hosts' server as of right now:  <?php session_start(); if(isset($_SESSION['views']))     $_SESSION['views'] = $_SESSION['views']+ 1; else     $_SESSION['views'] = 1;  echo "views = ". $_SESSION['views']; echo '
Refresh
'; ?>   The 'views' variable never gets incremented after doing a page refresh. I'm thinking this is a  problem on their side, but I wanted to make sure I'm not a complete idiot first.  Here is the phpinfo() for my hosts' server (PHP Version 4.4.7):


Showing $f(x)=ax+b$ is a bijection for $a\ne 0$

Let $a,b\in \mathbb R$ with $a\neq 0$. We shall denote by $f_{a,b}$ the map from $\mathbb R$ to $\mathbb R$ such that $f(x)=ax+b$ is a bijection.  How can I show that $f_{a,b}$ is a bijection? I understand for something to be bijective it must be injective and surjective, so do I need to show it has those properties instead?


I have a problem with the numbering of items.  I own the items separately and do not know how to put it together, for the numbering, etc, etc.  I have several articles, and need to get an index should be done as follows                                 Contents   Name of the Article  Author of Article .......................................................Page Number  Name of the Article  Author of Article .......................................................Page Number  Name of the Article  Author of Article .......................................................Page Number  Etc, etc.  Thanks for your help


How install the latest FileZilla from its official site?

How can I install the latest  FileZilla from its official ?  I can find FileZilla from my software centre and install it. But it is version 3.24.0. While the latest is 3.25.2.  Can I upgrade the version 3.24.0 that I have already installed to 3.25.2?  I always wonder how to install from its official site, but it is not a .deb. It looks like the source files of FileZilla that you need to compile or build. But how can I do it?  Any ideas?  This is from the site but it is just not very helpful to me:     Installing on GNU/Linux and other Unix(-like) systems      It is recommended that you use the package manager of your   distribution. If you're using GNU/Linux, you can also try using the   precompiled binaries. After extracting the files to any location   (location does not matter, FileZilla can detect its own installation   prefix), you can start the program using the filezilla executable in   the bin/ subdirectory. Please note that due to differences in   distributions, the provided binaries might not work on your system.   Alternatively you can also compile FileZilla from source.


Validate inputs that are not inside a form with jQuery Validation plugin

How can I validate some inputs that are not inside a form tag?  All the samples I found have a form tag, but I want to validate some inputs that are not inside a form.


Bind to dynamically added content WITHOUT jquery?

If I'm adding a form to my page dynamically (whether through AJAX or other JS), how can I add event listeners to those elements on pageload before they exist?  I know with jquery it's fairly easy to bind to a parent element, something like this:  $(document).on('blur', 'input', function() {...})   but I'm unclear on how to do this with vanilla JS as addEventListener must be applied directly to the element itself and can't specify the parent element for which the event should propagate? (I think, right..?)


Schrödinger equation derivation and Diffusion equation

I am aware of the debate on whether Schrödinger equation was derived or motivated. However, I have not seen this one that I describe below. Wonder if it could be relevant. If not historically but for educational purposes when introducing the equation.   Suppose that we have the time dependent Schrödinger equation for a free particle, $V=0$.   $$-\frac {\hbar i}{2m} \nabla^2 \Psi_\beta = \frac {\partial \Psi_{\beta}}{\partial t} $$  As the particle moves its heat is diffused throughout space. Now consider that we consider Heat equation or in general Diffusion equation:  $$\alpha\nabla^2 u= \frac {\partial u}{\partial t} $$  Where $u$ is temperature.   Also we have particle diffusion equation due to Fick's second law.  $$D \frac {\partial^2 \phi}{\partial x^2}= \frac {\partial \phi}{\partial t} $$  Where $\phi$ is concentration.  Furthermore, probability density function obeys Diffusion equation. So as the free particle moves, the heat, the temperature, or the density is diffused.   Now we can motivate Schrödinger equation in an intuitive way. Mathematically it is describing the same diffusion.  Am I right? Have you seen more like this motivation elsewhere?


Getting a null error trying to add objects into an arraylist (simple piece of code)

currently getting the error "java.lang.NullPointerException: null" when attempting to add my Earthquake objects into my array list.   Note: I am using BlueJ to manually create and input values for my Earthquake(s).  Here is my earthquake class:  public class Earthquake {     // instance variables - replace the example below with your own     private double latitude;     private double longitude;     private double magnitude;     private int year;      public Earthquake(double latitude, double longitude, double magnitude, int year)     {         // initialise instance variables        this.longitude = longitude;        this.latitude = latitude;        this.magnitude = magnitude;        this.year = year;      }      public void storeLat (double longValue)     {         longitude = longValue;      }      public void storeLang (double latValue)     {         latitude = latValue;      }      public void storeMag (double magValue)     {         magnitude = magValue;      }      public void storeYear (int yearValue)     {         year = yearValue;      }      public int getYear ()     {         return year;      }      public double getMag ()     {         return magnitude;      }      public double getLat ()     {         return latitude;     }      public double getLong ()     {         return longitude;     } }   And here is my Observatory class which is used to create the array list and add the Earthquake objects:  import java.util.ArrayList;  public class Obersvatory {      private String ObsName;     private String ObsCountry;     private int ObsStartYear;     private double ObsLocation;     private ArrayList<Earthquake> quakes;      public Obersvatory()     {         this.ObsName = ObsName;         this.ObsCountry = ObsCountry;         this.ObsStartYear = ObsStartYear;         this.ObsLocation = ObsLocation;         ArrayList<Earthquake> quakes = new ArrayList<Earthquake>();     }      public void addQuakes(Earthquake e)     {         quakes.add(e);       }  }   I'd be grateful on any fixes / tips :)


Set up DKIM , SPF, DMARC and email sends to spam in Hotmail, gmail

I happened to setup Zimbra as our new Client , set up dmarc, dkim, spf, but even at that the webmail by default sends emails directly to spam in Hotmail  / Gmail, without even thinking twice. What could be the cause? VPS server is hosted on Digital Ocean, and Cent OS 8 is the Linux server used.


I won't be receiving a W-2. When should I call the IRS?

My employer where I worked for 2 months last year (at the end of 2015/beginning of 2016) isn't able/willing to generate W-2 for whatever reasons. I see on the IRS website that if he doesn't get back to me by Feb 14, I need to call the IRS, and they will call the employer to generate a W-2. Has anyone done this before? Also, is it really required to wait until Feb 14, as I am 100% sure he is not going to do anything about it? Can I call IRS now or after Jan 31st?  For more background, , in which I ask about the same employment period for last year's taxes.


What is one word for describing the feeling when you are "overwhelmed" from eating something rich or too sweet

Sometimes you eat something that is too cheesy or too sweet and you can't eat too much of it - not because you are full but because you feel "overwhelmed" by the taste. Is there a word that describes this feeling?


How to constrain rigid bodies to an axis?

In the game engine there is an option to constrain rigid body translations and rotations on an axis:  Is it possible to do this with the 3D view rigid body physics system?


Is it mandatory to draw more Destination Tickets when they are completed?

In TTR USA, does a player have to draw more Destination Tickets when they run out? (Meaning they've completed all the ones they started with.)    Or can they simply continue to play by extending their longest route or blocking other players?


Employee profiles are now marked with a “Staff” indicator

Starting today, all staff member accounts will have "Staff" next to their name on their user profile.  It looks like this:    For reference, it used to look like this:    We took our cue from the existing design of the "top n% overall" label which we've actually inverted for everyone (not just staff) to stand out from the others. Additionally, we've updated the moderator label from "(moderator)" to an actual label, so it's easier to see and stands out. Staff with diamonds will have both of the indicators.    Clearing up confusion to improve interactions  We've noticed a shared point of friction for users and staff alike - staff often need to post answers on meta sites to explain how a tool or feature works or to respond to bugs. This is a great opportunity for them to interact with the people asking the questions but, sometimes, not having an indicator for every employee makes these interactions more challenging than they already are.  You might say "But what about diamonds, that's used for staff"... and you'd be right, in some cases. The primary purpose of the diamond is to indicate the moderators on a site. These are non-staff users who have extra tools at their disposal and special access to information. While we gave these to staff in the past, we now only grant them to specific types of staff members who need access to these tools - generally community managers and developers.  As such, for the rest of our cohort, we have relied on them mentioning their status in their "about me" sections. This simply isn't a sustainable option both because it's easy to forget but also because it's not actually proof. Anyone can edit their profile to state they're staff.  Adding an indicator like this isn't an original idea. Y'all have been asking for a way to recognize us for years and we're so excited to be able to deliver this change:        Fortunately, we already indicate staff status at the account level, so we can use that information to add a marker to staff profile pages that anyone can see. So this update makes most of these requests !  We'll still encourage our staff to be more specific about their job title in their "about me" but this marker will let y'all quickly and easily know if the person supporting a feature or answering a bug report is staff.  I'm really excited about this change and I hope it helps smooth out interactions across the network a bit. Questions? Ask them in the answers.


Screensharing (Slack, Hangouts) Blank Screen & Cursor On Ubuntu 17.10 (Wayland)

I've been using 17.10 with the default Desktop (Gnome/Wayland) for about a week and is running very smoothly except for one thing:  I no longer can share my screen with the Slack Linux app or with Hangouts (in Chrome). The other party only sees a black screen and the cursor moving.  However if I only share a window (Hangouts) then it works.  It happens to one of my workmates as well, with a fresh 17.10 install. Used to work perfectly so far with previous Ubuntu versions.  Does anyone know what is the source of the problem and a possible solution/workaround? Or if there's a bug already reported?  UPDATE: It seems to be Wayland related as it works on X, ie. when I login to Ubuntu on Xorg session.


I have a Dell Inspiron 5583 i7 and windows 10 was running perfectly fine. I decided to switch to Ubuntu a while ago and its running fine but it takes too much time to start. The window would take few seconds while ubuntu almost takes 2-3 minutes.Is it normal?


How to find related work in academic writing in the most time-efficient way?

I noticed that, for each research project, there comes a point where I have to consult the literature, and find all the previous research related to the current project.  Unfortunately, I seem to be very inefficient in my approach. I spend a lot of time digging through papers that are really interesting, but only of tangential importance to my current work, just to find the few papers that actually do similar things. (The pile of "cool paper, read when time" just keeps growing.)  Hence, I'm wondering: What is the most time efficient way to get a thorough overview of the literature in a specific niche of a field?    While searching for an answer I came across these questions:   - This question is quite similar and I liked the approach. I debated with myself if this is a duplicate, but I think it is focused more on how to be sure the search was exhaustive, whereas I'm worried about time efficiency. (Also, I'm a bit curious if things have changed since 2012.)   - The answer provides tips on how to identify what literature generally is important in a field, but I am looking for the most cost effective (least time consuming) way to do it in an area, where I know the broad literature, but not the specifics.


What does ` (backquote/backtick) mean in commands?

I came across the following command:  sudo chown `id -u` /somedir   and I wonder: what is the meaning of the ` symbol. I noticed for instance that while the command above works well, the one below does not:  sudo chown 'id -u' /somedir


How can I downgrade from Safari 12 back to Safari 11?  I’m a blind Mac user, using Voiceover. Safari 12 has various accessibility bugs and thus I need to go back to the latest version of Safari 11.  Here’s what I’ve tried so far: restoring a previous version of my computer from a Time Machine backup. But that didn’t work, because as soon as the system restarted Safari updated automatically, before I could do basically anything.  Any other suggestions?  I’m running macOS High Sierra 10.13.6


When to use a Sigmoid function and when to use ReLu in a Convolutional Neural Network

Can someone please refer a good article explaining why we use a Sigmoid activation in the final layer of a neural network and a ReLu activation in the middle layers and input layer while building a Convolutional Neural Network? I am not getting how that results in the right output.


How do Transmute Rock and Wall of Thorns work together?

I've been reading up on druid spells for future use and was quite interested in the  crowd-control abilities of both Transmute Rock and Wall of Thorns, especially since  Transmute Rock doesn't require concentration.  Both of the spells have a similar clause   (PHB, p. 287):     A creature can move through the wall, albeit slowly and painfully. For every 1 foot a creature moves through the wall, it must spend 4 feet of movement.    (XGtE, p. 169):     The ground in the spell’s area becomes muddy enough that creatures can sink into it. Each foot that a creature moves through the mud costs 4 feet of movement,   So my question is, if they were cast together, would a single feet of movement costs 8 feet of movement(or possibly 16) instead of 4? One could argue that WoT mentions solid ground, but you could make the mud only 5-10 feet deep while the thorns are 10-20 feet high.  I also have a side-question to this, if they did work together, would you rule it to be difficult terrain or would there be the need for a third spell like  to turn the terrain difficult? Or would the mud already be considered the terrain and therefore it wouldn't be possible to actually turn the terrain any more difficult.


Exponential speedup of Grover's algorithm?

This question was inspired by the following reference:    We use the usual notation.  $N = 2^n$ ,  the number of all possible n-bit strings . The oracle  $U_\omega$ can be put in the form    $U_\omega=I - 2  (\vert\omega\rangle\langle\omega \vert )$  $U_\omega$ is a reflection of any vector on the hyperplane orthogonal to $\vert\omega\rangle$  The vector $\vert s \rangle $ and operator $U_s$ are introduced.   $\vert s \rangle = H^{\otimes n} \vert 0 \rangle^{\otimes n}$ , where $H^{\otimes n}$  is the n-qubit Hadamard transform.   Operator $U_s$ reflects any vector with respect to $\vert s \rangle$  $U_s = 2\vert s \rangle \langle s \vert - I$      The Grover iteration is $U_{Grover} = U_s U_\omega$  $U_{Grover}$ rotates (at every iteration) the initial vector $\vert s \rangle$ towards the desired vector $\vert\omega\rangle$ by the angle $2\theta$, where $sin\theta =  \frac{1}{\sqrt{N}}$  We note that a reflection is expressed by a unitary matrix. That means that the operator defined below is represented by a unitary matrix, therefore a quantum circuit can be designed in order to implement this operator (Edit. This statement was proven false by the answer to this question).    We define the operator:  $U(\vert x \rangle , \vert y \rangle  ) = ( \vert x \rangle , U_x \vert y \rangle) $  , where  $U_x \vert y \rangle$ represents the reflection of $\vert y \rangle$  with respect to $\vert x \rangle$  In the following relations the vectors  $\vert \xi_i \rangle$ are implicitly defined based on the action of the operator U.  We consider the following sequence of transformations (based on the definition of the operator  U):  $U(\vert s \rangle ,  U_\omega\vert  s \rangle  ) = (\vert s \rangle ,  U_sU_\omega \vert s \rangle) = (\vert s \rangle , \vert \xi_1 \rangle )$  $U(\vert \xi_1 \rangle ,  U_\omega\vert  s \rangle  ) = (\vert \xi_1 \rangle ,  U_{\xi_1}U_\omega \vert s \rangle) = (\vert \xi_1 \rangle , \vert \xi_2 \rangle )$  $U(\vert \xi_2 \rangle ,  U_\omega\vert  s \rangle  ) = (\vert \xi_2 \rangle ,  U_{\xi_2}U_\omega \vert s \rangle) = (\vert \xi_2 \rangle , \vert \xi_3 \rangle )$  .......................and so on..........................  $U(\vert \xi_{n-1} \rangle ,  U_\omega\vert  s \rangle  ) = (\vert \xi_{n-1} \rangle ,  U_{\xi_{n-1}}U_\omega \vert s \rangle) = (\vert \xi_{n-1} \rangle , \vert \xi_n \rangle )$  In other words, the vector to be reflected is fixed but the reflection axis is variable (in the original Grover algorithm it's the other way around ).  At every step  K of the algorithm above  the initial vector $\vert s \rangle$ is rotated towards the desired vector $\vert\omega\rangle$ by an angle which is at about $2^K\theta$ (as order of magnitude ), where $sin\theta =  \frac{1}{\sqrt{N}}$.  That means that this algorithm will only need about  $log_2 N$ (as order of magnitude ) steps  to reach the target.  Question 1. Can a quantum circuit be designed, that implements this algorithm, in principle ?  Question 2. Does this algorithm present an exponential speedup,  when compared to Grover's algorithm?  Edit. Unfortunately nothing from what  I tried seems to work. You need a quantum circuit that takes as input the vector to be reflected and the vector that represents the reflection axis. The output of the quantum circuit must contain the reflected vector. That does not seem possible,  as far as I understand. This reflection implementation problem,  if ever solved,   would lead to an exponential speedup of Grover's algorithm.


How do you add an ActionListener onto a JButton in Java

private JButton jBtnDrawCircle = new JButton("Circle"); private JButton jBtnDrawSquare = new JButton("Square"); private JButton jBtnDrawTriangle = new JButton("Triangle"); private JButton jBtnSelection = new JButton("Selection");   How do I add action listeners to these buttons, so that from a main method I can call actionperformed on them, so when they are clicked I can call them in my program?


Prove $\sum^{n}_{i=1}\binom{n}{i}i=n2^{n-1}$ using binomial and induction

Can anyone help? I've got to prove  $$\sum^{n}_{i=1}\binom{n}{i}i=n2^{n-1}$$  using binomial first and then induction.


Can I install Windows 7 after Installing Ubuntu?

I already installed Ubuntu ; I'm attempting to install Windows 7 but I cant because my hard drive is a  different file system format.  Steps I've Tried   I attempted to format part of my disk to make room for Windows 7, but on the list of partitions in the Ubuntu Installer I can't change the partition type to Primary.  As such it's impossible to install Windows 7. I also tried to run my Windows 7 ISO image using Ubuntu   Since I can't figure out the proper install order, I thought I'd start by asking here.  I also have 3 extra hard drives, so if anyone can help I'd appreciate it.  Is there any way for efficiency sake to have Windows 7 one click away, say for example to open Ubuntu and run the Windows 7 installer on a different disk?  Is it possible to do it this way, if not what is the correct way?  Thanks


After a few hours I am about to give up on finding a kind of documentation for the QGIS Python API that actually works/gives the correct information. It is obvious that there is no actual code documentation besides the one for the C++ API which differs from what works in Python. Ok, there is the help()-function, too, to get information about classes which is more than ust tedious to use. As an entry point, I thought I could use the tutorials/cookbook: . Even simple things like adding features does not work the described way in the current QGIS Version 2.4.0-Chugiak (there is no addFeature-function for example).  I wonder how working with the Python console and writing plugins makes sense under such unfavorably conditions.  What sources can actually be used to lookup and learn the Python API for QGIS for current versions?


8gb RAM usage almost 100% with nothing running

I've a problem recently with my PC. The RAM usage is always almost 100% no matter how many apps it's running. The problem appears these days and before nothing was wrong.  I'm using windows 10, my ram is the HyperX 8 GB 2133 MHz DDR4 (HX421C14FB/8) and my MOBO is the MSI Gaming M3 (MS-7978).  Task manager screenshots while only google chrome (to write this question) was open but it's the same when there is no app running:


I wounder how I could use an alias in a where statement.  Example :  SELECT SUBSTRING(Column1, 1, 4) + SUBSTRING(Column1, 4, 3)  AS Col1 FROM MyTable WHERE Col1 = 'MySearch'   I use MSSQL 2005


Which expression is correct? "I've already started working on it" or "I've already started to work on it"

today i attended an interview. The employer told me that I should know some skills about the job. Today I am going to start to work on those skills. Now, I am writing a "thank you for the interview" letter to him. I want him to know that I just started to work on those skills. It's like, "You mentioned that you need an assistant who has strong drafting discovery/letter skills. I have already started working on it/I have already started to work on it." Which one is correct? Thank you.


windows 10 is not starting and booting partion empty

Im Windows 10 user. Today it stopped suddenly and stopped booting. I prepared Window 10 rescue pen drive and boot from it. I did automatic fix (no results) plus entered 3 commands from rescue console:  bootrec /RebuildBcd bootrec /fixMbr bootrec /fixboot Exit   but still no good results.  When I re-entered rescue console I found that disc C is empty (no files) but it's almost full (70 MB free of 1 GB disc).  How to restore booting and data?;) THanks;).  Update 1: disc has been connected to other machine with windows 8 and partition is visible there. I will do backup and try solution proposed by Tim.


What is the difference between argument and parameter in python perspective [not duplicate :) ]?

I heard that argument means the method arguments, ( for example in below code)  def abc(a, b):     pass  c = 2 d = 3 abc(c,d)   a and b are arguments and c and d are parameters. Correct me if I am wrong?  Then in the below code   def abc(c=1,d):     pass   The error message is:     SyntaxError: non-default argument follows default argument   And also in below code  def abc(a,b):     pass  abc(a=1,2)   The error message is:     SyntaxError: non-keyword arg after keyword arg   In both error messaeges, 'no-default argument follows default argument' and 'non-keyword arg after keyword arg', why there is no mention of paramter?   It caused the confusion to me many times with both the error messages so aksing this question. Is there any specific reason for error message to be like this. and also could you let me know how to remember the correct error message corresponding to that error. Thank you.


What is the real meaning of length contraction?

Suppose one inertial observer measures a rod at rest w.r.t. him and another observer is moving w.r.t. rod. We then say that length will be shorter for moving observer but at the instants the first observer is measuring the length, the second observer doesn't even get the length of the rod, he just gets distance between two points in space after Lorentz Transformations because simultaneity is a relative concept. So how is it a length contraction in literal sense? Isn't it a misnomer ?


Moving pacman from root to /home partition

Back before I knew what I was doing, I installed my Arch system with a 10 GB root and an 85 GB /home partition. Now my 10 GB root (where my pacman installs to) is full and I'm unable to get gparted running on my computer (it's a mac) to resize because my CD-ROM drive isn't working.  Is there an easy way to set my system up so that pacman installs and runs from my home partition where there is plenty of room?


Will (for certainty) and Going to (for evidence)

According to my grammar, when we talk about predictions, "will" can be used when we are certain something is going to happen and "going to" for evidences. I think that when we are talking about evidences, we are certain something is going to happen. Am I not right?  When the forecasters forecast the weather, I believe they use "will". Well, they are almost 100 sure and they say this because they have some evidence about this because of the satellites and stuff. So why not "going to"?   When I am 100 % sure about predictions, I use "going to" and when about true facts I use will.     Look at the sky. It looks as if it's going to rain.      His birthday will fall on August 12th.


How to easily resize images via command-line?

I would like to know how to resize images in Ubuntu. What is the easiest tool to do so?


Different Session Ids in Different contexts

I'm dealing with quite an unusual issue here, and was wondering if anyone had figured this out.  I'm trying to implement an OAuth flow from one salesforce instance to another (any other). And one of the issues I've run into is if the other instance has the same instance url of the "origin" instance. Everyone's encountered this, when you login to the other instance, you'll be logged out of the original one.  So, to try to get around this, I'm trying to use the frontdoor.jsp () method.  So I'm passing in the UserInfo.getSessionId() in the "state" param, and my pass-through application (hosted on heroku) is forwarding the request back through frontdoor.jsp using the session id passed through.  Now, I was getting a really hard time getting this to work, but what I ended up noticing is that for each context, I was getting different output from the "UserInfo.getSessionId()" call. Not all of them worked when passing through frontdoor.jsp. Here's a summary of the different places I tried it:   Printing Session Id out to a visualforce page:  Didn't work when passing this value through frontdoor.jsp  Print session id in debug log from VF controller  Same session id as #1, still didn't work for frontdoor.jsp.  Print session id in developer console:  Different session id from the VF page, but this one worked on frontdoor.jsp.  Print session id from a trigger:  Yet another different session id, but worked with frontdoor.jsp  Printed from "Execute Anonymous" in Eclipse  Yet another session Id, but also worked with frontdoor.jsp.    So what I need to know is this: how do I get the "proper" session id that works with frontdoor.jsp when I'm in the context of the Visualforce controller?


Will two charging cables charge my laptop twice as quickly?

Now that the MacBook has all of its ports the same, is it possible to plug in two power cables into the Mac?   If I do so, will it charge twice as quickly? In the event that the Mac is unable to allow that amount of current in at once, is there a mechanism to limit how much is allowed in, or else cut it off entirely?


Cross-validation for mixed-effect logistic regression?

I would like to use cross-validation to test how predictive my mixed-effect logistic regression model is (model run with glmer). Is there an easy way to do this using a package in R? I've only seen cross validation functions in R for use with linear models.


I'm using some code I found here on stackexchange to count words in a LaTeX document. I'm using TeXLive on a Mac and using XeLateX to produce the pdf document. It produces a pdf, but with an error message, and longer documents fail to produce the correct pdf.  Here's a minimal document:  \documentclass{article}  \usepackage{xesearch} \newcounter{words} \newenvironment{wordcount}{% \setcounter{words}{0} \SearchList!{wordcount}{\stepcounter{words}}     {a?,b?,c?,d?,e?,f?,g?,h?,i?,j?,k?,l?,m?,     n?,o?,p?,q?,r?,s?,t?,u?,v?,w?,x?,y?,z?} \UndoBoundary{'’-} \MakeBoundary{„“‚‘–} \SearchOrder{p;}}{% \StopSearching}  \begin{document} \begin{wordcount}  Here are some words.  Here are some more words.  \end{wordcount} \end{document}   Here's the error message:  ! Undefined control sequence. <XeTeXinterchartoks> \xdef \xs@String {\xs@String e} l.20 Her e are some words. The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.   I have XeTeX version 3.14159265-2.6-0.99996 (TeX Live 2016), and the most recent xesearch version available in the TeXLive utility (0.1). This worked fine when I was using Tex Live 2014 version, but so many things have been updated now I don't know where to start figuring out what the problem is.


If using the surface of the earth as a reference point how much work is needed for gravity to pull me to the center. Is it negative infinity or am I wrong? Also is a single value of potential meaningless. Does it represent anything? Do you at least need a potential difference for it to represent work done? I'm extremely confused about potential and potential energy.


Faster-Than-Light Communication using Entangled Photons

Based on my understanding of the “Double-Slit Quantum Eraser Experiment”, documented here: , it seems that Faster-Than-Light communication is possible.  Of course, this violates the “no-communication theorem”, so I assume it’s due to a misunderstanding on my part.  In the experiment, changing whether the polarization of the ‘p’ photon is erased or not changes whether or not interference patterns appear for the ‘s’ photon.  Suppose Alice and Bob generate many entangled photons and then travel to opposite sides of the galaxy, Alice taking the ‘p’ photons and Bob taking the ‘s’ photons.  At a predetermined time Bob releases his photons one by one into a double slit setup as in the experiment.  If he sees an interference pattern, he knows that Alice must have “erased” the polarization information on her corresponding ‘p’ photons, and if not that she has instead measured it.  Of course, even stranger situations are possible.  The fact that the ‘s’ photon in the experiment showed interference patterns when the ‘p’ photon was going to be erased, but hadn’t been yet, makes me think that photons can retrieve information from the future.  For instance, measuring the ‘s’ photon and detecting interference patterns or not, while the ‘p’ photon is bouncing around in some system, waiting to have its polarization be either erased or measured depending on the result of some future event, like an election result.  If the ‘s’ photon shows an interference pattern, then you would know the result of the electron (or know that forces beyond your control erase the information for some other reason).  I’d be very appreciative if you could clear this up for me.  My search online has not been fruitful, since the only similar questions I’ve seen just say something like “When you have entangled photons, measurements on one member of the pair cannot tell you anything about whether the other member has been measured or not.”, which seems to be contradicted by the above experiment.  Thanks!


Is the time dilation suffered by clocks in GPS satellites accurate to what is predicted by special relativity? By "accurate" I mean to ask if the numerical answer given by relativity equations match exactly with the actual time dilation suffered by satellite clocks?


On my Windows 7 computer, I had noticed that one of the four CPUs was running around 100%, spending ±25% of my PCs CPU. As the number was slightly changing, I knew that it was not an infinite loop, so I started investigating.  Using standard Windows task manager, I saw that the process which was doing this, was a "svchost.exe" process. Following its process ID (PID) to the "Services" tab, I could derive that the "netsvcs" Windows service group was responsible. In order to know which of the subscribed services was responsible, I started up "Process Explorer" (a third-party extended task manager), which led me to the "wuauServ" Windows service. I have stopped it and the CPU dropped immediately, so I've found the service, causing the issue.  Now I would like to go further: the Windows Update service (wuauServ) seems to have problems (hence the high CPU), but nothing seems to be written to the event log (at least not to the "Windows Logs/Application" event log).  Does anybody know how I can find out what is causing the high CPU load of the Windows Update Service?  Thanks in advance


Desktop section of gnome-tweak-tool missing lock screen wallpaper options

In , the answer shows this menu:   However, I don't see the 'Lock Screen' section. I'm trying to change the 'Adjustment' setting for my lock screen wallpaper.  Was this removed? If so, how do I edit this setting?


How to mount TV in old drywall or plaster wall

I'm trying to mount my TV in the wall but it's proving to made much more complicated than expected. My house is from 1908 and has been through multiple renovations. The drywall seems old, and the studs are not laid out using modern standards (e.g. 16" on center). I've tried hollow wall anchors but they ground through the plaster. Any ideas?


I have a requirement to send emails to external users using apex code , but the email limit is 5000 per day using single email messaging class.   I am using a batch job to send email , but before I get the number of records to whom I need to send email I want to know how much is the email limit left for today. Is there way to query the limit in apex code to check how much email limit is left for a day?


Python regex only returning one result when DOTALL used

I am trying to return a heap of image URLs and want to include every character, such as new lines, in my findall function. However when I used the DOTALL flag and use .* in my regex, I go from having plenty of results, to only one. If anything using .* in the regex code should provide more results not less, because I am saying 'I will allow zero or more of any character here'.  The below code is without the .*  It can be run in IDLE or another Python editor and it will return a heap of image URLs.  from urllib import urlopen from re import findall import re  dennisov_url = 'https://denissov.ru/en/' dennisov_html = urlopen(dennisov_url).read()  watch_image_urls = findall('<img src="([^"]*)', dennisov_html, flags=re.DOTALL) print watch_image_urls   This code below is WITH the .* between the word 'image' and the word 'src', which should have no real effect, yet it only returns one URL this time.   from urllib import urlopen from re import findall import re  dennisov_url = 'https://denissov.ru/en/' dennisov_html = urlopen(dennisov_url).read()  watch_image_urls = findall('<img.* src="([^"]*)', dennisov_html, flags=re.DOTALL) print watch_image_urls   Can someone tell me why it is doing this and how I fix it?  EDIT: Above is just an example code that I have made simpler to explain my situation. The code below is my actual code along with the comments detailing what I want it to do. If you open the main URL and inspect the code you will see that there are many images between   from urllib import urlopen from re import findall import re  dennisov_url = 'https://denissov.ru/en/' dennisov_html = urlopen(dennisov_url).read()  # Print all images between div class="grid" and div class="orderplacebut" # Because the regex spans over several lines, use DOTALL flag to include # every character between, including new lines watch_image_urls = findall('<div class="grid"*?<img src="([^"]*)*?<div class="orderplacebut"', dennisov_html, flags=re.DOTALL) print watch_image_urls   EDIT: This is the response I got from my professor.  "Apart from this, the strategy you're using to try to match the image URLs can't succeed because the "grid" div class appears just once on the web page (at least when I view it in Firefox) and you seem to be trying to (a) match the start of that class and then (b) get all the images appearing inside it.  This is a very hard (I suspect impossible!) thing to do with a single regular expression because you're "anchoring" the pattern to the start of the class, which prevents you from separately matching each of the figures inside it.  Because the start of your pattern above only appears once in the web page, only one pattern can ever be returned!  (The problem is not to do with "greedy" matching.)  Instead you want to match just the figure URLs and as little of the surrounding HTML as possible.  For instance, it's easy to get all the patterns that end with ".jpg".  So as you can see, this question was not about greedy vs non-greedy regex, and was not the same as the duplicate question that was flagged.


I'm using Fedora 17.  I was backing up some files to a USB key.  I was foolish and used the Move command instead of copy, and before the directory I was moving completed I accidentally yanked the usb key from the port.  The USB key is now empty, and the directory I moved is no longer on my hard drive.  Does anyone know if I can recover from this?  Is there a temporary directory that houses moved files?  Thanks!


Why are Icon Overlays (from 3rdParty-Apps) not showing up in the Win8 Explorer?

These wonderful icon overlays that give you useful information in the Windows Explorer are not showing up.   It's the most annoying with Dropbox (I already read ). I just tried reinstalling Dropbox - no help. I have this problem also with the  so I don't think that it is a dropbox problem specifically; and something is wrong in my OS. The OS is actually a pretty fresh clean-install...  OS: Win8 Pro 64-bit.


I'm running Mongodb on AWS EC2 instance. Data/log/and journal are stored in a separate volume, formatted as xfs. Currently we are stopping the mongodb instance to take a snapshot, but reading this:  apparently there is no need to stop the service during the snapshot since journal is enabled. Am I correct? Can I create consistent snapshot even if the service is running?


I am trying to get the image id (which is at the end of the src link, right before file type) from this html but for some reason the regex I've written isn't working. Accessing document object in not an option in this case which is why i need regex for it. Any help would be appreciated thats what I have so far but its failing at sizes check const imgRegX = /
]*>\s*<img alt="?" sizes= "?"/g; Here is how the string looks:


This question has been asked before but answers didn't work that well for me. I am making a animation at 720p on Cycles i3-7 gen , NVidia Geforce 940mx, I have enabled both of them in CUDA. I am focused on something between quality and time My scene has  Volumetrics, disabled refractive caustics tile size is 256 X 256 light bounces set to around 4-5 volumetrics to 7 samples sampling to 100 enabled blender's optix denoiser and a simple composition node tree  Still it renders a single image in 15-20 minutes and my animation is around 430 frames. Any further ways to reduce render time? The image is of the scene render from EEVEE to give a idea what it looks like, the purple flame was removed


Matching characters in different languages

Is this a right way to check for characters (both English and non English characters like umlauts in German and others)?  var alphabet = /[A-Za-z \u00C0-\u1FFF\u2C00-\uD7FF]/g;


Value of $\sin (2^\circ)\cdot \sin (4^\circ)\cdot \sin (6^\circ)\cdots \sin (90^\circ) $

How can I calculate the value of    $\sin (1^\circ)\cdot \sin (3^\circ)\cdot \sin (5^\circ)\cdots \sin (89^\circ)$ $\sin (2^\circ)\cdot \sin (4^\circ)\cdot \sin (6^\circ)\cdots \sin (90^\circ)$   My solution: Let $$A =  \sin (1^\circ)\cdot \sin (3^\circ)\cdot \sin (5^\circ)\cdots \sin (89^\circ)$$  $$B =  \sin (2^\circ)\cdot \sin (4^\circ)\cdot \sin (6^\circ)\cdots \sin (90^\circ)$$  Now $$ \begin{eqnarray} A\cdot B &=& (\sin 1^\circ \cdot \sin 89^\circ)\cdot (\sin2^\circ\cdot \sin 88^\circ)\cdots(\sin 44^\circ\cdot \sin 46^\circ) \cdot \sin 45^\circ \\ &=& (\sin 1^\circ\cdot \cos1^\circ)\cdot (\sin2^\circ\cdot \cos 2^\circ)\cdots(\sin 44^\circ\cdot \cos 44^\circ)\cdot \sin 45^\circ \\ &=& \frac{1}{2^{44}}\left[\sin(2^\circ)\cdot \sin (4^\circ)\cdots \sin(88^\circ) \cdot \sin (90^\circ)\right]\cdot \frac{1}{\sqrt{2}} \\ &=& \frac{1}{2^{\frac{89}{2}}}\cdot B \end{eqnarray} $$  Which implies that $$B\cdot \left(A-2^{-\frac{89}{2}}\right) = 0$$  So $A = 2^{-\frac{89}{2}}$ because $B\neq 0$.  But I do not understand how can I calculate the value of $B$. Can we calculate these values using complex numbers?


Confusion for specifying rel="canonical" for pages

I read  & , but I am still confused. That's why I plan to ask here, Please confirm me with your answer.  My doubt is I have two pages: GridViewPage.php & ListViewPage.php having same content. So according to this in which page I have insert this code <link rel="canonical" href="which url I should put here"/>.  And for opening GridViewPage.php page URL looks like: http://example.com/article/show/abdominal-exercises/abdominal-crunch/79/87/list/.  & for opening GridViewPage.php page my URL looks like: http://example.com/article/show/abdominal-exercises/abdominal-crunch/79/87/grid/.  Note: 79/87 are the dynamic database table id's.


INSTALLING UBUNTU 12.04 fro already downloaded file (installing with pendrive)

I have got this file downloaded:  ubuntu-12.04.4-desktop-amd64.iso   I have a 64 bit OS and want to install ubuntu 12.04 on it alongside win 7 (which I already ahve on the PC)  I have a Pendrive. how do I install ubuntu using the already downloaded file (given above) and a pendrive?


How to fix ftps connection refused issue while connecting with filezila

I have configured FTPS in a linux machine but when i am trying to connect through ftps in filezila below error is coming.   Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server". Error:  Could not connect to server


Distance of nearest zero of an analytic function

Prove that the distance of the nearest zero of the function $f(z)={\sum}_{s=0}^{\infty}\: c_nz^n$ to the point $z=0$ is not less than $\frac{r|c_0|}{M+|c_0|}$, where r is any number not exceeding the radius of convergence of the series, and $M(r)= \max\limits_{|z|=r}|f(z)|$.  I followed the hint to first establish that the function $f(z)$ has no zero in the domain where $|f(z)-c_0|<|c_0|$. The next hint is to estimate  $|f(z)-c_0|$ using Cauchy's inequality. But, I am getting $|c_0|<M$ using that inequality and unable to proceed further. Please suggest the way forward. Thanks.


How to restore Windows 7 MBR without a CD

I have been playing with Ubuntu for a few weeks now, and I'd like to revert my computer back to it's original - factory - defaults.   On the computer I have a recovery partition (it's a netbook). I went through the process of recovery and everything seemed fine. However, when I restart the computer I'm presented with   grub rescue >   Now, my understanding is that when I installed Ubuntu "side by side" it replaced the MBR or something like it, with GRUB.   I've read on a slew of forums, that I need to use a Windows Recovery Disk.   Here are my issues:   a) I don't have a recovery disk, I have a recovery partition - it's a netbook. b) I don't have an external cd drive.   What I do have is a USB key that has about 1gb of space on it.   Thanks in advance.


Keras model fit: validation_data vs validation_split

I would like to clear my doubts about these 2 parameters: validation_data and validation_split of the Keras' fit() method, whether I'm using them in the right sense. Here's how I go about splitting my data set (two scenarios). 1.) I split the whole dataset into 80% train and 20% test. Keeping this 20% test set for evaluation, I then fit the model on the train, setting validation_split=0.2 essentially saying take 0.2 (20%) of the train and use it for validation. In the end, I then evaluate my model on the 20% test split (imagine this as newly collected data). 2.) In the second experiment, also splitting the whole dataset into 80% train and 20% test, I fit the model setting validation_data=test i.e. validating on the 20% test split. Then at last, I evaluate the model on this same 20% test (again..!). But it seems to me that in the second experiment I'm just mixing up things. The model was validated on this test during the training phase and then evaluating again on it... Does that make sense? Overall am I using these parameters validation_data and validation_split of fit() in the correct sense? I have the doubt that validation_split can only be used in a k-fold cross-validation scenario. Please explain.


I am using following stored in sqlserver, I can't figure out to pass array in this stored procedure. The array is exactly in this format from c# code ABC,DEF or i can write string abc = "ABC,DEF";  ALTER PROCEDURE [dbo].[BookedChemicalsLists]         @RigNameValue VARCHAR(50) = null AS BEGIN       SET NOCOUNT ON;           SELECT *       FROM [BookedChemicals]       WHERE AND (RigName IN (@RigNameValue,',') OR @RigNameValue IS NULL ) END


Show that for $|z|<1$, one have $$ \frac{z}{1-z^2}+\frac{z^2}{1-z^4}+\cdots+\frac{z^{2^n}}{1-z^{2^{n+1}}}+\cdots = \frac{z}{1-z} $$ and $$ \frac{z}{1+z}+\frac{2z^2}{1+z^2}+\cdots+\frac{2^k z^{2^k}}{1+z^{2^k}}+\cdots = \frac{z}{1-z} $$ Use the dyadic expansion of an integer and the fact that $2^{k+1}-1=1+2+2^2+\cdots+2^k$.


Dirac's remark that inspired Feynman when formulating path integral

When Feynman was trying to formulate  of quantum mechanics, he was inspired by Dirac's remark which roughly states that $e^{i\frac{S}{\hbar}}$corresponds to the transition amplitude, where $S$ is the action.   I'm wondering what was Dirac's original argument behind this statement.


It seems like this question gets asked a lot but with everything I have come across I was not able to figure out how to solve me problem.  I have 3 figures side by side in a tabular environment and I want to be able to shift all 3 figures to the left in order to fit them on the page (right now the figures go off the page to the right).  I am using the article format so there is plenty of white space to the left of the figures that I would like to utilize.  here is my latex code  \begin{figure}[htbp]   \centering   \begin{tabular}{ccc}                                                                \includegraphics[scale=0.35]{MEAInitialProb1.pdf}&                     \includegraphics[scale=0.35]{MEA10Prob1.pdf}&                  \includegraphics[scale=0.35]{MEA20Prob1.pdf}                                  \end{tabular}   \caption{Caption}   \label{fig:Prob1:MEA} \end{figure}


How can I show double numbers (for example iii, 5/229) as in this  book


I am currently studying binary classification modeling, and have observed that two target classes are typically used to encode target labels: 0/1 or -1/1. Why are there two encoding classes and what are the pros and cons of each?


I set /usr/bin, /usr/lib, and /usr/share to be owned by my regular user and now I am getting interesting errors

After running this command - sudo chown -R $(whoami) usr/{lib/node_modules,bin,share} I am not able to run sudo anymore: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set. How do I fixed that?  I read  but I am not sure what advice to follow and if it's applicable to my case.


Why is thrombin time (TT) normal range longer than prothrombin time (PT)?

Reference range for the TT is longer than that of the PT.


How to deal with a very incorrigibly naughty 5-year-old who?

My 5-year-old has been an absolute nightmare. He hits his 2-year-old sister and blames it on her, argues back saying "no way" all the time, and will not do as he is told to.   He keeps having major tantrums all the time. He gets up at 5 in the morning, gets a chair, climbs up and starts rummaging the cupboard. I'm worried that it's a bit dangerous.   I have tried just about everything: the 123 magic system, time out on a naughty step,  taking away his favourite toys for a while. But he just laughs it away. A few days later, after telling him off for his bad behaviour, he promises never to repeat that but goes on to do the same things over and over again.   I am just about at the end of my tether as nothing seems to be working and my 2-year-old girl is now starting to take up some of his nasty habits.   How can I possibly deal with such an incorrigibly naughty 5-year-old?


I tried to insert the "is incomparable to" (or "equal and parallel to") symbol to my equation. So, I tried the solution supplied by Wikipedia (). But I got a compiler error (missing $ inserted)  Any comment, suggestion is welcome Thanks in advance


I'm trying to highlight certain sections of code in a minted structure, but a certain line just doesn't want to compile with any type of formatting. When I try to use the escape characters and apply any type of formatting (tried colorbox, soul highlighting and bold/italics) to line 8 of the code sample, I get what is shown in the image. \begin{minted}[ frame=lines, framesep=2mm, baselinestretch=1.2, bgcolor=black, linenos, escapeinside=|| ]{cpp} infostream<<"Ban:"<<m_banfilepath; std::ostringstream ss(std::ios_base); for(std::map<std::string,std::string>     ::iterator         i = m_ips.begin();         i != m_ips.end(); i++) {     |\textbf{ss<<i->first<<"2"<<i->second<<"/n";}| } if(!fs::WriteTo(m_banfilepath, ss.str())) {     infostream<<"Ban failed:"<<m_banfilepath;     throw SerializationError("BanM::load()"); } m_modified = false; \end{minted}


How to create python bytes object from long hex string?

I have a long sequence of hex digits in a string, such as      000000000000484240FA063DE5D0B744ADBED63A81FAEA390000C8428640A43D5005BD44   only much longer, several kilobytes.  Is there a builtin way to convert this to a bytes object in python 2.6/3?


Interpretation of Importance score in Random Forest

Can I interpret the importance scores obtained from Random forest model similar to the Betas from Linear Regression?  For example, if I have an equation  $$ y=\alpha +\beta_1X_1 + \beta_2X_2,$$  a 1 unit change in $X_1$ is associated with a $\beta_1$ unit change in $y$. Does a similar analogy hold for Importance score?


Convert MySQL record set to JSON string in PHP

Is there a function or class in PHP that I can pass a MySQL recordset and I get a JSON string returned that can be passed back to a JavaScript function in an Ajax request?  something like this:  function recordSetToJson($recordset) {  while($rs1 = mysql_fetch_row($recordset)) {   for($count = 0; $count < count($rs1); $count++) {    //  read and add field to JSON   }   $count++;  }   return $jasonstring }


Using a 3.3V MCU (Arm) to control reset pin of a 5V MCU (AVR) without a level shifter

On my PCB I'm trying to avoid a level shifter chip. So is it possible to connect my ARM CPU's GPIO pin (which runs at 3.3V) to the reset pin of the AVR chip?  I was thinking of setting the ARM GPIO pin to either low (to reset) or to set it to tri-state (let it float) and let the internal pullup of the AVR take it out of reset...  Do you see any issues with this?


I have searched far and wide after a solution, but haven't found one that works.  The most prominent ones looks like:   and   My relevant setup is:  \documentclass[a4paper,11pt,oldfontcommands]{memoir} \usepackage[colorlinks=true]{hyperref} \usepackage{natbib} %\bibliographystyle{agsm} \bibliographystyle{myabbrvnat} \newcommand{\myand}{\&\ } \setcitestyle{authoryear,aysep={},open={(},close={)}} \begin{document} In the book (Book Name) such and such is told to be true \citep{RefWorks:}. \bibliography{cource} \end{document}   with my source.bib-file looking like:  @book{RefWorks:1      author={John Johnson},      year={2015},      title={Book Name},      publisher={Publishing Company},      address={United States of America},      edition={1st},      isbn={XXX-X-XXXX-XXXX-X} }   Probably the reason why some of the suggestions that I have found won't work is the \bibliographystyle{myabbrvnat}. I can't remember where I found it, but it's to setup my bibliography the way I need it. Is that important? If needed to be posted, where can I post the text, since it goes over the character limit here?  I know there is a "sort of" solution, where I can make a citation aliasing like \defcitealias{RefWorks:1}{Book Name} and then insert it in the text like \citetalias{RefWorks:1} to give the title of the source. It's fine, but it's not what I'm looking for, because then I would need to set this up for my whole library, which would get tiresome.   Is there a way to setup a \cite+-type to give the title of a source?  Edit: I forgot to put hyperref package in my setup.


Suppose $\Omega$ $=$ $\Bbb N$. Verify that the following set of subsets of $\Omega$ is an algebra: $\mathcal A$ $=$ $\{$ $A$ $\subset$ $\Bbb N$ $:$ $A$ is countable or $A$$^c$ is countable $\}$


The  and  spells mention:     If you can communicate with the creature, you can direct it not to   attack, to attack particular enemies, or to perform other actions.   In that situation, what exactly is "communicate"? Do you need to speak the same language? If the summons is intelligent enough, can you use gestures (e.g. pointing toward a specific enemy you want it to attack) or similar nonverbal communication? Can you use someone else as a translator?  An answer from RAW would be appreciated, or at least something as RAW as possible.


How do I re-add "free space" partition back into a single drive?

I created a 75gb partition to run Bootcamp but don't use it. I removed the partition through directions that said it would go back to a single disk. It did not. I now have 75gb of "free space" that is inaccessible.  When looking at it in terminal it doesn't show that this free space exists. I've already tried reformatting the 'free space' as a MacOS (Journaled) but it wont stick. I Apply the changes and then try to quit disk utility and it tells me that my changes wont be saved if I leave. I apply again. same results. Terminal looks like this:    Any Help would be awesome. Thanks I just want to play fortnite...


Monty Hall Problem involving 5 doors and probability tree

I recently came across a Monty Hall problem involving 5 doors. You are participating in a contest. There is one car behind five doors. After you select a door, the host will open three of the four remaining doors that do not contain the car. You are now left with two options. Do you stay with the original door or switch to the unopened door? And how would you explain your answer by drawing a probability tree for this scenario?


If $x \leq y \leq z$, and both sides of the equation are defined, then $\frac{\sin x + \sin y + \sin z }{\cos x + \cos y + \cos z} = \tan y.$

Show that if $x$, $y$, and $z$ are consecutive terms of an arithmetic sequence, with $x \leq y \leq z$, and both sides of the equation are defined, then  $$\frac{\sin x + \sin y + \sin z }{\cos x + \cos y + \cos z} = \tan y.$$    I have no idea how to even start this problem, I'm stuck.  Solutions are greatly appreciated.


(!potential spoilers for people who haven't played) In the Witness, how do I solve this puzzle?

I'm terrified to Google this and I would appreciate if anyone could answer this as gingerly and spoiler-free as possible because I'm not very far in the game and I'd like to experience all of the puzzles on my own. I take exception with this particular quandary because I've spent the last 30 minutes feathering the thumbstick ever-so-slightly in every direction, trying to get this thing to activate, and it won't do it.  I'm getting varying degrees of sparks when I click in the circle, but I can't seem to line it up properly. Is there a different (maybe higher?) perspective that I am supposed to activate it from? Does the circle on the right-hand side need to be fully closed (ie: no chunk cut out in the middle)? Or is it more important that the circle is as circular as possible? The amount of sparks on the various attempts seems to indicate that the latter is more important, but about 300 attempts haven't sealed the deal, and I'm starting to question my sanity :p  Thanks in advance for your help :) The game is really great so far!! I was grinning like a buffoon when I discovered the first symbol for the black obelisks; I thought the game consisted entirely of the little panel puzzles.


Changing stroke color after live trace using a sketch

I am a beginner trying to learn Illustrator and this is really driving me crazy.   I have a picture of a caricature of my grandmother.  I want to make it editable and change the colors so I can put it on a t-shirt.  I have already cleaned up the image in Photoshop and filled the lines onto an empty layer. I placed the PSD into Illustrator, live traced the image, expanded it, and ungrouped it.   Everything goes fine until I try to change the stroke color. No matter what I do, it will only change to shades of gray.  I think what I want to do is called "converting hand-drawn sketch to vector" but I'm not sure.


No Surname in indian passport and given name is considered as last name in E ticket for an international flight

I have booked tickets for my parents to visit Mauritius for a week and my mom's passport (given name is xxxx) doesn't have surname, so in the e-ticket form her name has been printed as "Mr xxxx". I have spoken to the travel agency and Air Mauritius, but didn't get any information regarding the issue.  Can anyone please tell me if there might be a problem boarding the flight?  I am very anxious right now since its their first international flight.


This is annoying, I want this:    to become this:    I really hate the thumbnail, I want it everything in one folder without folder in folder...


How can I block all traffic *except* Tor?

On a Linux system, is there a way to block all in and outbound traffic unless it passes through the Tor network. This includes any form of IP communication, not just TCP connections. For example I want UDP to be completely blocked since it cannot pass through Tor.  I want this systems Internet usage to be entirely anonymous, and I don't want any applications leaking.  I realize this might be complicated because Tor itself needs to communicate with relay nodes somehow.


More than an intermediate but less so than an expert

What is a word for a person with more expertise (in certain field) than an intermediate but less so than an expert?


When I tried to access my laravel after successfull updation, instead of the default page it shows an error in the webpage.  Mcrypt PHP extension required.    I have tried some fixes like this,  sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini ln: failed to create symbolic link ‘/etc/php5/apache2/conf.d/20-mcrypt.ini’: File exists sudo service apache2 restart


Are all group homorphisms of the reals also linear transformations?

Is $Hom_\mathbb{R}(\mathbb{R},\mathbb{R})$ (linear transformations) = $Hom(\mathbb{R},\mathbb{R})$ (morphisms of abelian groups)? No hypothesis of continuity is assumed.  Obviously $Hom_\mathbb{R}(\mathbb{R},\mathbb{R}) \subseteq Hom(\mathbb{R},\mathbb{R})$.


E: Sub-process /usr/bin/dpkg returned an error code (1) error when trying to fix with apt

This happens when i want to install a package      Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  libxml2-dev:i386 : Depends: libxml2:i386 (= 2.9.4+dfsg1-8ubuntu3) but 2.9.10+dfsg-1ubuntu3 is to be installed  libxslt1-dev : Depends: libxml2-dev (>= 2.6.26) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).   then when i run apt --fix-broken install the output is:  (Reading database ... 540117 files and directories currently installed.) Preparing to unpack .../libxml2-dev_2.9.10+dfsg-1ubuntu3_i386.deb ... Unpacking libxml2-dev:i386 (2.9.10+dfsg-1ubuntu3) over (2.9.4+dfsg1-8ubuntu3) .. . dpkg: error processing archive /var/cache/apt/archives/libxml2-dev_2.9.10+dfsg-1 ubuntu3_i386.deb (--unpack):  trying to overwrite shared '/usr/bin/xml2-config', which is different from othe r instances of package libxml2-dev:i386 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/libxml2-dev_2.9.10+dfsg-1ubuntu3_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


Lost badges in Stack Overflow account when added a new login, OpenID

I had a total of 10 bronze badges when I had only one login using my company ID, but once I added my personal email ID for login, I just got the badges count in Stack Overflow reset to 7; today it got incremented to 8. But surprisingly reputation has not been affected.  It's just getting screwed up. Any idea how to get my badges back?


Sensible public transport from Melbourne Airport into city center during rush hour?

I'm flying into Melbourne, Australia first thing in the morning in a few weeks.  At that time of the morning (rush hour, I assume) a taxi would be madness. What's the most cost efficient form of public transport from there to the city center?


My iPhone is no longer on I'm using it as an iPod for now but I cant connect to the wifi ; like the wifi is greyed out. I restarted and rest it , it's not on air plane mode or anything. How do I fix my phone?


I am running a live CD with Ubuntu 16.04 and I am trying to create a persistent image on a usb.  I have tried everything, but nothing is working.  I am on a Toshiba satellite c-50 b.   Please help, it is important.


Show that all simple modules of ${M_n}{(D)}$ are isomorphic to $D^n$, where $D$ is a division ring.

I am trying to solve part (c) of the following Representation Theory question:  Let $D$ be a division ring and let $n$ be a positive integer. For $ 1 \leq l \leq n $ let $$C_l= \{A = (a_{ij}) \in {M_n}{(D)} : a_{ij} = 0 \text{ for } j \neq l \} .$$  (a) Show that each $C_l$ is a simple submodule of ${M_n}{(D)}$.  (b) Deduce that ${M_n}{(D)}$ is a semisimple ring.  (c) Also deduce that all simple modules of ${M_n}{(D)}$ are isomorphic to $D^n$.  Now, I have already managed to show (a) and (b), but I am struggling with (c) and specifically with defining a homomorphism. Any help with (c) would be a great benefit, thanks.


How to render SQLite table data in a fragment of tabbed activity using List view

I am trying to display the table data from SQLite database onto the activity_main.XML. Everything went well. When I am trying to display the same table data onto a fragment of a tabbed activity, I am getting the errors.  I am new to the SQLite database and tabbed activity.  The three fragments are named fragment_one.xml,fragment_two.xml,fragment_three.xml.  I want the SQLite data to be displayed in fragment_two.XML.  The GitHub link for the source code is given below     Could you please help me to solve this issue.


The code for reference is this  @article{matcontcl,  title= {MATCONT and CL MATCONT},  author = {A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and  B.Sautois},  year = {2006},  journal = {Continuation toolboxes in matlab}, }   This is the error that follows  This is BibTeX, Version 0.99d (TeX Live 2015/W32TeX) The top-level auxiliary file: PropuestaInvestigacion.aux The style file: abbrv.bst Database file #1: biblio.bib Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1049 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1049 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1090 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1090 of file abbrv.bst (There were 4 error messages)   How could I fix it?


Audacity could not find a safe place to store temporary files (installed via snap)

In Ubuntu 18.04, Audacity is in a loop, where no matter what location I type into the dialog, it keeps saying  Audacity could not find a safe place to store temporary files. Audacity needs a place where automatic cleanup programs won't delete the temporary files. Please enter an appropriate directory in the preferences dialog.


Breaking of a local symmetry is impossible, so what "discrete remnant global symmetry" is the SM-Higgs breaking?

Breaking of a local symmetry is impossible. It is often said that therefore the role of the Higgs mechanism in the standard model is a different one.   ,     Once a gauge is fixed, however, to remove the redundant degrees of freedom, the remaining (discrete!) global symmetry may undergo spontaneous symmetry-breaking exactly along the lines discussed in the previous chapter. The phrase "spontaneous breaking of local gauge symmetry" is therefore in some sense a misnomer, but a convenient one, if we think of it as a short circumlocution for "spontaneous breaking of remnant global symmetry after removal of redundant gauge degrees of freedom by appropriate gauge fixing".   Or here's a similar statement from a :     But is the gauge symmetry actually broken spontaneously? In the above exposition of the Higgs   mechanism, there were two instances when a symmetry was broken. First, when we selected one   minimum out of infinite amount of equivalent minima, a spontaneous breaking indeed took place, but   only of a global symmetry. This minimum represents a vacuum, and in order to perturbatively describe   the quantum field theory, we need to quantize the fields. Quantization of gauge field theories requires   introduction of a gauge-fixing procedure, and during this procedure we break the gauge symmetry by   hand, explicitly, not spontaneously. Thus, the two notions, EWSB and SSB, are in certain sense correct,   but they do not refer to the same symmetry. [...] As Englert says in his Nobel lecture [54]: “… The vacuum is no more degenerate and strictly speaking there is no spontaneous symmetry breaking of a local symmetry. The reason why the phase with nonvanishing scalar expectation value is often labeled SSB is that one uses perturbation theory to select at zero coupling with the gauge fields a scalar field configuration from global SSB; but this preferred choice is only a convenient one.   What global symmetry are they referring to? (I find it extremely strange that they don't specify the allegedly broken global symmetry.)


I have a problem with something in abstract algebra. The problem is the following:  Prove or disprove that the mapping $\theta: \mathbb{C} \to \mathbb{C}$ defined by $\theta(a+bi)=a-bi$ is a ring isomorphism.  I know that it should be an isomorphism. I know how to show that the mapping is one-to-one, and I know how to show that the mapping respects both addition and multiplication as defined in $\mathbb{C}$. But how would you clearly show that $\theta$ is onto?  Thanks in advance for any help!


A group with no proper non-trivial subgroups

There is a lemma that says if a group $G$ has no proper nontrivial subgroups, then $G$ is cyclic. And here is the proof of the lemma:     Suppose $G$ has no proper nontrivial subgroups. Take an element $a$ in $G$ for which $a$ is not  equal to $e$. Consider the cyclic subgroup $\langle a \rangle$. This subgroup contains at least $e$ and $a$, so it is not trivial. But $G$ has no proper subgroups, so it must be that $\langle a \rangle = G$. Thus $G$ is cyclic, by definition of a cyclic group.   But here i do not understand the following: Why must $\langle a \rangle$ be a subgroup of $G$? For every single element $a$ in $G$, if $\langle a \rangle$ is a subgroup of $G$, then every group should have at least as many subgroups as the number of its elements. I would appreciate any help. Thanks


I'm applying to PhD programs in departments with very little funding, especially for their grad students. I've also read that it would help my application if I could subtly mention that I wouldn't need funding.   Is this true and if so, how can I possibly do this in a "subtle" way? I've spent quite a long time in the private sector and am able to self-fund if necessary. None of the apps have a "proof of funding" form and it's not like I can attach evidence of an external scholarship. I'm not exactly keen on sharing tax returns or savings accounts.   Thank you for any advice!


Finding the correct units for the energy-momentum tensor?

I'm trying to understand the energy-momentum tensor $T^{\mu\nu}$ but I'm confused about the units. My textbook says the components of $T^{\mu\nu}$ are $\mathrm{Jm^{-3}}$. Four-momentum is is given by$$P^{\mu}=\left(E/c,\mathbf{p}\right)=\left(E/c,p_{x},p_{y},p_{z}\right)$$  The $E/c$ component of $P^{\mu}$ has units $\mathrm{Jsm^{-1}}$. The definition of $T^{\mu\nu}$ is “the rate of flow of the $\mu$ component of four-momentum across a surface of constant $\nu$.” Using this definition, how do you get the rate of flow of the $E/c$ component of four-momentum across a surface of constant time (ie the $T^{00}$ component) to have the correct units of $\mathrm{Jm^{-3}}$? Surely you need to multiply $E/c$ by something with $\mathrm{s^{-1}m^{-2}}$ units, but what exactly?  Thank you


When I try to update:  sudo apt-get update W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. Also every time that I get new updates from Software & Updates it fails. How can I work to fix this issue?   And I'm not sure how to fix it using  solution.


I want to be able to run the pm-suspend and pacman without sudo to ask me for a password for all users in the group sudo.  I added the following line to my /etc/sudoers configuration following :  %sudo ALL= NOPASSWD: /usr/bin/pm-suspend /usr/bin/gnome-session-quit   But it doesn't work.  What am I doing wrong?


Is it possible for a non-piecewise, non-gif function to have a value at a point but not be continuous at that point? (Eg. at x=2, f(2) exists, but the function is not continuous at x=2). Please provide a suitable example.


What is the purpose of upgrading your Jumpship?

Is there any point to upgrading/changing your jumpship in Destiny?  I only have the initial ship at the moment, however I have seen other players during loading screens with other ships of different styles.  Is there any statistical/tactical advantage to this or is this purely cosmetic?