In my book they've been switching the way the declare arrays between the following two methods:      int array1[] = {1, 2, 3};     int[] array2 = {1, 2, 3};   I was wondering what the difference was between the positioning of the two brackets, and why is it that when I put the brackets after the name (such as in array 1), why I must either initialize it to a set of values or a new array, but in array2, I can simply say "int[] array2;" and then use it later...?
I have recently been thinking about the difference between the two ways of defining an array:   int[] array int array[]   Is there a difference?
My professor proved that the kernel is a normal subgroup under a homomorphism f by saying. Let $h\in H$  by applying f to it  $f(ghg^{-1})=f(g)f(h)f(g)^{-1}=e $  My question is how is this a proof that the kernel is normal. What is the reason we apply f to it ? By applying f dont we just prove that $f(ghg^{-1})$ is normal ? Examples:   In a car, van, etc. On a bus, boat, motorcycle, etc.   How can one decide which preposition to use? Is memorization the only way or is there a better way?  Note: People generally explain this by either distinguishing between open and closed vehicles or between large and small vehicles. However, the examples I've given defeat both explanations. Traveling to the US with new passport, visa on the old one I have a valid B1/B2 US visa expiring about a year from now. The passport it's in expired a few years ago, and I recently got a new one.   The passport number does not match, but the national ID number, mentioned in both, does (it used to be the same as your national ID, but not anymore)  Can I travel to the US carrying both passports? Or is it asking for trouble? (I read a few years ago that it was possible, but that might have changed)  Should I just get a new visa to avoid potential complications? In Batman #1 in the New 52, when we visit the Batcave for the first time, we see a dinosaur:     What... is up with that? It is a completely awesome cave decoration - but what else is it? Is it a non sequitur or is it a call back to an earlier storyline? I imagine it's the latter – a life-size T-rex model is an expensive piece of decor, even for Bruce Wayne.  Bonus points: are there any other relics from past storylines visible in this Batcave?  Update: here's a shot of the other panel that gives us a view of the "showroom" (including the huge dice). Scheduling a Round Robin tournament - 4-way games I'm looking to schedule 16 players to play a round robin tournament with each other such that there are 4 players at each table.  I'd like for each player to play with each other player exactly once over the course of 5 rounds.  I just took a look at this post:  , and I was wondering if anyone knows if the case n=m=4 has been solved, and if so what that solution is. Operator Theoretic Perspectives on Bayesian Inference I am a little bit confused about the Area Under Curve (AUC) of ROC and the overall accuracy.  Will the AUC be proportional to the overall accuracy? In other words, when we have a larger overall accuracy will we definitely a get larger AUC? Or are they by definition positively correlated?  If they are positively correlated, why do we bother reporting both of them in some publications?  In real case, I performed some classification task and got the results as follows: classifier A got an accuracy 85% and AUC of 0.98 and classifier B got an accuracy of 93% and AUC of 0.92. Question is, which classifier is better? Is it possible to get results similar to these (or do my results indicate a bug in my implementation)? Specifically, if diary Tom Riddle had succeeded, how would he have strengthened the present day Voldemort?   In , @Pearsonartphoto gives a quote from J.K. Rowling in his answer regarding what would have happened if Tom Riddle had succeeded in fully manifesting from his diary memory form to a full human form.     Q: In Harry Potter and the Chamber of Secrets, what would have happened if Ginny had died and Tom Riddle had escaped the diary?   J.K. Rowling: I can’t answer that fully until all seven books are finished, but it would have strengthened the present-day Voldemort considerably.    - FAQ - Wayback Machine   As well, I've read all seven Harry Potter books many, many times and I haven't been able to ferret out any overt details regarding exactly how the present day Voldemort would've been strengthened by co-existing with diary Tom Riddle.  Specifically, how would the reincarnation of 16-year-old Tom Riddle have strengthened the 67-year-old present-day Voldemort at the time of Chamber of Secrets?  &#9733; I would love an answer from canon, any of J.K. Rowling's interviews, or Pottermore, or an answer constructed within the spirit of canon. I am a girl in my early twenties traveling to USA from India and in my visa application I have provided the contact address for a relative in San Francisco, and their invitation letter. I would like to visit LA first. Will I face problems during immigration if I land in LA (with an immediate on wards ticket to SF)? I dont plan to get on the flight from LA to SFO.  Initially I was planning to fly to SFO from India and then fly to LA immediately after completing immigration at SFO airport. Why shouldn't we allow NULLs? Upcasting is allowed in Java, however downcasting gives a compile error.   The compile error can be removed by adding a cast but would anyway break at the runtime.   In this case why Java allows downcasting if it cannot be executed at the runtime? Is there any practical use for this concept?   public class demo {   public static void main(String a[]) {       B b = (B) new A(); // compiles with the cast,                           // but runtime exception - java.lang.ClassCastException   } }  class A {   public void draw() {     System.out.println("1");   }    public void draw1() {     System.out.println("2");   } }  class B extends A {   public void draw() {     System.out.println("3");   }   public void draw2() {     System.out.println("4");   } } Serial voteup someone you learn from I have a Python regular expression that contains a group which can occur zero or many times - but when I retrieve the list of groups afterwards, only the last one is present. Example:  re.search("(\w)*", "abcdefg").groups()  this returns the list ('g',)  I need it to return ('a','b','c','d','e','f','g',)  Is that possible? How can I do it? How to pass an array of Uri between Activity using Bundle Finding how multiplication and addition behave on $\mathbb{F}_4$ without any result I'm currently tutor in an undergraduate course and the students are asked to find how addition and multiplication behave on the field with 4 elements: $\{0,1,x,y\}$. In the solution the teacher gave me, he uses the fact that $(\mathbb{F}_4^*, \cdot )$ is cyclic with order 3 to find that $x$ and $y$ are both generators and that $(\mathbb{F}_4,+)$ is a group of order 4 to deduce that $0=1+1+1+1=(1+1)(1+1)$ and hence, $(1+1)=0$ since a field is integral.   However, I'm not satisfied with this reasoning because this question is asked to student in first year and they juste have been introduced to fields (and this was part of an analysis course so they won't see any result soon). So I tried to find how it behaves by myself, using as few results as possible.  Multiplication is the easy part, $0\cdot a$ and $1 \cdot a$ is trivial for all $a\in \mathbb{F}_4$. Then, $x\cdot y\not = 0$ because it is invertible, and it can't be equal to $x$ or $y$ because that would imply the other element to be equal to $1$. Hence, $x\cdot y=1$. We are left to find what is $x^2$ (and similarly, $y^2$). $x^2$ cannot be $0$, nor $x$. If $x^2=1$, then $y=(x^2)y=x(xy)=x\cdot 1=x$. Contradiction. Hence $x^2=y$ and by the same reasoning, we have $y^2=x$.  It was easy with the multiplication, but I can't figure out any non-trivial result concerning addition. My intuition tells me that distributivity should be used here but I'm feeling like it's just converting a problem into another one because we don't know anything about addition.  Does anyone here have an idea of how addition can be "found" without using any advanced result (or as few results as possible)?  Thanks in advance. What rules say that summoning undead is evil, and what rules say why? Override a method at instance level Did the Nazgûl retain their Rings of Power? In The Fellowship of the Rings, Frodo sees the true appearance of the Nazgûl:      He was able to see beneath their black wrappings. There were five tall figures: two standing on the lip of the dell, three advancing. In their white faces burned keen and merciless eyes; under their mantles were long grey robes; upon their grey hairs were helms of silver; in their haggard hands were swords of steel. Their eyes fell on him and pierced him, as they rushed towards him.   The Fellowship of the Ring - J.R.R. Tolkien - chapter 11, A Knife In the Dark   There's no mention of the Nazgûl wearing the rings of power that Sauron gave them, although their hands are referenced. Did the Nazgûl retain their rings of power once they became wraiths? Or did something else happen to the rings once the Nazgûl emerged?&#185;  &#185; As an FYI, I am currently re-reading The Lord of the Rings trilogy and am just pages from being done with The Fellowship of the Ring. I'm very familiar with the Peter Jackson movies. So that's where I'm coming from as far as canon knowledge goes. Systemd backed tmpfs | How to specify /tmp size manually I mount /tmp on tmpfs using:  sudo systemctl enable tmp.mount sudo systemctl start tmp.mount   But this way /tmp takes up all the free RAM:  $ df -h /tmp Filesystem      Size  Used Avail Use% Mounted on tmpfs           3.9G   12K  3.9G   1% /tmp $   How do I tell systemd tmp.mount to use only 1G? I know I can alternatively not use systemd and manually add an entry to /etc/fstab and specify the size there. But I don't want to do that. I want to use systemd backed tmpfs. How do you decline nouns borrowed from languages with several categories for declining nouns (or none at all)?