Partition a list into sublists of unequal lengths according to a list of lengths
Partitioning with varying partition size
I have an object at a fixed position in 3D space. I would like the camera to circle around it while facing it. I want to path of the camera to be circular in 2D, meaning that it does not move up or down.  I need this to be pretty accurate. I don't want to manually set a keyframe every frame for position and rotation. I would like to do this maybe with an expression, not with manual keyframing. I am not sure how to go about this but I think it is going to involve Python as well as some trigonometry. How do I count attendance in Excel? What’s the point in having “www” in a URL? Other than for historical reasons, is there is reason to have “www” in a URL?  Should I create a permanent redirect from www.xyz.com to xyz.com, or from xyz.com to www.xyz.com? Which one would you suggest and why? Create a .desktop file that opens and execute a command in a terminal Oneboxing a Stack Exchange post using HTTPS does not work When you post a link from Stack Exchange into the chatbox using HTTPS, the link does not onebox. However, if you change the link to HTTP, it works. See the screenshot below:    HTTPS URLs should onebox, too. Let $D := \{z \in \mathbb{C}: |z| &lt; 1\}$ and $f\colon D \rightarrow \mathbb{C}$ be holomorphic. Suppose $\lvert f(z)\rvert \leq 1$ on $D$, show that $$\frac{|f(0)| - |z|}{1 + |f(0)||z|} \leq |f(z)| \leq \frac{|f(0)| + |z|}{1 - |f(0)||z|} \ \forall z \in D.$$  I have tried using Cauchy Integral Formula to $f$ and expanding $f$ at $0$, but I have no idea why $f(0)$ appears in the inequality in the former case. Both answers and hints are appreciated and thanks in advance! Shining a laser onto a mirror Theoretically, if I shined a laser at a mirror at an angle of 0 degrees so that the light was perfectly reflected back to the light source, then I should not be able to see the light because it is not reflected to my eyes.  | |  me | |============ laser | | |   However this is evidently not the case, as I am able to see the laser point on the mirror. Why is this the case? My initial assumption is that it is due to diffuse reflection on the imperfect mirror's surface, but I am not sure. 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. Terminal method of formatting storage drive I want to know how to format a storage drive from the terminal. Helpful things to provide in the answer would be often used options for commands and base knowledge that one can use to extrapolate future uses. Specifically I would like to know how to format in the different file systems such as NTFS, FAT32, EXT4, etc. Information on how to partition the drive via terminal is also wanted.  I am trying to format a high capacity external hard drive (EHDD) into NTFS - from the terminal.   I know I can use gparted for this as well as other GUI programs, but I still want to now how to do it from the terminal. Speak Slower or Speak Slowlier? AFAIK the correct grammar for "speak slow" is "speak slowly" (slowly being an adverb). Please correct me if I am mistaken.  But in daily life I have not heard anyone saying "Speak slowlier".  I think I heard folks saying "Speak slower" but I also think it is incorrect.  Which is the best or correct form to convey the message?  Could that be the longish "Speak more slowly?" If $\mathfrak p \subset R$ is a prime ideal, prove that for every nilpotent $r \in R$ it follows that $r \in \mathfrak p$.   The only hint that my tutor gave me was to use induction. Can someone explain what he means by this?  Thanks for the help! context menu parent? I understand that the architecture of Convolutional Neural Networks (CNN) and Feed forward (FNN) are quite different. And that CNNs use pooling and filters of shared weights over a patch of the image. I am not so clear on the core convolution operator (1):   If anyone could link me to an explanation, I have looked at the Colah blog and Nielsen's online book, and I understand what it is doing but don't understand the convolution operator.  Also, it looks quite similar to the the core FNN function is there and difference? (2).  (1) convolution operator is $a^1 = \sigma(b + w*a^0)$ which is equivalent to:  $a^1 = \sigma(b + \sum^4_{l=0}\sum^4_{l=0}w_{l,m}a_{j+l,k+m})$  (2) feed forward operation:  $a^1_i = \sigma(\sum^n_{j=1}w_{ij}x_j +b_i)$  Many thanks  Sources: functions taken from: Why does this sort ignore the +/- character prefix? Rules of thumb for divisibility Given a number presented in decimal form $n=\sum_{k=0} d_k10^k$ there are some nice thumb rules to decide whether it is divisible with a prime number  $p\in\{7,11,13,17,19,23,29\}$.   For each of this numbers there is a number  $a_p$ such that $p|n\iff p|(a_p\cdot d_0+\sum_{k=0} d_{k+1}10^k)$.  $a_7=-2,\;a_{11}=-1,\;a_{13}=4,\;a_{17}=-5,\;a_{19}=2,\;a_{23}=7,\;a_{29}=3$  E.g. $\;19\cdot 17=323$ and $32+2\cdot 3=38=2\cdot 19$ and $32-5\cdot 3=17$.  Is there a number $a_{31}$ that works the same way? Or $a_p,\;p\ge37$? What's the best way to get the last N elements of a Perl array? What's the best way of handling permissions for Apache 2's user www-data in /var/www? Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the Apache 2 user is www-data.  We've got two regular users &amp; root. So when messing with files in /var/www, rather than having to...  chown -R www-data:www-data   ...all the time, what's a good way of handling this?  Supplementary question: How hardcore do you then go on permissions?  This one has always been a problem in collaborative development environments. Pgfplots: Linewidth when using \ref in custom legend I'm trying to make a basic Windows application that builds a string out of user input and then adds it to the clipboard. How do I copy a string to the clipboard using Python? SHOWPLAN permission denied when including execution plan in Data Explorer If I select the "Include execution plan" checkbox in the Data Explorer, the query fails:     SHOWPLAN permission denied in database 'StackOverflow'.     I see that  following maintenance. I don't know whether there was any recent maintenance. It's been several days since the data was updated and longer since an update was deployed, if that's related.