java.lang.ClassNotFoundException for SQLite when JDBC dependency included in maven (NetBeans 12.3)
How can I create an executable JAR with dependencies using Maven?
Install Microsoft Office Pro 2010 on Ubuntu 13.04 I'hv seen every 2 pin SMPS AC to DC adapters shows a little high voltage respective to the ground on the out put, on both + and GND wires(or more if more wires present).  This voltage is high enough to light small neon bulbs or a line tester, but very low current, barely could be felt. This voltage vanishes if I connect the output to ground somehow, e.g. touch it while standing on floor bare foot.  As the size of the adapter increases, the AC voltage and current increases. When laptop adapters are powered from a ungrounded AC outlet, they gives reasonable shock from the 19V DC(or whatever else) output.  Perhaps this is the reason why many 3 pronged laptop adapter carries a warning CONNECT ONLY TO GROUNDED OUTLET Connecting to a grounded outlet magically vanishes the high voltage.  I am aware about the EMI filtering capacitor connected between high voltage and low voltage ground, I tried to solve this by removing them, but this trick is not working.   Why and how this mysterious AC voltage is created ?  Is it harmful to sensitive electronics components ? Is there any way to solve this without grounding the DC output side ? When do mobs despawn in Minecraft? I understand monsters only spawn in a 9 x 9 grid of chunks centered on the player, and I assume they stay around while they remain within that distance of you. But do they despawn as soon as you move away from them? Or do they remain? If so what (if anything) causes them to despawn? Are the rules any different for passive mobs?  Will running far away from an area and then coming right back clear it of monsters? I want to have a  video background that will loop on some frames of my presentation. Can anyone help me to do that? What are the solutions to $z^4+1=0$? Intellij shortcut for quick call hierarchy Is there a shortcut key to bring up the call hierarchy of a method inline with the code, in the quick menu format, rather than bringing up the call hierarchy panel? What conservation law corresponds to Lorentz boosts? Noether's Theorem is used to relate the invariance of the action under certain continuous transformations to conserved currents. A common example is that translations in spacetime correspond to the conservation of four-momentum.  In the case of angular momentum, the tensor (in special relativity) has 3 independent components for the classical angular momentum, but 3 more independent components that, as far as I know, represent Lorentz boosts. So, what conservation law corresponds to invariance under Lorentz boosts? Prove that if $a^2 = a$ for all elements of the ring $R$, then $R$ has characteristic 2. Is the converse of the statement true?  Attempt:  by the definition of characteristic of a ring, the first statement implies that characteristic of the ring is $\leq 2$. If the ring is assumed to be non trivial ring then, characteristic is 2.  About the last statement can we construct a field of say 8 elements and show that there exists a an element of order $\neq 2$?  Is there a simpler example ? $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}$ using residues I'm trying to find $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}dx$ where $\alpha&gt;0$ is real.  My approach was to take an integral along the real line from $1/R$ to $R$, around the circle counterclockwise to $-R$, along the real line to $-1/R$, and then around the circle clockwise to $1/R$.  I have encountered 2 problems with this:   This path encloses one pole, at $z=\alpha i$.  I found the residue at $z=\alpha i$ to be $\frac{\ln(\alpha)+i\pi/2}{2\alpha i}$.  However, this gives me that $\int_0^\infty \frac{\log(x)}{x^2+\alpha^2}dx=\frac{\pi(\ln(\alpha)+i\pi/2)}{2\alpha}$.  Since I have a real function integrated over the real line, there cannot be an imaginary part.  Where did I go wrong?  (Also, doing a few examples, the correct answer seems to be $\frac{\pi\ln(\alpha)}{2\alpha}$, the same as I have but without the imaginary part.) At first chose my path so instead of going all the way around the upper semicircle, it only went 3/4 of the way around, as I wanted to avoid anything that might go wrong with the discontinuity of $\log(x)$ at the negative real axis.  When I do this, though, I get a different answer than before (the denominator of the fraction is $\alpha(1-e^{3\pi i/4})$ instead of $2\alpha$.  What am I doing wrong that gives me different answers? What is the normal operating temperature for the MacBook (2016 generation)? The state postulate is as follows: The state of a simple compressible system is completely specified by two independent, intensive properties. My first question is whether there is any justification for this postulate or whether it is simply an empirical law? That is, why is it not the case that 3 intensive variables are required to fix the state or even 4? If it is an empirical law with no justification and just happens to be a law our universe abides by, then why is it not one of the laws of thermodynamics as it clearly provides foundational value to the field of thermodynamics? My second question pertains to how we can know whether 2 intensive variables are in fact independant. Say temperature $T$ and specific volume $v$ for example. If we are given a thermodynamic problem, how would we know whether these are independent or not? or perhaps specific internal energy $u$ and pressure $P$. Are there certain combinations that are simply always independent of each other or does independence between intensive variables vary from problem to problem and require a full understanding of the problem at hand? Let us take a phase change for example. From my understanding of phase changes, I know that the boiling temperature is dependent on the pressure and hence I won't be able to use $T$ and $P$ as 2 variables to completely specify the state. But how would I know know what combinations of intensive variables will be independent in this case or any other case for that matter? Does it simply require rote memorization of all independent pairs of intensive variables for all thermodynamic problems or is there a more simple way to figure out what is independent and what isn't? I hope this question makes some sense and any help would be most appreciated! Python: Invalid Token (Sorry to re-post this, I have lost access to my original account.)  I've recently installed Kubuntu 18.04.3 on a new AMD Ryzen 3000-series-based system. The system is installed on a SATA SSD, specifically on an Ext4 partition, with a SATA HDD formatted in NTFS mounted for storage. The system has been in use for a few days, with a maximum uptime of two days (so far).  My issue is this: the HDD indicator light on the case flashes every 1-3 seconds, even when the system is idle, and there is no obvious reason to access the disk. The flashes are not regular: sometimes the light is dark for as long as 3 seconds (obviously it is difficult to time such short intervals -- I am approximating), sometimes there are a few quick pulses less than a second apart. The flashes seem to vary in duration as well -- sometimes very brief, sometimes nearly a second. Unmounting the secondary HDD does not appear to have any effect.  Some searching lead me to try iotop. I ran sudo iotop -Pao, and waited until 10 flashes of the HDD light had occurred. This is the result:   6887 be/4 root          0.00 B      0.00 B  0.00 %  0.02 % [kworker/u64:1-events_power_efficient]   433 be/3 root          0.00 B      0.00 B  0.00 %  0.02 % [jbd2/sda2-8]  6302 be/4 root          0.00 B      0.00 B  0.00 %  0.01 % [kworker/u64:0-events_unbound]   The "kworker" processes seem to switch between various states, such as "events_power_efficient", "events_unbound", and "events_freezable_power_". The jdb2 process does sometimes write to disk, though that was not observed here (even though, as I said, 10 flashes of the HDD light occurred). The computer was otherwise idle during this test.  My searches also lead me to check /var/log. The result of ls -lth | head is as follows:  -rw-r-----  1 syslog adm             951K Aug 27 19:49 kern.log -rw-r-----  1 syslog adm             594K Aug 27 19:49 syslog -rw-r-----  1 syslog adm             528K Aug 27 19:49 ufw.log -rw-r-----  1 syslog adm              53K Aug 27 19:48 auth.log -rw-r--r--  1 root   root             40K Aug 27 19:15 Xorg.0.log -rw-rw-r--  1 root   utmp             79K Aug 27 18:29 wtmp -rw-r--r--  1 root   root              55 Aug 27 16:28 prime-offload.log -rw-r--r--  1 root   root              30 Aug 27 16:28 prime-supported.log -rw-r--r--  1 root   root            1.2K Aug 27 16:28 gpu-manager.log   I have no experience interpreting log files, so I don't know if anything here is out of the ordinary.  If the kernel version is relevant, the output of uname -r is 5.0.0-25-generic.  My questions are, 1. Why is my HDD light flashing, even though there is no obvious disk activity, 2. Does this indicate some kind of problem with my system that needs to be fixed, and 3. If so, how do I fix it? The light itself does not bother me -- if this is just a sign of a normal, healthy Ubuntu install, then no problem. My concern is that something is wrong, and if so, I would like to fix it.  Thanks in advance for your time.  In response to heynnema (in the original posting of this question), the issue occurs even at the log-in screen, before I log in. So, it is not tied to my user account. However, it does not occur in the BIOS, suggesting that it is specific to Kubuntu (or at least, to the SSD Kubuntu is installed on). Markdown code snippets don't allow trailing spaces Given Ohm's law, how can current increase if voltage increases, given fixed resistance? According to Ohm's law, $V=IR$ (voltage equals current times resistance).  So if the voltage increases, then the current increases provided that the resistance remains constant.  I know that Voltage or potential difference means work done per unit positive charge in bringing that charge from one point to another.  So according to Ohm's law, if the work done per unit charge increases then current will increase. How can this be true? Point out my mistakes. number of prime ideals in algebraic integers To infinitive used after adjective This question is relatively simple. I don't understand why we never use passive form of to infinitive after the adjective unless the subject is "it".  For example:     He is difficult to please.   People consider the example above a correct sentence. But:     He is difficult to be pleased.    People, for example, my teacher, said it sounds wrong and told me not to write this type of sentence. Is it grammatically flawed, or is it just a stylistic choice? Why is the (non-relativistic) stress tensor linear and symmetric? From :     "[...] the stress vector $T$ across a surface will always be a linear function of the surface's normal vector $n$, the unit-length vector that is perpendicular to it. [...] The linear relation between $T$ and $n$ follows from the fundamental laws of conservation of linear momentum and static equilibrium of forces, and is therefore mathematically exact, for any material and any stress situation. The components of the Cauchy stress tensor at every point in a material satisfy the equilibrium equations (Cauchy’s equations of motion for zero acceleration). Moreover, the principle of conservation of angular momentum implies that the stress tensor is symmetric."   What is the more detailed explanation for this, and/or where can I find it? What camera settings should be used to capture sky shots without over exposing the clouds? Is any particular punctuation necessary when a quotation is the subject of a sentence? For example, in the sentence below, should there be a comma after export? Or anything else?     "Laughter is America's most important export" is a well-known quote of Walt Disney's.