How to create a Facebook page without a personal account

In the past, Facebook used to let business create pages or apps without a personal account. This account created in the page/app creation process had limited capacities and could be switch to a full personal account after—if needed (irreversible).  But today, if I want to create a page for a new brand, without having a Facebook account, it seems I can’t anymore. And I can’t find any communication from Facebook regarding this change.   Anybody has any info? Is it still possible (in a new way maybe)?


How can I mark a user as undesirable for me?

That is if a user saves up, for example, 3 my dislikes under his posts, all his posts will be marked for me as undesirable.


Postfix -- auto blacklist senders who send to 'honeypot' email addresses

I'm using postfix + spamassassin (amavis) now and I'm trying to increase my hit rate, so I've been looking at the logs to try to see any patterns in email that is obvious spam but gets low scores.  One thing I've noticed is I'll get a series of emails from the same sender to email accounts on my domain. If any of the recipients are to specific very old, closed accounts then the series of emails is almost certainly spam (but not all of my closed email accounts are good for this).  So what I'd like to do is create a auto-generated black-list (that I can edit) or spamassassin rule for senders who send to these specific email addresses. I know it wouldn't stop everything, but once they hit the tripwire email accounts they would be stopped.  Does anyone know of something that already exists that does this (I've looked, but maybe not with the right search terms), or can point me in the right direction as far as building a solution myself?


Moving entire Linux installation to another drive

I have Ubuntu 14.04 with a lot of packages and work related stuff that I am very happy with it. It is installed on my main SSD drive which is a 120GB one (I had choosen "/" when I installed ubuntu, so I beleive everything should be on this drive). It shows up as /dev/sda  Now I have added another SSD to my computer which is a 240Gb. I do not have any other storage media at hand at the moment (e.g. external hard drive).   Since the new 240GB drive has obviously more capacity and is faster (a newer generation than my 120GB one), I want to move my Linux to this new drive. This new drive shows up as /dev/sdb and at the moment it is not formatted or anything (I have literally unpackaged and inserted in my PC right now :P)  How can I safely move my linux installation to the new drive?  I can change the SATA cable so the new drive shows as /dev/sda if necessary.  This is the output of "fdisk -l" if that helps:  Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00076d7a     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   226064383   113031168   83  Linux /dev/sda2       226066430   234440703     4187137    5  Extended Partition 2 does not start on physical sector boundary. /dev/sda5       226066432   234440703     4187136   82  Linux swap / Solaris  Disk /dev/sdb: 240.1 GB, 240057409536 bytes 255 heads, 63 sectors/track, 29185 cylinders, total 468862128 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000  Disk /dev/sdb doesn't contain a valid partition table


How much damage can the targets of Sculpt Spell still take?

Recently, I had to make a ruling that did not completely sit with me. The party's Evocation Wizard tried to cast a fireball on top of the party and claimed that due to their Sculpt Spells ability, nobody in the party took any damage. I looked up the definition from the rulebook which states this:  Beginning at 2nd Level, you can create pockets of relative safety within the effects of your Evocation Spells. When you cast an Evocation spell that affects other creatures that you can see, you can choose a number of them equal to 1 + the spell’s level. The chosen creatures automatically succeed on their Saving Throws against the spell, and they take no damage if they would normally take half damage on a successful save.  I interpreted this as simply stating, sculpt spells means creatures he chose, at MOST take half-damage (due to automatically succeeding saving throw) and IF they actually succeed on their saving throws, they will take NO damage. I felt like otherwise Evocation wizards will have absolutely no qualm in nuking their parties to take out enemies co-located with them with no penalty and with no limited resource. However the player who's wizard it is obviously counter-argued my approach. Is there some official guidance somewhere I missed on this issue?


I have dual booted Ubuntu 16.04 on a windows laptop. I have been using it for a week now. All of a sudden while I was working on Ubuntu it just blacked out and when I tried switching back my laptop on it's going directly to Windows.   I did check the BIOS menu and it doesn't show any sign of Ubuntu there.  And furthermore, time setting on my Windows has been messed up too.   I don't know if this matters but my battery was in critical mode while I was working but it still had some charge left.  Any help is appreciated. Thank you.


How did Stark's autonomous suits come back in Iron Man 3?

In Iron Man 3, all of Stark's autonomous suits were destroyed in the helicopter attack, how then did they reappear again in the end?


In any post there are three attributes:   Asked  Viewed Active   What is the meaning of the active in a post?


Which is the best practice in C# for type casting?

Which method is best practice to type casting and checking ?  Employee e = o as Employee; if(e != null) {  //DO stuff }   OR  if(o is Employee) { Employee e = (Employee) o;  //DO stuff }


How to Remove UAC Icon Overlays (Blue-Yellow Shields) in Windows 7

Over some of my program shortcuts and install files, there is an uac icon overlay (blue-yellow shield) and I find them really ugly. Is there any way to get rid of them please?  Edit  I closed UAC to see if overlays go away or not. Now it's open. But maybe there is a way to remove them without closing the UAC like removing shortcut arrows in this question:


How can net potential energy for a charged particle be 0 but still have a net electric field

Im studying charged particle and i recently came up with a question that stated that a charge was released from a position in which had no electric potential but however accelerated due to a electric field, this puzzles me as the question later said that the after the particle accelerated it came to a stop infinity far away and there must be a force acting in the opposite direction for this to happen. How can this be true why does it stop and why does it have 0 energy at the end of its journey and what is this force that makes it come to a stop?


Explaining why a composition of a harmonic function and a Mobius transform is harmonic

I'm not sure how to actually show/explain this. I only recall learning harmonic functions being functions that satisfy Laplace's Equation.    Let $f(z)=\frac{1+z}{1-z}$ for all $z\in\mathbb{C}\backslash\{1\}$. a) Show that $f$ maps $\{z\in\mathbb{C}:|z|<1\}$ onto $\{w\in\mathbb{C}:\mathrm{Re}(w)>0\}$. b) Explain why $H\circ f$ is harmonic in $\{z\in\mathbb{C}:|z|<1\}$ if $H$ is harmonic in $\{w\in\mathbb{C}:\mathrm{Re}(w)>0\}$.    I've done $(a)$ by simply inverting $f$ and using the condition that $|z|<1$. However, I'm not sure how this is used (if it is) in part (b).


Usually I use tail -f /var/log/messages to get updates if there are new lines.  How to have the similar functionality for journalctl?


From what i know,  is assigning as hashCode the memory address of the object.   And, obj1 = obj2 returns true iff the obj1 is obj2, i.e., they're sitting at the same memory location.   However, the following code executes the "else" part-- not the "then" part of the if-stat which is what i expect:  String h1 = "heya";  String h2 = new String ("heya"); System.out.println("hashCodes "+h1.hashCode()+" "+h2.hashCode());   if (h1 == h2)          System.out.println("yeah - the same ");   else System.out.println("nope-- difft objects ");     What am i missing here?  TIA.


Pretty new with salesforce dev. So forgive me.  I am doing a SOQL query and then updating records.  The trick here is . I am grabbing my query from two custom fields which are in the Custom Settings .  My code works fine records are getting queried and updated.  I am having big trouble in making test class for this  .  Help is appriciated  .  Here is my Apex Class  -    public with sharing class textInputsConsecond implements Schedulable   {   public list<Lead>  quo{get;set;}    public void execute(SchedulableContext ctx){     quo= Database.query(Lead__c.getInstance().Database_Query__c +     Lead__c.getInstance().Database_Query2__c);    for(Lead ldt :quo){    //Update those leads with new owner ID    ldt.OwnerId = '00G3B000001hp6VUAQ';      }     update quo;  }  }   Here is the screenshot of my Query in the Field in custom settings  -    So my query is basically Database Query field + Database Query2 Field


Connected Subspace lies entrirely in $X$

Hi i am reading Topology by Munkres and i have one doubt at the last line of lemma 23.2. It is written that  Hence Y must lie entirely in C or in D.  I can't understand the above quoted statement. Everything else i was able to understand . I am attaching the screenshot where the lemma and its full proof is illustrated and i have highlighted the above statement(that i was not able to understand).The theorem's statement reads as: If the sets C and D form a separation of X, and if Y is a connected subspace of X, then Y lies entirely within either C or D.


Export commands works in interactive mode, but produces error message in script

I need to export an environmental variable to run a program. I am able to successfully do that in interactive mode. However, when I try to export an environmental variable as part of a bash shell script, I get this error message:   export: Command not found.   In interactive mode, when I type in the following command, it works.   export GT_DIR=/cluster/home/SD/   But when I include the export command as part of the shell script, it does not work. I.e.,   #!/bin/bash  export GT_DIR=/cluster/home/SD/    I get the error message:   export: Command not found.    When I type in echo $SHELL, I get   /bin/bash   Why  is the export command working in interactive mode but not when I try to submit it as a script?


Foolproof way to ensure Google news pulls the correct image for its thumbnails?

Google news results have an acompanying thumbnail next to articles that show up in the results.    If Google's crawler can't find a thumbnail to pull from our site, it uses its next best guess from another site, therefore linking the image to another site but still uses our headline.  Example:  Headline from Reuters, Image from Livemint:   Our pages absolutely have images, they are not massive in file-size or dimensions, yet we are not having them pulled / crawled correctly.  We have read up on the suggestions from Google, and from others around the web and nothing is panning out.  Has anyone had any experience where they can ensure Google news will pull a thumbnail of our choosing?


Constructing a c++ object in a specific memory location

I am trying to run the constructor/default initializer of a class on a specific memory location.  I am trying to use pooling so I have allocated memory (with malloc) for the object and I have the address of where I would like to go.  I just don’t know how to run the constructor of the object on that void* location.  Is this possible?


There's something wrong with my desktop. Yesterday, I was using my laptop (Toshiba Satellite L655) as usual. I have Ubuntu 14.04 LTS installed, and everything was ok. I never had any problem before. But today, when I woke up and turned on my laptop and logged in to my account, it displayed nothing except for the background. No menu, files, nothing. It just shows the background.   Please help me. Thanks.


Question text disappears when I go to edit it

In order to preserve this state, please don't commit any edits to this question.  The question  begins with the text, "Hi All", but the editor strips seems to strip it out:  Post: Editor:  Are greetings stripped from posts automagically nowadays? Or is this a bug that the text differs?


import java.util.* ;  class Main {     public static double op(String operation, double number1, double number2) {         double x = 0;         if (operation == "+") {             x = number2 + number1;         }         else if (operation == "x" || operation == "*") {             x = number1 * number2;          }         else if (operation == "/" || operation == "÷") {             x = number1 / number2;          }         else if (operation == "-") {             x = number1 - number2;          }         else {             System.out.println("Error: Please re-execute the program and try again!");         }         return x;     }      public static void main(String[] args) {         Scanner input = new Scanner(System. in );         System.out.println("Please enter a number...");         double x = input.nextDouble();         System.out.println("Please enter an operation.... +, -, /, *");         String y = input.next();         System.out.println("Please enter your other number...");         double z = input.nextDouble();          System.out.println(op(y, x, z));      } }   I want this function to return the correct value when the operation is performed. However, it always returns 0 the initial value assigned. Please help!!!


I've been using Windows for ages on my computer. I would like to upgrade to Ubuntu by replacing my Windows. I'm not sure whether my computer can run 13.10 . My specs are below:   System: Microsoft Windows XP Professional Version 2002 Service Pack 2 Computer: Intel(R) Celeron(R) CPU 2.53 GHz 2.53 GHz, 1 GB of RAM Display adapter: Intel(R) 82845g/gl/ge/pe/gv graphics controller v.6.14.10.4342   I have some 3 GB of virtual memory too.


Return row with the max value of one column per group

I am having a hard time doing this without searching the same table at least twice in order to grab the max row, and then grab the value for that row. The table in question is quite big so this is unacceptable.  Here is what my table might look like:  SCORES ID    ROUND    SCORE 1     1        3 1     2        6 1     3        2 2     1        10 2     2        12 3     1        6   I need to return the score that each ID got in the most recent round. That is, the row with the max (round), but not the max score.  OUTPUT: ID   ROUND   SCORE 1    3       2 2    2       12 3    1       6   Right now I have:  SELECT * FROM  (SELECT id, round, CASE WHEN (MAX(round) OVER (PARTITION BY id)) = round THEN score ELSE NULL END score  FROM  SCORES  where id in (1,2,3) ) scorevals WHERE scorevals.round is not null;   This works, but is pretty inefficient (I have to manually filter out all of these rows, when I should just be able to not grab those rows in the first place.)  What can I do to get the right values?


Gnome: Prevent turning off screen when locked

I am using Ubuntu 17.10 with gnome shell, and want my monitors to stay alive when screen gets locked.  Background: It's a Notebook connected to external monitors which need ages to wake after every time they get black. Locking is necessary and needs to happen after an idle time and manually, so Caffeine is no option.  Any hints on how to achieve that behavior? Possibly an extension?


Bluetooth not finding my devices (Ubuntu 20.04.1 LTS)

I cannot find my bluetooth devices (headphones or mouse) when scanning with my laptop after installing Ubuntu. Can't find using terminal, [bluetoothctl] or with Bluetooth Manager. I used these exact devices with this laptop when it was running Windows 10, but after installing Ubuntu, it will no longer detect these bluetooth devices. Below are outputs to commands requested by others who had a similar problem. $ lsusb; dmesg | egrep -i 'blue|firm' Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 04f3:21d5 Elan Microelectronics Corp. Touchscreen Bus 001 Device 002: ID 0a5c:6410 Broadcom Corp. BCM20703A1 Bluetooth 4.1 + LE Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. Integrated_Webcam_HD Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [    0.135795] Spectre V2 : Enabling Restricted Speculation for firmware calls [    0.205620] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [    2.541258] Bluetooth: Core ver 2.22 [    2.541273] Bluetooth: HCI device and connection manager initialized [    2.541275] Bluetooth: HCI socket layer initialized [    2.541278] Bluetooth: L2CAP socket layer initialized [    2.541280] Bluetooth: SCO socket layer initialized [    2.619994] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27) [    2.669873] Bluetooth: hci0: BCM: chip id 102 [    2.670867] Bluetooth: hci0: BCM: features 0x2f [    2.686877] Bluetooth: hci0: akilakas-XPS [    2.687870] Bluetooth: hci0: BCM (001.001.005) build 0000 [    2.688016] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2 [    2.688017] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found [    2.720000] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.Dell Inc.-XPS 15 9550.txt failed with error -2 [    2.720023] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2 [    3.226327] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43602/1 wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c [    3.453028] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [    3.453030] Bluetooth: BNEP filters: protocol multicast [    3.453033] Bluetooth: BNEP socket layer initialized [    4.414972] Bluetooth: RFCOMM TTY layer initialized [    4.414978] Bluetooth: RFCOMM socket layer initialized [    4.414982] Bluetooth: RFCOMM ver 1.11


Is the Wndows 10 installed on pre-built desktop lost if I choose to erase disk when installing Ubuntu?

I have just bought a new HP 290 G3 Small Form Factor pre-built Desktop. Instead of dual-booting, I would like to erase the disk to install Ubuntu as the hard disk is not that big and I would like to save the space for storing a Windows OS. Have used Ubuntu for a few years, from 14.04 to 20.04 and I have never needed to switch back to Windows although I have dual-boot settings in my previous PC. The only concern is that with new hardware, I am not 100% sure if Ubuntu supports all the hardware and just in case if I need to switch back to windows, is there a way I can reinstall the windows that come with the pre-built PC? If yes, any preparation I will need to do before I install the Ubuntu?


What are those non-glass/non-transparent window called? just wooden doors for windows?

Do you guys know what those windows (like the ones on medieval castles) are called?  They are non-glass, non-transparent, wooden-doors pretty much; in other words, there are wooden doors on the opening of the wall... I've been looking around for awhile, but can't find the word. The picture is  Thanks for taking the time to assist.


I am reading David Fraleigh, A first course in Abstract Algebra, and they mention in one of the questions about $<R^*,•>$ my questions is, what does $R^*$ denote?  Edit: some context The question is to show $<U,•>$ is not isomorphic to either $<R,+>$ or $<R^*,•>$ where they are all groups. I am not asking for how to do it, I'm just not sure what the notation means


Why can words with hyphen char not be hyphenated?

Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why?    why isn't it something like this:    where the small ticks indicate possible hyphenation points. A technical (TeXnical) explanation is welcome.   BTW: I am not asking how to circumvent this (by using the babel shorthand "= for example).


Solve a differential equation and evaluate the solution at a particular value of independent variable

If $\frac{dy(x)}{dx}=(2-3i)y(x)$ where $i=\sqrt{-1}$, what is the value of $y(\pi)$?


Story about an alien baby that has to get to its spaceship before it dies

A baby is born, self aware, in a cave on an alien planet. He knows he has to get to the spaceship that brought his people to the planet or else he will die due to the quick passage of time on the alien planet.


$\rho g h$ and shape of container inconsistency?

The Scenario  Suppose I have a cylindrical beaker and a conical flask (which cross-sectional area is bigger at the bottom), each located on an identical digital weight scale. Both of them have the same area, $A$, at the bottom and both are weightless. I fill both of them with identical fluids so that the height of the fluid in each container is the same. Obviously, the conical flask will require less to do so. Assume equal atmospheric pressure and gravity.   The Inconsistency  According to hydrostatics, the pressure at depth $h$, independent of the container shape, is: $$P(h)=\rho gh + P_0$$  where $\rho$ is the density of the fluid and $P_0$ is the atmospheric pressure at the fluid surface. Both the cylindrical beaker and the conical flask have the same fluid height; therefore, both should have the same pressure at the bottom, regardless of their shape. Since they have the same area at the bottom, the force exerted on the weight scale should be equal ($F=PA$). Therefore, the weight scales should register the same weight for both the cylindrical beaker and the conical flask.   This is impossible, since the amount of fluid in each container is significantly different (approximately by a factor of $3$).   The answers to this  says that the additional weight of an inverted conical flask is due to the forces acting on the walls. However, I don't believe that it is possible for the water to act an upward force on the walls and thus lift the container upwards.  How does one explain this inconsistency?


I am trying to get QGIS to work with the Anaconda distribution of Python but I do not know how to get this to work. In an  to  it was mentioned that QGIS does not work with Anaconda and I wanted to double check this, just in case there have been any updates in the last few months. If it is possible to do so, could you direct me a resource that explains how one can go about doing this? I am using Windows 7 (64 bit) with conda 3.7.1 and python 2.7.6.


How to read Dirac notation (without algebra)?

I have no idea how to read Dirac notation.   $$\left|↑↑ \right\rangle \tag{1}$$ $$\left|↑↓\right\rangle+\left|↓↑\right\rangle \tag{2}$$ $$\left|↑↓\right\rangle-\left|↓↑\right\rangle \tag{3}$$ $$\left|↓↓\right\rangle \tag{4}$$  What do the above expressions mean? Can you explain this in terms of the superposition?  Note: I am a sophomore in high school and have no linear algebra background. I am taking a science research course on quantum computing. Obviously, Dirac notation pops up a lot, but I don't know how to read it or tell what it is saying.


Why are Lat/Lon Coordinates often displayed as Lon/Lat in data sets?


How to prevent DC motor from dropping voltage of supply when switching on

I have a circuit which uses an ATtiny85 output to a transistor (S9013), which will trigger a relay that controls a motor.  The reason for the transistor to relay is because I do not have a transistor that can take the current of the motor, so I am isolating it with a relay.  While I can purchase all these, it will take time to ship.  Here is the circuit:   SCHEMATIC NOT UPDATED, I HAVE A DIODE GOING ACROSS THE MOTOR, AND A 100uF CAPACITOR GOING ACROSS THE VCC AND GND TO SMOOTH OUT THE VOLTAGE (have also tried 100nF).  Everything works if I don't connect the motor OR if I isolate the motor with its own power source.  The issue now is that when the motor is switched on, there is a massive voltage drop and the ATtiny85 will reset. Here is a waveform of the motor trying to turn on three times:    Is there a way to prevent this drop or at least reduce it to a point where the ATtiny85 won't reset? I'm thinking wire up a simple voltage regulator but not sure if the added complexity will introduce other issues. I also know I can go out and buy a motor or voltage regulators but let's avoid that option.  EDIT: so as per the answer, a diode (cathode at +ve, anode at VCC) was added between +ve and VCC, assuming that there is a capacitor connected in parallel with the ATtiny85 (+ve end at VCC, -ve end at GND). Theory is that the cap gets charged while the motor is off to VCC. When the motor turns on, it's going to drop that voltage down to below VCC and the diode is going to be reverse-biased and prevent any conflict from the supply to going into the ATtiny85. The capacitor can now freely discharge into the ATtiny85 without the supply affecting it (without the diode, supply will average capacitor down faster than if it would just discharge alone). For reference, the bulk capacitance value I used was 100uF.


I need to test a bunch of test classes. The test runs are collecting in a huge list so i do not get an overview anymore. Is there any way to clear this list?    Debug -> Clear seems not to work with this view.    And under Test i can't find any useful option for that:    Any ideas?


Throttling in JS (Functional Programming - scope of variable question)

I was following a tutorial on throttling and this was the code the guy used. However I am unable to understand how the code functions. Shouldn't last be set to zero every time we call throttle? const throttle = (fn, delay ) => {     let last = 0     return (...args) => {         const now = new Date().getTime();         if(now-last<delay){             return;         }         last=now; //how does this work - wouldn't last be set to zero the next time the function runs?          return fn(...args)     }    } document.getElementById('myid').addEventListener('click',throttle(()=>{     console.log('you clicked me') },5000))


I did compilation in VisualStudio2013 for the following code. I have a class in a layer_factory.hpp like  namespace caffe {      template <typename Dtype>     class Layer;      template <typename Dtype>     class LayerRegistry {      public:          typedef shared_ptr<Layer<Dtype> >(*Creator) (const LayerParameter&);          typedef std::map<string, Creator> CreatorRegistry;           static CreatorRegistry& Registry();      }  }   I define Registry() in layer_factory.cpp as  namespace caffe {     template <typename Dtype>     static LayerRegistry<Dtype>::CreatorRegistry& LayerRegistry<Dtype>::Registry()     {         static CreatorRegistry* g_registry_ = new CreatorRegistry();         return *g_registry_;     } }   When I compile, I got errors as   Error   23  error C1903: unable to recover from previous error(s); stopping compilation C:\SOFTWARES\Visual_Studio_Workspace\caffe\src\caffe\layer_factory.cpp  23  1   caffe Error   20  error C2065: 'Dtype' : undeclared identifier    C:\SOFTWARES\Visual_Studio_Workspace\caffe\src\caffe\layer_factory.cpp  19  1   caffe Error   19  error C2143: syntax error : missing ';' before '&'  C:\SOFTWARES\Visual_Studio_Workspace\caffe\src\caffe\layer_factory.cpp  19  1   caffe Error   22  error C2509: 'Registry' : member function not declared in 'caffe::LayerRegistry'    C:\SOFTWARES\Visual_Studio_Workspace\caffe\src\caffe\layer_factory.cpp  23  1   caffe Error   21  error C2923: 'caffe::LayerRegistry' : 'Dtype' is not a valid template type argument for parameter 'Dtype'   C:\SOFTWARES\Visual_Studio_Workspace\caffe\src\caffe\layer_factory.cpp  19  1   caffe   What could be wrong with this code? Thanks


$$\int_{-\infty}^{\infty}  \int_{-\infty}^{\infty}  f(x,y)\ dx\ dy= \int_{-\infty}^{\infty}  \int_{-\infty}^{\infty}  f(x,y)\ dy\ dx$$  Can we freely change the order of double indefinite integrals? Could you provide proof?


What rules make “Remember me, who am your friend” grammatical?

An acquaintance recalled this specific example from an English textbook, but it is jarring to my native ear. Is this an example of prescriptive grammarians gone wild?


I have a situation where I'd like to add a list of names in an array and use it in an SQL query.  How I do it:  $names = implode(',', $names); $sql = "DELETE FROM product WHERE name NOT IN ($names)";   This works ok if I use id (but I can't do that here). Problem is - name can have a comma in it (i.e. - benchpress rack, blue) and that breaks this query. Is there a way to bypass this issue?


As shown in the figure, what the difference between :=, ?= and = I did a quick search without find out a good answer. Appreciate it.


How to make a list of all possible permutations?

Is there a function that generates all the permutations of a list of lists, while keeping their orders? For example: func([[1, 2, 3], [10, 20, 30]])  produces: [[1, 10], [1, 20], [1, 30], [2, 10], [2, 20], [2, 30], [3, 10], [3, 20], [3, 30]]


Why is get.sobject('Id') method appending a 3-char string?

I am creating a custom DML Log in our Salesforce sandbox, and I created a Class & method that fires based on an Apex Trigger Here's the class:  public class Util {  public static void logDmlDeleted(Sobject[] sObjList) {     DML_Log__c[] logInsList = new List<DML_Log__c>();     for (Sobject sobj : sobjList)        logInsList.add(new DML_Log__c(SObject_Type__c = sobj.getSobjectType().getDescribe().getName(),                                                 Name__c = (String) sobj.get('name'),                                  SObject_Id__c = (String) sobj.get('Id')                                  ));      insert logInsList;      } }   The SObject_Id__c was an addition I added to record the Id of the sObject. It looks like this is working, except for the fact that there is an additional string of characters randomly appended: 'MAU'.   Here's a standalone sObject String Id:     a0HJ0000007yBdQ   And here is how that Id is written to the DML Log field:     a0HJ0000007yBdQMAU   How can I adjust the statement in the method so only the string's virgin Id is passed into the field?


Why is a random walk not a stationary process?

In the book Analysis of Financial Time Series by Rue Tsay, I read:     A time series $\{p_t\}$ is a random walk if it satisfies $p_t = p_{t−1} + a_t$    where $p_0$ is a real number denoting the starting value of the process   and $\{a_t\}$ is a white noise series. If $p_t$ is the log price of a   particular stock at date $t$ , then $p_0$ could be the log price of the   stock $a_t$ its initial public offering (IPO) (i.e., the logged IPO   price). If $a_t$ has a symmetric distribution around zero, then   conditional on $p_{t−1}$, $p_t$ has a 50–50 chance to go up or down, implying   that $p_t$ would go up or down at random. If we treat the random-walk   model as a special AR(1) model, then the coefficient of $p_{t−1}$ is unity,   which does not satisfy the weak stationarity condition of an AR(1)   model. A random-walk series is, therefore, not weakly stationary, and   we call it a unit-root nonstationary time series.   If $p_t$ has a 50–50 chance of going up or down, then its mean is constant, correct? So if $p_0=1$, and it can go to 0 with a probability of 0.5 or go to 2 with probability of 0.5, then the mean is constant at 1.  So why is this not a stationary process?


Can we have the following?  For matrices A   and B, if A⪰B⟹σ¯¯¯(A)≥σ¯¯¯(B)  ?   where σ¯¯¯(⋅) means the largest singular value.


Will all Dash input in 12.10 be sent to Amazon?

It seems like all user input to the Dash home lens is send to Amazon by default in Ubuntu 12.10, is this correct?


Why Was Peter Pettigrew Sorted To Gryffindor?

The Sorting Hat says:      You might belong in Gryffindor   Where dwell the brave at heart   Their daring, nerve, and chivalry   Set Gryffindors apart . . .       Sorcerer's Stone - Page 118 - US Hardcover   Are there any canon examples of Peter Pettigrew displaying any of the aforementioned traits in a positive way? My sense is that Godric Gryffindor's definitions of "daring" and "nerve" did not include a person joining a group like the Death Eaters.


I have a large GUI project that I'd like to port to Linux. What is the most recommended framework to utilize for GUI programming in Linux? Are Frameworks such as KDE / Gnome usable for this objective  Or is better to use something more generic other than X?  I feel like if I chose one of Gnome or KDE, I'm closing the market out for a chunk of the Linux market who have chosen one over the other.  (Yes I know there is overlap)    Is there a better way? Or would I have to create 2 complete GUI apps to have near 100% coverage?  It's not necessary to have a cross-platform solution that will also work on Win32.


JavaScript: check if a giving string contains only letters or digits

Using JavaScript, I wanna check if a giving string contains only letters or digits and not a special characters:  I find this code which checks if a string contains only letters:      boolean onlyLetters(String str) {       return str.match("^[a-zA-Z]+$");     }   but my string can contain digits too. can you help me?  thanks in advance :)


My question is basically is it possible to catch a Farfetch'd in Canada? or do I need to go to another country to be able to have him?


What is the best way to eat automatically in direwolf20 1.7 pack?

As the title says.   What is the best portable way to automatically eat?  I used to use the auto feeder from modular power suits but it no longer seems to be available or is disabled.


I have to output an employee's name and dept in the view like Welcome 'employee' to 'dept'. I am using string.Format(). I was playing around with String.Format and string.Format() and saw the following. Can someone please explain why string.Format() doesn't work or what am i missing in the code? I was reading online and saw that string.Format() and String.Format() give the same result.  Doesn't work-  <div>   <div> Welcome </div>     <div>        @if(employee != null)        {            @string.Format("{0} at {1}", employee.name, emp.dept)        }     </div> </div>   Error- Unexpected "string" keyword after "@" character.  Once inside code, you do not need to prefix constructs like "string" with "@".  Works:  <div>   <div> Welcome </div>    <div>      @if(employee != null)      {         @(string.Format("{0} to {1}", employee.name, emp.dept))      }    </div> </div>   Works  <div>    <div> Welcome </div>      <div>         @if(employee != null)         {             @String.Format("{0} at {1}", employee.name, emp.dept)         }    </div> </div>


If the electrons and protons are moving in a circuit, then they should cancel each other after crossing the barrier? How is it working?


Find a post that needs editing. Edit the post and save your edits. Realize you forgot to describe the changes in the edit comments box.  It just says something like "replaced xxx characters in body" or "edited tags", etc. Go back to edit and describe your actual changes better and save. The edit history is not updated with the revised comment!


definition of damaged passport. is my passport damaged if jacket or cover page is separated from booklet, everything else is intact?

The jacket or cover page of my passport has separated from the main booklet, everything else is intact including picture, signature, number etc. Will it be considered a damaged passport and can I travel abroad on its basis? Will it be held by immigration officers?


Is the glass held by the old female patient invisible on purpose?

In the scene in Shutter Island where Dicaprio's character interrogates an old patient, she asks for water. After a while, Chuck gets her a glass of water, which is nowhere to be seen as she drinks from it.  Am I blind? Or isn't there a real glass? And if so, it's too hard to be an error. It must have been done on purpose. So what does it mean?


What is the typical DSLR battery lifespan (overall, not per charge cycle)?

I shoot a Nikon D800, but this question applies to any DSLR.  (I suspect DSLRs are harder on batteries than more compact cameras, so let's stick to this camera family.)  I recently had one of my camera batteries fail.  The weird thing is that the battery was about a year newer than the one that's still fine.  (I put a label with the date acquired on them, so I can keep them straight.)  The deceased battery was about four years old; the good one is five.  I've picked up two more batteries just to be sure (I don't know how much longer the old one will continue working well) but what sort of lifespan is to be expected?  I realize it will vary by usage and depth of discharge, and my batteries tend to be gently used and not deeply discharged before recharging.  I have a fairly busy life so most of my photography tends to be while traveling, and then I will do it intensely for a few days or couple of weeks before the camera gets a good rest again.  What have your experiences been, and what should I be expecting?


Does a verified US citizen need a police & medical report to return from Ghana?

I've been told by a girl supposedly from New York I met online, who currently is working in Ghana, that she requires police and medical reports to return to the US.  Is this true? The cost was quoted at $570.


Physical or geometric meaning of the trace of a matrix

The geometric meaning of the determinant of a matrix as an area or a volume is dealt with in many textbooks. However, I don't know if the trace of a matrix has a geometric meaning too.      Is there any geometric or physical (intuitive) significance related to   the trace of a matrix?


'A / One / At least one student entered the room.' Are these the same? (truth-conditionally)

I just wonder if the two following sentences are truth-conditionally the same. Sentence 1 essentially means there existed a student who entered the room, and this situation includes two, three or more students entering the room. Hence, I believe these two sentences are truth-conditionally the same. Are they?        A student entered the room.   At least one student entered the room.      How about        One student entered the room      I gather this is different, as sentence 3 only means one student, not more and not fewer?  Any and all insights would be welcome.


I am working on a board that includes an Atmega328 which needs to read data from an SD card. I am having problems. Here is a diagram:    I believe the issue may stem from the voltage divider that is connected to The hex converter  (74HC4050D) and the micro SD card. However I have tried removing that and connecting a regulated 3.3V signal in it place and it still does not work. Does anyone have any idea what I am doing wrong? Help is greatly appreciated!


Accidentally removed Python 3 and damaged system packages, now can't install anything

I mistakenly tried to sudo apt remove python3 (I was trying to install multiple versions of Python), but stopped it using Ctrl+C immediately. Looks like I damaged the package and I was unable to open a terminal or anything. After struggling for hours now I can open terminal and apps like Google Chrome and Telegram, but can't open VS Code. When I try to sudo apt install python3, after lots of failed dpkg queries, it says: Processing was halted because there were too many errors. libdvd-pkg: Checking orig.tar integrity... /usr/src/libdvd-pkg/libdvdcss_1.4.2.orig.tar.bz2: OK libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting... E: Sub-process /usr/bin/dpkg returned an error code (1)  I looked it up and on  it was suggested to try these commands: sudo dpkg --configure -a  It fails and after failed dpkg queries, returns: Processing was halted because there were too many errors.  sudo apt-get install -f also failed with the following error message: Processing was halted because there were too many errors. libdvd-pkg: Checking orig.tar integrity... /usr/src/libdvd-pkg/libdvdcss_1.4.2.orig.tar.bz2: OK libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting... E: Sub-process /usr/bin/dpkg returned an error code (1)  I checked and it seems I can manually install each dpkg query by downloading the source file and compiling it, but it wouldn't be sane to do such thing. There are a lot of damaged packages it seems.


scroll through output using `less` or `tail -f` while keeping the header visible


Can I make so the computer treat a ip as 127.0.0.1?

I'm a software developer, and I sometimes take my work home. However, every time I do that I need to change the ip addresses my software connects to from let 172.28.38.270 to 127.0.0.1. I have tried to change it in the host file by doing this 127.0.0.1    172.28.38.270 but for some reason that don't work, it still tried to connect to 172... and not to 127... when I used to 172... ip.  Does anyone know how to fix this issue? or do I just have to keep changing ip?


$\mathcal P_3(\mathbb R)$ is the set of polynomials with degree at most $3$ with coefficients in $\mathbb R$.  In the last paragraph is says $U$ cannot be extended to a basis of $\mathcal P_3(\mathbb R)$. I do not understand why not. Why would we get a list with length greater than $4$? Why can't we add $(x-5)$ to the list?    From Linear Algebra Done Right


Proof: How many digits does a number have? $\lfloor \log_{10} n \rfloor +1$

I read recently that you can find the number of digits in a number through the formula $\lfloor \log_{10} n \rfloor +1$ What's the logic behind this rather what's the proof?


How to detect and deal with Malware or Keyloggers on my Computer? (Gmail/PayPal hijacked)

Superusers! Yesterday someone broke into my Gmail Account. Long story short: Thiefs recovered my PayPal-Account password by accessing my email and after permanently deleted all Emails about changed passwords and purchases. They managed to place orders at cdkeys.com for 115USD. Short story long: Gladly I was using my computer at that time and got the Notification on my iPhone about successful payment for the "MAFIA trilogy" game, that I haven't even ordered. I viewed the email and after that, I reopened my Gmail to see more emails like that. All E-Mails about purchases were deleted. I quickly changed my Password for PayPal account and tried to get into PayPal. Unfortunately, the thief changed the password again, and ordered another game, for a Total 115USD. Changed quickly my password again, and removed my Banking accounts. Changed Password again, and also asked PayPal for a refund. Quickly changed my Google Account passwords twice, unlinked from every device possible to regain control. I managed to get the IP address from Gmail - who has used my Gmail. Reviewed Google history, found how the thief searched for cdkeys.com, opened PayPal, purchased, etc. Now, I'm asking myself, how? How thief's managed to get into my Google account with 2 Steps authentication activated. To shrink the possibilities, where, how, and from what device the malware or my information like passwords came. How to detect Malware or KeyLoggers? If there is any, how to remove and clean the device? I scanned my Computer for Malware by Malwarebytes, and these were multiple found: Trojan.WMIHijacker.ClnShrt PUP.Optional.Delt PUP.Optional.Babylon Adware.Elex.ShrtCln PUP.Optional.Funmoods PUP.Optional.Linkury PUP.Optional.Conduit in: C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\000320.ldb C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\CURRENT C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\LOCK C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\LOG C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\LOG.old C:\Users[MY_USER_ACC]\AppData\Local\Google\Chrome\User Data\Default\Sync Data\LevelDB\MANIFEST-000001 C:\USERS[MY_USER_ACC]\APPDATA\LOCAL\GOOGLE\CHROME\USER DATA\Default\Web Data Extensions in Google Chrome: Adblock Plus LastPass Manager Google Docs Offline DuckDuckGo Privacy Essentials ProxFlow After putting these "Malwares" in Quarantine and after restarting my Computer, these same "Malwares" appears again. Other Antivirus programs can't find anything suspicious. Is there some kind of program, where I can monitor the outgoing Network Traffic in a specific application? Not like WireShark, where's everything encrypted. If there are some Keyloggers etc. on my Computer, they logical will be attempting to send my entered password through the network back to the "hacker". Any tips, where and for what should I look for? I will tomorrow attempt to clean reinstall the Windows 10. Any tips for pre-steps before installing the windows after formatting the SSD? How to prevent these attacks in the future? Thanks!


How do you make the possessive form with "He and I"-style subjects?

Despite being a native speaker of American English, I cannot find a construction that sounds natural when trying to form a possessive from coordinated subjects including a first person pronoun, like "He and I" or "My brother and I." If it's "You and I," I can just use "our." But what is the proper way to form a possessive in these other instances?  The cat which belongs to my brother and me ran away.  ? My brother and I's cat ran away. * My brother's and my cat ran away. */? Me and my brother's cat ran away.   Oddly enough, the one which sounds the most natural to me (and which I hear most often in natural speech, is the last: "me and my brother's." My hypothesis is that this is used to avoid the issue with the first-person possessive form, but that could very well be wrong. However, I'm not sure this is the best answer, either, as it introduces some pretty bad ambiguity in some places.  A person who is a friend to both my brother and me got married yesterday.  */? Me and my brother's friend got married yesterday.   I think you can see the obvious problem. What is the proper way to possessivize coordinated first-/third-person subjects? Edit: I would much prefer an answer which does not require rephrasing the entire sentence.


Can you extend a Canon Rebel T5's exposure length?

Is it possible to adjust the Canon Rebel T5's exposure length beyond 30 seconds, and if so how?  Thanks in advance.


I am making the check for update script for my theme  I have 2 text files. First one is called "current.txt" and contains the current version. There is 4.1.1 string in that text file.  Second one is called "latest.txt" and contains the latest version. There is 4.2 string in this text file.  So here is the code  echo "Checking update"; x=$(cat ./current.txt) y=$(cat ./latest.txt) if [ "$x" -eq "$y" ] then        echo There is version $y update else        echo Version $x is the latest version fi   What it mean is if current.txt is NOT the same with latest.txt then it will say "there is version 4.2 update". If not, it will say "version 4.1.1 is the latest version"  But when I try to run it. I get this error  Checking update ./test.sh: line 4: [: 4.1.1: integer expression expected Version 4.1.1 is the latest version   So what am I doing wrong with this?


Why is Euler's reasoning correct in his proof that $\sum_n n^{-2}=\frac{\pi^2}{6}$?

I was reading Euler's proof that $\sum_n n^{-2}=\frac{\pi^2}{6}$ and I don't agree with his reasoning. My issue is outlined below.    First, Euler observed that the function $\sin x$ has roots at $x = 0, ±π, ±2π, ±3π, \ldots$. Next, he observed that the infinite product $x(1-\frac{x^2}{\pi^2})(1-\frac{x^2}{(2\pi)^2})(1-\frac{x^2}{(3\pi)^2})\ldots$ also has roots at $x = 0, ±π, ±2π, ±3π, \ldots$.  Euler then believed that these two functions are equivalent.  I have a problem with the above statement. Obviously, having the same roots does not imply that the two functions are equivalent. For instance, $f(x)=0$ also has roots at $x = 0, ±π, ±2π, ±3π, \ldots$.   Euler then goes on to use the infinite product and Maclaurin expansion of $\sin x$ to compare coefficients of $x^3$. But his belief that those two functions are equivalent stains all subsequent parts of the proof.   Am I missing something obvious here? Or was Euler not rigourous enough in his proof?


Interpreting t-test results : Need a sanity check regarding t-statistic sign

Rookie stat question here, hoping to get a sanity check...   So lets say that I have two groups, A and B.    I run a two tailed t test in R, t.test(A, B, var.equal = TRUE).   If my t-statistic value is greater than (+/-) the t critical value, with a very low p, I can consider the result statistically significant.   What I would like to confirm is whether I can then make a statement regarding the relationship between the means of the two groups...   ex: If the t stat is (+), can I say that the mean of group A is statistically significantly larger than that of group B, and conversely if the t stat is (-), that the mean of group A is statistically significantly smaller than that of group B?   I thought this was the case, but am now second guessing myself...


Solutions $(x, y),\;x,y\in \mathbb Z$ to the equation $x! +1 = y^2$

Solve $x! +1 = y^2$ over integers.  I don't know what to try here. The equation implies that $x! = (y-1)(y+1)$ but I'm not sure if that helps at all.


"-iles" terminology for the top half a percent

The top 25% is the top quartile. The top 10% is the top decile. The top 1% is the top percentile.  Is there an equivalent for the top 0.5%  i.e. 1-in-200?


Why can't a Federation Starship's transporter history be used to bring someone back to life?

I've always been a little confused by the fact that when a crew member dies they don't just use the transporter history to bring that person back. I'm aware that this wouldn't make for good TV, but I was wondering if there was a more technical reason.


Multivariable Limit - Converting to Polar Coordinates

I am new to this concept, but I do know that, using Cartesian coordinates,  if the limit is different for 2 different "routes", then it does not exist.  I need to show that $$\lim_{(x,y)\to(0,0)}\frac{xy^2}{x^2+y^4}$$ DNE by converting to polar.  However, the result I've got is that the limit does exists, and it's equal to $0$. Here's what I did: $$ x=r\cos\theta\\ y=r\sin\theta\\ $$ $$ \lim_{(x,y)\to(0,0)}\frac{xy^2}{x^2+y^4}= \lim_{r\to0}\frac{r\cos\theta (r\sin\theta)^2}{(r\cos\theta)^2+(r\sin\theta)^4} =\lim_{r\to0}\frac{r^3\cos\theta \sin^2\theta}{r^2\cos^2\theta+r^4\sin^4\theta} =\lim_{r\to0}\frac{r^\require{cancel}\cancel{3}\cos\theta \sin^2\theta}{\require{cancel}\cancel{r^2}(\cos^2\theta+r^2\sin^4\theta)} =\lim_{r\to0}\frac{r\cos\theta \sin^2\theta}{\cos^2\theta+r^2\sin^4\theta}=\frac{0}{\cos^2\theta}=0 $$ Apparently no dependency on $\theta$? I mean, it is possible that $\cos^2\theta=0$. How do I continue from here? Am I missing something?  Thank you very much.


Can I use a Regex in an XPath expression?

Something like .//div[@id='foo\d+] to capture div tags with id='foo123'.  I'm using .NET, if that matters.


I've installed XFCE Desktop environment, but when I decide to switch back to Unity, while uninstalling the XFCE packages, the LightDM keep starts like XFCE, and I want to restore the Unity one. I think that is called Unity Greeter. Can someone help me?


Computing $\mathrm{Hom}(\mathbb Z_n,\mathbb Z_m)$ as $\mathbb Z$-module

My algebra is weak I need help computing $\mathrm{Hom}(\mathbb Z_n,\mathbb Z)$, $\mathrm{Hom}(\mathbb Z_n,\mathbb Z_m)$ and also $\mathrm{Hom}(\mathbb Z,\mathbb Z)$ as $\mathbb Z$-modules. Also books suggestion to improve my basic. Thank you.  Regards


The imagined scenario:  Part A:  From special relativity we know that velocity is a relative physical quantity, that is, it is dependent on the frame of reference of choice. This means that kinetic energy is also relative, but this does not undermine the law of conservation of energy as long as we are consistent with our . So far so good.  Part B:  On the other hand, from statistical mechanics, we know that the average kinetic energy of a system and its temperature are directly related by the Boltzmann constant $$ \langle E_k \rangle = \frac{1}{2}m\langle v^2 \rangle = \frac{3}{2} k_B T $$ which leads to conclude that when the notion of temperature in physics is expressed in terms of a system's kinetic energy, then it too ought to be a relative quantity, which is a bit mind-boggling, because I had always thought of temperature as absolute.  Part C:  Furthermore, we know that all objects at non-zero temperature, radiate electromagnetic energy with a wavelength given as a function of the body/object's temperature, this is the Blackbody radiation. Thus in principle, I am able to infer an object's temperature (i.e. the temperature in its own rest-frame of reference) by measuring its emitted radiation, regardless of the frame I find myself in. But this seems to violate the previously expected relativity of temperature as defined by average kinetic energy.     Proposed resolutions:  The resolutions that I imagine to this paradox are:   a) Depending on the frame of reference from which I measure the emitted blackbody radiation of the object, the radiation will undergo different Doppler blue/red-shifts. Thus the relativity of the temperature in the context of blackbody radiation, is preserved due to the Doppler effect. b) I suspect that treating temperature as nothing but an average kinetic energy does not in general hold true, and to resolve this paradox, one should work with a more general definition of temperature (which I admit I do not know how in general temperature ought to be defined, if not in terms of state of motion of a system's particles).   Case a) resolves this hypothetical paradox by including the Doppler effect, but does not contradict the relativity of temperature.  Case b) on the other hand, resolves the problem by challenging the definition that was used for temperature, which in the case that we define temperature more generally, without relating to kinetic energy, may leave temperature as an absolute quantity and not relative to a frame.     Main question:   But surely only one can be correct here. Which begs to ask: what was the logical mistake(s) committed in the above scenario? In case there was no mistake, which of the two proposed resolutions are correct? If none, what is then the answer here? Very curious to read your input.


How to make xinput settings persist after devices are unplugged, replugged, and after shutdown, restart, etc?

I successfully followed  to set different sensitivities for my touchpad and my USB mouse. Only problem is, once you unplug and replug the device or shutdown, restart etc., the settings reset.


This has been confusing me for some time. With the advent of UTF-8 as the de-facto standard in web development I'm not sure in which situations I'm supposed to use the HTML entities and for which ones should I just use the UTF-8 character. For example,   em dash (–, &emdash;) ampersand (&, &amp;) 3/4 fraction (¾, &frac34;)   Please do shed light on this issue. It will be appreciated.


What is the difference between a neutrino and an antineutrino?

Since an antiparticle by definition is a particle with the same mass but opposite charge, how is there such a thing as an antineutrino? A neutrino has 0 charge so could not have an opposite. So why does an antineutrino exist and how does it differ from a neutrino?


Why is the rep threshold for commenting set specifically to 50?

Please note: this is NOT a request to change the reputation required to comment everywhere. Rather, this is a neutral support question asking about the existing limit.  I'm wondering why the minimum reputation required to make comments is set specifically to 50 reputation, and not some other number, like 10, 15, 25, or 100. I'm aware of the FAQ, . But that only explains why there is some sort of a rep hurdle, and not why the limit is set specifically to 50.  In particular, we already trust most users to not spam when they earn 10 reputation (the FAQ cites spam as a reason for the hurdle), and we trust users with 15 reputation to properly cast upvotes and moderator flags, and users with 20 reputation to properly talk in chat. 50 reputation seems like a rather large threshold compared to these.  Also, we've shown that many of the disadvantages outlined in that FAQ post are still gone even with a significantly lower limit, as here on Meta Stack Exchange, one only needs 5 reputation to comment.  Given all of that, why is the number 50 specifically chosen as the minimum reputation required to comment? I asked Shog9 in chat a while ago as to what originally motivated this specific number, and he responded that the limit has been in place since 2008, from before they kept firm logs of discussions. What is the current rationale for keeping the limit as is?


If you say the aim of Ben, you can also say Ben's aim.   If you say the objective of the project (which is not a person but an object), do you say the project's objective or the projects objective?


Using the uncertainty principle to estimate the ground state energy of hydrogen

I have been reading through this  of the ground state energy of hydrogen  and others like it. In this one it says it is using the uncertainty principal but then proceeded to use the following: $$pr=\hbar$$ But why is it not using: $$pr=\frac{\hbar}{2}$$ which is more in line with the uncertainty principle and what comes earlier in the derivation.


Only 14 Delete Votes but it Says I Have 30

It's only 2.75 hours into the new day, and I'm already out of delete votes. That's not impossible (I am a proud deleter), but seemed unlikely. The "Votes/Delete" tab in my profile suggests that I'm right:    What happened to my missing 16 delete votes?


I can't access the system: Error: "unknown filesystem. grub rescue"

i'm a fresh ubuntu user and I've installed a double boot with Wind 8 and Ubuntu 13.04, but since yesterday I'm receiving an error showing:     error: unknown filesystem   grub rescue>   The fact is when I do ls (hdX,gptY)/ all I get is "error:unknown filesystem" again.   And the solutions posted don't work because I don't know why but I can't access the BIOS pressin F2 or to the boot pressing F12, the simply don't work since the error.


seqsplit does not work unless the string is given as an argument directly


I do not know the data type of time_t. Is it a float double or something else? Because if I want to display it I need the tag that corresponds with it for printf. I can handle the rest from there for displaying time_t but I need to know the data type that corresponds with it.


How do I build a numpy array from a generator?

How can I build a numpy array out of a generator object?  Let me illustrate the problem:  >>> import numpy >>> def gimme(): ...   for x in xrange(10): ...     yield x ... >>> gimme() <generator object at 0x28a1758> >>> list(gimme()) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> numpy.array(xrange(10)) array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) >>> numpy.array(gimme()) array(<generator object at 0x28a1758>, dtype=object) >>> numpy.array(list(gimme())) array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])   In this instance, gimme() is the generator whose output I'd like to turn into an array. However, the array constructor does not iterate over the generator, it simply stores the generator itself. The behaviour I desire is that from numpy.array(list(gimme())), but I don't want to pay the memory overhead of having the intermediate list and the final array in memory at the same time. Is there a more space-efficient way?


Avoid long title overlapping in title page

Does someone know how can I prevent my title text slightly overlapping like this?  (I have to say that it is something that happens only with my current thesis title: if I put different words it does not happen - this is why I kept some of the problematic words in the example)    This is my code  \documentclass[a4paper, 12pt, twoside]{book} \usepackage{graphicx}  \begin{document}  \begin{titlepage}     \begin{center}         \includegraphics[width=0.5\textwidth]{BlackBox}\\         \vspace{4em}         {\Large \textsc{University something\\ ``Some Name''}}\\         \vspace{1em}         {\Large \textsc{Faculty of Engineering, Information Technology and Statistics}}\\         \vspace{1em}         {\small \textsc{Master of Science in Engineering in Computer Science}}\\         \vspace{3em}         {\normalsize Master of Science presentation}\\         \vspace{2em}         {\LARGE \textbf{ This Is My Very Long Title Analysis from Advertisements for Characterizing Industry Differences.}}\\     \end{center}      \vskip 2 cm     \begin{center}         \begin{tabular}{l c c c c c c c c r}             \textbf{Candidate} & & & & & & & & & \textbf{Supervisor} \\[0.2cm]             \large{Name Surname} & & & & & & & & & \large{Name Surname}\\[0.3cm]             \textbf{} & & & & & & & & & \textbf{External Supervisor} \\[0.2cm]             \large{} & & & & & & & & & \large{Name Surname}\\[0.3cm]             \footnotesize{ID 1234567}  & & & & & & & & &  \\[0.3cm]         \end{tabular}          \normalsize A.y. 2016/2017     \end{center}   \end{titlepage} \maketitle \end{document}


Maximum upload size for file is not working

I have set file filed with 25MB Maximum upload size. But when i upload more then 25mb file it is uploading. How to stop this.Can we create any custom module for file size.


sudo apt-get install g++  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  g++ : Depends: g++-4.7 (>= 4.7.0-1~) but it is not going to be installed E: Unable to correct problems, you have held broken packages.


How to find the SVD when eigenvalue is $0$?

After calculating the eigenvalues, I get $1040400$ and $0$. Since one of them is $0$, how do I calculate (orthogonal) matrix $U$? $$u_i = \frac{1}{\sqrt{\lambda_i}} A v_i$$ I know there are a similar question here, but when calculation $u_1$ it's a null vector.  So, I don't see how I can find $u_2$.


I am using the following logic, I have two buttons in my activity 1 button sets flag to F and the other to C, the SOP statement in the below code prints correct if the value of flag each if its F it prints F else it prints C. But the If else statements I dont know what goes wrong, In each of the if else state I am trying the setText for TextView depending upon the condition if its F or C but everytime C is being called. Dont know why.     Bundle extras = getIntent().getExtras();     if (extras != null) {       flag = extras.getString("Flag");       System.out.println(flag);       if(flag == "F"){         do F       }       else{         do C       }     else{       do F + C     }


Vector Autoregressive Models with Non Stationary Variables

I am beginning to study VAR models, and I have a simple question.   If I have three variables and one of them is nonstationary, can I estimate a standard VAR model? If not, what should I do?


Can I save photoshop images as a vector?

I do not have Illustrator, but need to send a file to someone as a vector. Can I save my Photoshop image as a vector?


Characteristic polynomial of $r \times r$ companion matrix

I want to show that $a(x) = \det[C(a)-x I]$ where $a(x)=a_0+ax+...+a_{r-1}x^{r-1}+x^r$ and $C(a)$ is the companion matrix:  $$\begin{vmatrix} 0&1&0&\dots& 0 \\ 0&0&1&\dots& 0 \\ 0&0&0&\dots& 0 \\ \vdots&&&&\vdots\\ 0&0&0&\dots& 1\\ -a_0&-a_1&-a_2&\dots&-a_{r-1} \end{vmatrix}$$  I've tried Laplace on this, and I sense that I need to reduce the final matrix in some triangular form, I'm little rusty in matrix algebra.  Some hints?


I'm trying to read in a text file from the command prompt in C#, via   program.exe < textfile.txt    However, I cannot find the correct way to do this.  So far, I've only been able to pass the path and the filename to string [] args and then opening the file with the StreamReader class. While this is an acceptable alternative, I've been told that the method with "<", which I suppose is a redirection of standard input, offers advantages like not requiring file handling.  Can anyone give some insight into this?   edit: Program.exe is my C# application.


Group isomorphism between $(\mathbb{Z}[x], +)$ and $(\mathbb{Q}^+, \cdot)$

I'm looking for a group isomorphism between the group of integer polynomials (with addition) and the group of positive rationals (with multiplication).   I was thinking a map between generators of $\mathbb{Q}^*$, $1/p$, where $p$ is prime to irreducible polynomial in $\mathbb{Z}[x]$, but I am not exactly sure how it works. Any idea would be appreciated.


Harry has part of Voldemort living within himself. When Voldemort's spell rebounded when he first tried to kill Harry, part of Voldemort's soul latched on to Harry, which basically makes him and Voldemort the same person (that's why Voldemort didn't kill Harry in the forest, he essentially killed part of himself).    We know that the wands choose the wizard. Draco defeated Dumbledore and became owner of the wand, then Harry "defeated" Draco and won the allegiance of the Elder Wand. However, he did this when there was still a part of Voldemort's soul living within him.    So, when Voldemort killed Harry in the forest and the two had their final battle, why was the Elder Wand not conflicted on who its master was?   Did it not recognize the part of Voldemort that lived in Harry?    Why would the wand not answer to the both of them since Harry was still part Voldemort when he "defeated" Draco?


I consider myself to be this type of person. A search did not yield anything, but I did find this website. What is the word you use to describe someone who does not like excess, in the sense of quantity of material possesions and / or in purchasing something more expensive because it has a couple of extra features that are not really needed?


Find the value of $\sum_{n=0}^{\infty} \left(e-\sum_{k=0}^{n} \frac{1}{k!}\right).$

We know $$e=\sum_{k=0}^{\infty} \frac 1{k!}.$$ But in the question the upper bound of the second sum is $n$ so we can't write $e$ directly. Since upper bound of $n$ is $\infty$ so tried to split the summations to get a clue. The given sum is:  $\left(e-\frac 1{0! }\right) +\left[e-\left(\frac 1{0!}+\frac{1}{1! }\right) \right]+\cdots+\left[e-\underbrace{\left(\frac{1}{0! }+\frac{1}{1! }+\frac 1{2! }+\cdots\infty\right)}_{=e}\right].$  Now I'm clueless. The last few terms tend to $0$ but how to handle the other terms? Please suggest something. I haven't dealt with infinite sums that much, I have just started to deal with such expressions in this lockdown period. So there may be something which hasn't striked me yet.. Please help! And yeah, the answer is $e$.


listings package in XeLaTeX: every tab in lstlisting compiles to "^^I" in the pdf

In beamer class, when i compile using LaTeX, the output pdf results perfectly the way i expect it to. But when i change it to XeLaTeX, in the lstlisting environment, every tab in the code results in a "^^I"-Placeholder (See output-pdf below). How do I fix this?   if( Bedingung ) {  ^^I//Code, der nur ausgefuehrt wird, wenn die Bedingung wahr ist   }  ^^I^^I   LaTeX-Code (Reduced to the minimum, one frame as an example):  \begin{document}     \begin{frame}[fragile]{if-Statements}         \begin{block}{Syntax}                \begin{lstlisting} if( Bedingung ) {     //Code, der nur ausgefuehrt wird, wenn die Bedingung wahr ist }                    \end{lstlisting}         \end{block}         \begin{block}{Logik}                 \begin{itemize}                  \item Alles innerhalb eines if-Blocks wird nur ausgeführt, wenn die Bedingung (in Klammern) wahr ist.             \end{itemize}         \end{block}     \end{frame} \end{document}


Lens for Nikon D5600 recommended for bird photography

I purchased Nikon D5600 last month.  While doing bird photography I realize, 70-300 mm lens is not sufficient. I have few queries:  (1) Which lens is recommended for wildlife photography? I checked for 150-600mm, but did not find in local market for Nikon. Mostly Canon compatible lenses are available.  (2) Is D5600 suitable for such photography or shall I upgrade to D7500 ?


Site list does weird things with Stack Overflow

The site listing for Stack Overflow looks odd in my site list, perhaps because of the weird main-meta relationship that Stack Overflow and Meta Stack Overflow have.  Assuming the indentation is just there supposed to indicate the relationship (which admittedly is a bit unclear), could the reputation at least be displayed in this case since it's different than on the corresponding linked site?


How to express fitted ARIMA model output by a mathematical equation?

I have fitted an ARIMA model to forecast GDP using the auto.arima function in R:   Series: tGDPdev   ARIMA(2,0,2)(1,1,0)[12] with drift    Coefficients:           ar1      ar2      ma1     ma2     sar1        1.7038  -0.7521  -1.3467  0.5857  -0.4793  s.e.  0.2523   0.2290   0.2180  0.0917   0.0842         drift        0.5334  s.e.  0.0470   I would need to know the equation thath represents this model, though I'm not a mathematician. Any help would be greatly appreciated!


Smart way to set 2 variable based on a 3rd variable values without using if

I have a code where I pass a value in whichweek and then it returns the values of dayfand dayt I am using the if statement but it's pretty long and it doesn't feel "pythonic" at all. Is there any elegant way to write this?  here is the way I do it:  if whichweek == 5:     dayf = 0     dayt = 32 elif whichweek == 1:     dayf = 0     dayt = 8 elif whichweek == 2:     dayf = 7     dayt = 15 elif whichweek == 3:     dayf = 14     dayt = 22 elif whichweek == 4:     dayf = 21     dayt = 29   Thanks for help.


How can we know the time frames for events in the early universe?

I just finished watching Into the Universe with Stephen Hawking (2010). Specifically the third episode titled 'The Story of Everything.'  In the episode Hawking is explaining the mainstream theories of the events just after the Big Bang. What confuses me is that he just said at the beginning that the laws of physics were different and time (among other things) did not exist as we know it during this early stage in the life of the universe, but then goes on to say certain events took certain amounts of time.  I don't know if the numbers match, but the same issue exists on .  How can we even guess the time frames of these events if time itself is largely dependent on the current state of the universe?


How to run a script from another script in another thread of execution

How can I start a perl script from within a perl script but without being part of the same thread of execution. Like forking and letting the original script continue execution? I think system does not do that as I see in the same console the output of the other script


Is there a way to scale layers relative to their individual boundaries in Photoshop?

I am wondering if there is a way, in Photoshop CC, to select multiple layers and then resize them relative to their current location.  For example, if I have 2 equal sized squares next to each other, I want to be able to select them both, then drag the bottom right corner to make them smaller without the location of their top left corners moving.  I realise that you can use shift+click to select multiple layers, then transform them together, but the result of this is that they get smaller and the space between them also gets smaller.   I hope this makes sense.


Is it possible to power off the device using adb?

Is there any way (command/option) to power-off the device using adb command?


ArgumentError raises when passing plain text to "order_by". I'ts occurs with version 0.9.8, but not with version < 0.9.8 or > 0.9.8.  q = session.query(Person) q.order_by('RAND()') >> ArgumentError: Textual SQL expression 'RAND()' should be explicitly declared as text('RAND()')   questions: 1. Is there any official documentation about it? 2. With new versions, is this a good practice to pass plain text, or it is better to wrap it with text()? 3. Is this error raises with more functions other then order_by?


Ubuntu 18.04 opening system settings logs me out

When opening system settings on a clean installation of Ubuntu 18.04 I get logged out. It happens if I open it from the launcher, from the menu or from the terminal with gnome-control-center (even with sudo). This is funny as I installed 18.04 on two "identical" machines, and one has the issue while the other one does not... any idea what might be going wrong here? Thanks!


Trying to derive a result on conditional probability

We have $X_1,...$ indepdent random variables with common distribution $F$ and $N$ is a geometric random variable independent of $X_i$'s. Let $M = \max(X_1,...X_N)$. Im trying to convince myself that   $$ P( M \leq x \mid N > 1 ) = F(x) P(M \leq x ) $$  I understand that since $X_1$ is independent of all $X_i's$ and from $N$, when we can pull it out of the probability and we have   $$ P(X_1 \leq x) P( \max(X_2,....,X_N ) \leq x \mid N > 1 ) $$  And then we have  $$ F(x)  P( \max( X_1,...,X_{N-1} \leq x \mid N > 1 ) $$  How does    $$ P( \max( X_1,...,X_{N-1} \leq x \mid N > 1 )  = P( M \leq x ) $$   ??


Can Shazam/Captain Marvel's transformation be prevented by a roof?

On a normal day, Billy Batson transforms into Shazam (previously Captain Marvel) by saying "Shazam!" and being struck by lightning.  Upon being impacted by the lightning, he switches between his two forms.  But on several instances, he's shown to use this phenomenon as an attack, holding someone above him and shouting "Shazam" so that the lightning bolt hits his opponent.    Notably, in these instances where something blocks the path of the lightning bolt, Billy/Shazam isn't transformed.  It seems that, if the lightning doesn't reach him, it doesn't effect him.  And more importantly, it's possible for the lightning not to reach him.  I'm not too familiar with the character, so maybe this is a common occurrence, but are Billy's powers effectively nerfed if he's kept in a bunker or a building with a lightning rod?  Does he have to have access to an open sky to transform, or can he summon "local lightning" to transform him anywhere?


RSA - Why should we sign hash rather than raw content?

Apart from obvious performance considerations, is there any mathematical or crypto reasons that imply that we sign a hash rather than a raw content ?  I read that it was because the hash must fit in the modulo size, but on the reverse when one encrypt with a public key RSA, the "size" doesn't seem to be a problem (ex: I never heard something like "we can't encrypt a file bigger than 256 bytes using a RSA public key").  Apart from performance/optimization, why don't we sign raw byte x509 certificate rather than hash ?


Finding maximum value of ${n \choose r}$ for given value of n

While I was solving some binomial theorem chapter questions I encountered many questions which asked me me to find maximum value of  ${n \choose r}$ for given value of n.  Example: Find n for which   $$n!(21-n)! $$ has minimum value ?  I didn't get how to do this without substituting so I looked at the solution , it was given  "   $n!(21-n)! =21!/{21 \choose n}$   Thus, for minimum value of $n!(21-n)! $ , ${21 \choose n}$ should be maximum, which is for n=10. "    So I wanted to ask ,  Is there a general result to get the value of r for which ${n \choose r}$ is maximum for given value of n ?


"n Answers;" below the question, is ";" symbol intended?

Take any question, for example this one:    Right below the question it has  9 Answers;  Note the ; sign ↑. Is it supposed to be that way?


Consider that the total cost to produce a $x$ units of a product is given by the function  $$C(x) = 2000 + 3x + 0,01 x^2 + 0,0002 x^3$$  (a) Calculate the marginal cost at the production level $x=100$  (b) Calculate the cost to produce the product of number 101. Compare this result with the one obtained at item (a)  I calculated the marginal as $C'(100)$ but I don't know how to obtain the cost of the product number 101. Can I have some help?  thanks in advance!


I need to prove that $\sqrt{\frac{3}{5}}$ is irrational number.   How can I do it?  I know $\frac{3}{5}$ is non-shortened fraction because 3 and 5 are prime numbers. The only ways of writing it as a product are 1 × 3 or 3 × 1, involve 3 itself and 1×5 or 5×1.   I assume that $\frac{3}{5}$ = ${(\frac{m}{n}})^2$  so $\frac{3}{5}$ $\neq$ ${\frac{m^2}{n^2}}$ because $1^{2}$<3<$2^{2}$ and $2^{2}$<5<$3^{2}$  I don't know if that's good way of thinking. Can somebody help?


How to perform program cleanup when user presses close button in C++ console app?

So I have developed a C++ console application in Visual Studio to keep log of attendance with a credit card reader, then spit out a .csv file. However, as the program is right now, the user has to manually type "exit" for the program to close successfully and generate the .csv.  I know that non-tech people wouldn't realize this and could just hit the X button and lose their data. Is there any way to catch the signal and allow the program to do its cleanup work and close?  The program is already Windows-only so that is not an issue.


How can I get text underneath an underbrace?

I am looking to do something of the following:    To get text underneath the underbrace. Is it involving \stackrel or some sort of similar command?


Can a mangaka continue another mangaka's manga?

There are plenty of manga that never had an ending for many reasons. For example, High School of the Dead's mangaka, Daisuke Satou, . Some mangaka also cannot continue their work because of health problems, as well as other reasons. Say the original mangaka either prepared or did not prepare an ending himself/herself, can another mangaka continue their work? Has this ever happened before?


Is the quantum state fidelity defined as $F(\rho, \sigma)=\text{tr}\sqrt{\rho^{1/2}\sigma\rho^{1/2}}$ or its square?

I have seen two different definition of Fidelity in different sources. For example, Nielsen & Chuang  defines Fidelity like the following:  $$ F(\rho, \sigma) := \operatorname{tr} \sqrt{\rho^{\frac{1}{2}} \sigma \rho^{\frac{1}{2}}} $$  An implementation of this definition is also present in this .   Another definition that I have found is: $$ F(\rho, \sigma) := \Big(\operatorname{tr} \sqrt{\rho^{\frac{1}{2}} \sigma \rho^{\frac{1}{2}}}\Big)^2 $$ This def is present in the highly regarded  and most other places like , .   Was this definition changed sometime? TIA.


I can't stop my program in an if statement where I want to check if the number given by the user is a positive one (>0). I get my message if I give a negative number, but the program goes on and shows more messages. Any idea how to stop it there? Here is the part I'm trying to fix: #number validation if user_age<0 :     print("Not a valid number")


Proof for miscellaneous definite integral

On wiki,  , appears some integral which is not trivial for me: $$\int_{0}^{\infty}\frac{f(ax)-f(bx)}{x}dx=\left(f(0)-f(\infty)\right)\log\left(\frac{b}{a}\right)$$  Can someone please tell me what are the steps to prove it?


Validation MarkInvalid Textbox using MVVM

I have a textbox that has validation on it, in the validation checks to see if its isNullOrEmpty. The validation works but what I am having difficulty is if the user never selects the textbox and clicks save, I want the validation to run again.  I was able to accomplish this in the XAML.cs file using:  Validation.MarkInvalid(cb.GetBindingExpression(dp), validationError);   Now with MVVM I'm confused how I am able to accomplish this from the viewmodel. Textbox in question:          <TextBox>             <TextBox.Text>                 <Binding Path="LastName">                     <Binding.ValidationRules>                         <validationRules:IsNullOrEmptyValidationRule/>                     </Binding.ValidationRules>                     <Binding.UpdateSourceTrigger>PropertyChanged</Binding.UpdateSourceTrigger>                     <Binding.Mode>TwoWay</Binding.Mode>                 </Binding>             </TextBox.Text>         </TextBox>   Any ideas?


Energy conservation on expanding universe

Due to the expansion of the universe, the photons emitted by the stars suffer redshift, Its mean that the energy is lowered a little bit. Does this mean that the energy is lost? Does the expansion of the universe violate some conservation principles according to Noether's theorem?


I have a 12V 7Ah battery can I directly connect it to my device having rating 12v 1A? Will my device extract 2.25 amp current as it is betterys initial current or it will only extract 1 amp current. If yes will it damage my device


Increase the height of UITextView according to its content

I have a remarks section in in my project and I want to add these remarks in a UITextView. I want it so that when I add long text into the text view the entire text view grows vertically to accommodate the text.  I don't want the UITextView to scroll. Instead I want it to increase its height depending on its contents.  When we have short text I want it like this:    When I add a long text to the text view it should increase its height like this:    How do I implement it so the height automatically increases like this?


Show $\sum_{i=1}^\infty x_i y_i$ is absolutely convergent

Let $\sum_{i=1}^\infty x_i$ be absolutely convergent and let $(y_n)$ be a sequence satisying $\forall i \in \mathbb N,\ \exists M \in \mathbb R$ such that $|y_i| \leq M$. Then $\sum_{i=1}^\infty x_i y_i$ is absolutely convergent.  So $\sum_{i=1}^\infty x_i$ is absolutely convergent means both $\sum_{i=1}^\infty x_i$ and $\sum_{i=1}^\infty |x_i|$ is convergent. And the condition on y indicates y is bounded above.  For the proof, I have this idea: since if some series is convergent/divergent multiplication by a constant such as M does not change the convergence/divergence, I might be able to say that at worst case where $y_i$ is M, $\sum_{i=1}^\infty x_i y_i$  should have same convergent/divergent property with $x_n$. But I do not know how to show this proof formally.


I need to check if the node->next != NULL and I do not know if I can write:  if(node!= NULL && node->next!= NULL)


How do I make Chromium use Flash from Google Chrome?

Now, that Adobe has stopped issuing new releases for Linux desktops, the only option for users is to use Google Chrome, for those who want to use the latest Flash updates. I use Chromium. Is there any way to get Chromium use the Flash from Google Chrome? The reason I as this question is that I have noticed both these browsers run in the background, so technically, the browsers' plugins are available to use.


What is focal length and how does it affect my photos?

What is focal-length?  Are focal-length and zoom synonymous?  How does the focal length of a photo affect it? Are there common uses for different focal lengths, and how can I decide what to use when?


What is limit superior and limit inferior?

I've looked at the Wikipedia article, but it seems like gibberish. The only thing I was able to pick out of it was the concept of infimum (greatest lower bound) and supremum (least upper bound), as I had learned them previously in an intro discrete math course.     The limit inferior of a sequence ($x_n$) is defined by      $\displaystyle\liminf_{n\to\infty}x_n := \lim_{n\to\infty}\Big(\inf_{m\geq n}x_m\Big)$      or      $\displaystyle\liminf_{n\to\infty}x_n := \sup_{n\geq 0}\,\inf_{m\geq n}x_m=\sup\{\,\inf\{\,x_m:m\geq n\,\}:n\geq 0\,\}.$      Similarly, the limit superior of ($x_n$) is defined by      $\displaystyle\limsup_{n\to\infty}x_n := \lim_{n\to\infty}\Big(\sup_{m\geq n}x_m\Big)$      or      $\displaystyle\limsup_{n\to\infty}x_n := \inf_{n\geq 0}\,\sup_{m\geq n}x_m=\inf\{\,\sup\{\,x_m:m\geq n\,\}:n\geq 0\,\}.$   Can anybody provide any examples of its use, and why it's used in that context?


Evaluate $\int \limits_{-\infty}^{\infty}\frac{1}{1+x^4}dx$ using complex analysis

I need to evaluate the following integral using complex analysis methods $\int \limits_{-\infty}^{\infty}\frac{1}{1+x^4}dx$. $f(z)=\frac{1}{1+z^4}=\frac{1}{(z^2+i)(z^2-i)}=\frac{1}{(z+\sqrt{i})(z-\sqrt{i})(z+\sqrt{-i})(z-\sqrt{-i})}$ We know that $f(z)$ is analytic on the whole complex plane except from the 4 poles. These are 4 simple poles which correspond to $z=\pm\sqrt{i}$ and $z=\pm\sqrt{-i}$. This is the stage where I would like verification of the step. I no longer considered the $z=-\sqrt{i}$ and the $z=+\sqrt{-i}$ poles as they dont fall within the semicircular contour typically used when calculating these problems. I proceeded with the calculations of the remaining two poles to find their residues and found that they both have a residue of $\frac{1}{(4\sqrt{i})}$. Finally, using the residue theorem, I added the two residues together to obtain $\frac{2}{(4\sqrt{i})}$and multiplied by $2\pi$i to give $\pi\sqrt{i}$. Can anybody confirm or verify that this is the correct evaluation of the integral or perhaps where I may have gone astray?


Got less output with print0 option on find?

I have read the man page and other references, but I am still confused by the behavior of find with -print0 option.  -print0      This primary always evaluates to true.  It prints the pathname of              the current file to standard output, followed by an ASCII NUL              character (character code 0).   First command:  $ find /some/path/ -iname "*intro*jpeg" -o -iname "*intro*jpg" 2> /dev/null /some/path//asdf199Intro-5kqlw.jpeg /some/path/199intro-2jjaj.JPEG /some/path/199intro-3.jpg /some/path/wuer199intro-4.JPG /some/path/xbzf199INTRO-1.jpg   Second command:  $ find /some/path/ -iname "*intro*jpeg" -o -iname "*intro*jpg" 2> /dev/null -print0 /some/path/136intro-3.jpg/some/path/wuer136intro-4.JPG/some/path/xbzf136INTRO-1.jpg   I can see that the the filenames from the second command are null character separated, but why do I get 3 output as opposed to 5 above?


I have a console application that contains quite a lot of threads.  There are threads that monitor certain conditions and terminate the program if they are true.  This termination can happen at any time.  I need an event that can be triggered when the program is closing so that I can cleanup all of the other threads and close all file handles and connections properly.  I'm not sure if there is one already built into the .NET framework, so I'm asking before I write my own.  I was wondering if there was an event along the lines of:  MyConsoleProgram.OnExit += CleanupBeforeExit;


I have a problem with encoding in my c-programs. It seems to work fine in Eclipse but when executing the program in CMD in windows its not able to show the swedish "Å" "Ä" "Ö".  Is this because the encoding for the windows-XP is different from the encoding in my c-program.  I did query the local settings through setlocale() and I got the following:  Swedish_Sweden.1252  is there any quick solution to this?


Can SO stop making me look like an illiterate fool? ;)

Argh, this happens to me all the time: I type a comment like "@Jon can you please explain that part in more detail?" and it ends up as "can you please explain that part in more detail?". This makes me look like a fool that doesn't capitalise the first letter of sentences.  This was mentioned before:    This feature won't go away and automatically capitalising my comment would not be a perfect solution either, so I am fine with this. I (grudgingly) accept that.  BUT!     possible duplicate of  –      What is this? There is no reason to have bad capitalisation on this one. Can this tiny little byte in the source code be fixed? Please? Pretty please? Please pretty please with sugar on top?


How to check if an argv refers to an existing file in python2.7?

I know how to check whether required arguments are given on the command line. But how do I check whether the given argument on the command line actually refers to an existing file in the folder I'm running the code in?  I'm trying to incorporate this verification in order to save time by skipping parts of my code in case the file cannot be referenced to.


What is it called when you change a well known quote to suit your subject?

For example, for the original quote we shall use, "One swallow does not a summer make". If someone were to say "One good quote does not a philosopher make" (No dig at Aristotle intended...), or "A fancy suit does not a businessman make".  Essentially, a clear allusion to a quote, but not the quote itself.


How protected is the kid actress in Logan from the violence in the film?

I just saw the trailer of the movie Logan, where a female kid has the same supernatural power as Wolverine and does some pretty bad things (nasty killing etc.).  I saw that and my hear squeezed, but in the making some sort of computer graphics should produce what we see. So my question is:  Is there any approach followed to help the kid see as less as possible of this nasty pictures? Or is it allowed by the US law to make a kid do this without a problem?    In general a kid with such experiences, generally speaking, may have a very difficult time being okay later...


A+B={a+b} I proved that the set A+B is bounded below. Now I'm stuck on how to prove that inf(A+B) = infA + infB


How to combine 2 latex(.tex) files available in different folders from command line?

I have 2 latex(.tex) files in 2 different locations in my system. Each of these .tex files are including some grapic figures (.eps files) from another directory as follows.     IntroductionMergedFigures/grachic1 folder has some eps files as graphics1.eps, graphics2.eps etc. IntroductionMergedFigures folder and .tex file are in same directory.   \begin{figure}[H]    \centering    \includegraphics[width=13.5cm, clip = true]{IntroductionMergedFigures/grachic1}    \caption{Plot of $a$ vs $b$.}    \label{fig:Cell2} \end{figure}   I had tried t combine 2 pdfs using pdftk tool. I worked, I got the combined PDF but I did not get page numbers in sequence.   The 1st PDF had 5 pages and the 2nd PDF had 14 pages and I got combined PDF with 19 pages which had page range as 1-5 followed by 1-14, not as 1-19.   And this is my problem. Please suggest me any way to combine/merge 2 .tex files available in different locations so that when I compile it using latex command, it should generate PDF with proper page numbering.  Thanks.


What is the etiquette for modifying posts?

I'm getting pretty close to the reputation where I can start to edit others' posts, and I'm wondering what the etiquette for when (and when not) to do so. I figure that I should edit in the following circumstances:  Grammatical or spelling errors. Clarification where the meaning is not changed. For instance if the title does not describe the question very well. Where the user has made a very minor mistake that doesn't justify a full post to clarify. To add related resources or links that will help someone answer the post, or provide context  Before the commenting feature was added, I noticed that some moderators edit posts in order to insert a reply or extension to the post. I feel this isn't good etiquette (but I could be wrong) because I don't know what to do with their changes when I come to re-edit or respond. I also feel that I should be very careful not to change the meaning of any question or answer, even if that meaning is misguided. What other rules would be best practice?  Signatures and fluff are discouraged and are fair game to be removed.  See, for example, this post by  and this post by  and also see .  Also see Jeff Atwood's response in the comments to


I am using Google Cloud Platform with the Bitnami Stack, and my website is: .  This morning I got this error:     This site can’t be reached www.hienthaoshop.com refused to connect.   Try:   Checking the connection   Checking the proxy and the firewall   ERR_CONNECTION_REFUSED     And now I cannot connect to my website and admin as well.    What can I do now? Has anyone experienced this like me? I think this is the hosting problem, but I cannot contact Google support because my support package is Bronze only.


Question about polynomial sequences and functions

Suppose $f$ is continuous on $\mathbb{R}$ and is even, i.e. $f(x) = f(-x)$ for all $x \in \mathbb{R}$, suppose $(p_n)$ is a sequence of polynomials converging uniformly to $f$ on $\mathbb{R}$, does it mean that $p_n$ is also even for each $n$? If not, is there a counterexample?


When I am trying to execute a file(name.sh) in the command line by the command  ./name.sh  , I am getting the error that:     "." is not recognized as an internal   or external command, operable or batch   file   please help me execute the .sh file


How do I run one program from another in c#?

So for example, I have a few apps that I want the user to be able to use within one central app, so that means I need to run the app and give it the data it needs, so that it can return things to the central app. How could I go about running the seperate apps from one c# app, and how would I be able to run it as long as they are in the same folder, no matter where that folder is. Thanks in advance PS: I know i could just code in the functions of the apps into one app, but what if I needed to connect my c# app with a python or java app?


This example purports to show reflection of light rays from a spherical mirror. It looks good, until you try to draw a ray from the tip of the candle flame, then through the focal point, $F$, and then emerging parallel to the optic axis $(CF)$.  Go ahead, draw it on your computer monitor screen, or print this page and draw it on the paper. Whoops! This ray should then pass through the image of the tip of the candle flame, but it doesn't!  Here's what you get when you draw the third light ray (in red) from the candle flame. It comes nowhere near the image of the candle flame. As soon as you draw some of the "missing" rays, you discover that the diagram becomes inconsistent.    According to me, the diagram seems to be perfect. From where did this anomaly come from? Please help.


"the legs of the table" vs "the table's legs"

I got this quiz:     The carpenter repaired __ .      (A) the table's legs      (B) table's legs      (C) legs of the table      (D) the legs of the table   ...which says the right answer is D. But I think A is also acceptable.  What do you think? Thanks.  Related but not a duplicate:   If I add an option E: the table legs, is E also acceptable?


Assumptions of linear models and what to do if the residuals are not normally distributed

I am a little bit confused on what the assumptions of linear regression are. So far I checked whether:  all of the explanatory variables correlated linearly with the response variable. (This was the case) there was any collinearity among the explanatory variables. (there was little collinearity). the Cook's distances of the datapoints of my model are below 1 (this is the case, all distances are below 0.4, so no influence points). the residuals are normally distributed. (this may not be the case)  But I then read the following:  violations of normality often arise either because (a) the distributions of the dependent and/or independent variables are themselves significantly non-normal, and/or (b) the linearity assumption is violated.  Question 1 This makes it sound as if the independent and depend variables need to be normally distributed, but as far as I know this is not the case. My dependent variable as well as one of my independent variables are not normally distributed. Should they be? Question 2 My QQnormal plot of the residuals look like this:   That slightly differs from a normal distribution and the shapiro.test also rejects the null hypothesis that the residuals are from a normal distribution: > shapiro.test(residuals(lmresult)) W = 0.9171, p-value = 3.618e-06  The residuals vs fitted values look like:   What can I do if my residuals are not normally distributed? Does it mean the linear model is entirely useless?


I have an axis environment in a tikzpicture with a straight line exceeding the axis. At the end of the line I add a node whose text partially also exceeds the axis and is clipped. Clipping the line is ok but the whole node text should be visible. I tried to use clip mode=individual from  but I didn't work. Then I also added clip=false to the node properties. But it didn't work neither. What is wrong in my code?  \documentclass[11pt,a4paper]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \begin{document} \begin{tikzpicture}[] \begin{axis}[clip mode=individual, xmin=5, xmax=15, ymin=22, ymax=60, ] \addplot[domain=4:14]{16.46/3.6*x} node [at end,anchor=south east,sloped] () {testtesttest}; \end{axis} \end{tikzpicture} \end{document}   Many thanks.


showing a genereral function from a generating function and recursive function

I have an assignment problem that i have been fighting with for a while now..   I have this recursive function:  $$a_n=\begin{cases} 3,&\text{if }n=0\\ 5,&\text{if }n=1\\ 4a_{n-1}-4a_{n-2},&\text{if }n\ge 2\;. \end{cases}$$  We define the generating function $$P(n)=\sum_{n=0}^\infty (a_n+a_{n+1})x^n$$  Now I need to use the definition of $a_n$ in the recursive function to show that $$P(n)=\frac{8-19x}{(1-2x)^2}$$  I cant really get to this result, and I have been trying all sorts of things by now, nothing really leading me anywhere..  I hope some of you can help me!  Thanks


How can I go back to the overworld when playing in creative mode?

Help - my 7 year old has built a world in minecraft and has gone through a nether portal and cannot find her world again? I'm no gamer that's for sure and I simply can't help her she is distraught - Is there anyway we can get her back from where she is stuck?


A folder having different sub folders, i want to copy all subfolders from source folder to destination folder

I have project documents in D:/myprojects/payrole  In these "payrole" i have different files and different sub folders  I need to copy the files and subfolders to  E:/myprojects/payrole  copying files and subfolders from D drive to E drive   how can i do these process in windows application using c# ? please give me some idea