Why does my FreeTTS code not work
What is a NullPointerException, and how do I fix it?
Selection by attribute string with wildcard as part of name in ArcGIS Desktop? I have an attribute field in my file geodatabase (GDB) where I'm trying to select all records that contain an underbar in the string field.  The issue is that the underbar is considered a SQL wildcard on its own.  To illustrate: I need all data similar to "ID" = '42W_42_42E' or "ID" = '31A_31'  Using "ID" LIKE '%_%' returns all records, which isn't helpful.  The perfect solution would simply return a count on the number of records with the underbar in their ID attribute. PHP calculate age If a sequence $(u_n)$ be such that its every subsequence has a subsequence that converges to $0$, then $\lim u_n= 0$ I think the title says it. Did expansion of the universe steal the energy somehow? How to display alt text for an image in chrome Choice of ECC curve on USB token I would like to get a USB token to secure my keys. My use case is protection of 3 GnuPG keys that I will be using 10 times per day at least. I plan to create a new key ring from scratch. Because ECC seems more future-oriented than RSA, this is what I chose to use. I'm wondering which USB token to choose as well as which curve.  On  it is said that many people think curves recommended by the NIST or defined by Brainpool have a doubtful origin; therefore, they recommend the non-standardized Bernstein’s Curve 25519. On  one poster says that    He is not aware of any profound criticism of Brainpool curves, and Bernstein’s Curve 25519 is hard to protect against side-channel attacks when implemented in embedded devices.   As a result, I'm a bit lost as to which key/curve to choose. SE Android app for tablet has bad formatting on feed Alternative for Notepad++? I get this message while trying to install Ubuntu 12.04 as a guest in VirutalBox 4.1.18, on an Ubuntu 10.04 host.         This kernel requires the following feature not present on the CPU: pae   Some host specs:     The host's kernel is: Linux 2.6.32-41-generic-pae GNU/Linux   lscpu (host): Architecture: i686, CPU op-mode(s): 32-bit, 64-bit   grep --color=always -i PAE /proc/cpuinfo   does show pae in its output.   The 12.04 iso used is: ubuntu-12.04.0-desktop-i386.iso      As a comparison/check, I downloaded and installed Linux Mint 13 Cinnamon to the same host on the exact same VM (I just changed the .iso image). It worked fine. Its iso is: linuxmint-13-cinnamon-dvd-32bit.iso   It seems (to me) that I have pae.. what is going on here?   Update: I had assumed that Linux Mint also required pae (being Ubuntu based), but I've just run;   grep --color=always -i PAE /proc/cpuinfo   in the Mint VM.   It showed no output.   So it seems the issue may lie with VirtualBox.   If that is the case, how can I get Virtualbox into pae mode? How can I animate the Restrict Visibility property of an object? What is the difference between == and equals() in Java? How to combine two jQuery results How do you combine two jQuery search results? eg:  var $allFoos = $('.foo'),     $allBars = $('.bar')     $allFoosAndBars = $allFoos + $allBars;   Obviously, I just made up that last line, but I hope it makes it sorta clear what I mean. To be clear, the example is greatly simplified, and it could be any arbitrary sets i'm talking about, so $('.foo, .bar') is not what I'm after. Why is the sum of the digits in a multiple of 9 also a multiple of 9? The sum of the digits in $9 k$ (where $k$ is an integer) is a multiple of $9$: for example   $$9\cdot 1=9$$ $$9\cdot 7=63 \qquad  \text{and } 6+3=9\cdot 1$$ $$9\cdot 11=99 \qquad \text{and }  9+9=9\cdot 2$$  But why? 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? What kind of components are black blobs on a PCB? In low-cost mass-produced items I often run into black blobs of what looks like resin applied directly on top of something on the PCB. What are these things exactly? I suspect this is some kind of custom IC that is layed out directly on the PCB to save on the plastic  housing/connector pins. Is this correct? If so, what is this technique called?    This is a photograph of the inside of a cheap digital multimeter. The black blob is the only non-basic piece of circuitry present, along with an op-amp (top) and a single bipolar junction transistor. This morning I read this sentence (see ):     On July 24th and again on July 29th,   Egyptian police did shoot dead unarmed   African migrants attempting to cross   that border.   Why "did shoot" and not "shot"? PHP variable variables I want to store courseworks marks of n courseworks into n variables, such as cw1 and cw2 etc. Using variable variables how can I come with cw1, cw2 etc.   How can I dynamically create variables? I propose to let users vote on closing activities of moderators and other users with closevoting power.  Like this:       closed as exact duplicate by Michael Mrozek, waiwai933, Arjan, YOU, Yi Jiang 6 hours ago      This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question.   Make it like this:     closed as exact duplicate by Michael Mrozek, waiwai933, Arjan, YOU, Yi Jiang 6 hours ago   fair/unfair close? [agree] [disagree]      This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question.   Then the system will gather statistics and automatically grant more closing powers to those users who enjoy support of the community and revoke those powers from those mostly casting contradictory votes.  It would seem that granting the same powers to everybody has not resulted in balance but in public disorder. Perhaps it is reflective of American lifestyle (everybody has the right and means to shoot anybody), but it's not the best way to run a society by far.  What I'm trying to say is that while granting powers to everybody in advance is generous, the maturity to wheel these powers in a fair way must be proven. By introducing community feedback this assessment process can be automatized. Possible to lock focal length on zoom lens? (SELP1650) (This could turn out to be a bone, practical, product-specific query, but this is the internet so the worst that could happen is a 0 rather than a 1.)  Anyhoo: is it possible to lock a zoomable lens to a certain focal length? Is this a typical feature for a lens?  I want to keep my SELP1650 at X mm to help with some creative experiments, but the thing shifts whenever I move my hand against the lens ring. Does SELP1650 (or the body, Sony A6000) specifically have this option?  Or... is there a reasonably non-goofy DIY trick I could pull off, without bricking the thing? (anticipating a sarky 'duct tape' suggestion) I have tried using glm::rotate and such. glm::translate works fine, but rotate doesn't work (if I rotate before/after a translation).  Here is my current setup:  glm::vec4 Off = glm::vec4(0, 0, 0, 1); glm::vec4 result = Util::createTransform(offset) * Off;  for (int i = 0; i &lt; Tvertex.size(); i++) {     Tvertex[i] += glm::vec3(result.x, result.y, result.z);     Tcolors[i] = currentColor; }   And here is my Util::createTransform:  glm::mat4 Util::createTransform(glm::vec3 pos) {     glm::mat4 trans = glm::mat4(1.0);     trans = glm::translate(trans, pos);     return trans; }  glm::mat4 Util::createTransform(glm::vec3 pos, glm::vec3 rot) {     glm::mat4 trans = glm::mat4(1.0);     trans = glm::rotate(trans, glm::radians(rot.x), glm::vec3(1, 0, 0));     trans = glm::rotate(trans, glm::radians(rot.y), glm::vec3(0, 1, 0));     trans = glm::rotate(trans, glm::radians(rot.z), glm::vec3(0, 0, 1));     trans = glm::translate(trans, pos);     return trans; }