Fill a grid cells based on a picture
How to convert every pixel of raster picture to square objects in Illustrator?
How can the pixel values of a raster image be extracted under a polygon fishnet? Can I move the Unity launcher? Hosting options for people that have Imgur blocked by their ISP I'm trying to create a multi-page table with all cells having the same height (as well as certain fixed widths) so that certain manual cut-and-paste operations are a lot easier.  One issue is that one column in particular is text-heavy and should line-break within the cell.  As I don't want it justified, I looked into alternatives such as .  This is doing exactly what I want for horizontal alignment.  For vertical alignment, I've looked at  and the \vphantom method detailed in the above link doesn't seem to be working.  Here's what I'm currently working with:  \documentclass[11pt]{article} \usepackage{array}  \newcolumntype{P}[1]{&gt;{\raggedright\hspace{0pt}\arraybackslash}p{#1}} \def\Z{\vphantom{\parbox[c]{1.7in}{\Huge Something Long}}}  \begin{document} \begin{tabular}{| c || P{0.5in} || P{0.5in} || P{5in} |}\hline  1.  \Z &amp;&amp;&amp; Long long long long long long long long long             long long long long long long long text  \\\hline 2.  \Z &amp;&amp;&amp; More long long long long long long long long             long long long long long long long text  \\\hline \end{tabular}   When I compile, the cells do not have a uniform height, and none of them are as large as 1.7 inches vertically.  So this suggests that somehow the \vphantom method is failing.  Does anybody know of a relatively straightforward solution to this problem? node.js conflicts: /sbin/node vs /usr/bin/node I have two Ubuntu 12.10 machines: machine A is a VMWare VM and machine B is and old Acer laptop. On both machines, I installed node using apt-get. However machine A installs the main binary as /usr/bin/node and machine B as /usr/bin/nodejs. Here are some behaviors I observed:   Both machine returns /usr/bin/node in response to the which node command. However, there is no such file on machine B. Issuing the command node works for machine A, not B. On B, I have to use nodejs instead. On B, there is a binary called /sbin/node, A does not have it.   These behaviors causes inconsistency problem when developing on both machines. For now, I worked around by renaming the binaries on B as such:  sudo mv /sbin/node /sbin/node-sbin sudo ln -s /usr/bin/nodejs /usr/bin/node   Is there a way to really fix this, so that node will be installed as /usr/bin/node instead of /usr/bin/nodejs? Let’s take an example of a movie site. So a well structured set of URLs for this site can be:     Movie page - example.com/movies/the-matrix Review for movie - example.com/movies/the-matrix/reviews Trailers for movie - example.com/movies/the-matrix/trailers Specific trailer for movie - example.com/movies/the-matrix/trailers/trailer1   where it’s possible to navigate the resource even by directly deleting/appending resource name seamlessly.  For SEO purpose I read somewhere that for two given pages, Google will prefer the page which have search query up in the URL hierarchy among other things. So for the given 2 URLs and the query "the matrix trailer"    example.com/movies/the-matrix/trailers example.org/trailers/the-matrix/    `     Google might prefer the second URL as it has the keyword "trailer" at first level comparing to first URL which has "trailer" at 3rd level (a resource deeper in URL hierarchy may be less important).    If it is correct, one may be tempted to create URL hierarchy somewhat like      Movie page - example.com/movies/the-matrix Review for movie - example.com/reviews/the-matrix/ Trailers for movie - example.com/trailers/the-matrix/ Specific trailer for movie - example.com/trailers/the-matrix/trailer1     which will break the seamless hierarchy.    My questions are:   Is it true that resource deeper in URL hierarchy is tend to be less important when comparing to URLs of other site?   Is sacrificing meaningful, seamless hierarchy worth for this SEO optimization? How do you update an Excel file (Data Refresh and update formulas) WITHOUT opening the file? I have an Excel file that want to update and save automatically with out having to open it or manually interact with.  Manually, I open the file up and hit data refresh which goes and does a SQL query and then hit F9 for the formulas to update and then I just close/save.    (I then would mail the file out to people using a perl script or use SAS JMP to run some numbers/charts and also mail them out.  Basically I need to script some things which require the XLS file to be updated.) Imagine a black hole that is fast-approaching its final exponential throws of Hawking evaporation. Presumably, at all points in this end process there will remain a region that identifiably remains &quot;the black hole&quot; until the the very end, as opposed to huge swarm of fundamental particles that is being radiated out from it. As the mass of the black hole descends to that of individual particles, it would seem entirely feasible that the very last fermionic Hawking radiation event available to the almost-deceased black hole could leave it with an unbalanced charge, e.g. -1, and an unbalanced spin, say 1/2. It would also have some kind of mass of course, but that aspect of the final residue could be fine-tuned to any specific value by photon emissions of arbitrary frequencies. After photon emission mass trimming, the resulting black hole residuum would reach a point where it is no longer be able to evaporate into any known particle, because there is no longer any lower-mass option available to it for removing the -1 charge and 1/2 spin. The black hole residuum will at that point be stuck, so to speak, stuck with exact charge, spin, and mass features of an electron. And so my question: Is it an electron? And if so, by equivalence, is every electrons in the universe really just a particular type of black hole that cannot evaporate any further due to the constraints of charge and spin conservation? And if so, why are charge and spin so uniquely combined in such black hole remnants, so that e.g. a remnant of -1 charge and zero spin is not permitted, at least not commonly, and the mass is forced to a very specific associated level? Is there anything in the current understanding of general relativity that would explain such a curious set of restrictions on evaporation? The full generalization of this idea would of course be that all forms of black hole evaporation are ultimately constrained in ways that correspond exactly to the Standard Model, with free fundamental particles like electrons being the only stable end states of the evaporation process. The proton would be a fascinating example of an evaporation that remains incomplete in a more profound way, with the three quarks remaining incapable of isolated existence within spacetime. The strong force, from that perspective, would in some odd sense have to be a curious unbalanced remnant of those same deeper constraints on the overall gravitational evaporation process. This may all be tautological, too! That is, since Hawking radiation is guided by the particles possible, the constraints I just mentioned may be built-in and thus entirely trivial in nature. However, something deeper in the way they work together would seem... plausible, at least? If an electron is an unbalanced black hole, then the particles given off would also be black holes, and the overall process would be not one of just particle emission, but of how black holes split at low masses. Splitting with constraints imposed by the structure of spacetime itself would be a rather different way of looking at black hole evaporation, I suspect. (final note: This is just a passing thought that I've mulled over now and then through the years. Asking it was inspired by  by Ben Crowell. I should add that I doubt very seriously that that my wild speculations above have anything to do with Wheeler's concept of geons, though.) I downloaded the July 30th update for Pokemon Go and when I open the app I'm prompted to login, But once I login, it redirects me to this page on Cookies::     If I click "Done" in the top left, it prompts me to login again! I've tried reinstalling the game, restarting my phone, etc. I can't much enable Cookies on the inline Safari browser. It doesn't make sense, and cookies are on in Safari (because I don't use Safari and they're enabled by default).  How can I fix this? Can I define keyboard shortcuts using the Super key? Primes dividing $11, 111, 1111, ...$ I'm stuck in a problem of mapping numbers from one range to another. I want to calculate popularity of a web page based on the number of page hits on a scale of 10. The problem is total number of web pages are around 41,00,000 and the web pages for which page visit is given are only 1,70,000. Also, the page visit for a web page is between 20,000 and 1.  Now, I'll try to rephrase the above problem in more mathematical problem, I have 41,00,000 objects for which I need to calculate some factor "po". Out of these 41,00,000 objects, 1,70,000 objects contain some number 20,000 &lt;=y &lt;= 1. Now how can I calculate "po" for each object on scale of 10.  The data mostly looks like,  O1: 20,000 O2: 17,000 O3: 16,000 . . . . . . . O19: 334 O20: 300 . . . . . . . On: 1 and so on......   Mostly, objects have page visits = 1.  I tried calculating page visit for each object/maximum page visit for an object but that gives me very small values(like 1/20,000 is a very small number). I want my resulatant po values to be at some distance from one another so that I can differentiate between them.  Can anyone please suggest me some solution ?  Thanks How do I change the default session for when using auto-logins? When autologon is active, lightdm will start the Unity 3D session, not the 2D (or any other shell that I want to auto-login to).  Is there a way to start the shell I want automatically (autologon)?  Anyway, if autologon is disabled, the last used session is launched, and that's fine. I just want to choose which is default with autologon. "the better" vs "the best" of two players show that Cov(X+ Y, X-Y)= Var(X) - Var(Y) remote action function encountering CPU time out limit exception CPU time out limit was being hit while processing child records on the inline opportunity visualforce page, to handle this i wrote a remoteActionFunction on the page that invokes controller method that's taking long to process and when i get CPU LIMIT exception in the result, i am invoking javascript call back function that invokes a action function which handles the same code asynchronously(@future).  Question: by setting the timeout (Visualforce.remoting.timeout = 120000;) can't we overcome CPU TIME out limit of 10,000 ms. Completely clear all output from a Terminal window Not sure this is something which people will know on here are not.    We currently have a BI setup where we have Integration services on one SQL instance and the data warehouse database on a separate SQL Instance.    My question is, as no users physically connect to the Integration services SQL instance and it is purely used to execute package from the integrations service catalog via SQL agent, do we need to License every user i.e. Cal's for that SQL instance.  Basically i'm wanting to know if I could utilize SQL 2016 for an integration services instance and use features like Json manipulation etc and then load this data into the 2014 version instance...but what level of licensing will I need? How to prove $|a^k|=n/\gcd(n,k)$ whenever $|a|=n$? Suppose that $V, W$ are closed in $X$ and that $V\cap W, V\cup W$ are connected. Show that $V$ and $W$ are connected.  My attempt: Suppose that $V=U_1\cup U_2$ where $U_i$ are open in $V$, not empty and $U_1\cap U_2=\emptyset$. This induces a separation for $V\cap W$: $$ V\cap W = (U_1\cap W)\cup(U_2\cap W).$$  $U_i\cap W$ is open in $V\cap W$  $(U_1\cap W)\cup (U_2\cap W)=\emptyset$ as otherwise $U_1\cap U_2 \ne \emptyset$.  Now, I need to show that both sets are not empty. We know that $V\cup W$ is connected and closed in $X$. So, for all $x\in V\cup W=U_1\cup U_2\cup W$ and all neighborhoods $Z$ (in $X$!) of $x$ we have that $Z\cap (V\cup W) \ne \emptyset$. We can choose $x\in U_1 \subseteq V\cup W$. But then I would have to find a neighborhood of $x$ in $X$. I can't find one... How can I complete this bullet point?   Thanks.