I can't seem to figure out how to center this div on every device

I'm a css amateur and I've been trying to get these divs centered in the middle of the page on every device and yes I have searched all over the internet and attempted solutions with no results to getting them centered.  Here's my code:  Snippet:    :after, :before {     -webkit-box-sizing: border-box;     -moz-box-sizing: border-box;     box-sizing: border-box; }  h3 {     font-family: inherit;     font-weight: 500;     line-height: 1.1;     color: inherit; }  h3 {     margin-top: 20px;     margin-bottom: 10px; }  h3 {     font-size: 24px; }  p {     margin: 0 0 10px; }  .djfl-box-col-2, .djfl-box-col {     position: relative;     min-height: 1px;     padding-right: 15px;     padding-left: 15px; }  .djfl-box-col {     float: left; }  .djfl-box-col {     width: 50%; }  h3 {     font-family: 'Source Sans Pro', sans-serif; }  .djfl-box {     border-radius: 2px;     position: relative;     display: block;     margin-bottom: 20px;     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }  .djfl-box>.djfl-box-inner {     padding: 10px; }  .djfl-box>.djfl-box-header {     position: relative;     text-align: center;     padding: 3px 0;     color: #fff;     color: rgba(255, 255, 255, 0.8);     display: block;     z-index: 10;     background: rgba(0, 0, 0, 0.1);     text-decoration: none; }  .djfl-box h3 {     font-size: 38px;     font-weight: bold;     margin: 0 0 10px 0;     white-space: nowrap;     padding: 0; }  .djfl-box h3, .djfl-box p {     z-index: 5; }  .djfl-box:hover {     text-decoration: none;     color: #f9f9f9; }  .djfl-box-col {     padding: 0px 85px; }  .djfl-box {     text-align: center; }  .djfl-box p {     font-size: 12px; }  .bg-green {     color: #fff !important; }  .bg-green {     background-color: #00a65a !important; }

Trees Planted

12,690,517

Trees

     Any help would be appreciated, thank you.


Disable Chrome suggesting that I search on "How I Met Your Mother" wiki

If I type a question into Chrome search that begins with the word "How", it suggests that I search in the How I Met Your Mother wiki:    It's been doing this for years. I have been to that wiki on purpose less than 5 times in the last two years, and none of those times in 2015.  Why does it do this? How do I turn it off?  I am using Chrome Version 42.0.2311.152 m  It's probably relevant that these times from many years ago do not even appear in the history anymore:


How to Install Ubuntu on separate hard drive in a dual boot?

I have already installed Windows 7 on C: drive. Now I want to install Ubuntu on E: drive which is a free partition. How do I proceed?


Been having multiple obscure movie nights with my jail broken Firestick. One popped into mind and its vehicle related. It's NOT Damnation Alley, Battletruck or Spacehunter. All I can recall is is more apocalypse based and it has a weird black SUV that makes even weirder sounds (imagine Knightrider)  as it drives around thru the wasteland. I've googled my tail off trying to even find a pic of it. Any help is appreciated.


Logical Conditional Truth Table Rationale

I am trying to get an intuition (ohh, the irony) about the logical truth tables. In particular, I am looking at the basic conditional P->Q with the following truth table:  P  Q  | P -> Q  T  T      T  F  T      T  T  F      F  F  F      T  How does one obtain this truth table? If it is an axiom, what is the motivation behind this particular form?


Seven Deadly Sins Manga to Anime question

Which chapter of seven deadly sins is season 2 episode 3?


I was recently sold an iPad by someone on the net. We met to do the exchange. When I tried to set up, she couldn't remember the ID or the password. Now I can't get hold of her and am stuck with an iPad that doesn't function. What can I do?


What is the word to describe pseudo-elite people who despite being wealthy have low standards of behavior?

What I mean is being uncultured, not necessarily evil. This is often the case with people who have recently climbed the socio-economical ladder and newly gained huge wealth in a short amount of time, without developing the culture and character. In my native language we have a term to describe these people who lose themselves when they become rich but in English I haven't encountered such a categorization. Edit: Please stop making false accusations against me. I agree that these examples may be inappropriate but I have no intention of humiliating any race or class in this question. You can read my answers in the comments below this question. Edit 2: I removed the examples.


Converting teaspoon/tablespoon measurements to mL?

I have been looking at curry recipes on an American web site and it gives measurements in teaspoons and tablespoons.  I am not familiar with these measurements as we do not use them locally.  Does teaspoon/tablespoon refer to the size of the spoon or its purpose?  If I have spoons that measure only mL, how can I convert a teaspoon/tablespoon measurement to these?


Find the last digits of a number raised to a large exponent

How do I go about finding the last digit of $7^{100}$ or the two last digits of $3^{885}$?  what is the general method to solve problems like these?


How to make a daemon which checks if a program is running (at regular intervals) and starts it if it is not?

I am on Ubuntu GNOME 15.10 with GNOME 3.18, but I don't like the normal applications launcher so I have installed Docky, however often Docky suddenly closes and I am forced to manually restart it, so I was wondering how I could make a daemon which runs all the time in the background that would check at regular intervals if Docky is running, and if it is not, run it?


Pdflatex behavior when a picture is missing

Say I have a simple LaTeX file to compile (missingPic.tex) but a picture is missing. The following would be a MWE  \documentclass{article} \usepackage{graphicx}  \begin{document} We now include a non existing pic: \includegraphics[width=\textwidth]{iDontExist.pdf} \end{document}   If I compile it from cmd (using Win7), I get (removing some lines to make it shorter)  C:\giulio>pdflatex missingPic.tex This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) entering extended mode (missingPic.tex LaTeX2e <2017-04-15> Babel <3.9t> and hyphenation patterns for 76 language(s) loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo")) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty" ... ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")))) No file missingPic.aux. ("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty" ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty") ... ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"))))  LaTeX Warning: File `iDontExist.pdf' not found on input line 9.   ! Package pdftex.def Error: File `iDontExist.pdf' not found.  See the pdftex.def package documentation for explanation. Type  H <return>  for immediate help.  ...  l.9 ...egraphics[width=\textwidth]{iDontExist.pdf}  ?   So basically it "hangs" and waits for my input from keyboard. I have to do something like ctrl+C to get out.  My question is if there is any way to avoid that and let pdflatex return some kind of error.  My Y is very simply the following: I am actually wrapping this from MATLAB, where I essentially have a line like  [status, result] = system('pdflatex missingPic.tex')   and with this behavior MATLAB really hangs: it keeps saying "busy" without me having access to the variables status and result. So I don't know how to catch this problem (only thing I can think of is something based on elapsed time but it seems quite ugly to me).


Let $(R,+, . )$ be a (not necessarily commutative) ring for which $r+r=r$ for all $r \in R$. ( boolean ring ).  ☆ by considering $(r+r). (r+r)$ show that $r+r=0_R$?   ☆show that $(R,+,.)$ Must be a commutative ring? Using $(r+s)(r+s)$


How can I find $\int_0^{\pi/2}x\cot x\,dx$?

Can $\displaystyle\int_0^{\pi/2}x\cot x\,dx$ be found using elementary functions? If so how could I possibly do it? Is there any other way to calculate above definite integral?


Rendering unicode theta (θ) in lstlisting

I am including some MATLAB code into my main document, using the listings package, which contains a unicode theta (θ). How can I render an actual unicode theta instead of using \theta. Here is a MWE:  \documentclass{article} \usepackage{listings} \  \begin{document}  \begin{lstlisting} θ \end{lstlisting}  \end{document}   This returns the error "Package inputenc Error: Invalid UTF-8 byte sequence."


Have been or was. Which one to use here?

I've been a teacher.     VS       I was a teacher.   I no longer teach, but I used to teach. Can I used "have been" here?  I have been a teacher


Include some chat capabilities in iOS app

Currently, the app notifies users when they're mentioned in chat. However, when we tap on the notification, we got redirected out of the app to Safari.   Is there a chance we can get some chat capabilities in the app, so that we don't have to login again in Safari to quickly reply to the messages?    App version: 0.1.19 09/19/2014


Why are anticommutators needed in quantization of Dirac fields?

Why is the anticommutator actually needed in the canonical quantization of free Dirac field?


Image Planes in Eevee Appearing at Incorrect Depths

I'm not certain if this is a bug or if this is just how Eevee works, but images I import as planes are acting very strangely. I'm trying to make a  mock-up room using them, but in the Eevee engine they're displaying oddly, the only way I can describe it is not displaying at the depth it's actually at? Using Cycles it displays everything properly, so I'll just use that for the time being, but this really threw me for a loop.  I tried updating to the most recent stable release (2.82 to 2.82a), tried re-opening the file, restarting, none of that fixed it. I appreciate any information, thank you.  (It may not look like it in the images, but in the Eevee screencaps both walls are actually intersecting and clipping with each other, along with the ground plane)


Material assign not lining up with vertices

Hi Guys, Can somebody explain to me why, when assigning a material to specific vertices, it doesn't seem to line up. Am I doing something wrong or is it supposed to be like this? Thanks!


Migrating from 16.04 to 18.04 : Why is the "For long-term support versions" option not yet activated?

Edit : Note that it is not yet possible to migrate from 16.04.05 LTS to 18.04.1 LTS. Today is Tuesday, August 7.... The release of 18.04.1 LTS took place on July 26... They must have simply forgotten to enable the "For long-term support versions" option in "Notify me of a new Ubuntu version", in the "Software Updater" options... Someone absolutely must tell them please.    This documentation  indicates, in the part titled "Upgrade from 16.04 or 17.10 to 18.04 > Upgrading Ubuntu Desktops to 18.04 (Recommended)" that in order to migrate from 16.04 (16.04.5 LTS for me) to 18.04 (18.04.1 LTS in fact), we must confirm the "Notify me of a new Ubuntu version:" option is set to "For any new version", and change it if otherwise.  My question is : why not to keep it set at its default value, which is : "For long-term support versions" ? 18.04(.1) is indeed an LTS version ! So this option should also enable the migration.  I have another question: in addition to allowing the change from 16.04(.5) to 18.04(.1), what are/will be the other (potentially bad) consequences of choosing the "For any new version" option, recommended by the above documentation?  Am I making a mistake ?  Important  This migration is really impossible when "For long term support versions" is chosen. It's possible when "For any new version" is chosen.


says that     The xmlns:fx attribute is always required and specifies the fx namespace.   but what exactly is the fx namespace?  And what values qualify for this attribute?


How to include social's icons like gitHub and linkedin in ModernCv?

I am using modernCv, classic style and I need to include my linkedIn and gitHub icons next to my account address in my cv. None of the solutions mentioned  nor  have worked for me. Do you have any suggestions?


Auto Increment ID is skipping the values in SQL Server. How can i prevent it?

Step 1: Create Table  CREATE TABLE [dbo].[AAA]( [id] [int] IDENTITY(1,1) NOT NULL, [name] [nchar](10) NOT NULL, [last] [nchar](10) NOT NULL)   Step 2: Insert Correct Value  insert into aaa values ('lkj', 'lkj')   This will Generate ID - 1  Step 3: Try to Insert Incorrect Value  insert into aaa values ('lkj', NULL)   This will error and no record will be inserted  Step 4:  insert into aaa values ('lkj', 'lkj')   This will insert again, But ID generated will be - 3 (Not 2) Because ID 2 was generated at Step 3 but no record was inserted.  I want that when I next enter any record ID generated should be 2 and not 3. I have searched and found solution for MySQL below, but I want it in SQL Server:  alter table tablename auto_increment =1   OR  alter table tablename auto_increment =#   Also there is another solution I found...  declare @max int; select @max = max(key) from table; dbcc checkident(table,reseed,@max)   This code is good and it works. But I have to execute this every time there is a skipped ID... Isn't there a permanent fix for this problem? I want something like "execute it once and then forget about it..." I am facing this problem on production server so I want a permanent solution. I am using entity framework for inserting data so i cant use this query every time.  Please let me know any way to fix it. Either in SQL Server 2012 or in Entity Framework 6. Thanks in Advance.


Is there a way to control the inclusion of jar files in a war file using maven

I use maven to create war files for my app. The war file in turn uses some 3rd party libraries. The app is run on Jboss 4.x. Now we are moving over to Jboss 7.   Some of the 3rd party libraries are provided by default in Jboss 6, hence I would not like to include them when I build my war file for it.   The problem I have is I need to support the build of war files for both versions of Jboss without doing too many changes. I need to include the 3rd party lib's in the war file if I want it to be deployed for 4.x but do not want it to be included when i do the build for Jboss7.  I looked at maven dependency but I think that is not the way. Is there any way for me to achieve it.


Discrete structure of moving light in space-time. Does the light actually moving or it is triggered by cells of space-time?

I have an idea that seems for me interesting and exotic. It is not about a traveling with speed of light or observing a frozen light.   Rather it is about the nature of light/photons and discrete structure of space-time. No material object can move exactly with speed of lights (there is no much energy for it), it is impossible to observe an frozen light. But the space-time cells can be activated in a way that seems that light are moving with the known speed of it.  My question about cells of space-time and they are not material until activated. Can a photon not move in space in classical terms of understanding? Can it happen so that instead of moving along a straight line, the movement is obtained this way: after certain intervals of time certain points (the points of space-time not classics material points) in space-time structure  are activated/deactivated. What I mean is that the light isn't moving in a way that the other macro objects are moving. I mean that light movement is some kind of wave of space-time points. Photon doesn't move continuously in space-time, rather it's a wave of space-time points and also according to this idea it becomes clear why the photon does not have a rest mass.  As an explanatory example I can give this analogy. Imagine that there is a display and a few pixels on it. At first the first pixel is turns on then it is turns off then the second one is turns on and after some time period it turns off and so consistently all the pixels. And for the outside observer is seems that the light is moving on (on the display). My idea is that on the space-time the light moves like in example above.


In some distribution installers like Artix Linux Base or Manjaro Linux Architecture installers print a message before the login message. I want to do the same thing. How can I do the same for Linux and TTY? Please don't mark as duplicate and don't answer as comment...


Definition of a template function inside .cpp file is not working even though I am instantiating a dummy object in .cpp file

I understood the concept of templates and why do we need to define the template member functions in header file. And another option is where define template functions in cpp file and explicitly instantiate template classes as below.  template.h  #include <iostream>  using namespace std;  template <typename T> class myclass {     public:         void doSomeThing(); };   template.cpp  #include <iostream> #include "template.h"  using namespace std;  template <typename T> void myclass<T>::doSomeThing() {     cout << "in DoSomething" << endl; }  template class myclass <int>; // Why we shouldn't use template<> class myclass <int> here?   main.cpp  #include <iostream> #include "template.h"  using namespace std;  int main() {     myclass<int> obj;     obj.doSomeThing(); }   I am compiling on Ubuntu OS using g++ main.cpp template.cpp and I am able to call doSomeThing()  I have couple of questions as below.   If we need to explicitly instantiate class template, it should be template <> class myclass <int> But when I use this in template.cpp instead of template class myclass <int>, it is throwing undefined reference to 'myclass::doSomeThing()' error. Why we shouldn't use <> in this case? I tried to instantiate an object for myclass (for int) as myclass <int> obj; instead of template <> class myclass <int>; in template.cpp as below.  #include <iostream> #include "template.h"  using namespace std;  template <typename T> void myclass<T>::doSomeThing() {     cout << "in DoSomething" << endl; }  myclass <int> obj;   I thought template.cpp has both template declaration through template.h and all the template function definitions in template.cpp so creating an object for int type will create the class for int and it will contain the function definition for int type. So when g++ compiles main.cpp, it has all the functions for int type and creation of object for myclass (for int data type) will work if I compile template.cpp first and main.cpp after as g++ template.cpp main.cpp. But this is also throwing main.cpp:(.text+0x1f): undefined reference to `myclass::doSomeThing()' error. I am unable to understand why this is throwing error. Can anyone please help me to understand why this is not working.


Existence of a complete metric on $(0,1)$

The question  is "Does  there  exist  a  complete  metric  on  $(0,1)$  that  induces  the  usual  topology?"  Now does complete  metric  on $(0,1)$ means $(0,1)$  is  complete  under  the  supposed  metric? If  two  metrics induces  the  same  topology  then  are  not  they   similar? Then  this , if  exists, will  be  similar to   the  euclidean metric but  $(0,1)$  is  not  complete  under  euclidean metric. So  such  a metric  does  not  exist. Or  have  I  got  the  question  totally  wrong? Does  it  mean something  other  than  what  I  assumed?


How to install a desktop environment in Ubuntu server?

I installed Ubuntu Server 14.x for use as a server. It comes with a plain vanilla terminal UI.  How can I install a graphical desktop on it?


For my Computer Science class, we are doing an assignment on depth first search and i need to access the adjacent vertices (which is contained in a list within a struct). I need to use reverse iteration to go through the list but my teacher clearly states in the specifications:      "There are several ways to do this, and for (it=x.end(); it!=x.begin(); it--) is not one of them."   Any suggestions?


I just gave this command by accident   mv *   while I was in a directory, needless to say that the content of my dir is gone and I have almost no hope to recover it, luckily it wasn't something relevant, but I'm surprised that mv accepts 1 argument and it also does some business with a simple * .  What does this command do ?  I'm under Ubuntu with bash.    EDIT:  given <rootName> as the directory where you are in when you give the mv * command, I can confirm that you should end up having another directory with the same name inside your root, something like <rootName>/<rootName> .  The problem now is that I already trashed my <rootName> without caring too much about the its destiny, so I can't say what's inside <rootName>/<rootName>, but I think that the logic of the given explanation is pretty clear and I can easily imagine that all my files went there .


I saved a web page as a pdf.  I would like to add watermark to this existing pdf.  I googled and got an approach that suggest to merge 2 pdf, the original one and the one contains watermark.  this code could used to generate a watermark pdf  \documentclass{beamer} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{lipsum}  \newsavebox\mybox \newwatermark*[   allpages,   angle=45,   scale=6,   xpos=-20,   ypos=15 ]{\usebox\mybox}  \begin{document}  \savebox\mybox{\tikz[color=red,opacity=0.3]\node{DRAFT};}  ab  \end{document}   although there have to be some additional characters ("ab" in this case).  is it possible use latex to generate a pdf that only contains watermark without any other additional characters?


How can photon have wave properties if they travel at the speed of light?

I am not a physicist so please excuse me if this is a dumb question. As far as I understand Relativity, as observer (in this case a photon) travels at the speed of light, time stops. So how can the photon have wave properties as it propagates through space?


Does OIS in some cases reduce the quality of the picture (softness, vignetting, loss of contrast...)?

I always take pictures with optical image stabilization enabled (except if I take long exposure shots with a tripod), but I was wondering if OIS could (in some cases) reduce the picture quality.  OIS works by moving one glass element inside the lens, so if I shake the camera while taking a picture the lens has one decentered glass element, which should cause some softness in the final picture I think, but that's something I never encountered.  Can an optical stabilization cause a reduction of the picture quality ? Is it something only visible on certain type of lenses or not at all?


What's the best way to even out areas of concrete patio where rain water collects into 2 large puddles? It also sits right up some against pool decking.  A crack has also formed which I tried to patch with concrete caulking.  I have been trying to find the right solution and don't really understand if I should use a self-leveling product or if it needs to be done in thin layers.


REQUIRESCRIPT and static resources in list onclick javascript button after “Serve Static Resources from force.com domain” critical update

I just want to raise the problem again. The issue with loading static resources using REQUIRESCRIPT in list onclick javascript button can be reproduced again in Summer 15 preview. Anyone else can reproduce? Any ideas/comments?  Please, refer to the last comments of .  Thanks


How to use Simple Deform to rotate objects?

I was following this video to try and an build a circular wall, however, the Simple Deform modifier isn't working correctly. Instead it just stretches my mesh. Has the modefier changed in the newest version or something? Blend:


I'm completely lost at how to go about this, or even if it's even possible.  I want it so that what I have stored in the database, if it's PHP to be run.  For example, I have a table called content and a field called body.  That field called body contains "Testing 123 <?php echo "Testing 456"; ?>"  When I run the query, mysqli_query($con,"SELECT * FROM content") and echo out the body, $row[body] the page only gets "Testing 123" and if I view the source code I can physically see   <?php echo "Testing 456"; ?>  So is there a way to take what's in that field, and run the PHP if any exists in it?


Prove that if 51 positive integers between 1 and 100 are chosen, then one of them must divide another.

Given $51$ integers $a_1, a_2, \ldots, a_{51}$ satisfying $1 \leq a_i \leq 100$. Prove that there exist $i$ and $j$ such that $a_i \mid a_j$.   I'm a little unsure how to approach this problem. Thanks for any help.


Why do both cron and systemd execute automatic upgrades?

I am trying to understand how automatic upgrades are happening through the unattended-upgrades package. What is described below is what I found on a fresh install of Ubuntu 16.04.3.  /etc/cron.daily/apt-compat has a line exec /usr/lib/apt/apt.systemd.daily at the end which executes the script apt.systemd.daily.  systemd also executes /usr/lib/apt/apt.systemd.daily and it uses a timer. The systemd service definition doing the update can be found in /lib/systemd/system/apt-daily.service. It calls the script apt.systemd.daily with the argument update while the systemd service definition in /lib/systemd/system/apt-daily-upgrade.service calls the same script with the argument install.  As I understand, /usr/lib/apt/apt.systemd.daily is the script used by unattended-upgrades package to do the automatic upgrades. What  I would like to know is why do both cron and systemd execute it?


I am doing some independent study in asymptotic statistics and point estimation and am aware that you can get from log transformations of uniform random variables (exponential) all the way up to chi-squared distributions but I came across an intriguing question and I'm not sure how to handle it. I was thinking CLT or Delta Method but am unsure of myself. The thing I am trying to sort out is:  Given $X_1,\ldots X_n\overset{iid}{\sim}Uniform(0,\theta)$ and $Z_n=\left(\prod_{i=1}^nX_i\right)^{1/n}$ what is an example of a function of $Z_n$, i.e. $g(Z_n)$, so that $g(Z_n)\overset{d}{\rightarrow}\chi_{(1)}^2$, where $\overset{d}{\longrightarrow}$ denotes convergence in distribution and $\chi_{(1)}^2$ is a chi-squared random variable with 1 degree of freedom?  Maybe something like $g(h(Z_n))$ where $h(Z_n)\overset{d}{\rightarrow}Normal(0,1)$ and $g(t)=t^2$? Any help is greatly appreciated.  I have tried:  Let $Y_1=X_i/\theta$ I get $Y\sim Uniform(0,1)$ and so $-\log(Y)\sim Exponential(1)$. From here I know $-2\log(Y)$ is $\chi_{(2)}^2$ but I don't see how to relate $-\log(Y)$ back to a function of $Z_n$ that is $\chi_{(1)}^2$


How to remove the error of the \ begin {cases} command bound with the \ begin {enumerate} command?

I'm trying to write this:  \begin{nscenter}         % $G(\psi,\chi) =          \         % \begin{cases}         % \begin{enumerate}[\rm(i)]         % \item q-1 \ se \ \psi=\psi_0 \ e \ \chi=\chi_0 \\         % \item -1 \ se \ \psi=\psi_0 \ e \ \chi \neq \chi_0 \\          % \item 0 \ se \psi \neq \psi_0 \ e \ \chi=\chi_0 \\          $ \item Se \ \chi \neq \chi_0 \ e \ \psi \neq \psi_0 \Rightarrow  $ |G(\psi,\chi)|=\sqrt{q}          $ \end{enumerate}          $ \end{cases}$      %\end{nscenter}   But the compiler of the error and I do not know what to do to remove the error


Compare columns in 2 files and put information according to file 1

I have 2 files, file 1 and file 2 and I want to compare column 1 in file to column 1 in file 2 and have additional column generated with column 2 in file 3  File 1:  9001    Whitby          On 9002    Toronto         On 9003    Scarborough On 9004    Victoria    BC 9005    Vancouver   BC   File 2:  9001   501 9002   502 9003   503 9004   504 9005   505   Output:  501   9001  Whitby          On 502   9002  Toronto         On 503   9003  Scarborough     On 504   9004  Victoria        BC 505   9005  Vancouver       BC


The original charger that came with my laptop: input: 100-240v ~ 1.2A 50-60Hz output: 19v 2.37A  The new charger that I got: input: 100-240v ~ 2.5A 50-60Hz output: 19.5v 4.62A  Will this charger be compatible with my laptop? (Laptop Model# S510UA-DB71)


Which LaTeX distribution would you recommend for using on Linux from command line? I am looking for one with most complete coverage of packages.


Quick easy way to migrate SQLite3 to MySQL?

Anyone know a quick easy way to migrate a SQLite3 database to MySQL?


I want to start process (eg. myCommand) and get its pid (to allow to kill it later).   I tried ps and filter by name, but I can not distinguish process by names  myCommand ps ux | awk '/<myCommand>/ {print $2}'    Because processes names are not unique.  I can run process by:  myCommand &   I found that I can get this PID by:   echo $!   Is there any simpler solution?  I would be happy to execute myCommand and get its PID as a result of one line command.


Faster than light data transmission using entanglement

I am not a scientist, so that's why I've come here...to hopefully find out if this would be possible.  Ok, so I started learning about quantum entanglement and I stumbled upon an idea for instant data transmission through space.  The idea is fairly basic,  because quantum entangled particles are dependent on each other to create 1 shared state...(I think) we could separate two entangled particles and then modify one to create an instant change on the other particle.  This change would be read and computed as binary code 1-0-0-1-1-0-1-0 for example.  Here's the best way i can explain my theory,     Simply put as one question, is instant data transmission possible in this way? Or at least faster than light (laser arrays)?


Script to find files less permissive than 750?

I need to write a STIG rule that will check for all files within a user's home directory, and result in a 1 if any are found to be less permissive than 750.  This is what i have made so far.  egrep ":[0-9]{4}:" /etc/passwd | cut -d: -f6 | while read line; do   if [ ! -e "${line}" ];then     exit 1   else     if [ `stat -c "%a" "${line}"` -gt 750 ];then       exit 1     fi   fi done   However, this does not work when permissions are a number such as 557. I can't think of a way, at least with my skill level, to get this to work.  How would i check all files within a home directory, and have it return 1 if it finds a file that is less permissive than 750?  Example: 751,757, 551, 501, 001, 770, 570.. should all fail. My script does not capture all these.  To Clarify: I need to ensure NONE of the files in the home directory have ANY "other" attributes. If they have ethier r,w, or x in the "other", it needs to fail. Additionally, in the "group", it needs to only not have w. As long as it cant find any files where the "group" has write or the "other" has read, write, or execute, then it should pass. If it finds theses, it needs to fail.  If i could also modify this so that files owned from root are excluded, that would be helpful


Prove that  $(n-r)!(r!)$ divides $ n! $ i know its a factorial formula and it might be easy but i stuck .I tried induction to $n$ or analyzing the factorials but im missing something


set default file permission to read, write and execute in linux

I need to set default file creation permissions for everyone to 777 [rwx], however umask uses 666 for files:  If I need permissions to be 444, I would issue umask 222 [666 - 222 = 444], but the problem is I need to set them to 777  How do I achieve this?


I have a list of tasks to accomplish and all are listed in a working sequence.  I wish there were empty checkboxes to remember that no task was performed.  Suppose I perform 3 tasks from a list of 5 tasks.  With this I would save the file with 3 tasks executed.  The next day, I would like to open the file and see only the 3 tasks performed with checks  I was able to create some checkboxes, but they do not have this property to be marked with the mouse.  Is there any possibility of this?  \documentclass{article} \usepackage{amssymb} \begin{document}  Item 1 \mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}  Item 2 \mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}  Item 3 \mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}  Item 4 \mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}  Item 5 \mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}  \end{document}


Do stationary states with higher energy necessarily have higher position-momentum uncertainty?

For simple potentials like square wells and harmonic oscillators, one can explicitly calculate the product $\Delta x \Delta p$ for stationary states.  When you do this, it turns out that higher energy levels have higher values of   $\Delta x \Delta p$.    Is this true for all time-independent potentials?  Certainly, it is possible to find two states $\mid \Psi_1 \rangle$ and $\mid \Psi_2 \rangle$ with $\langle \Psi_1 \mid H \mid \Psi_1 \rangle > \langle \Psi_2 \mid H \mid \Psi_2 \rangle$ and also $\Delta x_1 \Delta p_1 < \Delta x_2 \Delta p_2$.  For example, choose a quadratic potential, let $\mid \Psi_2 \rangle$ be the first state and let $\mid \Psi_1 \rangle$ be a Gaussian coherent state (thus with minimum uncertainty) and fairly high energy.  So I'm asking here just about the stationary states.  As Ron pointed out in the comments, this question is most interesting if we consider potentials with only a single local minimum, and increasing potential to the right of it and decreasing to the left.


Change default width of images in graphicx package

Is it possible to change the default width of an image included via \includegraphics (from the graphicx package) to a custom value, for example \linewidth.  So I want something like this:  \documentclass{article}  \usepackage[draft,width=\linewidth]{graphicx}  %or something like \setglobalimagewidth=\linewidth  \begin{document}  \includegraphics{test1} %width=\linewidth \includegraphics[width=4cm]{test1} %width=4cm   \end{document}


On the user profile of the Android app, the profile page has a field for Top Tags which is visually similar to the Tags field on the user profiles of the website. But, surprisingly, thats as far as the similarity goes.  The Tags field on a user profile on the website shows the total score of non-CW answers within a tag.  The Top Tags field (on the app) on the other hand shows the total score of all questions and answers within a tag.   I think that the two fields should be consistent across the site and app, in both naming and data shown. Or, if the intention was to show different data across the two fields, then the name of the app profile Top Tags field should be change to Tag Participation or something that clearly distinguishes it from the website profile Tags field.


How come some testfor commands don't return anything?

If I run this command which looks for a player at specific coordinates, I don't get any output.     testfor @a[X,Y,Z,r=1]   (X, Y, and Z are certain coordinates in my world.) This is quite important, because if I don't have a output, comparators can't tell if the command found any players.  Please Help, I'm not that good with command blocks.


Finding solution of $A\mathbf{x} = \mathbf{0}$ from rref over gf(2)

I'm working on the Gaussian elimination being implemented on gf(2). I have successfully reduced my 286*286 matrix into rref. Now I need to find the null space of this(please tell me how to do this effectively as I'm going to hardcode this in java). It would be a great help is someone could give me the gist of finding basis and then solution of this. Also as a extra detail I'm doing all this as a part of my attempt to implement Quadratic Sieve in java.


Existence of solutions of Diophantine equations

One of the problems in the book, I am quite confused to show this in a general way. How could I show that $x^2+y^2 = 3(u^2+v^2)$ has no nontrivial integral solutions?  It seems like these problems have a general way to show there are solutions or no solutions to them, and I can not do this yet as I just started to learn about Diophantine equations. Helping me understand the way to solve these problems would be greatly appreciated.


How do I correct an HSA distribution when I was refunded by a health provider?

At work I'm covered by an HDHP with an HSA.  My dentist has the policy of estimating the amount that my insurance will cover and asking for the remainder at the time of service.  On my most recent visit, the office grossly miscalculated  the amount that my insurance would pay and ended up charging me more than they should have.  Now that the insurance has paid their portion, the dentist owes me a refund of the overcharge.  If I've already sought reimbursement for the original amount of out-of-pocket expense from my HSA (it's a qualified expense), what do I need to do (if anything) to make the HSA whole?  I'm assuming that this can't be corrected by an additional contribution.  Is there some form of excess distribution (the converse of an excess contribution)?  Possibly related:


How can I use iptables to block certain processes from accessing the network?

I can set the processes to run under special uid's and use the technique from this :   -A OUTPUT -m owner --uid-owner 400 -j DROP   ...But are there any other ways to blacklist based on the PID or its parent's PID without setting up new user accounts?  Relevant links:      EDIT:  A possible duplicate of   EDIT #2:  unshare -n doesn't work on CentOS/RHEL 6.5, since the kernel is compiled without CONFIG_NET_NS=Y.


I need to block access to Facebook in my office on certain PCs that are connected to a LAN. I tried using the hosts file, it works for www.facebook.com but not for , how can i block that ? Maybe block all Facebook IPs ? I have a firewall but my PCs doesn't have static IPs so i can't block only the PCs i want to.


How do I select the object creation menu?

After creating an object the little menu in the bottom left corner pops up. But when I try to use it by clicking (and dragging) on it, it just disapears.  I already tried to reset blender and reinstalling it. And I am using Blender v2.82a.


Proof that any self-complementary graph has to have $4k$ or $4k+1$ vertex, for some $k \in \mathbb N$

I've seen looking on previous questions that using  algorithm, I can construct self-complementary graphs.  I got confused at this point, because I'm not sure if I should proof that there are no graphs with $4k+2 $ or $4k+3$ vertex, in witch case the algorithm doesn't seem to be very helpful.  Is this enough to proof that the graph has to have $4k$ or $4k+1$ vertex?


I would like to create a batch file, that will add registry key, not manually, but full automaticly by .BAT file.  goes about adding everything but not the key.  shows how to add everything, and how to add key manually, but it requires user interference, which I am trying to avoid.  Is there possibility to add KEY (non REG_*) to "folder?" in registry by one simple batch file?


How do I transfer reputation points from one Stack Exchange site to another?

I have earned points on Stack Exchange for Database related. How do I transfer those points to dba.stackexchange?


A word to describe to deviate from original idea/concept/intention

Is there any word to describe the outcome has deviated from original idea/concept/intention? The result is worse than expected.


Unrefrigerated Mashed Bananas: Are they safe to bake with?

If mashed bananas are accidentally left on the counter overnight can they still be used for baking?


Convert.ChangeType and converting to enums?

I got an Int16 value, from the database, and need to convert this to an enum type. This is unfortunately done in a layer of the code that knows very little about the objects except for what it can gather through reflection.  As such, it ends up calling Convert.ChangeType which fails with an invalid cast exception.  I found what I consider a smelly workaround, like this:  String name = Enum.GetName(destinationType, value); Object enumValue = Enum.Parse(destinationType, name, false);   Is there a better way, so that I don't have to move through this String operation?  Here's a short, but complete, program that can be used if anyone need to experiment:  using System;  public class MyClass {     public enum DummyEnum     {         Value0,         Value1     }      public static void Main()     {         Int16 value = 1;         Type destinationType = typeof(DummyEnum);          String name = Enum.GetName(destinationType, value);         Object enumValue = Enum.Parse(destinationType, name, false);          Console.WriteLine("" + value + " = " + enumValue);     } }


“A mutual friend”, "A common friend" or “A friend in common”?

When I was a student of EFL, I was taught the word "mutual" implies a reciprocal relationship where X does to Y what Y does to X.  If John admires Peter as much as Peter admires John, we can say their admiration is mutual.  That said, can I say that Charles and I have a mutual friend ?


Which of the following is also an ideal?

If $U,V$ are ideals of a ring $R$, then which of the following is also an ideal of $R$?   $U+V=\{u+v\mid u\in U,v\in V\}$ $U\cdot V=\{u\cdot v\mid u\in U,v\in V\}$ $U\cap V$   My attempt: I have proved $U+V$ and $U\cap V$ are ideals of $R$.  My problem: I have problem about the second option. I think it is not ideal of $R$. If I am wrong then please prove this otherwise give one counter example to show that $U\cdot V$ is not ideal of $R$.


how to prevent my parents from divorcing

I'm am 13 years old and my parents have been fighting a lot they stay up all night fighting. Most nights when they do fight I never get any sleep I just cry. I want to tell them how I feel and I tried but they don't listen, I have always been that shy girl who has never said a word and I just wish for once I can use my voice. But it is so hard I just don't know what to say I just freeze. How can I stop my parents from fighting?


Is it practically possible to use mutually coupled capacitors as we use mutually coupled inductors?

Inductor and capacitor are  to each other in Physics. One comes from Electric Field Theory while the other one comes from Magnetic Theory; the both theories expose strong duality with each other. Sometimes we can replace an inductor with a capacitor, or a capacitor with an inductor in a circuit in the appropriate manner.  After considering all these similarities between inductor and capacitor, the idea of "mutually coupled capacitors (MCC)" comes into my mind. How does a practical MCC system look like; what kind of Physical structure would it have? Why don't we use MCCs in practice?    After giving it a though for a while, I came up with an idea of a typical MCC structure.    I'm not an expert in Electromagnetics, but here is my explanation:  If \$A_1=A_2\$, then the voltage ratio between \$V_s\$ and \$V_p\$ will be as simple as \$\dfrac{V_p}{V_s}=\dfrac{2 \ell_1 + \ell_2}{\ell_2}\$ (similar to the one in the ideal transformer case). I can't explain why but I feel that this will only work when \$V_p\$ is AC (maybe someone can clarify this).


Is it legal to publish a game that uses a youtube tutorials code?

I am working on my noughts and crosses game, and I am following a youtube tutorial, It is helping me write the Java code. I am wondering I could to publish it to the website itch.io legally. The game would be free. Thankyou.


What is the difference with all the different types of .tar archives?

Could anyone tell me what is up with so many archives, and how are they differ?  There's at least five that I can think of, .tar.tz, .tar.gz, .tar.bz2, .tar.lz, .tar.z  Which is best for what applications? It just seems silly to make so many variations of the same file but I'm sure there's a reason.


How do I remotely control another Ubuntu desktop from Ubuntu?

How do I remotely control another desktop (both are Ubuntu 12.04) from my client machine?  Is it possible to use Remmina Remote Desktop Client?


How can I exactly replicate the APA bibliography style?

I am trying to write a paper that requires the references to be done exactly in the APA style.  At the moment I am using natbib, and I get the following results:  Beall, J. C. and Restall, G. (2006). Logical Pluralism. Clarendon Press, Oxford.  Becker, K. (2012). Methods and How to Individuate Them. In Becker, K. and Black, T., editors, The Sensitivity Principle in Epistemology, pages 81--97. Cambridge University Press, Cambridge.  Dutilh-Novaes, C. (2015). A Dialogical, Multi-Agent Account of the Normativity of Logic. Dialectica, 69(4):587--609.  But what I need is:  Beall, J. C. & Restall, G. (2006). Logical Pluralism. Oxford: Clarendon Press.  Becker, K. (2012). Methods and How to Individuate Them. In K. Becker & T. Black (Eds.), The Sensitivity Principle in Epistemology, pp. 81--97. Cambridge: Cambridge University Press.  Dutilh-Novaes, C. (2015). A Dialogical, Multi-Agent Account of the Normativity of Logic. Dialectica, 69, 587--609.  Switching to apacite does not seem to help. I've seen a few people suggest biblatex-apa, but I'm not quite sure how this will work with natbib (I also use Mendeley to produce the library.bib file, if that's important). I am quite new to LaTeX, so an answer spelling what I need to do containing as little jargon as possible would be immensely appreciated!


Understanding variable update in Javascript

I am a little confused, by what might be a simple topic. I first encountered this today and was a little startled. Suppose you have the following code  let x = {a: 100} let y = {b: x} //Note the x value   Now the interesting part is when you update x  x.a = 200  console.log(x) console.log(y)  > { a: 200 } > { b: { a: 200 } }   It gets updated in both objects. I was under the impression that y would create a brand new object despite using a reference to x. Now my mind is blown by this fact. What is going on here? What is the topic being illuminated here?


I am wondering if it possible to create a USB device (in following the device) composed from   a custom circuit (eg arduino) and  a flash storage   in such a manner that the device is recognized as a standard usb flash storage (and as such is operable with standart OS drivers), while said storage holds the utilities to operate with the custom circuit (dispalying the data colled by the circuit); and if so, how?  My first thought was to smack a cheap usb-hub and usb-pen before my circuit but that solution, is not pleasing to me.  My goal is to eliminate the need to carry an extra flash-drive just for the operating software, and use default os drivers, make it plug-and-just-work:   i plug the device in the os (windows) mounts a new flash-drive without needing a special driver is start (manually or via autorun) my custom.exe from that flash-drive i recive data measured by the circuit


Blender 2.80beta - A tutorial to animate character in Blender and export it to Unity

can you tell me a video or written tutorial to create a 3D character animation in Blender 2.80 beta and then export it as .fbx for Unity 2018.3.7?  I tried starting with a character downloaded from Mixamo (only the tpose) and then imported to Blender 2.80beta, so I tried to create the desired keyframe (in Blender it seems to be OK), but when I export it to Unity as .fbx, I don't I know why but the animation is not the same as that of Blender (the arms remain always extended along the shoulders and only part of the arm moves). The animation I wanted to create is that of the character who stretches his right arm to open a door.


Can't Resolve Multiple Constant Driver[Verilog]

Can't Resolve Multiple Constant Driver  Error (10028): Can't resolve multiple constant drivers for net "NumOfPixCF[31]" at Pixel_Tracking.v(30) Error (10028): Can't resolve multiple constant drivers for net "NumOfPixCF[30]" at Pixel_Tracking.v(30) Error (10028): Can't resolve multiple constant drivers for net "NumOfPixCF[29]" at Pixel_Tracking.v(30)  And so on. Anyone knows how to solve this? I'm an amateur in Verilog coding. module Pixel_Tracking(     input[15:0] r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,     input start,     input clk,rst,     output reg[5:0] Object_Shift=0 );      reg[15:0] R1,R2,R3,R4,R5,R6,R7,R8,R9,R10;     integer i=0;      integer NumOfPixCF=0,NumOfPixNF=0;     integer reposition = 0;     reg[15:0] AreaCF = 0,AreaNF = 0;       always@(posedge clk )     begin         if(rst)             begin                 reposition <= 0;                 Object_Shift <= 0;             end         else             begin                 for(i=0;i<=15;i=i+1)                     begin                         NumOfPixCF = NumOfPixCF + R1[i] + R2[i] + R3[i] + R4[i] + R5[i] + R6[i] + R7[i] + R8[i] + R9[i] + R10[i];                         NumOfPixNF = NumOfPixNF + r1[i] + r2[i] + r3[i] + r4[i] + r5[i] + r6[i] + r7[i] + r8[i] + r9[i] + r10[i];                     end                 if(NumOfPixCF > NumOfPixNF)                     begin                         Object_Shift <= 6'b000100; //Object moved away                     end                 else if(NumOfPixCF < NumOfPixNF)                     begin                         Object_Shift <= 6'b001000; //Object moved forward                     end                 else                     begin                         AreaCF = AreaCF + R1 + R2 + R3 + R4 + R5 + R6 + R7 + R8 + R9 + R10;                         AreaNF = AreaNF + r1 + r2 + r3 + r4 + r5 + r6 + r7 + r8 + r9 + r10;                         if(AreaCF < AreaNF) //Object moved to the right                             begin                                 Object_Shift <= 6'b000010;                                 //reposition <= 1;                             end                         else if(AreaCF > AreaNF) //Object moved to the left                             begin                                 Object_Shift <= 6'b000001;                                 //reposition <= 1;                             end                         else //Object did not move                             begin                                 Object_Shift <= 6'b000000;                             end                     end             end         reposition <= ~reposition;     end      always@(reposition,start)     begin         if(start == 1)             begin                 R1 <= r1;                 R2 <= r2;                 R3 <= r3;                 R4 <= r4;                 R5 <= r5;                 R6 <= r6;                 R7 <= r7;                 R8 <= r8;                 R9 <= r9;                 R10 <= r10;             end          if(reposition == -1)             begin                 NumOfPixCF <= 0;                 NumOfPixNF <= 0;                 AreaCF <= 0;                 AreaNF <= 0;             end     end endmodule


2 hours ago I thought I had this figured out, but now I am doubting myself and want someone to validate my algorithm.   I want to take a stream of k trusted random bits and convert it to groups of 5 digits in a uniformly distributed range from 0-99999. To do this I take k and truncate to a multiple of 32, let's say the result now has n bits where n = k - k % (4*8). To create one group of 5 digits we load 32 bits into a variable we'll call var_i. The result will be stored in var_e. To get 5 digits from 0-99999 takes 17 bits, so we perform the loop:      for (int i = 0; i < 17; i++)       var_e += ((var_i >> i) % 2) << i   this way we preserve only the first 17 bits. Then we perform var_e = var_e % 100000 to truncate var_e to 5 digits. var_e is now one complete block of 5 digits.  An alternative algorithm could be to just take a 32 bit number var_e and perform var_i = var_e % 100000. This would take just the last 5 digits of the 32 bit number, which fall into the range 0-99999.  These algorithms both waste nearly 50% of the input data, but it would be fairly easy to change the first one to accept 17 bits of input.


I have constructed a large model out of a few linked objects, which have been duplicated hundreds of times (using Alt+D) - imagine a wall built out of hundreds of bricks for instance.  I would now like to give these linked objects different materials so that they do not all look the same. The geometry will all be the same. Blender, though, doesn't give me a way of modifying the material of a linked object.  If this is not possible, is there a simple way of selecting a random number of these linked objects and replacing them with another linked object (which will have the correct material)?


Mapping of zero vector under a linear transformation

Let $T$ be a linear transformation from a vector space $V$ to $W$ that are defined over a field $\mathbb F$.   Now, $T(\mathbf0)=\mathbf0$.   Which implies the zero vector in $V$ can't move or be transformed to a new vector in $W$. Why is it so?   Does it also have a geometrical significance?


How to make bootable pendrive to install ubuntu os?

I am a newbie to all of this stuff.  Initially I had a OS CD of Ubuntu 10.4 version. I never tried to install it. Now I have lost my CD somewhere. Earlier I copied the content to my laptop. When I tried to install by copying to another CD/pendrive it didn't install.  Now i am using Windows. But I would like to install Ubuntu, because everyone said that Linux/Ubuntu is an amazing OS.  So I searched in google for a solution. With Unetbootin, pendrive linux, I can make a bootable pendrive to install. But Unetbootin asks for an ISO-image. I did many experiment and wastes more than 9 CD's. I have no experience with that. Where can I get the ISO-image? Actually, what is an ISO-image?


I'm looking to purchase my first cyclocross bike and just found a good deal from someone. It's a Cannondale CAADX tiagra 2015 with a frame size of 56 cm (top tube 56cm basically). I'm a little bit afraid it might be too big for me. My height is 180 cm (5'11) with an inseam of 82 cm. Do you think it would be too big for me, especially on long rides?   From what I've read, it seems that a 54cm frame would be much better for me, but this is a real good deal.  I can't test the bike, because the guy lives in another city.  Thanks!


Given a topological space $X$ and a path $p : [0, 1] \to X$ such that $p(0) \neq p(1)$, does there always exist an injective path $p' : [0,1] \to \operatorname{im}p$ such that $p'(0) = p(1)$ and $p'(1) = p(1)$? For intuitive examples of paths we could "cut out" the loops which occur in $p$, but are there pathological examples of paths in which this technique cannot be applied? Otherwise, is there a Theorem that guarantees the existence of $p'$, even for only certain "nice" classes of paths $p$?  For any $X$ that satisfies this property, any subspace of $X$ is path-connected if and only if every two points are joined by an injective path.  What about the special case where $X = \mathbb{R}^n$?


How to install Ubuntu 14.04/16.04 64-bit with a dual-boot RAID 1 partition on an UEFI/GPT system?

Update: Question and answer below also applies to Ubuntu 16.04  I have a computer with dual SSDs and Win (7) pre-installed on another disk. The pre-installation uses (U)EFI/GPT boot. I want to install Ubuntu 14.04 64-bit desktop on a RAID1 root partition on my SSDs and still be able to dual-boot my Win7 system. Is this possible?   using the desktop installer did not work, probably because it (implicitly) assumes MBR booting. Neither did , probably for the same reason.


I have a lot of list views.  Each view is displayed having group by name such as pending, working, complete ,......  I need to count each item inside group.  I need camel query in c#  to count each group have once i pass parameter(siteurl,listname,viewname)


gradient flow and what is, for example, $L^2$ gradient?

Am I right that the gradient flow of a functional $E$ is $$f_t = -\nabla E(f).$$ Solving this for $f$ gives you a minimiser of $E$ in some way?  Here the $\nabla$ denotes the gradient or the first variation or Gateaux derivative or whatever is appropriate.   What is meant by "$L^2$ gradient (flow)" or "$H^{-1}$ gradient (flow)?"  Thanks


I want to write a matrix like the one in the picture

I need to write a matrix like this.     I don't know how to add those letters outer of matrix. I tried  ```  \begin{equation*} \begin{split} %% letters %% matrix body \end{split} \end{equation*}   to format multiple line formula but failed. I have no idea how to do this.  Thank you in advance!


I have been doing olives (mixed kalamata and jumbo green/mazinilla) with a salty brine with dehydrated galic and herbs with a layer of olive oil over the top.  Now is this safe or not?? i leave it to stand to draw the flavours and usually at room temp.


I didn't grow out of it.   or      I haven't grown out of it.    Which sentence is grammatically more correct? I'd rather say the second, but  I saw in the text the first one.


Why did they suspect Hagrid again in the book Harry Potter and Chamber of secrets?

I read Harry Potter many times and I don't get why they (ministry) suspect Hagrid when the Chamber of Secrets has been opened.  I understand why they suspected him before 50 years ago, in that time people rather believed Tom Riddle than him, but at present they know that Tom Riddle became Lord Voldemort, he was dark wizard, terrible person etc.  Why this acknowledgement didn't show that Hagrid was innocent and there is no reason to imprison him when the Chamber of Secrets has been opened again?


Application.UseWaitCursor is delayed sometimes

I'm using Application.UseWaitCursor in a method:      private void connectButton_Click(object sender, EventArgs e)     {         if (this.ValidateForm())         {             Application.UseWaitCursor = true;             this.connectButton.Enabled = false;             this.Connect();              if (this.rememberMeCheckBox.Checked == true)             {                 SaveCredential();             }             else             {                 DeleteCredential();             }              Properties.Settings.Default.RememberMe = this.rememberMeCheckBox.Checked;             Properties.Settings.Default.Save();         }         this.ActiveControl = this.statusLabel;     }   ... and sometimes (maybe 1 out of 20 times, it seems random) the wait cursor is delayed a bit before it shows. About 1-2 seconds, or so.  Is there any reason why it would be delayed?  Thanks for any help figuring this out.


Number of equivalence classes of $w \times h$ matrices under switching rows and columns

If I have a $w \times h$ matrix where each value is an integer  $0 \lt n \lt 20$,  how can I count the number of distinct configurations, where $2$ configurations are "distinct" if there is no way to reshuffle the rows and columns that would produce the same matrix?  Can this be counted with the stars and bars method?    For example, these are equal (we swapped a row, then a column):  0 0 0    2 0 4 0 2 4    0 0 0   but these are distinct (no way to swap rows or columns to produce the other):  0 0 0    2 0 0 0 2 4    0 4 0   It seems like there ought to be a way to count the rows or columns as "bins" and the values as balls.  I realize that in this case there are $18$ different colored balls, but even if the only values possible were $1$ and $0$, (ball or no ball) I can't see how to represent it as stars and bars.


Prove if $56x = 65y$ then $x + y$ is divisible by $11$

If $x$ and $y$ are natural numbers, and $56x = 65y$, prove that $x + y$ is divisible by $11$.  I tried  taking the $\gcd(56x,65y)$ using the Euclidean algorithm, but I got nowhere with it and do not know where to head.


g = dominoes.Game.new()  for _ in range(fixed_moves):     g.make_move(*g.valid_moves[0])   In the last line, what does the * before object g mean?


How do I enable fancy apt colours and progress bars?

I've heard that apt has a new fancy colour and progress bar feature, but that I have to manually enable it.   How do I do this?


Why do I need to make an account for each SE Site?

Its a minor nuisance, but its still a nuisance. Everyone once in a while Ill find a new SE site that looks interesting or that Ill have a comment for, but when I go to make the comment, the system asks me to make an account. Generally, its a very small comment and I'm too lazy to make an account for that.   What I don't understand is why I need to make an account every time. They all get linked anyways, so why isn't it just assumed we have an account everywhere?  Edit: For those who think that this is a bad idea because (1) some users don't want to associate with some site, (2) it would ruin site's user statistics or (3) it would spam their communities list, this can be avoided by doing this with a 'copy-on-write' mentality. In other words, you wouldn't actually have an account on the site until you performed your first action. Then an account would be created and linked for you instantly and (more importantly) seamlessly. This means (1) you aren't part of the community unless your actually part of the community, (2) the sites don't get the user statistics until they actually get the user, and (3) you dont see a massive list of communities your part of until you are actually part of those communities.


I have a point feature class in a geodatabase that uses WGS84 as its SRS. A colleage of mine created points in this feature class using an external database containing lat and long values. However, the lat and long values in the external database were using NAD83 (my fault -- I knew they were, I just forgot). I thought it wouldn't be a problem -- I just created a copy of the geodatabase and changed the coordinate system used by the feature class to NAD83. Should be good, right?  I added this feature class into ArcMap. I saw that the points in the copied feature class (now using NAD83) exactly line up with the original feature class (using WGS84). That doesn't seem right. If two points, having the same lat / long values, but referenced in different coordinate systems are overlaid on the same map, one of them should be projected on the fly to the coordinate system of the data frame, no?  Now, here's the weird part -- if I project the original point feature class (using WGS84) to NAD83, and add it to the map, then the points don't line up. See, this isn't what i expected, either. I expected that they would be projected to the other coordinate system (i.e., their lat / long values would be different by virtue of being projected, but they would be aligned with the original point because they were simply projected to the new coordinate system (then projected on the fly back to the original coordinate system).  Can anyone explain the behaviour that I'm seeing? And, how do I properly ensure that the NAD83 lat and long values collected by my colleague are projected to WGS84 in my target geodatabase properly?


When does a reaction happen if the trigger is movement?

I realize there are a bunch of these questions about the ready action but I couldn't find one that answers what I have in mind.  I know by RAW the reaction happens after the trigger finishes but how does that work with movement?  1. What if I specify the distance that must be travelled for the reaction to occur?  For example, if the trigger is "when that creature has moved 10 feet" but the creature's movement that turn is to be 20 feet without any breaks - do I react at 10 feet or after the intended movement of 20 feet is completed?  2. What if the trigger was only specified as movement by an opponent?  For example, if the trigger is "when that creature moves" but the creature will move a total of 30 feet and plans to break for an attack in the middle of that movement, when do I react? Does the reaction occur after the first 15 feet but before the attack? Does it wait until the whole 30 feet movement is finished?  Even though I've used "I" as the player, I am asking as a DM. Is there something in RAW I'm missing or are there any designer comments on this by chance?


I tried several paths but all leads to the same value. Since the question wants me to prove, it need to exist, but I can't find two paths.  $$\lim_{(x,y)\to (0,0)}\frac{x^4 \cdot y^4}{(x^2+y^4)^3}$$


Shifted Exponential Distribution and MLE

I was doing my homework and the following problem came up! We have the CDF of an exponential distribution that is shifted $L$ units where $L>0$ and $x>=L$. The CDF is:  $$1-e^{-\lambda(x-L)}$$  The question says that we should assume that the following data are lifetimes of electric motors, in hours, which are:  $$\begin{align*} 153.52,103.23,31.75,28.91,37.91,7.11,99.21,31.77,11.01,217.40 \end{align*}$$  Please note that the $mean$ of these numbers is: $72.182$  Now the question has two parts which I will go through one by one:  Part1: Evaluate the log likelihood for the data when $\lambda=0.02$ and $L=3.555$. Now the way I approached the problem was to take the derivative of the CDF with respect to $\lambda$ to get the PDF which is:  $$(x-L)e^{-\lambda(x-L)}$$  Then since we have $n$ observations where $n=10$, we have the following joint pdf, due to independence:  $$(x_i-L)^ne^{-\lambda(x_i-L)n}$$ which can be rewritten as the following log likelihood:  $$n\ln(x_i-L)-\lambda\sum_{i=1}^n(x_i-L)$$ Is this the correct approach? Because it would take quite a while and be pretty cumbersome to evaluate $n\ln(x_i-L)$ for every observation?  Part2: The question also asks for the ML Estimate of $L$. So assuming the log likelihood is correct, we can take the derivative with respect to $L$ and get:  $\frac{n}{x_i-L}+\lambda=0$ and solve for $L$? Is this correct? Because I am not quite sure on how I should proceed?  Thanks so much for your help! I greatly appreciate it :)


When "etc." is at the end of a phrase, do you place a period after it?

Example:     It's all about apples, oranges, bananas, etc.   VS.     It's all about apples, oranges, bananas, etc..   Update  What happens if the abbreviation is inside parentheses, do you place a dot after and before the closing parenthesis?     It's all about fruit (apples, bananas, etc.).


Gotcha's in Close Vote queue are sometimes too subjective

Let me start out by saying that I do my best to give every question due diligence in the Close Votes queue. However, every now and then, Stack Overflow likes to throw in a gotcha question to make sure that I'm not just blindly clicking through the edit queue trying to get a badge. I don't know if there is any kind of consequence for getting these wrong other than it displaying a demeaning message that pretty much says to the affect of "Hey idiot, you're not paying enough attention." Actually, I was giving all of my attention.  I ran into one gotcha just a few moments ago that was a real head scratcher when I got it "wrong". This isn't the first time I've honestly voted to close a question that I thought should be closed, only to find out that I was "wrong" for trying to close it.  I took a screenshot of it as I couldn't think of any better way to show what I'm talking about.    Here's what I noticed when reviewing this question:   The author says he is trying to follow some directions on an installation site, and he encountered an error after he entered some command. He says he's not sure. (very informative) He posts a log of his bash console, which includes some error messages. He provides absolutely zero dialogue about what he's tried to remedy the error. After reviewing the audit (thanks @rene for the link), I noticed he does list some vague, limited dialog in the comments. That brings for me up questions about whether comments should be included in the audit process.   Now, maybe I'm wrong here, but as an objective observer, this seems like a very low quality question. The author didn't provide much information about what he'd done prior to this. He offers little explanation about what he's tried to resolve the error. He didn't give much information about his system setup.  Was I truly wrong in voting to close this question? On one hand, the error message is right there on the screen. On the other hand, the author has left us with little information other than "here's my problem. fix it for me".  Some gotchas are just blatantly wrong. I come across them sometimes where words have just been substituted in random places that make no sense. However, ones like this seem too subjective. Looking at this question, I'd vote to close it every time because I feel that it's simply low quality.  What is the general consensus on this? Is there a penalty for getting these wrong?


Want to rename a files in folder with folder_1.txt folder_2.txt folder_n.txt name


How to run Eclipse launch configurations programmatically?

I'm finding it difficult to phrase this question well, as there are quite a few generic terms (run, configuration, launch, etc.). Here goes:  You can . (in the Run Configuration Dialog, under the Common tab, Save as a shared file.  We check these in to SVN. The developers can pass them around, and it helps getting new devs running a working application quicker.  I'd like to check these out as part of our build and use them to programatically run the application, the tests, etc, without spinning up the whole IDE.  What would be the best way to run a .launch file outside of the UI?   Edit: I am trying to unify the tests run on the build server and the IDE. I do not  particularly want to give up integrated debugging, which would be the case with an ant script to run the tests .  This is probably more a problem for integration testing with multiple bundles, or unit testing a whole bundle, where you'd like to mock up extensions.


Prove that $|e^{i\theta_1}-e^{i\theta_2}| \leq |\theta_1 - \theta_2|$

I'm trying to prove the inequality  $$|e^{i\theta_1}-e^{i\theta_2}| \leq |\theta_1 - \theta_2|$$  I have tried to use Taylor's formula and got this  $$|e^{i\theta_1}-e^{i\theta_2}| = |(1+i\theta_1 - \frac{\theta_1^2}{2} + \ldots) -(1 +i\theta_2 - \frac{\theta_2^2}{2} + \ldots)| = |i(\theta_1-\theta_2) + \frac{\theta_2^2-\theta_1^2}{2}+\ldots|$$  The first term looks right, but how do I proceed?


Windows utility to save/restore window size & position history?

Is there a Windows utility that keeps a record of the size and position of all active windows for later retrieval?  For example, if I have my text editor and web browser open side-by-side, and then open Outlook full screen, I'd like a keyboard shortcut to quickly switch back to the editor/browser configuration.  I'm thinking of something like Emacs's .  Does such a thing exist?


How can I allow packet forwarding via Windows Firewall?

In the Linux I can use iptables for enable forwarding:   ~ # iptables -I FORWARD -j ACCEPT   But how can I realize the same function in Windows?


Why does Data put on the purple clothes?

After Kivas hits Data with the acid in "The Most Toys" (), he presents the android with a choice: run around naked, or change into the purple clothes which were refused earlier.  Data chooses the latter option. What is the in-universe reason for this? Data did not want to put the clothes on earlier, and he wouldn't be embarrassed or cold if he was naked.   I guess the most reasonable explanation is that Data, as a Starfleet officer, would want to emulate a typical Starfleet officer in that situation. And the proper thing to do would be to appear presentable, even if it meant donning undesirable clothing.


Let $a,b$ be positive integers such that $a\mid b^2 , b^2\mid a^3 , a^3\mid b^4 \ldots$.....so on, then prove that $a=b$ -Struck

QUESTION :  Let $a,b$ be positive integers such that $a\mid b^2 , b^2\mid a^3 , a^3\mid b^4 \ldots$.....so on, then prove that $a=b$  This is what I tried: Say $a≠b$ rather than $a>b≥1$ $$\exists k :a^{k-1}>b^k$$ Then: $$a^{k-1}>b^k$$ $$\left(\frac{a}{b}\right)^k>a$$ $$k>\log_{\left(\frac{a}{b}\right)}a$$ I am struck after this. I don't know what to do next (even I don't know what I have done is right or wrong). What to do next?  I apologise for asking a same question which exist  but I didn't understand that(due to limit).


Is "reserved" an adjective or verb in this example?

I need an answer about this sentence please:     We had a reserved seat.   Reserved in this sentence is a verb. I read that in a morphology book.  My question is: how does this become a verb?  I thought it was an adjective.


what is the difference between binary cross entropy and categorical cross entropy?

So, I made a bidirectional LSTM model for sentiment classification. Model's job was to predict ratings of movies(1-5 stars) based on the movie review.  While training the model I first used categorical cross entropy loss function. I trained the model for 10+ hours on CPU for about 45 epochs. While training every epoch showed model accuracy to be 0.5098(same for every epoch).   Then I changed the loss function to binary cross entropy and it seemed to be work fine while training. So, I want to know what exactly is the difference between these two?


I am reading a proof that the cantor set is uncountable and I don't understand it. Hopefully someone can help me.  Let $C$ be the Cantor set and $x\in C$.  Then there exists unique $x_k\in \{0,2\}$ such that $x=\sum_{k\in \mathbb N}\frac{x_k}{3^k}$. Conversely every $x$ with this representation lies in C.  If $C$ would be countable then there would exists a injective map $f:C\rightarrow \mathbb N$.  Let $f^{-1}(i)=\sum_{k\in \mathbb N}\frac{x_{ik}}{3^k}$ or $f^{-1}(i)=\emptyset$.  Set $z_k=2-x_{i_k}$, then z=$\sum_{k\in \mathbb N}\frac{z_k}{3^k}$  Then $z$ is in the cantor set but z isn't in the pre-image of $f$.  Questions:   Shouldn't it be $z_k=2-x_k$? I understand that z lies in C but why it is not in the pre image of f?   Thanks in advance


How to choose between learning algorithms

I need to implement a program that will classify records into 2 categories (true/false) based on some training data, and I was wondering at which algorithm/methodology I should be looking at. There seem to be a lot of them to choose from -- Artificial Neural Network, Genetic Algorithm, Machine Learning, Bayesian Optimization etc. etc., and I wasn't sure where to start. So, my questions is:  How should I choose a learning algorithm I should use for my problem?  If this helps, here is the problem I need to solve.    The training data: The training data consists of many rows like this:    Precursor1, Precursor2, Boolean (true/false)   The run I will be given a bunch of precursors. Then,     I choose an algorithm A from different algorithms (or dynamically generate an algorithm), and apply it on every possible combinations of these precursors and collect the "record"s  that are emitted. The "record" consists of several key-value pairs*. I apply some awesome algorithm and classify these records in to 2 categories (true/false). I will generate a table that has the same format as the train data: Precursor1, Precursor2, Boolean   And the whole program is scored based on how many true/false I got right.  *:"Record"s will look like this (hope this makes sense)  Record         [1...*] Score -Precursor1             -Key -Precursor2             -Value   There are only a finite number of possible Keys. Records contain different subset of these keys (some records have key1, key2, key3... other records have key3, key4... etc.).  I actually need 2 learning. One is for step 1. I need to have a module that looks at the Precursor pairs etc. and decide what algorithm to apply in order to emit a record for the comparison. Another is for step 2. I need a module that analyzes the collection of records and categorize them into the 2 categories (true/false).    Thank you in advance!


Compute average velocity of a particle over a given time interval

I am really stuck with my math problem, would appreciate the answer below.     A particle moves on a line away from its initial position so that after $t$ hours it is $s = 4t^2 + t$ miles from its initial position. Find the average velocity of the particle over the interval $[1, 4]$. Include units in your answer.


look at symbol in the first line  as you seen that symbol I think it's mu symbol how I can't show this symbol using latex


Why does string EndsWith and StartsWith equals true with string.Empty in c# and explain the reason behind this, why it is this way.  string str = "string"; Console.WriteLine(str.EndsWith(string.Empty));   // returns true... why? Console.WriteLine(str.StartsWith(string.Empty)); // returns true... why?


Summation inductional proof: $\frac{1}{1^2}+\frac{1}{2^2}+\frac{1}{3^2}+\ldots+\frac{1}{n^2}<2$

Having the following inequality  $$\frac{1}{1^2}+\frac{1}{2^2}+\frac{1}{3^2}+\ldots+\frac{1}{n^2}<2$$ To prove it for all natural numbers is it enough to show that:  $\frac{1}{(n+1)^2}-\frac{1}{n^2} <2$  or  $\frac{1}{(n+1)^2}<2-\frac{1}{n^2} $


Why do I get nullPointerException with this code?

I have an activity and am getting a nullPointerException on the last line of the clicked method  public class MainActivity extends AppCompatActivity {  List<Item> it;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);        }      public void clicked(View view) {                   getCompany(s);         Integer.toString(it.size());       }      public void getCompany(String name) {          apiCall.setCallback(new ApiCall.NetworkCallback() {             @Override             public void onResponse(List<Item> items) {                  it = items;                 for (int i = 0; i < items.size(); i++) {                         Log.d("Name", it.get(i).getTitle());                 }             }         });     }   I have removed some of the code to keep it short but the issue is the 'it' list is accessible in the onResponse method but gives a nullPointerException in the clicked method.   What would be causing this and how can I store the list to be used outside of the onResponse method?


Hi I already tried all solution from , and used PostLogin option of GDM.... The problem is all of these option are only works when system boots up but it's not what I Ask.  I want an script execute everytime user unlocking his/her account after awakening from suspension.  I Already used systemd and udev but they are not the solution because   My script have depend on X so I have to be sure that X is already started The script should run as the user that login not root.   I use GDM 3.20 on Arch Linux    I dont realy care if the script runs before login (for example script run for all avalible user)


I am trying to move a file into a folder in Ubuntu using a terminal. But I have no idea how to do this. Any Suggestions?


Invalid signature from repo.skype.com: how can I clear this?

Today I did sudo apt upgrade and then, as a double-check, did sudo apt update.  The latter terminated with: Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease                                        Get:6 https://repo.skype.com/deb stable InRelease [4,502 B]                                         Err:6 https://repo.skype.com/deb stable InRelease   The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com> Fetched 4,502 B in 5s (894 B/s) Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com> W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com> W: Some index files failed to download. They have been ignored, or old ones used instead.  In an attempt to clear this problem, I called sudo apt remove skypeforlinux and then did another sudo apt update.  The update again terminated with the message about the invalid signature. How can I clear up this invalid signature problem? $ uname -mrs Linux 5.4.0-77-generic x86_64 $ lsb_release -d Description:    Ubuntu 20.04.2 LTS


I haven't found a documentation for it. I love the look of it but I'm afraid 2GB or ram wouldn't be enough!


Is it impossible to delete/move a file named "␀" on mac?

When I try to move, rename, or delete a file named ␀in Finder, I get this error message:     The operation can't be completed, because an unexpected error occured (error code -50).   With mv, rm or find -delete in Terminal   rm: /Library/␀: Invalid argument  mv: rename /Library/␀ to /tmp/␀: Invalid argument  find: -delete: unlink(/Library/␀): Invalid argument   Can I move or delete this file in Mac OS X or do I have to use another operating system?  I even tried creating a file with this name in /tmp and it has not gone away since 8 reboots.


I could not find this specific issue on Google. After I updated from Ubuntu 15.04 to 16.04 LTS, next to xfce4 and unity not working correctly, also the icons from the Breeze icon theme are behaving in an unexpected manner. I have tried to reconfigure and reinstall these packages, however the problem remains.    Icons such as the Firefox icon are missing Instead of the blue folder icon I am seeing a simple flat white icon, this happens as well for icons of files with extensions of images, text, jars, etc.   .  Thanks for your help.


Can we apply analyticity of a neural network to improve upon gradient descent?

Gradient descent uses the first order derivative information of the objective function as a function of the parameters. Gradient descent therefore uses only “local” information about the objective function to adapt the neural network parameters.   However, we know that Taylor expansions can be used to give a precise equation between a function and a power series of its $n$-order derivatives at a single point.   So shouldn’t it be theoretically possible to use the local information in a single batch of datapoints point to make a global estimate of the form of the objective function as a function of the parameters?   I am not saying of course that this inference somehow give us certainty about the optimal parameters, but shouldn’t we be able to at least use the information of second, third, ...., $n$’th order derivatives to more efficiently descend to a good parameter vector?


Short story in which simulated beings wreak havoc in the real world

Earlier this year I read a short story or novella in which some corporation produced a minuscule supercomputer-on-a-chip, which was subsequently used to create a simulation. The simulated beings were given a nanofabrication facility with which to experiment, and wound up everting themselves into the real world in some fashion, causing massive destruction.  It felt like it was written in the '90's, but obviously I'm so fuzzy on the details that I can't even turn it up in a Google search. Could have been more recent.


I recently encountered a symbol $\wp$, and its meaning confuses me. For example, while $\forall$, $\angle$ have a definite meaning in mathematics, so what does the symbol $\wp$ mean?


Windows Evaluation -> Full version- do I have to rebuild the OS?

I have been using a evaluation version of Sever 2012 Standard for the last few months and want to now buy the retail version.  Is there a way to retain the same copy of Windows, but turn it into a Retail version without having to reinstall Windows? I've read before that it's not as easy as it sounds, and I have tried it once before but it wouldn't accept the key (same version and all).  If I have to build a new VM with the licensed copy of Windows, what is the easiest way to copy AD over? Create AD as a domain controller and then run dcpromo on the old machine?  Any advice appreciated!


Is super su and twrp rom specific or phone specific or not specific at all?

Whenever I follow a root guide, I see a link to super su and twrp files. Is this super su and twrp file the same file for all phones or is there a different super su for each phone? Also, if it exists for each phone, is it rom specific? Do I need a seperate super su file for cm 13 and stock rom on the same phone?


In the C++ book I am reading. It gives the syntax for initialisation as  int *pInteger = NULL;   However it also showed the following as an example  int Age = 30;  int* pInteger = &Age;   Why is there a discrepancy? i.e. * after the int and * before the pInteger. Is the following correct?  int Age = 30;  int *pInteger = &Age;


Shell script example to stop execution of all processes with a certain UID?

I can't seem to find any examples on the internet for this particular task.


This post uses this math equation    How to write the latex for the L^2 on an arrow?


Are overlapping dissertations ethically acceptable?

Would it be ethical for students working on the same team to include in their Ph.D. theses results arising from joint publications, ending up in different dissertations containing almost identical chapters?   Of course, the students should at least mention that the common chapters are excerpted from a joint publication. However, wouldn't a significant overlap at least indicate that the students have been unable to come up with enough strong and coherent results to make their own independent dissertations?


Making virtual raster with average values

I'm working with many raster files. Is there a way to make virtual raster with average values in each pixel. (QGIS)  It's for an NDVI index of summer months over 5 years.


Anova repeated measures is significant, but all the multiple comparisons with Bonferroni correction are not?

I counducted a mixed model ANOVA with time as the within subjects variable (3 levels) and group as the between subjects variable (2 levels). All is significant (time, group, and timeXgroup). To test if differences over the three times are significant in both groups, I conducted two separate repeated measures ANOVAs, one for each group, with time (3 levels) as the withing subjects variable.  I have a problem with the control group, because ANOVA for this group is slightly significant (p = 0.044) but the multiple comparisons with Bonferroni correction are all not significant... Indeed, in the graph I can see that the differences across time are not very big. However I don't know how to explain this result... Can you help me?    Edit: I try to explain myself better so maybe you can understand my situation. These are the descriptive statistics:  Control group (N=10)  Mean (SD) 1st measure 2.40 (1.36) 2nd measure 2.87 (1.57) 3rd measure 2.55 (1.48)    Experimental group (N=10)  Mean (SD) 1st measure 3.04 (1.14) 2nd measure 6.71 (3.52) 3rd measure 4.64 (1.76)  As you can see the control group has a small change over time, the experimental group instead has a big change. I ran the mixed 2x3 ANOVA to see if the two groups were significantly different and if there was an interaction. Since all was significant, I wanted to see if both group differ significantly over time or only the experimental group. Thank you!


Do We Know Which People are Moderators in Stack Exchange?

I am just curious to know if there is a way for regular users to know who the moderators are in their community of interest (let's say, Stack Overflow). Can the moderators be accessed? (maybe via chat feature of Stack Exchange?)


Having better control on captions in two languages under each image

I need to insert two captions (in polish and exactly the same translated into english) under each of the figures and above each of the tables in my document.  Once captions were defined I would like to have control whether only one or both captions will be displayed in the whole document through boolean variable.  What is the most elegant / smart way to do that?    EDIT  According to suggestions in comments, I used bicaption to define two captions.  \usepackage{polski}  \usepackage[english, polish]{babel}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usepackage[lang=english]{bicaption}  \begin{figure}[H]     \includegraphics[width=0.5\textwidth]{Einrad}      \bicaption{Polish caption here with special letters: ĄĆŹŚÓŁ}{English caption just below}      \label{Fig:FIgBicycle} \end{figure}   However, I don't like:   that I needed to use babel to have properly labelled captions ("Rysunek" for polish and "Figure" for english), because in my document I'm already using many packages and I wish to avoid potential conflicts, the big space between two captions, that I can't see an option to control whether only the first, second or both captions were displayed     EDIT 2  Minimal Working Example:  %\documentclass[review,authoryear]{elsarticle} \documentclass[oneside,12pt]{mwbk}  \usepackage{polski}  \usepackage[english, polish]{babel}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usepackage[lang=english]{bicaption}  \usepackage{graphicx,float,multirow} \graphicspath{ {figures/} }  \usepackage[caption = false]{subfig} \usepackage{lineno,hyperref,amsmath} \usepackage[normalem]{ulem}  \linespread{2}  \begin{document}  \linenumbers  \section{Some text}  \subsection{Some subsection}  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate nisi dolor, vitae eleifend sem vehicula a. Nulla libero mi, scelerisque et dapibus at.  \begin{figure}[H]     \includegraphics[width=0.5\textwidth]{Einrad}      \bicaption{Polish caption here with special letters: ĄĆŹŚÓŁ}{English caption just below}      \label{Fig:FIgBicycle} \end{figure}   \begin{table}[H]     \centering     \bicaption{Polish caption here with special letters: ĄĆŹŚÓŁ}{English caption just below}     \label{my-label}     \begin{tabular}{|l|l|}         \hline         1st col   & 2nd col \\ \hline         some text & ---     \\ \hline     \end{tabular} \end{table}   \end{document}


The sum of the first $n$ squares is a square: a system of two Pell-type-equations

This question comes from trying to see why 24 is the only non-trivial value of $n$ for which $$1^2+2^2+3^2+\cdots+n^2$$ is a perfect square. To this end, let $m,n \in \mathbb N$ be such that $1^2+2^2+3^2+\cdots+n^2 = m^2$, or $$n(n+1)(2n+1) = 6m^2.$$ When $n=24$ the left hand side is $24\times 25 \times 49$ and there are two things that make it work as a solution: $$7^2+1=2\times5^2$$ $$7^2-1=12\times2^2.$$ We can write these algebraically as $$x^2=2y^2-1$$ $$x^2=12z^2+1$$ and solve them simultaneously (with $x,y,z\in \mathbb N$).    These are instances of Pell's equation and each individually has an infinite number of solutions. How do we show there is only one (non-trivial) value of $x$ that is common to the solutions of both equations?


Ok guys, here comes a really tough one, so I don't need an expert, but a superhero. I need to customize my idem/ibidem to match these possibilities:   Same bibentry, same page -> Ibid. [without printing the page number] Same bibentry, different page -> Ivi, pagenumber Same author, different work -> ID. and what follows   I almost got there, but the footnote 2 of my MWE should be: 2. Ibid.  Perhaps I should introduce a new command which basically is: if there is an ibidem with the same page cited, print Ibid. and kill the pagenumber. The problem is that I have no idea about how to explain it to mr. LaTeX.  I'd appreciate very much any help on this hell issue  MWE:  % !TEX TS-program = XeLaTeX % !TEX encoding = UTF-8 Unicode  \begin{filecontents}{archivio.bib}  @article{Ben:Mat,     Author = {Lise {Bender Jørgensen}},     Journal = {Antiquité Tardive},     Pages = {87-99},     Title = {A Matter of Material: Changes in Textiles from Roman Sites in Egypt's Eastern Desert},     Volume = {11},     Year = {2004}}  @book{Jor:For,     Address = {København},     Author = {Lise {Bender Jørgensen}},     Publisher = {Nordiske Fortidsminder},     Title = {Forhistoriske textiler i Skandinavien},     Year = {1986}}  \end{filecontents}  \documentclass[11pt, openany]{book} \usepackage{polyglossia} \setmainlanguage[babelshorthands=true]{italian} \setotherlanguages{latin, english, french}  %%% bibliografia \usepackage[babel,italian=guillemets]{csquotes} \usepackage{xpatch}      \usepackage[    style=verbose-trad2,                         language=italian,             useprefix=true,                              firstinits=true,                 citepages=omit,                              backend=biber,           ]{biblatex}   \DefineBibliographyStrings{italian}{%                           Customizza Idem   idem   = {\textsc{id}},   ibidem = {Ivi}, }  %Idem appears on the second occurrence of the author name \xpatchbibmacro{author}{\printnames{author}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{author}}}{\printnames{author}}}{}{} \xpatchbibmacro{editor}{\printnames{editor}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{editor}}}{\printnames{editor}}}{}{} \xpatchbibmacro{translator}{\printnames{translator}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{translator}}}{\printnames{translator}}}{}{}   \addbibresource{archivio.bib} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  \begin{document}  First citation\footcite[88]{Ben:Mat}\\ I'citing the same page I need an \textit{ibidem}\footcite[88]{Ben:Mat} and no page number printed \\ Now I'm citing a different page, so I need \textit{Ivi}\footcite[87]{Ben:Mat}. \\ Here I'm citing just the same author, and I'd need \textsc{id.}\footcite{Jor:For}  \printbibliography  \end{document}


Why does the comb attract the pieces of papers if they're neutral?

When we rub our hairs with a comb, and then try to attract small pieces of paper, they're attracted by the comb. The pieces of the paper were not electrified before they were attracted. Then they might be neutral. Why does the comb attract the pieces of the paper if they're neutral, and have no influence of a specific charge on them (Pieces of paper).


Prove that any conjugate of $a$ has the same order as $a$.

I am trying to prove that any conjugate of $a$ has the same order as $a$.  Let $G$ be a group and let $a \in G$.  An element $b \in G$ is called a conjugate of $a$ if $b=xax^{-1}$.  My professor gave us a hint.  Prove $a^k=e$ iff $b^k=e$ for all $k \in \mathbb{Z}$ implies $o(a) = o(b)$.  My first move is to $b^k = (xax^{-1})^k = (x^{-1})^ka^kx^k = (x^{-1})^kex^k = (x^{-1})^kx^k=x^{-k+k}=x^0$  I am not sure that I am doing this correctly?  I am trying to get $b^k=e$.  However when I raise $(xax^{-1})^k$, I am not sure if I what I have done is correct?  I am kind of confused here.


What is the best way to deal with NPC-NPC combat?

I'm about to run a premade adventure, and reading through it I see a potential situation where one group of monsters could, though PC actions, end up fighting each other.   As a PC, I hate seeing my DM, for lack of better words, play with himself. NPC vs. NPC combats played out blow-for-blow in initiative order, while the party fights other foes or just ends up watching.  Is there a tried and tested better way of doing this?    I want the PCs to be able to take advantage of the situation, but ideally not track HP and roll damage round for round if they decide to sit and wait.   If it's a full "background battle" then I'd assume the highest CR group wins, with losses.  But if this is not the case - both enemy groups are hostile to the party and each other - how do I resolve the NPC-NPC combats quickly and cleanly so my players aren't bored waiting for the results?


How to remove 'file ownership' in explorer, win 10

I want to remove 'File ownership' from every folder in the red circle, so I uncheck it, but it appears again when I reopen explorer.


n points can be equidistant from each other only in dimensions $\ge n-1$?

2 points are from equal distance to each other in dimensions 1,2,3,...  3 points can be equidistant from each other in 2,3,... dimensions   4 points can be equidistant from each other only in dimensions 3,4,...  What is the property of number dimensions that relates the number of points that can be equidistant to all other points?


What do the trolls look like in The Hobbit?

In the book The Hobbit, Tolkien never says what the trolls look like. So by the way they talk and what is said about them, what do they look like?


Why are pictures dark with "low" ISO on my canon 6d?

I have camera canon eos6D, and I have problem with ISO. When I`m shooting in daylight, or light indoor places, my camera always chooses to have auto ISO over 500, sometimes even over 1000. When I was shooting outdoors in the evening, ISO level was over 2000, even 5000. When I set it lower, not auto, pictures are very dark. Is there something wrong with my camera? Before 6D I had canon 1200D and there were no problems to shooth with low ISO (about 100) outdoors.


Punctuation question: for the first time

I am unsure how to punctuate the following sentence correctly. I want to stress that previous algorithms have not taken into account environmental conditions.   We present an algorithm that, for the first time, considers enviromental conditions. We present an algorithm that - for the first time - considers enviromental conditions. We present an algorithm that considers enviromental conditions for the first time.


HistTimeFormat error showing message when opening terminal

In order to record date and time for each command in history I set HISTTIMEFORMAT="%d/%m/%y %T"  And in order for this setting to remain after I log out or close the terminal I added to the .bashrc echo "HISTTIMEFORMAT="%d/%m/%y %T"" >> .bashrc  I tested and it shows the time for commands in history,for those I used after I wrote the 2 commands above.Problem is after I open the terminal it gives me a message saying: bash:fg:no job control  HISTTIMEFORMAT = "%d/%m/%y %T"  bash:fg:no job control    HISTTIMEFORMAT = "%d/%m/%y %T"  bash:fg:no job control  I checked the history and it doesn't show me the date for the past commands anymore as it was supposed to do after I added to the bashrc file. I repeated the commands for the time format and each time it doesn't save and I think the more I add the command to the bashrc file the more that message is being expanded with that no job control thing. Is there any way to fix this/reset the format? There is no whitespace around = and each time I insert that var to the file the more statements of no job control shows after I open the terminal even though it shows time during the session.It's like the var gets broken when exiting. The end of the bashrc file is this: # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if ! shopt -oq posix; then   if [ -f /usr/share/bash-completion/bash_completion ]; then     . /usr/share/bash-completion/bash_completion   elif [ -f /etc/bash_completion ]; then     . /etc/bash_completion   fi fi HISTTIMEFORMAT=%d/%m/%y %T