Adding and Deleting rows in table using jquery
Event binding on dynamically created elements?
How to get over "device or resource busy"? I tried to rm -rf a folder, and got "device or resource busy".  In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" method, and not complete articles like . Although they're useful, I'm currently interested in just ASimpleMethodThatWorks™) How should I calculate $\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$ How should I calculate the below limit  $$\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from. Why don't electromagnetic waves require a medium? As I understand it, electromagnetic waves have two components which are the result of each other, i.e., when a moving electric charge creates a changing magnetic field at point X then a changing electric field is created at point Y and this repeating process is what creates EM waves, so therefore, it requires no medium. Is my understanding correct?  One thing that I'm surprised to know is that light is also called an electromagnetic wave.  Does this include light of any kind, for example: light from a bulb, a tube, and also from the Sun? How do they contain electric and magnetic fields? How to send text to Notepad in C#/Win32? I'm trying to use SendMessage to Notepad, so that I can insert written text without making Notepad the active window.  I have done something like this in the past using SendText, but that required giving Notepad focus.  Now, first I'm retrieving the Windows handle:  Process[] processes = Process.GetProcessesByName("notepad"); Console.WriteLine(processes[0].MainWindowHandle.ToString());   I've confirmed it's the right handle for Notepad, the same shown within Windows Task Manager.  [DllImport("User32.dll", EntryPoint = "SendMessage")] public static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);   From here, I haven't been able to get SendMessage to work in all my experimentation.  Am I going in the wrong direction? Is there any way to erase personal information from my phone that has already been stolen? My phone has been stolen. I do not want the thief to have access to any of my personal information such as calls, texts, and information saved in the phones contents. Is there any possible way I can get this information erased from my phone? How to control your iPad with your Mac remotely? I would like to know, is there a way to control your iPad with your Mac remotely (be able to see and manipulate iPad's desktop on your Mac)? I know that with the TeamViewer or other programs you can control your Mac with your iPad but not vice versa. We just bought a Lenovo  (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.  First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.  The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).  modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).  I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.  Further information  root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265 firmware:       iwlwifi-8265-34.ucode root@ThinkPad-E570:~# rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no root@ThinkPad-E570:~# dmesg | grep iwl root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3 05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]     Subsystem: Lenovo Device [17aa:c024]   Update  I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the  of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip. How to make equally sized windows in corners of the screen? Player A taps  targeting Player B; its "deals 1 damage to target player" ability is placed on the stack.  Player B gets priority and responds with , targeting Goblin Fireslinger.  Both players pass priority. Snap resolves, and Goblin Fireslinger is returned to its owner's hand.  Does Player B still take 1 damage from Goblin Fireslinger's activated ability?  I know that if the creature had been killed/sent to the graveyard, the ability would still resolve, but I was told recently that because a player's hand is a private zone it couldn't. If anyone could confirm or deny this for me, it would be most appreciated. I host am ExpressionEngine based website on a single Amazon EC2 instance in the US East (Virginia) region. I use Ubuntu.    The website allows members to post their content, and displays it for other members and for users who are not logged in.   Goal: I need to begin serving the same website across the globe, equally fast to Hong Kong, New York, and Los Angeles.   I considered two solutions:  1.Setting up three separate EC2 instances for three regions: Virginia, Oregon, and Singapore. Use Amazon Rot53 Geo Location to direct traffic to instances based on the browser's IP address.   Pro: the website will load fast for the region.   Contra: these will be essentially three separate websites. Unless I am mistaken?   Setting up one instance in a region equally remote from all three locations: (Ireliand), and boost the server to the highest performance available.    Pro: It will be the same website for all regions.   Contra: it will cost a lot to make it fast enough.   My challenges:   a) I do not know a way to sync server settings, database, and content between multiple Ubuntu instances in real time. If a knowledgeable person could explain to me how to do that, I would be most grateful.   b) I am not thoroughly familiar with all Amazon AWS resources. Does AWS has a built-in method that would allow me to achieve my goal of serving a single PHP / MySQL based membership website across the globe equally fast in all three chosen locations? I would like to show that  $$\forall n\in\mathbb{N}^*, \quad \sqrt{\frac{n}{n+1}}\notin  \mathbb{Q}$$  I'm interested in more ways of proofing this.  My method :  suppose that $\sqrt{\frac{n}{n+1}}\in  \mathbb{Q}$ then there exist $(p,q)\in\mathbb{Z}\times \mathbb{N}^*$ such that $\sqrt{\frac{n}{n+1}}=\frac{p}{q}$ thus   $$\dfrac{n}{n+1}=\dfrac{p^2}{q^2} \implies nq^2=(n+1)p^2 \implies n(q^2-p^2)=p^2$$ since $p\neq q\implies p^2\neq q^2$ then  $$n=\dfrac{p^2}{(q^2-p^2)}$$  since $n\in \mathbb{N}^*$ then $n\in  \mathbb{Q}$   I'm stuck here and I would like to see different ways to prove $\sqrt{\frac{n}{n+1}}\notin  \mathbb{Q}$ Show that any bounded linear functional on a normed linear space is continuous Show that any bounded linear functional on a normed linear space is continuous.   Can we say that it is uniformly continuous ?   Also, is it true, if we reverse the statement    any continuous  linear functional on a normed linear space is bounded ?? Are proofs by contradiction really logical? Let's say that I prove statement $A$ by showing that the negation of $A$ leads to a contradiction.   My question is this: How does one go from "so there's a contradiction if we don't have $A$" to concluding that "we have $A$"?  That, to me, seems the exact opposite of logical. It sounds like we say "so, I'll have a really big problem if this thing isn't true, so out of convenience, I am just going to act like it's true". Why can't I define a default constructor for a struct in .NET? How can I port forward with iptables? I recently received an old iMac secondhand.  I have no way to reach the original owner. I am trying to upgrade the OS software, but the prompts demand the administrator's name (which is auto-filled) and password (which I do not have).  I understand why these security features are in place, but is there any way in the world for me to access Admin. privileges without the password? I use the native Clock app, and my alarm used to just have a normal ringtone. I assume there was some automatic update recently because this morning, in addition to the normal ringtone, there was a robotic voice saying "It is 7:25 AM." Then later I got a notification from the native Calendar app, and in addition to my normal ringtone, the robotic voice announced the text of the notification.  How do I shut this off? It's really annoying and I don't see an option in Settings. In the Lord of the Rings it is said     "In Eregion long ago many Elven-rings were made, magic rings as you   call them, and they were, course, of various kinds: some more potent   and some less. The lesser rings were only essays in the craft before   it was full-grown, and to the Elven-smiths they were but trifles — yet   still to my mind dangerous for mortals. But the Great Rings, the Rings   of Power, they were perilous.”   [LotR I 2 (60)]   There is a clear distinction here between the 20 Rings of Power in the Ring Rhyme (the 7,9,3,and 1) and these other rings. What happened to the "lesser rings"? In C, how do I restrict the scope of a global variable to the file in which it's declared? Custom bokeh shapes need a large aperture. The max aperture my lens can reach is f3.5. Is it big enough for a custom bokeh? I tried but it doesn't work.