There are several questions similar to what I'm trying to do here, but I can't find any that actually answer the question. Feel free to just link me if you find one.  I need to set the hostname of a Windows 7 machine. In Linux, it's a simple   hostname mymachine.mydomain.com   But on Windows, I can't figure out how to set my hostname to this without having an actual domain set up called mydomain.com.    Is it possible to do this? I have a DNS domain called mydomain.com but it is not a Windows active directory domain, so when I try to set it in the Network ID menu in sysdm.cpl, it doesn't recognize the domain and fails to connect.  Is there a simple way to do this in Windows?
How do you change your hostname in Windows 7? Not the computer name, but the hostname.
Can a set be neither open nor closed? An example would do. I cant think of any.   Thanks in advance! How to add "Refresh" option to right click menu in Lubuntu? I have many users at the place I work, expressing the notion of switching to Ubuntu.  Most of them, for whatever weird reason wanting to know if its possible to have refresh added when you right click on the desktop.   Is that possible? Why do physicists believe that there exist magnetic monopoles? 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? Confusion between register size, address size, data size I started learning about pointers in C++ and I figured I should educate myself a bit on how memory works and is accessed. I read that when we say a processor is 64-bit, it has a 64-bit register and can access 2^64 address locations. I also read that it can fetch 64/8, so 8 bytes of data at a time, but the data bus is not the same thing as the register right? Do they need to be the same size or does that just happen to be the case usually? And is it the size of the register or the data bus size that determines what we refer to it as, such as 32/64-bit? Also is there a difference between register size and address size? is it possible to raise the tip while raising the back and lowering the center of the tongue when making /R/ sound? Following , this is how we correctly make the r sound:   Let the throat vibrate since it is voiced. Round the lip a little. Raise the tip of the tongue towards the hard bump behind the upper front teeth,  but do not let the tip of tongue touch the bump. This also makes the center of the tongue go down. The back part of the tongue is raised because you pull it into a tight ball Fold and raise the sides of the tongue so they touch the upper side-teeth.   If we follow the above requirement, our tongue should have an s shape when we pronounce the r sound as depicted in the following sketch:    Is it possible to raise the tip while raising the back and lowering the center of the tongue when making an r sound?   How do native speakers make an r?  P.S. My tongue is very short anyway! The current is maximum through those segments of a circuit that offer the least resistance. But how do electrons know beforehand that which path will resist their drift the least? Except when we use right to denote direction, what is the difference between these two terms?  Also, which one is the preferred construction between these two     Am I right?   or     Am I correct? How to trigger a warning when a certain function is called (not compiled)? What's the application extension? (aka .exe, .app, etc.) I'm new to Ubuntu. What's the application extension for development reasons? I know Windows is mainly .exe and Mac is .dmg or .app. Does Linux have an unique one? With Windows 7, why is an entry in the hosts file not working? I updated some entries in the  at C:\WINDOWS\System32\drivers\etc.  As a test, I decided to make Google point to 127.0.0.1.  # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # #      102.54.94.97     rhino.acme.com          # source server #       38.25.63.10     x.acme.com              # x client host  127.0.0.1       localhost ::1             localhost 127.0.0.1       google.com   This works fine on Windows Vista, but not on Widows 7. When I type google.com into my browser, it goes directly to Google's website.  I am not using a proxy server, and I think there might be some temporary DNS settings that need to be flushed, but I'm not sure.  Does anyone know how to fix this? I own a Nikon D40X and just the kit lens and I'm considering buying either a macro lens or some extension tubes.  I don't necessarily want to do true 1:1 macro, just some close ups of bugs, fungi and flowers. How do I get from Terminal 1 to Terminal 5 in Fiumicino Airport? The official site mentions a shuttle bus service, I also googled but the infos are not clear, so I hope to find some firsthand experience.  I have a flight with a stop in Fiumicino, I will arrive in Terminal 1 and the next departure is from Terminal 5, the transfer time is around 5 hours.  Is it correct that I should go to Terminal 3 first (using the internal transfer area) and after exit from Terminal 3 and take the shuttle to Terminal 5?  The terminal 5 has a waiting area with some shops or is just a terminal for departure? In your opinion is better to wait some hours inside Terminal 3 before going out to take the shuttle bus? Cleaning Circuits with Compressed Air I've been arguing with a colleague whether it is a sensible solution to clean dusty PCBs with compressed air. While I think this is the best solution (nothing touches the PCB), he claimed that spraying off the dust can cause ESD, because the charges that may have accumulated in the dust win't bleed off in the process (and it's better to leave everything as it is). I'm not really convinced by this argument and my (limited) knowledge of ESD production doesn't help getting peace of mind in this matter. What is your input? Brownian motion - Hölder continuity Let $B$ stand for a Brownian motion on a finite interval $[0,1]$. If I am not wrong, I think that there exists a positive constant $c$, such that almost surely, for $h$ small enough , for all $0&lt; t &lt; 1- h$  \begin{align} |B(t+h)-B(t)| &lt; c\sqrt{h\log(1/h)} \end{align} or something like this. As a result   \begin{align} \bigg|\frac{B(t+h)-B(t)}{h}\bigg| &lt; K(h)  \end{align}  Am I correct ? Why is there no absolute maximum temperature? When trying to install CrossOver deb I get "Error: Dependency is not satisfiable libpng12-0" As of late, and without my deliberately doing anything to make it happen, my Bash prompt has an  (i.e. @) prepended to it. This did not previously happen. Nor can I see anything in my ~/.bashrc that seems as though it ought to be making this happen.  This is on Debian Jessie GNU/Linux, using GNU Bash.  For example, my current Bash sessions look like this:  @sampablokuper@debianbox:~$ python3 Python 3.4.2 (default, Oct  8 2014, 13:14:40)  [GCC 4.9.1] on linux Type "help", "copyright", "credits" or "license" for more information. @&gt;&gt;&gt; 1+2 3 @&gt;&gt;&gt; exit() @sampablokuper@debianbox:~$    whereas originally, they would have looked like this:  sampablokuper@debianbox:~$ python3 Python 3.4.2 (default, Oct  8 2014, 13:14:40)  [GCC 4.9.1] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; 1+2 3 &gt;&gt;&gt; exit() sampablokuper@debianbox:~$    Here are all the lines from my ~/.bashrc that appear to in any way relate to the Bash prompt:  # set variable identifying the chroot you work in (used in the prompt below) if [ -z "${debian_chroot:-}" ] &amp;&amp; [ -r /etc/debian_chroot ]; then     debian_chroot=$(cat /etc/debian_chroot) fi  # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in     xterm-color) color_prompt=yes;; esac  # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt #force_color_prompt=yes  if [ -n "$force_color_prompt" ]; then     if [ -x /usr/bin/tput ] &amp;&amp; tput setaf 1 &gt;&amp;/dev/null; then         # We have color support; assume it's compliant with Ecma-48         # (ISO/IEC-6429). (Lack of such support is extremely rare, and such         # a case would tend to support setf rather than setaf.)         color_prompt=yes     else         color_prompt=     fi fi  if [ "$color_prompt" = yes ]; then     PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt  # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*)     PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"     ;; *)     ;; esac   How can I get my Bash prompt to appear as it did originally? I've tried other solutions, but none of them are specific to my setup. I just started using the new Linux subsystem featured in the recent Windows 10 update. I'm using WAMP x64 v3.0.6, and have successfully cloned my website and got it up and running. At the root of the Linux subsystem, I installed Drush globally with Composer, using the directions given on the .  Typing drush status returns the following when I run it in my default directory:  Drupal version         :  7.50  Site URI               :  http://default  Database driver        :  mysql  Database hostname      :  localhost  Database port          :  Database username      :  root  Database name          :  aerosphere  PHP executable         :  /usr/bin/php  PHP configuration      :  /etc/php5/cli/php.ini  PHP OS                 :  Linux  Drush script           :  /home/bob/.composer/vendor/drush/drush/drush.php  Drush version          :  7.1.0  Drush temp directory   :  /tmp  Drush configuration    :  Drush alias files      :  Drupal root            :  /mnt/c/wamp64/www/drupal-7.50  Site path              :  sites/default   But, as mentioned in the title, drush cc all returns No Drupal site found, only 'drush' cache was cleared.[warning] I assume it has something to do with adding a path to the .bashrc, but I don't know what to add. Any tips would be greatly appreciated!  My question is different from "", they're on a Mac and using MAMP, and I'm using WAMP on Windows. I've tried the solutions offered on that post, but the issue has not been resolved.  I'm obviously having issues connecting to MySQL as I get this when I run mysql command:     The program 'mysql' can be found in the following packages: * mysql-client-core-5.5 * mariadb-client-core-5.5 * mysql-client-core-5.6 * percona-xtradb-cluster-client-5.5      Try: sudo apt-get install .   So I've added these lines to my .bashrc file:  PATH="$HOME/.composer/vendor/bin:$PATH" export PATH="/mnt/c/wamp64/mysql/mysql5.7.14/bin:$PATH"   The top line was added to get drush working. I've checked multiple times, and I have the path correctly set, but it's still not working. Replacing strings in files based on certain search criteria is a very common task. How can I    replace string foo with bar in all files in the current directory? do the same recursively for sub directories? replace only if the file name matches another string? replace only if the string is found in a certain context? replace if the string is on a certain line number? replace multiple strings with the same replacement replace multiple strings with different replacements