Why is there a timeout to delete your own chat messages?

What is the reasoning behind not allowing one to delete his own chat message after 2 minutes? The timeout to edit messages is good enough, I think.  I don't see many cases where losing some old messages would be problematic (restricting the number old messages that can be deleted in a certain timeframe should be more than enough). (Credit goes to ).


Regarding the ellipsoid computed by using the "lifting step"

I need your expertise in understanding and hopefully solving the following problem:  Let $C \subset \mathbb{R}^d$, and lets assume that $C$ is not centrally symmetric, thus when computing the $MVEE(C)$ (i.e the minimum volume enclosing ellipsoid), they use the following "lifting step":  $$ C^\prime = \left\lbrace \pm \begin{bmatrix} x\\ 1 \end{bmatrix} \middle| x \in C \right\rbrace,$$ where $C^\prime$ is centrally symmetric.  It is proven that for any $\varepsilon > 0$, $MVEE(C^\prime) \cap \Pi$ is a $(1 + \varepsilon)$-approximation to $MVEE(C) \times \left\lbrace 1 \right\rbrace$, where $\Pi = \left\lbrace x \in \mathbb{R^{d+1}} \middle| x_{d+1} = 1 \right\rbrace$.  Let $G \in \mathbb{d \times d}$ be an invertible matrix, let $ v \in \mathbb{R}^d$ such that the pair $(G,v)$ represents the matrix and the center of $MVEE(C)$ respectively. Let $\hat{G} \in \mathbb{R}^{(d + 1) \times (d + 1)}$ be an invertible matrix such that the pair $(\hat{G},\overset{\to}{0})$ represents the matrix and center of $MVEE(C^\prime)$ respectively.  Then, $\forall x \in MVEE(C)$ $$ \left| \left| \left[ x , 1 \right] \hat{G} \begin{bmatrix} x\\1 \end{bmatrix} \right| \right|_2 = (1 + \varepsilon) \cdot \left| \left| (x - v) G (x - v)^T \right| \right|_2 .$$  Regarding $x \not\in MVEE(C) $, then it is easy to see that the above term is not satisfied and moreover the right term is bigger or equal to the left term.  What I need to know is whether it possible the bound the right term by the left term (maybe because $MVEE(C) \times \left\lbrace 1 \right\rbrace \subseteq MVEE(C^\prime)$), i.e. $$ poly(d) \cdot \left| \left| \left[ x , 1 \right] \hat{G} \begin{bmatrix} x\\1 \end{bmatrix} \right| \right|_2 \geq (1 + \varepsilon) \cdot \left| \left| (x - v) G (x - v)^T \right| \right|_2 \ ?$$  Please Do correct if I am wrong and thanks in advance.


Could anyone explain me this AWK command please?

awk -F: '{ print $1 }' /etc/passwd   Hello Guys, I am learning linux, i would ask weird doubts, please do not hesitate to answer. Can anyone explain clearly the above command.


Hero who is against enhancements but has some himself

The main character of this movie is a cop (or something similar). It takes place in a world where almost everyone has some kind of enhancement / robotic implant, and the main hero is quite strongly against those enhancements. But towards the end of the movie it turns out that he has some artificial parts himself as he had to have them operated in otherwise he'd die (not sure now if he got almost killed in action or had an accident).   I think he got assigned a partner who was a female robot / cyborg (but looked like human).  It was most likely a live action movie, released in the 2000s.  Movies that are NOT it:   Ghost in the Shell


How to update grub after windows 10 install?

I recently updated to windows 10. When I boot to windows from grub I get the error: "Windows Failed to Start A Recent Hardware or Software Change Might Be The Cause." Changing the name in /boot/grub/grib.config to "windows 10" from "windows 7" didn't fix it. The only way to boot to windows is to switch to bios, and manually boot to the drive that windows is on. This is inconvenient and I would like to know how to update grub to reflect the change to windows 10. I tried Ubuntu Boot repair, but it again set my boot option to "windows 7." I'm not sure which logs to look at.


Apostrophe Not Being Inserted into SQL Database

I'm using PHP to connect with a SQL database using sqlsrv drivers. However, I've run into a problem:  $string = "Home"; $DBH->prepare( "INSERT INTO table_name (column_name) VALUES ('" .$string. "')" ); $DBH->execute();   How come this works?  $string = "Home's"; $DBH->prepare( "INSERT INTO table_name (column_name) VALUES ('" .$string. "')" ); $DBH->execute();   But this doesn't?  The SQL database doesn't seem to accept the apostrophe in the $string variable. In the past I would use mysql_real_escape_string but that isn't an option.


What does the at sign mean when listing files with ls?

When copying files with cp command on Mac OSX Mavericks and then looking at them ls command I sometimes see an @ sign in the listing.  What does it mean please?  For example:  # cp -v ~/Desktop/ios-newbie/oauthGoogle/oauthGoogle/Google.* . /Users/admin/Desktop/ios-newbie/oauthGoogle/oauthGoogle/Google.h -> ./Google.h /Users/admin/Desktop/ios-newbie/oauthGoogle/oauthGoogle/Google.m -> ./Google.m  # ls -al total 88 drwxr-xr-x  12 admin  staff   408 Jan 27 10:18 . drwxr-xr-x  18 admin  staff   612 Jan 27 10:17 .. -rw-r--r--   1 admin  staff   114 Jan 27 10:17 Facebook.h -rw-r--r--   1 admin  staff  2815 Jan 27 10:17 Facebook.m -rw-r--r--@  1 admin  staff   112 Jan 27 10:18 Google.h -rw-r--r--   1 admin  staff  3554 Jan 27 10:18 Google.m -rw-r--r--   1 admin  staff   112 Jan 27 10:18 Mailru.h -rw-r--r--   1 admin  staff  3364 Jan 27 10:18 Mailru.m   Here the screenshot of the same example:


Toss 100 fair coins and take away the tails; toss the remaining coins and take away the tails. Continue until no coins remain.

100 participants have a fair coin each, on a given round, the not already discarded participants flip their coins, those who flip a tail are discarded from the game, the remaining ones continue to play until nobody is left (everyone has been discarded).  What would be the average number of trials (where each trial consists of a tossing and removing the tails) one would expect from doing this experiment?  Does conditional expectation work for something like this?   I know that each individual coin follows a Geometric distribution, but I am trying to figure out the sum of them to determine the average number of trials for a game like this. My Logic/Thought Process: I started out trying to think of the probability that a particular coin makes it to round $r$ which is $\frac{1}{2^m}$. I then realized that each coin outcome can be modeled by a Geometric random variables with $p = 0.5$. I am just now unsure how to take the leap from this single case to a case with 100 coins. I presume it has to do with summing the geometric random variables, but I am not sure.


Why does my terminal show a string like this?

When I open my terminal it shows this:  wpa-2-602:~ david$   I just curious what the wpa-2-602 means? "david" is my user name, and sometimes it was something else. What makes it change?


How to change how long notifications stay on a Mac?

I have a webpage that will display notifications to OS X's notification (system notifications).  But it will disappear in 10 to 15 seconds.  Is there a way to change how long it stays?  (and what about change to not disappear at all?)  I found several pages dated 2014, which suggested using  defaults write com.apple.notificationcenterui bannerTime 60   or use 3 instead to make it 3 seconds. But this method doesn't work for my Mavericks and El Capitan OS X.


Remote logging with Syslogd, can I change the hostname?

I am running ddwrt v24-sp2 on three WRT54GL routers. These routers all send their syslog information to the same remote server using syslogd  The problem is that in the logs the hostname will change between the LAN IP and 127.0.0.1.  This makes it hard to tell which device is doing what when I have several events listed as localhost and makes it impossible to script events to happen when certain syslog messages are received.   Does anyone know of any way I can differentiate which message comes from which host? Is there some option I did not see to for a tag or extra information into the message. Can I force the host to send its hostname with each message?  Here is an example of the syslog output:     06-28-2010 11:43:57    User.Info   10.255.255.2    Jun 28 17:43:58 : >Connecting to *.*.*.*      06-28-2010 11:43:54    User.Info   127.0.0.1   Jun 28 17:43:54 : >Connecting to *.*.*.*       06-28-2010 11:43:52    Daemon.Info 10.255.255.1    Jun 28 17:43:53 >chillispot[428]: chilli.c: 1088: Rereading configuration file and doing DNS lookup      06-28-2010 11:43:51    Daemon.Info 127.0.0.1   Jun 28 17:43:52 >chillispot[623]: chilli.c: 1088: Rereading configuration file and doing DNS lookup      06-28-2010 11:43:51    Daemon.Info 10.255.255.3    Jun 28 17:43:51 >chillispot[4185]: chilli.c: 1088: Rereading configuration file and doing DNS lookup   thanks  Chris


16.04 LTS wifi connection issues with Realtek RTL8723BE adapter

I discovered several issues with wifi connection after installing 16.04 LTS.   First, wifi doesn't reconnect normally after sleep or hibernation. Sometimes the network icon turns into a "up and down arrows"(I don't know what it is for) after waking up but is still connected. Sometimes network is simply lost and it doesn't display any network in the list so there's simply no way to use wifi at all.  I first tried restarting network manager by running sudo service network-manager restart. It worked but was not a permanent resolution.   Then according to another thread, I added SUSPEND_MODULES="iwlwifi" to /etc/pm/config.d/config.  After doing this, the reconnect issue seems to be fixed (can automatically reconnect and icon doesn't change any more). However,  I find the wifi connection gets lost randomly (about every 30 minutes) even when the computer is running and the network icon remains the connected state when connection is lost.  Another issue after adding the code is, when I put my computer to sleep, the screen will turn off for a second but then turns back on for around 5 seconds(during which the system will cut off wifi connection). And then the computer will go to sleep after this unusual "two-phase" process.  Wireless cards info below  *-network                       description: Wireless interface        product: RTL8723BE PCIe Wireless Network Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:02:00.0        logical name: wlp2s0        version: 00        serial: b0:c0:90:5c:1c:d5        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=rtl8723be driverversion=4.4.0-21-generic firmware=N/A ip=192.168.0.8 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn        resources: irq:16 ioport:d000(size=256) memory:df200000-df203fff  00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07) 00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07) 00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 06) 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31) 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31) 01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 730] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter 03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01)   05/01/2016 Update I don't know what happened but the issue gets worse now. Wifi connection gets lost about every 5 minutes and I have to reconnect or restart network-manager.


What is the number of five-card hands possible from a standard fifty-two card deck?

Can someone explain intuitively why this is 52 C 5?  What does it mean that the "order doesn't matter?" If I wanted to pick 5 cards from a 52 card deck, why wouldn't I just do 52!/47! since there are 52 spots for the first card, 51 for the second, 50 for the third, etc.?  Any help would be greatly appreciated!


I am trying to search an object for a particular value ("default"), and if found, remove the relevant object.  Object:  {foo: "default", bar: "false"}   Expected Output (Foo Removed):  {bar: "false"}   I believe that the solution lies with .filter but not quite sure..


how likely is it to contract genital HSV1 if you already have oral HSV1?

I've encountered several pieces of conflicting information about susceptibility to genital HSV1 for a partner already infected with oral HSV1.   Some sources seem to suggest the risk of genital infection is very low, while others merely note that infection is possible. Is there any hard data on this?


How to make the footer always at the bottom

I'm making a website, and I'm trying to make the footer always at the bottom. I want it so that the footer is always at the bottom at the browser window, but if the content is long enough, it will push the footer out of sight and further bottom. Right now, the footer is always positioned immediately after the content above it.  I tried setting display: flex, flex-direction, align-items: flex-end, margin-bottom: 0px, but it didn't work. I'm also trying to avoid setting fixed heights. Relevant Code Footer.js

         Home         About         Blog         Contact

2020 Daniel Zhang. This site was made by Daniel Zhang from scratch with React.
   .footer {     align-items: center;     border-top: 1px solid grey;     border-width: 100%;     box-sizing: border-box;     display: flex;     flex-direction: column;     flex-shrink: 0;     font-size: 12px;     margin: 0px auto;     padding: 10px 0px;     text-align: center; }  .icons img {     display: inline-block;     padding: 10px;     width: 25px; }  .footer-link {     padding: 0px 5px; }  .footer-link a {     color: grey;     text-decoration: none; }  .footer-link a:hover {     color: black;     text-decoration: none; }  .footer-copyright {     padding: 5px 0px; }  App.js <NavBar /> <Router>   <Switch>     <Route exact path='/' render={() => <Home />} />     <Route exact path='/about' render={() => <About />} />     <Route exact path='/blog' render={() => <Blog />} />     <Route exact path='/contact' render={() => <Contact />} />     {/* Adds page not found. */}     <Route render={() => <Home />} />   </Switch> </Router>   App.css * {     font-family: 'Lato', sans-serif; }  html, body {     height: 100%;     margin: 0px; }  body {     display: flex;     flex-direction: column; }  .container {     flex: 1 0 auto;     margin: 0px auto;     width: 65%; }


Proof that a certain entire function is a polynomial

Let $n\in\mathbf{N}$ be fixed, and $f$ entire and $|f^{-1}(\left\lbrace w\right\rbrace)|\leq n$ for every $w\in\mathbf{C}$. Then $f$ is a polynomial of degree at most $n$.    I try to prove this statement, and I think one can prove it as follows: consider $f(1/z)$. $0$ cannot be an essential singularity of $f(1/z)$, for the big Picard theorem would imply that on any neighborhood of $0$ $f(1/z)$ takes on all possible complex values (with at most one exception) infinitely often, but this is contrary to $|f^{-1}(\left\lbrace w\right\rbrace)|\leq n$. Then $f(1/z)$ has a pole of order $k$ say, and since $f$ is holomorphic it is a polynomial of degree $k$ (for its principal part vanishes). By the fundamental theorem of algebra, $k\leq n$.      Is it possible here to avoid using Picard's theorem?


I am trying to horizontally center a large image. Because I am using HTML5, I can't use <center>. I could use left:400px, but that wouldn't work for different screen sizes.


Use group theory to calculate $9^{74} \pmod {13}$.

By Fermat's theorem (or more generally by Euler's totient function theorem), for $p$ prime, any nonzero element $a$ of $Z/pZ$ satisfies:  $$a^{p-1}\equiv1 \mod p$$  Hence, in this case, we have  $$9^{74}=(9^{12})^69^2$$  Applying the theorem:  $$9^{12}\equiv1 \mod 13$$  So   $$9^{74}\equiv9^2 \mod 13$$  And now, if I'm doing the math correctly,  $$81=(13)(6)+3$$  So  $$81\equiv3 \mod 13$$  Is this correct?


How to make the BibTeX reference list visible in a LaTeX document

Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands:  \bibliographystyle{plain} \bibliography{thebibliography}   Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file.


How do I disable Virtual Consoles tty[1-6]?

How do I disable switching to virtual terminals (TTYs) using(Ctrl+Alt+F1...F6) in  Ubuntu?


Difference between "therapy" and "treatment"

What is the difference between therapy and treatment?


What are the benefits of doing pvcreate on a partition instead of on device?

I learnt yesterday that I could pvcreate directly on /dev/sdb instead of /dev/sdb1. I thought that you could only pvcreate on a existing partition. Doing it on a partition adds a level and operations so what are the benefits of creating a partition before doing pvcreate?


All commands that should be used to connect to wifi in command line

I would like to switch from gnome to awesome and I would like to connect my wifi network in command line (instead of using gnome tools).  So, I searched on the internet and found approximatively the same methods :  ifconfig wlan0 up iwconfig wlan0 essid "MyNetwork" key THEHEXAKEY dhclient wlan0   When I run awesome alone and execute those commands, I'm tucked at the 3rd one. It looks like DHCP cannot be resolve (the command continue running endlessly).  But when I run awesome in Xephyr and execute the same commands, dhclient wlan0 works well.  So I suppose Gnome do something that I don"t but I can't find what.  Could someone help me ?


Beamer: top align of columns with itemize and image?

I have the following MWE and I want to top align the two columns, I do this:  \documentclass{beamer}  \usepackage{multicol} \usepackage{enumitem} \setitemize{label=\usebeamerfont*{itemize item}%     \usebeamercolor[fg]{itemize item}     \usebeamertemplate{itemize item}}  \begin{document}  \begin{frame} \frametitle{Some title} \begin{columns}     \begin{column}[T]{.475\textwidth}         \begin{itemize}[leftmargin=2.25em]             \itemsep 1.25em             \item first item bla bla bla bla some more text bla bla and more and more text here             \item second item bla bla bla bla some more text bla bla             \item third item bla bla bla bla some more text bla         \end{itemize}     \end{column}%     \hfill%     \begin{column}[T]{.5\textwidth}         \includegraphics[width=\linewidth, height=5cm]{example-image}     \end{column}% \end{columns}  \bigskip \begin{itemize}[leftmargin=*]     \item And yet another item here with some long long long long long long text and some more text bla bla bla \end{itemize}  \end{frame}  \end{document}   Which gets me this:    I do not see the top alignment happening at all... what am I doing wrong? Thanks!


There are links, buttons, images and much more that directs users to new pages.   In my opinion, it should always stay in the same tab unless it's a PDF or download item. But when is it acceptable to open things in a new tab?


I have the following result:  The set $\{\mathbf{v}_1,...,\mathbf{v}_n\}$ is linearly dependent if and only if some $\mathbf{v}_i$ is a linear combination of its predecessors. That is, $\mathbf{v}_i \in$ span$\{\mathbf{v}_1,...,\mathbf{v}_{i-1}\}$ for some $i \in \{1,...,n\}$  I was curious what happens in the case where $\mathbf{v}_1$ is the zero vector and $\mathbf{v}_2,...,\mathbf{v}_n$ are linearly independent. This set is linearly dependent and I think you can say the second sentence in the above statement is true since the predecessors of $\mathbf{v}_1$ is the empty set and the span of the empty set is the zero vector. But I'm unsure about the first sentence. Can you have a linear combination of the empty set?


I want to plot an ellipse whose size would be defined somewhere above:  \begin{tikzpicture}   \def\semix{0.1}   \def\semiy{0.2}   \draw (0,0) ellipse (\semix and \semiy); \end{tikzpicture}   which gives the following error  ! Package PGF Math Error: Unknown operator `a' or `an' (in '0.1and 0.2').  See the PGF Math package documentation for explanation. Type  H <return>  for immediate help.  ...                                                l.8 ...\draw (\x+1,\y) ellipse (\semix and \semiy)                                                   ; This error message was generated by an \errmessage command, so I can't give any explicit help. Pretend that you're Hercule Poirot: Examine all clues, and deduce the truth by order and method.   ! Package PGF Math Error: Unknown operator `a' or `an' (in '0.1and 0.2').  See the PGF Math package documentation for explanation. Type  H <return>  for immediate help.  ...                                                l.8 ...\draw (\x+1,\y) ellipse (\semix and \semiy)                                                   ; (That was another \errmessage.)   it seems that \semix consumes the space after it. However adding a backslash after it doesn't solve the problem. Actually, the number of errors rises to 11.  Is there any workaround?


Usefulness of Z-normalization in Machine Learning

Z-normalization means rescaling the feature $X$ by subtracting the average $\mu$ and dividing by its standard deviation $\sigma$, i.e., $(X-\mu)/\sigma$.  What is the usefulness of normalizing data for machine learning?


This has always been a mystery to me and with all the snow we're getting I'd like to work from home but the boss man wants us to turn our computers off a night to save energy.  Figured I'd like to try Wake-On LAN, but not sure where to start.


Flag off-topic for question which are not related to programming in SO

I've encounter few question in SO which are not related to programming, I couldn't find a proper reason to make it off-topic. Under Flagging -> Closing -> Off-topic there are various options like  - Question must describe problem, should demonstrate a minimal understanding of the problem being solved but there are no such options like Offtopic as not related to programming. Am i looking at the wrong place ? Or should it be flagged in a different way ?  Probably what I am looking for is an option to say "this is off-topic as it is not related to programming" and that's it ... no custom message (as there is separate place to put them)


Who( editor or reviewer) reviews a revised manuscript?

I sent an article to a top journal. It was reviewed by 2 reviewers. The decision made was 'revision'. I revised the manuscript and sent a detailed point by point response to reviewer comments. During revision the status changed directly from 'with editor' to 'decision in process' within a span of 4 days. I was under the impression that the reviewers would go through the paper again and based on their comments a decision would be made by the editor. But it seems that the editor is making the decision himself. Is this correct? . The result is yet to be received, so fingers crossed ;)


best configuration for 5k requests per second apache

I have a webserver which has 5k requests per second this overloads my server with the cpu usage  host has 12 CPU and 8GB ram [ almost not in use ]  my httpd-mpm configuration is below :   <IfModule mpm_prefork_module>     StartServers          5     MinSpareServers       5     MaxSpareServers      10     ServerLimit         1000     MaxRequestWorkers   8000     MaxConnectionsPerChild   10000 </IfModule>  # worker MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestWorkers: maximum number of worker threads # MaxConnectionsPerChild: maximum number of connections a server process serves #                         before terminating <IfModule mpm_worker_module>     StartServers             10     MinSpareThreads         75     MaxSpareThreads        250     ThreadsPerChild         32     MaxRequestWorkers      8000     MaxConnectionsPerChild   10000 </IfModule>  # event MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestWorkers: maximum number of worker threads # MaxConnectionsPerChild: maximum number of connections a server process serves #                         before terminating <IfModule mpm_event_module>     StartServers             6     MinSpareThreads         32     MaxSpareThreads        128     ThreadsPerChild         64     ServerLimit             32     MaxRequestWorkers     2048     MaxConnectionsPerChild   10000 </IfModule>  # NetWare MPM # ThreadStackSize: Stack size allocated for each worker thread # StartThreads: Number of worker threads launched at server startup # MinSpareThreads: Minimum number of idle threads, to handle request spikes # MaxSpareThreads: Maximum number of idle threads # MaxThreads: Maximum number of worker threads alive at the same time # MaxConnectionsPerChild: Maximum  number of connections a thread serves. It #                         is recommended that the default value of 0 be set #                         for this directive on NetWare.  This will allow the #                         thread to continue to service requests indefinitely. <IfModule mpm_netware_module>     ThreadStackSize      65536     StartThreads           250     MinSpareThreads         25     MaxSpareThreads        250     MaxThreads            1000     MaxConnectionsPerChild   0 </IfModule>  # OS/2 MPM # StartServers: Number of server processes to maintain # MinSpareThreads: Minimum number of idle threads per process,  #                  to handle request spikes # MaxSpareThreads: Maximum number of idle threads per process # MaxConnectionsPerChild: Maximum number of connections per server process <IfModule mpm_mpmt_os2_module>     StartServers             2     MinSpareThreads          5     MaxSpareThreads         10     MaxConnectionsPerChild   0 </IfModule>  # WinNT MPM # ThreadsPerChild: constant number of worker threads in the server process # MaxConnectionsPerChild: maximum number of connections a server process serves <IfModule mpm_winnt_module>     ThreadsPerChild        150     MaxConnectionsPerChild   0 </IfModule>  # The maximum number of free Kbytes that every allocator is allowed # to hold without calling free(). In threaded MPMs, every thread has its own # allocator. When not set, or when set to zero, the threshold will be set to # unlimited. <IfModule !mpm_netware_module>     MaxMemFree            2048 </IfModule> <IfModule mpm_netware_module>     MaxMemFree             100 </IfModule>   and the server is still overloaded   do you have any suggetions? what to check? maybe change any configuration?  thank you!


Can I substitute this sentence with this?

situation 1    A: What is this photo about? B: This is the situation that he told me something.    situation 2    A: What is this photo about? B: This is that he told me something.    Can I substitute situation A with situation B?   If I can't, what is the difference between two sentences.


Partition function for two particles such as bosons fermions

What is the difference between partition function for two-boson system and two-fermion system?


What are the reasons for making the mole a base SI unit?

We have meter in the  - we use that to measure length. Other length units like light years can be expressed in meters. But how often do we express amounts or quantities in moles? Mole is a number of things, nut we do not define 1 in terms of mole, or a dozen, or a million. I have never seen anyone stating that a coil has $500/N_A$ moles of turns. It seems that we define none of the everyday counting units in moles.  However, it is included in SI, and it is even proposed to be included in . Why not just use 1 if we need the reference amount for the system of counting units, and make mole a derived or a non-SI unit used in SI (like liter)?  Inspired by


How do I know which file a program is trying to access?

I have a program which I am trying to run, however when I run it; it just complains that it can't find a particular file.  However I have no idea which folder it is trying to find this particular file in. I have a copy of the required file, I just need to know which folder to copy it too.  Is there any way to show in real time which files are being accessed or which files are trying and failing to be accessed?  I am using Ext4 filesystem if that helps.  Thanks


Can I see a list of gyms I left a pokemon at?

I captured a gym today just before the servers went down. I am wondering if I lost my progress. Is there a way to see if I own a gym or not?


I get American football in Brazil. I try to watch the game, but, honestly, can't understand a thing. One thing that made me curious was the numbers on the ground. For instance, there's a "1st & 10" beside a team.  But I thought I saw a "3rd & 8" beside the other team.  What does that mean?


Have any Marvel heroes been drawn differently to match their MCU equivalents?

Have any of the Marvel comic artists talked about the influence the actors playing the characters they draw has had on their depiction of these characters?  For example, has Robert Downey-Junior influenced Tony Stark, or Dave Batista Drax, etc.?


Could you derive the mean and variance in this theorem?

How to derive the mean and variance by using the given conditional pdf?  please help me ~


How to prove that $\lim \limits_{n\rightarrow \infty} \frac{F_{n+1}}{F_n}=\frac{\sqrt{5}+1}{2}$

How would one prove that $$\lim_{n\rightarrow \infty} \frac{F_{n+1}}{F_n}=\frac{\sqrt{5}+1}{2}=\varphi$$  where $F_n$ is the nth Fibonacci number and $\varphi$ is the Golden Ratio?


I crave to learn the nitty-gritty of attitude dynamics - namely I want to get really up close and personal with angular momentum, gyroscopic motion, non-inertial effects. I'm looking for a resource which teaches me straight-forward yet rigorous methods for analyzing spinning motion dynamics - as my question states, gyroscopic motion is an example.  So far I read Kleppner's An introduction to Mechanics part on gyroscopic motion. I don't like how methods are outlined for specific examples - I want a resource that outlines general equations and uses them to work out solutions to specific examples.  Equally important is a book that is not condescending. What I mean is I don't want to read an author who skips parts of demonstrations or refers me to this and that. I want someone who talks to me with a level head and walks me through each step (the best example of such an author is Donald Kirk from Optimal Control Theory: An Introduction).  Do you know of such books or YouTube, etc. video series? Thanks a lot!


I see this a lot:     I shall say, Daphne, that my going to Athens on Saturday need not disturb our tea schedule one bit.   Versus what seems right to me:     I shall say, Daphne, that me going to Athens on Saturday need not disturb our tea schedule one bit.   I'm somewhat sure that the former is actually the right one, but the latter always seems like the right one to me.  Can both be used? If seems weird to say "my going to Athens" as opposed to "me going to Athens", but the more I use "me" in this context, the less I sound like a native English speaker (which I'm not) and it bothers me.


Microsoft Excel 2010 the difference between two times in two different cell

Other answers helped but have a problem with the following  Start Time 23:56 End Time 0:32 difference is 36 minutes.  Start Time 21:53 End Time 22:05 difference is 12 minutes.   What formula can I use to get the amount of minutes using a 24 clock time frame.  As I just want to enter my times and have Excel do the rest.  Hope this makes sense and someone can help with an answer.


"I haven't completed any official course, but I did read a number of books on the subject."  Is this sentence grammatically correct?


Does "fruit" get singular or plural verb form?

Which one is correct?     There are no low-hanging fruit.   Or     There is no low-hanging fruit.    Or are both correct? If both are correct, is one of them more preferable?


Why does deviation become minimum at minimum deviation position? What is its importance in practical applications?


I am new to ML and recently came across the L1 and L2 norm. The tutorials that I read  and  show some circle and diamond plots to explain these topics but I don't really understand the below things  a) Why are we trying to find an intersection point? b) Does it always have to intersect? c) I believe, the size of circle and diamond can be larger as well. Right now it's 1 (C = 1) but guess it can be C=2,3 and 4 etc as well d) I know with linear regression gradient descent, we get the estimate Beta (without any constraints). So, when we use a constraint like Lasso or Ridge, why are we trying to make sure it intersects? e) I read that this circle or diamond region is called a feasible area. Not sure what that means? Can help, please? f) I read an explanation Heuristically, for each method, we are looking for the intersection of the red ellipses and the blue region as the objective is to minimize the error function while maintaining the feasibility. May I check what does feasibility mean and why does it have to intersect? In addition, may I also know in the below graph, why does it have to intersect at the green contour line and not the red contour line  If the contour plot had been placed a little above, we could have got intersection at green instead of red? what does L1 Norm Isosurface mean? Can you guys help me?


I said, “I will go to school today, not if it is snowing, if my cat is awake.” The meaning is odd, but my question is regarding the grammar of the statement. Does the “if my cat is awake” place a conditional on the main clause “I will go to school today” or does it place a conditional on the conditional “not if it is snowing” or both?


Prevent the touchpad from performing clicks while typing

When I'm typing, accidental clicks from my touchpad are performed, like switching the line where the cursor is, or the whole window. I want to prevent this.  My current test to verify if a solution satisfies my needs is to open a terminal and press only one key over and over again and at the same time pressing a click on the touchpad. If the line/ window changes the test failed.  Solutions I tried:   syndaemon Touchpad-indicator   I currently run Ubuntu 16.04, but had the same issue on nearly all my operating systems. I also checked xinput list, and only one touchpad is recognized. My touchpad manager is SynPS/2 Synaptics TouchPad.


IP address doesn't change to the domain name

I am facing this problem for quite a long time. When I enter the IP address of my website it take me to the website but the IP address doesn't change to the Domain Name. I am hosting my website on a Virtual Machine on Google Cloud. I am using the Google Cloud service as a hosting service for my website. Can someone help me in solving this problem? This is how my htaccess file now looks like: BEGIN WordPress The directives (lines) between BEGIN WordPress and END WordPress are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten.  RewriteEngine On RewriteCond %{HTTP_HOST} ^IP\.IP\.IP\.IP [nc,or]  RewriteCond %{HTTP_HOST} ^example\.org [nc] RewriteRule (.*)  http://example.org$1 [R=301,L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]  END WordPress


I was wondering if one is better off to have relative URL's for internal links vs absolute URL's?  About us    vs  About us    Do search engines prefer any particular format?  Also are relative URL's helpful to ensure the website is secure particularly if you have gone in for SSL certification for the website?


I wish to go from Dresden, Germany, to Moscow, Russia, via Poland and Belarus. Do I need, and how do I get a transit visa for Belarus?


What is the rule for using "a" or "an" in a sentence?

Possible Duplicates:             If I remember correctly back to my school days, the rule is to use "a" if the next word starts with a consonant, or "an" if the next word is a vowel.  For example:   This is a banana.  This is an egg.   If the above is correct, then why does this sentence sound wrong...?   The account requires an username.


I have encountered "Infinite Time Loop" countless times. Some examples:   In Doctor Strange (2016) movie, Doctor Strange took the time dimension into the dark dimension to trap Dormammu into an infinite time loop. In the last episode of season 5 of Doctor Who (2005) TV series, TARDIS saved River Song by trapping her inside an infinite time loop. I remember Captain Archer trapped in an infinite time loop in the Star Trek: Enterprise TV series. They had found a capsule floating in space which was bigger inside and there was a fight over the capsule between advanced alien races. I remember Silver Surfer encountering Adam Warlock trapped in infinite time loop in a 90s cartoon (possibly Silver Surfer Animated Series). I remember Batman was having a deja vu experience while fighting with a villain in a 90s or 00s cartoon (possibly Justice League or Batman Animated Series or some other TV series). But, it was possibly not an infinite time loop. It might be that the villain was just turning back time.   Which Sci-Fi or Fantasy work introduced the idea of "Infinite Time Loop"?


How do I prevent a line from appearing by itself:  Orphan: at the bottom of the page, or Widow: at the top of the page?


Error Installing Ubuntu 12.04 on Windows 7

evebody... today, I want to install Ubuntu 12.04 X64 in my ASUS X45A notebook.  I prefer X64 cuz in the notebok's Driver CD, it say's "Support with Windows 7 64 bit only!" and i'am afraid something won't work if i installed the X32 OS.  And when i installing the Ubuntu directly from Windows 7 (i can't boot into Pendrive cuz my netebook doesn't recognize it, help needed too) i got this error message >> "Could not retrieve the required disk image files"  and here is the Wubi error log >>   I'm new to Ubuntu.. so please, help me... i'm planning to use Ubuntu cuz it's easier to developing Android Apps... whoever wants to help me, i really appreciate that :)


It's possible to perform a login ( with lightdm or anything else ) and enter directly in command line mode without enabling any GUI for the user ?


What is the least number of 8 Ω resistors you can arrange to have a total resistance of 5 Ω and how do you do it?

Is there a mathematical way to know the answer? (or you can do it only by trial and error). Could you prove that it is possible or impossible mathematically?


How does SO calculate user views of a question?

How is the quantity of views a question has received calculated by Stack Overflow?   Does the site always check the user's IP Address in the database?


Let $K$ be an algebraic number field. Prove that $O_K$ contains infinitely many prime ideals.

Let $K$ be an algebraic number field. Prove that $O_K$ (collection of integral elements) contains infinitely many prime ideals.  Now this is Dedekind domain. Now what should be the next step?


Mobile notifications unread status independent from full site inbox and achievements

Whenever you receive a (noteworthy) badge, answer notification, bounty reminder, etc. you get either a new message in your top-bar global inbox or an achievement notification. These events all used to be sent to the old 'notifications' message box in the previous top-bar design.  Looking at the inbox or achievements drop-down marks those events as read. However, when you visit a Stack Exchange site on mobile, the mobile notifications box still shows all of these events as unread. The same is also true in the other direction, looking at the notifications on mobile first leaves the same messages unread on the main site.  Clearly the mobile UI still uses the old notifications architecture, and this doesn't talk to the new achievements / inbox channels.  Can the mobile notifications be marked as read when I look at them on the main site, and vice versa?


Is it possible to install Ubuntu 16.04 or any version on a 128 GB usb drive?

Has any one installed successfully Ubuntu 16.04 or any other version on a  Micro SD with a card reader?  I tried all possibilities and never succeded?  How much partion for swap, root /, home and what kind of partition primary or logical? Nothing clear, I tried with all possibilities. It always give error saying the partion could not be created.  I could install say in a 8 GB usb drive. not in 128 Micro SD drive. Because installing in a higher capacity drive is the only useful thing. What is the use of installing in a low capacity drive? Can't do much work?  Any one giving successful method is highly appreicated.  I nearly spent two weeks in getting this done. NO success.  Thanks in advance.


MacBook Air 10.15.2 Shuts Down on Startup, falsely indicating 0% battery

I have a MacBook Air, with Catalina 10.15.2. When I start it up unplugged, with a full battery, most of the time it starts up and then immediately shuts down. When I hit the power button again, it shows the red power indicator with 0%. I plug it in and it launches just fine.   I brought it into the local Best Buy and they ran hardware diagnostics and said everything looks fine.   How can I get it working without cord ?


Why does booting from Live-USB give me a 'cant find vesamenu.c32' error?

Can't boot Live-USB. Error: 'Cant find vesamenu.c32'. Do I have to Download and install on USB pen again?


How to restart an embedded, NETMF C# program on error?

I have a small, long-running, embedded, NETMF program that stops for unknown reasons (see ). As a workaround, I would like it to automatically restart on fail. My sense is that a try-catch block could do this. How? Is this even possible? Is there a better approach?   public class Program {     private static Timer timer;           public static void Main()     {         Program p = new Program();          Program.timer =              new Timer(this.TimerCallback_DoSomething, new object(), 0, 1000);          Thread.Sleep(Timeout.Infinite);     }      private void TimerCallback_DoSomething(object stateInfo)     {         // do something     } }


Can't log in (unexpected EOF in .profile)

I am stuck in a login loop because of this error.  I've seen a few threads about this matter but none helped.  I do Ctrl+Alt+f2, when I log in it shows me two errors:  -bash: /home/imight/.profile: line 19 unexpected EOF while looking for matching -bash: /home/imight/.profile: line 22: syntax error: unexpected end of file


What bibliography style starts with author name in italics?

So I have to write an article for a journal which requires authors use citations so that they look like this:   And they write refs manually in there example...( And I am quite used to bibtex... So I wonder how is this style named so I could use \bibliographystyle{stylename}?


I would like to know how a 78xx series linear regulator can be used in a switching application. I have found a circuit that shows such a use, but I have trouble understanding how the circuit oscillates. Additionally, how would one choose the Zener diode?


I am having issues with battery, touchscreen, rotation, authentication and freezing problems in 20.10, I want to downgrade is that possible?


How can I prove that the kernel of a linear transformation with a matrix M is a subset of a linear transformation with a matrix M^2?

Let L be a linear transformation with a matrix M and K is a linear transformation with a matrix M^2. I need to prove that ker(L) ⊆ ker(K)


I'm doing a paper on the impact of FDI on GDP and unemployment in different countries and I'm doing an OLS regression analysis for my data.   Would it make sense to use logs for only one variable? Or is it necessary to use logs on all variables?  Since my data is in USD, the numbers are quite large and has a skewed distribution.


Determine how many homomorphisms $f: \Bbb{Z}_4 \to \Bbb{Z}_{10}$ are there?  I got the hint that one can determine the number of homomorphisms of $\Bbb{Z}_n$ by finding where the homomorphism $f$ sends the element $1$. I'm not seeing how this is how help immediately, how can I even determine where $f$ takes $1$? I tried to compute the group tables, but couldn't use that for help. One thing I managed to get was that $f(1)+f(1)+f(1)+f(1) = f(1+1+1+1) = f(4) = f(0)$ and from the group tables this seems to evaluate to $0$.


Why did Obi-Wan Kenobi choose that moment to appear to Luke?

In The Empire Strikes Back, Luke Skywalker violently escapes from the lair of a wampa ice creature, finds himself in the middle of a life-threatening snowstorm on an inhospitable planet, collapses from cold and fatigue, and will likely be dead in a few minutes. As :     Luke lies face down in the snow, nearly unconscious. Slowly he looks   up and sees Ben Kenobi, barely visible through the blowing snow. It is   hard to tell if Kenobi is real or a hallucination.     Why did Obi-Wan Kenobi choose this moment to appear to Luke and deliver rather important instructions concerning next steps in his Jedi training?  It seems lucky that Luke remembered anything of the encounter at all. He probably thought he was hallucinating.


Basically, what is the extent of Mystique's powers? Could she mirror Colossus as he turns to steel? Or at least look like she was made of steel?  What materials can she turn into? And if she can’t turn into non-organic materials then could she turn into some sort of bone creature?


How can I build a tank out of the fighter class?

I need to build a tank for a party limited to the classic four: cleric, fighter, rogue, wizard. He should have following abilities:   Prevent other party members from harm in direct martial confrontation Thriftily spend HP while drawing the focus of foes, to ease the party healer's job Kill or lock down at least one enemy per encounter   All three goals are contradictory to each other. I put them in order of priority. I would be pleased to trade off points in a lower priority in favor of improving a higher one.  The second and the third tasks have pretty obvious ways to be achieved. But I could not find useful traits or skills that would help to hold off foes from weak party members. Enemies can always ignore moderate damage from me (I'm not a damage dealer) and pass by me to attack other party members.  The Fighter has a great access to feats, I can take several chains of them. They would be of use to my personal offensive and defensive abilities but not for protecting others.  Most source books are allowed.  Party is moderate about power playing. In fact I'm the only one who is concerned.  Yes, it has to be a fighter. The classes are set by game master. He have a nice background story for them and create module for them specially. 9-12 levels. Just normal party, rogue, wizard, cleric and fighter.


How to control which network is used for different things on Ubuntu?

System:  Ubuntu 18.10   I have a linux Desktop running that is connected to two different networks:   WLAN adapter connects to the wifi network for:   internet access connect to vpn with openconnect  LAN connects to a local router for:   communication with other local computers:   vnc server on the linux desktop for other clients ssh connections     My problem is I don't know how to control which tasks automatically use which networks.  If I log on to the wifi first, and then connect the hardwire second, the internet seems to work.  If I do this in reverse it doesn't.  If I ssh in from another computer, I can pick the appropriate router and then starting vnc server from the client will force the correct choice of network adapter to use.  So one overarching question, is there a way to set up rules or configurations so that these different tasks are directed to the appropriate network adapter?


Shape of a string/chain/cable/rope/wire?

The height of a string in a gravitational field in 2-dimensions is bounded by $h(x_0)=h(x_l)=0$ (nails in the wall)  and also $\int_0^l ds= l$. ($h(0)=h(l)=0$, if you take $h$ as a function of arc length) .  What shape does it take?  My try so far: minimise potential energy of the whole string,  $$J(x,h, \dot{h})=\int_0^l gh(x) \rho \frac{ds}{l}=\frac{g \rho }{l}\int_0^l h(x) \sqrt{1+\dot{h}^2} dx$$  With the constraint  $$\int_0^l \sqrt{1+\dot{h}^2} dx- l=0$$ If it helps, it's evident that $\dot{h}(\frac{l}{2})=0$.  Generally, this kind of equation is a case of a constrained variational problem, meaning that the integrand in  $$\int_0^l \frac{g \rho }{l}h(x) \sqrt{1+\dot{h}^2} +\lambda(\int_0^l \sqrt{1+\dot{h}^2} dx- l)dx$$  Must satisfy the Euler Lagrange equation. The constraint must also be satisfied.  But, in truth, by this point I am clueless. $\lambda$ is worked through $\nabla J  = \lambda \nabla(\int_0^l \sqrt{1+\dot{h}^2} dx- l)$. I have tried this , but get nonsensical answers.  Is this method the best? If so, in what ways am I going about it wrongly thusfar?


Expressing an integer as the sum of three squares

I'm trying to determine if 1317 and 116 can be written as the sum of three squares?  I have the condition that if it is not of the form $4^{\alpha}(8k+7)$ then it can be written as a sum of three squares, but how do I use this condition to work it out?  Thank you


Creating an object where the class name on the left and right sides are different

I have seen a few references of instantiating a new object as follows, especially when using Inheritance.  Cat cat = new Animal();   However, I do not know what this concept is called. and so, I'm unable to read up on it.  I have two questions.   What is this concept called? How is this possible, that, you can     hold/refer to an object using a type that is different from it's     original class?


Better defining a parent-child relationship on a table

Our team is developing a new system and it has a Warehouse table that must have a hierarchical relationship between entries since a customer can have 1st, 2nd, 3rd and Nth degree warehouses.  We first thought that  was the best way to do it. By creating a Parent and a Child column on the table and then making Parent the FK to Child (on the same table) but friend DBA told us that there is a different way.  So, for instance, we had thought about making a table like this:  CREATE TABLE Warehouse( filterId INT PRIMARY KEY IDENTITY, parentId INT NOT NULL, active BOOL DEFAULT 1, warehouseName VARCHAR(30) NOT NULL, FOREIGN KEY parentId REFERENCES Warehouse(filterId)  | FILTERID   | PARENTID | ACTIVE | WAREHOUSENAME | -------------------------------------------------- |          1 |        0 |      1 | N WAREHOUSE 1 | |          2 |        1 |      1 | ROOM 1        | |          3 |        1 |      1 | ROOM 2        | |          4 |        1 |      1 | ROOM 3        | |          5 |        1 |      1 | ROOM 4        | |          6 |        2 |      1 | SHELF 1       | |          7 |        2 |      1 | SHELF 2       | |          8 |        2 |      1 | SHELF 3       | |          9 |        2 |      1 | SHELF 4       | |         10 |        2 |      1 | SHELF 5       | |         11 |        2 |      1 | SHELF 6       | |         12 |        2 |      0 | SHELF 7       | |         13 |        3 |      1 | BOX 1         | |         14 |        3 |      0 | BOX 2         | |         15 |        3 |      1 | BOX 3         | |         16 |        3 |      1 | BOX 4         | --------------------------------------------------   But this DBA said that we should work on something like this:  CREATE TABLE Warehouse( filterId VARCHAR(20) PRIMARY KEY, active BOOLEAN DEFAULT 1, warehouseName VARCHAR(30) NOT NULL)   | FILTERID   | ACTIVE | WAREHOUSENAME | --------------------------------------- | 1.00       |      1 | N WAREHOUSE 1 | | 1.01       |      1 | ROOM 1        | | 1.02       |      1 | ROOM 2        | | 1.03       |      1 | ROOM 3        | | 1.04       |      1 | ROOM 4        | | 1.01.01    |      1 | SHELF 1       | | 1.01.02    |      1 | SHELF 2       | | 1.01.03    |      1 | SHELF 3       | | 1.01.04    |      1 | SHELF 4       | | 1.01.05    |      1 | SHELF 5       | | 1.01.06    |      1 | SHELF 6       | | 1.01.07    |      0 | SHELF 7       | | 1.01.01.01 |      1 | BOX 1         | | 1.01.01.02 |      0 | BOX 2         | | 1.01.01.03 |      1 | BOX 3         | | 1.01.01.04 |      1 | BOX 4         | ---------------------------------------   Which way should we follow?   On one hand we have a relationship between parentId and filterId; on the other we do not have any relationship, but it is easy to understand where does the entry belong.  Not all the warehouses are of the same level - that's what I mean by degree. They should be ordered like: For Customer A, 1 is parent of 1.1 and 1.2, 2 is parent of 2.1, 3 is parent of 3.1 and 4 is parent of 4.1 and 4.2 - but 1, 2, 3 and 4 are of the same level (1st level), and 1.1, 1.2, 2.1, 3.1, 4.1 and 4.2 are also of the same level (2nd level) but not of the same parents.


How can I delete any system app? I deleted a wallpaper app in my app folder but I don't see any changes? I want to delete some apps especially default factory-installed apps. Is there a simple way?


Wrong numeration in toc longer then one page

I tried anything I could find with \cleardoublepage and \newpage and so on; mostly they use \addcontentsline. I don't need to use it as listof=totoc already puts it into the toc so even if I use \addcontentsline instead I get the same result.  \documentclass[     fontsize=11pt,     DIV10,     ngerman,     paper=a4,      twoside=false,     titlepage,     parskip=half,     listof=totoc,     bibliography=totoc,     index=totoc,     captions=tableheading,     foottotes=multiple,     final ]{scrartcl}  \usepackage[     automark,     headsepline,     ilines ]{scrpage2}  \usepackage[ngerman]{babel} \usepackage[babel,german=quotes]{csquotes} \usepackage[dvips]{graphicx}  \begin{document}  \ofoot{\pagemark} \pagenumbering{Roman} \clearpage \tableofcontents \clearpage \listoffigures \clearpage \pagenumbering{arabic} \section{Test} \label{sec:Test}  Test  \subsection{Test} \label{sec:Test}  \begin{figure}[H]  \centering \caption{Testfig} \label{fig:testfig} \end{figure}  \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test} \subsection{Test} \label{sec:Test}  \end{document}


I saw this news headline:     Can country names be treated as plural nouns? This  says it is a singular noun.


In Pokemon Black/White, can the Name Rater remove a nickname?

I had a Patrat that I taught Cut, but once I got Strength I taught another Pokemon both Cut and Strength. Now the Patrat is redundant. But when I came across the Name Rater I renamed Patrat to +Cut. (I named the other pokemon +CutStr.) Earlier today I found the Move Deleter. I used him to delete Cut from +Cut. Then I flew back to the Name Rater and tried to remove the nickname from +Cut. I tried entering a blank name, but the result of that was that the name was unchanged. Then I tried naming it Patrat, which worked.  Has its nickname been removed, or do I now have a Patrat whose nickname is Patrat? What would happen if it evolved? Would its name become Watchog or would it evolve into Watchog but still be called Patrat? (If I had enough Rare Candies then I would try it out to see what happens, without saving the game, but I have only 4 Rare Candies so far.)


Express set $[a,b] \cup [c,d]$ as the difference of two intervals

So if $a < b < c < d$ , how do I express the set $[a,b] \cup [c,d]$ as the difference of two intervals? Is it as simple as $[a,d] -[b,c]$?


calculate a variance for a given R-squared

I am trying to replicate a study that has generating simulated data with the following variables and assumptions $x_j\sim U[0,1]$, and $j = (1,2,\dots,N)$ with   $$z_j = x_j + \sigma_z \epsilon_j$$  where, $\epsilon_j\sim N(0,1)$ and then state "we select the value $\sigma_z$ so that $R^2 = 0.75$", I believe $R^2 = 1 - \frac{\sum_j (z_j - x_j)^2}{\sum_j (z_j - \bar{z})^2}$  But I am struggling to figure how to address this problem.


Why would StackExchange logs show me logging in *from* a stack exchange server?

Looking at my login history (at ) I see I've logged in several times from the IP address "198.252.206.71" but according to a quick whois search, that IP belongs to "Stack Exchange, Inc." I'm imagining it's probably a bug in SE's logging but wondering if it could be a loopback / IP spoofing attack by some bot or...?    Irrelevant info to pre-empt off topic questions:   Because I found my email (again) on  Yes, I had a weak password on here (relatively speaking; it was under 15 chars and used my old pre-salting technique) No, I do not see any unusual activity on my SE account Yes, I changed the password


The server version of Ubuntu does not have the  command. How can I add a  (PPA) to the server without this command?


Environment with smaller text loses line spacing in second paragraph

I have made an environment to get sections of text with smaller size and formatting. But when I use two paragraphs it seems to forget the linespacing from the first one (which I would like to keep).  \documentclass{article}  \newenvironment{packed} {\bigskip   \noindent   \small  \( \aleph \)} {\bigskip}  \begin{document} \begin{packed}   First paragraph. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum    Second paragraph. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \end{packed} \end{document}


I have 245 rep on Stack Overflow and just made an account on GameDev (and here). Both of those have 1 rep.  Why didn't I get the +100 association bonus?


java installation pending task Ubuntu 15.04

I am using Ubuntu 15.04 8u45-linux-x64.rpm and converting it to .deb using alien, then I am installing  it using gdebi package installer.  now when I run a apt-get command I get this error      E: The package jre1.8.0-45 needs to be reinstalled   but I can't find an archive for it.  anyone help me?  Thanks


Can awakened mind be used with suggestion?

Can the warlock class feature "awakened mind" be used in conjunction with the suggestion spell, allowing the warlock to make the suggestion telepathically?  Awakened Mind, Player's Handbook p. 110:     You can telepathically speak to any creature you can see within 30 feet of you. You don't need to share a language with the creature for it to understand your telepathic utterances.   Suggestion, Player's Handbook p. 279:     You suggest a course of activity (limited to a sentence or two) and magically influence a creature you can see within range that can hear and understand you.   If it works with suggestion, would it also work with mass suggestion?  To be clear, I am not asking about the verbal component of the spell, only the method the caster "suggests a course of activity".


Let $f:[a,b] \to \mathbb{R}$ be a differentiable function such that $f'$ is Riemann-integrable. Let $A_n = \frac{b-a}{n} \cdot \sum\limits_{k=0}^{n-1} { f \left( a+k \frac{b-a}{n} \right)} \, , \forall \, n \in \mathbb{N}^* $. Prove that $ \lim\limits_{n \to \infty} n \left( A_n - \int_a^b f(x) \, \mathrm dx \right) = \frac{b-a}{2} \cdot [ f(a)-f(b) ]$.  My guess would be that we need to use that $\int_a^b f'(x) \, \mathrm dx = f(b)-f(a)$, but I don't have any other idea how to tackle this problem.


How can ∇f(x,y) be perpendicular to the tangent plane but also point in the direction of greatest ascent

I know ∇f(x,y) is perp. to a graphs contour lines and points in the direction of greatest ascension implying it lies along the surface and pointing up the slope at each point. So I cant understand how ∇f(x,y) can be the normal vector to the surface at a point as well as shown in image 2.


Java's relational operators not working correctly in if-else condition. Android Programming

Please check the following code snippet from button's onClick event handler.  The if statement does not execute even though its TRUE (because of relational operators == and && maybe)... but works fine when string method( .contains() ) used as shown at the end.  EditText uname = (EditText)findViewById(2); EditText pwd = (EditText)findViewById(3); TextView msg = (TextView)findViewById(4);  String a = uname.getText().toString(); String b = pwd.getText().toString();  if(a==("afnan")&& b==("secret")){      msg.setText("abc");  }else {       msg.setText("xyz " + a + b); // concatenated a and b to see their values and they are same as in IF statement so why does ELSE always get executed but not IF?    }   Replacing relational operators with the following works fine but if statement gets true for "afnanaaaaa" since it does contain "afnan" but not EXACLTY contain "afnan":   if(a.contains("afnan")&& b.contains("secret")){                     msg.setText("Welcome !!!");      }else if (a!= "afnan" && b!= "secret"){                 msg.setText("xyz ");       }   HELP PLEASE !!!!!!!!!!


How to specify fully qualified class name in Objective C?

However, I have not met with any issues yet, but sometimes it might happen when we are using two completely independent frameworks, which might have two classes of common name. So, to resolve compiler ambiguity, how to specify that this class refers to this framework and this belongs to that framework. Like in Java, we can specify fully qualified class name like java.pkg.Class. I know that all the classes are preceded by some characters those might identify the framework (like NS, SK, MK, etc.), but it still can happen. Is there any mechanism that I am missing? I have never heard of fully qualified class name in Objective C.


If $a, b$ at the same orbit, then $\operatorname{stab}(a) \cong \operatorname{stab}(b)$

$\newcommand{\stab}{\operatorname{stab}}$Group $G$ acts on set $X$. Let $a, b \in X$ be at the same orbit. Prove $\stab(a) \cong \stab(b)$  Any hints?


Windows 10 PC has a desktop folder inside another

For some reason this is my folder structure:  I have a Desktop folder nested inside the This PC folder which is in another Desktop folder. I cannot figure out how to fix this. As far as I know, this is how it is supposed to be:  What should I do??? I am running Windows 10.


How to execute a file without execute permissions

Let's say user wants to execute a script test.sh but ls -l test.sh gives   -rwxrwxr-- 1 root root 96 Feb 25 21:44 test.sh   Now if user doesn't want to make a copy of test.sh (on which he does chmod +x), he can simply do  sh test.sh   to execute test.sh.  Is there an analogue way to execute binary programs which one doesn't have execute permissions?


Can something without mass exert a force?

I am something of a dilettante in physics, so please forgive me if the answer to this question is painfully obvious. The question is simple, can something that theoretically has no mass exert a force. I have been tossing around this and other similar questions in my head for a while now and have not really found any concrete answers to my inquiry. I am thinking about how light seems to be able to push objects but yet has no mass, however I expanded the question to be more encompassing in hopes of further learning.


Finding League of Legends language files

Is it possible to find and edit Lol language files? Like item names and such. I want to try and localize it in my language for my personal use.  I've tried searching it in whole Lol folder but found nothing.


How to make a delimiter out of a character, eg \right!, similar to \right)

I must be missing something simple but could not find  \right| and was wondering how to duplicate a matching vertical bar after a formula.  Edit  My mistake! I forgot \left. . But I guess one can ask the question for \right!. Not sure if it is of much use though.


Novel from the 80s: Brain harvested and forced to fight in a war

For some reason I've been off and on trying to remember for this for some years now.  In short: The protagonist wakes up to discover his body has been replaced by a tank and is being forced to fight to in a war for his alien enemy against some other enemy.  I read this most likely in the mid/late 1980's. I'm fairly certain it was a paperback and was probably a few years old by then. I think it may have had an outline of a tank on the cover. I'm fairly sure I had read "Armor" by John Steakley in the same general time frame.  More detail: The protagonist was on Earth as part of a resistance against an alien invasion.  Near the beginning of the book they had augmented his strength, reflexes, etc.  After going through all of that, he was immediately killed in his first encounter.  Eventually he wakes up again to discover that he is now a brain in a box and his body is now a tank fighting some other war.  He was likely able to break free and regain consciousness because of the augmentations he received.  I believe that from there he went about waking up the other human brains and leading a revolt.  Not sure why it stuck in my head but there was a scene when they were testing his augmentations.  They had him in a weight machine and he was complaining that the shoulder padding was too soft because the bar was digging in his shoulders.  The comment back was that the pads were made out of oak or some such.  Does anyone recall the name of the book, author, etc so I can track it down again?


MySQL active after every boot, but I only want it to start when I need it

Whenever I boot, when I type systemctl status mysql.service, I see MySQL is running. I want to manually activate MySQL whenever I need it. I forget to turn off every single time I don't need the service. How can I get the setup I want?


Prove that $\langle x,y \rangle = 0$ iff $\|x+cy\| \geq \|x\|$ for all real $c$.

I have tried expanding the inequality with $\|x+cy\| = \langle x+cy,x+cy\rangle^{1/2} $ and using the properties of the inner product but to no avail.


I am writing two equations in an align environment:  \begin{align} x^2+y^2=z^2, \\ x^2=7, \end{align}   I would like the first equation to be labelled with e.g. (1.1) and the second equation to be labelled (1.1'), rather than (1.2).  Is this possible to automate? Do I need to use a hack to manually place the equation number after my second equation? e.g.  \newcommand{\hack}{\hfill({\eqnum}')} % Sketch - I don't know what command to use. \begin{align} x^2+y^2=z^2, \\\nonumber x^2=7,\hack \end{align}   If so, what command can I use to get the equation number? i.e. what should my command \hack be?


Algebraic class field theory tells us that $\text{Gal}(\mathbb{Q}^{ab}/\mathbb{Q})$ is isomorphic to the group of connected components of the quotient $\mathbb{Q}^{\times}\backslash \mathbb{A}_{\mathbb{Q}}^{\times}\cong \prod_p \mathbb{Z_p}^{\times}\times \mathbb{R}_{>0}$, where $\mathbb{A}_{\mathbb{Q}}$ is the ring of adèles of $\mathbb{Q}$.   It's then said that the group of connected components is given by $\prod_p \mathbb{Z_p}^{\times}$, how can I see this?  Thank you very much in advance!


How does one recover from a (personal) disaster while abroad, travel-wise?

I was watching the Bond flick  last night. In it, Bond ends up in terrible shape, but manages to escape to the shores of Hong Kong, where he strolls into the lobby of a swanky hotel, is instantly recognized, and equipped, and away you go...  My question is this: supposing I'm NOT going to be recognized, but I've lost my wallet, all ID, everything. How do I get reconnected with my financials? Let me make it clear, I'm not asking how I get a free room and masseuse with no ID, I'm asking how does a real person get a place to stay for the night, some fresh clothes and food.  Let's also assume that I AM actually paying for it, somehow, though I don't have cash or a credit card.  Thoughts?


How can I install ubuntu one after upgrading to ubuntu 14.04?

I upgraded from 13.10 to 14.04 without realizing that the ubuntu one package was going to be removed (my fault). I know the ubuntu one service is being discontinued but I'd like to keep on using it at least until I have time to look for something else to replace it. Is there a way to install ubuntu one again on ubuntu 14.04?  Thanks!


What statistical test allows comparison of the 3rd quartiles between groups?

I am using r and have ~400 observations divided into 3 groups.  Group A contains 199 observations, while B contains 173 and C contains 24. I have generated a boxplot of their corresponding measures and would like to compare the 3rd quartile between them to see if they are significantly different. I've included the boxplot here.  I'm not sure what test I should use to compare the 3rd quartile. Does anyone know?


How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?


There are particles like tachyon which moves faster than light theoretically,does this holds good enough for neutrinos?


Consider the function h where $h(x,y) = (x+y,x-y)$, $h : \mathbb N\times \mathbb N\to \mathbb N\times\mathbb N$

Is the function h onto and one to one? Prove this.  Online bonus question on a recent proofs quiz on the topic of one-to-one and onto functions. Gave me a bit of grief (the mapping stuff). Also consider this is a proofs class, much help would be appreciated.  I believe the answer would have to include something to do with x+y or x-y not being natural numbers? I could (most probably) be wrong though.  Please help.


I am fairly new to java, and I cannot figure out for the life of me why this piece of code is not working, I am trying to see if a word is an adverb, and hence if it ends in "ly" or not (they will always be lowercase). This is my code:      String str = "evenly";     int a = str.length()-2;     int b = str.length();     String res = (String)str.substring(str.length()-2,str.length());     System.out.println(res + " == ly -> " + (res == "ly"));   I am testing it here:  The output is: ly == ly -> false Which means that, res = "ly" but res == "ly" is false? Why is this happening?


I am an formalist in the sense that I think that mathematics is just manipulation of symbols. But I think that this manipulation is motivated by the phantasy of humans: mathematical objects are for me created by human mind. What form of formalist am I?


All chat.SE links redirected to Area 51 starting from the last minute... bug?  (Just click any chat.SE links)


Solve recurrence for strings that do not contain the substring 101

Let's say $A_n$ is the number of binary string that has length $n$ and does not contain the substring 101. Calculate $A_n$ for $n=1,2\cdots8.$ Find a recurrence relation for $A_n$. What does the solution of that recurrence look like?  These are the solutions that I have found for calculations for $A_n$. $1, 4, 7, 12, 20, 32, 48, 96$.  I've calculated this by hand. But how I do find the recurrence? I see that 4, 7, 12, 30 are Fibonacci - 1, but not after or before that.  But I'm not sure how to do this or if this is even correct.


How can I crop an area from openstreetmap in QGIS?

I have used openlayers plugin, and I downloaded openstreetmap. I need now only a part of the map, not all of it, how can I do that?  I need to crop Dubai city as example, I tried to use Clip in Vector menu, but I couldn't understand what did it mean by Input vector layer and clip layer since the software selected the same file already!


Linux: get Thread ID by handle from boost::thread

I'm using boost::thread (which is in a next step using pthread) but would like to get the thread id / (lightweight) pid by the boost::thread pointer. I manage to do this with windows by using the member native_handle() but I couldn't find an alternative with linux.  boost::thread * boost_thread ptr = new boost::thread(/*...*/); ptr->native_handle();   I've found a lot of posts about the current thread using something like pthread_self() but I'm no trying to get the thread id from inside this thread, I want to get it from the outside for the thread I just created using new boost::thread. Is there a way to retrieve the thread id/pid by using the native handle or something from the boost::thread structure?  Thank you very much!  EDIT: Not a duplicate cause the other thread doesn't solve this... at least not when getting the pthread_t from a boost::thread and thus having no influence upon it's creation. Or solved in a way like: not possible.


std::vector without exceptions: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

I am trying to insert a moveable, non-copyable object into std::vector. I reduced the original code to this example:  #include <vector> class MovingClass { public:   MovingClass(const int value) : _value(new int(value)) {}   //! No copy allowed   MovingClass(const MovingClass& src) = delete;   MovingClass& operator=(const MovingClass& src) = delete;   // move is OK   MovingClass(MovingClass&& source) : _value(source._value) { source._value = nullptr; }   MovingClass& operator=(MovingClass&& source) { _value = source._value; source._value = nullptr; }    ~MovingClass() { delete _value; }   // do not mind that this is all kinds of bad, it's just an example   int* _value; };  int test_vector_main() {   std::vector<MovingClass> containers;   containers.push_back({ 42 });    return 0; }   The original purpose of the class is closing winapi handles, not deleting pointers.  I can reproduce the warning in a blank project if I set "Enable C++ Exceptions" to "No" in Configuration Properties->C/C++->All Options.  The project I work with treats warnings as errors and has exceptions disabled.  I am not sure what to do except giving up on no-copy rules or enabling the exceptions. I'll enable the exceptions, but if I couldn't what else could I do?  Why does push_back even require exceptions?


Solve $x\sqrt{x\sqrt{x\sqrt{x\dots}}} = 4$

Today I faced a strange equation and I didn't manage to find a solution to it: $$x\sqrt{x\sqrt{x\sqrt{x\dots}}} = 4$$ Maybe someone will help me to find a way to solve it. By the way, this equation is from high school course.


so I'm making a program with a "controller" and two display screen's, kinda like Powerpoint when you press slideshow its open on the second screen in fullscreen. I have manage to do it with only two screens but every time I try with three I get a null pointer. here is my code:  import javax.imageio.ImageIO;  public class Program extends Canvas implements Runnable{ private static final long serialVersionUID = -7579474834886333524L;  private Thread thread; private boolean isRunning = false;  private Måler måler; private MålerLille målerlille;  public Program() {     new Controller();      målerlille = new MålerLille(1920, 1080, "screen3", this);     måler = new Måler(1920, 1080, "screen2", this);      GraphicsEnvironment ge = GraphicsEnvironment .getLocalGraphicsEnvironment();     GraphicsDevice[] gs = ge.getScreenDevices();      gs[2].setFullScreenWindow(MålerLille.frameML);     gs[1].setFullScreenWindow(Måler.frame);


MacBook Pro 15 inch (2011) screen has stripes

My 15 inch MacBook Pro recently has horizontal stripes on the screen. It looks like this:  It happens randomly and sometimes it gets worse (flickering with horizontal lines,stripes)  Does anyone know what might cause this and how to fix it?  No such issue during the past year...it has just started happening since yesterday.


Java Nested If statement-Or Compared to !=

I wasn't sure how to give a title for this problem, but basically this is part of my blackjack program. Also, since I did not know how to title this, I wasn't sure how to look it up, which is why I am asking here. So I am saying that when the user enters either 1 or 11 for the ace value, if they enter something other than 1 or 11, it asks the user again to put in 1 or 11. In my program everything works fine except when the user enters 1, then it just asks the question again. The program should only asks again if the input is not equal to 1 or 11. Here is my code as I made sure it always gives an ace for testing purposes:  String card1="A"; int total=0; Scanner input_var=new Scanner(System.in); if (card1=="A"){     System.out.println("Do you want a 1 or 11 for the Ace?: ");     int player_ace_selection=input_var.nextInt();     if ((1|11)!=(player_ace_selection)){         System.out.println("Please enter a 1 or 11: ");         int new_selection=input_var.nextInt();         total=total + new_selection;     }     else {         total=total + player_ace_selection;     } } System.out.println(total);   Thanks in advance.


I would that the images would appeared for each overlay. Eg, in overlay 1 I have img1.pdf, in overlay 2 I have img2.pdf, and in overlay 3 I have img3.pdf. How I do this?  \begin{center}   \begin{tikzpicture}     \node (img1) {\includegraphics[width=.5\linewidth]{img1.pdf}};     \pause     \node (img2) {\includegraphics[width=.5\linewidth]{img2.pdf}};     \pause     \node (img3) {\includegraphics[width=.5\linewidth]{img3.pdf}};   \end{tikzpicture} \end{center}


Where did the Q come from, before the Q Continuum?

In the Star Trek Universe where did the Q come from? I mean before they were Q in the Q Continuum? In Star Trek Voyager you learn that the race is somewhat intolerant of individualism (in the episode of the Q Civil War) but Q also suggest they have always been Q. Is that statement true, have the Q always been the Q? or were they a race that evolved into omniscience?


What conditions are necessary for a Wither Skeleton to spawn naturally, and can I manipulate those conditions to increase the chance of them spawning?  I want to make a Wither Skeleton spawning pad in the Nether but I'm having trouble finding Wither Skeletons. I've only heard that they spawn in Nether Fortresses.


How can I get absolute path to a script executed via ${PATH} in bash?

I would like to get the absolute path to an executed script. Its path is /use/local/lib/debugger.sh. And it is called through $PATH=/use/local/lib from another folder. I searched an example script and found following one.  echo "path = $(cd $(dirname $0) && pwd)"   I expected I can get the absolute path, /use/local/lib. But the result was not what I expected. I got the absolute path to the  directory where the script is called.  How can I get the absolute path where the script exist?  Thank you very much.


I am trying to show that  (R/I)/(J/I) is isomorphic to R/J  I and J are both ideals of the ring R, and I is a subset of J.  How do I begin this proof?


What causes a profile picture to disappear from author information in Google SERPs?

Does anyone know what causes the exclusion of a profile picture in the authorship information in the Google SERPs?  For some reason, my profile picture has disappeared from the author information in the Google SERPs. The 'by author name - in xxx Google+ Circles' is still showing, but without a head-shot. I'm having this issue for all websites I post content on.  For some of these websites I claimed authorship using the rel="author" attribute, for some of them I did so through email verification. For others I verified authorship by adding ?rel=author to the Google+ URL.  Just to be clear, authorship information is set up correctly for all these sites. I tested the ones that were verified with author markup with the rich snippet testing tool.   Also, as mentioned before, the author name is still showing up in the search results and the articles are showing up in the author statistics in Google Webmasters Tools. Everything was still working perfectly a while ago, and I didn't change anything before this issue started.  I've searched for a fix, and did find others that have the same issue as of recent, although no solutions yet.  Troubleshooting steps I've taken:   Replaced profile picture with a more clear headshot on Google+ Replaced Google+ with vanity link: Google+   I have also read somewhere that disappearing author pics could be caused by a lack of activity on Google+. I've however seen profile pictures from other authors appear in SERPs that were way less active on the networking site than I am.


why does OSX add extra '._' when I tar a directory?

I'd just like to know why if I "tar -czf" a file/directory, osx adds a:  ._  for each file? I see these when I untar in linux. Or when I work with the uncompressed project in eclipse as it doesn't like them at all. I use 10.7.5.


Select the most distant vertex from polygon's centroid using ArcPy

I have a polygon and the polygon's centroid. I want to select the most distant vertex from centroid (picture: point A). I used arcpy.FeatureVerticesToPoints_management to create a feature class containing points generated from polygon, but I don't know what to do next. Could you help me?  Also I want to find intersection point (point B) of the outline of polygon and line created by centroid and the most distant point (line OA).    I would be very grateful for any help.


Import pdf Files to Samsung Galaxy Tab S7

How do I import pdf files from my computer to my Galaxy Tab S7 5G?


I think therefore i am is often accepted as true.But how do we know that the fact we are doubting something makes us real?we can be a stimulation or be dreaming.Why is the act of thinking given so much importance when it actually does not tell us any reality?


I am trying to self-study abstract/modern algebra. I am currently trying to learn from Josephn Gallian's Contemporary Abstract Algebra 7th edition and free lecture notes from the internet.   So are there any other good textbooks for reference? Or anything better than Gallian's?


Why do investors pay trillions for minority stakes in companies, when their only potential payback is modest uncertain dividends?

I'm struggling to understand the core reason to invest in stocks as a minority shareholder. Majority shareholding makes more sense as you effectively control the company, so you can pay yourself dividends or even sell the entire company at will. You can guarantee your own payback.  However, as a minority shareholder, you don't get to make any of these decisions. You're basically just hoping to eventually, some day get paid, if the majority holders decide so.  Why do so many investors agree to pay now huge sums of money (trillions in total) for something that may eventually pay dividends, and even in the best case, these dividends are only a fraction of the price you paid to acquire these stocks?  The average annual dividend rate for the US stock market is 2%. That means if you bought 100 million worth of shares, you'd have to wait 50 years to recover your investment.  Of course, the most probable way you'd eventually get liquidity for these shares is by selling them to some other starry-eyed investor - which makes the whole thing seem like a giant Ponzi scheme.  Given all that, it's unclear to me why the public is willing to spend so much money to acquire minority shares in companies.


There are a few dead projects that could do this:       Too Compilcated         The question before I go to bed:     How to slipstream Ubuntu the easy way?   Meaning a GUI  Tweaks/Features   Autostart in LiveCD mode Full support of Windows filesystems If possible support of Mac OS X hfs+ filesystems(Not needed, but nice to have) Recovery/backup tools slipstreamed. Gparted, with support of all filesystems related to Windows, as that is what needs the most fixing Extremely lite! Wine, for Anti Malware tools.   This will be used in a TestCD, which i will use, if i want to backup Windows machines. And if also possible wine, to scan the Windows drives for virusses with mbam superantispyware. Already tested them. They work fine.


How long can SARS-CoV-2 persist on surfaces?

We are seeing different values for how long this virus can persist on surfaces with the more recent data suggesting: copper 4 hours, plastic & stainless steel 3 days and, other studies stainless steel 9 days.  What's the latest data?


How to define critical value of ACF and PACF like R graph?

I have a problem to define the critical value of ACF and PACF which is a dashed lines in ACF and PACF plot in R. It looks the critical value has a constant value. Many sources said that The critical value will be different based on Lag. So which one is correct?  Please give me the certain answer..  if you do, please give me the References too.  Thankyou in Advanced.


Should I email the program director of a department after being referred to them by another professor/potential advisor?

A couple of weeks ago, I emailed a professor (at a different university) about becoming my graduate advisor. While they didn't explicitly agree to do so (the program isn't accepting new students until next year), they expressed interest in my proposed thesis topic and asked the program director about a specific disability accommodation I mentioned. They also gave me his email in case I had further questions about the logistical issues etc. My question is: Would it be impolite not to email him or would that seem like I wasn't seriously interested in the program. (The professor answered my questions pretty thoroughly.) I've thought about asking him if they have "rolling admissions" or if it would be too early to apply within the next couple of months (currently studying for the GRE, so I can't apply before I take it), but then I thought that asking such a trivial question might be worse than not contacting him at all. Also, should I have thanked the professor for their reply? Would replying to such a thorough email with one line such as "Thank you for the information" seem curt, and is it too late since almost two weeks have passed since then? Update: I emailed the director, and he sent me a friendly reply answering my questions about the deadlines etc. I genuinely was curious about the deadlines, it wasn't that I was making up an excuse to email him, but I thought it might have been a "trivial" question. I don't know how he actually perceived it, but his email was polite and welcoming. I then thanked him for the information.


How to compile and run C programs avoiding "bash: ./a.out: Permission denied"

I have installed GCC compiler by installing the build-essential package.  After the installation I wrote a simple C program. I tried to run it with the following command:  gcc First.c ./a.out   but I'm getting a bash: ./a.out: Permission denied message. I don't know what to do now.


java.lang.NullPointerException in sql databases

I would like to store a value in database if it is not present if not I would like to insert but I was facing a problem:      java.lang.NullPointerException..   String read = "flavour";   public static void dataStore(String read) {      try {          Connection connect = null;         ResultSet rs = null;         PreparedStatement st = null;          Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");         // Setup the connection with the DB         connect = DriverManager.getConnection("jdbc:sqlserver://WMDENTW1\\SQLEXPRESS:1433;" + "database=FullTextDB;"                 + "user=root;" + "password=root123");         String key = "IF EXISTS (SELECT * FROM QueryStrings WHERE Query_String= '"+read+"') UPDATE QueryStrings SET Query_Count=Query_Count + 1 WHERE Query_String ='"+read+"' ELSE INSERT INTO QueryStrings VALUES ('"+read+"', 1)";          st.executeQuery(key);         System.out.println("data commited");         connect.commit();       } catch(Exception e) {         System.out.println(e);     } }


The command i want to execute:  tool <input> [<input> ...] <output>   I have the input list in a file, separated by newline.   I want to put that file's content into the input field. What I have tried:  First I load the file into an array:  # Load file into array. declare -a list let i=0 while IFS=$'\n' read -r line_data; do     list[i]="${line_data}"     ((++i)) done < file.txt   Then I tried using that array in the command as:  tool $list output   But it doesn't work as I expected. Can someone help me on this?   Thank you very much


ping the FQDN failed but 'short name' works

I'm on an enterprise LAN (Windows domain and Windows DNS server) and I want to access to another computers on LAN (mostly in https)  On my ubuntu (14.04, fresh install) when I do :  ping my_other_server_on_lan -> it works ping my_other_server_on_lan.mydomain.local -> it doesn't work   I tried to change some configuration in /etc/resolv.conf but nothing works  How to ping both myserver and myserver.mydomain.local ? I don't understand why when I precise the DNS extension  EDIT : I don't need to access to my computer via the fqdn name it is to access to other servers on the LAN


Using coin toss to decide winner among 3 children

I have 1 chocolate and 3 children. I want to decide which child gets the chocolate using a toss of a fair coin. I also want each child to be equally likely to get the chocolate. How do I do this?


Find the all possible real solutions of $x^y=y^x$

Find the all possible real solutions of $$x^y=y^x$$ $x,y$ both are real numbers.  My attempt:I observed the following solutions  $x=2,y=4$  $x=4,y=2$  $y=x$  Is there any other possible solutions?


I am looking for this symbol which I haven't found online (especially with a large dot inside the circle) .


Are the complements of two homeomorphic compact, connected subsets of $\mathbb{R}^2$ homeomorphic?

Suppose that $A,B$ are subsets of $\Bbb{R}^2$. If $A$ and $B$ are homeomorphic and $A$ and $B$ are compact and connected, are their complements homeomorphic?


Typesetting 144...4 with "n times" under the 4's is easy, but what about \sqrt{144...4}?

Inspired by  on the math StackExchange, suppose you want to typeset the square root of the number 144...4, that is, 1 followed by n 4's. If you write $\sqrt{1\underbrace{44\ldots4}_{n\ \text{times}}}$, as in the current version of the question, you get a huge radical sign that reaches down to match the "n times" text below the number. Is there an elegant way to typeset this so that the radical sign looks like it would with $\sqrt{144\ldots4}$, but also keeping the underset text in the right place?


Why does BASH process substitution not work with some commands?

On occasion process substitution will not work as expected. Here is an example:  Input:  gcc <(echo 'int main(){return 0;}')   Output:  /dev/fd/63: file not recognized: Illegal seek collect2: error: ld returned 1 exit status   Input:  But it works as expected when used with a different command:  grep main <(echo 'int main(){return 0;}')   Output:  int main(){return 0;}   I have noticed similar failures with other commands (i.e. the command expecting the file from the process substitution can't use /dev/fd/63 or similar). This failure with gcc is just the most recent.  Is there some general rule that I should be aware of to determine when process substitution will fail in this way and should not be used?  I am using this BASH version on Ubuntu 12.04 (I've also seen this in arch and debian): GNU bash, version 4.3.11(1)-release (i686-pc-linux-gnu)


Prove that there exists a constant $c>0$ such that the following happens

Prove that there exists a constant $c>0$ such that for all $x \in [1,\infty)$, $$\sum_{n>x} \frac{1}{n^{2}} \leq \frac{c}{x}$$


How to recover Word document that was mistakenly replaced

I worked on a Word document and also saved the file on my flash drive.  When it asked me to save, I pressed the Replace document option by mistake.    I can see the missing work under the Properties menu. Will I be able to recover the lost work?


TL;DR Version  Can you explain the concept of dependency injection to an 'enthusiast programmer' with a fundamental understanding of programming. i.e. Classes, functions and variables.   What is the purpose of dependency injection, is it purely a readability / ease of programming concept or does it provide compile time benefits also?  My original more waffly version!   My coding skills are reasonably rudimentary. (it isn't my primary skill, but it does sometimes come in handy to proof of concept something) I can hack stuff together and make things work, but I'm always perfectly aware that there are a host of better / more efficient ways of doing things.   Primarily I bounce things around between functions and classes and variables! (like what I learnt on my c64 a long time ago!)   Dependency injection seems to be everywhere lately, and while I think I kind of get it, I feel like I'm missing a point (or something)   The problem seems to be when I try to google around to understand what it is at a fundamental level, it very quickly gets very complicated and my head hurts (I'm a bear of very small brain and big words confuse me!)  So I'm hoping someone can explain dependency injection to a five year old! What is it, why do I need it, how does it make my coding better. (ideally working in concepts of functions, classes and variables!)   This is largely language independent, it seems to be a thing that all languages use, but my language of choice is usually C# (typically ASP/MVC though some native Windows / Console) though I've recently started poking around with Nodejs also.   Actually it seems this is a duplicate of this question -    (which fared much better than my version! - that's what I get for waffling)


I want to know the memory location for a list and normal variable in python

I am storing a value in a variable and same value in another variable then it is giving the same id for both variables. but if i am assining a list to a variable and same list to another variable that ID is differing why?  my example program is:  >>> x=10 >>> y=10 >>> id(x) 21122368 >>> id(y) 21122368   >>> x=[1,2,3] >>> y=[1,2,3] >>> id(x) 35525896 >>> id(y) 35527736


Can I block calls based on a specific number prefix or pattern?

Is it possible to block calls starting with a specific number? For instance, I want to block calls from numbers starting with 1408 as they are all spam calls. The digits following these four, keep changing.