Software was blocked from opening because it is not from an identified developer

I went to run LibreOffice on my OS X 10.9 and it would not let me install it. It said it was from an unidentified developer. I'm aware of the security features of the Mac and went to System Preferences to allow the software to run.   When I opened this setting I saw a button that said, '"LibreOffice" was blocked from opening because it is not from an identified developer.' and there was a button next to it that said "Open Anyway". I clicked this button and nothing happened. I clicked it multiple times, like a hundred, out of frustration. Is there something else I need to do? Could someone verify this is not a bug?   UPDATE: I've included the photo below of what my System Preferences screen looked like and the button I pushed that didn't work.  UPDATE II: So I tried opening the application again and went into the system preferences and pressed the "Open Anyway" button again and nothing happened at first but a few minutes later while I was typing an email something flashed across my screen, possibly another dialog (or more likely a chewpacabra), but it quickly disappeared and the next thing I know LibreOffice launched!


How can LIGO's measures be unequivocaly tied to gravitational waves?

I understand that there are 2 devices so that the signal cannot have a local stimulation as a source. But why couldn't it be seismic activity for instance?  Given the accuracy of the devices couldn't it even be someone jumping on the ground between the two measurement stations?


Proof Verification: $x\sin(1/x)$ is continuous on $(0,1)$

Prove that $x\sin(1/x)$ is continuous on $(0,1)$  Proof:  Let $\epsilon>0$ be given. Then $\exists \delta>0$ such that if $x,c \in (0,1)$ and if $|x-c|<\delta \implies |f(x)-f(c)|<\epsilon$  Then, $|x\sin(\frac{1}{x}) - c\sin(\frac{1}{c})|\le |x|\frac{1}{x}| -c|\frac{1}{c}||=|1-1|=0<\epsilon$  Then, $x\sin(1/x)$ is continuous on $(0,1)$  Note: Inequality used is $\sin(x) \le |x|$  Can anyone please verify this proof for me and let me know if there are any loopholes in my argument?  Thank you.


Why will an implication be true when the hypothesis is false?

When $p$ and $q$ are propositions such that "if $p$ then $q$" (which is an implication) is false only in the condition when $p$ (which is hypothesis) is true but $q$ (which is conclusion) is false.  But I couldn't understand why will the implication be true when the hypothesis itself is false. Shouldn't the implication be false when the initial assumption or hypothesis is false ?


From what I understand after reading :   The purpose of robots.txt file is to disallow crawling of some URLs, but those can still be indexed (and appear in search results) if they are linked from crawlable pages To prevent a page from being indexed I need to make it crawlable and add the noindex meta tag in its head   So, why would I setup a robots.txt file if, in the end, it has no impact on whether pages appear in search results or not?


Let $R$ be a commutative ring with 1 then why does $a\in N(R) \Rightarrow 1+a\in U(R)$?

Let $R$ be a commutative ring with 1, we define  $$N(R):=\{ a\in R \mid  \exists k\in \mathbb{N}:a^k=0\}$$  and  $$U(R):=\{ a\in R \mid a\mbox{ is invertible} \}.$$  Could anyone help me prove that if $a\in N(R) \Rightarrow 1+a\in U(R)$?  I've been trying to construst a $b$ such that $ab=1$ rather than doing it by contradiction, as I don't see how you could go about doing that.


Python rounding float number numbers issue

I have the following piece of code which I run with python 2.7.9:  import math  print 0.6/0.05 print math.floor(0.6/0.05) print int(0.6/0.05)   The output is:  12.0 11.0 11   Why is it turning my 12.0 to an 11.0 when I use floor or int? round() will work but does not suit my use case. I have this running with 0.55,0.60,0.65,0.70... and everything works fine except for 0.6. Any idea?


Alternative to Standard Deviation as an Average Spread

I have heard on numerous occasions that the Standard Deviation of a data set is meant to represent "the average spread of the data around the mean", and if that's the case why don't we use this formula instead which yields a much more precise representation of the average spread around the mean: $$\frac{\sum_{i=1}^n \Bigl(+\sqrt{(x_i-\overline{x})^2}\Bigl)}{n}$$  where $n$ is the total number of data values , and the $+\sqrt{}$ symbolises taking explicitly the positive square root of $(x_i-\overline{x})^2$  Take the data set $(1,2,2,2,5,5,7,8)$ for example. My formula produces the value 2.25, whereas the traditional Standard Deviation formula, $s=\sqrt{\frac{\sum_{i=1}^n(x_i-\overline{x})^2}{n-1}}$ produces the value $2.619$ to 3.d.p.  I am aware that simplifying the expression inside of the sum using laws of indices results in $\Bigl(+(x_i-\overline{x})\Bigl)$ which would result in the sum being equal to zero. See my proof of this result .     My question is, is the reason I just stated, why this forumla is not used in place of the Standard Deviation, or can this formula be interpreted in the way I intend it to, and if so why is it not used?


How to make apache open files that have only owner execute permission for all users?

I have installed LAMP on my Ubuntu Server while being user (say "test"). Then i switched to another user (say "user") and I have configured a virtual host. The virtual host directory at www/ has 744 permissions. When I try to reach the virtual host from the browser it says "You don't have permission to access / on this server.". When I changed the permission to the virtual host directory at www/ and made it 745 the host could be reached from browser. I suspect that this is because I installed apache as user "test". How can I change it so that it can open files that have -x permission only for owner while being logged in as the owner user?


How can I get various maximum request segment lengths from my webserver?

We're building an application on the following stack:   .NET 4.6.1 ASP.NET MVC 5 IIS 8   We have people generating very long search filter query strings in our application. Currently the resulting GET requests result in an exception on the server. We'd like to warn them if their request string is going to be too long, rather than submitting an invalid GET request.  Our .js guy can shim AJAX requests to support length checking for the full URL and the querystring pretty easily.  The problem is we don't want to assume we know the right maximum lengths for those values.  We want to query the server to know what the maximum lengths for the URL and querystring are, and just use that dynamically on the client side.  I can build the Web API endpoint to return those values very easily, but I'm having trouble being certain I'm getting the right values.  For example, I can read our configuration file directly and look for things like this:  <system.webServer>     <security>       <requestFiltering>         <requestLimits maxUrl="2000" maxQueryString="2000" />       </requestFiltering>     </security> </system.webServer>   However, I'm not certain that is really the authoritative place to look.  I'm hoping somebody knows how to use C# to ask IIS the following questions and be certain of having the right answers:   What is the maximum allowed URL length for a GET request to the current application? What is the maximum allowed querystring length for a GET request to the current application?


Hair Paricle System not rendering properly on plane

My scene involves a plane that has several modifiers:   Subdivide, set to six. Array, set to -1 Y axis Array, set to +1 X axis Displace with a basic cloud texture   I tried following Andrew Price's tutorial on realistic grass, by adding the default hair particle system to the plane and setting the render to a group of grass, but the grass only appears in a small space in the render. What am I doing wrong?


How to recover my old installed ubuntu after installing Windows

I am using windows 7 and ubuntu 12.04 dual boot system. In my Windows 7 some issues occurred, so i re-install windows 7. after re-installing windows 7, i lost my ubuntu os. how can i recover my ubuntu os Help me ASAP  Regards, Rajesh


I'm trying to get a list of custom labels. Here is what I've tried:  \begin{enumerate}[Exercise (1)]  \item first  \item second  \end{enumerate}   This results in each item being labeled as: Exerc#se (#)  Where # is the number of the item in the list. How can I make the "i" in exercise not be pattern matched?   Using a \ doesn't work, it causes syntax error.


In Excel, how do you auto fill until next value?

currently I have a column looks like this:    A B ... 1 A 2 3 4 B 5  6  7 C 8  ...   And I want to make it looks like this    A B ... 1 A 2 A 3 A 4 B 5 B 6 B 7 C 8 C ...   Is there a way to finish the job quickly? Thanks a lot!


I found this in a book:  $\gcd(x;y)=1$ prove that $\gcd[(x+4y);(2x+7y)]=1$  How can I prove this? My reasoning is $\gcd(x;y)=1$ so with Bezout's we find $ax+by=1$ but I don't know how to continue? Thanks


How to return to default view in a file you got elsewhere

I have gotten several files from various sources on the net to learn from. When they load the UI is completely changed from what I am used to in the Default view when you first create a new blender scene.  I am looking at the file now and there is no default view selection anyway in it. Since I am very new to blender I like to use the default view that is standard with blender as it helps me find things I need.    Thanks in advance for the assistance.


I am trying to create a beginner level program to better understand programming in python. A simple while true loop that adds a value of 1 to X and prints "help" or "doing something" depending on if x is less than or greater than 10; and then breaks when x is greater than 20. Im also attempting to add in a keyboard interrupt as well to break the loop if its not too complicated.. Any tips help, I get an error   Traceback (most recent call last):   File "so.py", line 23, in <module>     help()   File "so.py", line 11, in help     x += 1 UnboundLocalError: local variable 'x' referenced before assignment   Code:  import time  x = 1  try:      def help():          print("Help.")         time.sleep(2)         x += 1       def doStuff():          print("Doing Stuff")         time.sleep(2)         x += 1      while True:          if x < 10:             help()         elif x < 20 and x > 10:             doStuff()         else:             break  except KeyboardInterrupt:     exit()


Reload div after deleting row in table AJAX PHP MySQL

I created a user interface to allow people to do simple CRUD operations, I'm using AJAX PHP and JQUERY for that matter. I'm able to delete rows on page load for the first time. But after I hit the reload button which reloads the div which contains the table, I am not able to delete yet another item. My question is, how could I do this? index.php
       <?php          include("dbServer.php");           $sql = "SELECT * FROM product";          $result = $db->query($sql);          if ($mysqli->connect_errno) {           printf("Connect failed: %s\n", $mysqli->connect_error);           exit();         }         // Printing all DataBase Items         echo "

ID	Name
";          while ($row = $result->fetch_object()) {            $id = $row->id;           $name = $row->name;           $description = $row->description;           $price = $row->price;           $picture = $row->picture;            echo "
".$id."	".$name."	".$description."	".$price."	".$picture."	<button data-id='".$id."' class='delete btn btn-light'>DELETE</button>	<button class='update btn btn-light'>UPDATE</button>	";         }          echo "
";          ?>
            <button id="reloader" class="container-fluid btn btn-primary" type="button" name="button">Reload</button>   index.js   $("#reloader").click(function(){     $("#table-reload").load(" #table-reload");   });    $(".delete").click(function(){      var obj = $(this);     console.log($(this));     var deleteId = $(this).data('id');     console.log(deleteId);      $.ajax({       url: "delete.php",       method: "POST",       data: {id: deleteId},       success: function(){         $(obj).closest('tr').fadeOut(1000, function(){           $(this).remove();         });       }     });     return false;    });   delete.php <?php include ("dbServer.php");    $id = 0;   if (isset($_POST['id'])){     $id = mysqli_real_escape_string($db, $_POST['id']);   }    if ($id > 0) {     //Checking if item with id exists in db $checkRecord = mysqli_query($db, "SELECT * FROM product WHERE id=".$id);     $totalRows = mysqli_num_rows($checkRecord);      if ($totalRows > 0){       //Delete record       $query = "DELETE FROM product WHERE id=".$id;        if ($db->query($query) === TRUE){         echo "data deleted";       }       else {         echo "failed to delete";       }     }   }   ?>


I wanted to create a WP plugin. So I requested and my request was approved by WordPress.org But I don't want to develop that plugin anymore. How can I delete the repository forever or request its deletion.


C/C++, can you #include a file into a string literal?

I have a C++ source file and a Python source file. I'd like the C++ source file to be able to use the contents of the Python source file as a big string literal. I could do something like this:  char* python_code = " #include "script.py" "   But that won't work because there need to be \'s at the end of each line. I could manually copy and paste in the contents of the Python code and surround each line with quotes and a terminating \n, but that's ugly. Even though the python source is going to effectively be compiled into my C++ app, I'd like to keep it in a separate file because it's more organized and works better with editors (emacs isn't smart enough to recognize that a C string literal is python code and switch to python mode while you're inside it).  Please don't suggest I use PyRun_File, that's what I'm trying to avoid in the first place ;)


Rendering Freestyle along with Grease Pencil

I’ve been trying to render a grease pencil drawing on top of a Freestyle rendered object. But, when I do it the Freestyle lines can be seen behind the Grease Pencil object. Is there a way to solve this?  I made an example with a blue circle made with Grease Pencil, in front of a cube rendered with Freestyle.  I’ve tried using Eevee, Cycles and Benchmark.  Thanks in advance.  Viewport:    Render:


How to resolve this java.lang.NoClassDefFoundError

We are running automated tests using WindowsTester. When I run one of my test cases, I'm getting "java.lang.NoClassDefFoundError" error. Please, help me to resolve this.  The stacktrace is:  java.lang.NoClassDefFoundError: org/eclipse/osgi/internal/loader/ModuleClassLoader     at com.windowtester.internal.runtime.bundle.BundleResolver.bundleForClass(BundleResolver.java:21)     at com.windowtester.internal.runtime.bundle.BundleResolver.bundleNameForClass(BundleResolver.java:29)     at com.windowtester.internal.runtime.bundle.BundleClassReference.forBundleClass(BundleClassReference.java:35)     at com.windowtester.internal.runtime.ClassReference.forBundleClass(ClassReference.java:26)     at com.windowtester.runtime.WidgetLocator.<init>(WidgetLocator.java:88)     at com.windowtester.runtime.WidgetLocator.<init>(WidgetLocator.java:108)     at com.windowtester.runtime.WidgetLocator.<init>(WidgetLocator.java:134)     at com.windowtester.runtime.swt.locator.SWTWidgetLocator.<init>(SWTWidgetLocator.java:139)     at com.windowtester.runtime.swt.locator.CTabItemLocator.<init>(CTabItemLocator.java:127)     at com.sample.TestUtilsGUI.closeWelcomePageIfNecessary(TestUtilsGUI.java:216)     at junit.framework.TestCase.runBare(TestCase.java:139)     at com.windowtester.runtime.common.UITestCaseCommon.access$0(UITestCaseCommon.java:1)     at com.windowtester.runtime.common.UITestCaseCommon$2.run(UITestCaseCommon.java:140)     at com.windowtester.runtime.common.UITestCaseCommon$3.run(UITestCaseCommon.java:161)     at com.windowtester.internal.runtime.junit.core.SequenceRunner$1.run(SequenceRunner.java:50) Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.loader.ModuleClassLoader cannot be found by com.windowtester.runtime_6.1.0.201310072244     at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)     ... 17 more


Create one page, land any other URLs starting with that page to the same place

I would like to create a Wordpress page, for example "Foods"  Then I want every single one of the following URLs to land on the "Foods" page. There could be unlimited number of URLs that lead to the "Foods" page:                  How could I achieve this? Many thanks in advance.  Regards


What happened to Jar Jar Binks when the Senate became "no more"?

In Episode IV: A New Hope when Commander Tagge is talking about the Rebellion gaining support in the senate Grand Moff Tarkin enters as says     The Imperial Senate will no longer be of any concern to us. I've just received word that the Emperor has dissolved the council permanently. The last remnants of the Old Republic have been swept away.   This got me thinking, considering that Palpatine would've had anyone oppose him killed and Jar Jar didn't seem all that enthusiastic about allowing the Grand Army of the Republic which became the groundwork for the Imperial Army what happened to Jar Jar after the Senate became "no more"?


At the end of The Force Awakens, Kylo Ren falls into the snow and gets slashed at by Rey several times. A slash mark on his face is clearly visible.  Rey also slashes at one of Kylo's hands as he falls into the snow. Was his hand cut off at that point in time?


How to calculate $\int_0^1\frac{\ln(1+x)}{1+x^2}dx$?

It's obvious that $$\frac1{1+x^2}\,dx = d(\arctan x)$$ Let $t=\arctan x$, it becomes  $$\int_0^{\frac\pi4}\ln(1+\tan t)\,dt = \int_0^{\frac\pi4}\ln\Bigl(1+\frac{\sin t}{\cos t}\Bigr)\,dt$$ which equals to $$\int_0^{\frac\pi4}\ln\biggl(\frac{\sqrt2\cos(\frac\pi4-t)}{\cos t}\biggr)dt$$ Then I got the right answer in a WRONG way that $$\int_0^{\frac\pi4}\ln\biggl(\frac{\sqrt2\cos(\frac\pi4-t)}{\cos t}\biggr)dt =\int_0^{\frac\pi4}\Bigl[\ln\sqrt2+\cos(\frac\pi4-t)-\cos t\Bigr]dt$$ $$=\frac\pi4\ln\sqrt2-\Bigl[\sin(\frac\pi4-\frac\pi4)-\sin(\frac\pi4-0)\Bigr]-\Bigl[\sin\frac\pi4-\sin0\Bigr]$$ $$=\frac\pi4\ln\sqrt2$$ But actually,$$\int_0^{\frac\pi4}\Bigl[\ln\sqrt2+\cos\Bigl(\frac\pi4-t\Bigr)-\cos t\Bigr]dt$$ should be $$\int_0^{\frac\pi4}\Bigl[\ln\sqrt2+\ln\cos\Bigl(\frac\pi4-t\Bigr)-\ln\cos t\Bigr]dt$$ and I don't know how to calculate this integral.


How would you explain Markov Chain Monte Carlo (MCMC) to a layperson?

Maybe the concept, why it's used, and an example.


Is there an 'iotop' equivalent for Windows?

What would be the equivalent for  for Windows? Task Manager isn't enough for me.


Multiple-entry Schengen visa for multiple short trips for Indian student in the UK (Tier 4)

I'm an Indian student in the UK on Tier 4 visa, valid until March 2019. I don't get long breaks so I want to travel to various places in the Schengen area over short weekend trips (Friday night - Monday morning, etc), maybe once a month.  The places I would like to visit include: the Black Forest in Germany, Paris (I have a friend here - also an Indian national on a type D visa), the Swiss Alps in the winter, and maybe Norway if I can afford the trip.  Can I explain this in the application to the French embassy if I decide to make my first trip to Paris, and request a multiple-entry visa? Will I require itineraries for all the subsequent trips in my visa application?  If issued, can immigration officers of other countries deny entry on consequent trips because it's a French visa? (I've read here that there are very little border checks between Schengen countries - I'm asking about the case where I'm entering directly from the UK.)  EDIT: An additional constraint is that I'd like to reduce expenses: I would prefer to take cheaper routes into the Schengen area instead of flying to Paris/Munich/Zurich. For example, FlixBus from London to Paris is quite cheap but I will present my passport at Calais, or fly London - Strasbourg to visit the Black Forest because some budget airlines have great deals. This might mean I may not always enter the country/city I plan to visit for the weekend. Could this cause problems?


I've got a php script. Most of the time the script returns html, which is working fine, but on one occasion (parameter ?Format=XML) the script returns XML instead of HTML.  Is there any way to change the returned mime type of the php output on the fly from text/html to text/xml or application/xml?


How mirages forms and how diamonds sparkle?

How  forms? How diamonds sparkle? What is major cause happening for it and can you explain with examples?


I left a vacuum packed chicken casserole from Whole Food  out four hours. Is it safe? The car ride from store is included in the time. Our house is not freezing nor too hot.


Why $\prod_i (1+x_i)$ is not considered a symmetric function, $\prod_i (1+x_i) \notin \Lambda$

The tittle of this question is the main question.  Why it is necessary to not consider these kind of functions in $\Lambda$. My teacher told me that if one consider these functions to be in the ring of symmetric functions, then the inner product would fail since this kind of functions would have infinitely non-zero homogeneous parts. But I do not see it clearly.  Can anyone explain me why it is necessary to exclude the functions which do not have bounded degree?  Thank you very much.   $$\prod_i (1+x_i) \notin \Lambda.$$


Portable way to check emptyness of a shell variable

What is the portable and canonical way to test if variable is empty/undefined in a shell script? It should work in all sh-like shells. What I do now is something like:  if [ -z "$var" ] ; then     ...   and for reverse, doing something when variable is not empty/undefined:  if [ -n "$var" ] ; then     ...   And while these work for the scripts I write now, I'd like to know a way, that will work in any reasonably compatible sh-like shell, even on some more obscure environment than a Linux PC with GNU userland and bash or dash.  I'm looking for an "expert answer" from someone who is experienced in different shell environments and knows the pitfalls of different ways of doing things, not an opinion like "that should work".


Windows Boot Loader doesn't work after upgrading to 14.04 from 13.10 (Windows 8.1 Dual Boot)

I was already running 13.10 alongside Windows 8.1 with no problems at all.  I upgraded to 14.04 LTS yesterday through software updater yesterday and now the Windows boot loader on the Grub menu doesn't work. It just goes black for a second and then returns to the Grub menu again. I should probably add that Windows was pre-installed, so no DVD.  Any help would be greatly appreciated. I am a Linux newcomer, so go easy on me if this is a really obvious fix. I would get rid of Windows entirely but my girlfriend refuses..   Thanks.


The solution to the problem is more complicated than the problem

I thought there was a word for this. Where you take a basic problem that exists and the best solution already exists and any effort we put into solving the problem would actually cause more work for us thus becoming a bigger problem.


I am trying to get most common words in a dictionary I created. I read about it an i saw that the answer is using sorted function and [:n] in order to ask for number of elements.  my problem is that my dictionary is a bit different to what I saw - it's like that:  [{"count":27,"stem":"obama","term":"obama"},{"count":20,"stem":"boehner","term":"boehner"},{"count":4,"stem":"tax","term":"tax"}, {"count":3,"stem":"daley","term":"daley"},{"count":3,"stem":"couldn","term":"couldn"},{"count":2,"stem":"trillion","term":"trillion"}]   so in this example obama is mention 27 time boehner 20 and tax 2 - so lets say I want to get top 5 most common words, how do I do that?


Why doesnt rep from SE network count towards meta for some things?

I have accrued better than top 5% in one site. Here on the site that discusses mechanics and operation of that site and others, I don't have the simple option to downvote a post because the "association bonus" rep is below that threshold.  A specific example is the MIT license changeover. It overwhelmingly affects Stack Overflow where I have plenty of rep points, yet the thread was moved to this site where I do not have enough to record a downvote.   I get that it should probably not work in the opposite direction. But I think that there should be some allowances granted in permission specifically for this and other meta sites so they take into account a member's standing on the site that is the target of discussion.  EDIT: I did search for this for a few minutes and didn't find the linked question, so I'll take that as a whoops on me.


Adobe Reader and xcolor within a table breaks the line render

I'm using the xcolor package to colour the top row in a table. This is displayed properly using PDF viewers such as Preview or Skim (Mac). But using Adobe Reader 10.1.3 (either Windows or Mac) doesn't display the table line properly.   But removing the colouring for the table fixes it. Here is the example that works as expected:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   And here is the example with a coloured row:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline \rowcolor{gray!25} {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   Removing the \rowcolor{} command replacing it with \cellcolor{} creates the same view. Any idea how to fix this?  I've tried printing it out of Adobe and the lines print fine, but as this will be read on as a soft copy it's pretty important. .  Any idea how to fix this?


Is where an oracle B in EXP that $P^B$ $ \ne$ $NP^B$?

According to Baker, Gill, Solovey where is an oracle A in EXP, so $P^A$ = $NP^A$. But is there an oracle B in EXP, what $P^B$ $\ne$ $NP^B$?


I'm trying to create a dotted line with a name below. It should be relatively simple. However, the dots appear indented with respect to the Name. They should be in line. I have tried \hspace{} before the names but it is not working.   Anyone know why?    Sample code:   \documentclass{article} \usepackage[utf8]{inputenc} \vspace{20mm} ................................ \newline \hspace{1cm} Name one  \vspace{1cm}  ................................ \newline Name Person 2   \vspace{1cm}  ................................ \newline Name Person 3  \end{document}


If Palpatine is a clone, then why is his face scarred?

The  of The Rise of Skywalker tells us that the new Sith Lord is a clone of Emperor Palpatine. Not the original, but a clone.   “All the vials were empty of liquid save one, which was nearly depleted. Kylo peered closer. He’d seen this apparatus before, too, when he’d studied the Clone Wars as a boy. The liquid flowing into the living nightmare before him was fighting a losing battle to sustain the Emperor’s putrid flesh. “What could you give me?” Kylo asked. Emperor Palpatine lived, after a fashion, and Kylo could feel in his very bones that this clone body sheltered the Emperor’s actual spirit. It was an imperfect vessel, though, unable to contain his immense power. It couldn’t last much longer.”  But his face looks scarred like the original.  Why would his face be scarred like the original? If he got a whole new clone body, wouldn't it be new? Did the cloning process somehow mimic the facial scars that he received in his duel with Mace Windu?


Page 54 of A Practical English Grammar reads  We often use and... instead of to after try / be sure. This is informal. I'll try and phone you tomorrow morning.  However, in page 299, it reads  To talk about making an experiment - doing something to see what will happen - we use try + -ing.  Aren't both statements at odds? Try and cannot come from try to in I'll try and phone you tomorrow morning since, as the picture from the book that's what you mean shows, try followed by infinitive to implies an effort to do something (at least in the present tense used in those examples), unlike ,


Find the sum of the series $\sum _{n=1}^{\infty }\left(\frac{n+1}{2^n}\right)$

$$\sum _{n=0}^{\infty }\left(\frac{n+1}{2^n}\right)$$  I know that I can separate it into: $\sum _{n=0}^{\infty }\left(\frac{n}{2^n}+\frac{1}{2^n}\right)$  And I am able to prove that the second part gives the sum 2, but the first one is a bit problematic, any tips?


Wordpress double post name distinguish by term

I am working on a store locating Wordpress template where I have 5 categories for services. In each category I have 500 cities. I have rewritten my url from:  http://www.website.com/post-type/post   to:  http://www.website.com/post-type/term-name/post   So for example I have in 3 categories the city London, but now Wordpress sees it as double posts and set the url post slug to /post-2  http://www.website.com/filter/bikram-yoga/london/ http://www.website.com/filter/kundalini-yoga/london-2/ http://www.website.com/filter/pregnancy-yoga/london-3/   etc. etc.  My question is: Is there a way to rewrite the url without the -2 etc. behind it and Wordpress still sees the posts as different post, so distinguish by term?


Does biplot() function in R use rotations or loadings to plot arrows?

For following code performing principal component analysis:   > prcomp(iris[1:4], scale=TRUE) Standard deviations: [1] 1.7083611 0.9560494 0.3830886 0.1439265  Rotation:                     PC1         PC2        PC3        PC4 Sepal.Length  0.5210659 -0.37741762  0.7195664  0.2612863 Sepal.Width  -0.2693474 -0.92329566 -0.2443818 -0.1235096 Petal.Length  0.5804131 -0.02449161 -0.1421264 -0.8014492 Petal.Width   0.5648565 -0.06694199 -0.6342727  0.5235971   Will the standard biplot() in R be plotted for Rotations or for Loadings (rotation values multiplied by standard deviation for that component - also seen in above output)? (see comments by @amoeba on )  For factor analysis, I presume it will be Loadings:   > factanal(mtcars,2)  Call: factanal(x = mtcars, factors = 2)  Uniquenesses:   mpg   cyl  disp    hp  drat    wt  qsec    vs    am  gear  carb  0.167 0.070 0.096 0.143 0.298 0.168 0.150 0.256 0.171 0.246 0.386   Loadings:      Factor1 Factor2 mpg   0.686  -0.602  cyl  -0.629   0.731  disp -0.730   0.609  hp   -0.337   0.862  drat  0.807  -0.225  wt   -0.810   0.420  qsec -0.162  -0.908  vs    0.291  -0.812  am    0.907          gear  0.860   0.125  carb          0.783                  Factor1 Factor2 SS loadings      4.494   4.357 Proportion Var   0.409   0.396 Cumulative Var   0.409   0.805  Test of the hypothesis that 2 factors are sufficient. The chi square statistic is 68.57 on 34 degrees of freedom. The p-value is 0.000405


A geometry problem from high school Olympiad selection round

Consider an isosceles triangle. Let r be the radius of the circumscribed circle and p be the radius of the inscribed circle. Prove that the distance d between the centers of these two circles is $$d = \sqrt{r(2p-r)}$$


How to allow page break inside a float environment?

I'm using new float enviroment to show some examples in my document. This  enviroment contains tcolorbox which provides a gray background. The main text in the enviroment is a mixture of plain text and code blocks (in lstlisting env). Each float should have it's own caption and label.  In style file:  \usepackage{newfloat} \DeclareFloatingEnvironment[name={Example}]{suppfigure}   In the main document:  \begin{suppfigure}[!h] \caption{Some code example}\label{suppfigure1} \begin{tcolorbox}[arc=0mm, left=1pt, right = 1pt, boxrule=0mm,colback = {shadow-gray}]   Text  \begin{lstlisting}  int i = 0;  \end{lstlisting}  Some more text  \begin{lstlisting}  String.Format("{0,10:0.0}", -123.4567);   \end{lstlisting}  \end{tcolorbox}  \end{suppfigure}   How can I allow page break inside the suppfigure to extend my example to multiple pages?


Understanding which string breaks when one pulls on a hanging block from below

Intro:  In completing , he presents an experiment (go to 42:44) which leaves me baffled.    Experiment:  (I recommend watching the video; see link above.)   There is a $2$ kg block with 2 identical strings attached to it: one at the top, the other at the bottom. The top string is attached to a "ceiling", and the bottom to a "floor". Professor Lewin "stretches" the system (by pulling on the bottom string) with the block not accelerating. One string snaps.     Prediction:   Initially, the top string has a tension of approximately $20$ N, to counter the force of gravity. The bottom string has no tension at all. Then, when Lewin pulls the bottom string, it gains some tension $n$ N. To counter act the force exerted by the bottom string, the top string exerts now $20 + n$ N. I assume that the string with more force will give out sooner, leading me to conclude that the top string will break.     Results:  (This was conducted by Lewin, not me; see link above.)   Trial 1: Bottom string breaks. Trial 2: Top string breaks. Trial 3: Bottom string breaks.     Additional Notes:  The results don't seem consistent. If I was right, I'd expect all 3 experiments to be right; conversely, if I was wrong, I'd expect all 3 experiments wrong, with one exception: the results are more-less random and one result isn't preferred over the other.    Question:        Why was my prediction incorrect?   Was there a flaw in my logic?   Why were the results inconsistent?


I used WuBi to install Ubuntu. I did this after I did a factory restore on my Windows 7 Desktop, and cleaned out unnecessary junk, defragged, etc. I also did some hardware tests, and everything seems to work. This is my first experience with Ubuntu or any Linux system.  It shows the grub screen where it's asks if I want windows or ubuntu, and I select Ubuntu. Then Ubuntu crashes at the login screen(or just prior to it), makes repeated beeping noises(in a loop), and has these strange diagonal lines through the screen.  Any suggestions on how to fix the problem?


If $n$ is composite then $n$ divides $(n-1)!$

We need to prove that if $n$ is a composite number $>4$, then $n|(n-1)!$. I wanted to ask if my observation is correct or not. What I think is that the statement can be reduced to $n|(n-2)!$ Because $n$ and $n-1$ are always co-prime.


Can I type in inverse case, lIKE tHIS, with caps lock on?

Every so often, I have to type some text consisting mostly of uppercase letters, but with an occasional lowercase letter—essentially, sentence case, but inverted. On Windows, I would simply have caps lock on the entire time, and pressing Shift would give me a lowercase letter. On OS X, however, if caps lock is on, I only get uppercase letters, whether Shift is pressed or not.  So, I can either hold down Shift the entire time I'm typing, letting go of it briefly to type a lowercase letter, or press Caps Lock twice for each lowercase letter I type. Neither works as well as what Windows does.  Is there a way to get Caps Lock to behave as it does on Windows, where pressing Shift while caps lock is on produces lowercase letters?  I am running 10.6.


Managing constructors with many parameters in Java

In some of our projects, there's an class hierarchy that adds more parameters as it goes down the chain. At the bottom, some of the classes can have up to 30 parameters, 28 of which are just being passed into the super constructor.  I'll acknowledge that using automated DI through something like Guice would be nice, but because of some technical reasons, these specific projects are constrained to Java.   A convention of organizing the arguments alphabetically by type doesn't work because if a type is refactored (the Circle you were passing in for argument 2 is now a Shape) it can suddenly be out of order.  This question might be to specific and fraught with "If that's your problem, you're doing it wrong at a design level" criticisms, but I'm just looking for any viewpoints.


Is there any way to force the equation of text line to fit textwidth?

How can I force the equation of text line to fit \textwidth? Here is the demo code:  \documentclass{article}  \begin{document} \section{Width of equation in text line} text text text text text text text text text text text text text text text text text text text text\,\,\, This model $\sum\limits_{i=1}^N a_i^2$ looks not good. \,\,text text text text text text text text text texttext text text text text text text \begin{enumerate}   \item text text text text text text text text text text text text    \item It's not good in enumerate environment like $\sum\limits_{i=1}^N a_i^2$. text text   \item text text text text text text text text text text text text  \end{enumerate} \end{document}


Unable to fully disable UAC in Windows 8

I have problem with fully disable UAC (User Account Control) in Windows 8. I've never had such problems in Windows Vista, or Windows 7 - just have to disable UAC in Control Panel, reboot, and that's it.  Ok, step by step:  I've just make one account, during installation - account "Namek". In "Control Panel -> Accounts" I see only one account "Namek", and next to the avatar picture, it's:  Namek Local Account Administrator   Using:  cmd -> net users   there are:  Administrator   Guest   Namek   using:  cmd -> net users Administrator   and:  cmd -> net users Namek   the only difference are: Comment - in Administrator it's built-in, in Namek it's empty Account active - Administrator no, Namek yes Password required - Administrator yes, Namek no (because during Windows 8 installation I left password empty).  So I started with:  Control Panel -> Accounts -> Family Safety section   and set slider to value:  Never notify   reboot, and now, I've problem when for example I try to save anything, using Paint, directly on C:\ drive. It says:  You don't have permission to save in this location. Contact the administrator to obtain permission. Would you like to save in the My Pictures folder instead?     Ok, I've read some tutorials on the Internet, and I see that the case isn't as easy as in Windows Vista, or Windows 7 -> just disable UAC in Control Panel... so next step:  In gpedit.msc, I have already set:  Computer Configuration -> Windows Settings -> Security Settings -> Security Options ---> User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode   At value:  Elevate without prompting   So i didn't have to changed it.    In regedit:  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System   At value:  EnableLUA   I had default 1, so I set it to 0. but again nothing has changed.    On another Windows 8 (on VirtualBox) I've try solution, to acti ve built-in Administrator account, typig: "cmd -> net user administrator /active:yes" and now after start Windows 8 I can login to Administrator account, and now I've got FULLY permissions, but when I'm logout, and login on normal account, with 'administrator' permissions (which I created during installation), I've again problem when for example I try to save anything, using Paint, directly on C:\ drive. It says: "You don't have permission...blabla"  It's annoying, that I always have to right click some program, and click Run as administrator. I do not want to activate in my normal system Administrator account (by net user administrator /active:yes), and work on it, because on Namek account, I've already set a lot of things... Any help, please :(?


Single word for parent who has lost their children (not orphan)

Is there a word for parents who have lost their children?  Obviously a child who has lost both parents is an orphan and has been orphaned.  I am struggling to find a word for parents who have lost their children, though.


Make it easy for me to link to a book on Amazon.com (and earn money for Stack Exchange at the same time)

Often the answer to a question contains a reference to a book. This might as well point at Amazon.com in such a way as Stack Exchange earns the commission.


The Sobolev space $H^s(\mathbb R^n)$ is closed under multiplication when $s>n/2$

Show that if $u,v\in H^s(\mathbb{R}^n)$ for $s>{n\over 2}$, then $uv \in H^s(\mathbb{R}^n)$ and $$ \|uv\|_{H^s(\mathbb{R}^n)} \le C\|u\|_{H^s(\mathbb{R}^n)} \|v\|_{H^s(\mathbb{R}^n)}, $$ the constant $C$ depending only on $s$ and $n$.  Progress  I tried to prove by induction on the order of the derivatives, but to use the inductive hypotheses could not get the term right inequality. My problem is to find the appropriate method to be able to solve actual inequality.


Solutions to $x^n \equiv a (2^e)$ where $e \geq 3$ and $a$ is odd

I've recently starting reading about number theory, and came across this proposition in A Classical Introduction to Modern Number Theory:  The hint is to start writing $x$ and $a$ as $(-1)^y5^z$ and $(-1)^s5^t$ respectively. For the first case where $n$ is odd, I have: $x^n \equiv (-1)^{yn}5^{zn} \equiv (-1)^{y2k}(-1)^y5^{zn} \equiv (-1)^y5^{zn}$   where the third step occurs from writing $n = 2k + 1$ for some $k$. Thus we are left with the relation:  $(-1)^y5^{nz} \equiv (-1)^s5^t (2^e)$  but I'm not quite sure where to go from there, any advice would be great, thanks!


Can I use a non-Apple, Bluetooth keyboard with a MacBook Pro?

I'm currently operating on a late 2013 MacBook Pro and am eager to buying a wireless keyboard for my setup. I was looking at the Logitech MK345, which is a bluetooth mouse-keyboard combo, and thought it was quite what I needed. Although, it didn't really say anywhere that it worked with Mac. I tried looking for answers to see if non-mac keyboards function properly with OS X and only saw answers for wired ones.   I'm pretty confused... Should I take the risk of buying the keyboard? Any suggestions to what I should do? Thanks.


I do not want the button of print in the hard copy when printed.      <html>     <head>      <title>New Page 1</title>      </head>     <body>      <p>         This is just a paragraph fellas. I do not want the print button in the hard copy.      </p>     <input type="button" value="print" onclick="window.print()" />     </body> </html>   Also if there is a site which explains the proper use of how to print a hard copy of a particular section of a page, please provide the reference also. Thank you.


Can we use WHOSE for things? (or should I use 'that' or 'which'?)

I have changed the net connection to a package that/which cost is $15 per month.    Which relative pronoun is proper to use in such scenarios? Can we use whose for abstract or non-living things?


Prove that there is a subgroup $K$ : $k! | [H:K]$

Consider a group $G$, and $H \in G$ - subgroup with $[G:H] = k$, then prove that there is exists normal subgroup $K$ in $H$ such that $k! | [G:K]$?  Actually I have no ideas. Any hints?


Is it possible to install an app and exclude some of its requested permissions?

Occasionally I want to install an application which requires certain permissions that I feel it really shouldn't need. Can I install the app without giving it these permissions? For example, GPS location, , internet connection, etc.  Is it possible to change the permissions of an application once it is installed?


I have the same question as  from a long time ago. Is there an easy way to see that the Killing form on $\mathfrak{sp}(2n)$ is $\kappa(x,y) = (4n+2) \mathrm{tr}(xy)$?  For example, the Killing form for $\mathfrak{sl}(n)$ can be found from the easier to calculate case of $\mathfrak{gl}(n)$ using the decomposition $$\mathfrak{gl}(n) = \mathfrak{sl}(n) \oplus \mathbb{C}.$$ I don't know a similar argument for $\mathfrak{sp}(2n)$ though.


Can I add the bonus from my Elemental Affinity on each scorching ray?

This may be quite obvious, but I want to be certain.  As a  with Elemental Affinity to fire, do I get to add my Charisma modifier to each ray of , or just one of the three?


What is the Convergence Radius and Domain of $\sum\limits_{n=0}^\infty \frac{1}{2^{n}} z^{2^n}$?

So I need to find the Convergence Radius and Convergence Domain of the complex power series: $\sum\limits_{n=0}^\infty \frac{1}{2^{n}} z^{2^n}$  I've tried looking at the individual parts of the series and rewriting it somehow but couldn't find a way.  It can probably be solved, after a step or two, by the formula $R=\frac{1}{\displaystyle\limsup_{n\rightarrow \infty}\sqrt[n]{|a_n|}}$ .  Thanks.


Don't invalidate NAA flags on answers simply deleted and then undeleted by OP

Quite often I've flagged answers as NAA and my flag has been marked as helpful but the answer has remained days later. Most of the time it's because the answer has been edited, and I can see some logic in that, but at other times I've been at a loss for an explanation because the post doesn't seem to be even a partial answer where a moderator might dismiss as helpful but not delete.  But several times now I've noticed it's because the OP simply deletes and then undeletes the answer. I've noticed this most on Stack Overflow but here's  from Electrical Engineering where I checked into it further because I have 10k rep there:    So I'd like to suggest that a delete / undelete by the OP shouldn't dismiss a post from the low-quality review queue. I feel an edit should be the only thing that invokes that behavior and / or perhaps when something is dismissed allow the original flagger to re-raise a flag. That post was only deleted shortly after I used a custom moderator flag which seems a waste of their time.


Where is "grants advantage" on the power spectrum?

So a question asked a few days ago , got me thinking.. where, on the spectrum is a weapon that grants advantage to it's rolls?  Lets define the situation as this:     Advantage weaponary: In any round where you do not have disadvantage on your attack, this weapon gives advantage to its first attack roll of the round.   How does this compare, to say a +2 weapon or a +3 weapon?  I started looking into situations, but it quickly got a bit confusing.


According to  on MDN, Firefox 57 finally runs things in different processes.  So is Firefox 57 multithreaded?  In particular, how many cores does it use at most? Say I open 20 tabs at once on a quad-core machine, will Firefox 57 launch as many threads, or at least as many as needed to max out my CPU?  (Chromium for instance spawns a number of sub-processes and very easily uses all the resources available. Firefox up to 56 in GNU/Linux is rarely seen going over 135 % of one core however many tabs I open.)


When I click in a text field, the number 5 gets typed on its own and it keeps repeating until I press ESC. This also impacts Thunderbird, by auto tagging messages (hot key 5.) This problem is intermittent.  I've changed keyboard to rule out a hardware issue, but the problem still persists.  I am running Lubuntu 16.04, with the latest updates.   I recognize that this question was . Unfortunately, I am new on here, so I could not comment, nor does the original question offer a suitable answer to this issue.  Could this be a bug?


How to change Windows 10 console screen buffer beyond 9999?

The hard limit for the legacy Windows console was 9999.  I'm surprised to see that, in the new console's dialog box, MS have still set a limit of 4 figures (therefore 9999) for the maximum screen buffer size.  Is this a technical limitation or just the UI refusing to let you go beyond this?  If it's not a technical limitation, how can I increase it beyond 9999?


Can Maven collect all the dependent JARs for a project to help with application deployment?

I'm just starting to use , (evaluating it, really) and I need to be able to quickly generate a  file for my application and a directory with all the dependencies (for example, lib) so that I can deploy those two to be run in a stand-alone manner.  Generating the JAR file with the proper manifest is easy, but I do not know how to get Maven to copy the dependencies for the current project into a lib directory that I can deploy.    Since this is for a stand-alone Java applications, I am not interested in deploying to a Maven repository, that is also fairly trivial, or at least easily googleable.  I've found out how to do everything except copy the dependent JAR files into some specified directory.  This is the workflow I'm looking for:  $ mvn clean $ mvn package $ cp -r target/{lib,myApp.jar} installLocation   Then, running myApp.jar from installLocation as a JAR file should "just work" regardless of my $CLASSPATH.  To try and pre-empt some answers:   I do have a Main-class: set, and it works fine. I've also set the classpath in the MANIFEST.MF, and that works fine too. I've found out how to use <classpathPrefix> and <classpathMavenRepositoryLayout> to make this work -- but only on my machine. (via: <classpathPrefix>${settings.localRepository}</classpathPrefix>)


I have a few sentences with a lot of footnotes. Currently my tex code looks like this:  This is One% % \footnote{ Footnote text 1 }% % , Two% % \footnote{ Footnote text 2 }% % ~and Three% % \footnote{ Footnote text 2 }% % .   The code is obviously very hard to read and also error prone with regard to the commas, points and whitespaces following the footnote. I have added the comment lines for better readabilty, but it only helps a little bit. Is there a way to decouple the footnotes from the main text? I know that there are the commands \footnotemark and \footenotetext, but when I write  This is One\footnotemark, Two\footnotemark and Three\footnotemark.  \footnotetext{ Footnote text 1 } \footnotetext{ Footnote text 2 } \footnotetext{ Footnote text 3 }   all the footnote texts refer to the last footnotemark. I also know that I could use the number parameter (and thereby making the footnote indexes static), but then I would get a problem if I have to add footnoes before or between the existing footnotes. How can I achieve a code like in the second example, but at the same time keep the footnote indexes dynamic?


How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04?

How can I check the SMART status of a drive under 14.04 and beyond? I've seen  but it doesn't seem to apply under 14.04 and later.


Who applies the force on the things moving backward that we see when moving forward?

When we move forward in a car, things around us move backward. I understand some force is being applied on the car that is the reason for its forward movement. But what is the source of force on the things moving backward that we see when moving forward? If I am accelerating, things outside my car are also accelerating, so there must be some forces in action on the outside things. Or not? If yes what are those forces?


I've got a couple strings and I need to pull characters out that appear between double quotes. The problem is, I want to grab them in groups.  var str = 'FF\"J"A4"L"'; var results = str.match(/\"(.*)\"/);   This returns everything between the first and last double quote. In this case it returns J"A4"L but what I need it to return is J and L.  The content between quotes is pretty much any unicode character like letters and numbers including as }, =, and @.  Any ideas on how to complete this with regex?


When can I suspend do-release-upgrade? What's the risk?

I had to suspend a running do-release-upgrade, after it was already going on an hour or so.   Doing Ctrl+z was easy, the program did stop.     Understanding what that means, technically, seems to be more complicated.  It was running since an hour or so when suspending (on a slow netbook hdd), so I don't really now the state it is in. Based on the runtime, I expected it to be in the middle of replacing packages, too late to cancel. The screen output was about unpacking individual packages - but I'm unclear whether that means "unpacking to overwrite old" as opposed to "just unpacking (to some staging area)".  To make the question and answers more generally useful, let's discuss what happens for any states the upgrade may be in, not only my particular case.  So, after suspending, I started the chromium-browser, which came up just fine. Let's assume the system will be used by an typical desktop session for some hours now.   I would not be too surprised if I can do that without problems, just send a SIGCONT to do-release-upgrade later, and watch it completing. Even if it turns out that my system is in the middle of being replaced completely. But we have these big scary warnings from do-release-upgrade, that nothing can be stopped once it started changing the system, and I fully expect that there are things that could go  really wrong. But for now, I have not much idea what that would be, and why. Understanding that, partially or completely, seems to be helpful to recover from related problems even outside of do-release-upgrade.  Maybe we can learn something from my live case, but I also remember a similar situation where I attempted to use a GUI system during running do-release-upgrade, which was showing some interesting symptoms. The most prominent was that some fonts vanished from live running programs. It was something like the gnome panel, and also the window titles, that suddenly started drawing boxes - but did not suddenly use an updated font later. But the programs were running fine. Also, I was keeping some about dialogs of KDE programs open. They stayed open, showing the old version, even after the program had been obviously replaced. Quite possible I had stopped the old program, though.  An important aspect is certainly how a typical Linux file system works in terms of deleting files that are still kept open by running processes: The reference from opening a file, that is known inside one program only, is as good as a normal file name, when it comes to deleting a file. As long as at least one reference of either kind exists, the file is not deleted, by definition. That means it's technically no problem to keep a rogram running, update it- replacing the old version, start another instance, and see two different versions running at the same time. They should even have the same file name.  So, somehow it's surprisingly robust, but on the other hand, there certainly have to be weak points... Things like replacing libc, or some infrastructure services... seems odd to even hope it could work!?


How to eliminate holes/bubble inside the volume of an object with blender

I’m a beginner and .  The problem is that inside of the bone tissue there are areas denser than others. To obtain the .stl file I have to decide which range of density value I want to include in my object. That fact results in an STL file with some holes bubble inside the volume.  To explain it better I could do an analogy: the volume that obtained is similar gruyere-cheese: outside the surface is smooth without any interruption inside there are a lot of bubbles/holes.  I can’t correct this problem during the transformation from CT to stl, so the question is: Do you know a method to fill the holes/bubbles? I don’t want to do it manually point by point because it will take hours.  I thought that I could make a hollow shell only of the external surface and fill it but I don’t know how to do it.  If you have other solution faster or smarter let me know.


FTP FileZilla connection issue "Connection refused by server"

I'm trying to set up file transfer via FileZilla and it doesn't seem to matter what details I put in, I always get the following error:     Status:       Connection attempt failed with "ECONNREFUSED -   Connection refused by server". Error:         Could not connect to   server   My Dad has tried on his computer (with FileZilla on Windows) and it connects and everything is fine.. When I try on mine with all the same details that he put in, it comes up with that error.  I read that a firewall might be blocking it so I double checked and my firewall through system preferences and it is off.  Anybody know why this might be???  Additional info:  Macbook Pro running OS X El Capitan version 10.11.6  FileZilla version 3.23.0.2


Windows 10 not saving PATH added variables after shutdown/restart

I added some paths to Windows environment variables in PATH, but everytime I restart/shutdown my PC it deletes these variables from Windows (My custom paths). I have to add them again. Why is this happening?  For David, I saw the "duplicate" answer but I think he didn't read title. It is still ignoring my path variables even after restart or shutdown. If I apply any of noth, it deletes it.  The question it's different because in my case, it's for restart/shutdown. Duplicate answer is not valid in my question.


Out of nowhere (i.e, it was working fine last time I used it and shut it down) the computer wont start.   It apparently tries to boot, but it remains stuck on a black screen and 2 lines:  /dev/sda4 recovering journal /dev/sda4: clean, xxxx/xxxxx files xxxx/xxxxx blocks (x are numbers, obviously)   I left it overnight, and it has been the same for the last 10+ hours. No progress in the numbers either, it is just stuck and useless.  Is there a way to fix this without a fresh reinstall?  Computer is a a Macbook pro 2011, running Ubuntu Gnome 17.04


Why is the word "bench" used specifically to describe a judge or the judicial process?


Is it possible to force an adaptive join with a query hint?

Is it possible to force a query to use an adaptive join? The query in question produces an adaptive join when run as a SELECT, but when run as SELECT INTO instead, it doesn't.  I have a parameterised query which has a sub-query that typically selects almost no rows (0 to 4), but occasionally picks 100k.  I believe that this is exactly the type of scenario that an adaptive join is designed for, but SQL Server doesn't pick this as a query plan.  A query plan of always-hash-join is server-destroying, so my only recourse at the moment is to force the join to be nested loops, and accept that individual worst-case requests will take a bunch of extra seconds to run.  I have an Azure SQL database at compatability 150, and BATCH_MODE_ON_ROWSTORE=1  Further details  For some reason paste-the-plan doesn't think the XML for this query is legit.  The query at issue is:  with hashes as (select h.[ContactHash]     FROM HashTable h         join someTable p on h.id=p.id     group by [ContactHash]     having count(distinct key) >1          and count(distinct p.thing) between 1 and 20), dupeContacts as      (select distinct c.key,c.ContactHash from someTable c      where c.[ContactHash] in (select t.[ContactHash] from hashes t ) and c.key =  @id      )     insert  into @MyTableVar select * from dupeContacts   The two tables involved are similar to:  HashTable (     int id ,     ContactHash varbinary(16) ) -- millions, typically 4:1 to someTable by ID   and  SomeTable (     int id Primary Key ,      varchar(100) thing )


What is the best practice for testing a function with a list of inputs and outputs with python's unittest module?

A lot of my tests actually do a bunch of mini tests. The logic kinda looks something like:  tests = [("input", "output"), ("input2", "output2")] for input, output in tests:     # do test stuff...   This works well for the most part. However, when one of the mini tests fails, it's tedious to fix because none of the mini tests after it get run.  How can I get the "mini tests" to behave like separate tests?  I'm using python3's built in unittest module. I've tried using TestSuite as  but it doesn't appear to work.


If I Wild Shape into a Tiny animal, what modifier do I apply to my CMD?

I know there are a lot of questions about this, but I have one specific one.   Let's say I am a Medium human and I change into a Tiny animal.  The Beast Shape spell says I get a +4 Dex bonus, which I assume is a +2 to Dex-based rolls.  However, becoming Tiny is supposed to cause -2 to CMB/CMD.  But CMD includes Dex in its formula, so it should be going up.  So do I take the net result of +2 for Beast Shape and -2 for becoming Tiny and have 0 change to CMD?  Other discussions of this question have not been clear on the relationship between the change in DEX and the change in CMD (or any other items that are mentioned separately but one would affect the other).


Consider the following example class file  \NeedsTeXFormat{LaTeX2e} \ProvidesClass{myclass} \RequirePackage{kvoptions}  \DeclareBoolOption{foo}  \ProcessKeyvalOptions*  \ifmyclass@foo \def\@title{foo} \else \def\@title{bar} \fi  \ProcessOptions\relax  \LoadClass{article}   And the document  \documentclass[foo]{myclass}  \begin{document}  \maketitle \end{document}   It correctly produces a document with title "foo", so the class is actually using the option I gave. However, LaTeX says:  LaTeX Warning: Unused global option(s):     [foo].   Apparently processing a given option is not enough. How can I mark an option as "used" in order to avoid that warning?


I use Ubuntu 12.04 (multiarch) 64-bit. I need to install skype but not able to install.   I get the error. Screen shot attached.  Also how can i update to Ubuntu 14.XX - 64-bit?


Why does't bibliography show up in my tex document?

I try to include bibliography in my tex file, seemingly do everything according to the instructions but it doesn't show up. I use bibdesk. Included all possible packages. Here is the tex code.  \documentclass[11pt]{article}  \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{amsmath} \usepackage{apacite} \usepackage{setspace} \usepackage[square]{natbib} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{cite} \begin{document}  \doublespace  Background  The market of structured financial products, primarily for retail investors, has been growing rapidly around the world for more than 20 years. They come in many forms, but share some common characteristics. The payoffs represent combinations of payoffs of several primary securities, such as options, equities, equity indices, and fixed income securities. Structured products are normally issued by financial institutions, which provide the possibility of redeeming the securities over their lifetimes. The redeeming procedures are necessary because the issuance volume of the instruments is too small to create a continuous market unless the issuer provides liquidity. Short-selling of structured products is impossible. The also carry the credit risk of the issuing organization, because normally they are traded outside of derivative exchanges. The primary clients are small investors, who are not able to replicate the payoff by themselves .   \bibliographystyle{plain} \bibliography{Thesis}  \end{document}   And this is the bib file.     Thank you for your help.


Making (or finding) a realistic image of the sun as seen from space

I'm making a game set on the moon, and I'm currently making the background in blender 2.8. I'm using cycles, which means I can't make a believable-looking sun (cycles doesn't have bloom, and I'm not sure how to apply post-processing to an equirectangular image). My solution is to render my scene with an image of the sun in place of a real object, but searching "image of sun" in google just has darkened, easy to observe "scientific" images, not the blinding light I'm looking for. I'm thinking I should render an image in blender using the eevee engine (which has bloom), but I want it to look realistic--not too perfect--like a camera took it. The problem is, I don't know the first place to start, or of a better method that might exist for what I'm trying to do. TLDR: I need help creating an image of the sun in blender, such as what post-processing shader I should use, what renderer, etc. A pointer to a pre-existing image of the sun would also be incredibly useful. EDIT: I figure it probably would be useful to provide an example of what I'm thinking of:  Note the rays, caused by imperfections in the camera. I'm looking for a picture like this, minus the earth and spacecraft (which I can't find for the life of me on google). I've tried looking at NASA's catalog, but they only have "useful" images of the sun:  Not realistic.


User account link not needed on every review history

In the history tab, for every post which I have reviewed, there is a link to my account. Can it have a value other than a link to my account? If not then is it necessary to show it for every entry?


How to show that $[-2,2)$ is not compact?   I can show that $(-2,2)$ is not compact since $K=\bigcup_{n\in\mathbb{N}}(-2,2-\frac{1}{n})$ has no finite subcover.  However I'm not sure how I can write a union of open sets which will include $-2$?


Lasso and statistical signficance of selected variables

I'm looking at a regression model where a very large number of possible explanatory variables are being evaluated, and a small number are finally chosen via the lasso method of variable selection. The $\lambda$ tuning parameter in the lasso is chosen by looking at cross-validation forecast performance, which is pretty standard.   However, when I take the list of chosen variables and just run OLS on them, many turn out to be statistically insignificant. That may be perfectly fine if they are jointly significant and the forecast performance is superior to other models (in addition, there would be a question of what the t-test means when you have already screened the variables in a separate step, but I'm leaving that aside).   I'm curious though whether it makes sense to look at statistical significance of individual variables in a model chosen by lasso using CV forecast performance to select the tuning parameter. The problem is that lasso ends up selecting various dummy variables that are only true on small segments of the population and which are insignificant in OLS, and there is a natural question as to whether the model should be judgmentally simplified.


An intuitive explanation of the Taylor expansion

Could you provide a geometric explanation of the Taylor series expansion?


How to rename the shell current working directory

I am using gnome-terminal. I often work on large projects where there are lots of sub-directories and I have to compile them from the terminal. It's a very problematic to work with long-path terminal prompt while you have one monitor.   Assume you are in a directory,  sbmaruf@lenovo:/sys/dev/block/7:6/bdi/subsystem/7:7/power$   Now while I am using the terminal, is there any tricks or shortcuts to make the current address to a dummy string or text so that it may easy to work. Like if I want to show the above address as,  sbmaruf@lenovo:proj1$   where proj1 = /sys/dev/block/7:6/bdi/subsystem/7:7/power. I want do it on the go. like while I am using the terminal can I do it in a short amount of work.


I have a question about the PHP mail function. While I'm using it only sends emails which are detected as Spam, and changing or adding headers doesn't make any difference.  Here is my code:              $to      = $email;             $subject = "The Subject";             $message = "This is a message
                         This is another line
                         And another line..
";             $headers = "From: example@mydomain.com\r\n";             $headers .= "MIME-Version: 1.0\r\n";             $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";             $headers .= "X-Priority: 3\r\n";             $headers .= "Reply-To: example@mydomain.com\r\n";             $headers .= "Return-Path: example@mydomain.com\r\n";              mail($to, $subject, $message, $headers);   Could someone please help me out?


I was writing an IEEE paper.I wanted to insert some texts like IMAGE_NEW and IMAGE_OLD but when I am writing it is showing me some error.How to solve this issue.


Custom Button and Link can't use VF Page

I am creating a new custom button or link, and when i try to use a Visualforce page my content dropdown list is empty. How do i get a VF page to trigger on a custom button or link.


Should I create a full-size array for toArray(T[] a)?

I have two options and both have (afaik) the same output:  // 1 array = arrayList.toArray(new T[0]); // 2 array = new T[arrayList.size()]; arrayList.toArray(array);   The first is shorter.  Is there any reason to use the second?


Ubuntu firewall is blocking metatrader from install

I want to install metatrader through wine but they say that there's a firewall so they keep asking for proxy server option. How i allow it to install?


How can I work with customize completion? I want to add some new auto-completion but I don't know How the wizard works. It's here: User>Customize Completion I don't know what should be writen in the box.


Let $A$ be an integral domain. We know that if $A$ satisfies ACC on principal ideals then it is a Factorisation Domain. I want to know about the converse, i.e.,      Does there exist a FD not satisfying ACC on principal ideals?   Edit. A Factorisation Domain is an integral domain whose every non-zero non-unit element is a finite product of irreducible elements.  Thank You.


What causes close votes to be annotated with "(deleted)"?

In the "Votes Cast" section of my profile, my vote to close  is annotated with "(deleted)":    However, the close vote does not appear to have been deleted: it successfully closed the question:    Why was this vote marked as "(deleted)"?    If the vote was deleted my some internal process after the question was closed and the closers were recorded, I call that a . Regardless of what happens internally, it's irrelevant to users if close votes are deleted after they have taken effect.


Determining the longest side of polygon in QGIS?

Is there a possibility to determine the longest side of a polygon with QGIS? As I need to do that for hundreds of polygons I would prefer an automized method (like a plugin). So far my idea was:  transforming a polygon into a line cut it on the vertices measure the length here I became stuck, how to become the longest line without checking the whole bunch of lines one by one?


Why does 1px equal 1pt in photoshop but not on the web?

Please explain why in Photoshop setting a font size to 16pt or 16px looks exactly the same size but if I do the same test on a web site, the font-sizes are VERY different.      Why would Photoshop consider 1px = 1pt but the web show them as very different sizes? What are they doing differently?


Prove that in finite steps you can know if the solution set of linear programming problem is unbounded

Given is $\max\left\{c^T \cdot x | Ax \leq b, x \geq 0\right\}$ which is a linear programming problem and its solution set $M$. Prove that you can find out in finite steps if $M$ is unbounded.    It will surely work using the Simplex algorithm but I'm not sure how to prove this correctly?  I think the same proof to this is: Prove that the Simplex algorithm will stop (in finite steps). It will stop in finite steps because there are finite number of feasible bases. In addition, every feasible basis determines a basic feasible solution with an objective value. To make sure that a feasible basis is never used more than once, one can strictly increase the objective value in every step. For this reason, the Simplex algorithm will come to an end in finite steps.  But I'm not sure if this is fine like that or if it's really a proof at all? :S


Question about pca proof in deeplearning by ian goodfellow

Can anyone help me with this part? I don’t understand why d vector should be eigen vector of covariance matirx of X nor the generalization part


How to insert Latin accent inside lstlisting -

Could you please help me find a way to insert Latin accents in the lstlistings environment? I've tried the direct way and also the indirect way, i.e using ç and \c{c}. However, when using ç, this error appers:  Package inpuntec Error: Unicode char ...\lst@EC ... (U+9EA7)(inpuntec) not set up for use with LaTeX.  Replacing the ç for the \c{c} gets rid of the error, but when the pdf is generated, the output is not converted to ç, but instead, it stays as \c{c}.


Is R-squared truly an invalid metric for non-linear models?

I have read that R-squared is invalid for non-linear models, because the relationship that SSR + SSE = SSTotal no longer holds.  Can somebody explain why this is true?  SSR and SSE are just the squared norms of the regression  and residual vectors, whose $i^{th}$ components are $(\hat{Y_i}-\bar{Y})$ and $(Y_i-\hat{Y_i})$, respectively.  As long as these vectors are orthogonal to one another, then shouldn't the above relationship always hold, no matter what kind of function that is used to map predictor values to fitted ones?   Furthermore, shouldn't the regression and residual vectors associated with any least-squares model be orthogonal, by definition of least-squares? The residual vector is the difference between vector $(Y_i-\bar{Y_i})$ and the regression vector.  If the regression vector is such that the residual/difference vector is not orthogonal to it, then the regression vector can be multiplied by a constant so that it is now orthogonal to the residual/difference vector.  This should also reduce the norm of the residual/difference vector.  If I have explained this poorly, then please tell me and I will try to clarify.


we all know that primes are special numbers, but let me ask you one thing that 'if we change the base of our widely used decimal to something else, lets say to octal, would the distribution of primes also change; or it is irrespective of the number system we use ?'  also if more basically we adopt binary number system which numbers would we call primes and how would sieve work ?  ask me if you are still not getting my question


MySql shell command not replicated to slave - "LOAD DATA INFILE"

I have a shell script that looks something like that:    #!/bin/bash  mysql -udb_user -pdb_password -e "LOAD DATA LOCAL INFILE '/srv/some_file.csv'  INTO TABLE db_name.db_table FIELDS TERMINATED BY ','  LINES TERMINATED BY '\n'   (\`col1\`,\`col2\`,\`col3\`);"   the problem is that when I run this script on my master server the call doesnt get replicated to the slave server (even though /srv/some_file.csv exists on both servers).  any ideas how to make shell command replicate over servers?


If black absorbs light, then why did Africans evolve black skin? Wouldn't that make the heat worse?

Wouldn't it have been more adaptive to develop light skin and so reflect incoming light?


I am not sure why "element one" is not centered. The div with class name "navBar" is effecting the text in the div below. I'm not sure why "element one" is not centered. When i remove the "navBar" div it is fixed so I know it is because of that. Also, when I remove some of attributes like float:right, "element one" will change positions, but will not stay centered.  Thanks!    html,         body {             height: 100%;             background-color: #231C18;             font-family: 'Cabin', sans-serif;         }                  body {             margin: 0;         }                  .flex-container {             padding: 0;             margin: 0;             display: -webkit-box;             display: -moz-box;             display: -ms-flexbox;             display: -webkit-flex;             display: flex;             justify-content: center;         }                  .navBar {             height: 50px;             line-height: 50px;         }                  .bar {             margin: 10px;             color: white;             text-decoration: none;         }                  .title {             float: left;             font-size: 40px;         }                  .right {             float: right;         }                  .balance {             background-color: #1A1411;             border-radius: 5px;             text-align: center;         }                  .bottom {             text-decoration: none;             margin: 10px;             color: #F7F7F7;         }                  .flex-item {             background-color: #1A1411;             padding: 5px;             width: 90vw;             max-width: 700px;             height: 40px;             margin: 10px;             color: white;             font-weight: bold;             font-size: 2em;             text-align: center;             border-radius: 5px;         }                  .ad {             height: 300px;         }

                 title                 three                 two                 one                 balance

element one

element two

                 placeholder


How to prevent the colored border over all dialogs after resuming from sleep?

About a week and a half ago, I updated/upgraded my 16.04 using sudo apt upgrade.  Since then, every time the laptop resumes from sleep, I get a strange border around all popup dialogs.  Any idea how to prevent it?  I tried updating/upgrading again but the problem continues.


Is not using soap when washing cast iron pans safe?

Most advice on cast iron pan care says that most of the time you shouldn't use soap when washing a pan. However, that may leave some residual fat/grease from your cooking on the pan.   It can be fat/oil with a low smoke point which is going to smoke then next time you heat the pan.  Would it be safe to cook in such smoking pan? Should you burn it till it stops smoking? Is this smoke in the kitchen safe for your lungs?


asking a question about software licences on Stack Overflow

I find it ironic that the  tag has 794 questions. I am curious though as to where someone can go to ask "developers" questions on the GPL especially since tons of lawyers don't know how to read those licenses very well. Where to go?  Example: I had to argue over the junit and eclipse licenses quite a while back and finally convinced the lawyer that we could use it internally at a very large telecom company. Developers need to ask developers and gain understanding from peers before talking to a lawyer. (And talking to other developers helped me to talk to that lawyer.)  I am guessing that questions on licenses will continue be asked on SO primarily because this is where developers are.  When developers leave SO, that is when licensing questions will stop being asked.  Personally, I like developers asking licensing questions on here and I respond with what knowledge I do have to those questions as we are all on SO to help our peers.


Which equipment list does a multiclass character choose from when starting at a higher level?

I'm creating a new Level 10 Character who is starting off multi-classing.  Each class has the following equipment:  Class #1        (a) a handaxe and a light hammer or (b) any   two simple weapons   a light crossbow and 20 bolts   (a) scale mail or (b) studded leather armor   thieves’ tools and a dungeoneer’s pack      Class #2        (a) two shortswords or (b) a shortsword and   shield   A quarterstaff and light armor   Your choice of gaming set   An ancient tome and a explorer’s pack      When selecting my starting equipment, do I get everything, mix and match (take hand axe and light hammer from Class #1, then quarterstaff and light armor from Class #2), or everything from one which class that he started as?  I know the DM can decide any of those, but what is the rule?


Which is the correct gerund clause? 'People's killing animals', or 'People killing animals ... '?

Which is the correct gerund clause that should be used here?    People killing animals is a bad thing.. or People's killing animals is a bad thing..  John being late is a bit inconvenient. or John's being late is a bit inconvenient.   (At the beginning of sentence,Is the subject before the gerund expressed as a possessive noun?)


The best way to get a count of IEnumerable

Whats the best/easiest way to obtain a count of items within an IEnumerable collection without enumerating over all of the items in the collection?  Possible with LINQ or Lambda?


I don't seem to have blur node, using v2.69

Following along in tutorials I see the blur filter being used. I am using Blender 2.69 and I can't locate it visually or even with a search. Actually, there is no "Filters" category at all.  Do I have to download something to get it?


elements don't listen to events after DOM manipulation

I have these HTML elements created by DOM manipulation. They are nested inside the div with className pagination:     I have this event handler to react every time any anchor element is clicked:  $('.pagination a').on('click', (event) => {   $('.pagination a').removeClass('active');   event.target.className = 'active';   numPage = event.target.innerHTML;   showPage(numPage, studentList) });     I have this function that removes the ul list from the pagination div and creates a new ul element, depending on the numbers of studenst on the list, and append it to the pagination div again (parent1 = pagination div):  function appendPageLinks(stuList) {   let nPages = Math.ceil(stuList.length/10);   const ulCreated = document.createElement('ul');   parent1.appendChild(ulCreated);    for (i = 0; i < nPages; i++) {     if (i < nPages) {       let li = document.createElement('li');       let a = document.createElement('a');       a.textContent = i + 1;       ulCreated.appendChild(li);       li.appendChild(a);       $('a').attr('href', '#');      }    }   let clicked = ulCreated.getElementsByTagName('a')[0];   clicked.className = 'active'; }    This is the HTML after removing and adding the new ul list with all the nested elements:    According to the HTML, they are both the same but my event handler doesn't listen to the event of the new pagination links I created, even though they are nested inside the same elements.  I already tried using a debugger but it doesn't accept the click event and I don't know why. I searched on Google for a reason of this behavior but I think I'm not using the right terminology to find the bug.  Any help would be much appreciate it.  Cheers


Physics 3 recommended book with solutions

I'm new to this forum and wanted to ask for a recommendation for a book which has these subjects with problems and solutions:(if this is not a valid question please tell me)  -Intro to Waves  -Fourier and Plasma  -Waveguide and Polarization  -Interference  -Bragg & Blackbody Radiation  -Blackbody Radiation  -Photoelectric Effect  -De-Broglie and Rutherford  -Bohr and Wave Function  any book you know?


Is it possible to cite from an abstract in a scientific paper

I was wondering whether it is possible to cite information from the abstract part of another scientific paper.  Let's say that you read something interesting in the abstract of a scientific paper and that you want to cite that information.  Is it normal to use that specific research paper as a reference source?  The question arises because normally the abstracts of scientific papers don't contain references, but still the abstract would reflect what the authors of that paper conclude/claim.  EDIT  To further ellaborate:  My question is relating to scientific papers in general.  I know that the abstract normally does not contain any citations like: [1].  The abstract is like a summary of the scientific paper.  When I quote or cite from the abstract of a certain scientific paper, I would be citing as if that scientific paper is the source.  As a result if assuming that the abstract of a scientific paper contains the conclusions of authors that wrote the abstract. Even though these authors partly or not partly based those conclusions on external sources. So my question is whether that specific abstract/conclusion would be a valid source to cite from, making the scientific paper containing the abstract the source of citation.


I am looking for a program that runs on Ubuntu 12.04+ x86_64 which allows pasting pre-defined text based on hotkey combinations. For instance:  Ctrl+Alt+V+U: pastes my username    Ctrl+Alt+V+E: pastes my email  Any suggestions?


Analogue to appending "s" to the end of an acronym when plural does not have an "s"

Some acronyms can be naturally pluralized. For example, consider the acronym RTP which stands for regional tax policy -- the plural is regional tax policies and thus the acronym can be written as RTPs. What about for words whose plural does not use an "s"? For example, consider the acronym NE which stands for Nash equilibrium -- the plural is Nash equilibria, so writing NEs doesn't make any sense. Should one accept the ambiguity and write NE for both Nash equilibrium and Nash equilibria?


From on hold to closed with out explanations

I could understand the closing of  if I hadn't done anything, because it wasn't posted very clearly, so I significalty reworded my question. What do I have to do, post it again?  Thank you for any suggestions


This code used to work fine with java 6 and 7, but running it with a jre 1.8 method getMajorJavaVersion returns 2. Is it a bug, or are we doing something wrong?   public static void validateJavaVersion() {     // check whether the current JVM version is at least Java 6     if (JdkVersion.getMajorJavaVersion() < JdkVersion.JAVA_16) {         throw new APIException("OpenMRS requires Java 6, but is running under " + JdkVersion.getJavaVersion());     } }   getJavaVersion gives the version as 1.8.0_20  Note that JdkVersion belongs to Spring, not to the JRE itself.   Another question: is there any API to compare two java versions? Preferably native but we can use Apache commons and Spring too.


How can I distribute outlined/expanded text along a path in Illustrator?

If I have some text that is expanded, how can I distribute it along a path?  For example, if I'd like to have the Stack Exchange logo follow an arc    Using an Envelope Distort, well, distorts the logo:    Instead, I am looking to achieve something more like this:    Is this possible once the text has been outlined/expanded?


AMPscript to decode HTML entity in data extension field

Has anyone attempted to decode HTML entities using AMPscript? For example, I have encoded HTML stored in a data extension:  &lt;p&gt;Dave is great!&lt;/p&gt;  I need to use this value in an email but the output is displaying:
Dave is great!
   Can AMPscript, or some other feature of the Marketing Cloud, decode the original value before it's called to the email template? Dave needs his credit.  Dave is great!


Hi Im new working with apexcode and I Crate a Class in sanbox, but when I try to upload to production it says that my coverage code is 73% this is my code public with sharing class New_Session_Extension {  public Talleres__c taller {get; private set;} public String entregables {get; private set;} public String tipodetaller {get; private set;} public Gastos__c gasto {get; private set;}  public New_Session_Extension (Apexpages.StandardController sc) {     this.gasto  = (Gastos__c)sc.getRecord();      this.entregables = '';     this.tipodetaller = '';          if(this.gasto.Entregable__c == null) {         this.taller =  [SELECT Id,Entregables_E1__c,Taller__c FROM Talleres__c WHERE Id = :this.gasto.Taller__c];         this.entregables = this.taller.Entregables_E1__c;          this.tipodetaller = this.taller.Taller__c;      } else {         this.taller = new Talleres__c();         this.entregables = this.gasto.Entregable__c;     }   } }  any suggestions Thanks


How can I create foam and spray in a fluid simulation?

Hi! I'm working on simulating an ocean; after working on it for quite a while, I've come to the realization that my ocean is missing the characteristic ocean foam and spray.  I saw some vids where there is a fluid that interacts with objects and foam and spray appears; how was this accomplished? (I tried to use dynamic paint but it didn't work, at least not the way I did it.)  Any help appreciated!   Thanks,  EvilAsuratos


I was puzzling over this question that a friend suggested to me. I have come up with no definite answer. What I thought was that:   $x/x$ is $1$ and  $x/0$ is UNDEFINED (or some people say it's $\infty$)   To explain this you need some weird quantum mathematics. When I scoured the internet for answers, all I could find was exactly what I found myself. Does anyone have a definitive answer (even if it's just definitely impossible).


9:48 AM EST UPDATE: Nope clearing cache did not work.  9:45: AM EST: Ok: I will try to clear and post back here. I can only EDIT the OP. No JS errors.  I am not able to post comments on my own questions or others or answers or comments made on my questions. This issue arose some time ago and I thought that stackoverflow had some issue that was eventually solved.   This has been going on for 2 days now, how can I alert a moderator or support staff?  Thanks,


Java-->CreateProcess error=2, The system cannot find the file specified

I am facing below error:  java.io.IOException: Cannot run program "C:\abc\man\b\manu.bat C:\Users\12x\test\testFiles\abc.properties" (in directory "C:\Users\12x\test\testFiles\abc.properties"): CreateProcess error=2, The system cannot find the file specified     at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048).   Please find the code i am using:  public class TestProcess {   public TestProcess(Path workPath, Path exe, Path logbackConfig,                       Path propertyfile) throws IOException {      String exeSuffix = "";     if (OS.indexOf("win") >= 0) {       exeSuffix = ".bat";     }     builder = new ProcessBuilder()             .directory(workPath.toFile())              .command(workPath.resolve(exe).toAbsolutePath().toString() + exeSuffix+ " " + propertyfile)             .redirectOutput(Redirect.INHERIT)             .redirectError(Redirect.INHERIT);   My aim is to run a bat file(which is present in C:\abc\man\b folder) followed by abc.properties(which is in another folder C:\Users\12x\test\testFiles).  In code above, workPath has the value  C:\abc\man\b   and propertyfile has  C:\Users\12x\test\testFiles


What can you put in the {}s in a /give command?

What are the things you can put in the {}s in a /give command? I know some like ench and diplay but no others.   Here are the tags that I know how to use:   /give @p leather_boots 1 0 {display:{Name:"Dese Boots Aren't Made For Walking",Lore:["Some Stylish Boots Right Here"]},ench:[{id:0,lvl:15},{id:16,lvl:15}]}    That gives me a pair of leather boots with protection XV and sharpness XV Named "Dese Boots Aren't Made For Walking" with Lore of "Some Stylish Boots Right There".  What other tags can you put on items (like potion effects while equipped or attacked with, custom damage, and stuff like that)?


From the old canon but also non canon sources it always seemed to me that you can't get into hypserspace too near to a gravity well (canon it is with the interdictor class ship in rebels but also a few comments here and there in the films).   But now there was a hyperjump right into far within a gravity well.  Is there any explanation anywhere for this? Or was that just artistic freedom that it could work?      I'm talking about when Han solo hyperjumped into the atmosphere of the planet the starkiller base is located on. That is WAY within the planets gravity well I would dare say as he is almost at ground level there.


Proving the ideal $I=\{f(x)\in\mathbb{Z}[x] | f(0)$ is even$\}$ is not principal in the ring $R=\mathbb{Z}[x]$

I want to prove that the Ideal $I=\{f(x)\in\mathbb{Z}[x] | f(0)$ is even$\}$ is not principal in the ring $R=\mathbb{Z}[x]$. I have proved that, in fact $I=(2,x)$  Now, I think that should be enough (why not?), since the ideal I is now generated by 2 elements. However my professor followed saying:  To see that $I$ is not principal, we suppose that $I=(f(x))$ and we get to a contradiction. How do I get to that contradiction?


How to initialize an array in the constructor?

Lets say we have these two different constructors.      What is the different between the first one and the second one.      How is the way to do it? Explain the difference please!     (I know you cant have these two constructors in the same class, this is just to show what i mean.  public class StackOverFlow {  private int[] x; // instance variable   StackOverFlow(int[] x) { // constructor     this.x=x;      }  StackOverFlow(int[] x) { // constructor      this.x = new int[x.length];     for(int k=0 ; k < x.length; k++) {         this.x[k]=x[k];     }                   }


I have table in my project  I have filtering by date in my table  Now it filters only by Date from value, but I want to filter it from-to dates.  How I can do this in my case?  Here is snippet that demonstrates my problem     $('#datefilterfrom').change(function () {         var date = moment(this.value).format('DD/MM/YYYY');         var filter, table, tr, td, i;         filter = date.toUpperCase();         table = document.getElementById("testTable");         tr = table.getElementsByTagName("tr");         for (i = 0; i
 -1) {                     tr[i].style.display = "";                 } else {                     tr[i].style.display = "none";                 }             }          }      });

Date from
             <input type="date" class="form-control" id="datefilterfrom" data-date-split-input="true">

Date to
           <input type="date" class="form-control" id="datefilterto" data-date-split-input="true">

     nothing	     nothing	     18/07/2018	     nothing

     nothing	     nothing	     19/07/2018	     nothing

     nothing	     nothing	     20/07/2018	     nothing

     Thank's for help.


Recommendations for good Newtonian mechanics and kinematics books

What are some good books for learning the concepts of Kinematics, Newton laws, 2D Motion of Object etc.?


How can I change a set of files Permsissions from Root to user

I copied a set of BlueJ files from /usr/share/doc/BlueJ to a ~/BlueJ directory however the files in folders are set to root permission and read only I need to be able to read/write them.   So in BlueJ folder there are sub folders for each project for example 'shapes' folder.  I found this command here for changing a singular file   user@host:/home/user$ sudo chmod o+x /usr/local/bin/somefile   But how can I change the folder permissions and subsequently all files in folders for every project folder in ~/BlueJ?


I wonder is it possible to set Login IP Ranges using Apex code? Is there any api for that?


I've created a humanoid model that I'm exporting as an FBX for use in Unity. The model is composed of many sub-meshes, because I want the model to "explode" in the game, and send the individual pieces flying. So, for example, I have individual "Hand", "LowerArm", "UpperArm", etc objects in my model. Currently each object has an unapplied Mirror modifier to keep the model symmetrical.  The issue is that when exporting this model as an FBX, the "Hands" object contains both the left and right hands as a single object, as opposed to being separate objects.   A very manual way to address this is to apply all of my Mirror modifiers, then manually separate the vertices on one half of the model to a new object. The obvious downside to that is that it's destructive, and I can't easily edit the model anymore after doing that.   I was hoping there might exist a "separation" modifier, which could intelligently separate a mesh into two pieces depending on whether the vertices are on one side of the model or another. That way, the modifier would be applied on export, but I wouldn't need to apply my Mirror modifiers in Blender.  So, in short: Is there a way to export an FBX of my model that separates my current "Hand" object into "LeftHand" and "RightHand", without having to manually apply the Mirror modifiers, and manually separate the vertices?  Thanks,  -Dan


Explicit countable elementary extension of $\mathbb{N}$

I would like to see an explicit example of a non-trivial elementary extension of the structure $(\mathbb{N}, +, \cdot, 0, 1)$ where $\mathbb{N}$ includes zero. Most of all I am interested in countable ones.


pattern matching to content of variable using awk

**********NB -i have read previous posts that look like duplicates but I cannot get this to work, Id really appreciate an explicit answer ********** I know this is a duplicate but I have read the previous posts and I still cant get this to work. sorry.  I'm working in bash trying to match a pattern that is stored in a variable using awk  In this example the string I want to match is xxx and I am storing it in the variable pattern. Imagine in the file $file there is a line that reads xxx yyy  Then if I enter the pattern string explicitly  awk '/xxx/{print $0}' $file   the output is xxx yyy (which is what I want, its printed out the line containing xxx)  but if I pass the pattern to be matched via a variable then there is no match  pattern="xxx" awk -v pat="$pattern" '/pat/{print $0}' $file   no output  I checked the variable was getting passed to awk with  awk -v pat="$pattern" 'BEGIN {print pat}'   output: xxx as I was hoping.  Sorry, I guess this is easy but I'd really appreciate an answer. thanks


Why does a short-term certificate of deposit (CD) have a significantly smaller annual percentage yield (APY) than a saving accounts in some banks?

I see on  's website that a 3-month certificate of deposit (CD)  has an  of 0.75% whereas the saving account has an APY of 1.60%. This surprises me because I thought CDs offer less liquidity than saving accounts for the same level of risk, and subsequently would have guessed that the APY of any CDs at a given bank would always be higher than the APY of savings accounts at the same bank.  Why does a short-term certificate of deposit (CD) have a significantly smaller annual percentage yield (APY) than a savings account in some banks?     ():     ():


Copy files from recovery-mode via root terminal

Ubuntu 16.04 LTS was damaged during an upgrade and it can't be fixed. I need to save all my files in the disk in another disk.  When I log in as root during recovery mode, I see all my files there and I can read them without issue.  However when I connect a new disk (usb or hard disk) via USB this is not visible in the media folder, therefore I have no way to copy the files somewhere else, what should be done so that I can connect an external disk and copy all the contents that I need into the other disk?