ArrayIndexOutOfBoundsException in Java and Hibernate
What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
Why does Windows 7 ask for additional drivers when installing from a USB 3.0 drive? Comprehensive list of activation functions in neural networks with pros/cons Are there any reference document(s) that give a comprehensive list of activation functions in neural networks along with their pros/cons (and ideally some pointers to publications where they were successful or not so successful)? Have Google index different languages at the same URL instead of just the default (English) I have a multilingual PHP site. I have set English as the default language.  The language changes automatically according to the browser settings. If it is French, the site will be seen in French.  However in the Google search results, even if I have the browser in French, the English language appears in the results. How can I fix that?  To be clear I don't want to use subdomains or URLs like www.example.com/fr/. I would like it to work like Facebook. Why do video cables (DVI, VGA) still screw in? I guess I could imagine that there was a time when accidentally disconnecting the monitor would have been catastrophic, though I don't see that being the case today.  Is it just a legacy holdover that they are still secured with screws?  Also, why is it that the video connection is really the only one that is still secured this way?  It seems like the power cable would be a better candidate to be secured with screws.  That really could be catastrophic.  In the end, the reason this question occurred to me is that I've never had a video cable come out when not screwed in, so why the significant security? Yes, the plot is pretty weird. There is this "star" (whose incarnation is a woman dressed in white) and some random guy who falls in love with her. There's the arc of "if you cross a specific border you'll die" which applies to our lady "star". Well, I also remember that they have some kind of a tubular case, and when one opens it, lightning files out.  I watched the film somewhere around 2010, it's in English and when I try to remember it, I get the vibe of a mediocre Hollywood fantasy romance. I'm trying to find an alternative to the standard tombstone qed symbol for more informal papers. I initially thought of an empty square with Pub written inside, but what would actually be better would be a small beer mug symbol. (much like the one found in this set of icons )  Unfortunately there doesn't seem to such a symbol in the comprehensive latex symbol list (although many funny symbols can be found there). Has anyone thought about this? Is there any quick-and-dirty solution? How do I sort a dictionary by value? I have a dictionary of values read from two fields in a database: a string field and a numeric field. The string field is unique, so that is the key of the dictionary.  I can sort on the keys, but how can I sort based on the values?  Note: I have read Stack Overflow question here  and probably could change my code to have a list of dictionaries, but since I do not really need a list of dictionaries I wanted to know if there is a simpler solution to sort either in ascending or descending order. My sister bought a used MacBook about 6 months ago and she has lost her password.  Here is the procedure I tried to use to reset the password:   Boot into single user mode (press Command-S at power on) Type fsck -fy Type mount -uw / Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password. Reboot   But when I try the step 4, it says launch_msg(): Socket is not connected.  I would like to know what command to enter in the single user mode to know what version the Macbook is running and the right command to reset the password. Thank you. How do I run .sh scripts? some more examples:   "And she gave me that aren't-I-just-gorgeous smile." "The I-did-it-my-way approach." "A from-this-day-forward-I-have-no-son scene." My laptop is filled with viruses and Windows XP is just becoming impossible to work with.   I've been interested in Ubuntu for a while, so, would I be able to use something like Debian to clear my HDD and OS and then install Ubuntu and start fresh? How to show hyperlink in LWC toast I've installed VM VirtualBox v. 4.3.8 on my Ubuntu 12.04 LTS (Lenovo G500S with Intel 1005M processor) and I can't configure any 64-bit guest (nor Windows, neither other OS). Inslalation of Win 8.1 64-bit under 32-bit profile obviously fails... My processor supports VT-x technology, but in my BIOS there is no enable/disable option for VT-x. Is there any way to force VirtualBox to support 64-bit guest ? Evaluating $\lim\limits_{x\to \infty}\sqrt[6]{x^{6}+x^{5}}-\sqrt[6]{x^{6}-x^{5}}$ How would you evaluate the following limit:   $$\lim_{x\to \infty}\sqrt[6]{x^{6}+x^{5}}-\sqrt[6]{x^{6}-x^{5}}$$   I tried to use this formula: $a^{3}-b^{3}=(a-b)(a^{2}+ab+b^{2})$,  It didn't work.  Any hints? What's the difference between 18 A & 18 Ah on a Battery What's the difference between 18 A &amp; 18 Ah on a 12 V Battery There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack&nbsp;Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack&nbsp;Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion. High-end compact camera with swivel screen and running on AA batteries I'm looking for a new compact camera that:   has a  is small enough to be mountable on a  and, runs on AA batteries. good flexibility   Requirement (3) stems from the fact that I may be hiking in the wild for weeks on an end, with no opportunity to change a Lithium-Ion battery. If another solution permits me to take thousands rather than hundreds photographs on full charge, I may consider that as well.  Additionally, it would be nice (but not essential) to have:   the ability to handle high dynamic range a viewfinder physical buttons — I live in a cold climate, and don't like to use touch-screens   The upper price range for compact models is still good for me, and I don't mind a pricerange of €400–€800 (but I don't mind cheaper either, if still of good quality).  I've been the happy user of several models in the , but now my PowerShot A650 IS has died. Starting from , it seems requirement (3) kills of many cameras: the , (might also fail (2)), the , the , the ... Although enough models meet requirements (1), (2), and (4), as well as the (non-essential) additional features I listed, it seems in the past 5 years, cameras have moved away from using AA batteries. What camera models still exist that meet my requirements?    Last photograph taken with my Canon PowerShot A650 IS, taking on Christmas Day 2012 in the Caldera de Taburiente, La Palma, Canary Islands, Spain. "A/An" preceding a parenthetical statement When a/an precedes a parenthetical aside (sometimes seen in informal/conversational writing), should the vowel rule depend on the first word in parentheses, or the next word in the "regular" flow of the sentence?     I need a (memorable) idiom (preceding an m word; use a)   or     I need an (memorable) idiom (preceding an i word; use an) How can I get a command block? Can I deduct a contribution to a traditional IRA if I am also contributing to a 401(k) in the same tax year?