I recently got an alienware 14 laptop, and want to use Linux on it. I installed Ubuntu 14.04. However, I found that the wireless adapter does not work - Killer Wireless-n/a/ac 1525 Wireless Network Adapter.  So I purchased usb wifi adapter. Now I can connect to Wifi, but extremely unstable. After I have been connected for about 5 minutes, it still says connected, but cannot use internet. I tried to ping a random address, there is simply no echo, rather than no response - nothing echoes in my terminal. If I disable wifi and enable again, sometimes it will connect for another 5 minutes, sometimes just fails to connect.  I thought it was a problem of the usb wifi adapter, so bought another one for raspberry pi, but exactly the same problem.  I thought it was a problem of my Linux distribution, so I tried Ubuntu 12.04, Linux Mint, Fedora 23. All have the same problem.  Still cannot use WiFi on Linux, on my ALienware 14 laptop. Feeling frustrated. Anyone could help? Thanks.  Results of lspci -knn | grep Net -A2:      03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 20)     Subsystem: Bigfoot Networks, Inc. Device [1a56:1525]     04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)     Subsystem: Dell Device [1028:0685]
I just installed Ubuntu 14.04.3 LTS after installing windows 10 in my new VN7-571G and the wireless is not working. It never had: even during the installation it was not recognized. I run a script to gather the data , which is . lspci -knn | grep Net -A2 output 03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 20)         Subsystem: Lite-On Communications Inc Device [11ad:0804]  The OS behaves like it has no wifi card. I do not see wifi settings in network settings I'm not a linux power user, so I do not know what to do to solve the issue. What should I do to make it work?
How do I load the contents of a text file into a javascript variable? I have a text file in the root of my web app  and I'd like to load it into a variable in javascript.. in groovy I would do this:  def fileContents = 'http://localhost/foo.txt'.toURL().text; println fileContents;   How can I get a similar result in javascript? For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc.  This seems to be because those executables are now symlinks to /bin/systemctl which handles everything as normal user.  However, what if I want shutdown and reboot to require root authentication again? How can I achieve this? Creating a Snapshot of a Windows 7 System Is there a way to create a snapshot of a Windows 7 system?  My goal is to be able to save the current state of my Windows 7 OS, on external storage, and be able to restore it on the same hardware in the future. Much like a snapshot on a virtual machine.   One solution would be to install two hard drives in RAID 1, then take one of them out an store it. Is there an easier solution? Why don't we double the final consonant in the word cooking SO here is the rule I find about doubling consonant     if a word ends with a short vowel sound plus a consonant, and the stress is on the last syllable, then the final consonant is doubled if you add an ending that starts with a vowel.    I find this rule to be much more powerful than the one I learned at school, aka:V+C, But the rule doesn't seem to apply to cooking, which is not doubled. Is this a contradiction of the rule I quoted above? (I am not so sure about the short vowel but, but simple Google tells me that ʊ in cooking is indeed a short vowel. )  Also, if cooking is indeed an exception to this rule, are there any other similar exceptions that I should be aware of? Considering an ideal case(neglecting drag of air, damping etc.), a pendulum follows SHM if the angular displacement is small (upto 10 degrees). But, for large angular displacement(more than 10 degree), it does not follow SHM. Why? What force cause the pendulum not to follow SHM? Exit of "> " mode in Unix shell In sh (not Bash), how would we abort execution of command when the prompt is in &gt; mode?  For example, when entering a string with quotes only at the beginning, it makes the prompt look like &gt;, without the ability to quit it normally, unless hitting Ctrl + D. Example:  root@MyPC:~# echo "hello &gt; I am &gt; (How do I exit of this mode?)   In case that I don't know which character delimits the string (" or ' or simply escaping a newline/spaces with backslash), is there a way to let Bash know that I want to abort the execution of the current command? How to bind 'touchstart' and 'click' events but not respond to both? Why is super.super.method(); not allowed in Java? I read  and thought that would easily be solved (not that it isn't solvable without) if one could write:   @Override public String toString() {     return super.super.toString(); }   I'm not sure if it is useful in many cases, but I wonder why it isn't and if something like this exists in other languages.  What do you guys think?  EDIT: To clarify: yes I know, that's impossible in Java and I don't really miss it. This is nothing I expected to work and was surprised getting a compiler error. I just had the idea and like to discuss it. "1 in 10 are" or "1 in 10 is"? Take the examples:   "One in ten children are dyslexic."  "One in ten children is dyslexic." "One in ten children has dyslexia." "One in ten children have dyslexia."   The "one" is singular so 2 and 3 should be correct. But the "one in ten" is a fraction" so 1 and 4 should be correct. And yet I think I usually say 1 and 3. Which is/are correct?! this circuit is a occupancy light circuit i want to know the working of the transistor regarding base,collector and emitter in the transitor I'm setting up a child theme in WordPress and I can't make add_action to be fired within functions.php.  Functions.php is called and I can run code from within. Any idea on what I'm doing wrong?  $debug_msg = "Hi there!";  function test_function() {     error_log($debug_msg, 0);  } add_action('init', 'test_function', 20); Not enough space on /tmp I'm not able to run update manager as I get an error saying that there is not enough free space in the /tmp directory. I've practically cleaned out the tmp directory but the error persists.  here's df-h  /dev/loop0       13G   11G  952M  92% / udev            2.0G  4.0K  2.0G   1% /dev tmpfs           785M  920K  784M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G  584K  2.0G   1% /run/shm /dev/sda6        20G   14G  6.4G  68% /host  overflow        1.0M   16K 1008K   2% /tmp By default  indents with a hard tab character. How do I change it to spaces? Why couldn't Ellie's experience be corroborated by simply re-using the machine? Holomorphic functions: is it true that $f(\bar{z})=\overline {f(z)}$? How  can I delete a node after, for example, 2 weeks it has been created? What are the ways to position things absolutely on the page? I know that there is tikz, but also eso-pic and textpos.  I'd like to see a list of possible ways (not necessarily packages) for absolute positioning of things (which I believe amounts to "boxes") on the page, together with their advantages and disadvantages (for instance: tikz's current page node is very easy to use, but usually requires two LaTeX runs, and overhead from loading tikz if you don't need it for any other things is considerable).  Both LaTeX and ConTeXt solutions are welcome I want to create a wave made out of particles/dots. The wave should look like this:  I tried to achieve this effect by adding an ocean modifier to a plane. Then I added a particle system to the plane but now I don't know how to go on. How can I make the particles lay on the 'ocean' and move when the ocean is moving? PS: I know there is a way to do this with a material in the Blender Render. But firstly I want to create the whole thing in Cycles and secondly I want to have particles. Parsing DateTime on Localized Systems what is beeping in my house? I know this sounds like a silly question and it may be closed before it may get a single answer but there is something strange in my house which beeps infrequently. I tried to troubleshoot the sound but no luck. I thought may be its coming from the living room but there is nothing special in the living room which may make a beep sound.  Can someone point me what should i look for to figure out what is making this sound?