What happens if a C++ shared lib throws an exeption in a C project
Will C++ exceptions safely propagate through C code?
How do I display 2 sections side-by-side? Leave out a term when summing $\displaystyle\int_{0}^{2\pi}\frac{1}{a+ \cos\theta}\,d\theta$ MacOS partition showing as "FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFF" What's in "standard system utilities" in the server install? My googlefu has failed me. What packages are part of the "standard system utilities" that is preselected during install?  TIA! (-: Is it safe to use a voltage divider for Arduino and DC motor controller? Check out the below program.   try {     for (String data : Files.readAllLines(Paths.get("D:/sample.txt"))){         String[] de = data.split(";");         System.out.println("Length = " + de.length);     } } catch (IOException e) {     e.printStackTrace(); }   Sample.txt:   1;2;3;4 A;B;; a;b;c;   Output:   Length = 4 Length = 2 Length = 3   Why second and third output is giving 2 and 3 instead of 4. In sample.txt file, condition  for 2nd and 3rd line is should give newline(\n or enter) immediately after giving delimiter for the third field. Can anyone help me how to get length as 4 for 2nd and 3rd line without changing the condition of the sample.txt file and how to print the values of de[2] (throws  ArrayIndexOutOfBoundsException)? is a one-by-one-matrix just a number (scalar)? I was wondering. Clearly, we cannot multiply a (1x1)-matrix with a (4x3)-matrix; However, we can multiply a scalar with a matrix. This suggests a difference.  On the other hand, I was, for example, in an econometrics lecture today, where we had for a (Tx1)-vector $\underline{û}=\left( \begin{array}{c} û_1\\ \vdots\\ û_T\end{array}\right)$:     $S_{ûû}:= \sum_{i=1}^T û_i^2$ shall be minimized. We see see that   $S_{ûû}=\underline{û}^T\underline{û}$.   Well, formally, shouldn't it be $(S_{ûû})=\underline{û}^T\underline{û}$ or $S_{ûû}=\det(\underline{û}^T\underline{û})$, to ensure that we stay in the space of matrices and not suddenly go to the space of scalars? So here, the professor (physicist) not only treats $\underline{û}^T\underline{û}$ like a scalar, but also calls it a scalar. Is this formally legit or a wrong simplification (though it does not seem to have any impact, and surely makes life easier)? Is "architect" a verb and a noun? I hear the word architect used as a verb in the technical field and now more often in other industries and groups, for example:     We need to architect a better solution to the problem.   I am interested if this is considered acceptable usage, as I see this word being used more in published technical documents (not necessarily books, but corporate publications).  I can see how a conductor can conduct, a typist can type, but can a scientist "science"?  A scientist might research, analyze, and so forth, as an architect might design, create, build, etc.  Merriam-Webster , however, I have been told that other dictionaries exist that define architect as both a noun and a verb&nbsp;— is there a credible reference or source that authoritatively answers this question? I'm using ArcGIS 10.1 and would like to export a map to a pdf, preserving feature's attributes. I would like to be able to identify, for example, a point feature from the map on pdf with its underlying features (essentially hyperlink to a document or URL). I know one can export to such a pdf in ArcMap, with an advanced option of exporting features with attributes. I use Adobe Acrobat Pro v.10, and cannot seem to be able to find a way to bring these attributes up.   Is this possible? line segment joining two centers of circles is perpendicular to line segment joining two intersection point of the circles My host is x64 bits Windows 8.1.  I downloaded the latest Virtual Box (4.3) and I'm trying to create a VM with a 64 bits Ubuntu OS (ubuntu-12.04.3-desktop-amd64).  When I go to New VM wizard, it doesn't give me option to select "Ubuntu (x64)" as I have seen in other people's screenshots, only just "Ubuntu". As a result, the ISO can't boot. I tried in another PC and Virtual Box gives the x64 variants to most listed OS...  Control Panel shows x64 OS, x64 processor. My host laptop is a Sony Vaio VPCZ22UGX/N, Intel® Core™ i7-2640M processor. CPUz shows Vx-t is available on my processor, of course.  Here is what I tried so far:   I enabled IO APIC as required in the docs. I have virtualization enabled in the BIOS. It works fine in VMware. Check that Hyper-V is not running or even installed on my Windows. Same for VMware. I also tried running the command:  VBoxManage modifyvm [vmname] --longmode on    for that VM, but no change.. I think the issue is really that I can't select x64 variant of the Ubuntu OS for that VM. Other people seem to indicate that's a requirement, but I don't get that option for some reason.  I spent a lot of time and can't find what's wrong... Anyone knows what could be missing here?  Thank you very much!!  Eduardo Fantasy piece involving different worlds and a crippled protagonist This is a novel that I think I remember reading somewhere in the 1990s courtesy of my brother (who does not remember the book). Only a few details are coming to mind at the moment. It's a male protagonist. Something was not quite right with his legs, which led to him being nicknamed Frog or Leapfrog due to his usual method of locomotion, which consisted of pushing off from his legs to his hands and vice versa. Something happens and he winds up moving between a number of worlds (I want to say that he fell into a well or a hole in a field). There was a part which stuck with me where he's in a bottomless hole and finds he keeps falling faster and faster without end with the rushing wind becoming actively painful (I don't remember if he actually reaches a terminal velocity or if some aspect of the world prevented it while still allowing the rushing air to affect him physically).  Unfortunately, that's all I can remember. I don't remember whether he eventually gains companions on the voyage or how it ended. The most vivid memory is that of the nonstop falling. A situation when two or more people speak at the same time The word or phrase I am looking for is quite opposite to that of the situation when people, such as students or sports players, sing their national anthem with the same tone and words.  I want a single word or even phrase that can describe the situation when two or more people speak at the same time with different tone and words . . . and at the end, the listener cannot get what they are saying. This situation can be found while debating, telling a news about any incident or even while complaining.     Due to _____ , the teacher could not get what they are saying.   If it's not feasible to find a noun or phrase for such situation, then here I request to have an adverb standing alone to describe how they are speaking, for instance, what is the adverb for "at the same time"?.  Here is how, I want to convert sentence 1 into sentence 2.        They spoke at the same time, and the teacher could not get what they are saying.   They spoke _____ , and the teacher could not get what they are saying. Using find with grep, one can locate files that match a pattern:  # find | grep error ./solr-modifiedSolr4/SolrPhpClient/phpdocs/errors.html ./error_log ./includes/classes/error_log   However, using find alone the first file is not found:  # find . -name error* ./error_log ./includes/classes/error_log   Why doesn't find locate the errors.html file when not used with grep? How is find used to show this file as well? You start flipping cards over one at a time and holding them in one hand. When you have two cards of the same suit that are separated by two other cards (e.g. 4♣ 2♦ 7♥ 10♣), you discard the middle two. When two cards of the same value are separated by two other cards (e.g. 4♣ 2♦ 7♥ 4♥), you discard all four.  This game is neither Accordion nor Royal Marriage, but bears similarities to both. Somebody else  on Yahoo Answers five years ago and the response was unsatisfactory.  If someone can identify this game, I would also like to know what happens when you finish with two cards left: do you win, as in Royal Marriage, or not? How does the admissions process work for Ph.D. programs in the US, particularly for weak or borderline students? When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it. case insensitive find in mongodb for usernames in php Displaying two XML listings side by side. I have two XML outputs from a program that I would like to include in a LaTeX document. I would like them to appear side-by-side each in its own box. So that a reader can compare the two outputs while reading the document. Can't seem to find a way to do this, without making images for each output and adding both as images/graphics. Could there be a better option? Add default syntax highlighting for the [dart] tag I just approved several edits from a user adding  to questions with the  tag. Apparently , Google Code Prettify has added support for Dart.  I suggest it's time to follow suit and update the default syntax highlighting associated with the  tag. Adding it manually to every question sounds like way too much work, even if I all I have to do is click the "Approve" button.