How to change the width of the middle line in box whisker plot in ggplot2 in R?
change thickness median line geom_boxplot()
How to disable notifications for a single mailbox in Mail? When managing multiple mailboxes, is it possible to disable the notifications for certain mailboxes? Optimizer not choosing index union plan Why is the following query slow?  select count(*)   from [dbo].[mt_dispatch_link]     , [dbo].[_mt_dispatch] [_mt_dispatch]  where   (mt_dispatch_link.contract_id_1 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_1 = _mt_dispatch.dispatch_id)     or   (mt_dispatch_link.contract_id_2 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_2 = _mt_dispatch.dispatch_id)     It takes over 10 minutes, and then I tend to stop it at that point. My question is more about how to make sense of the query plan.  Looking at the query plan I can see that the bottom clustered index scan is returning about 250000 records, but the cost is 0% and it is being put into a temporary table.  The top index scan is about 25000 records.  But the cost of 95% comes from the nested join. What conclusions should I draw from this?  The above query plan shows two index scans, does that mean it is doing 25000 + 250000 index scans, or does it mean that it is doing 25000 * 250000 index scans?  If I change the query to this (adding FORCESEEK):  select count(*)   from [dbo].[mt_dispatch_link]     , [dbo].[_mt_dispatch] [_mt_dispatch]       WITH (FORCESEEK)  where   (mt_dispatch_link.contract_id_1 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_1 = _mt_dispatch.dispatch_id)     or   (mt_dispatch_link.contract_id_2 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_2 = _mt_dispatch.dispatch_id)   I end up with a much better plan and the query runs instantly:    I ran update statistics on both tables. Didn't fix it unfortunately. The table design is not very good, so I think SQL Server doesn't really understand and is thus coming up with a poor query plan. Some more info about the table design at .  Why is the query optimiser not coming up with the optimum plan? How to pass parameters to an alias? What is the difference between g++ and gcc? Polygon label repeated for each tile The result set has no current row while using JDBC I am using the following code in selenium, but I am not able to retrieve data from database. I am getting the errors "The result set has no current row"  My code is   public class Auto {      public static void main(String[] args) throws InterruptedException, SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException     {           Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");         System.out.println("Driver loaded");           Connection con=DriverManager.getConnection("jdbc:sqlserver://192.168.*****\\SQLEXPRESS/*****_DW/EPS:****;user=******;password=******; ");          System.out.println("Driver loadedd");       java.sql.Statement stmt= con.createStatement();     ResultSet rs=stmt.executeQuery("select * from [*****_DW].[dbo].dim_grantee ");      System.out.println("Query executed");      while (rs.next());     {         String Name=rs.getString("NAME");          System.out.println("Name is");     }   } Is it possible to change where macOS Notification Center alerts appear on the screen?  They currently appear at the top right of the screen with the menu bar:    Alerts appearing in the top right tend to cover up work I'm doing more often than not. They cover up browser tabs, toolbar icons, and window titles.  I would prefer, say, the bottom right corner of the screen.  If moving the alerts is not possible, is it possible to change the screen on which they appear? ExitCodes bigger than 255, possible? If yes, on which operating system, shell or whatever?  Consider the following java program (I'm using java just as an example, any language would be good for this question, which is more about operation systems):  public class ExitCode {     public static void main(String args[]) {         System.exit(Integer.parseInt(args[0]));     } }   Running it on Linux and bash, it returns always values less equal 255, e.g. (echo $? prints the exit code of the previous executed command)  &gt; java ExitCode 2; echo $? 2  &gt; java ExitCode 128; echo $? 128  &gt; java ExitCode 255; echo $? 255  &gt; java ExitCode 256; echo $? 0  &gt; java ExitCode 65536; echo $? 0     EDITED: the (only, so far) answer below fully  explain what happens on UNIXes. I'm still wondering about other OSes. Check if the application is already installed Prove $\alpha \in R[[x]]$ is a unit iff $a_0 \in R$ is a unit Can you play a Progress Card even when you get nothing from it? If I have a Progress Card for which initial preconditions do not hold, will I still be able to use it in order to discard it back to the pile? The goal is to prevent a spy from stealing it.  A few examples:   I am leading in victory points but I want to use Wedding card. I have Irrigation but I don't have any wheat hexagons. I have Blacksmith but I don't have any ore hexagons. Show inline math as if it were display math (and vice versa) What to look for in a wide angle lens? How do I check where devices are mounted? What is the command that lets me see what and where devices are mounted?  I'm having trouble changing songs on my old iPod, and I have a feeling it's because of the mount point. Using article "the" with famous places? I'm editing a children's book about wonders of the World. In this book, the authors are not native speakers(they are XACT BOOK(India)), and they wrote these specific places without article "the":     -It is Taj Mahal.      -It is Tower of Pisa.   At first, I thought it's okay, but there are some pages has article "the":     -It is the Great Pyramid of Giza.      -It is the Temple of Artemis.   These sentences really make me confused. After researching, this website- - gives me some advice:     Do use the before:           names of rivers, oceans, and seas: the Nile, the Pacific          points on the globe: the Equator, the North Pole          geographical areas: the Middle East, the West     deserts, forests, gulfs, and peninsulas: the Sahara, the Persian Gulf, the Black Forest, the Iberian Peninsula      Unfortunately, I'm still not sure that adding "the" before each wonder's name is a right choice. Should I add article "the" or not? I already posted this problem in , but I'm still in vain. Minecraft launcher could not connect to server? What do I do? I looked at a similar question to mine and there was an answer saying to make sure Java is allowed past the firewall. So I checked and it already is. I've tried uninstalling and installing both Minecraft and Java but nothing has changed.  says that all services are fine, so what's going on? I bought a 2nd account to use as an alternative in-game account and now I can't log in.  (I cleared the email and password boxes for obvious reasons in this screenshot: security purposes) This question is actually related to my earlier question ("").  The fact that objects move a lot in the universe and that the universe is expanding, can imply that gravity is a repulsive force that increases with distance.. so the farthest objects repel us more.  This can still explain several existing observations, e.g., why does the apple fall?   Motion is the result of such repulsion. Two objects unlucky enough not to be moving relative to each other get squished due to the repulsion of the rest of the universe  around them. The earth repels the apple less than the stars so it is pushed towards the earth.   Furthermore, it can explain the expanding universe without the need for dark energy.  This could be demonstrated in a thought experiment. If we take a lot of same-charge particles (with small mass) such as electrons and lock them in a large box at a low enough temperature. The mutual repulsion of the particles may cause similar motion as if due to gravitational attraction.   Another experiment would be to measure the slight changes in our weight during day and night when the sun and earth align (if their masses are large enough to detect the feeble change in repulsion).   [EDIT: the question in the original form may not have been clear. It is "can we model".. with a yes/no answer and why (not). If downvoting, please justify. an "X is an X is an X" what does this mean? I am reading  (I must say, with great delight but that's not relevant) and  Canadian is a Canadian is a Canadian A citizen is a citizen is a citizen.  I do not understand this structure. Why not just &quot;A citizen is a citizen&quot;? What is the meaning of repeating this? Can I kill an indestructible creature with -X/-X and sufficient damage marked on it? Can I hit a 4/4 indestructible creature with a  (3 damage) and give it -1/-1 with  to kill it? (Does it matter which way around I cast those?)  I read  here and it says, damage is removed in cleanup step, so it should be on the creature still after both spells.     702.12. Indestructible   702.12a Indestructible is a static ability.   702.12b A permanent with indestructible can’t be destroyed. Such permanents aren’t destroyed by lethal damage, and they ignore the state-based action that checks for lethal damage (see rule 704.5g).   702.12c Multiple instances of indestructible on the same permanent are redundant. Is there any information in canon to indicate that Dumbledore knew that the Marauders were Animagi? Is there any information in canon (or from JKR) to indicate that Dumbledore knew that three of the Marauders were Animagi?  I can't recall anything, but Harry seems to be firmly convinced that Dumbledore knows "everything that goes on around here," and that assessment seems to be accurate during Harry's years.