I need to calculate my text with using JavaScript. But can't find a simple and working method. Please, help me :) Thanks in advance.
I'd like to use JavaScript to calculate the width of a string. Is this possible without having to use a monospace typeface?  If it's not built-in, my only idea is to create a table of widths for each character, but this is pretty unreasonable especially supporting  and different type sizes (and all browsers for that matter).
I'm looking for a symbol for skeptical consequence so that I can write that something, B, is a skeptical consequence of something else, A.  In a book I read it's written like \(A \vdash B\) or \(A \sststile{}{} B\) but the horizontal line is wavy like \sim, has the same width as the vertical line and does not vary in width. So, what I'm looking for is a binary relation symbol that is similar to the combination of the first two and the last relation in the following image:    That is, something similar to the following mockup but the wavy line should be such that it has a constant width and the same width as the vertical line:    I've tried  without success. I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all layers.  I don't see anything in the API that provides easy access to this functionality and couldn't find a good online example but maybe I missed something? Getting a black screen when installing or Live booting Ubuntu (any version) in my laptop I have an ACER Aspire laptop. Model number is E5-573G-56RG. I bought it only 15 days back. There is no DVD drive in it. I have tried various versions of Ubuntu- 14.04.2, 14.04.3, 15.10, 12.04.5. Tried disabling secure boot, fast startup. I current have Windows 10 Home and Windows 10 PRO (not-activated) installed with GPT partition in UEFI bios. I actually want only the Home edition and Ubuntu 14.04.3 (preferably because of LTS) or 15.10. In case more information is required, kindly ask me..  I tried installing through Wubi, when booting if I choose Ubuntu it automatically restarts and goes into Windows 10 Home! (I didn't have Windows 10 PRO at that time)  NONE OF THE SOLUTIONS I REFERRED HELPED ME.  I have spent 5 days (literally at least 20 hours reading all of them and trying out all kinds of editing in the grub command line, like removing quiet splash, adding and replacing with nomodeset, no splash, acpi_osi=off, acpi_osi=Linux, acpi_backlight=vendor,  acpi_backlight=legacy, noveau.modeset=0, i915.i915_enable_rc6=1 and such things! But I was not able to succeed installing which is why I doubt if there is some more thing to be done or know exactly what has to be done. Some text lines are italicized with no spaces between words What are the dev-loop services that started on boot? After booting I ran systemd-analyze blame and here are the results:       21.596s systemd-journal-flush.service      18.658s dev-sda8.device      15.099s dev-loop33.device      15.034s dev-loop19.device      15.012s dev-loop34.device      14.989s dev-loop21.device      14.877s dev-loop15.device      14.866s dev-loop26.device      14.773s dev-loop27.device      14.684s dev-loop30.device      14.677s dev-loop32.device      14.649s dev-loop35.device      14.590s dev-loop25.device      14.267s dev-loop23.device      14.192s dev-loop24.device      14.156s dev-loop29.device      14.133s dev-loop16.device      14.065s dev-loop31.device      14.059s dev-loop28.device      13.821s dev-loop20.device      13.531s dev-loop22.device      13.495s dev-loop14.device      13.364s dev-loop18.device   What are these dev-loopxx.device (xx denotes numbers) services and why are they taking so much time? Are they related to the mounting of snaps? Can I reduce the boot time by disabling them? I'm running Ubuntu 18.04 alongside Windows 10. How to install XAMPP? Hi all im a noob on Ubuntu/Linux World,  So i need some that give a full tutorial to How to install  from apachefriends.org correctly on Ubuntu 11.10 + all beyond Ubuntu for 32 bit and also 64 bit Desktop Version.. and also i need this:   Make a Folder on Your Home Folder and Linked to htdocs from Apache Web Server Make a GUI interface for Xmapp Start Xampp when Ubuntu Boot Up or Start Ubuntu   (Note: i ask it for both X86 and X64 so people in the further can see the tutorials)    New Data:  What i did was i download from  for now and i also what to say that I'm currently running Ubuntu 11.10 X64 bit for Dell Studio 1558 processor intel i3  i will let you know guys which solution was the best, and it is for a Desktop Version of Ubuntu 11.10 (Laptop 15 inch screen ^_^ ) not Server Ubuntu Curved mesh topology 2 I am trying to model a violin belly and I am intrigued, how is it possible to make faces with soft / rounded edges?    The edges I do are totally straight (see the blue amoeba).  Also, do you have some idea on how to avoid the edge loops getting too "compressed" in the middle of the model (see the red amoeba) ?    I know the Subdivision surface modifier, but I want curved edges after applying the modifier... like in this picture :  Any help will be very appreciated. Thank you in advance!  Marcos  2nd part  In fact, I've tryied to model using nurbs and bezier curves, but I wasn't able to find any tool similar to loft that works with curves, then I was forced to convert it in meshes, the results were not terrific and I've started to move the vertices manually, a real pain... Unlike a guitar, each edge loop is on a diferente elevation on z axis and I have to keep the original dimensions, So I have to be extremely careful when using the subdivision suface modifier. I've already modeled this think on three different CAD softwares, but the meshes are far from good... I want to improve the edge loops, but it will be a long path... Thank you again. Can someone please give me a tip how to show that for distinct prime $p,q$ that $\mathbb{Q}(\sqrt{p},\sqrt[3]{q})=\mathbb{Q}(\sqrt{p}\sqrt[3]{q})$ and how to find the minimal polynomial of $\sqrt{p}\sqrt[3]{q}$ over $\mathbb{Q}$ ? Last time I tried to make Chocolate eclairs (similar to cream puffs), the choux pastry just sat in the oven and basically fried.  It didn't rise/grow and so I couldn't hollow out the shells.  Any suggestions?  Recipe was from The Australian Women's Weekly Original Cookbook (Golden Press Pty Ltd, 1977) p. 204  It is almost identical to the one published on their website , with the exception that the cookbook recipe used 1C water and 1C plain flour. Do Hogwarts Houses have quotas? Not a year goes by where we don't see at least one person Sorted into each House, and it's usually a fairly even distribution.  The Sorting Hat doesn't get a chance to study the mind of each child before Sorting, so it can't Sort them relative to each other (top X in smarts go to Ravenclaw, 4 bravest to Gryffindor, etc)  What would happen if a Sorting occurred where all the witches/wizards were extremely intelligent?  Would they all get Sorted to Ravenclaw?  What if they were all extremely brave?  What if none of them were particularly smart or courageous, but they all wanted power?  We see that there's a fairly small number of beds per room in each dorm, would the Hat stop Sorting people into a House if it knew the House had no more beds?  If so, could Harry Potter have ended up in Hufflepuff if his last name had been 'Zimmers'? Is there an exact command for restarting GNOME Shell in Ubuntu 20.04 corresponding to Alt + F2 + 'r' + Enter? Is there a way to restart GNOME Shell other than by using Alt + F2, R + Enter? With respect to the question, I have gone through , but I didn't get what I was looking for. I am looking for a command which exactly does what Alt + F2, r + Enter do. Please note that I am not willing to do the gnome-shell -- replace command... I did check both the things Alt + F2,r Enter and gnome-shell --replace... There is a lot of difference, I found... Group of order $pqr$, $p < q < r$ primes "Absolutely continuous random variable" vs. "Continuous random variable"? In the book Limit Theorems of Probability Theory by Valentin V. Petrov, I saw a distinction between the definitions of a distribution being &quot;continuous&quot; and &quot;absolutely continuous&quot;, which is stated as follows:  &quot;...The distribution of the random variable $X$ is said to be continuous if $P\left(X \in B\right)=0$ for any finite or countable set $B$ of points of the real line. It is said to be absolutely continuous if $P\left(X \in B\right)=0$ for all Borel sets $B$ of Lebesgue measure zero...&quot;  The concept I am familiar with is:  &quot;If a random variable has a continuous Cumulative Distribution Function, then it is absolutely continuous.&quot;  My questions are: are the two descriptions about &quot;absolute continuity&quot; in (1) and (2) talking about the same thing? If yes, how can I translate one explanation into the other one? When I add a mirror modifier it sometimes doesn't mirror correctly, giving me an overlapping mesh. How can I fix this? Let $A$ be the $\mathbb{C}$-subalgebra of $M_4(\mathbb C)$ consisting of matrices of the form   \begin{pmatrix} * &amp; * &amp; * &amp; *\\ * &amp; * &amp; * &amp;*\\ 0 &amp; 0 &amp; *&amp;0 \\ 0 &amp; 0&amp;* &amp;* \end{pmatrix}   Then how would I find the Jacobson radical $J(A)$ of $A$?    I don't really understand finding the Jacobson radical of $\mathbb{C}$-subalgebras.  Any help on this would be greatly appreciated, thank you! Force ssh to not print "Remote host identification has changed" warning Is there a way to avoid ssh printing warning messages like this?   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   Although the remote host identity has changed but I know it is fine and  just want to get rid of this warning. Not enough space in /var/cache/apt/archives/ Why am I getting "line 1: $' :\r': command not found"? I use Cygwin on my laptop (DOS). I have a collection of scripts from my colleagues, and my own. I am not an IT person, not knowledgeable in Unix. I am following my colleagues' syntax and able to manage a few simple things. The scripts worked well on my old laptop. I just changed laptop and installed Cygwin. When I run my scripts, they do not work. Here is one example of the error message I get: line 1: $':\r': command not found line 5: syntax error near unexpected token `$'\r'' line 5: `fi  Here are the top 5 lines of my script : iter=1 if [ -f iter.txt ]    then rm ./iter.txt  fi    Can someone please explain how I can get around this problem? Why “which” returns none on some commands I can run? I used which to tell the location of a runnable file. For example, which pwd returns /bin/pwd. However, I found which alias or which compgen etc returns nothing.   What are commands like alias? Aren't they executable files on my Linux? I am using bash 4.3 on Ubuntu. What does \x mean in C/C++?