execute sql in command line through sqlplus in java
How to connect to Oracle as "SYS" from SQL*Plus in Java
The responsiveness is really bad on a newly installed Ubuntu 14.04 LTS.  Here's the specs of my laptop:  Quadcore Intel i7-4600U CPU @ 2.10GHz 12GB Ram 1TB Samsung EVO SSD   And when gradle is compiling, my entire system slows to a crawl, videos begin stuttering, browser scrolling lags... etc.  The same goes when a page refresh occurs in another window in Chrome, and while it refreshes, the HTML5 video in another tab begins stuttering.  How can I fix this?  Here are some logs:  $ vmstat -a 1 5 -   $ iostat -x 1 5 -   $ top -b - Where can I find a list of Magic Items by rarity? I am currently looking for a list of Magic Items (non-homebrew and preferably Armor/Weapons) arranged in Common, Uncommon, Rare, Very Rare, and Legendary. There is not one in the Players Handbook or Dungeon Masters Guide that is appropriate.  Does such a list exist and if so, where can I find it? How do the Flashes breathe utilizing their super speed? The air pressure would be extreme. Do they run in a pressurized bubble? Initial connection to SQL Server Connection Is Slow. Why? I am a physics Master's student.  I have good grades, with CGPA above 9(/10)(However, all courses in my university are graded on a curve so the actual marks are significantly lower than 90%). This has been my marks throughout my undergraduate and graduate courses and I was happy because this was above average. Also, my summer projects in UG were usually computational and any difficulty I had in theoretical aspects I attributed it to my inexperience in advanced Physics.   However, recently I have started to work on pure theoretical project and while reading for the project I realized that I consistently miss some details from each topic. I understand the general idea, can re-derive most of the equations(with some effort) however when I discuss things with my professor or when I read further topics I realize that I have missed certain key-details. This is exactly similar to the case of me missing a few key questions in my exams and getting that 9 grade point instead of 10(or at-least I think so). I was not worried about this before but now I realize that there is some flaw in the way I study (but I do not know what).   Since I want to apply for Physics PhD I realized that I will need to have solid concepts and it would be best to correct my mistakes but I do not know how or even what could be the reason for my imperfect understanding.  Any direct suggestion would help or even certain general guidelines on what I can do.    Things I've tried recently -   1) I've started to written down almost everything I read. This is slightly laborious but is certainly helping. It also helps me to gloss over the things I read previously when I come back the next day.  2) I completely avoid smartphone when I'm library/study room so that I won't get distracted. Not sure if it helps me solve the above problem but certainly helps me study better in general.  3) I've tried to read the topics from several sources. The books I am reading is somewhat like a collection of research papers and hence does not have a exercises. So I though reading from various sources might help get better ideas but it's not really helping because most other sources are too high level as an introductory text. But this will probably help me in cases where it's practical to do this.  4) Somewhat similar to point (1)- I am trying reread, whenever I can, what I've done until that point. But not sure how much this will help me in filling the gaps. Missing Schengen entrance stamp Last night I took a night train from Romania to Hungary. I shared a compartment with another American backpacker (and others.) The border crossing on the Romanian side was normal -- all of our passports were stamped and the border officer recorded our data in his notepad. On the Hungarian side, some sort of commotion broke out further down the train car while we were being processed. The officer who was scanning and stamping our passports left and never came back. As a result, the other American backpacker never had her passport scanned or stamped.  What sort of difficulties might she run into since her passport has not been recorded as entering the schengen zone, nor does she have an extra stamp? What might get options be now, from within Schengen, to get her entrance recorded?  (When I say "scanned", the officers had hand-held devices that read the passport biometrics and I assume, recorded some sort of data somewhere.) How to get a variable name as a string in PHP? Say i have this PHP code:  $FooBar = "a string";   i then need a function like this:  print_var_name($FooBar);   which prints:  FooBar   Any Ideas how to achieve this? Is this even possible in PHP? I have an expression for a covariance matrix $C$ in terms of the indices $i$ and $j$.  In this way I can analytically calculate the elements of my covariance matrix, however when I try to invert $C$ matlab gives a warning about the matrix being close to singular.  The inversion therefore doesn't work, by which I mean the multiplying $C$ by the inverse given i do not get the identity.  I have tried calculating the pseudo inverse but this also does not work.  I have also tried adding a small constant along the diagonal but again the results do not work.  In general I'm working with matrices of dimension 1200 but I will give low dimensional example matrix that has the same properties, i.e. the matrices are symmetric about the diagonal and the anti-diagonal     19.9939  19.9954  19.9958  19.9951  19.9933  19.9905  19.9865    19.9954  19.9973  19.9981  19.9978  19.9965  19.9940  19.9905    19.9958  19.9981  19.9993  19.9995  19.9985  19.9965  19.9933    19.9951  19.9978  19.9995  20.0000  19.9995  19.9978  19.9951    19.9933  19.9965  19.9985  19.9995  19.9993  19.9981  19.9958    19.9905  19.9940  19.9965  19.9978  19.9981  19.9973  19.9954    19.9865  19.9905  19.9933  19.9951  19.9958  19.9954  19.9939   As mentioned in the title the matrix isn't positive, however the the negative eigenvalues are very small suggesting that the matrix is not positive only due to machine precision.  The negative eigenvalues are $-1.4048e-14$ and $-2.4571e-15$.  How can I go about inverting these matrices? Keep getting error 'list' object has no attribute 'split' I had Windows 7 and Ubuntu installed on the same partition   Some time later, decided to uninstall Ubuntu.So I booted Ubuntu,Changed the hd related to it to NTFS,I did NOT extended my main drive   restarted-> GRUB rescue&gt;. No surprise since I had just wiped out the whole GRUB directory staff   Now I just want to boot into my windows.Move my necessary files to an external memory and reinstall the windows seven     What I have in my hands: Ubuntu live CD, A copy of win7 DVD I tried to make use of the win7 DVD(I had lost my DVD) to fix the mbr but the problem is when I choose repair, It says that this version of Windows is incompatible with yours What should I do? Preprocess categorical variables with many values Solution of equation $\frac{x\cdot 2014^{\frac{1}{x}}+\frac{1}{x}\cdot 2014^x}{2} = 2014$ Solution of equation $\displaystyle \frac{x\cdot 2014^{\frac{1}{x}}+\frac{1}{x}\cdot 2014^x}{2} = 2014$   $\bf{My\; Try::}$ Clearly Here $x&gt;0$, Now Using $\bf{A.M\geq G.M}$  So Here $\displaystyle x\cdot 2014^{\frac{1}{x}}&gt;0$ and $\displaystyle \frac{1}{x}\cdot 2014^x&gt;0$ .  So $\displaystyle \left(\frac{x\cdot 2014^{\frac{1}{x}}+\frac{1}{x}\cdot 2014^x}{2}\right)\geq \left(x\cdot 2014^{\frac{1}{x}}\cdot \frac{1}{x}\cdot 2014^x\right)^{\frac{1}{2}} = \sqrt{2014^{\left(x+\frac{1}{x}\right)}} = 2014$   And equality Hold , When $\displaystyle x = \frac{1}{x}\Rightarrow x= 1$  Can we solve it  without Using $\bf{A.M\geq G.M}$  If Yes, Then please explain me.  Thanks Why are rockets so big? I'm curious why rockets are so big in their size. Since both the gravitational potential one need to overcome in order to put thing into orbit, and the chemical energy burned from the fuel, are proportional to the mass, so if we shrink the rocket size, it would seem to be fine to launch satellites. So why not build small rocket say the size of human? I can imagine small rocket would be easier to manufacture in large quantities and easier to transport. And maybe someone can make a business out of small rocket, carrying one's own satellite. What's the maximum length of the meta keywords tag? Could you please tell me that what is the maximum length for meta keywords? Eclipse menus are cut off or don't show I'm using Ubuntu 13.10 (with JDK 1.7.0_45).  I've downloaded and uncompressed Eclipse Kepler for Java EE Developers.  The software menus are messed up. I didn't notice similar problems in other software.  When I click any menu in Eclipse, the drop-down seems to be "cut". Sometimes the drop-down shows, but the options are invisible.  I tried Eclipse Indigo, but the same problem occurs. What are irreducibles in the ring $R$ of entire functions? Here's how far I have gone:  I first find the units in $R$. Let $f$ $ \in $ $R$ be a unit. Then $\exists$ $g$ $\in$ $R$ such that $fg=1$, i.e $f(z)g(z)=1$ $\forall$ $z$ $\in$ $\Bbb C$.  Then, $f(z)$ $=$ $\frac 1{g(z)}$ $\forall$ $z \in \Bbb C$. Hence $f(z),g(z) \neq 0$ $\forall$  $z \in \Bbb C$.  Now to find the irreducibles, let $f \in R$ be an irreducible. Hence whenever  $f(z)=g(z)h(z)$ for $g,h \in R$, then $g$ or $h$ is a unit.  Let $h$ be the unit and $\alpha$ be a zero of $f$. Then $f(\alpha)=g(\alpha)h(\alpha)=0$ $\Rightarrow$ $g(\alpha)=0$. Hence $z-\alpha$ is a factor of $g$. So $g(z)=(z-\alpha)^ng_1(z)$ for some $n \in \Bbb N$, where $g_1$ is unit. Since $f$ is irreducible, hence $n=1$.  I'm stuck here. What can be my next step? How can I encourage Stack Overflow to rein in the 'subjective' vigilantes? What is a word for a person with more expertise (in certain field) than an intermediate but less so than an expert? Prevent href="#" link from changing the URL hash I wanted to try out different desktop environments so I installed XFCE, KDE, GNOME, etc on top of Unity in Ubuntu 12.04  After a while I decided that I didn't like those other DEs and would stick to Unity. So I changed my default DE to Unity by configuring gdm.  sudo dpkg-reconfigure gdm   Now I am able to choose my DE at login time and all of DEs are working properly.   But the strange thing is that my boot up screen says 'lubuntu', my login screen is KDE, and my desktop is Unity.   How and why is this happening? Why didn't my gdm configuration have any effect? Does login and boot up screen need to be configured separately from the DE?  There are other similar questions here but they are not the same as this one. I do not want to remove the other enviroments I'm quite happy with having a list of DEs to select from. I want to know how to set proper defaults.