Does Sentinel work against creatures who can avoid Opportunity Attacks?

Sentinel states:     Creatures within 5 feet of you provoke opportunity attacks from you even if they take the Disengage action before leaving your reach.   Does this mean any creature at any time leaving your reach provokes an opportunity attack (including if they take Disengage?) If so, then abilities like the following would still trigger an Opportunity Attack:   Flyby Swashbuckler Rogue's Fancy Footwork (SCAG, 135)     During your turn , if you make a melee attack against a creature, that creature can't make opportunity attacks against you for the rest of your turn.  Mobile Feat (PHB, Chapter 5)     When you make a melee attack against a creature, you don't provoke opportunity attacks from that creature for the rest of the turn, whether you hit or not.    There may be others, but the crux of the question is if Sentinel guarantees an OA.


try+gerund/infinitive (Difference in meaning)

I tried to open the door. I tried opening the door   We can use both infinitive and gerund with verb "try" as used in above sentences. Does it change the meaning of the  sentence if use gerund or infinitive?.(here i don't know if the meaning of sentences is changed.)     The same confusion arise in these two sentences.  1.I stopped seeing him. 2. I stopped to see him.(But in case of these two sentence i know the meaning is changed but don't know exactly what the change is).


Ubuntu / Apache2: I cannot open port 443

I am trying to install a SSL certificat on my Ubuntu 14 server (using apache 2). For some reason the port 443 appears to be closed   I installed and enable ssl   /etc/apache2/ports.conf is as followed:  Listen 80  #<IfModule ssl_module> #       Listen 443 #</IfModule>  <IfModule mod_ssl.c>     Listen 443     NameVirtualHost 11.11.11.11:443 </IfModule>  <IfModule mod_gnutls.c>         Listen 443 </IfModule>   LISTEN   root@server01:/home/admin# netstat -ntlp | grep LISTEN tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      1317/amavisd-new (m tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1184/mysqld      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1116/sshd        tcp6       0      0 :::80                   :::*                    LISTEN      2037/apache2     tcp6       0      0 :::22                   :::*                    LISTEN      1116/sshd        tcp6       0      0 :::443                  :::*                    LISTEN      2037/apache2    UFW  root@server01:/home/admin# ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip  To                         Action      From --                         ------      ---- 22                         ALLOW IN    Anywhere 22/tcp                     ALLOW IN    Anywhere 80/tcp                     ALLOW IN    Anywhere 21/tcp                     ALLOW IN    Anywhere 443/tcp                    ALLOW IN    Anywhere 22 (v6)                    ALLOW IN    Anywhere (v6) 22/tcp (v6)                ALLOW IN    Anywhere (v6) 80/tcp (v6)                ALLOW IN    Anywhere (v6) 21/tcp (v6)                ALLOW IN    Anywhere (v6) 443/tcp (v6)               ALLOW IN    Anywhere (v6)   Am I missing something? Any help would be highly appreciated.  EDIT  here my exemple.net-ssl.conf  <VirtualHost *:443>          ServerName exemple.net         ServerAlias www.exemple.net         DocumentRoot /var/www/exemple.net/         CustomLog /var/log/apache2/secure_access.log combined          SSLEngine on         SSLCertificateFile /etc/ssl/certs/exemple.net.crt         SSLCertificateKeyFile /etc/ssl/private/exemple.net.key         SSLCertificateChainFile /etc/ssl/certs/GandiXXXSSLCA.pem         # SSLVerifyClient None    </VirtualHost>


Why does Google Drive think I'm using so much space?

When I click on the little blue i to view my quota there is no way there's 7GB worth of used space. There's not a ton of revisions. All my photos take up zero space because I bought a Pixel XL. All my docs are Google Docs not Word Docs so they don't take up any space. The biggest files I have are a few PDFs which are manuals for my dishwasher or clothes dryer. They start at 8MB and get smaller.    That's the top of my quota list. How can I find the problem files? If it's a mistake, how can I request Google to reindex my GDrive and fix the limit?


removing accent in letter in python, works in idle shell but not when in file in Visual Studio?

When i run unidecode.unidecode("32 rue d'Athènes Paris France") in the python idle shell it works, but when i run a script using exec(open(scriptnam).read()) in the idle shell with the following code it doesn't?  import unidecode  print(unidecode.unidecode("32 rue d'Athènes Paris France"))   i get:  32 rue d'AthA"nes Paris France


Rudin Remark 4.12: mappings of metric spaces

I am trying to understand Rudin's remark 4.12 on pages 88-89. What Rudin says is that, though we can talk about continuity of $f$ on $E \subset X$, the complement $E^c \subset X$ plays no role, unlike in the limit definition. I'm not able to understand exactly why this is, other than that we restricted ourselves in the case of limits to letting $x \to p $ for a limit point $p$. I'm assuming the continuity definition is "vacuously true" for $x \in E^c$, but I'm not totally sure. Could someone shed some light on this?


I have purchase new laptop from Dell with ubuntu 12.04 preinstalled. while connecting to Ubuntu One following occurs and I am not able to sync with Ubuntu One.   WebClientErr u'Error downloading https://one.ubuntu.com/api/account/ - server replied:Not       Found' u'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n \n<title>404 Not Found</title>\n\n
 Not Found
\n
The requested URL /api/account/ was not found on this server.
\n
\n<address>Apache/2.2.22 (Ubuntu) Server at one.ubuntu.com Port 443 </address>\n\n'


Are IP addresses with and without leading zeroes the same?

I have a security system and the network setting only allows a three-digit IP address. I can't set it to 192.168.2.100, instead I have to use 192.168.002.100.  Are these two IP addresses different? Do I need to set my router's LAN to be all 192.168.xxx.xxx in order for this to work correctly? I can't find any solid information about this.


Postgres JDBC connection in Eclipse Help

I'm trying to get a postgres jdbc connection working in eclipse. It would be nice to use the Data Source Explorer, but for now I'm just trying to get a basic connection. What I have done so far is download the postgres JDBC connector. I then tried two different things. First, Preferences-> Data Management, I tried to add the postgres connector. Second, I added the jar to my project and tried to load the driver using Class.forName("org.postgresql.Driver"); but neither worked. Does anyone have any ideas?  Thanks,    Charlie


Is there any link, info or documentation how should be every entry in the \bibitem mentioned? For example  \bibitem{Misiak} A. Misiak. \ \textit{$n$-inner product spaces.} Math.Nachr. {\bf 140} (1989), 299--319.  \bibitem{WKG} R.A. Wibawa-Kusumah and H. Gunawan. \textit{Two equivalent $n$-norms on the space of $p$-summable sequences}. To appear in {\it Period. Math. Hungar}.  \bibitem{ksw} P. Kostyrko, T. \v{S}al\'{a}t and W. Wilczy\'nski, $\mathcal{I}$-convergence, \emph{Real Anal. Exchange} \textbf{26(2)} (2000-2001), 669--686.   This bibitems can contains many entries (author, authortype, editor, editortype, editorX, editorXtype, holder, bookauthor ...). From this three examples I can extract without problem maybe numeric parts and assume they belong to pages or section entry. But when I found many different methods of storing info about for example: authors, I'm quite undecided how should I write bibliography cutter to entries efficiently:  jean de la fontaine Jean de la fontaine Jean {de} la fontaine jean {de} {la} fontaine Jean {de} {la} fontaine Jean De La Fontaine jean De la Fontaine Jean de La Fontaine   This is the case when \bibitem contains only one author, but there is also cases that it could contains even more. How could I logical extract bibliography entries? Is there anywhere complex structure mentioned?


Does a spell with a duration of one round end at the beginning or the end of my next turn?

Some spells are mostly beneficial to the rest of the party. My question is to figure out whether or not the caster benefits from this as well.   Take for example the first level spell Color Spray, which has a casting time of one action and a duration of one round:     A dazzling array of flashing, colored light springs from your hand.    Roll 6d10, the total is how many hit points of creatures this spell can effect. Creatures in a 15-foot cone originating from you are affected in ascending order of their current hit points (ignoring unconscious creatures and creatures that can’t see).       Starting with the creature that has the lowest current hit points, each creature affected by this spell is blinded until the spell ends. Subtract each creature’s hit points from the total before moving on to the creature with the next lowest hit points. A creature’s hit points must be equal to or less than the remaining total for the creature to be affected.    Since the spell takes one action to be cast and then has a duration of one round, is it correct to assume that its effects take place at the very end of the caster's turn, thus lasting until the end of its next turn as well?   The way I see it, this means that at the caster's next turn, right before the duration ends, the enemy will still be blinded and he/she gets advantage on an attack as well.  I'd love to hear your opinions/experiences with this.  Note: This is not a duplicate, I found  question on the site as well, but this does not answer my question since in my opinion a barbarian's rage starts instantly, so at the beginning of his turn or at the beginning of his bonus action, right in the middle of a turn, whereas a spell takes a while to cast and -then- starts.


Explain the xkcd jelly bean comic: What makes it funny?

I see that one time out of the twenty total tests they run, $p < 0.05$, so they wrongly assume that during one of the twenty tests, the result is significant ($0.05 = 1/20$).      Title: Significant Hover text: "'So, uh, we did the green study again and got no link. It was probably a--' 'RESEARCH CONFLICTED ON GREEN JELLY BEAN/ACNE LINK; MORE STUDY RECOMMENDED!'"


I recently submitted a paper to the international journal of adaptive control and signal processing Wiley. The statute of the paper is:  STATUTE:  ADM: Not Assigned  Under Review  Can someone tell me what exactly this means?


Why does my harddrive keep spinning down in windows 8.1?

I'm using windows 8.1 with an external hard drive. My external seems to go to sleep very quickly, like in a single minute. I constantly wait 2-3 seconds when accessing files on my external harddrive (where all my important stuff is). I have not had this problem on other OSs with this same external HDD.  I checked my power settings, its supposed to wait 40 minutes before spinning down (on battery and plugged in). This is clearly not happening. What might be the problem here?


Cant install Ubuntu 14.04.1 LTS alongside Win 7

I m trying to install Ubuntu on my hp laptop which he has Win 7. I followed the steps for installing but got some problems now, like I don't have the option to "install-alongside-windows ". Also I have unallocated space for the Ubuntu partition but nothing shows when i go to "Choose Something else".


Splitting a String for use in a UI selection element

I am still learning Java. I have this XML string-array list:  <string-array name="CountryCodes" >  <item>93,AF, Afganistan</item>  <item>355,AL, Albania</item>  <item>213,DZ, Algeria</item> </string-array>   I am using an Arrayadapter to add this array to a spinner like this:  String [] countries = this.getResources().getStringArray(R.array.CountryCodes);           ArrayAdapter<String> adapter =  new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, countries);         adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);           mCountries.setAdapter(adapter);   This works just fine, no problems with the XML, but what I really want to do is to display only the country in the spinner and then display the corresponding digits in a separate Edittext .  I know I have to use the split() method to remove the ",". but once I have the individual string element (example "93,AF, Afganistan")   How do I    get just the country name keep the country name in sync with the corresponding digits


How to vertically center an image within a fixed div

I'm trying to vertically center this image within the fixed position divs, but I cannot seem to get it to work. I have read other questions and the answers I've found don't work with a fixed position like I need. What am I missing? Thanks!  JSFiddle:

    #container {     background-color: black;     z-index: 0;     position: fixed;     left: 0;     right: 0;     top: 0;     bottom: 0;     width: 100%;     height: 100%; }  #logocontainer {     position: fixed;     margin: 0 auto;     z-index: 1;     left: 0;     right: 0;     top: 0;     bottom: 0;     width: 50%;     height: 100%;     display: inline-block;     vertical-align: middle;     align-items: center;     justify-content: center;     text-align: center; }  #logocontainer img {     width: 100%; }


so i am proposing to conduct a study on indirect contact as an intervention for stigma reduction in a police population.  My IV is the intervention with two levels (intervention group and control group) and my DV's are a attitudinal measure, intergroup anger and a behavioural measure.  I will be conducting a pre - post - follow up test and I am planning to use a repeated measures ANOVA and an ANCOVA so I can measure covariates such as (years in duty, previous contact etc). I am struggling to get this straight in my head as I confused if I can use covariates as a measure of moderator effects? Also slightly confused how I would introduce the covariates within the proposal?   Any help or guidance would be greatly appreciated


What can I do, dpkg file has deleted? Output: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)


How to make sense of having one's passive Perception better than the active one? (e.g. when one takes the Observant feat)

Doesn't the Observant feat make you see more, when you're not actually looking? Or if you'd like me to rephrase that: doesn't it make you notice more, where you're not actively trying to notice anything?  I've browsed through every possible answer to questions about the Observant feat and how the passive checks work on this site and others, but it still boils down to me to this simple question.  Unless there's a rule somewhere (and I haven't seen such in the PHB) that requires a DM to consistently apply lower DCs for active checks, it really seems to work like stated above and thus doesn't make much sense.  I wonder why they didn't make it an automatic advantage for the selected checks (be them passive or active) rather than giving a bonus (incidently equal to an advantage) to the passive ones only. Wouldn't then such a change make for a good house rule concerning the Observant feat?


Good morning everyone, I have a problem using the command  $$\mathbf{u} = \begin{Bmatrix} u_i & v_i & w_i & \theta_i & \phi_i & \psi_i & u_j & v_j & w_j & \theta_j & \phi_j  & \psi_j \end{Bmatrix}^T$$   In particular, in the compilation output, the vector becomes a matrix with two rows: \phi_j  and \psi_j change line and form an other row. Can someone help me?


How to install .NET framework v4.0.30319 on wine?

I wanted to install osu!, but it doesn't work when you go on PlayOnLinux (error message and nothing happens).  Then, I followed .  As the video showed (at 2:44,) I clicked on Run a .exe file in this virtual drive then I clicked on osu!install.exe and then I get this message:    Can you tell me how to install this?


I was solving a true or false question regarding total mechanical energy and the following was the problem.     It is possible for a moving object to have negative total mechanical energy.   This is my claim.  Total mechanical energy is defined as   $$M=K+U$$  where $K=\frac{1}{2}mv^2$ and $U=mgh$.  No matter which direction the object is moving $K$ must be positive due to the $v^2$. (I am assuming that mass is also never negative.)  Potential energy is also positive because $g=9.8$ and height is a distance, which is also non-negative.  And yet, the problems says that the answer is true, as in the total mechanical energy is allowed to be negative.  What am I not seeing here ?


Why the OLS parameters of a linear regression are correlated?

I found that in a simple regression model y=β0+β1x+ε, the parameters β0 and β1 are negatively correlated. Is there a explanation for this correlation? I found this property , but I would like to know how is that both parameters are correlated. Thanks


Extracting Windows 8 Start Screen Patterns

Is there any way to extract the Windows 8 Start Screen patterns, in order to use them as standalone wallpapers on other systems?  For example see this screenshot:    I am interested in the dark blue background. I heard that this background is somehow adapted to your chosen color theme. So many different variations should exist.  Engadget has an article  briefly talking about these background patterns and the different color schemes. They call them "personalization tattoos".    Update:    I found the following page/guide:   This looks a very good way to achieve my goal. Unfortunately the guide seems to be dated.  I tried to find shsxs.dll on the RTM of Windows 8 without much luck. It looks like Microsoft changed the way they handle the background image. The file is nowhere to be found...  I also looked into uxtheme.dll, but it doesn't contain any interesting images.  Any new ideas? Any other *.dll with might be of interest here?


The Existence of the $^1D$ term and the non-existence of the $^3D$ term?

Yesterday I asked this  concerning the existence of terms. This question is on the same topic. I have been looking at some tables (in Yang and Hamilton (2010), pg 199) at the terms that exist for two electrons in the same configuration. I noticed that for example if the state $^1S$ exists the state $^3S$ would not and vice versa. Is this a general rule? I.e. can we say:     For two electrons in the configuration $nl^2$ if the term $^1L$ exists then the term $^3L$ will not and vice versa.   If so can it be proved easily and if not why not?


I made a server and me and one of my friends want to do a prank on another friend, because he stole all my enchanted diamond armor.  The Prank  I want to set a player's spawn point in a pit of lava, how would I do this without affecting anyone else's spawn point?


How to call an arrow function that hasn't still be declarated

I have this in my code: const [dimensions, setDimensions] = useState(getDimensions())  const getDimensions = () => {    // stuff }  The function hasn't be declarated when I call it, so I get an error. But, if I declare it as a traditional function no error is going on. const [dimensions, setDimensions] = useState(getDimensions())  function getDimensions() {    // stuff }  Is there any way to do this with an arrow function?


How to transfer a few text messages from one phone to another

I had a Samsung Galaxy S3 which I used for some time.  After getting a Galaxy S7, I transferred all my text messages and other stuff to the new phone using Smart Switch.  However, last week I had to use the old phone again, and now I am wondering if there are any easy way to transfer the messages I send/received during that week to my new phone?  Possibly, if there is a way of transferring the messages one at a time (by Bluetooth or something) this would also be helpful, as it is not a large amount messages.  I tried to do it with Smart Switch, hoping it could somehow merge the messages from the two phones, but it would not sync messages.  Maybe because the new phone already had a lot.  Searching the internet I seemed only to find solutions for transferring everything from one phone to a new phone.


How to pass parameter(s) to a Python script via the command line and also render in the same command?

I am trying to render a scene where I run a script with given parameters and then render the animation by passing parameters to the blender executable through the command line.  Given the following example for the command passed:  blender <file_path> -P <python_script> -- <input_parameters> --frame-start <num> --frame-end <num> -a   When executed it does not render and I presume it treats what ever is after the '--' as parameters for the python script. I am aware that I can pass these parameters and use the Blender API in the python script to render the scene with these parameters but for my case this does not suit.


Prove $\binom km\binom tk=\binom tm\binom{t-m}{t-k}$

$$\binom km\binom tk=\binom tm\binom{t-m}{t-k}\\m\le k\le t$$ I'm not sure where to start. Combinatorics has confused me, as there doesn't seem to be a place in the textbook to read about it, and the solutions have been far too difficult to think about. Is there a strategy to this?


Python not dealing with small numbers correctly

I am trying to make a python script but cant get it to work right. I am dealing with very small numbers and python doesn't seem to like it. Here is my script:  x = 0 while x < 3:     x += .0001     if x == 2.5:         print "X is now: ", x         break     else:         print x   When I run it in PyCharm I get this output (I've shortened it so you don't have to scroll through a bunch of numbers.)  2.4988 2.4989 2.499 2.4991 2.4992 2.4993 2.4994 2.4995 2.4996 2.4997 2.4998 2.4999 2.5 2.5001 2.5002 2.5003 2.5004 2.5005 2.5006 2.5007 2.5008 2.5009 2.501   Pycharm is acting as if my "if" statement doesn't exist. It skips right over the number 2.5 without running  if x == 2.5:     print "X is now: ", x     break   I figured it's something to do with the way my computer is running those numbers and the 2.5 i'm seeing is really 2.5000001 or something but I don't know. I've tried putting the numbers into scientific notation hoping it would help but instead I get the error "Too much output to process"  I'm fairly new to python and am starting to get annoyed by this. Any and all help it appreciated. Thanks.


Why $\langle 1,0\rangle$ is a limit point of the subset $x\times 0$ fo the ordered square?

This is a question following . I pictured all the points of:  $$C = \{x\times 0 \mid 0<x<1\}$$  as a subset of the ordered square. (the question asks me to find the closure)  I calculated its limit points, which are $[0,1)\times 1$, andthe points of $C$, which are $(0,1)\times 0$. In order to calculate the closure (which is what the exercise asks, I need to unite the limit points with the set). Brian told me that $\langle 1,0\rangle$ is also a limit point, but I can't see why:  Look at the image below:   If I take an open set around $\langle 1,0\rangle$, there's no intersection with $C$, which are the points that lie on the ground, that is, the points on $(0,1)\times 0$


I have some photos I want to put into my iPhone. So I used iTunes when I chosen my folder with photos:    I synced it and they appear in my iPhone. But I can't remove any of them (from iPhone). How can I make them "deletable"? If this is a feature, it is a really stupid feature.


AutoHotKey: How to make my script run only within a specific program?

I have made an AHK script that adds metadata to video clips within Avid Media Composer (video editing software). It does this by entering all the necessary sub-menu's and sends mouse clicks to locations on the screen that make a laborious task easy when needing to do it over and over all day.  However, i want the script to only run within Avid Media Composer and nothing else. There are other storage systems connected to the machine and i wouldn't want the script going into other files/folders accidentally doing who knows what to important data.  I tried using #IfWinActive but i'm not very experienced and not sure why i cant get it to work.  Here's what i need to do:  If 'Avid Media Composer' is the active window, run 'My Code'. If anything other than Avid Media Composer is the active window, Msgbox 'Avid Media Composer must be the active window to run this task'.  -  Window Title, Class and Process  Avid Media Composer Mojo DX  ahk_class Qt5QWindowIcon  ahk_exe AvidMediaComposer.exe   -  My Code:  F3::   {     BlockInput, MouseMove     Hotkey, LButton, DummyLabel, On     Hotkey, RButton, DummyLabel, On     Hotkey, MButton, DummyLabel, On     Sleep, 20     Send, {LAlt}     Sleep, 20     Send, {Right}     Sleep, 200     Send, {Right}     Sleep, 20     Send, {Right}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Right}     Sleep, 20     Send, {Enter}     Sleep, 100     MouseClick, Left, 107, 30     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Down}     Sleep, 20     Send, {Enter}     Sleep, 100     MouseClick, Left, 346, 38     Sleep, 200     Send, ^v     Sleep, 200     Send, {Enter}     Sleep, 200     Send, {Enter}     Sleep, 200     MouseClick, Left, 91, 102     Sleep, 100     MouseClick, Left, 92, 100     Sleep, 100     MouseClick, Left, 143, 154     Sleep, 100     Send, {Down}     BlockInput, MouseMoveoff     Hotkey, LButton, DummyLabel, Off     Hotkey, RButton, DummyLabel, Off     Hotkey, MButton, DummyLabel, Off   } return  DummyLabel: return   What is the correct code for this series of commands to run only within Avid Media Composer itself and nothing else?  Many thanks for any help in advance.


Someone gave me their account and routing number

A friend of mine who is away wants to help me pay off my credit card debit. I don’t want to give my personal info out. He said that until I’m comfortable I can pay it using his account and routing number. Is that possible? How does it work ?


"Table of contents" appearing in the Table of contents

My problem is that the ToC is appearing as a section inside the ToC and I have no idea why since it has never happened in previous documents.    Preamble:  \documentclass[a4paper,11pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{array} \usepackage{multirow, array} \usepackage{amsmath} \usepackage{mathtools} \usepackage{epstopdf} \usepackage{cancel} \usepackage{listings} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{tensor} \usepackage{amscd} \usepackage{xy} \usepackage{psfrag} \usepackage{cite} \usepackage{xcolor} \usepackage{enumerate} \usepackage{calc} \usepackage{graphics} \usepackage{epsfig} \usepackage{miniplot} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{subfigure} \usepackage{rotfloat} \usepackage{mathrsfs} \usepackage{pdfpages} \usepackage{nicefrac} \usepackage{float} \usepackage{booktabs} \usepackage{lscape}  \usepackage[hidelinks]{hyperref} \usepackage{indentfirst} \usepackage{anysize} \papersize{29.7cm}{21cm} \marginsize{4.5cm}{3.0cm}{2cm}{1.5cm} \usepackage[output-decimal-marker={,}]{siunitx} \usepackage{titlesec} \usepackage{subfigure} \usepackage[dotinlabels]{titletoc} \titlelabel{\thetitle.\ } \textwidth=175mm \usepackage{fancyhdr} %%cabeceras \usepackage[square,numbers,comma,sort&compress]{natbib} \usepackage{nomencl}                  \usepackage{ifthen} \renewcommand{\nomgroup}[1]{%     \ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{%      \ifthenelse{\equal{#1}{L}}{\item[\textbf{Latin Symbols}]}{%     \ifthenelse{\equal{#1}{A}}{\item[\textbf{Acronyms}]}{}}}} \makenomenclature \pagestyle{fancy} \usepackage{lipsum} \usepackage{caption} \usepackage{tocbibind} \usepackage[toc,page]{appendix} \captionsetup{labelsep = period} \renewcommand{\figurename}{Fig.} \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} \newcommand{\un}[1]{\;\mathrm{#1}} \renewcommand{\contentsname}{TABLE OF CONTENTS} \renewcommand\listfigurename{LIST OF FIGURES} \numberwithin{equation}{section} \begin{document} \tableofcontents \newpage \listoffigures   Thank you


Can Raise Dead revive a character with zero maximum Hit Points?

So, a character died from Draining Kiss of a succubus and his Max HP is 0. Can he be restored by Raise Dead, or does he need a higher level spell? Or a Greater Restoration cast on his lifeless body before Raise dead? I'm probably interested in RAW interpretation, since the character is in Adventurerer's league.


Closed form of $a_i = \lvert\{\, (e_1, \dotsc, e_r) \in [0, q)^r : e_1 + \dotsb + e_r = i \,\}\rvert $

I encounter a curious sequence $a_i$ which is defined below. I wonder if it has a name and has some closed form.  Let $r, q$ be positive integers. (Assume further that $q$ is a prime power if necessary.) The sequence in question is defined by $$ a_i = \lvert\{\, (e_1, \dotsc, e_r) \in [0, q)^r : e_1 + \dotsb + e_r = i \,\}\rvert \quad (i \geq 0)$$ where $[0, q) = \{0, 1, \dotsc, q - 1\}$.   What I can see is the followings.   $a_0 = a_{r(q - 1)} = 1$ $a_i = \binom{r}{i}$ if $q = 2$  $a_i = 0$ if $i > r(q - 1)$.    (In addition, the identity $\sum_{i = 0}^{r(q - 1)} a_i = q^r$ probably holds judging from the situation I encounter.)


Changing my desktop environment on Ubuntu 18.04

I was wanting to know the proper way to replace the default desktop environment of ubuntu 18.04 with the cinnamon desktop environment, How would I go about installing the cinnamon desktop environment and removing the default one from the system?


Unreal modular character tutorial errors

I'm trying to follow the modular character tutorial for Unreal from this  Specifically the mesh merge portion. How ever the code that is provided seems to not be working. For example when I add this piece of code : USTRUCT(BlueprintType) struct VR_API FSkelMeshMergeSectionMapping_BP {     GENERATED_BODY()         UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Mesh Merge Params")         TArray<type> SectionIDs; };  I get the following error : Unrecognized type 'type' - type must be a UCLASS, USTRUCT or UENUM I;m guessing I should provide a certain type in the <> but I have no idea what it should be. I've been using unreal only for 2 days now so if anyone can help me figure this tutorial out and get it working I would be thankful.


ETA Application "Have you previously applied to enter or remain in Canada"?

I am from Germany and I would like to visit Canada for 3 weeks in August. Therefore I have to apply for an ETA.   One question asks "Have you previously applied to enter or remain in Canada?". I studied in Canada from September 2013 until December 2013 (4 months) but I did not apply for a study permit because it was not necessary as a student from Germany.  Do I have to answer this question with yes or no?


The fraction entry, found in the comment of an answer, doesn't appear correctly in the app

The limits are not different. The first form is just a indeterminate limit of the kind $\frac00$, this mean that you need some manipulation to get the value for this limit.   App Version: 1.5.0.3 Device: iPhone 5 (GSM) OS Version: Version 9.3.2 (Build 13F69)


Why don't you see binary code when you open a binary file with text editor? For example, when I open an image with text editor, I see some weird characters and also some human readable characters; but the image should be encoded in binary.


When talking about atomic mass, how is $E=mc^2$ factored in?

When talking about atomic mass in the periodic table of elements, is this number the mass of the element at rest?  If I understand correctly, the (relativistic) mass of an element will increase as the speed of that element increases, until the (relativistic) mass reaches infinity at the speed of light, right?


When modelling classes, what is the preferred way of initializing:   Constructors, or Factory Methods   And what would be the considerations for using either of them?  In certain situations, I prefer having a factory method which returns null if the object cannot be constructed. This makes the code neat. I can simply check if the returned value is not null before taking alternative action, in contrast with throwing an exception from the constructor. (I personally don't like exceptions)  Say, I have a constructor on a class which expects an id value. The constructor uses this value to populate the class from the database. In the case where a record with the specified id does not exist, the constructor throws a RecordNotFoundException. In this case I will have to enclose the construction of all such classes within a try..catch block.  In contrast to this I can have a static factory method on those classes which will return null if the record is not found.  Which approach is better in this case, constructor or factory method?


Recommended list of games to develop at the beginning?

I am looking for simple games that I should develop to learn the basics of how different game mechanics work. I have read in many places that it is good to make Pong.  Is there a recommended list of basic games to try recreate when starting with game development?


Is there a set of common criteria for evaluation of photographs?

Is there any set of criteria for evaluating a single picture that is in common use?   I have the following situation: I want to write down my criteria on how I rate my pictures. At the moment I give stars from 0 to 5 to my images but I just do so as I please. However, I thought it would be good to write down how I've done it, so that I get reasonably consistent results.   I am thinking of writing something down like:   ★ In focus, exposure makes subject visible. Basically, I have rated this image and it is okay. ★★ Nice picture, subject has a nice expression on face (if human, etc.) ★★★ Technically correct picture, very publishable.    But isn't there something like I am thinking to codify already out there? For example it might be used by professional reviewers in competition or stock photography.


Short story about a mutiny on a spaceship and a polite captain

It was in a collection of short stories by different authors, which I read in the mid 80's.  The crew of the ship keep complaining about how the Captain is rude to them and the only 'person' he says 'please' and 'thank you' to is the ship's computer.   Eventually they decide on mutiny and murder the Captain after forcing him to make recordings of the voice commands necessary to steer the ship. It is not until after they kill the Captain, that they realise the commands he recorded lacked the 'please' and 'thank you', which were crucial to make them work.  Thus the crew of the ship drift through space contemplating the irony.


Do popular linux distributions verify binary packages?

If not all package builds are reproducible, what guarantees that users do not run two different binaries of the same version and architecture?


By using the change of variable $u=x+y$ , $v=x$ evaluate $$\iint_{Ta} (x+y) \, dx \, dy$$ where $Ta$ is the region in the $xy$ plane bounded by the $x$ and $y$ axes and the line $x+y = a$.  Update: I have since worked out the Jacobian = -1 so am now onto: $$\iint_{Ta} (x+y) \, dx \, dy$$ $$=\iint_{Ta} (v+u-v) \, du \, dv$$ since $x=v$ and $y=u-v$, so $$\iint_{Ta} u \, du \, dv$$ I am still struggling with what to put as the limits though!


Is there a command prompt  equivalent for Windows 7? That is, I want to filter out the results of a command:  Bash use:  ls | grep root  What would it be from a Windows command prompt?


Related:    In the old design    If you click on Inbox or achievements, then hovering over the other suffices (it will expand).  But in the new design:    You need to click on each one, even you just clicked the other one. I suggest reverting that feature to expand on hover, if not on first hover, at least on second.


If it is possible to open and visualize a KML Network Link in QGIS, then what are the steps involved? KML Network Links are described at  and at :  In the most generic sense, a KML file with a network link acts as a gateway into the content on your server. Your users download your KML file just once, but they will always see the most updated content, even if you updated it after they download your KML.  A KML file with a network link can be embedded within a KMZ file.


We have tried punishing and then rewarding the child for pooping their pants.  He has been to the doctors and was suggested to try a laxative for this problem.   We also tried setting certain times to have the child sit on the toilet.  Nothing seems to be working.  Would hypnotizing work?


separate reputation for questions and answers

I'm creating this because the answer to   says that Jeff periodically reviews things with a "feature-request" tag.   comment from DVK suggests     ... separate Q from A rep ... allow people who do answer question to have a separate   grading curve—see my    ... as to WHY the curve needs to be different.   Yet, I can find no such "feature-request" tagged item.


Blender lag everywhere when interacting with UI (Win10/GTX 1070)

I'm trying to use Blender v2.78 on my new notebook which has the following config:  CPU - i7-6700HQ (4 cores)  Mem - 16G  GPU - GeForce GTX 1070 (driver is updated to the latest 376.09)   OS  - Win10 64bit family version  Immediately opening the software, I'm experiencing lag everywhere interacting with the software UI, almost lag for every basic operation with mouse/keyboard.  I did some search on the web and tried several things:  a. changing user preferences -> system -> window draw method (as well as some other parms that look possible to help for me)  b. setting up 3D parameter via my Nvidia control program, turning on whatever possible for blender.exe  c. running a previous blender version, say v2.77/v2.76b  But the problem still there, not smooth not at, very frustrating.  What's interesting (and somewhat ironic) is my old laptop which is a ThinkPad x1 carbon (win7) with just integrated graphic card can run the software smoothly, no lag at all when operating or editing in the UI though its performance is too low to render the scene quickly and beautifully.  I'm not sure what to do to make it work well for my new notebook. Appreciate if anyone could suggest and help on this.  Thanks very much!


I am curious about which areas of mathematics one should be comfortable with before learning QFT.  I am familiar with the "learn-it-as-you-go" approach often advocated in physics, but would like to know how to avoid that in learning QFT.  Naming of specific textbooks is appreciated.  (For the sake of this discussion, "learning QFT" can be taken to mean "learning at the level of/from Peskin and Schroeder's text.")  In particular, I would like to know what, in addition to the material in Rudin's Real and Complex Analysis, one should know.  Would this be sufficient?  How about Folland's Real Analysis?


Delete a file that "does not exist" with a strange name

I've read about deleting files which "do not exist"  and got as far as del /q /s filename in command prompt.  However, the file is named COM^sv3.O[e in the browser.  but when i type in dir it =   Of which there are charaters I cant even type. Even copying from teh command prompt, as is. It still "cannot find" the file.  Any ideas on how to delete?


I have used Boot-Repair in an attempt to fix a problem booting into my Linux OS, with no satisfaction. I paid for my version, so I get technical support, and I was instructed on how to install an alternative boot loader, however I didn't ask what or how, to do with the current boot loader, so I'm trying to cover my bases here, by getting an answer to this question; How do I uninstall grub using the terminal in ubuntu?


I basically want LaTeX to do following:  So everytime I do \cite{source} I get (author et al, year) out. Instead of the weird [1] or [name] tags. And if there is no author, it should do following (title, year).


What does "Do you want to erase this iPhone and sync with this iTunes library" mean?

I just plugged my iPhone into my new mac (previously it was managed using itunes on a PC)  I just want to delete some songs that are on the iPhone.  It seems I can't press delete on the songs in iTunes when the phone is connected.  When I select Manually manage my songs and videos it prompts "the iphone is synced with another itunes library. Do you want to erase this iPhone and sync with this iTunes library?"  I don't understand because it was manually managed on my PC not synced to a library. Also the prompt isn't very helpful, what does "erase this iPhone" mean? Delete everything? Just music and videos?  If I check "Manually manage my songs and videos" and receive the prompt which says it will "erase this iPhone" what will it actually erase? Is it just the songs and videos?


Need a counterexample related to Interior and Closure

Let "cl" denotes closure, "int" denotes interior.I'm looking for a Single example of a subset $A$ of some topological space $X$ where all the following sets are unequal:  $1.$A   $2.$ int(A),  $3.$cl(A),  $4.$ int(cl(A)),  $5.$ Cl(int(cl(A))),  $6.$ cl(int(A)),  $7.$ int(cl(int(A)))  It's clear that such a set $A$ is neither open nor closed.Moreover,in $\mathbb R$ with usual topology It's easy to construct some example using intervals and $\mathbb Q$ where some of the above sets are unequal.But I'm finding it a bit hard to construct a example where all the above $7$ sets are unequal.Any hints/ideas?


No bounded linear surjectivity from $\ell^2(\mathbb{N})$ to $\ell^1(\mathbb{N})$

I would like to show that a bounded linear operator $T: \ell^2(\mathbb{N}) \rightarrow \ell^1(\mathbb{N})$ cannot be surjective.  If we assume surjectivity, then by the Open Mapping Theorem, $T$ is an open map, i.e. for every open $O \subset \ell^2(\mathbb{N})$, its image $T(O)$ is open in $\ell^1(\mathbb{N})$.   Is it then possible to contradict Baire's Theorem by constructing a sequence of open dense subsets of $\ell^1(\mathbb{N})$, whose intersection is not dense?  Any help pointing me into the right direction would be appreciated.


Is it possible to refit after cross-validation and continue to train the model for better accuracy?

A weird question below.  Suppose you did a 10 fold cross-validation to show that a model is an unbiased estimator. And the results of the cross-validation also shows that training the model longer will improve its prediction accuracy. However you do not have the computational capacity to keep training all 10 folds. Is it scientifically correct to refit the model with all the data and continue training to obtain the final model. Will the results from the 10-fold cv be invalid? Would you still be able to conclude that the model is unbiased?  cheers


Is it possible to work full time in an industry position while on sabbatical?

The standard situation in US research universities is for the university to pay one semester of salary for a year of sabbatical leave, and faculty typically take this sabbatical at another university or research lab, where there is a clear sense of how to fund the sabbatical.  I'm interested to know whether anyone has experience on how to (ethically) fund an industry sabbatical.  Specifically:   Is it possible to work full time in an industry position?  If so, do you get half-pay?  Half-hours? What (ethical) obligations do you have to ongoing grants (say from the National Science Foundation) during such a sabbatical year? What (ethical) obligations do you have towards the university that is paying a semester of salary?


A book where a man inhabits the body of a dying man and befriends a telepathic cat

Some time around 1998 I read a book (which is surely older) suggested by one of my friends. Since this is the first time posting for me I'll do my best to give all the details I can recall.  The main protagonist is a white male (who I believe has cancer and/or is very old) on a boat that gets hit by a comet or meteor or some kind of astronomical event. He wakes up in the body of a young dying male in a desert and meets a telepathic cat that was bonded with the dying male.   The beginning of the book is about the protagonist learning to navigate his body, the bonds with the people his body knew and the telepathic cat. The two have to learn to trust one another. The "bond" is a two-way lifelink, if one dies so does the other.  We learn later that others on that boat suffered much the same fate shifting into new bodies in this parallel dimension including a female he had fancied or met back on the boat. Her body is also bonded to a telepathic "riding" cat. While I can't remember if anyone else on the boat also switched over, I feel like at least one other person did who was an antagonist but I can't verify it in my brain.  The protagonist is trying to find "something", but I can't remember what. I seem to recall jewels or gems and an important sword. Like, a hilt that's important and has an invisible blade? I remember certain scenes but without enough information for them to feel useful.  Such scenes as:   They end up in a huge palace with a verdant garden that they later escape from, for some reason. The protagonist gets super injured at one point and the cat struggles with him so they both survive. He keeps having flash backs to the incident on the boat. For a long while the cat hates this guy who basically has supplanted his master/friend, but it's okay since that guy dying would have killed the cat.   The only thing I can recall about the title is "The [blank] cycle(s)" and all my searching has come to naught. It was a series of books, I know that.  The cover showed the main protagonist, the female "love interest" and their cats in the sun bleached desert. I recall that the female has very short cut dark hair. The protagonist is wearing a white "turban" of some sort.


android - Nullpointer error in ArrayList

I have a spinner inside a AlertDialog. That will appear when the FloatingActionButton is clicked.  final AlertDialog.Builder mBuilder = new AlertDialog.Builder(Main2Activity.this); View mView = getLayoutInflater().inflate(R.layout.add_connection, null); area = (Spinner) mView.findViewById(R.id.addArea);   and an array that has to be displayed in the spinner.  final ArrayList<String> areaList  = (ArrayList<String>)getIntent().getSerializableExtra("areaList");("Outside the onclick function of FloatingActionButton")  ArrayAdapter<String> adapter = new ArrayAdapter<String>(Main2Activity.this, android.R.layout.simple_spinner_dropdown_item, areaList); area.setAdapter(adapter);   Now when I run the app and click the FloatingActionButton the app crashes and the following error appears.  java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference at android.widget.ArrayAdapter.getCount(ArrayAdapter.java:344) at android.widget.AbsSpinner.setAdapter(AbsSpinner.java:115) at android.widget.Spinner.setAdapter(Spinner.java:520) at android.support.v7.widget.AppCompatSpinner.setAdapter(AppCompatSpinner.java:389) at trickandroid.cablevasul.Main2Activity$1.onClick(Main2Activity.java:56) at android.view.View.performClick(View.java:5637) at android.view.View$PerformClick.run(View.java:22433) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6126) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)   Help me with it..


Javascript function not being hit on change of element from partial view

I have the following dropdown from a view model:
    @Html.DropDownListFor(model => model.QuoteModelSea.OriginAdd.Country, new SelectList(Model.QuoteModelSea.OriginAdd.CountryList, "Text", "Value"), "", htmlAttributes: new { @class = "mdl-selectfield__select" })    @Html.LabelFor(model => model.QuoteModelSea.OriginAdd.Country, htmlAttributes: new { @class = "mdl-selectfield__label" })
   This is in a partial view which is being attached to a div upon an ajax call.  Then in the main view I have a javascript:  $('#QuoteModelSea_OriginAdd_Country').change(function () {         $('#searchTextField').val('');        *actions* });   The rendered html of the razor view is as follows:
    <select id="QuoteModelSea_OriginAdd_Country" name="QuoteModelSea.OriginAdd.Country">      <option value=""></option>      <option value="1">abc</option>      <option value="2">abc Islands</option>      <option value="3">abc</option>      <option value="4">abc</option>    </select>    Country
   However when I select a value from the dropdown, the javascript is not being hit.  The dropdown is in a partial view and the javascript in the main view. Any idea why the javascript function is not being called?


How to make two network adapters work together seamlessly on Windows 7?

I have two network adapters installed on the same PC, one is wired and the other is wireless. Each of them is connected to internet through different router/AP and different ISP.   Is that possible to have them work together to boost my overall downstream/upstream bandwidth by combining them into one? Is that possible to have certain application using one connection and others using another connection?   It's good to know if any hardware can achieve this, in the purpose of learning, but I currently don't intend to buy new hardware.  My system is Windows 7 Ultimate 64-bit, with a Realtek Gigabit Ethernet card (on-board) & TP-Link Wireless-N card.


mathematical relationship between height of drop and horizontal splash distance

I was just curious as I am still quite confused, if we vary the height of the ball when dropping it in a pool of water, is there a way to establish some mathematical relationship between the height of the mass dropped in to the pool of liquid and how far the splash will reach horizontally?   I understand from threads here how high the water will splash when dropped at some initial height, but I cannot seem or find any research done on the actual relationship between drop height and horizontal distance of the splashed liquid.   I would appreciate the help.


Exception with writing new excel file with Apache POI

I'm new to Java and am trying to learn how to read/write to excel using the Apache POI. As of now, I am just trying to write a new excel file, but even after throwing  the IO exception, I am getting a java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException exception.  Here is my code:  package ExcelDemo;  import org.apache.poi.xssf.usermodel.XSSFWorkbook;  import java.io.File; import java.io.FileOutputStream; import java.io.IOException;  public class Demo {      public static void main (String[]args) throws IOException {         try {             XSSFWorkbook workbook = new XSSFWorkbook();             FileOutputStream out = new FileOutputStream(new File("C:/Users/colin/IdeaProjects/FinancialIndependence/src/ExcelDemo.xlsx"));             workbook.write(out);             out.close();         }         catch(Exception e){             System.out.println(e);         }          System.out.println("Excel file outputted");     } }   Here is the error I am getting:  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException     at ExcelDemo.Demo.main(Demo.java:13) Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException     at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)     at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)     ... 1 more  Process finished with exit code 1


Word or phrase for making something seem better by comparison

What is a word or phrase that expresses the idea of purposely making something seem better by comparison? For example, lemon Starburst was created to make the cherry flavor seem that much tastier.


I am working with Landsat 8 image acquired in 2014. I am trying to convert the raw image (DN) to Top Of Atmosphere Reflectance/Radiance (i.landsat.toar) in Grass 7.1 (still under development). The reason for using this version is that it is caters for landsat 8. I specify the metadata file and load the information etc. I get the same error every time:      ERROR: Unable to open header file for raster map    Base Name of input raster band: LC81700832014160LGN00_B1@PERMANENT  Prefix for output raster maps: LC81700832014160LGN00_B1.toar Name of metadata file: C:\Users\carinswart\Documents\GIS_DataBase\Landsat8\GHT\09June14\LC81700832014160LGN00_MTL.txt   I have tried to be careful not to leave gaps in my file names.


ESTA with UK passport (valid > 10 years)

I am trying to apply for my ESTA using a passport with an expired ESTA.  The passport was issued by the UKPO in September 2016, and is valid through January 2027 (because the UK added validity for an early replacement).  However, the ESTA website no longer accepts these dates for my renewal.  Help!


I need to set up the domain.com/wp1/ to be shown like domain.com/ I have tried to set up any rewrite in the past hours, but no success :(  P.S. There is a wordpress installed in the public_html/wp1, configured to work on domain.com/wp1/ URL. Its .htaccess is as follows:  # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp1/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp1/index.php [L] </IfModule>  # END WordPress   Thanks in tons!


I started GTA 5, now the task "GTAVLauncher.exe" tries to download 1 GB update from the internet, but it takes the whole bandwith.  Is there a way to limit the download speed of this task? I already tried , this worked fine, but unfortunattely it was only a test version and i can't efford it.  So is there a free method to limit the download speed of a task?


Unable to delete .pkg files in /Library/Updates/

I'm doing my semi-annual look around via Disk Inventory X, and I'm seeing some .pkg files located at /Library/Updates/061-41421 with names like macOSUpd10.14.6.pkg and FullBundleUpdate.pkg weighing in at sizes like 1.7gb. They cannot be casually moved to the Trash and sudo rm macOSUpd10.14.6.pkg yields the Operation not permitted message.  Can anyone tell me what these are for? / Are they necessary to keep around? / If no, how do you remove them? And most importantly, why in the world would Apple keep these on board after the contents have been distributed via an update?  Thanks


Is Burning Hands’ area of effect a “thin sheet of flame” or is it a cone?

says two things about the shape of the spell’s area of effect (PHB, p. 220):      a thin sheet of flames shoots forth from your outstretched fingertips     Each creature in a 15-foot cone [is affected by the spell]    These seem to conflict, as a thin sheet of flame and the definition of the cone AoE (PHB, p. 204) are different shapes. (And we know , so that doesn’t help resolve it.)  What is the area of effect of burning hands?  (This came up in the context of answers to .)


I've heard people say that the cheese used in pizzas is not suitable for many other things and for this recipe you need to have this particular cheese. Is there some broad principle as to which cheese should be used and where??


Null Pointer Exception in AsyncTask class

I am getting a NullPointerException int the following code.For the complete program refer .  Logcat  FATAL EXCEPTION: main                                                                             Process: com.example.android.googleplaces, PID: 2813                                                                             java.lang.NullPointerException                                                                                at com.example.android.googleplaces.MainActivity$ParserTask.onPostExecute(MainActivity.java:200)                                                                                at com.example.android.googleplaces.MainActivity$ParserTask.onPostExecute(MainActivity.java:169)   and code:  class ParserTask extends AsyncTask<String, Integer, List<HashMap<String,String>>>{  JSONObject jObject;  // Invoked by execute() method of this object @Override protected List<HashMap<String,String>> doInBackground(String... jsonData) {  List<HashMap<String, String>> places = null; PlaceJSONParser placeJsonParser = new PlaceJSONParser();  try{ jObject = new JSONObject(jsonData[0]);  /** Getting the parsed data as a List construct */ places = placeJsonParser.parse(jObject);  }catch(Exception e){ Log.d("Exception",e.toString()); } return places; }  // Executed after the complete execution of doInBackground() method @Override protected void onPostExecute(List<HashMap<String,String>> list){  // Clears all the existing markers if(mGoogleMap!=null) mGoogleMap.clear();  for(int i=0;i<list.size();i++){  // Creating a marker MarkerOptions markerOptions = new MarkerOptions();  // Getting a place from the places list HashMap<String, String> hmPlace = list.get(i);  // Getting latitude of the place double lat = Double.parseDouble(hmPlace.get("lat"));  // Getting longitude of the place double lng = Double.parseDouble(hmPlace.get("lng"));  // Getting name String name = hmPlace.get("place_name");  // Getting vicinity String vicinity = hmPlace.get("vicinity");  LatLng latLng = new LatLng(lat, lng);  // Setting the position for the marker markerOptions.position(latLng);  // Setting the title for the marker. //This will be displayed on taping the marker markerOptions.title(name + " : " + vicinity);  // Placing a marker on the touched position if(mGoogleMap!=null) mGoogleMap.addMarker(markerOptions); } } }


I'll be reviewing a scientific article soon and I've not done this before. It'll be reviewing a popular article on an astrophysical topic. Undergraduate level but I'm open to any level of guidance.  Is there a guide/textbook out there that describes how to write such a review in science?


How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*).   At some point, the text ends in the beginning of the first column of a new page. I would like to include my table on this page since it has a lot of free space below the text, but when I insert the table* right after the text, it goes to the top of the next page instead:    Do you know a way of obtaining the desired behavior?  Minimal working example :  \documentclass{article} \usepackage{lipsum}  \begin{document} \twocolumn  \paragraph{} \lipsum[1]  \begin{table*} \centering \begin{tabular}{|c|c|c|c|} \hline Column 1 & Column 2 & Column 3 & Column 4 \\ \hline Column 1 & Column 2 & Column 3 & Column 4 \\ \hline \end{tabular} \end{table*}%   \end{document}


Good morning,   I would like to write a mathematical equation like:  $F_{i}$    but I want to shift down the letter i more than the effect of the command $_$.


Is there a tool to check the file integrity of a series of images?

Sometimes when you're downloading an image and the connection breaks mid stream, you are left with a half downloaded image. If you try to view it you get the upper part of the image and the bottom part is usually coloured grey or green or some other color.  In other words, it is corrupted.  Is there a way to check whether the image is damaged in that way or otherwise corrupted?


Where can the viewport clipping parameters be changed?

Zooming in to inspect texture details in 3D view clips some closer faces like shown in the image. It's not the camera view so changing camera settings doesn't help.   Where can the distance to the clipping plane be adjusted?


create an alias that runs a command with string replacement from arguments

I'm trying to write a couple of shortcut aliases to quickly navigate to the httpdocs folders of the various domains and subdomains on my server.  basically so I can type something like:  $ pwd / $ # Go to the 'site.com' domain: $ goto site.com $ pwd /var/www/vhosts/site.com/httpdocs $ # Go to the 'subsite' subdomain: $ gotosub site.com subsite $ pwd /var/www/vhosts/site.com/subdomains/subsite/httpdocs   I'm pretty green when it comes to Linux commands and I've tried to research this but failed at putting together search terms that have helped.  I've tried using printf and backticks like this:  $ alias goto='`printf "cd /var/www/vhosts/%s/httpdocs"`' $ alias gotosub='`printf "cd /var/www/vhosts/%s/subdomains/%s/httpdocs"`'   but that doesn't replace in the arguments.  If I remove the backticks:  $ alias goto='printf "cd /var/www/vhosts/%s/httpdocs"' $ alias gotosub='printf "cd /var/www/vhosts/%s/subdomains/%s/httpdocs"'   Then it works but I need to run them like so:  $ `goto site.com` $ `gotosub site.com subsite`   ...Which seems ugly and inefficient.  What's the best approach to achieve this?


My udev rule is not working. I've added information about the udev rule:  udev rule:  $ cat /lib/udev/rules.d/95-monitor.rules  KERNEL=="card0", SUBSYSTEM=="drm", RUN+="/bin/bash /home/koko/Desktop/monitor.sh"   executed:  sudo udevadm control --reload sudo udevadm trigger   monitor.sh  #!/bin/bash notify-send "Monitor Connected."   Udev is running:  $ service --status-all .. [ + ]  udev ..   udev info  $ sudo udevadm info -a -p /devices/pci00:00/0000:00:02.0/drm/card0  Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device.    looking at device '/devices/pci0000:00/0000:00:02.0/drm/card0':     KERNEL=="card0"     SUBSYSTEM=="drm"     DRIVER==""     ATTR{error}=="no error state collected"    looking at parent device '/devices/pci0000:00/0000:00:02.0':     KERNELS=="0000:00:02.0"     SUBSYSTEMS=="pci"     DRIVERS=="i915"     ATTRS{boot_vga}=="1"     ATTRS{broken_parity_status}=="0"     ATTRS{class}=="0x030000"     ATTRS{consistent_dma_mask_bits}=="36"     ATTRS{d3cold_allowed}=="1"     ATTRS{device}=="0x0046"     ATTRS{dma_mask_bits}=="36"     ATTRS{driver_override}=="(null)"     ATTRS{enable}=="1"     ATTRS{irq}=="26"     ATTRS{local_cpulist}=="0-3"     ATTRS{local_cpus}=="0f"     ATTRS{msi_bus}=="1"     ATTRS{numa_node}=="-1"     ATTRS{subsystem_device}=="0x0410"     ATTRS{subsystem_vendor}=="0x1028"     ATTRS{vendor}=="0x8086"    looking at parent device '/devices/pci0000:00':     KERNELS=="pci0000:00"     SUBSYSTEMS==""     DRIVERS==""   udevadm monitor:  $ sudo udevadm monitor --environment --udev monitor will print the received events for: UDEV - the event which udev sends out after rule processing  UDEV  [26447.971745] change   /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) ACTION=change DEVNAME=/dev/dri/card0 DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0 DEVTYPE=drm_minor HOTPLUG=1 ID_FOR_SEAT=drm-pci-0000_00_02_0 ID_PATH=pci-0000:00:02.0 ID_PATH_TAG=pci-0000_00_02_0 MAJOR=226 MINOR=0 SEQNUM=3035 SUBSYSTEM=drm TAGS=:uaccess:master-of-seat:seat: USEC_INITIALIZED=21623159


I have the following script which I use for calculating the score  public class Score : MonoBehaviour {      Score sc;      void Start()     {         GameObject obj = GameObject.Find("ScoreSystem");         sc = obj.GetComponent<Score>();      }      void OnTriggerEnter2D(Collider2D coll)     {         if (coll.tag == "Ball")         {             sc.score++;         }     } }   and this is the class where I increase the value  public class Score : MonoBehaviour {      public int score;      void Start()     {         score = 0;     }  }   But the problem I have is that the value always stays 0 when I switch to a different scene. I even used this code to store the value and display in the next scene but it didn't work  void Update() {     PlayerPrefs.SetInt("score", score);     PlayerPrefs.Save(); }   and this code for taking the value   score = PlayerPrefs.GetInt("score");   How can I store the latest value inside an Int and display it in the next scene and when I leave that scene it reverts back to 0?


Why are C character literals ints instead of chars?

In C++, sizeof('a') == sizeof(char) == 1. This makes intuitive sense, since 'a' is a character literal, and sizeof(char) == 1 as defined by the standard.  In C however, sizeof('a') == sizeof(int). That is, it appears that C character literals are actually integers. Does anyone know why? I can find plenty of mentions of this C quirk but no explanation for why it exists.


having different operating systems on ubuntu

I have seen this computer where when the computer boots up, the grub screen lets him choose operating systems. as the four ubuntu choices like ubuntu recovery and stuff are still there, there is a fifth choice that says windows seven loader. is that possible to do on my computer( Ubuntu 12.04 ). if so, please suggest how.  Thanks :)


How do I install and mount an exFAT partition?

I have searched around here and with Google, and none of the instructions I have found work with Oneric.  How do install exFAT and mount an exFAT partition in the latest release of Kubuntu?


How can I install Google Chrome on Ubuntu 64-bit?

How do I install Google Chrome on Ubuntu 64-bit?


Can I cast a Warlock spell with another (higher) spell slot from a different multiclass?

Reviewing an answer to a recent question I posted, I had a thought about Armor of Agathys. In the event of a Sorcerer 18 / Warlock 2 build, would the character be able to cast Armor of Agathys with a 9th level spell slot, thus getting 45 Temporary Hit Points and dealing 45 damage when hit?   Is the spell in any way limited to being cast using Warlock spell slots or to a maximum of a 5th level spell slot?


I just installed WPS office on ubuntu but now whenever I try to launch any of those WPS office software like WPS Writer or WPS Presentation they won't launch.It won't show any error report either. I downloaded the package from its website and then installed it using gnome. I have to make a project and I'm more used to Microsoft office and WPS office seems to be the closest to it in Ubuntu. Also the  LibreOffice seems to lack many features (like word art, styles etc.).  I'm using the 16.04 version of Ubuntu.


Minimum 6 character edit is not a practical rule

I just wanted to express my concern over the 6 character edit rule.  Many times I came over answers posted by users which have some error in codes they posted. And usually the errors in their posts are syntax error. And of course even 1 incorrect character causes an error.  These errors can create a lot of confusions sometimes. What am I supposed to do to correct the syntax errors if there is a minimum 6 character rule?  , an example in the accepted answer, there is an syntax error in the XML code.


Why are my beef short ribs still chewy after 5 hours?

In short:    Kamado at 250-275f Short Ribs in for 4-5 hours    The ribs have a layer of meat, then a small layer of fat, and then the meat on the ribs themselves.  The top layer gets reasonably soft and edible, but the main chunk of beef is much too chewy still.    I've had two goes at this, the first time the temperature was closer to 300f, and a bit shorter cooking time. In both cases, I stuck a toothpick in both parts of meat, and it went in as if the meat was soft and tender.  Basically, what am I doing wrong? Not enough time? Not enough heat?  I worried that I might overcook them and dry them out. So I might try again, but wrap them in foil halfway through...  EDIT: What I did that worked First of all, it's a shame that I can mark both answers as answers, because they both helped. What I did was to smoke the ribs at 270-285f for 5.5 hours, and they were bloody perfect. I started at 270, and opened the bottom vent enough that the temperatures slowly went up to 280 over those 5.5 hours. Thanks to everyone for the help.  Edit: And thanks to the user who edited my question and made it worse. At least learn grammar first, and maybe contact the person asking what their intent is.


I just came across the example of the topologist's sine curve that is connected but not path-connected. The rigorous proof of the non-path-connectedness can be found .   But how can I prove that the curve is connected? To be honest, even intuitively I am not being able to see that the curve is connected. I am thinking if it is proved that the limit point of $\sin(1/x)$ as $x \to 0=0$, then it would be proved. But, why is this true? IMO, this limit doesn't exist. Intuitively also, it seems that the graph would behave crazily and not approach a particular value as a tends to $0.$  EDIT (Brett Frankel): There are a few different working definitions of the topologist's since curve. For the sake of clarity/consistency, I have copied below the definition used in the linked post: $$ y(x) = \begin{cases} \sin\left(\frac{1}{x}\right) & \mbox{if $0\lt x \lt 1$,}\\\ 0 & \mbox{if $x=0$,}\end{cases}$$


WiFi drivers not found, fast startup turned up on the Windows broken part

My device can't found any wifi drivers, unfortunately I turned to Ubuntu 20.04 after my Windows machine kept crashing and after turning on Fast Startup. I have ethernet. Is there a way I can install the drivers and get the wifi? I tried: sudo apt install dkms cd git clone https://github.com/smlinux/rtl8723de.git sudo dkms add ./rtl8723de sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414  but I don't have the wifi icon yet. I checked mokutil --sb-state and it's false. Here i my card: antoi@antoi-Inspiron-3543:~$ lspci -nnk | grep 0280 -A3 06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)     Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]     Kernel driver in use: bcma-pci-bridge     Kernel modules: bcma


Find the fraction with smallest denominator between two bounds

Between the numbers 2.3 and 2.8, the fraction $\frac52$ exists, and it is the fraction between these bounds that has the smallest denominator. What algorithm can be applied to always find this fraction given two bounds? For example between 3.141 and 3.145 the answer should be $\frac{22}7$ (as far as I know)


How do I check if an object has a specific property in JavaScript?  Consider:  x = {'key': 1}; if ( x.hasOwnProperty('key') ) {     //Do this }   Is that the best way to do it?


What is the best way to inform users of an add-on's warnings, info, or things they must do for the function to work? As it seems to be hard to add info to the main header, is it better to use (Blender dreaded) pop-ups? So what are your preferred ways and how do you do it, code-wise?  (I don't mean info view or console, because users do not have these things open - so this is not a duplicate question)


While working on a project, I came across a JS-script created by a former employee that basically creates a report in the form of  Name : Value Name2 : Value2   etc.  The peoblem is that the values can sometimes be floats (with different precision), integers, or even in the form 2.20011E+17. What I want to output are pure integers. I don't know a lot of JavaScript, though.  How would I go about writing a method that takes these sometimes-floats and makes them integers?


I was given to review a journal paper that overlaps with a submitted paper of ours

I was recently given to review a journal paper that significantly overlaps with a work that we recently submitted to a conference (about half of the contributions are the same).  Any advice on what to do in this case?  (even if I tell the editor now that I'm unable to review the paper, I've already read it).


How to make a gui button follow a path after a touch?

I would like a button in my gui menu to follow a specific path if we selected it, I am wondering how I could do it: if we touch the button, then it can only move on the specific path, it is an arc such as this path :    Would you know how to achieve this? I am using Unity, but I think the theory should be the same for other software/language ?  Thanks for your help  __  EDIT:  here is the code for the bezier curve in unity : Where should I put the script?  using UnityEngine; using System.Collections;  public class DrawBezierHandle extends Editor {      public Transform startT;     public Transform endT;      function Start(){         startT = GameObject.Find("start").GetComponent("Transform") as Transform;         endT = GameObject.Find("end").GetComponent("Transform") as Transform;     }      function OnSceneGUI() {          var width : float = HandleUtility.GetHandleSize(Vector3.zero) * 0.1;         Handles.DrawBezier(startT.position,                          endT.position,                          startT.position * 5 * Vector.up,                          endT.position * 5 * Vector.up,                         Color.red,                          null,                         width);     } }


Why we take mean of squares in RMS Current instead of taking mean of absolute value of current?

I know $I_{\text{rms}}$ produces the same energy over time as if the current were DC. I am asking the reason why it works. The main focus of this question is highlighted below which makes it different from similar questions.(why we take mean of square then take root instead of taking mean of absolute value of current.    Let's say the AC current is $I=\sin(t)$ for this case where $t=\omega \tau$ where $\tau$ is time in seconds. This is done to make the question simpler.  Let's say we have graph of $\sin(t)$. It's average is zero so we square: $\sin^2(t)$. Now be careful! we take average of $\sin^{2}(t)$ and then we take root. Why don't we take the absolute value $|\sin(t)|$ first and then take the mean, which will give us the answer 0.637I not 0.707I.    That will actually mean that in the formula $P=IV$ we will use $I=I_{avr}$ not $I=I_{rms}$ where $I_{avr}=\langle|\sin(t)|\rangle$.


Perform t-test R two datasets and multiple variables

I have two data sets (two different countries), and for each data set I have 3 variables: 2 independents (years and car model), 1 dependent (sales)  To make it more visual it would look something like this:  Country 1  Car_Model  Year    Sales A          1       100 A          2       200 B          1       80 B          2       90 C          1       66   C          2       20   Then for the second data set:  Country 2  Car_Model  Year       Sales A          1          120 A          2          220 B          1          82 B          2          92 C          1          62 C          2          22   I have been asked to perform a t-test to check if there is a significant difference between countries, but taking into consideration the variable car_model and year. However, I can not understand if it is possible to perform a  t-test in such a problem, and which kind of t-test should I perform or how I should use the variables.  I think the idea here is to check the significant difference of model A in country 1 against model A in country 2, then model B in country 1 against model B in country 2, and so on. And at the end get a p value based on those previous p values. Is it possible to do this using a t-test in R?


Why do speakers from India frequently overuse the phrase "the same"?

In working with overseas teams, as well as with reading text written by speakers from India, I notice a strong overusage of the following types of phrases:  Please reply with the same. Kindly review the same and let us know of any issue. I am trying to do the same.  I'm curious what construct within the Indian language(s) is responsible for this particular phrase? This usage, while correct, is pretty uncommon among native speakers.


Masters degree in business engineering or management engineering

Is it possible to have a masters degree in business engineering or management engineering when you don't have a first degree? But i have more than 10 years professional experience


What is the best way to decide bin size for computing Entropy or Mutual Information?

I have a continuous distribution that I was thinking of binning for computing MI and H.  I often arbitrarily decide on bin size. Is there a general consensus on how to set bin size and number?  Thanks for your input!


INMO : Prove that $\sqrt[3]{a}$ and $\sqrt[3] {b}$ themselves are rational numbers

Let $a$ and $b$ be two positive rational numbers such that $\sqrt[3] {a} + \sqrt[3]{b}$ is also a rational number. Prove that $\sqrt[3]{a}$ and $\sqrt[3] {b}$ themselves are rational numbers. My first response was, isn't is obvious? but then I tried.. if $a=b$ then we prove it easily . So suppose $a\ne b$. Let $s=\sqrt[3]{a} + \sqrt[3]{b}$. then $s^3 = a + b + 3 s \sqrt[3]{a} \sqrt[3]{b}$ then the product $p=\sqrt[3]{a} \sqrt[3]{b}$ is a rational number. But what should I do next ?


How to append the first line at the end of each line of a file with Sed?

I'm trying to append the first line of a file at the end of each line with a single sed command:  Example:  line 1 line 2 line 3 line 4   should become:  line 1 line 1 line 2 line 1 line 3 line 1 line 4 line 1   How can I do it?


Let $G$ be a group and $A,B \leq G$. If $B$ is of finite index in $G$, then $A\cap B$ is of finite index in $A$ and we have $$[A:A\cap B]\leq[G:B]$$ It is fairly easy to show that the inequality holds, but what bothers me more is the statement that equality holds if and only if $G=AB$. Has someone a hint for me how to prove this?  Edit. The answer of Dietrich Burde is really nice! I learned alot from it. Also I learned how to alter my proof to yield the desired result. Consider the mapping $$\{x(A \cap B) : x \in A\} \to \{xB : x \in G\}\\ x(A \cap B) \mapsto xB$$ Assume $xB = yB$. Then $y^{-1}x \in B$ but also $y^{-1}x \in A$ so $y^{-1}x \in A \cap B$ which implies $x(A \cap B) = y(A \cap B)$. Hence the mapping is injective and thus the inequality follows. Now if $G = AB$ we have that $$\{xB : x \in G\} = \{xB : x \in AB\} =\{xB : x \in A\}$$ and thus the mapping is clearly surjective.


Should I delete my own questions with answers?

I don't know much about this,  But I've some of the questions on which some user has answered (not helpful answer) also but I want to delete those questions, but whenever I go to delete that question. It is prompting with     What does it mean? Can someone tell me what would be the action taken by Stack Exchange if I delete more questions?


I have the following command in my crontab to copy a file named 'data' into an existing directory named 'Archive', with a date stamp appended to it.  When I run it on the command line manually, it works fine.  01 0  * * * cp /home/data /home/Archive/data.$(date +%F)   But when cron runs the above (under the same user), the file does not copy, and I get the following error:     cp: 0653-437  2018 is not a directory


Default constructor is not being called?

Lets say I have the following class:  class Foo { public:     Foo() = { std::cout << "Hello world!" << std::endl; } }   In the main function I call the following:  int main() {     Foo bar1(); // This doesn't echo "Hello World!"     Foo bar2 = Foo(); // This does echo "Hello World!" }   I don't understand why this would be occurring?


I have a computer running windows 10 1903, and I want to update it to 1909. It doesn't show up in windows update, and I cant seem to find the 1909 update tool anymore, and only the 2004 one. I also figured out how to install update files directly by downloading the update files from windows, but I'm not sure what all i would need to install to go from 1903 to 1909. I have tried checking my system and multiple ways to "fix" my windows update since nothing is showing up there, but none of that worked. I currently cannot wipe this computer, so I cannot use the iso to install 1909. Thanks for any suggestions


The Special Relativity springs from the space-time nature?

Suppose we have 2 clocks in the same reference system which are synchronized. These two clocks exchange signals every second. Now suppose that one of the two starts to move away (instantly with $||v||=const$), the first signal, after the beginning of the move, will arrive after the last with this time interval: $$\Delta t_1 = 1 s + \Delta x_1/c$$ where $\Delta x_1$ is the distance traveled, after the same space: $$\Delta t_2 = 2 s + 2 \Delta x_1/c.$$ When the moving clock arrive at $s = 3 \Delta x$ sends the last signal and instantly reverses the course by coming back ($||v||= const$): $$\Delta t_3 = 3 s + 3 \Delta x_1/c.$$ The apparent accumulated delay will be: $$D =  3 \Delta x/c \: ?$$ By going back, to the stationary clock it will seem that the moving one is accelerating: $\Delta t_4 = 4 s + 2 \Delta x_1/c$, with an increase of $\Delta x/c$; then $\Delta t_5 = 5 s + \Delta x_1/c$ and $\Delta t_6 = 4 s$. Will the watches be resynchronized? Why is this not true for the theory of special relativity?  New updates  Thanks for the suggested answers, which I'm reading. I accept that time is not absolute, but what does de-synchronize watches? Does the acceleration imprinted on one of them change the mechanics of the watch?


Does this count as moving faster than light?

I'm not familiar with any complicated physics equation, however I do understand some basics. Suppose there is two objects, both of them are moving away from each other in a 3-dimensional space, which they both have the speed of half the speed of light ($c/2$). Relative to the reference frame of object A, object B would be moving away from itself equal to the speed of light.     A          B <-----      ----->   -c/2       c/2   to a 3rd observer    0          c    to A   -c          0    to B   This seems to break the law of "nothing can move faster than the speed of light". I believe that there is some other explanation for this case. I have done some research, and there are quite a few questions on this topic. Take  and  for example. However, they are about adding velocities together, which isn't quite the same as in the case I was describing.   is also similar to my case, however the two objects described are both moving toward the same direction, and I'm not shooting any beam or laser toward the other object.  Most probably in reality there are some extremely complex laws and equations which makes this question more complicated. However, the two objects are not interacting with each other and I'm not trying to "detect" the speed of the other object in the reference frame of A or B. Also none of the objects are moving at a significant fraction of the speed of light relative to the third observer, so special relativity doesn't apply(?) I just could not think of any reason why wouldn't B be moving away from A in the speed faster than light.  A simple explanation would be great.


When voting an answer down, is it polite to add a comment giving a reason?

When you vote down an answer to a question, do you leave a comment to explain why? Personally I think this is very useful, since if someone has written something that is wrong they can be set straight. Obviously, this may not make sense for highly subjective answers...


How to get Rails to serve my dynamic Greasemonkey script with the proper MIME type?

I have a static Greasemonkey script and it works fine. I have a rails 4 application, and I just want to customize my script for current user. My problem is I can render the script named script.user.js, but the content type is always text/html and Greasemonkey can't detect it for install.  Here few lines of code :  routes.rb  resources :users do     get 'script.user.js', :action => 'script', :on => :collection end   users_controller.rb  def script     render file: 'users/script.user.js', content_type: "application/x-javascript" end   How do I get my app to serve this file with the right type?


How to dump ALL dconf/gsettings so that I can compare them between two different machines?

The problem:  I have two machines, both with Ubuntu Gnome 14.04 up-to-date, and both with installed the latest CrossOver Linux(1) to run MS Office 2007 on it. I know, it's a proprietary program, but the problem is more general and affect Wine too. Please do not stop reading.   Both machines have a spanish keyboard working well most of the time (showing sometime a  but I think it's unrelated). The problem is that on one of them there is a set of program running under Crossover Wine affected by a  on some program, notably MS Office Word (there is also ).   Disabling IBus in Language Support -> Change Keyboard input method and unsetting XMODIFIERS works on one machine but not on the other (!).    So it must be some strange setting doing the difference...  The question  Is it possible to dump all the gsetting/dconf/whatever configuration database(2) in a readable file so that I can check differences with diff -u?   I know that   gsettings list-recursively org.freedesktop.ibus.general   works, but I am quite puzzled that   gsettings list-recursively org.freedesktop   gives the error   No such schema 'org.freedesktop'   ...so it seems that I can't dump all of the registry in one go. Any hint?     Footnotes:   (1) This is a version of Wine with added technical support and fixes to run some program better. A lot of the improvement percolates on free Wine, so I think is a good part of the Ubuntu ecosystem; nevertheless I do not add the link to avoid being accused of publicity ;-)  (2) Can we call it what it really is --- a registry like the infamous windows one?


Where can I ask questions on cloud computing?

I need to ask some questions on cloud computing. I think Server Fault may be perfect place for such questions, but are there any specific Stack Exchange sites where can I ask questions on cloud computing?


In my project, i read the text in NFC Tag, and i save it to String value. And if string value == given string , do something.  here is my code :   btn.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {              try {                 if(nfcTag==null){                     Toast.makeText(context, "Lütfen NFC Etiketini Okutunuz", Toast.LENGTH_SHORT).show();                 }else{                     nfcString = read(nfcTag);  // this is the part i get the text with read function. i already define nfcString as String.                 }             } catch (IOException e) {                 e.printStackTrace();             }              textViewName.setText(nfcString); // it is working fine !              String salak = textViewName.getText().toString();             // i created new String because, i tried to get textViewName.getText().toString() , i tought it should be work, but it didn't               try {                 // this is the if statement which doesn't work..                 if ( salak == getName(position) ) {                     // i also tried                      // nfcString  == getName(position)                     // nfcString.toString()  == getName(position).toString()                     // position thing is about spinner. i use spinner, it works fine also..                      btn.setText("Girdin!");                     yoklamaSend(getDersid(position));                  } else                     Toast.makeText(context, "DERS GİRDİSİ BAŞARISIZ", Toast.LENGTH_LONG).show();             }             catch (Exception ee) {                 ee.printStackTrace();              }         }     });   I can't understand why it is not working. NFC Tag is working fine, but whatever i do, i couldn't run if statement.  I get the NFC Tag Read code from sample of different app (which is working fine), here it is :      private String read(Tag tag) throws UnsupportedEncodingException {      Ndef ndef = Ndef.get(tag);     NdefMessage ndefMessage = ndef.getCachedNdefMessage();     NdefRecord[] records = ndefMessage.getRecords();     for (NdefRecord ndefRecord : records) {         if (ndefRecord.getTnf() == NdefRecord.TNF_WELL_KNOWN && Arrays.equals(ndefRecord.getType(), NdefRecord.RTD_TEXT)) {             try {                 byte[] payload = ndefRecord.getPayload();                 String textEncoding = ((payload[0] & 128) == 0) ? "UTF-8" : "UTF-16";                 int languageCodeLength = payload[0] & 0063;                 return new String(payload, languageCodeLength + 1, payload.length - languageCodeLength - 1, textEncoding);             } catch (UnsupportedEncodingException e) {                 Log.e("TAG", "Unsupported Encoding", e);             }         }     }     return null; }


sqlite3 automatically insert date and hour after inserts

i have a table which holds some columns,  ID(IntPK), Name(Text), Quantity(Int), Total(Int), Hour(Int),Date(Int)  I want to only have to insert a Name, a Quantity, and a Total, and then whenever a field is inserted into this table, i want it to automatically fill the hour and date with say, the hour and date from the computer.. Is there a way? I don't want to have to be typing the date and hour in everytime i insert a new field..  import sqlite3 conn = sqlite3.connect('Inventario.db') c = conn.cursor() conn.commit()  c.execute('''CREATE table if not exists sales(id INTEGER PRIMARY KEY, client TEXT, qty INTEGER, total INTEGER, hour INTEGER, date INTEGER)''')


If we know that a 3-dimensional Lie algebra $L$ with $[L,L]=L$ is simple.   How to prove that the only (up to isomorphism) 3-dimensional complex Lie algebra $L$ with $L=[L,L]$ is $sl_2(\mathbb C)$?


I spawned near a huge section of taint, and I'm fairly sure it's spreading.  My panicking in  turned up the suggestion of turning off the spreading in the config file, so I dug out Thaumcraft.cfg, and found this:  # The chance per block update (1 in n) of the Taint biome spreading.  # Setting it to 0 prevents the spread of Taint biomes. I:biome_taint_spread=0   So...it seems like it's not spreading?  Now, either I'm going crazy or there's something else causing it to spread.  Could Tainticles and the like (tainted spiders, creepers, etc) cause it to be spreading?  In what ways can the taint spread?


Which is the best StackExchange site to ask questions concerning Asterisk?

is a Server-based VOIP Phone system that is usually run on Linux, and usually run on a network.  I have seen posts for Asterisk in ServerFault, StackOverflow, and SuperUser.  I even saw one post somewhere in those sites (sorry, I can't remember where and cannot find it in my history) where there was a debate about whether the user's Asterisk question ought to be posted in SuperUser or ServerFault.   is an Asterisk question migrated from SuperUser to ServerFault.    is a comment on StackOverflow, by a rep of 635 where the user was told his question would be better asked on SuperUser or ServerFault.  Hence, my question, what is the most relevant Q&A site for this, ServerFault, StackOverflow, or SuperUser?


Most general $A \subseteq \mathbb R$ to define derivative of $f: A \to \mathbb R$?

I was looking up the definition of the derivative in several books, and what was making me uneasy was the first sentence, generally along the lines of "let $f$ be defined on...". They don't seem to be able to agree on what $f$ should be defined on. Most books say "interval"; one says "open set"; another just says "let $f$ be a real-valued function"; etc. So I decided to do a little investigation.  At the end of the day, we always define the derivative as the limit of a difference quotient (two versions), so we need to look into limits of functions. It turns out that the limit of $f$ at $a$ is only defined for $a \in (\operatorname{dom} f)'$ (we'll denote the set of cluster points of $A$ by $A'$ for convenience), because otherwise, the $0 < |x - a| < \delta$ part of the definition can be made false by choosing $\delta$ small enough to isolate $a$, thereby making the implication vacuously true, which gives non-unique limits, but we don't want that. So at this point, we know that $a$ must be a cluster point of the domain of the difference quotient.  A slight digression: It's easy to show that if $B$ is a finite set, then $A' = (A \cup B)' = (A \setminus B)'$. (That is, "adding" or "subtracting" a finite number of points doesn't affect the "stickiness" of a set.)  Let $A \subseteq \mathbb R$ and let $f: A \to \mathbb R$. For each $a \in A$, we can define a difference quotient function $q_a: A \setminus \{a\} \to \mathbb R$ by $$q_a(x) = \frac{f(x) - f(a)}{x - a}.$$  Now, (in a rather perverted pseudo-self-referential manner), we can define $$f': \{a \in A \cap A': \lim_{x \to a} q_a(x) \in \mathbb R \} \to \mathbb R \qquad \text{by} \qquad f'(a) = \lim_{x \to a} q_a(x).$$  We need $a \in A$ because $f(a)$ is needed to evaluate $q_a$, and we need $a \in A' = (A \setminus \{a\})' = (\operatorname{dom} q_a)'$ for the limit to be defined. So really, derivatives can be defined on sets that are much more general than intervals: we really only need $\operatorname{dom} f \cap (\operatorname{dom} f)' \neq \varnothing$ in order to talk about the derivative of $f$ at some point (of course, the derivative itself need not exist, but at least we can talk about it not existing).  And then I started getting worried... The function $f: \mathbb R \to \mathbb R$, defined by $$f(x) = \begin{cases} x, & x \in \mathbb Q, \\ 0, & x \notin \mathbb Q, \end{cases}$$ has no derivative anywhere. But if we restrict the domain to $\mathbb Q$, then suddenly every point is differentiable with derivative $1$? Now I'm starting to wonder if I made some stupid mistake in the development above, but I can't seem to find it.  So the question is, is the bolded statement above true?


Is there a keyboard shortcut to switch to a specific input source?

I have many input sources - English, French, Chinese Simplified and Japanese Hiragana, and pressing cmd+space or ctrl+space to scroll through the menu just doesn't do the trick. Is there a way to set up a keyboard shortcut to switch to one specific input source? e.g. cmd+ctrl+1 for english and cmd+ctrl+2 for french etc.? If using automator (or terminal) can solve the problem, I would gladly use it. Thanks.


Mac OS X Terminal - Basic commands not found by shell

I've had some problems recently with terminal. The shell isn't able to execute basic commands, since they are not being found.  Here's an example :  -bash: ls: command not found  I've been doing some research and I suspect that it's the PATH, but I have no idea how to fix it or even look at it.  Any help would be much appreciated, I'm not the most knowledgable when it comes to this stuff, just fyi.


Empty String comparison behaves different in Jboss 5.1 and Jboss 7

we are migrating code from JDK6/JBoss 5.1 to JDK8/JBoss 7.   In existing codebase, empty string validation was incorrectly written as str!="". However this code is working fine in JBoss 5.1/JDK6. But when trying to run the same code base in JDK8/JBoss 7, the empty string validation is breaking. I fixed this by using str.isEmpty() method. But why it is working differently in JBoss 5.1/JDK6 and JDK8/JBoss 7. The value for string object is retrieved from request.getParameter("<>") statement.  Code Snippet:  String tmpFlag= request.getParameter("Flag"); if( tmpFlag != null && tmpFlag !="" ){ //some logic }   request.getParameter("Flag"); --> returns "" String in both cases.


I am using Vim for windows installed in Unix mode. Thanks to this site I now use the gf command to go to a file under the cursor.  I'm looking for a command to either:   return to the previous file (similar to Ctrl+T for ctags), or   remap gf to automatically launch the new file in a new window.


How to show that the limit $\lim_{n \in\mathbb N}\sqrt[n]n$ exists using epsilon-delta method.

Finding the limit using L'Hopital's method might seem fine for me, but how can you prove that the limit exists :   $\lim_{n \in\mathbb N}\sqrt[n]n$


Why is $a^{-1}$ mod $p$ equal to $a^{p-2}$ mod $p$?

Why is $a^{-1}$ mod $p$ equal to $a^{p-2}$ mod $p$ in modular arithmetic?


I've created an RSS PHP Script which pulls information directly from a database so that I can pull and display the information on a WordPress website. The issue I am having is the XML is showing some errors  error on line xxx at column xxx: xmlParseEntityRef: no name   I've tried using sanitisation, and preg/str replace but no luck. PHP 7.3.8 running Linux and MySQL 5 and Apache 2.  <?php     // Create connection     $con = mysqli_connect("ip", "username", "password");      // Check connection     if (mysqli_connect_errno($con)) {         echo "Database connection failed!: " . mysqli_connect_error();     }      $sql = "SELECT * FROM database.table ORDER BY id DESC LIMIT 25";     $query = mysqli_query($con,$sql);     header("Content-type: text/xml");     echo "<?xml version='1.0' encoding='UTF-8'?> <rss version='2.0'> <channel> <title>My Title</title> <link>/</link> <description>Description about the RSS Feed.</description> <language>en-us</language>";     while($row = mysqli_fetch_array($query)) {         $rowid = $row['id'];         $id = $row['buyer_id'];         $title = $row['title'];         $message = preg_replace('/&(?!#?[a-z0-9]+;)/', '&amp;', $row['message']);         $message = str_replace('\'', '"', $message);         $update = preg_replace('/&(?!#?[a-z0-9]+;)/', '&amp;', $row['update']);         $update = str_replace('\'', '"', $update);         $url = $row['url'];         $created_at = $row['created_at'];         $updated_at = $row['updated_at'];         echo "<item> <title>$title</title> <link>$url</link> <description>$message</description> <update>$update</update> <pubDate>$created_at</pubDate> </item>";     }     echo "</channel> </rss>"; ?>   I get this error  which seems to be referencing an & sign which should be getting replaced.   Please can you assist?


I'm new to LaTeX, and just want to ask how the following table may be created using LaTeX: