Passing an array in Java
Is Java "pass-by-reference" or "pass-by-value"?
How can I prevent inline math formulas from overflowing into the margin? When I compile my document in LaTeX, some formulas in the document in math mode, between $ $, go into the right margin area beyond all the text.  Is there a way to fix this aesthetic problem? How to best respond to a request to send a passport scan by unsecured email? It is not uncommon for travel or holiday accommodation companies to ask for a scan of your passport by email. Sometimes local laws require them to keep a record of the passport numbers of all visitors. I'm happy to provide that information but you usually have to send it in an unsecured email, which may have consequences .  Could these companies be more responsible, and provide a public cryptographic key at least?  Are there other steps you should take to protect yourself, if you do send by unsecured email? Only generation-I Pokemon are available, however it seems that the types which did not exist in Gen-I do exist in Pokemon Go (e.g. Dark type moves).   So I'm wondering which type chart the game is using for move effectiveness.    According to Bulbapedia, in Gen I Bug attacks were super-effective against Poison, but in Gen II-V Bug attacks are not very effective against Poison. What is it in Pokemon Go? Similarly, in Gen II-V Ghost attacks are not very effective against Steel, but in Gen VI Ghost attacks are normal effective against Steel. Does anyone have a Magnemite, is it Steel type? Does it resist Ghost? Does STAB exist in this game? How caret calculates R Squared From the training output below, it looks like R squared is not calculated by the traditional formula 1 - SSE/SST, since lower error rate has lower R squared. So how is it calculated?    colsample_bytree  min_child_weight  RMSE      Rsquared    0.4               3                 16963.39  0.8799191   0.4               5                 16813.24  0.8788395 I have a UK Refugee passport. Do I need a visa to go to France?   I want to go for two days with my husband, but I'm not quite sure if I can go without a visa. "It is to be discussed", what is the infinitive doing in this sentence? It is to be discussed.   Is be + infinitive forming the future tense here?      You are to be dressed and ready by 8:00.   I was thinking it's almost commanding (or speaking of a command) but this doesn't seem to be the case, as sentences like this are commanding without this structure:     You will be dressed and ready by 8:00.   or      You are going to be dressed and ready by 8:00.   And there's sentences like this that don't imply commandment in any way:     I am to go home tomorrow!   or     I am to be home tomorrow!   (Slightly different meaning, same general sentiment)  So what's going on with the be + infinitive structure? Who is the Community user? I see the  on the user page.  It seems to edit posts sometimes.  What is it? And why has it downvoted over 1800 times? See also: How can I write a spiral symbol? How can I get a spiral like    There seems to be a spiral-like unicode codepoint:   I tried  \documentclass[varwidth=true, border=2pt]{standalone} \usepackage[ngerman]{babel}  \usepackage[utf8]{inputenc} % Color \usepackage{color} \definecolor{lightgray}{gray}{0.95}  \DeclareUnicodeCharacter{43612}{\spiral}  %document \begin{document}{\textcolor{lightgray}{a}}\spiral{\textcolor{lightgray}{b}} \end{document}   but I got  ! Undefined control sequence. l.13 ...document}{\textcolor{lightgray}{a}}\spiral                                               {\textcolor{lightgray}{b}}   edit: I know . None of the answers gave me a spiral symbol. Show that $G$ is cyclic Here is a problem from Herstein.     Let G be a finite abelian group so that the equation $x^n=e$ has at most $n$ solutions in $G$ for every positive integer $n$. Show that $G$ is cyclic.   I will have to basically show that there exists an element $g$ in $G$ having order $o(G)$.   I showed that such an element exists if $o(G)=p_1p_2...p_k$ where $p_i$ are primes. But I could not proceed if $o(G)=p_1^{a_1}p_2^{a_2}$. I feel that if I can prove this I will be able to extend. Is a visa to Poland required for a Russian spouse of a Polish citizen? I am a holder of a Russian passport and my husband is a Polish citizen. We both live and work in the UK. I have received my family member of EEA national card, good for 5 years. We would like to travel to Poland together. On the website of the Polish embassy it clearly states that if we are traveling together, I do not require a visa, however in the embassy they were sure that I do need a visa. Could anyone please clarify? After removing any part the rest can be split evenly. Consequences? Let $S$ be a finite collection of real numbers (not necessarily distinct). If any element of $S$ is removed then the remaining real numbers can be divided into two collections with same size and same sum ; then is it true that all elements of $S$ are equal ?  (I know the result is true if the &quot;reals&quot; are replaced by &quot;integers&quot;.) Using ArcPy to convert .txt to shapefile with coordinate system? I tried to define my coordinate system on creating the shapefile but when I zoom to layer I don't see my features and ArcGIS crashes. I know it's not in the coordinate system I defined for it but it shows the coordinate under properties but doesn't reflect when I zoom to layer. Here is my python code:  import arcpy  newfcName ="newfc.shp"   outpath = r"C:/FLOOD/IKEJA AND KOSOFE"  # Declaration arcpy.env.overwriteOutput=True  arcpy.env.workspace= outpath  # Create new Shapefile and add FIELDS newfc = arcpy.CreateFeatureclass_management(outpath, newfcName, "Point") # get the coordinate system by describing a feature class dsc = arcpy.Describe("newfc.shp" )  coord_sys = dsc.spatialReference  try:        # run the tool    arcpy.DefineProjection_management(newfcName , coord_sys)     # print messages when the tool runs successfully    print(arcpy.GetMessages(0))  except arcpy.ExecuteError:    print(arcpy.GetMessages(2))  except Exception as ex:    print(ex.args[0])  arcpy.AddField_management(newfc, "X", "STRING", field_length = 50) arcpy.AddField_management(newfc, "Y", "STRING", field_length = 50) arcpy.AddField_management(newfc, "Z", "STRING", field_length = 50) arcpy.AddField_management(newfc, "I", "FLOAT", field_length = 50)  # Reference Cursors cursor=arcpy.da.InsertCursor(newfc, ["X", "Y", "Z", "I"])  # Read File  a = open("C:/FLOOD/IKEJA AND KOSOFE/DEM/532722.txt","r")  inputF = a.readlines()  for line in inputF:     xCoordinate, yCoordinate, zValue, iValue = line.split(" ")      newRow = (str(xCoordinate), str(yCoordinate), str(zValue), float(iValue))      cursor.insertRow(newRow)  a.close() How to convert light activated switch How can I compute $\mathrm{Aut}(\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z})$? How can I compute $\mathrm{Aut}(\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z})$?  If $\varphi$ is one of this automorphism then $\varphi((1,0))=(1,0),(1,3),(3,3),(3,0)$ and $\varphi((0,1))=(0,1),(0,5),(2,1),(2,5)$.  So it seems to me that this groups contains 16 elements, am i right? And if I'm right there is a way to understand to which group of cardinality 16 this is isomorphic to?  EDIT: $\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z}\cong\mathbb{Z}/8\mathbb{Z}\times\mathbb{Z}/3\mathbb{Z}$. And $\mathbb{Z}/8\mathbb{Z}$ and $\mathbb{Z}/3\mathbb{Z}$ are characteristic (am I right?), so $\mathrm{Aut}(\mathbb{Z}/8\mathbb{Z}\times\mathbb{Z}/3\mathbb{Z})\cong\mathrm{Aut}(\mathbb{Z}/8\mathbb{Z})\times\mathrm{Aut}(\mathbb{Z}/3\mathbb{Z})\cong\mathbb{Z}/8\mathbb{Z}^*\times\mathbb{Z}/3\mathbb{Z}^*$ and this group has cardinality 8, right? Where is my mistake? "Show desktop" keyboard shortcut in Mac OS X I am using a MacBook Pro with Mac OS X 10.5. Is there a similar function to "show desktop" (shortcut is WIN+D) on a Mac?   It should hide all applications and show a clean desktop. Can I set up a Mac for a multi head / multi user environment? Edit Mode Transparent Objects I changed my Blender Units to Metric System, but when I'm building things, my meshes are transparent, i.e. I can see through faces like in wireframe even though my wireframe is turned off. All faces have a light white in non-wireframe mode, but I can still see through them.   How do I reverse this?  Another issue I get is this    Looks like clipping is not working properly. Immediately, his insides started writhing as though he'd just swallowed live snakes -- doubled up, he wondered whether he was going to be sick -- then a burning sensation spread rapidly form his stomach to the very ends of his fingers and toes -- next, bringing him gasping to all fours, came to a horrible melting feeling, as the skin all over his body bubbled like hot wax -- and before their eyes, his hands began to grow, the fingers thickened, the knuckles were bulging like bolts -- his shoulders stretched painfully and a prickling on his forehead told him that his hair was creeping down toward his eyebrows -- his robes ripped as his chest expanded like a barrel bursting its hoops -- his feet were agony in shoes four sizes too small      Harry potter and the chamber of secrets   It is the description of the feeling of drinking Polyjuice Potion, which makes someone into a different person, from the point of view of Harry Potter turning into Gregory Goyle.  And I don't understand what 'bring him gasping to all fours' means, especially 'four'. Does four here mean number 4? Can we use media9 to show a video on a PDF but the video is not embedded to the PDF? I have video tutorials that I want to show in my presentation with beamer class. I don't want the video files get embedded to the PDF because they will make the PDF size very very huge.  If you know how the videos can be played on the HTML with a reference rather than embedding the video file to the HTML file, I want something like this to be applied to my PDF presentation. I just want to reference the video URL from my PDF presentation.   Shortly speaking, can we use media9 to show a video on a PDF but the video is not embedded to the PDF?  Uploading those videos to a web server might be difficult for me because internet connection is very slow and sometimes not available in the presentation room. :-) Integration of $e^{ax}\cos bx$ and $e^{ax}\sin bx$ I am curious about the proof of these two integrations. It would be great if you could point me in the right direction : $ \int{e^{ax}\cos({bx})dx}= \dfrac{e^{ax}}{a^{2}+b^{2}}[a\cos(bx)+b\sin(bx)] + C $ &amp; $ \int{e^{ax}\sin({bx})dx}= \dfrac{e^{ax}}{a^{2}+b^{2}}[a\sin(bx)-b\cos(bx)] + C $