Why use JSON to transfer data from an Ajax call OVER x-www-form-urlencoded?
What is JSON and what is it used for?
Why ZSH ends a line with a highlighted percent symbol? I've noticed this on occasion with a variety of applications. I've often thought it was because the output was cancelled early (ctrl+c, for example) or something similar, and zsh is filling in a new line character. But now curiosity has gotten the best of me, since it doesn't seem to do this in bash.   zsh    bash    The Sequence program is something I pulled from a book while reading on Java certifications and just wanted to see if it would compile and run. I did notice that it does not use the println() method from the System.out package/class. Instead it uses plain old print().  Is the lack of a new line character the reason I get this symbol? How to Configure Launcher Placement in Multi-monitor Setup I use a large monitor as primary and laptop screen as secondary. Is it possible to move the launcher to my big monitor or do I have to turn off my laptop monitor?   "Monitor Preferences" (Launcher search -> "Monitors") does not have a way to set the default/primary monitor. nvidia-settings which I just installed says "You do not appear to be using the NVDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root), and restart the X server.  sudo nvidia-xconfig says sudo: nvidia-xconfig: command not found.  I guess I don't have an AMD driver because I don't have "AMD Catylist Control Center" in the launcher search. Why is the potential energy equal to the negative integral of a force? How do you handle multiple instances of setTimeout()? What is the most recommended/best way to stop multiple instances of a setTimeout function from being created (in javascript)?  An example (psuedo code):  function mouseClick() {    moveDiv("div_0001", mouseX, mouseY); }  function moveDiv(objID, destX, destY) {    //some code that moves the div closer to destination    ...    ...    ...     setTimeout("moveDiv(objID, destX, destY)", 1000);    ...    ...    ... }   My issue is that if the user clicks the mouse multiple times, I have multiple instances of moveDiv() getting called.  The option I have seen is to create a flag, that only allows the timeout to be called if no other instance is available...is that the best way to go?  I hope that makes it clear.... What is the right way to apply an image texture over a glass or plastic material? I am trying to put a label over the transparent plastic bottle, but i was unable to do so, because when i build the bottle material(plastic) and mix it with the diffuse shader(using the label texture), the label gets faded. So the solution i found was to duplicate the bottle and scale a little bit and apply the label material on it. So it looks its the same material, but in reality its one material over the other. How can I make my plastic material be under my label material(image)? Here's how it looks:   Here's my material setting for the plastic bottle:   Thanks in advance. How do I programmatically create a new content type? I'm building a module (my_module) in Drupal 7. It has some functionality and also will create a new content type. In my_module.install, I implemented hook_install() (my_module_install()).    Can I use more hook_install() to create a new content type (my_module_install()) in this module? If the answer is yes, how should I do this? Otherwise, should I do this in another module? Isle vs. Island Some islands are called isle like "Isle of Man", "Isle of Tortuga" and the "British Isles". Other islands are called island, like "Island of Malta" or "Island of Cyprus".  What is the difference between the words? How to know if a land mass confined by water is called an isle or an island? How do I suppress stderr warning messages from a command inside command substitution? touch ~/deleted/$(echo "directory_"$(readlink -f foo)|tr '/' '\') 2&gt; /dev/null   where foo is a directory  It's reading the full pathname of foo and creating it as a file replacing all '/' with '\' and putting a directory_ in front so the directory  /home/test/foo would create a file directory_\home\test\foo  It does exactly what I want except a warning keeps printing tr: warning: an unescaped backslash at end of string is not portable   a. I don't know what that means b. I would like it to not show  I tried to redirect stderr to /dev/null but it doesn't work. How do I suppress it? Also schemas can communicate over database links to schemas in other remote databases.    Could one replace the preposition over with through? Will it change the meaning, and if so, when should we use over instead of through? Is there a way to run Python on Android? ContourPlot of implicit function doesn't work when I square the equation How do I install a fingerprint reader on Lenovo ThinkPad? I have a  with a fingerprint reader:    How to make Ubuntu recognise it and use it for login?  I already tried:  sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt-get update   ... but this GUI did not recognizes my device. Does anyone knows any other option? Converting ArcGIS (*.mxd) file to QGIS (*.qgs) file? What is the weight equation through general relativity? The gravitational force on your body, called your weight, pushes you down onto the floor. $$W=mg$$ So, what is the weight equation through general relativity? How to call child component controller function/helper from Parent Component Controller What exactly fries the chip when you invert power supply? I have connected speakers to the back panel of my computer at work and I would like to have them always enabled (I can switch them off on the speaker casing). However when I connect headphones on the front panel system automatically says that the rear output is unplugged.  I found a solution to disable auto detection with Alsamixer and it works almost ok except the fact that after system restart I need to reconfigure the settings again... How can I set this once and forget about it? Playing a remote movie on the remote computer How to install 7zip to extract rar files How do I install 7zip through Terminal to extract rar files? Why are some of my screen-recording/capturing/sharing applications (or app features) not working in Ubuntu 17.10 (and later releases)? After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. ()  Also I noticed features like screenshot from GIMP is not working properly, producing blank screenshots (). Shutter too is producing glitchy screenshots ().  Screen-sharing option on Skype is also not working ().  The issue occurs sometimes on later Ubuntu releases too.  Why is this happening and how do I fix this?