I have been working on a html file on my mac os 10.10 via Texedit for about a week. When I started my computer today the file appeared on my machine as an rtf, and when I opened it I saw my page as rich text with no javascript of html tags. I then tried to restore it but all the versions were rtf. I then choose to view the page a plain text and restore again and now all the versions were plain text. Again no javascript or html tags. How can I restore my file as a html file?
When I try to save a new file in TextEdit, I always get a popup saying I can't save with ".txt" at the end of the file name.  I want to save a plaintext file, but TextEdit insists on saving as .rtf instead. It also lists .doc, .odt, .html, and some others.  How can I save a TextEdit document as plain text?
Can someone explain the layer system? I am really confused with the different uses of the terms "Layers" and "Passes" in Blender. Can someone please explain how they work in Blender. I know about Render Passes like AO, Diffuse and so on, but there seems to be a confusion with layers. Also, how do the layer buttons work in the properties panel like in the image shown? I get it that you can assign objects onto certain layers, but whats the difference between "Scene" and "Layer" buttons in the image? How do they refer to rendering? How can you see what layer a certain object is on? I want to ask about two sentences, and what would be the correct way to form a question:   It's very important that we eat healthy food, ...........?  Which would be the correct question tag: (isn't it) or (don't we)? It's a must that all applicants follow the rules of the competition, ..........?  Which would the correct question tag: (don't they) or (mustn't they)?   Please could you tell me the correct answers, and, more importantly, why those are correct? Unable to parse query string for function Query, when using IMPORTRANGE How to combine bold and "code sample" in Markdown? How can I make a word in a code sample bold? I only see asterisks around the expected bold text.  sample **sample** sample How do I get the size of a java.sql.ResultSet? Shouldn't this be a pretty straightforward operation? However, I see there's neither a size() nor length() method. How to render text pixel-perfectly with subpixel antialising with Illustrator? Gradient steepest direction and normal to surface? From this , I now understand the gradient to be the directional derivative that returns the steepest slope at a point. However, reading my textbooks, they all say that the gradient is normal to the tangent plane. In the above SE question, the gradient sounds like it should be parallel to a direction in the $xy$ plane, not actually up on the surface.   My question is therefore do I have a misunderstanding of the tangent plane, gradient or directional derivative?   In addition, I question how the gradient always passes through the origin or the $xy$ plane? If for instance in the graphic, the gradient had been another direction (say horizontal), then it wouldn't pass through the origin! In addition, the gradient of other points in the graphic would satisfy this example. Many thanks! My initial problem was that my computer wouldn't let me login to my account. It seems to shut down after I enter my password. I can login as a guest.  I found fixes but I can't remember / figure out my login for access after I hit Ctrl+Alt+F1 and most of the fixes for finding your login username depend on you having access to your account.  I thought the login was the name which appears on the screen when I start the computer normally, but this has not worked, is there another way to find out my username while being effectively locked out of my root-user profile?  I am also assuming that the password is the same one I always use.  Conversely, if the name which appears on the screen at startup and my normal password should have worked, is there another explanation for why I am not able to login on the black command screen. Array versus List: When to use which? MyClass[] array; List&lt;MyClass&gt; list;   What are the scenarios when one is preferable over the other? And why? Why do "stripes" appear on raster? I am reprojecting a SRTM 3 arc-second raster file from WGS84 geographic coordinate system, to projected coordinate system which is using Azimuthal Equidistant projection:  gdalwarp -s_srs EPSG:4326 -t_srs "+proj=merc +lat_ts=40.81266 +lon_0=14.414252" -r near -of GTiff C:/vesuvius2_wgs84.tif C:/vesuvius2_aeqd.tif   I attached the initial raster file in here ().  The issue is that if I use the Nearest neighbor resampling method (-r near), some sort of "stripes" appear on terrain once I reproject the file to Azimuthal Equidistant projection. Here is the how the reprojected raster looks like:    And here is its 3d representation:    Interestingly similar "stripes" appear in both direction if I reproject the initial raster to UTM:  gdalwarp -s_srs EPSG:4326 -t_srs EPSG:32633 -r near -of GTiff C:/vesuvius2_wgs84.tif C:/vesuvius2_epsg32633.tif   The "stripes" go away when I use Bilinear or Cubic resampling methods (-r bilinear, -r cubic) instead of the Nearest Neighbor one.  Why do these "stripes" appear when Nearest Neighbor resampling method is used? passing values between forms (winforms) I wanted to add classpath to my JDK. While searching a way to do it I noticed everyone open .profile file using terminal. But when I want to open and edit it with a text editor I couldn't see that file in Home folder.  Can someone tell me why is this. And also if possible how can I access .profile in home folder the GUI way. For PhD applications, I have mentioned that I am interested in some research areas. Besides, I am thinking about mentioning some professors' names, so that it shows I have read their websites and I am not just sending out generic statements applicable to many schools.  But is it good to mention some professors' names in the statement of purpose, if I don't know them personally? In what cases is it good, and in what cases it isn't?  For example, is it good to only mention    those whose research directions are aligned with my research interests, or/and those whose books or notes I have heard of, or better, might have read some parts of, or/and those who are already established and famous (such as having certain titles), or/and those that are directing the PhD graduate programs, or/and those that are heads of the departments?    What will other professors who are not mentioned think? How will you do, if it were you? How do I redirect www to non-www in Route53? I host my site at domain.com.  My DNS entries in Route53 are as follows:  domain.com      A       xxx.xxx.xxx.xxx      300 domain.com      NS      stuff.awsdns-47.org  172800 domain.com      SOA     stuff.awsdns-47.org  900   I would like to redirect traffic from www.domain.com to domain.com, as currently this just returns a 404.  suggested a PTR record, and I added that:  www.domain.com  PTR     domain.com           300   but it didn't work. What should I be doing? Use of pizza stone in gas oven I have a new gas kitchen stove.  The oven seems to burn so easily. I have a thermometer in there and it is registering the temp that I have the oven set on.  I have seen where people have used a pizza stone to even out the heat.  I want to know if you place a rectangle pizza stone directly on the bottom of the oven or should it be placed on a rack on the lowest setting?  I would appreciate replies from anyone who has used this and if it had helped the problem I know they have their adherents, but do more or less esoteric branches of mathematics such as Category Theory and/or Quantum Logic provide powerful tools for new theory development or are they just occasionally-useful presentational frameworks?  More particularly, is it worth investing the time to study these formalisms? It is a general and maybe basic question, but it will help me to avoid a mistake. To test the dependence of continuous variable on nominal with parametric test (t-test, ANOVA), "the data has to be normally distributed" (distribution have to be not much violated from normal).   But I don't clearly understand: I have to test the normality of the continuous data together (whole sample) or the normality of data in every single group?   And if my groups have small sizes (n=4-6), and therefore I fail to reject null, does this indicate a permission to use parametric methods?  Can anyone provide me a link to some good examples of statistical (biomedical) hypothesis testing with R (google did not helped)? I usually am able to render successfully to the c:\tmp folder, but when I came into work today, I rendered out the image on my work laptop, and everything seems to work, but I'm not getting an output to the tmp directory.  Does anyone know how to make this work? Steam doesn't start after upgrade to Ubuntu 16.04 After upgrade to Ubuntu 16.04, Steam doesn't start. When I execute it from the command line, I get the following error:  $ steam Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc Installing breakpad exception handler for appid(steam)/version(1459463254) What are the differences between $$, \[, align, equation and displaymath? I once learnt, that it is uncool to use $$, but why is that? Why does \[ not act as a abbreviation to \begin{align}? I noticed, that there is a difference, since one cannot use &amp; and \\ inside a block started with \[.