I make little  from series for English learners. It is from half to a minute long, but I have to download a whole episode to cut it. Is there any way to download only part of the episode with torrent, for example, as  does during movie streaming? Tried to dig around , but didn't find anything useful. Thank you.
I am working on a media project that contains little clips from movies and I wonder if there any way to avoid downloading all of the data instead only the specified parts of the movies?
Let $R$ be a commutative ring and $I_1, \dots, I_n$ pairwise comaximal ideals in $R$, i.e., $I_i + I_j = R$ for $i \neq j$. Why are the ideals $I_1^{n_1}, ... , I_r^{n_r}$ (for any $n_1,...,n_r \in\mathbb N$) also comaximal? Encode/Decode URLs in C++ Does anyone know of any good C++ code that does this? Creating additional Virtual Host Ubuntu Server Suppose I have a document with multiple include or input statements  \input{fileA} \input{fileB}   etc.   Is there an easy way to generate a single .tex file where \input{fileA} is replaced by the actual content of fileA etc. without copying it manually? Dedicated mysql server slow response Do megapixels matter with modern sensor technology? How can I install Ubuntu on a second hard drive with Windows being on the first? I have recently got an Alienware M17x R4 and since it has two hard drive bays I was thinking of putting my hard drive from my old laptop and installing Ubuntu on it without making any changes to the drive that has Windows on it. Also if possible to add a entry to the Windows boot loader to boot Ubuntu instead of using GRUB. nginx httpMapModule regex variables The  states that:     Since 1.0.4, case insensitive regular expressions can be used by prefixing the pattern with ~*.   And gives the example:  map $uri $myvalue {     /aa                   /mapped_aa;     ~^/aa/(?&lt;suffix&gt;.*)$  $suffix; }   I updated to nginx/1.2.7 to make use of this, and naive regexes work okay, but variables don't. When I try the above syntax I get the error:  nginx: [emerg] pcre_compile() failed: unrecognized character after (?&lt; in "^/aa/(?&lt;suffix&gt;.*)$" at "suffix&gt;.*)$"   I also tried the following syntaxes, but none of them worked:  ~^(.*)$  $1; ~^(.*)$  \1;   but neither of them worked either.  Does anyone know how to get variables to work in regular expressions in HttpMapModule? Let $n&gt;0$ and assume that $\chi^{(n)} \in \mathrm{Irr}(G)$ for every $\chi \in \mathrm{Irr}(G)$. Show that $G = H \times A$, where $A$ is abelian and $(|H|, n) = 1$.  $\chi^{(n)}$ is defined by $\chi^{(n)}(g) = \chi(g^n)$. $\mathrm{Irr}(G)$ is the set of all irreducible characters of $G$.  Here are the hints in the book:   Let $d = (|G|,n)$. Show that it is no loss to assume that $(|G|/d,n) = 1$. Let $A = \bigcap_{\chi \in \mathrm{Irr}(G)} \mathrm{ker} \chi^{(n)}$. Show that $A = \{g \in G | g^n=1\}$ and $|A| = d$. Let $H = \bigcap \{\mathrm{ker} \chi | \chi \in \mathrm{Irr}(G), \chi^{(n)} = 1_G\}$. Show $|G : H| = d$.   Hint 1 and 2 are easy, and it is easy to deduce the result from the hints. As for hint 3, I have proven that $\{ g \in G | (o(g), n) = 1 \} \subseteq H$, and that $|G : H| \mid d$. And I am stuck here.  Can anyone help me? "Print" and "ui.Label" return different strings in console and in the UI in Google Earth Engine I am working on a variable label in Google Earth Engine and noticed that the label as printed in the console is not the same as the label shown on the map. Why is that? Code below:  var aoi = ee.Geometry.Polygon([[[-106.75701284923326, 42.31332966408458],           [-106.75701284923326, 42.003856624775146],           [-106.31755972423326, 42.06913460511273]]]);  var chirpsSelect = ee.ImageCollection("UCSB-CHG/CHIRPS/DAILY")             .filterDate('1985-01-01','2018-01-01')             .filter(ee.Filter.dayOfYear(3,6))             .filterBounds(aoi)  var chirpsStartImage = ee.String(chirpsSelect.first().get('system:index')) var dateStartString = ((((chirpsStartImage.slice(6,8)).cat('/')).cat(chirpsStartImage.slice(4,6))).cat('/')).cat(chirpsStartImage.slice(2,4))   var sortChirpsSelect = chirpsSelect.sort('system:index',false)  var chirpsEndImage = ee.String(sortChirpsSelect.first().get('system:index')) var dateEndString = ((((chirpsEndImage.slice(6,8)).cat('/')).cat(chirpsEndImage.slice(4,6))).cat('/')).cat(chirpsEndImage.slice(2,4)) var dateTitle = ee.String((dateStartString.cat(' to ')).cat(dateEndString))  print(dateTitle)  var dateLabel = ui.Label({   value: dateTitle })  var panel = ui.Panel() panel.add(dateLabel) Map.add(panel) What should happen if a logo I made is similar to another? C# object references and Action types When I learned about the Minkowski Space and it's coordinates, it was explained such that the metric turns out to be $$ ds^{2} = -(c^{2}dx^{0})^{2} +(dx^{1})^{2} + (dx^{2})^{2} + (dx^{3})^{2}   $$ where $ x^0,x^1,x^2,x^3 $ come from $ x^{\mu} : \mu = 0,1,2,3 $, and $ c $ is the speed of light. The first resource I had access to--I have to do a bit of digging for the exact paper--of course addressed that this invariant takes the tensor form: $$ ds^2 = g_{\mu \nu}dx^{\mu}dx^{\nu} $$ as well. This two things I've seen in all of my texts and online resources regarding resources. The element in question that varies between authors, is the time coordinate, $ x^0 $. When it was first explained to me, it was using the standard Cartesian representation for the spatial portion of the coordinates, and the time coordinate was labeled as $ x^0 = ict $. Squaring gives $ (x^0)^2 = -c^2t^2 $, and applying differential calculus, we get $ (dx^0)^2 = -c^2dt^2 $. Sensible and expected to have the tensor formula spit out the Minkowski Metric. The author then later explicitly states the coordinates are $ x^0 = ict, x^1=x,x^2=y,$ and $x^3 = z$.  My questions is then, why is it most authors on the subject omit the imaginary unit on the time coordinate? For example, .   The only reason I can fathom omission is if the author is using metric signature $ [+,-,-,-] $, where I started off learning the theory with signature $ [-,+,+,+] $ which may be the reason seeing the time coord with no imaginary unit seems dissonant to me. All help appreciated!  Edit: After reading the other answers, my questions is now one of why and how (mathematically) do we obtain the Minkowski Metric Signature. More specifically the one element with a different sign. In .NET, which loop runs faster, 'for' or 'foreach'? In C#/VB.NET/.NET, which loop runs faster, for or foreach?  Ever since I read that a for loop works faster than a foreach loop a  I assumed it stood true for all collections, generic collections, all arrays, etc.  I scoured Google and found a few articles, but most of them are inconclusive (read comments on the articles) and open ended.  What would be ideal is to have each scenario listed and the best solution for the same.  For example (just an example of how it should be):   for iterating an array of 1000+ strings - for is better than foreach for iterating over IList (non generic) strings - foreach is better than for   A few references found on the web for the same:               [Edit]  Apart from the readability aspect of it, I am really interested in facts and figures. There are applications where the last mile of performance optimization squeezed do matter. What follows if we fail to reject the null hypothesis? What conclusions can we draw if $p&gt;\alpha$? Does not rejecting the $H_0$ mean anything? What are all the correct answers to the Squirrel's questions, and what is the reward when I get them all correct? I encountered The Squirrel at "A tree."              |   |                                                                         |   |                     "   Hello, I'm The                        |             |                        Squirrel. I can                        |             |                      provide you candies,                     |             |                      and lots of things.                                    |                      I know how much you                                    |        _.-'''-,      love candies. But I                                    |      .'        `\     feel alone in this                                    |     /           /          forest.       "                         |        |    /      .--^_^                                                   |        |    |     /  C ,,\                                                           |    |    |   \  _.)                           ___                            |     \   |   /  \                   ____.----'.-'                            |      '-, \./ \)\)               .-' --  __.-'                   |            \        `-/   );/           ___/  - _.-'                        |             \_________''--'-'________.-' --    /                            |              -   --        -  -     -     __.-'                                              -    --    -     --   --  /                                                 _________________________.-'                                 He asks you some questions. What are the correct answers, and what is the reward for getting them correct? Get all non-unique values (i.e.: duplicate/more than one occurrence) in an array Where can I get a clean ISO of a specific build of Windows 10? I need to repair my Windows 10 installation. Where can I get a clean ISO (with install.wim, no Install.ESD, so that I can run DISM against the WIM) of the specific Windows 10 build required for this?  In my case, I need the Anniversary update (Build 14393), Creators Update (Build 15063) or Fall Creators Update (Build 16299.15). I know people prefer using CorelDraw or Adobe Illustrator, but I want to know if there is a technique I can follow to use Adobe Photoshop to make vector Images. Why is ++i considered an l-value, but i++ is not?