How to copy a remote tree without hidden files?
how to copy or backup files ignoring dot files
"Pupil" or "Student", what is the correct use? What are the main differences between undergraduate, master's, and doctoral theses? When I did my undergraduate thesis, my adviser was expected big on students expecting them working really hard, so it ended up as a reduced master's thesis (most of the reviewers said that it was an overkill for a B.E).  So because of this, I did my master's thesis pretty much in the same way I did my bachelor's thesis; the PhD dissertation was a different story.  What are the principal differences between these three pieces of research? Remove default ID attribute from HTML helpers in ASP.NET MVC Binomial Distribution Problem - Airline Overbooking The direction of static friction? In my book, the following are described to be the steps that one must follow if he wishes to find the direction of static friction force acting on an object:  &quot;(1) Draw the F.B.D(free body diagram) of the object in question with respect to the other object on which it is kept. (2) Include the pseudo force also, if the contact surface is accelerating. (3) Decide the direction of the resultant force and resolve this force into two components; one along the surface of contact and the other along the normal to this surface. (4) The direction of static friction is opposite to the component of the result force along the contact surface.&quot;  Firstly, are these steps correct? Will I always obtain the correct answer by following these steps? Secondly, consider the following problem:  In questions like these, when I try to find the resultant force and then assign the direction to static friction, I find that my answer is incorrect! Are there some other steps to follow when I know that the object is definitely accelerating in one direction or another? Edit 1: I approached the above question by doing exactly what my book suggests; first, I identified all the forces acting on the smaller block, being the normal force applied by the block A and its weight mg downward. Adding these two forces, I get another force that actually acts on the body like so:  I wonder if I'm not supposed to take either of the contact forces into consideration when drawing the F.B.D to figure out the direction of static friction acting on the body. Also, are there other steps for finding the direction of kinetic friction? Edit 2: From Judge's answer, I have been able to figure out my mistake, it being that I completely missed step (3) and didn't resolve the resultant force into components! Sheesh. Sorry! Much thanks in advance! :) Regards. random access file in java I have the following fields:   Inventory control (16 byte record)   Product ID code (int – 4 bytes) Quantity in stock (int – 4 bytes) Price (double – 8 bytes)    How do I create a fixed length random access file using the above lengths? I tried some examples online, but I either get an EOF exception or random address values when I try to access them.  I tried some more examples and couldn't understand the concept very well. I'm trying a project with it and will try to explore more on it.  Here is some example data. There might be holes in the data where No. in stock could be 23 == 023.            Quantity ID. No.   In Stock   Price  -------   --------   ------  1001       476      $28.35  1002       240      $32.56  1003       517      $51.27  1004       284      $23.75  1005       165      $32.25   Thanks for the help. How to stop HTTPS requests for non-ssl-enabled virtual hosts from going to the first ssl-enabled virtualhost (Apache-SNI) I hope that title is clear.  How do I prevent HTTPS requests for non-ssl-enabled virtual hosts from going to the first ssl-enabled virtualhost (setup is Apache-SNI).  For example, using my abbreviated config below, requests for https://example.com (a non-ssl vhost) are being served by Apache at the ssl-enabled vhost https://example.org. I'd like to disable that behavior and possibly reply with the appropriate HTTP response code (unsure of what that is).  It may not even be possible, but I thought I'd ask.  # I actually have a SNI setup, but it's not demonstrated here. # I don't think it's relevant in this situation.  NameVirtualHost *:80 NameVirtualHost *:443  &lt;VirtualHost *:80&gt;     ServerName example.org &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;     ServerName example.org &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     ServerName example.com &lt;/VirtualHost&gt;   EDIT: Maybe a mod_rewrite rule in the first ssl-vhost? Proving that $e^{\pi}-{\pi}^e\lt 1$ without using a calculator Prove that $e^{\pi}-{\pi}^e\lt 1$ without using a calculator.    I did in the following way. Are there other ways?  Proof : Let $f(x)=e\pi\frac{\ln x}{x}$. Then,  $$e^{\pi}-{\pi}^e=e^{f(e)}-{e}^{f(\pi)}\tag1$$ Now, $$f'(x)=\frac{e\pi(1-\ln x)}{x^2},\quad f''(x)=\frac{e\pi (2\ln x-3)}{x^3},\quad f'''(x)=\frac{e\pi (11-6\ln x)}{x^4}.$$ Since $f'(x)\lt 0$ for $e\lt x\lt\pi$, one has $f(e)\gt f(\pi)$. By , there exists a point $c$ in $(e,\pi)$ such that  $$\begin{align}f(\pi)&amp;=f(e)+(\pi-e)f'(e)+\frac{(\pi-e)^2}{2}f''(c)\\&amp;\gt f(e)+(\pi-e)\cdot 0+\frac{(\pi-e)^2}{2}\cdot \frac{e\pi(2\ln e-3)}{e^3}\\&amp;=f(e)-\frac{\pi(\pi-e)^2}{2e^2}\tag2\end{align}$$ because $f'''(x)\gt 0\ (e\lt x\lt \pi)$ implies $f''(c)\gt f''(e)$.  By the  and $(2)$,  $$e^{f(e)}-e^{f(\pi)}\lt (f(e)-f(\pi))e^{f(e)}\lt \frac{\pi (\pi-e)^2}{2e^2}\cdot e^{\pi}=\frac{e\pi(\pi-e)^2}{2}\cdot e^{\pi-3}\tag3$$  Since $e^x\lt \frac{1}{1-x}\ (0\lt x\lt 1)$ and $0\lt \pi-3\lt 1$,  $$e^{\pi-3}\lt\frac{1}{4-\pi}\tag4$$  From $(1)(3)(4)$,  $$e^{\pi}-{\pi}^e\lt \frac{e\pi(\pi-e)^2}{2}\cdot\frac{1}{4-\pi}\lt\frac{3\times\frac{22}{7}\left(\frac{22}{7}-2.718\right)^2}{2}\cdot\frac{1}{4-\frac{22}{7}}\lt 0.993\lt 1$$ Conformal Maps onto the Unit Disc in $\mathbb{C}$ SingleEmailMessage sending isn't working when called from Unit Test I have the following code:      public class OrderRequestCreationEmails {     public static void sendMail()     {          Messaging.reserveSingleEmailCapacity(2);         Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();         String[] toAddresses = new String[] {'dgriff@varonis.com'};           mail.setToAddresses(toAddresses);          mail.setReplyTo('dgriff@varonis.com');          mail.setSenderDisplayName('Mail Test');          mail.setSubject('Success! Mail Sent');          mail.setBccSender(false);         mail.setPlainTextBody('BODY');          Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });     } }   I tried to call this function from a test as such: (I know its not an actual test, its just to see if I receive a mail).  @isTest private class CreationEmailsTest {     @isTest private static void sendMailTest() {         OrderRequestCreationEmails.sendMail();     } }   And I haven't received the mail, no idea why?  It's an example I took from the salesforce developer guide. couldn't find any answers online...  FYI - deliverability in the sandbox is turned on, and test deliverability works Evaluate forecasting ability of GARCH models with RMSE and MAE I am evaluating different forecasting models and their ability to forecast index volatility during period of market turmoil, using two measurements, Root Mean Square Error and Mean Absolute Error. For the previous evaluated models, ARMA (1,1) as an example, I was able to obtain the residuals and calculate the RMSE quite easily in Stata.   When estimating the GARCH (1,1) model in Stata I am however not able to correctly obtain the residuals in the post estimation procedure, no option to directly obtain the RMSE is available. Perhaps I have misunderstood how one should evaluate the forecasting ability of GARCH models, since the models specifies the conditional variance unlike ARMA which specifies the conditional mean.   Does anyone have a suggestion on how to obtain these evaluation measurements after estimating a GARCH model? And preferably how to do it in Stata. My &quot;hat&quot; is shown twice in my answer, once in my sig, and again above. MacOS 10.14.6; Safari Version 14.0.2 (14610.3.7.1.10) How do I change my Chrome language back to English? How do I detect what .NET Framework versions and service packs are installed? A similar question was asked , but it was specific to .NET 3.5. Specifically, I'm looking for the following:   What is the correct way to determine which .NET Framework versions and service packs are installed? Is there a list of registry keys that can be used? Are there any dependencies between Framework versions? Where are the pristine, untouched contents of a ~/.profile file? How do I install OpenOffice instead of LibreOffice? Generating a DEM and DSM from correct LiDAR point classification I have downloaded classified LAS data from    I am trying to generate accurate DEM and DSM for further analysis. I created a LAS dataset with a projected CRS of  NAD_1983_UTM_Zone_19N in meters and the z CRS in meters as well. My question is on which classifications do I choose for the DEM and DSM. Here is the filter options I have in my dataset:     According to unh LiDAR data report class 2 is ground.     What I have done so far:  DEM I chose the class 2 points and used the las dataset to raster.   DSM In the predefined settings I chose first return and used the las dataset to raster tool.   Is this an accurate way of generating these two rasters? Do I not have to take into account the the unassigned class 1, noise class 7, reserved 11, reserved 17, reserved 18?  Additionally (I can ask this as a separate question if it gets requested to), when using the las dataset to raster tool the sampling value is defaulted to 10. I would like to change it to 2 or 3 (would be meters) to match the LiDAR resolution. I also plan on using the generated DEM and DSM for a least cost path analysis and I want them to be higher resolution. Will making the sampling_value 2 or 3 throw off the results or should I leave it at 10? What if the LHC doesn't see SUSY? A question in four parts.   What are the main problems which supersymmetry purports to solve?  What would constitute lack of evidence for SUSY at the proposed LHC energy scales (e.g. certain predicted superpartners are not in fact observed)?  Are there alternative theoretical approaches which would address the SUSY problem set and which would still be credible in such an LHC no-SUSY-scenario? Where would LHC-disconfirmation of SUSY leave String Theory?   I would like to think that these four points could be taken together as one question. Is Ghost Adventures real or fake? How long do you get to use a UK standard visitor visa from time of issue or is it valid for entry indefinite I am going to apply for a standard visitor visa for my girlfriend to enter UK. If it is issued how soon does it have to be used after issue, ie. validity until time of entry?