This is pretty much a repeat of the question from social.technet.microsoft.com:   After a quick Google search, the above link is the only link I could find which was directly related to what I am looking for. But on that page the discussion seems to have decayed into some inconclusive babble, and I thought Superuser might be a good place to get a conclusive result (even if it is in the negative).  So is there a way I can tell Windows to shutdown the machine after it is done installing the updates? Please note that I want it to shutdown and not restart, so that my PC doesn't stay on the whole night. I thought of scheduled tasks, but am not able to come up with a good argument that I can pass to make it do what I need it to.
I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt?   For example, when Vista needs to install updates, it will let me install them and shut down by clicking the Shut Down button (while relegating the normal shut down button into the menu). So is there a command to do this in command prompt?
After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I'm wondering if there's anything wrong with using backticks around field names in MySQL.  That is:  SELECT `id`, `name`, `anotherfield` ... -- vs -- SELECT id, name, anotherfield ... Do users get notifications when @ was edited in I always wondered if users get notified about comments were their name was edited in afterwards.  Example:  I write a comment     See this link here   then I edit it to     @someuser: See this link here   Does the user get notified now? How to change launcher icon Is there a way to customize a Lucid Lynx Launcher icon for various programs? There does not seem to be a way to do this using Create Launcher or Launcher properties. The application is not actually "installed" on the PC, the executable has just been copied. All I've been able to do so far is to add the command /home/t32/bin/pc_linux/t32marm -c /home/t32/config_usb.t32 to a generic Launcher icon using Create Launcher. Is there any parameter (in terms of physical quantities such as mass, length, charge...) which can be used to decide when to treat a system quantum mechanically and not classically? Do these two observations suffice to show that a finite boolean ring must be of the form $\mathbb{Z}_2\times\cdots\times\mathbb{Z}_2$? Question: If $R$ is a finite boolean ring, then show $R \cong \mathbb Z_2 \times \mathbb Z_2 \times \cdots\times \mathbb Z_2$.   I know that   $\mathrm{char}(R) =2$  $R$ has $2^k$ elements for some $k$  (this is because, if $p\neq 2$ is a prime with $p\mid|R|$, then there exists a non-zero $x \in R$ s.t. $px=0$ and $p $ is odd $\implies x=0$, contradiction).   Does this suffice to answer my question? I am using pdflatex on a fresh (and current) MikTex 2.9 install with the following MWE:  \documentclass{article} \usepackage{animate} \begin{document}  Test \end{document}   Pdflatex throws the error:  Package: pdfbase 2017/03/23 v0.14 driver independent access to low-level PDF fe atures \g_pbs_page_int=\count175  ! Undefined control sequence. &lt;argument&gt; \luatexversion                            &lt;95 l.924 }   I have read the other posts containing the offending control sequence, especially  but the solutions offered there didn't help in my case.  This problem might have arisen with a recent MikTex update. I have now completely uninstalled, redownloaded, reinstalled and updates MikTex -- with no success. $$\lim_{n \to\infty} \frac{n!}{n^n}$$  I have a question: is it valid to use Stirling's Formula to prove convergence of the sequence? AES and DES - reusing the same round keys Big O, how do you calculate/approximate it? I just downloaded a DVD which is for a movie. After uncompressing the DVD file I see .VOB, .IFO and .BUP files. If I open the first .VOB file it shows me the DVD menu but I can't interact with it. So, my question is... is Totem able to play those kind of files? If so, how can I achieve that? What other app could I use in order to reproduce those files?  Edit  Using VLC didn't work neither. I forgot to mention I have already tried that. Let me rephrase: if I open the first video file it shows the DVD menu, BUT I can't interact with it. Add tab / local task to a node I've created a module called hotel_reviews.  I've created the route node/{node}/reviews using .   hotel_reviews.content:   path: '/node/{node}/reviews'   defaults:     _controller: '\Drupal\hotel_reviews\Controller\ReviewsController::content'     _title: 'Reviews'   requirements:     _permission: 'access content'   I then tried to add a local task using .  hotel_reviews.content:   route_name: hotel_reviews.content   title: 'Reviews'   base_route: node.view   weight: 100   I can now access the content defined by my controller at node/1/reviews, however when I go to node/1 I don't see a reviews tab.  What am I doing wrong?  I've been using the following documentation so far: How to quit Skype on Android? Show group of order $4n + 2$ has a subgroup of index 2. Let $n$ be a positive integer. Show that any group of order $4n + 2$ has a subgroup of index 2. (Hint: Use left regular representation and Cauchy's Theorem to get an odd permutation.)  I can easily observe that $\vert G \vert = 2(2n + 1)$ so $2 \mid \vert G \vert$ and 2 is prime. We have satisfied the hypothesis of Cauchy's Theorem so we can say $G$ contains an element of order 2.  This is where I am stuck  I am confused about how the left regular representation relates to the group. So my understanding at this point is that every group is isomorphic to a subgroup of some symmetric group. My question: is the left regular representation $\varphi : G \to S_G$ an isomorphism? where $G \cong S_G$ or is $S_G$ the same thing as $S_{\vert G \vert}$ and $\varphi$ is only an injection? I'm using Dummit and Foote for definitions.  I saw an argument online that said that since we have an element of order 2, there is a $\sigma \in S_G$ of order 2, but it is a product of $2n + 1$ disjoint 2-cycles. I don't understand how they could claim this and tried working it out on my own but didn't get there. -- They then went on to use the parity mapping $\varepsilon : S_G \to \{\pm1\}$ and since we have an odd permutation $\sigma$, we have $[S_G:\text{ker }\varepsilon] = 2$. I understood their computation but not how that directly shows that $G$ has a subgroup of order 2? unless $G \cong S_G$ because of how left regular representation is defined. (but again, I'm not understanding that concept very well yet.)  So, to be clear about my questions:   What is meant by left regular representation, is it an isomorphism or just an injection? and how would it be used here. If it is an isomorphism, the argument online starts to make more sense, but how can they say that since $\sigma$ is even, it is made up of $2n + 1$ disjoint transpositions? If you have a full, proof, I'd appreciate it, but good hints are just as good!   Thanks you! As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since:   Both Harry and the Weasleys use Platform 9&frac34; to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time   It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys.  The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this? In both the movies and comics Cap gains his peak human strength via the supersoldier serum and a does of vita rays, resulting in the rapid development of his super buff body:     While the most obvious real world analogue would be the use of steroids, these would still require that the person taking them train extensively and significantly increase their protein intake in order to gain muscle mass. While there are frequent scenes of Steve training in both mediums I've yet to see any scenes of him eating a 12-egg omelette or downing protein shakes. Are there any in-world explanations that would account for the increased muscle mass? Extra-dimensional energy conversion? Taking the * of these two large shapefiles   locally using ArcMap takes appr. 10 min.   Over the last few weeks, I've tried to obtain the same results using other, open-source approaches without success. I am curious why only ArcMap seems to generate results in a reasonable amount of time without errors.   The approaches I've tried so far:  QGIS  The most straight-forward alternative. There are two "union" functions available in QGIS. One default (part of vector overlay), one based on SAGA. Both functions create the desired results on smaller samples but fail to run (or take forever) on my shapefiles. I tried running union for 30 minutes after which the progress bar was at appr. 4%    PostGIS  I've ingested the shapefiles on an AWS RDS instance running postGreSQL with PostGIS enabled. The approach is not so straight forward and requires a hideous long SQL query to obtain the same result. Most importantly, the query did not create a meaningful result on the full datasets. It did run properly on a sample though.   See separate question   CREATE TABLE test.sqlislelijk AS  -- input data with polys1 AS (   SELECT      pfaf_id as df1,     geom as g   FROM hybas06_v04 ), polys2 AS (   SELECT      aqid as df2,     geom as g   FROM y2018m11d14_rh_whymap_to_rds_v01_v01 ), -- intersections intersections AS (   SELECT df1, df2, ST_INTERSECTION(a.g, b.g) i, a.g AS g1, b.g AS g2    FROM polys1 a, polys2 b WHERE ST_INTERSECTS(a.g, b.g) ), -- per-row union of intersections with this row diff1 AS (   SELECT df1, ST_UNION(i) i FROM intersections GROUP BY df1 ), diff2 AS (   SELECT df2, ST_UNION(i) i FROM intersections GROUP BY df2 ), -- various combinations of intersections pairs AS (   SELECT df1, df2, i AS g FROM intersections   UNION ALL   SELECT      p.df1,     NULL,     CASE       WHEN i IS NULL THEN g        ELSE ST_DIFFERENCE(g, i)     END   FROM polys1 p LEFT JOIN diff1 d ON p.df1 = d.df1   UNION ALL   SELECT     NULL,     p.df2,     CASE       WHEN i IS NULL THEN g       ELSE ST_DIFFERENCE(g, i)     END   FROM polys2 p LEFT JOIN diff2 d ON p.df2 = d.df2   ) SELECT    df1 as pfaf_id,   df2 as aqid,   g as geom FROM pairs WHERE NOT ST_IsEmpty(g);   Google BigQuery  Google's GIS extension for BQ looks promising but I experienced weird behavior and internal errors, probably due to mixing of GEOMETRY and GEOGRAPHY objects. Also, the syntax is similar to PostGIS and a command of 1 line in geopandas takes >20 lines in SQL.   GeoPandas  Probably my favorite approach. The out-of the box approach does't give any results after running it for several hours. My latest approach includes tiling the shapefiles, use multiprocessing on each tile and merge them. Not very straight forward and one 10x10 degree tile till takes 40+ minutes to calculate.   See   It is the first time in my career that I am impressed by the performance of ArcMap. It seems that ArcMap handles this use-case much, much better than anything else. The issue seems persistent over all solutions I've tried so far. Is there something wrong in the underlying libraries of the open-source/alternative solutions?    Note that Union in ArcMap means something different than in the Shapely / PostGIS world. Indefinite integral $\int(\sin x)^2/(x\cdot\cos x-\sin x)^2\,dx$ How to find the antiderivative of $\dfrac{(\sin x)^2}{(x\cdot\cos x-\sin x)^2}$? I know that series theory can solve the problem. But I wish to solve the problem by the antiderivative way. The numerator and denominator divide the $x^2$ at the same time, don't they? Hibernate is disabled, hiberfil.sys gets recreated at each boot I have Windows 7 running on a small (40GB) partition, with 4GB ram. This means that the hiberfil.sys file created by Hibernate takes up a significant portion of the available diskspace. I would like to remove it.  I am aware that I can disable Hibernate and remove hiberfil.sys by entering powercfg -h off in an elevated command prompt. This works -- the file is immediately removed, and after doing so, the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\HibernateEnabled key is (correctly) set to 0.  However, the next time I reboot the PC, hiberfil.sys returns from the dead, Hibernate is reenabled, and that registry key has returned to 1.  I'm pretty much at my wits' end with this. Almost everything I can find online related to removing the hiberfil.sys file simply suggests using powercfg to turn off hibernation, and that appears to work for just about everyone. But it just keeps coming back for me! (Like a vampire, sucking up my disk space.) I did find  from someone who seems to have had the same issue, but none of the suggestions there worked for the original poster (or for me). Still, I have tried everything listed there, including:   Disabling hybrid sleep Disabling Hibernate through the command prompt, through the Power Options GUI, and through both (in both orders) Manually changing the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\HibernateEnabled key Pretty much everything else I can think of!   I do want to reiterate that I have no problem removing the file -- that works great. It just comes back after every reboot. I'm about ready to throw in the towel and just run a script on login to disable Hibernate each time, even though that seems like a crazily hacky "solution" . . . but I was hoping someone here could suggest something else, first. Firefox fails to update due to corrupted download (deb)  Preparing to unpack .../firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb ... Unpacking firefox (32.0+build1-0ubuntu0.14.04.1) over (31.0+build1-0ubuntu0.14.04.1) ... dpkg-deb (subprocess): decompressing archive member: lzma error:  compressed data is corrupt dpkg-deb: error: subprocess &lt;decompress&gt; returned error exit status 2 dpkg: error processing archive  /var/cache/apt/archives/firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb (--unpack):  cannot copy extracted data for './usr/lib/firefox/libxul.so' to '/usr/lib/firefox/libxul.so.dpkg-new':   unexpected end of file or stream Please restart all running instances of firefox, or you will experience problems. Since Naruto failed the Genin exam so many times, doesn't that mean he's older than Sasuke and Sakura?