Posts

Showing posts from October, 2012

Quantum Internet Benefits

Image
  The quantum internet is a network of quantum computers that are connected together using quantum communication. It has the potential to revolutionize many industries, including: Secure communications: The quantum internet would be inherently secure, as it would be impossible to eavesdrop on quantum communications without being detected. This could be used for applications such as secure financial transactions, government communications, and military applications. Quantum computing: The quantum internet would allow quantum computers to be connected together, which would allow them to solve problems that are currently impossible for classical computers. This could be used for applications such as drug discovery, financial modeling, artificial intelligence, and materials science. Quantum sensors: The quantum internet could be used to connect quantum sensors together, which would allow them to create a global network of sensors that could be used to monitor the environment, detect earthq

MySQL failed to start on Linux. 0 upgraded, 0 newly installed, 0 to remove and 464 not upgraded.

root@ubuntu:~# sudo apt-get install mysql-server  Reading package lists... Done Building dependency tree        Reading state information... Done mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 464 not upgraded. The above installation error appearing while I've try to install my sql server, so it shows that installation has been broken, so you need to remove all the my sql server logs which are partially installed on linux, then again install it as the following steps, apt-get purge mysql-server apt-get purge mysql-common rm -rf /var/log/mysql rm -rf /var/log/mysql.* rm -rf /var/lib/mysql rm -rf /etc/mysql # and then: apt-get install mysql-server --fix-missing --fix-broken"

fatal error function name must be a string in php

In this below PHP programming I came across the following error <?php $user_ip = $_SERVER('REMOTE_ADDR');  echo $user_ip; ?> it  gives the error output in browser as " fatal error function name must be a string  on line 2 " so after checking that code I used ('REMOTE_ADDR') instead of ['REMOTE_ADDR'] so this could be the error free coding <?php $user_ip = $_SERVER ['REMOTE_ADDR'];  echo $user_ip; ?> o/p 127.0.0.1