Use variables from +(void)initialize in other functions
Objective-C Static Class Level variables
Technique for finding the centerline of a curved object? I'm curious to know if anyone knows of any effective techniques for finding the center line of a curved object.  In the screenshot below you'll see a crude version of what I mean.     Is there any way to get that line to perfectly trace the center, or is it easiest to just eyeball it?  Photoshop or Illustrator techniques are acceptable. Product of all monic irreducibles with degree dividing $n$ in $\mathbb{F}_{q}$? Typical Japanese style anime art, it was a series.   It has been around for more than 6 years. I think it mixed fantasy and sci-fi. It was certainly not Isekai and it has no magic, it feels more like revered science. A boy gets a gem embedded into his arm after a terrorist attack and transforms into a white and orange humanoid being. There are more people able to transform into these beings. There is also a red flying ship with a dark yellow underbelly that throws boxes with parachutes. There is also this top-secret laboratory where the scientists study how to battle against the beings. There are some other flying ships of varying colors. If I remember correctly, the protagonist gets amnesia near the end of the plot. Which manga chapters correspond to the 2nd season (or "Season 3" on Netflix) of the anime, "Revival of the Commandments"? The 2nd season (labeled as "Season 3" on Netflix) of the anime, Nanatsu no Taizai: Imashime no Fukkatsu (or The Seven Deadly Sins: Revival of The Commandments), has ended.  Which manga chapters correspond to each of the anime episodes? Passing Account ID to my Visualforce Page As the user goes into an account, there is a custom button that they can click that will redirect them to my Visualforce page.  How can I capture that account id  in my controller?  Thanks  public myControllerCBR(){     breachRecord = new List&lt;wrapperClass&gt;();      AccountTeamMember uId = [SELECT UserId FROM AccountTeamMember WHERE AccountId =:ApexPages.CurrentPage().GetParameters().Get('id') and TeamMemberRole = 'Sales Engineer' limit 1];      List&lt;User&gt; uName = [SELECT Name, Manager__c, MANAGERID, Email, MOBILEPHONE FROM User WHERE Id =:uId.UserId limit 1];       for(User rept : uName){         breachRecord.add(new wrapperClass(rept));     }  }   See button setup: Prove the following inequality:   $$\dfrac{e^x + e^{-x}}2 \le e^{\frac{x^2}{2}}$$   This should be solved using Taylor series.  I tried expanding the left to the 5th degree and the right site to the 3rd degree, but it didn't help.  Any tips? How to safely upgrade from an older Ubuntu version to a newer one? How can I safely upgrade an Ubuntu installation from one release to another? What should I do before upgrading to ensure it goes smoothly, and is there any clean-up I need to do afterwards?  In particular, do I need to do anything special if I am using packages from PPAs, if I have a graphics card that needs drivers, or if I'm running a custom Linux kernel?  This is a general question , but as example we take Ubuntu 12.04 and Ubuntu 12.10 Set the QGIS display to show decimal degrees? Using QGIS 2.6.1 Brighton. I am trying to set the CRS for the project to display Decimal Degrees, where it is defaulting to Feet. I can change it in the Properties Dialog, but it does not change it, it is just staying on Feet. How do I change it?  Edit: this layer was imported from a shapefile where it was internally set to Feet. I was able to get the vendor to supply one with Decimal Degrees so my problem is gone. Still would love to know if there was a way to do it myself from within QGIS. Is it possible to change the colors in the command prompt for the user@computer, as well as the the current directory and command parts of the prompt display?   I've already seen something like this done by OSX users, but I don't know how to do the same thing in gnome terminal (I can only change foreground and background colors).   It'd be very useful when, for example, trying to compile programs that have errors, since long, unformatted messages make it hard to distinguish which lines are commands and which are output. List all the directories under the current one I am attempting to set a value in a textarea field using jquery with the following code:  $("textarea#ExampleMessage").attr("value", result.exampleMessage);   The issue is, once this code executes, it is not altering the text in the textarea?  However when performing an alert($("textarea#ExampleMessage").attr("value")) the newly set value is returned? Proving that the Intersection of any Collection of Compact Sets is Compact I was trying to do this problem this way:  Let $\mathcal{B}=\{B_i\}$ be a collection of compact sets. By Heine-Borel, each of the $B_i$'s are closed and bounded. We already know that the intersection of a collection of closed sets is once again closed, so $\cap \mathcal{B}$ is closed.  If I can prove $\cap\mathcal{B}$ is bounded as well, I can use Heine-Borel to say it is compact. So I was not sure how to show it was bounded, but a friend showed me his way of doing it. He did it the following way:  Let $b,a\in\mathbb{R}$ be an upper and lower bound for $B_1$, respectively. Since $\cap\mathcal{B}\subset B_1, a$ is a lower bound for $\cap \mathcal{B}$ and $b$ is an upper bound for $\cap\mathcal{B}$. Therefore, $\cap\mathcal{B}$ is bounded and then by Heine-Borel, it is compact.  My question is on the paragraph right above. I don't understand why what he did means that $a$ and $b$ are lower and upper bounds for $\cap\mathcal{B}.$ Can anyone explain why this is? Thanks. Can git be integrated with Xcode? How to manage and restore a modern iPhone or iDevice on ubuntu with iTunes This question—how to install iTunes on ubuntu—has been asked many times before on this site, but the answers are all outdated and involve Wine or some other tool that no longer works for the most recent version of iTunes. Put simply, I need to regularly back up and occasionally restore the firmware on an iPhone 6.   I cannot:   dual boot Windows—for some reason installing one OS makes the other unbootable &amp; after days of headache &amp; dozens of reinstalls I’ve decided to just leave Ubuntu be &amp; not try to preserve Windows. Plus “just use Windows” is not really a solution on an Ubuntu forum. use libimobiledevice-dev. libimobiledevice-dev doesn’t let you manage iOS updates or sync music anymore. Buy another phone. This one should be obvious but for some reason some asshat always comments “too bad lmao shouldntve bought an iphone ;P”. Simplest Light triggered relay I am building a large array of Light Switched relays, and due to the size of the array i want to keep the part count down.  Each 'Pixel module' has a 12V SPDT, bulb and an activate-on-dark circuit. There is a strong spotlight on the device and the viewers shadow is obscuring the light in their shadow so the swing is large.  I have seen the obvious LDR-and-Pot circuits with a junction out to a NPN Transistor, and the more stable comparator alternative  I was looking at "solar cell" types of Photodiodes (PiN Type), and I can't see why I cannot just lay one across a PNP transistor (Collector to Base?) or something so it applies a Base voltage when lit up.  Can someone briefly explain to me why I am wrong?  I figure it would be all over the net if it was that easy, and i cant find any examples!  Is this possibly the cheapest way to make a light switched 12V relay driver?  Note: I prefer solutions using discrete circuitry, as I have a thing for human readability, visual components etc :P How to serialize a JObject without the formatting? Why did Itachi say that he needs to get someone's MS to get EMS while Sasuke only had a normal Sharingan? Convergence in probability implies convergence on a subsequence almost surely.  But this means we fix a subsequence, such that $X_{n_k}$ converges for almost every $\omega$, right? The subsequence we pick does not depend on the $\omega$ right? Can a non-EU citizen travel freely within the Schengen area without passport? My current situation is that I have residence permit of Germany (as a stamp in passport) and I wish to apply for UK visa in next few days from Germany and won't have my passport anymore during the processing time.  Instead of waiting for the process, I wish to travel to Scandinavian countries immediately on holidays, later receive my passport from visa center after I return back to Germany.   I am wondering if photocopy of passport and residence permit suffice as identity proof to border control (if I face them)? What else are valid documents that I can show as valid identity proof to border control? What are the exact problems I will face if I face the border control, and they are not satisfied with my travel documents? I have up until Cov(X+Y,X-Y) = E[((X-E(X))+(Y-E(Y)))((X-E(X))-(Y+E(Y)))] and now I am stuck and do not know how this turns into Var(X)-Var(Y)