I have a JSON Object   {scope:{results:{...}}}   And I have a String named  "data.one.url"   Now I want to set the value inside the JSON Object. Normally I would do it like this:   scope.results.data.one.url = "hello";   But how to do it when I only have the string mentioned above?
I need to be able to merge two (very simple) JavaScript objects at runtime.  For example I'd like to:  var obj1 = { food: 'pizza', car: 'ford' } var obj2 = { animal: 'dog' }  obj1.merge(obj2);  //obj1 now has three properties: food, car, and animal   Does anyone have a script for this or know of a built in way to do this?  I do not need recursion, and I do not need to merge functions, just methods on flat objects.
Can every even integer be expressed as the difference of two primes? I'm trying to change sign text color in Java Edition on Windows 10. According to , this is done using the § symbol:  To enter &quot;§&quot; on Windows with most US/UK English keyboards type ALT + NUMPAD_2 NUMPAD_1  This works for me inside Notepad or this browser. However, when I enter this sequence in the sign input dialog, nothing happens. What could be causing this? I recently found out about Ubuntu for Android Multi-Core Smartphones and was digging around on the Ubuntu website as well as the Canonical website but have yet to find any information on if it available to the public yet ?  I am very interested to try it our on my Android and if it is available for the public am wondering where and how I can get a copy of "Ubuntu for Android" ?  If it is not available then perhaps someone can shed some lite on what sort of timeframe it will be until it is available to the general public? Converting a system command to python for file search and delete Can a lingering injury that requires "magical healing of 6th level or higher" be healed by an upcast lower-level spell? The  table in the DMG (p. 272) contains some wounds that can only be fixed by powerful healing magic, for instance:     Horrible Scar. You are disfigured to the extent that the wound cannot be easily concealed. You have disadvantage on Charisma (Persuasion) checks and advantage on Charisma (Intimidation) checks. Magical healing of 6th level or higher, such as heal and regenerate, removes the injury.   Can the necessary magical healing described here be a lower-level spell (such as cure wounds) that is upcast to 6th level? Or must it be a healing spell that is already 6th level or above before upcasting? Is $K[a,b]=K(a,b)$ for algebraic $a, b$? What does $2^x$ really mean when $x$ is not an integer? Don't delete comments with link to duplicate if they are modified A user just posted his question a second time here on meta after the first was closed as a duplicate. I wrote a comment on the second post, explaining that the answer to his question is in the linked duplicate and that he shouldn't circumvent the closure process by asking a second identical question.  When the second post was closed as a duplicate my comment was automatically deleted. As far as I understand this is a heuristic that removes obsolete comments, which it considers every comment that contains a link to one of the duplicates.  This heuristic is too aggressive and removes comments that go beyond "Duplicate here: link". I suggest that it should be changed to only remove the default duplicate comment, and not any comment that was edited by the owner nor any free-form comment that happens to include a link to the duplicate.  This also triggers for any comment that contains the word "duplicate" and link to any question, not only the question being chosen as duplicate, which makes this much worse. Schengen Visa Application: what are some helpful tips for preparing? PHP function to build query string from array I'm looking for the name of the PHP function to build a query string from an array of key value pairs. Please note, I am looking for the built in PHP function to do this, not a homebrew one (that's all a google search seems to return). There is one, I just can't remember its name or find it on php.net. IIRC its name isn't that intuitive. How much meat should I serve per person? Labeling Multiple Equations Per Row of a Table I am trying to create a table with two columns of independently labelled equations (1-6). Unfortunately, everything I have found so far either has not worked or would number them as sub-equations (1a, 1b, etc).  My current attempt is:  \documentclass{article} \usepackage{graphicx, verbatim, tabularx} \usepackage{amsfonts} \usepackage{amsmath, amssymb}  \newcommand{\grad}{\vec{\nabla}}       \newcommand{\prtl}[2]{\frac{\partial #1}{\partial #2}}  \newcommand{\curl}{\grad\times} \begin{document}  \begin{tabular}{p{5cm}p{5cm}}  $\curl\vec{E} = -i\omega\mu\vec{H}$ &amp;   $\curl\vec{H} = i\omega\mu\vec{E}$ \\  \begin{equation}  \label{eq:curlHx}   \prtl{E_z}{y} +\gamma E_y= -i\omega\mu H_x  \end{equation}  &amp;  \begin{equation}  \label{eq:curlEx}    \prtl{H_z}{y} +\gamma H_y= i\omega\mu E_x  \end{equation}\\  \begin{equation}  \label{eq:curlHy}    -\prtl{E_z}{x} -\gamma E_x= -i\omega\mu H_y  \end{equation}  &amp;  \begin{equation}  \label{eq:curlEy}    -\prtl{H_z}{x} -\gamma H_x= -i\omega\mu E_y  \end{equation}  \\  \begin{equation}  \label{eq:curlHz}   \prtl{E_y}{x}-\prtl{E_x}{y} = -i\omega\mu H_z  \end{equation}  &amp;  \begin{equation}  \label{eq:curlEz}    \prtl{H_y}{x}-\prtl{H_x}{y} = -i\omega\mu E_z  \end{equation}  \end{tabular}  \end{document}   Is there an environment other than tabular that would make this work? Tabularx came close (got the numbering correct), but the formatting/spacing was horrific. What's a word for lack of confidence? What is the current state of apple device (iPhone, iPod, etc.) support? What ubuntu applications provide support? (guides, how to's, status) Also, specifically, details on support for syncing music to iPhone's and iPod's with the latest OS version:   Can you sync music to apple devices using >iOS4? (iPhone &amp; iPod) What applications allow you to do this and how? (guides, how to's, status)    What has already been established is:   Apple does not support Linux and has no plans to.  provides some support, however it currently does not support music/video synchronization with devices &gt;iOS4. Go to  and scroll to the section titled "" to see if your device version is supported. Computers on board Starfleet vessels are quite primitive compared to on board computers such as . At their best, they can decipher requests such as "Computer, delete that last sentence" and utter things such as "That crewman is no longer on board this vessel". Even real life computers will be capable of this within a decade or so (by some estimates). Even computers such as HAL 9000 are likely to be available within a few decades.  So, in a genre where intelligent computers are abound, why this strange absence? Did the Federation run into some Battlestar-Galactica-like problem with AI in the past and decide to keep on board computers decentralized?  But if that is the case, how can one explain Data and highly intelligent holographic characters? The technology and programming constructs clearly exist, yet Starfleet vessels continue to be manned by hundreds of people standing in front of consoles. How can I use the instant messenger program Kik - most commonly installed on smartphones and other mobile devices - on a laptop or desktop running Win7Pro, without a phone being involved and without needing any kind of Google account?  The two ways of using Kik from my laptop that I have so far found are both inadequate, or at least I do not how to tweak them to make them meet the requirements.  The first is to install on my laptop the Bluestacks emulator of Google's Android operating system, and then to run Kik on it. Unfortunately to run Kik on Bluestacks requires (or at least I have not found a way to avoid) having a Google Play account.  The second is to run Bluestacks on Manymo, the online emulator of Google's Android OS. Unfortunately, using Kik on Manymo similarly requires a Google Play account.  I realise Kik was made for use on a mobile OS, but it is supposed to be cross-platform where mobile OSes are concerned, and therefore not to be tied into Google's mobile OS - or, as far as I know, into any other software supplied by Google or any procedure prescribed by that company, such as giving it personal information - so I am optimistic that someone will be able to advise on what I am asking for here.  I notice that Microsoft have made a , so there might be a way to get Kik to work on this without dealing with Google. I couldn't find anything online about this, though. Today I updated to version 2.18.52 &amp; I can’t see the names of the people who send me a message. The only thing I see is the WhatsApp logo and the word “message”.    I can’t also see the status my friends posts, they all look black. I uninstalled the app, reset my phone &amp; nothing seems to work so far. In , I used quotes to demark specific terms, but after I posted the question, I wondered if I'm doing it right.  Usually, when quoting something a person says, the quotation mark goes after the comma or period, like so:     "This is my opinion," she said.   However, I sometimes use quotes not to represent something said by anyone, but instead for delineating a set term or phrase to make it clear that those words go together and none of them should be mistaken for a part of the rest of the sentence. Like this:     Should I say "stand up", "standup", or "stand-up"?   This looks weird to me:     Should I say "stand up," "standup," or "stand-up"?   ... but maybe I'm wrong about the rules.  Is it correct to use quotes in this way? And if so, are the quotes positioned correctly relative to the other punctuation marks?  Are there other alternatives for delineating terms without the use of quotes? Writing a character N times using the printf command I found the following command to repeat a character in Linux:  printf 'H%.0s' {1..5000} &gt; H.txt   I want, for example, H to repeat 5000 times. What does %.0s mean here? How to mount and unmount hard drives under Windows (the unix way)