I use a custom float example, but some of the code is running longer than a page.  Is there an easy way to split the float across pages?  The definition is as follows:  \floatstyle{ruled} \newfloat{example}{thp}{lop} \floatname{example}{Example}
I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a figure environment, but the problem persists. Is there a solution to have the code continue on the next page?
How can I determine the list of files in a directory from inside my C or C++ code?  I'm not allowed to execute the ls command and parse the results from within my program. Do save bonuses stack from multiple magic items in AL? I play in Adventurers League and have a character that has a +1 Ring of Protection, which gives +1 to AC and saves. I also have a Stone of Good Luck which gives a +1 to saves and ability checks.  If I equip both items and my base Dex save is +4, would it become +6 due to receiving both bonuses, or +5 with just one? I can't find much in the PHB or Google to answer this. I have recently noticed a rather large amount of small worms in the fresh cod I am buying. I have tried to take them out as much as I can and of course have spoken to my fish supplier about them, but he assures me they are harmless. However, I don't believe my customers would be as assured. Is it okay to serve this fish, taking into account I might miss a worm or two? My Panda USB wi-fi adapter works just fine on 16.10, but when I try to connect to my wi-fi router in 17.04, GNOME network manager reports "Connection failed." I did some tinkering, and noticed that my MAC address for my wifi adapter, according to GNOME, is DIFFERENT every time I make it forget my wifi settings and try to reconnect. Any leads on a possible fix or work-around?   I'm running Ubuntu GNOME 17.04, kernel 4.10.0-19-generic, GNOME 3.24.0. Meta Meta Privilege I just took a look at meta today and noticed something weird in the meta privileges. If you look at the meta privilege list, you can see that at . I know that there is no meta for meta, and the link they give you in the privilege page leads you to meta.stackexchange.com, right where you started. Why do they have this privilege? I have a feeling that this is a bad recursive joke. You must be  member of meta to get the privilege of being a member of meta! :) Make rigid body collide with hair particles What is the emergency phone number in different countries? Regression in spacing before lstlisting environment with version 2018/09/02 after paragraph break I made something like this:    I did this with the Ellipse Tool and the Line Tool.  Now the circle is accurate, but the lines inside are very inaccurate. Is there another tool that does the same thing but with a lot more accuracy? How do I create a script file for terminal commands? In Windows I can write a file containing commands for cmd (usually .cmd or .bat files).  When I click on those files it will open cmd.exe and run them commands the file contains.  How would I do this in Ubuntu?         I'm sure this is a duplicate, but I can't find my answer. Its similar to these questions, but they don't answer the question: Could the Horcruxes be destroyed with Avada Kedavra? In The Deathly Hallows Hermione says this about destroying Horcruxes:     “It doesn’t have to be a basilisk fang,” said Hermione patiently.   “It has to be something so destructive that the Horcrux can’t repair   itself. Basilisk venom only has one antidote, and it’s incredibly   rare—"      "That’s a problem we’re going to have to solve though, because ripping, smashing, or  crushing a Horcrux won’t do the trick. You’ve got to put it beyond magical repair.”   Mad-Eye Moody from The Goblet of Fire tells us this about Avada Kedavra,     ...there's no countercurse. There's no blocking it.   but also that,      Avada Kedavra's a curse that needs a powerful bit of magic behind it - you could   all get your wands out now and point them at me and say the words, and I doubt   I'd get so much as a nosebleed.    Harry is also seen once attempting to use Crucio on Bellatrix Lestrange in The Order of the Phoenix out of anger at the death of Sirius, but he fails. She tells him,     "You need to mean [Unforgivable Curses], Potter! You need to really want to cause pain - to enjoy it - righteous anger won't hurt me for long - I'll show you how it is done, shall I? I'll give you a lesson -"   Even if Harry and company are not powerful enough to perform the curse themselves, they know several powerful wizards (Kingsley, Lupin, et al.) who could likely perform the curse.  Lastly we know that Voldemort himself destroyed the last bit of his soul that was inside Harry with Avada Kedavra.  Could the Horcruxes be destroyed with Avada Kedavra as well? Counting files in leaves of directory tree Why would perfectly similar data have 0 mutual information? Question about the order of the product of two elements in an abelian group My reference for learning abstract algebra says that in an abelian group $G$ the product of two elements (say $a$ with order $n$ and $b$ with order $m$) has order $mn$ if $gcd(n,m) = 1$.   What I don't understand is where the $gcd(m,n)=1$ comes into use in proving this fact? For example, $ a^{mn} = (a^n)^m = (e)^m = e$ (identity element). A similar argument for $b^{mn}$ together with the fact that $G$ is abelian is enough to show that $(ab)^{mn} = e$. From here, how do I conclude for an integer $r &lt; mn$ that $(ab)^r \neq e$  Also, are there any other conclusion that can be drawn if $gcd(n,m) \neq 1$ ?  Thanks for any feedback in advance ! Where did the ~/Library folder go in Lion? How can I duplicate a mesh along a curve? I want to outline a curve in the form of text with a mesh (UV-sphere, cube etc.). How can I do that while saving mesh geometry without using the Curve modifier? Follow up: instance control in Java without enum Optimizing $(X_{n}+c)^{2}$ to show that $P(\overline{X}_{n}\geq \lambda) \leq E(X_{n}^{2})/(EX_{n}^{2}+ \lambda^{2})$ Define $\overline{X}_{n}:=\max\limits_{1\leq m \leq n} X_{m}$ and let $(X_{n})_{n}$ be a martingale where $X_{0}:=0$ and $EX_{n}^{2}&lt; \infty$  Show that $P(\overline{X}_{n}\geq \lambda) \leq E(X_{n}^{2})/(EX_{n}^{2}+ \lambda^{2})$  As a hint: Consider $(X_{n}+c)^{2}$ and optimize over $c$.  It is clear that $((X_{n}+c)^{2})_{n}$ is a submartingale and when I optimize over $c$, I get:   $X_{n}^{2}+2X_{n}c +c^{2}\Rightarrow 0=2X_{n}+2c=0\Rightarrow -X_{n}=c$  It is also clear I need to use Doob's inequality but I am not sure how to go about this, and how the above optimization helps me. I need help with this exercise. What I've done so far is prove the exercise when $n=1$. So:  $$n=1$$ $$1!\ge2^{(1-1)}$$ $$1\ge2^0$$ $$1\ge1$$ Which is true  Therefore, now that I assume that the assumption is correct, I want to prove that with $n+1$, it will also be true. So, what I've done now is:  $$P(n) \implies P(n+1) $$ $$n!+n+1\ge 2^{(n-1)}...$$ And my  problem is that I do not know how to add the $n+1$ in the right side of the equation, therefore I'm not been able to finish the exercise.  Thank you so much for your help. If something's not very clear, please let me know. I'll try to be clearer next time :) Voltage at soldering iron tip, should I be worried? I discovered that my soldering iron has voltage at the tip and it seems to increase the hotter the iron gets. Should I be worried? I've been trying to repair an old CRT monitor and I'm worried the issues I've been having are due to this cheap iron damaging something.  How to meassure voltage of an soldering iron tip? Where to put probes?