Convert list to multidimensional list
How do you split a list into evenly sized chunks?
I recently moved into an in-law unit of a large old house.  In the kitchen, there are two pipes coming out of the wall (one protruding out a little more than the other).  I had assumed they were gas lines to connect my stove.  But since the stove only connects to one pipe, I'm now wondering if they're actually water lines. Can anyone explain how I can tell the difference? On the other side of the wall is a large closet with the air conditioning system, water heater, and what I think is the gas shutoff valve. Speed of light travel Where is the denoise option in 2.90? Prepend 0 to sublists Are planets actually moving in elliptical orbits around the Sun or do they move in circular orbits around their center of mass? In every derivation of Kepler's Laws that I have seen, we assume that the sun is stationary. However, in other places I have read that celestial bodies move about their barycentre (center of mass). So are planets actually moving in elliptical orbits around the Sun or do they move in circular orbits around their center of mass? How should ip2long converted IP's be stored in MySQL? How do I use the Chinese remainder theorem to find all the square roots of 11 in $\mathbb Z_{35}$? Prove that $(x+y+z)^2(yz+zx+xy)^2 \leq 3(y^2+yz+z^2)(z^2+zx+x^2)(x^2+xy+y^2)$ This is Problem 6 of the 2007 Indian National Math Olympiad (INMO).  If $x, y, z$ are positive real numbers, prove that $(x+y+z)^2(yz+zx+xy)^2 \leq 3(y^2+yz+z^2)(z^2+zx+x^2)(x^2+xy+y^2).$  My best idea was to expand this and simplify. Although that doesn't look very feasible. Another idea is to see that $x^2+y^2+xy \geq x^2+y^2$. Then we just have to show that $(x+y+z)^2(yz+zx+xy)^2 \leq 3(x^2+y^2)(x^2+z^2)(y^2+z^2)$ if that is even true. Example of a group where $o(a)$ and $o(b)$ are finite but $o(ab)$ is infinite Let G be a group and $a,b \in G$. It is given that $o(a)$ and $o(b)$ are finite. Can you give an example of a group where $o(ab)$ is infinite? There is no continuous injective function $f:\mathbb{R}^n\longrightarrow\mathbb{R}^m$ Subquery in SQL Server Compact Edition Do the following negations mean the same thing? I don't think you understood me. / I think you misunderstood me.    Do these senteces mean the same thing? If not, what's the difference?  Edit: I just realized that I asked something different from what I originally wanted. So I am also interested in the following comparison:     I don't think you understand me. / I think you don't understand me. Server only reachable over VPN I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ERR_CONNECTION_REFUSED. But the strange thing is that I CAN reach the server when using VPN and using the same IP. What can I do?     -telnet 80.***.***.78 80      Trying 80.***.***.78...     telnet: connect to address 80.***.***.78: Connection refused     telnet: Unable to connect to remote host     -route -n      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0     192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0      -sudo netstat -lapute:              Active Internet connections (servers and established)     Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name     tcp        0      0 *:http                  *:*                     LISTEN      root       6137        2051/apache2     tcp        0      0 *:ssh                   *:*                     LISTEN      root       6367        2249/sshd     tcp        0      0 pi.local:ssh            nmb.local:65535         ESTABLISHED root       8669        2565/sshd: pi [priv     udp        0      0 *:9949                  *:*                                 root       5918        1809/dhclient     udp        0      0 *:mdns                  *:*                                 avahi      6293        2184/avahi-daemon:     udp        0      0 *:54070                 *:*                                 avahi      6295        2184/avahi-daemon:     udp        0      0 *:bootpc                *:*                                 root       5946        1809/dhclient     udp        0      0 pi.local:ntp            *:*                                 root       6310        2200/ntpd     udp        0      0 localhost:ntp           *:*                                 root       6309        2200/ntpd     udp        0      0 *:ntp                   *:*                                 root       6304        2200/ntpd What is the relativistic calculation of travel time to Proxima Centauri? It has already been  how fast a probe would have to travel to reach Alpha Centauri within 60 years.  NASA has done  into a probe that would take 100 years to make the trip.  But I am interested in this question from a slightly different perspective.  I would like to know how long the trip from our solar system to Proxima Centauri would take for both a ship and for an observer on Earth while accounting for the effects of general relativity on a .  The following assumptions may be made:   The ship starts and ends at 0 km/s relative to the Earth observer. The ship experiences a constant force of acceleration of 20 g until the half-way point and then a constant force of deceleration of 20 g until the destination. The path traveled is such that accleration is in only one spatial direction. The distance traveled is 4.25 light years.   Calculate (accounting for general relativistic effects):   Time of trip for Earth-based observer. Time of trip for ship-based observer. Maximum speed.   You don't need to consider mass, or life-support systems, or method of propulsion; I am really only interested in the effects of relativity on the perceived time of the trip. How to match all occurrences of a regex Is there a quick way to find every match of a regular expression in Ruby? I've looked through the Regex object in the Ruby STL and searched on Google to no avail. What do I need to know about temperature and food safety? Why Did Dumbledore Let Harry Give the Remains of the Diary Horcrux to Dobby? J.K. Rowling confirms that Dumbledore knew the destroyed diary was the remains of a Horcrux;     JKR: "In essence divided," exactly, the "essence" being the soul. So Dumbledore knew all along that he must have- well, he suspected until Chamber of Secrets, and then at the point where he saw what was clearly the remains of a Horcrux, in other words, the diary, he thinks, "Okay. There you go. And not only has he definitely done it, but he's got to have more than one, because he's treated this one very casually."      Yet Dumbledore allows Harry to take this very dark magical artifact and return it to Lucius Malfoy (in order to free Dobby):     ‘Professor Dumbledore,’ he said hurriedly, ‘can I give that diary back to Mr Malfoy, please?’   ‘Certainly, Harry,’ said Dumbledore calmly. ‘But hurry. The feast, remember.’   Harry grabbed the diary and dashed out of the office.   Chamber of Secrets - page 248 - Bloomsbury - chapter 18, Dobby's Reward   Why did Dumbledore allow Harry to take the Horcrux before he had fully examined it, especially as Dumbledore knew it was a Horcrux? The Peverell ring had a lethal curse placed on it for anyone who tried to put the ring on. Why didn't Dumbledore check the diary for additional curses or Dark Magic before giving it to Harry? I would have thought Dumbledore would have wanted to keep whatever Horcrux relics he found.   Also, do we know what happened to the diary after Harry gave it back to Lucius Malfoy and Lucius threw it aside? Are there any instances in canon that place the diary back in Dumbledore's hands? I am trying to find the splitting field of $x^6+x^3+1$ over $\mathbb{Q}$.  Finding the roots of the polynomial is easy (substituting $x^3=t$ , finding the two roots of the polynomial in $t$ and then taking a 3-rd root from each one). The roots can be seen  [if there is a more elegant way of finding the roots it will be nice to hear]  Is is true the that the splitting field is $\mathbb{Q}((-1)^\frac{1}{9})$ ? I think so from the way the roots look, but I am unsure.  Also, I am having trouble finding the minimal polynomial of $(-1)^\frac{1}{9}$, it seems that it would be a polynomial of degree 9, but of course the degree can't be more than 6...can someone please help with this ? I have several spreadsheets with information I need to consolidate, each with different (and sometimes overlapping) portions of the final data set I'm hoping to create. Typically, combining spreadsheets with similar data is easy to do by dumping all the data into one sheet and using Remove Duplicates. However, I want to make sure that the line items which are left represent the latest version of the duplicates.  I will be importing the following data from each spreadsheet:   A unique identifier field, (UID) which identifies the subject of the line item and will be used to spot duplicates between the input sheets. A status field, (STATUS) which will have information about the item called out in the unique identifier field. A date field, (DATE) which will contain the date the imported data was originally written.   What I need is for my output to contain only one line item for each UID, and have data from the STATUS field which matches the most recent DATE for that UID from the input sheets.  What is the easiest way to do this in Excel? How to prove Euler's formula: $e^{i\varphi}=\cos(\varphi) +i\sin(\varphi)$?