javascript is closing my HTML tags
jQuery appended table adds closing tag at the end of the text automatically. Why?
Why does my shell script choke on whitespace or other special characters? Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it? How To Reduce Noise In Cycles Render So this is my first try with cycles and I was wondering what can I do to make the image clearer? I'm having a problem finding out a way to project from top view and the side view so I texture better. It just replaces the current projection with the top view    So is it possible to project from view twice on the same image? How many roots have modulus less than $1$? If roots of the equation   $$x^7 - 4x^3 + x + 1=0$$        are plotted on the Argand plane, how many of them have distance from the origin less than $1$?     I found, by plotting the rough curve of $y= x^7 - 4x^3 + x + 1$ that it has three real roots, out of which two of them have modulus greater than $1$ and one has modulus less than $1$. But I don't know how to do the same for non - real roots. The answer given in my book is that $3$ roots have modulus less than $1$. How do you turn off Bluetooth on startup using MacBook Air and macOS Sierra? Every time I turn on my laptop (from a completely off state) the Bluetooth is on by default. How can I prevent it from turning on at startup and then only turn it on (manually) when I want to connect any Bluetooth devices like mouse and keyboard? Does the series $\sum \limits _{n=0}^{\infty} \cos(n\pi)$ converge or diverge? Does the series $\sum \limits _{n=0}^{\infty} \cos(n\pi)$ converge or diverge?   On substituting values I get alternate $1$ and $-1$.    So taking sum of infinite GP, I get $\dfrac 1 2$. So it looks like it converges. Question on the stability of the solar system One of the pertinent questions about many body systems that causes me much wonder is why the solar system is so stable for billions of years. I came across the idea of "resonance" and albeit an useful concept, it hardly explains the long stability of the solar system. Normally an N body problem with inverse square mutual interaction is an example of a chaotic system. Is there any real progress about this stability issue? Recently I have updated my postgresql version. I have also upgraded pgAdmin from 3 to 4. But I was unable to load shapefile. I didn't find any plugin called shapefile loader. How can I get the shapefile loader plugin in pgAdmin 4? Find $\sum_{n=1}^\infty \frac{n^3}{n!}$. How do I find out what tool a shortcut is triggering? I used to have problem with connecting two objects, because when I smooth the final object, there was a darker line on the connected parts (for example when I was making head, I've had eyes darker this way). Then I found out that I can get rid of it by hitting Ctrl+N, but I don't realy know what it does. I can just see that the lines are gone. So, what does Ctrl+N do? I just learned about the C++ construct called "placement new".  It allows you to exactly control where a pointer points to in memory.  It looks like this:   #include &lt;new&gt;        // Must #include this to use "placement new"  #include "Fred.h"     // Declaration of class Fred   void someCode()  {    char memory[sizeof(Fred)];    void* place = memory;     Fred* f = new(place) Fred();   // Create a pointer to a Fred(),                                   // stored at "place"     // The pointers f and place will be equal     ...  }    (example from ) In this example, the this pointer of Fred will be equal to place.    I've seen it used in our team's code once or twice.  In your experience, what does this construct enable?  Do other pointer languages have similar constructs?  To me, it seems reminiscent of equivalence in FORTRAN, which allows disparate variables to occupy the same location in memory. How do I execute PHP that is stored in a MySQL database? I'm trying to write a page that calls PHP that's stored in a MySQL database. The page that is stored in the MySQL database contains PHP (and HTML) code which I want to run on page load.  How could I go about doing this? Disappointed to see that the 18.04 installer no longer offers the option to encrypt the home directory. According to  bug report referenced in the installer, the recommended method for encryption these days is full-disk with LUKS, or fscrypt for directories. Full-disk encryption seems a bit overkill for my needs, and all the bugs and caveats mentioned on the  don't make it a very attractive option. All I really want is to protect my home directory from someone accessing my documents, photos, etc. if my laptop were to get stolen, making fscrypt the option for me.  The  has some examples on how to set it up, but I can't find any documentation aimed at encrypting the home directory on Ubuntu. The old ecryptfs tool is still available, but after setting it up Ubuntu would sometimes freeze at the login screen.  So my question is: How do I setup fscrypt to encrypt my /home directory and decrypt when I log in? I also liked how ecryptfs allowed decrypting the folder manually (eg. from disk images).  (A similar question was posted  and was unfortunately closed for being an "off-topic" bug report. To clarify, this is not a bug report. The fact that the encrypt home directory option was removed from the installer was intentional. All I'm asking here is how to setup fscrypt.) C# has the keyword called . VB.NET lacks this keyword. How have the Visual Basic programmers gotten around the lack of this keyword? Do they implement they own iterator class?  Or do they try and code to avoid the need of an iterator?  The  keyword does force the compiler to do some coding behind the scenes.  has a good example of that. GUID COMB strategy in EF Calling the base constructor in C# If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that?  For example, if I inherit from the Exception class I want to do something like this:  class MyExceptionClass : Exception {      public MyExceptionClass(string message, string extraInfo)      {          //This is where it's all falling apart          base(message);      } }   Basically what I want is to be able to pass the string message to the base Exception class. Can I do it with reflection or something like that? Smooth rendering of bitmap fonts Selecting a Textbox Item in a Listbox does not change the selected item of the listbox Are aerosol cans allowed and safe, in checked luggage?