How do you summon 100 zombies with one command block?

I'm making a minigame and I need to summon 100 Zombies in 1 command block. How do I do so?


I'm someone who writes code just for fun and haven't really delved into it in either an academic or professional setting, so stuff like these bitwise operators really escapes me.  I was reading an article about JavaScript, which apparently supports bitwise operations. I keep seeing this operation mentioned in places, and I've tried reading about to figure out what exactly it is, but I just don't seem to get it at all. So what are they? Clear examples would be great! :D  Just a few more questions - what are some practical applications of bitwise operations? When might you use them?


Why don't we take force proportional to velocity?

When a Force is applied on a body at rest, it produces Acceleration which is equal to change in Velocity. But due to the Force, we see that the Velocity is increasing consequently. So why don't we take both of them proportional to each other rather than Force and Acceleration?


A few weeks ago, Flairs were sent to the client as HTML data (in one way or another). Now they are simpler to use—a single PNG is generated and sent to the client. This is a good improvement, except for one tiny detail: Flairs contain a lot of text and straight lines, and these elements aren't appropriate to store as a bitmapped image. Particularly text looks bad without the subpixel antialiasing appropriate for the output screen. In addition, whereas the old flairs looked good when you zoomed the web page, the new ones, being bitmapped images, do not scale at all. Hence, the flairs looked and worked much better before, but are easier to use now.  Now, I am not an expert on web design, but I think I have found a solution: generate SVG (vector) images instead of PNG (bitmap) images! These can be embedded on a web page like any PNG image:     instead of     Hence, the simplicity is conserved. But SVG images are vector images, so text is sent as text, and rendered using the subpixel antialiasing appropriate at the client (and you can select and copy it as normal text). Also, being a vector image, it scales perfectly.  Of course I am aware that many browsers still doesn't support SVG images, but as far as I know, the latest versions of all major browsers do (or will very shortly (IE9)) support SVG. Another problem is that it might not be entirely trivial to embed the bitmap "Gravatar" in a SVG image, but to the best of my knowledge, it is possible (and not even too difficult).  I suggest that you start to support both PNG and SVG flairs. This way, webmasters may choose to support old browers at the cost of quality, or they may not. They may even check the browser name and version (either server-side or using JavaScript) and choose SVG if possible, and use PNG only as fallback for old browsers.


Subject-verb agreement with plural nouns

I am confused about numbers. Which one is correct?     Goals is what makes me feel alive.   or     Goals are what makes me feel alive.   And another example I am confused about:     Another factor is his enemies...   or     Another factor are his enemies...


I have created a storyboard where I frequently switch between slow-motion and normal motion. The scene involves a particle system, several animated objects and an animated camera.  How do I animate time for all objects globally? If possible I would love to do so using a curve so I can transition smoothly from real-time to slow-motion and back again. As far as I remember there was such thing as a "Time IPO" curve in Blender 2.4.x but I have yet to find the equivalent, nor do I know if that is actually what I am looking for.    See related question:


What's the best way to SSH to machines on the local network?

I have 2 computers, one that I use and one for the kids. I want to be able to ssh into their computer to control it (like to shut it down etc) but am curious the best way to do this. We both are in the same house and share the same internet connection.  What would be the best way to do this? From research, I read to install openssh-server on the remote computer but am stumped what to use for the hostname when trying to connect. Usually for VPS's it's the external IP but since we both share a wifi connection would it be the hardware IP? Should we be interfacing directly by LAN or by going through the internet?


Prove / Disprove : if $a \neq 0$ and is not invertible so $a$ is a zero divisor

R is a commutative ring with an identity element.  Prove or disprove that if   $a \in R ,\; a \neq 0 \;$and is not invertible  so  $a$ is a zero divisor.  I tried to pick $\;x \in R,\; x\neq 0\;$ s.t $\;ax = 0$  My first try led me to pick $\;x = ax-x$  $ax = a(ax-x) = a^2x - ax\;$ Then I thought that if i could prove that $\;a\;$ is idempotence I could prove that $\;ax = 0$


how to have a custom zsh auto_cd command

Instead of the normal cd I've created my own function  function cd {     builtin cd "$@" && ls -F }   This works great for when I use commands like cd someDir/subDir but not when I change directories via zsh's auto_cd someDir/subDir.  Is there a way to customize what command gets called for auto_cd?


I have this 4 classes, almost the same with only difference the type of  building parameter.  Is there some way to refactor/merge class Building and class NewBuilding to one. I tried creating a generic class but sBuilding.getSomething() then is not valid.  public class Building {  static void doSomething(SearchBuilding sBuilding) {         if (sBuilding.getSomething()) {             useBuilding(sBuilding);         }     }  }  public class NewBuilding {  static void doSomething(SearchNewBuilding sBuilding) {         if (sBuilding.getSomething() ){             useBuilding(sBuilding);         }     } }   public class SomeBuilding {      private final SearchBuilding building;      protected SearchBuilding getBuilding() {         return building;     }      protected void applyBuilding() {         Building.doSomething(getBuilding());     } }  public class SomeNewBuilding {      private final SearchNewBuilding building;      protected SearchNewBuilding getBuilding() {         return building;     }      protected void applyBuilding() {         NewBuilding.doSomething( getBuilding());     }  }


How to switch from Tourist visa to Resident visa status in the Schengen area?

I know that this question has been answered to some degree through other posts, but my question is this:  If my type-D visa to Portugal is valid as of April 16th, 2017, may I enter Portugal or any other Schengen country prior to this date under the terms of the 90-out-of-180 day tourist visa waiver granted to US citizens?  That answer seems to be a relatively straightforward "yes" - anyone disagree?  Specifically, if I were to enter Portugal or another Schengen country before my type-d visa was in effect (let's say March 15th, for example), and got my passport stamped at port of entry as a normal US tourist, how then, come April 16th, would I "activate" the visa?  Would I need to leave the country/Schengen zone and come back in order to have border control see and stamp/activate my visa or would it be assumed, if I was already in the country, that as of April 16th the visa becomes valid and I would have to do nothing?  If I was in a different Schengen country - Spain for example - how would I then register my presence in Portugal as of April 16th since there are no border checks between Schengen countries?    If anyone understands and can explain the mechanics of this, I would be very grateful.  I can understand the legality of coming in advance because I have that privilege anyways in the Schengen zone as a US citizen, but how to then migrate from tourist status to active visa status - do I need to do anything?  Thanks.


Happy New Year to you!  I am trying to create a Beamer document, and I realised that the foot-line's alignment is off. Is there any way to fix this? Since some TexLive update, I realised all my new typeset documents are misaligned - it used to be normal in the past.  \documentclass{beamer} \usetheme{Boadilla}  \title[Title]{This is the title}  \author[Name]{Author's name} \institute[Institute]{Author's Institute} \date[Date]{\today}  \begin{document} \begin{frame}     \titlepage \end{frame}  \end{document}


What do you call a person who talks about nothing but himself?

How to describe a person in a word who keeps mentioning about his own life story or about himself for every topic that is being conversed? Be it interesting or boring, he has the ability to pick out something that has happened to him or he himself creates a chance to talk about himself.   Edit: The person is not selfish. He does care for others. I am just saying that the person relates everything to his life and talks about it, that too not even in a conceited way. This person is experienced enough to relate everything to things that has happened to him.


I am currently designing and planning an app that I intend to release for iPhone and iPad. I don't currently have a Mac, so I really have no way to actually publish the app, but I don't really want to buy a Mac either just for the development of the app.  Is there any way that I can write (and maybe even test) the app on Windows, then, once I have a finished product, buy a Mac or borrow a friends Mac to publish it.  I know that there is no way to publish to the Apple App Store without a Mac, but I was wondering if there is a way that I could develop and test the app (in Objective-C) on Windows.


Is there a Stack Exchange site where I can ask questions about colleges?

Which/is there a Stack Exchange site where it would be appropriate for me to ask for opinions or thoughts on colleges I am thinking about attending?


Determine what device a directory is located on

If I do  # cd / # ln -s /home test # cd test # mount --bind $PWD /mnt   the entry in /proc/mounts is  /dev/sda2 /mnt ext4 rw,noatime,data=ordered 0 0   which is the device that is mounted to /home and is not easily deducible from $PWD which is /test. How can I determine which device (i.e., /dev/sda2) is going to show up in /proc/mounts in general given that the bind mount may be to a directory/file that is potentially "obscured" by symlinks, other bind mounts, etc?


I came across this text in Rudin's book where it has been mentioned that a non-empty finite set is closed.   But a closed set is a set which contains all of it's limit points in the set itself but none of the elements of a non-empty finite set can possibly have a limit point because a neighborhood of a limit point has infinite points . So how come a non-empty finite set be a closed set ??


I dont want a Bootchart to be generated on every startup. How do I disable bootchart ?  Once disabled, how do I re-enable bootchart ?  I don't mean uninstall.


Why does basic algebra provide one value for $x$ when there should be two?

I have the equation $x^2=x$.  If I divide $x$ from both sides I get $x=1$.  Yet clearly $x$ can also equal $0$.  What step in this process is wrong? It seems to me that there's only one step. And isn't dividing the same thing from both sides a valid step?  I hope this isn't a stupid question because I feel dumb asking about something so basic.  EDIT: To clarify, what I'm looking for is not only an explanation for why my methodology is wrong, but also a better methodology that will keep me from missing possible solutions in the future.


Let $f: G \rightarrow G$ be an isomorphism, with $|G| < \infty$, $f$ has no non-trivial fixed points and $f \circ f = id_G$. Show $f(x)=x^{-1}$ and $G$ is abelian. (Hint. Prove that every element of G has the form $xf(x)^{-1}$.   This is exercise 1.50 ii from Rotman - Introduction to the theory of groups. I have tried to do this exercise, but I couldn't get it.  What I have done already If $G$ is abelian, then $f(xf(x)) = f(x)x=xf(x)$. This showns $xf(x) = e$ because $f$ has no non-trivial fixed points and thus $f(x) = x^{-1}$. Exercise 15.50 i states $G$ is abelian iff $f(x) = x^{-1}$ is a homomorphism. I didn't succeed in proving $f(x) = x^{-1}$ so I thought I tried showing $G$ is abelian.  In conclusion, I showed:  $$G \text{ abelian} \Leftrightarrow f(x)=x^{-1}$$  However, I cannot prove either statement.  About the hint I thought about $g=xf(x)^{-1}$. Suppose we already know $f(x)=x^{-1}$, this means that every $g\in G$ can be written as $x^2$. Thus every element has a root, which seems kinda weird. I worked out $\mathbb{Z}_7$ and there you have two "cycles": (1, 2, 4) and (3,5,6). I thought you can do some kind of argument where you take $x, x^2, x^4, x^8, ...$ where you know that this is bound to have some repetition ($G$ is finite). But I don't really know the point of doing this, gets me nowhere.  The only way of proving the hint (I think) is just showing that the set $\{x f(x)^{-1} | x \in G\}$ has the same cardinality as $G$ (we can do that since $G$ is finite). Thus I need to show $xf(x)^{-1}=yf(y)^{-1} \Rightarrow x = y$. Could not do it. I think I need to use that $f$ has no non-trivial fixed points, but that just comes down to what I stated above.  Hint from you guys, no answers! I don't want the answer, I want to do it myself. I studied math long time ago and group theory was my favorite subject. I picked up the book to just work through all the exercises (beginning I know already, but there is some new stuff at the end). I try to do all exercises from all the stuff I already know to get into the subject. I don't want the answer itself. If you can just give a hint in the right direction, that would be awesome :)


Let ${W_t}$ be 1 dim Brownian motion and $X_t:=\exp(t/2)\cos W_t$ $t\in[0,T]$.  Show that $X_t$ is martingale.  My try is below.  I understood $df(t,W_t)=-\exp(t/2)\sin xdW_t$ , but I don't know why it become $X_t=1-\int_0^t \sin X_sdW_s$.  $f(0,X_0)=e^0 \sin X_0=1$? $X_0=?$  Please tell me.


I wanted to know if there was a way to change the texture of an object using keyframes during an animation. Thank you.


I'm a Linux newbie and I know I might be doing something that I'd rather be doing on Windows. But I use Ubuntu on a daily basis, like how I used to do the same with Mint. I'm not much of a gamer, in fact, I'm not a gamer at all, but I do play visual novels from time to time.  I thought I'd try out one called Area-X this time. I remember playing a similar game on Windows (by the same people) and just like the other one this is a ".swf" game. Is there any way I can run this game like how Windows runs it like an .exe or in Firefox like a flash game?  I tried copying the directory address and pasting it on Firefox's URL bar but it shows me the "opening file" screen where you save/open files. It doesn't run the way it does by default on Windows, which is totally understandable since I'm using a different OS.  I'd like to just switch to my Windows, but it just broke out of the blue, literally. I haven't done anything to trigger it, it's like when you touch something and it shatters. But that's for another topic and I don't have any interest in restoring it.  If there's no way of running it on Linux I completely understand. Thanks! :)


How can I extract a specific text from a string?

I need to find the part of the string between the two tags : First tag
<a href="/questions/ Last tag " class I'm trying to use indexof and substring but what should I do with the substring ? using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms;  namespace MyString {     public partial class Form1 : Form     {         private string htmlCode = "";          public Form1()         {             InitializeComponent();              var myString = GetSources();              int index = myString.IndexOf("
<a href=") + 11;             string restulr = myString.Substring(index, )              //
<a href="/questions/              // " class         }          private string GetSources()         {             using (WebClient client = new WebClient()) // WebClient class inherits IDisposable             {                 htmlCode = client.DownloadString("https://myStringTest.com");             }              return htmlCode;         }          private void Form1_Load(object sender, EventArgs e)         {          }     } }


Does the rank-nullity theorem hold for infinite dimensional $V$?

The rank nullity theorem states that for vector spaces $V$ and $W$ with $V$ finite dimensional, and $T: V \to W$ a linear map,  $$\dim V = \dim \ker T + \dim \operatorname{im} T.$$  Does this hold for infinite dimensional $V$?  According to , the statement is false.  But according to , page 4, the statement is still true.  I'm thoroughly confused.


C# String Sort with Leading Decimal Numbers?

2.1-hello     2.2-world     2.3-people     2.10-everywhere  results in this when items are added to a SortedDictionary<String,String>     2.1-hello     2.10-everywhere     2.2-world     2.3-people  What is the best way to get the sort with the behavior decimal/numeric order before the "-" character, with conventional ASCII order/collation after that? Original code was splitting on the "-" and converting the initial parts, which is really not efficient. All ideas appreciated. Thanks.


Using tikz or something similar for generating general graphs?

What I'm looking for is graphs that can be generated very easily? for eg just an x-y graph with some linear function or quadratic/cubic/quartic to be plotted? a general case nothing specific without numbered axis etc. I need to be able to distinguish between cases where I have different roots for eg for some general cubic i could have 2 negative and 1 positive etc is there a very easy way to do this? where i can just move different degree polynomials around a graph? I'm no expert using tikz well to be honest i wouldn't know the first thing about it. Also if some generic parabola can be added anywhere is the positive quartile and "slid" up and down anywhere... I don't need anyone to write up code just a push in the right direction would be greatly appreciated.


We have this phrase that aims to communicate that after an organization is selected, the table is shown but also the button as well.     The table and button are shown after an organization is selected.   Wouldn't it sound better to include "the" like:     The table and the button are shown after an organization is selected.   Is there a rule or something to generalize its correct use?


What is the benefit of latent variables?

I have a model $p(x)$. How can adding latent variables $z$ help me? What are the main benefits of modelling $p(x, z)=p(x|z) p(z) $ instead of $p(x) $ alone? What would be some examples where modelling the latter would make my model better?


My question is:  We have addition, subtraction and muliplication of vectors. Why cannot we define vector division? What is division of vectors?


i had windows8 os in my laptop HP Pavilion G series.it was partitioned in c: d: e: drives.i installed ubuntu 14.04.all the partitions are gone and ubuntu is showing a single disk.i last all the data can i recover that data.


How do I copy a card?  I keep reading that I have to tap the side bar on the back of the card.  I'm assuming the side bar is those little grey lines... But they don't respond to tapping.  I know I am the administrator because I'm the only on on the board.


Running APT does not work: insserv: warning: script 'K20.depend.start' missing LSB tags and overrides

Whenever I install something I get one of two things   $ sudo apt-get install netflix-desktop   will result in  Reading package lists... Done Building dependency tree  Reading state information... Done E: Unable to locate package netflix-desktop'   or   $ sudo apt-get install -fy    will result in  Errors were encountered while processing: apache2 cups-daemon mysql-server-5.7 bluez cups-core-drivers cups bluez-cups mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   I'm sure that those particular applications are corrupted but I have no idea on how I should remove/replace/repair.   EDIT This is the start of the full output - there's about 140k characters of   .depend.start .depend.boot .depend.stop .depend.start   etc.etc.etc.  $ sudo apt-get install -fy Reading package lists... Done Building dependency tree        Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. 8 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up apache2 (2.4.18-2ubuntu3.4) ... insserv: warning: script 'K20.depend.start' missing LSB tags and overrides insserv: warning: script 'K20.depend.boot' missing LSB tags and overrides insserv: warning: script 'K20.depend.stop' missing LSB tags and overrides insserv: There is a loop between service plymouth and urandom if started insserv:  loop involving service urandom at depth 4 insserv:  loop involving service hwclock at depth 3 insserv: There is a loop between service .depend.start and udev if started insserv:  loop involving service udev at depth 1 insserv: There is a loop at service .depend.start if started insserv: There is a loop at service plymouth if started insserv:  loop involving service networking at depth 6 insserv:  loop involving service mountdevsubfs at depth 3 insserv:  loop involving service mountkernfs at depth 1 insserv: Starting .depend.start depends on plymouth and therefore on system facility `$all' which can not be true! insserv: Starting .depend.boot depends on plymouth and therefore on system facility `$all' which can not be true! insserv: Starting .depend.stop depends on plymouth and therefore on system facility `$all' which can not be true! insserv: Starting .depend.start depends on plymouth and therefore on system facility `$all' which can not be true!


Re-using text from a grant proposal in a paper (or vice versa)

I have a grant proposal that I'm ready to submit, and I would like to re-use a significant amount of the text (on the order of 5-8 pages) in a paper that I intend to submit to a journal for publication.  Is this considered self-plagiarism?  As I suggested in the title, I am also interested in the reverse direction of this.  Is it okay to take significant amounts of text from (e.g.) my own unpublished doctoral dissertation and use it in a grant proposal?  If this were an issue of paper-to-paper copying I know both of these would be clearly off-limits.  The key issue that I am wrestling with is whether the rules are different for unpublished works like dissertations and grant proposals.


How to mix a jpeg background image with a 3D scene generated using Filmic Blender?

I want to compose 3D-model over image, and I use filmic to get more suitable result. But I want the background image to remain in the original colors. So I try to use this setting:    but it haven't setting "look" ("high contrast", "low contrast", ets..) here, so color changes..  How to solve this?  Of course, I can save my render and compose it with jpg-image in different place - no problem here, but my question is about how to make it in place. It will give ability to control colors in filmic color space and see the results immediately.   UPD: image is from image node:    UPD2:     you can't really convert a display referred image to the scene   referred domain; the information has been permanently lost   Ok, but how to make the colors at the output looks close to the original?  UPD3:  This filmic version is from daily build.


I'm a software engineer and I need to write a class that will hold code common to a Film class and a Series class. I need to name this class with a hypernym for both.  For the moment, the solution we have found is AudioVisualEntity, but we are not very happy with it. Is there a better term?  To help clarify things, here are the properties this class will hold :   originalTitle title audioLanguages countries colorType images videos synopsis productionYear shortSynopsis releaseDates contentClassification averageRating genres themes budget catchPhrase altId slug   Here is what the Film class adds:   type : FilmType(long or short film) duration   Here is what the Series class adds:   type : SeriesType seasons episodes


Lossless H.264 MP4 file created from images cannot be played in QuickTime

I'm trying to find the optimum settings for creating a .mp4 file that will load easilly both on Mac and Windows.  Right now with these settings  f image2 -pattern_type glob -i '*.png' -vcodec libx264 -preset ultrafast -qp 0 out.mp4   the resulting .mp4 can not be launched in OSX. ie Quicktime says the file is damaged and I can only view if I drag to an empty browser window.  Here is my complete output  Administrators-iMac:anim foo$ ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec libx264 -preset ultrafast -qp 0 out.mp4 ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers   built on Jan 17 2015 12:08:40 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)   configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda   libavutil      54. 15.100 / 54. 15.100   libavcodec     56. 13.100 / 56. 13.100   libavformat    56. 15.102 / 56. 15.102   libavdevice    56.  3.100 / 56.  3.100   libavfilter     5.  2.103 /  5.  2.103   libavresample   2.  1.  0 /  2.  1.  0   libswscale      3.  1.101 /  3.  1.101   libswresample   1.  1.100 /  1.  1.100   libpostproc    53.  3.100 / 53.  3.100 Input #0, image2, from '*.png':   Duration: 00:00:05.76, start: 0.000000, bitrate: N/A     Stream #0:0: Video: png, rgba, 1080x720, 25 fps, 25 tbr, 25 tbn, 25 tbc No pixel format specified, yuv444p for H.264 encoding chosen. Use -pix_fmt yuv420p for compatibility with outdated media players. [libx264 @ 0x7fc9e2801800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x7fc9e2801800] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-bit [libx264 @ 0x7fc9e2801800] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0 Output #0, mp4, to 'out.mp4':   Metadata:     encoder         : Lavf56.15.102     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1080x720, q=-1--1, 25 fps, 12800 tbn, 25 tbc     Metadata:       encoder         : Lavc56.13.100 libx264 Stream mapping:   Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame=  144 fps=0.0 q=-1.0 Lsize=     606kB time=00:00:05.76 bitrate= 862.5kbits/s     video:605kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.225304% [libx264 @ 0x7fc9e2801800] frame I:1     Avg QP: 0.00  size:181499 [libx264 @ 0x7fc9e2801800] frame P:143   Avg QP: 0.00  size:  3060 [libx264 @ 0x7fc9e2801800] mb I  I16..4: 100.0%  0.0%  0.0% [libx264 @ 0x7fc9e2801800] mb P  I16..4: 77.8%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:22.2% [libx264 @ 0x7fc9e2801800] coded y,u,v intra: 0.2% 0.1% 0.1% inter: 0.0% 0.0% 0.0% [libx264 @ 0x7fc9e2801800] i16 v,h,dc,p: 100%  0%  0%  0% [libx264 @ 0x7fc9e2801800] kb/s:859.84


How can a lens produce better (or worse) colors than another one?

So I was looking the , which looks pretty cool. However in the copy they claim that it produces images with great color.  Now if the lens glass is slightly tinted, then  that will naturally have an effect on the color. However I am wondering what other aspects of lens  design affect color reproduction.  So other than glass tint, how can one lens produce better colors than another?


Proving the Nilradical of a Commutative Ring is closed under addition.

Let $R$ denote a commutative ring and $Nil(R)$ is the ideal consisting of all nilpotent elements in $R$. I am attempting to prove that $Nil(R)$ is closed under addition.    My work so far is summarized in the following. I know that $a,b\in{Nil(R)}$ implies there exists integers $k_{1},k_{2}$ such that $a^{k_{1}}=b^{k_{2}}=0_{R}$ where $0_{R}$ is the additive identity of $R$.  To assert that $a+b\in{Nil(R)}$ is to assert the existence of an integer $k_{3}$ satisfying $(a+b)^{k_{3}}=0_{R}$, for explicit rings such as the real or complex numbers this is very straight forward and one can merely use exponent properties but I am admittedly uncertain how to go about showing the Nilradical is additively closed for an arbitrary Ring where the elements may not be numbers but objects. Any hints or helpful observations showing how to prove this would be much appreciated.


Why Is Most Life Symmetrical Externally But Not Internally?

Mammals, reptiles, arachnids, insects, etc are all as far as I am aware symmetrical in appearance.  Take a human for instance, make a line from the top of our head right down the middle. However, internally it is not the same. Our organs excluding the kidneys, lungs, reproductive organs, etc are not symmetrically placed in our body.   Why do we not have an even number of each organ so it can be placed symmetrically? If we have a single organ why is it not placed in the middle like the brain or bladder is for instance? Is there some evolutionary advantage that led to this setup?


gives a table of certain constants in different systems of units. I noticed that in Gaussian and electrostatic CGS the value of $\epsilon_0$ equals the dimensionless $1$.  I wondered whether anyone could provide justification for this? I was under the impression that $\epsilon_0$ is not even necessary in these units since it's essentially just a dimensional conversion factor in the SI, however I suppose it would still be possible to convert it into CGS units. How is this done?


Unable to resize the partition because the disk was locked in Ubuntu 18.X

I tried to resize the partition using GParted, and it didnt work because it's being used by system.     Someone said that i need to do the GParted in a live CD, so i made a Ubuntu Installer into a USB using rufus. I also changed the boot priority in BIOS to boot the USB stick first. But i am unable to enter the live CD installer. It just keep appear the grub menu which show which OS should i use, Ubuntu or Windows.  How could i resize the ubuntu partition in proper way ?  EDIT  I got this when try to enter UEFI: USB using teh ESC key.    EDIT 2  I tried the duplicated question's answer but it turns to be like this


Delete the tag [website] and its synonyms

The current SO tag  (and its synonym ) should be removed from SO entirely. They currently serve no useful purpose for a question (all relevant questions have almost always been also tagged with a more-related web technology tag, such as , , or ), and simply serve to waste a tag space on a question that could be used to hold a more relevant tag. This tag conveys no further information to someone reading the question; by seeing one of the more relevant tags, the reader is already made aware that the question utilizes the web.  Its description is simply a definition of a website from Wikipedia:     A website is a collection of related web pages containing images,   videos or other digital assets. A website is hosted on at least one   web server, accessible via a network such as the Internet or a private   local area network through an Internet address also called URL.


How to show that $\lim_{n\to\infty} \frac{n}{2^n}\sum_{k=1}^n\frac{1}{k}\binom{n}{k} = 2$?

I am trying to evaluate the limit $\lim_{n\to\infty} \frac{n}{2^n}\sum_{k=1}^n\frac{1}{k}\binom{n}{k}$. While numeric simulations show that the limit gets close to 2 when n goes to $\infty$, it is not clear to me how to simplify the sum $\sum_{k=1}^n\frac{1}{k}\binom{n}{k}$. Is there any known expression for the result of this summation?


Is golden syrup with black around the edges bad?

I had a tin of golden syrup for a long time - longer than I care to admit. When I opened it up yesterday (to sweeten up some mulled wine), it was granular (a bit like honey can be), and black around the edges.   Is this 'bad', or just different?   Is the blackness the result of some chemical reaction with the tin?  And in general, does it eventually go off, or does it last indefinitely?


Can a Large creature enter Leomund's Tiny Hut from below?

The other day one of my spellcasters conjured  so his team could sleep in peace:  A 10-foot-radius immobile dome of force springs into existence around and above you and remains stationary for the duration. The spell ends if you leave its area. Nine creatures of Medium size or smaller can fit inside the dome with you. The spell fails if its area includes a larger creature or more than nine creatures. Creatures and objects within the dome when you cast this spell can move through it freely. All other creatures and objects are barred from passing through it. Spells and other magical effects can't extend through the dome or be cast through it. The atmosphere inside the space is comfortable and dry, regardless of the weather outside. Until the spell ends, you can command the interior to become dimly lit or dark. The dome is opaque from the outside, of any color you choose, but it is transparent from the inside.  I had assassins waiting for them for an ambush. One of my assassins was a Druid who transformed into a Earth Elemental and earth glided underneath the tiny hut to get inside. My thought was that if the earth elemental burrowed underneath and reappeared inside the tiny hut it would break the hut because it's a Large elemental. Will this happen, or does it not count because it wasn't included during the casting time?


Alright, recently there was a question on 9gag whether the digits of $\pi$ may contain $\pi$ itself . One user had - in my opinion - a really plausible answer:  .  Nevertheless, I would still argue that $\pi$ can "contain" itself. Since $\pi$ is a non-ending sequence of decimal places, consider that the starting index of the repetition can be an infinitely large natural number. We therefore have an infinite non-repeating sequence prior to that index, thus it would still fulfill the requirement of non-repetitiveness in the sense of $ \pi \not\in \{a/b\} \; \forall \; a,b \in \mathbb{N}$.   I wanted to know if this argument is reasonable and what you think about it.    @5xum As for your first remark:  Let that starting index be $\aleph_0$, the smallest infinite cardinal number.   As for your second remark:  Assume the $(n+1)$-th digit is $\aleph_0$.


How to solve limit using Cesaro-Stolz lemma

I have to solve:   $$\lim_{n\to\infty} \frac{\sum_{k=1}^{n}n^p}{n^{p+1}}$$ where $p \in \mathbb{R}$  So far I did the basics but don't know what to do from here:  $$ \lim_{n\to\infty} \frac{(n+1)^p}{(n+1)^{p+1}-n^{p+1}}$$


Input n Repeat   n= n/2 Until n<= 1   i'm not sure whether this has a time complexity of O(n) or O(log n) since n is being halved in every iteration of the loop...  I know that to calculate the time complexity you have to go through each operation and see how many times it will be executed with respect to the input, the part that confuses me is that since we are changing the value of the input with every iteration of the loop, what effect does that have on the total time complexity?  any information about calculating time complexity of algorithms from just looking at code would be appreciated as i still don't quite have a hang of it...


Why are edits in the first 5 minutes not recorded?

What is the purpose of the 5 minute grace period for editing a new post? Is there a reason edits during that time aren't displayed as normal? I don't see the rationale for such a feature.


Fast Java library for circle recognition

I'm looking for a Java library for circle recognition in a supplied bitmap. My Java knowledge is too basic to implement eg. Hough transform efficiently (Java newbie).  Thanks!


If $\bigcup F = A$ then $A\in F$ then prove that $A$ has exactly one element

This is one question which has been asked in Velleman's How to prove book:     Suppose $A$ is a set, and for every family of sets $F$, if $\cup F = A$ then $A ∈ F$. Prove that $A$ has exactly one element   This question has been already proved  but isn't something like this an counterexample of the proof:  $ F = \{\{1\},\{2\},\{1,2\}\}$   $ A = \{1,2\} $        Now,  $ \cup F = \{1,2\}$  and also $A \in F$ but $A$ has more than one element.             Is my counterexample valid ?


Phrasal verbs are usually two-word phrases consisting of verb+adverb or verb+preposition.  Like many other verbs, phrasal verbs often have more than one meaning.  For instance:   Back up means reverse:     You'll have to back up your car so that I can get out.  Back up means support:     My wife backed me up over my decision to quit my job.    Can we switch the word order?      You'll have to back your car up so that I can get out.     My wife backed up me over my decision to quit my job.     Is there any hard and fast rule about the usage of phrasal verbs?


Allow voting on moderation of moderators

There have been multiple times that moderators have near instantly closed valid questions.   This authoritarian action is completely undemocratic.   I've found more than multiple times that questions have been reopened.   See      @KilianFoth is right. Nevertheless downvotes should be for bad   questions, not for questions we don't like. Furthermore, there are   already three votes to close the question because it would be "opinion   based", despite the question being totally neutral and non   controversial (either there are such operators in some exotic language   or there are't).   And:      4 "primarily opinion based" close votes for a question that is   definitely not opinion based? WTF? That is one of those cases were I   really wish there were a "keep open" close vote option. – Heinzi Feb 7   '18 at 7:51   Moderators are granted moderation power  that comes from asking or answering questions not on any moderation experience or merit. Meaning they could be great moderators or terrible moderators. Either way they are given that power without training, guidance or experience.   The users and typically new users have reported despair at topics closed or moved to other communities. Since late last year Stack Exchange has claimed it wanted to prevent that.   I suggest that part of that effort users should be able to vote or grade the quality of moderators, moderators who again, could be good, great or terrible at moderation. We don't know!  If users with moderation power (moderators) can close questions, users without moderation powers should be able to grade them.   Not a duplicate of provided questions (see comments).    Since you down voted my issues every year I post on them I'll give you some replies you can use to save time.   CANNED REPLY 1: Your idea is stupid and you're stupid. Your question is a duplicate. We've heard it many times before. Instead of taking that as a sign for improvement we'll defend the existing system the way it is and dismiss your concerns. Our system isn't oppressive, you're just a liar. Even if it is we have plenty of users. Your issue is not important us.   CANNED REPLY 2: Thank you for your suggestion. If you took the time out of your day to mention it it must be important to you. If it's important to you then it's important to us and it's not our desire to cause trauma to our users. While we get a lot of feature requests we can't address them all. We'll take your suggestion into consideration as we make improvements to our sites.


Adobe readers won't display 2 pages in full screen

There's an almost 6 year old question about this () that I came across while searching for a solution.  In Acrobat Reader DC (version 2015.020.20042) on a Windows 10 machine. I click on  View | Page Display | Two Page View  and the page look great. But the moment I click on full screen I have a single page filling up the middle of my screen with massive amounts of emptiness on both sides.   Thinking that the problem was the new reader, I uninstalled Acrobat Reader DC and installed (downgraded to?) Adobe Reader XI and still had the same problem. Two pages viewed nicely in "windowed" mode, but the moment I went to full screen I had only a single page showing at a time.  To summarize, I'm on Win 10, I've tried both ARDC and ARXI and both refuse to show 2 pages in full screen mode.   Does anyone have a solution to this?  I swear that sometime in the past, I was able to view 2 pages in full screen mode.


This Question is almost the same as the previously asked -Question. However I need to find the IP address(es) of a Linux Machine.  So: How do I - programmatically in C++ - detect the IP addresses of the linux server my application is running on. The servers will have at least two IP addresses and I need a specific one (the one in a given network (the public one)).  I'm sure there is a simple function to do that - but where?    To make things a bit clearer:   The server will obviously have the "localhost": 127.0.0.1 The server will have an internal (management) IP address: 172.16.x.x The server will have an external (public) IP address: 80.190.x.x   I need to find the external IP address to bind my application to it. Obviously I can also bind to INADDR_ANY (and actually that's what I do at the moment). I would prefer to detect the public address, though.


"+-1" in the trophy display for reputation changes, possible bug?

I was browsing through Meta StackOverflow, and I came across this:   I had performed this action a few days ago (June 16, 2019), and it had decremented my reputation that moment but it suddenly popped up now (June 20, 2019) and notified as "+-1". I'm using firefox browser v67.0.2 (64-Bit).


Ability to search for sites, not just for questions?

From time to time I'll find myself with a question to ask, but no clarity on which Stack Exchange site I should ask it. Alternatively, I'll know that a certain site exists, but can't remember the name, only the topic. So, I'll want to execute a search for the appropriate site.  Problem: the main Stack Exchange search bar ("Search all sites") searches for questions, but does NOT search for sites. The results are only questions, and it's pretty clear that the containing site's topic doesn't play any role in their ordering. I sometimes have to go absurdly deep in the results to get to a question in the clearly relevant site.   Some examples:   When looking for the "Gardening and Landscaping Beta" site, searching for "landscaping" first shows the site as the 21st result, but searching for "gardening" doesn't show the site until the 220th result When searching for "mathematics", the "Mathematics" site doesn't show up until the 665th result When searching for "english language", the "English Language Learners" site doesn't show up until the 268th result, and the "English Language & Usage" site doesn't show up until the 710the result When searching for "Linux", the "Unix & Linux" site isn't in the first 1000 results When searching for "travel", the "Travel" site isn't in  the first 600 results When searching for "cooking", the "Seasoned Advice" site isn't in the first 600 results.   Nobody but a hyper-persistent guy like me would go anywhere near as far down the results list to find these sites, which means there's no practical way for a user to find a relevant site.  Yes, there's a list of all the sites, but given that there are (currently) 173 of them, reading through the entire list trying to figure out which one fits my need isn't helpful.  So, could users have the ability to look for sites, not just for questions?


Does an classical charge that is stationary in a gravitational field radiate?

The well known Larmor formula tells us that an accelerated classical charge radiates a power proportional to the square of the acceleration. It has been  that a charge in free fall in a gravitational field does not radiate. Since gravity is locally equivalent to acceleration, one may wonder whether a charge at rest in a gravitational field radiates. The  is that it does. However this radiation is not  to an observer in the same reference frame! Apparently, the radiation does not carry energy or momentum, or it would be observable, in this reference frame and this would mean that charged matter behaves differently from neutral matter in gravity.    How does unobservable EM radiation without energy and momentum make sense (Q1)?  Does the physical origin of charge acceleration determine whether radiation is observable or not (Q2)?  Is the answer to the question in my title "It depends?"?   Note added:  I did not find the discussion at  and  sufficiently enlightening.


Let say we have a group of models (car models, for example), how would you refer to it?: model group or models group? and in plural: models groups or model groups? We wanted to create a variable for a code and were discussing about the right usage, modelGroup or modelsGroup? Thank you!


Let $u_n=\dfrac{1+2^2+3^3+...+n^n}{n^n}$. Prove that : $$\lim u_n=1$$ I tried to prove that $u_n< something$ have limit  is 1 ; but I can't


Backup of clients' directory to Windows Server 2008

We have a machine running Windows Server 2008, and we need to take backup of folder from a desktop on LAN. This folder is not shared.   Is there any tool or software to do this, or can a scheduled task be made which should automatically take the backup of that folder date-wise & make a copy on server? Ie can we do it through Schedule Tasks option ?  Desktop systems have Windows Vista/Windows 7.


Suppose $K$ is a linear operator in a separable Hilbert space $H$ such that for any Hilbert basis $\{e_i\}$ of $H$ we have $\lim_{i,j \to \infty} (Ke_i,e_j) = 0$.  Is it true that $K$ is compact?  Thanks in advance for any help.


How can I run 2 task on reboot at 10 min apart in ubuntu

I am trying to run 2 tasks at reboot on Ubuntu VPS. I know that I can setup crontab job for it, by doing  "@reboot Taks1" "@reboot Taks2" But what I want is to run the 1st task at reboot and 2nd task 10 min after reboot. Any help would be much appreciated. Thank you.


Are there alternate methods to activate Steam CD Keys?

Just recently (today), I bought a Humble Bundle and I do not have access to a PC with the Steam Client...  Is there any alternate ways to activate the keys I've got from my bundle? Like calling APIs manually or external programs? (Re-downloading and reinstalling Steam is NOT an option)  Or is it not possible whatsoever?    I remembered the Humble Bundle had automatic key redemption... But it's not there anymore as the key redemption API has been shut off.


How this is possible?   ACL is not enabled in /etc/fstab, and I can verify it via manually opening fstab or running sudo mount | grep -i acl. But getfacl & setfacl Commands would work without any complains!   The problem is, first I need to understand why this is working, and second I need to check other systems to see if ACL support is available on them or not, so how can I do that?  ACL commands were tested on both / & /mydrive(see below for mount output).  OS Info:  uname -a: Linux localhost 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux  lsb_release -a: No LSB modules are available. Distributor ID: Debian Description:    Debian GNU/Linux 7.5 (wheezy) Release:    7.5 Codename:   wheezy   mount: sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=384309,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=308664k,mode=755) /dev/disk/by-uuid/3180f94a-e765-44e9-93f7-33aa1c6422c0 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1188500k) /dev/sda5 on /mydrive type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)


I am trying to figure out how can I disable/hide the App Name in MacOS X Lion dock. I've also attached an image so you can see what I mean.    Someone has any idea about how can I hide that?


Read out value from the option of getopts

How can I read the value from the getopts option. Here's an example: while getopts "h:n" opt; do case "$opt" in  h) echo "Help" ;; n) # Number= <- Save in this variable esac done  When I start my program like this: ./pr.sh -n 1234 the value should be read out with option "-n" (1234), and stored in the variable "Number"


On defining a new command, and using it, LaTeX throws an error that Missing \begin{document}. What is the issue here?  \documentclass[12pt]{article} \newcommand{details}[2]{ #1 \hspace{2cm} : #2 } \begin{document} \details{name}{test} \end{document}


The sentences seems a bit wrong but when you replace cat with something else it sounds right:  I like A (Do you like A or B?). I like apples (Do you like apples or oranges?).  but...  I like cat. (Do you like cat or dog?)  What rule applies to these sentences?


Why does the screen go black when I make the shutter speed faster?

I have a Canon 600D and in manual mode, if I make the shutter speed higher, then the screen turns blackish/black; but with the same settings when I open the camera's flash it works well. In the day, the flash looks bad--that's why I can't shoot at daytime in public.


According to genome.gov, .  I understand that the main reason parents and children have different genomes is because of random mixing of 2 genomes, but that there are also very small differences caused by random mutations.  If all of a person's cells have identical genomes, then does that mean that random mutations only occur in gametes?  I also understand that if sunlight hits my arm, it can cause random mutations.  So do all cells in a person's body really have the same DNA?


What values do I recalculate when I Wild Shape?

When I Wild Shape, I take a beast's STR, DEX, and CON scores. I  and my INT, WIS, and CHA scores. I will focus this question on the assumption I'm proficient in Athletics, and I'm turning into a beast also proficient with Athletics.    I have +0 STR and +3 Proficiency, so +3 in Athletics Beast has +2 STR and a +4 bonus in Athletics   What is my Athletics bonus now?  On one hand, I keep my +3 proficiency bonus (so if I calculated things from scratch, I should have Athletics = +2 STR + 3 Prof = +5). On the other, tweets like  claim I should just use the beast's modifier, a +4, since it is higher than my Druid's +3.     A druid in beast form uses his or her proficiencies, except when the beast has the same proficiency with a higher bonus.   But in this case, I'm now a creature with +2 STR, +3 Prof, and a +4 in an Athletics skill I'm proficient with. Can anyone confirm if I do or do not recalculate proficiency bonuses when I Wild Shape (or Shapeshift)? The rules are not explicit, and the way I've interpreted them is that you take the new STR, DEX, CON scores, and recalculate modifiers for your skills. After this, if the Beast had a better bonus than you now have, you then take its bonus.    Similar , but it mostly refers to interactions with Expertise and other edge-cases. I'm looking for an (preferably backed-up by RAW or official comment) answer on whether I should recalculate my stats to accommodation my Proficiency Bonus with my new STR, DEX, or CON modifiers.  Also keep in mind, from this , it seems a reasonable opinion that we should recalculate bonuses when scores change. But if you don't recalculate any proficiencies, how would this be affected? You could be cursed to negative STR and keep a massive athletic bonus.


How to prove following inequality : $$ \iint_V \frac{dxdy}{x^{-1} + \mid \ln y \mid -1} \le 1, V = [0, 1]×[0, 1]$$ Could you say me how to start?


How to search for questions without two specific tags

Imagine there is tag1 and tag2   I would like to get all the results of the search for posts that do not contain any of those two tags.  What I have tried:  /tagged/-tag1 -tag2  It didn't work.


Calculation of Relative Risk Confidence Interval

I am using the epitools in R for calculating the confidence interval of relative risk.    There are three methods inside for calculations: namely Wald, Small and Boot.  I want to find some article describing the three methods, but I can't find any, can anyone help? Thanks!


Could somebody help why my simple GUI code is unable to run?

Here is my code   import javax.swing.JFrame; public class Server { //----------------------------------------------------------------- // Creates and display the main program frame. //-----------------------------------------------------------------     public static void main (String[] args)     {         JFrame frame = new JFrame ("exit");         frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);         ServerPanel panel = new ServerPanel();         frame.getContentPane().add(panel);         frame.pack();         frame.setVisible(true);     } }   And its panel  import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ServerPanel extends JPanel {  private JButton push;    public ServerPanel () {  push = new JButton ("Click this button to close the server....."); push.addActionListener (new ButtonListener());  add (push); setBackground (Color.red); setPreferredSize (new Dimension(500, 500)); }   private class ButtonListener implements ActionListener {  public void actionPerformed (ActionEvent event) {  System.exit(0); } } }   I just want to create a simple GUI that will show a button that if its clicked, it will immediately close the program ,but every time I try to run the Server.java it gives me this:  Exception in thread "main" java.lang.NullPointerException        at java.awt.Container.addImpl(Unknown Source)        at java.awt.Container.add(Unknown Source)        at ServerPanel.<init>(ServerPanel.java:20)        at Server.main(Server.java:12)   Can anybody fix it?


Ubuntu 16.04 - Some applications are slow to start

Applications such as Chrome (no problem with other browsers), terminal, print screen, they all take ages (~1 minute) to start. All applications that I invoke with key-binding are slow. This has been going on for a couple of days.  Lenovo Yoga 500  Processor: AMD A8-7410 APU with AMD Radeon R5 Graphics × 4   Graphics: Gallium 0.4 on AMD MULLINS (DRM 2.43.0 / 4.4.0-77-generic, LLVM 3.8.0)  OS Type: 64-bit  glxinfo | grep "OpenGL version" OpenGL version string: 3.0 Mesa 12.0.6   EDIT 1: output for google-chrome  [3871:3871:0509/102048.258355:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process.  Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.   output for gnome-screenshot is immediate; it takes more than 1m when I press PrtSc.


Unable to open .dwg files in Ubuntu 20.04LTS

Hi I just installed Ubuntu 20.04LTS.  I am unable to view .dwg files which I receive in any of the available platform like Qcad, Librecad, zwcad, Freecad.  Please suggest me way out as otherwise I am finding ubuntu 20.04LTS extremely good.


I have a concern with nested quantifiers.  I have: $$  \forall x \exists y \forall z(x^2-y+z=0) $$ such that $$ x,y,z \in \Bbb Z^+$$   My first question, can it be read like this:  $$  \forall x \forall z \exists y(x^2-y+z=0)  $$  The way I did it, is I started off with $x=1, z=1 $   $$ 2-y = 0 $$ $$ y =2 $$  Is this a good approach?


Convert my physical Operating System to a VirtualBox Disk

Is it possible to convert a Physical Ubuntu Install (Intel based PC with Ubuntu 10.10) to a virtual box disk, so that I can use that same environment on a separate pc or can keep it virtual for testing?  Something similar to "Disk2VHD" which converts a physical Windows 2K3 and above box into a VHD or VMware image.  Will be grateful for your assistance ! Kind Regards


VMware guest static IP keep changing to DHCP

I inherited VM server with two guests (with Debian) running with static IPs (they work fine).    I created new guest (Debian 8.5) and configured it with static IP through /etc/network/interfaces in same way the other guests are configured (standard iface eth0 inet static etc).    On this guest once a 24h IP reverses to DHCP configuration but after restarting eth0 it works with static IP again.    All guests are on the same vSwitch and in the same virtual network (connected to the same Physical Adapter).    I am managing VMs with vSphere Client 5.5.  /etc/network/interfaces on the guests:  This one is working correctly:  # The loopback network interface   auto lo iface lo inet loopback  # The primary network interface allow-hotplug eth0 iface eth0 inet static     address 192.168.1.40     netmask 255.255.255.0     broadcast 192.168.1.255     gateway 192.168.1.1       dns-nameservers 8.8.8.8   This one is keep going back to dhcp:  # The loopback network interface   auto lo iface lo inet loopback  # The primary network interface allow-hotplug eth0 iface eth0 inet static     address 192.168.1.10     netmask 255.255.255.0     broadcast 192.168.1.255     gateway 192.168.1.1       dns-nameservers 8.8.8.8 4.4.4.4


I would be mostly obliged if you can help me:  I would like to insert a graph like this:     In my case, I need 3 inputs, 4 hidden layers and 2 outputs.  I know that there are similar topics, but I do not understand how to modify the code.   Thank you.  EDIT  For example,  \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix,chains,positioning,decorations.pathreplacing,arrows}  \begin{document}      \begin{figure}[htp]     \centering     \begin{tikzpicture}[ plain/.style={     draw=none,     fill=none, }, net/.style={     matrix of nodes,     nodes={         draw,         circle,         inner sep=8.5pt     },     nodes in empty cells,     column sep=0.6cm,     row sep=-11pt }, >=latex ] \matrix[net] (mat) {     |[plain]| \parbox{1cm}{\centering Input\\layer} & |[plain]| \parbox{1cm}{\centering Hidden\\layer} & |[plain]| \parbox{1cm}{\centering Output\\layer} \\     & |[plain]| \\     |[plain]| & \\     & |[plain]| \\     |[plain]| & |[plain]| \\     & & \\     |[plain]| & |[plain]| \\     & |[plain]| \\     |[plain]| & \\     & |[plain]| \\ }; \foreach \ai [count=\mi ]in {2,4,...,10} \draw[<-] (mat-\ai-1) -- node[above] {I\mi} +(-1cm,0); \foreach \ai in {2,4,...,10} {\foreach \aii in {3,6,9}     \draw[->] (mat-\ai-1) -- (mat-\aii-2); } \foreach \ai in {3,6,9} \draw[->] (mat-\ai-2) -- (mat-6-3); \draw[->] (mat-6-3) -- node[above] {O1} +(1cm,0); \end{tikzpicture}  \end{figure} \end{document}   I do not understand how to add or remove units. Most importantly, what does \ai or \aii stand for?


Show that number of elements in $(Z/nZ)^*$ is $\phi (n)$. $(Z/nZ)^*$ is set having those classes whose inverse exists.  If we prove that $(Z/nZ)$ has elements whose inverse exists are those who are relatively prime to n. Then my question will be proved  So i write let $gcd(a,n)=1$  $1= as+nt$   $as=1mod(n)$  as ~ 1  so class of a . class of s = 1  i.e inverse of class of a exists  Kindly suggest is this correct or some alternative option  Thanks


is Xampp enough For a School Local Web Server?

So Guys I'm trying to build a website for my school but can be access with no internet cause i will be running it on a virtual host using xampp so if students connect to the router where i run my web server ( Xampp virtual Host ) They can connect and use it for Chatting see latest announcements and share files with others my question is Is Xampp enough for this? and what are the problems i might encounter in the future btw the students enrolled is somewhere 10k - 15k students can a single Xampp Virtual Host handle that? i need tips from you guys to make this work locally offline  btw this is my plan a inforgraph so you guys can understand what I meant,


What is Mathematical formulation of entropic Gravitational force?

There are people proposing the possibility of using entropic force to explain the gravity force between objects. The emphasis is that entropy is more fundamental than energy. It is the closest study as entropy is closely related to information. What is Mathematical formulation of ?     ... It implies that gravity is not a fundamental interaction, but an emergent phenomenon which arises from the statistical behavior of microscopic degrees of freedom encoded on a holographic screen...


Should I use the singular or plural verb form with "one or more"?

Which of these is correct?      "If one or more of these situations apply to you ..."   or   "If one or more of these situations applies to you ..."   I think that "more" takes precedence over "one," so I would use the plural, "apply." Am I right?


Showing that $f_n\to f$ a.e. $\implies f_n\to f$ almost uniformly where $|f_n|\leq g\in L_1$

The following problem is from Carothers' Real Analysis:     Suppose $f_n$ is a measurable sequence of functions such that $|f_n|\leq g\in L_1$ for all $n$. Prove that $f_n\to f$ almost everywhere implies $f_n\to f$ almost uniformly.   Thoughts/ Attempt:  At first glance, this looks like a mix of the Dominated Convergence Theorem and Egorov's Theorem.  A sequence of functions $(f_n)$ is said to converge almost uniformly on $D$ if:  $$\forall\epsilon>0\exists N\in\mathbb{N}:\forall n\geq N\implies \sup_{x\in D\setminus E}|f_n(x)-f(x)|<\epsilon \\\text{ (where $E\subset D$ is measurable and $m(E)<\epsilon$) }$$  It is clear that $f\in L_1$.   I tried a few things that didn't lead anywhere such as:  $f_n\to f \text{ a.e.} \implies \int f_n\to \int f \text{ a.e. }\implies |\int f_n-\int f|<\epsilon \text{ a.e. }\implies \int |f_n-f|<\epsilon \text{ a.e. }$  But doesn't lead anywhere about showing almost uniform convergence.  I think I have an idea on how to start now by somewhat imitating the proof of Egorov's Theorem, which defines a measurable set $$E(n,k)=\bigcup_{m=n}^{\infty}\left\{x\in D: |f_m(x)-f(x)|\geq \frac {1}{k}\right\}$$  and shows the measure of this set decreases to $0$ and then a subsequence $(n_k)$ is chosen such that $m(E(n_k,k))<\epsilon/2^k$. Then it is shown that $f_n\to f$ uniformly on $D\setminus E$, where $E=\cup_{k=1}^{\infty}E(n_k,k)$.  However I'm having trouble deciding how to define my set $E(n,k)$ given the hypotheses of the Dominated Convergence Theorem.  Any ideas on how to proceed would be appreciated. Hints are preferred over full solutions. Thanks!


Why are URLs typeset with monospace fonts by default?

When typesetting URLs in LaTeX using the url package, they are set in a mono space font by default. While I just accepted that as a fact for a long time, I am now starting to wonder why?  In Browsers, for example, the URL in the address bar is also not monospace. It does not make the link more readable, in my opinion rather on the contrary. The only explanation I can come up with is that it sets the link apart from the remeaining text. But honestly, even that sometimes looks a bit obstrusive.  So is the reasons really just to set links apart from the text?


Accesing child GameObjects of GameObject

I have already tried really much with all "GetChildren" and similar functions, but I haven't found out how to do it yet.  I have a GameObject named "koffer". I have added several other GameObjects as children to it.  I have added a script to "koffer" in which I try to retrieve the children. In this script I have stated this line:      string sThis = this.name; //just for testing. "sThis" becomes "koffer", so it looks perfectly fine.     foreach (GameObject g in this.GetComponentsInChildren<GameObject>()) // doesn't retrieve anything. So obviously I'm not doing it correctly.   However this doesn't retrieve anything. Is this not the correct function for such a case?  Is there any built-in function to retrieve theses game obects?  I have found several custom made functions from some years ago, and I don't know if they are still needed or if Unity has integrated some functions for that.  What really bothers me is that there are so many custom-made functions that deal with "Transform" instead of "GameObject". Why would somebody need Transform instead of GameObject?   Thank you.


Can a Light Domain Cleric cast Burning Hands while carrying a shield?

I have a Light Domain Cleric who gets, as part of the Light Domain, the Burning Hands spell. Can I cast this spell while carrying a shield?  I subscribe to the idea that . Is it reasonable to think that a Cleric with a shield strapped to their arm is able to make such a gesture and not burn their own shield?


The Nexus is my favourite Minecraft PC multiplayer server. However, when I try to log in, it says "Connection Lost, Failed to login: Bad login".  I tried direct connect too, but that didn't work either, any ideas?


when I start up my computer I get the message "the volume "boot" has only 0 bytes disk space".  When I go into my boot file I have files in there that are empty.  I have opened them with firefox and office and both are empty.  Is it safe to delete those files?  There are vmlinuz. files and initred.img and system.map file names.


matlab2tikz/pgfplots: Tick-labels in axis cannot be overwritten

I want to export plots from MATLAB to tikz and use matlab2tikz to do so. Most of the data I have has dates on its x-axis. In MATLAB I use serial date numbers to store the time. I override the ticklabels with corresponding date strings before exporting. This works all very well - the only concern I have is that the decimal factor of the serial date numbers, *10^5, is not replaced or deleted. You can see it in the lower right corner of the following MWE.    My question is basically how to get rid of it? Do I have to do it in every figure, or can it be automated?    This code was used to generate it:  \documentclass{standalone}  \usepackage{pgfplots} \pgfplotsset{compat=1.8}   \begin{document} \input{figure1.tikz}  \end{document}   And the file figure1.tikz, which was generated by matlab2tikz and modified slightly by me:  % This file was created by matlab2tikz v0.4.7 running on MATLAB 8.3. % Copyright (c) 2008--2014, Nico Schlömer <nico.schloemer@gmail.com> % All rights reserved. % Minimal pgfplots version: 1.3 %  % The latest updates can be retrieved from %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. %  \begin{tikzpicture}  \begin{axis}[% unbounded coords=jump, scale only axis, xmin=735367.15, xmax=735367.85, xtick={735367.228472222,735367.492361111,735367.791666667}, xticklabels={{12.05. 12:00},{13.05. 12:00},{14.05. 12:00}}, every x tick label/.append style={rotate=45}, ymin=-0.2, ymax=1.5, ylabel=$P$ in \si{kW} ] \addplot [color=blue,solid,forget plot]   table[row sep=crcr]{% 735367.179861111    0\\ 735367.230555556    0\\ 735367.252777778    0\\ 735367.40625    0.205080000014277\\ 735367.406944444    0.205080000014277\\ 735367.407638889    0.205080000014277\\ 735367.408333333    0.234419999960664\\ 735367.409027778    0.234359999994922\\ 735367.409722222    0.263640000030136\\ 735367.410416667    0.263699999995879\\ 735367.411111111    0.263639999975567\\ 735367.411805556    0.292980000031093\\ 735367.4125 0.292979999976524\\ 735367.413194445    0.292980000031093\\ 735367.413888889    0.292979999976524\\ 735367.414583333    0.292920000010781\\ 735367.415277778    0.322319999977481\\ 735367.415972222    0.322260000011738\\ 735367.447222222    0.644520000023476\\ 735367.447916667    0.644519999968907\\ 735367.448611111    0.673860000024433\\ 735367.449305556    0.644519999968907\\ 735367.45   0.644520000023476\\ 735367.450694444    0.673859999969864\\ 735367.451388889    0.673800000004121\\ 735367.464583333    0.439440000009199\\ 735367.465277778    0.410160000028554\\ 735367.484027778    0.761699999966368\\ 735367.484722222    0.849660000003496\\ 735367.485416667    0.878880000018398\\ 735367.499305556    1.05467999999746\\ 735367.5    1.05467999999746\\ 735367.500694444    1.25976000001174\\ 735367.501388889    0.966779999980645\\ 735367.502083333    0.673860000024433\\ 735367.502777778    0.703140000005078\\ 735367.513888889    0.908220000019355\\ 735367.514583333    0.908159999999043\\ 735367.515277778    0.908219999964786\\ 735367.515972222    0.908220000019355\\ 735367.516666667    0.703079999984766\\ 735367.525  0.615240000042832\\ 735367.751388889    0.410159999973985\\ 735367.752083333    0.380820000027597\\ 735367.752777778    0.38087999999334\\ 735367.753472222    0.38087999999334\\ 735367.754166667    0.380820000027597\\ 735367.754861111    0.410159999973985\\ 735367.755555556    0.410160000028554\\ 735367.75625    0.410159999973985\\ 735367.756944445    0.38087999999334\\ 735367.757638889    0.351539999992383\\ 735367.758333333    0.322260000011738\\ 735367.759027778    0.292980000031093\\ 735367.825694444    0\\ 735367.826388889    0\\ }; \end{axis} \end{tikzpicture}%


What would be the easiest way to read data from a USB glucose meter externally with a microcontroller. Not with the software that is provided. So how could I incercept the digital signals that are being sent out?


Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo (Screenshot attached)

The last time I update my app was 45 days ago, the app was working fine without any crashes but suddenly from last 10 days, I started seeing crashes happening in the app (My app doesn't make use of any kind of server except Firebase for analytics and crashes). The app is only crashing in Android 5.0 and Android 5.1, I am attaching screenshots of crashes from the firebase.   Image 1 (No crashes before 20th Nov)    Image 2 (Showing 18th Nov data)    Image 3 (Showing 28th Nov data)    TL;Dr  Day 18 = 0 Crashes in (Production + Beta)  Day 28 = 1557 in Production and 77 in Beta  User complaint: The moment they open the app, it crashes. I am not having any samsung device running Android 5.0 otherwise I would have tested it by my own.   Stacktrace  Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.domain.app/com.domain.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getHost()' on a null object reference        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)        at android.app.ActivityThread.access$900(ActivityThread.java:177)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)        at android.os.Handler.dispatchMessage(Handler.java:102)        at android.os.Looper.loop(Looper.java:145)        at android.app.ActivityThread.main(ActivityThread.java:5942)        at java.lang.reflect.Method.invoke(Method.java)        at java.lang.reflect.Method.invoke(Method.java:372)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)    Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getHost()' on a null object reference        at android.os.Parcel.readException(Parcel.java:1546)        at android.os.Parcel.readException(Parcel.java:1493)        at android.content.pm.IPackageManager$Stub$Proxy.resolveIntent(IPackageManager.java:3451)        at android.app.ApplicationPackageManager.resolveActivityAsUser(ApplicationPackageManager.java:577)        at android.app.ApplicationPackageManager.resolveActivity(ApplicationPackageManager.java:571)        at android.content.Intent.resolveActivity(Intent.java:5822)        at com.domain.app.MainActivity.onCreate(Unknown Source)        at android.app.Activity.performCreate(Activity.java:6288)        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)        at android.app.ActivityThread.access$900(ActivityThread.java:177)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)        at android.os.Handler.dispatchMessage(Handler.java:102)        at android.os.Looper.loop(Looper.java:145)        at android.app.ActivityThread.main(ActivityThread.java:5942)        at java.lang.reflect.Method.invoke(Method.java)        at java.lang.reflect.Method.invoke(Method.java:372)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)   PS: I am using latest version of gradle plugins. My build.gradle(app) and build.gradle(project) both are updated to latest version and there are no warnings/error in either of them. I am also not having any warnings in my AndroidManfiest.xml file. I got similar number of downloads everyday for Nov month. But crashes suddenly increased. And I updated the app last on 20 October 2018


Possible limiting factor during upgrade of Fedora VM - not disk or cpu or network?

I'm upgrading a VM from Fedora 29 to Fedora 30.  I triggered the update from inside GNOME Software.  It downloaded the upgrade, and asked to reboot.  It started installing...  atop shows the qemu process using about 15% of one CPU core.  And my one hard drive at about 15% utilization.  What other resource(s) could the VM possibly be waiting for, the other ~ 70% of the time?  Is it just ??  Is there some other way to explain or find this out?  The upgrade showed the normal progress indicator, and completed without errors.  The VM is in libvirt (virt-manager), using the default KVM backend on x86-64.  I configured the VM disk using cache mode "none".  There's a 2x2 matrix of caching options; "none" means O_DIRECT, but not O_SYNC.  (My intent was to avoid ; at least it seems to have left the host system so much more responsive than the last time I tried this).  "IO Mode" is set to "Hypervisor default".  The virtual disk controller is using VirtIO.  libvirt is from Fedora 29; it is version 4.7.0 and qemu is version 3.0.0.


SQL query to convert Column to Row using Pivot/Unpivot

My Select Table. I tried Pivot query to get my expected result but I was struct to generate the expected result.   WITH PersonOptions(ID,[Year], [Text], Value1, Value2) AS (               SELECT 'A',2000, 'X',10,2     UNION ALL SELECT 'A', 2001, 'X',21,1     UNION ALL SELECT 'A', 2000, 'Y',13,3     UNION ALL SELECT 'A', 2001, 'Y',2,3     UNION ALL SELECT 'B', 2000, 'X',0,2     UNION ALL SELECT 'B', 2001, 'X',5,1     UNION ALL SELECT 'B', 2000, 'Y',6,4     UNION ALL SELECT 'B', 2001, 'Y',9,5     UNION ALL SELECT 'C', 2000, 'X',3,5     UNION ALL SELECT 'C', 2001, 'X',2,8     UNION ALL SELECT 'C', 2000, 'Y',9,2     UNION ALL SELECT 'C', 2001, 'Y',8,3 ) select *  from PersonOptions  ID  Year    Text    Value1  Value2 A   2000    X        10       2 A   2001    X        21       1 A   2000    Y        13       3 A   2001    Y        2        3 B   2000    X        0        2 B   2001    X        5        1 B   2000    Y        6        4 B   2001    Y        9        5 C   2000    X        3        5 C   2001    X        2        8 C   2000    Y        9        2 C   2001    Y        8        3   Expected Output:                 Value1          Value2    ID  Text    2000    2001    2000    2001 A    X       10      2       21      1 A    Y       13      3       2       3 B    X        0      2       5       1 B    Y        6      4       9       5 C    X        3      5       2       8 C    Y        9      2       8       3


Why wasn't Restricted Section of the library better protected?

The Restricted Section of the library of Hogwarts contained dangerous books. Why wasn't it locked or protected by some kind of spell? Certainly, Filtch (or Madam  Pince,) wasn't a good protection against a rogue wizard who could easily stun or kill him before he could call skilled wizards.


Conditional logistic regression: within subject matching instead of McNemar

I'm trying to compare the prevalence of a specific lesion (binary) at the symptomatic side to the asymptomatic side within a group of patients.  I've already performed a McNemar test to compare the prevalence at the symptomatic versus asymptomatic side within patients.   However, I'm asked to also perform a conditional logistic regression. I'm not sure if my syntax is correct with respect to the stratification:   summary(clogit(ds$symp ~  ds$asymp, strata(ds$ID), data=ds, method = "exact"))   Question: Does R compare both sides of the patient (symptomatic vs asymptomatic) within the patient(s)? Or do I have to duplicate manually the patient ID (one ID for the symptomatic side AND one ID for the asymptomatic side)?   An example:   ID symp asymp 1   0   0 2   1   0 3   0   0 4   0   0 5   1   0 6   1   1 7   0   0 8   0   0 9   0   1 10  0   0   As an example: patient 2 has a lesion at the symptomatic side and patient 9 only at the asymptomatic side. Patients 6 at both sides.  A Exact McNemar test shows:   test <- table(df$symp, df$asymp)     compare <- exact2x2(test, paired = TRUE, alternative = "two.sided", tsmethod = "central") print(compare) Exact McNemar test (with central confidence intervals)  data:  test b = 1, c = 2, p-value = 1 alternative hypothesis: true odds ratio is not equal to 1 95 percent confidence interval:  0.00847498 9.60452988 sample estimates: odds ratio         0.5   However, a conditional logistic regression model shows:   > summary(clogit(df$symp ~  df$asymp, strata(df$ID), data=df, method = "exact")) Call: coxph(formula = Surv(rep(1, 10L), df$symp) ~ df$asymp, data = df,      method = "exact")    n= 10, number of events= 3           coef exp(coef) se(coef)     z Pr(>|z|) df$symp 0.973     2.646    1.524 0.638    0.523         exp(coef) exp(-coef) lower .95 upper .95 df$asymp 2.646      0.378    0.1334     52.46  Rsquare= 0.039   (max possible= 0.616 ) Likelihood ratio test= 0.4  on 1 df,   p=0.528 Wald test            = 0.41  on 1 df,   p=0.5232 Score (logrank) test = 0.43  on 1 df,   p=0.5127   Or should I duplicate patients and use the syntax as described above?   ID side   lesion 1   symp    0 1   asymp   1 2   symp    0 2   asymp   0 3   symp    1 3   asymp   0 4   symp    0 4   asymp   0 5   symp    1 5   asymp   1 6   symp    1 6   asymp   0


Disable/Enable 2nd/3rd monitor programmatically. (Win10)

How can I disable a monitor programmatically. From the display settings dialog I can set a monitor to be either a duplicate of another monitor, an extension of the normal desktop or "Disconnected".   Can this be done with powershell or some scripting language like autoit, I'm comfortable with using C# if I need to? I need to be able to run a program and make the 3rd monitor disconnected or enable it as an extension of the desktop.


How to say more about parameter estimates

I have obtained some parameter estimates and corresponding t-values. How can I use the t-values to say more about the significance of these estimates? For example, if t = \hat{\beta} / s.e.(\beta), then are larger values for t better or worse? What is the estimation error? I am confused in how to interpret their values.  Can someone recommend me a website or book where this is explained?  Thanks!  PS. If in the hypothetical equation Y = aX + e the error e is normally distributed with mean zero and variance (\sigma_e)^2, does that mean that a is normally distributed as well? Because from my understanding one needs a distribution for the parameter in order to apply a significance test, right?


PHP/MySQL: Getting Multiple Columns With the Same Name in Join Query Without Aliases?

I have two tables. One for users and one for posts. The users table has the following fields:   id, username, password, created_at, modified_at   The posts table has the following fields:  id, user_id, title, body, created_at, modified_at   When I use a query like:  SELECT * FROM `users` LEFT OUTER JOIN `posts` ON users.id=posts.user_id   And fetch the results using PDO:  $sth = $this->$default_connection->prepare($query); $sth->execute(); $sth->fetchAll(PDO::FETCH_ASSOC);   The returned array overwrites all the columns with the same names like id, created_at, modified_at like this:   Array (     [0] => Array         (             [id] => 1             [username] => johnSmith             [password] => 2348r7edf8s79aa0230             [created_at] => 0000-00-00 00:00:00             [modified_at] => 0000-00-00 00:00:00             [user_id] => 18             [title] => First Post             [body] => Just testing...         ) )   The id field for the user is not shown, instead overwritten by the id of the post. Same goes for the created_at & modified_at fields.   I believe I can solve this problem by either using aliases or something like this:      SELECT         users.id,         users.username,         users.password,         users.created_at,         users.modified_at,         posts.id AS postId,         posts.user_id,         posts.title,         posts.created_at AS postCreatedAt,         posts.modified_at AS postModifiedAt    FROM `users`        LEFT OUTER JOIN `posts` ON (users.id=postId)   Or something similar, but I was wondering if there was a way to do this without manually writing out the name of every single column or an alias for every time I want to distinguish between two columns of the same name?  Is it possible to do something like:  SELECT users.* AS User and posts.* AS Post from `users` LEFT OUTER JOIN ON (User.id=Post.user_id)   And have it automatically use aliases for every column? Or is there any other faster/more convenient way to do this? Or can I do this without having to define any aliases myself?  Thank you


Is this runecaster feat balanced? (Second Iteration)

This is the second iteration of  (I have now made a ) I have now added in some of the suggestions given by linksassin such as simplifying it to just one type of rune and adding a material cost. I have not added in limited duration or limited number because it is intended to allow the player to make a consumable similar to spell-scrolls or potions. if they intend to make them during extended downtime then thats fine, its the same as making spell scrolls or buying potions during downtime.  Rune Caster Prerequisites: ability to cast at least one spell of 1st level or higher When you take this feat you can imbue your spells into a rune by casting the spell as a rune, this means that you must have the object you want to put the rune on within reach for the whole duration of the casting as well as any tools required to make the rune. The casting time is also affected. Casting When casting a rune you add 1 hour to the casting time and 20gp per spell level stored on top of the normal components of the spell. Triggers When making a rune you may customise the trigger conditions from the following list:  Touch  Command word spoken  … by [specify creature(s)]  … with [specify body part]   When defining creatures that can activate the rune you may be as specific or general as you want. The DM interpretes the designated creatures as your character would have interpreted them when you made the rune. Ranges When you store a spell in a rune the following rules change the range:  A range of touch becomes a range of self  When a range is listed and a target the person who activates the rune designates the target  When a range is used with an aoe the origin is automatically wherever the rune is.   Activating a rune When a rune is activated the spell is released acting as if it had just been cast without requiring any components. The rune then disappears leaving no trace of its presence. To activate a rune you must complete the trigger, this means speaking any command words and physically touching the rune each if applicable.  I want to know specifically is it to powerful/ not powerful enough and if so what would be a reasonable way of correcting the issue.


I am perplexed at this sentence:      If I was asked who I wanted to become, I could not give a specific answer   Is it correct, or should I instead say     If I were asked who I wanted to become, I could not give a specific answer


I was wondering if someone can help me understand how prove that this graph is connected.  Given a graph with n vertices, prove that if the degree of each vertex is at least $(n − 1)/2$ then the graph is connected.  So far I know that about connected graphs:  An undirected graph is called connected if there is a path between every pair of distinct vertices of the graph  The distance between two vertices in a graph is the length of the shortest path between them.  The diameter of a graph is the distance between the two vertices that are farthest apart.


SQL Server Always On does not send requests to read only replica

I have created an Availability Group with one primary and one secondary read only replica. The configuration is as below:    Now I connect to the listener using SSMS with parameter APPLICATIONINTENT=READONLY; but all read and write requests are sent to primary server as is shown in Profiler:    Is there any configuration mistake of me?


Is there a limit of how many down votes a question can get? I was thinking that there might be if the value of votes is stored as a short or int and that you can max out at those many down votes. Now my question is is my thinking flawed or is it right and if it is not please explain to me.   Edit this is not about if it would get removed or not Note I'm not counting the fact that if it got over 30 down voted it would probably be deleted.


#include<stdio.h> #include<malloc.h>  struct node {     int data;     struct node* left;     struct node* right; }; struct node* newNode(int data) {     struct node* node=(struct node*)malloc(sizeof(struct node));     node->data=data;     node->left=NULL;     node->right=NULL;      return (node); };  int height(struct node* root) {     static int lheight,rheight;     if(root==NULL)         return;     else     {         lheight=height(root->left)+1;         rheight=height(root->right)+1;         if(lheight>rheight)             return lheight;         else             return rheight;     }  }  int main()     {           struct node* root=newNode(1);           root->left=newNode(2);           root->right       = newNode(3);           root->left->left  = newNode(4);           root->left->right = newNode(5);           printf("%d",height(root));           return 0;     }   This program gives two different result. One is 2 for the above program where I use static and 3 if static is not used. Please explain the reason for the change in output using static.


How to know if a wizard is powerful or not

In Harry Potter, it is said that Lord Voldemort is one of the most powerful wizards of all time. But I am not very convinced about why that is the case. I guess, a more general question is, how can you tell if a wizard is powerful?  In terms of spells, to be specific, the death curse, if two wizards speak this curse to one another at the same time with the equally good wands, then who will die? Does the effect of the spell depend on the way a wizard speaks it? If so, it what way exactly? Can an average wizard cast death spell to Lord Voldemort and kill him?  In terms of wands which is sort of the guns of our world, how do we know if one wand is more powerful than the other. In the movies, I did not see why the elder wand was that special except that it looks better.


I need help. Any Minecraft coders out here? Can you code a command for something like this? it is for, Minecraft Java 1.16.5 on Apex Hosting servers. Request: Code a summon command for a villager with the following trades: 1: 15 Emerald = 1 Mending book 2: 15 Emerald = 1 Unbreaking 3 book 3: 15 Emerald = 1 Protection 4 book 4: 15 Emerald = 1 Thorns 3 book 5: 15 Emerald = 1 Sharpness 4 book 6: 15 Emerald = 1 Efficiency 5 book 7: 10 Emerald = 1 Fortune 3 book 8: 5 Paper = 10 Emerald 9: 4 Emerald = 20 XP bottles 10: 2 Emerald = 10 books


I found a solution but when testing it, it does not work....?    $$\cos z + \sin z = i \\ \frac{e^{iz} + e^{-iz}}{2} + \frac{e^{iz} - e^{-iz}}{2i} = i \\ e^{2iz}(1+i) + 2e^{iz} + i - 1 = 0 \\ e^{iz} = \frac{-1 \pm \sqrt{2-i}}{1+i} \\ z = -i \mathrm{Log}\left(\frac{-1\pm\sqrt{2-i}}{1+i}\right) + k2\pi$$    Upon testing it in W|A with $k=0$, I don't get the required result $(=i)$. I'm not sure where I went wrong and I did this a few times already.


How to install ubuntu on already existing partitions

I installed Ubuntu 32bit because I'm a noob and now I've uninstalled it to install the 64bit version.   After uninstalling I'm left with two new partitions a 80GB and a 26GB from the previous automatic dual-boot installation.   Are these partition sizes OK?    How do I manually install 64bit Ubuntu on these two partitions? Please tell tell me in detail what to put in "Use as:" (ext4 or something else?) and what sort of end to put: / or /home or /boot. On which partition.


Finding lie algebra of a group by using exp map and tangent space

I'm studying Lie groups and I am in trouble with finding lie algebras of the classical groups. How can I calculate $\mathfrak{sp}(n,\mathbb{C})$ or $\mathfrak{so}(n,\mathbb{R})$ using exp map and tangent space of these groups?


Google recently changed my title. How to restore to my original title or prevent google doing so?

I think I have the best title given on one of my webpage and was getting a good CTR. Google recently seems to change titles of some of my important pages. How to restore to my original title or prevent google doing so?  I used my brand name ahead of my title, however I have removed it.


Why is 2-terminal sensing less accurate than 4-terminal sensing if the internal resistance of leads is known?

I have a pretty good understanding of 2-terminal vs. 4-terminal (kelvin) sensing measurements. I understand that in the 4-terminal measurement, current is supplied by 2 terminals that are separate from the voltage sensing terminals. This eliminates the need for (an appreciable amount) of current to run through the leads of the voltmeter, which would cause a slight voltage drop due to the internal resistance of the leads.   My question is - can't that internal resistance be measured quite easily? If it is known, how is 2-terminal sensing any less accurate than 4-terminal sensing if the internal resistance fact is used to compensate?


I am using Ubuntu GNOME 16.04 with GNOME 3.20.  After upgrading from GNOME 3.18 to 3.20, my mouse settings are reset.  I can't find options in Mouse & Touchpad Settings to set Reverse Scrolling (aka Natural Scrolling).


I have LineageOS on my phone. I'm looking to edit some files in /system.  I'm using root permission for adb devices from Developers Options. When I request to move file into /system, I get the message no permissions.  I tried to change permission with chmod but its not working. Since I don't have root permission for apps I can't change it from file manager either.


How to write data in existing excel rows by using SXSSFWorkbook

I am using an excel template to write data into it using SXSSFWorkbook. My template contains 2 rows initially (one is for column name and one more). I want to overwrite the data of first rows on some conditions (if/else). I am using below line of code to achieve this  sheet.getRow(0).getCell(2).setCellValue("Editable");  but getting Null Pointer Exception. Please help.    How come the above statement can return Null?  I read somewhere that you can not read excel using SXSSFWorkbook. If so please provide any alternate solution.  Note - I have to use SXSSFWorkbook as I have to write huge amount of data in sheet.  Thank you.


How can I uninstall amazon app on ubuntu?

I've tried using  sudo apt-get remove amazon   and the result was sudo-apt-get: command not found  and I tried   sudo apt-get remove amazon*   and I got  Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'unity-webapps-amazoncloudreader' for regex 'amazon*' Note, selecting 'ruby-amazon-ec2' for regex 'amazon*' Note, selecting 'libnet-amazon-s3-tools-perl' for regex 'amazon*' Note, selecting 'unity-webapps-amazon' for regex 'amazon*' Note, selecting 'libnet-amazon-ec2-perl' for regex 'amazon*' Note, selecting 'gamazons' for regex 'amazon*' Note, selecting 'libnet-amazon-perl' for regex 'amazon*' Note, selecting 'libamazon-sqs-simple-perl' for regex 'amazon*' Note, selecting 'libnet-amazon-s3-perl' for regex 'amazon*' Note, selecting 'flight-of-the-amazon-queen' for regex 'amazon*' Note, selecting 'gmpc-plugin-coveramazon' for regex 'amazon*' Package 'unity-webapps-amazon' is not installed, so not removed Package 'gmpc-plugin-coveramazon' is not installed, so not removed Package 'flight-of-the-amazon-queen' is not installed, so not removed Package 'gamazons' is not installed, so not removed Package 'libamazon-sqs-simple-perl' is not installed, so not removed Package 'libnet-amazon-ec2-perl' is not installed, so not removed Package 'libnet-amazon-perl' is not installed, so not removed Package 'libnet-amazon-s3-perl' is not installed, so not removed Package 'libnet-amazon-s3-tools-perl' is not installed, so not removed Package 'ruby-amazon-ec2' is not installed, so not removed Package 'unity-webapps-amazoncloudreader' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.   How can I remove this amazon application that was installed by default?


From   date -d "next ${1- hour}" '+%H:00:00'   What is ${1- hour}? Is it some shell parameter expansion, or  input format of date and time?   Why does ${1 hour} not work?  Thanks.


Does anybody know what package shall I download or what to do to open .MDI files on Ubuntu 13.10?  MDI: Microsoft Document Imaging Format


Remove dot after theorem with amsthm and hyperref

I would like to know how to remove the dot that amsthm adds after the number of the theorem (it gives Theorem 1.1. instead of Theorem 1.1 ).   MWE:  \documentclass{article} \usepackage{hyperref} \newtheorem{theorem}{Theorem}[section]  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother  \begin{document} \section{Introduction}  \begin{theorem} Let ... \end{theorem}  \end{document}   gives     while  \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \newtheorem{theorem}{Theorem}[section]  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother  \begin{document} \section{Introduction}  \begin{theorem} Let ... \end{theorem}  \end{document}   gives    It turns out that if \usepackage{hyperref} is not included, then adding  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother   fixes the problem, but when it is then the problem is still there.   I need to use amsthm but I don't want the dot to appear.  Thanks in advance.


$4 \sin 72^\circ \sin 36^\circ = \sqrt 5$

How do I establish this and similar values of trigonometric functions?  $$ 4 \sin 72^\circ \sin 36^\circ = \sqrt 5 $$


Is it possible to make a movie film strip of embedded PDF images?


Is it possible to run 32bit (non install) software on 64bit Windows 8.1 Pro?

I have a really old accountig software which has data in it since 2000 but the software doesn't have support any more, actually the company who made it doesn't exsists any more. It runs fine with Win 7 x86 but the notebook which I was using the software on died so I bought a new notebook but that came with Win 8.1 x64 pro and if try to run this sw I get this "the software isn't compatible with your system. Contact the provider" message or something similar, sorry my windows isn't English. I could roll back to x86 but it would be stupid because the notebook has 8GB ram so I would loose more than half of its memory.  I tried compatibility mode and putting it in the Program Files(x86) but I still got this message.  So is it possible to run it somehow on the x64 system? Oh and maybe without a virtual machine?  Thanks in advance.


Multiple upload image using managed_file

I'm trying to do a very simple thing (seems not that simple at all) in my custom form, to add multiple files using the managed_file form api. Like in the admin, select a file, upload, then a new input file appears.  But I can't achieve that... do I need a callback ???      'gallery' => array(         '#type' => 'managed_file',           '#name' => 'gallery[]',         '#title' => t('Gallery'),         '#upload_location' => 'public://',         '#attributes' => array(             'multiple' => 'multiple',         ),     ),   Thanks


How do I uninstall Ubuntu 14 and reinstall Windows 8? I only have product key

I installed Ubuntu 14 a day ago, overwriting my Windows. Now I want to switch Ubuntu back to Windows 8 using a product key that I have in an email.   How do you do this? So far I have had no luck.


HDRI and Image in Background only in one color

I want to put a HDRI Image in background of my scene, and in this project the HDRI and Images will be shown only in 1 color. Creating a new blender file and adding the HDRI works fine. Only in this project not. I'm wondering if somebody knows why. Thanks a lot