I'm having a problem connecting to the internet..  I installed ubuntu 14.04 on my Lenovo Y50-70, dual boot with the pre-installed Windows 8 OS I had. I used  guide. Everything works perfectly, except for when I connect to WiFi networks on my Ubuntu. It seems to work well for some time (the best I got was a few minutes..), and then disconnects. After it disconnects for the first time, It won't connect again (to any WiFi network) until after I restart the computer.   If, however, I try to connect using an ethernet cable, everything goes down smoothly (no surprise-disconnects). I'd also like to point out that I don't get the same problem on my Windows OS.  I tried following several guides, none worked. Some technical things:   WiFi is enabled. sudo /etc/init.d/networking restart won't work. sudo iwconfig wlan0 power off; sudo iwconfig wlan0 power on won't work. restarting network manager doesn't help.
I have installed Ubuntu 15.04 on my laptop with RTL8723BE Wi-fi card. But it is always disconnecting from network. I have tried echo "options rtl8723be fwlps=N ips=N" | sudo tee /etc/modprobe.d/rtl8723be.conf but that didn't helped. What can I do to prevent the wifi from disconnecting? If I upgrade to kernel 4.X, will it help?  ~$ lspci -knn | grep Net -A2  09:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]     Subsystem: Hewlett-Packard Company Device [103c:2231]     Kernel driver in use: rtl8723be   ~$ rfkill list 0: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no   ~$ ifconfig &amp;&amp; iwconfig &amp;&amp; route -n &amp;&amp; ping -c 1 google.com eth0      Link encap:Ethernet  HWaddr 38:63:bb:cd:4a:7e             UP BROADCAST MULTICAST  MTU:1500  Metric:1           RX packets:3 errors:0 dropped:0 overruns:0 frame:0           TX packets:53 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:752 (752.0 B)  TX bytes:8445 (8.4 KB)  lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:3870 errors:0 dropped:0 overruns:0 frame:0           TX packets:3870 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:314613 (314.6 KB)  TX bytes:314613 (314.6 KB)  wlan0     Link encap:Ethernet  HWaddr c0:38:96:6d:c4:83             inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0           inet6 addr: fe80::c238:96ff:fe6d:c483/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:15240 errors:0 dropped:0 overruns:0 frame:0           TX packets:14627 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:14410285 (14.4 MB)  TX bytes:2192744 (2.1 MB)  eth0      no wireless extensions.  wlan0     IEEE 802.11bgn  ESSID:"DIR-615"             Mode:Managed  Frequency:2.437 GHz  Access Point: 00:90:4C:08:00:0D              Bit Rate=150 Mb/s   Tx-Power=20 dBm              Retry short limit:7   RTS thr=2347 B   Fragment thr:off           Power Management:off           Link Quality=70/70  Signal level=-22 dBm             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0           Tx excessive retries:0  Invalid misc:186   Missed beacon:0  lo        no wireless extensions.  Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 0.0.0.0         192.168.1.1     0.0.0.0         UG    400    0        0 wlan0 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0 PING google.com.Dlink (172.26.136.19) 56(84) bytes of data. 64 bytes from 19.136.26.172.in-addr.arpa (172.26.136.19): icmp_seq=1 ttl=249 time=102 ms  --- google.com.Dlink ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 102.547/102.547/102.547/0.000 ms
How will going from 75% Credit Utilization to 0% Credit Utilization affect my credit score? Shutdown Cause -128 This is an exercise in some textbooks.     Let $E$ be an algebraic extension of $F$. Suppose $R$ is ring that contains $F$ and is contained in $E$. Prove that $R$ is a field.   The trouble is really with the inverse of $r$, where $r\in R$. How to prove that $r^{-1}\in R$, in apparent lack of a characterization of $R$.  It occurred to me to use the smallest field containing $R$ ($R$ is easily shown to be an integral domain), that's the field of quotients, and proving that it's $R$ itself, but I don't really know how to proceed.  A not-too-weak, not-too-strong hint will be much appreciated.   Beware $ $ Readers seeking only hints should  beware that there is now a complete answer. The standard files/tools that report memory seem to have different formats on different Linux distributions. For example, on Arch and Ubuntu.   Arch  $ free               total        used        free      shared  buff/cache   available Mem:        8169312     3870392     2648348       97884     1650572     4110336 Swap:      16777212      389588    16387624   $ head /proc/meminfo  MemTotal:        8169312 kB MemFree:         2625668 kB MemAvailable:    4088520 kB Buffers:          239688 kB Cached:          1224520 kB SwapCached:        17452 kB Active:          4074548 kB Inactive:        1035716 kB Active(anon):    3247948 kB Inactive(anon):   497684 kB  Ubuntu  $ free              total       used       free     shared    buffers     cached Mem:      80642828   69076080   11566748    3063796     150688   58358264 -/+ buffers/cache:   10567128   70075700 Swap:     20971516    5828472   15143044   $ head /proc/meminfo  MemTotal:       80642828 kB MemFree:        11565936 kB Buffers:          150688 kB Cached:         58358264 kB SwapCached:      2173912 kB Active:         27305364 kB Inactive:       40004480 kB Active(anon):    7584320 kB Inactive(anon):  4280400 kB Active(file):   19721044 kB    So, how can I portably (across Linux distros only) and reliably get the amount of memory—excluding swap—that is available for my software to use at a particular time? Presumably that's what's shown as "available" and "MemAvailable" in the output of free and cat /proc/meminfo in Arch but how do I get the same in Ubuntu or another distribution? Cropping Shapefiles in QGIS? Is there any way to use a nether portal to travel to y = 250? Let $h$ the irreducible polynomial over $\Bbb F_2 = \{0, 1\}$  $$h  =  x^4 +x +1$$  Let $E=\Bbb F_2(\alpha)$, i.e. the field $\Bbb F_2$ extended with $\alpha$, where $\alpha$ is a root of $h$.   How do we determine the numbers of elements in the extension $E$? Can every non-zero element in the extension be expressed in the form $(\alpha)^n$ for some $n\in\Bbb N$ ? How do we find all the roots of $h$ over the extension $E$? I have got the Client Cross Frame Scripting Attack alert in the recent CheckMarx scanner. However, it points to an auto generated ID.   I've seen the following links however, the I'm not sure about relavancy of the soluions given i.e.,          Regarding my visualforce component, I'm doing just one DML operation on a custom setting from a callout response. Also, I'm not passing any attribute to the component.   To give a background of the component, its just a list view of records from a different system retrieved through a callout on load via JavaScript.  Let me know if in case anything else is needed.   Thanks in Advance! Peace! How to simulate artificial data for logistic regression? I know I'm missing something in my understanding of logistic regression, and would really appreciate any help.  As far as I understand it, the logistic regression assumes that the probability of a '1' outcome given the inputs, is a linear combination of the inputs, passed through an inverse-logistic function. This is exemplified in the following R code:  #create data: x1 = rnorm(1000)           # some continuous variables  x2 = rnorm(1000) z = 1 + 2*x1 + 3*x2        # linear combination with a bias pr = 1/(1+exp(-z))         # pass through an inv-logit function y = pr &gt; 0.5               # take as '1' if probability &gt; 0.5  #now feed it to glm: df = data.frame(y=y,x1=x1,x2=x2) glm =glm( y~x1+x2,data=df,family="binomial")   and I get the following error message:      Warning messages:   1: glm.fit: algorithm did not converge    2: glm.fit: fitted probabilities numerically 0 or 1 occurred    I've worked with R for some time now; enough to know that probably I'm the one to blame.. what is happening here? I am having a tough time building a half cylinder and have not found any tutorial showing me how to do that. On Chrome on Android, code blocks on the mobile site have no syntax highlighting, are not a monospaced font, and words are wrapped.  Mobile site on mobile browser:    Desktop site on mobile browser:    Inline code has the same issue, it isn't a monospaced font.  It has been this way for as long as I can remember. Wouldn't be surprised if this is a dupe. I'm currently taking Quantum Mechanics in school and I came across a table displaying the following in the given order:   $E_n (\text{energy levels}), g_n (\text{eigen functions})$   $n \ l, [m]$  $E_1, 1$   $1s, [0]$  $E_2, 4$   $2s, [0]$ $2p, [-1,0,1]$  $E_3, 9$   $3s, [0]$ $3p, [-1,0,1]$ $3d, [-2,-1,0,1,2]$    Now, as I understand $n$ defines the size of the orbital, $l$ the shape and $m$ the orientation.  My question is, how does the atoms shell model fit into this if one can have two electrons per orbital? Are $1s$ the same as the orbital $2s$, but just renamed for the sake of higher energy levels? Or do two similarly looking orbits exist for different energy levels? For example two "layers" of spherical electron clouds for an atom with $4$ electrons.  I just can't see how $2$, $8$, $18$ becomes $2$, $8$, $8$ as we were taught in Physics at high school? Am I missing something? What are tag synonyms? How can tag synonyms be distinguished from "real" tags? How are new tag synonyms created? Who can create tag synonyms? How can I delete/reverse/undo bad tag synonyms? What are merged tags? I have a correlation matrix of security returns whose determinant is zero. (This is a bit surprising since the sample correlation matrix and the corresponding covariance matrix should theoretically be positive definite.)  My hypothesis is that at least one security is linearly dependent on other securities. Is there a function in R that sequentially tests each column a matrix for linear dependence?  For example, one approach would be to build up a correlation matrix one security at a time and calculate the determinant at each step. When the determinant = 0 then stop as you have identified the security who is a linear combination of other securities.  Any other techniques to identify linear dependence in such a matrix are appreciated. I am running Xubuntu 11.10 and everything works nicely. I have selected a nice Xfce theme and everything looks beautiful, except Libreoffice.  While other programmes (Gimp, Inkscape, Thunar etc.) integrate with the selected Appearance &amp; Window Manager theme, Libreoffice looks like a Windows 98 programme.  Does anyone know how to fix this? I have already tried this solution, without success:   Thanks for your help! Resize partition without affecting other OSes in dual-boot I wanted to resize (increase or decrease the partition size) the existing Ubuntu partition without affecting it and the other OS(es) installed in the machine. Can Ubuntu run on a Microsoft Surface with Windows RT? My family might be buying a Windows Surface tablet with Windows RT (Nvidia)? I was wondering if I can run Ubuntu or WUBI on it for my homework? How to calculate $$\int_{0}^{\pi/2}{\{\tan(x)\}dx}$$ where $\{x\}$ means the fractional part of $x$. I mentioned the zero points of $\{\tan(x)\}$. $\{\tan(x)\}$ equals to 0 iff $x=\arctan(k)$, $k$ is an integer. I tried to separate it into$$\sum_{k=0}^{\infty}{\int_{\arctan(k)}^{\arctan(k+1)}{(\tan(x)}-k)dx}$$ Then I found it hard to continue. I don't think I am on the right way. How do I add myself into the sudoers group? Possible Duplicate:          I've added myself back into the admin's group I think, by following   But I still can't do commands like:  sudo aptitude update   I get the message  oshirowanen is not in the sudoers file.  This incident will be reported.   How do I add myself into the sudoers group now that I am in the admin group? Which style is preferred? Is there a good reason for one vs. the other?  Thanks in advance!  1) cmds.each do |cmd|    end  2) cmds.each { |cmd|    }   Example code:  cmds = [ "create", "update", "list", "help" ]  # Block style one # cmds.each do |cmd|   puts "loop1, cmd: #{cmd}" end  # Block style two # cmds.each { |cmd|   puts "loop2, cmd: #{cmd}" }