Code: let myClassFellows=[ ['Noor',1],['Jawaria',2]]; console.log(myClassFellows[0]);
I have a one-dimensional array of strings in JavaScript that I'd like to turn into a comma-separated list. Is there a simple way in garden-variety JavaScript (or jQuery) to turn that into a comma-separated list? (I know how to iterate through the array and build the string myself by concatenation if that's the only way.)
I'm not a physicist; I'm just curious about what would happen.  According to this video "" (at 2:50):     "Somebody decided to leave the detectors on but just not take any data. [...] So if it was also going to a magnetic tape - there was no magnetic tape loaded. [...] And what do you think happed? They got this. They got the diffraction pattern."   So the act of measuring (beeing concious of the data) destroys wave-form pattern?  If so lets consider these cases:   What if I'd throw a dice after the experiment to decide if I should look at the data or to destroy it? (e.g. look at the data if the number on dice is even) What if the information about measurement would need to travel longer period of time than the particle would need to hit the wall?    To above cases: Would it mean that information travelled instantly - faster than light or that "the particle can look into the future"? Non-uniform distribution of p-values when simulating binomial tests under the null hypothesis I heard that under the null hypothesis the p-value distribution should be uniform. However, simulations of binomial test in MATLAB return very different-from-uniform distributions with mean larger than 0.5 (0.518 in this case):   coin = [0 1]; success_vec = nan(20000,1);  for i = 1:20000     success = 0;     for j = 1:200         success = success + coin(randperm(2,1));     end     success_vec(i) = success; end      p_vec = binocdf(success_vec,200,0.5);     hist(p_vec);   Trying to change the way in which I generate random numbers didn't help.  I would really appreciate any explanation here. How to pass the output of one command as the command-line argument to another? So I have a script that, when I give it two addresses, will search two HTML links:  echo "http://maps.google.be/maps?saddr\=$1\&amp;daddr\=$2" | sed 's/ /%/g'   I want to send this to wget and then save the output in a file called temp.html. I tried this, but it doesn't work. Can someone explain why and/or give me a solution please?  #!/bin/bash url = echo "http://maps.google.be/maps?saddr\=$1\&amp;daddr\=$2" |  sed 's/ /%/g' wget $url I am making a fudge recipe that calls for 1cup whole milk and 5 cups sugar. It also uses 2 sticks of butter and 25 marshmallows. I'm wondering if I can omit the milk and cut back on the sugar by using sweetened condensed milk. Any complete group (that is, with trivial center and outer automorphism group) is isomorphic to its automorphism group. The inverse is not true, as the dihedral group of order 8 is isomorphic to its automorphism group but isn't complete.  Problem 15.29 in the Kourovka Notebook asks to find another exemple of a p-group, but I was wondering, is any other exemple known? Is there any other finite (or even infinite) group (not necessarily a p-group) which is isomorphic to its automorphism group but isn't complete? Why do files sometimes change but not the inode or vice versa? When a file is updated then the corresponding inode gets updated. But sometimes the following condition occurs    file is same and inode is new  file gets changed but corresponding inode is older   Why ? I am using field image to insert image into article. The image can't show in article body.   How do I insert the image into article? request: bragging & boasting but all made up of lies This is a single word, idiom, phrase, expression request - so basically I'll take anything that fits the bill.  Basically I'm trying to translate the Chinese word 吹牛 - which dictionaries will tell you mean to brag &amp; to boast - but it actually also refers to things that are usually all untruths and lies.  I thought, originally, that one of these would work: he's just bragging (i.e.: it's not, actually, true) - but Google only says:     brag      braɡ/      verb      ?verb: brag; 3rd person present: brags; past tense: bragged; past participle: bragged; gerund or present participle: bragging         say something in a boastful manner.   "he bragged that he was sure of victory"         noun      noun: brag; plural noun: brags         a boastful statement.      and     boast1      bəʊst/      verb      verb: boast; 3rd person present: boasts; past tense: boasted; past participle: boasted; gerund or present participle: boasting         talk with excessive pride and self-satisfaction about one's achievements, possessions, or abilities.      "she boasted about her many conquests"      synonyms:  brag, crow, swagger, swank, gloat, show off, blow one's own trumpet, sing one's own praises, congratulate oneself, pat oneself on the back; More      exaggerate, overstate;   preen oneself, give oneself airs;   informaltalk big, blow hard, lay it on thick, shoot one's mouth off;   informalskite, big-note oneself   "his mother had been boasting about how wonderful he was to all her friends"   antonyms:   deprecate, belittle   (of a person, place, or thing) possess (a feature that is a source of pride).   "the hotel boasts high standards of comfort"         noun      noun: boast; plural noun: boasts         an act of talking with excessive pride and self-satisfaction.      "I said I would win and it wasn't an idle boast"      Not really seeing anything talking about lies.   Anything about bragging or boasting that involves lies? 90s (or early 2000s) scifi (mini)series where a boy and old man chase a black guy in metal suit I keep running into areas where I see a chest in a section of the room that seems completely walled-off. Is there any way to get to these, or is that just the randomly generated dungeon being a tease?  I had to splice two screenshots together to show an example of what I'm talking about:   Is there any way to get in there? biblatex, biber, is it possible to \printbibliography between two years? With biblatex and Biber, is it possible to print all the bibliography (\printbibliography) from (let's say) 2003 to 2008 in one section? And then in another section print all the bibliography from 2009 to 2016? Let $ X \subset \mathbb{R}$ be a non-empty, open set and let $f: X \rightarrow \mathbb{R}$ be a continuous function. Show that the inverse image of an open set is open under f, i.e. show:  If $M \subset \mathbb{R}$ is open, then $f^{-1}(M)$ is open as well.  I think that this should basically follow from the definitions, but I'm still having some troubles with the proof.  Suppose $M \subset \mathbb{R}$ is open, then it follows that $\forall z \in M, \exists r &gt; 0: K_r(z) \subseteq M$  Since f is continuous it follows for each $x_0 \in X$ that for each $\epsilon &gt; 0 ,\exists \delta &gt; 0 : |f(x)-f(x_0)|&lt; \epsilon, \forall x \in X: |x-x_0|&lt;\delta$  Now I need to show that $f^{-1}(M)$ is open, so that for each $z \in M, \exists r&gt;0: K_r(f^{-1}(z_0)) \subseteq f^{-1}(M)$  I'm not sure how to prove this. I guess since $z = f(x)$ and since M is open we have that $\exists r&gt;0:\{z:|z-z_0|&lt;r\}\subseteq M$. And since f is continuous: $|f(x)-f(x_0)| = |z-z_0|&lt; \epsilon$ for all $|x-x_0|&lt;\delta$, but since $|x-x_0|=|f^{-1}(z)-f^{-1}(z_0)|&lt;\delta$ it somehow follows from that that $f^{-1}(M)$ is open?!  Which is just horrible and probably completely wrong. But I'm really confused from all the definitions right now and need some help please. How to merge all scene geometry into a single mesh? Equivalence principle question I understand the  as "The physics in a freely-falling small laboratory is that of special relativity (SR)." But I'm not quite sure why this is equivalent to "One cannot tell whether a laboratory on Earth is not actually in a rocket accelerating at 1 g". Infinitely number of primes in the form $4n+1$ proof Question: Are there infinitely many primes of the form $4n+3$ and $4n+1$?  My attempt: Suppose the contrary that there exist finitely many primes of the form $4n+3$, say $k+1$ of them: $3,p_1,p_2,....,p_k$  Consider $N = 4p_1p_2p_3...p_k+3$, $N$ cannot be a prime of this form. So suppose that $N$=$q_1...q_r$, where $q_i∈P$  Claim: At least one of the $q_i$'s is of the form $4n+3$:  Proof for my claim: $N$ is odd $\Rightarrow q_1,...,q_r$ are odd $\Rightarrow q_i \equiv 1\ (\text{mod }4)$ or $q_i ≡ 3\ (\text{mod }4)$  If all $q_1,...q_r$ are of the form $4n+1$, then $(4n+1)(4m+1)=16nm+4n+4m+1 = 4(\cdots) +1$  Therefore, $N=q_1...q_r = 4m+1$. But $N=4p_1..p_k+3$, i.e. $N≡3\ (\text{mod }4)$, $N$ is congruent to $1\ \text{mod }4$ which is a contradiction.  Therefore, at least one of $q_i \equiv 3\ (\text{mod }4)$. Suppose $q_j\equiv 3\ (\text{mod }4)$  $\Rightarrow$ $q_j=p_i$ for some $1\leq i \leq k$ or $q_j =3$  If $q_j=p_i≠3$ then $q_j$ | $N = 4p_1...p_k + 3 \Rightarrow q_j=3$ Contradiction!  If $q_j=3$ ($\neq p_i$, $1\leq i \leq k$) then $q_j | N = 4 p_1...p_k + 3 \Rightarrow q_j=p_t$ for some $1 \leq i \leq k$ Contradiction!  In fact, there must be also infinitely many primes of the form $4n+1$ (according to my search), but the above method does not work for its proof. I could not understand why it does not work. Could you please show me?  Regards BitLocker issue. Recovery Key is required on each startup after installing secondary OS I'm using a laptop with TPM module with BitLocker-encrypted internal HDD, running Windows 7. Recently I've installed a Windows 8 on the external, eSATA drive. Windows 8 detected the Windows 7 and correctly replaced the bootloader with dual-boot option.  Unfortunately, I'm now forced to enter BitLocker Recovery Key each time I start the computer. The only workaround I've found was to disable TPM module in BIOS, and suspend BitLocker on the Windows 7 drive.  How to accomplish the following configuration:   Keep the BitLocker running on Windows 7 (internal drive)  Leave the Windows 8 (external, eSATA drive) completely unencrypted  Don't be bugged to enter Recovery Key each time during startup  No matter if the eSATA drive is plugged in, or not   Is it possible? I don't care if TPM is enabled and I just want the Windows 7 drive to be BitLocker-encrypted. Trying to install ubuntu on a laptop. The "bios/uefi" has no uefi boot options &amp; the windows boot manager just kicks in. The only "option" is "boot from hard disk". So we tried to use efibootmgr to put grub to boot first.  When we run an efibootmgr -o xxxx,xxxx,xxxx command it seems like the order gets fixed but on reboot the windows boot manager still has control, then when we re-opened the live usb &amp; checked the boot order it remains unaffected.  What are other ways to change the efi boot order? Maybe by mounting the efi partition (in mnt) and doing what? Explain the xkcd jelly bean comic: What makes it funny? How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements? I'm trying to do an incremental backup using cpio but it seems that the busybox version doesn't work the same as the normal one? This is what I've got so far:  find data/Backup -mtime -2 | cpio -cm media/USB_FLASH_2  I origianlly used:  find . -mtime -2 | cpio -cm /media/USB_FLASH_2  However, I've seen people say busybox doesn't like definitive paths while using cpio. Unsure about that though.   It returns an error that basically says I'm using cpio wrong. I can't find anyone using the busybox cpio to do things like this, does that mean i can't do it? I've looked at using rsync as well but again, it doesn't do what i would expect.  For reference I'm using PuTTY to connect through SSH to a ReadyNAS 102.  After using find . -mtime -2 | cpio -o | { cd /media/USB_FLASH_2 &amp;&amp; cpio -imd; }  i get the output:   BusyBox v1.20.2 (Debian 1:1.20.0-7) multi-call binary.  Usage: cpio [-dmvu] [-F FILE] [-H newc] [-tio] [EXTR_FILE]...  Extract or list files from a cpio archive, or create an archive using file list on stdin  Main operation mode:         -t      List         -i      Extract EXTR_FILEs (or all)         -o      Create (requires -H newc)         -d      Make leading directories         -m      Preserve mtime         -v      Verbose         -u      Overwrite         -F FILE Input (-t,-i,-p) or output (-o) file         -H newc Archive format