Wanted to know the correct way of using sed command by inserting text from one file to another?
Putting a piece of code in between two html tags in Solaris
What are nodes, and how do I use them? I'm a bit new to Blender, and in trying to learn more, I've stumbled across nodes.  What are nodes, and how do I use them? Does there exist a free good molecule / atom simulation software? I'm looking for a software or software package (for example C/C++) that can simulate a lot (say thousands at least) of molecules in action (ie. in movement or attached to say static walls).  I have found several but they seems to be either 'gas only', 'water only', or not really scientific (a lot of small balls dodging around moved by an unique formula). Given a fraction:  $$\frac{a}{b}$$  I now add a number $n$ to both numerator and denominator in the following fashion:  $$\frac{a+n}{b+n}$$  The basic property is that the second fraction is suppose to closer to $1$ than the first one. My question is how can we prove that?  What I have tried:  I know $\frac{n}{n} = 1$ so now adding numbers $a$ and $b$ to it would actually "move it away" from $1$. But I cannot understand why $\frac{a}{b}$ is actually farther away from $1$ than $\frac{a+n}{b+n}$.  Why is that? What does it mean to add a number to both the numerator and denominator? Are there any drawbacks to using a wish spell to increase ability scores? If not then what would stop players from just using wish repeatedly and raising their ability scores to 30?  I'm just getting back into RPGs with D&amp;D 5e after not playing for years, and I seem to remember this being covered in the editions we played back then. What sites should have hyperlinking (onebox) support in chat? Some sites are . What additional sites should the chat support?  One suggestion per answer. How can I disable javascript popups/alerts in Chrome? Sorry if it's been asked. I've already found several solutions that aren't working. Not sure what I'm doing wrong.   I don't want to disable all javascript, only Javascript alert boxes. The ones that pop up and force you to click OK or X to close them.  I've found user scripts that claim to do this (example:  ). I've put chrome on the dev channel, start chrome with the --enable-user-scripts switch, the script shows up as installed.  But I still get the alert boxes.  An example alert box that isn't getting disabled is at  - put in any garbage word into the word validator on the right sidebar. You get a popup telling you it's not a word. How to fetch the columns of the synonyms for linked servers in SQL server I am using two servers local (SQL Server running on my system) and remote (SQL Server running on another system). I have created synonyms in my local server for a table which is located on the remote server.  Synonym used- CREATE SYNONYM [dbo].[test] FOR remoteserver_name .[database_name].[schema_name].object_name  Requirement   I need to fetch the columns of the synonym.  I can retrieve the columns of the synonym using below query in SQL server.  select * from dbo.test   where  dbo is synonym created schema name (local server schema name) and test is synonym name.  I have tried to retrieve the columns of the synonyms using below query, but I cannot fetch the columns  SELECT sys.schemas.name   AS SCHEMA_NAME,        sys.synonyms.name  AS view_name,        sys.columns.name   AS COL_NAME,        sys.types.name     AS data_typename FROM   sys.columns        INNER JOIN sys.synonyms             ON  OBJECT_ID(sys.synonyms.base_object_name) = sys.columns.object_id        INNER JOIN sys.schemas             ON  sys.schemas.schema_id = sys.synonyms.schema_id        LEFT OUTER JOIN sys.types             ON  sys.columns.system_type_id = sys.types.system_type_id WHERE  sys.types.system_type_id = sys.types.user_type_id        AND sys.schemas.name = N'scehmaname'        AND sys.synonyms.name = N'synonymname'   Can you please suggest some other way to retrieve the columns of the synonym or correct the above query? Looking for a title of a sci-fi novel or story where a government department's job was to slow things down Does wind raise air temperature? In my undergrad physics classes, temperature was described as "the average kinetic energy of molecules".  By simple, and probably naive, logic, one could then conclude that wind, which is basically just moving air, would raise the temperature of the air.  However, this seems too simple to be true.  Does wind actually slightly raise air temperature?  I can see a couple potential arguments against this idea:   It could be the case that the macroscopic wind and the microscopic kinetic energy of the air molecules don't really "interact", for lack of a better word. It could be the case that the macroscopic and the microscopic motions do "interact", but since the macroscopic wind is on such a large scale compared to the average kinetic energy of individual molecules, any system in which we use the average kinetic energy of the molecules is so small that the wind is effectively constant, and so it could be ignored. Regardless, I'm guessing that the temperature only depends on the relative motion of the air molecules, so the wind just isn't even relevant   Can anybody provide some more educated input? round in PHP shows scientific notation instead of full number I'm trying to do an echo of a variable containing 1400000.  so there is written: echo round(1400000); this gives 1,4E+6 instead of the full number. Anybody an idea on how to display it fully? How to increase body height? I am an adult, and I want to be taller. I know about many medicines which claim to treat stunted height.  Is there any truth behind these? I almost remember it but not really Is there a word for the feeling/situation where we almost remember a thing/word/scene,etc. but are not able to exactly recall it. For example, the other day I was trying to recall the author of the book Contact (i.e. Carl Sagan). I wasn't able to exactly recall 'Carl Sagan' but was in that situation where I could feel I almost remember it. I could recall there was the letter 'C' in his name. Finally after some effort I could recall the exact name 'Carl Sagan'. Is there any word for such a feeling/situation? EDIT:  The feeling is not necessarily of trying to remember a single word(as in from vocabulary). It could be trying to remember a movie or an experience that you were a part of, etc. Eg: If say I was with friends and we were having a conversation. After few days I was able to recall a statement said by someone, but wasn't able to remember by whom; i.e. I had a clouded recollection and I could almost remember but not really. Can anyone help me with a solution? Write down the assumptions in a form of clauses and give a resolution proof that the proposition                               $$\Big((p \rightarrow q) \land ( q \rightarrow r) \land p \Big) \rightarrow r$$  is a tautology. How to check if Node connected to another node input in Python I am doing a process to some switch links in materials. I need to know if something is ever linked or not before to process. I can't find out how to :/ The script works well if something is linked only.  import bpy for m in bpy.context.object.material_slots:     mat = m.material     nodes = mat.node_tree.nodes      # get node input (socket)     alphasocket = mat.node_tree.nodes.get("Principled BSDF").inputs[18]     # get node link that connects into the socket     lnk = (link.from_socket for link in mat.node_tree.links if link.to_socket == alphasocket)      #add emission node     emi= nodes.new('ShaderNodeEmission')     emi.name= "emibak"     outepute= mat.node_tree.nodes.get("Material Output").inputs[0]      #make new link destination     #here 's where I cant find out how to check     if lnk != None:         print(mat.name + " alphanod found")        # mat.node_tree.links.new(lnk, emi.inputs[0])     else :         print(mat.name + " alphanod missing")      mat.node_tree.links.new(emi.outputs[0], outepute)     here is another way I am searching...  import bpy  for m in bpy.context.object.material_slots:      mat = m.material     nodes = mat.node_tree.nodes          print("**** Material " + mat.name+ " ****")      for mat_node in mat.node_tree.nodes:         if mat_node.type == 'BSDF_PRINCIPLED':             print("From " + mat_node.name )                         alphasocket = mat_node.inputs[18]             #print(alphasocket)             node_in = mat_node.inputs             #print(node_in)                    for n in alphasocket.links:                                print("Alpha connected to " + n.from_node.name)   This show me what is connected to the alpha channel but if nothing is connected I want to connect a new node. count lines in a file I'm sure there are many ways to do this: how can I count the number of lines in a text file?  $ &lt;cmd&gt; file.txt 1020 lines I have a website running in English and Japanese and the default language is Japanese.  What are the advantages of one over the other solution:   Solution 1. When accessing example.com, you will see only Japanese. When accessing example.com/en, you will see only English. Solution 2. When you access example.com, it will redirect you to example.com/ja, where you will see only Japanese. English site is still example.com/en. How to run test methods in specific order in JUnit4? File permissions and saving Sharepoint Online/O365 custom fonts Does kinetic friction increase as speed increases? Possible Duplicate:          Layman alert...I last did physics in high school, and am just trying to understand something my son is working on.   To keep a box moving across the floor at a constant velocity I need to apply a force equal and opposite to that of the  force working on it.  If I start applying a force greater than the kinetic friction force, the box will speed up. Will it keep speeding up indefinitely, or will the kinetic friction force I need to overcome increase as the box gets faster?