How to find the size of array?
Java String array: is there a size of method?
Create UEFI bootable USB stick to install Windows AND Ubuntu from it I know how to make a UEFI bootable stick to install Ubuntu (explained ) and I know how to make one to install Windows 7 (, sorry). I guess for Win 8 the procedure would be similar, but I haven't looked into it.  I also know how to make a legacy bootable stick from which I can install Windows and Ubuntu using YUMI. I have failed so far though at creating a UEFI bootable stick that can do this. When I do a UEFI boot from my YUMI multiboot stick it gives me no option to choose between Ubuntu and Windows (hardly surprising I guess) and instead simply UEFI boots Windows (which I find kind of surprising to be honest but maybe this is due to the fact that I added the Windows image after the Ubuntu image and this simply replaced Ubuntu's EFI boot files).  So how would I proceed to create such a bootable stick? Personal Hotspot not working over Wi-Fi on iOS 13 After upgrade to iOS 13 from 12.4, I noticed that personal hotspot isn't working anymore over Wi-Fi (via USB is ok).  Tested on two computers with Win7. The PC can connect to Wi-Fi, but no valid IP (IPv4) is assigned and no connection is working to internet. How to make a persistent live Ubuntu USB with more than 4GB I want to make a persistent live Ubuntu USB drive with more than 4GB of storage.   I know there is an option of installing directly on the drive but I don't want to do this as it will restrict the drive from working on different computers.   One option is to make an additional partition with extra space but if I do this how can I get newly installed software to be stored on this partition? How to avoid nested With[]? So I am in an introductory linear algebra(with proofs) class, and I came across the following theorem:  If $S$ is a subspace of a vector space $V(F)$ and is generated by $\{a_1,...,a_n\}$ then any subset $\{b_1,...,b_m\}$ of $S$ with $m&gt;n$ is linearly dependent.   The proof in the textbook is done through induction (as most proofs regarding finite sets are) but I really do not follow it and I feel there is a simpler way of doing it. A hint would be appreciated. Sometimes I use, $PROJECT_HOME/* to delete all files in the project. When the environment variable, PROJECT_HOME is not set (because I did su and the new user doesn't have this environment variable set), it starts deleting all files from the root folder. This is apocalyptic.  How can I configure bash to throw error, when I use an undefined environment variable in the shell? I am trying to install Ubuntu 12.10 for quite some time, and passing hurdles one by one. Now I am in a situation as follows.  I have got a PC and 10 GB HDD which will be totally dedicated to Ubuntu so no option of Wubi and dual boot.  I was trying to install from DVD, but it is getting stuck at "Out of frequency" error. So I had to adapt for USB boot option. But my PC is USB non bootable, so workaround is "Plop Boot Manager". So I am doing the installation procedure as follows:   starting  from a CD drive which is having plop installed. opting for for USB boot in plop options. booting begins from USB. monitor eventually gives "out of frequency" error press Shift+Alt+F1 to get the terminal. open the grub with sudo nano /etc/default/grub. do necessary changes. sudo update-grub.   Now here I am getting error as follows:   /usr/sbin/grub-probe:error:failed to get canonical path of /cow.     My system is   P4 3.06 GHz, 1 GB ram , 10 GB HDD without an OS, monitor CRT lg StudioWorks (7 years old). Mobo Mercury P4 266a NDMx (865 equivalent). The whole system is perfectly in working condition under XP, but it is USB non bootable, and all other devices working perfectly.  What should I do next? English questions and negation with *do* in syntax PHP calculate age Does there exist an $a_0$ such that the sequence $a_{n+1} = 2a_n + 1$ is prime for all $n \ge 0$? Why are the endpoint lines of intervals (`|-|`) not shown completely? I use \draw[|-|] () to (); to draw a few intervals.  I expect that each interval is rendered like |----| (see the 2nd and the 3rd intervals in the figure below).  However, the top and the bottom intervals below show only a half of their endpoint lines (i.e., |).  Why are these endpoint lines (|) not shown completely? How to show them?        \documentclass{standalone} \usepackage{tikz}  \begin{document} \begin{tikzpicture}   \draw[|-|, red] (0,0) to (1,0);   \draw[|-|, red, dashed] (0,1) to (1,1);   \draw[|-|, blue, dashed] (0,2) to (1,2);   \draw[|-|, blue] (0,3) to (1,3); \end{tikzpicture} \end{document} I am a new user, who has just been told to run / execute a command. The answer has some text with a grey background like this text here or  sometimes this text here.   However, I don't know what "run" or "command" means in relation to Ubuntu.  How do I do this?    This is intended for use as a Q&amp;A you can link to when you tell someone to run a command. I'm working with jQuery and looking to see if there is an easy way to determine if the element has a specific CSS class associated with it.  I have the id of the element, and the CSS class that I'm looking for.  I just need to be able to, in an if statement, do a comparison based on the existence of that class on the element. Increment Record based on field Concurrent updates to GDAL (to 2.1.3) and QGIS (to 2.18.5) on Linux Mint 18.1 from the Ubuntugis repos breaks QGIS, with a noted dependency for the virtual package gdal-abi-2-1-2 being uninstallable.    The stable Ubuntugis ppa currently supplies GDAL 2.1.0 (gdal-abi-2-1-0) while the Ubuntugis-unstable ppa has been updated to GDAL 2.1.3 (gdal-abi-2-1-3).  Has anyone found a way around this?    Update:  QGIS bug report for those interested is here:     UPDATE 2  The ticket has been closed as fixed. Everything should be back to normal now. $\Bbb RP^2$ as the union of a Möbius band and a disc I spent some time trying to understand that the projective plane, $\Bbb RP^2$, can be viewed as the union of a Möbius band and a disc. I consider this using Homogeneous coordinates. But I still hope to really 'see' this fact in some way. Windows 10 won't let me set default apps for file extensions Writing a git post-receive hook to deal with a specific branch Why should two sub-atomic (or elementary particle) - say electrons need to have identical static properties - identical mass, identical charge? Why can't they differ between each other by a very slight degree? Is there a theory which proves that?  Imagine an alien of size of order of Milky-way galaxy examining our solar system with a probe of size of 10's of solar system dimension and concludes that all planets are identical. using gb4e keeping interlinear glosses together on the same page I am using gb4e for several hundred interlinear glosses in my dissertation. Several of the examples span more than one page, that is, the vernacular and gloss will be on one page, while the free translation appears at the top of the next page.   How can I keep all three elements together on the same page? I often have subexamples (a, b, c) that don't need to stay together. That is, 1a can be on one page, and 1b on the next, as long as vernacular-gloss-free translation for each subpart stay together.  In the MWE below, the free translation is at the top of page 2, while the vernacular and gloss are at the bottom of page 1.  \documentclass[11pt,letterpaper]{article} \usepackage{lipsum} \usepackage{gb4e} \noautomath \begin{document} \lipsum[1-4] \begin{exe}     \ex \gll wuz x̃ũch it-ak xohish-em\\              1\textsc{sg.prn} bread eat-\textsc{inf} want.\textsc{prs}-1\textsc{sg}\\         \glt `I want to eat bread.'  \end{exe} \end{document}   A solution was proposed to a similar question (), but it requires me to manually look for what could be dozens of orphans throughout my dissertation (and doesn't work when applied to my example, since it still strands the FT). I would prefer a more elegant solution that takes care of the problem automatically.