I thought this has been asked before but couldn't find it.  In the movie, Rey first scenes included one where she just added water to a pile of powder and poof it transforms into bread.  Out of curiosity, is this a kind of newfangled technology that is already reality on Earth or in the process of becoming so?  Edit: I don't think McDonald's powdered scrambled eggs count...don't troll ok?
In The Force Awakens, we see Rey pouring some flour-like polystarch rations into water so that the flour amazingly transforms into something that looks like bread. What are these rations? Is there any documentation of the fictional chemistry and biology that makes the starch rations behave as they do?
Is it possible to restart the unity panel without restarting compiz? I'm being hit (quite often) by that bug where you can't click on some indicators. It's easy to fix by restarting unity, but that usually also means running to the risk of upsetting some window on re-parenting (rare, but I'd rather avoid any such problems).  So, I know there is `unity-panel-service', and I'm guessing this might have something to do with the solution?  Is it possible to restart the unity panel (or the entire unity plugin) without restarting compiz itself? Let $X$ ~ $Bin(n,p)$ and $Y$ ~ $Bin(m,p)$ be two independent random variables. Find the distribution of $Z=X-Y$.   see also   I figured this out:  $$ P(Z=z)=\cases{\sum_{i=o}^{min(m,n)} Bin(k+i,n,p)*Bin(i,m,p), &amp;if $z\ge0$;\cr \sum_{i=0}^{min(m,n)} Bin(i,n,p) * Bin(i-z, m, p),&amp;otherwise. \cr}$$  I also validated it by Monte Carlo simulation. For $n=30$, $m=20$ and $p=0.5$, I get the following distribution, where the circles are the analytical probabilities and the line connects the MC estimates.    Because that looked to me pretty much like a binomial distribution, I gave it a try and figured out that its actually a binomial, just shifted by m to the left. This can be simply written as $P(Y=y) = Bin(y+m, m+n, p)$. Hence, given equal success probabilities, the sum of two independent binomially distributed random variables is binomial, but also their difference, just shifted to the left.  This question here  is actually the same as mine, but received no answer and only the comment that there would be no simple formula. But the above formula looks pretty simple to me.   Is it correct that for the case of equal success probabilities, the above equations actually describes the distribution of $Z=X-Y$? I read in a book that $Z$ could not be binomial distributed because it had negative support. Is it right to call it a shifted binomial? Discouraged by simple Bayesian Question My university is testing an intro Machine Learning (ML) course for us undergrads, and having been interested in ML since the beginning to understand what it was, I jumped at the chance to take it. But being someone who has not been back in school for a long time and much busier than I was in my first years long ago, I am finding that I need more info and examples than the class in its current form has.  I am struggling to figure out what the attached question is asking. I am searching online for help with this particular topic, but I am also finding that everyone seems to have their own way of phrasing similar questions in such a way that I am finding it hard to link the info.   My understanding from stats way back when is that $p(x|\omega_1)$ is stating the probability of $x$ given $\omega_1$ for $0\le x \le 2$ and zero other wise. Same obviously if given $\omega_2$. If I understand, the priors are the probability of $\omega_1$ and $\omega_2$ which are somehow obtained. And honestly that is as far as I am really comprehending. I am not sure what (a) and (b) are truly asking for or how to get them. If anyone is able to help me with some pointed info on the topic it would be greatly appreciated. How to convert all shapefiles in folder into KML using ArcPy? I was trying to convert all the shp in a folder into kml.  featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses:  # Set Local Variables   composite = 'COMPOSITE'   pixels = 1024   dpi = 96   clamped = 'CLAMPED_TO_GROUND'   scale = 1   outKML = fc[:-4] + &quot;.kmz&quot;   arcpy.LayerToKML_conversion(fc,outKML, scale, composite,'', pixels, dpi, clamped)   It always says Failed to execute. Parameters are not valid. ERROR 000732: Layer: Dataset ZZZ.shp does not exist or is not supported Failed to execute (LayerToKML). But I can manually do it within ArcMap 10.1 Desktop... The Node Editor won't work for the object selected I'm still learning, but I'm trying to follow a tutorial to apply texture to a model. I only want to apply the texture to one object in the scene, so I selected it, unwrapped it, and painted over it. Now I selected it in the Edit Mode (I can't select it in the Object mode because all is locked together) and went into Node Editor, but the nodes are greyed out.  Why? Imported TIF has dark gray background instead of white using QGIS 2.6  I import a TIF file, and expect the import to show an image that has black lines on a white background (with some other colors here and there), as the native windows viewer will see a white background.   The file, 49MB, imports, but   The TIF image has a dark gray background instead of a white background  I can't tell why.   Any hints?  The same thing happens if I import the TIF image into georeference, which is how I discovered this in the first place.  I created/exported the TIF image using PDFCreator (from a print of a PDF to a TIF, using that program).   Within PDFCreator, I chose a TIF export that set the color map to 4096 colors, as the default created a TIF file that was twice as large.  On testing with the default size (16 million colors or some such).... That file imported and showed the background as white.  And I can't tell why, for that, either.   Any hints?  ======== In response to the comment/question by @BradHards:  The TIFFTAG_PHOTOMETRIC is not present in either file.  The gdalinfo for the large file and small file are identical, but for the presence of two extra lines on the file where the white background turns to dark gray.  Each band sets NBITS=4 for Image Structure Metadata: eg:     Band 1 Block=5100x68 Type=Byte, ColorInterp=Red   Image Structure Metadata:     NBITS=4 Band 2 Block=5100x68 Type=Byte, ColorInterp=Green   Image Structure Metadata:     NBITS=4 Band 3 Block=5100x68 Type=Byte, ColorInterp=Blue   Image Structure Metadata:     NBITS=4   Something about the NBITS=4 state turns the background dark gray.  Alternatively, there is some other problem with the PDFCreator export.  These are the full GDALInfo:  Small with dark gray background:   Driver: GTiff/GeoTIFF Files: small file.tif Size is 5100, 6600 Coordinate System is `' Metadata:   TIFFTAG_DATETIME=2015:01:28 16:41:04   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)   TIFFTAG_SOFTWARE=GPL Ghostscript 9.07   TIFFTAG_XRESOLUTION=600   TIFFTAG_YRESOLUTION=600 Image Structure Metadata:   INTERLEAVE=PIXEL Corner Coordinates: Upper Left  (    0.0,    0.0) Lower Left  (    0.0, 6600.0) Upper Right ( 5100.0,    0.0) Lower Right ( 5100.0, 6600.0) Center      ( 2550.0, 3300.0) Band 1 Block=5100x68 Type=Byte, ColorInterp=Red   Image Structure Metadata:     NBITS=4 Band 2 Block=5100x68 Type=Byte, ColorInterp=Green   Image Structure Metadata:     NBITS=4 Band 3 Block=5100x68 Type=Byte, ColorInterp=Blue   Image Structure Metadata:     NBITS=4   Large with white background   Driver: GTiff/GeoTIFF Files: larger file.tif Size is 5100, 6600 Coordinate System is `' Metadata:   TIFFTAG_DATETIME=2015:01:28 17:07:16   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)   TIFFTAG_SOFTWARE=GPL Ghostscript 9.07   TIFFTAG_XRESOLUTION=600   TIFFTAG_YRESOLUTION=600 Image Structure Metadata:   INTERLEAVE=PIXEL Corner Coordinates: Upper Left  (    0.0,    0.0) Lower Left  (    0.0, 6600.0) Upper Right ( 5100.0,    0.0) Lower Right ( 5100.0, 6600.0) Center      ( 2550.0, 3300.0) Band 1 Block=5100x68 Type=Byte, ColorInterp=Red Band 2 Block=5100x68 Type=Byte, ColorInterp=Green Band 3 Block=5100x68 Type=Byte, ColorInterp=Blue How to get BSD FTP and Telnet back in 10.13 (High Sierra)? There are  with not having ftp and telnet present in 10.13 now as per Apple's dictate.  Has anyone found a solid way to bring BSD ftp and telnet back to macOS vs using inetutils? Which notation and why: $\text{P}()$, $\Pr()$, $\text{Prob}()$, or $\mathbb{P}()$ ''will'' or ''going to'' Why can't variable names start with numbers? Dual boot with windows 7! I'm using windows 7 right now. I want to install Ubuntu with dual boot. Is is safe? And does the process go safely? How do I find the index of an element in a list in Racket? I would like to draw an arrow like this using TikZ:    This is taken from . I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't need all the workflow stuff. I simply want to draw such an arrow at a certain place in my text, e.g. -->  \documentclass{article} \usepackage{&lt;???&gt;} \usepackage{tikz} \usetikzlibrary{&lt;???&gt;} \begin{document} Donec vehicula augue eu neque. Pellentesque habitant morbi \tikz &lt;???code for the arrow???&gt; ; tristique senectus et netus \end{document}   PS: Some explanations in your solution would be much appreciated, otherwise it will be difficult to customize it. How do you keep user.config settings across different assembly versions in .net? Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a different version number as the name)  How can I keep the same settings when upgrading versions, since using ini files or the registry seem to be discouraged?  When we used Clickonce it seemed to be able to handle this, so it seems like it should be able to be done, but I'm not sure how. Large braces for specifying values of variables by condition US Salary Transfered to Indian Acc and Tax Relation I am on an H1b visa working and receiving a salary in the US. I have transferred approximately $15-20k to my account in India Account (not an NRE account).    How would this transfer affect my taxes in US and India. How can I avoid tax on the money that I have transferred. Would any investments help save taxes? Do I need to declare anything? If so, where ? does anyone know the following result? If it holds in this form and any source which presents it? Thanks a lot.  Consider metric space $(X,d_{X})$.  Let $f:A \subset (X,d_{X}) \rightarrow \mathbb{R}$ be a Lipschitz continuous function i.e. $\exists K &gt; 0$ such that  \begin{align*} |f(x)-f(y)| \leq Kd_{X}(x,y) ~~~~\forall x,y \in A \end{align*}  then define functions  $$\bar{f_{1}}(x) := \sup\lbrace f(y) - Kd_{X}(x,y): y\in A \rbrace ~~ \forall x  \in X$$ and $$\bar{f_{2}}(x) := \inf\lbrace f(y) + Kd_{X}(x,y): y\in A \rbrace ~~ \forall x  \in X$$ it follows that  \begin{align*} \bar{f_{1}}, \bar{f_{2}}: X \rightarrow \mathbb{R}  \end{align*} are Lipschitz continuous with  \begin{align*} |\bar{f_{i}}(x)-\bar{f_{i}}(z)| \leq Kd_{X}(x,z) ~~~\forall x,z \in X \text{ and } \forall  i = 1,2 \end{align*} and  \begin{align*} \bar{f_{i}}(x) = f(x) ~~~ \forall x \in A \text{ and } \forall i =1,2 \end{align*} Is it possible to check for an injured player in Minecraft? I am creating a mini-game in Minecraft, where I must check to see if the player is injured. The injured player will then be given an item. My guess is that the command would look something like /testfor @p[injured=true], but this command doesn't work. Is there a command for this? How  can I delete a node after, for example, 2 weeks it has been created? How can I get a new browser session when opening a new tab or window on Firefox/Chrome? When opening new Internet Explorer window, a new browser session is issued. Therefore you can login with two different accounts on the same service (let's say ). The same does not apply when opening a new tab in the same window in Internet&nbsp;Explorer.  How can I get a new browser session when opening a new tab or window on Firefox?  How about Google Chrome?