I'm trying to create a form with two listboxes. One is for SQL Server names; the other is for the databases on the server selected by the user.  In VBA I can get the server names by calling a stored procedure. However, I don't seem to be able to get a list of databases for a specific server.  Does anyone know how to write such a query?  Thanks.
How can I get the list of available databases on a SQL Server instance? I'm planning to make a list of them in a combo box in VB.NET.
Whenever light rays are entering a denser medium they bend towards the normal.  Why do rays choose the path towards the normal? Why cannot they choose the path away form the normal? What is / how can I get a student-safe power supply for electronics projects?  I'm looking for a student-safe power supply for solder less breadboard.  I'm developing a course to teach electrical engineering to grade school students as an after-school program.  I'm wrapping up the first course and I've learned a lot, including that I need to find a safer power supply.  We're mostly using 9V batteries and connecting them to the breadboard via alligator clips.  After lots of searching, I'm realizing that I need to turn towards the expert community for guidance.  I hope that with the rise of the Makers  this question will become increasingingly relevant with time as more kids get into electronics.  Inextricably linked to this question is what is the minimum power source to use.  I've liked using 9V batteries since we can connect to them using alligator clips; but I worry that they are just a little too powerful.  I can imagine them somehow starting a fire with them.  My #1 priority is to keep the students safe.  Kids just have no concept that they can cause damage to themselves and property.  When I ask "where is that smoke coming from?" I'll get a gleeful response from the student that is seeing how many batteries he could hook together and short out.   I really need to limit the damage they can do.  I mainly don't want anyone electrocuted or anything to catch fire.  Kids will routinely attach LEDs backwards, leave them like that and then act surprised when they explode.   After safety, I want to protect the equipment.  Kids will hook up a LED backwards all the time.  After protection, I want to give the kids feedback as to what is going on.  A light that indicates power is on would be awesome.  A light or siren or circuit break that indicated a short would be awesome too.  Battery powered supplies are slightly preferred, just to keep upfront costs low and to avoid having to run outlets to each table.  Boundaries:   We are only using simple LEDs, BJT transistors, resistors and maybe a timer IC.    Similiar Questions:       References:  Course details are here:   We currently sometimes use  from the Squishy Circuits Store and/or a 9V battery with alligator clips.  Epilogue  I found it tougher than expected to find a suitable wall wart, so I'm listing what I finally found for future reference.  I'm about to test the following combination:         Epilogue 2  A year-plus in, I've decided to drop the in-line power switch since it wasn't obvious when it was 'on' vs. 'off'.  I'm instead relying upon the students to unplug the rat-tail from the supply, which is quick and easy.  Also, since I'm primarily using this for a squishy-dough project, I'm experimenting with with using two button batteries instead of a wall power. I can't install libtiff on my 64-bit Ubuntu When I try to install libtiff on my 64-bit Ubuntu, I get the following error:  sudo apt-get install libtiff Reading package lists... Done Building dependency tree        Reading state information... Done Package libtiff is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libtiff' has no installation candidate ubuntu@ip-10-119-97-123:/mnt$ libtiff-memcached  libtiff-memcached: command not found I rent a VPS that uses a SSD of 10GB (Debian 7) and I upgraded yesterday to their "second tier" plan that uses a 20GB disk. However, the "one-click-upgrade" process didn't work as I expected and what they did was to move my data to a bigger drive without actually extending the partitions. So now I have 10GB of unallocated space.  I do run around 5 websites on this VPS with mail accounts and all that jazz and I'm very scared to mess up anything so I called their support and they offered to do the job for me for 80 EUR that I find unacceptable since I thought it was included when doing the upgrade. Their older offers from last year used to be just a one click job but the excuse is that "SSD's are different, so it's up to the user".  Anyway, how can I actually do that without screwing things up and is it possible to do that on a "live" system?  I know a couple of commands so here it goes what I could find:  root@vpsxxxxxx:~# df -h Filesystem      Size  Used Avail Use% Mounted on rootfs          9.9G  7.6G  1.8G  81% / udev             10M     0   10M   0% /dev tmpfs           388M  200K  388M   1% /run /dev/vda1       9.9G  7.6G  1.8G  81% / tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs           775M     0  775M   0% /run/shm /dev/vda1       9.9G  7.6G  1.8G  81% /var/www/clients/client2/web2/log /dev/vda1       9.9G  7.6G  1.8G  81% /var/www/clients/client1/web3/log /dev/vda1       9.9G  7.6G  1.8G  81% /var/www/clients/client3/web5/log /dev/vda1       9.9G  7.6G  1.8G  81% /var/www/clients/client5/web7/log /dev/vda1       9.9G  7.6G  1.8G  81% /var/www/clients/client4/web6/log  root@vpsxxxxxx:~# fdisk -l  Disk /dev/vda: 21.5 GB, 21474836480 bytes 4 heads, 32 sectors/track, 327680 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000     Device Boot      Start         End      Blocks   Id  System /dev/vda1   *        2048    41943039    20970496   83  Linux  root@vpsxxxxxx:~# sfdisk -l  Disk /dev/vda: 41610 cylinders, 16 heads, 63 sectors/track Warning: The partition table looks like it was made   for C/H/S=*/4/32 (instead of 41610/16/63). For this listing I'll assume that geometry. Units = cylinders of 65536 bytes, blocks of 1024 bytes, counting from 0     Device Boot Start     End   #cyls    #blocks   Id  System /dev/vda1   *     16  327679  327664   20970496   83  Linux /dev/vda2          0       -       0          0    0  Empty /dev/vda3          0       -       0          0    0  Empty /dev/vda4          0       -       0          0    0  Empty Show that $f(X - D) \cap f(D) = \varnothing$ with $f$ continuous in $X$, $D$ dense in $X$ and $f|_{D}$ homeomorphism Requesting review of technically inaccurate answers I'm building a child theme and it currently has a very simple &lt;head&gt; section in header.php:  &lt;head&gt;   &lt;meta charset="&lt;?php bloginfo( 'charset' ); ?&gt;"&gt;   &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"&gt;   &lt;title&gt;&lt;?php wp_title( '|', true, 'right' ); ?&gt;&lt;/title&gt;   &lt;link rel="profile" href="http://gmpg.org/xfn/11"&gt;   &lt;link rel="pingback" href="&lt;?php bloginfo( 'pingback_url' ); ?&gt;"&gt;   &lt;!--[if lt IE 9]&gt;   &lt;script type="text/javascript" src="&lt;?php echo get_template_directory_uri(); ?&gt;/js/html5shiv.min.js"&gt;&lt;/script&gt;   &lt;![endif]--&gt;    &lt;?php wp_head(); ?&gt; &lt;/head&gt;   I'm guessing wp_head() is responsible for the second &lt;title&gt; element (it appears just there in the final HTML), but other things I've read say this is impossible.  Should I be removing the &lt;title&gt; from my header.php, or should I be adding something to my functions to remove the title from wp_head() (eg. remove_action('wp_head', 'title') ?  Or should I be doing something else altogether? How do I identify predatory and low quality journals? With Beall's List gone, how can I tell if a journal is spam? . While the reasons for his doing this are not yet public, this is a real loss of a valuable service. Does anyone know of similar services available to the general public?  Edit:  is definitely relevant, but that approach is more appropriate for finding top journals rather than identifying bottom ones. I.e., following that method would probably exclude lots of valid, lower-tier journals. Are there any approaches to easily identifying a predatory publisher? Remove pseudo nodes in QGIS How to unplug a network cable that's stuck? Prove $-(-a)=a$ using only ordered field axioms I need to prove for all real numbers $a$, $-(-a) = a$ using only the following properties:     I tried by starting with P12 written using symbolic logic:  $\begin{align} \forall a,b \in P \to &amp; a \cdot b \in P \Leftrightarrow True \\ \forall a \in P \land \forall b \in P \to &amp; a \cdot b \in P \Leftrightarrow True \\ \lnot \left[ \left( \forall a \in P \right) \land \left( \forall b \in P \right) \right] \lor &amp; a \cdot b \in P \Leftrightarrow True \\ \exists a \notin P \lor \exists b \notin P \lor &amp; a \cdot b \in P \Leftrightarrow True \\ \end{align} \\ $  and played with evaluating it with $b = -1$, $-a$ and so on. But, felt this wasn't really a solution because the last symbolic logic statement above is ambiguous.  Not to mention--other than P12--I haven't used any of the axioms listed above whatsoever. ( And I've not bothered to prove any of the theorems of symbolic logic I have used. )  Can anyone give me a start on this problem?  Many thanks in advance.  Edit  Thank you, everyone! .  Best regards! How can I use an array modifier to create individually manipulatable objects? I often use an array modifier (or two) to quickly create a grid of identical or symmetric objects, which can be really useful when modeling all sorts of man-made objects. Once I've made the grid, though, is there any way for me to make it so that each of the objects are individually manipulatable?  Simply applying the modifier does not seem to be the full answer, since it still only allows me to select the grid-of-objects as a whole in object mode. Is there any way to separate them so I work with them each individually? Does $\lim_{z\rightarrow0}\frac{\bar{z}^2}{z^2}$ exist? Why's &quot;what's up&quot; used as greeting among young people? It sounds like asking &quot;what is up there&quot;?  A: What's up? B: The sky. I use dd in its simplest form to clone a hard drive:  dd if=INPUT of=OUTPUT   However, I read in the manpage that dd knows a blocksize parameter. Is there an optimal value for the blocksize parameter that will speed up the cloning procedure? For example:     There's two options here   or     There are two options here   I hear a lot of people say the first line (or something similar), but isn't that incorrect? Isn't it plural and therefore you should use "there are"? I want to add this iostat command to my .bashrc and create an alias for it: iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')  I'm adding this to my .bashrc: alias ios='iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')'  Unfortunately, it doesn't work. If I run the above iostat command in a terminal it works, but when I run the ios alias it no longer works. And yes, I restart my shell every time. Can the Surface Area of a Sphere be found without using Integration? When we were in school they told us that the Surface Area of a sphere = $4\pi r^2$  Now, when I try to derive it using only high school level mathematics, I am unable to do so. Please help. I am using postgreSQL, postGIS and pgrouting. Now I am really confused on how am I going to find the shortest path between multiple points.   I know how to find it between two points through dijkstra but I am confused how to accomplish the same result with more than two points.   I have done some research and found this:    But still I did not understand if its the right way and how to install it. Why can't I catch Pokemon in Pokemon Go anymore?