I have several watercolor swatches that have the shape I want to use in a design. But I want to adjust the overall color of the shape to be one of our brand colors. I know that you can use the Hue/Saturation tool and drag the different aspects, but what if I want to use one of my RGB/HEX numbers as a guide?   I'd like to change this so that the "main" color could be 6f9fcd or 96ad3e or eeba30 for example.
I have this graphic. I need to change the color of the graphic to hex color: 1485cc...is there a way to make this graphic match that particular hex color hue...without me having to have to re create the graphic.
When two accounts are merged, all the posts/votes are moved over to the "master" account, and the other account ("slave"?) is deleted. The merge is propagated network-wide, so a similar thing happens on each site.  But, this does not happen to the chat user. The "slave" chat user is kept, with a 404 parent profile link. I feel that the chat user should be merged as well, re attributing all the chat messages.  Thoughts? Are there published predictions that hydrogen could remain metallic at ambient pressure? Below the question  there is a  that directed me to the BBC News summary . In their attempt to balance the skepticism of this particular reported observation with the potential implications of producing metallic hydrogen in a laboratory, the BBC included some far-reaching possibilities:  If that is true - and it is a controversial claim - it fulfills a more than 80-year quest to produce what many have said would be a wonder material. Theory suggests metallic hydrogen could be used to make zero-resistance electrical wiring and super-powerful rocket fuel, among many applications.  At the end of the article:  &quot;The scepticism here is probably a good thing, in that it will drive many groups towards attempting to reproduce this experiment. This publication will certainly incite the field. Again, if it holds up, this is an exciting result. I think in this case time will tell,&quot; he told BBC News.  ...referring to Marcus Knudson from Sandia National Laboratories.  And Jeffrey McMahon from Washington State University concurred: &quot;With respect to the tiny sample amount: Such experiments are performed in small diamond anvil cells. One challenge would be to make a larger quantity (at once); another, perhaps bigger challenge is to recover even the small sample (ie, remove it from the extreme pressures that it is under in the diamond anvil cell). &quot;Whether the latter is possible is an important open question.&quot;  Question: Are there published, peer-reviewed predictions that hydrogen could remain metallic at ambient pressure? A link or reference would be appreciated. If it's still in pre-print form (AeXiv) that's OK too. If it's possible, a little help understanding the prediction would be great as well: I know there are many predicted crystalline forms of water ice at elevated pressures and/or reduced temperatures, and many or most of these have been observed, but I think most of them revert once pressure is reduced to ambient. Also the  comes to mind. If there is such a prediction of the possibility of hydrogen remaining metallic at ambient, is there an analogous example of this with a material I'm more familliar with, or is this something quite new? I have a directory that contains the following:  x.pdf y.zip z.mp3 a.pdf   I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no need for any recursion. Electric fields and potential E = electric field V = electrostatic potential r = distance ' = derivative   E = - (V)'   therefore if E increases V decreases Also if r increases E decreases                                                      because  E=kq/r^2 From 1 &amp; 2, if r increases then V increases But V=kq/r, so if r increases V decreases   Why does the 3rd point contradict with the 4th ? Variance of the distribution of difference scores Can I be automatically notified of prolonged blocking in SQL server? About once a week I have to resolve a blocking chain on a SQL Server 2005 database, caused by a long-lived read lock from an Access 2003 front-end. The lock is taken out whenever a user opens a certain form and is released once the user has finished scrolling through the form or closes it. Since many of our users open this form as reference, these locks stay around for a while. Any update to the table causes the blocking, and suddenly nobody can select from this table since they're all waiting on the first lock. This is quite a problem for us, since lots of apps rely on this data. I understand that this locking behavior is part of how Access works with linked tables.  I've been solving the problem from Activity Monitor,  whenever I find out about it. This is a problem not only because it takes me time to do it manually, but also because it's reactive. By the time I hear about it, it's already been a problem for a lot of people.  I'd like to know if there is an automatic way to check for these long-lasting blocking chains, and either be emailed or have the problem resolved automatically. The logic seems straightforward enough ("if any process matching this SELECT query has been blocking for longer than a minute, notify me/kill it") but I don't know how to implement this with SQL Server.  For what it's worth, I think the proper solution is to fix or rewrite the app. However, due to departmental politics, this is not an option for the next few months, so I'm looking for a stopgap. How to monitor battery condition and pop-up notification? Essentially, I would like  into a working answer.   I know how to extract the battery percentage from :   upower -i $(upower -e | grep BAT) | grep --color=never -E percentage|xargs|cut -d' ' -f2|sed s/%//   And how to pop-up a basic notification:   notify-send "battery low"   But how can I set up a (bash?) script to permanently monitor the output and send notification as per this pseudo-code:   if battery_status &lt; 10% then notify-send "battery low" and put my system to suspended state sudo pm-suspend Using the validation data I'm unclear on the exact process of using the validation data.  Let's say that I fit my neural network model and adjust hyperparameters using the training set and validation set. Do I then evaluate the test set on this model? Or do I recombine the validation and training sets and fit a fresh model with the hyperparameters that I found during the validation phase, and then evaluate on the test data? I have seen a number of different notebooks and examples that do both ways.  Surely, once I've found my hyperparameters, it makes sense to fit a fresh model using the full training set (recombined with validation set), since the validation loss has no effect on the weights. Java Access Denied Is there a simple way to explain how Kepler's third law follows from the inverse square law that of gravity  (and laws of motion)  For example for Kepler's second law we can say it's because Gravity is a central force  What is it about the law of gravity which ultimately gives rise to Kepler's third law? Non-empty intersection. Let $A_1,A_2,...,A_{2019}$ be sets s.t. $|A_i|$=45 for each $i=\overline{1,2019}$ and $|A_i\cap A_j|=1$ for every $i\neq j$. Is it true that $$\Big|\bigcap _{i=1}^{2019} A_i\Big|=1?$$ What I thought of doing is proving by induction by i, the base is obvious. However I'm stuck on the next step. Uncaught rerender threw an error in 'markup://aura:expression' [info.$component$.$isValid$ is not a function] i'm trying to set a list of string to an aura:attribute and i get this error:     Uncaught rerender threw an error in 'markup://aura:expression'   [info.$component$.$isValid$ is not a function]   that's the attribute:  &lt;aura:attribute name="parents" type="String[]"/&gt;   i call this function in js:  test: function(component){     var action = component.get("c.test");         //Set up the callback         var self = this;         action.setCallback(this, function(actionResult) {                   debugger;             component.set("v.parents", actionResult.getReturnValue());         });                 $A.enqueueAction(action);    }   and thats the function:  @AuraEnabled public static List&lt;String&gt; test(){     String[] a = new String[]{};     a.add('1');     a.add('2');     return a; }   please help Thanks $15x\equiv 20 \pmod{88}$ Euclid's algorithm Use Euclid's algorithm to find a multiplicative inverse of 15 mod 88, hence solve the linear congruence $15x\equiv 20 \pmod{88}$  So far I have:   $88=5\cdot15+13$  $15=1\cdot13+2$  Backwards substitution gives  $15v+18w=1$   $1=15-1\cdot13$   $=15-1(88-5\cdot15)$   $=15\cdot15-1\cdot88$   now very stuck what to do from here:( Force figure placement in text Record Animation In BGE How do I paste into the Windows CMD prompt by using only the keyboard? My current technique is to right-click in the command prompt and then click paste.  This bugs me - is there a better way? Array versus List: When to use which? How to sort columns independently? PyQGIS couldn't import processing with standalone script I have read post on that problem (). The problem is even with a sys.path.append it couldn't import processing. It's very frustrated. Here the code I used:  #!/usr/bin/python  def main():     layer = QgsVectorLayer('/path/to/file.shp', "BAT","ogr")     QgsMapLayerRegistry.instance().addMapLayers([layer])      # Testing processing     try :         Processing.runalg("qgis:creategrid")     except:         print "Processing module has not been loaded"      #Check the QgsMapLayerRegistry for the layers     print QgsMapLayerRegistry.instance().mapLayers()     # Check if they are valid     print layer.isValid()  if __name__=="__main__":     import sys     from PyQt4.QtGui import *     from qgis.core import *     app = QApplication([])     QgsApplication.setPrefixPath("/usr", True)     QgsApplication.initQgis()      sys.path.append('home/qsuser/.qgis2/python/plugins')      # try to load processing     try:         from processing.core.Processing import Processing         Processing.initialize()      except:         print "unable to load processing"      main()      QgsApplication.exitQgis()   I could load QGIS and layer is valid that's ok, but processing resist to me. I am on Ubuntu 14.04 I use Pycharm to do it.  I tried on terminal with the python console, it raised this error:  Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt;   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import     mod = _builtin_import(name, globals, locals, fromlist, level)   File "/home/qsuser/.qgis2/python/plugins/processing/__init__.py", line 28, in &lt;module&gt;     from processing.tools.dataobjects import *   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import     mod = _builtin_import(name, globals, locals, fromlist, level)   File "/home/qsuser/.qgis2/python/plugins/processing/tools/dataobjects.py", line 35, in &lt;module&gt;     from processing.core.ProcessingConfig import ProcessingConfig   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import     mod = _builtin_import(name, globals, locals, fromlist, level)   File "/home/qsuser/.qgis2/python/plugins/processing/core/ProcessingConfig.py", line 30, in &lt;module&gt;     from PyQt4.QtCore import QPyNullVariant, QCoreApplication, QSettings ImportError: cannot import name QPyNullVariant   I don't know what I am missing.   Settings :  Qgis 2.12.1-Lyon Ubuntu 14.04 Trusty IDE : Pycharm 5 community Processing : 2.12.2   -- Edit -- And with the changes suggest by mathias kuhn  #!/usr/bin/python  def main():     layer = QgsVectorLayer('/path/to/file.shp', "BAT","ogr")     QgsMapLayerRegistry.instance().addMapLayers([layer])      # Testing processing     try :         Processing.runalg("qgis:creategrid")     except:         print "Processing module has not been loaded"      #Check the QgsMapLayerRegistry for the layers     print QgsMapLayerRegistry.instance().mapLayers()     # Check if they are valid     print layer.isValid()  if __name__=="__main__":     import sys     from qgis.core import *             from PyQt4.QtGui import *     app = QApplication([])     QgsApplication.setPrefixPath("/usr", True)     QgsApplication.initQgis()      sys.path.append('home/user/.qgis2/python/plugins')      # try to load processing     try:         from processing.core.Processing import Processing         Processing.initialize()      except:         print "unable to load processing"      main()      QgsApplication.exitQgis() If $\cot A+\cot B+\cot C=\sqrt3$ then prove that the triangle is equilateral triangle.   Trial: I can counter check that this is true as $\cot 60+\cot 60+\cot 60=3 \frac{1}{\sqrt3}=\sqrt3$.Here I also know that $A+B+C=180$. But I am unable to show it. Please help.