TikZ: Drawing an image from the Manual
How can I produce a 'ring (or wheel) chart' like that on page 88 of the PGF manual?
How does TikZ sort intersections? I used the sort by key for intersections to sort along a line, expecting the intersections to be numbered 1 through 5. Why were they numbered 4, 5, 3, 1, 2? Playing around with it, I could not seem to figure out how the order is determined. The code and image follow.  \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{intersections}  \begin{document} \begin{tikzpicture}     \draw[name path=grid] [xstep=3,ystep=2] (0,0) grid (9,8);     \draw[-&gt;, name path=line] (2,1) -- (7,7);     \draw[name intersections={of=grid and line, sort by=line, name=i, total=\t}]         \foreach \s in {1,...,\t}{(i-\s) node {\s}}; \end{tikzpicture} \end{document} How to use -exec option in find command I wanna solve some problems in compiz with my brain and hands.  By the way I entered following command to build compiz from source in Ubuntu 12.04  find /opt/compiz-built/share/gconf/schemas -exec gconftool-2 --install-schema-file={};   I referred that command at   And following message is shown.  How to use -exec option in find command, I guess that it's my mistake. I've got the following question:  $A = \{\sqrt{n} - \left\lfloor\sqrt{n}\right\rfloor : n \in \mathbb{N}\}$  Find inf A, sup A    inf A is no big deal, but I have a hard time proving sup A is 1  I've tried to prove that: $\sqrt{n^2 - 1} -\left\lfloor\sqrt{n^2-1}\right\rfloor &gt; \sqrt{n} -\left\lfloor\sqrt{n}\right\rfloor $  but couldn't find a way to do that What Canon lens would one use for Sartorialist-like street photography? You probably know Scott Schuman and his blog (). What kind of lens (that is not expensive) would you recommend for Canon 550D to achieve similar effect (in terms of DoF etc.)? I'm a newbie so I'm not sure how to properly interpret those photos' EXIF info. My guess is, that a similar effect can be achieved using .   PS:   Update: Thank you guys for all the answers, it's much more clear for me right now. I think I'll try the Canon 50mm f/1.4 lens. Linux ACL behaviour: settings the mask changes 'ls' output, but not actual permissions It might be the time of night, but this is puzzling me. Picture the following.  [root@node1 acltest]# getfacl foo/ # file: foo # owner: root # group: testuser user::rwx group::r-x other::---  [root@node1 acltest]# ls -la . total 24 drwxr-xr-x  3 root root     4096 Feb  9 21:53 . drwxr-xr-x 25 root root     4096 Feb  9 21:54 .. drwxr-x---  2 root testuser 4096 Feb  9 21:53 foo [root@node1 acltest]# setfacl -m m::rwx foo [root@node1 acltest]# getfacl foo/ # file: foo # owner: root # group: testuser user::rwx group::r-x mask::rwx other::---  [root@node1 acltest]# ls -la . total 24 drwxr-xr-x   3 root root     4096 Feb  9 21:53 . drwxr-xr-x  25 root root     4096 Feb  9 21:54 .. drwxrwx---+  2 root testuser 4096 Feb  9 21:53 foo [root@node1 acltest]# su - testuser [testuser@node1 ~]$ cd /acltest/foo/ [testuser@node1 foo]$ ls -la . total 16 drwxrwx---+ 2 root testuser 4096 Feb  9 21:53 . drwxr-xr-x  3 root root     4096 Feb  9 21:53 .. [testuser@node1 foo]$ touch bar touch: cannot touch `bar': Permission denied   In words: I create a directory foo, with mode 0750, root as owner and testuser as the group. (testuser is the private group of testuser, but that doesn't matter.)  The getfacl command correctly shows no ACL's on this directory and there is not mask yet. The mask will be set accordingly to the group permissions if I would add a named group or user now.  If I explicitly set the mask to rwx now, the group permissions as shown by ls change too. I know it happens the other way around (the mask changes when the group permissions change), but this seems puzzling.  The more puzzling because the getfacl output does not show the group permissions as rwx but - as said - ls does.  Which one is right? Apparently, the output of getfacl is right, because testuser cannot write to foo. As expected, by the way, because I did not grant the testuser group any permissions to do so.  It goes on. I cannot allow the testuser group write permissions on foo by just using chmod. I have to explicitly set an ACL using setfacl -m g:testuser:rwx foo to allow testuser to finally touch foo/bar.   Can someone explain the rationale behind the difference in the outputs of getfacl and ls? I know it can be tricky to have normal permissions go together with ACL's, but this seems plain wrong. (Though I expect to be missing something glaringly obvious ;))  I have already seen How do filament LED bulbs work, looking very similar to incandescent bulbs? Filament LED bulbs use very narrow strips containing the LED, which look similar to filaments of an old incandescent bulb:  They look like a normal bulb with large "old-style" coal filaments, and are of about the same size and shape as the common standart E27 socket bulb.    There are two basic variants of these bulbs:     One "plain" as described, looking impressively similar to a classic bulb The other has a white coating on the glass, about 15mm wide next to the metal socket.   How are these filaments build? I could imagine the it's "pretty normal" LEDs, but lots of them, directly bonded to something? (There are references to COB)  How does the heat management work? Ii have seen speculations about filling the bulb with either helium or "some patented organic gas" - could that be enough for cooling?  How does the driver - which seems to be very small - work?  In the variant with white coating - hiding some components, I assume - is already not that much space, and in the plain variant, there seems to be almost no space for something nontrivial.  Below you see some bulbs of the white coating variant, switched on:   (Images with the permission of this )    Note how the LED filament bulbs are not so much similar to the tungsten filament bulbs recently being phased out - they are more resembling the long outdated carbon filament bulbs: Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot) Stack Overflow in ES, PT, RU, JP have mixed-language descriptions OK, I will try and stick to the facts to explain this whole situation. I would really appreciate everyone's comments:   Me (Irish passport) my wife (Filipino passport) and 2 year old twins (Irish passports) all live in the UK. My wife has residence here. We are flying from Manchester to Doha. We're Planning to stay 3 weeks. As my wife had a UK residence stamp &amp; EEA Family permit visa, we called the UK home office to just verify if she could travel to Qatar without a Visa. They informed us (recorded conversation) that my wife had the same entitlement to me as long as she was traveling with me. I understand now, that our calls should have been straight to the Qatar embassy in London to Verify. We just took it from the UK Home Office as being correct. We arrive at Manchester Airport. We asked the Qatar Airways check in staff to verify my wife's passport to confirm she is entitled to entry in the state of Qatar. Check-in staff confirmed everyone is OK with my wife's passport as we board our 8 hour flight to Doha with our 2 year old twins. We get to Doha and my wife is refused entry at immigration as they say she requires a visa. Calls are made by Qatar airways to Manchester Airport - Qatar airways admit full responsibility for allowing us to travel when we should not have been allowed to travel. We have to re-book flights at Doha - Qatar Airways just changed our return flight to get us back on the next available flight.  We had to pay to enter a lounge in Doha airport with our own money, just so we can give our children some rest and food. We return to Manchester 8 hours later. The twins' double buggy is missing (still missing to date). I understand my wife didn't have the correct Visa, as we were given false information by the UK home office. But, they should not have allowed us to board a plane with those checks being done. If I had known at Manchester airport, I could have made the journey myself with 1 of my children, and I could have processed the Visa for my wife at our hotel in Doha. But, because were not noticed and all allowed to board, I was never given this option. Are Qatar Airways at fault? Should all our flights be re-instated? Are we entitled to compensation? Should they reimburse our expenses?   This is currently being reviewed by the airline. It would be good to get comments and peoples thoughts. Search for text files where two different words exist (any order, any line) I'm looking for a way to search files where two word instances exist in the same file.  I've been using the following to perform my searches up to this point:  find . -exec grep -l "FIND ME" {} \;   The problem I'm running into is that if there isn't exactly one space that between "FIND" and "ME", the search result does not yield the file.  How do I adapt the former search string where both words "FIND" and "ME exist in a file as opposed to "FIND ME"?  I'm using AIX. How can I speed up D&D 3.5e combat? I'm looking for ways to speed up the combat in my D&amp;D 3.5 game. It seems that turns - both player and non-player - simply take too long. I have thought about giving everyone a 30 second timer, but I'm afraid that might inhibit their ability to come up with strategy and tactics. What do you call a person who keeps reminding others of one’s favors for them? When you fight with a person who then keeps telling you I did that I did this for you and so on. I want to tell them that it's inappropriate to remind others of the favors you did for them, especially if I appreciate those favors and try my best to return them. Finding largest file recursively I am trying to find the largest file in a directory recursively. If there is a subdirectory inside of that directory the function needs to go inside that directory and check to see if the largest file is there. Once the largest file is found the output is displayed with the relative path name and the name and size of the largest file.  EX:  dude@shell2 (~...assignment/solutions) % bash maxfile.sh ~/test class/asn dude.h.gch: 9481628   This is what I have:  #!/bin/sh clear  recursiveS() {     for d in *; do         if [ -d $d ]; then             (cd $d; echo $(pwd)/$line; du -a; recursiveS;)         fi     done } recursiveS   I have been stuck for a while now. I cannot implement this by pipelining a number of existing Unix tools. Any ideas would be nice! $|p(z)| \leq M$ for $|z| \leq 1$ Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$ Let $p(z)= \sum_{k=0}^n a_k z^k$ ,  $a_n \neq 0$ , be a polynomial of degree $n$ such that $|p(z)| \leq M$ for $|z| \leq 1$.  Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$  This was an exam question. Part (a) of this question asked the converse: if $|p(z)| \leq M|z|^n$ and $|z|$ is sufficiently large, then $p(z)$ is a polynomial. This question came straight out of Ahlfors' Complex Analysis, which I solved by showing, using the Cauchy Estimate,  $|p^n (z)|  \leq \frac{n!M|z|^k}{R^n} = 0$ as $R \to \infty$.   I would like to work backwards with this.   May I do this, or similar:   $p(z) = \frac{1}{2\pi i} \int_{c} \frac{f(\zeta)d\zeta}{\zeta-z}$  $\Rightarrow  |p(z)| \leq \frac{2\pi M|z|^n}{1(2\pi)}= M|z|^n$ With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use Intel Smart Response for a speedy setup. However as I am new to Linux I really don't know what to do.  My ideal setup would be something similar to this, but I know for a fact that IRST is not available in Linux so what I intend to do is keep the OS files in the SSD instead and keep my media on the larger HDD. A step by step procedure would be extremely helpful.     Edit: I want a system running solely on Ubuntu, with the SSD to speed things up but setting it in such a way that it does not hasten its lifespan.    # /etc/fstab: static file system information.  # # Use 'blkid' to print the universally unique identifier for a  # device; this may be used with UUID= as a more robust way to name devices  # that works even if disks are added and removed. See fstab(5).  #  # &lt;file system&gt; &lt;mount point&gt; &lt;type&gt; &lt;options&gt; &lt;dump&gt; &lt;pass&gt;  # / was on /dev/sda1 during installation  UUID=80289460-5983-4349-8afc-6f3119938ee9 / ext4 errors=remount-ro 0 1   # /files was on /dev/sdb5 during installation  UUID=c1678c88-5100-41bc-8090-7887f1622c7f /files ext4 defaults 0 2   # swap was on /dev/sdb6 during installation  UUID=608e3ec2-c76e-4657-af6d-80793b5f50f6 none swap sw 0 0 If $\forall x \in R, x^2-x \in Z(G)$, than $R$ is commutative My old computer broke down a few days ago, so I'm using a laptop until I can get it fixed.  As a side effect, I no longer have my usual browser cookies, so I had to log back into Stack Exchange.  While doing so, I noticed that I kept having to log in to every Stack Exchange site I visited &mdash; the usual "Welcome back [username], you've been logged in." auto-login banner seemed to be conspicuously missing.  In fact, a quick look at the "network" tab in the developer tools suggested that no requests to stackauth.com were being made at all.  Eventually, I decided to dive into .  Turns out that the code to make the global auth check and bring up the banner is simply:    gauth.checkStackAuth(StackExchange.options.stackAuthUrl);   And, what do you know, running that command from the developer console does auto-log me in.  However, the reason this code isn't being run automatically is because it's disabled in the site config (apparently for all SE sites).  For example, the page I'm typing this question on has the following config options set:  StackExchange.init( {     "locale": "en",     "stackAuthUrl": "https://stackauth.com",     "serverTime": 1408393334,     "networkMetaHostname": "meta.stackexchange.com",     "styleCode": true,     "enableUserHovercards": true,     "site": {         "name": "Meta Stack Exchange",         "description": "Q&amp;A for meta-discussion of the Stack Exchange family of Q&amp;A websites",         "isNoticesTabEnabled": true,         "recaptchaPublicKey": "6LdsB7sSAAAAAAzjgEF_Hd8vXv-C42sa_KyofaGR",         "recaptchaAudioLang": "en",         "enableNewTagCreationWarning": false,         "globalAuthDisabled": true,                // &lt;--- HERE         "isMetaSite": true,         "enableSocialMediaInSharePopup": true,         "useGoogleOAuth2": true     },     // etc.   So, apparently, global auto-login has been deliberately disabled for some reason.  Why is that, and is there any planned timeline for re-enabling it? What are WPF Preview Events? Horned Mohawk looking insect. What is it? Any ideas? I didn't know any other way to explain it.  I live in Indiana, USA if that helps.   Someone said it might be a "stink bug" but I'm not sure and not willing to find out! What's the difference between an argument and a parameter? When verbally talking about methods, I'm never sure whether to use the word argument or parameter or something else. Either way the other people know what I mean, but what's correct, and what's the history of the terms?  I'm a C# programmer, but I also wonder whether people use different terms in different languages.  For the record I'm self-taught without a background in Computer Science. (Please don't tell me to read  because I'm asking this for the benefit of other people who don't already have a copy of 's marvellous book.)  Summary  The general consensus seems to be that it's OK to use these terms interchangeably in a team environment. Except perhaps when you're defining the precise terminology; then you can also use "formal argument/parameter" and "actual argument/parameter" to disambiguate.