Wifi LED on laptop blinking when connected to wifi
How to stop constantly blinking Wifi LED?
Remote desktop without a password I have an HTPC with a user that has no password and autologin.  I want to be able to connect to it via Remote Desktop without a password, so I can login with the original user. (I don't want to add another user just for the mstsc)  Is there a way of doing that?  The OS is Windows 7, 32bit. How can I create Light Streaks in Cycles? Generate random numbers uniformly over an entire range I need to generate random numbers within a specified interval, [max;min].  Also, the random numbers should be uniformly distributed over the interval, not located to a particular point.  Currenly I am generating as:  for(int i=0; i&lt;6; i++) {     DWORD random = rand()%(max-min+1) + min; }   From my tests, random numbers are generated around one point only.  Example min = 3604607; max = 7654607;   Random numbers generated:  3631594 3609293 3630000 3628441 3636376 3621404   From answers below: OK, RAND_MAX is 32767. I am on C++ Windows platform. Is there any other method to generate random numbers with a uniform distribution? I recently bought the whole PC series of Saints Row and after I began the third, after I leveled up, I saw that most of the power upgrades were already done for me and many clothing items were already bought.  I know the game is quite easy  economically but I want to start a game in which I can actually level up, not sideways.  Is it possible to begin a game in which (preferably) everything is locked?  I probably have all the downloadables of the game. Assume there is a public-key encryption scheme $(KeyGen, Enc, Dec)$ with perfect correctness (i.e., for all messages M and valid key-pairs (PK,SK), we have $Dec_{SK}(Enc_{PK}(M))=M$).  Will there always be a function $A$ such that for all messages M and valid public-keys PK, $A_{PK}(Enc_{PK}(M))=M$?  In other words, can a computationally unbounded adversary decrypt the message, having only the public key? What is a word for a person with more expertise (in certain field) than an intermediate but less so than an expert? How to install a "pdf printer"? Is there a way to install a printer that prints to pdf?  There's a lot of discussions about this in the web foruns, but none seens to work. Georeferencing old map in QGIS? I have an old map over a part of Laos and wondering how do I georeference the map with the help of the Grid lines and other Longitude and Latitude information on the scanned map? I have searched for information on the internet and tried many times. My scanned map wont overly correctly on the base map. Any base map would be fine. As long as I can check the result.  Do I add X/East and Y/North values from the grid line crossings as marked and written in some parts of the map? How do I begin georeferencing this map? Do I have to add zeros after the two digits? For example if the Easting is 24 (its in KM right? Do I add like three/four zeros to convert it to meters?  I georeferenced the map with the option "From Map Canvas" in the georeferencer tool and I succeeded but I want to know the coordinate of a point on my old scanned map and write them as X/East and Y/North to georeference the map.   I hope I am not babbling and someone understands what I mean!  We can set the CRS to WGS84, EPSG:4326. Shape with a slanted side (responsive) $a,b,c$ are distinct real numbers that $$(a^2)(1-b+c)+(b^2)(1-c+a)+(c^2)(1-a+b)=ab+bc+ca.$$ Prove $$\frac{1}{(a-b)^2}+\frac{1}{(b-c)^2}+\frac{1}{(c-a)^2}=1.$$ I have tried two different approaches to this problem but am stuck.  First I started by expanding the bottom of each fraction. $\frac{1}{(a^2)-2ab+(b^2)}+\frac{1}{(b^2)-2bc+(c^2)}+\frac{1}{(c^2)-2ac+(a^2)}=1$  I also tried to expand $(a^2)(1-b+c)+(b^2)(1-c-a)+(c^2)(1-a+b)=ab+bc+ca$   $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b=ab+bc+ca$ $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b-ab-bc-ca=0$ Then I added one to both sides $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b-ab-bc-ca+1=0+1$ Help will be appreciated. Maximum power of $2$ which divides $3^{1024}-1$ What is the maximum power of $2$ which completely divides $3^{1024}-1$?  I proceeded thus: $\phi(2^n)=2^{n-1}$ for all $n\ge1$ $$3^{1024}=3^{2^{10}}\equiv1\pmod {2^{11}}$$ $$3^{1024}-1\equiv0\pmod {2^{11}}$$ Since $\phi(2^{11})=2^{10}$.  So, maximum power of $2$ must be $11$. But the answer says it is $12$. Where am I wrong and how to solve it correctly? Consequence of the Hahn-Banach Theorem From wikipedia's page on the Hahn-Banach Theorem:  If $V$ is a normed vector space with linear subspace $U$ (not necessarily closed) and if $z$ is an element of $V$ not in the closure of $U$, then there exists a continuous linear map $ψ : V → K$ with $ψ(x) = 0$ for all $x$ in $U$, $ψ(z) = 1$, and $||ψ|| = dist(z, U)^{−1}.$  How is this a consequence of the Hahn-Banach Theorem? Printing out Prime Numbers from 2 to 1000 What do wizard children do before attending Hogwarts? Most of the wand-carriers that come from a non-Muggle family seem fairly uneducated when it comes to interacting with Muggles.  This implies that they don't go to any type of Muggle school before entering into their education at Hogwarts (or whichever Wizarding school they go to), or else they would at least understand some Muggle culture.  What do children from magical families do before going to Hogwarts if they don't go to a traditional school?  Is there any evidence that they're homeschooled? I have a NOPASSWD line in /etc/sudoers (edited with visudo)  gatoatigrado    ALL=(ALL) NOPASSWD: /bin/set-slow-cpufreq   However, the output is,  gatoatigrado@coral:~&gt; sudo -n /bin/set-slow-cpufreq sudo: sorry, a password is required to run sudo   This kind of command works on an OpenSuSE machine, but not on Ubuntu 11.10. What am I doing wrong?  Note: I cannot find any relevant system log messages, e.g. via tail -f /var/log/syslog.  edit  Here is /etc/sudoers.  Defaults    env_reset  # things I've tried copying from an opensuse machine Defaults always_set_home Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"  root    ALL=(ALL:ALL) ALL gatoatigrado ALL=NOPASSWD: /bin/set-slow-cpufreq %admin ALL=(ALL) ALL %sudo   ALL=(ALL:ALL) ALL Infinitely differentiable function with given zero set? I've been reading forum posts and blogs who mention "my guy" syndrome as a specific type of difficult player, but I can't seem to find a solid definition for the term. Can someone explain this particular kind of problem player to me? How do you deal with this kind of problem? How do I install a .tar.gz (or .tar.bz2) file? I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file? Do I have 32-bit or 64-bit? WordPress and Git Workflow I know this question has been asked a thousand times, but I'm really trying to work out how to get the best out of Git when working with WordPress.  I've scoured the web and read dozens of articles, all that seem to cover the topic briefly. Here's a few of the most notable one's I've read recently.        Currently, my workflow looks like this.   Install WordPress locally Develop Theme Export WordPress Databases from local server Import WordPress Database to remote server Upload WordPress files and theme via FTP Client makes changes Download WordPress files and theme via FTP and export WordPress Databases from remote server Replace files locally Make development changes Re-upload via FTP, export and import database to remote server   I realise Git can streamline this process. It seems the best way to do this is to have a .gitignore file that ignores certain directories that don't need to be tracked, as well as having both a local and remote wp-config.php file.  But how do you handle the databases? Clients will usually make changes (posts/pages/plugins). Do I still need to export from the remote database and import back on my local server?  Can someone suggest the best workflow for me here? And walk me through the steps.  Also, I'd probably like to use Bitbucket as private repos with them are free, unlike GitHub.  Any help would be appreciated.  Thanks in advance!