I was browsing Google Chrome and switched tabs from Discord to a new tab and then my Mac laptop crashed. I was then greeted with my minimal bash GNU GRUB screen whenever I try to run Linux without the OS hard drive plugged in. Nothing wrong with that screen.   I'm just wondering why my laptop decided to have a seizure.  *** Panic Report *** panic(cpu 0 caller 0xffffff80063371b0): "zalloc: zone map exhausted while allocating from zone kalloc.8192, likely due to memory leak in zone kalloc.64 (3617955840 total bytes, 56530555 elements allocated)"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.51.2/osfmk/kern/zalloc.c:2413 Backtrace (CPU 0), Frame : Return Address 0xffffff91fb8db7e0 : 0xffffff80062ec3ec  0xffffff91fb8db860 : 0xffffff80063371b0  0xffffff91fb8db9b0 : 0xffffff8006837387  0xffffff91fb8db9e0 : 0xffffff7f88bccf67  0xffffff91fb8dba00 : 0xffffff7f88b2d1dc  0xffffff91fb8dba30 : 0xffffff7f88b16297  0xffffff91fb8dba80 : 0xffffff7f88b1c9ea  0xffffff91fb8dbae0 : 0xffffff7f88b1dbf0  0xffffff91fb8dbb20 : 0xffffff80068e3c61  0xffffff91fb8dbb80 : 0xffffff80068ecc81  0xffffff91fb8dbcc0 : 0xffffff80063c01f8  0xffffff91fb8dbdd0 : 0xffffff80062f166c  0xffffff91fb8dbe30 : 0xffffff80062cdff1  0xffffff91fb8dbe80 : 0xffffff80062e2667  0xffffff91fb8dbf10 : 0xffffff80063ed0d8  0xffffff91fb8dbfb0 : 0xffffff800629dd66        Kernel Extensions in backtrace:          com.apple.iokit.IOAcceleratorFamily2(311.11)[41BE9F49-4998-3297-9EF6-9972DD38B09E]@0xffffff7f88b01000->0xffffff7f88b90fff             dependency: com.apple.iokit.IOPCIFamily(2.9)[C6E3195E-A0D7-3B71-B5F4-9EE9E182D4FC]@0xffffff7f86be0000             dependency: com.apple.iokit.IOGraphicsFamily(514.10)[E197EF14-F55B-3B9C-B903-91258C9CA382]@0xffffff7f8798f000          com.apple.driver.AppleIntelHD5000Graphics(10.2.4)[D1DEEF45-4013-31E7-BCE7-97B67875A726]@0xffffff7f88ba0000->0xffffff7f88c14fff             dependency: com.apple.iokit.IOSurface(159.6)[85BD985C-2B78-3C1A-9606-6A6B0CB77E24]@0xffffff7f87846000             dependency: com.apple.iokit.IOPCIFamily(2.9)[C6E3195E-A0D7-3B71-B5F4-9EE9E182D4FC]@0xffffff7f86be0000             dependency: com.apple.iokit.IOGraphicsFamily(514.10)[E197EF14-F55B-3B9C-B903-91258C9CA382]@0xffffff7f8798f000             dependency: com.apple.iokit.IOAcceleratorFamily2(311.11)[41BE9F49-4998-3297-9EF6-9972DD38B09E]@0xffffff7f88b01000  BSD process name corresponding to current thread: WindowServer  Mac OS version: 16E195


I am writing to my manager. I want to suggest making a new service to her. I have problem with this sentence:     Can you suggest to them that [Company Name] develops the Italian version of the website?   Am I using the word that correctly here?


Is it possible to have a Google Chrome shortcut use a different user agent than an existing Chrome window?

I am specifying a custom user agent in Google Chrome in order to access a legacy web site on my company's intranet (the site is needlessly requiring IE). I created an application shortcut for the site and added the --user-agent parameter to the shortcut.  If I launch this shortcut without Chrome already running, things work fine. However, if I launch the application shortcut when another Chrome window is already open, the --user-agent parameter is ignored and the normal user-agent is used.  So, it appears that whatever user agent string is used when the first Chrome window is opened is what will be used for all future windows or application shortcuts. Is there any way to get around this behavior?


On Ubuntu 16.04, the Qt apps installed with snap are ugly and not themed. How to apply the GTK theme of Ubuntu to snap Qt apps ? The trick to use Qt5 configuration from  don't work. Below, for example KeepassXC (Qt 5) installed from snap :


What visa do my wife and children need to travel to the UK with me?

I am from Mumbai, India. I will soon go on a short trip to the UK on a 6m business visa. Am planning to take my wife and two kids (7 years and 2 years) along for some sightseeing over the weekends. My wife cannot speak fluent English as she has studied in vernacular medium. What visa will be required for her and my kids? Will it be dependent on my visa or independent? Also, does it matter in the Visa application if she is not good at English? Just to add, we will be there for 2-3 weeks.


$\arctan$ of a square root as a rational multiple of $\pi$

I know that if $x$ is a rational multiple of $\pi$, then $\tan(x)$ is .  Is there a fairly simple way to express $x$ as $\pi\frac{m}{n}$, if $\tan(x)$ is given as a square root of a rational?


Cartoon show that was about magic stones and fighting with monsters

What I remember was that it had (its really vague but its all I got):   Three or four main characters, one of them a girl, two of them guys, then there was like a dad or grandpa helping them.    They have magic stones they use to capture creatures, or they live inside the gemstone things. The main character had some kind of blue and white bear/beast creature called "furrock" or something he had horns too. The girl has some kind of rhino with nature powers, so it was covered in leaves.  The main characters' dad was probably the evil guy; I can't remember   It was from around 2009-2011, I think. It was on Netflix when I saw it, but since then its been deleted for a while.    I know it is not Huntik.  I'm just saying that cause that's what a lot of the searches thought it was but it's not. I know this isn't a lot but if someone knows anything it would be really helpful because I keep remembering and forgetting what its called.


The maildir has a specific format of the files laying underneath, e.g. 1549464014.9224_427.hostname:2,RS. In Debian environment copying this file over SSH without renaming is impossible or I don't know how. The question is how?  NOTE: no renaming should be involved!  The example output:  [user@hostname ~]$ scp '1549464014.9224_427.hostname:2,RS' remote.server.com:/dest/dir/ 1549464014.9224_427.hostname:22: [Errno -2] Name or service not known   The solution with quotation like in  is not useful.


unable to write or create anything on my NTFS partitions

I recently installed Ubuntu 20.04 dual-boot alongside pre-installed Windows 10 on my laptop (on the same SSD disk, but separate partitions) with a UEFI boot loader.  now I can not write, create or edit anything on my NTFS HDD partitions. I've searched for the problem and tested the below configuration for the mount point in /etc/fstab but unfortunately, it doesn't work.  LABEL=Learnings /mnt/Learnings ntfs rw,exec,users,umask=000,dmask=000,fmask=000,uid=1000,gid=1000,x-gvfs-show 0 0   this is the ls -l command result on an NTFS partition which denotes I have the right access to files and folders.  -rwxrwxrwx 1 mohsen mohsen    78 Feb 16 21:30  /mnt/Learnings/Note.txt drwxrwxrwx 1 mohsen mohsen     0 Apr 23 21:56  /mnt/Learnings/TEMP   also, it should be noted that:   I've disabled the hibernation mode in windows 10 with powercfg.exe /hibernate off command. I'm not sure if it relates, but I've recently twice experienced the blue screen page on Windows while I was backing up the disk and also while I was trying to restart the OS.   Thanks in Advance, Mohsen.


Set of branch points isn't discrete, but branch points are isolated?

I refer to , which I understand says that the branch points of a nonconstant holomorphic map $F: X \to Y$ between Riemann surfaces $X$ and $Y$, both of which are not necessarily compact, form a discrete subset of range $Y$ of the map $F$. (Not sure if 'connected' is part of the definition of Riemann surfaces in other textbooks, but it is here.) Question 1: Do I understand correctly, and is this indeed true? What else I understand:  $A$ is a discrete subspace/subset (I just assume everything here is the usual subspace topology) of $B$ if and only if every singleton subset of $A$ is open in $A$ if and only if every point of $A$ is isolated.  This overflow question () seems to suggest this is not true but is true if $F$ is proper. However, I'm not sure the definitions of Riemann surface are the same (maybe some answers use definitions where Riemann surfaces are not necessarily connected or something).  2.1. I know $F$ is 'discrete' (meaning that its fibres are discrete; here, i refer to a ): see definition before Lemma 3.1, on p. 7), by Proposition II.3.12, and open, by open mapping theorem, which is Proposition II.3.8, but I'm not sure these help show $F$ is proper or are otherwise helpful. Ostensibly 'discrete' maps don't map discrete subsets to discrete subsets.   This stackexchange question () seems to suggest this is true.  I think this is true if $F$ is injective or at least something like locally injective. (Please don't make me type up all the stuff I did for this part.) However based on the question in (3) and based on the , which I think uses the term 'branch points' to mean the same thing as what Miranda means by 'ramification points' (and thus is different from Miranda's 'branch points'), it seems that no neighbourhood $U$ of a ramification point $p \in U \subseteq X$ of $F$ is such that the restriction $F|_U$ is injective.  Kinda related:    This page () says    Now, the ramification and branch points must form a discrete set  I don't think the page assumes anything like $F$ is proper.  The  text in (2.1) actually seems to assume proper based on the '3.7. Proper holomorphic maps' part, but said part refers to 'Lemma 3.17', so I think proper can be replaced with closed. Maybe $F$ is closed or something.  Kinda related (see Question 2 below):     says    If $F$ is proper then the image $\Delta = F(R)$ is discrete in $Y$.   This seems to have all the same assumptions as with Miranda. Ostensibly, either Miranda is wrong or there's some higher level machinery that allows us to omit $F$ proper.  Question 2: To possibly generalise this, what are the minimum requirements on $F, X$ and $Y$ to make $F$ map discrete subsets to discrete subsets? I mean, I'm not sure we really need 'holomorphic' here. I have a feeling this applies perhaps to maps that are just open/closed, continuous and discrete and spaces that are just Hausdorff and locally compact or something.  (again) Kinda related:


Why does accessing the element next to the given position misbehave, whereas accessing the previous element works correctly?

Given the following simple piece of Javascript code:  var a = [ 1, 2, 3 ]  for ( var i in a ) {     console.log(a[i-1], a[i], a[i+1]); }   why does it produce the strange output below?  undefined 1 undefined 1 2 undefined 2 3 undefined   The first undefined on the first line and the last undefined on the last line are because of out-of-bounds accesses. But where do the other two undefined's come from?


Photoshop CS3 > Marquee Tool > Modify > Contract problem?

Very strange....  The circular Selection I Made by using Marquee Tool is no longer good once it's contracted by using SELECT | MODIFY | CONTRACT ....  In conclusion, if i made CONTRACTION to make the circular smaller, then the ugly shape become appeared clearly.   check out my preview image, ...    How to solve it anyway?


Question regarding electrostatic potential energy

I was calculating potential energy due to point charge at origin using relationship $$U=\dfrac{1}{2}\epsilon_{0}\displaystyle\int \mathbf {\vec E.\vec E\ }  \ d\tau$$ and it comes out to be infinity  because $\mathbf {\vec E.\vec E\ }=|\vec E|^2 $ falls off as $\propto$ $\dfrac{1}{r^4}$ and volume $d\tau$ grows as $4\pi r^2 dr$ resulting in overall fall off as $\propto$ $\dfrac{dr}{r^2}$ and which in turn lead to blowing up of integral at $r=0$ and U approaching $\infty$ Question: it is written in my textbook as it is that: "it takes infinite energy   to pack a point charge(like electrons, protons) into zero volume." i want to know physical justification of this result (not mathematical derivation like above )


Does the series $\sum\limits_{n=1}^\infty \frac{1}{n^3 \sin^2n}$ converge or diverge?

I have this series given by $$\sum\limits_{n=1}^\infty \frac{1}{n^3 \sin^2n}.$$ I know that the terms are all nonnegative. Can I get a subsequence of $\frac{1}{n^3 \sin^2n}$ such that its sum diverges to $+\infty$?


String + int compare with same String + int in java?

Why i'm getting false in below statement. int x = 10;     System.out.println("X="+x=="X="+x); //false  If i'm right then after evaluation it will look like below statement.. System.out.println("X=10"=="X=10"); //true  And why i'm getting true in this.. final int y = 10; System.out.println("Y="+y=="Y="+y);


How to make a program a create number lists by itself as necessary?

I want to take input of a string and split it into a list of 'n' elements. Then I want to take input 'm' and create number of lists such that each list has 'm' elements.  strng=input() list(strng) n=len(strng) m=input() #program to store 'm' elements of strng in n/m different lists   If strng="abcdefghijklmnopqrstuvwxy" and m=5, I want it to be stored as list1=['a','b','c','d','e']enter code here list2=['f','g','h','i','j']....and so on.


What is the default idle timeout for OpenSSH?

I can't seem to find an answer to this simple question, which I need for some compliance documentation.    On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will a user's SSH session be terminated?  I believe the following can be set to increase the idle timeout, but they are commented out by default.  $ grep -i alive /etc/ssh/sshd_config #TCPKeepAlive yes #ClientAliveInterval 0 #ClientAliveCountMax 3   Also, is there a command to dump a list of the current sshd settings?  I don't see anything in man sshd.


Is there an app that can transmit mic input to bluetooth devices?

Since I have a lot of different formats of audio It sometimes becomes a hassle when listening to music when I have to bring my aux cord with me into the shower.  I am asking about the bluetooth option because then if I were to have,say, a desktop tape deck I can plug it in via the mic cable and transmit it to my beats pill xl.  Anyways thanks for further help...regards, Thomas


linear regression in statsmodel.formula.api python

I am using statsmodels.formula.api to preform linear regression. I have used three independent variables for prediction. In some cases I am getting negative value but all the output should be positive.  Is there any way to tell the model that the output can not be negative?  import statsmodels.formula.api as smf  output1 = smf.ols(formula= 'y ~A+B+C', data= data).fit() output = output.predict(my_data)


selector not working in jquery after data loaded from ajax call

Here is the html

   And here is the jquery code :-  $.ajax({     url : "url.php",     type : "POST",     data : {someData : "some data"},     success : function(data){         $("#childDiv).html("<button id='clickMe'>Click me</button>");     } });   This code not working after element is added through ajax  $("#clickMe").on("click",function(){     alert("please help!"); });   the #click me is not working.  How can I fix it, make it work ?


How to find the terminal command executed by any mouse event

I mean for example if I am clicking a button in Firefox (or any other event) what is the terminal command that is being executed?  Yes I do know there is apropos but I am asking is there something like if I hover over something it would just tell you what terminal command it would execute if clicked?


My attempt: $$ \lim_{x \rightarrow 0} \frac{\sin(\tan(x)) - \tan(\sin(x))}{ \sin^{-1}(\tan^{-1}(x)) - \tan^{-1}(\sin^{-1}(x)) }  = \lim_{x \rightarrow 0} \frac{f(x)}{g(x)}$$ then we try to work $$ \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) \sec^{2}(x) - \sec^{2}(\sin(x)) \cos(x)   }{ \frac{1}{\sqrt{1- (\tan^{-1}(x))^{2}} (1+x^{2})} - \frac{1}{\sqrt{1 - x^{2}} \left[ 1+(\sin^{-1}(x))^{2} \right]}  } $$ and since $\lim_{x \rightarrow 0} \sin(x) = \lim_{x \rightarrow 0} x$, then it becomes $$ \lim_{x \rightarrow 0} \sec^{2}(x) \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) -  \cos(x)   }{ \frac{1}{\sqrt{1- (\tan^{-1}(x))^{2}} (1+x^{2})} - \frac{1}{\sqrt{1 - x^{2}} \left[ 1+(\sin^{-1}(x))^{2} \right]}  } $$ $$ = \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) -  \cos(x)   }{ \frac{1}{\sqrt{1- (\tan^{-1}(x))^{2}} (1+x^{2})} - \frac{1}{\sqrt{1 - x^{2}} \left[ 1+(\sin^{-1}(x))^{2} \right]}  } $$ then also $\sqrt{1- (\tan^{-1}(x))^{2}}$ and $1+(\sin^{-1}(x))^{2}$ converge to $1$, so the above is just $$ = \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) -  \cos(x)   }{ \frac{1}{(1+x^{2})} - \frac{1}{\sqrt{1 - x^{2}} }  } $$ $$ = \lim_{x \rightarrow 0 } (\sqrt{1-x^{2}} (1 + x^{2} ) \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) -  \cos(x)   }{ \sqrt{1-x^{2}} - 1 - x^{2}  } $$ $$ =  \lim_{x \rightarrow 0} \frac{ \cos(\tan(x)) -  \cos(x)   }{ \sqrt{1-x^{2}} - 1 - x^{2}  } $$ Using L'hopital approach for the above, we work on: $$ \lim_{x \rightarrow 0} \frac{ \sin(x) - \sin(\tan(x)) \sec^{2}(x)   }{ -\frac{x}{\sqrt{1-x^{2}}} - 2x  } $$ but also $\tan(x) \rightarrow x$ as $x \rightarrow 0$, so we will end up $$ \lim_{x \rightarrow} \frac{\sin(x)}{x} \lim_{x \rightarrow 0}  \frac{ 1 -  \sec^{2}(x)   }{ -\frac{1}{\sqrt{1-x^{2}}} - 2  } = 0$$ But the answer should be $1$, what rules do I violate and why?


Prove: If $G = \{a_1, a_2, ..., a_n\}$ is a finite abelian group, then $(a_1 a_2...a_n)^2 = e$, where $e$ is neutral in $G$.  I don't even now how to begin this.


2013 MacBookPro with Nvidia GPU and recent macOS

I own an early 2013 15'' MacBook Pro (MacBookPro10,1), and I've been running every macOS update till Mojave, included. The mac has two GPUs, which get selected automatically depending on the running apps:   Intel HD Graphics 4000 (integrated) NVIDIA GeForce GT 650M (discrete)   Recently I've been reading about the fact that macOS Mojave has dropped any support for Nvidia GPUs, and digging further I've found out that users have been reporting issues with my model specifically. Apparently, since High Sierra there have been issues with the GeForce GT 650M and macOS, with GUI slow downs and crashes. I've found plenty of posts of people complaining about the lack of support and drivers from Apple.  Personally I have not observed any of these issues, but now I wonder. I know for sure that I've been using the discrete GPU often (I track my energy usage), but maybe I've just not noticed the slowdowns.  I've inspected the version of the Nvidia drivers (system report > software > extensions), and it says:  GeForce:    Version:          12.0.24   Last Modified:    12/10/2018, 05:10   Bundle ID:        com.apple.GeForce   Notarised:        Yes   Loaded:           Yes   Get Info String:  GeForce 12.0.24 355.11.10.50.10.103   Obtained from:    Apple   Kind:             Intel   Architectures:    x86_64   64-Bit (Intel):   Yes   Location:         /System/Library/Extensions/GeForce.kext   Kext Version:     12.0.0   Load Address:     18446743521870100000   Loadable:         Yes   Dependencies:     Satisfied   Signed by:        Software Signing, Apple Code Signing Certification Authority, Apple Root CA   They seem to have been updated one year ago (with Mojave?), but that doesn't fit with what I've been reading about the total lack of support.  Does anyone know what's the current state of the game for my MacBook Pro model?


Do bank statements in French need to be translated for a UK visa application?

I hope my concern will make a sense here.    I am a Congolese student in South Africa. I am planning to visit the UK for my holidays. My father (a company owner since before 2013) in Congo is supporting my studies and trip but his documents are in French. I am hesitant whether I should submit a bank statement in French at the UK visa centre here in South Africa. Should I have it translated into English?    What should I do? There is no way to be sure from the UK Home Office information.


How do I correctly remove items from Wine Programs menu?

As soon as a Windows application creates a shortcut/directory in Wine Start Menu Programs directory (in particular I do this manually by means of Total Commander and it works), it gets reflected in Ubuntu Wine Programs menu. But when a shortcut/folder is removed (manually, by means of Total Commander again),the Ubuntu Wine Programs menu item persists, and this is an undesirable behaviour.  I've once done something causing Wine/Ubuntu to actually refresh the menu state and remove orphan items, but unfortunately I can't remember what. Do you know the way? I am specifically interested in hand-made/removed shortcuts, not installing/uninstalling Windows software.


Comments are often described as "second-class citizens" on Stack Exchange:      Comments are purposely second-class citizens, but this seems like privileging them--protection for comments that should be removed!       While I agree comments are second class citizens, ...     Etc.  When I refer to comments being "second-class citizens", I'd like to add a reliable reference to show that I'm not just a random person on the Internet stating an anti-comment opinion.  Thus, I want to include a link to a reliable reference.  But I don't know which link to use...  Question: What's the canonical link for comments being "second-class citizens"?  It's not on the help page: .


So, I've been tasked with solving the above. I've gone up to the general solution which wasn't too tricky:  $$U(x,y)=e^{-x}(\frac{R_1e^{4x}}{4}+f(y-x))$$  However, it gets a bit strange for me when I'm equipped with any initial/boundary data alongside it. So doing the obvious thing and just inputting the respective values gives me  $$U(x,0)=e^{-x}(\frac{R_1e^{4x}}{4}+f(-x))=0,$$  but then what does that tell me and how do I get the overall solution from it? Do I just solve for $f(-x)$? If so, then  $$\frac{R_1e^{4x}}{4}+f(-x)=0,$$  or equivalently  $$R_1e^{4x}+4f(-x)=0,$$  then  $$4f(-x)=-R_1e^{4x},$$  so  $$f(-x)=\frac{-R_1e^{4x}}{4} \Rightarrow f(-x)=Ce^{4x}.$$  So then what? Do I then try to apply this to when $f$ takes $y-x$ as its argument? So then we'll have  $$U(x,y)=f(y-x)=Ce^{4x-4y},$$  and conclude that as our solution? I realise that something has gone wrong here, because when I do compute the partial derivatives and substitute them back into my original question, the left hand side and right hand side don't quite equal each other?  Or, do I end up keeping the general solution that I obtained and then substitute my $f(y-x)$ expression that I obtained when putting in the initial data?


cron job not working in unix but works when executed manually

I am running a cron job everyday at 21:00 UTC which downloads few csv files from sftp server, renames the downloaded files and then loads the files in database(mysql) and updates the time in database (mysql).  ps -ef | grep cron | grep -v grep root      2656     1  0 May28 ?        00:00:13 crond   cron jobs   37 21 * * * cd /opt/currentdata/ && ./dbupdate.sh >> /opt/scriptlogs/db1.log 2>&1 30 21 * * * cd /opt/currentdata/ && ./dwnldsftp.sh >> /opt/scriptlogs/db2.log 2>&1 35 21 * * * cd /opt/currentdata/ && /usr/bin/python /opt/currentdata/files2.py >> /opt/scriptlogs/filerename.log 2>&1 40 21 * * * cd /opt/currentdata/ && /usr/bin/python /opt/currentdata/tymup.py >> /opt/scriptlogs/timeupd.log 2>&1   cron jobs are setup as root user and I have provided the permissions to these files as below  -rwxrwxrwx 1 root     root  246 Jul 27 19:27 dwnldsftp.sh -rwxrwxrwx 1 root     root 3095 Jul 28 04:20 dbupdate.sh -rwxrwxrwx 1 root     root 3069 Jun 12 19:07 files2.py -rwxrwxrwx 1 root     root  512 Jul 28 09:02 tymup.py   once the csv files are downloaded I have described in dwnldsftp.sh script to make those files as executable read write. To the whole folder I have kept the scripts I have made them as read write execcutable.  Problem : The cron job runs everyday but it doesnt update the database, I have tried keeping the path of mysql in script top as well , it dowloads the file from SFTP server and renames as well the script for time update in database also runs but loading of csv files in database does not happen.  SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin   But when I manually execute this scripts after doing SSH to my instance and become root user it works absolutely fine.  There are no errors logged in cron logs  CROND[14202]: (root) CMD (cd /opt/currentdata/ && ./dwnldsftp.sh >> /opt/scriptlogs/db2.log 2>&1) CROND[14213]: (root) CMD (cd /opt/currentdata/ && /usr/bin/python /opt/currentdata/files2.py >> /opt/scriptlogs/filerename.log 2>&1) CROND[14216]: (root) CMD (cd /opt/currentdata/ && ./dbupdate.sh >> /opt/scriptlogs/db1.log 2>&1) CROND[14225]: (root) CMD (cd /opt/currentdata/ && /usr/bin/python /opt/currentdata/tymup.py >> /opt/scriptlogs/timeupd.log 2>&1)   Can anyone help me here what I am missing here ?  EDIT :  Conditions when cron works :  I SSH to instance become root user , then execute those above 4 files manually(SFTP file download, rename files, update database, update time) so data is updated in database successfully now I set the cron job to run just next 15 minutes after the time I executed the scripts manually for whole flow (SFTP file download, rename files, update database, update time) and logout the SSH session. cron works successfully and data in database is updated.  When cron doesn't works :  I SSH into instance execute command crontab -u root -e then I set the cron jobs for whole flow (SFTP file download, rename files, update database, update time) to run at 21:00 UTC as described above, then logout from SSH session. I check next day the data is updated or not in database I find that data is not updated , I check cron logs where I see that cron executed successfully.


How do hyphens modify the meaning of "n-month-old"?

I see three different ways of hyphenating the phrase "six month old".  Six-month old:        Six-month-old:        Six month old:         Is there a significance to these differences?


How can I hibernate/suspend from the command line and do so at a specific time

I managed to find out how to suspend/hibernate the system from the command line by reading .  However, I would like to know how to use the command line to suspend/hibernate at a given time, in absolute (example, 11PM) or relative (example, in 30 minutes) terms.  I already know how to do this with shutdown, but I'm note sure if the command is similar.


I am writing my own class file and when I am browsing through code developed by others I see % sign popping up at the end of command lines while other authors do not use it. Consider the following example from biblatex:  \DeclareCiteCommand{\citeauthor}   {\boolfalse{citetracker}%    \boolfalse{pagetracker}%    \usebibmacro{prenote}}   {\ifciteindex      {\indexnames{labelname}}      {}%    \printnames{labelname}}   {\multicitedelim}   {\usebibmacro{postnote}}   Here the % sign is used after the second and third line. Other others only use it in constructs like  \newcommand*{\bla}{%   \a   \b}   where % is only present at the first line. Finally there are authors that use it almost everywhere (after every line). As a class/package writer what should I do?


Custom WebApp not appearing in Unity Launcher

I created a custom webapp in order to have it in the Unity launcher. The thing is that I followed some instructions found on the web and I can actually search for it in the dash. I click on it and it opens Firefox and it goes to the proper destination. So, that's good.  Now, what I want is for the webapp to appear in the launcher when it is launched from the dash so that I can right-click on it and select "Lock to launcher", but that does not happen.  I know this question has been asked already () but it did not get a single reply.   Does anybody know how to make the webapp visible in the launcher?  Thanks in advance!


I could not find any list so I am asking: What type of notifications do we have? From my own notifications, I could find the following:  A badge was awarded. A post I made was edited. A post I made was migrated to a different site. A bounty I started is about to expire.  I believe the notification about edited post is new since  so assume there might be more. Any other types? For example, what about post I made is deleted? I would expect to get notification as well, but can't test this by myself.


resolving bibliography references in pdfcomment tooltips

I would like to include some bib references as tooltips in my beamer slides.  (I do NOT want a tooltip to appear for every \cite{}.)  I have started to use pdfcomment for tooltips as it seemed the simplest of those I looked at (cooltooltips, fancytooltips, pdfcomment).  I'm using Win 7, WinEdt 10, MikTeX 2.9.  I've been trying PDFLaTex + Biber + PDFLaTeX.  Here is a MWE:  \documentclass{beamer}  \usepackage[natbib=true,backend=biber]{biblatex} \usepackage{pdfcomment} \usepackage{filecontents}  \begin{filecontents}{bib.bib}   @BOOK{dav-mac-93,     AUTHOR =       "Russell Davidson and James G. MacKinnon",     TITLE =        "Estimation and Inference in Econometrics",     PUBLISHER =    "Oxford University Press",     YEAR =         "1993",     address =      "New York",   } \end{filecontents}  \bibliography{bib}  \begin{document}    \begin{frame}     I want the reference in this tooltip to be resolved. \citet{dav-mac-93}      \pdfcomment{Resolve this reference: \citet{dav-mac-93}}      \printbibliography   \end{frame}  \end{document}   Is it possible to compile bib references in pdfcomment, or do I need another package?


International investing and currency fluctuations

Lets suppose a British investor has some participations (say, for a value of £10000) in a Britih (not hedged) fund or ETF whose underlying assets are in US dollars, but that is denominated in pounds sterling.  If the pound sterling goes down with respect to the dollar, will that make the fund/ETF's value go up in the same proportion?  if not, how does this work? I'm aware that a fund manager needs to convert from pounds to dollars and, if the investor sells, then he/she will need to convert the dollars back in pounds, so if the pound has lose value this change should be more beneficial, am I missing something?  What would happen with hedged ETFs/funds?


Why does unequal amounts of RAM in each slot decrease performance?

describes the RAM specifications for many of the MacBook laptops. In the section for my laptop (13" Pro Late 2011), it says:     Additional Notes: For best performance, fill both memory slots, installing an equal memory module in each slot.   This isn't the first time I've heard of this phenomenon, and it's definitely not specific to Apple.   Why is this the case? Other than the obvious decrease in available memory, why would it be worse to run with 6GB (1x4GB + 1x2GB) than with 8GB (2x4GB)?


What is the Advantages and Disadvantages of digital signatures over HMAC?

I want know the advantages of using digital signatures over HMAC for message by message authentication.  I know that HMACs are inexpensive to implement compared to DS, but DS provides a very strong security also uses more processing power. Are these two the main differences?


Why doesn't OS X require graphics card driver updates?

I don't know how to update Nvidia graphic card drivers on MacBook Pro Retina. I have been a Windows user and a gamer for a long time where we expect frequent driver updates.   My expectations revolve around whether Nvidia releases graphic driver updates for Mac and how to check for pending updates.  Where can I see the versions of drivers on OS X?


How does a cracker know if they've broken AES-CBC encryption?

How does a cracker know if they've broken CBC or stream encryption? With hashe cracking one would know because you have the password that you started with to test. But for CBC decryption, you have a 16 bit block (AES), a key, and an IV. With the wrong key one will get random data as output. So how will one know when the right key was found? The output may be binary so how is it determined if the decryption was a success? Does the attacker require knowledge of the type of contents, to search for magic numbers or headers?


A group of order $p^2$, where $p$ is prime, with exactly one proper subgroup is cyclic.

I am not able to prove this, could any one help me?     $G$ be a finite group, $G$ has exactly one proper subgroup. We need to prove that $G$ is cyclic and $|G|=p^2$ where $p$ is prime.   Thank you.


Windows 10 Start Menu Different Between Builds?

The first image is from Windows 10 v1511 (Build 10586.218), and the "All apps" menu item is tucked into the lower left corner, out of sight & mind.   This image is from a Surface Pro 4 running v1607 (Build 14393.321). The All Apps menu is taking up a ton of real estate and not contributing anything to society. How can I move it down to the lower corner like in the green start menu above?


df reports 100% full filesystem, du shows only 25% used even though there's no unlinked file

I have strange issue, df shows rootfs is 100% full but du shows it's 25% used. So I check on the unlinked files from the rootfs using lsof +aL1 / and it does not show me any deleted/unlinked files from rootfs. I tried find /proc/*/fd -ls | grep  '(deleted)' too and it does not show any unlinked file from rootfs!  Inode usage is only at 9%


Can a creature grappling someone drop them off a cliff?

The situation is like this. PCs having a fight on a battlefield with several very deep chasms. One of the PCs attempt to grapple an enemy, then moves with him into one of the chasms (bringing himself and his target down and potentially very much dead). Looking through the rules, I have found only the following info about grapple and movement:     When you move, you   can drag or carry the grappled creature with you, but   your speed is halved, unless the creature is two or more   sizes smaller than you.   No other rules are preventing the PC from just moving into the chasm and dropping his enemy in it. Or at least I have found none. If I remember correctly, in previous editions there were some rules pointing out, that the victim in this situation is subject to some save or an ability check. That was my ruling during the game.  My question then is basically this:  Is there any rules about what options the grappled creature has in case the enemy tries to push it into dangerous terrain, such as a long fall from a high height?  I am looking for RAW answers, because I want to balance my judgments on at least some rule base (or certainty that there is none). My players are OK with my rulings, but I feel uncomfortable nerfing their strategies just because I feel it is wrong.


Does Ubuntu support hardware which doesn't have official certification?

So I recently bought a new low-price laptop, Lenovo Essential B40-30. Specs are: Intel® Celeron® Dual-Core™ N2840 2.16 GHz processor, 14", HD, 2GB DDR3  I was wondering now if I could use Lubuntu or Ubuntu on it. I'm not sure about this because I checked the certified hardware for Ubuntu and the "essential" series isn't on the , while "ThinkPad" series for example are. Is it even possible to install Ubuntu if its not on there?


Photo filename convention: why not including time?

Filenames of photos stored on a camera's memory card follow the . They are merely counters with a prefix, e.g. DSC_, DSCF_, IMG_, ... and files are stored in a folder with a prefix as well, see also .  I am not aware of any camera manufacturer including time stamps in the filenames.  It would be rather convenient to be able to identify photos by a unique filename, ex DSCF_01012017_120302.jpg taken on Jan. the 1st 2017 at 12:03:02; rather than DSCF_12345.jpg, given the file name counter can be reset, and has no mnemonic indication of the file's content. If photos are shot at high burst rate (more than 1/second), then one could simply add a millisecond time-stamp or use a 2 letters coding.  One reason I can foresee for not using timestamps is that the file name can be long; but this can be solved by removing for example the date (day, month, year) from the name and storing files in folders with the date in their names.   Is there any specific reason not to use time stamps in photo filenames stored on memory cards?  Edit:  When asking my question, I hadn't found any similar one nor had SE suggested one, but here is a discussion on the topic:  and a .


Can do an "apt-get update" but for only for one package?

After adding a new ppa to the repository, is it necessary to update the whole database? By "whole database" I mean is it necessary to update index's of each and every packege?  If it's not necessary, then how can I update only that specific package whose ppa I have just added into the repository.  For example,  if I add an ppa by typing the following in terminal,  sudo add-apt-repository ppa:tiheum/equinox   then we normally run the following command after it,  sudo apt-get update   But how can I update the only package which is associated with the above ppa, instead of updating the whole database.


class Test2 {     char pq;     long double qr; };  class Test {     double c;     int a;     char b;     Test2 z; };  sizeof(Test2)=32 sizeof(Test)=48 Why sizeof(Test) is 48 on a 64-bit operating system?


Two rotating discs with same angular momentum when brought in contact completely stop. Why is the angular momentum not conserved in this case?

Two discs mounted on different thin, lightweight rods oriented through their centres are made to rotate about their axes seperately such that the angular momentum of the two about their respective axes is same in both magnitude and direction. When both are brought in contact, they stop due to force of friction. Why is the angular momentum not conserved about their axes in this case?(Was positive before contact, but zero after the process completes, no external force present either)


Let $f:\mathbb{R}\to\mathbb{R}$ be such that $|f '(x)|\leq B$ for some $B\in\mathbb{R}$. Prove that $f$ is uniformly continuous.  Not exactly sure how to prove this.


Assigning value to building type using ArcMap?

I have a building dataset that shows areas of different building types ie. educational, medical, and residential.   How do I assign each type of building a numerical value so if I have 7 buildings that are medical type then it would show a value of 1 so I would have 7 rows of "1" in ArcMap?


Why did my combined reputation suddenly spring from 24k to 27k?

My combined reputation (as shown on my ) yesterday was yet 24k, now it is 27k. Well, today was a quite fruitful day for me, I've hit the repcap on the Unix SE! But it is only 200 rep, and not 3k. Unfortunately I can't show a proof from my flair yesterday, because I didn't save it, but I am sure it was 24k. What has happened, did you change something in the combined flair generation algorithm?


how do I put Ubuntu onto my galaxy S5 Rooted?

I'm looking for how you boot, or dual boot Ubuntu onto my galaxy s5. Or if I can? If so how?


Creating distance radius along line network from point

In QGIS I'm trying to create a 1/4 mile radius (1,320 ft) around a point. I could obviously use buffer, which shows 'as the crow flies' - but I would like this along with the road network (in green). See below: buffer gives me the circle in blue, I want the irregular shape in green.    I've tried using Network Analysis (Service Area - from the point), but the results seem way off: the shape seems like a regular diamond, and the length is way more than I'd input. The radius is a 1/4 mile buffer, while the blue lines are the result from running Service Area from the point, even though I'd inputted 1,320 feet.    Any idea what I'm doing wrong?   Not sure if it makes a difference, but I've been putting in XY coordinates for the starting point.  [    I've figured it out.  Step 1: processing toolbox > network analysis > service area from point. Easy enough. For some reason the 'distance' is in meters even though all layers are in NAD83 (feet)...? Step 2: processing toolbox > vector geometry > Concave Hull (k-nearest neighbor).


Log transformation in R (Precipitation Data)

In many situations the values that a random variable, X, can take on is restricted, for example precipitation data [0,inf), that is f(x) = 0 for x < 0. We say that the support of f(x) is [0,inf).  We need to be modified when f(x) has bounded support. The simplest method of solving this problem is use a log transformation.  The idea is to estimate the probability density function (PDF) of a transformed random variable Y = t(X) which has unbounded support.  I have carries out the following steps:  (a) Transform the observations yi = t(xi), i = 1, 2,... , n.  (b) Apply the kernel method to estimate the PDF g(y) that is the density of Y = log(X).  My problem is how to estimate f(x) via kernel smooth of log(values) by using R?  Thanks


What lubricants can be safely added to a laptop fan?

I've got a fan in a laptop that occasionally makes some loud airplane-like noises.  It mostly happens about 10 seconds after booting up and lasts for 10-20 seconds.  It also occasionally happens when the computer is running, but very rarely.  Interestingly, it does not seem to happen when the processor is being used heavily.  The laptop does not have a discrete graphics card.  The fan is clean.  I'm not sure if the laptop is under warranty, but I trust my own skills much more than I trust the manufacturer (or the shipper).  Before I search for a matching fan and replace it, I thought I would see if it is safe to try any lubricants.  Are there any lubricants that are safe to use inside a laptop?  I don't want a fire or anything that will splatter and cause conductivity issues within the circuitry.


list item click event not working but is in jsfiddle

I have this  that works nicely. So when I click on one of the list items in the menu I get an alert telling me which item was clicked.  However, in my actual application nothing happens when I click on a list item and to me, it looks exactly the same?      // get list of strategies var $regions = $('#regionList');  $.ajax({   type: 'GET',   url: 'api/Region',   dataType: 'json',   success: function(codes) {     $.each(codes, function(i, code) {       $regions.append('
' + code + '
');     });   },   error: function() {     alert("Error loading data! Please try again");   } });  $("#regionList li").click(function() {   alert('Clicked ' + this.id); });
     <button class="dropbtn">Strategy</button>


Is there any way to create an updated iso of my installed ubuntu so that I don't need to update next time I have to have a fresh instal.


iPhone frequently asks "Trust this computer?" upon connection to Mac

Often, when I connect my iPhone 7 to my MacBook Pro 2018 (using a new Apple Store-supplied USB cable), the iPhone prompts "Trust this computer?". I tap "Yes", and then have to enter my six digit pass code on the iPhone.  It's happening more than 50% of the time, probably 60-80% from eyeballing.  i.e. Not every time. It's not 100% repeatable.  But I've just tried disconnecting and reconnecting 10 times and 7 times I got this prompt.  This is beginning to infuriate me.  Is there any step I can take towards diagnosing?  EDIT: It is worth noting that the cable does work. I am able to transfer data between the computer and phone. So it appears the issue is not related to the cable.  EDIT: I've noticed this only occurs when I have hotspot enabled!


I have a server running UDP server on port 50000. This server receives updates from clients, and pings back the clients every 5 seconds to the socket they were connected from.  Now I want to redirect all the traffic to and from this UDP server via another server. Basically I want to setup a transparent proxy in front of this server. The reason is that I want to be able to easily control which server handles the UDP traffic, without the need to change DNS settings.  At first I tried usingn socat to create this proxy:   socat UDP-LISTEN:50000,fork UDP:myserver:50000  But this seems to work well for incoming traffic, but back traffic from my server to the clients doesn't reach its destination. Also it seems that socat forks another process for each connection, so I might end up with too many processes and also dead processes when clients disconnect/switch IP.  I realized that I can use iptables NAT functionality for this, but it doesn't seem to work for me. The configuration I've tried is:  sudo iptables -t nat -A PREROUTING -p udp --dport 50000 -j DNAT --to-destination myserver:50000  But it doesn't seem to work -- I don't even see the connections on my server. I'm not sure if it's due to wrong configuration or due to some other issues.  Some questions:   Do I need to somehow restart iptables once I add the nat configuration? Do I need to allow traffic to the incoming port or having the NAT setting is enough?   UPDATE: The server that actually handles the traffic is on a different machine than the one that I'm trying to setup iptables on.


Below is my code of sending email from my mail but I  am getting an error please help !      Error: Email not sent!System.Net.Mail.SmtpException: The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)   at   _Default.Button1_Click(Object sender, EventArgs e)   try{          MailMessage mailmessage = new MailMessage();         mailmessage.To.Add(TextBox3.Text);         mailmessage.From=new MailAddress("sadiazar05@gmail.com");         mailmessage.Subject = "User SignUp";         mailmessage.Body = "Hello You're registered!";         SmtpClient smtpclient = new SmtpClient("smtp.gmail.com",465);         mailmessage.Priority = MailPriority.High;         smtpclient.Timeout = 60000;         smtpclient.Send(mailmessage);         Response.Write("Email sent successfully!");         }         catch(Exception exp)         {             Response.Write("Email not sent!" +exp);         }     }


Passing variable number of arguments around

Say I have a C function which takes a variable number of arguments: How can I call another function which expects a variable number of arguments from inside of it, passing all the arguments that got into the first function?  Example:  void format_string(char *fmt, ...);  void debug_print(int dbg_lvl, char *fmt, ...) {     format_string(fmt, /* how do I pass all the arguments from '...'? */);     fprintf(stdout, fmt);  }


Quantum states as rays as opposed to vectors

I recently read that a quantum state is actually defined by a ray and not a vector. That is it is possible to multiply a state $\psi$ by any complex number $c\in \mathbb{C}$ and you won't be changing the physics in any way. I understand this mathematically, but I don't understand what the physical meaning of such an "equivalent state" would be since the new state need not be normalised if $c$ is not of the form $e^{i\phi}$.


Parsers and Compilers for Dummies. Where to start?

This is a good , but what is the best one for a complete newb in this area. One for someone coming from a higher level background (VB6,C#,Java,Python) - not to familiar with C or C++. I'm much more interested in hand-written parsing versus Lex/Yacc at this stage.  If I had just majored in Computer Science instead of Psychology I might have taken a class on this in college. Oh well.


I know that the earth has two poles that each end of the magnet is attracted to ,but wouldn't that mean that magnets don't work outside of Earth.


I need to use import ogr in my python window provided by ArcGIS 10.2, but i can't configure ogr and gdal on my system.   How can I fix this issue and import ogr in my python window provided by ArcGIS 10.2.


When scrolling down while editing a question (, though that's probably not relevant), I noticed that the short help on the right side overflowed into the page footer:    I think it shouldn't do that. I'm using Firefox 22 on Windows 7.


The buttons for awarding a bounty should be distinguishable from already awarded bounties in the mobile skin

Whenever I see my currently active bounties from a mobile site, I feel as if they've already been awarded. This is how it looks from my chrome browser in Android:    The blue colour of the +100 box is too dark: on the Desktop site this colour is used when the bounty is already awarded. A lighter tone should be used in mobile sites too, to denote active bounties.


What is the default package when compiling with BibTeX? (Using pdflatex)

I read  and understood that you can only be using either biblatex or natbib. However, I have been able to compile just fine with citations without writing neither \usepackage{natbib} nor \usepackage{biblatex}. To compile, I use the macOS terminal and run:     pdflatex     bibtex     pdflatex     pdflatex.   I am using texlive.  So, which package I am using when I don't specify the package? Or how is it possible that my file is compiling just fine when I am not writing specifically \usepackage ?


I'm trying to install libapr1 and libaprutil1 and the issues I'm facing are as follows:  Package libapr1-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package libaprutil1-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libapr1-dev' has no installation candidate E: Package 'libaprutil1-dev' has no installation candidate   How do I get this to work and install the needed packages? I have tried using solutions offered in  and it did not resolve my issue.


Is a secured loan or mortgage considered debt?

Lets say you buy a home for $300k, and put down a $100k payment and take out a $200k loan.  The house was purchased for a fair, properly appraised value.  Does this mean that you are now $200k "in debt"?  I read people referring to this as debt, but to me that doesn't make much sense.  The house has a real value equal to the sum of your equity and your principle.  If a year down the road the house is reappraised for $250k, I could see how that would lead to "real debt" and being  upside down in the loan, but as long as the assets securing a loan are worth more than the principle, is it correct to say that you are in debt?  Is there more than one context for "in debt" where it could be true in one sense, and not true in another?


My question arose from my previous question about a wind direction measuring circuit. Please have a look at the manual:  And here is the figures about my questions:   In Figure A, the potentiometer is used to output voltage proportional to the wind vane rotation angle.  In Figure B, the potentiometer comes to an end at point 1 and causes a short between the lines WHT(wind excitation voltage) and GRN(wind direction signal). But in theory current flows from + to ground. Do you think there is a path for current to flow in Figure B?  In Figure C, it seems like the situation is safe. Although the lines GRN and BLK are shorted at point 2, there is no potential difference and no current flows. Is that right?  My real confusion is about D6 and D7 the transzorb diodes(zener clampers?). I couldn’t really figure out in which circumstances they function and what happens in the absence of them. Why do we really need them?   In the manual it states: “To prevent false readings, signal conditioning electronics should clamp the signal to excitation or reference level when this occurs.” Do you think one needs an extra circuitry at the output?


We have a knife set that's approximately 15 years old, and as we were honing a knife tonight, a question arose. Do honing steels get worn down over the years? Should they be replaced? If so, how often?


Want to draw same graph by changing scaling of the axis

\documentclass[12pt,a4paper]{article} \usepackage[a4paper,bindingoffset=0.2in,left=0.7in,right=0.7in,top=0.7in,bottom=0.7in,footskip=.25in]{geometry} \usepackage[centertags]{amsmath} \usepackage{latexsym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{newlfont} \usepackage{enumerate} \usepackage{makeidx} \usepackage{tikz} \usetikzlibrary{backgrounds,intersections} \begin{document} \begin{tikzpicture} \draw[thick,latex-latex] (-2,0) -- (5,0)node[right]{$x$};     \draw[thick,latex-latex] (0,-2) -- (0,5)node[above]{$y$};     \node at (-0.3,-0.3) {O};     \foreach \x in {-1,1,2,3,4}{         \node[fill,circle,inner sep=1.5pt,label=below:$\x$] at (\x,0) {};         \node[fill,circle,inner sep=1.5pt,label=left:$\x$] at (0,\x) {};     }     \draw[thick,stealth-stealth, shorten >= -2cm, shorten <= -2cm,name path =b ] (0,4) -- (4,0)     node[pos=0.65,above,sloped] {$ $};     \foreach \x/\y/\name in {0/4/B,4/0/A}{         \node[fill,circle,inner sep=2.5pt,label={[inner sep=0pt]above right:\name($\x, \y$)}] at (\x,\y) {};     } \end{tikzpicture} \end{document}   Go through the above codes, is the codes for the graph of x+y=4  I want to draw a graph of x+y=100.  How can i make it possible?


Sending email without ending in junk/spam of end users - PHP

I have a Joomla site where I use this module  and I have the problem that when responding to a user it often ends in junk/spam folders. I've looked at the code and this module is using JFactory::getMailer(); and it is only using the addRecipient(), setSender(), setSubject(), setBody() and I have set the isHTML() to true in the JFactory object.  I have tested my mail with this site:  and got this result:   I'm don't really understand how email work and what parts are important, but I think this is probably the problem:  DomainKeys check details: ----------------------------------------------------------  Result: neutral (message not signed) ID(s) verified: header.From=example@example.com Selector= domain= DomainKeys DNS Record=   Could someone tell me how to send a email the right way and I want to be able to promise to my client that their mails won't end in theirs clients spam/junk folders.  If it is easier to move away from JFactory to something else I am willing to do this also :)


For example, $a \times b = c$  If you only know $a$ and $c$, what method can you use to find $b$?


Long 53+ second startup on a decent laptop. What to do?

My laptop has a decent i5 processor, 8 gigs of ram. I have dual booted it with Ubuntu 16.04 but it takes too long to boot.  Some information:  systemd-analyze   returns,  Startup finished in 2.630s (firmware) + 2.417s (loader) + 4.067s (kernel) + 44.125s (userspace) = 53.240s   and  systemd-analyze critical-chain   returns,  The time after the unit is active or started is printed after the "@" character. The time the unit takes to start is printed after the "+" character.  graphical.target @44.100s └─multi-user.target @44.100s   └─mysql.service @37.972s +6.127s     └─network.target @37.951s       └─wpa_supplicant.service @40.980s +419ms         └─basic.target @33.530s           └─sockets.target @33.529s             └─snapd.socket @33.504s +17ms               └─sysinit.target @33.495s                 └─apparmor.service @22.549s +10.945s                   └─local-fs.target @22.437s                     └─boot-efi.mount @22.080s +356ms                       └─systemd-fsck@dev-disk-by\x2duuid-4C19\x2dC7DF.service @11.596s +10.419                         └─dev-disk-by\x2duuid-4C19\x2dC7DF.device @11.575s lines 1-17/17 (END)   First, is this performance normal? How might I make improvements? Thanks.


Would be awesome if we could get Android home screen widgets for the app. My preference would be something smallish like a User card (Flair™:  ) which shows one chosen profile or an accumulation of all your profiles. To make it useful, it would be cool to expand it with a notification counter or a 'reputation delta' like the stock exchange (see what I did there?).  Others might also like bigger widgets which show previews of Q&A, but as I don't see myself using that, it's best to let them elaborate on that. Thanks for consideration! :)


Is it possible to have multiple bevel objects along a curve?

I'm wondering if it's possible to define multiple bevel objects along a curve and have Blender interpolate between the bevels like keyframes.


How to make partitions mount at startup?

How do you make HDDs and partitions mount at startup on Ubuntu?  I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition.  I have been trying to swap the default folder location for the home directory to my other drives.  It works when I change the /home/user_name/.config/user-dirs.dirs file to the directories I want, but only until I reboot the system. I am only assuming that the drives not mounting is the problem with it, but it would be helpful either way.  If any one knows another reason for why the directories change back to default each time that would be good also.


VSE. Textures missing when combining video clips with 3D scene

In addition to a few video clips I have added a scene with a 3D model to my video sequence editor. Now the final render of the video does not appear to have rendered several settings that I have given the objects in that scene such as the materials for instance. Does anyone have an idea what might be causing this?


No app requiring microphone works on my iPhone 7, including calls. Strange thing is that calls fail with call fail message, not just have bad connections or other end complaining about not being able to hear. Other apps also refuse to work. For example ‘Voice notes’ state ‘no audio devices found’.


How the verbatim environment of LaTeX works exactly with a simple, clear example

As I am a beginner of learning the TeX and LaTeX internal mechanism, I tried to find some information about the verbatim environment and how it is handle by LaTeX. For example, if we have this command  \begin{verbatim}  ijdjdjda634&%  \end{verbatim}   How does TeX executes it? Primitive control sequences are directly executed by TeX 's stomach, right? Is it possible to write me exactly the steps of the process? Thanks!


How does retrieving the Poke balls actually work?

So, when you throw a ball and you miss, the ball rolls around. You can click on it to get it back and not waste 20 balls on a Pidgey. Well, this works sometimes, and the ball is just laying there, behind the pokemon, but most of the time, the ball disappears almost immediately without me clicking on the screen or anything and its not back in my inventory ? SO what's going on, am I retrieving my balls wrongly or are they disappearing by design ?


OK . . . another one similar to   "Dude" is masculine; what is the feminine version?  The usage I'm thinking of is that "dude" nowadays is used primarily as a way to address a person very colloquially, e.g.:   "Dude, why are you squirting rubbing alcohol on the grill to start it up?" "Dude, pass me a brew."   Again as in the other "guys" case, it might be culturally acceptable to say "dude" to a female, but I'm not sure, and it feels a little wrong (and has for 30 years).  So what are some suggestions for acceptable female-gendered alternatives?   babe: might work, but sounds a little too diminutive (or does it?) dudette: cute, but hasn't caught on (but could it?)   Australians have "bruce" and "sheila" (I hear from the movies) but that just doesn't fly in AmE (and maybe that's already out of fashion).  What do Californians say (as "dude" in my description seems to come from there)? What do the surfers say?  Any suggestions? It may be the suggestion is that there is no perfect parallel.


How should I flag questions that are totally unrelated to programming?

Sometimes, I find a post that is totally unrelated to programming. It's either asking about why can't they connect with their service, why can't they login to Facebook and such. My question is, as stated in the title, how should I flag it?  If I flag it as off-topic, which of the options should I choose? It's not asking for code, nor asking to fix a code, nor about servers, and it doesn't belong to any of the sites listed.  I know we can just flag it as other and describe what it's about, but since it's wasting moderator's time, is there a better option?


How does non-commutativity lead to uncertainty?

I read that the non-commutativity of the quantum operators leads to the . What I don't understand is how both things hang together. Is it that when you measure one thing first and than the other you get a predictably different result than the measuring the other way round? I know what non-commutativity means (even the minus operator is non-commutative) and I think I understand the uncertainty principle (when you measure one thing the measurement of the other thing is kind of blurred - and vice versa) - but I don't get the connection. Perhaps you could give a very easy everyday example with non-commuting operators (like subtraction or division) and how this induces uncertainty and/or give an example with commuting operators (addition or multiplication) and show that there would be no uncertainty involved.


Proof by contradiction that $\sqrt{2} + \sqrt{6} < \sqrt{15}$

Claim: $\sqrt{2} + \sqrt{6} < \sqrt{15}$  a) State the negation of the claim.  b) Use proof by contradiction to prove the claim.  Can anyone explain to me how I would do this question?  A  that these numbers are relatively close to each other; $\sqrt{15}-\sqrt2-\sqrt6 \approx 0.01$.


The usual Schrodinger Lagrangian is $$ \tag 1 i(\psi^{*}\partial_{t}\psi ) + \frac{1}{2m} \psi^{*}(\nabla^2)\psi, $$ which gives the correct equations of motion, with conjugate momentum for $\psi^{*}$ vanishing. This Lagrangian density is not real but differs from a real Lagrangian density  $$ \tag 2 \frac{i}{2}(\psi^{*}\partial_{t}\psi -\psi \partial_{t}\psi^{*} ) + \frac{1}{2m} \psi^{*}(\nabla^2)\psi $$ by a total derivative.  My trouble is that these two lagrangian densities lead to different conjugate momenta and hence when setting equal time commutation relations, I am getting different results (a factor of 2 is causing the problem). I can rescale the fields but then my Hamiltonian also changes. Then applying Heisenberg equation of motion, I don't get the operator Schrodinger equation.   Is it possible to work with the real Lagrangian density and somehow get the correct commutation relations? I would have expected two Lagrangians differing by total derivative terms to give identical commutation relations (since canonical transformations preserve them). But perhaps I am making some very simple error. Unless all conjugate momenta are equivalent for two Lagrangians differing by total derivatives, how does one choose the correct one?   I guess the same thing happens for other first order systems like Dirac Lagrangian also.


Did I make a mistake in choosing a D5300 rather than an older higher-end model?

I recently bought D5300, initially I was happy, but after attending some photo walk sessions. I realized most people are using either D7000 or D7100 and some D90.   Now I'm confused whether I did big mistake choosing D5300 as D90 is same price as D5300. D90 seems more professional and better than D5300. I'm feeling bad about my decision.  Am I wrong?


javascript dynamically adding and removing classes

I am working on a simple example, if a user clicks on element then all the elements above it should have a class and all elements below it should not have any class applied to them.  Here is my code:

one

two

three

four

   So here if I click on three then the elements for one, two, three should have the class active and element four should not have any class. This is working fine.  Now if I click on one, I am expecting that two, three, four should have any css class but it is not working like that.  Can you please help me where is the issue. I want to use plain Javascript.


How can I enable users to perform actions that require root permission? Can't I just add them to the "root" group?

I added a user to the root group, but the user is still not able to perform operations that require root's permissions. What is the problem?


Is there any managed API (C#) I can use to make screen captures, similar to what fraps does? Some possible things I'd like to do with it:   Capture the whole screen (basic). Screen capture of full screen application. Screen capture of currently active window. Capture video of screen.


Is there a word like 'twain' that means 'three'?

I have a list of three items, and I'd like to say the equivalent of "never the twain shall meet." Is there a word meaning "three" that I could substitute for "twain"? "None of them will ever meet" works, but doesn't have quite the same quaintness. I know that "twain" comes from the Anglo-Saxon "twengen," and was thinking that maybe the word I'm looking for could come from "threo/thrim/thrie" perhaps. Thanks!


How to show that $\sin(n)$ does not converge?

I am supposed to show that $\sin(n)$ does not converge by constructing two subsequences: one subsequence contains terms of $\sin(n)$ that are between $1/2$ and $1$, and the other subsequence contains terms of $\sin(n)$ that are between $-1/2$ and $-1$. But how can I do this? Which $k(n)$--for subsequence $x_{k(n)}$--should I choose?


Why can't a CNAME record be used at the apex (aka root) of a domain?

This is a  about CNAMEs at the apices (or roots) of zones   It's relatively common knowledge that CNAME records at the apex of a domain are a taboo practice.  Example: example.com. IN CNAME ithurts.example.net.  In a best case scenario nameserver software might refuse to load the configuration, and in the worst case it might accept this configuration and invalidate the configuration for example.com.  Recently I had a webhosting company pass instructions to a business unit that we needed to CNAME the apex of our domain to a new record. Knowing that this would be a suicide config when fed to BIND, I advised them that we would not be able to comply and that this was bunk advice in general. The webhosting company took the stance that it is not outright forbidden by standard defining RFCs and that their software supports it. If we could not CNAME the apex, their advice was to have no apex record at all and they would not provide a redirecting webserver. ...What?  Most of us know that  insists that A CNAME record is not allowed to coexist with any other data., but let's be honest with ourselves here, that RFC is only Informational. The closest I know to verbiage that forbids the practice is from :     If a CNAME RR is present at a node, no other data should be   present; this ensures that the data for a canonical name and its aliases   cannot be different.   Unfortunately I've been in the industry long enough to know that "should not" is not the same as "must not", and that's enough rope for most software designers to hang themselves with. Knowing that anything short of a concise link to a slam dunk would be a waste of my time, I ended up letting the company get away with a scolding for recommending configurations that could break commonly used software without proper disclosure.  This brings us to the Q&A. For once I'd like us to get really technical about the insanity of apex CNAMEs, and not skirt around the issue like we usually do when someone posts on the subject.  is off limits, as are any other Informational RFC applicable here that I didn't think of. Let's shut this baby down.


How to deactivate a node tree? Or deactivate all nodes in one shot?

I would like to make some test with different node trees in Animation nodes. Is there a way to deactivate the entire page/node tree? Is it possible to deactivate nodes all in one shot, like (select all and hide or deactivate)? How do you manage the nodes when you do some test? When you don't want to erase them but just deactivate them for a while without unlinking them? I tried M to mute without success nothing happen the node stay the same colour there is no way to know if it worked.


How to remove/ hide the name of the image in the LaTeX file?

In my LaTeX file, the name of the image appeared. May I know how can I remove it? Thank you very much.  My code is as follows:  \documentclass[12pt,a4paper]{report}   %%%%%%%%  \usepackage{geometry} \usepackage{graphicx}       %%%%%%%%%%% %%%%%%%%%%%% \begin{document}    %%% \begin{figure}[h] \includegraphics{Albert Einstein.jpg} \caption{Relationship between graphs} \label{fig1} \end{figure}   \end{document}


How to enumerate subgroups of each order of $S_4$ by hand

I would like to count subgroups of each order (2, 3, 4, 6, 8, 12) of $S_4$, and, hopefully, convince others that I counted them correctly.  In order to do this by hand in the term exam, I need a clever way to do this because there can be as many subgroups of a group of order 24 as $2^{23}$.  Do you know how to do this?   (I would be most grateful if you could tell me what part of the answer to the old question answers my question before voting to close.)


How do I check for nulls in an '==' operator overload without infinite recursion?

The following will cause infinite recursion on the == operator overload method      Foo foo1 = null;     Foo foo2 = new Foo();     Assert.IsFalse(foo1 == foo2);      public static bool operator ==(Foo foo1, Foo foo2) {         if (foo1 == null) return foo2 == null;         return foo1.Equals(foo2);     }   How do I check for nulls?


How to cut out a small section in my shapefile?

I have a shapefile of a whole region. Since every change I do require a lot of loading time, I would like to cut out one small section which I actually need and create a new shapefile - the rest I could delete. Is it possible to cut out a square and save it as a new, smaller shapefile?   I have seen the “Clipper” – Tool, but for that  I thought that I need another shapefile or a map so that I can lay them together… I need something very simple (like for example the same principle of the drawing program “Paint” – I hope you know what I mean).  I am using the QGIS 2.12.3 - Lyon Version.


I want to create a script that whenever there are more than three files being removed, it invokes rm -i by default. I know it will go in initialization files but can't seem to get it working.  So far:  if [$file -ge 3]; then   rm -i    exit 0  else   rm exit 1


So, I have looked through COUNTLESS other posts about similar topics, and none of them have been able to give me a satisfactory answer.  I am writing a doubly linked list program, and when I create a Queue object in the driver file, I get this error:     * glibc detected * ./driver.out: free(): invalid pointer: 0x0000000000400773 ***   All it is doing is calling on the constructor(Literally the only code in Main()):  Queue341<int> myQueue;   Here is the constructor:  template <class T> Queue341<T>::Queue341() { }   All the proper header files are include, guarded, etc.  I just do not understand this error... I NEVER even USE free()!!!  Edit: Here is the Destructor code: template   Queue341<T>::~Queue341(){   Clear(); }   And here is Clear():  template <class T> bool Queue341<T>::Clear(){   Node341<T> *current, *next;    current = this->m_head;   while (current != NULL){     next = current->m_next;     delete current;     current = next;   }    return true; }


Show that the sequence $a_0 = 1$, $a_{n+1 }= \sqrt{2+a_n}$ is monotonically increasing

Given the sequence $a_0 = 1$, $a_{n+1}= \sqrt{2+a_n}$, how can I show that it is monotonically increasing?  I need it to show, that the sequence converges. I already proved boundedness but I can't figure out this last part.


Are notebook batteries generally hot-swappable?

I have a new HP Compaq 610. Most of the time I use it plugged and with the battery removed, to avoid wearing it. Sometimes I need to move it to somewhere else - currently I hibernate the machine, move it, plug it in its new location, and power it up again.  I wonder if it's possible to plug the battery while the machine is on and running on AC power, move it, plug it, and unplug the battery again, without ever turning it off. I'm afraid to try it myself. Does anyone know?


Seeking shapefile of Indian electricity grid?

Does anybody know where I can find a shapefile of the major components of the Indian electricity grid?   Ideally, I'd get transmission/other high-voltage lines, substations, generating units, and transformers. I know there are power maps out there (like ), but I want to match these transmission lines up with geographical data, so more precise locations would be helpful.


Good way to help the user remembering the password strategy

Nowadays sites have different password strategies. In example:   Facebook: 6 characters min, no restriction Ameli.fr: 8 characters min, all should be numbers. StackExchange: 8 characters min, upper case, lower case, a number or a special Char ...   Some users have several passwords, it could be:   For security reasons :they can use the common one for spam sites, complex one for the bank etc.. Historical reason : they were used to have a 6 character password, then they had to create a new one for 8 Characters with an UpperCase.     What happens when they try to connect to a website?  There are no signifiers on the password strategy used, they have to guess which password they have to use.  If it's a website they don't visit often they will at a point use the forgot password link, then go to their mail client, go back to the website, save the new passwords with the displayed strategy. This is even more true with the "remember me" option which allows the user to forget his password for a period.  Then they will repeat the same workflow every month until they memorize the password strategy of the website.   I would like to do add usual password validation on the login form, to help user retrieving his matching password. It could be a discreet message like "your password has at least one upper case letter" etc, the same way than registration forms provide it. I don't see any security problem since the password strategy is directly available in the registration form.  Is this idea a good step forward, or can anyone come up with another solution?


Is using Increment Operator as the right way to break the nested loop in C#?

The Code below gives the output of reverse diagonal values in a 2d Array. Output is:  3,5,7  int[,] array2d2 = {      {1,2,3},     {4,5,6},     {7,8,9}  };  int i = 0; while (i <= 2) {     for (int j = 2; j >= 0; j--)     {         Console.WriteLine(array2d2[i,j]);         i++;     } }  If my understanding is right, the increment operator(i) in the nested for loop, breaks the for loop by moving to the while loop and increment it by 1 and then continue the iteration. It already gave the output I wanted. My question, Is this the right way or my understanding is wrong? I'm a beginner in C#.


I am trying to factory reset a recycled Lg16c phone, but it has killswitch. Is there a default or master password to bypass this lick?


Won't boot into Windows after partitioning with ubuntu installer

So I tried to install Ubuntu on my Dell laptop and I wanted to create a separate partition. I took away some free space from another partition already created. The space was listed as unusable, so I reallocated all of it in the previous partition which I took from. Then I tried to boot into Windows to transfer my data from a partition so I can format it to install Ubuntu. The funny thing is, it won't boot. It keeps on loading, nothing happens. After a force shut down, it entered the repairing tool and I got an error, which said that I can shut down or I can go into advanced settings and the following text:  logfile\\?\GLOBALROOT\Device\HarddiskVolume2\Windows\System32\Logfiles\Srt\SrtTrail.txt   So I searched a bit through the common problems and I found some solved through cmd. I typed these:  bootrec.exe /rebuildbcd bootrec.exe /fixmbr bootrec.exe /fixboot   Still can't boot. Then I typed these in diskpart:  select disk 0 select partition 1 active extend filesystem   Then again the 3 other bootrec commands listed above. Didn't work either. So I found another solution and typed:   bootrec rebuildbcd  rem didn't find any windows installations, not here, not above bcdedit /export c:\bcdbackup attrib c:\boot\bcd -h -r -s ren c:\boot\bcd bcd.old bootrec /rebuildbcd rem found 2 windows installations, pressed Y for both   Now it tells me that the operating system has failed to start multiple times and I need to reinstall the it with an installation media, which I currently don't have, alongside this error: 0xc0000001. Tried to boot into Safe Mode. Same thing, it keeps on loading and nothing happens. I have Windows 10 and Windows 7 installed, so I can easily boot into Windows 7, if needed. There are also 3 partitions, only 2 of them visible in 7.   The main problem would be that I can't boot into Windows 10. What can I do?


On which open set $f$ admits an inverse?

Let $f:\mathbb{R}^2\rightarrow \mathbb{R}^2$ be a function $f(r,\theta)=(r\cos\theta,r\sin\theta).$Then for which of the open subsets $U$ of $\mathbb{R}^2$ given below, $f$ restricted to $U$ admits an inverse?   $U=\mathbb{R}^2$ $U=\{(x,y)\in\mathbb{R}^2:x>0,y>0\}$ $U=\{(x,y)\in\mathbb{R}^2:x^2+y^2<1\}$ $U=\{(x,y)\in\mathbb{R}^2:x<-1,y<-1\}$   Here the Jacobian of $f$ is $r=\sqrt{x^2+y^2}$ and it is not vanishing on option 2 and 4. Can I say option 2 and 4 are correct?


Mathematics Ph.D program foreign language requirement

I will soon be attending a Ph.D program in mathematics. I do not know how common this practice is, but the department has a requirement that graduate students must learn a foreign language and be able to read and write mathematics in that language. The three choices are French, German, or Russian. I personally have no preference on which to learn, but I was wondering if there were other reasons that would make one language more advantageous over the others in terms of a general mathematical career. Thanks in advance in any response.


Unable to parse query string for function Query, when using IMPORTRANGE

This is the problem I'm seeing:      Error - Unable to parse query string for function QUERY parameter 2: NO_COLUMND     The formula is of the form:  =query(importange("...", "Sheet!A:V"), "select D where V = 1", 1)   I imported data from another sheet, I want this current sheet to display column D when Column V is 1.  Is there a different way rather than my current formula?


How do electrons move from one energy level to another?

EDIT 1: Many people are recommending that the question  is very similar to mine. However, that question is very specific to quantum leaps. I am also asking about a possible relation to QFT and the all-fields model. Having learned that electrons can move from one energy level to another by transmitting or taking in energy, I am interested in knowing how exactly do they "jump" from one level to another. Do the electrons move as a particle or as a wave through energy levels. Because if they move as a particle, the distance and space between the electron shells must be covered, so do electrons move through the orbitals as a whole particle? Or do they move like a wave, because electrons exhibit wave-particle duality? Also, is the "jump" from one energy level to another instantaneous or is there a transmission delay? Because from what I have read, it seems that an instantaneous transmission has not been proved, whereas a delayed transmission by direct action-at-a-distance theory has been proven by experiments. Also, in a quantum mechanics explanation of electron transmission, I learned that the electron is destroyed in the original orbital, then recreated in another orbital, and the result also releases a photon. I thought that matter could not be created nor destroyed. Furthermore, could it be possible that if the field model is used, it could possibly simplify the matter? If the field model is used, then would it be right to assume that the electron field is part of the shells/energy level where the electrons are, because electrons are just vibrations of the electron field and for them to be "created" they must come from a field? If we do assume that the electron field is present, then can we not say that since the field is able to occupy the space in which the distinct energy levels are in, then an electron's energy in one energy level can be absorbed by the field and then "moved"/transmitted to another energy level, through the use of the field? And this would be done by the energy traveling from one part of the field which is at a certain energy level to another, and then the energy can cause a vibration which will "pop-out" an electron at the new place in the field which is the new energy level. Please let me know if any of my logic or understanding of the topic is flawed. I am very interested in getting to know everyone's take on this.


Express a set of non-negative integers in roster notation

Question: For each $k \in \mathbb{Z}^{+} \cup \{0\}$, let $D_k = \{n \in \mathbb{Z}^{+}\cup\{0\}: k = mn \text{ for some } m \in \mathbb{Z}^{+}\cup\{0\}\}$.  Write down each of the following sets in roster notation:  $\{n \in \mathbb{Z}^{+} \cup \{0\}:n \in D_k \text{ for some } k \in \mathbb{Z}^{+}\cup\{0\}\}.$  $\{n \in \mathbb{Z}^{+}\cup \{0\}: n \in D_k \text{ for all } k \in \mathbb{Z}^{+}\cup\{0\}\}.$   My answer for $1.$ is the set of non-negative integers, but there are infinite elements, so how do I represent them  in roster set notation? Can I just write $\{0, 1, 2, 3, 4, 5, \dots\}?$ My answer for $2.$ is $\{1\}$. But, I am not sure if my answers are correct? Thank you.


Let $(X,d)$ be a metric space and $S \subset X$. Show that $d_S(x):=\text{inf}\{d(x,s): s \in S\}=0 \Leftrightarrow x \in \overline S .$   Notes: $\overline S$ is the closure of S. Maybe you can use that a closed set is also closed for sequences in the set? I think the difficult part is when S is open, otherwise its trivial as the closure would be equal to S.


Trying to figure how to setup drupal 8 to function like StackExchange.   My goal is to be able to allow users to mark answers helpful so that best answers get moved to the top. Similar to StackExchange.   I can think of two ways to do this but would like some feedback from the experts.   Option 1: Create content Question and add comments to it. Use flag module to flag helpful replies. Create a template for question comments so that each top replies + its replies are groped together.   Option 2: Create Question, Create comment type Answer, Create a new comment type called replies and attach it to comment type Answer.   Or is there another alternative that I am not thinking off?   What would be the best way to create a similar setup such as StackExchange?


Ok so In blender, I'm making a city, but in the 3d view, it disappears when going to a certain distance:  I'm not using a camera or anything, this is user perspective Help?


Does "portmanteau" only refer to single words like spork or turducken? If so what would be the term for multiple phrases combined together on a common word or words?  For example:   If I wanted to call someone from this site we'd have to "Stack Exchange numbers"  or  The velocity of ones vehicle when trying to make it through a yellow light might be "stoplight speed" (this just uses a compound word)


Is a card considered the same card if it is from a different set?

With the brand new Rivals of Ixalan set coming out soon, I was looking at the card library and I saw they had the  in again. It is exactly the same as the Legion Conquistador from Ixalan, and I want to know if it is considered the same card if it has the same name and effects as another card, but is from a different set? So could I have 8 Legion Conquistadors, 4 from Ixalan and 4 from Rivals of Ixalan? Or are they the same card?


Lost tablet - No SIM, no google account, no tracking software, can I track it?

A couple of days ago, I lost my dear Android tablet. I dont know if I have left it somewhere or if it in fact was stolen :/ It does not have any 3G module, and hence no SIM, inserted. I haven't logged into my Google Account on the tablet. And I have not installed any tracking software.  The tablet have a GPS installed. Is there any way to track the tablet using only the serial-number?


Prove $\lim_{x \rightarrow 0} \frac {\sin(x)}{x} = 1$ with the epsilon-delta definition of limit.

It is well known that   $$\lim_{x \rightarrow 0} \frac {\sin(x)}{x} = 1$$  I know several proofs of this: the geometric proof shows that $\cos(\theta)\leq\frac {\sin(\theta)}{\theta}\leq1$ and using the Squeeze Theorem I conclude that $\lim_{x \rightarrow 0} \frac {\sin(x)}{x} = 1$, other proof uses the Maclaurin series of $\sin(x)$. My question is: is there a demonstration of this limit using the epsilon-delta definition of limit?


Multiple figures per row with vertical label

I want to do something similar to what is done in  paper:    In particular I'm interested in:   Same amount of images per row Using a vertical label to categorize each row Adding a caption Wrapping the image (so there can be text on one side)   I've read some questions ( and ) but they are very different from what I want, can you help me?  I've tried this, but I'm getting errors:  \usepackage{subcaption} % for subfigures  \begin{table}[ht] \begin{tabular}{ccc} \begin{subfigure}{0.4\textwidth}\includegraphics[width=0.3\columnwidth]{Figures/all_souls_000021.jpg}& \begin{subfigure}{0.4\textwidth}\includegraphics[width=0.3\columnwidth]{Figures/all_souls_000091.jpg}& \begin{subfigure}{0.4\textwidth}\includegraphics[width=0.3\columnwidth]{Figures/oxford_000177.jpg}\\ \end{tabular} \caption{A table with figures} \label{tab:mytable} \end{table}   Error:  ! Missing } inserted.<inserted text>} ...olumnwidth]{Figures/all_souls_000021.jpg}&


Where did the primordial reputation come from?

In the beginning there was Stack Overflow. Then Jeff Atwood created reputation. And he looked and saw it was good.   But there was one problem. In order to get reputation, you need upvotes, and nobody had enough reputation to upvote. Can you show me where the very first reputation points came from?


Empty 'The bibiography' environment and citation undefined. Help!

\documentclass[12pt]{report} \usepackage{graphics} \usepackage[round]{natbib}   \title{\textit{The Role of The Developmental Transcription Factor Brachyury in the development of Colorectal Cancer}} \author{Jason Saunders Williams} \bibliographystyle{plain} \begin{document} \begin{figure}[t] \centering \includegraphics{Logo.png} \end{figure} \maketitle \printacronyms[include-classes=abbrev,name=Abbreviations]   \tableofcontents \listoffigures  \chapter{Introduction} Cancer \cite{Aramaki2013} \chapter{Materials and Methods} \chapter{Results} \chapter{Discussion} \bibliographystyle{plain} \bibliography{BibTex.bib} \end{document}   The error message that I get is:  line 44 Citation `Aramaki2013' on page 4 undefined line 3 Empty `thebibliography' environment line 1 There were undefined citations.   The BibTeX file is in the same folder as the latex file. Really don't know what I'm doing wrong.  Any help would be appreciated.


Let A1 = 14, and let An be the number of the form 1444... with n fours following the 1. Find all n such that An is a perfect square.   It is obvious that A2 = 144 is a perfect square and possibly the only one, yet I haven't found a way to prove that.  Possibly the biggest hint is that if $$ An = (13*10^n - 4) / 9\\$$ and if $$ An = k^2 $$  then $$ k = 13i + 1 \\ or \\ k = 13i + 12 $$ for some value of i.


NetworkManager tray (nm-applet) is gone after upgrade to 14.04 Trusty

I upgraded from 13.10 to 14.04 and now the nm-applet no longer shows in the system tray. I already tried purging and reinstalling the network-manager-gnome package but that didn't help. When I run nm-applet manually in the terminal I get the following output:  ** (nm-applet:7419): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-gBrnqcTAVj: Connection refused   I tried multiple system trays: i3bar (my default), trayer and the xfce4-panel. Other tray apps work in all three of them (like dropbox). The network manager itself works, as it connects to known networks and outputs notifications. Does someone know how to fix this?


Why can't we convert the area element $dA$ to polar by multiplying the polar expressions for $dx$ and $dy$?

Say I have a 2D integral in rectangular coordinates and want to convert to polar. I transform the dx dy starting with: $$\begin{array}{c} x = r\cos\theta \\ y = r\sin\theta \\ \end{array} $$ So ... $$\begin{array}{c} dx = \cos\theta\,dr - r \sin\theta\,d\theta \\ dy = \sin\theta\,dr + r \cos\theta\,d\theta \\ \end{array} $$ Then expanding out the multiplication ... $$\begin{align} dx\,dy &= \cos\theta\,\sin\theta\,dr^2 - r^2\,\cos\theta\,\sin\theta\,d\theta^2          + r\,\cos^2\theta\,dr\,d\theta - r\,\sin^2\,\theta\,dr\,d\theta \\ &= r\,dr\,d\theta + \cos\theta\,\sin\theta\,(dr^2 - r^2\,d\theta^2) - 2\,r\,\sin^2\theta\,dr\,d\theta \hspace{3em}\text{... uh oh!} \end{align} $$ So there's $r\,dr\,d\theta$ but with some extra terms. Why doesn't this naive and direct approach work out?


I installed 16.04 a few days ago and had to reinstall some apps. One of them was avidemux. After I installed it from the Software Center, I couldn't get it to work properly. It wouldn't even load a video clip before giving me an error message and closing.   After trying many commands to purge the avidemux files, I still can't get it to reinstall from the Software Center...   Any tips?


I need help with this question:  Let $V$ be a finite vector space where $ \dim V = n $, over the complex numbers  and let $ T: V\to V $ be a linear transformation. Prove that $ V = \ker(T^n) \oplus Im(T^n) $


70s-80s(?) sci-fi book with a woman seeing the end and beginning of the universe, talks to her past self, clones herself

I read this book in 6th grade (2002-2003 school year). It has a female character and she meets this guy a week before she has to leave on a space mission with her father. Somehow she sees the end and beginning of the universe. She goes back and talks to her past self. She also gets with the guy she met. She clones herself and the guy. It is like a time loop. And I believe she meets a blue alien child. In the first chapter she coming back from the library were she was learning about the 20th century. She started to sing Led Zeppelin's rock and roll. It had a classic sci-fi cover. The main character was on the cover wearing a purple space suit. The cover looked like it could be from the 70's or 80's and the cover wasn't sexualized at all. I believe it was a book directed to teenagers.


For example, both of these sentences seem fine to me.     I'll do everything I can to make sure she's happy.      I'll do everything that I can to make sure that she's happy.   Is "that" really needed?


Execute command on multiple severs in parallel using shell script

I have 1000s of remote machines. I want to run some specific commands on all of them, but in parallel. I use these commands which run sequentially:  for f in `cat host.lst` do        ./runScript.sh $f done   Let's suppose host.lst contains 100 hosts.  I want to run runScript.sh on 100 hosts in parallel. Also, logs should be maintained.  I can not install any utility on my machine such as PSSH.  I have done a lot of research and found these links but they did not help. I do not understand how they work:      Can any one explain the logic?


How do I get that $11^{35} \equiv 6 \hspace{0.1cm} \text{mod} (13)$ from $11^{36} \equiv 1 \hspace{0.1cm} \text{mod} (13)$

I have no clue how to do this, I manage to get I get that $11^{36} \equiv 1  \hspace{0.1cm} \text{mod} (13)$ but I can't get anywhere from there.


How can I prevent my Android Location App from crashing on first time run?

I have created an Android App which opens a Map Fragment and is to create 2 markers: Marker 1 is the current location (which i believe may be the cause of the problem) Marker 2 which gets the coords(LatLng) passed from a previous Activity My problem is that when I run the app for the first time it crashes ... stops responding I have made sure all the permissions and manifest file is correct. But i have made the following observation : After the app crashes if i open Google Maps close everything and run the app again it works fine. The following error message is generated:  2020-07-16 09:51:16.363 3833-3833/com.notbytes.barcodereader E/AndroidRuntime: FATAL EXCEPTION: main Process: com.notbytes.barcodereader, PID: 3833 java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference at com.notbytes.barcodereader.MainActivity2$4.onSuccess(MainActivity2.java:197) at com.notbytes.barcodereader.MainActivity2$4.onSuccess(MainActivity2.java:192) at com.google.android.gms.tasks.zzn.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)  Any help or assistance will be greatly appreciated. TIA


I'm a beginner and I don't know what's going on. Some faces I've made look like two triangles glued together with different angles.   Removing doubles didn't do anything, nor flipping normals.


How to calculate how much wight a motor can lift?

I know it might be a naive question but am not really an electrical or a mechanical engineer, but am in a situation here and I need some help.  I work in motorized rolling doors and I need to know how to chose the right motor for the door I have. Basically I want to calculate how much a motor can lift, maybe a general rule of thumb on how does it work.  So the information I have is Torque (Nm), hollow Shaft diameter (mm), voltage (V) output speed (RPM), and motor output (kW).  And as an example of this is that i have an industral motor with    Torque = 450 Nm,  Hollow Shaft = 40 mm,  Voltage = 230/400 V,  Output Speed = 14 RMP Motor output = 1,5 kW


Here is an example of the string I'm matching against.
"HERE IS THE TEXT  I'D LIKE"
   This gets me way too much. As in it doesnt stop at the  and it seems to still return the div and a tags.  /(?:
)?(?:)?.*(?:<)?/   This returns nothing  /(?:
)?(?:)?.*(?:)?/   So shouldn't the first part match against the unique "div" tag and the following "a" tag and not return them.  Then grab everything up until the first < that it hits which would be the closing "a" tag? I'm lost as to what is mucking this up.   Thank you.


Should Document files on web pages open in a new tab/window?

When designing web sites should document files such as PDF, DOC, XLS, should the documents open in a new window/tab or in the current tab?


How do I interpret this log linear regression coefficient?

Correction on previous post.   I have a log linear regression model where the dependent variable is logged and an independent variable is linear. The slope coefficient for a key independent variable is negative: -.0564. Not sure how to interpret.  Do I use the absolute value of .0564 and then turn it into a negative like this: ((exp.(.0564)-1) * 100 = -5.80)  OR  Do I plug in the negative coefficient like this: ((exp.(-.0564)-1) * 100 = -5.48)  In other words, do I use the absolute figure and then turn that into a negative or do I plug in the negative coefficient? As you can see they produce 2 different answers.


Is there a way to export each rendered layer as its own image?

My scene uses multiple render layers.  I'd like to edit each rendered layer in Photoshop, and composite it in Photoshop.  Is there a way to export each layer as an individual image?


I am trying to align node text to left but it seems below code still put the text at the center of node:  \documentclass{standalone} \usepackage{tikz}  \begin{document}  \begin{tikzpicture}[thick]   \node[draw,rectangle,minimum width=10em,align=left] (A) {Abc}; \end{tikzpicture}  \end{document}   The output is:    Update: Thanks for your valuable comments, so I should update it as following:  \documentclass{standalone} \usepackage{tikz}  \begin{document}  \begin{tikzpicture}[thick]   \node[draw,rectangle,minimum height=4em,text width=10em,align=left] (A) {Abc}; \end{tikzpicture}  \end{document}   Then it's exactly what I want:


How to get Created Record ID in Lightning:recordEditForm?

I am using lightning:recordEditForm and lightning:inputField for creating a new record. this component is being used inside a lightning community builder. When i click the submit button, i am able to create a new record in my custom object. However i need the created record ID as i need to pass it in the URL for the next page.


Why do we use ANOVA and linear regression together?

What is the advantage (if any) to fitting both a linear regression model to a dataset and running an ANOVA test if these are both ultimately identical?


Case Control Sampling in Logistic Regression

In  by Hastie and Tibshirani, it is mentioned that with case-control samples, we can estimate the logistic regression parameters accurately, but the intercept term is incorrect. It also gives a formula to correct the intercept term.  Could you please mathematically explain why this happens?  Additionally, could you please explain why exactly case-control sampling is necessary, and which methods of classification are particularly sensitive to imbalanced priors?


How to use same email for multiple users?

This is a newbie follow-up question on the solution for how to use the same email address for multiple users presented here:     My question: where do I add this code (file name and location in file)?    I know this is probably extremely obvious to someone with even a little experience with Wordpress development.  Any direction / help would be most appreciated.   Thanks, Mike


How did Cornelius Fudge discover that Sirius was in fact innocent?

In Chapter one of Harry Potter and the Half-Blood Prince, Cornelius visits "The Other Minister" and is asked if the visit has anything to do with this "Serious Black" man, and Fudge states that no, it turned out that he was actually innocent.  ‘Is Serious Black with – er – He Who Must Not Be Named?’ ‘Black? Black?’ said Fudge distractedly, turning his bowler rapidly in his fingers.  ‘Sirius Black, you mean? Merlin's beard, no. Black's dead. Turns out we were – er – mistaken about Black. He was innocent after all. And he wasn't in league with He Who Must Not Be Named either. […]’ – The Half-Blood Prince Chapter 1: The Other Minister  How did he come to that realization and conclusion?