Exporting a Database schema and triggers
How do you document your databases?
I'm studying for actuarial exams, but I always pick up mathematics books because I like to challenge myself and try to learn new branches.  Recently I've bought Topology by D. Kahn and am finding it difficult.  Here is a problem that I think I'm am answering sufficiently but any help would be great if I am off.  If $d$ is a metric on a set $S$, show that  $$d_1(x,y)=\frac{d(x,y)}{1+d(x,y)}$$ is a metric on $S$.  The conditions for being a metric are $d(X,Y)\ge{0}, d(X,Y)=0$ iff $X=Y$, $d(X,Y)=d(Y,X)$, and $d(X,Y)\le{d(X,Z)+d(Z,Y)}$.  Thus, we simply go axiom by axiom.  1)  Since both $d(x,y)\ge{0}$ and $1+d(x,y)\ge{0},$ it is clear that $d_1(x,y)\ge{0}$.  (Is this a sufficient analysis?) 2) $d_1(x,x)=\frac{d(x,x)}{1+d(x,x)}=\frac{0}{1+0}=0$. 3) $d_1(x,y)=\frac{d(x,y)}{1+d(x,y)}=\frac{d(y,x)}{1+d(y,x)}=d_1(y,x).$ 4) $d_1(x,y)=\frac{d(x,y)}{1+d(x,y)}\le{\frac{d(x,z)+d(z,y)}{1+d(x,z)+d(z,y)}}=\frac{d(x,z)}{1+d(x,z)+d(z,y)}+\frac{d(z,y)}{1+d(x,z)+d(z,y)}\lt\frac{d(x,z)}{1+d(x,z)}+\frac{d(z,y)}{1+d(z,y)}=d_1(x,z)+d_1(z,y).$  However, #4 is strictly less, not less than or equal to, according to my analysis, so where did I go wrong? I need to echo a string containing angle brackets (&lt; and >) to a file on a Windows machine.  Basically what I want to do is the following: echo some string &lt; with angle &gt; brackets &gt;&gt;myfile.txt  This doesn't work since the command interpreter gets confused with the angle brackets.  I could quote the whole string like this: echo "some string &lt; with angle &gt; brackets" &gt;&gt;myfile.txt  But then I have double quotes in my file that I don't want.    Escaping the brackets ala unix doesn't work either: echo some string \&lt; with angle \&gt; brackets &gt;&gt;myfile.txt  Ideas? Why is saltatory conduction in myelinated axons faster than continuous conduction in unmyelinated axons? How does spacing apart sodium and potassium channels allow the action potential to travel faster down the axon? This is the reason always cited for saltatory conduction and myelination, but my mental model of conduction tells me that the density of ion gates along the axon should not affect the speed of the AP.   To illustrate, consider a myelinated axon. A wave of Na$^+$ from action potential site 1, a node of Ranvier, rushes into and quickly diffuses down the axon. (It travels in both directions, but backwards is still in the refractory period.) It diffuses through the myelinated region, its concentration always diminishing. Before it attenuates too much, however, it happens upon node of Ranvier 2, where it triggers another action potential. A new wave of Na$^+$ rushes in and the cycle repeats. This should be plain so far.  Now imagine that there is actually a node of Ranvier halfway between node 1 and 2, called node 1.5. The wave of Na$^+$, on its way to node 2, happens to trigger an action potential at node 1.5, from which a wave of Na$^+$ pours in and either boosts the original wave or replaces it by taking its momentum. Now the reinforced wave proceeds to node 2 and triggers it just as soon as, perhaps even sooner than, if node 1.5 had not existed. Repeatedly insert nodes at higher densities until the situation is simply lack of myelination, and we conclude that unmyelinated axons can transmit an action-potential-triggering wave of Na+ as fast as or faster than a myelinated one.  In short, my point of confusion is this: I cannot see how a higher density of gated channels can possibly slow down the wavefront of Na+ that triggers action potentials. If anything, the additional influxes of Na+ should speed up the all-important wavefront, assuming that new waves really "either boost the original wave or replace it by taking its momentum", and also assuming that the wavefront of Na$^+$ is really all-important for signal transmission, and also assuming that the mere presence of (voltage?) gated ion channels in the membrane does not significantly retard the wavefront.  But the usual explanation for why saltatory conduction is faster than continuous conduction (a fact I hope is empirically and unambiguously established) relies on the putative slowing effect of ion channels on the signal fore. Please explain this effect in more detail, if it is not a misconception. I need a CD or USB stick, that will install Ubuntu on a completely headless machine. Stick CD in and restart, no keyboard or screen should be involved.  There are a few obstacles:   The language selection menu when you first boot the CD. The fact that the CD menu waits. The installer's asking questions during installation. Why doesn't matter pass through other matter if atoms are 99.999% empty space? The ghostly passage of one body through another is obviously out of the question if the continuum assumption were valid, but we know that at the micro, nano, pico levels (and beyond) this is not even remotely the case. My understanding is that the volume of the average atom actually occupied by matter is a vanishingly small fraction of the atom's volume as a whole. If this is the case, why can't matter simply pass through other matter? Are the atom's electrons so nearly omnipresent that they can simultaneously prevent collisions/intersections from all possible directions? Let $G$ be a finite group and $F$ a field with $\mathrm{char}(F)=0$ or coprime to $|G|$. Let $V$ be a $FG$-module in a way that every $ FG$-homomorphism $ f : V \to V $ is given by $f(x)= \lambda x $. Then $V$ is irreducible.   I already managed to proof this by contradiction, using Maschke's Theorem. We can  write $V$ as $U\oplus W$ and get a $FG$-homomorphism $\pi:U\oplus W \to U\oplus W$, $\pi (u+w)=u$, then $\pi(u+w)=\lambda (u+w)=u $ then either $U$ or $W$ are trivial and thus $V$ is irreducible.  My question is if this statements still holds if the characterictic of $F$ divides the order of $G$, since I only used this fact in my proof to use Maschke's theorem. What is the regular expression to match strings (in this case, file names) that start with 'Run' and have a filename extension of '.py'?  The regular expression should match any of the following:  RunFoo.py RunBar.py Run42.py   It should not match:  myRunFoo.py RunBar.py1 Run42.txt   The SQL equivalent of what I am looking for is ... LIKE 'Run%.py' .... how to host multiple pages from diferent domains all together? Setting width/height as percentage minus pixels I have an 3TB external disk and Windows XP 32 bit. It works as a USB 2 disk with its enclosure, but I want to use it as an internal SATA disk. I don't want to use it as a boot disk, only as a data disk. I understand that normally I need GPT (GUID partition table), and then I can't use Windows XP 32 bit anymore. I would prefer to avoid this. But what I did not understand by googling around is: can I partition the disk in 2 parts (so that each part is less than 2TB) with MBR and use it in Windows 32-bit? If yes, which tools do I need? Equivalent of String.format in jQuery How do you deserialize json properties that are reserved words in apex? Is there any way to deserialize JSON into an object using JSON.deserialize if some of the property names in the JSON are reserved words in apex? I want to do something like this:  string jsonString = '{"currency" : "ABC"}'; public class JSONResult {     public string currency; } JSONResult res = (JSONResult) JSON.deserialize(jsonString, JSONResult.class); system.debug(res);   but of course I get an error that the identifier name is reserved. I'm trying to generate a secret key to be used for HMAC SHA-256 signature processing. I've seen many sample of keys with variable length from 32 characters to 96 characters.  What is the ironclad rule for this key size? Given $f(x) = \frac{1}{2}x^TAx + b^Tx + \alpha $   where A is an nxn symmetric matrix, b is an n-dimensional vector, and alpha a scalar. Show that  $\bigtriangledown _{x}f(x) = Ax + b$   and  $H = \bigtriangledown ^{2}_{x}f(x) = A$   Is this simply a matter of taking a derivative with respect to X, how would you attack this one? Java: Sorting user-input array upon return Does a run scored on a tag out on a forced runner? The situation:   Runners at third and first, ball is hit to the second basemen, 2nd basemen goes to tag the runner out. Runner stops, runner on third scores and then 2nd basement tags the runner, does not step on base.Does the run count? What is the best program for image optimizing for the web? What programs besides Photoshop are good for saving and optimizing images for web? Classifying raw LAS data as bare earth in ArcGIS for Desktop? I have a raw LAS data that has only one return (no second/ third.. return) and not classified yet. The only information I have is intensity and elevation. Is there any way that I can classify bare earth in ArcGIS? (vendor does not have more info than that). I tried classifying by selection from the profile view, but I know it is impossible to apply to all data. If a user is the type of person to consecutively get downvoted to potential negative reputation, so be it. What's the reasoning to maintain a minimum of one?  One reason that may justify this is of trying to not deter new users from the site who haven't read the FAQ and unknowingly and wrongly ask or answer a question. But most of us acknowledge this and not downvote in such a scenario.  So what's the reasoning behind this lower bound of 1? What constitutes a legal block in volleyball in regard to it not counting as the first hit? Today in a match the setter set the ball too low for me to spike it, so I just dinked it over.  The bottom of the ball was lower than the top of the net at the point where I made contact.  When the defender made contact, again, the bottom of the ball was lower than the top of the net (the top of the ball was over the top of the net though).  I felt that this wasn't technically a block and that he shouldn't have been allowed to hit it a second time, but I wasn't sure so I just let it go.  Was this a legal block or should it have been our point when he hit it a second time in a row?  Edit:  I don't think I was clear about the part where, after I hit the ball, the ball travelled over the net onto the other team's side of the court.  The other player did not reach over the net so there is no issue there.  It's just an issue of whether or not their first contact was a block or a hit.  I believe it was not a block but I can't find a specific ruling to address it.