Inserting SVG images in Latex
include svg images with the svg package
Is there any way to make a hotkey turn the screen off? How can I make a script (or make some changes) to allow me to turn the screen off in Ubuntu (12.04) whenever I want, the way thevscreen can be turned off in Cellphones?  And how can I make a combination of keys (a shortcut) to execute that script?  I want to conserve power.  I've seen this question    but there is no hotkey for it.  Moreover, in the answer, it is said that there are many ways to accomplish this so I'd like to know more. Why rationalize the denominator? Is it possible to create a counter just with wiring? With the new logic gates in the 1.3.1 update, is it possible to create some wiring circuit that counts how many times a trigger was activated? In other words, is it possible to make a circuit that outputs a trigger every two input triggers?  I've done some experimenting but the nature of wires and there being no intrinsic on/off state in Terraria makes it pretty counter-intuitive compared to real world logic circuits. Evaluate $\int_0^\infty\frac{\ln x}{1+x^2}dx$ Evaluate $$\int_0^\infty\frac{\ln x}{1+x^2}\ dx$$ I don't know where to start with this so either the full evaluation or any hints or pushes in the right direction would be appreciated.  Thanks. Proof that the real numbers are countable: Help with why this is wrong I was just thinking about this recently, and I thought of a possible bijection between the natural numbers and the real numbers.  First, take the numbers between zero and one, exclusive.  The following sequence of real numbers is suggested so that we have bijection.    0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.01, 0.02, ... , 0.09, 0.10, 0.11, ... , 0.99, 0.001, 0.002, ... , 0.999, 0.0001, etc.  Obviously, this includes repeats, but this set is countable.  Therefore, the set of all numbers between zero and one is a subset of the above countable set, and is thus countable.  Then we simply extend this to all real numbers and all the whole numbers themselves, and since the real numbers, as demonstrated above, between any two whole numbers is countable, the real numbers are the union of countably many countable sets, and thus the real numbers are countable.    Please help me with this.  I understand the diagonalization argument by Cantor, but I am curious specifically about this proof which I thought of and its strengths and flaws.  Thanks. What is role-playing, and where do I start? I have been told that roleplaying is great fun. I've looked and looked and it all seems so complicated. Could anyone tell me a good place to start, and what sort of things you end up doing in roleplaying? I have heard that .NET is not free and that I have to pay Microsoft if I develop a .NET application.  Is this true?  If so:   What do I have to pay? I'm a subscriber to the MSDN via the Academic Alliance (we download a variety of Microsoft Software products for free, like VS2008 and Windows Server 2008). Do I have to pay for the software that I make with these tools? What about web apps with ASP.NET? Is there a payment due when I host my application or do I just pay for the technology?   EDIT:  So what you are saying is that it's the same to develop a web application using ASP.NET or PHP (ignoring technical issues, just payment side), all what I have to pay is the hosting fees?  EDIT 2:  .NET rules :) I'm currently a beginner when it comes to 3D modelling but doing okay so far. I'm struggling a bit when it comes to the final renders of my scene, specifically on the camera view I want. Sometimes its to zoomed in and sometimes to zoomed out that it's gone out of the environment of the blender. I realized the settings for the camera on blender are for actual cameras / photography and I'm no expert on that too. A tip on how to control them precisely would be nice. Thank you. How to simulate from a Gaussian copula? Suppose that I have two univariate marginal distributions, say $F$ and $G$, which I can simulate from. Now, construct their joint distribution using a , denoted $C(F,G;\Sigma)$. All the parameters are known.  Is there a non-MCMC method for simulating from this copula? Unable to correct problems, you have held broken packages Proving divisibility of expression using induction Create a tar archive split into blocks of a maximum size I need to backup a fairly large directory, but I am limited by the size of individual files. I'd like to essentially create a tar.(gz|bz2) archive which is split into 200MB maximum archives. Clonezilla does something similar to this by splitting image backups named like so:  sda1.backup.tar.gz.aa sda1.backup.tar.gz.ab sda1.backup.tar.gz.ac   Is there a way I can do this in one command? I understand how to use the split command, but I'd like to not have to create one giant archive, then split it into smaller archives, as this would double the disk space I'd need in order to initially create the archive. When an account is deleted, the username in the user's posts and comments is changed to a generic user&lt;userID&gt;. But the username stays the same on close and delete notifications on posts the user had voted to close / delete1. I think it shouldn't, especially for users who used their real name as their username, if they chose to distance themselves from the site and remove their accounts, it makes sense that they wouldn't really want their name plastered on close and delete notifications.   A perhaps easy way to avoid the actual username remaining visible would be to change it to the generic user&lt;userID&gt; (or anything generic enough, like "anonymous") prior to deletion, and wait a bit for the generic username to propagate all over the site. If I'm not horribly misreading , this was part of the process in the old days.   This could be automated or added as a suggestion to the .  Glaring example can be seen , where the deleted user also posted a comment where their name is properly anonymized:        1 I've seen it on close notifications and self deleted answers. I'm not sure it happens on deleted questions, or deleted answers that aren't self deletions, and I don't have a way to verify it - other than stumbling on them accidentally I'm a teacher and will ask my students to either bring their laptops with Ubuntu installed with an specific list of packages preinstalled or bring a USB Drive or External Hard Drive with Ubuntu and the packages preinstalled.  For those who are going to bring the USB are two posibilities:   Install with the Ubuntu's "Startup disk creator" program, and telling it to reserve some space for persistence. Boot with a LiveCD and Install Ubuntu in the USB drive.   Then, in either case, boot with that media and install the packages.  So, for my purpose or any other purpose:   What is the best choice and why? Do we have another option? full explanation please. This is a very basic query I can't figure out....  Let's say I have a two column table like this:  userid  |  roleid --------|--------    1    |    1    1    |    2    1    |    3    2    |    1   I want to get all distinct userids that have roleids 1, 2 AND 3.  Using the above example, the only result I want returned is userid 1.  How do I do this? The relativistic energy-momentum equation is:  $$E^2 = (pc)^2 + (mc^2)^2.$$ Also, we have $pc = Ev/c$, so we get: $$E = mc^2/(1-v^2/c^2)^{1/2}.$$  Now, accelerating a proton to near the speed of light, I get the following results for the energy of proton:  0.990000000000000   c =&gt;    0.0000000011    J =      0.01    TeV  0.999000000000000   c =&gt;    0.0000000034    J =      0.02    TeV  0.999900000000000   c =&gt;    0.0000000106    J =      0.07    TeV  0.999990000000000   c =&gt;    0.0000000336    J =      0.21    TeV  0.999999000000000   c =&gt;    0.0000001063    J =      0.66    TeV  0.999999900000000   c =&gt;    0.0000003361    J =      2.10    TeV  0.999999990000000   c =&gt;    0.0000010630    J =      6.64    TeV 0.999999999000000   c =&gt;    0.0000033614    J =      20.98   TeV  0.999999999900000   c =&gt;    0.0000106298    J =      66.35   TeV  0.999999999990000   c =&gt;    0.0000336143    J =      209.83      TeV  0.999999999999000   c =&gt;    0.0001062989    J =      663.54      TeV  0.999999999999900   c =&gt;    0.0003360908    J =      2,097.94    TeV  0.999999999999990   c =&gt;    0.0010634026    J =      6,637.97    TeV  0.999999999999999   c =&gt;    0.0033627744    J =      20,991.10   TeV    If the LHC is accelerating protons to $7 TeV$ it means they're traveling with a speed of $0.99999999c$.  Is everything above correct? Why do newspaper headlines use strange syntax rules? Newspaper/news article headlines usually have different syntax rules, for example   No copula. North Korea trip 'successful' Past events written in present. Qantas cancels flight out of frozen Heathrow Predictions written with infinitive. Britain's 'crossbow cannibal' to die in jail Very often not in complete sentence. No indefinite/definite articles. Ivory Coast Faction Squeezes UN Force Using a comma instead of "and". Romania, Bulgaria face delay in joining Schengen.   Why these rules and are there any other rules? PDO's FETCH_INTO $this class does not work I know java and would normally put in getter/setter methods. I am interested in doing it in C# with the following code, but it throws a StackOverflow exception. What am I doing wrong?  Calling Code  c.firstName = "a";   Property Code    public String firstName; {     get     {         return firstName;     }     set     {         firstName = value;     } } Punctuations with relative pronouns Sogou is a Chinese search engine, which can search text, images, music and maps.  Is a comma required before "which" in the above sentence?